@scalar/api-client-react 0.1.5 → 0.1.7
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/CHANGELOG.md +18 -0
- package/dist/index-CpJxdgyL-B-nlsnys.js +3744 -0
- package/dist/index-CpJxdgyL-Ce2oBOmJ.cjs +5 -0
- package/dist/index.cjs +3431 -52704
- package/dist/index.js +27586 -37498
- package/package.json +7 -16
- package/dist/index-CpJxdgyL-CpJxdgyL.js +0 -4466
- package/dist/index-CpJxdgyL-kqvSXEaG.cjs +0 -4466
- package/dist/index.umd.cjs +0 -57299
|
@@ -1,4466 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
var dom$1 = {};
|
|
4
|
-
var conventions$2 = {};
|
|
5
|
-
function find$1(list, predicate, ac) {
|
|
6
|
-
if (ac === void 0) {
|
|
7
|
-
ac = Array.prototype;
|
|
8
|
-
}
|
|
9
|
-
if (list && typeof ac.find === "function") {
|
|
10
|
-
return ac.find.call(list, predicate);
|
|
11
|
-
}
|
|
12
|
-
for (var i = 0; i < list.length; i++) {
|
|
13
|
-
if (Object.prototype.hasOwnProperty.call(list, i)) {
|
|
14
|
-
var item = list[i];
|
|
15
|
-
if (predicate.call(void 0, item, i, list)) {
|
|
16
|
-
return item;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
function freeze(object, oc) {
|
|
22
|
-
if (oc === void 0) {
|
|
23
|
-
oc = Object;
|
|
24
|
-
}
|
|
25
|
-
return oc && typeof oc.freeze === "function" ? oc.freeze(object) : object;
|
|
26
|
-
}
|
|
27
|
-
function assign(target, source) {
|
|
28
|
-
if (target === null || typeof target !== "object") {
|
|
29
|
-
throw new TypeError("target is not an object");
|
|
30
|
-
}
|
|
31
|
-
for (var key in source) {
|
|
32
|
-
if (Object.prototype.hasOwnProperty.call(source, key)) {
|
|
33
|
-
target[key] = source[key];
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
return target;
|
|
37
|
-
}
|
|
38
|
-
var MIME_TYPE = freeze({
|
|
39
|
-
/**
|
|
40
|
-
* `text/html`, the only mime type that triggers treating an XML document as HTML.
|
|
41
|
-
*
|
|
42
|
-
* @see DOMParser.SupportedType.isHTML
|
|
43
|
-
* @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
|
|
44
|
-
* @see https://en.wikipedia.org/wiki/HTML Wikipedia
|
|
45
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
|
|
46
|
-
* @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring WHATWG HTML Spec
|
|
47
|
-
*/
|
|
48
|
-
HTML: "text/html",
|
|
49
|
-
/**
|
|
50
|
-
* Helper method to check a mime type if it indicates an HTML document
|
|
51
|
-
*
|
|
52
|
-
* @param {string} [value]
|
|
53
|
-
* @returns {boolean}
|
|
54
|
-
*
|
|
55
|
-
* @see https://www.iana.org/assignments/media-types/text/html IANA MimeType registration
|
|
56
|
-
* @see https://en.wikipedia.org/wiki/HTML Wikipedia
|
|
57
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
|
|
58
|
-
* @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring */
|
|
59
|
-
isHTML: function(value) {
|
|
60
|
-
return value === MIME_TYPE.HTML;
|
|
61
|
-
},
|
|
62
|
-
/**
|
|
63
|
-
* `application/xml`, the standard mime type for XML documents.
|
|
64
|
-
*
|
|
65
|
-
* @see https://www.iana.org/assignments/media-types/application/xml IANA MimeType registration
|
|
66
|
-
* @see https://tools.ietf.org/html/rfc7303#section-9.1 RFC 7303
|
|
67
|
-
* @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
|
|
68
|
-
*/
|
|
69
|
-
XML_APPLICATION: "application/xml",
|
|
70
|
-
/**
|
|
71
|
-
* `text/html`, an alias for `application/xml`.
|
|
72
|
-
*
|
|
73
|
-
* @see https://tools.ietf.org/html/rfc7303#section-9.2 RFC 7303
|
|
74
|
-
* @see https://www.iana.org/assignments/media-types/text/xml IANA MimeType registration
|
|
75
|
-
* @see https://en.wikipedia.org/wiki/XML_and_MIME Wikipedia
|
|
76
|
-
*/
|
|
77
|
-
XML_TEXT: "text/xml",
|
|
78
|
-
/**
|
|
79
|
-
* `application/xhtml+xml`, indicates an XML document that has the default HTML namespace,
|
|
80
|
-
* but is parsed as an XML document.
|
|
81
|
-
*
|
|
82
|
-
* @see https://www.iana.org/assignments/media-types/application/xhtml+xml IANA MimeType registration
|
|
83
|
-
* @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument WHATWG DOM Spec
|
|
84
|
-
* @see https://en.wikipedia.org/wiki/XHTML Wikipedia
|
|
85
|
-
*/
|
|
86
|
-
XML_XHTML_APPLICATION: "application/xhtml+xml",
|
|
87
|
-
/**
|
|
88
|
-
* `image/svg+xml`,
|
|
89
|
-
*
|
|
90
|
-
* @see https://www.iana.org/assignments/media-types/image/svg+xml IANA MimeType registration
|
|
91
|
-
* @see https://www.w3.org/TR/SVG11/ W3C SVG 1.1
|
|
92
|
-
* @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia
|
|
93
|
-
*/
|
|
94
|
-
XML_SVG_IMAGE: "image/svg+xml"
|
|
95
|
-
});
|
|
96
|
-
var NAMESPACE$3 = freeze({
|
|
97
|
-
/**
|
|
98
|
-
* The XHTML namespace.
|
|
99
|
-
*
|
|
100
|
-
* @see http://www.w3.org/1999/xhtml
|
|
101
|
-
*/
|
|
102
|
-
HTML: "http://www.w3.org/1999/xhtml",
|
|
103
|
-
/**
|
|
104
|
-
* Checks if `uri` equals `NAMESPACE.HTML`.
|
|
105
|
-
*
|
|
106
|
-
* @param {string} [uri]
|
|
107
|
-
*
|
|
108
|
-
* @see NAMESPACE.HTML
|
|
109
|
-
*/
|
|
110
|
-
isHTML: function(uri) {
|
|
111
|
-
return uri === NAMESPACE$3.HTML;
|
|
112
|
-
},
|
|
113
|
-
/**
|
|
114
|
-
* The SVG namespace.
|
|
115
|
-
*
|
|
116
|
-
* @see http://www.w3.org/2000/svg
|
|
117
|
-
*/
|
|
118
|
-
SVG: "http://www.w3.org/2000/svg",
|
|
119
|
-
/**
|
|
120
|
-
* The `xml:` namespace.
|
|
121
|
-
*
|
|
122
|
-
* @see http://www.w3.org/XML/1998/namespace
|
|
123
|
-
*/
|
|
124
|
-
XML: "http://www.w3.org/XML/1998/namespace",
|
|
125
|
-
/**
|
|
126
|
-
* The `xmlns:` namespace
|
|
127
|
-
*
|
|
128
|
-
* @see https://www.w3.org/2000/xmlns/
|
|
129
|
-
*/
|
|
130
|
-
XMLNS: "http://www.w3.org/2000/xmlns/"
|
|
131
|
-
});
|
|
132
|
-
conventions$2.assign = assign;
|
|
133
|
-
conventions$2.find = find$1;
|
|
134
|
-
conventions$2.freeze = freeze;
|
|
135
|
-
conventions$2.MIME_TYPE = MIME_TYPE;
|
|
136
|
-
conventions$2.NAMESPACE = NAMESPACE$3;
|
|
137
|
-
var conventions$1 = conventions$2;
|
|
138
|
-
var find = conventions$1.find;
|
|
139
|
-
var NAMESPACE$2 = conventions$1.NAMESPACE;
|
|
140
|
-
function notEmptyString(input) {
|
|
141
|
-
return input !== "";
|
|
142
|
-
}
|
|
143
|
-
function splitOnASCIIWhitespace(input) {
|
|
144
|
-
return input ? input.split(/[\t\n\f\r ]+/).filter(notEmptyString) : [];
|
|
145
|
-
}
|
|
146
|
-
function orderedSetReducer(current, element) {
|
|
147
|
-
if (!current.hasOwnProperty(element)) {
|
|
148
|
-
current[element] = true;
|
|
149
|
-
}
|
|
150
|
-
return current;
|
|
151
|
-
}
|
|
152
|
-
function toOrderedSet(input) {
|
|
153
|
-
if (!input)
|
|
154
|
-
return [];
|
|
155
|
-
var list = splitOnASCIIWhitespace(input);
|
|
156
|
-
return Object.keys(list.reduce(orderedSetReducer, {}));
|
|
157
|
-
}
|
|
158
|
-
function arrayIncludes(list) {
|
|
159
|
-
return function(element) {
|
|
160
|
-
return list && list.indexOf(element) !== -1;
|
|
161
|
-
};
|
|
162
|
-
}
|
|
163
|
-
function copy(src, dest) {
|
|
164
|
-
for (var p in src) {
|
|
165
|
-
if (Object.prototype.hasOwnProperty.call(src, p)) {
|
|
166
|
-
dest[p] = src[p];
|
|
167
|
-
}
|
|
168
|
-
}
|
|
169
|
-
}
|
|
170
|
-
function _extends(Class, Super) {
|
|
171
|
-
var pt = Class.prototype;
|
|
172
|
-
if (!(pt instanceof Super)) {
|
|
173
|
-
let t = function() {
|
|
174
|
-
};
|
|
175
|
-
t.prototype = Super.prototype;
|
|
176
|
-
t = new t();
|
|
177
|
-
copy(pt, t);
|
|
178
|
-
Class.prototype = pt = t;
|
|
179
|
-
}
|
|
180
|
-
if (pt.constructor != Class) {
|
|
181
|
-
if (typeof Class != "function") {
|
|
182
|
-
console.error("unknown Class:" + Class);
|
|
183
|
-
}
|
|
184
|
-
pt.constructor = Class;
|
|
185
|
-
}
|
|
186
|
-
}
|
|
187
|
-
var NodeType = {};
|
|
188
|
-
var ELEMENT_NODE = NodeType.ELEMENT_NODE = 1;
|
|
189
|
-
var ATTRIBUTE_NODE = NodeType.ATTRIBUTE_NODE = 2;
|
|
190
|
-
var TEXT_NODE = NodeType.TEXT_NODE = 3;
|
|
191
|
-
var CDATA_SECTION_NODE = NodeType.CDATA_SECTION_NODE = 4;
|
|
192
|
-
var ENTITY_REFERENCE_NODE = NodeType.ENTITY_REFERENCE_NODE = 5;
|
|
193
|
-
var ENTITY_NODE = NodeType.ENTITY_NODE = 6;
|
|
194
|
-
var PROCESSING_INSTRUCTION_NODE = NodeType.PROCESSING_INSTRUCTION_NODE = 7;
|
|
195
|
-
var COMMENT_NODE = NodeType.COMMENT_NODE = 8;
|
|
196
|
-
var DOCUMENT_NODE = NodeType.DOCUMENT_NODE = 9;
|
|
197
|
-
var DOCUMENT_TYPE_NODE = NodeType.DOCUMENT_TYPE_NODE = 10;
|
|
198
|
-
var DOCUMENT_FRAGMENT_NODE = NodeType.DOCUMENT_FRAGMENT_NODE = 11;
|
|
199
|
-
var NOTATION_NODE = NodeType.NOTATION_NODE = 12;
|
|
200
|
-
var ExceptionCode = {};
|
|
201
|
-
var ExceptionMessage = {};
|
|
202
|
-
ExceptionCode.INDEX_SIZE_ERR = (ExceptionMessage[1] = "Index size error", 1);
|
|
203
|
-
ExceptionCode.DOMSTRING_SIZE_ERR = (ExceptionMessage[2] = "DOMString size error", 2);
|
|
204
|
-
var HIERARCHY_REQUEST_ERR = ExceptionCode.HIERARCHY_REQUEST_ERR = (ExceptionMessage[3] = "Hierarchy request error", 3);
|
|
205
|
-
ExceptionCode.WRONG_DOCUMENT_ERR = (ExceptionMessage[4] = "Wrong document", 4);
|
|
206
|
-
ExceptionCode.INVALID_CHARACTER_ERR = (ExceptionMessage[5] = "Invalid character", 5);
|
|
207
|
-
ExceptionCode.NO_DATA_ALLOWED_ERR = (ExceptionMessage[6] = "No data allowed", 6);
|
|
208
|
-
ExceptionCode.NO_MODIFICATION_ALLOWED_ERR = (ExceptionMessage[7] = "No modification allowed", 7);
|
|
209
|
-
var NOT_FOUND_ERR = ExceptionCode.NOT_FOUND_ERR = (ExceptionMessage[8] = "Not found", 8);
|
|
210
|
-
ExceptionCode.NOT_SUPPORTED_ERR = (ExceptionMessage[9] = "Not supported", 9);
|
|
211
|
-
var INUSE_ATTRIBUTE_ERR = ExceptionCode.INUSE_ATTRIBUTE_ERR = (ExceptionMessage[10] = "Attribute in use", 10);
|
|
212
|
-
ExceptionCode.INVALID_STATE_ERR = (ExceptionMessage[11] = "Invalid state", 11);
|
|
213
|
-
ExceptionCode.SYNTAX_ERR = (ExceptionMessage[12] = "Syntax error", 12);
|
|
214
|
-
ExceptionCode.INVALID_MODIFICATION_ERR = (ExceptionMessage[13] = "Invalid modification", 13);
|
|
215
|
-
ExceptionCode.NAMESPACE_ERR = (ExceptionMessage[14] = "Invalid namespace", 14);
|
|
216
|
-
ExceptionCode.INVALID_ACCESS_ERR = (ExceptionMessage[15] = "Invalid access", 15);
|
|
217
|
-
function DOMException(code, message) {
|
|
218
|
-
if (message instanceof Error) {
|
|
219
|
-
var error = message;
|
|
220
|
-
} else {
|
|
221
|
-
error = this;
|
|
222
|
-
Error.call(this, ExceptionMessage[code]);
|
|
223
|
-
this.message = ExceptionMessage[code];
|
|
224
|
-
if (Error.captureStackTrace)
|
|
225
|
-
Error.captureStackTrace(this, DOMException);
|
|
226
|
-
}
|
|
227
|
-
error.code = code;
|
|
228
|
-
if (message)
|
|
229
|
-
this.message = this.message + ": " + message;
|
|
230
|
-
return error;
|
|
231
|
-
}
|
|
232
|
-
DOMException.prototype = Error.prototype;
|
|
233
|
-
copy(ExceptionCode, DOMException);
|
|
234
|
-
function NodeList() {
|
|
235
|
-
}
|
|
236
|
-
NodeList.prototype = {
|
|
237
|
-
/**
|
|
238
|
-
* The number of nodes in the list. The range of valid child node indices is 0 to length-1 inclusive.
|
|
239
|
-
* @standard level1
|
|
240
|
-
*/
|
|
241
|
-
length: 0,
|
|
242
|
-
/**
|
|
243
|
-
* Returns the indexth item in the collection. If index is greater than or equal to the number of nodes in the list, this returns null.
|
|
244
|
-
* @standard level1
|
|
245
|
-
* @param index unsigned long
|
|
246
|
-
* Index into the collection.
|
|
247
|
-
* @return Node
|
|
248
|
-
* The node at the indexth position in the NodeList, or null if that is not a valid index.
|
|
249
|
-
*/
|
|
250
|
-
item: function(index2) {
|
|
251
|
-
return index2 >= 0 && index2 < this.length ? this[index2] : null;
|
|
252
|
-
},
|
|
253
|
-
toString: function(isHTML, nodeFilter) {
|
|
254
|
-
for (var buf = [], i = 0; i < this.length; i++) {
|
|
255
|
-
serializeToString(this[i], buf, isHTML, nodeFilter);
|
|
256
|
-
}
|
|
257
|
-
return buf.join("");
|
|
258
|
-
},
|
|
259
|
-
/**
|
|
260
|
-
* @private
|
|
261
|
-
* @param {function (Node):boolean} predicate
|
|
262
|
-
* @returns {Node[]}
|
|
263
|
-
*/
|
|
264
|
-
filter: function(predicate) {
|
|
265
|
-
return Array.prototype.filter.call(this, predicate);
|
|
266
|
-
},
|
|
267
|
-
/**
|
|
268
|
-
* @private
|
|
269
|
-
* @param {Node} item
|
|
270
|
-
* @returns {number}
|
|
271
|
-
*/
|
|
272
|
-
indexOf: function(item) {
|
|
273
|
-
return Array.prototype.indexOf.call(this, item);
|
|
274
|
-
}
|
|
275
|
-
};
|
|
276
|
-
function LiveNodeList(node, refresh) {
|
|
277
|
-
this._node = node;
|
|
278
|
-
this._refresh = refresh;
|
|
279
|
-
_updateLiveList(this);
|
|
280
|
-
}
|
|
281
|
-
function _updateLiveList(list) {
|
|
282
|
-
var inc = list._node._inc || list._node.ownerDocument._inc;
|
|
283
|
-
if (list._inc !== inc) {
|
|
284
|
-
var ls = list._refresh(list._node);
|
|
285
|
-
__set__(list, "length", ls.length);
|
|
286
|
-
if (!list.$$length || ls.length < list.$$length) {
|
|
287
|
-
for (var i = ls.length; i in list; i++) {
|
|
288
|
-
if (Object.prototype.hasOwnProperty.call(list, i)) {
|
|
289
|
-
delete list[i];
|
|
290
|
-
}
|
|
291
|
-
}
|
|
292
|
-
}
|
|
293
|
-
copy(ls, list);
|
|
294
|
-
list._inc = inc;
|
|
295
|
-
}
|
|
296
|
-
}
|
|
297
|
-
LiveNodeList.prototype.item = function(i) {
|
|
298
|
-
_updateLiveList(this);
|
|
299
|
-
return this[i] || null;
|
|
300
|
-
};
|
|
301
|
-
_extends(LiveNodeList, NodeList);
|
|
302
|
-
function NamedNodeMap() {
|
|
303
|
-
}
|
|
304
|
-
function _findNodeIndex(list, node) {
|
|
305
|
-
var i = list.length;
|
|
306
|
-
while (i--) {
|
|
307
|
-
if (list[i] === node) {
|
|
308
|
-
return i;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
}
|
|
312
|
-
function _addNamedNode(el, list, newAttr, oldAttr) {
|
|
313
|
-
if (oldAttr) {
|
|
314
|
-
list[_findNodeIndex(list, oldAttr)] = newAttr;
|
|
315
|
-
} else {
|
|
316
|
-
list[list.length++] = newAttr;
|
|
317
|
-
}
|
|
318
|
-
if (el) {
|
|
319
|
-
newAttr.ownerElement = el;
|
|
320
|
-
var doc = el.ownerDocument;
|
|
321
|
-
if (doc) {
|
|
322
|
-
oldAttr && _onRemoveAttribute(doc, el, oldAttr);
|
|
323
|
-
_onAddAttribute(doc, el, newAttr);
|
|
324
|
-
}
|
|
325
|
-
}
|
|
326
|
-
}
|
|
327
|
-
function _removeNamedNode(el, list, attr) {
|
|
328
|
-
var i = _findNodeIndex(list, attr);
|
|
329
|
-
if (i >= 0) {
|
|
330
|
-
var lastIndex = list.length - 1;
|
|
331
|
-
while (i < lastIndex) {
|
|
332
|
-
list[i] = list[++i];
|
|
333
|
-
}
|
|
334
|
-
list.length = lastIndex;
|
|
335
|
-
if (el) {
|
|
336
|
-
var doc = el.ownerDocument;
|
|
337
|
-
if (doc) {
|
|
338
|
-
_onRemoveAttribute(doc, el, attr);
|
|
339
|
-
attr.ownerElement = null;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
} else {
|
|
343
|
-
throw new DOMException(NOT_FOUND_ERR, new Error(el.tagName + "@" + attr));
|
|
344
|
-
}
|
|
345
|
-
}
|
|
346
|
-
NamedNodeMap.prototype = {
|
|
347
|
-
length: 0,
|
|
348
|
-
item: NodeList.prototype.item,
|
|
349
|
-
getNamedItem: function(key) {
|
|
350
|
-
var i = this.length;
|
|
351
|
-
while (i--) {
|
|
352
|
-
var attr = this[i];
|
|
353
|
-
if (attr.nodeName == key) {
|
|
354
|
-
return attr;
|
|
355
|
-
}
|
|
356
|
-
}
|
|
357
|
-
},
|
|
358
|
-
setNamedItem: function(attr) {
|
|
359
|
-
var el = attr.ownerElement;
|
|
360
|
-
if (el && el != this._ownerElement) {
|
|
361
|
-
throw new DOMException(INUSE_ATTRIBUTE_ERR);
|
|
362
|
-
}
|
|
363
|
-
var oldAttr = this.getNamedItem(attr.nodeName);
|
|
364
|
-
_addNamedNode(this._ownerElement, this, attr, oldAttr);
|
|
365
|
-
return oldAttr;
|
|
366
|
-
},
|
|
367
|
-
/* returns Node */
|
|
368
|
-
setNamedItemNS: function(attr) {
|
|
369
|
-
var el = attr.ownerElement, oldAttr;
|
|
370
|
-
if (el && el != this._ownerElement) {
|
|
371
|
-
throw new DOMException(INUSE_ATTRIBUTE_ERR);
|
|
372
|
-
}
|
|
373
|
-
oldAttr = this.getNamedItemNS(attr.namespaceURI, attr.localName);
|
|
374
|
-
_addNamedNode(this._ownerElement, this, attr, oldAttr);
|
|
375
|
-
return oldAttr;
|
|
376
|
-
},
|
|
377
|
-
/* returns Node */
|
|
378
|
-
removeNamedItem: function(key) {
|
|
379
|
-
var attr = this.getNamedItem(key);
|
|
380
|
-
_removeNamedNode(this._ownerElement, this, attr);
|
|
381
|
-
return attr;
|
|
382
|
-
},
|
|
383
|
-
// raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
|
|
384
|
-
//for level2
|
|
385
|
-
removeNamedItemNS: function(namespaceURI, localName) {
|
|
386
|
-
var attr = this.getNamedItemNS(namespaceURI, localName);
|
|
387
|
-
_removeNamedNode(this._ownerElement, this, attr);
|
|
388
|
-
return attr;
|
|
389
|
-
},
|
|
390
|
-
getNamedItemNS: function(namespaceURI, localName) {
|
|
391
|
-
var i = this.length;
|
|
392
|
-
while (i--) {
|
|
393
|
-
var node = this[i];
|
|
394
|
-
if (node.localName == localName && node.namespaceURI == namespaceURI) {
|
|
395
|
-
return node;
|
|
396
|
-
}
|
|
397
|
-
}
|
|
398
|
-
return null;
|
|
399
|
-
}
|
|
400
|
-
};
|
|
401
|
-
function DOMImplementation$1() {
|
|
402
|
-
}
|
|
403
|
-
DOMImplementation$1.prototype = {
|
|
404
|
-
/**
|
|
405
|
-
* The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
|
|
406
|
-
* The different implementations fairly diverged in what kind of features were reported.
|
|
407
|
-
* The latest version of the spec settled to force this method to always return true, where the functionality was accurate and in use.
|
|
408
|
-
*
|
|
409
|
-
* @deprecated It is deprecated and modern browsers return true in all cases.
|
|
410
|
-
*
|
|
411
|
-
* @param {string} feature
|
|
412
|
-
* @param {string} [version]
|
|
413
|
-
* @returns {boolean} always true
|
|
414
|
-
*
|
|
415
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/hasFeature MDN
|
|
416
|
-
* @see https://www.w3.org/TR/REC-DOM-Level-1/level-one-core.html#ID-5CED94D7 DOM Level 1 Core
|
|
417
|
-
* @see https://dom.spec.whatwg.org/#dom-domimplementation-hasfeature DOM Living Standard
|
|
418
|
-
*/
|
|
419
|
-
hasFeature: function(feature, version) {
|
|
420
|
-
return true;
|
|
421
|
-
},
|
|
422
|
-
/**
|
|
423
|
-
* Creates an XML Document object of the specified type with its document element.
|
|
424
|
-
*
|
|
425
|
-
* __It behaves slightly different from the description in the living standard__:
|
|
426
|
-
* - There is no interface/class `XMLDocument`, it returns a `Document` instance.
|
|
427
|
-
* - `contentType`, `encoding`, `mode`, `origin`, `url` fields are currently not declared.
|
|
428
|
-
* - this implementation is not validating names or qualified names
|
|
429
|
-
* (when parsing XML strings, the SAX parser takes care of that)
|
|
430
|
-
*
|
|
431
|
-
* @param {string|null} namespaceURI
|
|
432
|
-
* @param {string} qualifiedName
|
|
433
|
-
* @param {DocumentType=null} doctype
|
|
434
|
-
* @returns {Document}
|
|
435
|
-
*
|
|
436
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocument MDN
|
|
437
|
-
* @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocument DOM Level 2 Core (initial)
|
|
438
|
-
* @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocument DOM Level 2 Core
|
|
439
|
-
*
|
|
440
|
-
* @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
|
|
441
|
-
* @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
|
|
442
|
-
* @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
|
|
443
|
-
*/
|
|
444
|
-
createDocument: function(namespaceURI, qualifiedName, doctype) {
|
|
445
|
-
var doc = new Document();
|
|
446
|
-
doc.implementation = this;
|
|
447
|
-
doc.childNodes = new NodeList();
|
|
448
|
-
doc.doctype = doctype || null;
|
|
449
|
-
if (doctype) {
|
|
450
|
-
doc.appendChild(doctype);
|
|
451
|
-
}
|
|
452
|
-
if (qualifiedName) {
|
|
453
|
-
var root = doc.createElementNS(namespaceURI, qualifiedName);
|
|
454
|
-
doc.appendChild(root);
|
|
455
|
-
}
|
|
456
|
-
return doc;
|
|
457
|
-
},
|
|
458
|
-
/**
|
|
459
|
-
* Returns a doctype, with the given `qualifiedName`, `publicId`, and `systemId`.
|
|
460
|
-
*
|
|
461
|
-
* __This behavior is slightly different from the in the specs__:
|
|
462
|
-
* - this implementation is not validating names or qualified names
|
|
463
|
-
* (when parsing XML strings, the SAX parser takes care of that)
|
|
464
|
-
*
|
|
465
|
-
* @param {string} qualifiedName
|
|
466
|
-
* @param {string} [publicId]
|
|
467
|
-
* @param {string} [systemId]
|
|
468
|
-
* @returns {DocumentType} which can either be used with `DOMImplementation.createDocument` upon document creation
|
|
469
|
-
* or can be put into the document via methods like `Node.insertBefore()` or `Node.replaceChild()`
|
|
470
|
-
*
|
|
471
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/DOMImplementation/createDocumentType MDN
|
|
472
|
-
* @see https://www.w3.org/TR/DOM-Level-2-Core/core.html#Level-2-Core-DOM-createDocType DOM Level 2 Core
|
|
473
|
-
* @see https://dom.spec.whatwg.org/#dom-domimplementation-createdocumenttype DOM Living Standard
|
|
474
|
-
*
|
|
475
|
-
* @see https://dom.spec.whatwg.org/#validate-and-extract DOM: Validate and extract
|
|
476
|
-
* @see https://www.w3.org/TR/xml/#NT-NameStartChar XML Spec: Names
|
|
477
|
-
* @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
|
|
478
|
-
*/
|
|
479
|
-
createDocumentType: function(qualifiedName, publicId, systemId) {
|
|
480
|
-
var node = new DocumentType();
|
|
481
|
-
node.name = qualifiedName;
|
|
482
|
-
node.nodeName = qualifiedName;
|
|
483
|
-
node.publicId = publicId || "";
|
|
484
|
-
node.systemId = systemId || "";
|
|
485
|
-
return node;
|
|
486
|
-
}
|
|
487
|
-
};
|
|
488
|
-
function Node() {
|
|
489
|
-
}
|
|
490
|
-
Node.prototype = {
|
|
491
|
-
firstChild: null,
|
|
492
|
-
lastChild: null,
|
|
493
|
-
previousSibling: null,
|
|
494
|
-
nextSibling: null,
|
|
495
|
-
attributes: null,
|
|
496
|
-
parentNode: null,
|
|
497
|
-
childNodes: null,
|
|
498
|
-
ownerDocument: null,
|
|
499
|
-
nodeValue: null,
|
|
500
|
-
namespaceURI: null,
|
|
501
|
-
prefix: null,
|
|
502
|
-
localName: null,
|
|
503
|
-
// Modified in DOM Level 2:
|
|
504
|
-
insertBefore: function(newChild, refChild) {
|
|
505
|
-
return _insertBefore(this, newChild, refChild);
|
|
506
|
-
},
|
|
507
|
-
replaceChild: function(newChild, oldChild) {
|
|
508
|
-
_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
|
|
509
|
-
if (oldChild) {
|
|
510
|
-
this.removeChild(oldChild);
|
|
511
|
-
}
|
|
512
|
-
},
|
|
513
|
-
removeChild: function(oldChild) {
|
|
514
|
-
return _removeChild(this, oldChild);
|
|
515
|
-
},
|
|
516
|
-
appendChild: function(newChild) {
|
|
517
|
-
return this.insertBefore(newChild, null);
|
|
518
|
-
},
|
|
519
|
-
hasChildNodes: function() {
|
|
520
|
-
return this.firstChild != null;
|
|
521
|
-
},
|
|
522
|
-
cloneNode: function(deep) {
|
|
523
|
-
return cloneNode(this.ownerDocument || this, this, deep);
|
|
524
|
-
},
|
|
525
|
-
// Modified in DOM Level 2:
|
|
526
|
-
normalize: function() {
|
|
527
|
-
var child = this.firstChild;
|
|
528
|
-
while (child) {
|
|
529
|
-
var next = child.nextSibling;
|
|
530
|
-
if (next && next.nodeType == TEXT_NODE && child.nodeType == TEXT_NODE) {
|
|
531
|
-
this.removeChild(next);
|
|
532
|
-
child.appendData(next.data);
|
|
533
|
-
} else {
|
|
534
|
-
child.normalize();
|
|
535
|
-
child = next;
|
|
536
|
-
}
|
|
537
|
-
}
|
|
538
|
-
},
|
|
539
|
-
// Introduced in DOM Level 2:
|
|
540
|
-
isSupported: function(feature, version) {
|
|
541
|
-
return this.ownerDocument.implementation.hasFeature(feature, version);
|
|
542
|
-
},
|
|
543
|
-
// Introduced in DOM Level 2:
|
|
544
|
-
hasAttributes: function() {
|
|
545
|
-
return this.attributes.length > 0;
|
|
546
|
-
},
|
|
547
|
-
/**
|
|
548
|
-
* Look up the prefix associated to the given namespace URI, starting from this node.
|
|
549
|
-
* **The default namespace declarations are ignored by this method.**
|
|
550
|
-
* See Namespace Prefix Lookup for details on the algorithm used by this method.
|
|
551
|
-
*
|
|
552
|
-
* _Note: The implementation seems to be incomplete when compared to the algorithm described in the specs._
|
|
553
|
-
*
|
|
554
|
-
* @param {string | null} namespaceURI
|
|
555
|
-
* @returns {string | null}
|
|
556
|
-
* @see https://www.w3.org/TR/DOM-Level-3-Core/core.html#Node3-lookupNamespacePrefix
|
|
557
|
-
* @see https://www.w3.org/TR/DOM-Level-3-Core/namespaces-algorithms.html#lookupNamespacePrefixAlgo
|
|
558
|
-
* @see https://dom.spec.whatwg.org/#dom-node-lookupprefix
|
|
559
|
-
* @see https://github.com/xmldom/xmldom/issues/322
|
|
560
|
-
*/
|
|
561
|
-
lookupPrefix: function(namespaceURI) {
|
|
562
|
-
var el = this;
|
|
563
|
-
while (el) {
|
|
564
|
-
var map = el._nsMap;
|
|
565
|
-
if (map) {
|
|
566
|
-
for (var n in map) {
|
|
567
|
-
if (Object.prototype.hasOwnProperty.call(map, n) && map[n] === namespaceURI) {
|
|
568
|
-
return n;
|
|
569
|
-
}
|
|
570
|
-
}
|
|
571
|
-
}
|
|
572
|
-
el = el.nodeType == ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;
|
|
573
|
-
}
|
|
574
|
-
return null;
|
|
575
|
-
},
|
|
576
|
-
// Introduced in DOM Level 3:
|
|
577
|
-
lookupNamespaceURI: function(prefix) {
|
|
578
|
-
var el = this;
|
|
579
|
-
while (el) {
|
|
580
|
-
var map = el._nsMap;
|
|
581
|
-
if (map) {
|
|
582
|
-
if (Object.prototype.hasOwnProperty.call(map, prefix)) {
|
|
583
|
-
return map[prefix];
|
|
584
|
-
}
|
|
585
|
-
}
|
|
586
|
-
el = el.nodeType == ATTRIBUTE_NODE ? el.ownerDocument : el.parentNode;
|
|
587
|
-
}
|
|
588
|
-
return null;
|
|
589
|
-
},
|
|
590
|
-
// Introduced in DOM Level 3:
|
|
591
|
-
isDefaultNamespace: function(namespaceURI) {
|
|
592
|
-
var prefix = this.lookupPrefix(namespaceURI);
|
|
593
|
-
return prefix == null;
|
|
594
|
-
}
|
|
595
|
-
};
|
|
596
|
-
function _xmlEncoder(c) {
|
|
597
|
-
return c == "<" && "<" || c == ">" && ">" || c == "&" && "&" || c == '"' && """ || "&#" + c.charCodeAt() + ";";
|
|
598
|
-
}
|
|
599
|
-
copy(NodeType, Node);
|
|
600
|
-
copy(NodeType, Node.prototype);
|
|
601
|
-
function _visitNode(node, callback) {
|
|
602
|
-
if (callback(node)) {
|
|
603
|
-
return true;
|
|
604
|
-
}
|
|
605
|
-
if (node = node.firstChild) {
|
|
606
|
-
do {
|
|
607
|
-
if (_visitNode(node, callback)) {
|
|
608
|
-
return true;
|
|
609
|
-
}
|
|
610
|
-
} while (node = node.nextSibling);
|
|
611
|
-
}
|
|
612
|
-
}
|
|
613
|
-
function Document() {
|
|
614
|
-
this.ownerDocument = this;
|
|
615
|
-
}
|
|
616
|
-
function _onAddAttribute(doc, el, newAttr) {
|
|
617
|
-
doc && doc._inc++;
|
|
618
|
-
var ns = newAttr.namespaceURI;
|
|
619
|
-
if (ns === NAMESPACE$2.XMLNS) {
|
|
620
|
-
el._nsMap[newAttr.prefix ? newAttr.localName : ""] = newAttr.value;
|
|
621
|
-
}
|
|
622
|
-
}
|
|
623
|
-
function _onRemoveAttribute(doc, el, newAttr, remove) {
|
|
624
|
-
doc && doc._inc++;
|
|
625
|
-
var ns = newAttr.namespaceURI;
|
|
626
|
-
if (ns === NAMESPACE$2.XMLNS) {
|
|
627
|
-
delete el._nsMap[newAttr.prefix ? newAttr.localName : ""];
|
|
628
|
-
}
|
|
629
|
-
}
|
|
630
|
-
function _onUpdateChild(doc, el, newChild) {
|
|
631
|
-
if (doc && doc._inc) {
|
|
632
|
-
doc._inc++;
|
|
633
|
-
var cs = el.childNodes;
|
|
634
|
-
if (newChild) {
|
|
635
|
-
cs[cs.length++] = newChild;
|
|
636
|
-
} else {
|
|
637
|
-
var child = el.firstChild;
|
|
638
|
-
var i = 0;
|
|
639
|
-
while (child) {
|
|
640
|
-
cs[i++] = child;
|
|
641
|
-
child = child.nextSibling;
|
|
642
|
-
}
|
|
643
|
-
cs.length = i;
|
|
644
|
-
delete cs[cs.length];
|
|
645
|
-
}
|
|
646
|
-
}
|
|
647
|
-
}
|
|
648
|
-
function _removeChild(parentNode, child) {
|
|
649
|
-
var previous = child.previousSibling;
|
|
650
|
-
var next = child.nextSibling;
|
|
651
|
-
if (previous) {
|
|
652
|
-
previous.nextSibling = next;
|
|
653
|
-
} else {
|
|
654
|
-
parentNode.firstChild = next;
|
|
655
|
-
}
|
|
656
|
-
if (next) {
|
|
657
|
-
next.previousSibling = previous;
|
|
658
|
-
} else {
|
|
659
|
-
parentNode.lastChild = previous;
|
|
660
|
-
}
|
|
661
|
-
child.parentNode = null;
|
|
662
|
-
child.previousSibling = null;
|
|
663
|
-
child.nextSibling = null;
|
|
664
|
-
_onUpdateChild(parentNode.ownerDocument, parentNode);
|
|
665
|
-
return child;
|
|
666
|
-
}
|
|
667
|
-
function hasValidParentNodeType(node) {
|
|
668
|
-
return node && (node.nodeType === Node.DOCUMENT_NODE || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.ELEMENT_NODE);
|
|
669
|
-
}
|
|
670
|
-
function hasInsertableNodeType(node) {
|
|
671
|
-
return node && (isElementNode(node) || isTextNode(node) || isDocTypeNode(node) || node.nodeType === Node.DOCUMENT_FRAGMENT_NODE || node.nodeType === Node.COMMENT_NODE || node.nodeType === Node.PROCESSING_INSTRUCTION_NODE);
|
|
672
|
-
}
|
|
673
|
-
function isDocTypeNode(node) {
|
|
674
|
-
return node && node.nodeType === Node.DOCUMENT_TYPE_NODE;
|
|
675
|
-
}
|
|
676
|
-
function isElementNode(node) {
|
|
677
|
-
return node && node.nodeType === Node.ELEMENT_NODE;
|
|
678
|
-
}
|
|
679
|
-
function isTextNode(node) {
|
|
680
|
-
return node && node.nodeType === Node.TEXT_NODE;
|
|
681
|
-
}
|
|
682
|
-
function isElementInsertionPossible(doc, child) {
|
|
683
|
-
var parentChildNodes = doc.childNodes || [];
|
|
684
|
-
if (find(parentChildNodes, isElementNode) || isDocTypeNode(child)) {
|
|
685
|
-
return false;
|
|
686
|
-
}
|
|
687
|
-
var docTypeNode = find(parentChildNodes, isDocTypeNode);
|
|
688
|
-
return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
|
|
689
|
-
}
|
|
690
|
-
function isElementReplacementPossible(doc, child) {
|
|
691
|
-
var parentChildNodes = doc.childNodes || [];
|
|
692
|
-
function hasElementChildThatIsNotChild(node) {
|
|
693
|
-
return isElementNode(node) && node !== child;
|
|
694
|
-
}
|
|
695
|
-
if (find(parentChildNodes, hasElementChildThatIsNotChild)) {
|
|
696
|
-
return false;
|
|
697
|
-
}
|
|
698
|
-
var docTypeNode = find(parentChildNodes, isDocTypeNode);
|
|
699
|
-
return !(child && docTypeNode && parentChildNodes.indexOf(docTypeNode) > parentChildNodes.indexOf(child));
|
|
700
|
-
}
|
|
701
|
-
function assertPreInsertionValidity1to5(parent, node, child) {
|
|
702
|
-
if (!hasValidParentNodeType(parent)) {
|
|
703
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Unexpected parent node type " + parent.nodeType);
|
|
704
|
-
}
|
|
705
|
-
if (child && child.parentNode !== parent) {
|
|
706
|
-
throw new DOMException(NOT_FOUND_ERR, "child not in parent");
|
|
707
|
-
}
|
|
708
|
-
if (
|
|
709
|
-
// 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException.
|
|
710
|
-
!hasInsertableNodeType(node) || // 5. If either `node` is a Text node and `parent` is a document,
|
|
711
|
-
// the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
|
|
712
|
-
// || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
|
|
713
|
-
// or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
|
|
714
|
-
isDocTypeNode(node) && parent.nodeType !== Node.DOCUMENT_NODE
|
|
715
|
-
) {
|
|
716
|
-
throw new DOMException(
|
|
717
|
-
HIERARCHY_REQUEST_ERR,
|
|
718
|
-
"Unexpected node type " + node.nodeType + " for parent node type " + parent.nodeType
|
|
719
|
-
);
|
|
720
|
-
}
|
|
721
|
-
}
|
|
722
|
-
function assertPreInsertionValidityInDocument(parent, node, child) {
|
|
723
|
-
var parentChildNodes = parent.childNodes || [];
|
|
724
|
-
var nodeChildNodes = node.childNodes || [];
|
|
725
|
-
if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
726
|
-
var nodeChildElements = nodeChildNodes.filter(isElementNode);
|
|
727
|
-
if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
|
|
728
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "More than one element or text in fragment");
|
|
729
|
-
}
|
|
730
|
-
if (nodeChildElements.length === 1 && !isElementInsertionPossible(parent, child)) {
|
|
731
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Element in fragment can not be inserted before doctype");
|
|
732
|
-
}
|
|
733
|
-
}
|
|
734
|
-
if (isElementNode(node)) {
|
|
735
|
-
if (!isElementInsertionPossible(parent, child)) {
|
|
736
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Only one element can be added and only after doctype");
|
|
737
|
-
}
|
|
738
|
-
}
|
|
739
|
-
if (isDocTypeNode(node)) {
|
|
740
|
-
if (find(parentChildNodes, isDocTypeNode)) {
|
|
741
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Only one doctype is allowed");
|
|
742
|
-
}
|
|
743
|
-
var parentElementChild = find(parentChildNodes, isElementNode);
|
|
744
|
-
if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
|
|
745
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Doctype can only be inserted before an element");
|
|
746
|
-
}
|
|
747
|
-
if (!child && parentElementChild) {
|
|
748
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Doctype can not be appended since element is present");
|
|
749
|
-
}
|
|
750
|
-
}
|
|
751
|
-
}
|
|
752
|
-
function assertPreReplacementValidityInDocument(parent, node, child) {
|
|
753
|
-
var parentChildNodes = parent.childNodes || [];
|
|
754
|
-
var nodeChildNodes = node.childNodes || [];
|
|
755
|
-
if (node.nodeType === Node.DOCUMENT_FRAGMENT_NODE) {
|
|
756
|
-
var nodeChildElements = nodeChildNodes.filter(isElementNode);
|
|
757
|
-
if (nodeChildElements.length > 1 || find(nodeChildNodes, isTextNode)) {
|
|
758
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "More than one element or text in fragment");
|
|
759
|
-
}
|
|
760
|
-
if (nodeChildElements.length === 1 && !isElementReplacementPossible(parent, child)) {
|
|
761
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Element in fragment can not be inserted before doctype");
|
|
762
|
-
}
|
|
763
|
-
}
|
|
764
|
-
if (isElementNode(node)) {
|
|
765
|
-
if (!isElementReplacementPossible(parent, child)) {
|
|
766
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Only one element can be added and only after doctype");
|
|
767
|
-
}
|
|
768
|
-
}
|
|
769
|
-
if (isDocTypeNode(node)) {
|
|
770
|
-
let hasDoctypeChildThatIsNotChild = function(node2) {
|
|
771
|
-
return isDocTypeNode(node2) && node2 !== child;
|
|
772
|
-
};
|
|
773
|
-
if (find(parentChildNodes, hasDoctypeChildThatIsNotChild)) {
|
|
774
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Only one doctype is allowed");
|
|
775
|
-
}
|
|
776
|
-
var parentElementChild = find(parentChildNodes, isElementNode);
|
|
777
|
-
if (child && parentChildNodes.indexOf(parentElementChild) < parentChildNodes.indexOf(child)) {
|
|
778
|
-
throw new DOMException(HIERARCHY_REQUEST_ERR, "Doctype can only be inserted before an element");
|
|
779
|
-
}
|
|
780
|
-
}
|
|
781
|
-
}
|
|
782
|
-
function _insertBefore(parent, node, child, _inDocumentAssertion) {
|
|
783
|
-
assertPreInsertionValidity1to5(parent, node, child);
|
|
784
|
-
if (parent.nodeType === Node.DOCUMENT_NODE) {
|
|
785
|
-
(_inDocumentAssertion || assertPreInsertionValidityInDocument)(parent, node, child);
|
|
786
|
-
}
|
|
787
|
-
var cp = node.parentNode;
|
|
788
|
-
if (cp) {
|
|
789
|
-
cp.removeChild(node);
|
|
790
|
-
}
|
|
791
|
-
if (node.nodeType === DOCUMENT_FRAGMENT_NODE) {
|
|
792
|
-
var newFirst = node.firstChild;
|
|
793
|
-
if (newFirst == null) {
|
|
794
|
-
return node;
|
|
795
|
-
}
|
|
796
|
-
var newLast = node.lastChild;
|
|
797
|
-
} else {
|
|
798
|
-
newFirst = newLast = node;
|
|
799
|
-
}
|
|
800
|
-
var pre = child ? child.previousSibling : parent.lastChild;
|
|
801
|
-
newFirst.previousSibling = pre;
|
|
802
|
-
newLast.nextSibling = child;
|
|
803
|
-
if (pre) {
|
|
804
|
-
pre.nextSibling = newFirst;
|
|
805
|
-
} else {
|
|
806
|
-
parent.firstChild = newFirst;
|
|
807
|
-
}
|
|
808
|
-
if (child == null) {
|
|
809
|
-
parent.lastChild = newLast;
|
|
810
|
-
} else {
|
|
811
|
-
child.previousSibling = newLast;
|
|
812
|
-
}
|
|
813
|
-
do {
|
|
814
|
-
newFirst.parentNode = parent;
|
|
815
|
-
} while (newFirst !== newLast && (newFirst = newFirst.nextSibling));
|
|
816
|
-
_onUpdateChild(parent.ownerDocument || parent, parent);
|
|
817
|
-
if (node.nodeType == DOCUMENT_FRAGMENT_NODE) {
|
|
818
|
-
node.firstChild = node.lastChild = null;
|
|
819
|
-
}
|
|
820
|
-
return node;
|
|
821
|
-
}
|
|
822
|
-
function _appendSingleChild(parentNode, newChild) {
|
|
823
|
-
if (newChild.parentNode) {
|
|
824
|
-
newChild.parentNode.removeChild(newChild);
|
|
825
|
-
}
|
|
826
|
-
newChild.parentNode = parentNode;
|
|
827
|
-
newChild.previousSibling = parentNode.lastChild;
|
|
828
|
-
newChild.nextSibling = null;
|
|
829
|
-
if (newChild.previousSibling) {
|
|
830
|
-
newChild.previousSibling.nextSibling = newChild;
|
|
831
|
-
} else {
|
|
832
|
-
parentNode.firstChild = newChild;
|
|
833
|
-
}
|
|
834
|
-
parentNode.lastChild = newChild;
|
|
835
|
-
_onUpdateChild(parentNode.ownerDocument, parentNode, newChild);
|
|
836
|
-
return newChild;
|
|
837
|
-
}
|
|
838
|
-
Document.prototype = {
|
|
839
|
-
//implementation : null,
|
|
840
|
-
nodeName: "#document",
|
|
841
|
-
nodeType: DOCUMENT_NODE,
|
|
842
|
-
/**
|
|
843
|
-
* The DocumentType node of the document.
|
|
844
|
-
*
|
|
845
|
-
* @readonly
|
|
846
|
-
* @type DocumentType
|
|
847
|
-
*/
|
|
848
|
-
doctype: null,
|
|
849
|
-
documentElement: null,
|
|
850
|
-
_inc: 1,
|
|
851
|
-
insertBefore: function(newChild, refChild) {
|
|
852
|
-
if (newChild.nodeType == DOCUMENT_FRAGMENT_NODE) {
|
|
853
|
-
var child = newChild.firstChild;
|
|
854
|
-
while (child) {
|
|
855
|
-
var next = child.nextSibling;
|
|
856
|
-
this.insertBefore(child, refChild);
|
|
857
|
-
child = next;
|
|
858
|
-
}
|
|
859
|
-
return newChild;
|
|
860
|
-
}
|
|
861
|
-
_insertBefore(this, newChild, refChild);
|
|
862
|
-
newChild.ownerDocument = this;
|
|
863
|
-
if (this.documentElement === null && newChild.nodeType === ELEMENT_NODE) {
|
|
864
|
-
this.documentElement = newChild;
|
|
865
|
-
}
|
|
866
|
-
return newChild;
|
|
867
|
-
},
|
|
868
|
-
removeChild: function(oldChild) {
|
|
869
|
-
if (this.documentElement == oldChild) {
|
|
870
|
-
this.documentElement = null;
|
|
871
|
-
}
|
|
872
|
-
return _removeChild(this, oldChild);
|
|
873
|
-
},
|
|
874
|
-
replaceChild: function(newChild, oldChild) {
|
|
875
|
-
_insertBefore(this, newChild, oldChild, assertPreReplacementValidityInDocument);
|
|
876
|
-
newChild.ownerDocument = this;
|
|
877
|
-
if (oldChild) {
|
|
878
|
-
this.removeChild(oldChild);
|
|
879
|
-
}
|
|
880
|
-
if (isElementNode(newChild)) {
|
|
881
|
-
this.documentElement = newChild;
|
|
882
|
-
}
|
|
883
|
-
},
|
|
884
|
-
// Introduced in DOM Level 2:
|
|
885
|
-
importNode: function(importedNode, deep) {
|
|
886
|
-
return importNode(this, importedNode, deep);
|
|
887
|
-
},
|
|
888
|
-
// Introduced in DOM Level 2:
|
|
889
|
-
getElementById: function(id) {
|
|
890
|
-
var rtv = null;
|
|
891
|
-
_visitNode(this.documentElement, function(node) {
|
|
892
|
-
if (node.nodeType == ELEMENT_NODE) {
|
|
893
|
-
if (node.getAttribute("id") == id) {
|
|
894
|
-
rtv = node;
|
|
895
|
-
return true;
|
|
896
|
-
}
|
|
897
|
-
}
|
|
898
|
-
});
|
|
899
|
-
return rtv;
|
|
900
|
-
},
|
|
901
|
-
/**
|
|
902
|
-
* The `getElementsByClassName` method of `Document` interface returns an array-like object
|
|
903
|
-
* of all child elements which have **all** of the given class name(s).
|
|
904
|
-
*
|
|
905
|
-
* Returns an empty list if `classeNames` is an empty string or only contains HTML white space characters.
|
|
906
|
-
*
|
|
907
|
-
*
|
|
908
|
-
* Warning: This is a live LiveNodeList.
|
|
909
|
-
* Changes in the DOM will reflect in the array as the changes occur.
|
|
910
|
-
* If an element selected by this array no longer qualifies for the selector,
|
|
911
|
-
* it will automatically be removed. Be aware of this for iteration purposes.
|
|
912
|
-
*
|
|
913
|
-
* @param {string} classNames is a string representing the class name(s) to match; multiple class names are separated by (ASCII-)whitespace
|
|
914
|
-
*
|
|
915
|
-
* @see https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementsByClassName
|
|
916
|
-
* @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname
|
|
917
|
-
*/
|
|
918
|
-
getElementsByClassName: function(classNames) {
|
|
919
|
-
var classNamesSet = toOrderedSet(classNames);
|
|
920
|
-
return new LiveNodeList(this, function(base) {
|
|
921
|
-
var ls = [];
|
|
922
|
-
if (classNamesSet.length > 0) {
|
|
923
|
-
_visitNode(base.documentElement, function(node) {
|
|
924
|
-
if (node !== base && node.nodeType === ELEMENT_NODE) {
|
|
925
|
-
var nodeClassNames = node.getAttribute("class");
|
|
926
|
-
if (nodeClassNames) {
|
|
927
|
-
var matches = classNames === nodeClassNames;
|
|
928
|
-
if (!matches) {
|
|
929
|
-
var nodeClassNamesSet = toOrderedSet(nodeClassNames);
|
|
930
|
-
matches = classNamesSet.every(arrayIncludes(nodeClassNamesSet));
|
|
931
|
-
}
|
|
932
|
-
if (matches) {
|
|
933
|
-
ls.push(node);
|
|
934
|
-
}
|
|
935
|
-
}
|
|
936
|
-
}
|
|
937
|
-
});
|
|
938
|
-
}
|
|
939
|
-
return ls;
|
|
940
|
-
});
|
|
941
|
-
},
|
|
942
|
-
//document factory method:
|
|
943
|
-
createElement: function(tagName) {
|
|
944
|
-
var node = new Element();
|
|
945
|
-
node.ownerDocument = this;
|
|
946
|
-
node.nodeName = tagName;
|
|
947
|
-
node.tagName = tagName;
|
|
948
|
-
node.localName = tagName;
|
|
949
|
-
node.childNodes = new NodeList();
|
|
950
|
-
var attrs = node.attributes = new NamedNodeMap();
|
|
951
|
-
attrs._ownerElement = node;
|
|
952
|
-
return node;
|
|
953
|
-
},
|
|
954
|
-
createDocumentFragment: function() {
|
|
955
|
-
var node = new DocumentFragment();
|
|
956
|
-
node.ownerDocument = this;
|
|
957
|
-
node.childNodes = new NodeList();
|
|
958
|
-
return node;
|
|
959
|
-
},
|
|
960
|
-
createTextNode: function(data) {
|
|
961
|
-
var node = new Text();
|
|
962
|
-
node.ownerDocument = this;
|
|
963
|
-
node.appendData(data);
|
|
964
|
-
return node;
|
|
965
|
-
},
|
|
966
|
-
createComment: function(data) {
|
|
967
|
-
var node = new Comment();
|
|
968
|
-
node.ownerDocument = this;
|
|
969
|
-
node.appendData(data);
|
|
970
|
-
return node;
|
|
971
|
-
},
|
|
972
|
-
createCDATASection: function(data) {
|
|
973
|
-
var node = new CDATASection();
|
|
974
|
-
node.ownerDocument = this;
|
|
975
|
-
node.appendData(data);
|
|
976
|
-
return node;
|
|
977
|
-
},
|
|
978
|
-
createProcessingInstruction: function(target, data) {
|
|
979
|
-
var node = new ProcessingInstruction();
|
|
980
|
-
node.ownerDocument = this;
|
|
981
|
-
node.tagName = node.nodeName = node.target = target;
|
|
982
|
-
node.nodeValue = node.data = data;
|
|
983
|
-
return node;
|
|
984
|
-
},
|
|
985
|
-
createAttribute: function(name) {
|
|
986
|
-
var node = new Attr();
|
|
987
|
-
node.ownerDocument = this;
|
|
988
|
-
node.name = name;
|
|
989
|
-
node.nodeName = name;
|
|
990
|
-
node.localName = name;
|
|
991
|
-
node.specified = true;
|
|
992
|
-
return node;
|
|
993
|
-
},
|
|
994
|
-
createEntityReference: function(name) {
|
|
995
|
-
var node = new EntityReference();
|
|
996
|
-
node.ownerDocument = this;
|
|
997
|
-
node.nodeName = name;
|
|
998
|
-
return node;
|
|
999
|
-
},
|
|
1000
|
-
// Introduced in DOM Level 2:
|
|
1001
|
-
createElementNS: function(namespaceURI, qualifiedName) {
|
|
1002
|
-
var node = new Element();
|
|
1003
|
-
var pl = qualifiedName.split(":");
|
|
1004
|
-
var attrs = node.attributes = new NamedNodeMap();
|
|
1005
|
-
node.childNodes = new NodeList();
|
|
1006
|
-
node.ownerDocument = this;
|
|
1007
|
-
node.nodeName = qualifiedName;
|
|
1008
|
-
node.tagName = qualifiedName;
|
|
1009
|
-
node.namespaceURI = namespaceURI;
|
|
1010
|
-
if (pl.length == 2) {
|
|
1011
|
-
node.prefix = pl[0];
|
|
1012
|
-
node.localName = pl[1];
|
|
1013
|
-
} else {
|
|
1014
|
-
node.localName = qualifiedName;
|
|
1015
|
-
}
|
|
1016
|
-
attrs._ownerElement = node;
|
|
1017
|
-
return node;
|
|
1018
|
-
},
|
|
1019
|
-
// Introduced in DOM Level 2:
|
|
1020
|
-
createAttributeNS: function(namespaceURI, qualifiedName) {
|
|
1021
|
-
var node = new Attr();
|
|
1022
|
-
var pl = qualifiedName.split(":");
|
|
1023
|
-
node.ownerDocument = this;
|
|
1024
|
-
node.nodeName = qualifiedName;
|
|
1025
|
-
node.name = qualifiedName;
|
|
1026
|
-
node.namespaceURI = namespaceURI;
|
|
1027
|
-
node.specified = true;
|
|
1028
|
-
if (pl.length == 2) {
|
|
1029
|
-
node.prefix = pl[0];
|
|
1030
|
-
node.localName = pl[1];
|
|
1031
|
-
} else {
|
|
1032
|
-
node.localName = qualifiedName;
|
|
1033
|
-
}
|
|
1034
|
-
return node;
|
|
1035
|
-
}
|
|
1036
|
-
};
|
|
1037
|
-
_extends(Document, Node);
|
|
1038
|
-
function Element() {
|
|
1039
|
-
this._nsMap = {};
|
|
1040
|
-
}
|
|
1041
|
-
Element.prototype = {
|
|
1042
|
-
nodeType: ELEMENT_NODE,
|
|
1043
|
-
hasAttribute: function(name) {
|
|
1044
|
-
return this.getAttributeNode(name) != null;
|
|
1045
|
-
},
|
|
1046
|
-
getAttribute: function(name) {
|
|
1047
|
-
var attr = this.getAttributeNode(name);
|
|
1048
|
-
return attr && attr.value || "";
|
|
1049
|
-
},
|
|
1050
|
-
getAttributeNode: function(name) {
|
|
1051
|
-
return this.attributes.getNamedItem(name);
|
|
1052
|
-
},
|
|
1053
|
-
setAttribute: function(name, value) {
|
|
1054
|
-
var attr = this.ownerDocument.createAttribute(name);
|
|
1055
|
-
attr.value = attr.nodeValue = "" + value;
|
|
1056
|
-
this.setAttributeNode(attr);
|
|
1057
|
-
},
|
|
1058
|
-
removeAttribute: function(name) {
|
|
1059
|
-
var attr = this.getAttributeNode(name);
|
|
1060
|
-
attr && this.removeAttributeNode(attr);
|
|
1061
|
-
},
|
|
1062
|
-
//four real opeartion method
|
|
1063
|
-
appendChild: function(newChild) {
|
|
1064
|
-
if (newChild.nodeType === DOCUMENT_FRAGMENT_NODE) {
|
|
1065
|
-
return this.insertBefore(newChild, null);
|
|
1066
|
-
} else {
|
|
1067
|
-
return _appendSingleChild(this, newChild);
|
|
1068
|
-
}
|
|
1069
|
-
},
|
|
1070
|
-
setAttributeNode: function(newAttr) {
|
|
1071
|
-
return this.attributes.setNamedItem(newAttr);
|
|
1072
|
-
},
|
|
1073
|
-
setAttributeNodeNS: function(newAttr) {
|
|
1074
|
-
return this.attributes.setNamedItemNS(newAttr);
|
|
1075
|
-
},
|
|
1076
|
-
removeAttributeNode: function(oldAttr) {
|
|
1077
|
-
return this.attributes.removeNamedItem(oldAttr.nodeName);
|
|
1078
|
-
},
|
|
1079
|
-
//get real attribute name,and remove it by removeAttributeNode
|
|
1080
|
-
removeAttributeNS: function(namespaceURI, localName) {
|
|
1081
|
-
var old = this.getAttributeNodeNS(namespaceURI, localName);
|
|
1082
|
-
old && this.removeAttributeNode(old);
|
|
1083
|
-
},
|
|
1084
|
-
hasAttributeNS: function(namespaceURI, localName) {
|
|
1085
|
-
return this.getAttributeNodeNS(namespaceURI, localName) != null;
|
|
1086
|
-
},
|
|
1087
|
-
getAttributeNS: function(namespaceURI, localName) {
|
|
1088
|
-
var attr = this.getAttributeNodeNS(namespaceURI, localName);
|
|
1089
|
-
return attr && attr.value || "";
|
|
1090
|
-
},
|
|
1091
|
-
setAttributeNS: function(namespaceURI, qualifiedName, value) {
|
|
1092
|
-
var attr = this.ownerDocument.createAttributeNS(namespaceURI, qualifiedName);
|
|
1093
|
-
attr.value = attr.nodeValue = "" + value;
|
|
1094
|
-
this.setAttributeNode(attr);
|
|
1095
|
-
},
|
|
1096
|
-
getAttributeNodeNS: function(namespaceURI, localName) {
|
|
1097
|
-
return this.attributes.getNamedItemNS(namespaceURI, localName);
|
|
1098
|
-
},
|
|
1099
|
-
getElementsByTagName: function(tagName) {
|
|
1100
|
-
return new LiveNodeList(this, function(base) {
|
|
1101
|
-
var ls = [];
|
|
1102
|
-
_visitNode(base, function(node) {
|
|
1103
|
-
if (node !== base && node.nodeType == ELEMENT_NODE && (tagName === "*" || node.tagName == tagName)) {
|
|
1104
|
-
ls.push(node);
|
|
1105
|
-
}
|
|
1106
|
-
});
|
|
1107
|
-
return ls;
|
|
1108
|
-
});
|
|
1109
|
-
},
|
|
1110
|
-
getElementsByTagNameNS: function(namespaceURI, localName) {
|
|
1111
|
-
return new LiveNodeList(this, function(base) {
|
|
1112
|
-
var ls = [];
|
|
1113
|
-
_visitNode(base, function(node) {
|
|
1114
|
-
if (node !== base && node.nodeType === ELEMENT_NODE && (namespaceURI === "*" || node.namespaceURI === namespaceURI) && (localName === "*" || node.localName == localName)) {
|
|
1115
|
-
ls.push(node);
|
|
1116
|
-
}
|
|
1117
|
-
});
|
|
1118
|
-
return ls;
|
|
1119
|
-
});
|
|
1120
|
-
}
|
|
1121
|
-
};
|
|
1122
|
-
Document.prototype.getElementsByTagName = Element.prototype.getElementsByTagName;
|
|
1123
|
-
Document.prototype.getElementsByTagNameNS = Element.prototype.getElementsByTagNameNS;
|
|
1124
|
-
_extends(Element, Node);
|
|
1125
|
-
function Attr() {
|
|
1126
|
-
}
|
|
1127
|
-
Attr.prototype.nodeType = ATTRIBUTE_NODE;
|
|
1128
|
-
_extends(Attr, Node);
|
|
1129
|
-
function CharacterData() {
|
|
1130
|
-
}
|
|
1131
|
-
CharacterData.prototype = {
|
|
1132
|
-
data: "",
|
|
1133
|
-
substringData: function(offset, count) {
|
|
1134
|
-
return this.data.substring(offset, offset + count);
|
|
1135
|
-
},
|
|
1136
|
-
appendData: function(text) {
|
|
1137
|
-
text = this.data + text;
|
|
1138
|
-
this.nodeValue = this.data = text;
|
|
1139
|
-
this.length = text.length;
|
|
1140
|
-
},
|
|
1141
|
-
insertData: function(offset, text) {
|
|
1142
|
-
this.replaceData(offset, 0, text);
|
|
1143
|
-
},
|
|
1144
|
-
appendChild: function(newChild) {
|
|
1145
|
-
throw new Error(ExceptionMessage[HIERARCHY_REQUEST_ERR]);
|
|
1146
|
-
},
|
|
1147
|
-
deleteData: function(offset, count) {
|
|
1148
|
-
this.replaceData(offset, count, "");
|
|
1149
|
-
},
|
|
1150
|
-
replaceData: function(offset, count, text) {
|
|
1151
|
-
var start = this.data.substring(0, offset);
|
|
1152
|
-
var end = this.data.substring(offset + count);
|
|
1153
|
-
text = start + text + end;
|
|
1154
|
-
this.nodeValue = this.data = text;
|
|
1155
|
-
this.length = text.length;
|
|
1156
|
-
}
|
|
1157
|
-
};
|
|
1158
|
-
_extends(CharacterData, Node);
|
|
1159
|
-
function Text() {
|
|
1160
|
-
}
|
|
1161
|
-
Text.prototype = {
|
|
1162
|
-
nodeName: "#text",
|
|
1163
|
-
nodeType: TEXT_NODE,
|
|
1164
|
-
splitText: function(offset) {
|
|
1165
|
-
var text = this.data;
|
|
1166
|
-
var newText = text.substring(offset);
|
|
1167
|
-
text = text.substring(0, offset);
|
|
1168
|
-
this.data = this.nodeValue = text;
|
|
1169
|
-
this.length = text.length;
|
|
1170
|
-
var newNode = this.ownerDocument.createTextNode(newText);
|
|
1171
|
-
if (this.parentNode) {
|
|
1172
|
-
this.parentNode.insertBefore(newNode, this.nextSibling);
|
|
1173
|
-
}
|
|
1174
|
-
return newNode;
|
|
1175
|
-
}
|
|
1176
|
-
};
|
|
1177
|
-
_extends(Text, CharacterData);
|
|
1178
|
-
function Comment() {
|
|
1179
|
-
}
|
|
1180
|
-
Comment.prototype = {
|
|
1181
|
-
nodeName: "#comment",
|
|
1182
|
-
nodeType: COMMENT_NODE
|
|
1183
|
-
};
|
|
1184
|
-
_extends(Comment, CharacterData);
|
|
1185
|
-
function CDATASection() {
|
|
1186
|
-
}
|
|
1187
|
-
CDATASection.prototype = {
|
|
1188
|
-
nodeName: "#cdata-section",
|
|
1189
|
-
nodeType: CDATA_SECTION_NODE
|
|
1190
|
-
};
|
|
1191
|
-
_extends(CDATASection, CharacterData);
|
|
1192
|
-
function DocumentType() {
|
|
1193
|
-
}
|
|
1194
|
-
DocumentType.prototype.nodeType = DOCUMENT_TYPE_NODE;
|
|
1195
|
-
_extends(DocumentType, Node);
|
|
1196
|
-
function Notation() {
|
|
1197
|
-
}
|
|
1198
|
-
Notation.prototype.nodeType = NOTATION_NODE;
|
|
1199
|
-
_extends(Notation, Node);
|
|
1200
|
-
function Entity() {
|
|
1201
|
-
}
|
|
1202
|
-
Entity.prototype.nodeType = ENTITY_NODE;
|
|
1203
|
-
_extends(Entity, Node);
|
|
1204
|
-
function EntityReference() {
|
|
1205
|
-
}
|
|
1206
|
-
EntityReference.prototype.nodeType = ENTITY_REFERENCE_NODE;
|
|
1207
|
-
_extends(EntityReference, Node);
|
|
1208
|
-
function DocumentFragment() {
|
|
1209
|
-
}
|
|
1210
|
-
DocumentFragment.prototype.nodeName = "#document-fragment";
|
|
1211
|
-
DocumentFragment.prototype.nodeType = DOCUMENT_FRAGMENT_NODE;
|
|
1212
|
-
_extends(DocumentFragment, Node);
|
|
1213
|
-
function ProcessingInstruction() {
|
|
1214
|
-
}
|
|
1215
|
-
ProcessingInstruction.prototype.nodeType = PROCESSING_INSTRUCTION_NODE;
|
|
1216
|
-
_extends(ProcessingInstruction, Node);
|
|
1217
|
-
function XMLSerializer() {
|
|
1218
|
-
}
|
|
1219
|
-
XMLSerializer.prototype.serializeToString = function(node, isHtml, nodeFilter) {
|
|
1220
|
-
return nodeSerializeToString.call(node, isHtml, nodeFilter);
|
|
1221
|
-
};
|
|
1222
|
-
Node.prototype.toString = nodeSerializeToString;
|
|
1223
|
-
function nodeSerializeToString(isHtml, nodeFilter) {
|
|
1224
|
-
var buf = [];
|
|
1225
|
-
var refNode = this.nodeType == 9 && this.documentElement || this;
|
|
1226
|
-
var prefix = refNode.prefix;
|
|
1227
|
-
var uri = refNode.namespaceURI;
|
|
1228
|
-
if (uri && prefix == null) {
|
|
1229
|
-
var prefix = refNode.lookupPrefix(uri);
|
|
1230
|
-
if (prefix == null) {
|
|
1231
|
-
var visibleNamespaces = [
|
|
1232
|
-
{ namespace: uri, prefix: null }
|
|
1233
|
-
//{namespace:uri,prefix:''}
|
|
1234
|
-
];
|
|
1235
|
-
}
|
|
1236
|
-
}
|
|
1237
|
-
serializeToString(this, buf, isHtml, nodeFilter, visibleNamespaces);
|
|
1238
|
-
return buf.join("");
|
|
1239
|
-
}
|
|
1240
|
-
function needNamespaceDefine(node, isHTML, visibleNamespaces) {
|
|
1241
|
-
var prefix = node.prefix || "";
|
|
1242
|
-
var uri = node.namespaceURI;
|
|
1243
|
-
if (!uri) {
|
|
1244
|
-
return false;
|
|
1245
|
-
}
|
|
1246
|
-
if (prefix === "xml" && uri === NAMESPACE$2.XML || uri === NAMESPACE$2.XMLNS) {
|
|
1247
|
-
return false;
|
|
1248
|
-
}
|
|
1249
|
-
var i = visibleNamespaces.length;
|
|
1250
|
-
while (i--) {
|
|
1251
|
-
var ns = visibleNamespaces[i];
|
|
1252
|
-
if (ns.prefix === prefix) {
|
|
1253
|
-
return ns.namespace !== uri;
|
|
1254
|
-
}
|
|
1255
|
-
}
|
|
1256
|
-
return true;
|
|
1257
|
-
}
|
|
1258
|
-
function addSerializedAttribute(buf, qualifiedName, value) {
|
|
1259
|
-
buf.push(" ", qualifiedName, '="', value.replace(/[<>&"\t\n\r]/g, _xmlEncoder), '"');
|
|
1260
|
-
}
|
|
1261
|
-
function serializeToString(node, buf, isHTML, nodeFilter, visibleNamespaces) {
|
|
1262
|
-
if (!visibleNamespaces) {
|
|
1263
|
-
visibleNamespaces = [];
|
|
1264
|
-
}
|
|
1265
|
-
if (nodeFilter) {
|
|
1266
|
-
node = nodeFilter(node);
|
|
1267
|
-
if (node) {
|
|
1268
|
-
if (typeof node == "string") {
|
|
1269
|
-
buf.push(node);
|
|
1270
|
-
return;
|
|
1271
|
-
}
|
|
1272
|
-
} else {
|
|
1273
|
-
return;
|
|
1274
|
-
}
|
|
1275
|
-
}
|
|
1276
|
-
switch (node.nodeType) {
|
|
1277
|
-
case ELEMENT_NODE:
|
|
1278
|
-
var attrs = node.attributes;
|
|
1279
|
-
var len = attrs.length;
|
|
1280
|
-
var child = node.firstChild;
|
|
1281
|
-
var nodeName = node.tagName;
|
|
1282
|
-
isHTML = NAMESPACE$2.isHTML(node.namespaceURI) || isHTML;
|
|
1283
|
-
var prefixedNodeName = nodeName;
|
|
1284
|
-
if (!isHTML && !node.prefix && node.namespaceURI) {
|
|
1285
|
-
var defaultNS;
|
|
1286
|
-
for (var ai = 0; ai < attrs.length; ai++) {
|
|
1287
|
-
if (attrs.item(ai).name === "xmlns") {
|
|
1288
|
-
defaultNS = attrs.item(ai).value;
|
|
1289
|
-
break;
|
|
1290
|
-
}
|
|
1291
|
-
}
|
|
1292
|
-
if (!defaultNS) {
|
|
1293
|
-
for (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {
|
|
1294
|
-
var namespace = visibleNamespaces[nsi];
|
|
1295
|
-
if (namespace.prefix === "" && namespace.namespace === node.namespaceURI) {
|
|
1296
|
-
defaultNS = namespace.namespace;
|
|
1297
|
-
break;
|
|
1298
|
-
}
|
|
1299
|
-
}
|
|
1300
|
-
}
|
|
1301
|
-
if (defaultNS !== node.namespaceURI) {
|
|
1302
|
-
for (var nsi = visibleNamespaces.length - 1; nsi >= 0; nsi--) {
|
|
1303
|
-
var namespace = visibleNamespaces[nsi];
|
|
1304
|
-
if (namespace.namespace === node.namespaceURI) {
|
|
1305
|
-
if (namespace.prefix) {
|
|
1306
|
-
prefixedNodeName = namespace.prefix + ":" + nodeName;
|
|
1307
|
-
}
|
|
1308
|
-
break;
|
|
1309
|
-
}
|
|
1310
|
-
}
|
|
1311
|
-
}
|
|
1312
|
-
}
|
|
1313
|
-
buf.push("<", prefixedNodeName);
|
|
1314
|
-
for (var i = 0; i < len; i++) {
|
|
1315
|
-
var attr = attrs.item(i);
|
|
1316
|
-
if (attr.prefix == "xmlns") {
|
|
1317
|
-
visibleNamespaces.push({ prefix: attr.localName, namespace: attr.value });
|
|
1318
|
-
} else if (attr.nodeName == "xmlns") {
|
|
1319
|
-
visibleNamespaces.push({ prefix: "", namespace: attr.value });
|
|
1320
|
-
}
|
|
1321
|
-
}
|
|
1322
|
-
for (var i = 0; i < len; i++) {
|
|
1323
|
-
var attr = attrs.item(i);
|
|
1324
|
-
if (needNamespaceDefine(attr, isHTML, visibleNamespaces)) {
|
|
1325
|
-
var prefix = attr.prefix || "";
|
|
1326
|
-
var uri = attr.namespaceURI;
|
|
1327
|
-
addSerializedAttribute(buf, prefix ? "xmlns:" + prefix : "xmlns", uri);
|
|
1328
|
-
visibleNamespaces.push({ prefix, namespace: uri });
|
|
1329
|
-
}
|
|
1330
|
-
serializeToString(attr, buf, isHTML, nodeFilter, visibleNamespaces);
|
|
1331
|
-
}
|
|
1332
|
-
if (nodeName === prefixedNodeName && needNamespaceDefine(node, isHTML, visibleNamespaces)) {
|
|
1333
|
-
var prefix = node.prefix || "";
|
|
1334
|
-
var uri = node.namespaceURI;
|
|
1335
|
-
addSerializedAttribute(buf, prefix ? "xmlns:" + prefix : "xmlns", uri);
|
|
1336
|
-
visibleNamespaces.push({ prefix, namespace: uri });
|
|
1337
|
-
}
|
|
1338
|
-
if (child || isHTML && !/^(?:meta|link|img|br|hr|input)$/i.test(nodeName)) {
|
|
1339
|
-
buf.push(">");
|
|
1340
|
-
if (isHTML && /^script$/i.test(nodeName)) {
|
|
1341
|
-
while (child) {
|
|
1342
|
-
if (child.data) {
|
|
1343
|
-
buf.push(child.data);
|
|
1344
|
-
} else {
|
|
1345
|
-
serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
|
|
1346
|
-
}
|
|
1347
|
-
child = child.nextSibling;
|
|
1348
|
-
}
|
|
1349
|
-
} else {
|
|
1350
|
-
while (child) {
|
|
1351
|
-
serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
|
|
1352
|
-
child = child.nextSibling;
|
|
1353
|
-
}
|
|
1354
|
-
}
|
|
1355
|
-
buf.push("</", prefixedNodeName, ">");
|
|
1356
|
-
} else {
|
|
1357
|
-
buf.push("/>");
|
|
1358
|
-
}
|
|
1359
|
-
return;
|
|
1360
|
-
case DOCUMENT_NODE:
|
|
1361
|
-
case DOCUMENT_FRAGMENT_NODE:
|
|
1362
|
-
var child = node.firstChild;
|
|
1363
|
-
while (child) {
|
|
1364
|
-
serializeToString(child, buf, isHTML, nodeFilter, visibleNamespaces.slice());
|
|
1365
|
-
child = child.nextSibling;
|
|
1366
|
-
}
|
|
1367
|
-
return;
|
|
1368
|
-
case ATTRIBUTE_NODE:
|
|
1369
|
-
return addSerializedAttribute(buf, node.name, node.value);
|
|
1370
|
-
case TEXT_NODE:
|
|
1371
|
-
return buf.push(
|
|
1372
|
-
node.data.replace(/[<&>]/g, _xmlEncoder)
|
|
1373
|
-
);
|
|
1374
|
-
case CDATA_SECTION_NODE:
|
|
1375
|
-
return buf.push("<![CDATA[", node.data, "]]>");
|
|
1376
|
-
case COMMENT_NODE:
|
|
1377
|
-
return buf.push("<!--", node.data, "-->");
|
|
1378
|
-
case DOCUMENT_TYPE_NODE:
|
|
1379
|
-
var pubid = node.publicId;
|
|
1380
|
-
var sysid = node.systemId;
|
|
1381
|
-
buf.push("<!DOCTYPE ", node.name);
|
|
1382
|
-
if (pubid) {
|
|
1383
|
-
buf.push(" PUBLIC ", pubid);
|
|
1384
|
-
if (sysid && sysid != ".") {
|
|
1385
|
-
buf.push(" ", sysid);
|
|
1386
|
-
}
|
|
1387
|
-
buf.push(">");
|
|
1388
|
-
} else if (sysid && sysid != ".") {
|
|
1389
|
-
buf.push(" SYSTEM ", sysid, ">");
|
|
1390
|
-
} else {
|
|
1391
|
-
var sub = node.internalSubset;
|
|
1392
|
-
if (sub) {
|
|
1393
|
-
buf.push(" [", sub, "]");
|
|
1394
|
-
}
|
|
1395
|
-
buf.push(">");
|
|
1396
|
-
}
|
|
1397
|
-
return;
|
|
1398
|
-
case PROCESSING_INSTRUCTION_NODE:
|
|
1399
|
-
return buf.push("<?", node.target, " ", node.data, "?>");
|
|
1400
|
-
case ENTITY_REFERENCE_NODE:
|
|
1401
|
-
return buf.push("&", node.nodeName, ";");
|
|
1402
|
-
default:
|
|
1403
|
-
buf.push("??", node.nodeName);
|
|
1404
|
-
}
|
|
1405
|
-
}
|
|
1406
|
-
function importNode(doc, node, deep) {
|
|
1407
|
-
var node2;
|
|
1408
|
-
switch (node.nodeType) {
|
|
1409
|
-
case ELEMENT_NODE:
|
|
1410
|
-
node2 = node.cloneNode(false);
|
|
1411
|
-
node2.ownerDocument = doc;
|
|
1412
|
-
case DOCUMENT_FRAGMENT_NODE:
|
|
1413
|
-
break;
|
|
1414
|
-
case ATTRIBUTE_NODE:
|
|
1415
|
-
deep = true;
|
|
1416
|
-
break;
|
|
1417
|
-
}
|
|
1418
|
-
if (!node2) {
|
|
1419
|
-
node2 = node.cloneNode(false);
|
|
1420
|
-
}
|
|
1421
|
-
node2.ownerDocument = doc;
|
|
1422
|
-
node2.parentNode = null;
|
|
1423
|
-
if (deep) {
|
|
1424
|
-
var child = node.firstChild;
|
|
1425
|
-
while (child) {
|
|
1426
|
-
node2.appendChild(importNode(doc, child, deep));
|
|
1427
|
-
child = child.nextSibling;
|
|
1428
|
-
}
|
|
1429
|
-
}
|
|
1430
|
-
return node2;
|
|
1431
|
-
}
|
|
1432
|
-
function cloneNode(doc, node, deep) {
|
|
1433
|
-
var node2 = new node.constructor();
|
|
1434
|
-
for (var n in node) {
|
|
1435
|
-
if (Object.prototype.hasOwnProperty.call(node, n)) {
|
|
1436
|
-
var v = node[n];
|
|
1437
|
-
if (typeof v != "object") {
|
|
1438
|
-
if (v != node2[n]) {
|
|
1439
|
-
node2[n] = v;
|
|
1440
|
-
}
|
|
1441
|
-
}
|
|
1442
|
-
}
|
|
1443
|
-
}
|
|
1444
|
-
if (node.childNodes) {
|
|
1445
|
-
node2.childNodes = new NodeList();
|
|
1446
|
-
}
|
|
1447
|
-
node2.ownerDocument = doc;
|
|
1448
|
-
switch (node2.nodeType) {
|
|
1449
|
-
case ELEMENT_NODE:
|
|
1450
|
-
var attrs = node.attributes;
|
|
1451
|
-
var attrs2 = node2.attributes = new NamedNodeMap();
|
|
1452
|
-
var len = attrs.length;
|
|
1453
|
-
attrs2._ownerElement = node2;
|
|
1454
|
-
for (var i = 0; i < len; i++) {
|
|
1455
|
-
node2.setAttributeNode(cloneNode(doc, attrs.item(i), true));
|
|
1456
|
-
}
|
|
1457
|
-
break;
|
|
1458
|
-
case ATTRIBUTE_NODE:
|
|
1459
|
-
deep = true;
|
|
1460
|
-
}
|
|
1461
|
-
if (deep) {
|
|
1462
|
-
var child = node.firstChild;
|
|
1463
|
-
while (child) {
|
|
1464
|
-
node2.appendChild(cloneNode(doc, child, deep));
|
|
1465
|
-
child = child.nextSibling;
|
|
1466
|
-
}
|
|
1467
|
-
}
|
|
1468
|
-
return node2;
|
|
1469
|
-
}
|
|
1470
|
-
function __set__(object, key, value) {
|
|
1471
|
-
object[key] = value;
|
|
1472
|
-
}
|
|
1473
|
-
try {
|
|
1474
|
-
if (Object.defineProperty) {
|
|
1475
|
-
let getTextContent = function(node) {
|
|
1476
|
-
switch (node.nodeType) {
|
|
1477
|
-
case ELEMENT_NODE:
|
|
1478
|
-
case DOCUMENT_FRAGMENT_NODE:
|
|
1479
|
-
var buf = [];
|
|
1480
|
-
node = node.firstChild;
|
|
1481
|
-
while (node) {
|
|
1482
|
-
if (node.nodeType !== 7 && node.nodeType !== 8) {
|
|
1483
|
-
buf.push(getTextContent(node));
|
|
1484
|
-
}
|
|
1485
|
-
node = node.nextSibling;
|
|
1486
|
-
}
|
|
1487
|
-
return buf.join("");
|
|
1488
|
-
default:
|
|
1489
|
-
return node.nodeValue;
|
|
1490
|
-
}
|
|
1491
|
-
};
|
|
1492
|
-
Object.defineProperty(LiveNodeList.prototype, "length", {
|
|
1493
|
-
get: function() {
|
|
1494
|
-
_updateLiveList(this);
|
|
1495
|
-
return this.$$length;
|
|
1496
|
-
}
|
|
1497
|
-
});
|
|
1498
|
-
Object.defineProperty(Node.prototype, "textContent", {
|
|
1499
|
-
get: function() {
|
|
1500
|
-
return getTextContent(this);
|
|
1501
|
-
},
|
|
1502
|
-
set: function(data) {
|
|
1503
|
-
switch (this.nodeType) {
|
|
1504
|
-
case ELEMENT_NODE:
|
|
1505
|
-
case DOCUMENT_FRAGMENT_NODE:
|
|
1506
|
-
while (this.firstChild) {
|
|
1507
|
-
this.removeChild(this.firstChild);
|
|
1508
|
-
}
|
|
1509
|
-
if (data || String(data)) {
|
|
1510
|
-
this.appendChild(this.ownerDocument.createTextNode(data));
|
|
1511
|
-
}
|
|
1512
|
-
break;
|
|
1513
|
-
default:
|
|
1514
|
-
this.data = data;
|
|
1515
|
-
this.value = data;
|
|
1516
|
-
this.nodeValue = data;
|
|
1517
|
-
}
|
|
1518
|
-
}
|
|
1519
|
-
});
|
|
1520
|
-
__set__ = function(object, key, value) {
|
|
1521
|
-
object["$$" + key] = value;
|
|
1522
|
-
};
|
|
1523
|
-
}
|
|
1524
|
-
} catch (e) {
|
|
1525
|
-
}
|
|
1526
|
-
dom$1.DocumentType = DocumentType;
|
|
1527
|
-
dom$1.DOMException = DOMException;
|
|
1528
|
-
dom$1.DOMImplementation = DOMImplementation$1;
|
|
1529
|
-
dom$1.Element = Element;
|
|
1530
|
-
dom$1.Node = Node;
|
|
1531
|
-
dom$1.NodeList = NodeList;
|
|
1532
|
-
dom$1.XMLSerializer = XMLSerializer;
|
|
1533
|
-
var domParser = {};
|
|
1534
|
-
var entities$1 = {};
|
|
1535
|
-
(function(exports2) {
|
|
1536
|
-
var freeze2 = conventions$2.freeze;
|
|
1537
|
-
exports2.XML_ENTITIES = freeze2({
|
|
1538
|
-
amp: "&",
|
|
1539
|
-
apos: "'",
|
|
1540
|
-
gt: ">",
|
|
1541
|
-
lt: "<",
|
|
1542
|
-
quot: '"'
|
|
1543
|
-
});
|
|
1544
|
-
exports2.HTML_ENTITIES = freeze2({
|
|
1545
|
-
Aacute: "Á",
|
|
1546
|
-
aacute: "á",
|
|
1547
|
-
Abreve: "Ă",
|
|
1548
|
-
abreve: "ă",
|
|
1549
|
-
ac: "∾",
|
|
1550
|
-
acd: "∿",
|
|
1551
|
-
acE: "∾̳",
|
|
1552
|
-
Acirc: "Â",
|
|
1553
|
-
acirc: "â",
|
|
1554
|
-
acute: "´",
|
|
1555
|
-
Acy: "А",
|
|
1556
|
-
acy: "а",
|
|
1557
|
-
AElig: "Æ",
|
|
1558
|
-
aelig: "æ",
|
|
1559
|
-
af: "",
|
|
1560
|
-
Afr: "𝔄",
|
|
1561
|
-
afr: "𝔞",
|
|
1562
|
-
Agrave: "À",
|
|
1563
|
-
agrave: "à",
|
|
1564
|
-
alefsym: "ℵ",
|
|
1565
|
-
aleph: "ℵ",
|
|
1566
|
-
Alpha: "Α",
|
|
1567
|
-
alpha: "α",
|
|
1568
|
-
Amacr: "Ā",
|
|
1569
|
-
amacr: "ā",
|
|
1570
|
-
amalg: "⨿",
|
|
1571
|
-
AMP: "&",
|
|
1572
|
-
amp: "&",
|
|
1573
|
-
And: "⩓",
|
|
1574
|
-
and: "∧",
|
|
1575
|
-
andand: "⩕",
|
|
1576
|
-
andd: "⩜",
|
|
1577
|
-
andslope: "⩘",
|
|
1578
|
-
andv: "⩚",
|
|
1579
|
-
ang: "∠",
|
|
1580
|
-
ange: "⦤",
|
|
1581
|
-
angle: "∠",
|
|
1582
|
-
angmsd: "∡",
|
|
1583
|
-
angmsdaa: "⦨",
|
|
1584
|
-
angmsdab: "⦩",
|
|
1585
|
-
angmsdac: "⦪",
|
|
1586
|
-
angmsdad: "⦫",
|
|
1587
|
-
angmsdae: "⦬",
|
|
1588
|
-
angmsdaf: "⦭",
|
|
1589
|
-
angmsdag: "⦮",
|
|
1590
|
-
angmsdah: "⦯",
|
|
1591
|
-
angrt: "∟",
|
|
1592
|
-
angrtvb: "⊾",
|
|
1593
|
-
angrtvbd: "⦝",
|
|
1594
|
-
angsph: "∢",
|
|
1595
|
-
angst: "Å",
|
|
1596
|
-
angzarr: "⍼",
|
|
1597
|
-
Aogon: "Ą",
|
|
1598
|
-
aogon: "ą",
|
|
1599
|
-
Aopf: "𝔸",
|
|
1600
|
-
aopf: "𝕒",
|
|
1601
|
-
ap: "≈",
|
|
1602
|
-
apacir: "⩯",
|
|
1603
|
-
apE: "⩰",
|
|
1604
|
-
ape: "≊",
|
|
1605
|
-
apid: "≋",
|
|
1606
|
-
apos: "'",
|
|
1607
|
-
ApplyFunction: "",
|
|
1608
|
-
approx: "≈",
|
|
1609
|
-
approxeq: "≊",
|
|
1610
|
-
Aring: "Å",
|
|
1611
|
-
aring: "å",
|
|
1612
|
-
Ascr: "𝒜",
|
|
1613
|
-
ascr: "𝒶",
|
|
1614
|
-
Assign: "≔",
|
|
1615
|
-
ast: "*",
|
|
1616
|
-
asymp: "≈",
|
|
1617
|
-
asympeq: "≍",
|
|
1618
|
-
Atilde: "Ã",
|
|
1619
|
-
atilde: "ã",
|
|
1620
|
-
Auml: "Ä",
|
|
1621
|
-
auml: "ä",
|
|
1622
|
-
awconint: "∳",
|
|
1623
|
-
awint: "⨑",
|
|
1624
|
-
backcong: "≌",
|
|
1625
|
-
backepsilon: "϶",
|
|
1626
|
-
backprime: "‵",
|
|
1627
|
-
backsim: "∽",
|
|
1628
|
-
backsimeq: "⋍",
|
|
1629
|
-
Backslash: "∖",
|
|
1630
|
-
Barv: "⫧",
|
|
1631
|
-
barvee: "⊽",
|
|
1632
|
-
Barwed: "⌆",
|
|
1633
|
-
barwed: "⌅",
|
|
1634
|
-
barwedge: "⌅",
|
|
1635
|
-
bbrk: "⎵",
|
|
1636
|
-
bbrktbrk: "⎶",
|
|
1637
|
-
bcong: "≌",
|
|
1638
|
-
Bcy: "Б",
|
|
1639
|
-
bcy: "б",
|
|
1640
|
-
bdquo: "„",
|
|
1641
|
-
becaus: "∵",
|
|
1642
|
-
Because: "∵",
|
|
1643
|
-
because: "∵",
|
|
1644
|
-
bemptyv: "⦰",
|
|
1645
|
-
bepsi: "϶",
|
|
1646
|
-
bernou: "ℬ",
|
|
1647
|
-
Bernoullis: "ℬ",
|
|
1648
|
-
Beta: "Β",
|
|
1649
|
-
beta: "β",
|
|
1650
|
-
beth: "ℶ",
|
|
1651
|
-
between: "≬",
|
|
1652
|
-
Bfr: "𝔅",
|
|
1653
|
-
bfr: "𝔟",
|
|
1654
|
-
bigcap: "⋂",
|
|
1655
|
-
bigcirc: "◯",
|
|
1656
|
-
bigcup: "⋃",
|
|
1657
|
-
bigodot: "⨀",
|
|
1658
|
-
bigoplus: "⨁",
|
|
1659
|
-
bigotimes: "⨂",
|
|
1660
|
-
bigsqcup: "⨆",
|
|
1661
|
-
bigstar: "★",
|
|
1662
|
-
bigtriangledown: "▽",
|
|
1663
|
-
bigtriangleup: "△",
|
|
1664
|
-
biguplus: "⨄",
|
|
1665
|
-
bigvee: "⋁",
|
|
1666
|
-
bigwedge: "⋀",
|
|
1667
|
-
bkarow: "⤍",
|
|
1668
|
-
blacklozenge: "⧫",
|
|
1669
|
-
blacksquare: "▪",
|
|
1670
|
-
blacktriangle: "▴",
|
|
1671
|
-
blacktriangledown: "▾",
|
|
1672
|
-
blacktriangleleft: "◂",
|
|
1673
|
-
blacktriangleright: "▸",
|
|
1674
|
-
blank: "␣",
|
|
1675
|
-
blk12: "▒",
|
|
1676
|
-
blk14: "░",
|
|
1677
|
-
blk34: "▓",
|
|
1678
|
-
block: "█",
|
|
1679
|
-
bne: "=⃥",
|
|
1680
|
-
bnequiv: "≡⃥",
|
|
1681
|
-
bNot: "⫭",
|
|
1682
|
-
bnot: "⌐",
|
|
1683
|
-
Bopf: "𝔹",
|
|
1684
|
-
bopf: "𝕓",
|
|
1685
|
-
bot: "⊥",
|
|
1686
|
-
bottom: "⊥",
|
|
1687
|
-
bowtie: "⋈",
|
|
1688
|
-
boxbox: "⧉",
|
|
1689
|
-
boxDL: "╗",
|
|
1690
|
-
boxDl: "╖",
|
|
1691
|
-
boxdL: "╕",
|
|
1692
|
-
boxdl: "┐",
|
|
1693
|
-
boxDR: "╔",
|
|
1694
|
-
boxDr: "╓",
|
|
1695
|
-
boxdR: "╒",
|
|
1696
|
-
boxdr: "┌",
|
|
1697
|
-
boxH: "═",
|
|
1698
|
-
boxh: "─",
|
|
1699
|
-
boxHD: "╦",
|
|
1700
|
-
boxHd: "╤",
|
|
1701
|
-
boxhD: "╥",
|
|
1702
|
-
boxhd: "┬",
|
|
1703
|
-
boxHU: "╩",
|
|
1704
|
-
boxHu: "╧",
|
|
1705
|
-
boxhU: "╨",
|
|
1706
|
-
boxhu: "┴",
|
|
1707
|
-
boxminus: "⊟",
|
|
1708
|
-
boxplus: "⊞",
|
|
1709
|
-
boxtimes: "⊠",
|
|
1710
|
-
boxUL: "╝",
|
|
1711
|
-
boxUl: "╜",
|
|
1712
|
-
boxuL: "╛",
|
|
1713
|
-
boxul: "┘",
|
|
1714
|
-
boxUR: "╚",
|
|
1715
|
-
boxUr: "╙",
|
|
1716
|
-
boxuR: "╘",
|
|
1717
|
-
boxur: "└",
|
|
1718
|
-
boxV: "║",
|
|
1719
|
-
boxv: "│",
|
|
1720
|
-
boxVH: "╬",
|
|
1721
|
-
boxVh: "╫",
|
|
1722
|
-
boxvH: "╪",
|
|
1723
|
-
boxvh: "┼",
|
|
1724
|
-
boxVL: "╣",
|
|
1725
|
-
boxVl: "╢",
|
|
1726
|
-
boxvL: "╡",
|
|
1727
|
-
boxvl: "┤",
|
|
1728
|
-
boxVR: "╠",
|
|
1729
|
-
boxVr: "╟",
|
|
1730
|
-
boxvR: "╞",
|
|
1731
|
-
boxvr: "├",
|
|
1732
|
-
bprime: "‵",
|
|
1733
|
-
Breve: "˘",
|
|
1734
|
-
breve: "˘",
|
|
1735
|
-
brvbar: "¦",
|
|
1736
|
-
Bscr: "ℬ",
|
|
1737
|
-
bscr: "𝒷",
|
|
1738
|
-
bsemi: "⁏",
|
|
1739
|
-
bsim: "∽",
|
|
1740
|
-
bsime: "⋍",
|
|
1741
|
-
bsol: "\\",
|
|
1742
|
-
bsolb: "⧅",
|
|
1743
|
-
bsolhsub: "⟈",
|
|
1744
|
-
bull: "•",
|
|
1745
|
-
bullet: "•",
|
|
1746
|
-
bump: "≎",
|
|
1747
|
-
bumpE: "⪮",
|
|
1748
|
-
bumpe: "≏",
|
|
1749
|
-
Bumpeq: "≎",
|
|
1750
|
-
bumpeq: "≏",
|
|
1751
|
-
Cacute: "Ć",
|
|
1752
|
-
cacute: "ć",
|
|
1753
|
-
Cap: "⋒",
|
|
1754
|
-
cap: "∩",
|
|
1755
|
-
capand: "⩄",
|
|
1756
|
-
capbrcup: "⩉",
|
|
1757
|
-
capcap: "⩋",
|
|
1758
|
-
capcup: "⩇",
|
|
1759
|
-
capdot: "⩀",
|
|
1760
|
-
CapitalDifferentialD: "ⅅ",
|
|
1761
|
-
caps: "∩︀",
|
|
1762
|
-
caret: "⁁",
|
|
1763
|
-
caron: "ˇ",
|
|
1764
|
-
Cayleys: "ℭ",
|
|
1765
|
-
ccaps: "⩍",
|
|
1766
|
-
Ccaron: "Č",
|
|
1767
|
-
ccaron: "č",
|
|
1768
|
-
Ccedil: "Ç",
|
|
1769
|
-
ccedil: "ç",
|
|
1770
|
-
Ccirc: "Ĉ",
|
|
1771
|
-
ccirc: "ĉ",
|
|
1772
|
-
Cconint: "∰",
|
|
1773
|
-
ccups: "⩌",
|
|
1774
|
-
ccupssm: "⩐",
|
|
1775
|
-
Cdot: "Ċ",
|
|
1776
|
-
cdot: "ċ",
|
|
1777
|
-
cedil: "¸",
|
|
1778
|
-
Cedilla: "¸",
|
|
1779
|
-
cemptyv: "⦲",
|
|
1780
|
-
cent: "¢",
|
|
1781
|
-
CenterDot: "·",
|
|
1782
|
-
centerdot: "·",
|
|
1783
|
-
Cfr: "ℭ",
|
|
1784
|
-
cfr: "𝔠",
|
|
1785
|
-
CHcy: "Ч",
|
|
1786
|
-
chcy: "ч",
|
|
1787
|
-
check: "✓",
|
|
1788
|
-
checkmark: "✓",
|
|
1789
|
-
Chi: "Χ",
|
|
1790
|
-
chi: "χ",
|
|
1791
|
-
cir: "○",
|
|
1792
|
-
circ: "ˆ",
|
|
1793
|
-
circeq: "≗",
|
|
1794
|
-
circlearrowleft: "↺",
|
|
1795
|
-
circlearrowright: "↻",
|
|
1796
|
-
circledast: "⊛",
|
|
1797
|
-
circledcirc: "⊚",
|
|
1798
|
-
circleddash: "⊝",
|
|
1799
|
-
CircleDot: "⊙",
|
|
1800
|
-
circledR: "®",
|
|
1801
|
-
circledS: "Ⓢ",
|
|
1802
|
-
CircleMinus: "⊖",
|
|
1803
|
-
CirclePlus: "⊕",
|
|
1804
|
-
CircleTimes: "⊗",
|
|
1805
|
-
cirE: "⧃",
|
|
1806
|
-
cire: "≗",
|
|
1807
|
-
cirfnint: "⨐",
|
|
1808
|
-
cirmid: "⫯",
|
|
1809
|
-
cirscir: "⧂",
|
|
1810
|
-
ClockwiseContourIntegral: "∲",
|
|
1811
|
-
CloseCurlyDoubleQuote: "”",
|
|
1812
|
-
CloseCurlyQuote: "’",
|
|
1813
|
-
clubs: "♣",
|
|
1814
|
-
clubsuit: "♣",
|
|
1815
|
-
Colon: "∷",
|
|
1816
|
-
colon: ":",
|
|
1817
|
-
Colone: "⩴",
|
|
1818
|
-
colone: "≔",
|
|
1819
|
-
coloneq: "≔",
|
|
1820
|
-
comma: ",",
|
|
1821
|
-
commat: "@",
|
|
1822
|
-
comp: "∁",
|
|
1823
|
-
compfn: "∘",
|
|
1824
|
-
complement: "∁",
|
|
1825
|
-
complexes: "ℂ",
|
|
1826
|
-
cong: "≅",
|
|
1827
|
-
congdot: "⩭",
|
|
1828
|
-
Congruent: "≡",
|
|
1829
|
-
Conint: "∯",
|
|
1830
|
-
conint: "∮",
|
|
1831
|
-
ContourIntegral: "∮",
|
|
1832
|
-
Copf: "ℂ",
|
|
1833
|
-
copf: "𝕔",
|
|
1834
|
-
coprod: "∐",
|
|
1835
|
-
Coproduct: "∐",
|
|
1836
|
-
COPY: "©",
|
|
1837
|
-
copy: "©",
|
|
1838
|
-
copysr: "℗",
|
|
1839
|
-
CounterClockwiseContourIntegral: "∳",
|
|
1840
|
-
crarr: "↵",
|
|
1841
|
-
Cross: "⨯",
|
|
1842
|
-
cross: "✗",
|
|
1843
|
-
Cscr: "𝒞",
|
|
1844
|
-
cscr: "𝒸",
|
|
1845
|
-
csub: "⫏",
|
|
1846
|
-
csube: "⫑",
|
|
1847
|
-
csup: "⫐",
|
|
1848
|
-
csupe: "⫒",
|
|
1849
|
-
ctdot: "⋯",
|
|
1850
|
-
cudarrl: "⤸",
|
|
1851
|
-
cudarrr: "⤵",
|
|
1852
|
-
cuepr: "⋞",
|
|
1853
|
-
cuesc: "⋟",
|
|
1854
|
-
cularr: "↶",
|
|
1855
|
-
cularrp: "⤽",
|
|
1856
|
-
Cup: "⋓",
|
|
1857
|
-
cup: "∪",
|
|
1858
|
-
cupbrcap: "⩈",
|
|
1859
|
-
CupCap: "≍",
|
|
1860
|
-
cupcap: "⩆",
|
|
1861
|
-
cupcup: "⩊",
|
|
1862
|
-
cupdot: "⊍",
|
|
1863
|
-
cupor: "⩅",
|
|
1864
|
-
cups: "∪︀",
|
|
1865
|
-
curarr: "↷",
|
|
1866
|
-
curarrm: "⤼",
|
|
1867
|
-
curlyeqprec: "⋞",
|
|
1868
|
-
curlyeqsucc: "⋟",
|
|
1869
|
-
curlyvee: "⋎",
|
|
1870
|
-
curlywedge: "⋏",
|
|
1871
|
-
curren: "¤",
|
|
1872
|
-
curvearrowleft: "↶",
|
|
1873
|
-
curvearrowright: "↷",
|
|
1874
|
-
cuvee: "⋎",
|
|
1875
|
-
cuwed: "⋏",
|
|
1876
|
-
cwconint: "∲",
|
|
1877
|
-
cwint: "∱",
|
|
1878
|
-
cylcty: "⌭",
|
|
1879
|
-
Dagger: "‡",
|
|
1880
|
-
dagger: "†",
|
|
1881
|
-
daleth: "ℸ",
|
|
1882
|
-
Darr: "↡",
|
|
1883
|
-
dArr: "⇓",
|
|
1884
|
-
darr: "↓",
|
|
1885
|
-
dash: "‐",
|
|
1886
|
-
Dashv: "⫤",
|
|
1887
|
-
dashv: "⊣",
|
|
1888
|
-
dbkarow: "⤏",
|
|
1889
|
-
dblac: "˝",
|
|
1890
|
-
Dcaron: "Ď",
|
|
1891
|
-
dcaron: "ď",
|
|
1892
|
-
Dcy: "Д",
|
|
1893
|
-
dcy: "д",
|
|
1894
|
-
DD: "ⅅ",
|
|
1895
|
-
dd: "ⅆ",
|
|
1896
|
-
ddagger: "‡",
|
|
1897
|
-
ddarr: "⇊",
|
|
1898
|
-
DDotrahd: "⤑",
|
|
1899
|
-
ddotseq: "⩷",
|
|
1900
|
-
deg: "°",
|
|
1901
|
-
Del: "∇",
|
|
1902
|
-
Delta: "Δ",
|
|
1903
|
-
delta: "δ",
|
|
1904
|
-
demptyv: "⦱",
|
|
1905
|
-
dfisht: "⥿",
|
|
1906
|
-
Dfr: "𝔇",
|
|
1907
|
-
dfr: "𝔡",
|
|
1908
|
-
dHar: "⥥",
|
|
1909
|
-
dharl: "⇃",
|
|
1910
|
-
dharr: "⇂",
|
|
1911
|
-
DiacriticalAcute: "´",
|
|
1912
|
-
DiacriticalDot: "˙",
|
|
1913
|
-
DiacriticalDoubleAcute: "˝",
|
|
1914
|
-
DiacriticalGrave: "`",
|
|
1915
|
-
DiacriticalTilde: "˜",
|
|
1916
|
-
diam: "⋄",
|
|
1917
|
-
Diamond: "⋄",
|
|
1918
|
-
diamond: "⋄",
|
|
1919
|
-
diamondsuit: "♦",
|
|
1920
|
-
diams: "♦",
|
|
1921
|
-
die: "¨",
|
|
1922
|
-
DifferentialD: "ⅆ",
|
|
1923
|
-
digamma: "ϝ",
|
|
1924
|
-
disin: "⋲",
|
|
1925
|
-
div: "÷",
|
|
1926
|
-
divide: "÷",
|
|
1927
|
-
divideontimes: "⋇",
|
|
1928
|
-
divonx: "⋇",
|
|
1929
|
-
DJcy: "Ђ",
|
|
1930
|
-
djcy: "ђ",
|
|
1931
|
-
dlcorn: "⌞",
|
|
1932
|
-
dlcrop: "⌍",
|
|
1933
|
-
dollar: "$",
|
|
1934
|
-
Dopf: "𝔻",
|
|
1935
|
-
dopf: "𝕕",
|
|
1936
|
-
Dot: "¨",
|
|
1937
|
-
dot: "˙",
|
|
1938
|
-
DotDot: "⃜",
|
|
1939
|
-
doteq: "≐",
|
|
1940
|
-
doteqdot: "≑",
|
|
1941
|
-
DotEqual: "≐",
|
|
1942
|
-
dotminus: "∸",
|
|
1943
|
-
dotplus: "∔",
|
|
1944
|
-
dotsquare: "⊡",
|
|
1945
|
-
doublebarwedge: "⌆",
|
|
1946
|
-
DoubleContourIntegral: "∯",
|
|
1947
|
-
DoubleDot: "¨",
|
|
1948
|
-
DoubleDownArrow: "⇓",
|
|
1949
|
-
DoubleLeftArrow: "⇐",
|
|
1950
|
-
DoubleLeftRightArrow: "⇔",
|
|
1951
|
-
DoubleLeftTee: "⫤",
|
|
1952
|
-
DoubleLongLeftArrow: "⟸",
|
|
1953
|
-
DoubleLongLeftRightArrow: "⟺",
|
|
1954
|
-
DoubleLongRightArrow: "⟹",
|
|
1955
|
-
DoubleRightArrow: "⇒",
|
|
1956
|
-
DoubleRightTee: "⊨",
|
|
1957
|
-
DoubleUpArrow: "⇑",
|
|
1958
|
-
DoubleUpDownArrow: "⇕",
|
|
1959
|
-
DoubleVerticalBar: "∥",
|
|
1960
|
-
DownArrow: "↓",
|
|
1961
|
-
Downarrow: "⇓",
|
|
1962
|
-
downarrow: "↓",
|
|
1963
|
-
DownArrowBar: "⤓",
|
|
1964
|
-
DownArrowUpArrow: "⇵",
|
|
1965
|
-
DownBreve: "̑",
|
|
1966
|
-
downdownarrows: "⇊",
|
|
1967
|
-
downharpoonleft: "⇃",
|
|
1968
|
-
downharpoonright: "⇂",
|
|
1969
|
-
DownLeftRightVector: "⥐",
|
|
1970
|
-
DownLeftTeeVector: "⥞",
|
|
1971
|
-
DownLeftVector: "↽",
|
|
1972
|
-
DownLeftVectorBar: "⥖",
|
|
1973
|
-
DownRightTeeVector: "⥟",
|
|
1974
|
-
DownRightVector: "⇁",
|
|
1975
|
-
DownRightVectorBar: "⥗",
|
|
1976
|
-
DownTee: "⊤",
|
|
1977
|
-
DownTeeArrow: "↧",
|
|
1978
|
-
drbkarow: "⤐",
|
|
1979
|
-
drcorn: "⌟",
|
|
1980
|
-
drcrop: "⌌",
|
|
1981
|
-
Dscr: "𝒟",
|
|
1982
|
-
dscr: "𝒹",
|
|
1983
|
-
DScy: "Ѕ",
|
|
1984
|
-
dscy: "ѕ",
|
|
1985
|
-
dsol: "⧶",
|
|
1986
|
-
Dstrok: "Đ",
|
|
1987
|
-
dstrok: "đ",
|
|
1988
|
-
dtdot: "⋱",
|
|
1989
|
-
dtri: "▿",
|
|
1990
|
-
dtrif: "▾",
|
|
1991
|
-
duarr: "⇵",
|
|
1992
|
-
duhar: "⥯",
|
|
1993
|
-
dwangle: "⦦",
|
|
1994
|
-
DZcy: "Џ",
|
|
1995
|
-
dzcy: "џ",
|
|
1996
|
-
dzigrarr: "⟿",
|
|
1997
|
-
Eacute: "É",
|
|
1998
|
-
eacute: "é",
|
|
1999
|
-
easter: "⩮",
|
|
2000
|
-
Ecaron: "Ě",
|
|
2001
|
-
ecaron: "ě",
|
|
2002
|
-
ecir: "≖",
|
|
2003
|
-
Ecirc: "Ê",
|
|
2004
|
-
ecirc: "ê",
|
|
2005
|
-
ecolon: "≕",
|
|
2006
|
-
Ecy: "Э",
|
|
2007
|
-
ecy: "э",
|
|
2008
|
-
eDDot: "⩷",
|
|
2009
|
-
Edot: "Ė",
|
|
2010
|
-
eDot: "≑",
|
|
2011
|
-
edot: "ė",
|
|
2012
|
-
ee: "ⅇ",
|
|
2013
|
-
efDot: "≒",
|
|
2014
|
-
Efr: "𝔈",
|
|
2015
|
-
efr: "𝔢",
|
|
2016
|
-
eg: "⪚",
|
|
2017
|
-
Egrave: "È",
|
|
2018
|
-
egrave: "è",
|
|
2019
|
-
egs: "⪖",
|
|
2020
|
-
egsdot: "⪘",
|
|
2021
|
-
el: "⪙",
|
|
2022
|
-
Element: "∈",
|
|
2023
|
-
elinters: "⏧",
|
|
2024
|
-
ell: "ℓ",
|
|
2025
|
-
els: "⪕",
|
|
2026
|
-
elsdot: "⪗",
|
|
2027
|
-
Emacr: "Ē",
|
|
2028
|
-
emacr: "ē",
|
|
2029
|
-
empty: "∅",
|
|
2030
|
-
emptyset: "∅",
|
|
2031
|
-
EmptySmallSquare: "◻",
|
|
2032
|
-
emptyv: "∅",
|
|
2033
|
-
EmptyVerySmallSquare: "▫",
|
|
2034
|
-
emsp: " ",
|
|
2035
|
-
emsp13: " ",
|
|
2036
|
-
emsp14: " ",
|
|
2037
|
-
ENG: "Ŋ",
|
|
2038
|
-
eng: "ŋ",
|
|
2039
|
-
ensp: " ",
|
|
2040
|
-
Eogon: "Ę",
|
|
2041
|
-
eogon: "ę",
|
|
2042
|
-
Eopf: "𝔼",
|
|
2043
|
-
eopf: "𝕖",
|
|
2044
|
-
epar: "⋕",
|
|
2045
|
-
eparsl: "⧣",
|
|
2046
|
-
eplus: "⩱",
|
|
2047
|
-
epsi: "ε",
|
|
2048
|
-
Epsilon: "Ε",
|
|
2049
|
-
epsilon: "ε",
|
|
2050
|
-
epsiv: "ϵ",
|
|
2051
|
-
eqcirc: "≖",
|
|
2052
|
-
eqcolon: "≕",
|
|
2053
|
-
eqsim: "≂",
|
|
2054
|
-
eqslantgtr: "⪖",
|
|
2055
|
-
eqslantless: "⪕",
|
|
2056
|
-
Equal: "⩵",
|
|
2057
|
-
equals: "=",
|
|
2058
|
-
EqualTilde: "≂",
|
|
2059
|
-
equest: "≟",
|
|
2060
|
-
Equilibrium: "⇌",
|
|
2061
|
-
equiv: "≡",
|
|
2062
|
-
equivDD: "⩸",
|
|
2063
|
-
eqvparsl: "⧥",
|
|
2064
|
-
erarr: "⥱",
|
|
2065
|
-
erDot: "≓",
|
|
2066
|
-
Escr: "ℰ",
|
|
2067
|
-
escr: "ℯ",
|
|
2068
|
-
esdot: "≐",
|
|
2069
|
-
Esim: "⩳",
|
|
2070
|
-
esim: "≂",
|
|
2071
|
-
Eta: "Η",
|
|
2072
|
-
eta: "η",
|
|
2073
|
-
ETH: "Ð",
|
|
2074
|
-
eth: "ð",
|
|
2075
|
-
Euml: "Ë",
|
|
2076
|
-
euml: "ë",
|
|
2077
|
-
euro: "€",
|
|
2078
|
-
excl: "!",
|
|
2079
|
-
exist: "∃",
|
|
2080
|
-
Exists: "∃",
|
|
2081
|
-
expectation: "ℰ",
|
|
2082
|
-
ExponentialE: "ⅇ",
|
|
2083
|
-
exponentiale: "ⅇ",
|
|
2084
|
-
fallingdotseq: "≒",
|
|
2085
|
-
Fcy: "Ф",
|
|
2086
|
-
fcy: "ф",
|
|
2087
|
-
female: "♀",
|
|
2088
|
-
ffilig: "ffi",
|
|
2089
|
-
fflig: "ff",
|
|
2090
|
-
ffllig: "ffl",
|
|
2091
|
-
Ffr: "𝔉",
|
|
2092
|
-
ffr: "𝔣",
|
|
2093
|
-
filig: "fi",
|
|
2094
|
-
FilledSmallSquare: "◼",
|
|
2095
|
-
FilledVerySmallSquare: "▪",
|
|
2096
|
-
fjlig: "fj",
|
|
2097
|
-
flat: "♭",
|
|
2098
|
-
fllig: "fl",
|
|
2099
|
-
fltns: "▱",
|
|
2100
|
-
fnof: "ƒ",
|
|
2101
|
-
Fopf: "𝔽",
|
|
2102
|
-
fopf: "𝕗",
|
|
2103
|
-
ForAll: "∀",
|
|
2104
|
-
forall: "∀",
|
|
2105
|
-
fork: "⋔",
|
|
2106
|
-
forkv: "⫙",
|
|
2107
|
-
Fouriertrf: "ℱ",
|
|
2108
|
-
fpartint: "⨍",
|
|
2109
|
-
frac12: "½",
|
|
2110
|
-
frac13: "⅓",
|
|
2111
|
-
frac14: "¼",
|
|
2112
|
-
frac15: "⅕",
|
|
2113
|
-
frac16: "⅙",
|
|
2114
|
-
frac18: "⅛",
|
|
2115
|
-
frac23: "⅔",
|
|
2116
|
-
frac25: "⅖",
|
|
2117
|
-
frac34: "¾",
|
|
2118
|
-
frac35: "⅗",
|
|
2119
|
-
frac38: "⅜",
|
|
2120
|
-
frac45: "⅘",
|
|
2121
|
-
frac56: "⅚",
|
|
2122
|
-
frac58: "⅝",
|
|
2123
|
-
frac78: "⅞",
|
|
2124
|
-
frasl: "⁄",
|
|
2125
|
-
frown: "⌢",
|
|
2126
|
-
Fscr: "ℱ",
|
|
2127
|
-
fscr: "𝒻",
|
|
2128
|
-
gacute: "ǵ",
|
|
2129
|
-
Gamma: "Γ",
|
|
2130
|
-
gamma: "γ",
|
|
2131
|
-
Gammad: "Ϝ",
|
|
2132
|
-
gammad: "ϝ",
|
|
2133
|
-
gap: "⪆",
|
|
2134
|
-
Gbreve: "Ğ",
|
|
2135
|
-
gbreve: "ğ",
|
|
2136
|
-
Gcedil: "Ģ",
|
|
2137
|
-
Gcirc: "Ĝ",
|
|
2138
|
-
gcirc: "ĝ",
|
|
2139
|
-
Gcy: "Г",
|
|
2140
|
-
gcy: "г",
|
|
2141
|
-
Gdot: "Ġ",
|
|
2142
|
-
gdot: "ġ",
|
|
2143
|
-
gE: "≧",
|
|
2144
|
-
ge: "≥",
|
|
2145
|
-
gEl: "⪌",
|
|
2146
|
-
gel: "⋛",
|
|
2147
|
-
geq: "≥",
|
|
2148
|
-
geqq: "≧",
|
|
2149
|
-
geqslant: "⩾",
|
|
2150
|
-
ges: "⩾",
|
|
2151
|
-
gescc: "⪩",
|
|
2152
|
-
gesdot: "⪀",
|
|
2153
|
-
gesdoto: "⪂",
|
|
2154
|
-
gesdotol: "⪄",
|
|
2155
|
-
gesl: "⋛︀",
|
|
2156
|
-
gesles: "⪔",
|
|
2157
|
-
Gfr: "𝔊",
|
|
2158
|
-
gfr: "𝔤",
|
|
2159
|
-
Gg: "⋙",
|
|
2160
|
-
gg: "≫",
|
|
2161
|
-
ggg: "⋙",
|
|
2162
|
-
gimel: "ℷ",
|
|
2163
|
-
GJcy: "Ѓ",
|
|
2164
|
-
gjcy: "ѓ",
|
|
2165
|
-
gl: "≷",
|
|
2166
|
-
gla: "⪥",
|
|
2167
|
-
glE: "⪒",
|
|
2168
|
-
glj: "⪤",
|
|
2169
|
-
gnap: "⪊",
|
|
2170
|
-
gnapprox: "⪊",
|
|
2171
|
-
gnE: "≩",
|
|
2172
|
-
gne: "⪈",
|
|
2173
|
-
gneq: "⪈",
|
|
2174
|
-
gneqq: "≩",
|
|
2175
|
-
gnsim: "⋧",
|
|
2176
|
-
Gopf: "𝔾",
|
|
2177
|
-
gopf: "𝕘",
|
|
2178
|
-
grave: "`",
|
|
2179
|
-
GreaterEqual: "≥",
|
|
2180
|
-
GreaterEqualLess: "⋛",
|
|
2181
|
-
GreaterFullEqual: "≧",
|
|
2182
|
-
GreaterGreater: "⪢",
|
|
2183
|
-
GreaterLess: "≷",
|
|
2184
|
-
GreaterSlantEqual: "⩾",
|
|
2185
|
-
GreaterTilde: "≳",
|
|
2186
|
-
Gscr: "𝒢",
|
|
2187
|
-
gscr: "ℊ",
|
|
2188
|
-
gsim: "≳",
|
|
2189
|
-
gsime: "⪎",
|
|
2190
|
-
gsiml: "⪐",
|
|
2191
|
-
Gt: "≫",
|
|
2192
|
-
GT: ">",
|
|
2193
|
-
gt: ">",
|
|
2194
|
-
gtcc: "⪧",
|
|
2195
|
-
gtcir: "⩺",
|
|
2196
|
-
gtdot: "⋗",
|
|
2197
|
-
gtlPar: "⦕",
|
|
2198
|
-
gtquest: "⩼",
|
|
2199
|
-
gtrapprox: "⪆",
|
|
2200
|
-
gtrarr: "⥸",
|
|
2201
|
-
gtrdot: "⋗",
|
|
2202
|
-
gtreqless: "⋛",
|
|
2203
|
-
gtreqqless: "⪌",
|
|
2204
|
-
gtrless: "≷",
|
|
2205
|
-
gtrsim: "≳",
|
|
2206
|
-
gvertneqq: "≩︀",
|
|
2207
|
-
gvnE: "≩︀",
|
|
2208
|
-
Hacek: "ˇ",
|
|
2209
|
-
hairsp: " ",
|
|
2210
|
-
half: "½",
|
|
2211
|
-
hamilt: "ℋ",
|
|
2212
|
-
HARDcy: "Ъ",
|
|
2213
|
-
hardcy: "ъ",
|
|
2214
|
-
hArr: "⇔",
|
|
2215
|
-
harr: "↔",
|
|
2216
|
-
harrcir: "⥈",
|
|
2217
|
-
harrw: "↭",
|
|
2218
|
-
Hat: "^",
|
|
2219
|
-
hbar: "ℏ",
|
|
2220
|
-
Hcirc: "Ĥ",
|
|
2221
|
-
hcirc: "ĥ",
|
|
2222
|
-
hearts: "♥",
|
|
2223
|
-
heartsuit: "♥",
|
|
2224
|
-
hellip: "…",
|
|
2225
|
-
hercon: "⊹",
|
|
2226
|
-
Hfr: "ℌ",
|
|
2227
|
-
hfr: "𝔥",
|
|
2228
|
-
HilbertSpace: "ℋ",
|
|
2229
|
-
hksearow: "⤥",
|
|
2230
|
-
hkswarow: "⤦",
|
|
2231
|
-
hoarr: "⇿",
|
|
2232
|
-
homtht: "∻",
|
|
2233
|
-
hookleftarrow: "↩",
|
|
2234
|
-
hookrightarrow: "↪",
|
|
2235
|
-
Hopf: "ℍ",
|
|
2236
|
-
hopf: "𝕙",
|
|
2237
|
-
horbar: "―",
|
|
2238
|
-
HorizontalLine: "─",
|
|
2239
|
-
Hscr: "ℋ",
|
|
2240
|
-
hscr: "𝒽",
|
|
2241
|
-
hslash: "ℏ",
|
|
2242
|
-
Hstrok: "Ħ",
|
|
2243
|
-
hstrok: "ħ",
|
|
2244
|
-
HumpDownHump: "≎",
|
|
2245
|
-
HumpEqual: "≏",
|
|
2246
|
-
hybull: "⁃",
|
|
2247
|
-
hyphen: "‐",
|
|
2248
|
-
Iacute: "Í",
|
|
2249
|
-
iacute: "í",
|
|
2250
|
-
ic: "",
|
|
2251
|
-
Icirc: "Î",
|
|
2252
|
-
icirc: "î",
|
|
2253
|
-
Icy: "И",
|
|
2254
|
-
icy: "и",
|
|
2255
|
-
Idot: "İ",
|
|
2256
|
-
IEcy: "Е",
|
|
2257
|
-
iecy: "е",
|
|
2258
|
-
iexcl: "¡",
|
|
2259
|
-
iff: "⇔",
|
|
2260
|
-
Ifr: "ℑ",
|
|
2261
|
-
ifr: "𝔦",
|
|
2262
|
-
Igrave: "Ì",
|
|
2263
|
-
igrave: "ì",
|
|
2264
|
-
ii: "ⅈ",
|
|
2265
|
-
iiiint: "⨌",
|
|
2266
|
-
iiint: "∭",
|
|
2267
|
-
iinfin: "⧜",
|
|
2268
|
-
iiota: "℩",
|
|
2269
|
-
IJlig: "IJ",
|
|
2270
|
-
ijlig: "ij",
|
|
2271
|
-
Im: "ℑ",
|
|
2272
|
-
Imacr: "Ī",
|
|
2273
|
-
imacr: "ī",
|
|
2274
|
-
image: "ℑ",
|
|
2275
|
-
ImaginaryI: "ⅈ",
|
|
2276
|
-
imagline: "ℐ",
|
|
2277
|
-
imagpart: "ℑ",
|
|
2278
|
-
imath: "ı",
|
|
2279
|
-
imof: "⊷",
|
|
2280
|
-
imped: "Ƶ",
|
|
2281
|
-
Implies: "⇒",
|
|
2282
|
-
in: "∈",
|
|
2283
|
-
incare: "℅",
|
|
2284
|
-
infin: "∞",
|
|
2285
|
-
infintie: "⧝",
|
|
2286
|
-
inodot: "ı",
|
|
2287
|
-
Int: "∬",
|
|
2288
|
-
int: "∫",
|
|
2289
|
-
intcal: "⊺",
|
|
2290
|
-
integers: "ℤ",
|
|
2291
|
-
Integral: "∫",
|
|
2292
|
-
intercal: "⊺",
|
|
2293
|
-
Intersection: "⋂",
|
|
2294
|
-
intlarhk: "⨗",
|
|
2295
|
-
intprod: "⨼",
|
|
2296
|
-
InvisibleComma: "",
|
|
2297
|
-
InvisibleTimes: "",
|
|
2298
|
-
IOcy: "Ё",
|
|
2299
|
-
iocy: "ё",
|
|
2300
|
-
Iogon: "Į",
|
|
2301
|
-
iogon: "į",
|
|
2302
|
-
Iopf: "𝕀",
|
|
2303
|
-
iopf: "𝕚",
|
|
2304
|
-
Iota: "Ι",
|
|
2305
|
-
iota: "ι",
|
|
2306
|
-
iprod: "⨼",
|
|
2307
|
-
iquest: "¿",
|
|
2308
|
-
Iscr: "ℐ",
|
|
2309
|
-
iscr: "𝒾",
|
|
2310
|
-
isin: "∈",
|
|
2311
|
-
isindot: "⋵",
|
|
2312
|
-
isinE: "⋹",
|
|
2313
|
-
isins: "⋴",
|
|
2314
|
-
isinsv: "⋳",
|
|
2315
|
-
isinv: "∈",
|
|
2316
|
-
it: "",
|
|
2317
|
-
Itilde: "Ĩ",
|
|
2318
|
-
itilde: "ĩ",
|
|
2319
|
-
Iukcy: "І",
|
|
2320
|
-
iukcy: "і",
|
|
2321
|
-
Iuml: "Ï",
|
|
2322
|
-
iuml: "ï",
|
|
2323
|
-
Jcirc: "Ĵ",
|
|
2324
|
-
jcirc: "ĵ",
|
|
2325
|
-
Jcy: "Й",
|
|
2326
|
-
jcy: "й",
|
|
2327
|
-
Jfr: "𝔍",
|
|
2328
|
-
jfr: "𝔧",
|
|
2329
|
-
jmath: "ȷ",
|
|
2330
|
-
Jopf: "𝕁",
|
|
2331
|
-
jopf: "𝕛",
|
|
2332
|
-
Jscr: "𝒥",
|
|
2333
|
-
jscr: "𝒿",
|
|
2334
|
-
Jsercy: "Ј",
|
|
2335
|
-
jsercy: "ј",
|
|
2336
|
-
Jukcy: "Є",
|
|
2337
|
-
jukcy: "є",
|
|
2338
|
-
Kappa: "Κ",
|
|
2339
|
-
kappa: "κ",
|
|
2340
|
-
kappav: "ϰ",
|
|
2341
|
-
Kcedil: "Ķ",
|
|
2342
|
-
kcedil: "ķ",
|
|
2343
|
-
Kcy: "К",
|
|
2344
|
-
kcy: "к",
|
|
2345
|
-
Kfr: "𝔎",
|
|
2346
|
-
kfr: "𝔨",
|
|
2347
|
-
kgreen: "ĸ",
|
|
2348
|
-
KHcy: "Х",
|
|
2349
|
-
khcy: "х",
|
|
2350
|
-
KJcy: "Ќ",
|
|
2351
|
-
kjcy: "ќ",
|
|
2352
|
-
Kopf: "𝕂",
|
|
2353
|
-
kopf: "𝕜",
|
|
2354
|
-
Kscr: "𝒦",
|
|
2355
|
-
kscr: "𝓀",
|
|
2356
|
-
lAarr: "⇚",
|
|
2357
|
-
Lacute: "Ĺ",
|
|
2358
|
-
lacute: "ĺ",
|
|
2359
|
-
laemptyv: "⦴",
|
|
2360
|
-
lagran: "ℒ",
|
|
2361
|
-
Lambda: "Λ",
|
|
2362
|
-
lambda: "λ",
|
|
2363
|
-
Lang: "⟪",
|
|
2364
|
-
lang: "⟨",
|
|
2365
|
-
langd: "⦑",
|
|
2366
|
-
langle: "⟨",
|
|
2367
|
-
lap: "⪅",
|
|
2368
|
-
Laplacetrf: "ℒ",
|
|
2369
|
-
laquo: "«",
|
|
2370
|
-
Larr: "↞",
|
|
2371
|
-
lArr: "⇐",
|
|
2372
|
-
larr: "←",
|
|
2373
|
-
larrb: "⇤",
|
|
2374
|
-
larrbfs: "⤟",
|
|
2375
|
-
larrfs: "⤝",
|
|
2376
|
-
larrhk: "↩",
|
|
2377
|
-
larrlp: "↫",
|
|
2378
|
-
larrpl: "⤹",
|
|
2379
|
-
larrsim: "⥳",
|
|
2380
|
-
larrtl: "↢",
|
|
2381
|
-
lat: "⪫",
|
|
2382
|
-
lAtail: "⤛",
|
|
2383
|
-
latail: "⤙",
|
|
2384
|
-
late: "⪭",
|
|
2385
|
-
lates: "⪭︀",
|
|
2386
|
-
lBarr: "⤎",
|
|
2387
|
-
lbarr: "⤌",
|
|
2388
|
-
lbbrk: "❲",
|
|
2389
|
-
lbrace: "{",
|
|
2390
|
-
lbrack: "[",
|
|
2391
|
-
lbrke: "⦋",
|
|
2392
|
-
lbrksld: "⦏",
|
|
2393
|
-
lbrkslu: "⦍",
|
|
2394
|
-
Lcaron: "Ľ",
|
|
2395
|
-
lcaron: "ľ",
|
|
2396
|
-
Lcedil: "Ļ",
|
|
2397
|
-
lcedil: "ļ",
|
|
2398
|
-
lceil: "⌈",
|
|
2399
|
-
lcub: "{",
|
|
2400
|
-
Lcy: "Л",
|
|
2401
|
-
lcy: "л",
|
|
2402
|
-
ldca: "⤶",
|
|
2403
|
-
ldquo: "“",
|
|
2404
|
-
ldquor: "„",
|
|
2405
|
-
ldrdhar: "⥧",
|
|
2406
|
-
ldrushar: "⥋",
|
|
2407
|
-
ldsh: "↲",
|
|
2408
|
-
lE: "≦",
|
|
2409
|
-
le: "≤",
|
|
2410
|
-
LeftAngleBracket: "⟨",
|
|
2411
|
-
LeftArrow: "←",
|
|
2412
|
-
Leftarrow: "⇐",
|
|
2413
|
-
leftarrow: "←",
|
|
2414
|
-
LeftArrowBar: "⇤",
|
|
2415
|
-
LeftArrowRightArrow: "⇆",
|
|
2416
|
-
leftarrowtail: "↢",
|
|
2417
|
-
LeftCeiling: "⌈",
|
|
2418
|
-
LeftDoubleBracket: "⟦",
|
|
2419
|
-
LeftDownTeeVector: "⥡",
|
|
2420
|
-
LeftDownVector: "⇃",
|
|
2421
|
-
LeftDownVectorBar: "⥙",
|
|
2422
|
-
LeftFloor: "⌊",
|
|
2423
|
-
leftharpoondown: "↽",
|
|
2424
|
-
leftharpoonup: "↼",
|
|
2425
|
-
leftleftarrows: "⇇",
|
|
2426
|
-
LeftRightArrow: "↔",
|
|
2427
|
-
Leftrightarrow: "⇔",
|
|
2428
|
-
leftrightarrow: "↔",
|
|
2429
|
-
leftrightarrows: "⇆",
|
|
2430
|
-
leftrightharpoons: "⇋",
|
|
2431
|
-
leftrightsquigarrow: "↭",
|
|
2432
|
-
LeftRightVector: "⥎",
|
|
2433
|
-
LeftTee: "⊣",
|
|
2434
|
-
LeftTeeArrow: "↤",
|
|
2435
|
-
LeftTeeVector: "⥚",
|
|
2436
|
-
leftthreetimes: "⋋",
|
|
2437
|
-
LeftTriangle: "⊲",
|
|
2438
|
-
LeftTriangleBar: "⧏",
|
|
2439
|
-
LeftTriangleEqual: "⊴",
|
|
2440
|
-
LeftUpDownVector: "⥑",
|
|
2441
|
-
LeftUpTeeVector: "⥠",
|
|
2442
|
-
LeftUpVector: "↿",
|
|
2443
|
-
LeftUpVectorBar: "⥘",
|
|
2444
|
-
LeftVector: "↼",
|
|
2445
|
-
LeftVectorBar: "⥒",
|
|
2446
|
-
lEg: "⪋",
|
|
2447
|
-
leg: "⋚",
|
|
2448
|
-
leq: "≤",
|
|
2449
|
-
leqq: "≦",
|
|
2450
|
-
leqslant: "⩽",
|
|
2451
|
-
les: "⩽",
|
|
2452
|
-
lescc: "⪨",
|
|
2453
|
-
lesdot: "⩿",
|
|
2454
|
-
lesdoto: "⪁",
|
|
2455
|
-
lesdotor: "⪃",
|
|
2456
|
-
lesg: "⋚︀",
|
|
2457
|
-
lesges: "⪓",
|
|
2458
|
-
lessapprox: "⪅",
|
|
2459
|
-
lessdot: "⋖",
|
|
2460
|
-
lesseqgtr: "⋚",
|
|
2461
|
-
lesseqqgtr: "⪋",
|
|
2462
|
-
LessEqualGreater: "⋚",
|
|
2463
|
-
LessFullEqual: "≦",
|
|
2464
|
-
LessGreater: "≶",
|
|
2465
|
-
lessgtr: "≶",
|
|
2466
|
-
LessLess: "⪡",
|
|
2467
|
-
lesssim: "≲",
|
|
2468
|
-
LessSlantEqual: "⩽",
|
|
2469
|
-
LessTilde: "≲",
|
|
2470
|
-
lfisht: "⥼",
|
|
2471
|
-
lfloor: "⌊",
|
|
2472
|
-
Lfr: "𝔏",
|
|
2473
|
-
lfr: "𝔩",
|
|
2474
|
-
lg: "≶",
|
|
2475
|
-
lgE: "⪑",
|
|
2476
|
-
lHar: "⥢",
|
|
2477
|
-
lhard: "↽",
|
|
2478
|
-
lharu: "↼",
|
|
2479
|
-
lharul: "⥪",
|
|
2480
|
-
lhblk: "▄",
|
|
2481
|
-
LJcy: "Љ",
|
|
2482
|
-
ljcy: "љ",
|
|
2483
|
-
Ll: "⋘",
|
|
2484
|
-
ll: "≪",
|
|
2485
|
-
llarr: "⇇",
|
|
2486
|
-
llcorner: "⌞",
|
|
2487
|
-
Lleftarrow: "⇚",
|
|
2488
|
-
llhard: "⥫",
|
|
2489
|
-
lltri: "◺",
|
|
2490
|
-
Lmidot: "Ŀ",
|
|
2491
|
-
lmidot: "ŀ",
|
|
2492
|
-
lmoust: "⎰",
|
|
2493
|
-
lmoustache: "⎰",
|
|
2494
|
-
lnap: "⪉",
|
|
2495
|
-
lnapprox: "⪉",
|
|
2496
|
-
lnE: "≨",
|
|
2497
|
-
lne: "⪇",
|
|
2498
|
-
lneq: "⪇",
|
|
2499
|
-
lneqq: "≨",
|
|
2500
|
-
lnsim: "⋦",
|
|
2501
|
-
loang: "⟬",
|
|
2502
|
-
loarr: "⇽",
|
|
2503
|
-
lobrk: "⟦",
|
|
2504
|
-
LongLeftArrow: "⟵",
|
|
2505
|
-
Longleftarrow: "⟸",
|
|
2506
|
-
longleftarrow: "⟵",
|
|
2507
|
-
LongLeftRightArrow: "⟷",
|
|
2508
|
-
Longleftrightarrow: "⟺",
|
|
2509
|
-
longleftrightarrow: "⟷",
|
|
2510
|
-
longmapsto: "⟼",
|
|
2511
|
-
LongRightArrow: "⟶",
|
|
2512
|
-
Longrightarrow: "⟹",
|
|
2513
|
-
longrightarrow: "⟶",
|
|
2514
|
-
looparrowleft: "↫",
|
|
2515
|
-
looparrowright: "↬",
|
|
2516
|
-
lopar: "⦅",
|
|
2517
|
-
Lopf: "𝕃",
|
|
2518
|
-
lopf: "𝕝",
|
|
2519
|
-
loplus: "⨭",
|
|
2520
|
-
lotimes: "⨴",
|
|
2521
|
-
lowast: "∗",
|
|
2522
|
-
lowbar: "_",
|
|
2523
|
-
LowerLeftArrow: "↙",
|
|
2524
|
-
LowerRightArrow: "↘",
|
|
2525
|
-
loz: "◊",
|
|
2526
|
-
lozenge: "◊",
|
|
2527
|
-
lozf: "⧫",
|
|
2528
|
-
lpar: "(",
|
|
2529
|
-
lparlt: "⦓",
|
|
2530
|
-
lrarr: "⇆",
|
|
2531
|
-
lrcorner: "⌟",
|
|
2532
|
-
lrhar: "⇋",
|
|
2533
|
-
lrhard: "⥭",
|
|
2534
|
-
lrm: "",
|
|
2535
|
-
lrtri: "⊿",
|
|
2536
|
-
lsaquo: "‹",
|
|
2537
|
-
Lscr: "ℒ",
|
|
2538
|
-
lscr: "𝓁",
|
|
2539
|
-
Lsh: "↰",
|
|
2540
|
-
lsh: "↰",
|
|
2541
|
-
lsim: "≲",
|
|
2542
|
-
lsime: "⪍",
|
|
2543
|
-
lsimg: "⪏",
|
|
2544
|
-
lsqb: "[",
|
|
2545
|
-
lsquo: "‘",
|
|
2546
|
-
lsquor: "‚",
|
|
2547
|
-
Lstrok: "Ł",
|
|
2548
|
-
lstrok: "ł",
|
|
2549
|
-
Lt: "≪",
|
|
2550
|
-
LT: "<",
|
|
2551
|
-
lt: "<",
|
|
2552
|
-
ltcc: "⪦",
|
|
2553
|
-
ltcir: "⩹",
|
|
2554
|
-
ltdot: "⋖",
|
|
2555
|
-
lthree: "⋋",
|
|
2556
|
-
ltimes: "⋉",
|
|
2557
|
-
ltlarr: "⥶",
|
|
2558
|
-
ltquest: "⩻",
|
|
2559
|
-
ltri: "◃",
|
|
2560
|
-
ltrie: "⊴",
|
|
2561
|
-
ltrif: "◂",
|
|
2562
|
-
ltrPar: "⦖",
|
|
2563
|
-
lurdshar: "⥊",
|
|
2564
|
-
luruhar: "⥦",
|
|
2565
|
-
lvertneqq: "≨︀",
|
|
2566
|
-
lvnE: "≨︀",
|
|
2567
|
-
macr: "¯",
|
|
2568
|
-
male: "♂",
|
|
2569
|
-
malt: "✠",
|
|
2570
|
-
maltese: "✠",
|
|
2571
|
-
Map: "⤅",
|
|
2572
|
-
map: "↦",
|
|
2573
|
-
mapsto: "↦",
|
|
2574
|
-
mapstodown: "↧",
|
|
2575
|
-
mapstoleft: "↤",
|
|
2576
|
-
mapstoup: "↥",
|
|
2577
|
-
marker: "▮",
|
|
2578
|
-
mcomma: "⨩",
|
|
2579
|
-
Mcy: "М",
|
|
2580
|
-
mcy: "м",
|
|
2581
|
-
mdash: "—",
|
|
2582
|
-
mDDot: "∺",
|
|
2583
|
-
measuredangle: "∡",
|
|
2584
|
-
MediumSpace: " ",
|
|
2585
|
-
Mellintrf: "ℳ",
|
|
2586
|
-
Mfr: "𝔐",
|
|
2587
|
-
mfr: "𝔪",
|
|
2588
|
-
mho: "℧",
|
|
2589
|
-
micro: "µ",
|
|
2590
|
-
mid: "∣",
|
|
2591
|
-
midast: "*",
|
|
2592
|
-
midcir: "⫰",
|
|
2593
|
-
middot: "·",
|
|
2594
|
-
minus: "−",
|
|
2595
|
-
minusb: "⊟",
|
|
2596
|
-
minusd: "∸",
|
|
2597
|
-
minusdu: "⨪",
|
|
2598
|
-
MinusPlus: "∓",
|
|
2599
|
-
mlcp: "⫛",
|
|
2600
|
-
mldr: "…",
|
|
2601
|
-
mnplus: "∓",
|
|
2602
|
-
models: "⊧",
|
|
2603
|
-
Mopf: "𝕄",
|
|
2604
|
-
mopf: "𝕞",
|
|
2605
|
-
mp: "∓",
|
|
2606
|
-
Mscr: "ℳ",
|
|
2607
|
-
mscr: "𝓂",
|
|
2608
|
-
mstpos: "∾",
|
|
2609
|
-
Mu: "Μ",
|
|
2610
|
-
mu: "μ",
|
|
2611
|
-
multimap: "⊸",
|
|
2612
|
-
mumap: "⊸",
|
|
2613
|
-
nabla: "∇",
|
|
2614
|
-
Nacute: "Ń",
|
|
2615
|
-
nacute: "ń",
|
|
2616
|
-
nang: "∠⃒",
|
|
2617
|
-
nap: "≉",
|
|
2618
|
-
napE: "⩰̸",
|
|
2619
|
-
napid: "≋̸",
|
|
2620
|
-
napos: "ʼn",
|
|
2621
|
-
napprox: "≉",
|
|
2622
|
-
natur: "♮",
|
|
2623
|
-
natural: "♮",
|
|
2624
|
-
naturals: "ℕ",
|
|
2625
|
-
nbsp: " ",
|
|
2626
|
-
nbump: "≎̸",
|
|
2627
|
-
nbumpe: "≏̸",
|
|
2628
|
-
ncap: "⩃",
|
|
2629
|
-
Ncaron: "Ň",
|
|
2630
|
-
ncaron: "ň",
|
|
2631
|
-
Ncedil: "Ņ",
|
|
2632
|
-
ncedil: "ņ",
|
|
2633
|
-
ncong: "≇",
|
|
2634
|
-
ncongdot: "⩭̸",
|
|
2635
|
-
ncup: "⩂",
|
|
2636
|
-
Ncy: "Н",
|
|
2637
|
-
ncy: "н",
|
|
2638
|
-
ndash: "–",
|
|
2639
|
-
ne: "≠",
|
|
2640
|
-
nearhk: "⤤",
|
|
2641
|
-
neArr: "⇗",
|
|
2642
|
-
nearr: "↗",
|
|
2643
|
-
nearrow: "↗",
|
|
2644
|
-
nedot: "≐̸",
|
|
2645
|
-
NegativeMediumSpace: "",
|
|
2646
|
-
NegativeThickSpace: "",
|
|
2647
|
-
NegativeThinSpace: "",
|
|
2648
|
-
NegativeVeryThinSpace: "",
|
|
2649
|
-
nequiv: "≢",
|
|
2650
|
-
nesear: "⤨",
|
|
2651
|
-
nesim: "≂̸",
|
|
2652
|
-
NestedGreaterGreater: "≫",
|
|
2653
|
-
NestedLessLess: "≪",
|
|
2654
|
-
NewLine: "\n",
|
|
2655
|
-
nexist: "∄",
|
|
2656
|
-
nexists: "∄",
|
|
2657
|
-
Nfr: "𝔑",
|
|
2658
|
-
nfr: "𝔫",
|
|
2659
|
-
ngE: "≧̸",
|
|
2660
|
-
nge: "≱",
|
|
2661
|
-
ngeq: "≱",
|
|
2662
|
-
ngeqq: "≧̸",
|
|
2663
|
-
ngeqslant: "⩾̸",
|
|
2664
|
-
nges: "⩾̸",
|
|
2665
|
-
nGg: "⋙̸",
|
|
2666
|
-
ngsim: "≵",
|
|
2667
|
-
nGt: "≫⃒",
|
|
2668
|
-
ngt: "≯",
|
|
2669
|
-
ngtr: "≯",
|
|
2670
|
-
nGtv: "≫̸",
|
|
2671
|
-
nhArr: "⇎",
|
|
2672
|
-
nharr: "↮",
|
|
2673
|
-
nhpar: "⫲",
|
|
2674
|
-
ni: "∋",
|
|
2675
|
-
nis: "⋼",
|
|
2676
|
-
nisd: "⋺",
|
|
2677
|
-
niv: "∋",
|
|
2678
|
-
NJcy: "Њ",
|
|
2679
|
-
njcy: "њ",
|
|
2680
|
-
nlArr: "⇍",
|
|
2681
|
-
nlarr: "↚",
|
|
2682
|
-
nldr: "‥",
|
|
2683
|
-
nlE: "≦̸",
|
|
2684
|
-
nle: "≰",
|
|
2685
|
-
nLeftarrow: "⇍",
|
|
2686
|
-
nleftarrow: "↚",
|
|
2687
|
-
nLeftrightarrow: "⇎",
|
|
2688
|
-
nleftrightarrow: "↮",
|
|
2689
|
-
nleq: "≰",
|
|
2690
|
-
nleqq: "≦̸",
|
|
2691
|
-
nleqslant: "⩽̸",
|
|
2692
|
-
nles: "⩽̸",
|
|
2693
|
-
nless: "≮",
|
|
2694
|
-
nLl: "⋘̸",
|
|
2695
|
-
nlsim: "≴",
|
|
2696
|
-
nLt: "≪⃒",
|
|
2697
|
-
nlt: "≮",
|
|
2698
|
-
nltri: "⋪",
|
|
2699
|
-
nltrie: "⋬",
|
|
2700
|
-
nLtv: "≪̸",
|
|
2701
|
-
nmid: "∤",
|
|
2702
|
-
NoBreak: "",
|
|
2703
|
-
NonBreakingSpace: " ",
|
|
2704
|
-
Nopf: "ℕ",
|
|
2705
|
-
nopf: "𝕟",
|
|
2706
|
-
Not: "⫬",
|
|
2707
|
-
not: "¬",
|
|
2708
|
-
NotCongruent: "≢",
|
|
2709
|
-
NotCupCap: "≭",
|
|
2710
|
-
NotDoubleVerticalBar: "∦",
|
|
2711
|
-
NotElement: "∉",
|
|
2712
|
-
NotEqual: "≠",
|
|
2713
|
-
NotEqualTilde: "≂̸",
|
|
2714
|
-
NotExists: "∄",
|
|
2715
|
-
NotGreater: "≯",
|
|
2716
|
-
NotGreaterEqual: "≱",
|
|
2717
|
-
NotGreaterFullEqual: "≧̸",
|
|
2718
|
-
NotGreaterGreater: "≫̸",
|
|
2719
|
-
NotGreaterLess: "≹",
|
|
2720
|
-
NotGreaterSlantEqual: "⩾̸",
|
|
2721
|
-
NotGreaterTilde: "≵",
|
|
2722
|
-
NotHumpDownHump: "≎̸",
|
|
2723
|
-
NotHumpEqual: "≏̸",
|
|
2724
|
-
notin: "∉",
|
|
2725
|
-
notindot: "⋵̸",
|
|
2726
|
-
notinE: "⋹̸",
|
|
2727
|
-
notinva: "∉",
|
|
2728
|
-
notinvb: "⋷",
|
|
2729
|
-
notinvc: "⋶",
|
|
2730
|
-
NotLeftTriangle: "⋪",
|
|
2731
|
-
NotLeftTriangleBar: "⧏̸",
|
|
2732
|
-
NotLeftTriangleEqual: "⋬",
|
|
2733
|
-
NotLess: "≮",
|
|
2734
|
-
NotLessEqual: "≰",
|
|
2735
|
-
NotLessGreater: "≸",
|
|
2736
|
-
NotLessLess: "≪̸",
|
|
2737
|
-
NotLessSlantEqual: "⩽̸",
|
|
2738
|
-
NotLessTilde: "≴",
|
|
2739
|
-
NotNestedGreaterGreater: "⪢̸",
|
|
2740
|
-
NotNestedLessLess: "⪡̸",
|
|
2741
|
-
notni: "∌",
|
|
2742
|
-
notniva: "∌",
|
|
2743
|
-
notnivb: "⋾",
|
|
2744
|
-
notnivc: "⋽",
|
|
2745
|
-
NotPrecedes: "⊀",
|
|
2746
|
-
NotPrecedesEqual: "⪯̸",
|
|
2747
|
-
NotPrecedesSlantEqual: "⋠",
|
|
2748
|
-
NotReverseElement: "∌",
|
|
2749
|
-
NotRightTriangle: "⋫",
|
|
2750
|
-
NotRightTriangleBar: "⧐̸",
|
|
2751
|
-
NotRightTriangleEqual: "⋭",
|
|
2752
|
-
NotSquareSubset: "⊏̸",
|
|
2753
|
-
NotSquareSubsetEqual: "⋢",
|
|
2754
|
-
NotSquareSuperset: "⊐̸",
|
|
2755
|
-
NotSquareSupersetEqual: "⋣",
|
|
2756
|
-
NotSubset: "⊂⃒",
|
|
2757
|
-
NotSubsetEqual: "⊈",
|
|
2758
|
-
NotSucceeds: "⊁",
|
|
2759
|
-
NotSucceedsEqual: "⪰̸",
|
|
2760
|
-
NotSucceedsSlantEqual: "⋡",
|
|
2761
|
-
NotSucceedsTilde: "≿̸",
|
|
2762
|
-
NotSuperset: "⊃⃒",
|
|
2763
|
-
NotSupersetEqual: "⊉",
|
|
2764
|
-
NotTilde: "≁",
|
|
2765
|
-
NotTildeEqual: "≄",
|
|
2766
|
-
NotTildeFullEqual: "≇",
|
|
2767
|
-
NotTildeTilde: "≉",
|
|
2768
|
-
NotVerticalBar: "∤",
|
|
2769
|
-
npar: "∦",
|
|
2770
|
-
nparallel: "∦",
|
|
2771
|
-
nparsl: "⫽⃥",
|
|
2772
|
-
npart: "∂̸",
|
|
2773
|
-
npolint: "⨔",
|
|
2774
|
-
npr: "⊀",
|
|
2775
|
-
nprcue: "⋠",
|
|
2776
|
-
npre: "⪯̸",
|
|
2777
|
-
nprec: "⊀",
|
|
2778
|
-
npreceq: "⪯̸",
|
|
2779
|
-
nrArr: "⇏",
|
|
2780
|
-
nrarr: "↛",
|
|
2781
|
-
nrarrc: "⤳̸",
|
|
2782
|
-
nrarrw: "↝̸",
|
|
2783
|
-
nRightarrow: "⇏",
|
|
2784
|
-
nrightarrow: "↛",
|
|
2785
|
-
nrtri: "⋫",
|
|
2786
|
-
nrtrie: "⋭",
|
|
2787
|
-
nsc: "⊁",
|
|
2788
|
-
nsccue: "⋡",
|
|
2789
|
-
nsce: "⪰̸",
|
|
2790
|
-
Nscr: "𝒩",
|
|
2791
|
-
nscr: "𝓃",
|
|
2792
|
-
nshortmid: "∤",
|
|
2793
|
-
nshortparallel: "∦",
|
|
2794
|
-
nsim: "≁",
|
|
2795
|
-
nsime: "≄",
|
|
2796
|
-
nsimeq: "≄",
|
|
2797
|
-
nsmid: "∤",
|
|
2798
|
-
nspar: "∦",
|
|
2799
|
-
nsqsube: "⋢",
|
|
2800
|
-
nsqsupe: "⋣",
|
|
2801
|
-
nsub: "⊄",
|
|
2802
|
-
nsubE: "⫅̸",
|
|
2803
|
-
nsube: "⊈",
|
|
2804
|
-
nsubset: "⊂⃒",
|
|
2805
|
-
nsubseteq: "⊈",
|
|
2806
|
-
nsubseteqq: "⫅̸",
|
|
2807
|
-
nsucc: "⊁",
|
|
2808
|
-
nsucceq: "⪰̸",
|
|
2809
|
-
nsup: "⊅",
|
|
2810
|
-
nsupE: "⫆̸",
|
|
2811
|
-
nsupe: "⊉",
|
|
2812
|
-
nsupset: "⊃⃒",
|
|
2813
|
-
nsupseteq: "⊉",
|
|
2814
|
-
nsupseteqq: "⫆̸",
|
|
2815
|
-
ntgl: "≹",
|
|
2816
|
-
Ntilde: "Ñ",
|
|
2817
|
-
ntilde: "ñ",
|
|
2818
|
-
ntlg: "≸",
|
|
2819
|
-
ntriangleleft: "⋪",
|
|
2820
|
-
ntrianglelefteq: "⋬",
|
|
2821
|
-
ntriangleright: "⋫",
|
|
2822
|
-
ntrianglerighteq: "⋭",
|
|
2823
|
-
Nu: "Ν",
|
|
2824
|
-
nu: "ν",
|
|
2825
|
-
num: "#",
|
|
2826
|
-
numero: "№",
|
|
2827
|
-
numsp: " ",
|
|
2828
|
-
nvap: "≍⃒",
|
|
2829
|
-
nVDash: "⊯",
|
|
2830
|
-
nVdash: "⊮",
|
|
2831
|
-
nvDash: "⊭",
|
|
2832
|
-
nvdash: "⊬",
|
|
2833
|
-
nvge: "≥⃒",
|
|
2834
|
-
nvgt: ">⃒",
|
|
2835
|
-
nvHarr: "⤄",
|
|
2836
|
-
nvinfin: "⧞",
|
|
2837
|
-
nvlArr: "⤂",
|
|
2838
|
-
nvle: "≤⃒",
|
|
2839
|
-
nvlt: "<⃒",
|
|
2840
|
-
nvltrie: "⊴⃒",
|
|
2841
|
-
nvrArr: "⤃",
|
|
2842
|
-
nvrtrie: "⊵⃒",
|
|
2843
|
-
nvsim: "∼⃒",
|
|
2844
|
-
nwarhk: "⤣",
|
|
2845
|
-
nwArr: "⇖",
|
|
2846
|
-
nwarr: "↖",
|
|
2847
|
-
nwarrow: "↖",
|
|
2848
|
-
nwnear: "⤧",
|
|
2849
|
-
Oacute: "Ó",
|
|
2850
|
-
oacute: "ó",
|
|
2851
|
-
oast: "⊛",
|
|
2852
|
-
ocir: "⊚",
|
|
2853
|
-
Ocirc: "Ô",
|
|
2854
|
-
ocirc: "ô",
|
|
2855
|
-
Ocy: "О",
|
|
2856
|
-
ocy: "о",
|
|
2857
|
-
odash: "⊝",
|
|
2858
|
-
Odblac: "Ő",
|
|
2859
|
-
odblac: "ő",
|
|
2860
|
-
odiv: "⨸",
|
|
2861
|
-
odot: "⊙",
|
|
2862
|
-
odsold: "⦼",
|
|
2863
|
-
OElig: "Œ",
|
|
2864
|
-
oelig: "œ",
|
|
2865
|
-
ofcir: "⦿",
|
|
2866
|
-
Ofr: "𝔒",
|
|
2867
|
-
ofr: "𝔬",
|
|
2868
|
-
ogon: "˛",
|
|
2869
|
-
Ograve: "Ò",
|
|
2870
|
-
ograve: "ò",
|
|
2871
|
-
ogt: "⧁",
|
|
2872
|
-
ohbar: "⦵",
|
|
2873
|
-
ohm: "Ω",
|
|
2874
|
-
oint: "∮",
|
|
2875
|
-
olarr: "↺",
|
|
2876
|
-
olcir: "⦾",
|
|
2877
|
-
olcross: "⦻",
|
|
2878
|
-
oline: "‾",
|
|
2879
|
-
olt: "⧀",
|
|
2880
|
-
Omacr: "Ō",
|
|
2881
|
-
omacr: "ō",
|
|
2882
|
-
Omega: "Ω",
|
|
2883
|
-
omega: "ω",
|
|
2884
|
-
Omicron: "Ο",
|
|
2885
|
-
omicron: "ο",
|
|
2886
|
-
omid: "⦶",
|
|
2887
|
-
ominus: "⊖",
|
|
2888
|
-
Oopf: "𝕆",
|
|
2889
|
-
oopf: "𝕠",
|
|
2890
|
-
opar: "⦷",
|
|
2891
|
-
OpenCurlyDoubleQuote: "“",
|
|
2892
|
-
OpenCurlyQuote: "‘",
|
|
2893
|
-
operp: "⦹",
|
|
2894
|
-
oplus: "⊕",
|
|
2895
|
-
Or: "⩔",
|
|
2896
|
-
or: "∨",
|
|
2897
|
-
orarr: "↻",
|
|
2898
|
-
ord: "⩝",
|
|
2899
|
-
order: "ℴ",
|
|
2900
|
-
orderof: "ℴ",
|
|
2901
|
-
ordf: "ª",
|
|
2902
|
-
ordm: "º",
|
|
2903
|
-
origof: "⊶",
|
|
2904
|
-
oror: "⩖",
|
|
2905
|
-
orslope: "⩗",
|
|
2906
|
-
orv: "⩛",
|
|
2907
|
-
oS: "Ⓢ",
|
|
2908
|
-
Oscr: "𝒪",
|
|
2909
|
-
oscr: "ℴ",
|
|
2910
|
-
Oslash: "Ø",
|
|
2911
|
-
oslash: "ø",
|
|
2912
|
-
osol: "⊘",
|
|
2913
|
-
Otilde: "Õ",
|
|
2914
|
-
otilde: "õ",
|
|
2915
|
-
Otimes: "⨷",
|
|
2916
|
-
otimes: "⊗",
|
|
2917
|
-
otimesas: "⨶",
|
|
2918
|
-
Ouml: "Ö",
|
|
2919
|
-
ouml: "ö",
|
|
2920
|
-
ovbar: "⌽",
|
|
2921
|
-
OverBar: "‾",
|
|
2922
|
-
OverBrace: "⏞",
|
|
2923
|
-
OverBracket: "⎴",
|
|
2924
|
-
OverParenthesis: "⏜",
|
|
2925
|
-
par: "∥",
|
|
2926
|
-
para: "¶",
|
|
2927
|
-
parallel: "∥",
|
|
2928
|
-
parsim: "⫳",
|
|
2929
|
-
parsl: "⫽",
|
|
2930
|
-
part: "∂",
|
|
2931
|
-
PartialD: "∂",
|
|
2932
|
-
Pcy: "П",
|
|
2933
|
-
pcy: "п",
|
|
2934
|
-
percnt: "%",
|
|
2935
|
-
period: ".",
|
|
2936
|
-
permil: "‰",
|
|
2937
|
-
perp: "⊥",
|
|
2938
|
-
pertenk: "‱",
|
|
2939
|
-
Pfr: "𝔓",
|
|
2940
|
-
pfr: "𝔭",
|
|
2941
|
-
Phi: "Φ",
|
|
2942
|
-
phi: "φ",
|
|
2943
|
-
phiv: "ϕ",
|
|
2944
|
-
phmmat: "ℳ",
|
|
2945
|
-
phone: "☎",
|
|
2946
|
-
Pi: "Π",
|
|
2947
|
-
pi: "π",
|
|
2948
|
-
pitchfork: "⋔",
|
|
2949
|
-
piv: "ϖ",
|
|
2950
|
-
planck: "ℏ",
|
|
2951
|
-
planckh: "ℎ",
|
|
2952
|
-
plankv: "ℏ",
|
|
2953
|
-
plus: "+",
|
|
2954
|
-
plusacir: "⨣",
|
|
2955
|
-
plusb: "⊞",
|
|
2956
|
-
pluscir: "⨢",
|
|
2957
|
-
plusdo: "∔",
|
|
2958
|
-
plusdu: "⨥",
|
|
2959
|
-
pluse: "⩲",
|
|
2960
|
-
PlusMinus: "±",
|
|
2961
|
-
plusmn: "±",
|
|
2962
|
-
plussim: "⨦",
|
|
2963
|
-
plustwo: "⨧",
|
|
2964
|
-
pm: "±",
|
|
2965
|
-
Poincareplane: "ℌ",
|
|
2966
|
-
pointint: "⨕",
|
|
2967
|
-
Popf: "ℙ",
|
|
2968
|
-
popf: "𝕡",
|
|
2969
|
-
pound: "£",
|
|
2970
|
-
Pr: "⪻",
|
|
2971
|
-
pr: "≺",
|
|
2972
|
-
prap: "⪷",
|
|
2973
|
-
prcue: "≼",
|
|
2974
|
-
prE: "⪳",
|
|
2975
|
-
pre: "⪯",
|
|
2976
|
-
prec: "≺",
|
|
2977
|
-
precapprox: "⪷",
|
|
2978
|
-
preccurlyeq: "≼",
|
|
2979
|
-
Precedes: "≺",
|
|
2980
|
-
PrecedesEqual: "⪯",
|
|
2981
|
-
PrecedesSlantEqual: "≼",
|
|
2982
|
-
PrecedesTilde: "≾",
|
|
2983
|
-
preceq: "⪯",
|
|
2984
|
-
precnapprox: "⪹",
|
|
2985
|
-
precneqq: "⪵",
|
|
2986
|
-
precnsim: "⋨",
|
|
2987
|
-
precsim: "≾",
|
|
2988
|
-
Prime: "″",
|
|
2989
|
-
prime: "′",
|
|
2990
|
-
primes: "ℙ",
|
|
2991
|
-
prnap: "⪹",
|
|
2992
|
-
prnE: "⪵",
|
|
2993
|
-
prnsim: "⋨",
|
|
2994
|
-
prod: "∏",
|
|
2995
|
-
Product: "∏",
|
|
2996
|
-
profalar: "⌮",
|
|
2997
|
-
profline: "⌒",
|
|
2998
|
-
profsurf: "⌓",
|
|
2999
|
-
prop: "∝",
|
|
3000
|
-
Proportion: "∷",
|
|
3001
|
-
Proportional: "∝",
|
|
3002
|
-
propto: "∝",
|
|
3003
|
-
prsim: "≾",
|
|
3004
|
-
prurel: "⊰",
|
|
3005
|
-
Pscr: "𝒫",
|
|
3006
|
-
pscr: "𝓅",
|
|
3007
|
-
Psi: "Ψ",
|
|
3008
|
-
psi: "ψ",
|
|
3009
|
-
puncsp: " ",
|
|
3010
|
-
Qfr: "𝔔",
|
|
3011
|
-
qfr: "𝔮",
|
|
3012
|
-
qint: "⨌",
|
|
3013
|
-
Qopf: "ℚ",
|
|
3014
|
-
qopf: "𝕢",
|
|
3015
|
-
qprime: "⁗",
|
|
3016
|
-
Qscr: "𝒬",
|
|
3017
|
-
qscr: "𝓆",
|
|
3018
|
-
quaternions: "ℍ",
|
|
3019
|
-
quatint: "⨖",
|
|
3020
|
-
quest: "?",
|
|
3021
|
-
questeq: "≟",
|
|
3022
|
-
QUOT: '"',
|
|
3023
|
-
quot: '"',
|
|
3024
|
-
rAarr: "⇛",
|
|
3025
|
-
race: "∽̱",
|
|
3026
|
-
Racute: "Ŕ",
|
|
3027
|
-
racute: "ŕ",
|
|
3028
|
-
radic: "√",
|
|
3029
|
-
raemptyv: "⦳",
|
|
3030
|
-
Rang: "⟫",
|
|
3031
|
-
rang: "⟩",
|
|
3032
|
-
rangd: "⦒",
|
|
3033
|
-
range: "⦥",
|
|
3034
|
-
rangle: "⟩",
|
|
3035
|
-
raquo: "»",
|
|
3036
|
-
Rarr: "↠",
|
|
3037
|
-
rArr: "⇒",
|
|
3038
|
-
rarr: "→",
|
|
3039
|
-
rarrap: "⥵",
|
|
3040
|
-
rarrb: "⇥",
|
|
3041
|
-
rarrbfs: "⤠",
|
|
3042
|
-
rarrc: "⤳",
|
|
3043
|
-
rarrfs: "⤞",
|
|
3044
|
-
rarrhk: "↪",
|
|
3045
|
-
rarrlp: "↬",
|
|
3046
|
-
rarrpl: "⥅",
|
|
3047
|
-
rarrsim: "⥴",
|
|
3048
|
-
Rarrtl: "⤖",
|
|
3049
|
-
rarrtl: "↣",
|
|
3050
|
-
rarrw: "↝",
|
|
3051
|
-
rAtail: "⤜",
|
|
3052
|
-
ratail: "⤚",
|
|
3053
|
-
ratio: "∶",
|
|
3054
|
-
rationals: "ℚ",
|
|
3055
|
-
RBarr: "⤐",
|
|
3056
|
-
rBarr: "⤏",
|
|
3057
|
-
rbarr: "⤍",
|
|
3058
|
-
rbbrk: "❳",
|
|
3059
|
-
rbrace: "}",
|
|
3060
|
-
rbrack: "]",
|
|
3061
|
-
rbrke: "⦌",
|
|
3062
|
-
rbrksld: "⦎",
|
|
3063
|
-
rbrkslu: "⦐",
|
|
3064
|
-
Rcaron: "Ř",
|
|
3065
|
-
rcaron: "ř",
|
|
3066
|
-
Rcedil: "Ŗ",
|
|
3067
|
-
rcedil: "ŗ",
|
|
3068
|
-
rceil: "⌉",
|
|
3069
|
-
rcub: "}",
|
|
3070
|
-
Rcy: "Р",
|
|
3071
|
-
rcy: "р",
|
|
3072
|
-
rdca: "⤷",
|
|
3073
|
-
rdldhar: "⥩",
|
|
3074
|
-
rdquo: "”",
|
|
3075
|
-
rdquor: "”",
|
|
3076
|
-
rdsh: "↳",
|
|
3077
|
-
Re: "ℜ",
|
|
3078
|
-
real: "ℜ",
|
|
3079
|
-
realine: "ℛ",
|
|
3080
|
-
realpart: "ℜ",
|
|
3081
|
-
reals: "ℝ",
|
|
3082
|
-
rect: "▭",
|
|
3083
|
-
REG: "®",
|
|
3084
|
-
reg: "®",
|
|
3085
|
-
ReverseElement: "∋",
|
|
3086
|
-
ReverseEquilibrium: "⇋",
|
|
3087
|
-
ReverseUpEquilibrium: "⥯",
|
|
3088
|
-
rfisht: "⥽",
|
|
3089
|
-
rfloor: "⌋",
|
|
3090
|
-
Rfr: "ℜ",
|
|
3091
|
-
rfr: "𝔯",
|
|
3092
|
-
rHar: "⥤",
|
|
3093
|
-
rhard: "⇁",
|
|
3094
|
-
rharu: "⇀",
|
|
3095
|
-
rharul: "⥬",
|
|
3096
|
-
Rho: "Ρ",
|
|
3097
|
-
rho: "ρ",
|
|
3098
|
-
rhov: "ϱ",
|
|
3099
|
-
RightAngleBracket: "⟩",
|
|
3100
|
-
RightArrow: "→",
|
|
3101
|
-
Rightarrow: "⇒",
|
|
3102
|
-
rightarrow: "→",
|
|
3103
|
-
RightArrowBar: "⇥",
|
|
3104
|
-
RightArrowLeftArrow: "⇄",
|
|
3105
|
-
rightarrowtail: "↣",
|
|
3106
|
-
RightCeiling: "⌉",
|
|
3107
|
-
RightDoubleBracket: "⟧",
|
|
3108
|
-
RightDownTeeVector: "⥝",
|
|
3109
|
-
RightDownVector: "⇂",
|
|
3110
|
-
RightDownVectorBar: "⥕",
|
|
3111
|
-
RightFloor: "⌋",
|
|
3112
|
-
rightharpoondown: "⇁",
|
|
3113
|
-
rightharpoonup: "⇀",
|
|
3114
|
-
rightleftarrows: "⇄",
|
|
3115
|
-
rightleftharpoons: "⇌",
|
|
3116
|
-
rightrightarrows: "⇉",
|
|
3117
|
-
rightsquigarrow: "↝",
|
|
3118
|
-
RightTee: "⊢",
|
|
3119
|
-
RightTeeArrow: "↦",
|
|
3120
|
-
RightTeeVector: "⥛",
|
|
3121
|
-
rightthreetimes: "⋌",
|
|
3122
|
-
RightTriangle: "⊳",
|
|
3123
|
-
RightTriangleBar: "⧐",
|
|
3124
|
-
RightTriangleEqual: "⊵",
|
|
3125
|
-
RightUpDownVector: "⥏",
|
|
3126
|
-
RightUpTeeVector: "⥜",
|
|
3127
|
-
RightUpVector: "↾",
|
|
3128
|
-
RightUpVectorBar: "⥔",
|
|
3129
|
-
RightVector: "⇀",
|
|
3130
|
-
RightVectorBar: "⥓",
|
|
3131
|
-
ring: "˚",
|
|
3132
|
-
risingdotseq: "≓",
|
|
3133
|
-
rlarr: "⇄",
|
|
3134
|
-
rlhar: "⇌",
|
|
3135
|
-
rlm: "",
|
|
3136
|
-
rmoust: "⎱",
|
|
3137
|
-
rmoustache: "⎱",
|
|
3138
|
-
rnmid: "⫮",
|
|
3139
|
-
roang: "⟭",
|
|
3140
|
-
roarr: "⇾",
|
|
3141
|
-
robrk: "⟧",
|
|
3142
|
-
ropar: "⦆",
|
|
3143
|
-
Ropf: "ℝ",
|
|
3144
|
-
ropf: "𝕣",
|
|
3145
|
-
roplus: "⨮",
|
|
3146
|
-
rotimes: "⨵",
|
|
3147
|
-
RoundImplies: "⥰",
|
|
3148
|
-
rpar: ")",
|
|
3149
|
-
rpargt: "⦔",
|
|
3150
|
-
rppolint: "⨒",
|
|
3151
|
-
rrarr: "⇉",
|
|
3152
|
-
Rrightarrow: "⇛",
|
|
3153
|
-
rsaquo: "›",
|
|
3154
|
-
Rscr: "ℛ",
|
|
3155
|
-
rscr: "𝓇",
|
|
3156
|
-
Rsh: "↱",
|
|
3157
|
-
rsh: "↱",
|
|
3158
|
-
rsqb: "]",
|
|
3159
|
-
rsquo: "’",
|
|
3160
|
-
rsquor: "’",
|
|
3161
|
-
rthree: "⋌",
|
|
3162
|
-
rtimes: "⋊",
|
|
3163
|
-
rtri: "▹",
|
|
3164
|
-
rtrie: "⊵",
|
|
3165
|
-
rtrif: "▸",
|
|
3166
|
-
rtriltri: "⧎",
|
|
3167
|
-
RuleDelayed: "⧴",
|
|
3168
|
-
ruluhar: "⥨",
|
|
3169
|
-
rx: "℞",
|
|
3170
|
-
Sacute: "Ś",
|
|
3171
|
-
sacute: "ś",
|
|
3172
|
-
sbquo: "‚",
|
|
3173
|
-
Sc: "⪼",
|
|
3174
|
-
sc: "≻",
|
|
3175
|
-
scap: "⪸",
|
|
3176
|
-
Scaron: "Š",
|
|
3177
|
-
scaron: "š",
|
|
3178
|
-
sccue: "≽",
|
|
3179
|
-
scE: "⪴",
|
|
3180
|
-
sce: "⪰",
|
|
3181
|
-
Scedil: "Ş",
|
|
3182
|
-
scedil: "ş",
|
|
3183
|
-
Scirc: "Ŝ",
|
|
3184
|
-
scirc: "ŝ",
|
|
3185
|
-
scnap: "⪺",
|
|
3186
|
-
scnE: "⪶",
|
|
3187
|
-
scnsim: "⋩",
|
|
3188
|
-
scpolint: "⨓",
|
|
3189
|
-
scsim: "≿",
|
|
3190
|
-
Scy: "С",
|
|
3191
|
-
scy: "с",
|
|
3192
|
-
sdot: "⋅",
|
|
3193
|
-
sdotb: "⊡",
|
|
3194
|
-
sdote: "⩦",
|
|
3195
|
-
searhk: "⤥",
|
|
3196
|
-
seArr: "⇘",
|
|
3197
|
-
searr: "↘",
|
|
3198
|
-
searrow: "↘",
|
|
3199
|
-
sect: "§",
|
|
3200
|
-
semi: ";",
|
|
3201
|
-
seswar: "⤩",
|
|
3202
|
-
setminus: "∖",
|
|
3203
|
-
setmn: "∖",
|
|
3204
|
-
sext: "✶",
|
|
3205
|
-
Sfr: "𝔖",
|
|
3206
|
-
sfr: "𝔰",
|
|
3207
|
-
sfrown: "⌢",
|
|
3208
|
-
sharp: "♯",
|
|
3209
|
-
SHCHcy: "Щ",
|
|
3210
|
-
shchcy: "щ",
|
|
3211
|
-
SHcy: "Ш",
|
|
3212
|
-
shcy: "ш",
|
|
3213
|
-
ShortDownArrow: "↓",
|
|
3214
|
-
ShortLeftArrow: "←",
|
|
3215
|
-
shortmid: "∣",
|
|
3216
|
-
shortparallel: "∥",
|
|
3217
|
-
ShortRightArrow: "→",
|
|
3218
|
-
ShortUpArrow: "↑",
|
|
3219
|
-
shy: "",
|
|
3220
|
-
Sigma: "Σ",
|
|
3221
|
-
sigma: "σ",
|
|
3222
|
-
sigmaf: "ς",
|
|
3223
|
-
sigmav: "ς",
|
|
3224
|
-
sim: "∼",
|
|
3225
|
-
simdot: "⩪",
|
|
3226
|
-
sime: "≃",
|
|
3227
|
-
simeq: "≃",
|
|
3228
|
-
simg: "⪞",
|
|
3229
|
-
simgE: "⪠",
|
|
3230
|
-
siml: "⪝",
|
|
3231
|
-
simlE: "⪟",
|
|
3232
|
-
simne: "≆",
|
|
3233
|
-
simplus: "⨤",
|
|
3234
|
-
simrarr: "⥲",
|
|
3235
|
-
slarr: "←",
|
|
3236
|
-
SmallCircle: "∘",
|
|
3237
|
-
smallsetminus: "∖",
|
|
3238
|
-
smashp: "⨳",
|
|
3239
|
-
smeparsl: "⧤",
|
|
3240
|
-
smid: "∣",
|
|
3241
|
-
smile: "⌣",
|
|
3242
|
-
smt: "⪪",
|
|
3243
|
-
smte: "⪬",
|
|
3244
|
-
smtes: "⪬︀",
|
|
3245
|
-
SOFTcy: "Ь",
|
|
3246
|
-
softcy: "ь",
|
|
3247
|
-
sol: "/",
|
|
3248
|
-
solb: "⧄",
|
|
3249
|
-
solbar: "⌿",
|
|
3250
|
-
Sopf: "𝕊",
|
|
3251
|
-
sopf: "𝕤",
|
|
3252
|
-
spades: "♠",
|
|
3253
|
-
spadesuit: "♠",
|
|
3254
|
-
spar: "∥",
|
|
3255
|
-
sqcap: "⊓",
|
|
3256
|
-
sqcaps: "⊓︀",
|
|
3257
|
-
sqcup: "⊔",
|
|
3258
|
-
sqcups: "⊔︀",
|
|
3259
|
-
Sqrt: "√",
|
|
3260
|
-
sqsub: "⊏",
|
|
3261
|
-
sqsube: "⊑",
|
|
3262
|
-
sqsubset: "⊏",
|
|
3263
|
-
sqsubseteq: "⊑",
|
|
3264
|
-
sqsup: "⊐",
|
|
3265
|
-
sqsupe: "⊒",
|
|
3266
|
-
sqsupset: "⊐",
|
|
3267
|
-
sqsupseteq: "⊒",
|
|
3268
|
-
squ: "□",
|
|
3269
|
-
Square: "□",
|
|
3270
|
-
square: "□",
|
|
3271
|
-
SquareIntersection: "⊓",
|
|
3272
|
-
SquareSubset: "⊏",
|
|
3273
|
-
SquareSubsetEqual: "⊑",
|
|
3274
|
-
SquareSuperset: "⊐",
|
|
3275
|
-
SquareSupersetEqual: "⊒",
|
|
3276
|
-
SquareUnion: "⊔",
|
|
3277
|
-
squarf: "▪",
|
|
3278
|
-
squf: "▪",
|
|
3279
|
-
srarr: "→",
|
|
3280
|
-
Sscr: "𝒮",
|
|
3281
|
-
sscr: "𝓈",
|
|
3282
|
-
ssetmn: "∖",
|
|
3283
|
-
ssmile: "⌣",
|
|
3284
|
-
sstarf: "⋆",
|
|
3285
|
-
Star: "⋆",
|
|
3286
|
-
star: "☆",
|
|
3287
|
-
starf: "★",
|
|
3288
|
-
straightepsilon: "ϵ",
|
|
3289
|
-
straightphi: "ϕ",
|
|
3290
|
-
strns: "¯",
|
|
3291
|
-
Sub: "⋐",
|
|
3292
|
-
sub: "⊂",
|
|
3293
|
-
subdot: "⪽",
|
|
3294
|
-
subE: "⫅",
|
|
3295
|
-
sube: "⊆",
|
|
3296
|
-
subedot: "⫃",
|
|
3297
|
-
submult: "⫁",
|
|
3298
|
-
subnE: "⫋",
|
|
3299
|
-
subne: "⊊",
|
|
3300
|
-
subplus: "⪿",
|
|
3301
|
-
subrarr: "⥹",
|
|
3302
|
-
Subset: "⋐",
|
|
3303
|
-
subset: "⊂",
|
|
3304
|
-
subseteq: "⊆",
|
|
3305
|
-
subseteqq: "⫅",
|
|
3306
|
-
SubsetEqual: "⊆",
|
|
3307
|
-
subsetneq: "⊊",
|
|
3308
|
-
subsetneqq: "⫋",
|
|
3309
|
-
subsim: "⫇",
|
|
3310
|
-
subsub: "⫕",
|
|
3311
|
-
subsup: "⫓",
|
|
3312
|
-
succ: "≻",
|
|
3313
|
-
succapprox: "⪸",
|
|
3314
|
-
succcurlyeq: "≽",
|
|
3315
|
-
Succeeds: "≻",
|
|
3316
|
-
SucceedsEqual: "⪰",
|
|
3317
|
-
SucceedsSlantEqual: "≽",
|
|
3318
|
-
SucceedsTilde: "≿",
|
|
3319
|
-
succeq: "⪰",
|
|
3320
|
-
succnapprox: "⪺",
|
|
3321
|
-
succneqq: "⪶",
|
|
3322
|
-
succnsim: "⋩",
|
|
3323
|
-
succsim: "≿",
|
|
3324
|
-
SuchThat: "∋",
|
|
3325
|
-
Sum: "∑",
|
|
3326
|
-
sum: "∑",
|
|
3327
|
-
sung: "♪",
|
|
3328
|
-
Sup: "⋑",
|
|
3329
|
-
sup: "⊃",
|
|
3330
|
-
sup1: "¹",
|
|
3331
|
-
sup2: "²",
|
|
3332
|
-
sup3: "³",
|
|
3333
|
-
supdot: "⪾",
|
|
3334
|
-
supdsub: "⫘",
|
|
3335
|
-
supE: "⫆",
|
|
3336
|
-
supe: "⊇",
|
|
3337
|
-
supedot: "⫄",
|
|
3338
|
-
Superset: "⊃",
|
|
3339
|
-
SupersetEqual: "⊇",
|
|
3340
|
-
suphsol: "⟉",
|
|
3341
|
-
suphsub: "⫗",
|
|
3342
|
-
suplarr: "⥻",
|
|
3343
|
-
supmult: "⫂",
|
|
3344
|
-
supnE: "⫌",
|
|
3345
|
-
supne: "⊋",
|
|
3346
|
-
supplus: "⫀",
|
|
3347
|
-
Supset: "⋑",
|
|
3348
|
-
supset: "⊃",
|
|
3349
|
-
supseteq: "⊇",
|
|
3350
|
-
supseteqq: "⫆",
|
|
3351
|
-
supsetneq: "⊋",
|
|
3352
|
-
supsetneqq: "⫌",
|
|
3353
|
-
supsim: "⫈",
|
|
3354
|
-
supsub: "⫔",
|
|
3355
|
-
supsup: "⫖",
|
|
3356
|
-
swarhk: "⤦",
|
|
3357
|
-
swArr: "⇙",
|
|
3358
|
-
swarr: "↙",
|
|
3359
|
-
swarrow: "↙",
|
|
3360
|
-
swnwar: "⤪",
|
|
3361
|
-
szlig: "ß",
|
|
3362
|
-
Tab: " ",
|
|
3363
|
-
target: "⌖",
|
|
3364
|
-
Tau: "Τ",
|
|
3365
|
-
tau: "τ",
|
|
3366
|
-
tbrk: "⎴",
|
|
3367
|
-
Tcaron: "Ť",
|
|
3368
|
-
tcaron: "ť",
|
|
3369
|
-
Tcedil: "Ţ",
|
|
3370
|
-
tcedil: "ţ",
|
|
3371
|
-
Tcy: "Т",
|
|
3372
|
-
tcy: "т",
|
|
3373
|
-
tdot: "⃛",
|
|
3374
|
-
telrec: "⌕",
|
|
3375
|
-
Tfr: "𝔗",
|
|
3376
|
-
tfr: "𝔱",
|
|
3377
|
-
there4: "∴",
|
|
3378
|
-
Therefore: "∴",
|
|
3379
|
-
therefore: "∴",
|
|
3380
|
-
Theta: "Θ",
|
|
3381
|
-
theta: "θ",
|
|
3382
|
-
thetasym: "ϑ",
|
|
3383
|
-
thetav: "ϑ",
|
|
3384
|
-
thickapprox: "≈",
|
|
3385
|
-
thicksim: "∼",
|
|
3386
|
-
ThickSpace: " ",
|
|
3387
|
-
thinsp: " ",
|
|
3388
|
-
ThinSpace: " ",
|
|
3389
|
-
thkap: "≈",
|
|
3390
|
-
thksim: "∼",
|
|
3391
|
-
THORN: "Þ",
|
|
3392
|
-
thorn: "þ",
|
|
3393
|
-
Tilde: "∼",
|
|
3394
|
-
tilde: "˜",
|
|
3395
|
-
TildeEqual: "≃",
|
|
3396
|
-
TildeFullEqual: "≅",
|
|
3397
|
-
TildeTilde: "≈",
|
|
3398
|
-
times: "×",
|
|
3399
|
-
timesb: "⊠",
|
|
3400
|
-
timesbar: "⨱",
|
|
3401
|
-
timesd: "⨰",
|
|
3402
|
-
tint: "∭",
|
|
3403
|
-
toea: "⤨",
|
|
3404
|
-
top: "⊤",
|
|
3405
|
-
topbot: "⌶",
|
|
3406
|
-
topcir: "⫱",
|
|
3407
|
-
Topf: "𝕋",
|
|
3408
|
-
topf: "𝕥",
|
|
3409
|
-
topfork: "⫚",
|
|
3410
|
-
tosa: "⤩",
|
|
3411
|
-
tprime: "‴",
|
|
3412
|
-
TRADE: "™",
|
|
3413
|
-
trade: "™",
|
|
3414
|
-
triangle: "▵",
|
|
3415
|
-
triangledown: "▿",
|
|
3416
|
-
triangleleft: "◃",
|
|
3417
|
-
trianglelefteq: "⊴",
|
|
3418
|
-
triangleq: "≜",
|
|
3419
|
-
triangleright: "▹",
|
|
3420
|
-
trianglerighteq: "⊵",
|
|
3421
|
-
tridot: "◬",
|
|
3422
|
-
trie: "≜",
|
|
3423
|
-
triminus: "⨺",
|
|
3424
|
-
TripleDot: "⃛",
|
|
3425
|
-
triplus: "⨹",
|
|
3426
|
-
trisb: "⧍",
|
|
3427
|
-
tritime: "⨻",
|
|
3428
|
-
trpezium: "⏢",
|
|
3429
|
-
Tscr: "𝒯",
|
|
3430
|
-
tscr: "𝓉",
|
|
3431
|
-
TScy: "Ц",
|
|
3432
|
-
tscy: "ц",
|
|
3433
|
-
TSHcy: "Ћ",
|
|
3434
|
-
tshcy: "ћ",
|
|
3435
|
-
Tstrok: "Ŧ",
|
|
3436
|
-
tstrok: "ŧ",
|
|
3437
|
-
twixt: "≬",
|
|
3438
|
-
twoheadleftarrow: "↞",
|
|
3439
|
-
twoheadrightarrow: "↠",
|
|
3440
|
-
Uacute: "Ú",
|
|
3441
|
-
uacute: "ú",
|
|
3442
|
-
Uarr: "↟",
|
|
3443
|
-
uArr: "⇑",
|
|
3444
|
-
uarr: "↑",
|
|
3445
|
-
Uarrocir: "⥉",
|
|
3446
|
-
Ubrcy: "Ў",
|
|
3447
|
-
ubrcy: "ў",
|
|
3448
|
-
Ubreve: "Ŭ",
|
|
3449
|
-
ubreve: "ŭ",
|
|
3450
|
-
Ucirc: "Û",
|
|
3451
|
-
ucirc: "û",
|
|
3452
|
-
Ucy: "У",
|
|
3453
|
-
ucy: "у",
|
|
3454
|
-
udarr: "⇅",
|
|
3455
|
-
Udblac: "Ű",
|
|
3456
|
-
udblac: "ű",
|
|
3457
|
-
udhar: "⥮",
|
|
3458
|
-
ufisht: "⥾",
|
|
3459
|
-
Ufr: "𝔘",
|
|
3460
|
-
ufr: "𝔲",
|
|
3461
|
-
Ugrave: "Ù",
|
|
3462
|
-
ugrave: "ù",
|
|
3463
|
-
uHar: "⥣",
|
|
3464
|
-
uharl: "↿",
|
|
3465
|
-
uharr: "↾",
|
|
3466
|
-
uhblk: "▀",
|
|
3467
|
-
ulcorn: "⌜",
|
|
3468
|
-
ulcorner: "⌜",
|
|
3469
|
-
ulcrop: "⌏",
|
|
3470
|
-
ultri: "◸",
|
|
3471
|
-
Umacr: "Ū",
|
|
3472
|
-
umacr: "ū",
|
|
3473
|
-
uml: "¨",
|
|
3474
|
-
UnderBar: "_",
|
|
3475
|
-
UnderBrace: "⏟",
|
|
3476
|
-
UnderBracket: "⎵",
|
|
3477
|
-
UnderParenthesis: "⏝",
|
|
3478
|
-
Union: "⋃",
|
|
3479
|
-
UnionPlus: "⊎",
|
|
3480
|
-
Uogon: "Ų",
|
|
3481
|
-
uogon: "ų",
|
|
3482
|
-
Uopf: "𝕌",
|
|
3483
|
-
uopf: "𝕦",
|
|
3484
|
-
UpArrow: "↑",
|
|
3485
|
-
Uparrow: "⇑",
|
|
3486
|
-
uparrow: "↑",
|
|
3487
|
-
UpArrowBar: "⤒",
|
|
3488
|
-
UpArrowDownArrow: "⇅",
|
|
3489
|
-
UpDownArrow: "↕",
|
|
3490
|
-
Updownarrow: "⇕",
|
|
3491
|
-
updownarrow: "↕",
|
|
3492
|
-
UpEquilibrium: "⥮",
|
|
3493
|
-
upharpoonleft: "↿",
|
|
3494
|
-
upharpoonright: "↾",
|
|
3495
|
-
uplus: "⊎",
|
|
3496
|
-
UpperLeftArrow: "↖",
|
|
3497
|
-
UpperRightArrow: "↗",
|
|
3498
|
-
Upsi: "ϒ",
|
|
3499
|
-
upsi: "υ",
|
|
3500
|
-
upsih: "ϒ",
|
|
3501
|
-
Upsilon: "Υ",
|
|
3502
|
-
upsilon: "υ",
|
|
3503
|
-
UpTee: "⊥",
|
|
3504
|
-
UpTeeArrow: "↥",
|
|
3505
|
-
upuparrows: "⇈",
|
|
3506
|
-
urcorn: "⌝",
|
|
3507
|
-
urcorner: "⌝",
|
|
3508
|
-
urcrop: "⌎",
|
|
3509
|
-
Uring: "Ů",
|
|
3510
|
-
uring: "ů",
|
|
3511
|
-
urtri: "◹",
|
|
3512
|
-
Uscr: "𝒰",
|
|
3513
|
-
uscr: "𝓊",
|
|
3514
|
-
utdot: "⋰",
|
|
3515
|
-
Utilde: "Ũ",
|
|
3516
|
-
utilde: "ũ",
|
|
3517
|
-
utri: "▵",
|
|
3518
|
-
utrif: "▴",
|
|
3519
|
-
uuarr: "⇈",
|
|
3520
|
-
Uuml: "Ü",
|
|
3521
|
-
uuml: "ü",
|
|
3522
|
-
uwangle: "⦧",
|
|
3523
|
-
vangrt: "⦜",
|
|
3524
|
-
varepsilon: "ϵ",
|
|
3525
|
-
varkappa: "ϰ",
|
|
3526
|
-
varnothing: "∅",
|
|
3527
|
-
varphi: "ϕ",
|
|
3528
|
-
varpi: "ϖ",
|
|
3529
|
-
varpropto: "∝",
|
|
3530
|
-
vArr: "⇕",
|
|
3531
|
-
varr: "↕",
|
|
3532
|
-
varrho: "ϱ",
|
|
3533
|
-
varsigma: "ς",
|
|
3534
|
-
varsubsetneq: "⊊︀",
|
|
3535
|
-
varsubsetneqq: "⫋︀",
|
|
3536
|
-
varsupsetneq: "⊋︀",
|
|
3537
|
-
varsupsetneqq: "⫌︀",
|
|
3538
|
-
vartheta: "ϑ",
|
|
3539
|
-
vartriangleleft: "⊲",
|
|
3540
|
-
vartriangleright: "⊳",
|
|
3541
|
-
Vbar: "⫫",
|
|
3542
|
-
vBar: "⫨",
|
|
3543
|
-
vBarv: "⫩",
|
|
3544
|
-
Vcy: "В",
|
|
3545
|
-
vcy: "в",
|
|
3546
|
-
VDash: "⊫",
|
|
3547
|
-
Vdash: "⊩",
|
|
3548
|
-
vDash: "⊨",
|
|
3549
|
-
vdash: "⊢",
|
|
3550
|
-
Vdashl: "⫦",
|
|
3551
|
-
Vee: "⋁",
|
|
3552
|
-
vee: "∨",
|
|
3553
|
-
veebar: "⊻",
|
|
3554
|
-
veeeq: "≚",
|
|
3555
|
-
vellip: "⋮",
|
|
3556
|
-
Verbar: "‖",
|
|
3557
|
-
verbar: "|",
|
|
3558
|
-
Vert: "‖",
|
|
3559
|
-
vert: "|",
|
|
3560
|
-
VerticalBar: "∣",
|
|
3561
|
-
VerticalLine: "|",
|
|
3562
|
-
VerticalSeparator: "❘",
|
|
3563
|
-
VerticalTilde: "≀",
|
|
3564
|
-
VeryThinSpace: " ",
|
|
3565
|
-
Vfr: "𝔙",
|
|
3566
|
-
vfr: "𝔳",
|
|
3567
|
-
vltri: "⊲",
|
|
3568
|
-
vnsub: "⊂⃒",
|
|
3569
|
-
vnsup: "⊃⃒",
|
|
3570
|
-
Vopf: "𝕍",
|
|
3571
|
-
vopf: "𝕧",
|
|
3572
|
-
vprop: "∝",
|
|
3573
|
-
vrtri: "⊳",
|
|
3574
|
-
Vscr: "𝒱",
|
|
3575
|
-
vscr: "𝓋",
|
|
3576
|
-
vsubnE: "⫋︀",
|
|
3577
|
-
vsubne: "⊊︀",
|
|
3578
|
-
vsupnE: "⫌︀",
|
|
3579
|
-
vsupne: "⊋︀",
|
|
3580
|
-
Vvdash: "⊪",
|
|
3581
|
-
vzigzag: "⦚",
|
|
3582
|
-
Wcirc: "Ŵ",
|
|
3583
|
-
wcirc: "ŵ",
|
|
3584
|
-
wedbar: "⩟",
|
|
3585
|
-
Wedge: "⋀",
|
|
3586
|
-
wedge: "∧",
|
|
3587
|
-
wedgeq: "≙",
|
|
3588
|
-
weierp: "℘",
|
|
3589
|
-
Wfr: "𝔚",
|
|
3590
|
-
wfr: "𝔴",
|
|
3591
|
-
Wopf: "𝕎",
|
|
3592
|
-
wopf: "𝕨",
|
|
3593
|
-
wp: "℘",
|
|
3594
|
-
wr: "≀",
|
|
3595
|
-
wreath: "≀",
|
|
3596
|
-
Wscr: "𝒲",
|
|
3597
|
-
wscr: "𝓌",
|
|
3598
|
-
xcap: "⋂",
|
|
3599
|
-
xcirc: "◯",
|
|
3600
|
-
xcup: "⋃",
|
|
3601
|
-
xdtri: "▽",
|
|
3602
|
-
Xfr: "𝔛",
|
|
3603
|
-
xfr: "𝔵",
|
|
3604
|
-
xhArr: "⟺",
|
|
3605
|
-
xharr: "⟷",
|
|
3606
|
-
Xi: "Ξ",
|
|
3607
|
-
xi: "ξ",
|
|
3608
|
-
xlArr: "⟸",
|
|
3609
|
-
xlarr: "⟵",
|
|
3610
|
-
xmap: "⟼",
|
|
3611
|
-
xnis: "⋻",
|
|
3612
|
-
xodot: "⨀",
|
|
3613
|
-
Xopf: "𝕏",
|
|
3614
|
-
xopf: "𝕩",
|
|
3615
|
-
xoplus: "⨁",
|
|
3616
|
-
xotime: "⨂",
|
|
3617
|
-
xrArr: "⟹",
|
|
3618
|
-
xrarr: "⟶",
|
|
3619
|
-
Xscr: "𝒳",
|
|
3620
|
-
xscr: "𝓍",
|
|
3621
|
-
xsqcup: "⨆",
|
|
3622
|
-
xuplus: "⨄",
|
|
3623
|
-
xutri: "△",
|
|
3624
|
-
xvee: "⋁",
|
|
3625
|
-
xwedge: "⋀",
|
|
3626
|
-
Yacute: "Ý",
|
|
3627
|
-
yacute: "ý",
|
|
3628
|
-
YAcy: "Я",
|
|
3629
|
-
yacy: "я",
|
|
3630
|
-
Ycirc: "Ŷ",
|
|
3631
|
-
ycirc: "ŷ",
|
|
3632
|
-
Ycy: "Ы",
|
|
3633
|
-
ycy: "ы",
|
|
3634
|
-
yen: "¥",
|
|
3635
|
-
Yfr: "𝔜",
|
|
3636
|
-
yfr: "𝔶",
|
|
3637
|
-
YIcy: "Ї",
|
|
3638
|
-
yicy: "ї",
|
|
3639
|
-
Yopf: "𝕐",
|
|
3640
|
-
yopf: "𝕪",
|
|
3641
|
-
Yscr: "𝒴",
|
|
3642
|
-
yscr: "𝓎",
|
|
3643
|
-
YUcy: "Ю",
|
|
3644
|
-
yucy: "ю",
|
|
3645
|
-
Yuml: "Ÿ",
|
|
3646
|
-
yuml: "ÿ",
|
|
3647
|
-
Zacute: "Ź",
|
|
3648
|
-
zacute: "ź",
|
|
3649
|
-
Zcaron: "Ž",
|
|
3650
|
-
zcaron: "ž",
|
|
3651
|
-
Zcy: "З",
|
|
3652
|
-
zcy: "з",
|
|
3653
|
-
Zdot: "Ż",
|
|
3654
|
-
zdot: "ż",
|
|
3655
|
-
zeetrf: "ℨ",
|
|
3656
|
-
ZeroWidthSpace: "",
|
|
3657
|
-
Zeta: "Ζ",
|
|
3658
|
-
zeta: "ζ",
|
|
3659
|
-
Zfr: "ℨ",
|
|
3660
|
-
zfr: "𝔷",
|
|
3661
|
-
ZHcy: "Ж",
|
|
3662
|
-
zhcy: "ж",
|
|
3663
|
-
zigrarr: "⇝",
|
|
3664
|
-
Zopf: "ℤ",
|
|
3665
|
-
zopf: "𝕫",
|
|
3666
|
-
Zscr: "𝒵",
|
|
3667
|
-
zscr: "𝓏",
|
|
3668
|
-
zwj: "",
|
|
3669
|
-
zwnj: ""
|
|
3670
|
-
});
|
|
3671
|
-
exports2.entityMap = exports2.HTML_ENTITIES;
|
|
3672
|
-
})(entities$1);
|
|
3673
|
-
var sax$1 = {};
|
|
3674
|
-
var NAMESPACE$1 = conventions$2.NAMESPACE;
|
|
3675
|
-
var nameStartChar = /[A-Z_a-z\xC0-\xD6\xD8-\xF6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD]/;
|
|
3676
|
-
var nameChar = new RegExp("[\\-\\.0-9" + nameStartChar.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]");
|
|
3677
|
-
var tagNamePattern = new RegExp("^" + nameStartChar.source + nameChar.source + "*(?::" + nameStartChar.source + nameChar.source + "*)?$");
|
|
3678
|
-
var S_TAG = 0;
|
|
3679
|
-
var S_ATTR = 1;
|
|
3680
|
-
var S_ATTR_SPACE = 2;
|
|
3681
|
-
var S_EQ = 3;
|
|
3682
|
-
var S_ATTR_NOQUOT_VALUE = 4;
|
|
3683
|
-
var S_ATTR_END = 5;
|
|
3684
|
-
var S_TAG_SPACE = 6;
|
|
3685
|
-
var S_TAG_CLOSE = 7;
|
|
3686
|
-
function ParseError$1(message, locator) {
|
|
3687
|
-
this.message = message;
|
|
3688
|
-
this.locator = locator;
|
|
3689
|
-
if (Error.captureStackTrace)
|
|
3690
|
-
Error.captureStackTrace(this, ParseError$1);
|
|
3691
|
-
}
|
|
3692
|
-
ParseError$1.prototype = new Error();
|
|
3693
|
-
ParseError$1.prototype.name = ParseError$1.name;
|
|
3694
|
-
function XMLReader$1() {
|
|
3695
|
-
}
|
|
3696
|
-
XMLReader$1.prototype = {
|
|
3697
|
-
parse: function(source, defaultNSMap, entityMap) {
|
|
3698
|
-
var domBuilder = this.domBuilder;
|
|
3699
|
-
domBuilder.startDocument();
|
|
3700
|
-
_copy(defaultNSMap, defaultNSMap = {});
|
|
3701
|
-
parse(
|
|
3702
|
-
source,
|
|
3703
|
-
defaultNSMap,
|
|
3704
|
-
entityMap,
|
|
3705
|
-
domBuilder,
|
|
3706
|
-
this.errorHandler
|
|
3707
|
-
);
|
|
3708
|
-
domBuilder.endDocument();
|
|
3709
|
-
}
|
|
3710
|
-
};
|
|
3711
|
-
function parse(source, defaultNSMapCopy, entityMap, domBuilder, errorHandler) {
|
|
3712
|
-
function fixedFromCharCode(code) {
|
|
3713
|
-
if (code > 65535) {
|
|
3714
|
-
code -= 65536;
|
|
3715
|
-
var surrogate1 = 55296 + (code >> 10), surrogate2 = 56320 + (code & 1023);
|
|
3716
|
-
return String.fromCharCode(surrogate1, surrogate2);
|
|
3717
|
-
} else {
|
|
3718
|
-
return String.fromCharCode(code);
|
|
3719
|
-
}
|
|
3720
|
-
}
|
|
3721
|
-
function entityReplacer(a2) {
|
|
3722
|
-
var k = a2.slice(1, -1);
|
|
3723
|
-
if (Object.hasOwnProperty.call(entityMap, k)) {
|
|
3724
|
-
return entityMap[k];
|
|
3725
|
-
} else if (k.charAt(0) === "#") {
|
|
3726
|
-
return fixedFromCharCode(parseInt(k.substr(1).replace("x", "0x")));
|
|
3727
|
-
} else {
|
|
3728
|
-
errorHandler.error("entity not found:" + a2);
|
|
3729
|
-
return a2;
|
|
3730
|
-
}
|
|
3731
|
-
}
|
|
3732
|
-
function appendText(end2) {
|
|
3733
|
-
if (end2 > start) {
|
|
3734
|
-
var xt = source.substring(start, end2).replace(/&#?\w+;/g, entityReplacer);
|
|
3735
|
-
locator && position2(start);
|
|
3736
|
-
domBuilder.characters(xt, 0, end2 - start);
|
|
3737
|
-
start = end2;
|
|
3738
|
-
}
|
|
3739
|
-
}
|
|
3740
|
-
function position2(p, m) {
|
|
3741
|
-
while (p >= lineEnd && (m = linePattern.exec(source))) {
|
|
3742
|
-
lineStart = m.index;
|
|
3743
|
-
lineEnd = lineStart + m[0].length;
|
|
3744
|
-
locator.lineNumber++;
|
|
3745
|
-
}
|
|
3746
|
-
locator.columnNumber = p - lineStart + 1;
|
|
3747
|
-
}
|
|
3748
|
-
var lineStart = 0;
|
|
3749
|
-
var lineEnd = 0;
|
|
3750
|
-
var linePattern = /.*(?:\r\n?|\n)|.*$/g;
|
|
3751
|
-
var locator = domBuilder.locator;
|
|
3752
|
-
var parseStack = [{ currentNSMap: defaultNSMapCopy }];
|
|
3753
|
-
var closeMap = {};
|
|
3754
|
-
var start = 0;
|
|
3755
|
-
while (true) {
|
|
3756
|
-
try {
|
|
3757
|
-
var tagStart = source.indexOf("<", start);
|
|
3758
|
-
if (tagStart < 0) {
|
|
3759
|
-
if (!source.substr(start).match(/^\s*$/)) {
|
|
3760
|
-
var doc = domBuilder.doc;
|
|
3761
|
-
var text = doc.createTextNode(source.substr(start));
|
|
3762
|
-
doc.appendChild(text);
|
|
3763
|
-
domBuilder.currentElement = text;
|
|
3764
|
-
}
|
|
3765
|
-
return;
|
|
3766
|
-
}
|
|
3767
|
-
if (tagStart > start) {
|
|
3768
|
-
appendText(tagStart);
|
|
3769
|
-
}
|
|
3770
|
-
switch (source.charAt(tagStart + 1)) {
|
|
3771
|
-
case "/":
|
|
3772
|
-
var end = source.indexOf(">", tagStart + 3);
|
|
3773
|
-
var tagName = source.substring(tagStart + 2, end).replace(/[ \t\n\r]+$/g, "");
|
|
3774
|
-
var config = parseStack.pop();
|
|
3775
|
-
if (end < 0) {
|
|
3776
|
-
tagName = source.substring(tagStart + 2).replace(/[\s<].*/, "");
|
|
3777
|
-
errorHandler.error("end tag name: " + tagName + " is not complete:" + config.tagName);
|
|
3778
|
-
end = tagStart + 1 + tagName.length;
|
|
3779
|
-
} else if (tagName.match(/\s</)) {
|
|
3780
|
-
tagName = tagName.replace(/[\s<].*/, "");
|
|
3781
|
-
errorHandler.error("end tag name: " + tagName + " maybe not complete");
|
|
3782
|
-
end = tagStart + 1 + tagName.length;
|
|
3783
|
-
}
|
|
3784
|
-
var localNSMap = config.localNSMap;
|
|
3785
|
-
var endMatch = config.tagName == tagName;
|
|
3786
|
-
var endIgnoreCaseMach = endMatch || config.tagName && config.tagName.toLowerCase() == tagName.toLowerCase();
|
|
3787
|
-
if (endIgnoreCaseMach) {
|
|
3788
|
-
domBuilder.endElement(config.uri, config.localName, tagName);
|
|
3789
|
-
if (localNSMap) {
|
|
3790
|
-
for (var prefix in localNSMap) {
|
|
3791
|
-
if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
|
|
3792
|
-
domBuilder.endPrefixMapping(prefix);
|
|
3793
|
-
}
|
|
3794
|
-
}
|
|
3795
|
-
}
|
|
3796
|
-
if (!endMatch) {
|
|
3797
|
-
errorHandler.fatalError("end tag name: " + tagName + " is not match the current start tagName:" + config.tagName);
|
|
3798
|
-
}
|
|
3799
|
-
} else {
|
|
3800
|
-
parseStack.push(config);
|
|
3801
|
-
}
|
|
3802
|
-
end++;
|
|
3803
|
-
break;
|
|
3804
|
-
case "?":
|
|
3805
|
-
locator && position2(tagStart);
|
|
3806
|
-
end = parseInstruction(source, tagStart, domBuilder);
|
|
3807
|
-
break;
|
|
3808
|
-
case "!":
|
|
3809
|
-
locator && position2(tagStart);
|
|
3810
|
-
end = parseDCC(source, tagStart, domBuilder, errorHandler);
|
|
3811
|
-
break;
|
|
3812
|
-
default:
|
|
3813
|
-
locator && position2(tagStart);
|
|
3814
|
-
var el = new ElementAttributes();
|
|
3815
|
-
var currentNSMap = parseStack[parseStack.length - 1].currentNSMap;
|
|
3816
|
-
var end = parseElementStartPart(source, tagStart, el, currentNSMap, entityReplacer, errorHandler);
|
|
3817
|
-
var len = el.length;
|
|
3818
|
-
if (!el.closed && fixSelfClosed(source, end, el.tagName, closeMap)) {
|
|
3819
|
-
el.closed = true;
|
|
3820
|
-
if (!entityMap.nbsp) {
|
|
3821
|
-
errorHandler.warning("unclosed xml attribute");
|
|
3822
|
-
}
|
|
3823
|
-
}
|
|
3824
|
-
if (locator && len) {
|
|
3825
|
-
var locator2 = copyLocator(locator, {});
|
|
3826
|
-
for (var i = 0; i < len; i++) {
|
|
3827
|
-
var a = el[i];
|
|
3828
|
-
position2(a.offset);
|
|
3829
|
-
a.locator = copyLocator(locator, {});
|
|
3830
|
-
}
|
|
3831
|
-
domBuilder.locator = locator2;
|
|
3832
|
-
if (appendElement$1(el, domBuilder, currentNSMap)) {
|
|
3833
|
-
parseStack.push(el);
|
|
3834
|
-
}
|
|
3835
|
-
domBuilder.locator = locator;
|
|
3836
|
-
} else {
|
|
3837
|
-
if (appendElement$1(el, domBuilder, currentNSMap)) {
|
|
3838
|
-
parseStack.push(el);
|
|
3839
|
-
}
|
|
3840
|
-
}
|
|
3841
|
-
if (NAMESPACE$1.isHTML(el.uri) && !el.closed) {
|
|
3842
|
-
end = parseHtmlSpecialContent(source, end, el.tagName, entityReplacer, domBuilder);
|
|
3843
|
-
} else {
|
|
3844
|
-
end++;
|
|
3845
|
-
}
|
|
3846
|
-
}
|
|
3847
|
-
} catch (e) {
|
|
3848
|
-
if (e instanceof ParseError$1) {
|
|
3849
|
-
throw e;
|
|
3850
|
-
}
|
|
3851
|
-
errorHandler.error("element parse error: " + e);
|
|
3852
|
-
end = -1;
|
|
3853
|
-
}
|
|
3854
|
-
if (end > start) {
|
|
3855
|
-
start = end;
|
|
3856
|
-
} else {
|
|
3857
|
-
appendText(Math.max(tagStart, start) + 1);
|
|
3858
|
-
}
|
|
3859
|
-
}
|
|
3860
|
-
}
|
|
3861
|
-
function copyLocator(f, t) {
|
|
3862
|
-
t.lineNumber = f.lineNumber;
|
|
3863
|
-
t.columnNumber = f.columnNumber;
|
|
3864
|
-
return t;
|
|
3865
|
-
}
|
|
3866
|
-
function parseElementStartPart(source, start, el, currentNSMap, entityReplacer, errorHandler) {
|
|
3867
|
-
function addAttribute(qname, value2, startIndex) {
|
|
3868
|
-
if (el.attributeNames.hasOwnProperty(qname)) {
|
|
3869
|
-
errorHandler.fatalError("Attribute " + qname + " redefined");
|
|
3870
|
-
}
|
|
3871
|
-
el.addValue(
|
|
3872
|
-
qname,
|
|
3873
|
-
// @see https://www.w3.org/TR/xml/#AVNormalize
|
|
3874
|
-
// since the xmldom sax parser does not "interpret" DTD the following is not implemented:
|
|
3875
|
-
// - recursive replacement of (DTD) entity references
|
|
3876
|
-
// - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA
|
|
3877
|
-
value2.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, entityReplacer),
|
|
3878
|
-
startIndex
|
|
3879
|
-
);
|
|
3880
|
-
}
|
|
3881
|
-
var attrName;
|
|
3882
|
-
var value;
|
|
3883
|
-
var p = ++start;
|
|
3884
|
-
var s = S_TAG;
|
|
3885
|
-
while (true) {
|
|
3886
|
-
var c = source.charAt(p);
|
|
3887
|
-
switch (c) {
|
|
3888
|
-
case "=":
|
|
3889
|
-
if (s === S_ATTR) {
|
|
3890
|
-
attrName = source.slice(start, p);
|
|
3891
|
-
s = S_EQ;
|
|
3892
|
-
} else if (s === S_ATTR_SPACE) {
|
|
3893
|
-
s = S_EQ;
|
|
3894
|
-
} else {
|
|
3895
|
-
throw new Error("attribute equal must after attrName");
|
|
3896
|
-
}
|
|
3897
|
-
break;
|
|
3898
|
-
case "'":
|
|
3899
|
-
case '"':
|
|
3900
|
-
if (s === S_EQ || s === S_ATTR) {
|
|
3901
|
-
if (s === S_ATTR) {
|
|
3902
|
-
errorHandler.warning('attribute value must after "="');
|
|
3903
|
-
attrName = source.slice(start, p);
|
|
3904
|
-
}
|
|
3905
|
-
start = p + 1;
|
|
3906
|
-
p = source.indexOf(c, start);
|
|
3907
|
-
if (p > 0) {
|
|
3908
|
-
value = source.slice(start, p);
|
|
3909
|
-
addAttribute(attrName, value, start - 1);
|
|
3910
|
-
s = S_ATTR_END;
|
|
3911
|
-
} else {
|
|
3912
|
-
throw new Error("attribute value no end '" + c + "' match");
|
|
3913
|
-
}
|
|
3914
|
-
} else if (s == S_ATTR_NOQUOT_VALUE) {
|
|
3915
|
-
value = source.slice(start, p);
|
|
3916
|
-
addAttribute(attrName, value, start);
|
|
3917
|
-
errorHandler.warning('attribute "' + attrName + '" missed start quot(' + c + ")!!");
|
|
3918
|
-
start = p + 1;
|
|
3919
|
-
s = S_ATTR_END;
|
|
3920
|
-
} else {
|
|
3921
|
-
throw new Error('attribute value must after "="');
|
|
3922
|
-
}
|
|
3923
|
-
break;
|
|
3924
|
-
case "/":
|
|
3925
|
-
switch (s) {
|
|
3926
|
-
case S_TAG:
|
|
3927
|
-
el.setTagName(source.slice(start, p));
|
|
3928
|
-
case S_ATTR_END:
|
|
3929
|
-
case S_TAG_SPACE:
|
|
3930
|
-
case S_TAG_CLOSE:
|
|
3931
|
-
s = S_TAG_CLOSE;
|
|
3932
|
-
el.closed = true;
|
|
3933
|
-
case S_ATTR_NOQUOT_VALUE:
|
|
3934
|
-
case S_ATTR:
|
|
3935
|
-
break;
|
|
3936
|
-
case S_ATTR_SPACE:
|
|
3937
|
-
el.closed = true;
|
|
3938
|
-
break;
|
|
3939
|
-
default:
|
|
3940
|
-
throw new Error("attribute invalid close char('/')");
|
|
3941
|
-
}
|
|
3942
|
-
break;
|
|
3943
|
-
case "":
|
|
3944
|
-
errorHandler.error("unexpected end of input");
|
|
3945
|
-
if (s == S_TAG) {
|
|
3946
|
-
el.setTagName(source.slice(start, p));
|
|
3947
|
-
}
|
|
3948
|
-
return p;
|
|
3949
|
-
case ">":
|
|
3950
|
-
switch (s) {
|
|
3951
|
-
case S_TAG:
|
|
3952
|
-
el.setTagName(source.slice(start, p));
|
|
3953
|
-
case S_ATTR_END:
|
|
3954
|
-
case S_TAG_SPACE:
|
|
3955
|
-
case S_TAG_CLOSE:
|
|
3956
|
-
break;
|
|
3957
|
-
case S_ATTR_NOQUOT_VALUE:
|
|
3958
|
-
case S_ATTR:
|
|
3959
|
-
value = source.slice(start, p);
|
|
3960
|
-
if (value.slice(-1) === "/") {
|
|
3961
|
-
el.closed = true;
|
|
3962
|
-
value = value.slice(0, -1);
|
|
3963
|
-
}
|
|
3964
|
-
case S_ATTR_SPACE:
|
|
3965
|
-
if (s === S_ATTR_SPACE) {
|
|
3966
|
-
value = attrName;
|
|
3967
|
-
}
|
|
3968
|
-
if (s == S_ATTR_NOQUOT_VALUE) {
|
|
3969
|
-
errorHandler.warning('attribute "' + value + '" missed quot(")!');
|
|
3970
|
-
addAttribute(attrName, value, start);
|
|
3971
|
-
} else {
|
|
3972
|
-
if (!NAMESPACE$1.isHTML(currentNSMap[""]) || !value.match(/^(?:disabled|checked|selected)$/i)) {
|
|
3973
|
-
errorHandler.warning('attribute "' + value + '" missed value!! "' + value + '" instead!!');
|
|
3974
|
-
}
|
|
3975
|
-
addAttribute(value, value, start);
|
|
3976
|
-
}
|
|
3977
|
-
break;
|
|
3978
|
-
case S_EQ:
|
|
3979
|
-
throw new Error("attribute value missed!!");
|
|
3980
|
-
}
|
|
3981
|
-
return p;
|
|
3982
|
-
case "":
|
|
3983
|
-
c = " ";
|
|
3984
|
-
default:
|
|
3985
|
-
if (c <= " ") {
|
|
3986
|
-
switch (s) {
|
|
3987
|
-
case S_TAG:
|
|
3988
|
-
el.setTagName(source.slice(start, p));
|
|
3989
|
-
s = S_TAG_SPACE;
|
|
3990
|
-
break;
|
|
3991
|
-
case S_ATTR:
|
|
3992
|
-
attrName = source.slice(start, p);
|
|
3993
|
-
s = S_ATTR_SPACE;
|
|
3994
|
-
break;
|
|
3995
|
-
case S_ATTR_NOQUOT_VALUE:
|
|
3996
|
-
var value = source.slice(start, p);
|
|
3997
|
-
errorHandler.warning('attribute "' + value + '" missed quot(")!!');
|
|
3998
|
-
addAttribute(attrName, value, start);
|
|
3999
|
-
case S_ATTR_END:
|
|
4000
|
-
s = S_TAG_SPACE;
|
|
4001
|
-
break;
|
|
4002
|
-
}
|
|
4003
|
-
} else {
|
|
4004
|
-
switch (s) {
|
|
4005
|
-
case S_ATTR_SPACE:
|
|
4006
|
-
el.tagName;
|
|
4007
|
-
if (!NAMESPACE$1.isHTML(currentNSMap[""]) || !attrName.match(/^(?:disabled|checked|selected)$/i)) {
|
|
4008
|
-
errorHandler.warning('attribute "' + attrName + '" missed value!! "' + attrName + '" instead2!!');
|
|
4009
|
-
}
|
|
4010
|
-
addAttribute(attrName, attrName, start);
|
|
4011
|
-
start = p;
|
|
4012
|
-
s = S_ATTR;
|
|
4013
|
-
break;
|
|
4014
|
-
case S_ATTR_END:
|
|
4015
|
-
errorHandler.warning('attribute space is required"' + attrName + '"!!');
|
|
4016
|
-
case S_TAG_SPACE:
|
|
4017
|
-
s = S_ATTR;
|
|
4018
|
-
start = p;
|
|
4019
|
-
break;
|
|
4020
|
-
case S_EQ:
|
|
4021
|
-
s = S_ATTR_NOQUOT_VALUE;
|
|
4022
|
-
start = p;
|
|
4023
|
-
break;
|
|
4024
|
-
case S_TAG_CLOSE:
|
|
4025
|
-
throw new Error("elements closed character '/' and '>' must be connected to");
|
|
4026
|
-
}
|
|
4027
|
-
}
|
|
4028
|
-
}
|
|
4029
|
-
p++;
|
|
4030
|
-
}
|
|
4031
|
-
}
|
|
4032
|
-
function appendElement$1(el, domBuilder, currentNSMap) {
|
|
4033
|
-
var tagName = el.tagName;
|
|
4034
|
-
var localNSMap = null;
|
|
4035
|
-
var i = el.length;
|
|
4036
|
-
while (i--) {
|
|
4037
|
-
var a = el[i];
|
|
4038
|
-
var qName = a.qName;
|
|
4039
|
-
var value = a.value;
|
|
4040
|
-
var nsp = qName.indexOf(":");
|
|
4041
|
-
if (nsp > 0) {
|
|
4042
|
-
var prefix = a.prefix = qName.slice(0, nsp);
|
|
4043
|
-
var localName = qName.slice(nsp + 1);
|
|
4044
|
-
var nsPrefix = prefix === "xmlns" && localName;
|
|
4045
|
-
} else {
|
|
4046
|
-
localName = qName;
|
|
4047
|
-
prefix = null;
|
|
4048
|
-
nsPrefix = qName === "xmlns" && "";
|
|
4049
|
-
}
|
|
4050
|
-
a.localName = localName;
|
|
4051
|
-
if (nsPrefix !== false) {
|
|
4052
|
-
if (localNSMap == null) {
|
|
4053
|
-
localNSMap = {};
|
|
4054
|
-
_copy(currentNSMap, currentNSMap = {});
|
|
4055
|
-
}
|
|
4056
|
-
currentNSMap[nsPrefix] = localNSMap[nsPrefix] = value;
|
|
4057
|
-
a.uri = NAMESPACE$1.XMLNS;
|
|
4058
|
-
domBuilder.startPrefixMapping(nsPrefix, value);
|
|
4059
|
-
}
|
|
4060
|
-
}
|
|
4061
|
-
var i = el.length;
|
|
4062
|
-
while (i--) {
|
|
4063
|
-
a = el[i];
|
|
4064
|
-
var prefix = a.prefix;
|
|
4065
|
-
if (prefix) {
|
|
4066
|
-
if (prefix === "xml") {
|
|
4067
|
-
a.uri = NAMESPACE$1.XML;
|
|
4068
|
-
}
|
|
4069
|
-
if (prefix !== "xmlns") {
|
|
4070
|
-
a.uri = currentNSMap[prefix || ""];
|
|
4071
|
-
}
|
|
4072
|
-
}
|
|
4073
|
-
}
|
|
4074
|
-
var nsp = tagName.indexOf(":");
|
|
4075
|
-
if (nsp > 0) {
|
|
4076
|
-
prefix = el.prefix = tagName.slice(0, nsp);
|
|
4077
|
-
localName = el.localName = tagName.slice(nsp + 1);
|
|
4078
|
-
} else {
|
|
4079
|
-
prefix = null;
|
|
4080
|
-
localName = el.localName = tagName;
|
|
4081
|
-
}
|
|
4082
|
-
var ns = el.uri = currentNSMap[prefix || ""];
|
|
4083
|
-
domBuilder.startElement(ns, localName, tagName, el);
|
|
4084
|
-
if (el.closed) {
|
|
4085
|
-
domBuilder.endElement(ns, localName, tagName);
|
|
4086
|
-
if (localNSMap) {
|
|
4087
|
-
for (prefix in localNSMap) {
|
|
4088
|
-
if (Object.prototype.hasOwnProperty.call(localNSMap, prefix)) {
|
|
4089
|
-
domBuilder.endPrefixMapping(prefix);
|
|
4090
|
-
}
|
|
4091
|
-
}
|
|
4092
|
-
}
|
|
4093
|
-
} else {
|
|
4094
|
-
el.currentNSMap = currentNSMap;
|
|
4095
|
-
el.localNSMap = localNSMap;
|
|
4096
|
-
return true;
|
|
4097
|
-
}
|
|
4098
|
-
}
|
|
4099
|
-
function parseHtmlSpecialContent(source, elStartEnd, tagName, entityReplacer, domBuilder) {
|
|
4100
|
-
if (/^(?:script|textarea)$/i.test(tagName)) {
|
|
4101
|
-
var elEndStart = source.indexOf("</" + tagName + ">", elStartEnd);
|
|
4102
|
-
var text = source.substring(elStartEnd + 1, elEndStart);
|
|
4103
|
-
if (/[&<]/.test(text)) {
|
|
4104
|
-
if (/^script$/i.test(tagName)) {
|
|
4105
|
-
domBuilder.characters(text, 0, text.length);
|
|
4106
|
-
return elEndStart;
|
|
4107
|
-
}
|
|
4108
|
-
text = text.replace(/&#?\w+;/g, entityReplacer);
|
|
4109
|
-
domBuilder.characters(text, 0, text.length);
|
|
4110
|
-
return elEndStart;
|
|
4111
|
-
}
|
|
4112
|
-
}
|
|
4113
|
-
return elStartEnd + 1;
|
|
4114
|
-
}
|
|
4115
|
-
function fixSelfClosed(source, elStartEnd, tagName, closeMap) {
|
|
4116
|
-
var pos = closeMap[tagName];
|
|
4117
|
-
if (pos == null) {
|
|
4118
|
-
pos = source.lastIndexOf("</" + tagName + ">");
|
|
4119
|
-
if (pos < elStartEnd) {
|
|
4120
|
-
pos = source.lastIndexOf("</" + tagName);
|
|
4121
|
-
}
|
|
4122
|
-
closeMap[tagName] = pos;
|
|
4123
|
-
}
|
|
4124
|
-
return pos < elStartEnd;
|
|
4125
|
-
}
|
|
4126
|
-
function _copy(source, target) {
|
|
4127
|
-
for (var n in source) {
|
|
4128
|
-
if (Object.prototype.hasOwnProperty.call(source, n)) {
|
|
4129
|
-
target[n] = source[n];
|
|
4130
|
-
}
|
|
4131
|
-
}
|
|
4132
|
-
}
|
|
4133
|
-
function parseDCC(source, start, domBuilder, errorHandler) {
|
|
4134
|
-
var next = source.charAt(start + 2);
|
|
4135
|
-
switch (next) {
|
|
4136
|
-
case "-":
|
|
4137
|
-
if (source.charAt(start + 3) === "-") {
|
|
4138
|
-
var end = source.indexOf("-->", start + 4);
|
|
4139
|
-
if (end > start) {
|
|
4140
|
-
domBuilder.comment(source, start + 4, end - start - 4);
|
|
4141
|
-
return end + 3;
|
|
4142
|
-
} else {
|
|
4143
|
-
errorHandler.error("Unclosed comment");
|
|
4144
|
-
return -1;
|
|
4145
|
-
}
|
|
4146
|
-
} else {
|
|
4147
|
-
return -1;
|
|
4148
|
-
}
|
|
4149
|
-
default:
|
|
4150
|
-
if (source.substr(start + 3, 6) == "CDATA[") {
|
|
4151
|
-
var end = source.indexOf("]]>", start + 9);
|
|
4152
|
-
domBuilder.startCDATA();
|
|
4153
|
-
domBuilder.characters(source, start + 9, end - start - 9);
|
|
4154
|
-
domBuilder.endCDATA();
|
|
4155
|
-
return end + 3;
|
|
4156
|
-
}
|
|
4157
|
-
var matchs = split(source, start);
|
|
4158
|
-
var len = matchs.length;
|
|
4159
|
-
if (len > 1 && /!doctype/i.test(matchs[0][0])) {
|
|
4160
|
-
var name = matchs[1][0];
|
|
4161
|
-
var pubid = false;
|
|
4162
|
-
var sysid = false;
|
|
4163
|
-
if (len > 3) {
|
|
4164
|
-
if (/^public$/i.test(matchs[2][0])) {
|
|
4165
|
-
pubid = matchs[3][0];
|
|
4166
|
-
sysid = len > 4 && matchs[4][0];
|
|
4167
|
-
} else if (/^system$/i.test(matchs[2][0])) {
|
|
4168
|
-
sysid = matchs[3][0];
|
|
4169
|
-
}
|
|
4170
|
-
}
|
|
4171
|
-
var lastMatch = matchs[len - 1];
|
|
4172
|
-
domBuilder.startDTD(name, pubid, sysid);
|
|
4173
|
-
domBuilder.endDTD();
|
|
4174
|
-
return lastMatch.index + lastMatch[0].length;
|
|
4175
|
-
}
|
|
4176
|
-
}
|
|
4177
|
-
return -1;
|
|
4178
|
-
}
|
|
4179
|
-
function parseInstruction(source, start, domBuilder) {
|
|
4180
|
-
var end = source.indexOf("?>", start);
|
|
4181
|
-
if (end) {
|
|
4182
|
-
var match = source.substring(start, end).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
|
|
4183
|
-
if (match) {
|
|
4184
|
-
match[0].length;
|
|
4185
|
-
domBuilder.processingInstruction(match[1], match[2]);
|
|
4186
|
-
return end + 2;
|
|
4187
|
-
} else {
|
|
4188
|
-
return -1;
|
|
4189
|
-
}
|
|
4190
|
-
}
|
|
4191
|
-
return -1;
|
|
4192
|
-
}
|
|
4193
|
-
function ElementAttributes() {
|
|
4194
|
-
this.attributeNames = {};
|
|
4195
|
-
}
|
|
4196
|
-
ElementAttributes.prototype = {
|
|
4197
|
-
setTagName: function(tagName) {
|
|
4198
|
-
if (!tagNamePattern.test(tagName)) {
|
|
4199
|
-
throw new Error("invalid tagName:" + tagName);
|
|
4200
|
-
}
|
|
4201
|
-
this.tagName = tagName;
|
|
4202
|
-
},
|
|
4203
|
-
addValue: function(qName, value, offset) {
|
|
4204
|
-
if (!tagNamePattern.test(qName)) {
|
|
4205
|
-
throw new Error("invalid attribute:" + qName);
|
|
4206
|
-
}
|
|
4207
|
-
this.attributeNames[qName] = this.length;
|
|
4208
|
-
this[this.length++] = { qName, value, offset };
|
|
4209
|
-
},
|
|
4210
|
-
length: 0,
|
|
4211
|
-
getLocalName: function(i) {
|
|
4212
|
-
return this[i].localName;
|
|
4213
|
-
},
|
|
4214
|
-
getLocator: function(i) {
|
|
4215
|
-
return this[i].locator;
|
|
4216
|
-
},
|
|
4217
|
-
getQName: function(i) {
|
|
4218
|
-
return this[i].qName;
|
|
4219
|
-
},
|
|
4220
|
-
getURI: function(i) {
|
|
4221
|
-
return this[i].uri;
|
|
4222
|
-
},
|
|
4223
|
-
getValue: function(i) {
|
|
4224
|
-
return this[i].value;
|
|
4225
|
-
}
|
|
4226
|
-
// ,getIndex:function(uri, localName)){
|
|
4227
|
-
// if(localName){
|
|
4228
|
-
//
|
|
4229
|
-
// }else{
|
|
4230
|
-
// var qName = uri
|
|
4231
|
-
// }
|
|
4232
|
-
// },
|
|
4233
|
-
// getValue:function(){return this.getValue(this.getIndex.apply(this,arguments))},
|
|
4234
|
-
// getType:function(uri,localName){}
|
|
4235
|
-
// getType:function(i){},
|
|
4236
|
-
};
|
|
4237
|
-
function split(source, start) {
|
|
4238
|
-
var match;
|
|
4239
|
-
var buf = [];
|
|
4240
|
-
var reg = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
|
|
4241
|
-
reg.lastIndex = start;
|
|
4242
|
-
reg.exec(source);
|
|
4243
|
-
while (match = reg.exec(source)) {
|
|
4244
|
-
buf.push(match);
|
|
4245
|
-
if (match[1])
|
|
4246
|
-
return buf;
|
|
4247
|
-
}
|
|
4248
|
-
}
|
|
4249
|
-
sax$1.XMLReader = XMLReader$1;
|
|
4250
|
-
sax$1.ParseError = ParseError$1;
|
|
4251
|
-
var conventions = conventions$2;
|
|
4252
|
-
var dom = dom$1;
|
|
4253
|
-
var entities = entities$1;
|
|
4254
|
-
var sax = sax$1;
|
|
4255
|
-
var DOMImplementation = dom.DOMImplementation;
|
|
4256
|
-
var NAMESPACE = conventions.NAMESPACE;
|
|
4257
|
-
var ParseError = sax.ParseError;
|
|
4258
|
-
var XMLReader = sax.XMLReader;
|
|
4259
|
-
function normalizeLineEndings(input) {
|
|
4260
|
-
return input.replace(/\r[\n\u0085]/g, "\n").replace(/[\r\u0085\u2028]/g, "\n");
|
|
4261
|
-
}
|
|
4262
|
-
function DOMParser$1(options) {
|
|
4263
|
-
this.options = options || { locator: {} };
|
|
4264
|
-
}
|
|
4265
|
-
DOMParser$1.prototype.parseFromString = function(source, mimeType) {
|
|
4266
|
-
var options = this.options;
|
|
4267
|
-
var sax2 = new XMLReader();
|
|
4268
|
-
var domBuilder = options.domBuilder || new DOMHandler();
|
|
4269
|
-
var errorHandler = options.errorHandler;
|
|
4270
|
-
var locator = options.locator;
|
|
4271
|
-
var defaultNSMap = options.xmlns || {};
|
|
4272
|
-
var isHTML = /\/x?html?$/.test(mimeType);
|
|
4273
|
-
var entityMap = isHTML ? entities.HTML_ENTITIES : entities.XML_ENTITIES;
|
|
4274
|
-
if (locator) {
|
|
4275
|
-
domBuilder.setDocumentLocator(locator);
|
|
4276
|
-
}
|
|
4277
|
-
sax2.errorHandler = buildErrorHandler(errorHandler, domBuilder, locator);
|
|
4278
|
-
sax2.domBuilder = options.domBuilder || domBuilder;
|
|
4279
|
-
if (isHTML) {
|
|
4280
|
-
defaultNSMap[""] = NAMESPACE.HTML;
|
|
4281
|
-
}
|
|
4282
|
-
defaultNSMap.xml = defaultNSMap.xml || NAMESPACE.XML;
|
|
4283
|
-
var normalize = options.normalizeLineEndings || normalizeLineEndings;
|
|
4284
|
-
if (source && typeof source === "string") {
|
|
4285
|
-
sax2.parse(
|
|
4286
|
-
normalize(source),
|
|
4287
|
-
defaultNSMap,
|
|
4288
|
-
entityMap
|
|
4289
|
-
);
|
|
4290
|
-
} else {
|
|
4291
|
-
sax2.errorHandler.error("invalid doc source");
|
|
4292
|
-
}
|
|
4293
|
-
return domBuilder.doc;
|
|
4294
|
-
};
|
|
4295
|
-
function buildErrorHandler(errorImpl, domBuilder, locator) {
|
|
4296
|
-
if (!errorImpl) {
|
|
4297
|
-
if (domBuilder instanceof DOMHandler) {
|
|
4298
|
-
return domBuilder;
|
|
4299
|
-
}
|
|
4300
|
-
errorImpl = domBuilder;
|
|
4301
|
-
}
|
|
4302
|
-
var errorHandler = {};
|
|
4303
|
-
var isCallback = errorImpl instanceof Function;
|
|
4304
|
-
locator = locator || {};
|
|
4305
|
-
function build(key) {
|
|
4306
|
-
var fn = errorImpl[key];
|
|
4307
|
-
if (!fn && isCallback) {
|
|
4308
|
-
fn = errorImpl.length == 2 ? function(msg) {
|
|
4309
|
-
errorImpl(key, msg);
|
|
4310
|
-
} : errorImpl;
|
|
4311
|
-
}
|
|
4312
|
-
errorHandler[key] = fn && function(msg) {
|
|
4313
|
-
fn("[xmldom " + key + "] " + msg + _locator(locator));
|
|
4314
|
-
} || function() {
|
|
4315
|
-
};
|
|
4316
|
-
}
|
|
4317
|
-
build("warning");
|
|
4318
|
-
build("error");
|
|
4319
|
-
build("fatalError");
|
|
4320
|
-
return errorHandler;
|
|
4321
|
-
}
|
|
4322
|
-
function DOMHandler() {
|
|
4323
|
-
this.cdata = false;
|
|
4324
|
-
}
|
|
4325
|
-
function position(locator, node) {
|
|
4326
|
-
node.lineNumber = locator.lineNumber;
|
|
4327
|
-
node.columnNumber = locator.columnNumber;
|
|
4328
|
-
}
|
|
4329
|
-
DOMHandler.prototype = {
|
|
4330
|
-
startDocument: function() {
|
|
4331
|
-
this.doc = new DOMImplementation().createDocument(null, null, null);
|
|
4332
|
-
if (this.locator) {
|
|
4333
|
-
this.doc.documentURI = this.locator.systemId;
|
|
4334
|
-
}
|
|
4335
|
-
},
|
|
4336
|
-
startElement: function(namespaceURI, localName, qName, attrs) {
|
|
4337
|
-
var doc = this.doc;
|
|
4338
|
-
var el = doc.createElementNS(namespaceURI, qName || localName);
|
|
4339
|
-
var len = attrs.length;
|
|
4340
|
-
appendElement(this, el);
|
|
4341
|
-
this.currentElement = el;
|
|
4342
|
-
this.locator && position(this.locator, el);
|
|
4343
|
-
for (var i = 0; i < len; i++) {
|
|
4344
|
-
var namespaceURI = attrs.getURI(i);
|
|
4345
|
-
var value = attrs.getValue(i);
|
|
4346
|
-
var qName = attrs.getQName(i);
|
|
4347
|
-
var attr = doc.createAttributeNS(namespaceURI, qName);
|
|
4348
|
-
this.locator && position(attrs.getLocator(i), attr);
|
|
4349
|
-
attr.value = attr.nodeValue = value;
|
|
4350
|
-
el.setAttributeNode(attr);
|
|
4351
|
-
}
|
|
4352
|
-
},
|
|
4353
|
-
endElement: function(namespaceURI, localName, qName) {
|
|
4354
|
-
var current = this.currentElement;
|
|
4355
|
-
current.tagName;
|
|
4356
|
-
this.currentElement = current.parentNode;
|
|
4357
|
-
},
|
|
4358
|
-
startPrefixMapping: function(prefix, uri) {
|
|
4359
|
-
},
|
|
4360
|
-
endPrefixMapping: function(prefix) {
|
|
4361
|
-
},
|
|
4362
|
-
processingInstruction: function(target, data) {
|
|
4363
|
-
var ins = this.doc.createProcessingInstruction(target, data);
|
|
4364
|
-
this.locator && position(this.locator, ins);
|
|
4365
|
-
appendElement(this, ins);
|
|
4366
|
-
},
|
|
4367
|
-
ignorableWhitespace: function(ch, start, length) {
|
|
4368
|
-
},
|
|
4369
|
-
characters: function(chars, start, length) {
|
|
4370
|
-
chars = _toString.apply(this, arguments);
|
|
4371
|
-
if (chars) {
|
|
4372
|
-
if (this.cdata) {
|
|
4373
|
-
var charNode = this.doc.createCDATASection(chars);
|
|
4374
|
-
} else {
|
|
4375
|
-
var charNode = this.doc.createTextNode(chars);
|
|
4376
|
-
}
|
|
4377
|
-
if (this.currentElement) {
|
|
4378
|
-
this.currentElement.appendChild(charNode);
|
|
4379
|
-
} else if (/^\s*$/.test(chars)) {
|
|
4380
|
-
this.doc.appendChild(charNode);
|
|
4381
|
-
}
|
|
4382
|
-
this.locator && position(this.locator, charNode);
|
|
4383
|
-
}
|
|
4384
|
-
},
|
|
4385
|
-
skippedEntity: function(name) {
|
|
4386
|
-
},
|
|
4387
|
-
endDocument: function() {
|
|
4388
|
-
this.doc.normalize();
|
|
4389
|
-
},
|
|
4390
|
-
setDocumentLocator: function(locator) {
|
|
4391
|
-
if (this.locator = locator) {
|
|
4392
|
-
locator.lineNumber = 0;
|
|
4393
|
-
}
|
|
4394
|
-
},
|
|
4395
|
-
//LexicalHandler
|
|
4396
|
-
comment: function(chars, start, length) {
|
|
4397
|
-
chars = _toString.apply(this, arguments);
|
|
4398
|
-
var comm = this.doc.createComment(chars);
|
|
4399
|
-
this.locator && position(this.locator, comm);
|
|
4400
|
-
appendElement(this, comm);
|
|
4401
|
-
},
|
|
4402
|
-
startCDATA: function() {
|
|
4403
|
-
this.cdata = true;
|
|
4404
|
-
},
|
|
4405
|
-
endCDATA: function() {
|
|
4406
|
-
this.cdata = false;
|
|
4407
|
-
},
|
|
4408
|
-
startDTD: function(name, publicId, systemId) {
|
|
4409
|
-
var impl = this.doc.implementation;
|
|
4410
|
-
if (impl && impl.createDocumentType) {
|
|
4411
|
-
var dt = impl.createDocumentType(name, publicId, systemId);
|
|
4412
|
-
this.locator && position(this.locator, dt);
|
|
4413
|
-
appendElement(this, dt);
|
|
4414
|
-
this.doc.doctype = dt;
|
|
4415
|
-
}
|
|
4416
|
-
},
|
|
4417
|
-
/**
|
|
4418
|
-
* @see org.xml.sax.ErrorHandler
|
|
4419
|
-
* @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
|
|
4420
|
-
*/
|
|
4421
|
-
warning: function(error) {
|
|
4422
|
-
console.warn("[xmldom warning] " + error, _locator(this.locator));
|
|
4423
|
-
},
|
|
4424
|
-
error: function(error) {
|
|
4425
|
-
console.error("[xmldom error] " + error, _locator(this.locator));
|
|
4426
|
-
},
|
|
4427
|
-
fatalError: function(error) {
|
|
4428
|
-
throw new ParseError(error, this.locator);
|
|
4429
|
-
}
|
|
4430
|
-
};
|
|
4431
|
-
function _locator(l) {
|
|
4432
|
-
if (l) {
|
|
4433
|
-
return "\n@" + (l.systemId || "") + "#[line:" + l.lineNumber + ",col:" + l.columnNumber + "]";
|
|
4434
|
-
}
|
|
4435
|
-
}
|
|
4436
|
-
function _toString(chars, start, length) {
|
|
4437
|
-
if (typeof chars == "string") {
|
|
4438
|
-
return chars.substr(start, length);
|
|
4439
|
-
} else {
|
|
4440
|
-
if (chars.length >= start + length || start) {
|
|
4441
|
-
return new java.lang.String(chars, start, length) + "";
|
|
4442
|
-
}
|
|
4443
|
-
return chars;
|
|
4444
|
-
}
|
|
4445
|
-
}
|
|
4446
|
-
"endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(key) {
|
|
4447
|
-
DOMHandler.prototype[key] = function() {
|
|
4448
|
-
return null;
|
|
4449
|
-
};
|
|
4450
|
-
});
|
|
4451
|
-
function appendElement(hander, node) {
|
|
4452
|
-
if (!hander.currentElement) {
|
|
4453
|
-
hander.doc.appendChild(node);
|
|
4454
|
-
} else {
|
|
4455
|
-
hander.currentElement.appendChild(node);
|
|
4456
|
-
}
|
|
4457
|
-
}
|
|
4458
|
-
domParser.__DOMHandler = DOMHandler;
|
|
4459
|
-
domParser.normalizeLineEndings = normalizeLineEndings;
|
|
4460
|
-
domParser.DOMParser = DOMParser$1;
|
|
4461
|
-
var DOMParser = domParser.DOMParser;
|
|
4462
|
-
const index = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4463
|
-
__proto__: null,
|
|
4464
|
-
DOMParser
|
|
4465
|
-
}, Symbol.toStringTag, { value: "Module" }));
|
|
4466
|
-
exports.i = index;
|