@streamlayer/react-ui 1.28.2 → 1.29.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 (39) hide show
  1. package/lib/app/app/Layout/styles.d.ts +1 -0
  2. package/lib/app/app/Layout/styles.js +33 -24
  3. package/lib/app/webos/Advertisement/AdvertisementUI.d.ts +0 -1
  4. package/lib/app/webos/Advertisement/AdvertisementUI.js +13 -15
  5. package/lib/app/webos/Advertisement/index.js +10 -11
  6. package/lib/app/webos/ExposedPauseAd/PauseAd.d.ts +2 -0
  7. package/lib/app/webos/ExposedPauseAd/PauseAd.js +92 -70
  8. package/lib/app/webos/ExposedPauseAd/styles.d.ts +1 -1
  9. package/lib/app/webos/ExposedPauseAd/styles.js +5 -5
  10. package/lib/app/webos/index.d.ts +4 -0
  11. package/lib/app/webos/index.js +38 -36
  12. package/lib/app/webos/story.js +47 -36
  13. package/lib/app/webos/ui/Sidebar/PromoAction.js +38 -34
  14. package/lib/app/webos/ui/Sidebar/index.d.ts +0 -1
  15. package/lib/app/webos/ui/Sidebar/index.js +70 -71
  16. package/lib/app/webos/ui/Sidebar/styles.d.ts +1 -0
  17. package/lib/app/webos/ui/Sidebar/styles.js +120 -115
  18. package/lib/app/webos/ui/insight/index.js +43 -77
  19. package/lib/assets/style.css +1 -1
  20. package/lib/{index-DXvAPWiE.js → index-l-eyvmpL.js} +296 -281
  21. package/lib/ui/advertisement/notification/index.js +24 -24
  22. package/lib/ui/advertisement/notification/lower-third/index.js +48 -40
  23. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMPlayer.js +8 -7
  24. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.d.ts +9 -0
  25. package/lib/ui/advertisement/overlay/externalAd/vast-player/useGAMStatic.js +44 -0
  26. package/lib/ui/advertisement/overlay/externalAd/vast-player/useVastAds.js +240 -6
  27. package/lib/ui/gamification/question/inapp/notification/AdNotification/index.js +62 -52
  28. package/lib/ui/video-player/index.d.ts +1 -0
  29. package/lib/ui/video-player/index.js +138 -125
  30. package/lib/ui/video-player/styles.d.ts +1 -0
  31. package/lib/ui/video-player/styles.js +32 -27
  32. package/lib/{useVastAds-CakWRNKN.js → vast-client.min-B0NUra1B.js} +358 -594
  33. package/package.json +17 -17
  34. package/lib/app/webos/ui/Layout/index.d.ts +0 -21
  35. package/lib/app/webos/ui/Layout/index.js +0 -78
  36. package/lib/app/webos/ui/Layout/styles.d.ts +0 -11
  37. package/lib/app/webos/ui/Layout/styles.js +0 -59
  38. package/lib/hooks/useKeyboardNavigation.d.ts +0 -15
  39. package/lib/hooks/useKeyboardNavigation.js +0 -74
@@ -1,5 +1,5 @@
1
1
  var M = {}, k = {};
2
- function Fe(u, e, r) {
2
+ function xe(u, e, r) {
3
3
  if (r === void 0 && (r = Array.prototype), u && typeof r.find == "function")
4
4
  return r.find.call(u, e);
5
5
  for (var t = 0; t < u.length; t++)
@@ -9,17 +9,17 @@ function Fe(u, e, r) {
9
9
  return n;
10
10
  }
11
11
  }
12
- function bu(u, e) {
12
+ function wu(u, e) {
13
13
  return e === void 0 && (e = Object), e && typeof e.freeze == "function" ? e.freeze(u) : u;
14
14
  }
15
- function xe(u, e) {
15
+ function Se(u, e) {
16
16
  if (u === null || typeof u != "object")
17
17
  throw new TypeError("target is not an object");
18
18
  for (var r in e)
19
19
  Object.prototype.hasOwnProperty.call(e, r) && (u[r] = e[r]);
20
20
  return u;
21
21
  }
22
- var Zu = bu({
22
+ var Ju = wu({
23
23
  /**
24
24
  * `text/html`, the only mime type that triggers treating an XML document as HTML.
25
25
  *
@@ -41,7 +41,7 @@ var Zu = bu({
41
41
  * @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString MDN
42
42
  * @see https://html.spec.whatwg.org/multipage/dynamic-markup-insertion.html#dom-domparser-parsefromstring */
43
43
  isHTML: function(u) {
44
- return u === Zu.HTML;
44
+ return u === Ju.HTML;
45
45
  },
46
46
  /**
47
47
  * `application/xml`, the standard mime type for XML documents.
@@ -76,7 +76,7 @@ var Zu = bu({
76
76
  * @see https://en.wikipedia.org/wiki/Scalable_Vector_Graphics Wikipedia
77
77
  */
78
78
  XML_SVG_IMAGE: "image/svg+xml"
79
- }), Ju = bu({
79
+ }), Wu = wu({
80
80
  /**
81
81
  * The XHTML namespace.
82
82
  *
@@ -91,7 +91,7 @@ var Zu = bu({
91
91
  * @see NAMESPACE.HTML
92
92
  */
93
93
  isHTML: function(u) {
94
- return u === Ju.HTML;
94
+ return u === Wu.HTML;
95
95
  },
96
96
  /**
97
97
  * The SVG namespace.
@@ -112,32 +112,32 @@ var Zu = bu({
112
112
  */
113
113
  XMLNS: "http://www.w3.org/2000/xmlns/"
114
114
  });
115
- k.assign = xe;
116
- k.find = Fe;
117
- k.freeze = bu;
118
- k.MIME_TYPE = Zu;
119
- k.NAMESPACE = Ju;
120
- var Wu = k, O = Wu.find, K = Wu.NAMESPACE;
121
- function Se(u) {
115
+ k.assign = Se;
116
+ k.find = xe;
117
+ k.freeze = wu;
118
+ k.MIME_TYPE = Ju;
119
+ k.NAMESPACE = Wu;
120
+ var Ku = k, O = Ku.find, K = Ku.NAMESPACE;
121
+ function qe(u) {
122
122
  return u !== "";
123
123
  }
124
- function qe(u) {
125
- return u ? u.split(/[\t\n\f\r ]+/).filter(Se) : [];
124
+ function Oe(u) {
125
+ return u ? u.split(/[\t\n\f\r ]+/).filter(qe) : [];
126
126
  }
127
- function Oe(u, e) {
127
+ function Re(u, e) {
128
128
  return u.hasOwnProperty(e) || (u[e] = !0), u;
129
129
  }
130
- function Iu(u) {
130
+ function ku(u) {
131
131
  if (!u) return [];
132
- var e = qe(u);
133
- return Object.keys(e.reduce(Oe, {}));
132
+ var e = Oe(u);
133
+ return Object.keys(e.reduce(Re, {}));
134
134
  }
135
- function Re(u) {
135
+ function _e(u) {
136
136
  return function(e) {
137
137
  return u && u.indexOf(e) !== -1;
138
138
  };
139
139
  }
140
- function ru(u, e) {
140
+ function tu(u, e) {
141
141
  for (var r in u)
142
142
  Object.prototype.hasOwnProperty.call(u, r) && (e[r] = u[r]);
143
143
  }
@@ -146,11 +146,11 @@ function y(u, e) {
146
146
  if (!(r instanceof e)) {
147
147
  let t = function() {
148
148
  };
149
- t.prototype = e.prototype, t = new t(), ru(r, t), u.prototype = r = t;
149
+ t.prototype = e.prototype, t = new t(), tu(r, t), u.prototype = r = t;
150
150
  }
151
151
  r.constructor != u && (typeof u != "function" && console.error("unknown Class:" + u), r.constructor = u);
152
152
  }
153
- var T = {}, q = T.ELEMENT_NODE = 1, $ = T.ATTRIBUTE_NODE = 2, su = T.TEXT_NODE = 3, Ku = T.CDATA_SECTION_NODE = 4, ue = T.ENTITY_REFERENCE_NODE = 5, _e = T.ENTITY_NODE = 6, ee = T.PROCESSING_INSTRUCTION_NODE = 7, re = T.COMMENT_NODE = 8, te = T.DOCUMENT_NODE = 9, ne = T.DOCUMENT_TYPE_NODE = 10, L = T.DOCUMENT_FRAGMENT_NODE = 11, Le = T.NOTATION_NODE = 12, b = {}, v = {};
153
+ var T = {}, q = T.ELEMENT_NODE = 1, $ = T.ATTRIBUTE_NODE = 2, lu = T.TEXT_NODE = 3, ue = T.CDATA_SECTION_NODE = 4, ee = T.ENTITY_REFERENCE_NODE = 5, Le = T.ENTITY_NODE = 6, re = T.PROCESSING_INSTRUCTION_NODE = 7, te = T.COMMENT_NODE = 8, ne = T.DOCUMENT_NODE = 9, ae = T.DOCUMENT_TYPE_NODE = 10, L = T.DOCUMENT_FRAGMENT_NODE = 11, Ie = T.NOTATION_NODE = 12, b = {}, v = {};
154
154
  b.INDEX_SIZE_ERR = (v[1] = "Index size error", 1);
155
155
  b.DOMSTRING_SIZE_ERR = (v[2] = "DOMString size error", 2);
156
156
  var N = b.HIERARCHY_REQUEST_ERR = (v[3] = "Hierarchy request error", 3);
@@ -158,9 +158,9 @@ b.WRONG_DOCUMENT_ERR = (v[4] = "Wrong document", 4);
158
158
  b.INVALID_CHARACTER_ERR = (v[5] = "Invalid character", 5);
159
159
  b.NO_DATA_ALLOWED_ERR = (v[6] = "No data allowed", 6);
160
160
  b.NO_MODIFICATION_ALLOWED_ERR = (v[7] = "No modification allowed", 7);
161
- var ae = b.NOT_FOUND_ERR = (v[8] = "Not found", 8);
161
+ var ie = b.NOT_FOUND_ERR = (v[8] = "Not found", 8);
162
162
  b.NOT_SUPPORTED_ERR = (v[9] = "Not supported", 9);
163
- var ku = b.INUSE_ATTRIBUTE_ERR = (v[10] = "Attribute in use", 10);
163
+ var Uu = b.INUSE_ATTRIBUTE_ERR = (v[10] = "Attribute in use", 10);
164
164
  b.INVALID_STATE_ERR = (v[11] = "Invalid state", 11);
165
165
  b.SYNTAX_ERR = (v[12] = "Syntax error", 12);
166
166
  b.INVALID_MODIFICATION_ERR = (v[13] = "Invalid modification", 13);
@@ -174,7 +174,7 @@ function m(u, e) {
174
174
  return r.code = u, e && (this.message = this.message + ": " + e), r;
175
175
  }
176
176
  m.prototype = Error.prototype;
177
- ru(b, m);
177
+ tu(b, m);
178
178
  function _() {
179
179
  }
180
180
  _.prototype = {
@@ -217,49 +217,49 @@ _.prototype = {
217
217
  }
218
218
  };
219
219
  function X(u, e) {
220
- this._node = u, this._refresh = e, wu(this);
220
+ this._node = u, this._refresh = e, Bu(this);
221
221
  }
222
- function wu(u) {
222
+ function Bu(u) {
223
223
  var e = u._node._inc || u._node.ownerDocument._inc;
224
224
  if (u._inc !== e) {
225
225
  var r = u._refresh(u._node);
226
- if (Ee(u, "length", r.length), !u.$$length || r.length < u.$$length)
226
+ if (ge(u, "length", r.length), !u.$$length || r.length < u.$$length)
227
227
  for (var t = r.length; t in u; t++)
228
228
  Object.prototype.hasOwnProperty.call(u, t) && delete u[t];
229
- ru(r, u), u._inc = e;
229
+ tu(r, u), u._inc = e;
230
230
  }
231
231
  }
232
232
  X.prototype.item = function(u) {
233
- return wu(this), this[u] || null;
233
+ return Bu(this), this[u] || null;
234
234
  };
235
235
  y(X, _);
236
- function lu() {
236
+ function cu() {
237
237
  }
238
- function ie(u, e) {
238
+ function oe(u, e) {
239
239
  for (var r = u.length; r--; )
240
240
  if (u[r] === e)
241
241
  return r;
242
242
  }
243
- function Uu(u, e, r, t) {
244
- if (t ? e[ie(e, t)] = r : e[e.length++] = r, u) {
243
+ function Mu(u, e, r, t) {
244
+ if (t ? e[oe(e, t)] = r : e[e.length++] = r, u) {
245
245
  r.ownerElement = u;
246
246
  var n = u.ownerDocument;
247
- n && (t && le(n, u, t), Ie(n, u, r));
247
+ n && (t && ce(n, u, t), ke(n, u, r));
248
248
  }
249
249
  }
250
- function Mu(u, e, r) {
251
- var t = ie(e, r);
250
+ function Pu(u, e, r) {
251
+ var t = oe(e, r);
252
252
  if (t >= 0) {
253
253
  for (var n = e.length - 1; t < n; )
254
254
  e[t] = e[++t];
255
255
  if (e.length = n, u) {
256
256
  var a = u.ownerDocument;
257
- a && (le(a, u, r), r.ownerElement = null);
257
+ a && (ce(a, u, r), r.ownerElement = null);
258
258
  }
259
259
  } else
260
- throw new m(ae, new Error(u.tagName + "@" + r));
260
+ throw new m(ie, new Error(u.tagName + "@" + r));
261
261
  }
262
- lu.prototype = {
262
+ cu.prototype = {
263
263
  length: 0,
264
264
  item: _.prototype.item,
265
265
  getNamedItem: function(u) {
@@ -272,27 +272,27 @@ lu.prototype = {
272
272
  setNamedItem: function(u) {
273
273
  var e = u.ownerElement;
274
274
  if (e && e != this._ownerElement)
275
- throw new m(ku);
275
+ throw new m(Uu);
276
276
  var r = this.getNamedItem(u.nodeName);
277
- return Uu(this._ownerElement, this, u, r), r;
277
+ return Mu(this._ownerElement, this, u, r), r;
278
278
  },
279
279
  /* returns Node */
280
280
  setNamedItemNS: function(u) {
281
281
  var e = u.ownerElement, r;
282
282
  if (e && e != this._ownerElement)
283
- throw new m(ku);
284
- return r = this.getNamedItemNS(u.namespaceURI, u.localName), Uu(this._ownerElement, this, u, r), r;
283
+ throw new m(Uu);
284
+ return r = this.getNamedItemNS(u.namespaceURI, u.localName), Mu(this._ownerElement, this, u, r), r;
285
285
  },
286
286
  /* returns Node */
287
287
  removeNamedItem: function(u) {
288
288
  var e = this.getNamedItem(u);
289
- return Mu(this._ownerElement, this, e), e;
289
+ return Pu(this._ownerElement, this, e), e;
290
290
  },
291
291
  // raises: NOT_FOUND_ERR,NO_MODIFICATION_ALLOWED_ERR
292
292
  //for level2
293
293
  removeNamedItemNS: function(u, e) {
294
294
  var r = this.getNamedItemNS(u, e);
295
- return Mu(this._ownerElement, this, r), r;
295
+ return Pu(this._ownerElement, this, r), r;
296
296
  },
297
297
  getNamedItemNS: function(u, e) {
298
298
  for (var r = this.length; r--; ) {
@@ -303,9 +303,9 @@ lu.prototype = {
303
303
  return null;
304
304
  }
305
305
  };
306
- function oe() {
306
+ function se() {
307
307
  }
308
- oe.prototype = {
308
+ se.prototype = {
309
309
  /**
310
310
  * The DOMImplementation.hasFeature() method returns a Boolean flag indicating if a given feature is supported.
311
311
  * The different implementations fairly diverged in what kind of features were reported.
@@ -347,7 +347,7 @@ oe.prototype = {
347
347
  * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
348
348
  */
349
349
  createDocument: function(u, e, r) {
350
- var t = new tu();
350
+ var t = new nu();
351
351
  if (t.implementation = this, t.childNodes = new _(), t.doctype = r || null, r && t.appendChild(r), e) {
352
352
  var n = t.createElementNS(u, e);
353
353
  t.appendChild(n);
@@ -376,7 +376,7 @@ oe.prototype = {
376
376
  * @see https://www.w3.org/TR/xml-names/#ns-qualnames XML Namespaces: Qualified names
377
377
  */
378
378
  createDocumentType: function(u, e, r) {
379
- var t = new Du();
379
+ var t = new fu();
380
380
  return t.name = u, t.nodeName = u, t.publicId = e || "", t.systemId = r || "", t;
381
381
  }
382
382
  };
@@ -397,13 +397,13 @@ D.prototype = {
397
397
  localName: null,
398
398
  // Modified in DOM Level 2:
399
399
  insertBefore: function(u, e) {
400
- return cu(this, u, e);
400
+ return pu(this, u, e);
401
401
  },
402
402
  replaceChild: function(u, e) {
403
- cu(this, u, e, pe), e && this.removeChild(e);
403
+ pu(this, u, e, De), e && this.removeChild(e);
404
404
  },
405
405
  removeChild: function(u) {
406
- return ce(this, u);
406
+ return pe(this, u);
407
407
  },
408
408
  appendChild: function(u) {
409
409
  return this.insertBefore(u, null);
@@ -412,13 +412,13 @@ D.prototype = {
412
412
  return this.firstChild != null;
413
413
  },
414
414
  cloneNode: function(u) {
415
- return gu(this.ownerDocument || this, this, u);
415
+ return Cu(this.ownerDocument || this, this, u);
416
416
  },
417
417
  // Modified in DOM Level 2:
418
418
  normalize: function() {
419
419
  for (var u = this.firstChild; u; ) {
420
420
  var e = u.nextSibling;
421
- e && e.nodeType == su && u.nodeType == su ? (this.removeChild(e), u.appendData(e.data)) : (u.normalize(), u = e);
421
+ e && e.nodeType == lu && u.nodeType == lu ? (this.removeChild(e), u.appendData(e.data)) : (u.normalize(), u = e);
422
422
  }
423
423
  },
424
424
  // Introduced in DOM Level 2:
@@ -471,11 +471,11 @@ D.prototype = {
471
471
  return e == null;
472
472
  }
473
473
  };
474
- function se(u) {
474
+ function le(u) {
475
475
  return u == "<" && "&lt;" || u == ">" && "&gt;" || u == "&" && "&amp;" || u == '"' && "&quot;" || "&#" + u.charCodeAt() + ";";
476
476
  }
477
- ru(T, D);
478
- ru(T, D.prototype);
477
+ tu(T, D);
478
+ tu(T, D.prototype);
479
479
  function uu(u, e) {
480
480
  if (e(u))
481
481
  return !0;
@@ -485,20 +485,20 @@ function uu(u, e) {
485
485
  return !0;
486
486
  while (u = u.nextSibling);
487
487
  }
488
- function tu() {
488
+ function nu() {
489
489
  this.ownerDocument = this;
490
490
  }
491
- function Ie(u, e, r) {
491
+ function ke(u, e, r) {
492
492
  u && u._inc++;
493
493
  var t = r.namespaceURI;
494
494
  t === K.XMLNS && (e._nsMap[r.prefix ? r.localName : ""] = r.value);
495
495
  }
496
- function le(u, e, r, t) {
496
+ function ce(u, e, r, t) {
497
497
  u && u._inc++;
498
498
  var n = r.namespaceURI;
499
499
  n === K.XMLNS && delete e._nsMap[r.prefix ? r.localName : ""];
500
500
  }
501
- function Bu(u, e, r) {
501
+ function Nu(u, e, r) {
502
502
  if (u && u._inc) {
503
503
  u._inc++;
504
504
  var t = e.childNodes;
@@ -511,15 +511,15 @@ function Bu(u, e, r) {
511
511
  }
512
512
  }
513
513
  }
514
- function ce(u, e) {
514
+ function pe(u, e) {
515
515
  var r = e.previousSibling, t = e.nextSibling;
516
- return r ? r.nextSibling = t : u.firstChild = t, t ? t.previousSibling = r : u.lastChild = r, e.parentNode = null, e.previousSibling = null, e.nextSibling = null, Bu(u.ownerDocument, u), e;
516
+ return r ? r.nextSibling = t : u.firstChild = t, t ? t.previousSibling = r : u.lastChild = r, e.parentNode = null, e.previousSibling = null, e.nextSibling = null, Nu(u.ownerDocument, u), e;
517
517
  }
518
- function ke(u) {
518
+ function Ue(u) {
519
519
  return u && (u.nodeType === D.DOCUMENT_NODE || u.nodeType === D.DOCUMENT_FRAGMENT_NODE || u.nodeType === D.ELEMENT_NODE);
520
520
  }
521
- function Ue(u) {
522
- return u && (R(u) || Nu(u) || I(u) || u.nodeType === D.DOCUMENT_FRAGMENT_NODE || u.nodeType === D.COMMENT_NODE || u.nodeType === D.PROCESSING_INSTRUCTION_NODE);
521
+ function Me(u) {
522
+ return u && (R(u) || yu(u) || I(u) || u.nodeType === D.DOCUMENT_FRAGMENT_NODE || u.nodeType === D.COMMENT_NODE || u.nodeType === D.PROCESSING_INSTRUCTION_NODE);
523
523
  }
524
524
  function I(u) {
525
525
  return u && u.nodeType === D.DOCUMENT_TYPE_NODE;
@@ -527,17 +527,17 @@ function I(u) {
527
527
  function R(u) {
528
528
  return u && u.nodeType === D.ELEMENT_NODE;
529
529
  }
530
- function Nu(u) {
530
+ function yu(u) {
531
531
  return u && u.nodeType === D.TEXT_NODE;
532
532
  }
533
- function Pu(u, e) {
533
+ function Vu(u, e) {
534
534
  var r = u.childNodes || [];
535
535
  if (O(r, R) || I(e))
536
536
  return !1;
537
537
  var t = O(r, I);
538
538
  return !(e && t && r.indexOf(t) > r.indexOf(e));
539
539
  }
540
- function Vu(u, e) {
540
+ function Gu(u, e) {
541
541
  var r = u.childNodes || [];
542
542
  function t(a) {
543
543
  return R(a) && a !== e;
@@ -547,14 +547,14 @@ function Vu(u, e) {
547
547
  var n = O(r, I);
548
548
  return !(e && n && r.indexOf(n) > r.indexOf(e));
549
549
  }
550
- function Me(u, e, r) {
551
- if (!ke(u))
550
+ function Pe(u, e, r) {
551
+ if (!Ue(u))
552
552
  throw new m(N, "Unexpected parent node type " + u.nodeType);
553
553
  if (r && r.parentNode !== u)
554
- throw new m(ae, "child not in parent");
554
+ throw new m(ie, "child not in parent");
555
555
  if (
556
556
  // 4. If `node` is not a DocumentFragment, DocumentType, Element, or CharacterData node, then throw a "HierarchyRequestError" DOMException.
557
- !Ue(e) || // 5. If either `node` is a Text node and `parent` is a document,
557
+ !Me(e) || // 5. If either `node` is a Text node and `parent` is a document,
558
558
  // the sax parser currently adds top level text nodes, this will be fixed in 0.9.0
559
559
  // || (node.nodeType === Node.TEXT_NODE && parent.nodeType === Node.DOCUMENT_NODE)
560
560
  // or `node` is a doctype and `parent` is not a document, then throw a "HierarchyRequestError" DOMException.
@@ -565,16 +565,16 @@ function Me(u, e, r) {
565
565
  "Unexpected node type " + e.nodeType + " for parent node type " + u.nodeType
566
566
  );
567
567
  }
568
- function Pe(u, e, r) {
568
+ function Ve(u, e, r) {
569
569
  var t = u.childNodes || [], n = e.childNodes || [];
570
570
  if (e.nodeType === D.DOCUMENT_FRAGMENT_NODE) {
571
571
  var a = n.filter(R);
572
- if (a.length > 1 || O(n, Nu))
572
+ if (a.length > 1 || O(n, yu))
573
573
  throw new m(N, "More than one element or text in fragment");
574
- if (a.length === 1 && !Pu(u, r))
574
+ if (a.length === 1 && !Vu(u, r))
575
575
  throw new m(N, "Element in fragment can not be inserted before doctype");
576
576
  }
577
- if (R(e) && !Pu(u, r))
577
+ if (R(e) && !Vu(u, r))
578
578
  throw new m(N, "Only one element can be added and only after doctype");
579
579
  if (I(e)) {
580
580
  if (O(t, I))
@@ -586,16 +586,16 @@ function Pe(u, e, r) {
586
586
  throw new m(N, "Doctype can not be appended since element is present");
587
587
  }
588
588
  }
589
- function pe(u, e, r) {
589
+ function De(u, e, r) {
590
590
  var t = u.childNodes || [], n = e.childNodes || [];
591
591
  if (e.nodeType === D.DOCUMENT_FRAGMENT_NODE) {
592
592
  var a = n.filter(R);
593
- if (a.length > 1 || O(n, Nu))
593
+ if (a.length > 1 || O(n, yu))
594
594
  throw new m(N, "More than one element or text in fragment");
595
- if (a.length === 1 && !Vu(u, r))
595
+ if (a.length === 1 && !Gu(u, r))
596
596
  throw new m(N, "Element in fragment can not be inserted before doctype");
597
597
  }
598
- if (R(e) && !Vu(u, r))
598
+ if (R(e) && !Gu(u, r))
599
599
  throw new m(N, "Only one element can be added and only after doctype");
600
600
  if (I(e)) {
601
601
  if (O(t, function(o) {
@@ -607,8 +607,8 @@ function pe(u, e, r) {
607
607
  throw new m(N, "Doctype can only be inserted before an element");
608
608
  }
609
609
  }
610
- function cu(u, e, r, t) {
611
- Me(u, e, r), u.nodeType === D.DOCUMENT_NODE && (t || Pe)(u, e, r);
610
+ function pu(u, e, r, t) {
611
+ Pe(u, e, r), u.nodeType === D.DOCUMENT_NODE && (t || Ve)(u, e, r);
612
612
  var n = e.parentNode;
613
613
  if (n && n.removeChild(e), e.nodeType === L) {
614
614
  var a = e.firstChild;
@@ -619,18 +619,33 @@ function cu(u, e, r, t) {
619
619
  a = i = e;
620
620
  var s = r ? r.previousSibling : u.lastChild;
621
621
  a.previousSibling = s, i.nextSibling = r, s ? s.nextSibling = a : u.firstChild = a, r == null ? u.lastChild = i : r.previousSibling = i;
622
- do
622
+ do {
623
623
  a.parentNode = u;
624
- while (a !== i && (a = a.nextSibling));
625
- return Bu(u.ownerDocument || u, u), e.nodeType == L && (e.firstChild = e.lastChild = null), e;
624
+ var o = u.ownerDocument || u;
625
+ eu(a, o);
626
+ } while (a !== i && (a = a.nextSibling));
627
+ return Nu(u.ownerDocument || u, u), e.nodeType == L && (e.firstChild = e.lastChild = null), e;
628
+ }
629
+ function eu(u, e) {
630
+ if (u.ownerDocument !== e) {
631
+ if (u.ownerDocument = e, u.nodeType === q && u.attributes)
632
+ for (var r = 0; r < u.attributes.length; r++) {
633
+ var t = u.attributes.item(r);
634
+ t && (t.ownerDocument = e);
635
+ }
636
+ for (var n = u.firstChild; n; )
637
+ eu(n, e), n = n.nextSibling;
638
+ }
626
639
  }
627
- function Ve(u, e) {
628
- return e.parentNode && e.parentNode.removeChild(e), e.parentNode = u, e.previousSibling = u.lastChild, e.nextSibling = null, e.previousSibling ? e.previousSibling.nextSibling = e : u.firstChild = e, u.lastChild = e, Bu(u.ownerDocument, u, e), e;
640
+ function Ge(u, e) {
641
+ e.parentNode && e.parentNode.removeChild(e), e.parentNode = u, e.previousSibling = u.lastChild, e.nextSibling = null, e.previousSibling ? e.previousSibling.nextSibling = e : u.firstChild = e, u.lastChild = e, Nu(u.ownerDocument, u, e);
642
+ var r = u.ownerDocument || u;
643
+ return eu(e, r), e;
629
644
  }
630
- tu.prototype = {
645
+ nu.prototype = {
631
646
  //implementation : null,
632
647
  nodeName: "#document",
633
- nodeType: te,
648
+ nodeType: ne,
634
649
  /**
635
650
  * The DocumentType node of the document.
636
651
  *
@@ -648,17 +663,17 @@ tu.prototype = {
648
663
  }
649
664
  return u;
650
665
  }
651
- return cu(this, u, e), u.ownerDocument = this, this.documentElement === null && u.nodeType === q && (this.documentElement = u), u;
666
+ return pu(this, u, e), eu(u, this), this.documentElement === null && u.nodeType === q && (this.documentElement = u), u;
652
667
  },
653
668
  removeChild: function(u) {
654
- return this.documentElement == u && (this.documentElement = null), ce(this, u);
669
+ return this.documentElement == u && (this.documentElement = null), pe(this, u);
655
670
  },
656
671
  replaceChild: function(u, e) {
657
- cu(this, u, e, pe), u.ownerDocument = this, e && this.removeChild(e), R(u) && (this.documentElement = u);
672
+ pu(this, u, e, De), eu(u, this), e && this.removeChild(e), R(u) && (this.documentElement = u);
658
673
  },
659
674
  // Introduced in DOM Level 2:
660
675
  importNode: function(u, e) {
661
- return me(this, u, e);
676
+ return Ee(this, u, e);
662
677
  },
663
678
  // Introduced in DOM Level 2:
664
679
  getElementById: function(u) {
@@ -686,7 +701,7 @@ tu.prototype = {
686
701
  * @see https://dom.spec.whatwg.org/#concept-getelementsbyclassname
687
702
  */
688
703
  getElementsByClassName: function(u) {
689
- var e = Iu(u);
704
+ var e = ku(u);
690
705
  return new X(this, function(r) {
691
706
  var t = [];
692
707
  return e.length > 0 && uu(r.documentElement, function(n) {
@@ -695,8 +710,8 @@ tu.prototype = {
695
710
  if (a) {
696
711
  var i = u === a;
697
712
  if (!i) {
698
- var s = Iu(a);
699
- i = e.every(Re(s));
713
+ var s = ku(a);
714
+ i = e.every(_e(s));
700
715
  }
701
716
  i && t.push(n);
702
717
  }
@@ -708,49 +723,49 @@ tu.prototype = {
708
723
  createElement: function(u) {
709
724
  var e = new P();
710
725
  e.ownerDocument = this, e.nodeName = u, e.tagName = u, e.localName = u, e.childNodes = new _();
711
- var r = e.attributes = new lu();
726
+ var r = e.attributes = new cu();
712
727
  return r._ownerElement = e, e;
713
728
  },
714
729
  createDocumentFragment: function() {
715
- var u = new fu();
730
+ var u = new Au();
716
731
  return u.ownerDocument = this, u.childNodes = new _(), u;
717
732
  },
718
733
  createTextNode: function(u) {
719
- var e = new yu();
734
+ var e = new Tu();
720
735
  return e.ownerDocument = this, e.appendData(u), e;
721
736
  },
722
737
  createComment: function(u) {
723
- var e = new Tu();
738
+ var e = new Fu();
724
739
  return e.ownerDocument = this, e.appendData(u), e;
725
740
  },
726
741
  createCDATASection: function(u) {
727
- var e = new Fu();
742
+ var e = new xu();
728
743
  return e.ownerDocument = this, e.appendData(u), e;
729
744
  },
730
745
  createProcessingInstruction: function(u, e) {
731
- var r = new Su();
746
+ var r = new qu();
732
747
  return r.ownerDocument = this, r.tagName = r.nodeName = r.target = u, r.nodeValue = r.data = e, r;
733
748
  },
734
749
  createAttribute: function(u) {
735
- var e = new pu();
750
+ var e = new Du();
736
751
  return e.ownerDocument = this, e.name = u, e.nodeName = u, e.localName = u, e.specified = !0, e;
737
752
  },
738
753
  createEntityReference: function(u) {
739
- var e = new xu();
754
+ var e = new Su();
740
755
  return e.ownerDocument = this, e.nodeName = u, e;
741
756
  },
742
757
  // Introduced in DOM Level 2:
743
758
  createElementNS: function(u, e) {
744
- var r = new P(), t = e.split(":"), n = r.attributes = new lu();
759
+ var r = new P(), t = e.split(":"), n = r.attributes = new cu();
745
760
  return r.childNodes = new _(), r.ownerDocument = this, r.nodeName = e, r.tagName = e, r.namespaceURI = u, t.length == 2 ? (r.prefix = t[0], r.localName = t[1]) : r.localName = e, n._ownerElement = r, r;
746
761
  },
747
762
  // Introduced in DOM Level 2:
748
763
  createAttributeNS: function(u, e) {
749
- var r = new pu(), t = e.split(":");
764
+ var r = new Du(), t = e.split(":");
750
765
  return r.ownerDocument = this, r.nodeName = e, r.name = e, r.namespaceURI = u, r.specified = !0, t.length == 2 ? (r.prefix = t[0], r.localName = t[1]) : r.localName = e, r;
751
766
  }
752
767
  };
753
- y(tu, D);
768
+ y(nu, D);
754
769
  function P() {
755
770
  this._nsMap = {};
756
771
  }
@@ -776,7 +791,7 @@ P.prototype = {
776
791
  },
777
792
  //four real opeartion method
778
793
  appendChild: function(u) {
779
- return u.nodeType === L ? this.insertBefore(u, null) : Ve(this, u);
794
+ return u.nodeType === L ? this.insertBefore(u, null) : Ge(this, u);
780
795
  },
781
796
  setAttributeNode: function(u) {
782
797
  return this.attributes.setNamedItem(u);
@@ -823,16 +838,16 @@ P.prototype = {
823
838
  });
824
839
  }
825
840
  };
826
- tu.prototype.getElementsByTagName = P.prototype.getElementsByTagName;
827
- tu.prototype.getElementsByTagNameNS = P.prototype.getElementsByTagNameNS;
841
+ nu.prototype.getElementsByTagName = P.prototype.getElementsByTagName;
842
+ nu.prototype.getElementsByTagNameNS = P.prototype.getElementsByTagNameNS;
828
843
  y(P, D);
829
- function pu() {
844
+ function Du() {
830
845
  }
831
- pu.prototype.nodeType = $;
832
- y(pu, D);
833
- function nu() {
846
+ Du.prototype.nodeType = $;
847
+ y(Du, D);
848
+ function au() {
834
849
  }
835
- nu.prototype = {
850
+ au.prototype = {
836
851
  data: "",
837
852
  substringData: function(u, e) {
838
853
  return this.data.substring(u, u + e);
@@ -854,12 +869,12 @@ nu.prototype = {
854
869
  r = t + r + n, this.nodeValue = this.data = r, this.length = r.length;
855
870
  }
856
871
  };
857
- y(nu, D);
858
- function yu() {
872
+ y(au, D);
873
+ function Tu() {
859
874
  }
860
- yu.prototype = {
875
+ Tu.prototype = {
861
876
  nodeName: "#text",
862
- nodeType: su,
877
+ nodeType: lu,
863
878
  splitText: function(u) {
864
879
  var e = this.data, r = e.substring(u);
865
880
  e = e.substring(0, u), this.data = this.nodeValue = e, this.length = e.length;
@@ -867,53 +882,53 @@ yu.prototype = {
867
882
  return this.parentNode && this.parentNode.insertBefore(t, this.nextSibling), t;
868
883
  }
869
884
  };
870
- y(yu, nu);
871
- function Tu() {
885
+ y(Tu, au);
886
+ function Fu() {
872
887
  }
873
- Tu.prototype = {
888
+ Fu.prototype = {
874
889
  nodeName: "#comment",
875
- nodeType: re
890
+ nodeType: te
876
891
  };
877
- y(Tu, nu);
878
- function Fu() {
892
+ y(Fu, au);
893
+ function xu() {
879
894
  }
880
- Fu.prototype = {
895
+ xu.prototype = {
881
896
  nodeName: "#cdata-section",
882
- nodeType: Ku
897
+ nodeType: ue
883
898
  };
884
- y(Fu, nu);
885
- function Du() {
886
- }
887
- Du.prototype.nodeType = ne;
888
- y(Du, D);
889
- function De() {
899
+ y(xu, au);
900
+ function fu() {
890
901
  }
891
- De.prototype.nodeType = Le;
892
- y(De, D);
902
+ fu.prototype.nodeType = ae;
903
+ y(fu, D);
893
904
  function fe() {
894
905
  }
895
- fe.prototype.nodeType = _e;
906
+ fe.prototype.nodeType = Ie;
896
907
  y(fe, D);
897
- function xu() {
898
- }
899
- xu.prototype.nodeType = ue;
900
- y(xu, D);
901
- function fu() {
908
+ function Ae() {
902
909
  }
903
- fu.prototype.nodeName = "#document-fragment";
904
- fu.prototype.nodeType = L;
905
- y(fu, D);
910
+ Ae.prototype.nodeType = Le;
911
+ y(Ae, D);
906
912
  function Su() {
907
913
  }
908
914
  Su.prototype.nodeType = ee;
909
915
  y(Su, D);
910
- function Ae() {
916
+ function Au() {
917
+ }
918
+ Au.prototype.nodeName = "#document-fragment";
919
+ Au.prototype.nodeType = L;
920
+ y(Au, D);
921
+ function qu() {
922
+ }
923
+ qu.prototype.nodeType = re;
924
+ y(qu, D);
925
+ function he() {
911
926
  }
912
- Ae.prototype.serializeToString = function(u, e, r) {
913
- return he.call(u, e, r);
927
+ he.prototype.serializeToString = function(u, e, r) {
928
+ return me.call(u, e, r);
914
929
  };
915
- D.prototype.toString = he;
916
- function he(u, e) {
930
+ D.prototype.toString = me;
931
+ function me(u, e) {
917
932
  var r = [], t = this.nodeType == 9 && this.documentElement || this, n = t.prefix, a = t.namespaceURI;
918
933
  if (a && n == null) {
919
934
  var n = t.lookupPrefix(a);
@@ -925,7 +940,7 @@ function he(u, e) {
925
940
  }
926
941
  return j(this, r, u, e, i), r.join("");
927
942
  }
928
- function Gu(u, e, r) {
943
+ function zu(u, e, r) {
929
944
  var t = u.prefix || "", n = u.namespaceURI;
930
945
  if (!n || t === "xml" && n === K.XML || n === K.XMLNS)
931
946
  return !1;
@@ -937,7 +952,7 @@ function Gu(u, e, r) {
937
952
  return !0;
938
953
  }
939
954
  function du(u, e, r) {
940
- u.push(" ", e, '="', r.replace(/[<>&"\t\n\r]/g, se), '"');
955
+ u.push(" ", e, '="', r.replace(/[<>&"\t\n\r]/g, le), '"');
941
956
  }
942
957
  function j(u, e, r, t, n) {
943
958
  if (n || (n = []), t)
@@ -950,7 +965,7 @@ function j(u, e, r, t, n) {
950
965
  return;
951
966
  switch (u.nodeType) {
952
967
  case q:
953
- var a = u.attributes, i = a.length, g = u.firstChild, s = u.tagName;
968
+ var a = u.attributes, i = a.length, d = u.firstChild, s = u.tagName;
954
969
  r = K.isHTML(u.namespaceURI) || r;
955
970
  var o = s;
956
971
  if (!r && !u.prefix && u.namespaceURI) {
@@ -977,49 +992,49 @@ function j(u, e, r, t, n) {
977
992
  }
978
993
  }
979
994
  e.push("<", o);
980
- for (var d = 0; d < i; d++) {
981
- var B = a.item(d);
995
+ for (var g = 0; g < i; g++) {
996
+ var B = a.item(g);
982
997
  B.prefix == "xmlns" ? n.push({ prefix: B.localName, namespace: B.value }) : B.nodeName == "xmlns" && n.push({ prefix: "", namespace: B.value });
983
998
  }
984
- for (var d = 0; d < i; d++) {
985
- var B = a.item(d);
986
- if (Gu(B, r, n)) {
999
+ for (var g = 0; g < i; g++) {
1000
+ var B = a.item(g);
1001
+ if (zu(B, r, n)) {
987
1002
  var E = B.prefix || "", A = B.namespaceURI;
988
1003
  du(e, E ? "xmlns:" + E : "xmlns", A), n.push({ prefix: E, namespace: A });
989
1004
  }
990
1005
  j(B, e, r, t, n);
991
1006
  }
992
- if (s === o && Gu(u, r, n)) {
1007
+ if (s === o && zu(u, r, n)) {
993
1008
  var E = u.prefix || "", A = u.namespaceURI;
994
1009
  du(e, E ? "xmlns:" + E : "xmlns", A), n.push({ prefix: E, namespace: A });
995
1010
  }
996
- if (g || r && !/^(?:meta|link|img|br|hr|input)$/i.test(s)) {
1011
+ if (d || r && !/^(?:meta|link|img|br|hr|input)$/i.test(s)) {
997
1012
  if (e.push(">"), r && /^script$/i.test(s))
998
- for (; g; )
999
- g.data ? e.push(g.data) : j(g, e, r, t, n.slice()), g = g.nextSibling;
1013
+ for (; d; )
1014
+ d.data ? e.push(d.data) : j(d, e, r, t, n.slice()), d = d.nextSibling;
1000
1015
  else
1001
- for (; g; )
1002
- j(g, e, r, t, n.slice()), g = g.nextSibling;
1016
+ for (; d; )
1017
+ j(d, e, r, t, n.slice()), d = d.nextSibling;
1003
1018
  e.push("</", o, ">");
1004
1019
  } else
1005
1020
  e.push("/>");
1006
1021
  return;
1007
- case te:
1022
+ case ne:
1008
1023
  case L:
1009
- for (var g = u.firstChild; g; )
1010
- j(g, e, r, t, n.slice()), g = g.nextSibling;
1024
+ for (var d = u.firstChild; d; )
1025
+ j(d, e, r, t, n.slice()), d = d.nextSibling;
1011
1026
  return;
1012
1027
  case $:
1013
1028
  return du(e, u.name, u.value);
1014
- case su:
1029
+ case lu:
1015
1030
  return e.push(
1016
- u.data.replace(/[<&>]/g, se)
1031
+ u.data.replace(/[<&>]/g, le)
1017
1032
  );
1018
- case Ku:
1033
+ case ue:
1019
1034
  return e.push("<![CDATA[", u.data, "]]>");
1020
- case re:
1035
+ case te:
1021
1036
  return e.push("<!--", u.data, "-->");
1022
- case ne:
1037
+ case ae:
1023
1038
  var Q = u.publicId, C = u.systemId;
1024
1039
  if (e.push("<!DOCTYPE ", u.name), Q)
1025
1040
  e.push(" PUBLIC ", Q), C && C != "." && e.push(" ", C), e.push(">");
@@ -1030,15 +1045,15 @@ function j(u, e, r, t, n) {
1030
1045
  x && e.push(" [", x, "]"), e.push(">");
1031
1046
  }
1032
1047
  return;
1033
- case ee:
1048
+ case re:
1034
1049
  return e.push("<?", u.target, " ", u.data, "?>");
1035
- case ue:
1050
+ case ee:
1036
1051
  return e.push("&", u.nodeName, ";");
1037
1052
  default:
1038
1053
  e.push("??", u.nodeName);
1039
1054
  }
1040
1055
  }
1041
- function me(u, e, r) {
1056
+ function Ee(u, e, r) {
1042
1057
  var t;
1043
1058
  switch (e.nodeType) {
1044
1059
  case q:
@@ -1051,10 +1066,10 @@ function me(u, e, r) {
1051
1066
  }
1052
1067
  if (t || (t = e.cloneNode(!1)), t.ownerDocument = u, t.parentNode = null, r)
1053
1068
  for (var n = e.firstChild; n; )
1054
- t.appendChild(me(u, n, r)), n = n.nextSibling;
1069
+ t.appendChild(Ee(u, n, r)), n = n.nextSibling;
1055
1070
  return t;
1056
1071
  }
1057
- function gu(u, e, r) {
1072
+ function Cu(u, e, r) {
1058
1073
  var t = new e.constructor();
1059
1074
  for (var n in e)
1060
1075
  if (Object.prototype.hasOwnProperty.call(e, n)) {
@@ -1063,20 +1078,20 @@ function gu(u, e, r) {
1063
1078
  }
1064
1079
  switch (e.childNodes && (t.childNodes = new _()), t.ownerDocument = u, t.nodeType) {
1065
1080
  case q:
1066
- var i = e.attributes, s = t.attributes = new lu(), o = i.length;
1081
+ var i = e.attributes, s = t.attributes = new cu(), o = i.length;
1067
1082
  s._ownerElement = t;
1068
1083
  for (var l = 0; l < o; l++)
1069
- t.setAttributeNode(gu(u, i.item(l), !0));
1084
+ t.setAttributeNode(Cu(u, i.item(l), !0));
1070
1085
  break;
1071
1086
  case $:
1072
1087
  r = !0;
1073
1088
  }
1074
1089
  if (r)
1075
1090
  for (var c = e.firstChild; c; )
1076
- t.appendChild(gu(u, c, r)), c = c.nextSibling;
1091
+ t.appendChild(Cu(u, c, r)), c = c.nextSibling;
1077
1092
  return t;
1078
1093
  }
1079
- function Ee(u, e, r) {
1094
+ function ge(u, e, r) {
1080
1095
  u[e] = r;
1081
1096
  }
1082
1097
  try {
@@ -1095,7 +1110,7 @@ try {
1095
1110
  };
1096
1111
  Object.defineProperty(X.prototype, "length", {
1097
1112
  get: function() {
1098
- return wu(this), this.$$length;
1113
+ return Bu(this), this.$$length;
1099
1114
  }
1100
1115
  }), Object.defineProperty(D.prototype, "textContent", {
1101
1116
  get: function() {
@@ -1113,20 +1128,20 @@ try {
1113
1128
  this.data = e, this.value = e, this.nodeValue = e;
1114
1129
  }
1115
1130
  }
1116
- }), Ee = function(e, r, t) {
1131
+ }), ge = function(e, r, t) {
1117
1132
  e["$$" + r] = t;
1118
1133
  };
1119
1134
  }
1120
1135
  } catch {
1121
1136
  }
1122
- M.DocumentType = Du;
1137
+ M.DocumentType = fu;
1123
1138
  M.DOMException = m;
1124
- M.DOMImplementation = oe;
1139
+ M.DOMImplementation = se;
1125
1140
  M.Element = P;
1126
1141
  M.Node = D;
1127
1142
  M.NodeList = _;
1128
- M.XMLSerializer = Ae;
1129
- var Au = {}, de = {};
1143
+ M.XMLSerializer = he;
1144
+ var hu = {}, de = {};
1130
1145
  (function(u) {
1131
1146
  var e = k.freeze;
1132
1147
  u.XML_ENTITIES = e({
@@ -3264,18 +3279,18 @@ var Au = {}, de = {};
3264
3279
  zwnj: "‌"
3265
3280
  }), u.entityMap = u.HTML_ENTITIES;
3266
3281
  })(de);
3267
- var qu = {}, eu = k.NAMESPACE, Cu = /[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]/, zu = new RegExp("[\\-\\.0-9" + Cu.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), Hu = new RegExp("^" + Cu.source + zu.source + "*(?::" + Cu.source + zu.source + "*)?$"), Z = 0, U = 1, V = 2, J = 3, G = 4, z = 5, W = 6, iu = 7;
3282
+ var Ou = {}, ru = k.NAMESPACE, vu = /[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]/, Hu = new RegExp("[\\-\\.0-9" + vu.source.slice(1, -1) + "\\u00B7\\u0300-\\u036F\\u203F-\\u2040]"), ju = new RegExp("^" + vu.source + Hu.source + "*(?::" + vu.source + Hu.source + "*)?$"), Z = 0, U = 1, V = 2, J = 3, G = 4, z = 5, W = 6, ou = 7;
3268
3283
  function Y(u, e) {
3269
3284
  this.message = u, this.locator = e, Error.captureStackTrace && Error.captureStackTrace(this, Y);
3270
3285
  }
3271
3286
  Y.prototype = new Error();
3272
3287
  Y.prototype.name = Y.name;
3273
- function ge() {
3288
+ function Ce() {
3274
3289
  }
3275
- ge.prototype = {
3290
+ Ce.prototype = {
3276
3291
  parse: function(u, e, r) {
3277
3292
  var t = this.domBuilder;
3278
- t.startDocument(), Ce(e, e = {}), Ge(
3293
+ t.startDocument(), ve(e, e = {}), ze(
3279
3294
  u,
3280
3295
  e,
3281
3296
  r,
@@ -3284,12 +3299,12 @@ ge.prototype = {
3284
3299
  ), t.endDocument();
3285
3300
  }
3286
3301
  };
3287
- function Ge(u, e, r, t, n) {
3302
+ function ze(u, e, r, t, n) {
3288
3303
  function a(h) {
3289
3304
  if (h > 65535) {
3290
3305
  h -= 65536;
3291
- var S = 55296 + (h >> 10), Te = 56320 + (h & 1023);
3292
- return String.fromCharCode(S, Te);
3306
+ var S = 55296 + (h >> 10), Fe = 56320 + (h & 1023);
3307
+ return String.fromCharCode(S, Fe);
3293
3308
  } else
3294
3309
  return String.fromCharCode(h);
3295
3310
  }
@@ -3308,48 +3323,48 @@ function Ge(u, e, r, t, n) {
3308
3323
  l = S.index, c = l + S[0].length, p.lineNumber++;
3309
3324
  p.columnNumber = h - l + 1;
3310
3325
  }
3311
- for (var l = 0, c = 0, f = /.*(?:\r\n?|\n)|.*$/g, p = t.locator, d = [{ currentNSMap: e }], B = {}, E = 0; ; ) {
3326
+ for (var l = 0, c = 0, f = /.*(?:\r\n?|\n)|.*$/g, p = t.locator, g = [{ currentNSMap: e }], B = {}, E = 0; ; ) {
3312
3327
  try {
3313
3328
  var A = u.indexOf("<", E);
3314
3329
  if (A < 0) {
3315
3330
  if (!u.substr(E).match(/^\s*$/)) {
3316
- var g = t.doc, Q = g.createTextNode(u.substr(E));
3317
- g.appendChild(Q), t.currentElement = Q;
3331
+ var d = t.doc, Q = d.createTextNode(u.substr(E));
3332
+ d.appendChild(Q), t.currentElement = Q;
3318
3333
  }
3319
3334
  return;
3320
3335
  }
3321
3336
  switch (A > E && s(A), u.charAt(A + 1)) {
3322
3337
  case "/":
3323
- var w = u.indexOf(">", A + 3), C = u.substring(A + 2, w).replace(/[ \t\n\r]+$/g, ""), x = d.pop();
3338
+ var w = u.indexOf(">", A + 3), C = u.substring(A + 2, w).replace(/[ \t\n\r]+$/g, ""), x = g.pop();
3324
3339
  w < 0 ? (C = u.substring(A + 2).replace(/[\s<].*/, ""), n.error("end tag name: " + C + " is not complete:" + x.tagName), w = A + 1 + C.length) : C.match(/\s</) && (C = C.replace(/[\s<].*/, ""), n.error("end tag name: " + C + " maybe not complete"), w = A + 1 + C.length);
3325
- var hu = x.localNSMap, Ou = x.tagName == C, Ne = Ou || x.tagName && x.tagName.toLowerCase() == C.toLowerCase();
3326
- if (Ne) {
3327
- if (t.endElement(x.uri, x.localName, C), hu)
3328
- for (var Ru in hu)
3329
- Object.prototype.hasOwnProperty.call(hu, Ru) && t.endPrefixMapping(Ru);
3330
- Ou || n.fatalError("end tag name: " + C + " is not match the current start tagName:" + x.tagName);
3340
+ var mu = x.localNSMap, Ru = x.tagName == C, ye = Ru || x.tagName && x.tagName.toLowerCase() == C.toLowerCase();
3341
+ if (ye) {
3342
+ if (t.endElement(x.uri, x.localName, C), mu)
3343
+ for (var _u in mu)
3344
+ Object.prototype.hasOwnProperty.call(mu, _u) && t.endPrefixMapping(_u);
3345
+ Ru || n.fatalError("end tag name: " + C + " is not match the current start tagName:" + x.tagName);
3331
3346
  } else
3332
- d.push(x);
3347
+ g.push(x);
3333
3348
  w++;
3334
3349
  break;
3335
3350
  case "?":
3336
- p && o(A), w = Xe(u, A, t);
3351
+ p && o(A), w = Ye(u, A, t);
3337
3352
  break;
3338
3353
  case "!":
3339
- p && o(A), w = $e(u, A, t, n);
3354
+ p && o(A), w = Xe(u, A, t, n);
3340
3355
  break;
3341
3356
  default:
3342
3357
  p && o(A);
3343
- var F = new ve(), mu = d[d.length - 1].currentNSMap, w = ze(u, A, F, mu, i, n), _u = F.length;
3344
- if (!F.closed && je(u, w, F.tagName, B) && (F.closed = !0, r.nbsp || n.warning("unclosed xml attribute")), p && _u) {
3345
- for (var ye = ju(p, {}), Eu = 0; Eu < _u; Eu++) {
3346
- var Lu = F[Eu];
3347
- o(Lu.offset), Lu.locator = ju(p, {});
3358
+ var F = new be(), Eu = g[g.length - 1].currentNSMap, w = He(u, A, F, Eu, i, n), Lu = F.length;
3359
+ if (!F.closed && $e(u, w, F.tagName, B) && (F.closed = !0, r.nbsp || n.warning("unclosed xml attribute")), p && Lu) {
3360
+ for (var Te = $u(p, {}), gu = 0; gu < Lu; gu++) {
3361
+ var Iu = F[gu];
3362
+ o(Iu.offset), Iu.locator = $u(p, {});
3348
3363
  }
3349
- t.locator = ye, $u(F, t, mu) && d.push(F), t.locator = p;
3364
+ t.locator = Te, Xu(F, t, Eu) && g.push(F), t.locator = p;
3350
3365
  } else
3351
- $u(F, t, mu) && d.push(F);
3352
- eu.isHTML(F.uri) && !F.closed ? w = He(u, w, F.tagName, i, t) : w++;
3366
+ Xu(F, t, Eu) && g.push(F);
3367
+ ru.isHTML(F.uri) && !F.closed ? w = je(u, w, F.tagName, i, t) : w++;
3353
3368
  }
3354
3369
  } catch (h) {
3355
3370
  if (h instanceof Y)
@@ -3359,18 +3374,18 @@ function Ge(u, e, r, t, n) {
3359
3374
  w > E ? E = w : s(Math.max(A, E) + 1);
3360
3375
  }
3361
3376
  }
3362
- function ju(u, e) {
3377
+ function $u(u, e) {
3363
3378
  return e.lineNumber = u.lineNumber, e.columnNumber = u.columnNumber, e;
3364
3379
  }
3365
- function ze(u, e, r, t, n, a) {
3366
- function i(p, d, B) {
3380
+ function He(u, e, r, t, n, a) {
3381
+ function i(p, g, B) {
3367
3382
  r.attributeNames.hasOwnProperty(p) && a.fatalError("Attribute " + p + " redefined"), r.addValue(
3368
3383
  p,
3369
3384
  // @see https://www.w3.org/TR/xml/#AVNormalize
3370
3385
  // since the xmldom sax parser does not "interpret" DTD the following is not implemented:
3371
3386
  // - recursive replacement of (DTD) entity references
3372
3387
  // - trimming and collapsing multiple spaces into a single one for attributes that are not of type CDATA
3373
- d.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, n),
3388
+ g.replace(/[\t\n\r]/g, " ").replace(/&#?\w+;/g, n),
3374
3389
  B
3375
3390
  );
3376
3391
  }
@@ -3403,8 +3418,8 @@ function ze(u, e, r, t, n, a) {
3403
3418
  r.setTagName(u.slice(e, l));
3404
3419
  case z:
3405
3420
  case W:
3406
- case iu:
3407
- c = iu, r.closed = !0;
3421
+ case ou:
3422
+ c = ou, r.closed = !0;
3408
3423
  case G:
3409
3424
  case U:
3410
3425
  break;
@@ -3423,13 +3438,13 @@ function ze(u, e, r, t, n, a) {
3423
3438
  r.setTagName(u.slice(e, l));
3424
3439
  case z:
3425
3440
  case W:
3426
- case iu:
3441
+ case ou:
3427
3442
  break;
3428
3443
  case G:
3429
3444
  case U:
3430
3445
  o = u.slice(e, l), o.slice(-1) === "/" && (r.closed = !0, o = o.slice(0, -1));
3431
3446
  case V:
3432
- c === V && (o = s), c == G ? (a.warning('attribute "' + o + '" missed quot(")!'), i(s, o, e)) : ((!eu.isHTML(t[""]) || !o.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + o + '" missed value!! "' + o + '" instead!!'), i(o, o, e));
3447
+ c === V && (o = s), c == G ? (a.warning('attribute "' + o + '" missed quot(")!'), i(s, o, e)) : ((!ru.isHTML(t[""]) || !o.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + o + '" missed value!! "' + o + '" instead!!'), i(o, o, e));
3433
3448
  break;
3434
3449
  case J:
3435
3450
  throw new Error("attribute value missed!!");
@@ -3456,7 +3471,7 @@ function ze(u, e, r, t, n, a) {
3456
3471
  else
3457
3472
  switch (c) {
3458
3473
  case V:
3459
- r.tagName, (!eu.isHTML(t[""]) || !s.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + s + '" missed value!! "' + s + '" instead2!!'), i(s, s, e), e = l, c = U;
3474
+ r.tagName, (!ru.isHTML(t[""]) || !s.match(/^(?:disabled|checked|selected)$/i)) && a.warning('attribute "' + s + '" missed value!! "' + s + '" instead2!!'), i(s, s, e), e = l, c = U;
3460
3475
  break;
3461
3476
  case z:
3462
3477
  a.warning('attribute space is required"' + s + '"!!');
@@ -3466,38 +3481,38 @@ function ze(u, e, r, t, n, a) {
3466
3481
  case J:
3467
3482
  c = G, e = l;
3468
3483
  break;
3469
- case iu:
3484
+ case ou:
3470
3485
  throw new Error("elements closed character '/' and '>' must be connected to");
3471
3486
  }
3472
3487
  }
3473
3488
  l++;
3474
3489
  }
3475
3490
  }
3476
- function $u(u, e, r) {
3491
+ function Xu(u, e, r) {
3477
3492
  for (var t = u.tagName, n = null, f = u.length; f--; ) {
3478
3493
  var a = u[f], i = a.qName, s = a.value, p = i.indexOf(":");
3479
3494
  if (p > 0)
3480
3495
  var o = a.prefix = i.slice(0, p), l = i.slice(p + 1), c = o === "xmlns" && l;
3481
3496
  else
3482
3497
  l = i, o = null, c = i === "xmlns" && "";
3483
- a.localName = l, c !== !1 && (n == null && (n = {}, Ce(r, r = {})), r[c] = n[c] = s, a.uri = eu.XMLNS, e.startPrefixMapping(c, s));
3498
+ a.localName = l, c !== !1 && (n == null && (n = {}, ve(r, r = {})), r[c] = n[c] = s, a.uri = ru.XMLNS, e.startPrefixMapping(c, s));
3484
3499
  }
3485
3500
  for (var f = u.length; f--; ) {
3486
3501
  a = u[f];
3487
3502
  var o = a.prefix;
3488
- o && (o === "xml" && (a.uri = eu.XML), o !== "xmlns" && (a.uri = r[o || ""]));
3503
+ o && (o === "xml" && (a.uri = ru.XML), o !== "xmlns" && (a.uri = r[o || ""]));
3489
3504
  }
3490
3505
  var p = t.indexOf(":");
3491
3506
  p > 0 ? (o = u.prefix = t.slice(0, p), l = u.localName = t.slice(p + 1)) : (o = null, l = u.localName = t);
3492
- var d = u.uri = r[o || ""];
3493
- if (e.startElement(d, l, t, u), u.closed) {
3494
- if (e.endElement(d, l, t), n)
3507
+ var g = u.uri = r[o || ""];
3508
+ if (e.startElement(g, l, t, u), u.closed) {
3509
+ if (e.endElement(g, l, t), n)
3495
3510
  for (o in n)
3496
3511
  Object.prototype.hasOwnProperty.call(n, o) && e.endPrefixMapping(o);
3497
3512
  } else
3498
3513
  return u.currentNSMap = r, u.localNSMap = n, !0;
3499
3514
  }
3500
- function He(u, e, r, t, n) {
3515
+ function je(u, e, r, t, n) {
3501
3516
  if (/^(?:script|textarea)$/i.test(r)) {
3502
3517
  var a = u.indexOf("</" + r + ">", e), i = u.substring(e + 1, a);
3503
3518
  if (/[&<]/.test(i))
@@ -3505,15 +3520,15 @@ function He(u, e, r, t, n) {
3505
3520
  }
3506
3521
  return e + 1;
3507
3522
  }
3508
- function je(u, e, r, t) {
3523
+ function $e(u, e, r, t) {
3509
3524
  var n = t[r];
3510
3525
  return n == null && (n = u.lastIndexOf("</" + r + ">"), n < e && (n = u.lastIndexOf("</" + r)), t[r] = n), n < e;
3511
3526
  }
3512
- function Ce(u, e) {
3527
+ function ve(u, e) {
3513
3528
  for (var r in u)
3514
3529
  Object.prototype.hasOwnProperty.call(u, r) && (e[r] = u[r]);
3515
3530
  }
3516
- function $e(u, e, r, t) {
3531
+ function Xe(u, e, r, t) {
3517
3532
  var n = u.charAt(e + 2);
3518
3533
  switch (n) {
3519
3534
  case "-":
@@ -3527,7 +3542,7 @@ function $e(u, e, r, t) {
3527
3542
  var a = u.indexOf("]]>", e + 9);
3528
3543
  return r.startCDATA(), r.characters(u, e + 9, a - e - 9), r.endCDATA(), a + 3;
3529
3544
  }
3530
- var i = Ye(u, e), s = i.length;
3545
+ var i = Qe(u, e), s = i.length;
3531
3546
  if (s > 1 && /!doctype/i.test(i[0][0])) {
3532
3547
  var o = i[1][0], l = !1, c = !1;
3533
3548
  s > 3 && (/^public$/i.test(i[2][0]) ? (l = i[3][0], c = s > 4 && i[4][0]) : /^system$/i.test(i[2][0]) && (c = i[3][0]));
@@ -3537,7 +3552,7 @@ function $e(u, e, r, t) {
3537
3552
  }
3538
3553
  return -1;
3539
3554
  }
3540
- function Xe(u, e, r) {
3555
+ function Ye(u, e, r) {
3541
3556
  var t = u.indexOf("?>", e);
3542
3557
  if (t) {
3543
3558
  var n = u.substring(e, t).match(/^<\?(\S*)\s*([\s\S]*?)\s*$/);
@@ -3545,17 +3560,17 @@ function Xe(u, e, r) {
3545
3560
  }
3546
3561
  return -1;
3547
3562
  }
3548
- function ve() {
3563
+ function be() {
3549
3564
  this.attributeNames = {};
3550
3565
  }
3551
- ve.prototype = {
3566
+ be.prototype = {
3552
3567
  setTagName: function(u) {
3553
- if (!Hu.test(u))
3568
+ if (!ju.test(u))
3554
3569
  throw new Error("invalid tagName:" + u);
3555
3570
  this.tagName = u;
3556
3571
  },
3557
3572
  addValue: function(u, e, r) {
3558
- if (!Hu.test(u))
3573
+ if (!ju.test(u))
3559
3574
  throw new Error("invalid attribute:" + u);
3560
3575
  this.attributeNames[u] = this.length, this[this.length++] = { qName: u, value: e, offset: r };
3561
3576
  },
@@ -3586,35 +3601,35 @@ ve.prototype = {
3586
3601
  // getType:function(uri,localName){}
3587
3602
  // getType:function(i){},
3588
3603
  };
3589
- function Ye(u, e) {
3604
+ function Qe(u, e) {
3590
3605
  var r, t = [], n = /'[^']+'|"[^"]+"|[^\s<>\/=]+=?|(\/?\s*>|<)/g;
3591
3606
  for (n.lastIndex = e, n.exec(u); r = n.exec(u); )
3592
3607
  if (t.push(r), r[1]) return t;
3593
3608
  }
3594
- qu.XMLReader = ge;
3595
- qu.ParseError = Y;
3596
- var Qe = k, Ze = M, Xu = de, be = qu, Je = Ze.DOMImplementation, Yu = Qe.NAMESPACE, We = be.ParseError, Ke = be.XMLReader;
3597
- function we(u) {
3609
+ Ou.XMLReader = Ce;
3610
+ Ou.ParseError = Y;
3611
+ var Ze = k, Je = M, Yu = de, we = Ou, We = Je.DOMImplementation, Qu = Ze.NAMESPACE, Ke = we.ParseError, ur = we.XMLReader;
3612
+ function Be(u) {
3598
3613
  return u.replace(/\r[\n\u0085]/g, `
3599
3614
  `).replace(/[\r\u0085\u2028]/g, `
3600
3615
  `);
3601
3616
  }
3602
- function Be(u) {
3617
+ function Ne(u) {
3603
3618
  this.options = u || { locator: {} };
3604
3619
  }
3605
- Be.prototype.parseFromString = function(u, e) {
3606
- var r = this.options, t = new Ke(), n = r.domBuilder || new au(), a = r.errorHandler, i = r.locator, s = r.xmlns || {}, o = /\/x?html?$/.test(e), l = o ? Xu.HTML_ENTITIES : Xu.XML_ENTITIES;
3607
- i && n.setDocumentLocator(i), t.errorHandler = ur(a, n, i), t.domBuilder = r.domBuilder || n, o && (s[""] = Yu.HTML), s.xml = s.xml || Yu.XML;
3608
- var c = r.normalizeLineEndings || we;
3620
+ Ne.prototype.parseFromString = function(u, e) {
3621
+ var r = this.options, t = new ur(), n = r.domBuilder || new iu(), a = r.errorHandler, i = r.locator, s = r.xmlns || {}, o = /\/x?html?$/.test(e), l = o ? Yu.HTML_ENTITIES : Yu.XML_ENTITIES;
3622
+ i && n.setDocumentLocator(i), t.errorHandler = er(a, n, i), t.domBuilder = r.domBuilder || n, o && (s[""] = Qu.HTML), s.xml = s.xml || Qu.XML;
3623
+ var c = r.normalizeLineEndings || Be;
3609
3624
  return u && typeof u == "string" ? t.parse(
3610
3625
  c(u),
3611
3626
  s,
3612
3627
  l
3613
3628
  ) : t.errorHandler.error("invalid doc source"), n.doc;
3614
3629
  };
3615
- function ur(u, e, r) {
3630
+ function er(u, e, r) {
3616
3631
  if (!u) {
3617
- if (e instanceof au)
3632
+ if (e instanceof iu)
3618
3633
  return e;
3619
3634
  u = e;
3620
3635
  }
@@ -3625,25 +3640,25 @@ function ur(u, e, r) {
3625
3640
  !s && n && (s = u.length == 2 ? function(o) {
3626
3641
  u(i, o);
3627
3642
  } : u), t[i] = s && function(o) {
3628
- s("[xmldom " + i + "] " + o + vu(r));
3643
+ s("[xmldom " + i + "] " + o + bu(r));
3629
3644
  } || function() {
3630
3645
  };
3631
3646
  }
3632
3647
  return a("warning"), a("error"), a("fatalError"), t;
3633
3648
  }
3634
- function au() {
3649
+ function iu() {
3635
3650
  this.cdata = !1;
3636
3651
  }
3637
3652
  function H(u, e) {
3638
3653
  e.lineNumber = u.lineNumber, e.columnNumber = u.columnNumber;
3639
3654
  }
3640
- au.prototype = {
3655
+ iu.prototype = {
3641
3656
  startDocument: function() {
3642
- this.doc = new Je().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
3657
+ this.doc = new We().createDocument(null, null, null), this.locator && (this.doc.documentURI = this.locator.systemId);
3643
3658
  },
3644
3659
  startElement: function(u, e, r, t) {
3645
3660
  var n = this.doc, a = n.createElementNS(u, r || e), i = t.length;
3646
- ou(this, a), this.currentElement = a, this.locator && H(this.locator, a);
3661
+ su(this, a), this.currentElement = a, this.locator && H(this.locator, a);
3647
3662
  for (var s = 0; s < i; s++) {
3648
3663
  var u = t.getURI(s), o = t.getValue(s), r = t.getQName(s), l = n.createAttributeNS(u, r);
3649
3664
  this.locator && H(t.getLocator(s), l), l.value = l.nodeValue = o, a.setAttributeNode(l);
@@ -3659,12 +3674,12 @@ au.prototype = {
3659
3674
  },
3660
3675
  processingInstruction: function(u, e) {
3661
3676
  var r = this.doc.createProcessingInstruction(u, e);
3662
- this.locator && H(this.locator, r), ou(this, r);
3677
+ this.locator && H(this.locator, r), su(this, r);
3663
3678
  },
3664
3679
  ignorableWhitespace: function(u, e, r) {
3665
3680
  },
3666
3681
  characters: function(u, e, r) {
3667
- if (u = Qu.apply(this, arguments), u) {
3682
+ if (u = Zu.apply(this, arguments), u) {
3668
3683
  if (this.cdata)
3669
3684
  var t = this.doc.createCDATASection(u);
3670
3685
  else
@@ -3682,9 +3697,9 @@ au.prototype = {
3682
3697
  },
3683
3698
  //LexicalHandler
3684
3699
  comment: function(u, e, r) {
3685
- u = Qu.apply(this, arguments);
3700
+ u = Zu.apply(this, arguments);
3686
3701
  var t = this.doc.createComment(u);
3687
- this.locator && H(this.locator, t), ou(this, t);
3702
+ this.locator && H(this.locator, t), su(this, t);
3688
3703
  },
3689
3704
  startCDATA: function() {
3690
3705
  this.cdata = !0;
@@ -3696,7 +3711,7 @@ au.prototype = {
3696
3711
  var t = this.doc.implementation;
3697
3712
  if (t && t.createDocumentType) {
3698
3713
  var n = t.createDocumentType(u, e, r);
3699
- this.locator && H(this.locator, n), ou(this, n), this.doc.doctype = n;
3714
+ this.locator && H(this.locator, n), su(this, n), this.doc.doctype = n;
3700
3715
  }
3701
3716
  },
3702
3717
  /**
@@ -3704,40 +3719,40 @@ au.prototype = {
3704
3719
  * @link http://www.saxproject.org/apidoc/org/xml/sax/ErrorHandler.html
3705
3720
  */
3706
3721
  warning: function(u) {
3707
- console.warn("[xmldom warning] " + u, vu(this.locator));
3722
+ console.warn("[xmldom warning] " + u, bu(this.locator));
3708
3723
  },
3709
3724
  error: function(u) {
3710
- console.error("[xmldom error] " + u, vu(this.locator));
3725
+ console.error("[xmldom error] " + u, bu(this.locator));
3711
3726
  },
3712
3727
  fatalError: function(u) {
3713
- throw new We(u, this.locator);
3728
+ throw new Ke(u, this.locator);
3714
3729
  }
3715
3730
  };
3716
- function vu(u) {
3731
+ function bu(u) {
3717
3732
  if (u)
3718
3733
  return `
3719
3734
  @` + (u.systemId || "") + "#[line:" + u.lineNumber + ",col:" + u.columnNumber + "]";
3720
3735
  }
3721
- function Qu(u, e, r) {
3736
+ function Zu(u, e, r) {
3722
3737
  return typeof u == "string" ? u.substr(e, r) : u.length >= e + r || e ? new java.lang.String(u, e, r) + "" : u;
3723
3738
  }
3724
3739
  "endDTD,startEntity,endEntity,attributeDecl,elementDecl,externalEntityDecl,internalEntityDecl,resolveEntity,getExternalSubset,notationDecl,unparsedEntityDecl".replace(/\w+/g, function(u) {
3725
- au.prototype[u] = function() {
3740
+ iu.prototype[u] = function() {
3726
3741
  return null;
3727
3742
  };
3728
3743
  });
3729
- function ou(u, e) {
3744
+ function su(u, e) {
3730
3745
  u.currentElement ? u.currentElement.appendChild(e) : u.doc.appendChild(e);
3731
3746
  }
3732
- Au.__DOMHandler = au;
3733
- Au.normalizeLineEndings = we;
3734
- Au.DOMParser = Be;
3735
- var er = Au.DOMParser;
3736
- const rr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3747
+ hu.__DOMHandler = iu;
3748
+ hu.normalizeLineEndings = Be;
3749
+ hu.DOMParser = Ne;
3750
+ var rr = hu.DOMParser;
3751
+ const tr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
3737
3752
  __proto__: null,
3738
- DOMParser: er
3753
+ DOMParser: rr
3739
3754
  }, Symbol.toStringTag, { value: "Module" }));
3740
3755
  export {
3741
- er as D,
3742
- rr as i
3756
+ rr as D,
3757
+ tr as i
3743
3758
  };