@nika-js/onlymap 0.12.0 → 0.13.0

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