@aws-amplify/ui-react 1.2.56-legacy-ui-tests.6 → 1.2.60-unstable.5

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 (80) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/0.js.map +1 -1
  3. package/dist/1.js +52 -220
  4. package/dist/1.js.map +1 -1
  5. package/dist/10.js +1 -8
  6. package/dist/10.js.map +1 -1
  7. package/dist/11.js +11 -110
  8. package/dist/11.js.map +1 -1
  9. package/dist/12.js +3 -29
  10. package/dist/12.js.map +1 -1
  11. package/dist/13.js +60 -339
  12. package/dist/13.js.map +1 -1
  13. package/dist/14.js +1 -12
  14. package/dist/14.js.map +1 -1
  15. package/dist/15.js +1 -8
  16. package/dist/15.js.map +1 -1
  17. package/dist/16.js +9 -31
  18. package/dist/16.js.map +1 -1
  19. package/dist/17.js +3 -17
  20. package/dist/17.js.map +1 -1
  21. package/dist/18.js +10 -61
  22. package/dist/18.js.map +1 -1
  23. package/dist/19.js +1 -11
  24. package/dist/19.js.map +1 -1
  25. package/dist/2.js +129 -736
  26. package/dist/2.js.map +1 -1
  27. package/dist/20.js +1 -10
  28. package/dist/20.js.map +1 -1
  29. package/dist/21.js +3 -13
  30. package/dist/21.js.map +1 -1
  31. package/dist/22.js +1 -9
  32. package/dist/22.js.map +1 -1
  33. package/dist/23.js +19 -77
  34. package/dist/23.js.map +1 -1
  35. package/dist/24.js +1 -18
  36. package/dist/24.js.map +1 -1
  37. package/dist/25.js +1 -11
  38. package/dist/25.js.map +1 -1
  39. package/dist/26.js +25 -94
  40. package/dist/26.js.map +1 -1
  41. package/dist/27.js +1 -8
  42. package/dist/27.js.map +1 -1
  43. package/dist/28.js +1 -9
  44. package/dist/28.js.map +1 -1
  45. package/dist/29.js +13 -96
  46. package/dist/29.js.map +1 -1
  47. package/dist/3.js +235 -859
  48. package/dist/3.js.map +1 -1
  49. package/dist/30.js.map +1 -1
  50. package/dist/4.js +45 -214
  51. package/dist/4.js.map +1 -1
  52. package/dist/5.js +39 -169
  53. package/dist/5.js.map +1 -1
  54. package/dist/6.js +45 -187
  55. package/dist/6.js.map +1 -1
  56. package/dist/7.js +38 -164
  57. package/dist/7.js.map +1 -1
  58. package/dist/8.js +45 -187
  59. package/dist/8.js.map +1 -1
  60. package/dist/9.js +34 -189
  61. package/dist/9.js.map +1 -1
  62. package/dist/@aws-amplify/ui-react.js +293 -1150
  63. package/dist/@aws-amplify/ui-react.js.map +1 -1
  64. package/dist/aws-amplify-react.min.js.map +1 -1
  65. package/dist/polyfills-core-js.js +1774 -2129
  66. package/dist/polyfills-core-js.js.map +1 -1
  67. package/dist/polyfills-css-shim.js +47 -113
  68. package/dist/polyfills-css-shim.js.map +1 -1
  69. package/dist/polyfills-dom.js +122 -391
  70. package/dist/polyfills-dom.js.map +1 -1
  71. package/package.json +3 -3
  72. package/lib/components.d.ts +0 -56
  73. package/lib/index.d.ts +0 -2
  74. package/lib/react-component-lib/createComponent.d.ts +0 -2
  75. package/lib/react-component-lib/createControllerComponent.d.ts +0 -43
  76. package/lib/react-component-lib/createOverlayComponent.d.ts +0 -45
  77. package/lib/react-component-lib/index.d.ts +0 -3
  78. package/lib/react-component-lib/utils/attachEventProps.d.ts +0 -8
  79. package/lib/react-component-lib/utils/index.d.ts +0 -8
  80. package/lib/withAuthenticator.d.ts +0 -3
@@ -12,41 +12,32 @@
12
12
  */
13
13
  (function () {
14
14
  var aa = new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
15
-
16
15
  function g(a) {
17
16
  var b = aa.has(a);
18
17
  a = /^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);
19
18
  return !b && a;
20
19
  }
21
-
22
20
  function l(a) {
23
21
  var b = a.isConnected;
24
22
  if (void 0 !== b) return b;
25
-
26
23
  for (; a && !(a.__CE_isImportDocument || a instanceof Document);) {
27
24
  a = a.parentNode || (window.ShadowRoot && a instanceof ShadowRoot ? a.host : void 0);
28
25
  }
29
-
30
26
  return !(!a || !(a.__CE_isImportDocument || a instanceof Document));
31
27
  }
32
-
33
28
  function n(a, b) {
34
29
  for (; b && b !== a && !b.nextSibling;) {
35
30
  b = b.parentNode;
36
31
  }
37
-
38
32
  return b && b !== a ? b.nextSibling : null;
39
33
  }
40
-
41
34
  function p(a, b, d) {
42
35
  d = void 0 === d ? new Set() : d;
43
-
44
36
  for (var c = a; c;) {
45
37
  if (c.nodeType === Node.ELEMENT_NODE) {
46
38
  var e = c;
47
39
  b(e);
48
40
  var f = e.localName;
49
-
50
41
  if ("link" === f && "import" === e.getAttribute("rel")) {
51
42
  c = e["import"];
52
43
  if (c instanceof Node && !d.has(c)) for (d.add(c), c = c.firstChild; c; c = c.nextSibling) {
@@ -58,20 +49,16 @@
58
49
  c = n(a, e);
59
50
  continue;
60
51
  }
61
-
62
52
  if (e = e.__CE_shadowRoot) for (e = e.firstChild; e; e = e.nextSibling) {
63
53
  p(e, b, d);
64
54
  }
65
55
  }
66
-
67
56
  c = c.firstChild ? c.firstChild : n(a, c);
68
57
  }
69
58
  }
70
-
71
59
  function r(a, b, d) {
72
60
  a[b] = d;
73
61
  }
74
-
75
62
  function u() {
76
63
  this.a = new Map();
77
64
  this.g = new Map();
@@ -79,82 +66,67 @@
79
66
  this.f = [];
80
67
  this.b = !1;
81
68
  }
82
-
83
69
  function ba(a, b, d) {
84
70
  a.a.set(b, d);
85
71
  a.g.set(d.constructorFunction, d);
86
72
  }
87
-
88
73
  function ca(a, b) {
89
74
  a.b = !0;
90
75
  a.c.push(b);
91
76
  }
92
-
93
77
  function da(a, b) {
94
78
  a.b = !0;
95
79
  a.f.push(b);
96
80
  }
97
-
98
81
  function v(a, b) {
99
82
  a.b && p(b, function (b) {
100
83
  return w(a, b);
101
84
  });
102
85
  }
103
-
104
86
  function w(a, b) {
105
87
  if (a.b && !b.__CE_patched) {
106
88
  b.__CE_patched = !0;
107
-
108
89
  for (var d = 0; d < a.c.length; d++) {
109
90
  a.c[d](b);
110
91
  }
111
-
112
92
  for (d = 0; d < a.f.length; d++) {
113
93
  a.f[d](b);
114
94
  }
115
95
  }
116
96
  }
117
-
118
97
  function x(a, b) {
119
98
  var d = [];
120
99
  p(b, function (b) {
121
100
  return d.push(b);
122
101
  });
123
-
124
102
  for (b = 0; b < d.length; b++) {
125
103
  var c = d[b];
126
104
  1 === c.__CE_state ? a.connectedCallback(c) : y(a, c);
127
105
  }
128
106
  }
129
-
130
107
  function z(a, b) {
131
108
  var d = [];
132
109
  p(b, function (b) {
133
110
  return d.push(b);
134
111
  });
135
-
136
112
  for (b = 0; b < d.length; b++) {
137
113
  var c = d[b];
138
114
  1 === c.__CE_state && a.disconnectedCallback(c);
139
115
  }
140
116
  }
141
-
142
117
  function A(a, b, d) {
143
118
  d = void 0 === d ? {} : d;
144
-
145
119
  var c = d.u || new Set(),
146
- e = d.i || function (b) {
147
- return y(a, b);
148
- },
149
- f = [];
150
-
120
+ e = d.i || function (b) {
121
+ return y(a, b);
122
+ },
123
+ f = [];
151
124
  p(b, function (b) {
152
125
  if ("link" === b.localName && "import" === b.getAttribute("rel")) {
153
126
  var d = b["import"];
154
127
  d instanceof Node && (d.__CE_isImportDocument = !0, d.__CE_hasRegistry = !0);
155
128
  d && "complete" === d.readyState ? d.__CE_documentLoadHandled = !0 : b.addEventListener("load", function () {
156
129
  var d = b["import"];
157
-
158
130
  if (!d.__CE_documentLoadHandled) {
159
131
  d.__CE_documentLoadHandled = !0;
160
132
  var f = new Set(c);
@@ -170,19 +142,16 @@
170
142
  if (a.b) for (b = 0; b < f.length; b++) {
171
143
  w(a, f[b]);
172
144
  }
173
-
174
145
  for (b = 0; b < f.length; b++) {
175
146
  e(f[b]);
176
147
  }
177
148
  }
178
-
179
149
  function y(a, b) {
180
150
  if (void 0 === b.__CE_state) {
181
151
  var d = b.ownerDocument;
182
152
  if (d.defaultView || d.__CE_isImportDocument && d.__CE_hasRegistry) if (d = a.a.get(b.localName)) {
183
153
  d.constructionStack.push(b);
184
154
  var c = d.constructorFunction;
185
-
186
155
  try {
187
156
  try {
188
157
  if (new c() !== b) throw Error("The custom element constructor did not produce the element being upgraded.");
@@ -192,34 +161,29 @@
192
161
  } catch (t) {
193
162
  throw b.__CE_state = 2, t;
194
163
  }
195
-
196
164
  b.__CE_state = 1;
197
165
  b.__CE_definition = d;
198
166
  if (d.attributeChangedCallback) for (d = d.observedAttributes, c = 0; c < d.length; c++) {
199
167
  var e = d[c],
200
- f = b.getAttribute(e);
168
+ f = b.getAttribute(e);
201
169
  null !== f && a.attributeChangedCallback(b, e, null, f, null);
202
170
  }
203
171
  l(b) && a.connectedCallback(b);
204
172
  }
205
173
  }
206
174
  }
207
-
208
175
  u.prototype.connectedCallback = function (a) {
209
176
  var b = a.__CE_definition;
210
177
  b.connectedCallback && b.connectedCallback.call(a);
211
178
  };
212
-
213
179
  u.prototype.disconnectedCallback = function (a) {
214
180
  var b = a.__CE_definition;
215
181
  b.disconnectedCallback && b.disconnectedCallback.call(a);
216
182
  };
217
-
218
183
  u.prototype.attributeChangedCallback = function (a, b, d, c, e) {
219
184
  var f = a.__CE_definition;
220
185
  f.attributeChangedCallback && -1 < f.observedAttributes.indexOf(b) && f.attributeChangedCallback.call(a, b, d, c, e);
221
186
  };
222
-
223
187
  function B(a) {
224
188
  var b = document;
225
189
  this.c = a;
@@ -231,22 +195,18 @@
231
195
  subtree: !0
232
196
  }));
233
197
  }
234
-
235
198
  function C(a) {
236
199
  a.b && a.b.disconnect();
237
200
  }
238
-
239
201
  B.prototype.f = function (a) {
240
202
  var b = this.a.readyState;
241
203
  "interactive" !== b && "complete" !== b || C(this);
242
-
243
204
  for (b = 0; b < a.length; b++) {
244
205
  for (var d = a[b].addedNodes, c = 0; c < d.length; c++) {
245
206
  A(this.c, d[c]);
246
207
  }
247
208
  }
248
209
  };
249
-
250
210
  function ea() {
251
211
  var a = this;
252
212
  this.b = this.a = void 0;
@@ -255,27 +215,22 @@
255
215
  a.a && b(a.a);
256
216
  });
257
217
  }
258
-
259
218
  function D(a) {
260
219
  if (a.a) throw Error("Already resolved.");
261
220
  a.a = void 0;
262
221
  a.b && a.b(void 0);
263
222
  }
264
-
265
223
  function E(a) {
266
224
  this.c = !1;
267
225
  this.a = a;
268
226
  this.j = new Map();
269
-
270
227
  this.f = function (b) {
271
228
  return b();
272
229
  };
273
-
274
230
  this.b = !1;
275
231
  this.g = [];
276
232
  this.o = new B(a);
277
233
  }
278
-
279
234
  E.prototype.l = function (a, b) {
280
235
  var d = this;
281
236
  if (!(b instanceof Function)) throw new TypeError("Custom element constructors must be functions.");
@@ -283,15 +238,13 @@
283
238
  if (this.a.a.get(a)) throw Error("A custom element with name '" + a + "' has already been defined.");
284
239
  if (this.c) throw Error("A custom element is already being defined.");
285
240
  this.c = !0;
286
-
287
241
  try {
288
242
  var c = function c(b) {
289
- var a = e[b];
290
- if (void 0 !== a && !(a instanceof Function)) throw Error("The '" + b + "' callback must be a function.");
291
- return a;
292
- },
293
- e = b.prototype;
294
-
243
+ var a = e[b];
244
+ if (void 0 !== a && !(a instanceof Function)) throw Error("The '" + b + "' callback must be a function.");
245
+ return a;
246
+ },
247
+ e = b.prototype;
295
248
  if (!(e instanceof Object)) throw new TypeError("The custom element constructor's prototype is not an object.");
296
249
  var f = c("connectedCallback");
297
250
  var t = c("disconnectedCallback");
@@ -303,7 +256,6 @@
303
256
  } finally {
304
257
  this.c = !1;
305
258
  }
306
-
307
259
  b = {
308
260
  localName: a,
309
261
  constructorFunction: b,
@@ -320,51 +272,41 @@
320
272
  return fa(d);
321
273
  }));
322
274
  };
323
-
324
275
  E.prototype.i = function (a) {
325
276
  A(this.a, a);
326
277
  };
327
-
328
278
  function fa(a) {
329
279
  if (!1 !== a.b) {
330
280
  a.b = !1;
331
-
332
281
  for (var b = a.g, d = [], c = new Map(), e = 0; e < b.length; e++) {
333
282
  c.set(b[e].localName, []);
334
283
  }
335
-
336
284
  A(a.a, document, {
337
285
  i: function i(b) {
338
286
  if (void 0 === b.__CE_state) {
339
287
  var e = b.localName,
340
- f = c.get(e);
288
+ f = c.get(e);
341
289
  f ? f.push(b) : a.a.a.get(e) && d.push(b);
342
290
  }
343
291
  }
344
292
  });
345
-
346
293
  for (e = 0; e < d.length; e++) {
347
294
  y(a.a, d[e]);
348
295
  }
349
-
350
296
  for (; 0 < b.length;) {
351
297
  var f = b.shift();
352
298
  e = f.localName;
353
299
  f = c.get(f.localName);
354
-
355
300
  for (var t = 0; t < f.length; t++) {
356
301
  y(a.a, f[t]);
357
302
  }
358
-
359
303
  (e = a.j.get(e)) && D(e);
360
304
  }
361
305
  }
362
306
  }
363
-
364
307
  E.prototype.get = function (a) {
365
308
  if (a = this.a.a.get(a)) return a.constructorFunction;
366
309
  };
367
-
368
310
  E.prototype.m = function (a) {
369
311
  if (!g(a)) return Promise.reject(new SyntaxError("'" + a + "' is not a valid custom element name."));
370
312
  var b = this.j.get(a);
@@ -376,18 +318,15 @@
376
318
  }) && D(b);
377
319
  return b.c;
378
320
  };
379
-
380
321
  E.prototype.s = function (a) {
381
322
  C(this.o);
382
323
  var b = this.f;
383
-
384
324
  this.f = function (d) {
385
325
  return a(function () {
386
326
  return b(d);
387
327
  });
388
328
  };
389
329
  };
390
-
391
330
  window.CustomElementRegistry = E;
392
331
  E.prototype.define = E.prototype.l;
393
332
  E.prototype.upgrade = E.prototype.i;
@@ -395,47 +334,45 @@
395
334
  E.prototype.whenDefined = E.prototype.m;
396
335
  E.prototype.polyfillWrapFlushCallback = E.prototype.s;
397
336
  var F = window.Document.prototype.createElement,
398
- G = window.Document.prototype.createElementNS,
399
- ha = window.Document.prototype.importNode,
400
- ia = window.Document.prototype.prepend,
401
- ja = window.Document.prototype.append,
402
- ka = window.DocumentFragment.prototype.prepend,
403
- la = window.DocumentFragment.prototype.append,
404
- H = window.Node.prototype.cloneNode,
405
- I = window.Node.prototype.appendChild,
406
- J = window.Node.prototype.insertBefore,
407
- K = window.Node.prototype.removeChild,
408
- L = window.Node.prototype.replaceChild,
409
- M = Object.getOwnPropertyDescriptor(window.Node.prototype, "textContent"),
410
- N = window.Element.prototype.attachShadow,
411
- O = Object.getOwnPropertyDescriptor(window.Element.prototype, "innerHTML"),
412
- P = window.Element.prototype.getAttribute,
413
- Q = window.Element.prototype.setAttribute,
414
- R = window.Element.prototype.removeAttribute,
415
- S = window.Element.prototype.getAttributeNS,
416
- T = window.Element.prototype.setAttributeNS,
417
- U = window.Element.prototype.removeAttributeNS,
418
- ma = window.Element.prototype.insertAdjacentElement,
419
- na = window.Element.prototype.insertAdjacentHTML,
420
- oa = window.Element.prototype.prepend,
421
- pa = window.Element.prototype.append,
422
- V = window.Element.prototype.before,
423
- qa = window.Element.prototype.after,
424
- ra = window.Element.prototype.replaceWith,
425
- sa = window.Element.prototype.remove,
426
- ta = window.HTMLElement,
427
- W = Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, "innerHTML"),
428
- ua = window.HTMLElement.prototype.insertAdjacentElement,
429
- va = window.HTMLElement.prototype.insertAdjacentHTML;
337
+ G = window.Document.prototype.createElementNS,
338
+ ha = window.Document.prototype.importNode,
339
+ ia = window.Document.prototype.prepend,
340
+ ja = window.Document.prototype.append,
341
+ ka = window.DocumentFragment.prototype.prepend,
342
+ la = window.DocumentFragment.prototype.append,
343
+ H = window.Node.prototype.cloneNode,
344
+ I = window.Node.prototype.appendChild,
345
+ J = window.Node.prototype.insertBefore,
346
+ K = window.Node.prototype.removeChild,
347
+ L = window.Node.prototype.replaceChild,
348
+ M = Object.getOwnPropertyDescriptor(window.Node.prototype, "textContent"),
349
+ N = window.Element.prototype.attachShadow,
350
+ O = Object.getOwnPropertyDescriptor(window.Element.prototype, "innerHTML"),
351
+ P = window.Element.prototype.getAttribute,
352
+ Q = window.Element.prototype.setAttribute,
353
+ R = window.Element.prototype.removeAttribute,
354
+ S = window.Element.prototype.getAttributeNS,
355
+ T = window.Element.prototype.setAttributeNS,
356
+ U = window.Element.prototype.removeAttributeNS,
357
+ ma = window.Element.prototype.insertAdjacentElement,
358
+ na = window.Element.prototype.insertAdjacentHTML,
359
+ oa = window.Element.prototype.prepend,
360
+ pa = window.Element.prototype.append,
361
+ V = window.Element.prototype.before,
362
+ qa = window.Element.prototype.after,
363
+ ra = window.Element.prototype.replaceWith,
364
+ sa = window.Element.prototype.remove,
365
+ ta = window.HTMLElement,
366
+ W = Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, "innerHTML"),
367
+ ua = window.HTMLElement.prototype.insertAdjacentElement,
368
+ va = window.HTMLElement.prototype.insertAdjacentHTML;
430
369
  var wa = new function () {}();
431
-
432
370
  function xa() {
433
371
  var a = X;
434
-
435
372
  window.HTMLElement = function () {
436
373
  function b() {
437
374
  var b = this.constructor,
438
- c = a.g.get(b);
375
+ c = a.g.get(b);
439
376
  if (!c) throw Error("The custom element being constructed was not registered with `customElements`.");
440
377
  var e = c.constructionStack;
441
378
  if (0 === e.length) return e = F.call(document, c.localName), Object.setPrototypeOf(e, b.prototype), e.__CE_state = 1, e.__CE_definition = c, w(a, e), e;
@@ -447,7 +384,6 @@
447
384
  w(a, f);
448
385
  return f;
449
386
  }
450
-
451
387
  b.prototype = ta.prototype;
452
388
  Object.defineProperty(b.prototype, "constructor", {
453
389
  writable: !0,
@@ -458,16 +394,13 @@
458
394
  return b;
459
395
  }();
460
396
  }
461
-
462
397
  function Y(a, b, d) {
463
398
  function c(b) {
464
399
  return function (d) {
465
400
  for (var e = [], c = 0; c < arguments.length; ++c) {
466
401
  e[c] = arguments[c];
467
402
  }
468
-
469
403
  c = [];
470
-
471
404
  for (var f = [], m = 0; m < e.length; m++) {
472
405
  var q = e[m];
473
406
  q instanceof Element && l(q) && f.push(q);
@@ -475,23 +408,18 @@
475
408
  c.push(q);
476
409
  } else c.push(q);
477
410
  }
478
-
479
411
  b.apply(this, e);
480
-
481
412
  for (e = 0; e < f.length; e++) {
482
413
  z(a, f[e]);
483
414
  }
484
-
485
415
  if (l(this)) for (e = 0; e < c.length; e++) {
486
416
  f = c[e], f instanceof Element && x(a, f);
487
417
  }
488
418
  };
489
419
  }
490
-
491
420
  void 0 !== d.h && (b.prepend = c(d.h));
492
421
  void 0 !== d.append && (b.append = c(d.append));
493
422
  }
494
-
495
423
  function ya() {
496
424
  var a = X;
497
425
  r(Document.prototype, "createElement", function (b) {
@@ -499,7 +427,6 @@
499
427
  var d = a.a.get(b);
500
428
  if (d) return new d.constructorFunction();
501
429
  }
502
-
503
430
  b = F.call(this, b);
504
431
  w(a, b);
505
432
  return b;
@@ -514,7 +441,6 @@
514
441
  var c = a.a.get(d);
515
442
  if (c) return new c.constructorFunction();
516
443
  }
517
-
518
444
  b = G.call(this, b, d);
519
445
  w(a, b);
520
446
  return b;
@@ -524,7 +450,6 @@
524
450
  append: ja
525
451
  });
526
452
  }
527
-
528
453
  function za() {
529
454
  function a(a, c) {
530
455
  Object.defineProperty(a, "textContent", {
@@ -534,20 +459,16 @@
534
459
  set: function set(a) {
535
460
  if (this.nodeType === Node.TEXT_NODE) c.set.call(this, a);else {
536
461
  var d = void 0;
537
-
538
462
  if (this.firstChild) {
539
463
  var e = this.childNodes,
540
- k = e.length;
541
-
464
+ k = e.length;
542
465
  if (0 < k && l(this)) {
543
466
  d = Array(k);
544
-
545
467
  for (var h = 0; h < k; h++) {
546
468
  d[h] = e[h];
547
469
  }
548
470
  }
549
471
  }
550
-
551
472
  c.set.call(this, a);
552
473
  if (d) for (a = 0; a < d.length; a++) {
553
474
  z(b, d[a]);
@@ -556,7 +477,6 @@
556
477
  }
557
478
  });
558
479
  }
559
-
560
480
  var b = X;
561
481
  r(Node.prototype, "insertBefore", function (a, c) {
562
482
  if (a instanceof DocumentFragment) {
@@ -567,7 +487,6 @@
567
487
  }
568
488
  return a;
569
489
  }
570
-
571
490
  e = l(a);
572
491
  c = J.call(this, a, c);
573
492
  e && z(b, a);
@@ -583,7 +502,6 @@
583
502
  }
584
503
  return a;
585
504
  }
586
-
587
505
  c = l(a);
588
506
  e = I.call(this, a);
589
507
  c && z(b, a);
@@ -597,7 +515,7 @@
597
515
  });
598
516
  r(Node.prototype, "removeChild", function (a) {
599
517
  var c = l(a),
600
- e = K.call(this, a);
518
+ e = K.call(this, a);
601
519
  c && z(b, a);
602
520
  return e;
603
521
  });
@@ -610,10 +528,9 @@
610
528
  }
611
529
  return a;
612
530
  }
613
-
614
531
  e = l(a);
615
532
  var f = L.call(this, a, c),
616
- d = l(this);
533
+ d = l(this);
617
534
  d && z(b, c);
618
535
  e && z(b, a);
619
536
  d && x(b, a);
@@ -628,29 +545,24 @@
628
545
  var f = this.childNodes[b];
629
546
  f.nodeType !== Node.COMMENT_NODE && a.push(f.textContent);
630
547
  }
631
-
632
548
  return a.join("");
633
549
  },
634
550
  set: function set(a) {
635
551
  for (; this.firstChild;) {
636
552
  K.call(this, this.firstChild);
637
553
  }
638
-
639
554
  null != a && "" !== a && I.call(this, document.createTextNode(a));
640
555
  }
641
556
  });
642
557
  });
643
558
  }
644
-
645
559
  function Aa(a) {
646
560
  function b(b) {
647
561
  return function (e) {
648
562
  for (var c = [], d = 0; d < arguments.length; ++d) {
649
563
  c[d] = arguments[d];
650
564
  }
651
-
652
565
  d = [];
653
-
654
566
  for (var k = [], h = 0; h < c.length; h++) {
655
567
  var m = c[h];
656
568
  m instanceof Element && l(m) && k.push(m);
@@ -658,19 +570,15 @@
658
570
  d.push(m);
659
571
  } else d.push(m);
660
572
  }
661
-
662
573
  b.apply(this, c);
663
-
664
574
  for (c = 0; c < k.length; c++) {
665
575
  z(a, k[c]);
666
576
  }
667
-
668
577
  if (l(this)) for (c = 0; c < d.length; c++) {
669
578
  k = d[c], k instanceof Element && x(a, k);
670
579
  }
671
580
  };
672
581
  }
673
-
674
582
  var d = Element.prototype;
675
583
  void 0 !== V && (d.before = b(V));
676
584
  void 0 !== V && (d.after = b(qa));
@@ -678,9 +586,7 @@
678
586
  for (var e = [], c = 0; c < arguments.length; ++c) {
679
587
  e[c] = arguments[c];
680
588
  }
681
-
682
589
  c = [];
683
-
684
590
  for (var d = [], k = 0; k < e.length; k++) {
685
591
  var h = e[k];
686
592
  h instanceof Element && l(h) && d.push(h);
@@ -688,14 +594,11 @@
688
594
  c.push(h);
689
595
  } else c.push(h);
690
596
  }
691
-
692
597
  k = l(this);
693
598
  ra.apply(this, e);
694
-
695
599
  for (e = 0; e < d.length; e++) {
696
600
  z(a, d[e]);
697
601
  }
698
-
699
602
  if (k) for (z(a, this), e = 0; e < c.length; e++) {
700
603
  d = c[e], d instanceof Element && x(a, d);
701
604
  }
@@ -706,7 +609,6 @@
706
609
  b && z(a, this);
707
610
  });
708
611
  }
709
-
710
612
  function Ba() {
711
613
  function a(a, b) {
712
614
  Object.defineProperty(a, "innerHTML", {
@@ -715,7 +617,7 @@
715
617
  get: b.get,
716
618
  set: function set(a) {
717
619
  var e = this,
718
- d = void 0;
620
+ d = void 0;
719
621
  l(this) && (d = [], p(this, function (a) {
720
622
  a !== e && d.push(a);
721
623
  }));
@@ -729,7 +631,6 @@
729
631
  }
730
632
  });
731
633
  }
732
-
733
634
  function b(a, b) {
734
635
  r(a, "insertAdjacentElement", function (a, e) {
735
636
  var d = l(e);
@@ -739,21 +640,17 @@
739
640
  return a;
740
641
  });
741
642
  }
742
-
743
643
  function d(a, b) {
744
644
  function e(a, b) {
745
645
  for (var e = []; a !== b; a = a.nextSibling) {
746
646
  e.push(a);
747
647
  }
748
-
749
648
  for (b = 0; b < e.length; b++) {
750
649
  A(c, e[b]);
751
650
  }
752
651
  }
753
-
754
652
  r(a, "insertAdjacentHTML", function (a, c) {
755
653
  a = a.toLowerCase();
756
-
757
654
  if ("beforebegin" === a) {
758
655
  var d = this.previousSibling;
759
656
  b.call(this, a, c);
@@ -761,20 +658,16 @@
761
658
  } else if ("afterbegin" === a) d = this.firstChild, b.call(this, a, c), e(this.firstChild, d);else if ("beforeend" === a) d = this.lastChild, b.call(this, a, c), e(d || this.firstChild, null);else if ("afterend" === a) d = this.nextSibling, b.call(this, a, c), e(this.nextSibling, d);else throw new SyntaxError("The value provided (" + String(a) + ") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");
762
659
  });
763
660
  }
764
-
765
661
  var c = X;
766
662
  N && r(Element.prototype, "attachShadow", function (a) {
767
663
  a = N.call(this, a);
768
664
  var b = c;
769
-
770
665
  if (b.b && !a.__CE_patched) {
771
666
  a.__CE_patched = !0;
772
-
773
667
  for (var e = 0; e < b.c.length; e++) {
774
668
  b.c[e](a);
775
669
  }
776
670
  }
777
-
778
671
  return this.__CE_shadowRoot = a;
779
672
  });
780
673
  O && O.get ? a(Element.prototype, O) : W && W.get ? a(HTMLElement.prototype, W) : da(c, function (b) {
@@ -786,13 +679,11 @@
786
679
  },
787
680
  set: function set(a) {
788
681
  var b = "template" === this.localName,
789
- c = b ? this.content : this,
790
- e = G.call(document, this.namespaceURI, this.localName);
791
-
682
+ c = b ? this.content : this,
683
+ e = G.call(document, this.namespaceURI, this.localName);
792
684
  for (e.innerHTML = a; 0 < c.childNodes.length;) {
793
685
  K.call(c, c.childNodes[0]);
794
686
  }
795
-
796
687
  for (a = b ? e.content : e; 0 < a.childNodes.length;) {
797
688
  I.call(c, a.childNodes[0]);
798
689
  }
@@ -834,9 +725,7 @@
834
725
  });
835
726
  Aa(c);
836
727
  }
837
-
838
728
  var Z = window.customElements;
839
-
840
729
  if (!Z || Z.forcePolyfill || "function" != typeof Z.define || "function" != typeof Z.get) {
841
730
  var X = new u();
842
731
  xa();
@@ -855,8 +744,8 @@
855
744
  value: customElements
856
745
  });
857
746
  }
858
- }).call(self); // Polyfill document.baseURI
859
-
747
+ }).call(self);
748
+ // Polyfill document.baseURI
860
749
  "string" !== typeof document.baseURI && Object.defineProperty(Document.prototype, "baseURI", {
861
750
  enumerable: !0,
862
751
  configurable: !0,
@@ -864,8 +753,8 @@
864
753
  var a = document.querySelector("base");
865
754
  return a && a.href ? a.href : document.URL;
866
755
  }
867
- }); // Polyfill CustomEvent
868
-
756
+ });
757
+ // Polyfill CustomEvent
869
758
  "function" !== typeof window.CustomEvent && (window.CustomEvent = function (c, a) {
870
759
  a = a || {
871
760
  bubbles: !1,
@@ -875,17 +764,15 @@
875
764
  var b = document.createEvent("CustomEvent");
876
765
  b.initCustomEvent(c, a.bubbles, a.cancelable, a.detail);
877
766
  return b;
878
- }, window.CustomEvent.prototype = window.Event.prototype); // Event.composedPath
879
-
767
+ }, window.CustomEvent.prototype = window.Event.prototype);
768
+ // Event.composedPath
880
769
  (function (b, c, d) {
881
770
  b.composedPath || (b.composedPath = function () {
882
771
  if (this.path) return this.path;
883
772
  var a = this.target;
884
-
885
773
  for (this.path = []; null !== a.parentNode;) {
886
774
  this.path.push(a), a = a.parentNode;
887
775
  }
888
-
889
776
  this.path.push(c, d);
890
777
  return this.path;
891
778
  });
@@ -895,16 +782,12 @@ Element.closest and Element.matches
895
782
  https://github.com/jonathantneal/closest
896
783
  Creative Commons Zero v1.0 Universal
897
784
  */
898
-
899
-
900
785
  (function (a) {
901
786
  "function" !== typeof a.matches && (a.matches = a.msMatchesSelector || a.mozMatchesSelector || a.webkitMatchesSelector || function (a) {
902
787
  a = (this.document || this.ownerDocument).querySelectorAll(a);
903
-
904
788
  for (var b = 0; a[b] && a[b] !== this;) {
905
789
  ++b;
906
790
  }
907
-
908
791
  return !!a[b];
909
792
  });
910
793
  "function" !== typeof a.closest && (a.closest = function (a) {
@@ -912,25 +795,20 @@ Creative Commons Zero v1.0 Universal
912
795
  if (b.matches(a)) return b;
913
796
  b = b.parentNode;
914
797
  }
915
-
916
798
  return null;
917
799
  });
918
800
  })(window.Element.prototype);
919
801
  /*!
920
802
  Element.getRootNode()
921
803
  */
922
-
923
-
924
804
  (function (c) {
925
805
  function d(a) {
926
806
  a = b(a);
927
807
  return a && 11 === a.nodeType ? d(a.host) : a;
928
808
  }
929
-
930
809
  function b(a) {
931
810
  return a && a.parentNode ? b(a.parentNode) : a;
932
811
  }
933
-
934
812
  "function" !== typeof c.getRootNode && (c.getRootNode = function (a) {
935
813
  return a && a.composed ? d(this) : b(this);
936
814
  });
@@ -938,8 +816,6 @@ Element.getRootNode()
938
816
  /*!
939
817
  Element.isConnected()
940
818
  */
941
-
942
-
943
819
  (function (a) {
944
820
  "isConnected" in a || Object.defineProperty(a, "isConnected", {
945
821
  configurable: !0,
@@ -955,8 +831,6 @@ Element.isConnected()
955
831
  /*!
956
832
  Element.remove()
957
833
  */
958
-
959
-
960
834
  (function (b) {
961
835
  b.forEach(function (a) {
962
836
  a.hasOwnProperty("remove") || Object.defineProperty(a, "remove", {
@@ -972,31 +846,25 @@ Element.remove()
972
846
  /*!
973
847
  Element.classList
974
848
  */
975
-
976
-
977
849
  !function (e) {
978
850
  'classList' in e || Object.defineProperty(e, "classList", {
979
851
  get: function get() {
980
852
  var e = this,
981
- t = (e.getAttribute("class") || "").replace(/^\s+|\s$/g, "").split(/\s+/g);
982
-
853
+ t = (e.getAttribute("class") || "").replace(/^\s+|\s$/g, "").split(/\s+/g);
983
854
  function n() {
984
855
  t.length > 0 ? e.setAttribute("class", t.join(" ")) : e.removeAttribute("class");
985
856
  }
986
-
987
857
  return "" === t[0] && t.splice(0, 1), t.toggle = function (e, i) {
988
858
  void 0 !== i ? i ? t.add(e) : t.remove(e) : -1 !== t.indexOf(e) ? t.splice(t.indexOf(e), 1) : t.push(e), n();
989
859
  }, t.add = function () {
990
860
  for (var e = [].slice.call(arguments), i = 0, s = e.length; i < s; i++) {
991
861
  -1 === t.indexOf(e[i]) && t.push(e[i]);
992
862
  }
993
-
994
863
  n();
995
864
  }, t.remove = function () {
996
865
  for (var e = [].slice.call(arguments), i = 0, s = e.length; i < s; i++) {
997
866
  -1 !== t.indexOf(e[i]) && t.splice(t.indexOf(e[i]), 1);
998
867
  }
999
-
1000
868
  n();
1001
869
  }, t.item = function (e) {
1002
870
  return t[e];
@@ -1011,20 +879,17 @@ Element.classList
1011
879
  /*!
1012
880
  DOMTokenList
1013
881
  */
1014
-
1015
882
  (function (b) {
1016
883
  try {
1017
884
  document.body.classList.add();
1018
885
  } catch (e) {
1019
886
  var c = b.add,
1020
- d = b.remove;
1021
-
887
+ d = b.remove;
1022
888
  b.add = function () {
1023
889
  for (var a = 0; a < arguments.length; a++) {
1024
890
  c.call(this, arguments[a]);
1025
891
  }
1026
892
  };
1027
-
1028
893
  b.remove = function () {
1029
894
  for (var a = 0; a < arguments.length; a++) {
1030
895
  d.call(this, arguments[a]);
@@ -1054,41 +919,32 @@ DOMTokenList
1054
919
  'use strict';
1055
920
 
1056
921
  var aa = new Set("annotation-xml color-profile font-face font-face-src font-face-uri font-face-format font-face-name missing-glyph".split(" "));
1057
-
1058
922
  function g(a) {
1059
923
  var b = aa.has(a);
1060
924
  a = /^[a-z][.0-9_a-z]*-[\-.0-9_a-z]*$/.test(a);
1061
925
  return !b && a;
1062
926
  }
1063
-
1064
927
  function l(a) {
1065
928
  var b = a.isConnected;
1066
929
  if (void 0 !== b) return b;
1067
-
1068
930
  for (; a && !(a.__CE_isImportDocument || a instanceof Document);) {
1069
931
  a = a.parentNode || (window.ShadowRoot && a instanceof ShadowRoot ? a.host : void 0);
1070
932
  }
1071
-
1072
933
  return !(!a || !(a.__CE_isImportDocument || a instanceof Document));
1073
934
  }
1074
-
1075
935
  function n(a, b) {
1076
936
  for (; b && b !== a && !b.nextSibling;) {
1077
937
  b = b.parentNode;
1078
938
  }
1079
-
1080
939
  return b && b !== a ? b.nextSibling : null;
1081
940
  }
1082
-
1083
941
  function p(a, b, d) {
1084
942
  d = void 0 === d ? new Set() : d;
1085
-
1086
943
  for (var c = a; c;) {
1087
944
  if (c.nodeType === Node.ELEMENT_NODE) {
1088
945
  var e = c;
1089
946
  b(e);
1090
947
  var f = e.localName;
1091
-
1092
948
  if ("link" === f && "import" === e.getAttribute("rel")) {
1093
949
  c = e["import"];
1094
950
  if (c instanceof Node && !d.has(c)) for (d.add(c), c = c.firstChild; c; c = c.nextSibling) {
@@ -1100,22 +956,17 @@ DOMTokenList
1100
956
  c = n(a, e);
1101
957
  continue;
1102
958
  }
1103
-
1104
959
  if (e = e.__CE_shadowRoot) for (e = e.firstChild; e; e = e.nextSibling) {
1105
960
  p(e, b, d);
1106
961
  }
1107
962
  }
1108
-
1109
963
  c = c.firstChild ? c.firstChild : n(a, c);
1110
964
  }
1111
965
  }
1112
-
1113
966
  function r(a, b, d) {
1114
967
  a[b] = d;
1115
968
  }
1116
-
1117
969
  ;
1118
-
1119
970
  function u() {
1120
971
  this.a = new Map();
1121
972
  this.g = new Map();
@@ -1123,82 +974,67 @@ DOMTokenList
1123
974
  this.f = [];
1124
975
  this.b = !1;
1125
976
  }
1126
-
1127
977
  function ba(a, b, d) {
1128
978
  a.a.set(b, d);
1129
979
  a.g.set(d.constructorFunction, d);
1130
980
  }
1131
-
1132
981
  function ca(a, b) {
1133
982
  a.b = !0;
1134
983
  a.c.push(b);
1135
984
  }
1136
-
1137
985
  function da(a, b) {
1138
986
  a.b = !0;
1139
987
  a.f.push(b);
1140
988
  }
1141
-
1142
989
  function v(a, b) {
1143
990
  a.b && p(b, function (b) {
1144
991
  return w(a, b);
1145
992
  });
1146
993
  }
1147
-
1148
994
  function w(a, b) {
1149
995
  if (a.b && !b.__CE_patched) {
1150
996
  b.__CE_patched = !0;
1151
-
1152
997
  for (var d = 0; d < a.c.length; d++) {
1153
998
  a.c[d](b);
1154
999
  }
1155
-
1156
1000
  for (d = 0; d < a.f.length; d++) {
1157
1001
  a.f[d](b);
1158
1002
  }
1159
1003
  }
1160
1004
  }
1161
-
1162
1005
  function x(a, b) {
1163
1006
  var d = [];
1164
1007
  p(b, function (b) {
1165
1008
  return d.push(b);
1166
1009
  });
1167
-
1168
1010
  for (b = 0; b < d.length; b++) {
1169
1011
  var c = d[b];
1170
1012
  1 === c.__CE_state ? a.connectedCallback(c) : y(a, c);
1171
1013
  }
1172
1014
  }
1173
-
1174
1015
  function z(a, b) {
1175
1016
  var d = [];
1176
1017
  p(b, function (b) {
1177
1018
  return d.push(b);
1178
1019
  });
1179
-
1180
1020
  for (b = 0; b < d.length; b++) {
1181
1021
  var c = d[b];
1182
1022
  1 === c.__CE_state && a.disconnectedCallback(c);
1183
1023
  }
1184
1024
  }
1185
-
1186
1025
  function A(a, b, d) {
1187
1026
  d = void 0 === d ? {} : d;
1188
-
1189
1027
  var c = d.u || new Set(),
1190
- e = d.i || function (b) {
1191
- return y(a, b);
1192
- },
1193
- f = [];
1194
-
1028
+ e = d.i || function (b) {
1029
+ return y(a, b);
1030
+ },
1031
+ f = [];
1195
1032
  p(b, function (b) {
1196
1033
  if ("link" === b.localName && "import" === b.getAttribute("rel")) {
1197
1034
  var d = b["import"];
1198
1035
  d instanceof Node && (d.__CE_isImportDocument = !0, d.__CE_hasRegistry = !0);
1199
1036
  d && "complete" === d.readyState ? d.__CE_documentLoadHandled = !0 : b.addEventListener("load", function () {
1200
1037
  var d = b["import"];
1201
-
1202
1038
  if (!d.__CE_documentLoadHandled) {
1203
1039
  d.__CE_documentLoadHandled = !0;
1204
1040
  var f = new Set(c);
@@ -1214,19 +1050,16 @@ DOMTokenList
1214
1050
  if (a.b) for (b = 0; b < f.length; b++) {
1215
1051
  w(a, f[b]);
1216
1052
  }
1217
-
1218
1053
  for (b = 0; b < f.length; b++) {
1219
1054
  e(f[b]);
1220
1055
  }
1221
1056
  }
1222
-
1223
1057
  function y(a, b) {
1224
1058
  if (void 0 === b.__CE_state) {
1225
1059
  var d = b.ownerDocument;
1226
1060
  if (d.defaultView || d.__CE_isImportDocument && d.__CE_hasRegistry) if (d = a.a.get(b.localName)) {
1227
1061
  d.constructionStack.push(b);
1228
1062
  var c = d.constructorFunction;
1229
-
1230
1063
  try {
1231
1064
  try {
1232
1065
  if (new c() !== b) throw Error("The custom element constructor did not produce the element being upgraded.");
@@ -1236,34 +1069,29 @@ DOMTokenList
1236
1069
  } catch (t) {
1237
1070
  throw b.__CE_state = 2, t;
1238
1071
  }
1239
-
1240
1072
  b.__CE_state = 1;
1241
1073
  b.__CE_definition = d;
1242
1074
  if (d.attributeChangedCallback) for (d = d.observedAttributes, c = 0; c < d.length; c++) {
1243
1075
  var e = d[c],
1244
- f = b.getAttribute(e);
1076
+ f = b.getAttribute(e);
1245
1077
  null !== f && a.attributeChangedCallback(b, e, null, f, null);
1246
1078
  }
1247
1079
  l(b) && a.connectedCallback(b);
1248
1080
  }
1249
1081
  }
1250
1082
  }
1251
-
1252
1083
  u.prototype.connectedCallback = function (a) {
1253
1084
  var b = a.__CE_definition;
1254
1085
  b.connectedCallback && b.connectedCallback.call(a);
1255
1086
  };
1256
-
1257
1087
  u.prototype.disconnectedCallback = function (a) {
1258
1088
  var b = a.__CE_definition;
1259
1089
  b.disconnectedCallback && b.disconnectedCallback.call(a);
1260
1090
  };
1261
-
1262
1091
  u.prototype.attributeChangedCallback = function (a, b, d, c, e) {
1263
1092
  var f = a.__CE_definition;
1264
1093
  f.attributeChangedCallback && -1 < f.observedAttributes.indexOf(b) && f.attributeChangedCallback.call(a, b, d, c, e);
1265
1094
  };
1266
-
1267
1095
  function B(a) {
1268
1096
  var b = document;
1269
1097
  this.c = a;
@@ -1275,22 +1103,18 @@ DOMTokenList
1275
1103
  subtree: !0
1276
1104
  }));
1277
1105
  }
1278
-
1279
1106
  function C(a) {
1280
1107
  a.b && a.b.disconnect();
1281
1108
  }
1282
-
1283
1109
  B.prototype.f = function (a) {
1284
1110
  var b = this.a.readyState;
1285
1111
  "interactive" !== b && "complete" !== b || C(this);
1286
-
1287
1112
  for (b = 0; b < a.length; b++) {
1288
1113
  for (var d = a[b].addedNodes, c = 0; c < d.length; c++) {
1289
1114
  A(this.c, d[c]);
1290
1115
  }
1291
1116
  }
1292
1117
  };
1293
-
1294
1118
  function ea() {
1295
1119
  var a = this;
1296
1120
  this.b = this.a = void 0;
@@ -1299,29 +1123,23 @@ DOMTokenList
1299
1123
  a.a && b(a.a);
1300
1124
  });
1301
1125
  }
1302
-
1303
1126
  function D(a) {
1304
1127
  if (a.a) throw Error("Already resolved.");
1305
1128
  a.a = void 0;
1306
1129
  a.b && a.b(void 0);
1307
1130
  }
1308
-
1309
1131
  ;
1310
-
1311
1132
  function E(a) {
1312
1133
  this.c = !1;
1313
1134
  this.a = a;
1314
1135
  this.j = new Map();
1315
-
1316
1136
  this.f = function (b) {
1317
1137
  return b();
1318
1138
  };
1319
-
1320
1139
  this.b = !1;
1321
1140
  this.g = [];
1322
1141
  this.o = new B(a);
1323
1142
  }
1324
-
1325
1143
  E.prototype.l = function (a, b) {
1326
1144
  var d = this;
1327
1145
  if (!(b instanceof Function)) throw new TypeError("Custom element constructors must be functions.");
@@ -1329,15 +1147,13 @@ DOMTokenList
1329
1147
  if (this.a.a.get(a)) throw Error("A custom element with name '" + a + "' has already been defined.");
1330
1148
  if (this.c) throw Error("A custom element is already being defined.");
1331
1149
  this.c = !0;
1332
-
1333
1150
  try {
1334
1151
  var c = function c(b) {
1335
- var a = e[b];
1336
- if (void 0 !== a && !(a instanceof Function)) throw Error("The '" + b + "' callback must be a function.");
1337
- return a;
1338
- },
1339
- e = b.prototype;
1340
-
1152
+ var a = e[b];
1153
+ if (void 0 !== a && !(a instanceof Function)) throw Error("The '" + b + "' callback must be a function.");
1154
+ return a;
1155
+ },
1156
+ e = b.prototype;
1341
1157
  if (!(e instanceof Object)) throw new TypeError("The custom element constructor's prototype is not an object.");
1342
1158
  var f = c("connectedCallback");
1343
1159
  var t = c("disconnectedCallback");
@@ -1349,7 +1165,6 @@ DOMTokenList
1349
1165
  } finally {
1350
1166
  this.c = !1;
1351
1167
  }
1352
-
1353
1168
  b = {
1354
1169
  localName: a,
1355
1170
  constructorFunction: b,
@@ -1366,51 +1181,41 @@ DOMTokenList
1366
1181
  return fa(d);
1367
1182
  }));
1368
1183
  };
1369
-
1370
1184
  E.prototype.i = function (a) {
1371
1185
  A(this.a, a);
1372
1186
  };
1373
-
1374
1187
  function fa(a) {
1375
1188
  if (!1 !== a.b) {
1376
1189
  a.b = !1;
1377
-
1378
1190
  for (var b = a.g, d = [], c = new Map(), e = 0; e < b.length; e++) {
1379
1191
  c.set(b[e].localName, []);
1380
1192
  }
1381
-
1382
1193
  A(a.a, document, {
1383
1194
  i: function i(b) {
1384
1195
  if (void 0 === b.__CE_state) {
1385
1196
  var e = b.localName,
1386
- f = c.get(e);
1197
+ f = c.get(e);
1387
1198
  f ? f.push(b) : a.a.a.get(e) && d.push(b);
1388
1199
  }
1389
1200
  }
1390
1201
  });
1391
-
1392
1202
  for (e = 0; e < d.length; e++) {
1393
1203
  y(a.a, d[e]);
1394
1204
  }
1395
-
1396
1205
  for (; 0 < b.length;) {
1397
1206
  var f = b.shift();
1398
1207
  e = f.localName;
1399
1208
  f = c.get(f.localName);
1400
-
1401
1209
  for (var t = 0; t < f.length; t++) {
1402
1210
  y(a.a, f[t]);
1403
1211
  }
1404
-
1405
1212
  (e = a.j.get(e)) && D(e);
1406
1213
  }
1407
1214
  }
1408
1215
  }
1409
-
1410
1216
  E.prototype.get = function (a) {
1411
1217
  if (a = this.a.a.get(a)) return a.constructorFunction;
1412
1218
  };
1413
-
1414
1219
  E.prototype.m = function (a) {
1415
1220
  if (!g(a)) return Promise.reject(new SyntaxError("'" + a + "' is not a valid custom element name."));
1416
1221
  var b = this.j.get(a);
@@ -1422,18 +1227,15 @@ DOMTokenList
1422
1227
  }) && D(b);
1423
1228
  return b.c;
1424
1229
  };
1425
-
1426
1230
  E.prototype.s = function (a) {
1427
1231
  C(this.o);
1428
1232
  var b = this.f;
1429
-
1430
1233
  this.f = function (d) {
1431
1234
  return a(function () {
1432
1235
  return b(d);
1433
1236
  });
1434
1237
  };
1435
1238
  };
1436
-
1437
1239
  window.CustomElementRegistry = E;
1438
1240
  E.prototype.define = E.prototype.l;
1439
1241
  E.prototype.upgrade = E.prototype.i;
@@ -1441,47 +1243,45 @@ DOMTokenList
1441
1243
  E.prototype.whenDefined = E.prototype.m;
1442
1244
  E.prototype.polyfillWrapFlushCallback = E.prototype.s;
1443
1245
  var F = window.Document.prototype.createElement,
1444
- G = window.Document.prototype.createElementNS,
1445
- ha = window.Document.prototype.importNode,
1446
- ia = window.Document.prototype.prepend,
1447
- ja = window.Document.prototype.append,
1448
- ka = window.DocumentFragment.prototype.prepend,
1449
- la = window.DocumentFragment.prototype.append,
1450
- H = window.Node.prototype.cloneNode,
1451
- I = window.Node.prototype.appendChild,
1452
- J = window.Node.prototype.insertBefore,
1453
- K = window.Node.prototype.removeChild,
1454
- L = window.Node.prototype.replaceChild,
1455
- M = Object.getOwnPropertyDescriptor(window.Node.prototype, "textContent"),
1456
- N = window.Element.prototype.attachShadow,
1457
- O = Object.getOwnPropertyDescriptor(window.Element.prototype, "innerHTML"),
1458
- P = window.Element.prototype.getAttribute,
1459
- Q = window.Element.prototype.setAttribute,
1460
- R = window.Element.prototype.removeAttribute,
1461
- S = window.Element.prototype.getAttributeNS,
1462
- T = window.Element.prototype.setAttributeNS,
1463
- U = window.Element.prototype.removeAttributeNS,
1464
- ma = window.Element.prototype.insertAdjacentElement,
1465
- na = window.Element.prototype.insertAdjacentHTML,
1466
- oa = window.Element.prototype.prepend,
1467
- pa = window.Element.prototype.append,
1468
- V = window.Element.prototype.before,
1469
- qa = window.Element.prototype.after,
1470
- ra = window.Element.prototype.replaceWith,
1471
- sa = window.Element.prototype.remove,
1472
- ta = window.HTMLElement,
1473
- W = Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, "innerHTML"),
1474
- ua = window.HTMLElement.prototype.insertAdjacentElement,
1475
- va = window.HTMLElement.prototype.insertAdjacentHTML;
1246
+ G = window.Document.prototype.createElementNS,
1247
+ ha = window.Document.prototype.importNode,
1248
+ ia = window.Document.prototype.prepend,
1249
+ ja = window.Document.prototype.append,
1250
+ ka = window.DocumentFragment.prototype.prepend,
1251
+ la = window.DocumentFragment.prototype.append,
1252
+ H = window.Node.prototype.cloneNode,
1253
+ I = window.Node.prototype.appendChild,
1254
+ J = window.Node.prototype.insertBefore,
1255
+ K = window.Node.prototype.removeChild,
1256
+ L = window.Node.prototype.replaceChild,
1257
+ M = Object.getOwnPropertyDescriptor(window.Node.prototype, "textContent"),
1258
+ N = window.Element.prototype.attachShadow,
1259
+ O = Object.getOwnPropertyDescriptor(window.Element.prototype, "innerHTML"),
1260
+ P = window.Element.prototype.getAttribute,
1261
+ Q = window.Element.prototype.setAttribute,
1262
+ R = window.Element.prototype.removeAttribute,
1263
+ S = window.Element.prototype.getAttributeNS,
1264
+ T = window.Element.prototype.setAttributeNS,
1265
+ U = window.Element.prototype.removeAttributeNS,
1266
+ ma = window.Element.prototype.insertAdjacentElement,
1267
+ na = window.Element.prototype.insertAdjacentHTML,
1268
+ oa = window.Element.prototype.prepend,
1269
+ pa = window.Element.prototype.append,
1270
+ V = window.Element.prototype.before,
1271
+ qa = window.Element.prototype.after,
1272
+ ra = window.Element.prototype.replaceWith,
1273
+ sa = window.Element.prototype.remove,
1274
+ ta = window.HTMLElement,
1275
+ W = Object.getOwnPropertyDescriptor(window.HTMLElement.prototype, "innerHTML"),
1276
+ ua = window.HTMLElement.prototype.insertAdjacentElement,
1277
+ va = window.HTMLElement.prototype.insertAdjacentHTML;
1476
1278
  var wa = new function () {}();
1477
-
1478
1279
  function xa() {
1479
1280
  var a = X;
1480
-
1481
1281
  window.HTMLElement = function () {
1482
1282
  function b() {
1483
1283
  var b = this.constructor,
1484
- c = a.g.get(b);
1284
+ c = a.g.get(b);
1485
1285
  if (!c) throw Error("The custom element being constructed was not registered with `customElements`.");
1486
1286
  var e = c.constructionStack;
1487
1287
  if (0 === e.length) return e = F.call(document, c.localName), Object.setPrototypeOf(e, b.prototype), e.__CE_state = 1, e.__CE_definition = c, w(a, e), e;
@@ -1493,7 +1293,6 @@ DOMTokenList
1493
1293
  w(a, f);
1494
1294
  return f;
1495
1295
  }
1496
-
1497
1296
  b.prototype = ta.prototype;
1498
1297
  Object.defineProperty(b.prototype, "constructor", {
1499
1298
  writable: !0,
@@ -1504,18 +1303,14 @@ DOMTokenList
1504
1303
  return b;
1505
1304
  }();
1506
1305
  }
1507
-
1508
1306
  ;
1509
-
1510
1307
  function Y(a, b, d) {
1511
1308
  function c(b) {
1512
1309
  return function (d) {
1513
1310
  for (var e = [], c = 0; c < arguments.length; ++c) {
1514
1311
  e[c] = arguments[c];
1515
1312
  }
1516
-
1517
1313
  c = [];
1518
-
1519
1314
  for (var f = [], m = 0; m < e.length; m++) {
1520
1315
  var q = e[m];
1521
1316
  q instanceof Element && l(q) && f.push(q);
@@ -1523,25 +1318,19 @@ DOMTokenList
1523
1318
  c.push(q);
1524
1319
  } else c.push(q);
1525
1320
  }
1526
-
1527
1321
  b.apply(this, e);
1528
-
1529
1322
  for (e = 0; e < f.length; e++) {
1530
1323
  z(a, f[e]);
1531
1324
  }
1532
-
1533
1325
  if (l(this)) for (e = 0; e < c.length; e++) {
1534
1326
  f = c[e], f instanceof Element && x(a, f);
1535
1327
  }
1536
1328
  };
1537
1329
  }
1538
-
1539
1330
  void 0 !== d.h && (b.prepend = c(d.h));
1540
1331
  void 0 !== d.append && (b.append = c(d.append));
1541
1332
  }
1542
-
1543
1333
  ;
1544
-
1545
1334
  function ya() {
1546
1335
  var a = X;
1547
1336
  r(Document.prototype, "createElement", function (b) {
@@ -1549,7 +1338,6 @@ DOMTokenList
1549
1338
  var d = a.a.get(b);
1550
1339
  if (d) return new d.constructorFunction();
1551
1340
  }
1552
-
1553
1341
  b = F.call(this, b);
1554
1342
  w(a, b);
1555
1343
  return b;
@@ -1564,7 +1352,6 @@ DOMTokenList
1564
1352
  var c = a.a.get(d);
1565
1353
  if (c) return new c.constructorFunction();
1566
1354
  }
1567
-
1568
1355
  b = G.call(this, b, d);
1569
1356
  w(a, b);
1570
1357
  return b;
@@ -1574,9 +1361,7 @@ DOMTokenList
1574
1361
  append: ja
1575
1362
  });
1576
1363
  }
1577
-
1578
1364
  ;
1579
-
1580
1365
  function za() {
1581
1366
  function a(a, c) {
1582
1367
  Object.defineProperty(a, "textContent", {
@@ -1586,20 +1371,16 @@ DOMTokenList
1586
1371
  set: function set(a) {
1587
1372
  if (this.nodeType === Node.TEXT_NODE) c.set.call(this, a);else {
1588
1373
  var d = void 0;
1589
-
1590
1374
  if (this.firstChild) {
1591
1375
  var e = this.childNodes,
1592
- k = e.length;
1593
-
1376
+ k = e.length;
1594
1377
  if (0 < k && l(this)) {
1595
1378
  d = Array(k);
1596
-
1597
1379
  for (var h = 0; h < k; h++) {
1598
1380
  d[h] = e[h];
1599
1381
  }
1600
1382
  }
1601
1383
  }
1602
-
1603
1384
  c.set.call(this, a);
1604
1385
  if (d) for (a = 0; a < d.length; a++) {
1605
1386
  z(b, d[a]);
@@ -1608,7 +1389,6 @@ DOMTokenList
1608
1389
  }
1609
1390
  });
1610
1391
  }
1611
-
1612
1392
  var b = X;
1613
1393
  r(Node.prototype, "insertBefore", function (a, c) {
1614
1394
  if (a instanceof DocumentFragment) {
@@ -1619,7 +1399,6 @@ DOMTokenList
1619
1399
  }
1620
1400
  return a;
1621
1401
  }
1622
-
1623
1402
  e = l(a);
1624
1403
  c = J.call(this, a, c);
1625
1404
  e && z(b, a);
@@ -1635,7 +1414,6 @@ DOMTokenList
1635
1414
  }
1636
1415
  return a;
1637
1416
  }
1638
-
1639
1417
  c = l(a);
1640
1418
  e = I.call(this, a);
1641
1419
  c && z(b, a);
@@ -1649,7 +1427,7 @@ DOMTokenList
1649
1427
  });
1650
1428
  r(Node.prototype, "removeChild", function (a) {
1651
1429
  var c = l(a),
1652
- e = K.call(this, a);
1430
+ e = K.call(this, a);
1653
1431
  c && z(b, a);
1654
1432
  return e;
1655
1433
  });
@@ -1662,10 +1440,9 @@ DOMTokenList
1662
1440
  }
1663
1441
  return a;
1664
1442
  }
1665
-
1666
1443
  e = l(a);
1667
1444
  var f = L.call(this, a, c),
1668
- d = l(this);
1445
+ d = l(this);
1669
1446
  d && z(b, c);
1670
1447
  e && z(b, a);
1671
1448
  d && x(b, a);
@@ -1680,31 +1457,25 @@ DOMTokenList
1680
1457
  var f = this.childNodes[b];
1681
1458
  f.nodeType !== Node.COMMENT_NODE && a.push(f.textContent);
1682
1459
  }
1683
-
1684
1460
  return a.join("");
1685
1461
  },
1686
1462
  set: function set(a) {
1687
1463
  for (; this.firstChild;) {
1688
1464
  K.call(this, this.firstChild);
1689
1465
  }
1690
-
1691
1466
  null != a && "" !== a && I.call(this, document.createTextNode(a));
1692
1467
  }
1693
1468
  });
1694
1469
  });
1695
1470
  }
1696
-
1697
1471
  ;
1698
-
1699
1472
  function Aa(a) {
1700
1473
  function b(b) {
1701
1474
  return function (e) {
1702
1475
  for (var c = [], d = 0; d < arguments.length; ++d) {
1703
1476
  c[d] = arguments[d];
1704
1477
  }
1705
-
1706
1478
  d = [];
1707
-
1708
1479
  for (var k = [], h = 0; h < c.length; h++) {
1709
1480
  var m = c[h];
1710
1481
  m instanceof Element && l(m) && k.push(m);
@@ -1712,19 +1483,15 @@ DOMTokenList
1712
1483
  d.push(m);
1713
1484
  } else d.push(m);
1714
1485
  }
1715
-
1716
1486
  b.apply(this, c);
1717
-
1718
1487
  for (c = 0; c < k.length; c++) {
1719
1488
  z(a, k[c]);
1720
1489
  }
1721
-
1722
1490
  if (l(this)) for (c = 0; c < d.length; c++) {
1723
1491
  k = d[c], k instanceof Element && x(a, k);
1724
1492
  }
1725
1493
  };
1726
1494
  }
1727
-
1728
1495
  var d = Element.prototype;
1729
1496
  void 0 !== V && (d.before = b(V));
1730
1497
  void 0 !== V && (d.after = b(qa));
@@ -1732,9 +1499,7 @@ DOMTokenList
1732
1499
  for (var e = [], c = 0; c < arguments.length; ++c) {
1733
1500
  e[c] = arguments[c];
1734
1501
  }
1735
-
1736
1502
  c = [];
1737
-
1738
1503
  for (var d = [], k = 0; k < e.length; k++) {
1739
1504
  var h = e[k];
1740
1505
  h instanceof Element && l(h) && d.push(h);
@@ -1742,14 +1507,11 @@ DOMTokenList
1742
1507
  c.push(h);
1743
1508
  } else c.push(h);
1744
1509
  }
1745
-
1746
1510
  k = l(this);
1747
1511
  ra.apply(this, e);
1748
-
1749
1512
  for (e = 0; e < d.length; e++) {
1750
1513
  z(a, d[e]);
1751
1514
  }
1752
-
1753
1515
  if (k) for (z(a, this), e = 0; e < c.length; e++) {
1754
1516
  d = c[e], d instanceof Element && x(a, d);
1755
1517
  }
@@ -1760,9 +1522,7 @@ DOMTokenList
1760
1522
  b && z(a, this);
1761
1523
  });
1762
1524
  }
1763
-
1764
1525
  ;
1765
-
1766
1526
  function Ba() {
1767
1527
  function a(a, b) {
1768
1528
  Object.defineProperty(a, "innerHTML", {
@@ -1771,7 +1531,7 @@ DOMTokenList
1771
1531
  get: b.get,
1772
1532
  set: function set(a) {
1773
1533
  var e = this,
1774
- d = void 0;
1534
+ d = void 0;
1775
1535
  l(this) && (d = [], p(this, function (a) {
1776
1536
  a !== e && d.push(a);
1777
1537
  }));
@@ -1785,7 +1545,6 @@ DOMTokenList
1785
1545
  }
1786
1546
  });
1787
1547
  }
1788
-
1789
1548
  function b(a, b) {
1790
1549
  r(a, "insertAdjacentElement", function (a, e) {
1791
1550
  var d = l(e);
@@ -1795,21 +1554,17 @@ DOMTokenList
1795
1554
  return a;
1796
1555
  });
1797
1556
  }
1798
-
1799
1557
  function d(a, b) {
1800
1558
  function e(a, b) {
1801
1559
  for (var e = []; a !== b; a = a.nextSibling) {
1802
1560
  e.push(a);
1803
1561
  }
1804
-
1805
1562
  for (b = 0; b < e.length; b++) {
1806
1563
  A(c, e[b]);
1807
1564
  }
1808
1565
  }
1809
-
1810
1566
  r(a, "insertAdjacentHTML", function (a, c) {
1811
1567
  a = a.toLowerCase();
1812
-
1813
1568
  if ("beforebegin" === a) {
1814
1569
  var d = this.previousSibling;
1815
1570
  b.call(this, a, c);
@@ -1817,20 +1572,16 @@ DOMTokenList
1817
1572
  } else if ("afterbegin" === a) d = this.firstChild, b.call(this, a, c), e(this.firstChild, d);else if ("beforeend" === a) d = this.lastChild, b.call(this, a, c), e(d || this.firstChild, null);else if ("afterend" === a) d = this.nextSibling, b.call(this, a, c), e(this.nextSibling, d);else throw new SyntaxError("The value provided (" + String(a) + ") is not one of 'beforebegin', 'afterbegin', 'beforeend', or 'afterend'.");
1818
1573
  });
1819
1574
  }
1820
-
1821
1575
  var c = X;
1822
1576
  N && r(Element.prototype, "attachShadow", function (a) {
1823
1577
  a = N.call(this, a);
1824
1578
  var b = c;
1825
-
1826
1579
  if (b.b && !a.__CE_patched) {
1827
1580
  a.__CE_patched = !0;
1828
-
1829
1581
  for (var e = 0; e < b.c.length; e++) {
1830
1582
  b.c[e](a);
1831
1583
  }
1832
1584
  }
1833
-
1834
1585
  return this.__CE_shadowRoot = a;
1835
1586
  });
1836
1587
  O && O.get ? a(Element.prototype, O) : W && W.get ? a(HTMLElement.prototype, W) : da(c, function (b) {
@@ -1842,13 +1593,11 @@ DOMTokenList
1842
1593
  },
1843
1594
  set: function set(a) {
1844
1595
  var b = "template" === this.localName,
1845
- c = b ? this.content : this,
1846
- e = G.call(document, this.namespaceURI, this.localName);
1847
-
1596
+ c = b ? this.content : this,
1597
+ e = G.call(document, this.namespaceURI, this.localName);
1848
1598
  for (e.innerHTML = a; 0 < c.childNodes.length;) {
1849
1599
  K.call(c, c.childNodes[0]);
1850
1600
  }
1851
-
1852
1601
  for (a = b ? e.content : e; 0 < a.childNodes.length;) {
1853
1602
  I.call(c, a.childNodes[0]);
1854
1603
  }
@@ -1890,10 +1639,8 @@ DOMTokenList
1890
1639
  });
1891
1640
  Aa(c);
1892
1641
  }
1893
-
1894
1642
  ;
1895
1643
  var Z = window.customElements;
1896
-
1897
1644
  if (!Z || Z.forcePolyfill || "function" != typeof Z.define || "function" != typeof Z.get) {
1898
1645
  var X = new u();
1899
1646
  xa();
@@ -1912,10 +1659,10 @@ DOMTokenList
1912
1659
  value: customElements
1913
1660
  });
1914
1661
  }
1915
-
1916
1662
  ;
1917
- }).call(self); // Polyfill document.baseURI
1663
+ }).call(self);
1918
1664
 
1665
+ // Polyfill document.baseURI
1919
1666
  "string" !== typeof document.baseURI && Object.defineProperty(Document.prototype, "baseURI", {
1920
1667
  enumerable: !0,
1921
1668
  configurable: !0,
@@ -1923,8 +1670,9 @@ DOMTokenList
1923
1670
  var a = document.querySelector("base");
1924
1671
  return a && a.href ? a.href : document.URL;
1925
1672
  }
1926
- }); // Polyfill CustomEvent
1673
+ });
1927
1674
 
1675
+ // Polyfill CustomEvent
1928
1676
  "function" !== typeof window.CustomEvent && (window.CustomEvent = function (c, a) {
1929
1677
  a = a || {
1930
1678
  bubbles: !1,
@@ -1934,36 +1682,32 @@ DOMTokenList
1934
1682
  var b = document.createEvent("CustomEvent");
1935
1683
  b.initCustomEvent(c, a.bubbles, a.cancelable, a.detail);
1936
1684
  return b;
1937
- }, window.CustomEvent.prototype = window.Event.prototype); // Event.composedPath
1685
+ }, window.CustomEvent.prototype = window.Event.prototype);
1938
1686
 
1687
+ // Event.composedPath
1939
1688
  (function (b, c, d) {
1940
1689
  b.composedPath || (b.composedPath = function () {
1941
1690
  if (this.path) return this.path;
1942
1691
  var a = this.target;
1943
-
1944
1692
  for (this.path = []; null !== a.parentNode;) {
1945
1693
  this.path.push(a), a = a.parentNode;
1946
1694
  }
1947
-
1948
1695
  this.path.push(c, d);
1949
1696
  return this.path;
1950
1697
  });
1951
1698
  })(Event.prototype, document, window);
1699
+
1952
1700
  /*!
1953
1701
  Element.closest and Element.matches
1954
1702
  https://github.com/jonathantneal/closest
1955
1703
  Creative Commons Zero v1.0 Universal
1956
1704
  */
1957
-
1958
-
1959
1705
  (function (a) {
1960
1706
  "function" !== typeof a.matches && (a.matches = a.msMatchesSelector || a.mozMatchesSelector || a.webkitMatchesSelector || function (a) {
1961
1707
  a = (this.document || this.ownerDocument).querySelectorAll(a);
1962
-
1963
1708
  for (var b = 0; a[b] && a[b] !== this;) {
1964
1709
  ++b;
1965
1710
  }
1966
-
1967
1711
  return !!a[b];
1968
1712
  });
1969
1713
  "function" !== typeof a.closest && (a.closest = function (a) {
@@ -1971,34 +1715,29 @@ Creative Commons Zero v1.0 Universal
1971
1715
  if (b.matches(a)) return b;
1972
1716
  b = b.parentNode;
1973
1717
  }
1974
-
1975
1718
  return null;
1976
1719
  });
1977
1720
  })(window.Element.prototype);
1721
+
1978
1722
  /*!
1979
1723
  Element.getRootNode()
1980
1724
  */
1981
-
1982
-
1983
1725
  (function (c) {
1984
1726
  function d(a) {
1985
1727
  a = b(a);
1986
1728
  return a && 11 === a.nodeType ? d(a.host) : a;
1987
1729
  }
1988
-
1989
1730
  function b(a) {
1990
1731
  return a && a.parentNode ? b(a.parentNode) : a;
1991
1732
  }
1992
-
1993
1733
  "function" !== typeof c.getRootNode && (c.getRootNode = function (a) {
1994
1734
  return a && a.composed ? d(this) : b(this);
1995
1735
  });
1996
1736
  })(Element.prototype);
1737
+
1997
1738
  /*!
1998
1739
  Element.isConnected()
1999
1740
  */
2000
-
2001
-
2002
1741
  (function (a) {
2003
1742
  "isConnected" in a || Object.defineProperty(a, "isConnected", {
2004
1743
  configurable: !0,
@@ -2011,11 +1750,10 @@ Element.isConnected()
2011
1750
  }
2012
1751
  });
2013
1752
  })(Element.prototype);
1753
+
2014
1754
  /*!
2015
1755
  Element.remove()
2016
1756
  */
2017
-
2018
-
2019
1757
  (function (b) {
2020
1758
  b.forEach(function (a) {
2021
1759
  a.hasOwnProperty("remove") || Object.defineProperty(a, "remove", {
@@ -2028,34 +1766,29 @@ Element.remove()
2028
1766
  });
2029
1767
  });
2030
1768
  })([Element.prototype, CharacterData.prototype, DocumentType.prototype]);
1769
+
2031
1770
  /*!
2032
1771
  Element.classList
2033
1772
  */
2034
-
2035
-
2036
1773
  !function (e) {
2037
1774
  'classList' in e || Object.defineProperty(e, "classList", {
2038
1775
  get: function get() {
2039
1776
  var e = this,
2040
- t = (e.getAttribute("class") || "").replace(/^\s+|\s$/g, "").split(/\s+/g);
2041
-
1777
+ t = (e.getAttribute("class") || "").replace(/^\s+|\s$/g, "").split(/\s+/g);
2042
1778
  function n() {
2043
1779
  t.length > 0 ? e.setAttribute("class", t.join(" ")) : e.removeAttribute("class");
2044
1780
  }
2045
-
2046
1781
  return "" === t[0] && t.splice(0, 1), t.toggle = function (e, i) {
2047
1782
  void 0 !== i ? i ? t.add(e) : t.remove(e) : -1 !== t.indexOf(e) ? t.splice(t.indexOf(e), 1) : t.push(e), n();
2048
1783
  }, t.add = function () {
2049
1784
  for (var e = [].slice.call(arguments), i = 0, s = e.length; i < s; i++) {
2050
1785
  -1 === t.indexOf(e[i]) && t.push(e[i]);
2051
1786
  }
2052
-
2053
1787
  n();
2054
1788
  }, t.remove = function () {
2055
1789
  for (var e = [].slice.call(arguments), i = 0, s = e.length; i < s; i++) {
2056
1790
  -1 !== t.indexOf(e[i]) && t.splice(t.indexOf(e[i]), 1);
2057
1791
  }
2058
-
2059
1792
  n();
2060
1793
  }, t.item = function (e) {
2061
1794
  return t[e];
@@ -2067,23 +1800,21 @@ Element.classList
2067
1800
  }
2068
1801
  });
2069
1802
  }(Element.prototype);
1803
+
2070
1804
  /*!
2071
1805
  DOMTokenList
2072
1806
  */
2073
-
2074
1807
  (function (b) {
2075
1808
  try {
2076
1809
  document.body.classList.add();
2077
1810
  } catch (e) {
2078
1811
  var c = b.add,
2079
- d = b.remove;
2080
-
1812
+ d = b.remove;
2081
1813
  b.add = function () {
2082
1814
  for (var a = 0; a < arguments.length; a++) {
2083
1815
  c.call(this, arguments[a]);
2084
1816
  }
2085
1817
  };
2086
-
2087
1818
  b.remove = function () {
2088
1819
  for (var a = 0; a < arguments.length; a++) {
2089
1820
  d.call(this, arguments[a]);