@glandais/vcyclist-engine 1.0.0 → 1.1.1
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/README.md +46 -2
- package/kotlin-kotlin-stdlib.js +73 -68
- package/kotlin-kotlin-stdlib.js.map +1 -1
- package/kotlinx-atomicfu.js +2 -2
- package/kotlinx-coroutines-core.js +20 -20
- package/package.json +3 -2
- package/vcyclist-elevation.js +265 -15
- package/vcyclist-elevation.js.map +1 -1
- package/vcyclist-engine.js +801 -799
- package/vcyclist-engine.js.map +1 -1
- package/xmlutil-core.js +1040 -1040
package/xmlutil-core.js
CHANGED
|
@@ -13,70 +13,70 @@
|
|
|
13
13
|
'use strict';
|
|
14
14
|
//region block: imports
|
|
15
15
|
var imul = Math.imul;
|
|
16
|
-
var protoOf = kotlin_kotlin.$_$.
|
|
17
|
-
var objectCreate = kotlin_kotlin.$_$.
|
|
16
|
+
var protoOf = kotlin_kotlin.$_$.f5;
|
|
17
|
+
var objectCreate = kotlin_kotlin.$_$.e5;
|
|
18
18
|
var IllegalStateException_init_$Create$ = kotlin_kotlin.$_$.a1;
|
|
19
|
-
var THROW_CCE = kotlin_kotlin.$_$.
|
|
19
|
+
var THROW_CCE = kotlin_kotlin.$_$.q6;
|
|
20
20
|
var isInterface = kotlin_kotlin.$_$.a5;
|
|
21
21
|
var _Char___init__impl__6a9atx = kotlin_kotlin.$_$.j1;
|
|
22
22
|
var Unit_instance = kotlin_kotlin.$_$.g;
|
|
23
23
|
var StringBuilder_init_$Create$ = kotlin_kotlin.$_$.s;
|
|
24
|
-
var toString = kotlin_kotlin.$_$.
|
|
24
|
+
var toString = kotlin_kotlin.$_$.h5;
|
|
25
25
|
var equals = kotlin_kotlin.$_$.m4;
|
|
26
26
|
var initMetadataForClass = kotlin_kotlin.$_$.s4;
|
|
27
27
|
var VOID = kotlin_kotlin.$_$.a;
|
|
28
|
-
var ensureNotNull = kotlin_kotlin.$_$.
|
|
29
|
-
var Enum = kotlin_kotlin.$_$.
|
|
28
|
+
var ensureNotNull = kotlin_kotlin.$_$.v6;
|
|
29
|
+
var Enum = kotlin_kotlin.$_$.i6;
|
|
30
30
|
var initMetadataForInterface = kotlin_kotlin.$_$.w4;
|
|
31
31
|
var getStringHashCode = kotlin_kotlin.$_$.q4;
|
|
32
32
|
var captureStack = kotlin_kotlin.$_$.f4;
|
|
33
|
-
var getKClassFromExpression = kotlin_kotlin.$_$.
|
|
33
|
+
var getKClassFromExpression = kotlin_kotlin.$_$.q5;
|
|
34
34
|
var initMetadataForCompanion = kotlin_kotlin.$_$.t4;
|
|
35
35
|
var charSequenceLength = kotlin_kotlin.$_$.j4;
|
|
36
36
|
var charSequenceGet = kotlin_kotlin.$_$.i4;
|
|
37
|
-
var substring = kotlin_kotlin.$_$.
|
|
37
|
+
var substring = kotlin_kotlin.$_$.z5;
|
|
38
38
|
var UnsupportedOperationException_init_$Create$ = kotlin_kotlin.$_$.i1;
|
|
39
|
-
var noWhenBranchMatchedException = kotlin_kotlin.$_$.
|
|
39
|
+
var noWhenBranchMatchedException = kotlin_kotlin.$_$.y6;
|
|
40
40
|
var Char__toInt_impl_vasixd = kotlin_kotlin.$_$.m1;
|
|
41
|
-
var Char = kotlin_kotlin.$_$.
|
|
42
|
-
var numberToChar = kotlin_kotlin.$_$.
|
|
41
|
+
var Char = kotlin_kotlin.$_$.h6;
|
|
42
|
+
var numberToChar = kotlin_kotlin.$_$.c5;
|
|
43
43
|
var charCodeAt = kotlin_kotlin.$_$.h4;
|
|
44
|
-
var concatToString = kotlin_kotlin.$_$.
|
|
44
|
+
var concatToString = kotlin_kotlin.$_$.u5;
|
|
45
45
|
var arrayCopy = kotlin_kotlin.$_$.a2;
|
|
46
46
|
var toString_0 = kotlin_kotlin.$_$.n1;
|
|
47
47
|
var StringBuilder_init_$Create$_0 = kotlin_kotlin.$_$.r;
|
|
48
|
-
var toInt = kotlin_kotlin.$_$.
|
|
49
|
-
var toInt_0 = kotlin_kotlin.$_$.
|
|
48
|
+
var toInt = kotlin_kotlin.$_$.b6;
|
|
49
|
+
var toInt_0 = kotlin_kotlin.$_$.c6;
|
|
50
50
|
var copyOf = kotlin_kotlin.$_$.f2;
|
|
51
|
-
var StringBuilder = kotlin_kotlin.$_$.
|
|
51
|
+
var StringBuilder = kotlin_kotlin.$_$.t5;
|
|
52
52
|
var copyOf_0 = kotlin_kotlin.$_$.g2;
|
|
53
53
|
var IndexOutOfBoundsException_init_$Create$ = kotlin_kotlin.$_$.c1;
|
|
54
54
|
var fill = kotlin_kotlin.$_$.k2;
|
|
55
55
|
var charArray = kotlin_kotlin.$_$.g4;
|
|
56
56
|
var IllegalArgumentException_init_$Create$ = kotlin_kotlin.$_$.y;
|
|
57
|
-
var coerceAtLeast = kotlin_kotlin.$_$.
|
|
58
|
-
var toString_1 = kotlin_kotlin.$_$.
|
|
57
|
+
var coerceAtLeast = kotlin_kotlin.$_$.l5;
|
|
58
|
+
var toString_1 = kotlin_kotlin.$_$.b7;
|
|
59
59
|
var _UInt___init__impl__l7qpdl = kotlin_kotlin.$_$.r1;
|
|
60
|
-
var UIntRange = kotlin_kotlin.$_$.
|
|
60
|
+
var UIntRange = kotlin_kotlin.$_$.k5;
|
|
61
61
|
var UInt__compareTo_impl_yacclj = kotlin_kotlin.$_$.s1;
|
|
62
62
|
var _UShort___init__impl__jigrne = kotlin_kotlin.$_$.u1;
|
|
63
63
|
var _Char___init__impl__6a9atx_0 = kotlin_kotlin.$_$.k1;
|
|
64
64
|
var _UInt___get_data__impl__f0vqqw = kotlin_kotlin.$_$.t1;
|
|
65
|
-
var toShort = kotlin_kotlin.$_$.
|
|
66
|
-
var uintCompare = kotlin_kotlin.$_$.
|
|
67
|
-
var isHighSurrogate = kotlin_kotlin.$_$.
|
|
68
|
-
var indexOf = kotlin_kotlin.$_$.
|
|
69
|
-
var Pair = kotlin_kotlin.$_$.
|
|
65
|
+
var toShort = kotlin_kotlin.$_$.g5;
|
|
66
|
+
var uintCompare = kotlin_kotlin.$_$.c7;
|
|
67
|
+
var isHighSurrogate = kotlin_kotlin.$_$.x5;
|
|
68
|
+
var indexOf = kotlin_kotlin.$_$.v5;
|
|
69
|
+
var Pair = kotlin_kotlin.$_$.n6;
|
|
70
70
|
var booleanArray = kotlin_kotlin.$_$.e4;
|
|
71
|
-
var toString_2 = kotlin_kotlin.$_$.
|
|
72
|
-
var toString_3 = kotlin_kotlin.$_$.
|
|
71
|
+
var toString_2 = kotlin_kotlin.$_$.e6;
|
|
72
|
+
var toString_3 = kotlin_kotlin.$_$.f6;
|
|
73
73
|
var hashSetOf = kotlin_kotlin.$_$.m2;
|
|
74
74
|
var listOf = kotlin_kotlin.$_$.q2;
|
|
75
75
|
var HashMap_init_$Create$ = kotlin_kotlin.$_$.k;
|
|
76
|
-
var until = kotlin_kotlin.$_$.
|
|
76
|
+
var until = kotlin_kotlin.$_$.p5;
|
|
77
77
|
var copyOf_1 = kotlin_kotlin.$_$.h2;
|
|
78
78
|
var Collection = kotlin_kotlin.$_$.w1;
|
|
79
|
-
var downTo = kotlin_kotlin.$_$.
|
|
79
|
+
var downTo = kotlin_kotlin.$_$.o5;
|
|
80
80
|
var getProgressionLastElement = kotlin_kotlin.$_$.p3;
|
|
81
81
|
var emptyList = kotlin_kotlin.$_$.j2;
|
|
82
82
|
var toList = kotlin_kotlin.$_$.u2;
|
|
@@ -88,26 +88,26 @@
|
|
|
88
88
|
var defineProp = kotlin_kotlin.$_$.l4;
|
|
89
89
|
var Companion_instance = kotlin_kotlin.$_$.f;
|
|
90
90
|
var _Result___init__impl__xyqfz8 = kotlin_kotlin.$_$.o1;
|
|
91
|
-
var createFailure = kotlin_kotlin.$_$.
|
|
91
|
+
var createFailure = kotlin_kotlin.$_$.u6;
|
|
92
92
|
var Result__exceptionOrNull_impl_p6xea9 = kotlin_kotlin.$_$.p1;
|
|
93
|
-
var Result = kotlin_kotlin.$_$.
|
|
94
|
-
var throwOnFailure = kotlin_kotlin.$_$.
|
|
93
|
+
var Result = kotlin_kotlin.$_$.o6;
|
|
94
|
+
var throwOnFailure = kotlin_kotlin.$_$.a7;
|
|
95
95
|
var _Result___get_value__impl__bjfvqg = kotlin_kotlin.$_$.q1;
|
|
96
|
-
var lazy = kotlin_kotlin.$_$.
|
|
97
|
-
var KProperty1 = kotlin_kotlin.$_$.
|
|
96
|
+
var lazy = kotlin_kotlin.$_$.x6;
|
|
97
|
+
var KProperty1 = kotlin_kotlin.$_$.s5;
|
|
98
98
|
var getPropertyCallableRef = kotlin_kotlin.$_$.p4;
|
|
99
99
|
var hashCode = kotlin_kotlin.$_$.r4;
|
|
100
100
|
var IndexOutOfBoundsException_init_$Create$_0 = kotlin_kotlin.$_$.d1;
|
|
101
101
|
var Exception_init_$Init$ = kotlin_kotlin.$_$.u;
|
|
102
102
|
var Exception_init_$Init$_0 = kotlin_kotlin.$_$.v;
|
|
103
|
-
var Exception = kotlin_kotlin.$_$.
|
|
103
|
+
var Exception = kotlin_kotlin.$_$.k6;
|
|
104
104
|
//endregion
|
|
105
105
|
//region block: pre-declaration
|
|
106
106
|
function get_name() {
|
|
107
|
-
return qname(this.
|
|
107
|
+
return qname(this.m15(), this.o15(), this.q15());
|
|
108
108
|
}
|
|
109
109
|
function get_extLocationInfo() {
|
|
110
|
-
var tmp0_safe_receiver = this.
|
|
110
|
+
var tmp0_safe_receiver = this.w15();
|
|
111
111
|
var tmp;
|
|
112
112
|
if (tmp0_safe_receiver == null) {
|
|
113
113
|
tmp = null;
|
|
@@ -134,7 +134,7 @@
|
|
|
134
134
|
initMetadataForClass(EventType$PROCESSING_INSTRUCTION, 'PROCESSING_INSTRUCTION', VOID, EventType);
|
|
135
135
|
function newReader$default(input, expandEntities, $super) {
|
|
136
136
|
expandEntities = expandEntities === VOID ? false : expandEntities;
|
|
137
|
-
return $super === VOID ? this.
|
|
137
|
+
return $super === VOID ? this.s16(input, expandEntities) : $super.s16.call(this, input, expandEntities);
|
|
138
138
|
}
|
|
139
139
|
initMetadataForInterface(IXmlStreaming, 'IXmlStreaming');
|
|
140
140
|
initMetadataForInterface(Namespace, 'Namespace');
|
|
@@ -151,10 +151,10 @@
|
|
|
151
151
|
standalone = standalone === VOID ? null : standalone;
|
|
152
152
|
var tmp;
|
|
153
153
|
if ($super === VOID) {
|
|
154
|
-
this.
|
|
154
|
+
this.h17(version, encoding, standalone);
|
|
155
155
|
tmp = Unit_instance;
|
|
156
156
|
} else {
|
|
157
|
-
tmp = $super.
|
|
157
|
+
tmp = $super.h17.call(this, version, encoding, standalone);
|
|
158
158
|
}
|
|
159
159
|
return tmp;
|
|
160
160
|
}
|
|
@@ -180,7 +180,7 @@
|
|
|
180
180
|
initMetadataForClass(NamespaceHolder, 'NamespaceHolder', NamespaceHolder);
|
|
181
181
|
initMetadataForCompanion(Companion_3);
|
|
182
182
|
function getNodeType() {
|
|
183
|
-
return this.
|
|
183
|
+
return this.j15().p1b_1;
|
|
184
184
|
}
|
|
185
185
|
initMetadataForInterface(Node_0, 'Node');
|
|
186
186
|
initMetadataForInterface(CharacterData, 'CharacterData', VOID, VOID, [Node_0]);
|
|
@@ -191,23 +191,23 @@
|
|
|
191
191
|
initMetadataForClass(QName, 'QName');
|
|
192
192
|
initMetadataForObject(XmlStreaming, 'XmlStreaming', VOID, VOID, [IXmlStreaming]);
|
|
193
193
|
function get_nodetype() {
|
|
194
|
-
return Companion_instance_5.
|
|
194
|
+
return Companion_instance_5.u1b(this.nodeType);
|
|
195
195
|
}
|
|
196
196
|
function get_parentElement() {
|
|
197
|
-
var tmp = this.
|
|
197
|
+
var tmp = this.g1c();
|
|
198
198
|
return (!(tmp == null) ? isInterface(tmp, IElement) : false) ? tmp : null;
|
|
199
199
|
}
|
|
200
200
|
function getNodeName() {
|
|
201
201
|
return this.nodeName;
|
|
202
202
|
}
|
|
203
203
|
function getParentNode() {
|
|
204
|
-
return this.
|
|
204
|
+
return this.g1c();
|
|
205
205
|
}
|
|
206
206
|
function getFirstChild() {
|
|
207
|
-
return this.
|
|
207
|
+
return this.h1c();
|
|
208
208
|
}
|
|
209
209
|
function getNextSibling() {
|
|
210
|
-
return this.
|
|
210
|
+
return this.k1c();
|
|
211
211
|
}
|
|
212
212
|
function getNodeType_0() {
|
|
213
213
|
return this.nodeType;
|
|
@@ -233,18 +233,18 @@
|
|
|
233
233
|
tmp = null;
|
|
234
234
|
} else {
|
|
235
235
|
// Inline function 'kotlin.let' call
|
|
236
|
-
tmp = this.
|
|
236
|
+
tmp = this.y1c(documentType.name, documentType.publicId, documentType.systemId);
|
|
237
237
|
}
|
|
238
|
-
return this.
|
|
238
|
+
return this.z1c(namespace, qualifiedName, tmp);
|
|
239
239
|
}
|
|
240
240
|
initMetadataForInterface(IDOMImplementation, 'IDOMImplementation');
|
|
241
241
|
initMetadataForObject(DOMImplementationImpl, 'DOMImplementationImpl', VOID, VOID, [IDOMImplementation]);
|
|
242
|
-
initMetadataForClass(DocumentFragmentImpl, 'DocumentFragmentImpl', VOID, NodeImpl, [
|
|
242
|
+
initMetadataForClass(DocumentFragmentImpl, 'DocumentFragmentImpl', VOID, NodeImpl, [INode, Node_0]);
|
|
243
243
|
function adoptNode(node) {
|
|
244
|
-
return this.
|
|
244
|
+
return this.q1d(unWrap(node));
|
|
245
245
|
}
|
|
246
246
|
function importNode(node, deep) {
|
|
247
|
-
return this.
|
|
247
|
+
return this.r1d(unWrap(node), deep);
|
|
248
248
|
}
|
|
249
249
|
initMetadataForInterface(IDocument, 'IDocument', VOID, VOID, [INode, Node_0]);
|
|
250
250
|
initMetadataForClass(DocumentImpl, 'DocumentImpl', VOID, NodeImpl, [IDocument]);
|
|
@@ -252,7 +252,7 @@
|
|
|
252
252
|
initMetadataForClass(DocumentTypeImpl, 'DocumentTypeImpl', VOID, NodeImpl, [IDocumentType]);
|
|
253
253
|
initMetadataForInterface(IElement, 'IElement', VOID, VOID, [INode, Element_0]);
|
|
254
254
|
initMetadataForClass(ElementImpl, 'ElementImpl', VOID, NodeImpl, [IElement]);
|
|
255
|
-
initMetadataForClass(ProcessingInstructionImpl, 'ProcessingInstructionImpl', VOID, NodeImpl, [
|
|
255
|
+
initMetadataForClass(ProcessingInstructionImpl, 'ProcessingInstructionImpl', VOID, NodeImpl, [INode, Node_0]);
|
|
256
256
|
function getLength() {
|
|
257
257
|
return this.l();
|
|
258
258
|
}
|
|
@@ -278,7 +278,7 @@
|
|
|
278
278
|
return DomReader_init_$Init$(delegate, objectCreate(protoOf(DomReader)));
|
|
279
279
|
}
|
|
280
280
|
function _get_requireCurrent__f4sn5j($this) {
|
|
281
|
-
var tmp0_elvis_lhs = $this.
|
|
281
|
+
var tmp0_elvis_lhs = $this.d15_1;
|
|
282
282
|
var tmp;
|
|
283
283
|
if (tmp0_elvis_lhs == null) {
|
|
284
284
|
throw IllegalStateException_init_$Create$('No current element');
|
|
@@ -298,18 +298,18 @@
|
|
|
298
298
|
return tmp;
|
|
299
299
|
}
|
|
300
300
|
function _get_currentElement__mbt3qg($this) {
|
|
301
|
-
var tmp0_safe_receiver = $this.
|
|
301
|
+
var tmp0_safe_receiver = $this.d15_1;
|
|
302
302
|
var tmp;
|
|
303
303
|
if (tmp0_safe_receiver == null) {
|
|
304
304
|
tmp = null;
|
|
305
305
|
} else {
|
|
306
306
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeType' call
|
|
307
|
-
tmp = tmp0_safe_receiver.
|
|
307
|
+
tmp = tmp0_safe_receiver.i15();
|
|
308
308
|
}
|
|
309
309
|
var tmp_0;
|
|
310
310
|
var tmp2_safe_receiver = tmp;
|
|
311
311
|
if ((tmp2_safe_receiver == null ? null : tmp2_safe_receiver) === 1) {
|
|
312
|
-
var tmp_1 = $this.
|
|
312
|
+
var tmp_1 = $this.d15_1;
|
|
313
313
|
tmp_0 = (!(tmp_1 == null) ? isInterface(tmp_1, Element_0) : false) ? tmp_1 : THROW_CCE();
|
|
314
314
|
} else {
|
|
315
315
|
tmp_0 = null;
|
|
@@ -317,7 +317,7 @@
|
|
|
317
317
|
return tmp_0;
|
|
318
318
|
}
|
|
319
319
|
function _get_extLocationInfo_$helper_tvifff(node, result) {
|
|
320
|
-
var tmp1_subject = node == null ? null : node.
|
|
320
|
+
var tmp1_subject = node == null ? null : node.j15();
|
|
321
321
|
var tmp;
|
|
322
322
|
switch (tmp1_subject == null ? -1 : tmp1_subject.l1_1) {
|
|
323
323
|
case -1:
|
|
@@ -327,21 +327,21 @@
|
|
|
327
327
|
case 0:
|
|
328
328
|
// Inline function 'nl.adaptivity.xmlutil.dom2.parentNode' call
|
|
329
329
|
|
|
330
|
-
var tmp$ret$0 = node.
|
|
330
|
+
var tmp$ret$0 = node.k15();
|
|
331
331
|
// Inline function 'kotlin.apply' call
|
|
332
332
|
|
|
333
333
|
var this_0 = _get_extLocationInfo_$helper_tvifff(tmp$ret$0, result);
|
|
334
334
|
var tmp_0 = this_0.k5(_Char___init__impl__6a9atx(47));
|
|
335
335
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeName' call
|
|
336
336
|
|
|
337
|
-
var tmp$ret$3 = node.
|
|
337
|
+
var tmp$ret$3 = node.l15();
|
|
338
338
|
tmp_0.g(tmp$ret$3);
|
|
339
339
|
tmp = this_0;
|
|
340
340
|
break;
|
|
341
341
|
case 2:
|
|
342
342
|
// Inline function 'nl.adaptivity.xmlutil.dom2.parentNode' call
|
|
343
343
|
|
|
344
|
-
var tmp$ret$4 = node.
|
|
344
|
+
var tmp$ret$4 = node.k15();
|
|
345
345
|
// Inline function 'kotlin.apply' call
|
|
346
346
|
|
|
347
347
|
var this_1 = _get_extLocationInfo_$helper_tvifff(tmp$ret$4, result);
|
|
@@ -351,7 +351,7 @@
|
|
|
351
351
|
default:
|
|
352
352
|
// Inline function 'nl.adaptivity.xmlutil.dom2.parentNode' call
|
|
353
353
|
|
|
354
|
-
var tmp$ret$7 = node.
|
|
354
|
+
var tmp$ret$7 = node.k15();
|
|
355
355
|
// Inline function 'kotlin.apply' call
|
|
356
356
|
|
|
357
357
|
var this_2 = _get_extLocationInfo_$helper_tvifff(tmp$ret$7, result);
|
|
@@ -362,22 +362,22 @@
|
|
|
362
362
|
return tmp;
|
|
363
363
|
}
|
|
364
364
|
function DomReader(delegate, expandEntities) {
|
|
365
|
-
this.
|
|
366
|
-
this.
|
|
367
|
-
this.
|
|
368
|
-
this.
|
|
369
|
-
this.
|
|
370
|
-
this.
|
|
371
|
-
this.
|
|
372
|
-
}
|
|
373
|
-
protoOf(DomReader).
|
|
365
|
+
this.b15_1 = delegate;
|
|
366
|
+
this.c15_1 = expandEntities;
|
|
367
|
+
this.d15_1 = null;
|
|
368
|
+
this.e15_1 = false;
|
|
369
|
+
this.f15_1 = false;
|
|
370
|
+
this.g15_1 = 0;
|
|
371
|
+
this.h15_1 = null;
|
|
372
|
+
}
|
|
373
|
+
protoOf(DomReader).m15 = function () {
|
|
374
374
|
var tmp0_safe_receiver = _get_currentElement__mbt3qg(this);
|
|
375
375
|
var tmp;
|
|
376
376
|
if (tmp0_safe_receiver == null) {
|
|
377
377
|
tmp = null;
|
|
378
378
|
} else {
|
|
379
379
|
// Inline function 'kotlin.run' call
|
|
380
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver.
|
|
380
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver.n15();
|
|
381
381
|
tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
382
382
|
}
|
|
383
383
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -389,43 +389,43 @@
|
|
|
389
389
|
}
|
|
390
390
|
return tmp_0;
|
|
391
391
|
};
|
|
392
|
-
protoOf(DomReader).
|
|
393
|
-
var current = this.
|
|
392
|
+
protoOf(DomReader).o15 = function () {
|
|
393
|
+
var current = this.d15_1;
|
|
394
394
|
var tmp;
|
|
395
395
|
if (current == null) {
|
|
396
396
|
tmp = null;
|
|
397
397
|
} else {
|
|
398
398
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeType' call
|
|
399
|
-
tmp = current.
|
|
399
|
+
tmp = current.i15();
|
|
400
400
|
}
|
|
401
401
|
var tmp1_subject = tmp;
|
|
402
402
|
var tmp_0;
|
|
403
403
|
if ((tmp1_subject == null ? null : tmp1_subject) === 1) {
|
|
404
|
-
tmp_0 = (isInterface(current, Element_0) ? current : THROW_CCE()).
|
|
404
|
+
tmp_0 = (isInterface(current, Element_0) ? current : THROW_CCE()).p15();
|
|
405
405
|
} else {
|
|
406
406
|
var tmp_1;
|
|
407
407
|
if ((tmp1_subject == null ? null : tmp1_subject) === 5) {
|
|
408
|
-
tmp_1 = !this.
|
|
408
|
+
tmp_1 = !this.c15_1;
|
|
409
409
|
} else {
|
|
410
410
|
tmp_1 = false;
|
|
411
411
|
}
|
|
412
412
|
if (tmp_1) {
|
|
413
413
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeName' call
|
|
414
|
-
tmp_0 = current.
|
|
414
|
+
tmp_0 = current.l15();
|
|
415
415
|
} else {
|
|
416
416
|
throw XmlException_init_$Create$_0('Only elements have a local name');
|
|
417
417
|
}
|
|
418
418
|
}
|
|
419
419
|
return tmp_0;
|
|
420
420
|
};
|
|
421
|
-
protoOf(DomReader).
|
|
421
|
+
protoOf(DomReader).q15 = function () {
|
|
422
422
|
var tmp0_safe_receiver = _get_currentElement__mbt3qg(this);
|
|
423
423
|
var tmp;
|
|
424
424
|
if (tmp0_safe_receiver == null) {
|
|
425
425
|
tmp = null;
|
|
426
426
|
} else {
|
|
427
427
|
// Inline function 'kotlin.let' call
|
|
428
|
-
var tmp0_elvis_lhs = tmp0_safe_receiver.
|
|
428
|
+
var tmp0_elvis_lhs = tmp0_safe_receiver.r15();
|
|
429
429
|
tmp = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
430
430
|
}
|
|
431
431
|
var tmp1_elvis_lhs = tmp;
|
|
@@ -437,14 +437,14 @@
|
|
|
437
437
|
}
|
|
438
438
|
return tmp_0;
|
|
439
439
|
};
|
|
440
|
-
protoOf(DomReader).
|
|
441
|
-
var tmp0_safe_receiver = this.
|
|
440
|
+
protoOf(DomReader).s15 = function () {
|
|
441
|
+
var tmp0_safe_receiver = this.d15_1;
|
|
442
442
|
var tmp;
|
|
443
443
|
if (tmp0_safe_receiver == null) {
|
|
444
444
|
tmp = null;
|
|
445
445
|
} else {
|
|
446
446
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeType' call
|
|
447
|
-
tmp = tmp0_safe_receiver.
|
|
447
|
+
tmp = tmp0_safe_receiver.i15();
|
|
448
448
|
}
|
|
449
449
|
var tmp1_subject = tmp;
|
|
450
450
|
var tmp_0;
|
|
@@ -467,43 +467,43 @@
|
|
|
467
467
|
tmp_1 = tmp_3;
|
|
468
468
|
}
|
|
469
469
|
if (tmp_1) {
|
|
470
|
-
var tmp_4 = this.
|
|
470
|
+
var tmp_4 = this.d15_1;
|
|
471
471
|
// Inline function 'nl.adaptivity.xmlutil.dom2.data' call
|
|
472
|
-
tmp_0 = ((!(tmp_4 == null) ? isInterface(tmp_4, CharacterData) : false) ? tmp_4 : THROW_CCE()).
|
|
472
|
+
tmp_0 = ((!(tmp_4 == null) ? isInterface(tmp_4, CharacterData) : false) ? tmp_4 : THROW_CCE()).t15();
|
|
473
473
|
} else {
|
|
474
474
|
if ((tmp1_subject == null ? null : tmp1_subject) === 7) {
|
|
475
|
-
var tmp_5 = this.
|
|
475
|
+
var tmp_5 = this.d15_1;
|
|
476
476
|
// Inline function 'kotlin.let' call
|
|
477
477
|
var it = (!(tmp_5 == null) ? isInterface(tmp_5, CharacterData) : false) ? tmp_5 : THROW_CCE();
|
|
478
478
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeName' call
|
|
479
|
-
tmp_0 = it.
|
|
479
|
+
tmp_0 = it.l15() + ' ' + it.t15();
|
|
480
480
|
} else {
|
|
481
481
|
throw XmlException_init_$Create$_0('Node is not a text node');
|
|
482
482
|
}
|
|
483
483
|
}
|
|
484
484
|
return tmp_0;
|
|
485
485
|
};
|
|
486
|
-
protoOf(DomReader).
|
|
487
|
-
var c = this.
|
|
488
|
-
return c == null ? EventType_END_DOCUMENT_getInstance() : toEventType(c, this.
|
|
486
|
+
protoOf(DomReader).u15 = function () {
|
|
487
|
+
var c = this.d15_1;
|
|
488
|
+
return c == null ? EventType_END_DOCUMENT_getInstance() : toEventType(c, this.f15_1, this.c15_1);
|
|
489
489
|
};
|
|
490
|
-
protoOf(DomReader).
|
|
491
|
-
return new StringLocationInfo(_get_extLocationInfo_$helper_tvifff(this.
|
|
490
|
+
protoOf(DomReader).v15 = function () {
|
|
491
|
+
return new StringLocationInfo(_get_extLocationInfo_$helper_tvifff(this.d15_1, StringBuilder_init_$Create$()).toString());
|
|
492
492
|
};
|
|
493
|
-
protoOf(DomReader).
|
|
494
|
-
return toString(this.
|
|
493
|
+
protoOf(DomReader).w15 = function () {
|
|
494
|
+
return toString(this.v15());
|
|
495
495
|
};
|
|
496
496
|
protoOf(DomReader).j = function () {
|
|
497
497
|
var tmp;
|
|
498
498
|
var tmp_0;
|
|
499
|
-
if (this.
|
|
500
|
-
var tmp0_safe_receiver = this.
|
|
499
|
+
if (this.f15_1) {
|
|
500
|
+
var tmp0_safe_receiver = this.d15_1;
|
|
501
501
|
var tmp_1;
|
|
502
502
|
if (tmp0_safe_receiver == null) {
|
|
503
503
|
tmp_1 = null;
|
|
504
504
|
} else {
|
|
505
505
|
// Inline function 'nl.adaptivity.xmlutil.dom2.parentNode' call
|
|
506
|
-
tmp_1 = tmp0_safe_receiver.
|
|
506
|
+
tmp_1 = tmp0_safe_receiver.k15();
|
|
507
507
|
}
|
|
508
508
|
tmp_0 = tmp_1 == null;
|
|
509
509
|
} else {
|
|
@@ -512,70 +512,70 @@
|
|
|
512
512
|
if (!tmp_0) {
|
|
513
513
|
tmp = true;
|
|
514
514
|
} else {
|
|
515
|
-
tmp = !equals(this.
|
|
515
|
+
tmp = !equals(this.d15_1, this.b15_1);
|
|
516
516
|
}
|
|
517
517
|
return tmp;
|
|
518
518
|
};
|
|
519
519
|
protoOf(DomReader).k = function () {
|
|
520
|
-
if (this.
|
|
521
|
-
this.
|
|
520
|
+
if (this.u15().equals(EventType_END_ELEMENT_getInstance())) {
|
|
521
|
+
this.g15_1 = this.g15_1 - 1 | 0;
|
|
522
522
|
}
|
|
523
|
-
this.
|
|
524
|
-
var c = this.
|
|
523
|
+
this.h15_1 = null;
|
|
524
|
+
var c = this.d15_1;
|
|
525
525
|
if (c == null) {
|
|
526
|
-
this.
|
|
527
|
-
this.
|
|
526
|
+
this.e15_1 = true;
|
|
527
|
+
this.d15_1 = this.b15_1;
|
|
528
528
|
return EventType_START_DOCUMENT_getInstance();
|
|
529
529
|
} else {
|
|
530
|
-
if (this.
|
|
530
|
+
if (this.f15_1) {
|
|
531
531
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nextSibling' call
|
|
532
|
-
if (!(c.
|
|
532
|
+
if (!(c.y15() == null)) {
|
|
533
533
|
var tmp = this;
|
|
534
534
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nextSibling' call
|
|
535
|
-
tmp.
|
|
536
|
-
this.
|
|
535
|
+
tmp.d15_1 = c.y15();
|
|
536
|
+
this.f15_1 = false;
|
|
537
537
|
} else {
|
|
538
538
|
var tmp_0 = this;
|
|
539
539
|
// Inline function 'nl.adaptivity.xmlutil.dom2.parentNode' call
|
|
540
|
-
tmp_0.
|
|
541
|
-
var tmp0_safe_receiver = this.
|
|
542
|
-
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toEventType(tmp0_safe_receiver, true, this.
|
|
540
|
+
tmp_0.d15_1 = c.k15();
|
|
541
|
+
var tmp0_safe_receiver = this.d15_1;
|
|
542
|
+
var tmp1_elvis_lhs = tmp0_safe_receiver == null ? null : toEventType(tmp0_safe_receiver, true, this.c15_1);
|
|
543
543
|
return tmp1_elvis_lhs == null ? EventType_END_DOCUMENT_getInstance() : tmp1_elvis_lhs;
|
|
544
544
|
}
|
|
545
545
|
} else {
|
|
546
546
|
// Inline function 'nl.adaptivity.xmlutil.dom2.firstChild' call
|
|
547
|
-
if (!(c.
|
|
547
|
+
if (!(c.x15() == null)) {
|
|
548
548
|
var tmp_1 = this;
|
|
549
549
|
// Inline function 'nl.adaptivity.xmlutil.dom2.firstChild' call
|
|
550
|
-
tmp_1.
|
|
550
|
+
tmp_1.d15_1 = c.x15();
|
|
551
551
|
} else {
|
|
552
|
-
this.
|
|
552
|
+
this.f15_1 = true;
|
|
553
553
|
return EventType_END_ELEMENT_getInstance();
|
|
554
554
|
}
|
|
555
555
|
}
|
|
556
556
|
var c2 = _get_requireCurrent__f4sn5j(this);
|
|
557
557
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeType' call
|
|
558
|
-
var nodeType = c2.
|
|
558
|
+
var nodeType = c2.i15();
|
|
559
559
|
if (!(nodeType === 1) && !(nodeType === 9)) {
|
|
560
|
-
this.
|
|
560
|
+
this.f15_1 = true;
|
|
561
561
|
}
|
|
562
562
|
// Inline function 'kotlin.also' call
|
|
563
|
-
var this_0 = toEventType(c2, this.
|
|
563
|
+
var this_0 = toEventType(c2, this.f15_1, this.c15_1);
|
|
564
564
|
if (this_0.equals(EventType_START_ELEMENT_getInstance())) {
|
|
565
|
-
this.
|
|
565
|
+
this.g15_1 = this.g15_1 + 1 | 0;
|
|
566
566
|
}
|
|
567
567
|
return this_0;
|
|
568
568
|
}
|
|
569
569
|
};
|
|
570
|
-
protoOf(DomReader).
|
|
571
|
-
return _get_requireCurrentElem__bg81k8(this).
|
|
570
|
+
protoOf(DomReader).z15 = function (nsUri, localName) {
|
|
571
|
+
return _get_requireCurrentElem__bg81k8(this).a16(nsUri, localName);
|
|
572
572
|
};
|
|
573
|
-
protoOf(DomReader).
|
|
574
|
-
this.
|
|
573
|
+
protoOf(DomReader).b16 = function () {
|
|
574
|
+
this.d15_1 = null;
|
|
575
575
|
};
|
|
576
576
|
function toEventType(_this__u8e3s4, endOfElement, expandEntities) {
|
|
577
577
|
// Inline function 'nl.adaptivity.xmlutil.dom2.nodeType' call
|
|
578
|
-
var tmp0_subject = _this__u8e3s4.
|
|
578
|
+
var tmp0_subject = _this__u8e3s4.i15();
|
|
579
579
|
var tmp;
|
|
580
580
|
if (tmp0_subject === 2) {
|
|
581
581
|
tmp = EventType_ATTRIBUTE_getInstance();
|
|
@@ -596,7 +596,7 @@
|
|
|
596
596
|
} else if (tmp0_subject === 3) {
|
|
597
597
|
var tmp_0;
|
|
598
598
|
// Inline function 'nl.adaptivity.xmlutil.dom2.textContent' call
|
|
599
|
-
var tmp$ret$1 = _this__u8e3s4.
|
|
599
|
+
var tmp$ret$1 = _this__u8e3s4.c16();
|
|
600
600
|
if (isXmlWhitespace(ensureNotNull(tmp$ret$1))) {
|
|
601
601
|
tmp_0 = EventType_IGNORABLE_WHITESPACE_getInstance();
|
|
602
602
|
} else {
|
|
@@ -629,7 +629,7 @@
|
|
|
629
629
|
EventType.call(this, 'COMMENT', 3);
|
|
630
630
|
EventType_COMMENT_instance = this;
|
|
631
631
|
}
|
|
632
|
-
protoOf(EventType$COMMENT).
|
|
632
|
+
protoOf(EventType$COMMENT).f16 = function () {
|
|
633
633
|
return true;
|
|
634
634
|
};
|
|
635
635
|
var EventType_COMMENT_instance;
|
|
@@ -637,7 +637,7 @@
|
|
|
637
637
|
EventType.call(this, 'TEXT', 4);
|
|
638
638
|
EventType_TEXT_instance = this;
|
|
639
639
|
}
|
|
640
|
-
protoOf(EventType$TEXT).
|
|
640
|
+
protoOf(EventType$TEXT).f16 = function () {
|
|
641
641
|
return true;
|
|
642
642
|
};
|
|
643
643
|
var EventType_TEXT_instance;
|
|
@@ -645,7 +645,7 @@
|
|
|
645
645
|
EventType.call(this, 'CDSECT', 5);
|
|
646
646
|
EventType_CDSECT_instance = this;
|
|
647
647
|
}
|
|
648
|
-
protoOf(EventType$CDSECT).
|
|
648
|
+
protoOf(EventType$CDSECT).f16 = function () {
|
|
649
649
|
return true;
|
|
650
650
|
};
|
|
651
651
|
var EventType_CDSECT_instance;
|
|
@@ -663,7 +663,7 @@
|
|
|
663
663
|
EventType.call(this, 'ENTITY_REF', 8);
|
|
664
664
|
EventType_ENTITY_REF_instance = this;
|
|
665
665
|
}
|
|
666
|
-
protoOf(EventType$ENTITY_REF).
|
|
666
|
+
protoOf(EventType$ENTITY_REF).f16 = function () {
|
|
667
667
|
return true;
|
|
668
668
|
};
|
|
669
669
|
var EventType_ENTITY_REF_instance;
|
|
@@ -671,7 +671,7 @@
|
|
|
671
671
|
EventType.call(this, 'IGNORABLE_WHITESPACE', 9);
|
|
672
672
|
EventType_IGNORABLE_WHITESPACE_instance = this;
|
|
673
673
|
}
|
|
674
|
-
protoOf(EventType$IGNORABLE_WHITESPACE).
|
|
674
|
+
protoOf(EventType$IGNORABLE_WHITESPACE).f16 = function () {
|
|
675
675
|
return true;
|
|
676
676
|
};
|
|
677
677
|
var EventType_IGNORABLE_WHITESPACE_instance;
|
|
@@ -684,7 +684,7 @@
|
|
|
684
684
|
EventType.call(this, 'PROCESSING_INSTRUCTION', 11);
|
|
685
685
|
EventType_PROCESSING_INSTRUCTION_instance = this;
|
|
686
686
|
}
|
|
687
|
-
protoOf(EventType$PROCESSING_INSTRUCTION).
|
|
687
|
+
protoOf(EventType$PROCESSING_INSTRUCTION).f16 = function () {
|
|
688
688
|
return true;
|
|
689
689
|
};
|
|
690
690
|
var EventType_PROCESSING_INSTRUCTION_instance;
|
|
@@ -709,7 +709,7 @@
|
|
|
709
709
|
function EventType(name, ordinal) {
|
|
710
710
|
Enum.call(this, name, ordinal);
|
|
711
711
|
}
|
|
712
|
-
protoOf(EventType).
|
|
712
|
+
protoOf(EventType).f16 = function () {
|
|
713
713
|
return false;
|
|
714
714
|
};
|
|
715
715
|
function EventType_START_DOCUMENT_getInstance() {
|
|
@@ -765,37 +765,37 @@
|
|
|
765
765
|
function Namespace() {
|
|
766
766
|
}
|
|
767
767
|
function NamespaceImpl(namespacePrefix, namespaceUri) {
|
|
768
|
-
this.
|
|
769
|
-
this.
|
|
768
|
+
this.u16_1 = namespacePrefix;
|
|
769
|
+
this.v16_1 = namespaceUri;
|
|
770
770
|
}
|
|
771
|
-
protoOf(NamespaceImpl).
|
|
772
|
-
return this.
|
|
771
|
+
protoOf(NamespaceImpl).q15 = function () {
|
|
772
|
+
return this.u16_1;
|
|
773
773
|
};
|
|
774
|
-
protoOf(NamespaceImpl).
|
|
775
|
-
return this.
|
|
774
|
+
protoOf(NamespaceImpl).m15 = function () {
|
|
775
|
+
return this.v16_1;
|
|
776
776
|
};
|
|
777
777
|
protoOf(NamespaceImpl).equals = function (other) {
|
|
778
778
|
if (this === other)
|
|
779
779
|
return true;
|
|
780
780
|
if (!(!(other == null) ? isInterface(other, Namespace) : false))
|
|
781
781
|
return false;
|
|
782
|
-
if (!(this.
|
|
782
|
+
if (!(this.u16_1 === other.q15()))
|
|
783
783
|
return false;
|
|
784
|
-
if (!(this.
|
|
784
|
+
if (!(this.v16_1 === other.m15()))
|
|
785
785
|
return false;
|
|
786
786
|
return true;
|
|
787
787
|
};
|
|
788
788
|
protoOf(NamespaceImpl).hashCode = function () {
|
|
789
|
-
return imul(31, getStringHashCode(this.
|
|
789
|
+
return imul(31, getStringHashCode(this.u16_1)) + getStringHashCode(this.v16_1) | 0;
|
|
790
790
|
};
|
|
791
791
|
protoOf(NamespaceImpl).toString = function () {
|
|
792
|
-
return '{' + this.
|
|
792
|
+
return '{' + this.u16_1 + ':' + this.v16_1 + '}';
|
|
793
793
|
};
|
|
794
794
|
function XmlException_init_$Init$(locationInfo, $this) {
|
|
795
795
|
locationInfo = locationInfo === VOID ? null : locationInfo;
|
|
796
796
|
IOException_init_$Init$($this);
|
|
797
797
|
XmlException.call($this);
|
|
798
|
-
$this.
|
|
798
|
+
$this.w16_1 = locationInfo;
|
|
799
799
|
return $this;
|
|
800
800
|
}
|
|
801
801
|
function XmlException_init_$Create$(locationInfo) {
|
|
@@ -807,7 +807,7 @@
|
|
|
807
807
|
locationInfo = locationInfo === VOID ? null : locationInfo;
|
|
808
808
|
IOException_init_$Init$_0(message, $this);
|
|
809
809
|
XmlException.call($this);
|
|
810
|
-
$this.
|
|
810
|
+
$this.w16_1 = locationInfo;
|
|
811
811
|
return $this;
|
|
812
812
|
}
|
|
813
813
|
function XmlException_init_$Create$_0(message, locationInfo) {
|
|
@@ -816,10 +816,10 @@
|
|
|
816
816
|
return tmp;
|
|
817
817
|
}
|
|
818
818
|
function XmlException_init_$Init$_1(message, reader, $this) {
|
|
819
|
-
var tmp0_elvis_lhs = reader.
|
|
819
|
+
var tmp0_elvis_lhs = reader.v15();
|
|
820
820
|
IOException_init_$Init$_0(toString(tmp0_elvis_lhs == null ? 'Unknown position' : tmp0_elvis_lhs) + ' - ' + message, $this);
|
|
821
821
|
XmlException.call($this);
|
|
822
|
-
$this.
|
|
822
|
+
$this.w16_1 = reader.v15();
|
|
823
823
|
return $this;
|
|
824
824
|
}
|
|
825
825
|
function XmlException_init_$Create$_1(message, reader) {
|
|
@@ -831,10 +831,10 @@
|
|
|
831
831
|
captureStack(this, XmlException);
|
|
832
832
|
}
|
|
833
833
|
function StringLocationInfo(str) {
|
|
834
|
-
this.
|
|
834
|
+
this.x16_1 = str;
|
|
835
835
|
}
|
|
836
836
|
protoOf(StringLocationInfo).toString = function () {
|
|
837
|
-
return this.
|
|
837
|
+
return this.x16_1;
|
|
838
838
|
};
|
|
839
839
|
protoOf(StringLocationInfo).equals = function (other) {
|
|
840
840
|
if (this === other)
|
|
@@ -843,28 +843,28 @@
|
|
|
843
843
|
return false;
|
|
844
844
|
if (!(other instanceof StringLocationInfo))
|
|
845
845
|
THROW_CCE();
|
|
846
|
-
return this.
|
|
846
|
+
return this.x16_1 === other.x16_1;
|
|
847
847
|
};
|
|
848
848
|
protoOf(StringLocationInfo).hashCode = function () {
|
|
849
|
-
return getStringHashCode(this.
|
|
849
|
+
return getStringHashCode(this.x16_1);
|
|
850
850
|
};
|
|
851
851
|
function ExtLocationInfo(col, line, offset) {
|
|
852
|
-
this.
|
|
853
|
-
this.
|
|
854
|
-
this.
|
|
852
|
+
this.y16_1 = col;
|
|
853
|
+
this.z16_1 = line;
|
|
854
|
+
this.a17_1 = offset;
|
|
855
855
|
}
|
|
856
856
|
protoOf(ExtLocationInfo).toString = function () {
|
|
857
857
|
// Inline function 'kotlin.text.buildString' call
|
|
858
858
|
// Inline function 'kotlin.apply' call
|
|
859
859
|
var this_0 = StringBuilder_init_$Create$();
|
|
860
|
-
if (this.
|
|
861
|
-
this_0.i8(this.
|
|
862
|
-
if (this.
|
|
860
|
+
if (this.z16_1 >= 0) {
|
|
861
|
+
this_0.i8(this.z16_1);
|
|
862
|
+
if (this.y16_1 >= 0) {
|
|
863
863
|
this_0.k5(_Char___init__impl__6a9atx(58));
|
|
864
|
-
this_0.i8(this.
|
|
864
|
+
this_0.i8(this.y16_1);
|
|
865
865
|
}
|
|
866
|
-
} else if (this.
|
|
867
|
-
this_0.k5(_Char___init__impl__6a9atx(64)).i8(this.
|
|
866
|
+
} else if (this.a17_1 >= 0)
|
|
867
|
+
this_0.k5(_Char___init__impl__6a9atx(64)).i8(this.a17_1);
|
|
868
868
|
else
|
|
869
869
|
this_0.j5('<unknown>');
|
|
870
870
|
return this_0.toString();
|
|
@@ -876,18 +876,18 @@
|
|
|
876
876
|
return false;
|
|
877
877
|
if (!(other instanceof ExtLocationInfo))
|
|
878
878
|
THROW_CCE();
|
|
879
|
-
if (!(this.
|
|
879
|
+
if (!(this.y16_1 === other.y16_1))
|
|
880
880
|
return false;
|
|
881
|
-
if (!(this.
|
|
881
|
+
if (!(this.z16_1 === other.z16_1))
|
|
882
882
|
return false;
|
|
883
|
-
if (!(this.
|
|
883
|
+
if (!(this.a17_1 === other.a17_1))
|
|
884
884
|
return false;
|
|
885
885
|
return true;
|
|
886
886
|
};
|
|
887
887
|
protoOf(ExtLocationInfo).hashCode = function () {
|
|
888
|
-
var result = this.
|
|
889
|
-
result = imul(31, result) + this.
|
|
890
|
-
result = imul(31, result) + this.
|
|
888
|
+
var result = this.y16_1;
|
|
889
|
+
result = imul(31, result) + this.z16_1 | 0;
|
|
890
|
+
result = imul(31, result) + this.a17_1 | 0;
|
|
891
891
|
return result;
|
|
892
892
|
};
|
|
893
893
|
function XmlReader() {
|
|
@@ -960,11 +960,11 @@
|
|
|
960
960
|
}
|
|
961
961
|
function readUntilFullOrEOF($this, $receiver, buffer) {
|
|
962
962
|
var bufSize = buffer.length;
|
|
963
|
-
var totalRead = $receiver.
|
|
963
|
+
var totalRead = $receiver.k17(buffer, 0, bufSize);
|
|
964
964
|
if (totalRead < 0)
|
|
965
965
|
return -1;
|
|
966
966
|
while (totalRead < bufSize) {
|
|
967
|
-
var lastRead = $receiver.
|
|
967
|
+
var lastRead = $receiver.k17(buffer, totalRead, bufSize - totalRead | 0);
|
|
968
968
|
if (lastRead < 0)
|
|
969
969
|
return totalRead;
|
|
970
970
|
totalRead = totalRead + lastRead | 0;
|
|
@@ -986,7 +986,7 @@
|
|
|
986
986
|
function ElementDelegate__equals_impl_mnl19p($this, other) {
|
|
987
987
|
if (!(other instanceof ElementDelegate))
|
|
988
988
|
return false;
|
|
989
|
-
if (!($this === other.
|
|
989
|
+
if (!($this === other.l17_1))
|
|
990
990
|
return false;
|
|
991
991
|
return true;
|
|
992
992
|
}
|
|
@@ -1023,35 +1023,35 @@
|
|
|
1023
1023
|
return KtXmlReader_init_$Init$(reader, expandEntities, relaxed, objectCreate(protoOf(KtXmlReader)));
|
|
1024
1024
|
}
|
|
1025
1025
|
function _get_column__hj1i8b($this) {
|
|
1026
|
-
return ($this.
|
|
1026
|
+
return ($this.r17_1 - $this.q17_1 | 0) + 1 | 0;
|
|
1027
1027
|
}
|
|
1028
1028
|
function incCol($this) {
|
|
1029
|
-
$this.
|
|
1029
|
+
$this.r17_1 = $this.r17_1 + 1 | 0;
|
|
1030
1030
|
}
|
|
1031
1031
|
function incLine($this, offsetAdd) {
|
|
1032
1032
|
offsetAdd = offsetAdd === VOID ? 1 : offsetAdd;
|
|
1033
|
-
var newOffset = $this.
|
|
1034
|
-
$this.
|
|
1035
|
-
$this.
|
|
1036
|
-
$this.
|
|
1033
|
+
var newOffset = $this.r17_1 + offsetAdd | 0;
|
|
1034
|
+
$this.r17_1 = newOffset;
|
|
1035
|
+
$this.q17_1 = newOffset;
|
|
1036
|
+
$this.p17_1 = $this.p17_1 + 1 | 0;
|
|
1037
1037
|
}
|
|
1038
1038
|
function adjustNsp($this, prefix, localName) {
|
|
1039
1039
|
var hasActualAttribute = false;
|
|
1040
1040
|
var attrIdx = 0;
|
|
1041
|
-
while (attrIdx < $this.
|
|
1041
|
+
while (attrIdx < $this.v17_1) {
|
|
1042
1042
|
var _unary__edvuaz = attrIdx;
|
|
1043
1043
|
attrIdx = _unary__edvuaz + 1 | 0;
|
|
1044
1044
|
var attr = attribute($this, _unary__edvuaz);
|
|
1045
1045
|
var aLocalName = ensureNotNull(_get_localName__c3lhh_0($this, attr));
|
|
1046
1046
|
var aPrefix = _get_prefix__wiwq7t_0($this, attr);
|
|
1047
1047
|
if (aPrefix === 'xmlns') {
|
|
1048
|
-
$this.
|
|
1048
|
+
$this.g18_1.w18(aLocalName, _get_value__a43j40($this, attr));
|
|
1049
1049
|
if (_get_value__a43j40($this, attr) === '') {
|
|
1050
1050
|
error($this, 'illegal empty namespace');
|
|
1051
1051
|
}
|
|
1052
1052
|
_set_localName__tmy1w1_0($this, attr, null);
|
|
1053
1053
|
} else if (aPrefix == null && aLocalName === 'xmlns') {
|
|
1054
|
-
$this.
|
|
1054
|
+
$this.g18_1.w18('', _get_value__a43j40($this, attr));
|
|
1055
1055
|
_set_localName__tmy1w1_0($this, attr, null);
|
|
1056
1056
|
} else {
|
|
1057
1057
|
hasActualAttribute = true;
|
|
@@ -1060,7 +1060,7 @@
|
|
|
1060
1060
|
if (hasActualAttribute) {
|
|
1061
1061
|
var attrInIdx = 0;
|
|
1062
1062
|
var attrOutIdx = 0;
|
|
1063
|
-
while (attrInIdx < $this.
|
|
1063
|
+
while (attrInIdx < $this.v17_1) {
|
|
1064
1064
|
var _unary__edvuaz_0 = attrInIdx;
|
|
1065
1065
|
attrInIdx = _unary__edvuaz_0 + 1 | 0;
|
|
1066
1066
|
var attrIn = attribute($this, _unary__edvuaz_0);
|
|
@@ -1070,22 +1070,22 @@
|
|
|
1070
1070
|
attrOutIdx = _unary__edvuaz_1 + 1 | 0;
|
|
1071
1071
|
var attrOut = attribute($this, _unary__edvuaz_1);
|
|
1072
1072
|
if (!(attrIn === attrOut)) {
|
|
1073
|
-
$this.
|
|
1073
|
+
$this.x17_1.z18(_AttributeDelegate___get_index__impl__2x9emt(attrIn), _AttributeDelegate___get_index__impl__2x9emt(attrOut));
|
|
1074
1074
|
}
|
|
1075
1075
|
var attrPrefix = _get_prefix__wiwq7t_0($this, attrIn);
|
|
1076
1076
|
if (attrPrefix === '') {
|
|
1077
1077
|
error($this, 'illegal attribute name: ' + fullname(Companion_instance_1, attrPrefix, attrLocalName) + ' at ' + $this.toString());
|
|
1078
1078
|
_set_namespace__mtbsui_0($this, attrOut, '');
|
|
1079
1079
|
} else if (!(attrPrefix == null)) {
|
|
1080
|
-
var attrNs = $this.
|
|
1080
|
+
var attrNs = $this.g18_1.a19(attrPrefix);
|
|
1081
1081
|
if (attrNs == null) {
|
|
1082
1082
|
// Inline function 'kotlin.also' call
|
|
1083
|
-
var this_0 = new ElementDelegate($this.
|
|
1084
|
-
var it = this_0.
|
|
1083
|
+
var this_0 = new ElementDelegate($this.h18_1.d19($this.b19() - 1 | 0));
|
|
1084
|
+
var it = this_0.l17_1;
|
|
1085
1085
|
_set_localName__tmy1w1($this, it, localName);
|
|
1086
1086
|
_set_prefix__v265l1($this, it, prefix);
|
|
1087
1087
|
_set_namespace__mtbsui($this, it, '<not yet set>');
|
|
1088
|
-
this_0.
|
|
1088
|
+
this_0.l17_1;
|
|
1089
1089
|
error($this, 'Undefined Prefix: ' + attrPrefix + ' in ' + $this.toString());
|
|
1090
1090
|
}
|
|
1091
1091
|
_set_namespace__mtbsui_0($this, attrOut, attrNs);
|
|
@@ -1095,13 +1095,13 @@
|
|
|
1095
1095
|
}
|
|
1096
1096
|
}
|
|
1097
1097
|
if (!(attrInIdx === attrOutIdx)) {
|
|
1098
|
-
$this.
|
|
1098
|
+
$this.x17_1.y18(attrOutIdx);
|
|
1099
1099
|
}
|
|
1100
1100
|
} else {
|
|
1101
|
-
$this.
|
|
1101
|
+
$this.x17_1.y18(0);
|
|
1102
1102
|
}
|
|
1103
1103
|
var tmp;
|
|
1104
|
-
var tmp1_elvis_lhs = $this.
|
|
1104
|
+
var tmp1_elvis_lhs = $this.g18_1.a19(prefix == null ? '' : prefix);
|
|
1105
1105
|
var tmp_0;
|
|
1106
1106
|
if (tmp1_elvis_lhs == null) {
|
|
1107
1107
|
// Inline function 'kotlin.also' call
|
|
@@ -1114,16 +1114,16 @@
|
|
|
1114
1114
|
}
|
|
1115
1115
|
tmp = tmp_0;
|
|
1116
1116
|
var ns = tmp;
|
|
1117
|
-
var d = $this.
|
|
1118
|
-
_set_prefix__v265l1($this, $this.
|
|
1119
|
-
_set_localName__tmy1w1($this, $this.
|
|
1120
|
-
_set_namespace__mtbsui($this, $this.
|
|
1117
|
+
var d = $this.b19() - 1 | 0;
|
|
1118
|
+
_set_prefix__v265l1($this, $this.h18_1.d19(d), prefix);
|
|
1119
|
+
_set_localName__tmy1w1($this, $this.h18_1.d19(d), localName);
|
|
1120
|
+
_set_namespace__mtbsui($this, $this.h18_1.d19(d), ns);
|
|
1121
1121
|
return hasActualAttribute;
|
|
1122
1122
|
}
|
|
1123
1123
|
function error($this, desc) {
|
|
1124
|
-
if ($this.
|
|
1125
|
-
if ($this.
|
|
1126
|
-
$this.
|
|
1124
|
+
if ($this.n17_1) {
|
|
1125
|
+
if ($this.n18_1 == null)
|
|
1126
|
+
$this.n18_1 = 'ERR: ' + desc;
|
|
1127
1127
|
} else {
|
|
1128
1128
|
exception($this, desc);
|
|
1129
1129
|
}
|
|
@@ -1134,7 +1134,7 @@
|
|
|
1134
1134
|
function parseUnexpectedOrWS($this, eventType) {
|
|
1135
1135
|
switch (eventType.l1_1) {
|
|
1136
1136
|
case 0:
|
|
1137
|
-
error($this, 'Unexpected START_DOCUMENT in state ' + $this.
|
|
1137
|
+
error($this, 'Unexpected START_DOCUMENT in state ' + $this.p18_1.toString());
|
|
1138
1138
|
parseStartTag($this, true);
|
|
1139
1139
|
break;
|
|
1140
1140
|
case 1:
|
|
@@ -1151,10 +1151,10 @@
|
|
|
1151
1151
|
throw UnsupportedOperationException_init_$Create$('Comments/WS are always allowed - they may start the document tough');
|
|
1152
1152
|
case 4:
|
|
1153
1153
|
pushText($this, _Char___init__impl__6a9atx(60));
|
|
1154
|
-
if ($this.
|
|
1155
|
-
$this.
|
|
1154
|
+
if ($this.m18_1)
|
|
1155
|
+
$this.s17_1 = EventType_IGNORABLE_WHITESPACE_getInstance();
|
|
1156
1156
|
else {
|
|
1157
|
-
error($this, "Non-whitespace text where not expected: '" + $this.
|
|
1157
|
+
error($this, "Non-whitespace text where not expected: '" + $this.s15() + "'");
|
|
1158
1158
|
}
|
|
1159
1159
|
|
|
1160
1160
|
break;
|
|
@@ -1188,23 +1188,23 @@
|
|
|
1188
1188
|
readAssert($this, _Char___init__impl__6a9atx(60));
|
|
1189
1189
|
readAssert($this, _Char___init__impl__6a9atx(63));
|
|
1190
1190
|
parseStartTag($this, true);
|
|
1191
|
-
if ($this.
|
|
1191
|
+
if ($this.v17_1 < 1 || !('version' === _get_localName__c3lhh_0($this, attribute($this, 0)))) {
|
|
1192
1192
|
error($this, 'version expected');
|
|
1193
1193
|
}
|
|
1194
|
-
$this.
|
|
1194
|
+
$this.z17_1 = _get_value__a43j40($this, attribute($this, 0));
|
|
1195
1195
|
var pos = 1;
|
|
1196
|
-
if (pos < $this.
|
|
1197
|
-
$this.
|
|
1196
|
+
if (pos < $this.v17_1 && 'encoding' === _get_localName__c3lhh_0($this, attribute($this, 1))) {
|
|
1197
|
+
$this.y17_1 = _get_value__a43j40($this, attribute($this, 1));
|
|
1198
1198
|
pos = pos + 1 | 0;
|
|
1199
1199
|
}
|
|
1200
|
-
if (pos < $this.
|
|
1200
|
+
if (pos < $this.v17_1 && 'standalone' === _get_localName__c3lhh_0($this, attribute($this, pos))) {
|
|
1201
1201
|
var st = _get_value__a43j40($this, attribute($this, pos));
|
|
1202
1202
|
switch (st) {
|
|
1203
1203
|
case 'yes':
|
|
1204
|
-
$this.
|
|
1204
|
+
$this.a18_1 = true;
|
|
1205
1205
|
break;
|
|
1206
1206
|
case 'no':
|
|
1207
|
-
$this.
|
|
1207
|
+
$this.a18_1 = false;
|
|
1208
1208
|
break;
|
|
1209
1209
|
default:
|
|
1210
1210
|
error($this, 'illegal standalone value: ' + st);
|
|
@@ -1212,34 +1212,34 @@
|
|
|
1212
1212
|
}
|
|
1213
1213
|
pos = pos + 1 | 0;
|
|
1214
1214
|
}
|
|
1215
|
-
if (!(pos === $this.
|
|
1215
|
+
if (!(pos === $this.v17_1)) {
|
|
1216
1216
|
error($this, 'illegal xmldecl');
|
|
1217
1217
|
}
|
|
1218
|
-
$this.
|
|
1218
|
+
$this.m18_1 = true;
|
|
1219
1219
|
}
|
|
1220
|
-
$this.
|
|
1221
|
-
$this.
|
|
1220
|
+
$this.s17_1 = EventType_START_DOCUMENT_getInstance();
|
|
1221
|
+
$this.p18_1 = State_START_DOC_getInstance();
|
|
1222
1222
|
return Unit_instance;
|
|
1223
1223
|
}
|
|
1224
1224
|
function nextImplPreamble($this) {
|
|
1225
|
-
var tmp0_safe_receiver = $this.
|
|
1225
|
+
var tmp0_safe_receiver = $this.n18_1;
|
|
1226
1226
|
if (tmp0_safe_receiver == null)
|
|
1227
1227
|
null;
|
|
1228
1228
|
else {
|
|
1229
1229
|
// Inline function 'kotlin.let' call
|
|
1230
1230
|
push($this, tmp0_safe_receiver);
|
|
1231
|
-
$this.
|
|
1232
|
-
$this.
|
|
1231
|
+
$this.n18_1 = null;
|
|
1232
|
+
$this.s17_1 = EventType_COMMENT_getInstance();
|
|
1233
1233
|
return Unit_instance;
|
|
1234
1234
|
}
|
|
1235
1235
|
var eventType = peekType($this);
|
|
1236
|
-
$this.
|
|
1236
|
+
$this.s17_1 = eventType;
|
|
1237
1237
|
switch (eventType.l1_1) {
|
|
1238
1238
|
case 11:
|
|
1239
1239
|
parsePI($this);
|
|
1240
1240
|
break;
|
|
1241
1241
|
case 1:
|
|
1242
|
-
$this.
|
|
1242
|
+
$this.p18_1 = State_BODY_getInstance();
|
|
1243
1243
|
readAssert($this, _Char___init__impl__6a9atx(60));
|
|
1244
1244
|
parseStartTag($this, false);
|
|
1245
1245
|
break;
|
|
@@ -1256,33 +1256,33 @@
|
|
|
1256
1256
|
}
|
|
1257
1257
|
}
|
|
1258
1258
|
function nextImplBody($this) {
|
|
1259
|
-
if (equals($this.
|
|
1260
|
-
$this.
|
|
1261
|
-
}
|
|
1262
|
-
if ($this.
|
|
1263
|
-
$this.
|
|
1264
|
-
$this.
|
|
1265
|
-
if ($this.
|
|
1266
|
-
$this.
|
|
1259
|
+
if (equals($this.s17_1, EventType_END_ELEMENT_getInstance())) {
|
|
1260
|
+
$this.g18_1.e19();
|
|
1261
|
+
}
|
|
1262
|
+
if ($this.u17_1) {
|
|
1263
|
+
$this.u17_1 = false;
|
|
1264
|
+
$this.s17_1 = EventType_END_ELEMENT_getInstance();
|
|
1265
|
+
if ($this.b19() === 1)
|
|
1266
|
+
$this.p18_1 = State_POST_getInstance();
|
|
1267
1267
|
return Unit_instance;
|
|
1268
1268
|
}
|
|
1269
|
-
var tmp0_safe_receiver = $this.
|
|
1269
|
+
var tmp0_safe_receiver = $this.n18_1;
|
|
1270
1270
|
if (tmp0_safe_receiver == null)
|
|
1271
1271
|
null;
|
|
1272
1272
|
else {
|
|
1273
1273
|
// Inline function 'kotlin.let' call
|
|
1274
1274
|
push($this, tmp0_safe_receiver);
|
|
1275
|
-
$this.
|
|
1276
|
-
$this.
|
|
1275
|
+
$this.n18_1 = null;
|
|
1276
|
+
$this.s17_1 = EventType_COMMENT_getInstance();
|
|
1277
1277
|
return Unit_instance;
|
|
1278
1278
|
}
|
|
1279
|
-
var lastEvent = $this.
|
|
1279
|
+
var lastEvent = $this.s17_1;
|
|
1280
1280
|
var eventType = peekType($this);
|
|
1281
|
-
$this.
|
|
1281
|
+
$this.s17_1 = eventType;
|
|
1282
1282
|
var tmp0 = eventType.l1_1;
|
|
1283
1283
|
if (tmp0 === 3) {
|
|
1284
1284
|
parseComment($this);
|
|
1285
|
-
} else if (tmp0 === 8 && $this.
|
|
1285
|
+
} else if (tmp0 === 8 && $this.o17_1) {
|
|
1286
1286
|
pushRegularText($this, _Char___init__impl__6a9atx(60), true);
|
|
1287
1287
|
} else if (tmp0 === 8) {
|
|
1288
1288
|
pushEntity($this);
|
|
@@ -1291,15 +1291,15 @@
|
|
|
1291
1291
|
parseStartTag($this, false);
|
|
1292
1292
|
} else if (tmp0 === 2) {
|
|
1293
1293
|
parseEndTag($this);
|
|
1294
|
-
if ($this.
|
|
1295
|
-
$this.
|
|
1294
|
+
if ($this.b19() === 1)
|
|
1295
|
+
$this.p18_1 = State_POST_getInstance();
|
|
1296
1296
|
} else if (tmp0 === 4)
|
|
1297
1297
|
if (equals(lastEvent, EventType_ENTITY_REF_getInstance())) {
|
|
1298
|
-
pushRegularText($this, _Char___init__impl__6a9atx(60), $this.
|
|
1298
|
+
pushRegularText($this, _Char___init__impl__6a9atx(60), $this.o17_1);
|
|
1299
1299
|
} else {
|
|
1300
1300
|
pushText($this, _Char___init__impl__6a9atx(60));
|
|
1301
|
-
if ($this.
|
|
1302
|
-
$this.
|
|
1301
|
+
if ($this.m18_1)
|
|
1302
|
+
$this.s17_1 = EventType_IGNORABLE_WHITESPACE_getInstance();
|
|
1303
1303
|
}
|
|
1304
1304
|
else if (tmp0 === 5) {
|
|
1305
1305
|
parseCData($this);
|
|
@@ -1308,26 +1308,26 @@
|
|
|
1308
1308
|
}
|
|
1309
1309
|
}
|
|
1310
1310
|
function nextImplPost($this) {
|
|
1311
|
-
if (equals($this.
|
|
1312
|
-
$this.
|
|
1311
|
+
if (equals($this.s17_1, EventType_END_ELEMENT_getInstance())) {
|
|
1312
|
+
$this.g18_1.e19();
|
|
1313
1313
|
}
|
|
1314
|
-
if ($this.
|
|
1315
|
-
$this.
|
|
1316
|
-
$this.
|
|
1314
|
+
if ($this.u17_1) {
|
|
1315
|
+
$this.u17_1 = false;
|
|
1316
|
+
$this.s17_1 = EventType_END_ELEMENT_getInstance();
|
|
1317
1317
|
return Unit_instance;
|
|
1318
1318
|
}
|
|
1319
|
-
var tmp0_safe_receiver = $this.
|
|
1319
|
+
var tmp0_safe_receiver = $this.n18_1;
|
|
1320
1320
|
if (tmp0_safe_receiver == null)
|
|
1321
1321
|
null;
|
|
1322
1322
|
else {
|
|
1323
1323
|
// Inline function 'kotlin.let' call
|
|
1324
1324
|
push($this, tmp0_safe_receiver);
|
|
1325
|
-
$this.
|
|
1326
|
-
$this.
|
|
1325
|
+
$this.n18_1 = null;
|
|
1326
|
+
$this.s17_1 = EventType_COMMENT_getInstance();
|
|
1327
1327
|
return Unit_instance;
|
|
1328
1328
|
}
|
|
1329
1329
|
var eventType = peekType($this);
|
|
1330
|
-
$this.
|
|
1330
|
+
$this.s17_1 = eventType;
|
|
1331
1331
|
switch (eventType.l1_1) {
|
|
1332
1332
|
case 11:
|
|
1333
1333
|
parsePI($this);
|
|
@@ -1336,7 +1336,7 @@
|
|
|
1336
1336
|
parseComment($this);
|
|
1337
1337
|
break;
|
|
1338
1338
|
case 7:
|
|
1339
|
-
$this.
|
|
1339
|
+
$this.p18_1 = State_EOF_getInstance();
|
|
1340
1340
|
return Unit_instance;
|
|
1341
1341
|
default:
|
|
1342
1342
|
parseUnexpectedOrWS($this, eventType);
|
|
@@ -1583,17 +1583,17 @@
|
|
|
1583
1583
|
}
|
|
1584
1584
|
}
|
|
1585
1585
|
function parseEndTag($this) {
|
|
1586
|
-
if ($this.
|
|
1586
|
+
if ($this.b19() === 0) {
|
|
1587
1587
|
error($this, 'element stack empty');
|
|
1588
|
-
$this.
|
|
1588
|
+
$this.s17_1 = EventType_COMMENT_getInstance();
|
|
1589
1589
|
return Unit_instance;
|
|
1590
1590
|
}
|
|
1591
1591
|
readAssert($this, _Char___init__impl__6a9atx(60));
|
|
1592
1592
|
readAssert($this, _Char___init__impl__6a9atx(47));
|
|
1593
1593
|
resetOutputBuffer($this);
|
|
1594
|
-
var spIdx = $this.
|
|
1595
|
-
var expectedPrefix = _get_prefix__wiwq7t($this, $this.
|
|
1596
|
-
var tmp0_elvis_lhs = _get_localName__c3lhh($this, $this.
|
|
1594
|
+
var spIdx = $this.b19() - 1 | 0;
|
|
1595
|
+
var expectedPrefix = _get_prefix__wiwq7t($this, $this.h18_1.d19(spIdx));
|
|
1596
|
+
var tmp0_elvis_lhs = _get_localName__c3lhh($this, $this.h18_1.d19(spIdx));
|
|
1597
1597
|
var tmp;
|
|
1598
1598
|
if (tmp0_elvis_lhs == null) {
|
|
1599
1599
|
exception($this, 'Missing localname');
|
|
@@ -1610,21 +1610,21 @@
|
|
|
1610
1610
|
}
|
|
1611
1611
|
var tmp2_elvis_lhs = tmp_0;
|
|
1612
1612
|
var expectedLength = (tmp2_elvis_lhs == null ? 0 : tmp2_elvis_lhs) + expectedLocalName.length | 0;
|
|
1613
|
-
var expectedEnd = $this.
|
|
1614
|
-
if (expectedEnd > $this.
|
|
1613
|
+
var expectedEnd = $this.b18_1 + expectedLength | 0;
|
|
1614
|
+
if (expectedEnd > $this.c18_1) {
|
|
1615
1615
|
exception($this, 'Unexpected EOF');
|
|
1616
1616
|
}
|
|
1617
1617
|
if (expectedEnd < 4096) {
|
|
1618
1618
|
var left2;
|
|
1619
1619
|
if (!(expectedPrefix == null)) {
|
|
1620
|
-
var left = $this.
|
|
1620
|
+
var left = $this.b18_1;
|
|
1621
1621
|
var inductionVariable = 0;
|
|
1622
1622
|
var last = charSequenceLength(expectedPrefix) - 1 | 0;
|
|
1623
1623
|
if (inductionVariable <= last)
|
|
1624
1624
|
do {
|
|
1625
1625
|
var i = inductionVariable;
|
|
1626
1626
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1627
|
-
if (!($this.
|
|
1627
|
+
if (!($this.d18_1[left + i | 0] === charCodeAt(expectedPrefix, i))) {
|
|
1628
1628
|
var expectedFullName = fullname(Companion_instance_1, expectedPrefix, expectedLocalName);
|
|
1629
1629
|
error($this, 'expected: ' + expectedFullName + ' read: ' + readName($this));
|
|
1630
1630
|
}
|
|
@@ -1632,7 +1632,7 @@
|
|
|
1632
1632
|
while (inductionVariable <= last);
|
|
1633
1633
|
left2 = (left + expectedPrefix.length | 0) + 1 | 0;
|
|
1634
1634
|
} else {
|
|
1635
|
-
left2 = $this.
|
|
1635
|
+
left2 = $this.b18_1;
|
|
1636
1636
|
}
|
|
1637
1637
|
var inductionVariable_0 = 0;
|
|
1638
1638
|
var last_0 = charSequenceLength(expectedLocalName) - 1 | 0;
|
|
@@ -1640,13 +1640,13 @@
|
|
|
1640
1640
|
do {
|
|
1641
1641
|
var i_0 = inductionVariable_0;
|
|
1642
1642
|
inductionVariable_0 = inductionVariable_0 + 1 | 0;
|
|
1643
|
-
if (!($this.
|
|
1643
|
+
if (!($this.d18_1[left2 + i_0 | 0] === charCodeAt(expectedLocalName, i_0))) {
|
|
1644
1644
|
var expectedFullName_0 = fullname(Companion_instance_1, expectedPrefix, expectedLocalName);
|
|
1645
1645
|
error($this, 'expected: ' + expectedFullName_0 + ' read: ' + readName($this));
|
|
1646
1646
|
}
|
|
1647
1647
|
}
|
|
1648
1648
|
while (inductionVariable_0 <= last_0);
|
|
1649
|
-
$this.
|
|
1649
|
+
$this.b18_1 = left2 + expectedLocalName.length | 0;
|
|
1650
1650
|
skip($this);
|
|
1651
1651
|
read_0($this, _Char___init__impl__6a9atx(62));
|
|
1652
1652
|
return Unit_instance;
|
|
@@ -1654,10 +1654,10 @@
|
|
|
1654
1654
|
readCName($this);
|
|
1655
1655
|
skip($this);
|
|
1656
1656
|
read_0($this, _Char___init__impl__6a9atx(62));
|
|
1657
|
-
if (!$this.
|
|
1658
|
-
if (!($this.
|
|
1657
|
+
if (!$this.n17_1) {
|
|
1658
|
+
if (!($this.i18_1 == expectedPrefix) || !($this.j18_1 === expectedLocalName)) {
|
|
1659
1659
|
var expectedFullName_1 = fullname(Companion_instance_1, expectedPrefix, expectedLocalName);
|
|
1660
|
-
var fullName = fullname(Companion_instance_1, $this.
|
|
1660
|
+
var fullName = fullname(Companion_instance_1, $this.i18_1, ensureNotNull($this.j18_1));
|
|
1661
1661
|
error($this, 'expected: ' + expectedFullName_1 + ' read: ' + fullName);
|
|
1662
1662
|
}
|
|
1663
1663
|
}
|
|
@@ -1754,34 +1754,34 @@
|
|
|
1754
1754
|
return tmp;
|
|
1755
1755
|
}
|
|
1756
1756
|
function get($this) {
|
|
1757
|
-
return concatToString($this.
|
|
1757
|
+
return concatToString($this.k18_1, 0, $this.l18_1);
|
|
1758
1758
|
}
|
|
1759
1759
|
function popOutput($this) {
|
|
1760
|
-
$this.
|
|
1760
|
+
$this.l18_1 = $this.l18_1 - 1 | 0;
|
|
1761
1761
|
}
|
|
1762
1762
|
function resetOutputBuffer($this) {
|
|
1763
|
-
$this.
|
|
1763
|
+
$this.l18_1 = 0;
|
|
1764
1764
|
}
|
|
1765
1765
|
function pushRange($this, buffer, start, endExcl) {
|
|
1766
1766
|
var count = endExcl - start | 0;
|
|
1767
|
-
var outRight = $this.
|
|
1767
|
+
var outRight = $this.l18_1;
|
|
1768
1768
|
var minSizeNeeded = outRight + count | 0;
|
|
1769
|
-
if (minSizeNeeded >= $this.
|
|
1769
|
+
if (minSizeNeeded >= $this.k18_1.length) {
|
|
1770
1770
|
growOutputBuf($this, minSizeNeeded);
|
|
1771
1771
|
}
|
|
1772
1772
|
// Inline function 'kotlin.collections.copyInto' call
|
|
1773
|
-
var destination = $this.
|
|
1773
|
+
var destination = $this.k18_1;
|
|
1774
1774
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1775
1775
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1776
1776
|
var tmp = buffer;
|
|
1777
1777
|
// Inline function 'kotlin.js.unsafeCast' call
|
|
1778
1778
|
// Inline function 'kotlin.js.asDynamic' call
|
|
1779
1779
|
arrayCopy(tmp, destination, outRight, start, endExcl);
|
|
1780
|
-
$this.
|
|
1780
|
+
$this.l18_1 = outRight + count | 0;
|
|
1781
1781
|
}
|
|
1782
1782
|
function push($this, s) {
|
|
1783
|
-
var minSizeNeeded = $this.
|
|
1784
|
-
if (minSizeNeeded > $this.
|
|
1783
|
+
var minSizeNeeded = $this.l18_1 + s.length | 0;
|
|
1784
|
+
if (minSizeNeeded > $this.k18_1.length) {
|
|
1785
1785
|
growOutputBuf($this, minSizeNeeded);
|
|
1786
1786
|
}
|
|
1787
1787
|
var inductionVariable = 0;
|
|
@@ -1789,20 +1789,20 @@
|
|
|
1789
1789
|
while (inductionVariable < last) {
|
|
1790
1790
|
var c = charCodeAt(s, inductionVariable);
|
|
1791
1791
|
inductionVariable = inductionVariable + 1 | 0;
|
|
1792
|
-
var tmp = $this.
|
|
1793
|
-
var _unary__edvuaz = $this.
|
|
1794
|
-
$this.
|
|
1792
|
+
var tmp = $this.k18_1;
|
|
1793
|
+
var _unary__edvuaz = $this.l18_1;
|
|
1794
|
+
$this.l18_1 = _unary__edvuaz + 1 | 0;
|
|
1795
1795
|
tmp[_unary__edvuaz] = c;
|
|
1796
1796
|
}
|
|
1797
1797
|
}
|
|
1798
1798
|
function pushChar($this, c) {
|
|
1799
|
-
var newPos = $this.
|
|
1800
|
-
if (newPos >= $this.
|
|
1799
|
+
var newPos = $this.l18_1;
|
|
1800
|
+
if (newPos >= $this.k18_1.length) {
|
|
1801
1801
|
growOutputBuf($this);
|
|
1802
1802
|
}
|
|
1803
|
-
var tmp = $this.
|
|
1804
|
-
var _unary__edvuaz = $this.
|
|
1805
|
-
$this.
|
|
1803
|
+
var tmp = $this.k18_1;
|
|
1804
|
+
var _unary__edvuaz = $this.l18_1;
|
|
1805
|
+
$this.l18_1 = _unary__edvuaz + 1 | 0;
|
|
1806
1806
|
tmp[_unary__edvuaz] = c;
|
|
1807
1807
|
}
|
|
1808
1808
|
function pushChar_0($this, cp) {
|
|
@@ -1816,24 +1816,24 @@
|
|
|
1816
1816
|
if (c < 0) {
|
|
1817
1817
|
error($this, 'UNEXPECTED EOF');
|
|
1818
1818
|
}
|
|
1819
|
-
var newPos = $this.
|
|
1820
|
-
if ((newPos + 1 | 0) >= $this.
|
|
1819
|
+
var newPos = $this.l18_1;
|
|
1820
|
+
if ((newPos + 1 | 0) >= $this.k18_1.length) {
|
|
1821
1821
|
growOutputBuf($this);
|
|
1822
1822
|
}
|
|
1823
1823
|
if (c > 65535) {
|
|
1824
1824
|
var offset = c - 65536 | 0;
|
|
1825
|
-
var tmp = $this.
|
|
1826
|
-
var _unary__edvuaz = $this.
|
|
1827
|
-
$this.
|
|
1825
|
+
var tmp = $this.k18_1;
|
|
1826
|
+
var _unary__edvuaz = $this.l18_1;
|
|
1827
|
+
$this.l18_1 = _unary__edvuaz + 1 | 0;
|
|
1828
1828
|
tmp[_unary__edvuaz] = numberToChar((offset >>> 10 | 0) + 55296 | 0);
|
|
1829
|
-
var tmp_0 = $this.
|
|
1830
|
-
var _unary__edvuaz_0 = $this.
|
|
1831
|
-
$this.
|
|
1829
|
+
var tmp_0 = $this.k18_1;
|
|
1830
|
+
var _unary__edvuaz_0 = $this.l18_1;
|
|
1831
|
+
$this.l18_1 = _unary__edvuaz_0 + 1 | 0;
|
|
1832
1832
|
tmp_0[_unary__edvuaz_0] = numberToChar((offset & 1023) + 56320 | 0);
|
|
1833
1833
|
} else {
|
|
1834
|
-
var tmp_1 = $this.
|
|
1835
|
-
var _unary__edvuaz_1 = $this.
|
|
1836
|
-
$this.
|
|
1834
|
+
var tmp_1 = $this.k18_1;
|
|
1835
|
+
var _unary__edvuaz_1 = $this.l18_1;
|
|
1836
|
+
$this.l18_1 = _unary__edvuaz_1 + 1 | 0;
|
|
1837
1837
|
tmp_1[_unary__edvuaz_1] = numberToChar(c);
|
|
1838
1838
|
}
|
|
1839
1839
|
}
|
|
@@ -1846,10 +1846,10 @@
|
|
|
1846
1846
|
localName = readName($this);
|
|
1847
1847
|
} else {
|
|
1848
1848
|
readCName($this);
|
|
1849
|
-
prefix = $this.
|
|
1850
|
-
localName = ensureNotNull($this.
|
|
1849
|
+
prefix = $this.i18_1;
|
|
1850
|
+
localName = ensureNotNull($this.j18_1);
|
|
1851
1851
|
}
|
|
1852
|
-
$this.
|
|
1852
|
+
$this.x17_1.f19();
|
|
1853
1853
|
$l$loop_1: while (true) {
|
|
1854
1854
|
skip($this);
|
|
1855
1855
|
var c = peek($this, 0);
|
|
@@ -1869,7 +1869,7 @@
|
|
|
1869
1869
|
if (xmldecl) {
|
|
1870
1870
|
error($this, '/ found to close xml declaration');
|
|
1871
1871
|
}
|
|
1872
|
-
$this.
|
|
1872
|
+
$this.u17_1 = true;
|
|
1873
1873
|
readAssert($this, _Char___init__impl__6a9atx(47));
|
|
1874
1874
|
if (isXmlWhitespace_0(numberToChar(peek_0($this)))) {
|
|
1875
1875
|
error($this, 'ERR: Whitespace between empty content tag closing elements');
|
|
@@ -1925,7 +1925,7 @@
|
|
|
1925
1925
|
if (isNameStartChar(numberToChar(c))) {
|
|
1926
1926
|
resetOutputBuffer($this);
|
|
1927
1927
|
readCName($this);
|
|
1928
|
-
var aLocalName = ensureNotNull($this.
|
|
1928
|
+
var aLocalName = ensureNotNull($this.j18_1);
|
|
1929
1929
|
// Inline function 'kotlin.text.isEmpty' call
|
|
1930
1930
|
if (charSequenceLength(aLocalName) === 0) {
|
|
1931
1931
|
error($this, 'attr name expected');
|
|
@@ -1936,9 +1936,9 @@
|
|
|
1936
1936
|
// Inline function 'kotlin.code' call
|
|
1937
1937
|
var this_7 = _Char___init__impl__6a9atx(61);
|
|
1938
1938
|
if (!(tmp_2 === Char__toInt_impl_vasixd(this_7))) {
|
|
1939
|
-
var fullname_0 = fullname(Companion_instance_1, $this.
|
|
1939
|
+
var fullname_0 = fullname(Companion_instance_1, $this.i18_1, aLocalName);
|
|
1940
1940
|
error($this, 'Attr.value missing in ' + fullname_0 + " '='. Found: " + toString_0(numberToChar(peek($this, 0))));
|
|
1941
|
-
$this.
|
|
1941
|
+
$this.x17_1.g19($this.i18_1, aLocalName, fullname_0);
|
|
1942
1942
|
} else {
|
|
1943
1943
|
read_0($this, _Char___init__impl__6a9atx(61));
|
|
1944
1944
|
skip($this);
|
|
@@ -1963,7 +1963,7 @@
|
|
|
1963
1963
|
resetOutputBuffer($this);
|
|
1964
1964
|
pushWSDelimAttrValue($this);
|
|
1965
1965
|
}
|
|
1966
|
-
$this.
|
|
1966
|
+
$this.x17_1.g19($this.i18_1, aLocalName, get($this));
|
|
1967
1967
|
}
|
|
1968
1968
|
} else {
|
|
1969
1969
|
var fullName = fullname(Companion_instance_1, prefix, localName);
|
|
@@ -1976,9 +1976,9 @@
|
|
|
1976
1976
|
}
|
|
1977
1977
|
}
|
|
1978
1978
|
}
|
|
1979
|
-
var d = $this.
|
|
1980
|
-
$this.
|
|
1981
|
-
$this.
|
|
1979
|
+
var d = $this.b19();
|
|
1980
|
+
$this.g18_1.h19();
|
|
1981
|
+
$this.h18_1.i19($this.b19());
|
|
1982
1982
|
adjustNsp($this, prefix, localName);
|
|
1983
1983
|
}
|
|
1984
1984
|
function pushEntity($this) {
|
|
@@ -2019,14 +2019,14 @@
|
|
|
2019
2019
|
codeBuilder.k5(numberToChar(read_1($this)));
|
|
2020
2020
|
}
|
|
2021
2021
|
var code = codeBuilder.toString();
|
|
2022
|
-
if (equals($this.
|
|
2023
|
-
$this.
|
|
2022
|
+
if (equals($this.s17_1, EventType_ENTITY_REF_getInstance())) {
|
|
2023
|
+
$this.t17_1 = code;
|
|
2024
2024
|
}
|
|
2025
|
-
var result = $this.
|
|
2026
|
-
$this.
|
|
2025
|
+
var result = $this.f18_1.k19(code);
|
|
2026
|
+
$this.o18_1 = result == null;
|
|
2027
2027
|
if (!(result == null)) {
|
|
2028
2028
|
push($this, result);
|
|
2029
|
-
} else if ($this.
|
|
2029
|
+
} else if ($this.o17_1) {
|
|
2030
2030
|
exception($this, 'Unknown entity "&' + code + ';" in entity expanding mode');
|
|
2031
2031
|
}
|
|
2032
2032
|
}
|
|
@@ -2123,24 +2123,24 @@
|
|
|
2123
2123
|
}
|
|
2124
2124
|
}
|
|
2125
2125
|
var code = codeBuilder.toString();
|
|
2126
|
-
if (equals($this.
|
|
2127
|
-
$this.
|
|
2126
|
+
if (equals($this.s17_1, EventType_ENTITY_REF_getInstance()))
|
|
2127
|
+
$this.t17_1 = code;
|
|
2128
2128
|
var cp = isHex ? toInt_0(code, 16) : toInt(code);
|
|
2129
2129
|
pushCodePoint($this, cp);
|
|
2130
2130
|
return Unit_instance;
|
|
2131
2131
|
}
|
|
2132
2132
|
function pushText($this, delimiter) {
|
|
2133
|
-
var bufCount = $this.
|
|
2133
|
+
var bufCount = $this.c18_1;
|
|
2134
2134
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2135
2135
|
var a = bufCount;
|
|
2136
2136
|
var innerLoopEnd = Math.min(a, 4096);
|
|
2137
|
-
var curPos = $this.
|
|
2137
|
+
var curPos = $this.b18_1;
|
|
2138
2138
|
$l$loop: while (curPos < innerLoopEnd) {
|
|
2139
|
-
var tmp0_subject = $this.
|
|
2139
|
+
var tmp0_subject = $this.d18_1[curPos];
|
|
2140
2140
|
if (tmp0_subject === _Char___init__impl__6a9atx(32) || tmp0_subject === _Char___init__impl__6a9atx(9) || (tmp0_subject === _Char___init__impl__6a9atx(10) || tmp0_subject === _Char___init__impl__6a9atx(13)))
|
|
2141
2141
|
break $l$loop;
|
|
2142
2142
|
else
|
|
2143
|
-
return pushRegularText($this, delimiter, $this.
|
|
2143
|
+
return pushRegularText($this, delimiter, $this.o17_1);
|
|
2144
2144
|
}
|
|
2145
2145
|
var left = curPos;
|
|
2146
2146
|
var right = -1;
|
|
@@ -2148,19 +2148,19 @@
|
|
|
2148
2148
|
outer: while (curPos < bufCount && notFinished) {
|
|
2149
2149
|
var continueInNonWSMode = false;
|
|
2150
2150
|
inner: while (curPos < innerLoopEnd) {
|
|
2151
|
-
var tmp1_subject = $this.
|
|
2151
|
+
var tmp1_subject = $this.d18_1[curPos];
|
|
2152
2152
|
if (tmp1_subject === _Char___init__impl__6a9atx(13)) {
|
|
2153
2153
|
if (right > (left + 1 | 0)) {
|
|
2154
|
-
pushRange($this, $this.
|
|
2154
|
+
pushRange($this, $this.d18_1, left, right);
|
|
2155
2155
|
}
|
|
2156
2156
|
right = -1;
|
|
2157
2157
|
var tmp2_subject = curPos + 1 | 0;
|
|
2158
|
-
var peekChar = tmp2_subject === bufCount ? _Char___init__impl__6a9atx(0) : tmp2_subject === 4096 ? $this.
|
|
2158
|
+
var peekChar = tmp2_subject === bufCount ? _Char___init__impl__6a9atx(0) : tmp2_subject === 4096 ? $this.e18_1[0] : $this.d18_1[curPos + 1 | 0];
|
|
2159
2159
|
if (!(peekChar === _Char___init__impl__6a9atx(10))) {
|
|
2160
2160
|
pushChar($this, _Char___init__impl__6a9atx(10));
|
|
2161
2161
|
incLine($this);
|
|
2162
2162
|
} else {
|
|
2163
|
-
$this.
|
|
2163
|
+
$this.r17_1 = $this.r17_1 + 1 | 0;
|
|
2164
2164
|
}
|
|
2165
2165
|
left = curPos + 1 | 0;
|
|
2166
2166
|
curPos = curPos + 1 | 0;
|
|
@@ -2183,47 +2183,47 @@
|
|
|
2183
2183
|
if (curPos === innerLoopEnd)
|
|
2184
2184
|
right = curPos;
|
|
2185
2185
|
if (right > left) {
|
|
2186
|
-
pushRange($this, $this.
|
|
2186
|
+
pushRange($this, $this.d18_1, left, right);
|
|
2187
2187
|
right = -1;
|
|
2188
2188
|
}
|
|
2189
2189
|
if (curPos === 4096) {
|
|
2190
|
-
$this.
|
|
2190
|
+
$this.b18_1 = curPos;
|
|
2191
2191
|
swapInputBuffer($this);
|
|
2192
|
-
curPos = $this.
|
|
2193
|
-
bufCount = $this.
|
|
2192
|
+
curPos = $this.b18_1;
|
|
2193
|
+
bufCount = $this.c18_1;
|
|
2194
2194
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2195
2195
|
var a_0 = bufCount;
|
|
2196
2196
|
innerLoopEnd = Math.min(a_0, 4096);
|
|
2197
2197
|
}
|
|
2198
2198
|
if (continueInNonWSMode) {
|
|
2199
|
-
$this.
|
|
2200
|
-
return pushRegularText($this, delimiter, $this.
|
|
2199
|
+
$this.b18_1 = curPos;
|
|
2200
|
+
return pushRegularText($this, delimiter, $this.o17_1);
|
|
2201
2201
|
}
|
|
2202
2202
|
left = curPos;
|
|
2203
2203
|
}
|
|
2204
|
-
$this.
|
|
2205
|
-
$this.
|
|
2204
|
+
$this.m18_1 = true;
|
|
2205
|
+
$this.b18_1 = curPos;
|
|
2206
2206
|
}
|
|
2207
2207
|
function pushRegularText($this, delimiter, resolveEntities) {
|
|
2208
|
-
var bufCount = $this.
|
|
2208
|
+
var bufCount = $this.c18_1;
|
|
2209
2209
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2210
2210
|
var a = bufCount;
|
|
2211
2211
|
var innerLoopEnd = Math.min(a, 4096);
|
|
2212
|
-
var curPos = $this.
|
|
2212
|
+
var curPos = $this.b18_1;
|
|
2213
2213
|
var left = curPos;
|
|
2214
2214
|
var right = -1;
|
|
2215
2215
|
var notFinished = true;
|
|
2216
2216
|
outer: while (curPos < bufCount && notFinished) {
|
|
2217
2217
|
inner: while (curPos < innerLoopEnd) {
|
|
2218
|
-
var tmp0_subject = $this.
|
|
2218
|
+
var tmp0_subject = $this.d18_1[curPos];
|
|
2219
2219
|
if (tmp0_subject === delimiter) {
|
|
2220
2220
|
notFinished = false;
|
|
2221
2221
|
right = curPos;
|
|
2222
2222
|
break inner;
|
|
2223
2223
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(13)) {
|
|
2224
|
-
pushRange($this, $this.
|
|
2224
|
+
pushRange($this, $this.d18_1, left, curPos);
|
|
2225
2225
|
var next = curPos + 1 | 0;
|
|
2226
|
-
var nextIsCR = next === bufCount ? false : next === 4096 ? $this.
|
|
2226
|
+
var nextIsCR = next === bufCount ? false : next === 4096 ? $this.e18_1[0] === _Char___init__impl__6a9atx(10) : $this.d18_1[next] === _Char___init__impl__6a9atx(10);
|
|
2227
2227
|
if (nextIsCR) {
|
|
2228
2228
|
incLine($this, 2);
|
|
2229
2229
|
curPos = curPos + 2 | 0;
|
|
@@ -2243,9 +2243,9 @@
|
|
|
2243
2243
|
notFinished = false;
|
|
2244
2244
|
break inner;
|
|
2245
2245
|
} else if (left === curPos) {
|
|
2246
|
-
$this.
|
|
2246
|
+
$this.b18_1 = curPos;
|
|
2247
2247
|
pushEntity($this);
|
|
2248
|
-
curPos = $this.
|
|
2248
|
+
curPos = $this.b18_1;
|
|
2249
2249
|
left = curPos;
|
|
2250
2250
|
} else {
|
|
2251
2251
|
right = curPos;
|
|
@@ -2260,47 +2260,47 @@
|
|
|
2260
2260
|
right = curPos;
|
|
2261
2261
|
}
|
|
2262
2262
|
if (right > 0) {
|
|
2263
|
-
pushRange($this, $this.
|
|
2263
|
+
pushRange($this, $this.d18_1, left, right);
|
|
2264
2264
|
right = -1;
|
|
2265
2265
|
}
|
|
2266
2266
|
if (curPos >= 4096) {
|
|
2267
|
-
$this.
|
|
2267
|
+
$this.b18_1 = curPos;
|
|
2268
2268
|
swapInputBuffer($this);
|
|
2269
|
-
curPos = $this.
|
|
2270
|
-
bufCount = $this.
|
|
2269
|
+
curPos = $this.b18_1;
|
|
2270
|
+
bufCount = $this.c18_1;
|
|
2271
2271
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2272
2272
|
var a_0 = bufCount;
|
|
2273
2273
|
innerLoopEnd = Math.min(a_0, 4096);
|
|
2274
2274
|
}
|
|
2275
2275
|
left = curPos;
|
|
2276
2276
|
}
|
|
2277
|
-
$this.
|
|
2278
|
-
$this.
|
|
2277
|
+
$this.m18_1 = false;
|
|
2278
|
+
$this.b18_1 = curPos;
|
|
2279
2279
|
}
|
|
2280
2280
|
function pushAttributeValue($this, delimiter) {
|
|
2281
|
-
var bufCount = $this.
|
|
2281
|
+
var bufCount = $this.c18_1;
|
|
2282
2282
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2283
2283
|
var a = bufCount;
|
|
2284
2284
|
var innerLoopEnd = Math.min(a, 4096);
|
|
2285
|
-
var curPos = $this.
|
|
2285
|
+
var curPos = $this.b18_1;
|
|
2286
2286
|
var left = curPos;
|
|
2287
2287
|
var right = -1;
|
|
2288
2288
|
var notFinished = true;
|
|
2289
2289
|
outer: while (curPos < bufCount && notFinished) {
|
|
2290
2290
|
inner: while (curPos < innerLoopEnd) {
|
|
2291
|
-
var c = $this.
|
|
2291
|
+
var c = $this.d18_1[curPos];
|
|
2292
2292
|
if (c === delimiter) {
|
|
2293
2293
|
notFinished = false;
|
|
2294
2294
|
right = curPos;
|
|
2295
2295
|
break inner;
|
|
2296
2296
|
} else if (c === _Char___init__impl__6a9atx(13) || (c === _Char___init__impl__6a9atx(10) || c === _Char___init__impl__6a9atx(9))) {
|
|
2297
|
-
pushRange($this, $this.
|
|
2297
|
+
pushRange($this, $this.d18_1, left, curPos);
|
|
2298
2298
|
var tmp;
|
|
2299
2299
|
if (!(c === _Char___init__impl__6a9atx(13))) {
|
|
2300
2300
|
tmp = false;
|
|
2301
2301
|
} else {
|
|
2302
2302
|
var next = curPos + 1 | 0;
|
|
2303
|
-
tmp = next === bufCount ? false : next === 4096 ? $this.
|
|
2303
|
+
tmp = next === bufCount ? false : next === 4096 ? $this.e18_1[0] === _Char___init__impl__6a9atx(10) : $this.d18_1[next] === _Char___init__impl__6a9atx(10);
|
|
2304
2304
|
}
|
|
2305
2305
|
var nextIsCR = tmp;
|
|
2306
2306
|
if (nextIsCR) {
|
|
@@ -2317,9 +2317,9 @@
|
|
|
2317
2317
|
left = curPos;
|
|
2318
2318
|
} else if (c === _Char___init__impl__6a9atx(38)) {
|
|
2319
2319
|
if (left === curPos) {
|
|
2320
|
-
$this.
|
|
2320
|
+
$this.b18_1 = curPos;
|
|
2321
2321
|
pushEntity($this);
|
|
2322
|
-
curPos = $this.
|
|
2322
|
+
curPos = $this.b18_1;
|
|
2323
2323
|
left = curPos;
|
|
2324
2324
|
} else {
|
|
2325
2325
|
right = curPos;
|
|
@@ -2334,48 +2334,48 @@
|
|
|
2334
2334
|
right = curPos;
|
|
2335
2335
|
}
|
|
2336
2336
|
if (right > 0) {
|
|
2337
|
-
pushRange($this, $this.
|
|
2337
|
+
pushRange($this, $this.d18_1, left, right);
|
|
2338
2338
|
right = -1;
|
|
2339
2339
|
}
|
|
2340
2340
|
if (curPos >= 4096) {
|
|
2341
|
-
$this.
|
|
2341
|
+
$this.b18_1 = curPos;
|
|
2342
2342
|
swapInputBuffer($this);
|
|
2343
|
-
curPos = $this.
|
|
2344
|
-
bufCount = $this.
|
|
2343
|
+
curPos = $this.b18_1;
|
|
2344
|
+
bufCount = $this.c18_1;
|
|
2345
2345
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2346
2346
|
var a_0 = bufCount;
|
|
2347
2347
|
innerLoopEnd = Math.min(a_0, 4096);
|
|
2348
2348
|
}
|
|
2349
2349
|
left = curPos;
|
|
2350
2350
|
}
|
|
2351
|
-
$this.
|
|
2352
|
-
$this.
|
|
2351
|
+
$this.m18_1 = false;
|
|
2352
|
+
$this.b18_1 = curPos;
|
|
2353
2353
|
}
|
|
2354
2354
|
function pushWSDelimAttrValue($this) {
|
|
2355
|
-
var bufCount = $this.
|
|
2355
|
+
var bufCount = $this.c18_1;
|
|
2356
2356
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2357
2357
|
var a = bufCount;
|
|
2358
2358
|
var leftEnd = Math.min(a, 4096);
|
|
2359
2359
|
var left;
|
|
2360
2360
|
var right;
|
|
2361
|
-
var curPos = $this.
|
|
2361
|
+
var curPos = $this.b18_1;
|
|
2362
2362
|
var notFinished = true;
|
|
2363
2363
|
outer: while (curPos < bufCount && notFinished) {
|
|
2364
2364
|
left = curPos;
|
|
2365
2365
|
right = -1;
|
|
2366
2366
|
inner: while (curPos < leftEnd) {
|
|
2367
|
-
var tmp0_subject = $this.
|
|
2367
|
+
var tmp0_subject = $this.d18_1[curPos];
|
|
2368
2368
|
if (tmp0_subject === _Char___init__impl__6a9atx(13)) {
|
|
2369
|
-
$this.
|
|
2369
|
+
$this.b18_1 = curPos;
|
|
2370
2370
|
var tmp = peek_0($this);
|
|
2371
2371
|
// Inline function 'kotlin.code' call
|
|
2372
2372
|
var this_0 = _Char___init__impl__6a9atx(10);
|
|
2373
2373
|
if (tmp === Char__toInt_impl_vasixd(this_0)) {
|
|
2374
|
-
$this.
|
|
2375
|
-
$this.
|
|
2374
|
+
$this.b18_1 = $this.b18_1 + 1 | 0;
|
|
2375
|
+
$this.r17_1 = $this.r17_1 + 1 | 0;
|
|
2376
2376
|
}
|
|
2377
2377
|
right = curPos;
|
|
2378
|
-
curPos = $this.
|
|
2378
|
+
curPos = $this.b18_1;
|
|
2379
2379
|
notFinished = false;
|
|
2380
2380
|
break inner;
|
|
2381
2381
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(32) || tmp0_subject === _Char___init__impl__6a9atx(9) || (tmp0_subject === _Char___init__impl__6a9atx(10) || tmp0_subject === _Char___init__impl__6a9atx(62))) {
|
|
@@ -2386,7 +2386,7 @@
|
|
|
2386
2386
|
} else if (tmp0_subject === _Char___init__impl__6a9atx(38)) {
|
|
2387
2387
|
if (left === curPos) {
|
|
2388
2388
|
pushEntity($this);
|
|
2389
|
-
curPos = $this.
|
|
2389
|
+
curPos = $this.b18_1;
|
|
2390
2390
|
} else {
|
|
2391
2391
|
right = curPos;
|
|
2392
2392
|
break inner;
|
|
@@ -2396,19 +2396,19 @@
|
|
|
2396
2396
|
}
|
|
2397
2397
|
}
|
|
2398
2398
|
if (right > 0) {
|
|
2399
|
-
pushRange($this, $this.
|
|
2399
|
+
pushRange($this, $this.d18_1, left, right);
|
|
2400
2400
|
}
|
|
2401
2401
|
if (curPos === 4096) {
|
|
2402
|
-
$this.
|
|
2402
|
+
$this.b18_1 = curPos;
|
|
2403
2403
|
swapInputBuffer($this);
|
|
2404
|
-
curPos = $this.
|
|
2405
|
-
bufCount = $this.
|
|
2404
|
+
curPos = $this.b18_1;
|
|
2405
|
+
bufCount = $this.c18_1;
|
|
2406
2406
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2407
2407
|
var a_0 = bufCount;
|
|
2408
2408
|
leftEnd = Math.min(a_0, 4096);
|
|
2409
2409
|
}
|
|
2410
2410
|
}
|
|
2411
|
-
$this.
|
|
2411
|
+
$this.b18_1 = curPos;
|
|
2412
2412
|
}
|
|
2413
2413
|
function read($this, s) {
|
|
2414
2414
|
var inductionVariable = 0;
|
|
@@ -2434,40 +2434,40 @@
|
|
|
2434
2434
|
read_1($this);
|
|
2435
2435
|
}
|
|
2436
2436
|
function read_1($this) {
|
|
2437
|
-
var pos = $this.
|
|
2438
|
-
if (pos >= $this.
|
|
2437
|
+
var pos = $this.b18_1;
|
|
2438
|
+
if (pos >= $this.c18_1)
|
|
2439
2439
|
return -1;
|
|
2440
2440
|
if ((pos + 2 | 0) >= 4096)
|
|
2441
2441
|
return readAcross($this);
|
|
2442
2442
|
var next = pos + 1 | 0;
|
|
2443
|
-
var ch = $this.
|
|
2443
|
+
var ch = $this.d18_1[pos];
|
|
2444
2444
|
if (ch === _Char___init__impl__6a9atx(13)) {
|
|
2445
|
-
if (next < $this.
|
|
2446
|
-
$this.
|
|
2445
|
+
if (next < $this.c18_1 && $this.d18_1[next] === _Char___init__impl__6a9atx(10)) {
|
|
2446
|
+
$this.b18_1 = next + 1 | 0;
|
|
2447
2447
|
incLine($this, 2);
|
|
2448
2448
|
} else {
|
|
2449
|
-
$this.
|
|
2449
|
+
$this.b18_1 = next;
|
|
2450
2450
|
incLine($this);
|
|
2451
2451
|
}
|
|
2452
2452
|
// Inline function 'kotlin.code' call
|
|
2453
2453
|
var this_0 = _Char___init__impl__6a9atx(10);
|
|
2454
2454
|
return Char__toInt_impl_vasixd(this_0);
|
|
2455
2455
|
} else if (ch === _Char___init__impl__6a9atx(10)) {
|
|
2456
|
-
$this.
|
|
2456
|
+
$this.b18_1 = next;
|
|
2457
2457
|
incLine($this);
|
|
2458
2458
|
// Inline function 'kotlin.code' call
|
|
2459
2459
|
var this_1 = _Char___init__impl__6a9atx(10);
|
|
2460
2460
|
return Char__toInt_impl_vasixd(this_1);
|
|
2461
2461
|
} else {
|
|
2462
2462
|
incCol($this);
|
|
2463
|
-
$this.
|
|
2463
|
+
$this.b18_1 = next;
|
|
2464
2464
|
// Inline function 'kotlin.code' call
|
|
2465
2465
|
return Char__toInt_impl_vasixd(ch);
|
|
2466
2466
|
}
|
|
2467
2467
|
}
|
|
2468
2468
|
function readAndPush($this) {
|
|
2469
|
-
var pos = $this.
|
|
2470
|
-
if (pos >= $this.
|
|
2469
|
+
var pos = $this.b18_1;
|
|
2470
|
+
if (pos >= $this.c18_1) {
|
|
2471
2471
|
exception($this, 'Unexpected EOF');
|
|
2472
2472
|
}
|
|
2473
2473
|
var nextSrcPos = pos + 1 | 0;
|
|
@@ -2477,119 +2477,119 @@
|
|
|
2477
2477
|
pushChar_0($this, this_0);
|
|
2478
2478
|
return numberToChar(this_0);
|
|
2479
2479
|
}
|
|
2480
|
-
var outRight = $this.
|
|
2481
|
-
if (outRight >= $this.
|
|
2480
|
+
var outRight = $this.l18_1;
|
|
2481
|
+
if (outRight >= $this.k18_1.length) {
|
|
2482
2482
|
growOutputBuf($this, outRight - 0 | 0);
|
|
2483
2483
|
}
|
|
2484
|
-
var bufLeft = $this.
|
|
2484
|
+
var bufLeft = $this.d18_1;
|
|
2485
2485
|
var result;
|
|
2486
2486
|
var ch = bufLeft[pos];
|
|
2487
2487
|
if (ch === _Char___init__impl__6a9atx(13)) {
|
|
2488
2488
|
var tmp = $this;
|
|
2489
2489
|
var tmp_0;
|
|
2490
|
-
if (nextSrcPos < $this.
|
|
2490
|
+
if (nextSrcPos < $this.c18_1 && bufLeft[nextSrcPos] === _Char___init__impl__6a9atx(10)) {
|
|
2491
2491
|
incLine($this, 2);
|
|
2492
2492
|
tmp_0 = nextSrcPos + 1 | 0;
|
|
2493
2493
|
} else {
|
|
2494
2494
|
incLine($this);
|
|
2495
2495
|
tmp_0 = nextSrcPos;
|
|
2496
2496
|
}
|
|
2497
|
-
tmp.
|
|
2498
|
-
var tmp_1 = $this.
|
|
2497
|
+
tmp.b18_1 = tmp_0;
|
|
2498
|
+
var tmp_1 = $this.k18_1;
|
|
2499
2499
|
var _unary__edvuaz = outRight;
|
|
2500
2500
|
outRight = _unary__edvuaz + 1 | 0;
|
|
2501
2501
|
tmp_1[_unary__edvuaz] = _Char___init__impl__6a9atx(10);
|
|
2502
2502
|
result = _Char___init__impl__6a9atx(10);
|
|
2503
2503
|
} else if (ch === _Char___init__impl__6a9atx(10)) {
|
|
2504
|
-
$this.
|
|
2504
|
+
$this.b18_1 = nextSrcPos;
|
|
2505
2505
|
incLine($this);
|
|
2506
|
-
var tmp_2 = $this.
|
|
2506
|
+
var tmp_2 = $this.k18_1;
|
|
2507
2507
|
var _unary__edvuaz_0 = outRight;
|
|
2508
2508
|
outRight = _unary__edvuaz_0 + 1 | 0;
|
|
2509
2509
|
tmp_2[_unary__edvuaz_0] = _Char___init__impl__6a9atx(10);
|
|
2510
2510
|
result = _Char___init__impl__6a9atx(10);
|
|
2511
2511
|
} else {
|
|
2512
2512
|
incCol($this);
|
|
2513
|
-
$this.
|
|
2514
|
-
var tmp_3 = $this.
|
|
2513
|
+
$this.b18_1 = nextSrcPos;
|
|
2514
|
+
var tmp_3 = $this.k18_1;
|
|
2515
2515
|
var _unary__edvuaz_1 = outRight;
|
|
2516
2516
|
outRight = _unary__edvuaz_1 + 1 | 0;
|
|
2517
2517
|
tmp_3[_unary__edvuaz_1] = ch;
|
|
2518
2518
|
result = ch;
|
|
2519
2519
|
}
|
|
2520
|
-
$this.
|
|
2520
|
+
$this.l18_1 = outRight;
|
|
2521
2521
|
return result;
|
|
2522
2522
|
}
|
|
2523
2523
|
function growOutputBuf($this, minNeeded) {
|
|
2524
|
-
minNeeded = minNeeded === VOID ? $this.
|
|
2525
|
-
var tmp0 = imul($this.
|
|
2524
|
+
minNeeded = minNeeded === VOID ? $this.l18_1 : minNeeded;
|
|
2525
|
+
var tmp0 = imul($this.k18_1.length, 2);
|
|
2526
2526
|
// Inline function 'kotlin.comparisons.maxOf' call
|
|
2527
2527
|
var b = imul(minNeeded, 5) / 4 | 0;
|
|
2528
2528
|
var newSize = Math.max(tmp0, b);
|
|
2529
|
-
$this.
|
|
2529
|
+
$this.k18_1 = copyOf($this.k18_1, newSize);
|
|
2530
2530
|
}
|
|
2531
2531
|
function swapInputBuffer($this) {
|
|
2532
|
-
var oldLeft = $this.
|
|
2533
|
-
$this.
|
|
2534
|
-
$this.
|
|
2535
|
-
$this.
|
|
2536
|
-
var rightBufCount = $this.
|
|
2532
|
+
var oldLeft = $this.d18_1;
|
|
2533
|
+
$this.d18_1 = $this.e18_1;
|
|
2534
|
+
$this.e18_1 = oldLeft;
|
|
2535
|
+
$this.b18_1 = $this.b18_1 - 4096 | 0;
|
|
2536
|
+
var rightBufCount = $this.c18_1 - 4096 | 0;
|
|
2537
2537
|
if (rightBufCount >= 4096) {
|
|
2538
|
-
var newRead = readUntilFullOrEOF(Companion_instance_1, $this.
|
|
2539
|
-
$this.
|
|
2538
|
+
var newRead = readUntilFullOrEOF(Companion_instance_1, $this.m17_1, $this.e18_1);
|
|
2539
|
+
$this.c18_1 = newRead < 0 ? rightBufCount : rightBufCount + newRead | 0;
|
|
2540
2540
|
} else {
|
|
2541
|
-
$this.
|
|
2541
|
+
$this.c18_1 = rightBufCount;
|
|
2542
2542
|
}
|
|
2543
2543
|
}
|
|
2544
2544
|
function readAcross($this) {
|
|
2545
|
-
var pos = $this.
|
|
2545
|
+
var pos = $this.b18_1;
|
|
2546
2546
|
if (pos >= 4096) {
|
|
2547
2547
|
swapInputBuffer($this);
|
|
2548
2548
|
pos = pos - 4096 | 0;
|
|
2549
2549
|
}
|
|
2550
2550
|
var next = pos + 1 | 0;
|
|
2551
|
-
var ch = $this.
|
|
2551
|
+
var ch = $this.d18_1[pos];
|
|
2552
2552
|
if (ch === _Char___init__impl__6a9atx(0)) {
|
|
2553
|
-
$this.
|
|
2553
|
+
$this.b18_1 = next;
|
|
2554
2554
|
return readAcross($this);
|
|
2555
2555
|
} else if (ch === _Char___init__impl__6a9atx(13)) {
|
|
2556
|
-
$this.
|
|
2557
|
-
if (next < $this.
|
|
2556
|
+
$this.d18_1[$this.b18_1] = _Char___init__impl__6a9atx(10);
|
|
2557
|
+
if (next < $this.c18_1 && getBuf($this, next) === _Char___init__impl__6a9atx(10)) {
|
|
2558
2558
|
setBuf($this, next, _Char___init__impl__6a9atx(0));
|
|
2559
|
-
$this.
|
|
2559
|
+
$this.b18_1 = next + 1 | 0;
|
|
2560
2560
|
incLine($this, 2);
|
|
2561
2561
|
} else {
|
|
2562
|
-
$this.
|
|
2562
|
+
$this.b18_1 = next;
|
|
2563
2563
|
incLine($this);
|
|
2564
2564
|
}
|
|
2565
2565
|
// Inline function 'kotlin.code' call
|
|
2566
2566
|
var this_0 = _Char___init__impl__6a9atx(10);
|
|
2567
2567
|
return Char__toInt_impl_vasixd(this_0);
|
|
2568
2568
|
} else if (ch === _Char___init__impl__6a9atx(10)) {
|
|
2569
|
-
$this.
|
|
2569
|
+
$this.b18_1 = next;
|
|
2570
2570
|
incLine($this);
|
|
2571
2571
|
// Inline function 'kotlin.code' call
|
|
2572
2572
|
var this_1 = _Char___init__impl__6a9atx(10);
|
|
2573
2573
|
return Char__toInt_impl_vasixd(this_1);
|
|
2574
2574
|
} else {
|
|
2575
2575
|
incCol($this);
|
|
2576
|
-
$this.
|
|
2576
|
+
$this.b18_1 = next;
|
|
2577
2577
|
// Inline function 'kotlin.code' call
|
|
2578
2578
|
return Char__toInt_impl_vasixd(ch);
|
|
2579
2579
|
}
|
|
2580
2580
|
}
|
|
2581
2581
|
function peek($this, pos) {
|
|
2582
|
-
if (($this.
|
|
2582
|
+
if (($this.b18_1 + (pos << 3) | 0) >= 4096)
|
|
2583
2583
|
return peekAcross($this, pos);
|
|
2584
|
-
var current = $this.
|
|
2584
|
+
var current = $this.b18_1;
|
|
2585
2585
|
var peekCount = pos;
|
|
2586
|
-
while (current < $this.
|
|
2587
|
-
var chr = $this.
|
|
2586
|
+
while (current < $this.c18_1) {
|
|
2587
|
+
var chr = $this.d18_1[current];
|
|
2588
2588
|
if (chr === _Char___init__impl__6a9atx(13)) {
|
|
2589
2589
|
chr = _Char___init__impl__6a9atx(10);
|
|
2590
|
-
$this.
|
|
2591
|
-
if ($this.
|
|
2592
|
-
var tmp = $this.
|
|
2590
|
+
$this.d18_1[current] = _Char___init__impl__6a9atx(10);
|
|
2591
|
+
if ($this.d18_1[current + 1 | 0] === _Char___init__impl__6a9atx(13)) {
|
|
2592
|
+
var tmp = $this.d18_1;
|
|
2593
2593
|
var _unary__edvuaz = current;
|
|
2594
2594
|
current = _unary__edvuaz + 1 | 0;
|
|
2595
2595
|
tmp[_unary__edvuaz] = _Char___init__impl__6a9atx(0);
|
|
@@ -2608,12 +2608,12 @@
|
|
|
2608
2608
|
return -1;
|
|
2609
2609
|
}
|
|
2610
2610
|
function peek_0($this) {
|
|
2611
|
-
var current = $this.
|
|
2612
|
-
if (current >= $this.
|
|
2611
|
+
var current = $this.b18_1;
|
|
2612
|
+
if (current >= $this.c18_1)
|
|
2613
2613
|
return -1;
|
|
2614
2614
|
if (current >= 4096)
|
|
2615
2615
|
return peekAcross($this, 0);
|
|
2616
|
-
var chr = $this.
|
|
2616
|
+
var chr = $this.d18_1[current];
|
|
2617
2617
|
var tmp;
|
|
2618
2618
|
if (chr === _Char___init__impl__6a9atx(13)) {
|
|
2619
2619
|
// Inline function 'kotlin.code' call
|
|
@@ -2626,13 +2626,13 @@
|
|
|
2626
2626
|
return tmp;
|
|
2627
2627
|
}
|
|
2628
2628
|
function peekAcross($this, pos) {
|
|
2629
|
-
var current = $this.
|
|
2629
|
+
var current = $this.b18_1;
|
|
2630
2630
|
var peekCount = pos;
|
|
2631
|
-
while (current < $this.
|
|
2631
|
+
while (current < $this.c18_1) {
|
|
2632
2632
|
var chr = getBuf($this, current);
|
|
2633
2633
|
if (chr === _Char___init__impl__6a9atx(13)) {
|
|
2634
2634
|
chr = _Char___init__impl__6a9atx(10);
|
|
2635
|
-
if ((current + 1 | 0) < $this.
|
|
2635
|
+
if ((current + 1 | 0) < $this.c18_1 && getBuf($this, current + 1 | 0) === _Char___init__impl__6a9atx(10)) {
|
|
2636
2636
|
current = current + 2 | 0;
|
|
2637
2637
|
} else {
|
|
2638
2638
|
current = current + 1 | 0;
|
|
@@ -2652,27 +2652,27 @@
|
|
|
2652
2652
|
}
|
|
2653
2653
|
function getBuf($this, pos) {
|
|
2654
2654
|
var split = pos - 4096 | 0;
|
|
2655
|
-
return split < 0 ? $this.
|
|
2655
|
+
return split < 0 ? $this.d18_1[pos] : $this.e18_1[split];
|
|
2656
2656
|
}
|
|
2657
2657
|
function setBuf($this, pos, value) {
|
|
2658
2658
|
var split = pos - 4096 | 0;
|
|
2659
2659
|
if (split < 0) {
|
|
2660
|
-
$this.
|
|
2660
|
+
$this.d18_1[pos] = value;
|
|
2661
2661
|
} else {
|
|
2662
|
-
$this.
|
|
2662
|
+
$this.e18_1[split] = value;
|
|
2663
2663
|
}
|
|
2664
2664
|
}
|
|
2665
2665
|
function readName($this) {
|
|
2666
|
-
var left = $this.
|
|
2666
|
+
var left = $this.b18_1;
|
|
2667
2667
|
var bufEnd;
|
|
2668
2668
|
// Inline function 'kotlin.run' call
|
|
2669
|
-
var cnt = $this.
|
|
2669
|
+
var cnt = $this.c18_1;
|
|
2670
2670
|
if (4096 < cnt) {
|
|
2671
2671
|
if (left === 4096) {
|
|
2672
2672
|
swapInputBuffer($this);
|
|
2673
2673
|
left = 0;
|
|
2674
2674
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2675
|
-
var b = $this.
|
|
2675
|
+
var b = $this.c18_1;
|
|
2676
2676
|
bufEnd = Math.min(4096, b);
|
|
2677
2677
|
} else {
|
|
2678
2678
|
bufEnd = 4096;
|
|
@@ -2683,7 +2683,7 @@
|
|
|
2683
2683
|
}
|
|
2684
2684
|
bufEnd = cnt;
|
|
2685
2685
|
}
|
|
2686
|
-
var srcBuf = $this.
|
|
2686
|
+
var srcBuf = $this.d18_1;
|
|
2687
2687
|
if (!isNameStartChar(srcBuf[left])) {
|
|
2688
2688
|
error($this, 'name expected, found: ' + toString(srcBuf) + '[left]');
|
|
2689
2689
|
}
|
|
@@ -2691,19 +2691,19 @@
|
|
|
2691
2691
|
$l$loop_0: while (true) {
|
|
2692
2692
|
if (right === bufEnd) {
|
|
2693
2693
|
pushRange($this, srcBuf, left, right);
|
|
2694
|
-
if (bufEnd >= $this.
|
|
2694
|
+
if (bufEnd >= $this.c18_1) {
|
|
2695
2695
|
error($this, 'Unexpected EOF');
|
|
2696
2696
|
}
|
|
2697
|
-
$this.
|
|
2697
|
+
$this.b18_1 = right;
|
|
2698
2698
|
swapInputBuffer($this);
|
|
2699
2699
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2700
|
-
var b_0 = $this.
|
|
2700
|
+
var b_0 = $this.c18_1;
|
|
2701
2701
|
bufEnd = Math.min(4096, b_0);
|
|
2702
2702
|
if (bufEnd === 0)
|
|
2703
2703
|
break $l$loop_0;
|
|
2704
2704
|
left = 0;
|
|
2705
2705
|
right = 0;
|
|
2706
|
-
srcBuf = $this.
|
|
2706
|
+
srcBuf = $this.d18_1;
|
|
2707
2707
|
}
|
|
2708
2708
|
if (isNameChar11(srcBuf[right]))
|
|
2709
2709
|
right = right + 1 | 0;
|
|
@@ -2712,20 +2712,20 @@
|
|
|
2712
2712
|
break $l$loop_0;
|
|
2713
2713
|
}
|
|
2714
2714
|
}
|
|
2715
|
-
$this.
|
|
2715
|
+
$this.b18_1 = right;
|
|
2716
2716
|
return get($this);
|
|
2717
2717
|
}
|
|
2718
2718
|
function readCName($this) {
|
|
2719
|
-
var left = $this.
|
|
2719
|
+
var left = $this.b18_1;
|
|
2720
2720
|
var bufEnd;
|
|
2721
2721
|
// Inline function 'kotlin.run' call
|
|
2722
|
-
var cnt = $this.
|
|
2722
|
+
var cnt = $this.c18_1;
|
|
2723
2723
|
if (4096 < cnt) {
|
|
2724
2724
|
if (left === 4096) {
|
|
2725
2725
|
swapInputBuffer($this);
|
|
2726
2726
|
left = 0;
|
|
2727
2727
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2728
|
-
var b = $this.
|
|
2728
|
+
var b = $this.c18_1;
|
|
2729
2729
|
bufEnd = Math.min(4096, b);
|
|
2730
2730
|
} else {
|
|
2731
2731
|
bufEnd = 4096;
|
|
@@ -2736,7 +2736,7 @@
|
|
|
2736
2736
|
}
|
|
2737
2737
|
bufEnd = cnt;
|
|
2738
2738
|
}
|
|
2739
|
-
var srcBuf = $this.
|
|
2739
|
+
var srcBuf = $this.d18_1;
|
|
2740
2740
|
// Inline function 'kotlin.let' call
|
|
2741
2741
|
var c = srcBuf[left];
|
|
2742
2742
|
if (c === _Char___init__impl__6a9atx(58) || !isNameStartChar(c)) {
|
|
@@ -2747,19 +2747,19 @@
|
|
|
2747
2747
|
$l$loop_0: while (true) {
|
|
2748
2748
|
if (right === bufEnd) {
|
|
2749
2749
|
pushRange($this, srcBuf, left, right);
|
|
2750
|
-
if (bufEnd >= $this.
|
|
2750
|
+
if (bufEnd >= $this.c18_1) {
|
|
2751
2751
|
error($this, 'Unexpected EOF');
|
|
2752
2752
|
}
|
|
2753
|
-
$this.
|
|
2753
|
+
$this.b18_1 = right;
|
|
2754
2754
|
swapInputBuffer($this);
|
|
2755
2755
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
2756
|
-
var b_0 = $this.
|
|
2756
|
+
var b_0 = $this.c18_1;
|
|
2757
2757
|
bufEnd = Math.min(4096, b_0);
|
|
2758
2758
|
if (bufEnd === 0)
|
|
2759
2759
|
break $l$loop_0;
|
|
2760
2760
|
left = 0;
|
|
2761
2761
|
right = 0;
|
|
2762
|
-
srcBuf = $this.
|
|
2762
|
+
srcBuf = $this.d18_1;
|
|
2763
2763
|
}
|
|
2764
2764
|
var c_0 = srcBuf[right];
|
|
2765
2765
|
if (c_0 === _Char___init__impl__6a9atx(58)) {
|
|
@@ -2775,9 +2775,9 @@
|
|
|
2775
2775
|
break $l$loop_0;
|
|
2776
2776
|
}
|
|
2777
2777
|
}
|
|
2778
|
-
$this.
|
|
2779
|
-
$this.
|
|
2780
|
-
$this.
|
|
2778
|
+
$this.b18_1 = right;
|
|
2779
|
+
$this.i18_1 = prefix;
|
|
2780
|
+
$this.j18_1 = get($this);
|
|
2781
2781
|
}
|
|
2782
2782
|
function skip($this) {
|
|
2783
2783
|
$l$loop: while (true) {
|
|
@@ -2788,7 +2788,7 @@
|
|
|
2788
2788
|
}
|
|
2789
2789
|
}
|
|
2790
2790
|
function getPositionDescription($this) {
|
|
2791
|
-
var tmp0_elvis_lhs = $this.
|
|
2791
|
+
var tmp0_elvis_lhs = $this.s17_1;
|
|
2792
2792
|
var tmp;
|
|
2793
2793
|
if (tmp0_elvis_lhs == null) {
|
|
2794
2794
|
return '<!--Parsing not started yet-->';
|
|
@@ -2799,19 +2799,19 @@
|
|
|
2799
2799
|
var buf = new StringBuilder(et.k1_1);
|
|
2800
2800
|
buf.k5(_Char___init__impl__6a9atx(32));
|
|
2801
2801
|
if (et.equals(EventType_START_ELEMENT_getInstance()) || et.equals(EventType_END_ELEMENT_getInstance())) {
|
|
2802
|
-
if ($this.
|
|
2802
|
+
if ($this.u17_1) {
|
|
2803
2803
|
buf.j5('(empty) ');
|
|
2804
2804
|
}
|
|
2805
2805
|
buf.k5(_Char___init__impl__6a9atx(60));
|
|
2806
2806
|
if (et.equals(EventType_END_ELEMENT_getInstance())) {
|
|
2807
2807
|
buf.k5(_Char___init__impl__6a9atx(47));
|
|
2808
2808
|
}
|
|
2809
|
-
if (!(_get_prefix__wiwq7t($this, $this.
|
|
2810
|
-
buf.j5('{' + $this.
|
|
2809
|
+
if (!(_get_prefix__wiwq7t($this, $this.h18_1.d19($this.b19() - 1 | 0)) == null)) {
|
|
2810
|
+
buf.j5('{' + $this.m15() + '}' + $this.q15() + ':');
|
|
2811
2811
|
}
|
|
2812
|
-
buf.i5($this.
|
|
2812
|
+
buf.i5($this.b17());
|
|
2813
2813
|
var inductionVariable = 0;
|
|
2814
|
-
var last = $this.
|
|
2814
|
+
var last = $this.v17_1;
|
|
2815
2815
|
if (inductionVariable < last)
|
|
2816
2816
|
do {
|
|
2817
2817
|
var x = inductionVariable;
|
|
@@ -2827,109 +2827,109 @@
|
|
|
2827
2827
|
buf.k5(_Char___init__impl__6a9atx(62));
|
|
2828
2828
|
} else if (!et.equals(EventType_IGNORABLE_WHITESPACE_getInstance()))
|
|
2829
2829
|
if (!et.equals(EventType_TEXT_getInstance()))
|
|
2830
|
-
buf.j5($this.
|
|
2831
|
-
else if ($this.
|
|
2830
|
+
buf.j5($this.s15());
|
|
2831
|
+
else if ($this.m18_1)
|
|
2832
2832
|
buf.j5('(whitespace)');
|
|
2833
2833
|
else {
|
|
2834
|
-
var textCpy = $this.
|
|
2834
|
+
var textCpy = $this.s15();
|
|
2835
2835
|
if (textCpy.length > 16)
|
|
2836
2836
|
textCpy = substring(textCpy, 0, 16) + '...';
|
|
2837
2837
|
buf.j5(textCpy);
|
|
2838
2838
|
}
|
|
2839
|
-
if ($this.
|
|
2840
|
-
buf.j5('@' + $this.
|
|
2839
|
+
if ($this.r17_1 >= 0) {
|
|
2840
|
+
buf.j5('@' + $this.p17_1 + ':' + _get_column__hj1i8b($this) + ' [' + $this.r17_1 + '] in ');
|
|
2841
2841
|
}
|
|
2842
|
-
buf.j5(toString($this.
|
|
2842
|
+
buf.j5(toString($this.m17_1));
|
|
2843
2843
|
return buf.toString();
|
|
2844
2844
|
}
|
|
2845
2845
|
function Companion_0() {
|
|
2846
|
-
this.
|
|
2847
|
-
this.
|
|
2848
|
-
this.
|
|
2846
|
+
this.l19_1 = 'Unexpected EOF';
|
|
2847
|
+
this.m19_1 = 'Wrong event type';
|
|
2848
|
+
this.n19_1 = true;
|
|
2849
2849
|
}
|
|
2850
2850
|
var Companion_instance_1;
|
|
2851
2851
|
function Companion_getInstance_0() {
|
|
2852
2852
|
return Companion_instance_1;
|
|
2853
2853
|
}
|
|
2854
2854
|
function ElementStack($outer) {
|
|
2855
|
-
this.
|
|
2855
|
+
this.c19_1 = $outer;
|
|
2856
2856
|
}
|
|
2857
|
-
protoOf(ElementStack).
|
|
2858
|
-
return element(this.
|
|
2857
|
+
protoOf(ElementStack).d19 = function (idx) {
|
|
2858
|
+
return element(this.c19_1, idx);
|
|
2859
2859
|
};
|
|
2860
|
-
protoOf(ElementStack).
|
|
2860
|
+
protoOf(ElementStack).i19 = function (required) {
|
|
2861
2861
|
var requiredCapacity = imul(required, 3);
|
|
2862
|
-
if (this.
|
|
2862
|
+
if (this.c19_1.q18_1.length >= requiredCapacity)
|
|
2863
2863
|
return Unit_instance;
|
|
2864
|
-
this.
|
|
2864
|
+
this.c19_1.q18_1 = copyOf_0(this.c19_1.q18_1, requiredCapacity + 12 | 0);
|
|
2865
2865
|
};
|
|
2866
2866
|
function element($this, idx) {
|
|
2867
2867
|
return _ElementDelegate___init__impl__t07x0o(idx);
|
|
2868
2868
|
}
|
|
2869
2869
|
function ElementDelegate(index) {
|
|
2870
|
-
this.
|
|
2870
|
+
this.l17_1 = index;
|
|
2871
2871
|
}
|
|
2872
2872
|
protoOf(ElementDelegate).toString = function () {
|
|
2873
|
-
return ElementDelegate__toString_impl_schjmo(this.
|
|
2873
|
+
return ElementDelegate__toString_impl_schjmo(this.l17_1);
|
|
2874
2874
|
};
|
|
2875
2875
|
protoOf(ElementDelegate).hashCode = function () {
|
|
2876
|
-
return ElementDelegate__hashCode_impl_kxgljl(this.
|
|
2876
|
+
return ElementDelegate__hashCode_impl_kxgljl(this.l17_1);
|
|
2877
2877
|
};
|
|
2878
2878
|
protoOf(ElementDelegate).equals = function (other) {
|
|
2879
|
-
return ElementDelegate__equals_impl_mnl19p(this.
|
|
2879
|
+
return ElementDelegate__equals_impl_mnl19p(this.l17_1, other);
|
|
2880
2880
|
};
|
|
2881
2881
|
function _set_namespace__mtbsui($this, $receiver, value) {
|
|
2882
|
-
$this.
|
|
2882
|
+
$this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3)] = value;
|
|
2883
2883
|
}
|
|
2884
2884
|
function _get_namespace__iwxsq2($this, $receiver) {
|
|
2885
|
-
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.
|
|
2885
|
+
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.b19())
|
|
2886
2886
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2887
|
-
return $this.
|
|
2887
|
+
return $this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3)];
|
|
2888
2888
|
}
|
|
2889
2889
|
function _set_prefix__v265l1($this, $receiver, value) {
|
|
2890
|
-
$this.
|
|
2890
|
+
$this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3) + 1 | 0] = value;
|
|
2891
2891
|
}
|
|
2892
2892
|
function _get_prefix__wiwq7t($this, $receiver) {
|
|
2893
|
-
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.
|
|
2893
|
+
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.b19())
|
|
2894
2894
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2895
|
-
return $this.
|
|
2895
|
+
return $this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3) + 1 | 0];
|
|
2896
2896
|
}
|
|
2897
2897
|
function _set_localName__tmy1w1($this, $receiver, value) {
|
|
2898
|
-
$this.
|
|
2898
|
+
$this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3) + 2 | 0] = value;
|
|
2899
2899
|
}
|
|
2900
2900
|
function _get_localName__c3lhh($this, $receiver) {
|
|
2901
|
-
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.
|
|
2901
|
+
if (_ElementDelegate___get_index__impl__2ny1jf($receiver) >= $this.b19())
|
|
2902
2902
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2903
|
-
return $this.
|
|
2903
|
+
return $this.q18_1[imul(_ElementDelegate___get_index__impl__2ny1jf($receiver), 3) + 2 | 0];
|
|
2904
2904
|
}
|
|
2905
2905
|
function AttributesCollection($outer) {
|
|
2906
|
-
this.
|
|
2906
|
+
this.x18_1 = $outer;
|
|
2907
2907
|
}
|
|
2908
|
-
protoOf(AttributesCollection).
|
|
2909
|
-
var oldSize = this.v17_1
|
|
2908
|
+
protoOf(AttributesCollection).f19 = function () {
|
|
2909
|
+
var oldSize = this.x18_1.v17_1;
|
|
2910
2910
|
if (oldSize > 0) {
|
|
2911
|
-
fill(this.
|
|
2911
|
+
fill(this.x18_1.w17_1, null, 0, imul(oldSize, 4));
|
|
2912
2912
|
}
|
|
2913
|
-
this.v17_1
|
|
2913
|
+
this.x18_1.v17_1 = 0;
|
|
2914
2914
|
};
|
|
2915
|
-
protoOf(AttributesCollection).
|
|
2916
|
-
fill(this.
|
|
2917
|
-
this.v17_1
|
|
2915
|
+
protoOf(AttributesCollection).y18 = function (newSize) {
|
|
2916
|
+
fill(this.x18_1.w17_1, null, imul(newSize, 4), imul(this.x18_1.v17_1, 4));
|
|
2917
|
+
this.x18_1.v17_1 = newSize;
|
|
2918
2918
|
};
|
|
2919
|
-
protoOf(AttributesCollection).
|
|
2919
|
+
protoOf(AttributesCollection).i19 = function (required) {
|
|
2920
2920
|
var requiredSize = imul(required, 4);
|
|
2921
|
-
var oldData = this.
|
|
2921
|
+
var oldData = this.x18_1.w17_1;
|
|
2922
2922
|
if (oldData.length >= requiredSize)
|
|
2923
2923
|
return Unit_instance;
|
|
2924
|
-
this.
|
|
2924
|
+
this.x18_1.w17_1 = copyOf_0(oldData, requiredSize + 16 | 0);
|
|
2925
2925
|
};
|
|
2926
|
-
protoOf(AttributesCollection).
|
|
2927
|
-
var oldSize = this.v17_1
|
|
2926
|
+
protoOf(AttributesCollection).g19 = function (attrPrefix, attrLocalName, attrValue) {
|
|
2927
|
+
var oldSize = this.x18_1.v17_1;
|
|
2928
2928
|
var newSize = oldSize < 0 ? 1 : oldSize + 1 | 0;
|
|
2929
|
-
this.v17_1
|
|
2930
|
-
this.
|
|
2929
|
+
this.x18_1.v17_1 = newSize;
|
|
2930
|
+
this.i19(newSize);
|
|
2931
2931
|
var i = imul(newSize, 4) - 4 | 0;
|
|
2932
|
-
var d = this.
|
|
2932
|
+
var d = this.x18_1.w17_1;
|
|
2933
2933
|
var _unary__edvuaz = i;
|
|
2934
2934
|
i = _unary__edvuaz + 1 | 0;
|
|
2935
2935
|
d[_unary__edvuaz] = null;
|
|
@@ -2941,9 +2941,9 @@
|
|
|
2941
2941
|
d[_unary__edvuaz_1] = attrLocalName;
|
|
2942
2942
|
d[i] = attrValue;
|
|
2943
2943
|
};
|
|
2944
|
-
protoOf(AttributesCollection).
|
|
2945
|
-
var tmp0 = this.
|
|
2946
|
-
var tmp2 = this.
|
|
2944
|
+
protoOf(AttributesCollection).z18 = function (fromIdx, toIdx) {
|
|
2945
|
+
var tmp0 = this.x18_1.w17_1;
|
|
2946
|
+
var tmp2 = this.x18_1.w17_1;
|
|
2947
2947
|
var tmp4 = imul(toIdx, 4) + 1 | 0;
|
|
2948
2948
|
var tmp6 = imul(fromIdx, 4) + 1 | 0;
|
|
2949
2949
|
// Inline function 'kotlin.collections.copyInto' call
|
|
@@ -2954,30 +2954,30 @@
|
|
|
2954
2954
|
return _AttributeDelegate___init__impl__ovambc(index);
|
|
2955
2955
|
}
|
|
2956
2956
|
function _set_namespace__mtbsui_0($this, $receiver, value) {
|
|
2957
|
-
$this.
|
|
2957
|
+
$this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4)] = value;
|
|
2958
2958
|
}
|
|
2959
2959
|
function _get_namespace__iwxsq2_0($this, $receiver) {
|
|
2960
|
-
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.
|
|
2960
|
+
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.v17_1)
|
|
2961
2961
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2962
|
-
return $this.
|
|
2962
|
+
return $this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4)];
|
|
2963
2963
|
}
|
|
2964
2964
|
function _get_prefix__wiwq7t_0($this, $receiver) {
|
|
2965
|
-
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.
|
|
2965
|
+
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.v17_1)
|
|
2966
2966
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2967
|
-
return $this.
|
|
2967
|
+
return $this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4) + 1 | 0];
|
|
2968
2968
|
}
|
|
2969
2969
|
function _set_localName__tmy1w1_0($this, $receiver, value) {
|
|
2970
|
-
$this.
|
|
2970
|
+
$this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4) + 2 | 0] = value;
|
|
2971
2971
|
}
|
|
2972
2972
|
function _get_localName__c3lhh_0($this, $receiver) {
|
|
2973
|
-
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.
|
|
2973
|
+
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.v17_1)
|
|
2974
2974
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2975
|
-
return $this.
|
|
2975
|
+
return $this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4) + 2 | 0];
|
|
2976
2976
|
}
|
|
2977
2977
|
function _get_value__a43j40($this, $receiver) {
|
|
2978
|
-
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.
|
|
2978
|
+
if (_AttributeDelegate___get_index__impl__2x9emt($receiver) >= $this.v17_1)
|
|
2979
2979
|
throw IndexOutOfBoundsException_init_$Create$();
|
|
2980
|
-
return $this.
|
|
2980
|
+
return $this.w17_1[imul(_AttributeDelegate___get_index__impl__2x9emt($receiver), 4) + 3 | 0];
|
|
2981
2981
|
}
|
|
2982
2982
|
function State(name, ordinal) {
|
|
2983
2983
|
Enum.call(this, name, ordinal);
|
|
@@ -3005,82 +3005,82 @@
|
|
|
3005
3005
|
function KtXmlReader(reader, encoding, relaxed, expandEntities) {
|
|
3006
3006
|
relaxed = relaxed === VOID ? false : relaxed;
|
|
3007
3007
|
expandEntities = expandEntities === VOID ? false : expandEntities;
|
|
3008
|
-
this.
|
|
3009
|
-
this.
|
|
3010
|
-
this.
|
|
3011
|
-
this.
|
|
3012
|
-
this.
|
|
3013
|
-
this.
|
|
3014
|
-
this.
|
|
3015
|
-
this.
|
|
3016
|
-
this.
|
|
3017
|
-
this.
|
|
3008
|
+
this.m17_1 = reader;
|
|
3009
|
+
this.n17_1 = relaxed;
|
|
3010
|
+
this.o17_1 = expandEntities;
|
|
3011
|
+
this.p17_1 = 1;
|
|
3012
|
+
this.q17_1 = 0;
|
|
3013
|
+
this.r17_1 = 0;
|
|
3014
|
+
this.s17_1 = null;
|
|
3015
|
+
this.t17_1 = null;
|
|
3016
|
+
this.u17_1 = false;
|
|
3017
|
+
this.v17_1 = 0;
|
|
3018
3018
|
var tmp = this;
|
|
3019
3019
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3020
|
-
tmp.
|
|
3021
|
-
this.
|
|
3022
|
-
this.
|
|
3023
|
-
this.
|
|
3024
|
-
this.
|
|
3025
|
-
this.
|
|
3026
|
-
this.
|
|
3027
|
-
this.
|
|
3028
|
-
var cnt = readUntilFullOrEOF(Companion_instance_1, this.
|
|
3020
|
+
tmp.w17_1 = Array(16);
|
|
3021
|
+
this.x17_1 = new AttributesCollection(this);
|
|
3022
|
+
this.y17_1 = encoding;
|
|
3023
|
+
this.z17_1 = null;
|
|
3024
|
+
this.a18_1 = null;
|
|
3025
|
+
this.b18_1 = 0;
|
|
3026
|
+
this.c18_1 = 0;
|
|
3027
|
+
this.d18_1 = charArray(4096);
|
|
3028
|
+
var cnt = readUntilFullOrEOF(Companion_instance_1, this.m17_1, this.d18_1);
|
|
3029
3029
|
// Inline function 'kotlin.require' call
|
|
3030
3030
|
if (!(cnt >= 0)) {
|
|
3031
3031
|
var message = 'Trying to parse an empty file (that is not valid XML)';
|
|
3032
3032
|
throw IllegalArgumentException_init_$Create$(toString(message));
|
|
3033
3033
|
}
|
|
3034
3034
|
if (cnt < 4096) {
|
|
3035
|
-
this.
|
|
3036
|
-
this.
|
|
3035
|
+
this.e18_1 = charArray(0);
|
|
3036
|
+
this.c18_1 = cnt;
|
|
3037
3037
|
} else {
|
|
3038
3038
|
var newRight = charArray(4096);
|
|
3039
|
-
this.
|
|
3040
|
-
cnt = coerceAtLeast(readUntilFullOrEOF(Companion_instance_1, this.
|
|
3041
|
-
this.
|
|
3039
|
+
this.e18_1 = newRight;
|
|
3040
|
+
cnt = coerceAtLeast(readUntilFullOrEOF(Companion_instance_1, this.m17_1, newRight), 0);
|
|
3041
|
+
this.c18_1 = 4096 + cnt | 0;
|
|
3042
3042
|
}
|
|
3043
3043
|
// Inline function 'kotlin.code' call
|
|
3044
|
-
var this_0 = this.
|
|
3044
|
+
var this_0 = this.d18_1[0];
|
|
3045
3045
|
if (Char__toInt_impl_vasixd(this_0) === 65279) {
|
|
3046
|
-
this.
|
|
3047
|
-
this.
|
|
3048
|
-
this.
|
|
3049
|
-
}
|
|
3050
|
-
this.
|
|
3051
|
-
this.
|
|
3052
|
-
this.
|
|
3053
|
-
this.
|
|
3054
|
-
this.
|
|
3055
|
-
this.
|
|
3056
|
-
this.
|
|
3057
|
-
this.
|
|
3058
|
-
this.
|
|
3059
|
-
this.
|
|
3060
|
-
this.
|
|
3046
|
+
this.b18_1 = 1;
|
|
3047
|
+
this.r17_1 = 1;
|
|
3048
|
+
this.q17_1 = 1;
|
|
3049
|
+
}
|
|
3050
|
+
this.f18_1 = new EntityMap();
|
|
3051
|
+
this.g18_1 = new NamespaceHolder();
|
|
3052
|
+
this.h18_1 = new ElementStack(this);
|
|
3053
|
+
this.i18_1 = null;
|
|
3054
|
+
this.j18_1 = null;
|
|
3055
|
+
this.k18_1 = charArray(512);
|
|
3056
|
+
this.l18_1 = 0;
|
|
3057
|
+
this.m18_1 = false;
|
|
3058
|
+
this.n18_1 = null;
|
|
3059
|
+
this.o18_1 = false;
|
|
3060
|
+
this.p18_1 = State_BEFORE_START_getInstance();
|
|
3061
3061
|
var tmp_0 = this;
|
|
3062
3062
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3063
|
-
tmp_0.
|
|
3063
|
+
tmp_0.q18_1 = Array(48);
|
|
3064
3064
|
}
|
|
3065
|
-
protoOf(KtXmlReader).
|
|
3066
|
-
var et = this.
|
|
3065
|
+
protoOf(KtXmlReader).u15 = function () {
|
|
3066
|
+
var et = this.s17_1;
|
|
3067
3067
|
var tmp0 = et == null ? -1 : et.l1_1;
|
|
3068
3068
|
var tmp;
|
|
3069
3069
|
if (tmp0 === -1) {
|
|
3070
3070
|
throw IllegalStateException_init_$Create$('Not yet started');
|
|
3071
|
-
} else if (tmp0 === 8 && this.
|
|
3071
|
+
} else if (tmp0 === 8 && this.o17_1) {
|
|
3072
3072
|
tmp = EventType_TEXT_getInstance();
|
|
3073
3073
|
} else {
|
|
3074
3074
|
tmp = et;
|
|
3075
3075
|
}
|
|
3076
3076
|
return tmp;
|
|
3077
3077
|
};
|
|
3078
|
-
protoOf(KtXmlReader).
|
|
3079
|
-
var tmp0_subject = this.
|
|
3078
|
+
protoOf(KtXmlReader).o15 = function () {
|
|
3079
|
+
var tmp0_subject = this.s17_1;
|
|
3080
3080
|
var tmp0 = tmp0_subject == null ? -1 : tmp0_subject.l1_1;
|
|
3081
3081
|
var tmp;
|
|
3082
|
-
if (tmp0 === 8 && !this.
|
|
3083
|
-
var tmp1_elvis_lhs = this.
|
|
3082
|
+
if (tmp0 === 8 && !this.o17_1) {
|
|
3083
|
+
var tmp1_elvis_lhs = this.t17_1;
|
|
3084
3084
|
var tmp_0;
|
|
3085
3085
|
if (tmp1_elvis_lhs == null) {
|
|
3086
3086
|
throw XmlException_init_$Create$_0('Missing entity name');
|
|
@@ -3089,7 +3089,7 @@
|
|
|
3089
3089
|
}
|
|
3090
3090
|
tmp = tmp_0;
|
|
3091
3091
|
} else if (tmp0 === 1 || tmp0 === 2) {
|
|
3092
|
-
var tmp2_elvis_lhs = _get_localName__c3lhh(this, this.
|
|
3092
|
+
var tmp2_elvis_lhs = _get_localName__c3lhh(this, this.h18_1.d19(this.b19() - 1 | 0));
|
|
3093
3093
|
var tmp_1;
|
|
3094
3094
|
if (tmp2_elvis_lhs == null) {
|
|
3095
3095
|
throw XmlException_init_$Create$_0('Missing local name');
|
|
@@ -3098,20 +3098,20 @@
|
|
|
3098
3098
|
}
|
|
3099
3099
|
tmp = tmp_1;
|
|
3100
3100
|
} else {
|
|
3101
|
-
throw IllegalStateException_init_$Create$('Local name not accessible outside of element tags: ' + toString_1(this.
|
|
3101
|
+
throw IllegalStateException_init_$Create$('Local name not accessible outside of element tags: ' + toString_1(this.s17_1));
|
|
3102
3102
|
}
|
|
3103
3103
|
return tmp;
|
|
3104
3104
|
};
|
|
3105
|
-
protoOf(KtXmlReader).
|
|
3106
|
-
var tmp0_subject = this.
|
|
3105
|
+
protoOf(KtXmlReader).m15 = function () {
|
|
3106
|
+
var tmp0_subject = this.s17_1;
|
|
3107
3107
|
var tmp;
|
|
3108
3108
|
switch (tmp0_subject == null ? -1 : tmp0_subject.l1_1) {
|
|
3109
3109
|
case 1:
|
|
3110
3110
|
case 2:
|
|
3111
|
-
var tmp1_elvis_lhs = _get_namespace__iwxsq2(this, this.
|
|
3111
|
+
var tmp1_elvis_lhs = _get_namespace__iwxsq2(this, this.h18_1.d19(this.b19() - 1 | 0));
|
|
3112
3112
|
var tmp_0;
|
|
3113
3113
|
if (tmp1_elvis_lhs == null) {
|
|
3114
|
-
throw XmlException_init_$Create$_0('Missing namespace', this.
|
|
3114
|
+
throw XmlException_init_$Create$_0('Missing namespace', this.v15());
|
|
3115
3115
|
} else {
|
|
3116
3116
|
tmp_0 = tmp1_elvis_lhs;
|
|
3117
3117
|
}
|
|
@@ -3123,13 +3123,13 @@
|
|
|
3123
3123
|
}
|
|
3124
3124
|
return tmp;
|
|
3125
3125
|
};
|
|
3126
|
-
protoOf(KtXmlReader).
|
|
3127
|
-
var tmp0_subject = this.
|
|
3126
|
+
protoOf(KtXmlReader).q15 = function () {
|
|
3127
|
+
var tmp0_subject = this.s17_1;
|
|
3128
3128
|
var tmp;
|
|
3129
3129
|
switch (tmp0_subject == null ? -1 : tmp0_subject.l1_1) {
|
|
3130
3130
|
case 1:
|
|
3131
3131
|
case 2:
|
|
3132
|
-
var tmp1_elvis_lhs = _get_prefix__wiwq7t(this, this.
|
|
3132
|
+
var tmp1_elvis_lhs = _get_prefix__wiwq7t(this, this.h18_1.d19(this.b19() - 1 | 0));
|
|
3133
3133
|
tmp = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
3134
3134
|
break;
|
|
3135
3135
|
default:
|
|
@@ -3137,32 +3137,32 @@
|
|
|
3137
3137
|
}
|
|
3138
3138
|
return tmp;
|
|
3139
3139
|
};
|
|
3140
|
-
protoOf(KtXmlReader).
|
|
3141
|
-
return this.
|
|
3140
|
+
protoOf(KtXmlReader).b19 = function () {
|
|
3141
|
+
return this.g18_1.u18_1;
|
|
3142
3142
|
};
|
|
3143
|
-
protoOf(KtXmlReader).
|
|
3143
|
+
protoOf(KtXmlReader).b16 = function () {
|
|
3144
3144
|
};
|
|
3145
3145
|
protoOf(KtXmlReader).toString = function () {
|
|
3146
3146
|
return 'KtXmlReader [' + getPositionDescription(this) + ']';
|
|
3147
3147
|
};
|
|
3148
|
-
protoOf(KtXmlReader).
|
|
3149
|
-
return this.
|
|
3148
|
+
protoOf(KtXmlReader).w15 = function () {
|
|
3149
|
+
return this.r17_1 >= 0 ? '' + this.p17_1 + ':' + _get_column__hj1i8b(this) : '<unknown>';
|
|
3150
3150
|
};
|
|
3151
|
-
protoOf(KtXmlReader).
|
|
3152
|
-
return new ExtLocationInfo(_get_column__hj1i8b(this), this.
|
|
3151
|
+
protoOf(KtXmlReader).v15 = function () {
|
|
3152
|
+
return new ExtLocationInfo(_get_column__hj1i8b(this), this.p17_1, this.r17_1);
|
|
3153
3153
|
};
|
|
3154
|
-
protoOf(KtXmlReader).
|
|
3154
|
+
protoOf(KtXmlReader).s15 = function () {
|
|
3155
3155
|
var tmp;
|
|
3156
|
-
if (this.
|
|
3156
|
+
if (this.u15().f16()) {
|
|
3157
3157
|
tmp = get(this);
|
|
3158
3158
|
} else {
|
|
3159
|
-
throw XmlException_init_$Create$_0('The element is not text, it is: ' + this.
|
|
3159
|
+
throw XmlException_init_$Create$_0('The element is not text, it is: ' + this.u15().toString());
|
|
3160
3160
|
}
|
|
3161
3161
|
return tmp;
|
|
3162
3162
|
};
|
|
3163
|
-
protoOf(KtXmlReader).
|
|
3163
|
+
protoOf(KtXmlReader).z15 = function (nsUri, localName) {
|
|
3164
3164
|
var inductionVariable = 0;
|
|
3165
|
-
var last = this.
|
|
3165
|
+
var last = this.v17_1;
|
|
3166
3166
|
if (inductionVariable < last)
|
|
3167
3167
|
do {
|
|
3168
3168
|
var attrIdx = inductionVariable;
|
|
@@ -3176,9 +3176,9 @@
|
|
|
3176
3176
|
return null;
|
|
3177
3177
|
};
|
|
3178
3178
|
protoOf(KtXmlReader).k = function () {
|
|
3179
|
-
this.
|
|
3179
|
+
this.m18_1 = true;
|
|
3180
3180
|
resetOutputBuffer(this);
|
|
3181
|
-
switch (this.
|
|
3181
|
+
switch (this.p18_1.l1_1) {
|
|
3182
3182
|
case 0:
|
|
3183
3183
|
nextImplDocStart(this);
|
|
3184
3184
|
break;
|
|
@@ -3199,18 +3199,18 @@
|
|
|
3199
3199
|
noWhenBranchMatchedException();
|
|
3200
3200
|
break;
|
|
3201
3201
|
}
|
|
3202
|
-
var et = this.
|
|
3203
|
-
return et.l1_1 === 8 && this.
|
|
3202
|
+
var et = this.u15();
|
|
3203
|
+
return et.l1_1 === 8 && this.o17_1 ? EventType_TEXT_getInstance() : et;
|
|
3204
3204
|
};
|
|
3205
3205
|
protoOf(KtXmlReader).j = function () {
|
|
3206
|
-
return !equals(this.
|
|
3206
|
+
return !equals(this.s17_1, EventType_END_DOCUMENT_getInstance());
|
|
3207
3207
|
};
|
|
3208
3208
|
var EscapeMode_MINIMAL_instance;
|
|
3209
3209
|
function KtXmlWriter$EscapeMode$ATTRCONTENTQUOT() {
|
|
3210
3210
|
EscapeMode.call(this, 'ATTRCONTENTQUOT', 1);
|
|
3211
3211
|
EscapeMode_ATTRCONTENTQUOT_instance = this;
|
|
3212
3212
|
}
|
|
3213
|
-
protoOf(KtXmlWriter$EscapeMode$ATTRCONTENTQUOT).
|
|
3213
|
+
protoOf(KtXmlWriter$EscapeMode$ATTRCONTENTQUOT).q19 = function () {
|
|
3214
3214
|
return true;
|
|
3215
3215
|
};
|
|
3216
3216
|
var EscapeMode_ATTRCONTENTQUOT_instance;
|
|
@@ -3218,7 +3218,7 @@
|
|
|
3218
3218
|
EscapeMode.call(this, 'ATTRCONTENTAPOS', 2);
|
|
3219
3219
|
EscapeMode_ATTRCONTENTAPOS_instance = this;
|
|
3220
3220
|
}
|
|
3221
|
-
protoOf(KtXmlWriter$EscapeMode$ATTRCONTENTAPOS).
|
|
3221
|
+
protoOf(KtXmlWriter$EscapeMode$ATTRCONTENTAPOS).q19 = function () {
|
|
3222
3222
|
return true;
|
|
3223
3223
|
};
|
|
3224
3224
|
var EscapeMode_ATTRCONTENTAPOS_instance;
|
|
@@ -3252,48 +3252,48 @@
|
|
|
3252
3252
|
WriteState_Finished_instance = new WriteState('Finished', 4);
|
|
3253
3253
|
}
|
|
3254
3254
|
function namespaceAt($this, depth) {
|
|
3255
|
-
return ensureNotNull($this.
|
|
3255
|
+
return ensureNotNull($this.b1a_1[imul(depth, 3)]);
|
|
3256
3256
|
}
|
|
3257
3257
|
function setElementStack($this, depth, namespace, prefix, localName) {
|
|
3258
3258
|
var esp = imul(depth, 3);
|
|
3259
|
-
if ($this.
|
|
3259
|
+
if ($this.b1a_1.length < (esp + 3 | 0)) {
|
|
3260
3260
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3261
|
-
var size = $this.
|
|
3261
|
+
var size = $this.b1a_1.length + 12 | 0;
|
|
3262
3262
|
var hlp = Array(size);
|
|
3263
|
-
var tmp0 = $this.
|
|
3263
|
+
var tmp0 = $this.b1a_1;
|
|
3264
3264
|
// Inline function 'kotlin.collections.copyInto' call
|
|
3265
3265
|
var endIndex = esp;
|
|
3266
3266
|
arrayCopy(tmp0, hlp, 0, 0, endIndex);
|
|
3267
|
-
$this.
|
|
3267
|
+
$this.b1a_1 = hlp;
|
|
3268
3268
|
}
|
|
3269
|
-
var tmp = $this.
|
|
3269
|
+
var tmp = $this.b1a_1;
|
|
3270
3270
|
var _unary__edvuaz = esp;
|
|
3271
3271
|
esp = _unary__edvuaz + 1 | 0;
|
|
3272
3272
|
tmp[_unary__edvuaz] = namespace;
|
|
3273
|
-
var tmp_0 = $this.
|
|
3273
|
+
var tmp_0 = $this.b1a_1;
|
|
3274
3274
|
var _unary__edvuaz_0 = esp;
|
|
3275
3275
|
esp = _unary__edvuaz_0 + 1 | 0;
|
|
3276
3276
|
tmp_0[_unary__edvuaz_0] = prefix;
|
|
3277
|
-
$this.
|
|
3277
|
+
$this.b1a_1[esp] = localName;
|
|
3278
3278
|
}
|
|
3279
3279
|
function prefixAt($this, depth) {
|
|
3280
|
-
return ensureNotNull($this.
|
|
3280
|
+
return ensureNotNull($this.b1a_1[imul(depth, 3) + 1 | 0]);
|
|
3281
3281
|
}
|
|
3282
3282
|
function localNameAt($this, depth) {
|
|
3283
|
-
return ensureNotNull($this.
|
|
3283
|
+
return ensureNotNull($this.b1a_1[imul(depth, 3) + 2 | 0]);
|
|
3284
3284
|
}
|
|
3285
3285
|
function finishPartialStartTag($this, close) {
|
|
3286
|
-
if (!$this.
|
|
3286
|
+
if (!$this.a1a_1) {
|
|
3287
3287
|
return Unit_instance;
|
|
3288
3288
|
}
|
|
3289
|
-
$this.
|
|
3290
|
-
var endOfTag = !close ? '>' : $this.
|
|
3291
|
-
$this.
|
|
3289
|
+
$this.a1a_1 = false;
|
|
3290
|
+
var endOfTag = !close ? '>' : $this.z19_1 ? ' />' : '/>';
|
|
3291
|
+
$this.v19_1.g(endOfTag);
|
|
3292
3292
|
}
|
|
3293
3293
|
function EscapeMode(name, ordinal) {
|
|
3294
3294
|
Enum.call(this, name, ordinal);
|
|
3295
3295
|
}
|
|
3296
|
-
protoOf(EscapeMode).
|
|
3296
|
+
protoOf(EscapeMode).q19 = function () {
|
|
3297
3297
|
return false;
|
|
3298
3298
|
};
|
|
3299
3299
|
function appendXmlCodepoint($this, $receiver, codepoint, mode) {
|
|
@@ -3383,7 +3383,7 @@
|
|
|
3383
3383
|
tmp_3 = UInt__compareTo_impl_yacclj(codepoint, progression_2.xc_1) <= 0 ? 0 <= UInt__compareTo_impl_yacclj(codepoint, containsLower_2) : false;
|
|
3384
3384
|
}
|
|
3385
3385
|
if (tmp_3) {
|
|
3386
|
-
switch ($this.
|
|
3386
|
+
switch ($this.y19_1.l1_1) {
|
|
3387
3387
|
case 0:
|
|
3388
3388
|
appendXmlCodepoint$throwInvalid($this, codepoint);
|
|
3389
3389
|
break;
|
|
@@ -3412,7 +3412,7 @@
|
|
|
3412
3412
|
tmp_6 = UInt__compareTo_impl_yacclj(codepoint, progression_4.xc_1) <= 0 ? 0 <= UInt__compareTo_impl_yacclj(codepoint, containsLower_4) : false;
|
|
3413
3413
|
}
|
|
3414
3414
|
if (tmp_6) {
|
|
3415
|
-
switch ($this.
|
|
3415
|
+
switch ($this.y19_1.l1_1) {
|
|
3416
3416
|
case 0:
|
|
3417
3417
|
$receiver.k5(ch);
|
|
3418
3418
|
break;
|
|
@@ -3486,7 +3486,7 @@
|
|
|
3486
3486
|
}
|
|
3487
3487
|
function appendXmlChar($this, $receiver, char, mode) {
|
|
3488
3488
|
// Inline function 'kotlin.code' call
|
|
3489
|
-
if (Char__toInt_impl_vasixd(char) >= Companion_getInstance_1().
|
|
3489
|
+
if (Char__toInt_impl_vasixd(char) >= Companion_getInstance_1().j1a_1.length) {
|
|
3490
3490
|
var tmp;
|
|
3491
3491
|
var tmp_0;
|
|
3492
3492
|
// Inline function 'kotlin.code' call
|
|
@@ -3511,7 +3511,7 @@
|
|
|
3511
3511
|
$receiver.k5(char);
|
|
3512
3512
|
}
|
|
3513
3513
|
} else {
|
|
3514
|
-
var tmp_1 = Companion_getInstance_1().
|
|
3514
|
+
var tmp_1 = Companion_getInstance_1().j1a_1;
|
|
3515
3515
|
// Inline function 'kotlin.code' call
|
|
3516
3516
|
if (!tmp_1[Char__toInt_impl_vasixd(char)]) {
|
|
3517
3517
|
$receiver.k5(char);
|
|
@@ -3531,7 +3531,7 @@
|
|
|
3531
3531
|
if (char === _Char___init__impl__6a9atx(39) && mode.equals(EscapeMode_ATTRCONTENTAPOS_getInstance()))
|
|
3532
3532
|
$receiver.g(''');
|
|
3533
3533
|
else {
|
|
3534
|
-
if ((char === _Char___init__impl__6a9atx(10) || char === _Char___init__impl__6a9atx(13) || char === _Char___init__impl__6a9atx(9)) && mode.
|
|
3534
|
+
if ((char === _Char___init__impl__6a9atx(10) || char === _Char___init__impl__6a9atx(13) || char === _Char___init__impl__6a9atx(9)) && mode.q19()) {
|
|
3535
3535
|
// Inline function 'kotlin.code' call
|
|
3536
3536
|
var tmp$ret$6 = Char__toInt_impl_vasixd(char);
|
|
3537
3537
|
appendXmlChar$appendNumCharRef($receiver, tmp$ret$6);
|
|
@@ -3561,7 +3561,7 @@
|
|
|
3561
3561
|
tmp_2 = 14 <= containsArg_1 ? containsArg_1 <= 31 : false;
|
|
3562
3562
|
}
|
|
3563
3563
|
if (tmp_2) {
|
|
3564
|
-
switch ($this.
|
|
3564
|
+
switch ($this.y19_1.l1_1) {
|
|
3565
3565
|
case 0:
|
|
3566
3566
|
// Inline function 'kotlin.code' call
|
|
3567
3567
|
|
|
@@ -3580,7 +3580,7 @@
|
|
|
3580
3580
|
}
|
|
3581
3581
|
} else {
|
|
3582
3582
|
var tmp_5;
|
|
3583
|
-
if ($this.
|
|
3583
|
+
if ($this.y19_1.equals(XmlVersion_XML11_getInstance())) {
|
|
3584
3584
|
var tmp_6;
|
|
3585
3585
|
// Inline function 'kotlin.code' call
|
|
3586
3586
|
var containsArg_2 = Char__toInt_impl_vasixd(char);
|
|
@@ -3620,16 +3620,16 @@
|
|
|
3620
3620
|
var c = charCodeAt(s, i);
|
|
3621
3621
|
var tmp;
|
|
3622
3622
|
// Inline function 'kotlin.code' call
|
|
3623
|
-
if (Char__toInt_impl_vasixd(c) >= Companion_getInstance_1().
|
|
3623
|
+
if (Char__toInt_impl_vasixd(c) >= Companion_getInstance_1().j1a_1.length) {
|
|
3624
3624
|
tmp = true;
|
|
3625
3625
|
} else {
|
|
3626
|
-
var tmp_0 = Companion_getInstance_1().
|
|
3626
|
+
var tmp_0 = Companion_getInstance_1().j1a_1;
|
|
3627
3627
|
// Inline function 'kotlin.code' call
|
|
3628
3628
|
tmp = tmp_0[Char__toInt_impl_vasixd(c)];
|
|
3629
3629
|
}
|
|
3630
3630
|
if (tmp) {
|
|
3631
3631
|
if (start < i) {
|
|
3632
|
-
$this.
|
|
3632
|
+
$this.v19_1.g8(s, start, i);
|
|
3633
3633
|
}
|
|
3634
3634
|
if (isHighSurrogate(c)) {
|
|
3635
3635
|
var tmp0 = _UInt___init__impl__l7qpdl(65536);
|
|
@@ -3654,66 +3654,66 @@
|
|
|
3654
3654
|
// Inline function 'kotlin.UInt.plus' call
|
|
3655
3655
|
var other_2 = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_2) - _UInt___get_data__impl__f0vqqw(other_1) | 0);
|
|
3656
3656
|
var codePoint = _UInt___init__impl__l7qpdl(_UInt___get_data__impl__f0vqqw(tmp0_1) + _UInt___get_data__impl__f0vqqw(other_2) | 0);
|
|
3657
|
-
appendXmlCodepoint($this, $this.
|
|
3657
|
+
appendXmlCodepoint($this, $this.v19_1, codePoint, mode);
|
|
3658
3658
|
start = i + 2 | 0;
|
|
3659
3659
|
i = i + 1 | 0;
|
|
3660
3660
|
} else {
|
|
3661
|
-
appendXmlChar($this, $this.
|
|
3661
|
+
appendXmlChar($this, $this.v19_1, c, mode);
|
|
3662
3662
|
start = i + 1 | 0;
|
|
3663
3663
|
}
|
|
3664
3664
|
}
|
|
3665
3665
|
i = i + 1 | 0;
|
|
3666
3666
|
}
|
|
3667
3667
|
if (start < l) {
|
|
3668
|
-
$this.
|
|
3668
|
+
$this.v19_1.g(substring(s, start, l));
|
|
3669
3669
|
}
|
|
3670
3670
|
}
|
|
3671
3671
|
function triggerStartDocument($this) {
|
|
3672
|
-
if ($this.
|
|
3673
|
-
if (!$this.
|
|
3674
|
-
if ($this.
|
|
3675
|
-
$this.
|
|
3672
|
+
if ($this.c1a_1.l1_1 === 0) {
|
|
3673
|
+
if (!$this.x19_1.equals(XmlDeclMode_None_getInstance())) {
|
|
3674
|
+
if ($this.y19_1.equals(XmlVersion_XML11_getInstance()) || !$this.x19_1.equals(XmlDeclMode_Minimal_getInstance())) {
|
|
3675
|
+
$this.h17($this.y19_1.m1a_1, null, null);
|
|
3676
3676
|
} else {
|
|
3677
|
-
$this.
|
|
3677
|
+
$this.i17();
|
|
3678
3678
|
}
|
|
3679
3679
|
}
|
|
3680
|
-
$this.
|
|
3680
|
+
$this.c1a_1 = WriteState_AfterXmlDecl_getInstance();
|
|
3681
3681
|
}
|
|
3682
3682
|
}
|
|
3683
3683
|
function writeIndent($this, newDepth) {
|
|
3684
|
-
newDepth = newDepth === VOID ? $this.
|
|
3684
|
+
newDepth = newDepth === VOID ? $this.b19() : newDepth;
|
|
3685
3685
|
var tmp;
|
|
3686
3686
|
var tmp_0;
|
|
3687
|
-
if ($this.
|
|
3687
|
+
if ($this.e1a_1 >= 0) {
|
|
3688
3688
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3689
|
-
var this_0 = $this.
|
|
3689
|
+
var this_0 = $this.o1a_1;
|
|
3690
3690
|
tmp_0 = charSequenceLength(this_0) > 0;
|
|
3691
3691
|
} else {
|
|
3692
3692
|
tmp_0 = false;
|
|
3693
3693
|
}
|
|
3694
3694
|
if (tmp_0) {
|
|
3695
|
-
tmp = !($this.
|
|
3695
|
+
tmp = !($this.e1a_1 === $this.b19());
|
|
3696
3696
|
} else {
|
|
3697
3697
|
tmp = false;
|
|
3698
3698
|
}
|
|
3699
3699
|
if (tmp) {
|
|
3700
|
-
$this.
|
|
3700
|
+
$this.p1a('\n');
|
|
3701
3701
|
var inductionVariable = 0;
|
|
3702
|
-
var last = $this.
|
|
3702
|
+
var last = $this.b19();
|
|
3703
3703
|
if (inductionVariable < last)
|
|
3704
3704
|
do {
|
|
3705
3705
|
var i = inductionVariable;
|
|
3706
3706
|
inductionVariable = inductionVariable + 1 | 0;
|
|
3707
|
-
$this.
|
|
3707
|
+
$this.v19_1.g($this.o1a_1);
|
|
3708
3708
|
}
|
|
3709
3709
|
while (inductionVariable < last);
|
|
3710
3710
|
}
|
|
3711
|
-
$this.
|
|
3711
|
+
$this.e1a_1 = newDepth;
|
|
3712
3712
|
}
|
|
3713
3713
|
function ensureNamespaceIfRepairing($this, namespace, prefix) {
|
|
3714
3714
|
var tmp;
|
|
3715
3715
|
var tmp_0;
|
|
3716
|
-
if ($this.
|
|
3716
|
+
if ($this.w19_1) {
|
|
3717
3717
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
3718
3718
|
tmp_0 = !(namespace == null || charSequenceLength(namespace) === 0);
|
|
3719
3719
|
} else {
|
|
@@ -3725,29 +3725,29 @@
|
|
|
3725
3725
|
tmp = false;
|
|
3726
3726
|
}
|
|
3727
3727
|
if (tmp) {
|
|
3728
|
-
if (!($this.
|
|
3729
|
-
$this.
|
|
3728
|
+
if (!($this.d1a_1.a19(prefix) == namespace)) {
|
|
3729
|
+
$this.d17(prefix, namespace);
|
|
3730
3730
|
}
|
|
3731
3731
|
}
|
|
3732
3732
|
}
|
|
3733
3733
|
function rawWriteAttribute($this, prefix, localName, value) {
|
|
3734
|
-
$this.
|
|
3734
|
+
$this.v19_1.k5(_Char___init__impl__6a9atx(32));
|
|
3735
3735
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3736
3736
|
if (charSequenceLength(prefix) > 0) {
|
|
3737
|
-
$this.
|
|
3737
|
+
$this.v19_1.g(prefix).k5(_Char___init__impl__6a9atx(58));
|
|
3738
3738
|
}
|
|
3739
|
-
$this.
|
|
3739
|
+
$this.v19_1.g(localName).k5(_Char___init__impl__6a9atx(61));
|
|
3740
3740
|
var _destruct__k2r9zo = indexOf(value, _Char___init__impl__6a9atx(34)) === -1 ? new Pair(new Char(_Char___init__impl__6a9atx(34)), EscapeMode_ATTRCONTENTQUOT_getInstance()) : new Pair(new Char(_Char___init__impl__6a9atx(39)), EscapeMode_ATTRCONTENTAPOS_getInstance());
|
|
3741
3741
|
var q = _destruct__k2r9zo.kc().q_1;
|
|
3742
3742
|
var mode = _destruct__k2r9zo.lc();
|
|
3743
|
-
$this.
|
|
3743
|
+
$this.v19_1.k5(q);
|
|
3744
3744
|
writeEscapedText($this, value, mode);
|
|
3745
|
-
$this.
|
|
3745
|
+
$this.v19_1.k5(q);
|
|
3746
3746
|
}
|
|
3747
3747
|
function Companion_1() {
|
|
3748
3748
|
Companion_instance_2 = this;
|
|
3749
|
-
this.
|
|
3750
|
-
this.
|
|
3749
|
+
this.h1a_1 = -1;
|
|
3750
|
+
this.i1a_1 = 2147483647;
|
|
3751
3751
|
var tmp = this;
|
|
3752
3752
|
// Inline function 'kotlin.also' call
|
|
3753
3753
|
var this_0 = booleanArray(255);
|
|
@@ -3806,7 +3806,7 @@
|
|
|
3806
3806
|
this_0[i_2] = true;
|
|
3807
3807
|
}
|
|
3808
3808
|
while (inductionVariable_2 <= 159);
|
|
3809
|
-
tmp.
|
|
3809
|
+
tmp.j1a_1 = this_0;
|
|
3810
3810
|
}
|
|
3811
3811
|
var Companion_instance_2;
|
|
3812
3812
|
function Companion_getInstance_1() {
|
|
@@ -3821,13 +3821,13 @@
|
|
|
3821
3821
|
$this_appendXmlCodepoint.g('&#x').g(toString_2(code, 16)).k5(_Char___init__impl__6a9atx(59));
|
|
3822
3822
|
}
|
|
3823
3823
|
function appendXmlCodepoint$throwInvalid(this$0, code) {
|
|
3824
|
-
throw IllegalArgumentException_init_$Create$('In xml ' + this$0.
|
|
3824
|
+
throw IllegalArgumentException_init_$Create$('In xml ' + this$0.y19_1.m1a_1 + ' the character 0x' + toString_2(code, 16) + ' is not valid');
|
|
3825
3825
|
}
|
|
3826
3826
|
function appendXmlChar$appendNumCharRef($this_appendXmlChar, code) {
|
|
3827
3827
|
$this_appendXmlChar.g('&#x').g(toString_3(code, 16)).k5(_Char___init__impl__6a9atx(59));
|
|
3828
3828
|
}
|
|
3829
3829
|
function appendXmlChar$throwInvalid(this$0, code) {
|
|
3830
|
-
throw IllegalArgumentException_init_$Create$('In xml ' + this$0.
|
|
3830
|
+
throw IllegalArgumentException_init_$Create$('In xml ' + this$0.y19_1.m1a_1 + ' the character 0x' + toString_3(code, 16) + ' is not valid');
|
|
3831
3831
|
}
|
|
3832
3832
|
function EscapeMode_MINIMAL_getInstance() {
|
|
3833
3833
|
EscapeMode_initEntries();
|
|
@@ -3866,125 +3866,125 @@
|
|
|
3866
3866
|
isRepairNamespaces = isRepairNamespaces === VOID ? true : isRepairNamespaces;
|
|
3867
3867
|
xmlVersion = xmlVersion === VOID ? XmlVersion_XML11_getInstance() : xmlVersion;
|
|
3868
3868
|
PlatformXmlWriterBase.call(this);
|
|
3869
|
-
this.
|
|
3870
|
-
this.
|
|
3871
|
-
this.
|
|
3872
|
-
this.
|
|
3873
|
-
this.
|
|
3874
|
-
this.
|
|
3869
|
+
this.v19_1 = writer;
|
|
3870
|
+
this.w19_1 = isRepairNamespaces;
|
|
3871
|
+
this.x19_1 = xmlDeclMode;
|
|
3872
|
+
this.y19_1 = xmlVersion;
|
|
3873
|
+
this.z19_1 = true;
|
|
3874
|
+
this.a1a_1 = false;
|
|
3875
3875
|
var tmp = this;
|
|
3876
3876
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
3877
|
-
tmp.
|
|
3878
|
-
this.
|
|
3879
|
-
this.
|
|
3880
|
-
this.
|
|
3877
|
+
tmp.b1a_1 = Array(12);
|
|
3878
|
+
this.c1a_1 = WriteState_BeforeDocument_getInstance();
|
|
3879
|
+
this.d1a_1 = new NamespaceHolder();
|
|
3880
|
+
this.e1a_1 = -1;
|
|
3881
3881
|
}
|
|
3882
|
-
protoOf(KtXmlWriter).
|
|
3883
|
-
return this.
|
|
3882
|
+
protoOf(KtXmlWriter).b19 = function () {
|
|
3883
|
+
return this.d1a_1.u18_1;
|
|
3884
3884
|
};
|
|
3885
|
-
protoOf(KtXmlWriter).
|
|
3885
|
+
protoOf(KtXmlWriter).h17 = function (version, encoding, standalone) {
|
|
3886
3886
|
writeIndent(this, 2147483647);
|
|
3887
|
-
if (!this.
|
|
3887
|
+
if (!this.c1a_1.equals(WriteState_BeforeDocument_getInstance())) {
|
|
3888
3888
|
throw XmlException_init_$Create$_0('Attempting to write start document after document already started');
|
|
3889
3889
|
}
|
|
3890
|
-
this.
|
|
3890
|
+
this.c1a_1 = WriteState_AfterXmlDecl_getInstance();
|
|
3891
3891
|
var tmp;
|
|
3892
3892
|
switch (version) {
|
|
3893
3893
|
case null:
|
|
3894
|
-
tmp = this.
|
|
3894
|
+
tmp = this.y19_1.m1a_1;
|
|
3895
3895
|
break;
|
|
3896
3896
|
case '1':
|
|
3897
3897
|
case '1.0':
|
|
3898
|
-
this.
|
|
3898
|
+
this.y19_1 = XmlVersion_XML10_getInstance();
|
|
3899
3899
|
tmp = version;
|
|
3900
3900
|
break;
|
|
3901
3901
|
default:
|
|
3902
|
-
this.
|
|
3902
|
+
this.y19_1 = XmlVersion_XML11_getInstance();
|
|
3903
3903
|
tmp = version;
|
|
3904
3904
|
break;
|
|
3905
3905
|
}
|
|
3906
3906
|
var verString = tmp;
|
|
3907
|
-
this.
|
|
3907
|
+
this.v19_1.g("<?xml version='" + verString + "'");
|
|
3908
3908
|
var effectiveEncoding = encoding == null ? 'UTF-8' : encoding;
|
|
3909
|
-
if (!this.
|
|
3910
|
-
this.
|
|
3909
|
+
if (!this.x19_1.equals(XmlDeclMode_Minimal_getInstance()) || !(encoding == null)) {
|
|
3910
|
+
this.v19_1.g(" encoding='");
|
|
3911
3911
|
writeEscapedText(this, effectiveEncoding, EscapeMode_ATTRCONTENTAPOS_getInstance());
|
|
3912
|
-
this.
|
|
3912
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(39));
|
|
3913
3913
|
if (!(standalone == null)) {
|
|
3914
|
-
this.
|
|
3915
|
-
this.
|
|
3916
|
-
this.
|
|
3914
|
+
this.v19_1.g(" standalone='");
|
|
3915
|
+
this.v19_1.g(standalone ? 'yes' : 'no');
|
|
3916
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(39));
|
|
3917
3917
|
}
|
|
3918
3918
|
}
|
|
3919
|
-
if (this.
|
|
3920
|
-
this.
|
|
3919
|
+
if (this.z19_1) {
|
|
3920
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(32));
|
|
3921
3921
|
}
|
|
3922
|
-
this.
|
|
3922
|
+
this.v19_1.g('?>');
|
|
3923
3923
|
};
|
|
3924
|
-
protoOf(KtXmlWriter).
|
|
3924
|
+
protoOf(KtXmlWriter).e17 = function (namespace, localName, prefix) {
|
|
3925
3925
|
finishPartialStartTag(this, false);
|
|
3926
3926
|
writeIndent(this);
|
|
3927
3927
|
triggerStartDocument(this);
|
|
3928
|
-
if (this.
|
|
3928
|
+
if (this.c1a_1.equals(WriteState_Finished_getInstance())) {
|
|
3929
3929
|
throw XmlException_init_$Create$_0('Attempting to write tag after the document finished');
|
|
3930
3930
|
}
|
|
3931
|
-
this.
|
|
3931
|
+
this.c1a_1 = WriteState_InTagContent_getInstance();
|
|
3932
3932
|
var tmp;
|
|
3933
3933
|
if (namespace === '') {
|
|
3934
3934
|
tmp = '';
|
|
3935
3935
|
} else {
|
|
3936
|
-
var reg = this.
|
|
3937
|
-
tmp = !(reg == null) ? reg : prefix == null ? this.
|
|
3936
|
+
var reg = this.q1a(namespace);
|
|
3937
|
+
tmp = !(reg == null) ? reg : prefix == null ? this.d1a_1.r1a() : prefix;
|
|
3938
3938
|
}
|
|
3939
3939
|
var appliedPrefix = tmp;
|
|
3940
|
-
var tmp_0 = this.
|
|
3940
|
+
var tmp_0 = this.b19();
|
|
3941
3941
|
setElementStack(this, tmp_0, namespace == null ? '' : namespace, appliedPrefix, localName);
|
|
3942
|
-
this.
|
|
3942
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(60));
|
|
3943
3943
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3944
3944
|
if (charSequenceLength(appliedPrefix) > 0) {
|
|
3945
|
-
this.
|
|
3946
|
-
this.
|
|
3945
|
+
this.v19_1.g(appliedPrefix);
|
|
3946
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(58));
|
|
3947
3947
|
}
|
|
3948
|
-
this.
|
|
3949
|
-
this.
|
|
3950
|
-
this.
|
|
3948
|
+
this.v19_1.g(localName);
|
|
3949
|
+
this.a1a_1 = true;
|
|
3950
|
+
this.d1a_1.h19();
|
|
3951
3951
|
ensureNamespaceIfRepairing(this, namespace, appliedPrefix);
|
|
3952
3952
|
};
|
|
3953
|
-
protoOf(KtXmlWriter).
|
|
3954
|
-
this.
|
|
3953
|
+
protoOf(KtXmlWriter).j17 = function (namespace, localName, prefix) {
|
|
3954
|
+
this.d1a_1.e19();
|
|
3955
3955
|
writeIndent(this, 2147483647);
|
|
3956
3956
|
var tmp;
|
|
3957
|
-
if (!((namespace == null ? '' : namespace) === namespaceAt(this, this.
|
|
3957
|
+
if (!((namespace == null ? '' : namespace) === namespaceAt(this, this.b19()))) {
|
|
3958
3958
|
tmp = true;
|
|
3959
3959
|
} else {
|
|
3960
|
-
tmp = !(localNameAt(this, this.
|
|
3960
|
+
tmp = !(localNameAt(this, this.b19()) === localName);
|
|
3961
3961
|
}
|
|
3962
3962
|
if (tmp) {
|
|
3963
3963
|
throw IllegalArgumentException_init_$Create$('<\/{' + namespace + '}' + localName + '> does not match start');
|
|
3964
3964
|
}
|
|
3965
|
-
if (this.
|
|
3965
|
+
if (this.a1a_1) {
|
|
3966
3966
|
finishPartialStartTag(this, true);
|
|
3967
3967
|
} else {
|
|
3968
|
-
this.
|
|
3969
|
-
var actualPrefix = prefixAt(this, this.
|
|
3968
|
+
this.v19_1.g('<\/');
|
|
3969
|
+
var actualPrefix = prefixAt(this, this.b19());
|
|
3970
3970
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
3971
3971
|
if (charSequenceLength(actualPrefix) > 0) {
|
|
3972
|
-
this.
|
|
3973
|
-
this.
|
|
3972
|
+
this.v19_1.g(actualPrefix);
|
|
3973
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(58));
|
|
3974
3974
|
}
|
|
3975
|
-
this.
|
|
3976
|
-
this.
|
|
3975
|
+
this.v19_1.g(localName);
|
|
3976
|
+
this.v19_1.k5(_Char___init__impl__6a9atx(62));
|
|
3977
3977
|
}
|
|
3978
3978
|
};
|
|
3979
|
-
protoOf(KtXmlWriter).
|
|
3979
|
+
protoOf(KtXmlWriter).f17 = function (text) {
|
|
3980
3980
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3981
3981
|
if (charSequenceLength(text) === 0)
|
|
3982
3982
|
return Unit_instance;
|
|
3983
3983
|
finishPartialStartTag(this, false);
|
|
3984
3984
|
writeEscapedText(this, text, EscapeMode_TEXTCONTENT_getInstance());
|
|
3985
|
-
this.
|
|
3985
|
+
this.e1a_1 = -1;
|
|
3986
3986
|
};
|
|
3987
|
-
protoOf(KtXmlWriter).
|
|
3987
|
+
protoOf(KtXmlWriter).p1a = function (text) {
|
|
3988
3988
|
// Inline function 'kotlin.text.isEmpty' call
|
|
3989
3989
|
if (charSequenceLength(text) === 0)
|
|
3990
3990
|
return Unit_instance;
|
|
@@ -3998,12 +3998,12 @@
|
|
|
3998
3998
|
if (c !== _Char___init__impl__6a9atx(32) && c !== _Char___init__impl__6a9atx(9) && (c !== _Char___init__impl__6a9atx(13) && c !== _Char___init__impl__6a9atx(10)))
|
|
3999
3999
|
throw IllegalArgumentException_init_$Create$('"' + text + '" is not ignorable whitespace');
|
|
4000
4000
|
}
|
|
4001
|
-
this.
|
|
4002
|
-
this.
|
|
4001
|
+
this.v19_1.g(text);
|
|
4002
|
+
this.e1a_1 = -1;
|
|
4003
4003
|
};
|
|
4004
|
-
protoOf(KtXmlWriter).
|
|
4004
|
+
protoOf(KtXmlWriter).g17 = function (namespace, name, prefix, value) {
|
|
4005
4005
|
if (namespace === 'http://www.w3.org/2000/xmlns/') {
|
|
4006
|
-
this.
|
|
4006
|
+
this.d17(name, value);
|
|
4007
4007
|
return Unit_instance;
|
|
4008
4008
|
} else {
|
|
4009
4009
|
var tmp;
|
|
@@ -4014,7 +4014,7 @@
|
|
|
4014
4014
|
tmp = false;
|
|
4015
4015
|
}
|
|
4016
4016
|
if (tmp) {
|
|
4017
|
-
this.
|
|
4017
|
+
this.d17('', value);
|
|
4018
4018
|
return Unit_instance;
|
|
4019
4019
|
}
|
|
4020
4020
|
}
|
|
@@ -4027,18 +4027,18 @@
|
|
|
4027
4027
|
tmp_0 = namespace == null || charSequenceLength(namespace) === 0;
|
|
4028
4028
|
}
|
|
4029
4029
|
if (!tmp_0) {
|
|
4030
|
-
this.
|
|
4030
|
+
this.c17(prefix, namespace);
|
|
4031
4031
|
ensureNamespaceIfRepairing(this, namespace, prefix);
|
|
4032
4032
|
}
|
|
4033
|
-
if (!this.
|
|
4033
|
+
if (!this.a1a_1) {
|
|
4034
4034
|
throw IllegalStateException_init_$Create$('illegal position for attribute');
|
|
4035
4035
|
}
|
|
4036
4036
|
var tmp_1;
|
|
4037
4037
|
// Inline function 'kotlin.text.isNullOrEmpty' call
|
|
4038
4038
|
if (!(prefix == null || charSequenceLength(prefix) === 0)) {
|
|
4039
4039
|
var tmp_2;
|
|
4040
|
-
if (!(this.
|
|
4041
|
-
tmp_2 = this.
|
|
4040
|
+
if (!(this.s1a(prefix) == namespace)) {
|
|
4041
|
+
tmp_2 = this.q1a(namespace);
|
|
4042
4042
|
} else {
|
|
4043
4043
|
tmp_2 = prefix;
|
|
4044
4044
|
}
|
|
@@ -4050,18 +4050,18 @@
|
|
|
4050
4050
|
var actualPrefix = tmp0_elvis_lhs == null ? '' : tmp0_elvis_lhs;
|
|
4051
4051
|
rawWriteAttribute(this, actualPrefix, name, value);
|
|
4052
4052
|
};
|
|
4053
|
-
protoOf(KtXmlWriter).
|
|
4054
|
-
var existingNamespaceForPrefix = this.
|
|
4053
|
+
protoOf(KtXmlWriter).d17 = function (namespacePrefix, namespaceUri) {
|
|
4054
|
+
var existingNamespaceForPrefix = this.d1a_1.t1a(namespacePrefix);
|
|
4055
4055
|
if (!(existingNamespaceForPrefix == null)) {
|
|
4056
|
-
if (this.
|
|
4056
|
+
if (this.w19_1)
|
|
4057
4057
|
return Unit_instance;
|
|
4058
4058
|
else if (!(existingNamespaceForPrefix === namespaceUri))
|
|
4059
4059
|
throw IllegalStateException_init_$Create$('Attempting to set prefix to different values in the same tag');
|
|
4060
4060
|
else
|
|
4061
4061
|
throw IllegalStateException_init_$Create$('Namespace attribute duplicated');
|
|
4062
4062
|
}
|
|
4063
|
-
this.
|
|
4064
|
-
if (!this.
|
|
4063
|
+
this.d1a_1.w18(namespacePrefix, namespaceUri);
|
|
4064
|
+
if (!this.a1a_1) {
|
|
4065
4065
|
throw IllegalStateException_init_$Create$('illegal position for attribute');
|
|
4066
4066
|
}
|
|
4067
4067
|
// Inline function 'kotlin.text.isNotEmpty' call
|
|
@@ -4071,26 +4071,26 @@
|
|
|
4071
4071
|
rawWriteAttribute(this, '', 'xmlns', namespaceUri);
|
|
4072
4072
|
}
|
|
4073
4073
|
};
|
|
4074
|
-
protoOf(KtXmlWriter).
|
|
4075
|
-
if (!(namespaceUri === this.
|
|
4076
|
-
this.
|
|
4074
|
+
protoOf(KtXmlWriter).c17 = function (prefix, namespaceUri) {
|
|
4075
|
+
if (!(namespaceUri === this.s1a(prefix))) {
|
|
4076
|
+
this.d1a_1.w18(prefix, namespaceUri);
|
|
4077
4077
|
}
|
|
4078
4078
|
};
|
|
4079
|
-
protoOf(KtXmlWriter).
|
|
4080
|
-
return this.
|
|
4079
|
+
protoOf(KtXmlWriter).s1a = function (prefix) {
|
|
4080
|
+
return this.d1a_1.a19(prefix);
|
|
4081
4081
|
};
|
|
4082
|
-
protoOf(KtXmlWriter).
|
|
4082
|
+
protoOf(KtXmlWriter).q1a = function (namespaceUri) {
|
|
4083
4083
|
var tmp;
|
|
4084
4084
|
if (namespaceUri == null) {
|
|
4085
4085
|
tmp = null;
|
|
4086
4086
|
} else {
|
|
4087
4087
|
// Inline function 'kotlin.let' call
|
|
4088
|
-
tmp = this.
|
|
4088
|
+
tmp = this.d1a_1.u1a(namespaceUri);
|
|
4089
4089
|
}
|
|
4090
4090
|
return tmp;
|
|
4091
4091
|
};
|
|
4092
|
-
protoOf(KtXmlWriter).
|
|
4093
|
-
this.
|
|
4092
|
+
protoOf(KtXmlWriter).b16 = function () {
|
|
4093
|
+
this.d1a_1.f19();
|
|
4094
4094
|
};
|
|
4095
4095
|
var XmlVersion_XML10_instance;
|
|
4096
4096
|
var XmlVersion_XML11_instance;
|
|
@@ -4104,7 +4104,7 @@
|
|
|
4104
4104
|
}
|
|
4105
4105
|
function XmlVersion(name, ordinal, versionString) {
|
|
4106
4106
|
Enum.call(this, name, ordinal);
|
|
4107
|
-
this.
|
|
4107
|
+
this.m1a_1 = versionString;
|
|
4108
4108
|
}
|
|
4109
4109
|
function XmlVersion_XML10_getInstance() {
|
|
4110
4110
|
XmlVersion_initEntries();
|
|
@@ -4116,8 +4116,8 @@
|
|
|
4116
4116
|
}
|
|
4117
4117
|
function Companion_2() {
|
|
4118
4118
|
Companion_instance_3 = this;
|
|
4119
|
-
this.
|
|
4120
|
-
this.
|
|
4119
|
+
this.v1a_1 = hashSetOf(['gt', 'lt', 'amp', 'apos', 'quot']);
|
|
4120
|
+
this.w1a_1 = listOf(['>', '<', '&', "'", '"']);
|
|
4121
4121
|
}
|
|
4122
4122
|
var Companion_instance_3;
|
|
4123
4123
|
function Companion_getInstance_2() {
|
|
@@ -4127,9 +4127,9 @@
|
|
|
4127
4127
|
}
|
|
4128
4128
|
function EntityMap() {
|
|
4129
4129
|
Companion_getInstance_2();
|
|
4130
|
-
this.
|
|
4130
|
+
this.j19_1 = HashMap_init_$Create$(8);
|
|
4131
4131
|
}
|
|
4132
|
-
protoOf(EntityMap).
|
|
4132
|
+
protoOf(EntityMap).k19 = function (key) {
|
|
4133
4133
|
switch (key.length) {
|
|
4134
4134
|
case 2:
|
|
4135
4135
|
if (key === 'gt')
|
|
@@ -4148,7 +4148,7 @@
|
|
|
4148
4148
|
return '"';
|
|
4149
4149
|
break;
|
|
4150
4150
|
}
|
|
4151
|
-
return this.
|
|
4151
|
+
return this.j19_1.h1(key);
|
|
4152
4152
|
};
|
|
4153
4153
|
function namespaceIndicesAt($this, depth) {
|
|
4154
4154
|
var startIdx = depth === 0 ? 0 : arrayUseAtDepth($this, depth - 1 | 0) / 2 | 0;
|
|
@@ -4156,7 +4156,7 @@
|
|
|
4156
4156
|
return until(startIdx, endIdx);
|
|
4157
4157
|
}
|
|
4158
4158
|
function arrayUseAtDepth($this, depth) {
|
|
4159
|
-
return imul($this.
|
|
4159
|
+
return imul($this.t18_1[depth], 2);
|
|
4160
4160
|
}
|
|
4161
4161
|
function prefixArrayPos($this, pairPos) {
|
|
4162
4162
|
return imul(pairPos, 2);
|
|
@@ -4165,91 +4165,91 @@
|
|
|
4165
4165
|
return imul(pairPos, 2) + 1 | 0;
|
|
4166
4166
|
}
|
|
4167
4167
|
function setPrefix($this, pos, value) {
|
|
4168
|
-
var tmp = $this.
|
|
4168
|
+
var tmp = $this.s18_1;
|
|
4169
4169
|
var tmp_0 = prefixArrayPos($this, pos);
|
|
4170
4170
|
var tmp1_elvis_lhs = value == null ? null : toString(value);
|
|
4171
4171
|
tmp[tmp_0] = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4172
4172
|
}
|
|
4173
4173
|
function getPrefix($this, pos) {
|
|
4174
|
-
return ensureNotNull($this.
|
|
4174
|
+
return ensureNotNull($this.s18_1[prefixArrayPos($this, pos)]);
|
|
4175
4175
|
}
|
|
4176
4176
|
function setNamespace($this, pos, value) {
|
|
4177
|
-
var tmp = $this.
|
|
4177
|
+
var tmp = $this.s18_1;
|
|
4178
4178
|
var tmp_0 = nsArrayPos($this, pos);
|
|
4179
4179
|
var tmp1_elvis_lhs = value == null ? null : toString(value);
|
|
4180
4180
|
tmp[tmp_0] = tmp1_elvis_lhs == null ? '' : tmp1_elvis_lhs;
|
|
4181
4181
|
}
|
|
4182
4182
|
function getNamespace($this, pos) {
|
|
4183
|
-
return ensureNotNull($this.
|
|
4183
|
+
return ensureNotNull($this.s18_1[nsArrayPos($this, pos)]);
|
|
4184
4184
|
}
|
|
4185
4185
|
function enlargeNamespaceBuffer($this) {
|
|
4186
|
-
$this.
|
|
4186
|
+
$this.s18_1 = copyOf_0($this.s18_1, imul($this.s18_1.length, 2));
|
|
4187
4187
|
}
|
|
4188
4188
|
function NamespaceHolder$namespaceContext$1(this$0) {
|
|
4189
|
-
this.
|
|
4189
|
+
this.x1a_1 = this$0;
|
|
4190
4190
|
}
|
|
4191
4191
|
protoOf(NamespaceHolder$namespaceContext$1).i = function () {
|
|
4192
|
-
return this.
|
|
4192
|
+
return this.x1a_1.i();
|
|
4193
4193
|
};
|
|
4194
4194
|
function NamespaceHolder$iterator$1(this$0) {
|
|
4195
|
-
this.
|
|
4196
|
-
this.
|
|
4195
|
+
this.z1a_1 = this$0;
|
|
4196
|
+
this.y1a_1 = 0;
|
|
4197
4197
|
}
|
|
4198
4198
|
protoOf(NamespaceHolder$iterator$1).j = function () {
|
|
4199
|
-
return this.
|
|
4199
|
+
return this.y1a_1 < this.z1a_1.t18_1[this.z1a_1.u18_1];
|
|
4200
4200
|
};
|
|
4201
4201
|
protoOf(NamespaceHolder$iterator$1).k = function () {
|
|
4202
4202
|
// Inline function 'kotlin.also' call
|
|
4203
|
-
var this_0 = new NamespaceImpl(getPrefix(this.
|
|
4204
|
-
this.
|
|
4203
|
+
var this_0 = new NamespaceImpl(getPrefix(this.z1a_1, this.y1a_1), getNamespace(this.z1a_1, this.y1a_1));
|
|
4204
|
+
this.y1a_1 = this.y1a_1 + 1 | 0;
|
|
4205
4205
|
return this_0;
|
|
4206
4206
|
};
|
|
4207
4207
|
function NamespaceHolder() {
|
|
4208
|
-
this.
|
|
4208
|
+
this.r18_1 = 1;
|
|
4209
4209
|
var tmp = this;
|
|
4210
4210
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4211
|
-
tmp.
|
|
4212
|
-
this.
|
|
4213
|
-
this.
|
|
4211
|
+
tmp.s18_1 = Array(10);
|
|
4212
|
+
this.t18_1 = new Int32Array(20);
|
|
4213
|
+
this.u18_1 = 0;
|
|
4214
4214
|
var tmp_0 = this;
|
|
4215
|
-
tmp_0.
|
|
4215
|
+
tmp_0.v18_1 = new NamespaceHolder$namespaceContext$1(this);
|
|
4216
4216
|
}
|
|
4217
|
-
protoOf(NamespaceHolder).
|
|
4218
|
-
this.
|
|
4219
|
-
if (this.
|
|
4220
|
-
this.
|
|
4217
|
+
protoOf(NamespaceHolder).h19 = function () {
|
|
4218
|
+
this.u18_1 = this.u18_1 + 1 | 0;
|
|
4219
|
+
if (this.u18_1 >= this.t18_1.length) {
|
|
4220
|
+
this.t18_1 = copyOf_1(this.t18_1, imul(this.t18_1.length, 2));
|
|
4221
4221
|
}
|
|
4222
|
-
this.
|
|
4222
|
+
this.t18_1[this.u18_1] = this.u18_1 === 0 ? 0 : this.t18_1[this.u18_1 - 1 | 0];
|
|
4223
4223
|
};
|
|
4224
|
-
protoOf(NamespaceHolder).
|
|
4225
|
-
var progression = namespaceIndicesAt(this, this.
|
|
4224
|
+
protoOf(NamespaceHolder).e19 = function () {
|
|
4225
|
+
var progression = namespaceIndicesAt(this, this.u18_1);
|
|
4226
4226
|
var inductionVariable = progression.qa_1;
|
|
4227
4227
|
var last = progression.ra_1;
|
|
4228
4228
|
if (inductionVariable <= last)
|
|
4229
4229
|
do {
|
|
4230
4230
|
var i = inductionVariable;
|
|
4231
4231
|
inductionVariable = inductionVariable + 1 | 0;
|
|
4232
|
-
this.
|
|
4233
|
-
this.
|
|
4232
|
+
this.s18_1[prefixArrayPos(this, i)] = null;
|
|
4233
|
+
this.s18_1[nsArrayPos(this, i)] = null;
|
|
4234
4234
|
}
|
|
4235
4235
|
while (!(i === last));
|
|
4236
|
-
this.
|
|
4237
|
-
this.
|
|
4236
|
+
this.t18_1[this.u18_1] = 0;
|
|
4237
|
+
this.u18_1 = this.u18_1 - 1 | 0;
|
|
4238
4238
|
};
|
|
4239
|
-
protoOf(NamespaceHolder).
|
|
4240
|
-
return this.
|
|
4239
|
+
protoOf(NamespaceHolder).a1b = function () {
|
|
4240
|
+
return this.t18_1[this.u18_1];
|
|
4241
4241
|
};
|
|
4242
|
-
protoOf(NamespaceHolder).
|
|
4242
|
+
protoOf(NamespaceHolder).f19 = function () {
|
|
4243
4243
|
var tmp = this;
|
|
4244
4244
|
// Inline function 'kotlin.arrayOfNulls' call
|
|
4245
|
-
tmp.
|
|
4246
|
-
this.
|
|
4247
|
-
this.
|
|
4245
|
+
tmp.s18_1 = Array(10);
|
|
4246
|
+
this.t18_1 = new Int32Array(20);
|
|
4247
|
+
this.u18_1 = 0;
|
|
4248
4248
|
};
|
|
4249
|
-
protoOf(NamespaceHolder).
|
|
4250
|
-
var prevCounts = this.
|
|
4249
|
+
protoOf(NamespaceHolder).w18 = function (prefix, namespaceUri) {
|
|
4250
|
+
var prevCounts = this.u18_1 >= 1 ? this.t18_1[this.u18_1 - 1 | 0] : 0;
|
|
4251
4251
|
var inductionVariable = prevCounts;
|
|
4252
|
-
var last = this.
|
|
4252
|
+
var last = this.t18_1[this.u18_1];
|
|
4253
4253
|
if (inductionVariable < last)
|
|
4254
4254
|
do {
|
|
4255
4255
|
var i = inductionVariable;
|
|
@@ -4258,19 +4258,19 @@
|
|
|
4258
4258
|
return Unit_instance;
|
|
4259
4259
|
}
|
|
4260
4260
|
while (inductionVariable < last);
|
|
4261
|
-
var nextPair = this.
|
|
4262
|
-
if (nsArrayPos(this, nextPair) >= this.
|
|
4261
|
+
var nextPair = this.t18_1[this.u18_1];
|
|
4262
|
+
if (nsArrayPos(this, nextPair) >= this.s18_1.length) {
|
|
4263
4263
|
enlargeNamespaceBuffer(this);
|
|
4264
4264
|
}
|
|
4265
4265
|
setPrefix(this, nextPair, prefix);
|
|
4266
4266
|
setNamespace(this, nextPair, namespaceUri);
|
|
4267
|
-
var _array__4zh2yp = this.
|
|
4268
|
-
var _index_0__fvwizt = this.
|
|
4267
|
+
var _array__4zh2yp = this.t18_1;
|
|
4268
|
+
var _index_0__fvwizt = this.u18_1;
|
|
4269
4269
|
_array__4zh2yp[_index_0__fvwizt] = _array__4zh2yp[_index_0__fvwizt] + 1 | 0;
|
|
4270
4270
|
};
|
|
4271
|
-
protoOf(NamespaceHolder).
|
|
4271
|
+
protoOf(NamespaceHolder).a19 = function (prefix) {
|
|
4272
4272
|
var prefixStr = toString(prefix);
|
|
4273
|
-
var nsIdx = this.
|
|
4273
|
+
var nsIdx = this.a1b();
|
|
4274
4274
|
$l$loop: while (true) {
|
|
4275
4275
|
nsIdx = nsIdx - 1 | 0;
|
|
4276
4276
|
if (!(nsIdx >= 0)) {
|
|
@@ -4290,7 +4290,7 @@
|
|
|
4290
4290
|
return null;
|
|
4291
4291
|
}
|
|
4292
4292
|
};
|
|
4293
|
-
protoOf(NamespaceHolder).
|
|
4293
|
+
protoOf(NamespaceHolder).u1a = function (namespaceUri) {
|
|
4294
4294
|
var namespaceUriStr = toString(namespaceUri);
|
|
4295
4295
|
var tmp;
|
|
4296
4296
|
switch (namespaceUriStr) {
|
|
@@ -4302,7 +4302,7 @@
|
|
|
4302
4302
|
break;
|
|
4303
4303
|
case '':
|
|
4304
4304
|
var tmp_0;
|
|
4305
|
-
var tmp0 = until(0, this.
|
|
4305
|
+
var tmp0 = until(0, this.a1b());
|
|
4306
4306
|
var tmp$ret$0;
|
|
4307
4307
|
$l$block_0: {
|
|
4308
4308
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -4343,7 +4343,7 @@
|
|
|
4343
4343
|
tmp = tmp_0;
|
|
4344
4344
|
break;
|
|
4345
4345
|
default:
|
|
4346
|
-
var tmp0_0 = downTo(this.
|
|
4346
|
+
var tmp0_0 = downTo(this.a1b() - 1 | 0, 0);
|
|
4347
4347
|
var tmp$ret$3;
|
|
4348
4348
|
$l$block_3: {
|
|
4349
4349
|
// Inline function 'kotlin.collections.firstOrNull' call
|
|
@@ -4357,7 +4357,7 @@
|
|
|
4357
4357
|
var i = element_0;
|
|
4358
4358
|
var tmp_2;
|
|
4359
4359
|
if (getNamespace(this, i) === namespaceUriStr) {
|
|
4360
|
-
var tmp0_1 = until(i + 1 | 0, this.
|
|
4360
|
+
var tmp0_1 = until(i + 1 | 0, this.a1b());
|
|
4361
4361
|
var tmp$ret$5;
|
|
4362
4362
|
$l$block_2: {
|
|
4363
4363
|
// Inline function 'kotlin.collections.none' call
|
|
@@ -4416,16 +4416,16 @@
|
|
|
4416
4416
|
protoOf(NamespaceHolder).i = function () {
|
|
4417
4417
|
return new NamespaceHolder$iterator$1(this);
|
|
4418
4418
|
};
|
|
4419
|
-
protoOf(NamespaceHolder).
|
|
4419
|
+
protoOf(NamespaceHolder).r1a = function () {
|
|
4420
4420
|
var prefix;
|
|
4421
4421
|
do {
|
|
4422
|
-
prefix = 'n' + this.
|
|
4422
|
+
prefix = 'n' + this.r18_1;
|
|
4423
4423
|
}
|
|
4424
|
-
while (!(this.
|
|
4424
|
+
while (!(this.a19(prefix) == null));
|
|
4425
4425
|
return prefix;
|
|
4426
4426
|
};
|
|
4427
|
-
protoOf(NamespaceHolder).
|
|
4428
|
-
var progression = namespaceIndicesAt(this, this.
|
|
4427
|
+
protoOf(NamespaceHolder).t1a = function (prefix) {
|
|
4428
|
+
var progression = namespaceIndicesAt(this, this.u18_1);
|
|
4429
4429
|
var nestedFirst = progression.qa_1;
|
|
4430
4430
|
var nestedLast = progression.ra_1;
|
|
4431
4431
|
var inductionVariable = nestedFirst;
|
|
@@ -4434,28 +4434,28 @@
|
|
|
4434
4434
|
do {
|
|
4435
4435
|
var i = inductionVariable;
|
|
4436
4436
|
inductionVariable = inductionVariable + 2 | 0;
|
|
4437
|
-
if (this.
|
|
4438
|
-
return this.
|
|
4437
|
+
if (this.s18_1[prefixArrayPos(this, i)] === prefix) {
|
|
4438
|
+
return this.s18_1[nsArrayPos(this, i)];
|
|
4439
4439
|
}
|
|
4440
4440
|
}
|
|
4441
4441
|
while (!(i === last));
|
|
4442
4442
|
return null;
|
|
4443
4443
|
};
|
|
4444
4444
|
function Companion_3() {
|
|
4445
|
-
this.
|
|
4445
|
+
this.b1b_1 = '<!---->';
|
|
4446
4446
|
}
|
|
4447
4447
|
var Companion_instance_4;
|
|
4448
4448
|
function Companion_getInstance_3() {
|
|
4449
4449
|
return Companion_instance_4;
|
|
4450
4450
|
}
|
|
4451
4451
|
function PlatformXmlWriterBase$_indentString$lambda(ev) {
|
|
4452
|
-
return ev.
|
|
4452
|
+
return ev.u15().l1_1 === 3 ? '<!--' + ev.f1b_1 + '-->' : ev.f1b_1;
|
|
4453
4453
|
}
|
|
4454
4454
|
function PlatformXmlWriterBase(indentSequence) {
|
|
4455
4455
|
indentSequence = indentSequence === VOID ? emptyList() : indentSequence;
|
|
4456
|
-
this.
|
|
4456
|
+
this.n1a_1 = toList(indentSequence);
|
|
4457
4457
|
var tmp = this;
|
|
4458
|
-
tmp.
|
|
4458
|
+
tmp.o1a_1 = joinToString(indentSequence, '', VOID, VOID, VOID, VOID, PlatformXmlWriterBase$_indentString$lambda);
|
|
4459
4459
|
}
|
|
4460
4460
|
function get_NAMESTART() {
|
|
4461
4461
|
_init_properties_StringUtil_kt__6bxgq5();
|
|
@@ -4718,16 +4718,16 @@
|
|
|
4718
4718
|
function Node_0() {
|
|
4719
4719
|
}
|
|
4720
4720
|
function NodeListIterator(nodeList) {
|
|
4721
|
-
this.
|
|
4722
|
-
this.
|
|
4721
|
+
this.q1b_1 = nodeList;
|
|
4722
|
+
this.r1b_1 = 0;
|
|
4723
4723
|
}
|
|
4724
4724
|
protoOf(NodeListIterator).j = function () {
|
|
4725
|
-
return this.
|
|
4725
|
+
return this.r1b_1 < this.q1b_1.s1b();
|
|
4726
4726
|
};
|
|
4727
4727
|
protoOf(NodeListIterator).k = function () {
|
|
4728
|
-
var _unary__edvuaz = this.
|
|
4729
|
-
this.
|
|
4730
|
-
var tmp = this.
|
|
4728
|
+
var _unary__edvuaz = this.r1b_1;
|
|
4729
|
+
this.r1b_1 = _unary__edvuaz + 1 | 0;
|
|
4730
|
+
var tmp = this.q1b_1.t1b(_unary__edvuaz);
|
|
4731
4731
|
var tmp0_elvis_lhs = (!(tmp == null) ? isInterface(tmp, Node_0) : false) ? tmp : null;
|
|
4732
4732
|
var tmp_0;
|
|
4733
4733
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -4751,7 +4751,7 @@
|
|
|
4751
4751
|
var NodeType_NOTATION_NODE_instance;
|
|
4752
4752
|
function Companion_4() {
|
|
4753
4753
|
}
|
|
4754
|
-
protoOf(Companion_4).
|
|
4754
|
+
protoOf(Companion_4).u1b = function (v) {
|
|
4755
4755
|
var tmp;
|
|
4756
4756
|
switch (v) {
|
|
4757
4757
|
case 1:
|
|
@@ -4819,7 +4819,7 @@
|
|
|
4819
4819
|
}
|
|
4820
4820
|
function NodeType(name, ordinal, value) {
|
|
4821
4821
|
Enum.call(this, name, ordinal);
|
|
4822
|
-
this.
|
|
4822
|
+
this.p1b_1 = value;
|
|
4823
4823
|
}
|
|
4824
4824
|
function NodeType_ELEMENT_NODE_getInstance() {
|
|
4825
4825
|
NodeType_initEntries();
|
|
@@ -4870,14 +4870,14 @@
|
|
|
4870
4870
|
return NodeType_NOTATION_NODE_instance;
|
|
4871
4871
|
}
|
|
4872
4872
|
function QName(namespaceURI, localPart, prefix) {
|
|
4873
|
-
this.
|
|
4874
|
-
this.
|
|
4875
|
-
this.
|
|
4873
|
+
this.v1b_1 = namespaceURI;
|
|
4874
|
+
this.w1b_1 = localPart;
|
|
4875
|
+
this.x1b_1 = prefix;
|
|
4876
4876
|
}
|
|
4877
4877
|
protoOf(QName).toString = function () {
|
|
4878
|
-
if (this.
|
|
4879
|
-
return this.
|
|
4880
|
-
return '{' + this.
|
|
4878
|
+
if (this.v1b_1 === '')
|
|
4879
|
+
return this.w1b_1;
|
|
4880
|
+
return '{' + this.v1b_1 + '}' + this.w1b_1;
|
|
4881
4881
|
};
|
|
4882
4882
|
protoOf(QName).equals = function (other) {
|
|
4883
4883
|
if (this === other)
|
|
@@ -4886,15 +4886,15 @@
|
|
|
4886
4886
|
return false;
|
|
4887
4887
|
if (!(other instanceof QName))
|
|
4888
4888
|
THROW_CCE();
|
|
4889
|
-
if (!(this.
|
|
4889
|
+
if (!(this.v1b_1 === other.v1b_1))
|
|
4890
4890
|
return false;
|
|
4891
|
-
if (!(this.
|
|
4891
|
+
if (!(this.w1b_1 === other.w1b_1))
|
|
4892
4892
|
return false;
|
|
4893
4893
|
return true;
|
|
4894
4894
|
};
|
|
4895
4895
|
protoOf(QName).hashCode = function () {
|
|
4896
|
-
var result = getStringHashCode(this.
|
|
4897
|
-
result = imul(31, result) + getStringHashCode(this.
|
|
4896
|
+
var result = getStringHashCode(this.v1b_1);
|
|
4897
|
+
result = imul(31, result) + getStringHashCode(this.w1b_1) | 0;
|
|
4898
4898
|
return result;
|
|
4899
4899
|
};
|
|
4900
4900
|
function get_xmlStreaming() {
|
|
@@ -4902,17 +4902,17 @@
|
|
|
4902
4902
|
}
|
|
4903
4903
|
function XmlStreaming() {
|
|
4904
4904
|
}
|
|
4905
|
-
protoOf(XmlStreaming).
|
|
4905
|
+
protoOf(XmlStreaming).s16 = function (input, expandEntities) {
|
|
4906
4906
|
if (typeof DOMParser === 'undefined')
|
|
4907
|
-
return this.
|
|
4907
|
+
return this.y1b(input, expandEntities);
|
|
4908
4908
|
var str = toString(charSequenceGet(input, 0) === _Char___init__impl__6a9atx(65279) ? charSequenceSubSequence(input, 1, charSequenceLength(input)) : input);
|
|
4909
4909
|
var tmp = wrap((new DOMParser()).parseFromString(str, 'text/xml'));
|
|
4910
4910
|
return DomReader_init_$Create$(isInterface(tmp, Node_0) ? tmp : THROW_CCE());
|
|
4911
4911
|
};
|
|
4912
|
-
protoOf(XmlStreaming).
|
|
4913
|
-
return this.
|
|
4912
|
+
protoOf(XmlStreaming).y1b = function (input, expandEntities) {
|
|
4913
|
+
return this.z1b(new StringReader(input), expandEntities);
|
|
4914
4914
|
};
|
|
4915
|
-
protoOf(XmlStreaming).
|
|
4915
|
+
protoOf(XmlStreaming).z1b = function (reader, expandEntities) {
|
|
4916
4916
|
return KtXmlReader_init_$Create$(reader, expandEntities);
|
|
4917
4917
|
};
|
|
4918
4918
|
var XmlStreaming_instance;
|
|
@@ -4927,26 +4927,26 @@
|
|
|
4927
4927
|
delete this.localName;
|
|
4928
4928
|
delete this.name;
|
|
4929
4929
|
}
|
|
4930
|
-
protoOf(AttrImpl).
|
|
4931
|
-
this.
|
|
4930
|
+
protoOf(AttrImpl).b1c = function (value) {
|
|
4931
|
+
this.d1c().value = value;
|
|
4932
4932
|
};
|
|
4933
4933
|
protoOf(AttrImpl).f1 = function () {
|
|
4934
|
-
return this.
|
|
4934
|
+
return this.d1c().value;
|
|
4935
4935
|
};
|
|
4936
|
-
protoOf(AttrImpl).
|
|
4937
|
-
return this.
|
|
4936
|
+
protoOf(AttrImpl).m15 = function () {
|
|
4937
|
+
return this.d1c().namespaceURI;
|
|
4938
4938
|
};
|
|
4939
|
-
protoOf(AttrImpl).
|
|
4940
|
-
return this.
|
|
4939
|
+
protoOf(AttrImpl).q15 = function () {
|
|
4940
|
+
return this.d1c().prefix;
|
|
4941
4941
|
};
|
|
4942
|
-
protoOf(AttrImpl).
|
|
4943
|
-
return this.
|
|
4942
|
+
protoOf(AttrImpl).o15 = function () {
|
|
4943
|
+
return this.d1c().localName;
|
|
4944
4944
|
};
|
|
4945
|
-
protoOf(AttrImpl).
|
|
4946
|
-
return this.
|
|
4945
|
+
protoOf(AttrImpl).b17 = function () {
|
|
4946
|
+
return this.d1c().name;
|
|
4947
4947
|
};
|
|
4948
|
-
protoOf(AttrImpl).
|
|
4949
|
-
var tmp0_safe_receiver = this.
|
|
4948
|
+
protoOf(AttrImpl).e1c = function () {
|
|
4949
|
+
var tmp0_safe_receiver = this.d1c().ownerElement;
|
|
4950
4950
|
return tmp0_safe_receiver == null ? null : wrap_2(tmp0_safe_receiver);
|
|
4951
4951
|
};
|
|
4952
4952
|
function wrapAttr(_this__u8e3s4) {
|
|
@@ -4959,41 +4959,41 @@
|
|
|
4959
4959
|
NodeImpl.call(this, delegate);
|
|
4960
4960
|
delete this.data;
|
|
4961
4961
|
}
|
|
4962
|
-
protoOf(CharacterDataImpl).
|
|
4963
|
-
this.
|
|
4962
|
+
protoOf(CharacterDataImpl).v1c = function (value) {
|
|
4963
|
+
this.d1c().data = value;
|
|
4964
4964
|
};
|
|
4965
|
-
protoOf(CharacterDataImpl).
|
|
4966
|
-
return this.
|
|
4965
|
+
protoOf(CharacterDataImpl).w1c = function () {
|
|
4966
|
+
return this.d1c().data;
|
|
4967
4967
|
};
|
|
4968
|
-
protoOf(CharacterDataImpl).
|
|
4969
|
-
return this.
|
|
4968
|
+
protoOf(CharacterDataImpl).g1b = function (offset, count) {
|
|
4969
|
+
return this.d1c().substringData(offset, count);
|
|
4970
4970
|
};
|
|
4971
4971
|
protoOf(CharacterDataImpl).substringData = function (offset, count) {
|
|
4972
|
-
return this.
|
|
4972
|
+
return this.g1b(offset, count);
|
|
4973
4973
|
};
|
|
4974
|
-
protoOf(CharacterDataImpl).
|
|
4975
|
-
this.
|
|
4974
|
+
protoOf(CharacterDataImpl).h1b = function (data) {
|
|
4975
|
+
this.d1c().appendData(data);
|
|
4976
4976
|
};
|
|
4977
4977
|
protoOf(CharacterDataImpl).appendData = function (data) {
|
|
4978
|
-
return this.
|
|
4978
|
+
return this.h1b(data);
|
|
4979
4979
|
};
|
|
4980
|
-
protoOf(CharacterDataImpl).
|
|
4981
|
-
this.
|
|
4980
|
+
protoOf(CharacterDataImpl).i1b = function (offset, data) {
|
|
4981
|
+
this.d1c().insertData(offset, data);
|
|
4982
4982
|
};
|
|
4983
4983
|
protoOf(CharacterDataImpl).insertData = function (offset, data) {
|
|
4984
|
-
return this.
|
|
4984
|
+
return this.i1b(offset, data);
|
|
4985
4985
|
};
|
|
4986
|
-
protoOf(CharacterDataImpl).
|
|
4987
|
-
this.
|
|
4986
|
+
protoOf(CharacterDataImpl).j1b = function (offset, count) {
|
|
4987
|
+
this.d1c().deleteData(offset, count);
|
|
4988
4988
|
};
|
|
4989
4989
|
protoOf(CharacterDataImpl).deleteData = function (offset, count) {
|
|
4990
|
-
return this.
|
|
4990
|
+
return this.j1b(offset, count);
|
|
4991
4991
|
};
|
|
4992
|
-
protoOf(CharacterDataImpl).
|
|
4993
|
-
this.
|
|
4992
|
+
protoOf(CharacterDataImpl).k1b = function (offset, count, data) {
|
|
4993
|
+
this.d1c().replaceData(offset, count, data);
|
|
4994
4994
|
};
|
|
4995
4995
|
protoOf(CharacterDataImpl).replaceData = function (offset, count, data) {
|
|
4996
|
-
return this.
|
|
4996
|
+
return this.k1b(offset, count, data);
|
|
4997
4997
|
};
|
|
4998
4998
|
function CommentImpl(delegate) {
|
|
4999
4999
|
CharacterDataImpl.call(this, delegate);
|
|
@@ -5052,36 +5052,36 @@
|
|
|
5052
5052
|
}
|
|
5053
5053
|
function DOMImplementationImpl$_get_delegate_$ref_rsct6t() {
|
|
5054
5054
|
return function (p0) {
|
|
5055
|
-
return p0.
|
|
5055
|
+
return p0.d1c();
|
|
5056
5056
|
};
|
|
5057
5057
|
}
|
|
5058
5058
|
function DOMImplementationImpl() {
|
|
5059
5059
|
DOMImplementationImpl_instance = this;
|
|
5060
5060
|
var tmp = this;
|
|
5061
|
-
tmp.
|
|
5061
|
+
tmp.x1c_1 = lazy(DOMImplementationImpl$delegate$delegate$lambda);
|
|
5062
5062
|
}
|
|
5063
|
-
protoOf(DOMImplementationImpl).
|
|
5064
|
-
var tmp0 = this.
|
|
5063
|
+
protoOf(DOMImplementationImpl).d1c = function () {
|
|
5064
|
+
var tmp0 = this.x1c_1;
|
|
5065
5065
|
var tmp = KProperty1;
|
|
5066
5066
|
// Inline function 'kotlin.getValue' call
|
|
5067
5067
|
getPropertyCallableRef('delegate', 1, tmp, DOMImplementationImpl$_get_delegate_$ref_rsct6t(), null);
|
|
5068
5068
|
return tmp0.f1();
|
|
5069
5069
|
};
|
|
5070
|
-
protoOf(DOMImplementationImpl).
|
|
5071
|
-
return wrap_0(this.
|
|
5070
|
+
protoOf(DOMImplementationImpl).y1c = function (qualifiedName, publicId, systemId) {
|
|
5071
|
+
return wrap_0(this.d1c().createDocumentType(qualifiedName, publicId, systemId));
|
|
5072
5072
|
};
|
|
5073
5073
|
protoOf(DOMImplementationImpl).createDocumentType = function (qualifiedName, publicId, systemId) {
|
|
5074
|
-
return this.
|
|
5074
|
+
return this.y1c(qualifiedName, publicId, systemId);
|
|
5075
5075
|
};
|
|
5076
|
-
protoOf(DOMImplementationImpl).
|
|
5076
|
+
protoOf(DOMImplementationImpl).z1c = function (namespace, qualifiedName, documentType) {
|
|
5077
5077
|
var tmp = documentType == null ? null : unWrap_0(documentType);
|
|
5078
5078
|
var documentType1 = (!(tmp == null) ? !(tmp == null) : false) ? tmp : null;
|
|
5079
|
-
var tmp_0 = this.
|
|
5079
|
+
var tmp_0 = this.d1c();
|
|
5080
5080
|
var tmp_1 = wrap_1((!(tmp_0 == null) ? tmp_0 : THROW_CCE()).createDocument(namespace, qualifiedName, documentType1));
|
|
5081
5081
|
return isInterface(tmp_1, IDocument) ? tmp_1 : THROW_CCE();
|
|
5082
5082
|
};
|
|
5083
5083
|
protoOf(DOMImplementationImpl).createDocument = function (namespace, qualifiedName, documentType) {
|
|
5084
|
-
return this.
|
|
5084
|
+
return this.a1d(namespace, qualifiedName, documentType);
|
|
5085
5085
|
};
|
|
5086
5086
|
var DOMImplementationImpl_instance;
|
|
5087
5087
|
function DOMImplementationImpl_getInstance() {
|
|
@@ -5094,17 +5094,17 @@
|
|
|
5094
5094
|
}
|
|
5095
5095
|
function DocumentImpl(delegate) {
|
|
5096
5096
|
NodeImpl.call(this, delegate);
|
|
5097
|
-
this.
|
|
5097
|
+
this.c1d_1 = delegate.documentURI;
|
|
5098
5098
|
delete this.inputEncoding;
|
|
5099
5099
|
}
|
|
5100
|
-
protoOf(DocumentImpl).
|
|
5101
|
-
return this.
|
|
5100
|
+
protoOf(DocumentImpl).d1d = function () {
|
|
5101
|
+
return this.d1c().inputEncoding;
|
|
5102
5102
|
};
|
|
5103
|
-
protoOf(DocumentImpl).
|
|
5103
|
+
protoOf(DocumentImpl).e1d = function () {
|
|
5104
5104
|
return DOMImplementationImpl_getInstance();
|
|
5105
5105
|
};
|
|
5106
|
-
protoOf(DocumentImpl).
|
|
5107
|
-
var tmp0_safe_receiver = this.
|
|
5106
|
+
protoOf(DocumentImpl).f1d = function () {
|
|
5107
|
+
var tmp0_safe_receiver = this.d1c().doctype;
|
|
5108
5108
|
var tmp;
|
|
5109
5109
|
if (tmp0_safe_receiver == null) {
|
|
5110
5110
|
tmp = null;
|
|
@@ -5114,75 +5114,75 @@
|
|
|
5114
5114
|
}
|
|
5115
5115
|
return tmp;
|
|
5116
5116
|
};
|
|
5117
|
-
protoOf(DocumentImpl).
|
|
5118
|
-
var tmp0_safe_receiver = this.
|
|
5117
|
+
protoOf(DocumentImpl).g1d = function () {
|
|
5118
|
+
var tmp0_safe_receiver = this.d1c().documentElement;
|
|
5119
5119
|
return tmp0_safe_receiver == null ? null : wrap_2(tmp0_safe_receiver);
|
|
5120
5120
|
};
|
|
5121
|
-
protoOf(DocumentImpl).
|
|
5122
|
-
return new ElementImpl(this.
|
|
5121
|
+
protoOf(DocumentImpl).h1d = function (localName) {
|
|
5122
|
+
return new ElementImpl(this.d1c().createElement(localName));
|
|
5123
5123
|
};
|
|
5124
5124
|
protoOf(DocumentImpl).createElement = function (localName) {
|
|
5125
|
-
return this.
|
|
5125
|
+
return this.h1d(localName);
|
|
5126
5126
|
};
|
|
5127
|
-
protoOf(DocumentImpl).
|
|
5128
|
-
return new DocumentFragmentImpl(this.
|
|
5127
|
+
protoOf(DocumentImpl).i1d = function () {
|
|
5128
|
+
return new DocumentFragmentImpl(this.d1c().createDocumentFragment());
|
|
5129
5129
|
};
|
|
5130
5130
|
protoOf(DocumentImpl).createDocumentFragment = function () {
|
|
5131
|
-
return this.
|
|
5131
|
+
return this.i1d();
|
|
5132
5132
|
};
|
|
5133
|
-
protoOf(DocumentImpl).
|
|
5134
|
-
return new TextImpl(this.
|
|
5133
|
+
protoOf(DocumentImpl).j1d = function (data) {
|
|
5134
|
+
return new TextImpl(this.d1c().createTextNode(data));
|
|
5135
5135
|
};
|
|
5136
5136
|
protoOf(DocumentImpl).createTextNode = function (data) {
|
|
5137
|
-
return this.
|
|
5137
|
+
return this.j1d(data);
|
|
5138
5138
|
};
|
|
5139
|
-
protoOf(DocumentImpl).
|
|
5140
|
-
return new CDATASectionImpl(this.
|
|
5139
|
+
protoOf(DocumentImpl).k1d = function (data) {
|
|
5140
|
+
return new CDATASectionImpl(this.d1c().createCDATASection(data));
|
|
5141
5141
|
};
|
|
5142
5142
|
protoOf(DocumentImpl).createCDATASection = function (data) {
|
|
5143
|
-
return this.
|
|
5143
|
+
return this.k1d(data);
|
|
5144
5144
|
};
|
|
5145
|
-
protoOf(DocumentImpl).
|
|
5146
|
-
return new CommentImpl(this.
|
|
5145
|
+
protoOf(DocumentImpl).l1d = function (data) {
|
|
5146
|
+
return new CommentImpl(this.d1c().createComment(data));
|
|
5147
5147
|
};
|
|
5148
5148
|
protoOf(DocumentImpl).createComment = function (data) {
|
|
5149
|
-
return this.
|
|
5149
|
+
return this.l1d(data);
|
|
5150
5150
|
};
|
|
5151
|
-
protoOf(DocumentImpl).
|
|
5152
|
-
return new ProcessingInstructionImpl(this.
|
|
5151
|
+
protoOf(DocumentImpl).m1d = function (target, data) {
|
|
5152
|
+
return new ProcessingInstructionImpl(this.d1c().createProcessingInstruction(target, data));
|
|
5153
5153
|
};
|
|
5154
5154
|
protoOf(DocumentImpl).createProcessingInstruction = function (target, data) {
|
|
5155
|
-
return this.
|
|
5155
|
+
return this.m1d(target, data);
|
|
5156
5156
|
};
|
|
5157
|
-
protoOf(DocumentImpl).
|
|
5158
|
-
return new AttrImpl(this.
|
|
5157
|
+
protoOf(DocumentImpl).n1d = function (localName) {
|
|
5158
|
+
return new AttrImpl(this.d1c().createAttribute(localName));
|
|
5159
5159
|
};
|
|
5160
5160
|
protoOf(DocumentImpl).createAttribute = function (localName) {
|
|
5161
|
-
return this.
|
|
5161
|
+
return this.n1d(localName);
|
|
5162
5162
|
};
|
|
5163
|
-
protoOf(DocumentImpl).
|
|
5164
|
-
return new AttrImpl(this.
|
|
5163
|
+
protoOf(DocumentImpl).o1d = function (namespace, qualifiedName) {
|
|
5164
|
+
return new AttrImpl(this.d1c().createAttributeNS(namespace, qualifiedName));
|
|
5165
5165
|
};
|
|
5166
5166
|
protoOf(DocumentImpl).createAttributeNS = function (namespace, qualifiedName) {
|
|
5167
|
-
return this.
|
|
5167
|
+
return this.o1d(namespace, qualifiedName);
|
|
5168
5168
|
};
|
|
5169
|
-
protoOf(DocumentImpl).
|
|
5170
|
-
return new ElementImpl(this.
|
|
5169
|
+
protoOf(DocumentImpl).p1d = function (namespaceURI, qualifiedName) {
|
|
5170
|
+
return new ElementImpl(this.d1c().createElementNS(namespaceURI, qualifiedName));
|
|
5171
5171
|
};
|
|
5172
5172
|
protoOf(DocumentImpl).createElementNS = function (namespaceURI, qualifiedName) {
|
|
5173
|
-
return this.
|
|
5173
|
+
return this.p1d(namespaceURI, qualifiedName);
|
|
5174
5174
|
};
|
|
5175
|
-
protoOf(DocumentImpl).
|
|
5176
|
-
return wrap_3(this.
|
|
5175
|
+
protoOf(DocumentImpl).q1d = function (node) {
|
|
5176
|
+
return wrap_3(this.d1c().adoptNode(unWrap_1(node)));
|
|
5177
5177
|
};
|
|
5178
|
-
protoOf(DocumentImpl).
|
|
5179
|
-
return wrap_3(this.
|
|
5178
|
+
protoOf(DocumentImpl).r1d = function (node, deep) {
|
|
5179
|
+
return wrap_3(this.d1c().importNode(unWrap_1(node), deep));
|
|
5180
5180
|
};
|
|
5181
5181
|
protoOf(DocumentImpl).adoptNode = function (node) {
|
|
5182
|
-
return this.
|
|
5182
|
+
return this.s1d(node);
|
|
5183
5183
|
};
|
|
5184
5184
|
protoOf(DocumentImpl).importNode = function (node, deep) {
|
|
5185
|
-
return this.
|
|
5185
|
+
return this.t1d(node, deep);
|
|
5186
5186
|
};
|
|
5187
5187
|
function DocumentTypeImpl(delegate) {
|
|
5188
5188
|
NodeImpl.call(this, delegate);
|
|
@@ -5190,120 +5190,120 @@
|
|
|
5190
5190
|
delete this.publicId;
|
|
5191
5191
|
delete this.systemId;
|
|
5192
5192
|
}
|
|
5193
|
-
protoOf(DocumentTypeImpl).
|
|
5194
|
-
return this.
|
|
5193
|
+
protoOf(DocumentTypeImpl).b17 = function () {
|
|
5194
|
+
return this.d1c().name;
|
|
5195
5195
|
};
|
|
5196
|
-
protoOf(DocumentTypeImpl).
|
|
5197
|
-
return this.
|
|
5196
|
+
protoOf(DocumentTypeImpl).v1d = function () {
|
|
5197
|
+
return this.d1c().publicId;
|
|
5198
5198
|
};
|
|
5199
|
-
protoOf(DocumentTypeImpl).
|
|
5200
|
-
return this.
|
|
5199
|
+
protoOf(DocumentTypeImpl).w1d = function () {
|
|
5200
|
+
return this.d1c().systemId;
|
|
5201
5201
|
};
|
|
5202
5202
|
function ElementImpl(delegate) {
|
|
5203
5203
|
NodeImpl.call(this, delegate);
|
|
5204
5204
|
}
|
|
5205
|
-
protoOf(ElementImpl).
|
|
5206
|
-
return this.
|
|
5205
|
+
protoOf(ElementImpl).n15 = function () {
|
|
5206
|
+
return this.d1c().namespaceURI;
|
|
5207
5207
|
};
|
|
5208
|
-
protoOf(ElementImpl).
|
|
5209
|
-
return this.
|
|
5208
|
+
protoOf(ElementImpl).r15 = function () {
|
|
5209
|
+
return this.d1c().prefix;
|
|
5210
5210
|
};
|
|
5211
|
-
protoOf(ElementImpl).
|
|
5212
|
-
return this.
|
|
5211
|
+
protoOf(ElementImpl).p15 = function () {
|
|
5212
|
+
return this.d1c().localName;
|
|
5213
5213
|
};
|
|
5214
|
-
protoOf(ElementImpl).
|
|
5215
|
-
return new WrappingNodeList(this.
|
|
5214
|
+
protoOf(ElementImpl).y1d = function (qualifiedName) {
|
|
5215
|
+
return new WrappingNodeList(this.d1c().getElementsByTagName(qualifiedName));
|
|
5216
5216
|
};
|
|
5217
5217
|
protoOf(ElementImpl).getElementsByTagName = function (qualifiedName) {
|
|
5218
|
-
return this.
|
|
5218
|
+
return this.y1d(qualifiedName);
|
|
5219
5219
|
};
|
|
5220
|
-
protoOf(ElementImpl).
|
|
5221
|
-
return new WrappingNodeList(this.
|
|
5220
|
+
protoOf(ElementImpl).z1d = function (namespace, localName) {
|
|
5221
|
+
return new WrappingNodeList(this.d1c().getElementsByTagNameNS(namespace, localName));
|
|
5222
5222
|
};
|
|
5223
5223
|
protoOf(ElementImpl).getElementsByTagNameNS = function (namespace, localName) {
|
|
5224
|
-
return this.
|
|
5224
|
+
return this.z1d(namespace, localName);
|
|
5225
5225
|
};
|
|
5226
|
-
protoOf(ElementImpl).
|
|
5227
|
-
var tmp0_safe_receiver = this.
|
|
5226
|
+
protoOf(ElementImpl).a1e = function (qualifiedName) {
|
|
5227
|
+
var tmp0_safe_receiver = this.d1c().getAttributeNode(qualifiedName);
|
|
5228
5228
|
return tmp0_safe_receiver == null ? null : wrapAttr(tmp0_safe_receiver);
|
|
5229
5229
|
};
|
|
5230
5230
|
protoOf(ElementImpl).getAttributeNode = function (qualifiedName) {
|
|
5231
|
-
return this.
|
|
5231
|
+
return this.a1e(qualifiedName);
|
|
5232
5232
|
};
|
|
5233
|
-
protoOf(ElementImpl).
|
|
5234
|
-
var tmp0_safe_receiver = this.
|
|
5233
|
+
protoOf(ElementImpl).b1e = function (namespace, localName) {
|
|
5234
|
+
var tmp0_safe_receiver = this.d1c().getAttributeNodeNS(namespace, localName);
|
|
5235
5235
|
return tmp0_safe_receiver == null ? null : wrapAttr(tmp0_safe_receiver);
|
|
5236
5236
|
};
|
|
5237
5237
|
protoOf(ElementImpl).getAttributeNodeNS = function (namespace, localName) {
|
|
5238
|
-
return this.
|
|
5238
|
+
return this.b1e(namespace, localName);
|
|
5239
5239
|
};
|
|
5240
|
-
protoOf(ElementImpl).
|
|
5241
|
-
var tmp0_safe_receiver = this.
|
|
5240
|
+
protoOf(ElementImpl).c1e = function (attr) {
|
|
5241
|
+
var tmp0_safe_receiver = this.d1c().setAttributeNode(unWrap_2(attr));
|
|
5242
5242
|
return tmp0_safe_receiver == null ? null : wrap_4(tmp0_safe_receiver);
|
|
5243
5243
|
};
|
|
5244
5244
|
protoOf(ElementImpl).setAttributeNode = function (attr) {
|
|
5245
|
-
return this.
|
|
5245
|
+
return this.c1e(attr);
|
|
5246
5246
|
};
|
|
5247
|
-
protoOf(ElementImpl).
|
|
5248
|
-
var tmp0_safe_receiver = this.
|
|
5247
|
+
protoOf(ElementImpl).d1e = function (attr) {
|
|
5248
|
+
var tmp0_safe_receiver = this.d1c().setAttributeNodeNS(unWrap_2(attr));
|
|
5249
5249
|
return tmp0_safe_receiver == null ? null : wrap_4(tmp0_safe_receiver);
|
|
5250
5250
|
};
|
|
5251
5251
|
protoOf(ElementImpl).setAttributeNodeNS = function (attr) {
|
|
5252
|
-
return this.
|
|
5252
|
+
return this.d1e(attr);
|
|
5253
5253
|
};
|
|
5254
|
-
protoOf(ElementImpl).
|
|
5255
|
-
return wrap_4(this.
|
|
5254
|
+
protoOf(ElementImpl).e1e = function (attr) {
|
|
5255
|
+
return wrap_4(this.d1c().removeAttributeNode(unWrap_2(attr)));
|
|
5256
5256
|
};
|
|
5257
5257
|
protoOf(ElementImpl).removeAttributeNode = function (attr) {
|
|
5258
|
-
return this.
|
|
5258
|
+
return this.e1e(attr);
|
|
5259
5259
|
};
|
|
5260
|
-
protoOf(ElementImpl).
|
|
5261
|
-
return this.
|
|
5260
|
+
protoOf(ElementImpl).f1e = function (qualifiedName) {
|
|
5261
|
+
return this.d1c().getAttribute(qualifiedName);
|
|
5262
5262
|
};
|
|
5263
5263
|
protoOf(ElementImpl).getAttribute = function (qualifiedName) {
|
|
5264
|
-
return this.
|
|
5264
|
+
return this.f1e(qualifiedName);
|
|
5265
5265
|
};
|
|
5266
|
-
protoOf(ElementImpl).
|
|
5267
|
-
return this.
|
|
5266
|
+
protoOf(ElementImpl).g1e = function (qualifiedName, value) {
|
|
5267
|
+
return this.d1c().setAttribute(qualifiedName, value);
|
|
5268
5268
|
};
|
|
5269
5269
|
protoOf(ElementImpl).setAttribute = function (qualifiedName, value) {
|
|
5270
|
-
return this.
|
|
5270
|
+
return this.g1e(qualifiedName, value);
|
|
5271
5271
|
};
|
|
5272
|
-
protoOf(ElementImpl).
|
|
5273
|
-
return this.
|
|
5272
|
+
protoOf(ElementImpl).h1e = function (qualifiedName) {
|
|
5273
|
+
return this.d1c().removeAttribute(qualifiedName);
|
|
5274
5274
|
};
|
|
5275
5275
|
protoOf(ElementImpl).removeAttribute = function (qualifiedName) {
|
|
5276
|
-
return this.
|
|
5276
|
+
return this.h1e(qualifiedName);
|
|
5277
5277
|
};
|
|
5278
|
-
protoOf(ElementImpl).
|
|
5279
|
-
return this.
|
|
5278
|
+
protoOf(ElementImpl).a16 = function (namespace, localName) {
|
|
5279
|
+
return this.d1c().getAttributeNS(namespace, localName);
|
|
5280
5280
|
};
|
|
5281
5281
|
protoOf(ElementImpl).getAttributeNS = function (namespace, localName) {
|
|
5282
|
-
return this.
|
|
5282
|
+
return this.a16(namespace, localName);
|
|
5283
5283
|
};
|
|
5284
|
-
protoOf(ElementImpl).
|
|
5285
|
-
return this.
|
|
5284
|
+
protoOf(ElementImpl).i1e = function (namespace, cName, value) {
|
|
5285
|
+
return this.d1c().setAttributeNS(namespace, cName, value);
|
|
5286
5286
|
};
|
|
5287
5287
|
protoOf(ElementImpl).setAttributeNS = function (namespace, cName, value) {
|
|
5288
|
-
return this.
|
|
5288
|
+
return this.i1e(namespace, cName, value);
|
|
5289
5289
|
};
|
|
5290
|
-
protoOf(ElementImpl).
|
|
5291
|
-
return this.
|
|
5290
|
+
protoOf(ElementImpl).j1e = function (namespace, localName) {
|
|
5291
|
+
return this.d1c().removeAttributeNS(namespace, localName);
|
|
5292
5292
|
};
|
|
5293
5293
|
protoOf(ElementImpl).removeAttributeNS = function (namespace, localName) {
|
|
5294
|
-
return this.
|
|
5294
|
+
return this.j1e(namespace, localName);
|
|
5295
5295
|
};
|
|
5296
|
-
protoOf(ElementImpl).
|
|
5297
|
-
return this.
|
|
5296
|
+
protoOf(ElementImpl).k1e = function (qualifiedName) {
|
|
5297
|
+
return this.d1c().hasAttribute(qualifiedName);
|
|
5298
5298
|
};
|
|
5299
5299
|
protoOf(ElementImpl).hasAttribute = function (qualifiedName) {
|
|
5300
|
-
return this.
|
|
5300
|
+
return this.k1e(qualifiedName);
|
|
5301
5301
|
};
|
|
5302
|
-
protoOf(ElementImpl).
|
|
5303
|
-
return this.
|
|
5302
|
+
protoOf(ElementImpl).l1e = function (namespace, localName) {
|
|
5303
|
+
return this.d1c().hasAttributeNS(namespace, localName);
|
|
5304
5304
|
};
|
|
5305
5305
|
protoOf(ElementImpl).hasAttributeNS = function (namespace, localName) {
|
|
5306
|
-
return this.
|
|
5306
|
+
return this.l1e(namespace, localName);
|
|
5307
5307
|
};
|
|
5308
5308
|
function wrap(_this__u8e3s4) {
|
|
5309
5309
|
var tmp;
|
|
@@ -5317,7 +5317,7 @@
|
|
|
5317
5317
|
function unWrap(_this__u8e3s4) {
|
|
5318
5318
|
var tmp;
|
|
5319
5319
|
if (isInterface(_this__u8e3s4, INode)) {
|
|
5320
|
-
tmp = _this__u8e3s4.
|
|
5320
|
+
tmp = _this__u8e3s4.d1c();
|
|
5321
5321
|
} else {
|
|
5322
5322
|
tmp = _this__u8e3s4 instanceof Node ? _this__u8e3s4 : THROW_CCE();
|
|
5323
5323
|
}
|
|
@@ -5333,7 +5333,7 @@
|
|
|
5333
5333
|
return tmp;
|
|
5334
5334
|
}
|
|
5335
5335
|
function unWrap_0(_this__u8e3s4) {
|
|
5336
|
-
return _this__u8e3s4.
|
|
5336
|
+
return _this__u8e3s4.d1c();
|
|
5337
5337
|
}
|
|
5338
5338
|
function wrap_1(_this__u8e3s4) {
|
|
5339
5339
|
return wrap_3(_this__u8e3s4 instanceof Node ? _this__u8e3s4 : THROW_CCE());
|
|
@@ -5341,74 +5341,74 @@
|
|
|
5341
5341
|
function NodeImpl(delegate) {
|
|
5342
5342
|
var tmp = this;
|
|
5343
5343
|
var tmp_0 = unWrap_1(delegate);
|
|
5344
|
-
tmp.
|
|
5344
|
+
tmp.c1c_1 = tmp_0 instanceof Node ? tmp_0 : THROW_CCE();
|
|
5345
5345
|
delete this.nodeName;
|
|
5346
5346
|
delete this.nodeType;
|
|
5347
5347
|
delete this.baseURI;
|
|
5348
5348
|
delete this.nodeValue;
|
|
5349
5349
|
delete this.textContent;
|
|
5350
5350
|
}
|
|
5351
|
-
protoOf(NodeImpl).
|
|
5352
|
-
return this.
|
|
5351
|
+
protoOf(NodeImpl).d1c = function () {
|
|
5352
|
+
return this.c1c_1;
|
|
5353
5353
|
};
|
|
5354
|
-
protoOf(NodeImpl).
|
|
5355
|
-
return wrap(ensureNotNull(this.
|
|
5354
|
+
protoOf(NodeImpl).f1c = function () {
|
|
5355
|
+
return wrap(ensureNotNull(this.d1c().ownerDocument));
|
|
5356
5356
|
};
|
|
5357
|
-
protoOf(NodeImpl).
|
|
5358
|
-
var tmp0_safe_receiver = this.
|
|
5357
|
+
protoOf(NodeImpl).g1c = function () {
|
|
5358
|
+
var tmp0_safe_receiver = this.d1c().parentNode;
|
|
5359
5359
|
return tmp0_safe_receiver == null ? null : wrap_3(tmp0_safe_receiver);
|
|
5360
5360
|
};
|
|
5361
|
-
protoOf(NodeImpl).
|
|
5362
|
-
var tmp0_safe_receiver = this.
|
|
5361
|
+
protoOf(NodeImpl).h1c = function () {
|
|
5362
|
+
var tmp0_safe_receiver = this.d1c().firstChild;
|
|
5363
5363
|
return tmp0_safe_receiver == null ? null : wrap_3(tmp0_safe_receiver);
|
|
5364
5364
|
};
|
|
5365
|
-
protoOf(NodeImpl).
|
|
5366
|
-
var tmp0_safe_receiver = this.
|
|
5365
|
+
protoOf(NodeImpl).i1c = function () {
|
|
5366
|
+
var tmp0_safe_receiver = this.d1c().lastChild;
|
|
5367
5367
|
return tmp0_safe_receiver == null ? null : wrap_3(tmp0_safe_receiver);
|
|
5368
5368
|
};
|
|
5369
|
-
protoOf(NodeImpl).
|
|
5370
|
-
var tmp0_safe_receiver = this.
|
|
5369
|
+
protoOf(NodeImpl).j1c = function () {
|
|
5370
|
+
var tmp0_safe_receiver = this.d1c().previousSibling;
|
|
5371
5371
|
return tmp0_safe_receiver == null ? null : wrap_3(tmp0_safe_receiver);
|
|
5372
5372
|
};
|
|
5373
|
-
protoOf(NodeImpl).
|
|
5374
|
-
var tmp0_safe_receiver = this.
|
|
5373
|
+
protoOf(NodeImpl).k1c = function () {
|
|
5374
|
+
var tmp0_safe_receiver = this.d1c().nextSibling;
|
|
5375
5375
|
return tmp0_safe_receiver == null ? null : wrap_3(tmp0_safe_receiver);
|
|
5376
5376
|
};
|
|
5377
|
-
protoOf(NodeImpl).
|
|
5378
|
-
return this.
|
|
5377
|
+
protoOf(NodeImpl).l1c = function () {
|
|
5378
|
+
return this.d1c().nodeName;
|
|
5379
5379
|
};
|
|
5380
|
-
protoOf(NodeImpl).
|
|
5381
|
-
return this.
|
|
5380
|
+
protoOf(NodeImpl).m1c = function () {
|
|
5381
|
+
return this.d1c().nodeType;
|
|
5382
5382
|
};
|
|
5383
|
-
protoOf(NodeImpl).
|
|
5384
|
-
return this.
|
|
5383
|
+
protoOf(NodeImpl).n1c = function () {
|
|
5384
|
+
return this.d1c().baseURI;
|
|
5385
5385
|
};
|
|
5386
|
-
protoOf(NodeImpl).
|
|
5387
|
-
this.
|
|
5386
|
+
protoOf(NodeImpl).o1c = function (value) {
|
|
5387
|
+
this.d1c().nodeValue = value;
|
|
5388
5388
|
};
|
|
5389
|
-
protoOf(NodeImpl).
|
|
5390
|
-
return this.
|
|
5389
|
+
protoOf(NodeImpl).p1c = function () {
|
|
5390
|
+
return this.d1c().nodeValue;
|
|
5391
5391
|
};
|
|
5392
|
-
protoOf(NodeImpl).
|
|
5393
|
-
this.
|
|
5392
|
+
protoOf(NodeImpl).q1c = function (value) {
|
|
5393
|
+
this.d1c().textContent = value;
|
|
5394
5394
|
};
|
|
5395
|
-
protoOf(NodeImpl).
|
|
5396
|
-
return this.
|
|
5395
|
+
protoOf(NodeImpl).r1c = function () {
|
|
5396
|
+
return this.d1c().textContent;
|
|
5397
5397
|
};
|
|
5398
|
-
protoOf(NodeImpl).
|
|
5399
|
-
return new WrappingNodeList(this.
|
|
5398
|
+
protoOf(NodeImpl).s1c = function () {
|
|
5399
|
+
return new WrappingNodeList(this.d1c().childNodes);
|
|
5400
5400
|
};
|
|
5401
|
-
protoOf(NodeImpl).
|
|
5402
|
-
return this.
|
|
5401
|
+
protoOf(NodeImpl).l1b = function (namespace) {
|
|
5402
|
+
return this.d1c().lookupPrefix(namespace);
|
|
5403
5403
|
};
|
|
5404
5404
|
protoOf(NodeImpl).lookupPrefix = function (namespace) {
|
|
5405
|
-
return this.
|
|
5405
|
+
return this.l1b(namespace);
|
|
5406
5406
|
};
|
|
5407
|
-
protoOf(NodeImpl).
|
|
5408
|
-
return this.
|
|
5407
|
+
protoOf(NodeImpl).m1b = function (prefix) {
|
|
5408
|
+
return this.d1c().lookupNamespaceURI(prefix);
|
|
5409
5409
|
};
|
|
5410
5410
|
protoOf(NodeImpl).lookupNamespaceURI = function (prefix) {
|
|
5411
|
-
return this.
|
|
5411
|
+
return this.m1b(prefix);
|
|
5412
5412
|
};
|
|
5413
5413
|
protoOf(NodeImpl).equals = function (other) {
|
|
5414
5414
|
if (this === other)
|
|
@@ -5417,10 +5417,10 @@
|
|
|
5417
5417
|
return false;
|
|
5418
5418
|
if (!(other instanceof NodeImpl))
|
|
5419
5419
|
THROW_CCE();
|
|
5420
|
-
return equals(this.
|
|
5420
|
+
return equals(this.d1c(), other.d1c());
|
|
5421
5421
|
};
|
|
5422
5422
|
protoOf(NodeImpl).hashCode = function () {
|
|
5423
|
-
return hashCode(this.
|
|
5423
|
+
return hashCode(this.d1c());
|
|
5424
5424
|
};
|
|
5425
5425
|
function wrap_2(_this__u8e3s4) {
|
|
5426
5426
|
var tmp;
|
|
@@ -5458,7 +5458,7 @@
|
|
|
5458
5458
|
tmp_0 = new TextImpl(_this__u8e3s4 instanceof Text ? _this__u8e3s4 : THROW_CCE());
|
|
5459
5459
|
} else {
|
|
5460
5460
|
// Inline function 'kotlin.error' call
|
|
5461
|
-
var message = 'Node type ' + Companion_instance_5.
|
|
5461
|
+
var message = 'Node type ' + Companion_instance_5.u1b(_this__u8e3s4.nodeType).toString() + ' not supported';
|
|
5462
5462
|
throw IllegalStateException_init_$Create$(toString(message));
|
|
5463
5463
|
}
|
|
5464
5464
|
tmp = tmp_0;
|
|
@@ -5468,7 +5468,7 @@
|
|
|
5468
5468
|
function unWrap_1(_this__u8e3s4) {
|
|
5469
5469
|
var tmp;
|
|
5470
5470
|
if (isInterface(_this__u8e3s4, INode)) {
|
|
5471
|
-
tmp = _this__u8e3s4.
|
|
5471
|
+
tmp = _this__u8e3s4.d1c();
|
|
5472
5472
|
} else {
|
|
5473
5473
|
tmp = _this__u8e3s4;
|
|
5474
5474
|
}
|
|
@@ -5477,7 +5477,7 @@
|
|
|
5477
5477
|
function unWrap_2(_this__u8e3s4) {
|
|
5478
5478
|
var tmp;
|
|
5479
5479
|
if (isInterface(_this__u8e3s4, IAttr)) {
|
|
5480
|
-
var tmp_0 = _this__u8e3s4.
|
|
5480
|
+
var tmp_0 = _this__u8e3s4.d1c();
|
|
5481
5481
|
tmp = tmp_0 instanceof Attr ? tmp_0 : THROW_CCE();
|
|
5482
5482
|
} else {
|
|
5483
5483
|
tmp = _this__u8e3s4 instanceof Attr ? _this__u8e3s4 : THROW_CCE();
|
|
@@ -5498,29 +5498,29 @@
|
|
|
5498
5498
|
delete this.data;
|
|
5499
5499
|
delete this.target;
|
|
5500
5500
|
}
|
|
5501
|
-
protoOf(ProcessingInstructionImpl).
|
|
5502
|
-
this.
|
|
5501
|
+
protoOf(ProcessingInstructionImpl).v1c = function (value) {
|
|
5502
|
+
this.d1c().data = value;
|
|
5503
5503
|
};
|
|
5504
|
-
protoOf(ProcessingInstructionImpl).
|
|
5505
|
-
return this.
|
|
5504
|
+
protoOf(ProcessingInstructionImpl).w1c = function () {
|
|
5505
|
+
return this.d1c().data;
|
|
5506
5506
|
};
|
|
5507
|
-
protoOf(ProcessingInstructionImpl).
|
|
5508
|
-
return this.
|
|
5507
|
+
protoOf(ProcessingInstructionImpl).n1e = function () {
|
|
5508
|
+
return this.d1c().target;
|
|
5509
5509
|
};
|
|
5510
5510
|
function TextImpl(delegate) {
|
|
5511
5511
|
CharacterDataImpl.call(this, delegate);
|
|
5512
5512
|
}
|
|
5513
5513
|
function WrappingNodeList(delegate) {
|
|
5514
|
-
this.
|
|
5514
|
+
this.o1e_1 = delegate;
|
|
5515
5515
|
}
|
|
5516
5516
|
protoOf(WrappingNodeList).l = function () {
|
|
5517
5517
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5518
|
-
var tmp = this.
|
|
5518
|
+
var tmp = this.o1e_1.length;
|
|
5519
5519
|
return (!(tmp == null) ? typeof tmp === 'number' : false) ? tmp : THROW_CCE();
|
|
5520
5520
|
};
|
|
5521
|
-
protoOf(WrappingNodeList).
|
|
5521
|
+
protoOf(WrappingNodeList).t1b = function (index) {
|
|
5522
5522
|
// Inline function 'kotlin.js.asDynamic' call
|
|
5523
|
-
var tmp = this.
|
|
5523
|
+
var tmp = this.o1e_1.item(index);
|
|
5524
5524
|
var tmp0_elvis_lhs = (tmp == null ? true : tmp instanceof Node) ? tmp : THROW_CCE();
|
|
5525
5525
|
var tmp_0;
|
|
5526
5526
|
if (tmp0_elvis_lhs == null) {
|
|
@@ -5532,7 +5532,7 @@
|
|
|
5532
5532
|
return wrap_3(node);
|
|
5533
5533
|
};
|
|
5534
5534
|
protoOf(WrappingNodeList).item = function (index) {
|
|
5535
|
-
return this.
|
|
5535
|
+
return this.t1b(index);
|
|
5536
5536
|
};
|
|
5537
5537
|
function IAttr() {
|
|
5538
5538
|
}
|
|
@@ -5572,137 +5572,137 @@
|
|
|
5572
5572
|
}
|
|
5573
5573
|
function StringReader(source) {
|
|
5574
5574
|
Reader.call(this);
|
|
5575
|
-
this.
|
|
5576
|
-
this.
|
|
5575
|
+
this.p1e_1 = toString(source);
|
|
5576
|
+
this.q1e_1 = 0;
|
|
5577
5577
|
}
|
|
5578
|
-
protoOf(StringReader).
|
|
5579
|
-
if (this.
|
|
5578
|
+
protoOf(StringReader).k17 = function (buf, offset, len) {
|
|
5579
|
+
if (this.q1e_1 >= this.p1e_1.length)
|
|
5580
5580
|
return -1;
|
|
5581
5581
|
// Inline function 'kotlin.comparisons.minOf' call
|
|
5582
|
-
var b = this.
|
|
5582
|
+
var b = this.p1e_1.length - this.q1e_1 | 0;
|
|
5583
5583
|
var count = Math.min(len, b);
|
|
5584
5584
|
var inductionVariable = 0;
|
|
5585
5585
|
if (inductionVariable < count)
|
|
5586
5586
|
do {
|
|
5587
5587
|
var i = inductionVariable;
|
|
5588
5588
|
inductionVariable = inductionVariable + 1 | 0;
|
|
5589
|
-
buf[i + offset | 0] = charCodeAt(this.
|
|
5589
|
+
buf[i + offset | 0] = charCodeAt(this.p1e_1, this.q1e_1 + i | 0);
|
|
5590
5590
|
}
|
|
5591
5591
|
while (inductionVariable < count);
|
|
5592
|
-
this.
|
|
5592
|
+
this.q1e_1 = this.q1e_1 + count | 0;
|
|
5593
5593
|
return count;
|
|
5594
5594
|
};
|
|
5595
5595
|
//region block: post-declaration
|
|
5596
|
-
protoOf(KtXmlReader).
|
|
5597
|
-
protoOf(PlatformXmlWriterBase).
|
|
5598
|
-
protoOf(XmlStreaming).
|
|
5599
|
-
protoOf(NodeImpl).
|
|
5600
|
-
protoOf(NodeImpl).
|
|
5601
|
-
protoOf(NodeImpl).
|
|
5602
|
-
protoOf(NodeImpl).
|
|
5603
|
-
protoOf(NodeImpl).
|
|
5604
|
-
protoOf(NodeImpl).
|
|
5605
|
-
protoOf(NodeImpl).
|
|
5606
|
-
protoOf(NodeImpl).
|
|
5596
|
+
protoOf(KtXmlReader).b17 = get_name;
|
|
5597
|
+
protoOf(PlatformXmlWriterBase).i17 = startDocument$default;
|
|
5598
|
+
protoOf(XmlStreaming).t16 = newReader$default;
|
|
5599
|
+
protoOf(NodeImpl).j15 = get_nodetype;
|
|
5600
|
+
protoOf(NodeImpl).t1c = get_parentElement;
|
|
5601
|
+
protoOf(NodeImpl).l15 = getNodeName;
|
|
5602
|
+
protoOf(NodeImpl).k15 = getParentNode;
|
|
5603
|
+
protoOf(NodeImpl).x15 = getFirstChild;
|
|
5604
|
+
protoOf(NodeImpl).y15 = getNextSibling;
|
|
5605
|
+
protoOf(NodeImpl).i15 = getNodeType_0;
|
|
5606
|
+
protoOf(NodeImpl).c16 = getTextContent;
|
|
5607
5607
|
defineProp(protoOf(NodeImpl), 'ownerDocument', function () {
|
|
5608
|
-
return this.
|
|
5608
|
+
return this.f1c();
|
|
5609
5609
|
});
|
|
5610
5610
|
defineProp(protoOf(NodeImpl), 'parentNode', function () {
|
|
5611
|
-
return this.
|
|
5611
|
+
return this.g1c();
|
|
5612
5612
|
});
|
|
5613
5613
|
defineProp(protoOf(NodeImpl), 'firstChild', function () {
|
|
5614
|
-
return this.
|
|
5614
|
+
return this.h1c();
|
|
5615
5615
|
});
|
|
5616
5616
|
defineProp(protoOf(NodeImpl), 'lastChild', function () {
|
|
5617
|
-
return this.
|
|
5617
|
+
return this.i1c();
|
|
5618
5618
|
});
|
|
5619
5619
|
defineProp(protoOf(NodeImpl), 'previousSibling', function () {
|
|
5620
|
-
return this.
|
|
5620
|
+
return this.j1c();
|
|
5621
5621
|
});
|
|
5622
5622
|
defineProp(protoOf(NodeImpl), 'nextSibling', function () {
|
|
5623
|
-
return this.
|
|
5623
|
+
return this.k1c();
|
|
5624
5624
|
});
|
|
5625
5625
|
defineProp(protoOf(NodeImpl), 'nodeName', function () {
|
|
5626
|
-
return this.
|
|
5626
|
+
return this.l1c();
|
|
5627
5627
|
});
|
|
5628
5628
|
defineProp(protoOf(NodeImpl), 'nodeType', function () {
|
|
5629
|
-
return this.
|
|
5629
|
+
return this.m1c();
|
|
5630
5630
|
});
|
|
5631
5631
|
defineProp(protoOf(NodeImpl), 'baseURI', function () {
|
|
5632
|
-
return this.
|
|
5632
|
+
return this.n1c();
|
|
5633
5633
|
});
|
|
5634
5634
|
defineProp(protoOf(NodeImpl), 'nodeValue', function () {
|
|
5635
|
-
return this.
|
|
5635
|
+
return this.p1c();
|
|
5636
5636
|
}, function (value) {
|
|
5637
|
-
this.
|
|
5637
|
+
this.o1c(value);
|
|
5638
5638
|
});
|
|
5639
5639
|
defineProp(protoOf(NodeImpl), 'textContent', function () {
|
|
5640
|
-
return this.
|
|
5640
|
+
return this.r1c();
|
|
5641
5641
|
}, function (value) {
|
|
5642
|
-
this.
|
|
5642
|
+
this.q1c(value);
|
|
5643
5643
|
});
|
|
5644
5644
|
defineProp(protoOf(NodeImpl), 'childNodes', function () {
|
|
5645
|
-
return this.
|
|
5645
|
+
return this.s1c();
|
|
5646
5646
|
});
|
|
5647
5647
|
defineProp(protoOf(AttrImpl), 'value', function () {
|
|
5648
5648
|
return this.f1();
|
|
5649
5649
|
}, function (value) {
|
|
5650
|
-
this.
|
|
5650
|
+
this.b1c(value);
|
|
5651
5651
|
});
|
|
5652
5652
|
defineProp(protoOf(AttrImpl), 'namespaceURI', function () {
|
|
5653
|
-
return this.
|
|
5653
|
+
return this.m15();
|
|
5654
5654
|
});
|
|
5655
5655
|
defineProp(protoOf(AttrImpl), 'prefix', function () {
|
|
5656
|
-
return this.
|
|
5656
|
+
return this.q15();
|
|
5657
5657
|
});
|
|
5658
5658
|
defineProp(protoOf(AttrImpl), 'localName', function () {
|
|
5659
|
-
return this.
|
|
5659
|
+
return this.o15();
|
|
5660
5660
|
});
|
|
5661
5661
|
defineProp(protoOf(AttrImpl), 'name', function () {
|
|
5662
|
-
return this.
|
|
5662
|
+
return this.b17();
|
|
5663
5663
|
});
|
|
5664
5664
|
defineProp(protoOf(AttrImpl), 'ownerElement', function () {
|
|
5665
|
-
return this.
|
|
5665
|
+
return this.e1c();
|
|
5666
5666
|
});
|
|
5667
|
-
protoOf(CharacterDataImpl).
|
|
5667
|
+
protoOf(CharacterDataImpl).t15 = getData;
|
|
5668
5668
|
defineProp(protoOf(CharacterDataImpl), 'data', function () {
|
|
5669
|
-
return this.
|
|
5669
|
+
return this.w1c();
|
|
5670
5670
|
}, function (value) {
|
|
5671
|
-
this.
|
|
5671
|
+
this.v1c(value);
|
|
5672
5672
|
});
|
|
5673
|
-
protoOf(DOMImplementationImpl).
|
|
5674
|
-
protoOf(DocumentImpl).
|
|
5675
|
-
protoOf(DocumentImpl).
|
|
5673
|
+
protoOf(DOMImplementationImpl).a1d = createDocument;
|
|
5674
|
+
protoOf(DocumentImpl).s1d = adoptNode;
|
|
5675
|
+
protoOf(DocumentImpl).t1d = importNode;
|
|
5676
5676
|
defineProp(protoOf(DocumentImpl), 'inputEncoding', function () {
|
|
5677
|
-
return this.
|
|
5677
|
+
return this.d1d();
|
|
5678
5678
|
});
|
|
5679
5679
|
defineProp(protoOf(DocumentImpl), 'implementation', function () {
|
|
5680
|
-
return this.
|
|
5680
|
+
return this.e1d();
|
|
5681
5681
|
});
|
|
5682
5682
|
defineProp(protoOf(DocumentImpl), 'doctype', function () {
|
|
5683
|
-
return this.
|
|
5683
|
+
return this.f1d();
|
|
5684
5684
|
});
|
|
5685
5685
|
defineProp(protoOf(DocumentImpl), 'documentElement', function () {
|
|
5686
|
-
return this.
|
|
5686
|
+
return this.g1d();
|
|
5687
5687
|
});
|
|
5688
5688
|
defineProp(protoOf(DocumentTypeImpl), 'name', function () {
|
|
5689
|
-
return this.
|
|
5689
|
+
return this.b17();
|
|
5690
5690
|
});
|
|
5691
5691
|
defineProp(protoOf(DocumentTypeImpl), 'publicId', function () {
|
|
5692
|
-
return this.
|
|
5692
|
+
return this.v1d();
|
|
5693
5693
|
});
|
|
5694
5694
|
defineProp(protoOf(DocumentTypeImpl), 'systemId', function () {
|
|
5695
|
-
return this.
|
|
5695
|
+
return this.w1d();
|
|
5696
5696
|
});
|
|
5697
5697
|
defineProp(protoOf(ProcessingInstructionImpl), 'data', function () {
|
|
5698
|
-
return this.
|
|
5698
|
+
return this.w1c();
|
|
5699
5699
|
}, function (value) {
|
|
5700
|
-
this.
|
|
5700
|
+
this.v1c(value);
|
|
5701
5701
|
});
|
|
5702
5702
|
defineProp(protoOf(ProcessingInstructionImpl), 'target', function () {
|
|
5703
|
-
return this.
|
|
5703
|
+
return this.n1e();
|
|
5704
5704
|
});
|
|
5705
|
-
protoOf(WrappingNodeList).
|
|
5705
|
+
protoOf(WrappingNodeList).s1b = getLength;
|
|
5706
5706
|
protoOf(WrappingNodeList).a = get_length;
|
|
5707
5707
|
protoOf(WrappingNodeList).i = iterator;
|
|
5708
5708
|
protoOf(WrappingNodeList).n = isEmpty;
|