hmrc-frontend 6.40.0 → 6.41.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.
@@ -0,0 +1,2899 @@
1
+ (function (factory) {
2
+ typeof define === 'function' && define.amd ? define('HMRCAccessibleAutocomplete', factory) :
3
+ factory();
4
+ }((function () { 'use strict';
5
+
6
+ function createCommonjsModule(fn, module) {
7
+ return module = { exports: {} }, fn(module, module.exports), module.exports;
8
+ }
9
+
10
+ var accessibleAutocomplete_min = createCommonjsModule(function (module, exports) {
11
+ !function (t, e) {
12
+ module.exports = e() ;
13
+ }(self, function () {
14
+ return function () {
15
+
16
+ var t = {
17
+ 8952: function (t, e, n) {
18
+ var r = n(4328),
19
+ o = n(36),
20
+ i = TypeError;
21
+ t.exports = function (t) {
22
+ if (r(t)) return t;
23
+ throw new i(o(t) + " is not a function");
24
+ };
25
+ },
26
+ 2096: function (t, e, n) {
27
+ var r = n(2424),
28
+ o = String,
29
+ i = TypeError;
30
+ t.exports = function (t) {
31
+ if (r(t)) return t;
32
+ throw new i("Can't set " + o(t) + " as a prototype");
33
+ };
34
+ },
35
+ 4764: function (t, e, n) {
36
+ var r = n(9764).charAt;
37
+ t.exports = function (t, e, n) {
38
+ return e + (n ? r(t, e).length : 1);
39
+ };
40
+ },
41
+ 6100: function (t, e, n) {
42
+ var r = n(7e3),
43
+ o = TypeError;
44
+ t.exports = function (t, e) {
45
+ if (r(e, t)) return t;
46
+ throw new o("Incorrect invocation");
47
+ };
48
+ },
49
+ 3951: function (t, e, n) {
50
+ var r = n(1632),
51
+ o = String,
52
+ i = TypeError;
53
+ t.exports = function (t) {
54
+ if (r(t)) return t;
55
+ throw new i(o(t) + " is not an object");
56
+ };
57
+ },
58
+ 2504: function (t, e, n) {
59
+ var r = n(4096),
60
+ o = n(2495),
61
+ i = n(3556),
62
+ u = function (t) {
63
+ return function (e, n, u) {
64
+ var a = r(e),
65
+ c = i(a);
66
+ if (0 === c) return !t && -1;
67
+ var s,
68
+ l = o(u, c);
69
+ if (t && n != n) {
70
+ for (; c > l;) if ((s = a[l++]) != s) return !0;
71
+ } else for (; c > l; l++) if ((t || l in a) && a[l] === n) return t || l || 0;
72
+ return !t && -1;
73
+ };
74
+ };
75
+ t.exports = {
76
+ includes: u(!0),
77
+ indexOf: u(!1)
78
+ };
79
+ },
80
+ 3364: function (t, e, n) {
81
+ var r = n(8992),
82
+ o = n(1664),
83
+ i = n(5712),
84
+ u = n(4356),
85
+ a = n(3556),
86
+ c = n(2568),
87
+ s = o([].push),
88
+ l = function (t) {
89
+ var e = 1 === t,
90
+ n = 2 === t,
91
+ o = 3 === t,
92
+ l = 4 === t,
93
+ f = 6 === t,
94
+ p = 7 === t,
95
+ d = 5 === t || f;
96
+ return function (h, v, m, y) {
97
+ for (var g, b, x = u(h), w = i(x), O = a(w), _ = r(v, m), S = 0, C = y || c, E = e ? C(h, O) : n || p ? C(h, 0) : void 0; O > S; S++) if ((d || S in w) && (b = _(g = w[S], S, x), t)) if (e) E[S] = b;else if (b) switch (t) {
98
+ case 3:
99
+ return !0;
100
+ case 5:
101
+ return g;
102
+ case 6:
103
+ return S;
104
+ case 2:
105
+ s(E, g);
106
+ } else switch (t) {
107
+ case 4:
108
+ return !1;
109
+ case 7:
110
+ s(E, g);
111
+ }
112
+ return f ? -1 : o || l ? l : E;
113
+ };
114
+ };
115
+ t.exports = {
116
+ forEach: l(0),
117
+ map: l(1),
118
+ filter: l(2),
119
+ some: l(3),
120
+ every: l(4),
121
+ find: l(5),
122
+ findIndex: l(6),
123
+ filterReject: l(7)
124
+ };
125
+ },
126
+ 953: function (t, e, n) {
127
+ var r = n(9957),
128
+ o = n(9972),
129
+ i = n(8504),
130
+ u = o("species");
131
+ t.exports = function (t) {
132
+ return i >= 51 || !r(function () {
133
+ var e = [];
134
+ return (e.constructor = {})[u] = function () {
135
+ return {
136
+ foo: 1
137
+ };
138
+ }, 1 !== e[t](Boolean).foo;
139
+ });
140
+ };
141
+ },
142
+ 1496: function (t, e, n) {
143
+ var r = n(9957);
144
+ t.exports = function (t, e) {
145
+ var n = [][t];
146
+ return !!n && r(function () {
147
+ n.call(null, e || function () {
148
+ return 1;
149
+ }, 1);
150
+ });
151
+ };
152
+ },
153
+ 6728: function (t, e, n) {
154
+ var r = n(3476),
155
+ o = n(1432),
156
+ i = TypeError,
157
+ u = Object.getOwnPropertyDescriptor,
158
+ a = r && !function () {
159
+ if (void 0 !== this) return !0;
160
+ try {
161
+ Object.defineProperty([], "length", {
162
+ writable: !1
163
+ }).length = 1;
164
+ } catch (t) {
165
+ return t instanceof TypeError;
166
+ }
167
+ }();
168
+ t.exports = a ? function (t, e) {
169
+ if (o(t) && !u(t, "length").writable) throw new i("Cannot set read only .length");
170
+ return t.length = e;
171
+ } : function (t, e) {
172
+ return t.length = e;
173
+ };
174
+ },
175
+ 6736: function (t, e, n) {
176
+ var r = n(1432),
177
+ o = n(6072),
178
+ i = n(1632),
179
+ u = n(9972)("species"),
180
+ a = Array;
181
+ t.exports = function (t) {
182
+ var e;
183
+ return r(t) && (e = t.constructor, (o(e) && (e === a || r(e.prototype)) || i(e) && null === (e = e[u])) && (e = void 0)), void 0 === e ? a : e;
184
+ };
185
+ },
186
+ 2568: function (t, e, n) {
187
+ var r = n(6736);
188
+ t.exports = function (t, e) {
189
+ return new (r(t))(0 === e ? 0 : e);
190
+ };
191
+ },
192
+ 8696: function (t, e, n) {
193
+ var r = n(3951),
194
+ o = n(3112);
195
+ t.exports = function (t, e, n, i) {
196
+ try {
197
+ return i ? e(r(n)[0], n[1]) : e(n);
198
+ } catch (u) {
199
+ o(t, "throw", u);
200
+ }
201
+ };
202
+ },
203
+ 1888: function (t, e, n) {
204
+ var r = n(1664),
205
+ o = r({}.toString),
206
+ i = r("".slice);
207
+ t.exports = function (t) {
208
+ return i(o(t), 8, -1);
209
+ };
210
+ },
211
+ 4427: function (t, e, n) {
212
+ var r = n(16),
213
+ o = n(4328),
214
+ i = n(1888),
215
+ u = n(9972)("toStringTag"),
216
+ a = Object,
217
+ c = "Arguments" === i(function () {
218
+ return arguments;
219
+ }());
220
+ t.exports = r ? i : function (t) {
221
+ var e, n, r;
222
+ return void 0 === t ? "Undefined" : null === t ? "Null" : "string" == typeof (n = function (t, e) {
223
+ try {
224
+ return t[e];
225
+ } catch (n) {}
226
+ }(e = a(t), u)) ? n : c ? i(e) : "Object" === (r = i(e)) && o(e.callee) ? "Arguments" : r;
227
+ };
228
+ },
229
+ 9968: function (t, e, n) {
230
+ var r = n(5152),
231
+ o = n(9252),
232
+ i = n(9444),
233
+ u = n(8352);
234
+ t.exports = function (t, e, n) {
235
+ for (var a = o(e), c = u.f, s = i.f, l = 0; l < a.length; l++) {
236
+ var f = a[l];
237
+ r(t, f) || n && r(n, f) || c(t, f, s(e, f));
238
+ }
239
+ };
240
+ },
241
+ 2272: function (t, e, n) {
242
+ var r = n(9957);
243
+ t.exports = !r(function () {
244
+ function t() {}
245
+ return t.prototype.constructor = null, Object.getPrototypeOf(new t()) !== t.prototype;
246
+ });
247
+ },
248
+ 3336: function (t) {
249
+ t.exports = function (t, e) {
250
+ return {
251
+ value: t,
252
+ done: e
253
+ };
254
+ };
255
+ },
256
+ 3440: function (t, e, n) {
257
+ var r = n(3476),
258
+ o = n(8352),
259
+ i = n(9728);
260
+ t.exports = r ? function (t, e, n) {
261
+ return o.f(t, e, i(1, n));
262
+ } : function (t, e, n) {
263
+ return t[e] = n, t;
264
+ };
265
+ },
266
+ 9728: function (t) {
267
+ t.exports = function (t, e) {
268
+ return {
269
+ enumerable: !(1 & t),
270
+ configurable: !(2 & t),
271
+ writable: !(4 & t),
272
+ value: e
273
+ };
274
+ };
275
+ },
276
+ 92: function (t, e, n) {
277
+ var r = n(3476),
278
+ o = n(8352),
279
+ i = n(9728);
280
+ t.exports = function (t, e, n) {
281
+ r ? o.f(t, e, i(0, n)) : t[e] = n;
282
+ };
283
+ },
284
+ 2544: function (t, e, n) {
285
+ var r = n(5312),
286
+ o = n(8352);
287
+ t.exports = function (t, e, n) {
288
+ return n.get && r(n.get, e, {
289
+ getter: !0
290
+ }), n.set && r(n.set, e, {
291
+ setter: !0
292
+ }), o.f(t, e, n);
293
+ };
294
+ },
295
+ 6076: function (t, e, n) {
296
+ var r = n(4328),
297
+ o = n(8352),
298
+ i = n(5312),
299
+ u = n(4636);
300
+ t.exports = function (t, e, n, a) {
301
+ a || (a = {});
302
+ var c = a.enumerable,
303
+ s = void 0 !== a.name ? a.name : e;
304
+ if (r(n) && i(n, s, a), a.global) c ? t[e] = n : u(e, n);else {
305
+ try {
306
+ a.unsafe ? t[e] && (c = !0) : delete t[e];
307
+ } catch (l) {}
308
+ c ? t[e] = n : o.f(t, e, {
309
+ value: n,
310
+ enumerable: !1,
311
+ configurable: !a.nonConfigurable,
312
+ writable: !a.nonWritable
313
+ });
314
+ }
315
+ return t;
316
+ };
317
+ },
318
+ 4036: function (t, e, n) {
319
+ var r = n(6076);
320
+ t.exports = function (t, e, n) {
321
+ for (var o in e) r(t, o, e[o], n);
322
+ return t;
323
+ };
324
+ },
325
+ 4636: function (t, e, n) {
326
+ var r = n(6420),
327
+ o = Object.defineProperty;
328
+ t.exports = function (t, e) {
329
+ try {
330
+ o(r, t, {
331
+ value: e,
332
+ configurable: !0,
333
+ writable: !0
334
+ });
335
+ } catch (n) {
336
+ r[t] = e;
337
+ }
338
+ return e;
339
+ };
340
+ },
341
+ 3476: function (t, e, n) {
342
+ var r = n(9957);
343
+ t.exports = !r(function () {
344
+ return 7 !== Object.defineProperty({}, 1, {
345
+ get: function () {
346
+ return 7;
347
+ }
348
+ })[1];
349
+ });
350
+ },
351
+ 8168: function (t, e, n) {
352
+ var r = n(6420),
353
+ o = n(1632),
354
+ i = r.document,
355
+ u = o(i) && o(i.createElement);
356
+ t.exports = function (t) {
357
+ return u ? i.createElement(t) : {};
358
+ };
359
+ },
360
+ 4316: function (t) {
361
+ var e = TypeError;
362
+ t.exports = function (t) {
363
+ if (t > 9007199254740991) throw e("Maximum allowed index exceeded");
364
+ return t;
365
+ };
366
+ },
367
+ 6064: function (t) {
368
+ t.exports = "undefined" != typeof navigator && String(navigator.userAgent) || "";
369
+ },
370
+ 8504: function (t, e, n) {
371
+ var r,
372
+ o,
373
+ i = n(6420),
374
+ u = n(6064),
375
+ a = i.process,
376
+ c = i.Deno,
377
+ s = a && a.versions || c && c.version,
378
+ l = s && s.v8;
379
+ l && (o = (r = l.split("."))[0] > 0 && r[0] < 4 ? 1 : +(r[0] + r[1])), !o && u && (!(r = u.match(/Edge\/(\d+)/)) || r[1] >= 74) && (r = u.match(/Chrome\/(\d+)/)) && (o = +r[1]), t.exports = o;
380
+ },
381
+ 8256: function (t) {
382
+ t.exports = ["constructor", "hasOwnProperty", "isPrototypeOf", "propertyIsEnumerable", "toLocaleString", "toString", "valueOf"];
383
+ },
384
+ 6520: function (t, e, n) {
385
+ var r = n(1664),
386
+ o = Error,
387
+ i = r("".replace),
388
+ u = String(new o("zxcasd").stack),
389
+ a = /\n\s*at [^:]*:[^\n]*/,
390
+ c = a.test(u);
391
+ t.exports = function (t, e) {
392
+ if (c && "string" == typeof t && !o.prepareStackTrace) for (; e--;) t = i(t, a, "");
393
+ return t;
394
+ };
395
+ },
396
+ 3696: function (t, e, n) {
397
+ var r = n(3440),
398
+ o = n(6520),
399
+ i = n(9184),
400
+ u = Error.captureStackTrace;
401
+ t.exports = function (t, e, n, a) {
402
+ i && (u ? u(t, e) : r(t, "stack", o(n, a)));
403
+ };
404
+ },
405
+ 9184: function (t, e, n) {
406
+ var r = n(9957),
407
+ o = n(9728);
408
+ t.exports = !r(function () {
409
+ var t = new Error("a");
410
+ return !("stack" in t) || (Object.defineProperty(t, "stack", o(1, 7)), 7 !== t.stack);
411
+ });
412
+ },
413
+ 9160: function (t, e, n) {
414
+ var r = n(6420),
415
+ o = n(9444).f,
416
+ i = n(3440),
417
+ u = n(6076),
418
+ a = n(4636),
419
+ c = n(9968),
420
+ s = n(6704);
421
+ t.exports = function (t, e) {
422
+ var n,
423
+ l,
424
+ f,
425
+ p,
426
+ d,
427
+ h = t.target,
428
+ v = t.global,
429
+ m = t.stat;
430
+ if (n = v ? r : m ? r[h] || a(h, {}) : r[h] && r[h].prototype) for (l in e) {
431
+ if (p = e[l], f = t.dontCallGetSet ? (d = o(n, l)) && d.value : n[l], !s(v ? l : h + (m ? "." : "#") + l, t.forced) && void 0 !== f) {
432
+ if (typeof p == typeof f) continue;
433
+ c(p, f);
434
+ }
435
+ (t.sham || f && f.sham) && i(p, "sham", !0), u(n, l, p, t);
436
+ }
437
+ };
438
+ },
439
+ 9957: function (t) {
440
+ t.exports = function (t) {
441
+ try {
442
+ return !!t();
443
+ } catch (e) {
444
+ return !0;
445
+ }
446
+ };
447
+ },
448
+ 7176: function (t, e, n) {
449
+ n(880);
450
+ var r = n(8448),
451
+ o = n(6076),
452
+ i = n(7680),
453
+ u = n(9957),
454
+ a = n(9972),
455
+ c = n(3440),
456
+ s = a("species"),
457
+ l = RegExp.prototype;
458
+ t.exports = function (t, e, n, f) {
459
+ var p = a(t),
460
+ d = !u(function () {
461
+ var e = {};
462
+ return e[p] = function () {
463
+ return 7;
464
+ }, 7 !== ""[t](e);
465
+ }),
466
+ h = d && !u(function () {
467
+ var e = !1,
468
+ n = /a/;
469
+ return "split" === t && ((n = {}).constructor = {}, n.constructor[s] = function () {
470
+ return n;
471
+ }, n.flags = "", n[p] = /./[p]), n.exec = function () {
472
+ return e = !0, null;
473
+ }, n[p](""), !e;
474
+ });
475
+ if (!d || !h || n) {
476
+ var v = /./[p],
477
+ m = e(p, ""[t], function (t, e, n, o, u) {
478
+ var a = e.exec;
479
+ return a === i || a === l.exec ? d && !u ? {
480
+ done: !0,
481
+ value: r(v, e, n, o)
482
+ } : {
483
+ done: !0,
484
+ value: r(t, n, e, o)
485
+ } : {
486
+ done: !1
487
+ };
488
+ });
489
+ o(String.prototype, t, m[0]), o(l, p, m[1]);
490
+ }
491
+ f && c(l[p], "sham", !0);
492
+ };
493
+ },
494
+ 908: function (t, e, n) {
495
+ var r = n(7332),
496
+ o = Function.prototype,
497
+ i = o.apply,
498
+ u = o.call;
499
+ t.exports = "object" == typeof Reflect && Reflect.apply || (r ? u.bind(i) : function () {
500
+ return u.apply(i, arguments);
501
+ });
502
+ },
503
+ 8992: function (t, e, n) {
504
+ var r = n(3180),
505
+ o = n(8952),
506
+ i = n(7332),
507
+ u = r(r.bind);
508
+ t.exports = function (t, e) {
509
+ return o(t), void 0 === e ? t : i ? u(t, e) : function () {
510
+ return t.apply(e, arguments);
511
+ };
512
+ };
513
+ },
514
+ 7332: function (t, e, n) {
515
+ var r = n(9957);
516
+ t.exports = !r(function () {
517
+ var t = function () {}.bind();
518
+ return "function" != typeof t || t.hasOwnProperty("prototype");
519
+ });
520
+ },
521
+ 8448: function (t, e, n) {
522
+ var r = n(7332),
523
+ o = Function.prototype.call;
524
+ t.exports = r ? o.bind(o) : function () {
525
+ return o.apply(o, arguments);
526
+ };
527
+ },
528
+ 6208: function (t, e, n) {
529
+ var r = n(3476),
530
+ o = n(5152),
531
+ i = Function.prototype,
532
+ u = r && Object.getOwnPropertyDescriptor,
533
+ a = o(i, "name"),
534
+ c = a && "something" === function () {}.name,
535
+ s = a && (!r || r && u(i, "name").configurable);
536
+ t.exports = {
537
+ EXISTS: a,
538
+ PROPER: c,
539
+ CONFIGURABLE: s
540
+ };
541
+ },
542
+ 5288: function (t, e, n) {
543
+ var r = n(1664),
544
+ o = n(8952);
545
+ t.exports = function (t, e, n) {
546
+ try {
547
+ return r(o(Object.getOwnPropertyDescriptor(t, e)[n]));
548
+ } catch (i) {}
549
+ };
550
+ },
551
+ 3180: function (t, e, n) {
552
+ var r = n(1888),
553
+ o = n(1664);
554
+ t.exports = function (t) {
555
+ if ("Function" === r(t)) return o(t);
556
+ };
557
+ },
558
+ 1664: function (t, e, n) {
559
+ var r = n(7332),
560
+ o = Function.prototype,
561
+ i = o.call,
562
+ u = r && o.bind.bind(i, i);
563
+ t.exports = r ? u : function (t) {
564
+ return function () {
565
+ return i.apply(t, arguments);
566
+ };
567
+ };
568
+ },
569
+ 5232: function (t, e, n) {
570
+ var r = n(6420),
571
+ o = n(4328);
572
+ t.exports = function (t, e) {
573
+ return arguments.length < 2 ? (n = r[t], o(n) ? n : void 0) : r[t] && r[t][e];
574
+ var n;
575
+ };
576
+ },
577
+ 6752: function (t) {
578
+ t.exports = function (t) {
579
+ return {
580
+ iterator: t,
581
+ next: t.next,
582
+ done: !1
583
+ };
584
+ };
585
+ },
586
+ 4504: function (t, e, n) {
587
+ var r = n(8952),
588
+ o = n(9760);
589
+ t.exports = function (t, e) {
590
+ var n = t[e];
591
+ return o(n) ? void 0 : r(n);
592
+ };
593
+ },
594
+ 6420: function (t, e, n) {
595
+ var r = function (t) {
596
+ return t && t.Math === Math && t;
597
+ };
598
+ t.exports = r("object" == typeof globalThis && globalThis) || r("object" == typeof window && window) || r("object" == typeof self && self) || r("object" == typeof n.g && n.g) || r("object" == typeof this && this) || function () {
599
+ return this;
600
+ }() || Function("return this")();
601
+ },
602
+ 5152: function (t, e, n) {
603
+ var r = n(1664),
604
+ o = n(4356),
605
+ i = r({}.hasOwnProperty);
606
+ t.exports = Object.hasOwn || function (t, e) {
607
+ return i(o(t), e);
608
+ };
609
+ },
610
+ 2560: function (t) {
611
+ t.exports = {};
612
+ },
613
+ 4168: function (t, e, n) {
614
+ var r = n(5232);
615
+ t.exports = r("document", "documentElement");
616
+ },
617
+ 9888: function (t, e, n) {
618
+ var r = n(3476),
619
+ o = n(9957),
620
+ i = n(8168);
621
+ t.exports = !r && !o(function () {
622
+ return 7 !== Object.defineProperty(i("div"), "a", {
623
+ get: function () {
624
+ return 7;
625
+ }
626
+ }).a;
627
+ });
628
+ },
629
+ 5712: function (t, e, n) {
630
+ var r = n(1664),
631
+ o = n(9957),
632
+ i = n(1888),
633
+ u = Object,
634
+ a = r("".split);
635
+ t.exports = o(function () {
636
+ return !u("z").propertyIsEnumerable(0);
637
+ }) ? function (t) {
638
+ return "String" === i(t) ? a(t, "") : u(t);
639
+ } : u;
640
+ },
641
+ 7512: function (t, e, n) {
642
+ var r = n(4328),
643
+ o = n(1632),
644
+ i = n(4024);
645
+ t.exports = function (t, e, n) {
646
+ var u, a;
647
+ return i && r(u = e.constructor) && u !== n && o(a = u.prototype) && a !== n.prototype && i(t, a), t;
648
+ };
649
+ },
650
+ 9112: function (t, e, n) {
651
+ var r = n(1664),
652
+ o = n(4328),
653
+ i = n(3976),
654
+ u = r(Function.toString);
655
+ o(i.inspectSource) || (i.inspectSource = function (t) {
656
+ return u(t);
657
+ }), t.exports = i.inspectSource;
658
+ },
659
+ 3480: function (t, e, n) {
660
+ var r = n(1632),
661
+ o = n(3440);
662
+ t.exports = function (t, e) {
663
+ r(e) && "cause" in e && o(t, "cause", e.cause);
664
+ };
665
+ },
666
+ 9104: function (t, e, n) {
667
+ var r,
668
+ o,
669
+ i,
670
+ u = n(4288),
671
+ a = n(6420),
672
+ c = n(1632),
673
+ s = n(3440),
674
+ l = n(5152),
675
+ f = n(3976),
676
+ p = n(6504),
677
+ d = n(2560),
678
+ h = "Object already initialized",
679
+ v = a.TypeError,
680
+ m = a.WeakMap;
681
+ if (u || f.state) {
682
+ var y = f.state || (f.state = new m());
683
+ y.get = y.get, y.has = y.has, y.set = y.set, r = function (t, e) {
684
+ if (y.has(t)) throw new v(h);
685
+ return e.facade = t, y.set(t, e), e;
686
+ }, o = function (t) {
687
+ return y.get(t) || {};
688
+ }, i = function (t) {
689
+ return y.has(t);
690
+ };
691
+ } else {
692
+ var g = p("state");
693
+ d[g] = !0, r = function (t, e) {
694
+ if (l(t, g)) throw new v(h);
695
+ return e.facade = t, s(t, g, e), e;
696
+ }, o = function (t) {
697
+ return l(t, g) ? t[g] : {};
698
+ }, i = function (t) {
699
+ return l(t, g);
700
+ };
701
+ }
702
+ t.exports = {
703
+ set: r,
704
+ get: o,
705
+ has: i,
706
+ enforce: function (t) {
707
+ return i(t) ? o(t) : r(t, {});
708
+ },
709
+ getterFor: function (t) {
710
+ return function (e) {
711
+ var n;
712
+ if (!c(e) || (n = o(e)).type !== t) throw new v("Incompatible receiver, " + t + " required");
713
+ return n;
714
+ };
715
+ }
716
+ };
717
+ },
718
+ 1432: function (t, e, n) {
719
+ var r = n(1888);
720
+ t.exports = Array.isArray || function (t) {
721
+ return "Array" === r(t);
722
+ };
723
+ },
724
+ 4328: function (t) {
725
+ var e = "object" == typeof document && document.all;
726
+ t.exports = void 0 === e && void 0 !== e ? function (t) {
727
+ return "function" == typeof t || t === e;
728
+ } : function (t) {
729
+ return "function" == typeof t;
730
+ };
731
+ },
732
+ 6072: function (t, e, n) {
733
+ var r = n(1664),
734
+ o = n(9957),
735
+ i = n(4328),
736
+ u = n(4427),
737
+ a = n(5232),
738
+ c = n(9112),
739
+ s = function () {},
740
+ l = a("Reflect", "construct"),
741
+ f = /^\s*(?:class|function)\b/,
742
+ p = r(f.exec),
743
+ d = !f.test(s),
744
+ h = function (t) {
745
+ if (!i(t)) return !1;
746
+ try {
747
+ return l(s, [], t), !0;
748
+ } catch (e) {
749
+ return !1;
750
+ }
751
+ },
752
+ v = function (t) {
753
+ if (!i(t)) return !1;
754
+ switch (u(t)) {
755
+ case "AsyncFunction":
756
+ case "GeneratorFunction":
757
+ case "AsyncGeneratorFunction":
758
+ return !1;
759
+ }
760
+ try {
761
+ return d || !!p(f, c(t));
762
+ } catch (e) {
763
+ return !0;
764
+ }
765
+ };
766
+ v.sham = !0, t.exports = !l || o(function () {
767
+ var t;
768
+ return h(h.call) || !h(Object) || !h(function () {
769
+ t = !0;
770
+ }) || t;
771
+ }) ? v : h;
772
+ },
773
+ 6704: function (t, e, n) {
774
+ var r = n(9957),
775
+ o = n(4328),
776
+ i = /#|\.prototype\./,
777
+ u = function (t, e) {
778
+ var n = c[a(t)];
779
+ return n === l || n !== s && (o(e) ? r(e) : !!e);
780
+ },
781
+ a = u.normalize = function (t) {
782
+ return String(t).replace(i, ".").toLowerCase();
783
+ },
784
+ c = u.data = {},
785
+ s = u.NATIVE = "N",
786
+ l = u.POLYFILL = "P";
787
+ t.exports = u;
788
+ },
789
+ 9760: function (t) {
790
+ t.exports = function (t) {
791
+ return null == t;
792
+ };
793
+ },
794
+ 1632: function (t, e, n) {
795
+ var r = n(4328);
796
+ t.exports = function (t) {
797
+ return "object" == typeof t ? null !== t : r(t);
798
+ };
799
+ },
800
+ 2424: function (t, e, n) {
801
+ var r = n(1632);
802
+ t.exports = function (t) {
803
+ return r(t) || null === t;
804
+ };
805
+ },
806
+ 7048: function (t) {
807
+ t.exports = !1;
808
+ },
809
+ 7728: function (t, e, n) {
810
+ var r = n(5232),
811
+ o = n(4328),
812
+ i = n(7e3),
813
+ u = n(6536),
814
+ a = Object;
815
+ t.exports = u ? function (t) {
816
+ return "symbol" == typeof t;
817
+ } : function (t) {
818
+ var e = r("Symbol");
819
+ return o(e) && i(e.prototype, a(t));
820
+ };
821
+ },
822
+ 3112: function (t, e, n) {
823
+ var r = n(8448),
824
+ o = n(3951),
825
+ i = n(4504);
826
+ t.exports = function (t, e, n) {
827
+ var u, a;
828
+ o(t);
829
+ try {
830
+ if (!(u = i(t, "return"))) {
831
+ if ("throw" === e) throw n;
832
+ return n;
833
+ }
834
+ u = r(u, t);
835
+ } catch (c) {
836
+ a = !0, u = c;
837
+ }
838
+ if ("throw" === e) throw n;
839
+ if (a) throw u;
840
+ return o(u), n;
841
+ };
842
+ },
843
+ 9724: function (t, e, n) {
844
+ var r = n(8448),
845
+ o = n(9368),
846
+ i = n(3440),
847
+ u = n(4036),
848
+ a = n(9972),
849
+ c = n(9104),
850
+ s = n(4504),
851
+ l = n(336).IteratorPrototype,
852
+ f = n(3336),
853
+ p = n(3112),
854
+ d = a("toStringTag"),
855
+ h = "IteratorHelper",
856
+ v = "WrapForValidIterator",
857
+ m = c.set,
858
+ y = function (t) {
859
+ var e = c.getterFor(t ? v : h);
860
+ return u(o(l), {
861
+ next: function () {
862
+ var n = e(this);
863
+ if (t) return n.nextHandler();
864
+ try {
865
+ var r = n.done ? void 0 : n.nextHandler();
866
+ return f(r, n.done);
867
+ } catch (o) {
868
+ throw n.done = !0, o;
869
+ }
870
+ },
871
+ return: function () {
872
+ var n = e(this),
873
+ o = n.iterator;
874
+ if (n.done = !0, t) {
875
+ var i = s(o, "return");
876
+ return i ? r(i, o) : f(void 0, !0);
877
+ }
878
+ if (n.inner) try {
879
+ p(n.inner.iterator, "normal");
880
+ } catch (u) {
881
+ return p(o, "throw", u);
882
+ }
883
+ return p(o, "normal"), f(void 0, !0);
884
+ }
885
+ });
886
+ },
887
+ g = y(!0),
888
+ b = y(!1);
889
+ i(b, d, "Iterator Helper"), t.exports = function (t, e) {
890
+ var n = function (n, r) {
891
+ r ? (r.iterator = n.iterator, r.next = n.next) : r = n, r.type = e ? v : h, r.nextHandler = t, r.counter = 0, r.done = !1, m(this, r);
892
+ };
893
+ return n.prototype = e ? g : b, n;
894
+ };
895
+ },
896
+ 5792: function (t, e, n) {
897
+ var r = n(8448),
898
+ o = n(8952),
899
+ i = n(3951),
900
+ u = n(6752),
901
+ a = n(9724),
902
+ c = n(8696),
903
+ s = a(function () {
904
+ var t = this.iterator,
905
+ e = i(r(this.next, t));
906
+ if (!(this.done = !!e.done)) return c(t, this.mapper, [e.value, this.counter++], !0);
907
+ });
908
+ t.exports = function (t) {
909
+ return i(this), o(t), new s(u(this), {
910
+ mapper: t
911
+ });
912
+ };
913
+ },
914
+ 336: function (t, e, n) {
915
+ var r,
916
+ o,
917
+ i,
918
+ u = n(9957),
919
+ a = n(4328),
920
+ c = n(1632),
921
+ s = n(9368),
922
+ l = n(7796),
923
+ f = n(6076),
924
+ p = n(9972),
925
+ d = n(7048),
926
+ h = p("iterator"),
927
+ v = !1;
928
+ [].keys && ("next" in (i = [].keys()) ? (o = l(l(i))) !== Object.prototype && (r = o) : v = !0), !c(r) || u(function () {
929
+ var t = {};
930
+ return r[h].call(t) !== t;
931
+ }) ? r = {} : d && (r = s(r)), a(r[h]) || f(r, h, function () {
932
+ return this;
933
+ }), t.exports = {
934
+ IteratorPrototype: r,
935
+ BUGGY_SAFARI_ITERATORS: v
936
+ };
937
+ },
938
+ 3556: function (t, e, n) {
939
+ var r = n(7584);
940
+ t.exports = function (t) {
941
+ return r(t.length);
942
+ };
943
+ },
944
+ 5312: function (t, e, n) {
945
+ var r = n(1664),
946
+ o = n(9957),
947
+ i = n(4328),
948
+ u = n(5152),
949
+ a = n(3476),
950
+ c = n(6208).CONFIGURABLE,
951
+ s = n(9112),
952
+ l = n(9104),
953
+ f = l.enforce,
954
+ p = l.get,
955
+ d = String,
956
+ h = Object.defineProperty,
957
+ v = r("".slice),
958
+ m = r("".replace),
959
+ y = r([].join),
960
+ g = a && !o(function () {
961
+ return 8 !== h(function () {}, "length", {
962
+ value: 8
963
+ }).length;
964
+ }),
965
+ b = String(String).split("String"),
966
+ x = t.exports = function (t, e, n) {
967
+ "Symbol(" === v(d(e), 0, 7) && (e = "[" + m(d(e), /^Symbol\(([^)]*)\).*$/, "$1") + "]"), n && n.getter && (e = "get " + e), n && n.setter && (e = "set " + e), (!u(t, "name") || c && t.name !== e) && (a ? h(t, "name", {
968
+ value: e,
969
+ configurable: !0
970
+ }) : t.name = e), g && n && u(n, "arity") && t.length !== n.arity && h(t, "length", {
971
+ value: n.arity
972
+ });
973
+ try {
974
+ n && u(n, "constructor") && n.constructor ? a && h(t, "prototype", {
975
+ writable: !1
976
+ }) : t.prototype && (t.prototype = void 0);
977
+ } catch (o) {}
978
+ var r = f(t);
979
+ return u(r, "source") || (r.source = y(b, "string" == typeof e ? e : "")), t;
980
+ };
981
+ Function.prototype.toString = x(function () {
982
+ return i(this) && p(this).source || s(this);
983
+ }, "toString");
984
+ },
985
+ 1748: function (t) {
986
+ var e = Math.ceil,
987
+ n = Math.floor;
988
+ t.exports = Math.trunc || function (t) {
989
+ var r = +t;
990
+ return (r > 0 ? n : e)(r);
991
+ };
992
+ },
993
+ 8948: function (t, e, n) {
994
+ var r = n(5016);
995
+ t.exports = function (t, e) {
996
+ return void 0 === t ? arguments.length < 2 ? "" : e : r(t);
997
+ };
998
+ },
999
+ 9292: function (t, e, n) {
1000
+ var r = n(3476),
1001
+ o = n(1664),
1002
+ i = n(8448),
1003
+ u = n(9957),
1004
+ a = n(1531),
1005
+ c = n(9392),
1006
+ s = n(8912),
1007
+ l = n(4356),
1008
+ f = n(5712),
1009
+ p = Object.assign,
1010
+ d = Object.defineProperty,
1011
+ h = o([].concat);
1012
+ t.exports = !p || u(function () {
1013
+ if (r && 1 !== p({
1014
+ b: 1
1015
+ }, p(d({}, "a", {
1016
+ enumerable: !0,
1017
+ get: function () {
1018
+ d(this, "b", {
1019
+ value: 3,
1020
+ enumerable: !1
1021
+ });
1022
+ }
1023
+ }), {
1024
+ b: 2
1025
+ })).b) return !0;
1026
+ var t = {},
1027
+ e = {},
1028
+ n = Symbol("assign detection"),
1029
+ o = "abcdefghijklmnopqrst";
1030
+ return t[n] = 7, o.split("").forEach(function (t) {
1031
+ e[t] = t;
1032
+ }), 7 !== p({}, t)[n] || a(p({}, e)).join("") !== o;
1033
+ }) ? function (t, e) {
1034
+ for (var n = l(t), o = arguments.length, u = 1, p = c.f, d = s.f; o > u;) for (var v, m = f(arguments[u++]), y = p ? h(a(m), p(m)) : a(m), g = y.length, b = 0; g > b;) v = y[b++], r && !i(d, m, v) || (n[v] = m[v]);
1035
+ return n;
1036
+ } : p;
1037
+ },
1038
+ 9368: function (t, e, n) {
1039
+ var r,
1040
+ o = n(3951),
1041
+ i = n(2056),
1042
+ u = n(8256),
1043
+ a = n(2560),
1044
+ c = n(4168),
1045
+ s = n(8168),
1046
+ l = n(6504),
1047
+ f = "prototype",
1048
+ p = "script",
1049
+ d = l("IE_PROTO"),
1050
+ h = function () {},
1051
+ v = function (t) {
1052
+ return "<" + p + ">" + t + "</" + p + ">";
1053
+ },
1054
+ m = function (t) {
1055
+ t.write(v("")), t.close();
1056
+ var e = t.parentWindow.Object;
1057
+ return t = null, e;
1058
+ },
1059
+ y = function () {
1060
+ try {
1061
+ r = new ActiveXObject("htmlfile");
1062
+ } catch (i) {}
1063
+ var t, e, n;
1064
+ y = "undefined" != typeof document ? document.domain && r ? m(r) : (e = s("iframe"), n = "java" + p + ":", e.style.display = "none", c.appendChild(e), e.src = String(n), (t = e.contentWindow.document).open(), t.write(v("document.F=Object")), t.close(), t.F) : m(r);
1065
+ for (var o = u.length; o--;) delete y[f][u[o]];
1066
+ return y();
1067
+ };
1068
+ a[d] = !0, t.exports = Object.create || function (t, e) {
1069
+ var n;
1070
+ return null !== t ? (h[f] = o(t), n = new h(), h[f] = null, n[d] = t) : n = y(), void 0 === e ? n : i.f(n, e);
1071
+ };
1072
+ },
1073
+ 2056: function (t, e, n) {
1074
+ var r = n(3476),
1075
+ o = n(1576),
1076
+ i = n(8352),
1077
+ u = n(3951),
1078
+ a = n(4096),
1079
+ c = n(1531);
1080
+ e.f = r && !o ? Object.defineProperties : function (t, e) {
1081
+ u(t);
1082
+ for (var n, r = a(e), o = c(e), s = o.length, l = 0; s > l;) i.f(t, n = o[l++], r[n]);
1083
+ return t;
1084
+ };
1085
+ },
1086
+ 8352: function (t, e, n) {
1087
+ var r = n(3476),
1088
+ o = n(9888),
1089
+ i = n(1576),
1090
+ u = n(3951),
1091
+ a = n(88),
1092
+ c = TypeError,
1093
+ s = Object.defineProperty,
1094
+ l = Object.getOwnPropertyDescriptor,
1095
+ f = "enumerable",
1096
+ p = "configurable",
1097
+ d = "writable";
1098
+ e.f = r ? i ? function (t, e, n) {
1099
+ if (u(t), e = a(e), u(n), "function" == typeof t && "prototype" === e && "value" in n && d in n && !n[d]) {
1100
+ var r = l(t, e);
1101
+ r && r[d] && (t[e] = n.value, n = {
1102
+ configurable: p in n ? n[p] : r[p],
1103
+ enumerable: f in n ? n[f] : r[f],
1104
+ writable: !1
1105
+ });
1106
+ }
1107
+ return s(t, e, n);
1108
+ } : s : function (t, e, n) {
1109
+ if (u(t), e = a(e), u(n), o) try {
1110
+ return s(t, e, n);
1111
+ } catch (r) {}
1112
+ if ("get" in n || "set" in n) throw new c("Accessors not supported");
1113
+ return "value" in n && (t[e] = n.value), t;
1114
+ };
1115
+ },
1116
+ 9444: function (t, e, n) {
1117
+ var r = n(3476),
1118
+ o = n(8448),
1119
+ i = n(8912),
1120
+ u = n(9728),
1121
+ a = n(4096),
1122
+ c = n(88),
1123
+ s = n(5152),
1124
+ l = n(9888),
1125
+ f = Object.getOwnPropertyDescriptor;
1126
+ e.f = r ? f : function (t, e) {
1127
+ if (t = a(t), e = c(e), l) try {
1128
+ return f(t, e);
1129
+ } catch (n) {}
1130
+ if (s(t, e)) return u(!o(i.f, t, e), t[e]);
1131
+ };
1132
+ },
1133
+ 5048: function (t, e, n) {
1134
+ var r = n(9008),
1135
+ o = n(8256).concat("length", "prototype");
1136
+ e.f = Object.getOwnPropertyNames || function (t) {
1137
+ return r(t, o);
1138
+ };
1139
+ },
1140
+ 9392: function (t, e) {
1141
+ e.f = Object.getOwnPropertySymbols;
1142
+ },
1143
+ 7796: function (t, e, n) {
1144
+ var r = n(5152),
1145
+ o = n(4328),
1146
+ i = n(4356),
1147
+ u = n(6504),
1148
+ a = n(2272),
1149
+ c = u("IE_PROTO"),
1150
+ s = Object,
1151
+ l = s.prototype;
1152
+ t.exports = a ? s.getPrototypeOf : function (t) {
1153
+ var e = i(t);
1154
+ if (r(e, c)) return e[c];
1155
+ var n = e.constructor;
1156
+ return o(n) && e instanceof n ? n.prototype : e instanceof s ? l : null;
1157
+ };
1158
+ },
1159
+ 7e3: function (t, e, n) {
1160
+ var r = n(1664);
1161
+ t.exports = r({}.isPrototypeOf);
1162
+ },
1163
+ 9008: function (t, e, n) {
1164
+ var r = n(1664),
1165
+ o = n(5152),
1166
+ i = n(4096),
1167
+ u = n(2504).indexOf,
1168
+ a = n(2560),
1169
+ c = r([].push);
1170
+ t.exports = function (t, e) {
1171
+ var n,
1172
+ r = i(t),
1173
+ s = 0,
1174
+ l = [];
1175
+ for (n in r) !o(a, n) && o(r, n) && c(l, n);
1176
+ for (; e.length > s;) o(r, n = e[s++]) && (~u(l, n) || c(l, n));
1177
+ return l;
1178
+ };
1179
+ },
1180
+ 1531: function (t, e, n) {
1181
+ var r = n(9008),
1182
+ o = n(8256);
1183
+ t.exports = Object.keys || function (t) {
1184
+ return r(t, o);
1185
+ };
1186
+ },
1187
+ 8912: function (t, e) {
1188
+ var n = {}.propertyIsEnumerable,
1189
+ r = Object.getOwnPropertyDescriptor,
1190
+ o = r && !n.call({
1191
+ 1: 2
1192
+ }, 1);
1193
+ e.f = o ? function (t) {
1194
+ var e = r(this, t);
1195
+ return !!e && e.enumerable;
1196
+ } : n;
1197
+ },
1198
+ 4024: function (t, e, n) {
1199
+ var r = n(5288),
1200
+ o = n(3951),
1201
+ i = n(2096);
1202
+ t.exports = Object.setPrototypeOf || ("__proto__" in {} ? function () {
1203
+ var t,
1204
+ e = !1,
1205
+ n = {};
1206
+ try {
1207
+ (t = r(Object.prototype, "__proto__", "set"))(n, []), e = n instanceof Array;
1208
+ } catch (u) {}
1209
+ return function (n, r) {
1210
+ return o(n), i(r), e ? t(n, r) : n.__proto__ = r, n;
1211
+ };
1212
+ }() : void 0);
1213
+ },
1214
+ 7032: function (t, e, n) {
1215
+ var r = n(16),
1216
+ o = n(4427);
1217
+ t.exports = r ? {}.toString : function () {
1218
+ return "[object " + o(this) + "]";
1219
+ };
1220
+ },
1221
+ 2104: function (t, e, n) {
1222
+ var r = n(8448),
1223
+ o = n(4328),
1224
+ i = n(1632),
1225
+ u = TypeError;
1226
+ t.exports = function (t, e) {
1227
+ var n, a;
1228
+ if ("string" === e && o(n = t.toString) && !i(a = r(n, t))) return a;
1229
+ if (o(n = t.valueOf) && !i(a = r(n, t))) return a;
1230
+ if ("string" !== e && o(n = t.toString) && !i(a = r(n, t))) return a;
1231
+ throw new u("Can't convert object to primitive value");
1232
+ };
1233
+ },
1234
+ 9252: function (t, e, n) {
1235
+ var r = n(5232),
1236
+ o = n(1664),
1237
+ i = n(5048),
1238
+ u = n(9392),
1239
+ a = n(3951),
1240
+ c = o([].concat);
1241
+ t.exports = r("Reflect", "ownKeys") || function (t) {
1242
+ var e = i.f(a(t)),
1243
+ n = u.f;
1244
+ return n ? c(e, n(t)) : e;
1245
+ };
1246
+ },
1247
+ 584: function (t, e, n) {
1248
+ var r = n(8352).f;
1249
+ t.exports = function (t, e, n) {
1250
+ n in t || r(t, n, {
1251
+ configurable: !0,
1252
+ get: function () {
1253
+ return e[n];
1254
+ },
1255
+ set: function (t) {
1256
+ e[n] = t;
1257
+ }
1258
+ });
1259
+ };
1260
+ },
1261
+ 9092: function (t, e, n) {
1262
+ var r = n(8448),
1263
+ o = n(3951),
1264
+ i = n(4328),
1265
+ u = n(1888),
1266
+ a = n(7680),
1267
+ c = TypeError;
1268
+ t.exports = function (t, e) {
1269
+ var n = t.exec;
1270
+ if (i(n)) {
1271
+ var s = r(n, t, e);
1272
+ return null !== s && o(s), s;
1273
+ }
1274
+ if ("RegExp" === u(t)) return r(a, t, e);
1275
+ throw new c("RegExp#exec called on incompatible receiver");
1276
+ };
1277
+ },
1278
+ 7680: function (t, e, n) {
1279
+ var r,
1280
+ o,
1281
+ i = n(8448),
1282
+ u = n(1664),
1283
+ a = n(5016),
1284
+ c = n(8872),
1285
+ s = n(3548),
1286
+ l = n(4696),
1287
+ f = n(9368),
1288
+ p = n(9104).get,
1289
+ d = n(8e3),
1290
+ h = n(9124),
1291
+ v = l("native-string-replace", String.prototype.replace),
1292
+ m = RegExp.prototype.exec,
1293
+ y = m,
1294
+ g = u("".charAt),
1295
+ b = u("".indexOf),
1296
+ x = u("".replace),
1297
+ w = u("".slice),
1298
+ O = (o = /b*/g, i(m, r = /a/, "a"), i(m, o, "a"), 0 !== r.lastIndex || 0 !== o.lastIndex),
1299
+ _ = s.BROKEN_CARET,
1300
+ S = void 0 !== /()??/.exec("")[1];
1301
+ (O || S || _ || d || h) && (y = function (t) {
1302
+ var e,
1303
+ n,
1304
+ r,
1305
+ o,
1306
+ u,
1307
+ s,
1308
+ l,
1309
+ d = this,
1310
+ h = p(d),
1311
+ C = a(t),
1312
+ E = h.raw;
1313
+ if (E) return E.lastIndex = d.lastIndex, e = i(y, E, C), d.lastIndex = E.lastIndex, e;
1314
+ var I = h.groups,
1315
+ j = _ && d.sticky,
1316
+ A = i(c, d),
1317
+ P = d.source,
1318
+ N = 0,
1319
+ k = C;
1320
+ if (j && (A = x(A, "y", ""), -1 === b(A, "g") && (A += "g"), k = w(C, d.lastIndex), d.lastIndex > 0 && (!d.multiline || d.multiline && "\n" !== g(C, d.lastIndex - 1)) && (P = "(?: " + P + ")", k = " " + k, N++), n = new RegExp("^(?:" + P + ")", A)), S && (n = new RegExp("^" + P + "$(?!\\s)", A)), O && (r = d.lastIndex), o = i(m, j ? n : d, k), j ? o ? (o.input = w(o.input, N), o[0] = w(o[0], N), o.index = d.lastIndex, d.lastIndex += o[0].length) : d.lastIndex = 0 : O && o && (d.lastIndex = d.global ? o.index + o[0].length : r), S && o && o.length > 1 && i(v, o[0], n, function () {
1321
+ for (u = 1; u < arguments.length - 2; u++) void 0 === arguments[u] && (o[u] = void 0);
1322
+ }), o && I) for (o.groups = s = f(null), u = 0; u < I.length; u++) s[(l = I[u])[0]] = o[l[1]];
1323
+ return o;
1324
+ }), t.exports = y;
1325
+ },
1326
+ 8872: function (t, e, n) {
1327
+ var r = n(3951);
1328
+ t.exports = function () {
1329
+ var t = r(this),
1330
+ e = "";
1331
+ return t.hasIndices && (e += "d"), t.global && (e += "g"), t.ignoreCase && (e += "i"), t.multiline && (e += "m"), t.dotAll && (e += "s"), t.unicode && (e += "u"), t.unicodeSets && (e += "v"), t.sticky && (e += "y"), e;
1332
+ };
1333
+ },
1334
+ 3548: function (t, e, n) {
1335
+ var r = n(9957),
1336
+ o = n(6420).RegExp,
1337
+ i = r(function () {
1338
+ var t = o("a", "y");
1339
+ return t.lastIndex = 2, null !== t.exec("abcd");
1340
+ }),
1341
+ u = i || r(function () {
1342
+ return !o("a", "y").sticky;
1343
+ }),
1344
+ a = i || r(function () {
1345
+ var t = o("^r", "gy");
1346
+ return t.lastIndex = 2, null !== t.exec("str");
1347
+ });
1348
+ t.exports = {
1349
+ BROKEN_CARET: a,
1350
+ MISSED_STICKY: u,
1351
+ UNSUPPORTED_Y: i
1352
+ };
1353
+ },
1354
+ 8e3: function (t, e, n) {
1355
+ var r = n(9957),
1356
+ o = n(6420).RegExp;
1357
+ t.exports = r(function () {
1358
+ var t = o(".", "s");
1359
+ return !(t.dotAll && t.test("\n") && "s" === t.flags);
1360
+ });
1361
+ },
1362
+ 9124: function (t, e, n) {
1363
+ var r = n(9957),
1364
+ o = n(6420).RegExp;
1365
+ t.exports = r(function () {
1366
+ var t = o("(?<a>b)", "g");
1367
+ return "b" !== t.exec("b").groups.a || "bc" !== "b".replace(t, "$<a>c");
1368
+ });
1369
+ },
1370
+ 5436: function (t, e, n) {
1371
+ var r = n(9760),
1372
+ o = TypeError;
1373
+ t.exports = function (t) {
1374
+ if (r(t)) throw new o("Can't call method on " + t);
1375
+ return t;
1376
+ };
1377
+ },
1378
+ 6504: function (t, e, n) {
1379
+ var r = n(4696),
1380
+ o = n(7776),
1381
+ i = r("keys");
1382
+ t.exports = function (t) {
1383
+ return i[t] || (i[t] = o(t));
1384
+ };
1385
+ },
1386
+ 3976: function (t, e, n) {
1387
+ var r = n(7048),
1388
+ o = n(6420),
1389
+ i = n(4636),
1390
+ u = "__core-js_shared__",
1391
+ a = t.exports = o[u] || i(u, {});
1392
+ (a.versions || (a.versions = [])).push({
1393
+ version: "3.36.0",
1394
+ mode: r ? "pure" : "global",
1395
+ copyright: "© 2014-2024 Denis Pushkarev (zloirock.ru)",
1396
+ license: "https://github.com/zloirock/core-js/blob/v3.36.0/LICENSE",
1397
+ source: "https://github.com/zloirock/core-js"
1398
+ });
1399
+ },
1400
+ 4696: function (t, e, n) {
1401
+ var r = n(3976);
1402
+ t.exports = function (t, e) {
1403
+ return r[t] || (r[t] = e || {});
1404
+ };
1405
+ },
1406
+ 9764: function (t, e, n) {
1407
+ var r = n(1664),
1408
+ o = n(6180),
1409
+ i = n(5016),
1410
+ u = n(5436),
1411
+ a = r("".charAt),
1412
+ c = r("".charCodeAt),
1413
+ s = r("".slice),
1414
+ l = function (t) {
1415
+ return function (e, n) {
1416
+ var r,
1417
+ l,
1418
+ f = i(u(e)),
1419
+ p = o(n),
1420
+ d = f.length;
1421
+ return p < 0 || p >= d ? t ? "" : void 0 : (r = c(f, p)) < 55296 || r > 56319 || p + 1 === d || (l = c(f, p + 1)) < 56320 || l > 57343 ? t ? a(f, p) : r : t ? s(f, p, p + 2) : l - 56320 + (r - 55296 << 10) + 65536;
1422
+ };
1423
+ };
1424
+ t.exports = {
1425
+ codeAt: l(!1),
1426
+ charAt: l(!0)
1427
+ };
1428
+ },
1429
+ 772: function (t, e, n) {
1430
+ var r = n(8504),
1431
+ o = n(9957),
1432
+ i = n(6420).String;
1433
+ t.exports = !!Object.getOwnPropertySymbols && !o(function () {
1434
+ var t = Symbol("symbol detection");
1435
+ return !i(t) || !(Object(t) instanceof Symbol) || !Symbol.sham && r && r < 41;
1436
+ });
1437
+ },
1438
+ 2495: function (t, e, n) {
1439
+ var r = n(6180),
1440
+ o = Math.max,
1441
+ i = Math.min;
1442
+ t.exports = function (t, e) {
1443
+ var n = r(t);
1444
+ return n < 0 ? o(n + e, 0) : i(n, e);
1445
+ };
1446
+ },
1447
+ 4096: function (t, e, n) {
1448
+ var r = n(5712),
1449
+ o = n(5436);
1450
+ t.exports = function (t) {
1451
+ return r(o(t));
1452
+ };
1453
+ },
1454
+ 6180: function (t, e, n) {
1455
+ var r = n(1748);
1456
+ t.exports = function (t) {
1457
+ var e = +t;
1458
+ return e != e || 0 === e ? 0 : r(e);
1459
+ };
1460
+ },
1461
+ 7584: function (t, e, n) {
1462
+ var r = n(6180),
1463
+ o = Math.min;
1464
+ t.exports = function (t) {
1465
+ var e = r(t);
1466
+ return e > 0 ? o(e, 9007199254740991) : 0;
1467
+ };
1468
+ },
1469
+ 4356: function (t, e, n) {
1470
+ var r = n(5436),
1471
+ o = Object;
1472
+ t.exports = function (t) {
1473
+ return o(r(t));
1474
+ };
1475
+ },
1476
+ 7024: function (t, e, n) {
1477
+ var r = n(8448),
1478
+ o = n(1632),
1479
+ i = n(7728),
1480
+ u = n(4504),
1481
+ a = n(2104),
1482
+ c = n(9972),
1483
+ s = TypeError,
1484
+ l = c("toPrimitive");
1485
+ t.exports = function (t, e) {
1486
+ if (!o(t) || i(t)) return t;
1487
+ var n,
1488
+ c = u(t, l);
1489
+ if (c) {
1490
+ if (void 0 === e && (e = "default"), n = r(c, t, e), !o(n) || i(n)) return n;
1491
+ throw new s("Can't convert object to primitive value");
1492
+ }
1493
+ return void 0 === e && (e = "number"), a(t, e);
1494
+ };
1495
+ },
1496
+ 88: function (t, e, n) {
1497
+ var r = n(7024),
1498
+ o = n(7728);
1499
+ t.exports = function (t) {
1500
+ var e = r(t, "string");
1501
+ return o(e) ? e : e + "";
1502
+ };
1503
+ },
1504
+ 16: function (t, e, n) {
1505
+ var r = {};
1506
+ r[n(9972)("toStringTag")] = "z", t.exports = "[object z]" === String(r);
1507
+ },
1508
+ 5016: function (t, e, n) {
1509
+ var r = n(4427),
1510
+ o = String;
1511
+ t.exports = function (t) {
1512
+ if ("Symbol" === r(t)) throw new TypeError("Cannot convert a Symbol value to a string");
1513
+ return o(t);
1514
+ };
1515
+ },
1516
+ 36: function (t) {
1517
+ var e = String;
1518
+ t.exports = function (t) {
1519
+ try {
1520
+ return e(t);
1521
+ } catch (n) {
1522
+ return "Object";
1523
+ }
1524
+ };
1525
+ },
1526
+ 7776: function (t, e, n) {
1527
+ var r = n(1664),
1528
+ o = 0,
1529
+ i = Math.random(),
1530
+ u = r(1..toString);
1531
+ t.exports = function (t) {
1532
+ return "Symbol(" + (void 0 === t ? "" : t) + ")_" + u(++o + i, 36);
1533
+ };
1534
+ },
1535
+ 6536: function (t, e, n) {
1536
+ var r = n(772);
1537
+ t.exports = r && !Symbol.sham && "symbol" == typeof Symbol.iterator;
1538
+ },
1539
+ 1576: function (t, e, n) {
1540
+ var r = n(3476),
1541
+ o = n(9957);
1542
+ t.exports = r && o(function () {
1543
+ return 42 !== Object.defineProperty(function () {}, "prototype", {
1544
+ value: 42,
1545
+ writable: !1
1546
+ }).prototype;
1547
+ });
1548
+ },
1549
+ 4288: function (t, e, n) {
1550
+ var r = n(6420),
1551
+ o = n(4328),
1552
+ i = r.WeakMap;
1553
+ t.exports = o(i) && /native code/.test(String(i));
1554
+ },
1555
+ 9972: function (t, e, n) {
1556
+ var r = n(6420),
1557
+ o = n(4696),
1558
+ i = n(5152),
1559
+ u = n(7776),
1560
+ a = n(772),
1561
+ c = n(6536),
1562
+ s = r.Symbol,
1563
+ l = o("wks"),
1564
+ f = c ? s.for || s : s && s.withoutSetter || u;
1565
+ t.exports = function (t) {
1566
+ return i(l, t) || (l[t] = a && i(s, t) ? s[t] : f("Symbol." + t)), l[t];
1567
+ };
1568
+ },
1569
+ 6488: function (t, e, n) {
1570
+ var r = n(5232),
1571
+ o = n(5152),
1572
+ i = n(3440),
1573
+ u = n(7e3),
1574
+ a = n(4024),
1575
+ c = n(9968),
1576
+ s = n(584),
1577
+ l = n(7512),
1578
+ f = n(8948),
1579
+ p = n(3480),
1580
+ d = n(3696),
1581
+ h = n(3476),
1582
+ v = n(7048);
1583
+ t.exports = function (t, e, n, m) {
1584
+ var y = "stackTraceLimit",
1585
+ g = m ? 2 : 1,
1586
+ b = t.split("."),
1587
+ x = b[b.length - 1],
1588
+ w = r.apply(null, b);
1589
+ if (w) {
1590
+ var O = w.prototype;
1591
+ if (!v && o(O, "cause") && delete O.cause, !n) return w;
1592
+ var _ = r("Error"),
1593
+ S = e(function (t, e) {
1594
+ var n = f(m ? e : t, void 0),
1595
+ r = m ? new w(t) : new w();
1596
+ return void 0 !== n && i(r, "message", n), d(r, S, r.stack, 2), this && u(O, this) && l(r, this, S), arguments.length > g && p(r, arguments[g]), r;
1597
+ });
1598
+ if (S.prototype = O, "Error" !== x ? a ? a(S, _) : c(S, _, {
1599
+ name: !0
1600
+ }) : h && y in w && (s(S, w, y), s(S, w, "prepareStackTrace")), c(S, w), !v) try {
1601
+ O.name !== x && i(O, "name", x), O.constructor = S;
1602
+ } catch (C) {}
1603
+ return S;
1604
+ }
1605
+ };
1606
+ },
1607
+ 7476: function (t, e, n) {
1608
+ var r = n(9160),
1609
+ o = n(9957),
1610
+ i = n(1432),
1611
+ u = n(1632),
1612
+ a = n(4356),
1613
+ c = n(3556),
1614
+ s = n(4316),
1615
+ l = n(92),
1616
+ f = n(2568),
1617
+ p = n(953),
1618
+ d = n(9972),
1619
+ h = n(8504),
1620
+ v = d("isConcatSpreadable"),
1621
+ m = h >= 51 || !o(function () {
1622
+ var t = [];
1623
+ return t[v] = !1, t.concat()[0] !== t;
1624
+ }),
1625
+ y = function (t) {
1626
+ if (!u(t)) return !1;
1627
+ var e = t[v];
1628
+ return void 0 !== e ? !!e : i(t);
1629
+ };
1630
+ r({
1631
+ target: "Array",
1632
+ proto: !0,
1633
+ arity: 1,
1634
+ forced: !m || !p("concat")
1635
+ }, {
1636
+ concat: function (t) {
1637
+ var e,
1638
+ n,
1639
+ r,
1640
+ o,
1641
+ i,
1642
+ u = a(this),
1643
+ p = f(u, 0),
1644
+ d = 0;
1645
+ for (e = -1, r = arguments.length; e < r; e++) if (y(i = -1 === e ? u : arguments[e])) for (o = c(i), s(d + o), n = 0; n < o; n++, d++) n in i && l(p, d, i[n]);else s(d + 1), l(p, d++, i);
1646
+ return p.length = d, p;
1647
+ }
1648
+ });
1649
+ },
1650
+ 6932: function (t, e, n) {
1651
+ var r = n(9160),
1652
+ o = n(3364).filter;
1653
+ r({
1654
+ target: "Array",
1655
+ proto: !0,
1656
+ forced: !n(953)("filter")
1657
+ }, {
1658
+ filter: function (t) {
1659
+ return o(this, t, arguments.length > 1 ? arguments[1] : void 0);
1660
+ }
1661
+ });
1662
+ },
1663
+ 700: function (t, e, n) {
1664
+ var r = n(9160),
1665
+ o = n(1664),
1666
+ i = n(5712),
1667
+ u = n(4096),
1668
+ a = n(1496),
1669
+ c = o([].join);
1670
+ r({
1671
+ target: "Array",
1672
+ proto: !0,
1673
+ forced: i !== Object || !a("join", ",")
1674
+ }, {
1675
+ join: function (t) {
1676
+ return c(u(this), void 0 === t ? "," : t);
1677
+ }
1678
+ });
1679
+ },
1680
+ 4456: function (t, e, n) {
1681
+ var r = n(9160),
1682
+ o = n(3364).map;
1683
+ r({
1684
+ target: "Array",
1685
+ proto: !0,
1686
+ forced: !n(953)("map")
1687
+ }, {
1688
+ map: function (t) {
1689
+ return o(this, t, arguments.length > 1 ? arguments[1] : void 0);
1690
+ }
1691
+ });
1692
+ },
1693
+ 4728: function (t, e, n) {
1694
+ var r = n(9160),
1695
+ o = n(4356),
1696
+ i = n(3556),
1697
+ u = n(6728),
1698
+ a = n(4316);
1699
+ r({
1700
+ target: "Array",
1701
+ proto: !0,
1702
+ arity: 1,
1703
+ forced: n(9957)(function () {
1704
+ return 4294967297 !== [].push.call({
1705
+ length: 4294967296
1706
+ }, 1);
1707
+ }) || !function () {
1708
+ try {
1709
+ Object.defineProperty([], "length", {
1710
+ writable: !1
1711
+ }).push();
1712
+ } catch (t) {
1713
+ return t instanceof TypeError;
1714
+ }
1715
+ }()
1716
+ }, {
1717
+ push: function (t) {
1718
+ var e = o(this),
1719
+ n = i(e),
1720
+ r = arguments.length;
1721
+ a(n + r);
1722
+ for (var c = 0; c < r; c++) e[n] = arguments[c], n++;
1723
+ return u(e, n), n;
1724
+ }
1725
+ });
1726
+ },
1727
+ 8752: function (t, e, n) {
1728
+ var r = n(9160),
1729
+ o = n(6420),
1730
+ i = n(908),
1731
+ u = n(6488),
1732
+ a = "WebAssembly",
1733
+ c = o[a],
1734
+ s = 7 !== new Error("e", {
1735
+ cause: 7
1736
+ }).cause,
1737
+ l = function (t, e) {
1738
+ var n = {};
1739
+ n[t] = u(t, e, s), r({
1740
+ global: !0,
1741
+ constructor: !0,
1742
+ arity: 1,
1743
+ forced: s
1744
+ }, n);
1745
+ },
1746
+ f = function (t, e) {
1747
+ if (c && c[t]) {
1748
+ var n = {};
1749
+ n[t] = u(a + "." + t, e, s), r({
1750
+ target: a,
1751
+ stat: !0,
1752
+ constructor: !0,
1753
+ arity: 1,
1754
+ forced: s
1755
+ }, n);
1756
+ }
1757
+ };
1758
+ l("Error", function (t) {
1759
+ return function (e) {
1760
+ return i(t, this, arguments);
1761
+ };
1762
+ }), l("EvalError", function (t) {
1763
+ return function (e) {
1764
+ return i(t, this, arguments);
1765
+ };
1766
+ }), l("RangeError", function (t) {
1767
+ return function (e) {
1768
+ return i(t, this, arguments);
1769
+ };
1770
+ }), l("ReferenceError", function (t) {
1771
+ return function (e) {
1772
+ return i(t, this, arguments);
1773
+ };
1774
+ }), l("SyntaxError", function (t) {
1775
+ return function (e) {
1776
+ return i(t, this, arguments);
1777
+ };
1778
+ }), l("TypeError", function (t) {
1779
+ return function (e) {
1780
+ return i(t, this, arguments);
1781
+ };
1782
+ }), l("URIError", function (t) {
1783
+ return function (e) {
1784
+ return i(t, this, arguments);
1785
+ };
1786
+ }), f("CompileError", function (t) {
1787
+ return function (e) {
1788
+ return i(t, this, arguments);
1789
+ };
1790
+ }), f("LinkError", function (t) {
1791
+ return function (e) {
1792
+ return i(t, this, arguments);
1793
+ };
1794
+ }), f("RuntimeError", function (t) {
1795
+ return function (e) {
1796
+ return i(t, this, arguments);
1797
+ };
1798
+ });
1799
+ },
1800
+ 508: function (t, e, n) {
1801
+ var r = n(3476),
1802
+ o = n(6208).EXISTS,
1803
+ i = n(1664),
1804
+ u = n(2544),
1805
+ a = Function.prototype,
1806
+ c = i(a.toString),
1807
+ s = /function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,
1808
+ l = i(s.exec);
1809
+ r && !o && u(a, "name", {
1810
+ configurable: !0,
1811
+ get: function () {
1812
+ try {
1813
+ return l(s, c(this))[1];
1814
+ } catch (t) {
1815
+ return "";
1816
+ }
1817
+ }
1818
+ });
1819
+ },
1820
+ 232: function (t, e, n) {
1821
+ var r = n(9160),
1822
+ o = n(9292);
1823
+ r({
1824
+ target: "Object",
1825
+ stat: !0,
1826
+ arity: 2,
1827
+ forced: Object.assign !== o
1828
+ }, {
1829
+ assign: o
1830
+ });
1831
+ },
1832
+ 5443: function (t, e, n) {
1833
+ var r = n(16),
1834
+ o = n(6076),
1835
+ i = n(7032);
1836
+ r || o(Object.prototype, "toString", i, {
1837
+ unsafe: !0
1838
+ });
1839
+ },
1840
+ 880: function (t, e, n) {
1841
+ var r = n(9160),
1842
+ o = n(7680);
1843
+ r({
1844
+ target: "RegExp",
1845
+ proto: !0,
1846
+ forced: /./.exec !== o
1847
+ }, {
1848
+ exec: o
1849
+ });
1850
+ },
1851
+ 9836: function (t, e, n) {
1852
+ var r = n(8448),
1853
+ o = n(7176),
1854
+ i = n(3951),
1855
+ u = n(9760),
1856
+ a = n(7584),
1857
+ c = n(5016),
1858
+ s = n(5436),
1859
+ l = n(4504),
1860
+ f = n(4764),
1861
+ p = n(9092);
1862
+ o("match", function (t, e, n) {
1863
+ return [function (e) {
1864
+ var n = s(this),
1865
+ o = u(e) ? void 0 : l(e, t);
1866
+ return o ? r(o, e, n) : new RegExp(e)[t](c(n));
1867
+ }, function (t) {
1868
+ var r = i(this),
1869
+ o = c(t),
1870
+ u = n(e, r, o);
1871
+ if (u.done) return u.value;
1872
+ if (!r.global) return p(r, o);
1873
+ var s = r.unicode;
1874
+ r.lastIndex = 0;
1875
+ for (var l, d = [], h = 0; null !== (l = p(r, o));) {
1876
+ var v = c(l[0]);
1877
+ d[h] = v, "" === v && (r.lastIndex = f(o, a(r.lastIndex), s)), h++;
1878
+ }
1879
+ return 0 === h ? null : d;
1880
+ }];
1881
+ });
1882
+ },
1883
+ 3536: function (t, e, n) {
1884
+ var r = n(9160),
1885
+ o = n(6420),
1886
+ i = n(6100),
1887
+ u = n(3951),
1888
+ a = n(4328),
1889
+ c = n(7796),
1890
+ s = n(2544),
1891
+ l = n(92),
1892
+ f = n(9957),
1893
+ p = n(5152),
1894
+ d = n(9972),
1895
+ h = n(336).IteratorPrototype,
1896
+ v = n(3476),
1897
+ m = n(7048),
1898
+ y = "constructor",
1899
+ g = "Iterator",
1900
+ b = d("toStringTag"),
1901
+ x = TypeError,
1902
+ w = o[g],
1903
+ O = m || !a(w) || w.prototype !== h || !f(function () {
1904
+ w({});
1905
+ }),
1906
+ _ = function () {
1907
+ if (i(this, h), c(this) === h) throw new x("Abstract class Iterator not directly constructable");
1908
+ },
1909
+ S = function (t, e) {
1910
+ v ? s(h, t, {
1911
+ configurable: !0,
1912
+ get: function () {
1913
+ return e;
1914
+ },
1915
+ set: function (e) {
1916
+ if (u(this), this === h) throw new x("You can't redefine this property");
1917
+ p(this, t) ? this[t] = e : l(this, t, e);
1918
+ }
1919
+ }) : h[t] = e;
1920
+ };
1921
+ p(h, b) || S(b, g), !O && p(h, y) && h[y] !== Object || S(y, _), _.prototype = h, r({
1922
+ global: !0,
1923
+ constructor: !0,
1924
+ forced: O
1925
+ }, {
1926
+ Iterator: _
1927
+ });
1928
+ },
1929
+ 2144: function (t, e, n) {
1930
+ var r = n(9160),
1931
+ o = n(8448),
1932
+ i = n(8952),
1933
+ u = n(3951),
1934
+ a = n(6752),
1935
+ c = n(9724),
1936
+ s = n(8696),
1937
+ l = n(7048),
1938
+ f = c(function () {
1939
+ for (var t, e, n = this.iterator, r = this.predicate, i = this.next;;) {
1940
+ if (t = u(o(i, n)), this.done = !!t.done) return;
1941
+ if (e = t.value, s(n, r, [e, this.counter++], !0)) return e;
1942
+ }
1943
+ });
1944
+ r({
1945
+ target: "Iterator",
1946
+ proto: !0,
1947
+ real: !0,
1948
+ forced: l
1949
+ }, {
1950
+ filter: function (t) {
1951
+ return u(this), i(t), new f(a(this), {
1952
+ predicate: t
1953
+ });
1954
+ }
1955
+ });
1956
+ },
1957
+ 9080: function (t, e, n) {
1958
+ var r = n(9160),
1959
+ o = n(5792);
1960
+ r({
1961
+ target: "Iterator",
1962
+ proto: !0,
1963
+ real: !0,
1964
+ forced: n(7048)
1965
+ }, {
1966
+ map: o
1967
+ });
1968
+ }
1969
+ },
1970
+ e = {};
1971
+ function n(r) {
1972
+ var o = e[r];
1973
+ if (void 0 !== o) return o.exports;
1974
+ var i = e[r] = {
1975
+ exports: {}
1976
+ };
1977
+ return t[r].call(i.exports, i, i.exports, n), i.exports;
1978
+ }
1979
+ n.d = function (t, e) {
1980
+ for (var r in e) n.o(e, r) && !n.o(t, r) && Object.defineProperty(t, r, {
1981
+ enumerable: !0,
1982
+ get: e[r]
1983
+ });
1984
+ }, n.g = function () {
1985
+ if ("object" == typeof globalThis) return globalThis;
1986
+ try {
1987
+ return this || new Function("return this")();
1988
+ } catch (t) {
1989
+ if ("object" == typeof window) return window;
1990
+ }
1991
+ }(), n.o = function (t, e) {
1992
+ return Object.prototype.hasOwnProperty.call(t, e);
1993
+ };
1994
+ var r = {};
1995
+ return function () {
1996
+ n.d(r, {
1997
+ default: function () {
1998
+ return Q;
1999
+ }
2000
+ });
2001
+ n(8752), n(6932), n(4456), n(508), n(232), n(5443), n(3536), n(2144), n(9080);
2002
+ var t = function () {},
2003
+ e = {},
2004
+ o = [],
2005
+ i = [];
2006
+ function u(n, r) {
2007
+ var u,
2008
+ a,
2009
+ c,
2010
+ s,
2011
+ l = i;
2012
+ for (s = arguments.length; s-- > 2;) o.push(arguments[s]);
2013
+ for (r && null != r.children && (o.length || o.push(r.children), delete r.children); o.length;) if ((a = o.pop()) && void 0 !== a.pop) for (s = a.length; s--;) o.push(a[s]);else "boolean" == typeof a && (a = null), (c = "function" != typeof n) && (null == a ? a = "" : "number" == typeof a ? a = String(a) : "string" != typeof a && (c = !1)), c && u ? l[l.length - 1] += a : l === i ? l = [a] : l.push(a), u = c;
2014
+ var f = new t();
2015
+ return f.nodeName = n, f.children = l, f.attributes = null == r ? void 0 : r, f.key = null == r ? void 0 : r.key, void 0 !== e.vnode && e.vnode(f), f;
2016
+ }
2017
+ function a(t, e) {
2018
+ for (var n in e) t[n] = e[n];
2019
+ return t;
2020
+ }
2021
+ function c(t, e) {
2022
+ t && ("function" == typeof t ? t(e) : t.current = e);
2023
+ }
2024
+ var s = "function" == typeof Promise ? Promise.resolve().then.bind(Promise.resolve()) : setTimeout;
2025
+ var l = /acit|ex(?:s|g|n|p|$)|rph|ows|mnc|ntw|ine[ch]|zoo|^ord/i,
2026
+ f = [];
2027
+ function p(t) {
2028
+ !t._dirty && (t._dirty = !0) && 1 == f.push(t) && (e.debounceRendering || s)(d);
2029
+ }
2030
+ function d() {
2031
+ for (var t; t = f.pop();) t._dirty && T(t);
2032
+ }
2033
+ function h(t, e, n) {
2034
+ return "string" == typeof e || "number" == typeof e ? void 0 !== t.splitText : "string" == typeof e.nodeName ? !t._componentConstructor && v(t, e.nodeName) : n || t._componentConstructor === e.nodeName;
2035
+ }
2036
+ function v(t, e) {
2037
+ return t.normalizedNodeName === e || t.nodeName.toLowerCase() === e.toLowerCase();
2038
+ }
2039
+ function m(t) {
2040
+ var e = a({}, t.attributes);
2041
+ e.children = t.children;
2042
+ var n = t.nodeName.defaultProps;
2043
+ if (void 0 !== n) for (var r in n) void 0 === e[r] && (e[r] = n[r]);
2044
+ return e;
2045
+ }
2046
+ function y(t) {
2047
+ var e = t.parentNode;
2048
+ e && e.removeChild(t);
2049
+ }
2050
+ function g(t, e, n, r, o) {
2051
+ if ("className" === e && (e = "class"), "key" === e) ;else if ("ref" === e) c(n, null), c(r, t);else if ("class" !== e || o) {
2052
+ if ("style" === e) {
2053
+ if (r && "string" != typeof r && "string" != typeof n || (t.style.cssText = r || ""), r && "object" == typeof r) {
2054
+ if ("string" != typeof n) for (var i in n) i in r || (t.style[i] = "");
2055
+ for (var i in r) t.style[i] = "number" == typeof r[i] && !1 === l.test(i) ? r[i] + "px" : r[i];
2056
+ }
2057
+ } else if ("dangerouslySetInnerHTML" === e) r && (t.innerHTML = r.__html || "");else if ("o" == e[0] && "n" == e[1]) {
2058
+ var u = e !== (e = e.replace(/Capture$/, ""));
2059
+ e = e.toLowerCase().substring(2), r ? n || t.addEventListener(e, b, u) : t.removeEventListener(e, b, u), (t._listeners || (t._listeners = {}))[e] = r;
2060
+ } else if ("list" !== e && "type" !== e && !o && e in t) {
2061
+ try {
2062
+ t[e] = null == r ? "" : r;
2063
+ } catch (s) {}
2064
+ null != r && !1 !== r || "spellcheck" == e || t.removeAttribute(e);
2065
+ } else {
2066
+ var a = o && e !== (e = e.replace(/^xlink:?/, ""));
2067
+ null == r || !1 === r ? a ? t.removeAttributeNS("http://www.w3.org/1999/xlink", e.toLowerCase()) : t.removeAttribute(e) : "function" != typeof r && (a ? t.setAttributeNS("http://www.w3.org/1999/xlink", e.toLowerCase(), r) : t.setAttribute(e, r));
2068
+ }
2069
+ } else t.className = r || "";
2070
+ }
2071
+ function b(t) {
2072
+ return this._listeners[t.type](e.event && e.event(t) || t);
2073
+ }
2074
+ var x = [],
2075
+ w = 0,
2076
+ O = !1,
2077
+ _ = !1;
2078
+ function S() {
2079
+ for (var t; t = x.shift();) e.afterMount && e.afterMount(t), t.componentDidMount && t.componentDidMount();
2080
+ }
2081
+ function C(t, e, n, r, o, i) {
2082
+ w++ || (O = null != o && void 0 !== o.ownerSVGElement, _ = null != t && !("__preactattr_" in t));
2083
+ var u = E(t, e, n, r, i);
2084
+ return o && u.parentNode !== o && o.appendChild(u), --w || (_ = !1, i || S()), u;
2085
+ }
2086
+ function E(t, e, n, r, o) {
2087
+ var i = t,
2088
+ u = O;
2089
+ if (null != e && "boolean" != typeof e || (e = ""), "string" == typeof e || "number" == typeof e) return t && void 0 !== t.splitText && t.parentNode && (!t._component || o) ? t.nodeValue != e && (t.nodeValue = e) : (i = document.createTextNode(e), t && (t.parentNode && t.parentNode.replaceChild(i, t), I(t, !0))), i.__preactattr_ = !0, i;
2090
+ var a,
2091
+ c,
2092
+ s = e.nodeName;
2093
+ if ("function" == typeof s) return function (t, e, n, r) {
2094
+ var o = t && t._component,
2095
+ i = o,
2096
+ u = t,
2097
+ a = o && t._componentConstructor === e.nodeName,
2098
+ c = a,
2099
+ s = m(e);
2100
+ for (; o && !c && (o = o._parentComponent);) c = o.constructor === e.nodeName;
2101
+ o && c && (!r || o._component) ? (k(o, s, 3, n, r), t = o.base) : (i && !a && (R(i), t = u = null), o = P(e.nodeName, s, n), t && !o.nextBase && (o.nextBase = t, u = null), k(o, s, 1, n, r), t = o.base, u && t !== u && (u._component = null, I(u, !1)));
2102
+ return t;
2103
+ }(t, e, n, r);
2104
+ if (O = "svg" === s || "foreignObject" !== s && O, s = String(s), (!t || !v(t, s)) && (a = s, (c = O ? document.createElementNS("http://www.w3.org/2000/svg", a) : document.createElement(a)).normalizedNodeName = a, i = c, t)) {
2105
+ for (; t.firstChild;) i.appendChild(t.firstChild);
2106
+ t.parentNode && t.parentNode.replaceChild(i, t), I(t, !0);
2107
+ }
2108
+ var l = i.firstChild,
2109
+ f = i.__preactattr_,
2110
+ p = e.children;
2111
+ if (null == f) {
2112
+ f = i.__preactattr_ = {};
2113
+ for (var d = i.attributes, b = d.length; b--;) f[d[b].name] = d[b].value;
2114
+ }
2115
+ return !_ && p && 1 === p.length && "string" == typeof p[0] && null != l && void 0 !== l.splitText && null == l.nextSibling ? l.nodeValue != p[0] && (l.nodeValue = p[0]) : (p && p.length || null != l) && function (t, e, n, r, o) {
2116
+ var i,
2117
+ u,
2118
+ a,
2119
+ c,
2120
+ s,
2121
+ l = t.childNodes,
2122
+ f = [],
2123
+ p = {},
2124
+ d = 0,
2125
+ v = 0,
2126
+ m = l.length,
2127
+ g = 0,
2128
+ b = e ? e.length : 0;
2129
+ if (0 !== m) for (var x = 0; x < m; x++) {
2130
+ var w = l[x],
2131
+ O = w.__preactattr_;
2132
+ null != (_ = b && O ? w._component ? w._component.__key : O.key : null) ? (d++, p[_] = w) : (O || (void 0 !== w.splitText ? !o || w.nodeValue.trim() : o)) && (f[g++] = w);
2133
+ }
2134
+ if (0 !== b) for (x = 0; x < b; x++) {
2135
+ var _;
2136
+ if (s = null, null != (_ = (c = e[x]).key)) d && void 0 !== p[_] && (s = p[_], p[_] = void 0, d--);else if (v < g) for (i = v; i < g; i++) if (void 0 !== f[i] && h(u = f[i], c, o)) {
2137
+ s = u, f[i] = void 0, i === g - 1 && g--, i === v && v++;
2138
+ break;
2139
+ }
2140
+ s = E(s, c, n, r), a = l[x], s && s !== t && s !== a && (null == a ? t.appendChild(s) : s === a.nextSibling ? y(a) : t.insertBefore(s, a));
2141
+ }
2142
+ if (d) for (var x in p) void 0 !== p[x] && I(p[x], !1);
2143
+ for (; v <= g;) void 0 !== (s = f[g--]) && I(s, !1);
2144
+ }(i, p, n, r, _ || null != f.dangerouslySetInnerHTML), function (t, e, n) {
2145
+ var r;
2146
+ for (r in n) e && null != e[r] || null == n[r] || g(t, r, n[r], n[r] = void 0, O);
2147
+ for (r in e) "children" === r || "innerHTML" === r || r in n && e[r] === ("value" === r || "checked" === r ? t[r] : n[r]) || g(t, r, n[r], n[r] = e[r], O);
2148
+ }(i, e.attributes, f), O = u, i;
2149
+ }
2150
+ function I(t, e) {
2151
+ var n = t._component;
2152
+ n ? R(n) : (null != t.__preactattr_ && c(t.__preactattr_.ref, null), !1 !== e && null != t.__preactattr_ || y(t), j(t));
2153
+ }
2154
+ function j(t) {
2155
+ for (t = t.lastChild; t;) {
2156
+ var e = t.previousSibling;
2157
+ I(t, !0), t = e;
2158
+ }
2159
+ }
2160
+ var A = [];
2161
+ function P(t, e, n) {
2162
+ var r,
2163
+ o = A.length;
2164
+ for (t.prototype && t.prototype.render ? (r = new t(e, n), M.call(r, e, n)) : ((r = new M(e, n)).constructor = t, r.render = N); o--;) if (A[o].constructor === t) return r.nextBase = A[o].nextBase, A.splice(o, 1), r;
2165
+ return r;
2166
+ }
2167
+ function N(t, e, n) {
2168
+ return this.constructor(t, n);
2169
+ }
2170
+ function k(t, n, r, o, i) {
2171
+ t._disable || (t._disable = !0, t.__ref = n.ref, t.__key = n.key, delete n.ref, delete n.key, void 0 === t.constructor.getDerivedStateFromProps && (!t.base || i ? t.componentWillMount && t.componentWillMount() : t.componentWillReceiveProps && t.componentWillReceiveProps(n, o)), o && o !== t.context && (t.prevContext || (t.prevContext = t.context), t.context = o), t.prevProps || (t.prevProps = t.props), t.props = n, t._disable = !1, 0 !== r && (1 !== r && !1 === e.syncComponentUpdates && t.base ? p(t) : T(t, 1, i)), c(t.__ref, t));
2172
+ }
2173
+ function T(t, n, r, o) {
2174
+ if (!t._disable) {
2175
+ var i,
2176
+ u,
2177
+ c,
2178
+ s = t.props,
2179
+ l = t.state,
2180
+ f = t.context,
2181
+ p = t.prevProps || s,
2182
+ d = t.prevState || l,
2183
+ h = t.prevContext || f,
2184
+ v = t.base,
2185
+ y = t.nextBase,
2186
+ g = v || y,
2187
+ b = t._component,
2188
+ O = !1,
2189
+ _ = h;
2190
+ if (t.constructor.getDerivedStateFromProps && (l = a(a({}, l), t.constructor.getDerivedStateFromProps(s, l)), t.state = l), v && (t.props = p, t.state = d, t.context = h, 2 !== n && t.shouldComponentUpdate && !1 === t.shouldComponentUpdate(s, l, f) ? O = !0 : t.componentWillUpdate && t.componentWillUpdate(s, l, f), t.props = s, t.state = l, t.context = f), t.prevProps = t.prevState = t.prevContext = t.nextBase = null, t._dirty = !1, !O) {
2191
+ i = t.render(s, l, f), t.getChildContext && (f = a(a({}, f), t.getChildContext())), v && t.getSnapshotBeforeUpdate && (_ = t.getSnapshotBeforeUpdate(p, d));
2192
+ var E,
2193
+ j,
2194
+ A = i && i.nodeName;
2195
+ if ("function" == typeof A) {
2196
+ var N = m(i);
2197
+ (u = b) && u.constructor === A && N.key == u.__key ? k(u, N, 1, f, !1) : (E = u, t._component = u = P(A, N, f), u.nextBase = u.nextBase || y, u._parentComponent = t, k(u, N, 0, f, !1), T(u, 1, r, !0)), j = u.base;
2198
+ } else c = g, (E = b) && (c = t._component = null), (g || 1 === n) && (c && (c._component = null), j = C(c, i, f, r || !v, g && g.parentNode, !0));
2199
+ if (g && j !== g && u !== b) {
2200
+ var M = g.parentNode;
2201
+ M && j !== M && (M.replaceChild(j, g), E || (g._component = null, I(g, !1)));
2202
+ }
2203
+ if (E && R(E), t.base = j, j && !o) {
2204
+ for (var L = t, D = t; D = D._parentComponent;) (L = D).base = j;
2205
+ j._component = L, j._componentConstructor = L.constructor;
2206
+ }
2207
+ }
2208
+ for (!v || r ? x.push(t) : O || (t.componentDidUpdate && t.componentDidUpdate(p, d, _), e.afterUpdate && e.afterUpdate(t)); t._renderCallbacks.length;) t._renderCallbacks.pop().call(t);
2209
+ w || o || S();
2210
+ }
2211
+ }
2212
+ function R(t) {
2213
+ e.beforeUnmount && e.beforeUnmount(t);
2214
+ var n = t.base;
2215
+ t._disable = !0, t.componentWillUnmount && t.componentWillUnmount(), t.base = null;
2216
+ var r = t._component;
2217
+ r ? R(r) : n && (null != n.__preactattr_ && c(n.__preactattr_.ref, null), t.nextBase = n, y(n), A.push(t), j(n)), c(t.__ref, null);
2218
+ }
2219
+ function M(t, e) {
2220
+ this._dirty = !0, this.context = e, this.props = t, this.state = this.state || {}, this._renderCallbacks = [];
2221
+ }
2222
+ function L(t, e, n) {
2223
+ return C(n, t, {}, !1, e, !1);
2224
+ }
2225
+ a(M.prototype, {
2226
+ setState: function (t, e) {
2227
+ this.prevState || (this.prevState = this.state), this.state = a(a({}, this.state), "function" == typeof t ? t(this.state, this.props) : t), e && this._renderCallbacks.push(e), p(this);
2228
+ },
2229
+ forceUpdate: function (t) {
2230
+ t && this._renderCallbacks.push(t), T(this, 2);
2231
+ },
2232
+ render: function () {}
2233
+ });
2234
+ n(700), n(4728), n(880), n(9836), n(7476);
2235
+ function D(t, e) {
2236
+ return D = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
2237
+ return t.__proto__ = e, t;
2238
+ }, D(t, e);
2239
+ }
2240
+ var B = function (t) {
2241
+ var e, n;
2242
+ function r() {
2243
+ for (var e, n = arguments.length, r = new Array(n), o = 0; o < n; o++) r[o] = arguments[o];
2244
+ return (e = t.call.apply(t, [this].concat(r)) || this).state = {
2245
+ bump: !1,
2246
+ debounced: !1
2247
+ }, e;
2248
+ }
2249
+ n = t, (e = r).prototype = Object.create(n.prototype), e.prototype.constructor = e, D(e, n);
2250
+ var o = r.prototype;
2251
+ return o.componentWillMount = function () {
2252
+ var t,
2253
+ e,
2254
+ n,
2255
+ r,
2256
+ o = this;
2257
+ this.debounceStatusUpdate = (t = function () {
2258
+ if (!o.state.debounced) {
2259
+ var t = !o.props.isInFocus || o.props.validChoiceMade;
2260
+ o.setState(function (e) {
2261
+ return {
2262
+ bump: !e.bump,
2263
+ debounced: !0,
2264
+ silenced: t
2265
+ };
2266
+ });
2267
+ }
2268
+ }, e = 1400, function () {
2269
+ var o = this,
2270
+ i = arguments,
2271
+ u = n ;
2272
+ clearTimeout(r), r = setTimeout(function () {
2273
+ r = null, t.apply(o, i);
2274
+ }, e), u ;
2275
+ });
2276
+ }, o.componentWillReceiveProps = function (t) {
2277
+ t.queryLength;
2278
+ this.setState({
2279
+ debounced: !1
2280
+ });
2281
+ }, o.render = function () {
2282
+ var t = this.props,
2283
+ e = t.id,
2284
+ n = t.length,
2285
+ r = t.queryLength,
2286
+ o = t.minQueryLength,
2287
+ i = t.selectedOption,
2288
+ a = t.selectedOptionIndex,
2289
+ c = t.tQueryTooShort,
2290
+ s = t.tNoResults,
2291
+ l = t.tSelectedOption,
2292
+ f = t.tResults,
2293
+ p = t.className,
2294
+ d = this.state,
2295
+ h = d.bump,
2296
+ v = d.debounced,
2297
+ m = d.silenced,
2298
+ y = r < o,
2299
+ g = 0 === n,
2300
+ b = i ? l(i, n, a) : "",
2301
+ x = null;
2302
+ return x = y ? c(o) : g ? s() : f(n, b), this.debounceStatusUpdate(), u("div", {
2303
+ className: p,
2304
+ style: {
2305
+ border: "0",
2306
+ clip: "rect(0 0 0 0)",
2307
+ height: "1px",
2308
+ marginBottom: "-1px",
2309
+ marginRight: "-1px",
2310
+ overflow: "hidden",
2311
+ padding: "0",
2312
+ position: "absolute",
2313
+ whiteSpace: "nowrap",
2314
+ width: "1px"
2315
+ }
2316
+ }, u("div", {
2317
+ id: e + "__status--A",
2318
+ role: "status",
2319
+ "aria-atomic": "true",
2320
+ "aria-live": "polite"
2321
+ }, !m && v && h ? x : ""), u("div", {
2322
+ id: e + "__status--B",
2323
+ role: "status",
2324
+ "aria-atomic": "true",
2325
+ "aria-live": "polite"
2326
+ }, m || !v || h ? "" : x));
2327
+ }, r;
2328
+ }(M);
2329
+ B.defaultProps = {
2330
+ tQueryTooShort: function (t) {
2331
+ return "Type in " + t + " or more characters for results";
2332
+ },
2333
+ tNoResults: function () {
2334
+ return "No search results";
2335
+ },
2336
+ tSelectedOption: function (t, e, n) {
2337
+ return t + " " + (n + 1) + " of " + e + " is highlighted";
2338
+ },
2339
+ tResults: function (t, e) {
2340
+ return t + " " + (1 === t ? "result" : "results") + " " + (1 === t ? "is" : "are") + " available. " + e;
2341
+ }
2342
+ };
2343
+ var F = function (t) {
2344
+ return u("svg", {
2345
+ version: "1.1",
2346
+ xmlns: "http://www.w3.org/2000/svg",
2347
+ className: t.className,
2348
+ focusable: "false"
2349
+ }, u("g", {
2350
+ stroke: "none",
2351
+ fill: "none",
2352
+ "fill-rule": "evenodd"
2353
+ }, u("polygon", {
2354
+ fill: "#000000",
2355
+ points: "0 0 22 0 11 17"
2356
+ })));
2357
+ };
2358
+ function U() {
2359
+ return U = Object.assign ? Object.assign.bind() : function (t) {
2360
+ for (var e = 1; e < arguments.length; e++) {
2361
+ var n = arguments[e];
2362
+ for (var r in n) Object.prototype.hasOwnProperty.call(n, r) && (t[r] = n[r]);
2363
+ }
2364
+ return t;
2365
+ }, U.apply(this, arguments);
2366
+ }
2367
+ function V(t) {
2368
+ if (void 0 === t) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
2369
+ return t;
2370
+ }
2371
+ function q(t, e) {
2372
+ return q = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) {
2373
+ return t.__proto__ = e, t;
2374
+ }, q(t, e);
2375
+ }
2376
+ var W = {
2377
+ 13: "enter",
2378
+ 27: "escape",
2379
+ 32: "space",
2380
+ 38: "up",
2381
+ 40: "down"
2382
+ };
2383
+ function H() {
2384
+ return "undefined" != typeof navigator && !(!navigator.userAgent.match(/(iPod|iPhone|iPad)/g) || !navigator.userAgent.match(/AppleWebKit/g));
2385
+ }
2386
+ var K = function (t) {
2387
+ var e, n;
2388
+ function r(e) {
2389
+ var n;
2390
+ return (n = t.call(this, e) || this).elementReferences = {}, n.state = {
2391
+ focused: null,
2392
+ hovered: null,
2393
+ menuOpen: !1,
2394
+ options: e.defaultValue ? [e.defaultValue] : [],
2395
+ query: e.defaultValue,
2396
+ validChoiceMade: !1,
2397
+ selected: null,
2398
+ ariaHint: !0
2399
+ }, n.handleComponentBlur = n.handleComponentBlur.bind(V(n)), n.handleKeyDown = n.handleKeyDown.bind(V(n)), n.handleUpArrow = n.handleUpArrow.bind(V(n)), n.handleDownArrow = n.handleDownArrow.bind(V(n)), n.handleEnter = n.handleEnter.bind(V(n)), n.handlePrintableKey = n.handlePrintableKey.bind(V(n)), n.handleListMouseLeave = n.handleListMouseLeave.bind(V(n)), n.handleOptionBlur = n.handleOptionBlur.bind(V(n)), n.handleOptionClick = n.handleOptionClick.bind(V(n)), n.handleOptionFocus = n.handleOptionFocus.bind(V(n)), n.handleOptionMouseDown = n.handleOptionMouseDown.bind(V(n)), n.handleOptionMouseEnter = n.handleOptionMouseEnter.bind(V(n)), n.handleInputBlur = n.handleInputBlur.bind(V(n)), n.handleInputChange = n.handleInputChange.bind(V(n)), n.handleInputClick = n.handleInputClick.bind(V(n)), n.handleInputFocus = n.handleInputFocus.bind(V(n)), n.pollInputElement = n.pollInputElement.bind(V(n)), n.getDirectInputChanges = n.getDirectInputChanges.bind(V(n)), n;
2400
+ }
2401
+ n = t, (e = r).prototype = Object.create(n.prototype), e.prototype.constructor = e, q(e, n);
2402
+ var o = r.prototype;
2403
+ return o.isQueryAnOption = function (t, e) {
2404
+ var n = this;
2405
+ return -1 !== e.map(function (t) {
2406
+ return n.templateInputValue(t).toLowerCase();
2407
+ }).indexOf(t.toLowerCase());
2408
+ }, o.componentDidMount = function () {
2409
+ this.pollInputElement();
2410
+ }, o.componentWillUnmount = function () {
2411
+ clearTimeout(this.$pollInput);
2412
+ }, o.pollInputElement = function () {
2413
+ var t = this;
2414
+ this.getDirectInputChanges(), this.$pollInput = setTimeout(function () {
2415
+ t.pollInputElement();
2416
+ }, 100);
2417
+ }, o.getDirectInputChanges = function () {
2418
+ var t = this.elementReferences[-1];
2419
+ t && t.value !== this.state.query && this.handleInputChange({
2420
+ target: {
2421
+ value: t.value
2422
+ }
2423
+ });
2424
+ }, o.componentDidUpdate = function (t, e) {
2425
+ var n = this.state.focused,
2426
+ r = null === n,
2427
+ o = e.focused !== n;
2428
+ o && !r && this.elementReferences[n].focus();
2429
+ var i = -1 === n,
2430
+ u = o && null === e.focused;
2431
+ if (i && u) {
2432
+ var a = this.elementReferences[n];
2433
+ a.setSelectionRange(0, a.value.length);
2434
+ }
2435
+ }, o.hasAutoselect = function () {
2436
+ return !H() && this.props.autoselect;
2437
+ }, o.templateInputValue = function (t) {
2438
+ var e = this.props.templates && this.props.templates.inputValue;
2439
+ return e ? e(t) : t;
2440
+ }, o.templateSuggestion = function (t) {
2441
+ var e = this.props.templates && this.props.templates.suggestion;
2442
+ return e ? e(t) : t;
2443
+ }, o.handleComponentBlur = function (t) {
2444
+ var e,
2445
+ n = this.state,
2446
+ r = n.options,
2447
+ o = n.query,
2448
+ i = n.selected;
2449
+ this.props.confirmOnBlur ? (e = t.query || o, this.props.onConfirm(r[i])) : e = o, this.setState({
2450
+ focused: null,
2451
+ menuOpen: t.menuOpen || !1,
2452
+ query: e,
2453
+ selected: null,
2454
+ validChoiceMade: this.isQueryAnOption(e, r)
2455
+ });
2456
+ }, o.handleListMouseLeave = function (t) {
2457
+ this.setState({
2458
+ hovered: null
2459
+ });
2460
+ }, o.handleOptionBlur = function (t, e) {
2461
+ var n = this.state,
2462
+ r = n.focused,
2463
+ o = n.menuOpen,
2464
+ i = n.options,
2465
+ u = n.selected,
2466
+ a = null === t.relatedTarget,
2467
+ c = t.relatedTarget === this.elementReferences[-1],
2468
+ s = r !== e && -1 !== r;
2469
+ if (!s && a || !(s || c)) {
2470
+ var l = o && H();
2471
+ this.handleComponentBlur({
2472
+ menuOpen: l,
2473
+ query: this.templateInputValue(i[u])
2474
+ });
2475
+ }
2476
+ }, o.handleInputBlur = function (t) {
2477
+ var e = this.state,
2478
+ n = e.focused,
2479
+ r = e.menuOpen,
2480
+ o = e.options,
2481
+ i = e.query,
2482
+ u = e.selected;
2483
+ if (!(-1 !== n)) {
2484
+ var a = r && H(),
2485
+ c = H() ? i : this.templateInputValue(o[u]);
2486
+ this.handleComponentBlur({
2487
+ menuOpen: a,
2488
+ query: c
2489
+ });
2490
+ }
2491
+ }, o.handleInputChange = function (t) {
2492
+ var e = this,
2493
+ n = this.props,
2494
+ r = n.minLength,
2495
+ o = n.source,
2496
+ i = n.showAllValues,
2497
+ u = this.hasAutoselect(),
2498
+ a = t.target.value,
2499
+ c = 0 === a.length,
2500
+ s = this.state.query !== a,
2501
+ l = a.length >= r;
2502
+ this.setState({
2503
+ query: a,
2504
+ ariaHint: c
2505
+ }), i || !c && s && l ? o(a, function (t) {
2506
+ var n = t.length > 0;
2507
+ e.setState({
2508
+ menuOpen: n,
2509
+ options: t,
2510
+ selected: u && n ? 0 : -1,
2511
+ validChoiceMade: !1
2512
+ });
2513
+ }) : !c && l || this.setState({
2514
+ menuOpen: !1,
2515
+ options: []
2516
+ });
2517
+ }, o.handleInputClick = function (t) {
2518
+ this.handleInputChange(t);
2519
+ }, o.handleInputFocus = function (t) {
2520
+ var e = this.state,
2521
+ n = e.query,
2522
+ r = e.validChoiceMade,
2523
+ o = e.options,
2524
+ i = this.props.minLength,
2525
+ u = !r && n.length >= i && o.length > 0;
2526
+ u ? this.setState(function (t) {
2527
+ var e = t.menuOpen;
2528
+ return {
2529
+ focused: -1,
2530
+ menuOpen: u || e,
2531
+ selected: -1
2532
+ };
2533
+ }) : this.setState({
2534
+ focused: -1
2535
+ });
2536
+ }, o.handleOptionFocus = function (t) {
2537
+ this.setState({
2538
+ focused: t,
2539
+ hovered: null,
2540
+ selected: t
2541
+ });
2542
+ }, o.handleOptionMouseEnter = function (t, e) {
2543
+ H() || this.setState({
2544
+ hovered: e
2545
+ });
2546
+ }, o.handleOptionClick = function (t, e) {
2547
+ var n = this.state.options[e],
2548
+ r = this.templateInputValue(n);
2549
+ this.props.onConfirm(n), this.setState({
2550
+ focused: -1,
2551
+ hovered: null,
2552
+ menuOpen: !1,
2553
+ query: r,
2554
+ selected: -1,
2555
+ validChoiceMade: !0
2556
+ }), this.forceUpdate();
2557
+ }, o.handleOptionMouseDown = function (t) {
2558
+ t.preventDefault();
2559
+ }, o.handleUpArrow = function (t) {
2560
+ t.preventDefault();
2561
+ var e = this.state,
2562
+ n = e.menuOpen,
2563
+ r = e.selected;
2564
+ -1 !== r && n && this.handleOptionFocus(r - 1);
2565
+ }, o.handleDownArrow = function (t) {
2566
+ var e = this;
2567
+ if (t.preventDefault(), this.props.showAllValues && !1 === this.state.menuOpen) t.preventDefault(), this.props.source("", function (t) {
2568
+ e.setState({
2569
+ menuOpen: !0,
2570
+ options: t,
2571
+ selected: 0,
2572
+ focused: 0,
2573
+ hovered: null
2574
+ });
2575
+ });else if (!0 === this.state.menuOpen) {
2576
+ var n = this.state,
2577
+ r = n.menuOpen,
2578
+ o = n.options,
2579
+ i = n.selected;
2580
+ i !== o.length - 1 && r && this.handleOptionFocus(i + 1);
2581
+ }
2582
+ }, o.handleSpace = function (t) {
2583
+ var e = this;
2584
+ this.props.showAllValues && !1 === this.state.menuOpen && "" === this.state.query && (t.preventDefault(), this.props.source("", function (t) {
2585
+ e.setState({
2586
+ menuOpen: !0,
2587
+ options: t
2588
+ });
2589
+ })), -1 !== this.state.focused && (t.preventDefault(), this.handleOptionClick(t, this.state.focused));
2590
+ }, o.handleEnter = function (t) {
2591
+ this.state.menuOpen && (t.preventDefault(), this.state.selected >= 0 && this.handleOptionClick(t, this.state.selected));
2592
+ }, o.handlePrintableKey = function (t) {
2593
+ var e = this.elementReferences[-1];
2594
+ t.target === e || e.focus();
2595
+ }, o.handleKeyDown = function (t) {
2596
+ switch (W[t.keyCode]) {
2597
+ case "up":
2598
+ this.handleUpArrow(t);
2599
+ break;
2600
+ case "down":
2601
+ this.handleDownArrow(t);
2602
+ break;
2603
+ case "space":
2604
+ this.handleSpace(t);
2605
+ break;
2606
+ case "enter":
2607
+ this.handleEnter(t);
2608
+ break;
2609
+ case "escape":
2610
+ this.handleComponentBlur({
2611
+ query: this.state.query
2612
+ });
2613
+ break;
2614
+ default:
2615
+ ((e = t.keyCode) > 47 && e < 58 || 32 === e || 8 === e || e > 64 && e < 91 || e > 95 && e < 112 || e > 185 && e < 193 || e > 218 && e < 223) && this.handlePrintableKey(t);
2616
+ }
2617
+ var e;
2618
+ }, o.render = function () {
2619
+ var t,
2620
+ e = this,
2621
+ n = this.props,
2622
+ r = n.cssNamespace,
2623
+ o = n.displayMenu,
2624
+ i = n.id,
2625
+ a = n.minLength,
2626
+ c = n.name,
2627
+ s = n.placeholder,
2628
+ l = n.required,
2629
+ f = n.showAllValues,
2630
+ p = n.tNoResults,
2631
+ d = n.tStatusQueryTooShort,
2632
+ h = n.tStatusNoResults,
2633
+ v = n.tStatusSelectedOption,
2634
+ m = n.tStatusResults,
2635
+ y = n.tAssistiveHint,
2636
+ g = n.dropdownArrow,
2637
+ b = n.menuAttributes,
2638
+ x = n.inputClasses,
2639
+ w = n.hintClasses,
2640
+ O = n.menuClasses,
2641
+ _ = this.state,
2642
+ S = _.focused,
2643
+ C = _.hovered,
2644
+ E = _.menuOpen,
2645
+ I = _.options,
2646
+ j = _.query,
2647
+ A = _.selected,
2648
+ P = _.ariaHint,
2649
+ N = _.validChoiceMade,
2650
+ k = this.hasAutoselect(),
2651
+ T = -1 === S,
2652
+ R = 0 === I.length,
2653
+ M = 0 !== j.length,
2654
+ L = j.length >= a,
2655
+ D = this.props.showNoOptionsFound && T && R && M && L,
2656
+ F = r + "__wrapper",
2657
+ V = r + "__status",
2658
+ q = r + "__dropdown-arrow-down",
2659
+ W = -1 !== S && null !== S,
2660
+ K = r + "__option",
2661
+ z = r + "__hint",
2662
+ G = this.templateInputValue(I[A]),
2663
+ Q = G && 0 === G.toLowerCase().indexOf(j.toLowerCase()) && k ? j + G.substr(j.length) : "",
2664
+ $ = i + "__assistiveHint",
2665
+ Y = {
2666
+ "aria-describedby": P ? $ : null,
2667
+ "aria-expanded": E ? "true" : "false",
2668
+ "aria-activedescendant": W ? i + "__option--" + S : null,
2669
+ "aria-controls": i + "__listbox",
2670
+ "aria-autocomplete": this.hasAutoselect() ? "both" : "list"
2671
+ };
2672
+ f && "string" == typeof (t = g({
2673
+ className: q
2674
+ })) && (t = u("div", {
2675
+ className: r + "__dropdown-arrow-down-wrapper",
2676
+ dangerouslySetInnerHTML: {
2677
+ __html: t
2678
+ }
2679
+ }));
2680
+ var X = r + "__input",
2681
+ J = [X, this.props.showAllValues ? X + "--show-all-values" : X + "--default"];
2682
+ null !== S && J.push(X + "--focused"), x && J.push(x);
2683
+ var Z = r + "__menu",
2684
+ tt = [Z, Z + "--" + o, Z + "--" + (E || D ? "visible" : "hidden")];
2685
+ O && tt.push(O), (null != b && b.class || null != b && b.className) && tt.push((null == b ? void 0 : b.class) || (null == b ? void 0 : b.className));
2686
+ var et = Object.assign({
2687
+ "aria-labelledby": i
2688
+ }, b, {
2689
+ id: i + "__listbox",
2690
+ role: "listbox",
2691
+ className: tt.join(" "),
2692
+ onMouseLeave: this.handleListMouseLeave
2693
+ });
2694
+ return delete et.class, u("div", {
2695
+ className: F,
2696
+ onKeyDown: this.handleKeyDown
2697
+ }, u(B, {
2698
+ id: i,
2699
+ length: I.length,
2700
+ queryLength: j.length,
2701
+ minQueryLength: a,
2702
+ selectedOption: this.templateInputValue(I[A]),
2703
+ selectedOptionIndex: A,
2704
+ validChoiceMade: N,
2705
+ isInFocus: null !== this.state.focused,
2706
+ tQueryTooShort: d,
2707
+ tNoResults: h,
2708
+ tSelectedOption: v,
2709
+ tResults: m,
2710
+ className: V
2711
+ }), Q && u("span", null, u("input", {
2712
+ className: [z, null === w ? x : w].filter(Boolean).join(" "),
2713
+ readonly: !0,
2714
+ tabIndex: "-1",
2715
+ value: Q
2716
+ })), u("input", U({}, Y, {
2717
+ autoComplete: "off",
2718
+ className: J.join(" "),
2719
+ id: i,
2720
+ onClick: this.handleInputClick,
2721
+ onBlur: this.handleInputBlur
2722
+ }, {
2723
+ onInput: this.handleInputChange
2724
+ }, {
2725
+ onFocus: this.handleInputFocus,
2726
+ name: c,
2727
+ placeholder: s,
2728
+ ref: function (t) {
2729
+ e.elementReferences[-1] = t;
2730
+ },
2731
+ type: "text",
2732
+ role: "combobox",
2733
+ required: l,
2734
+ value: j
2735
+ })), t, u("ul", et, I.map(function (t, n) {
2736
+ var r = (-1 === S ? A === n : S === n) && null === C ? " " + K + "--focused" : "",
2737
+ o = n % 2 ? " " + K + "--odd" : "",
2738
+ a = H() ? "<span id=" + i + "__option-suffix--" + n + ' style="border:0;clip:rect(0 0 0 0);height:1px;marginBottom:-1px;marginRight:-1px;overflow:hidden;padding:0;position:absolute;whiteSpace:nowrap;width:1px"> ' + (n + 1) + " of " + I.length + "</span>" : "";
2739
+ return u("li", {
2740
+ "aria-selected": S === n ? "true" : "false",
2741
+ className: "" + K + r + o,
2742
+ dangerouslySetInnerHTML: {
2743
+ __html: e.templateSuggestion(t) + a
2744
+ },
2745
+ id: i + "__option--" + n,
2746
+ key: n,
2747
+ onBlur: function (t) {
2748
+ return e.handleOptionBlur(t, n);
2749
+ },
2750
+ onClick: function (t) {
2751
+ return e.handleOptionClick(t, n);
2752
+ },
2753
+ onMouseDown: e.handleOptionMouseDown,
2754
+ onMouseEnter: function (t) {
2755
+ return e.handleOptionMouseEnter(t, n);
2756
+ },
2757
+ ref: function (t) {
2758
+ e.elementReferences[n] = t;
2759
+ },
2760
+ role: "option",
2761
+ tabIndex: "-1",
2762
+ "aria-posinset": n + 1,
2763
+ "aria-setsize": I.length
2764
+ });
2765
+ }), D && u("li", {
2766
+ className: K + " " + K + "--no-results",
2767
+ role: "option",
2768
+ "aria-disabled": "true"
2769
+ }, p())), u("span", {
2770
+ id: $,
2771
+ style: {
2772
+ display: "none"
2773
+ }
2774
+ }, y()));
2775
+ }, r;
2776
+ }(M);
2777
+ function z(t) {
2778
+ if (!t.element) throw new Error("element is not defined");
2779
+ if (!t.id) throw new Error("id is not defined");
2780
+ if (!t.source) throw new Error("source is not defined");
2781
+ Array.isArray(t.source) && (t.source = G(t.source)), L(u(K, t), t.element);
2782
+ }
2783
+ K.defaultProps = {
2784
+ autoselect: !1,
2785
+ cssNamespace: "autocomplete",
2786
+ defaultValue: "",
2787
+ displayMenu: "inline",
2788
+ minLength: 0,
2789
+ name: "input-autocomplete",
2790
+ placeholder: "",
2791
+ onConfirm: function () {},
2792
+ confirmOnBlur: !0,
2793
+ showNoOptionsFound: !0,
2794
+ showAllValues: !1,
2795
+ required: !1,
2796
+ tNoResults: function () {
2797
+ return "No results found";
2798
+ },
2799
+ tAssistiveHint: function () {
2800
+ return "When autocomplete results are available use up and down arrows to review and enter to select. Touch device users, explore by touch or with swipe gestures.";
2801
+ },
2802
+ dropdownArrow: F,
2803
+ menuAttributes: {},
2804
+ inputClasses: null,
2805
+ hintClasses: null,
2806
+ menuClasses: null
2807
+ };
2808
+ var G = function (t) {
2809
+ return function (e, n) {
2810
+ n(t.filter(function (t) {
2811
+ return -1 !== t.toLowerCase().indexOf(e.toLowerCase());
2812
+ }));
2813
+ };
2814
+ };
2815
+ z.enhanceSelectElement = function (t) {
2816
+ if (!t.selectElement) throw new Error("selectElement is not defined");
2817
+ if (!t.source) {
2818
+ var e = [].filter.call(t.selectElement.options, function (e) {
2819
+ return e.value || t.preserveNullOptions;
2820
+ });
2821
+ t.source = e.map(function (t) {
2822
+ return t.textContent || t.innerText;
2823
+ });
2824
+ }
2825
+ if (t.onConfirm = t.onConfirm || function (e) {
2826
+ var n = [].filter.call(t.selectElement.options, function (t) {
2827
+ return (t.textContent || t.innerText) === e;
2828
+ })[0];
2829
+ n && (n.selected = !0);
2830
+ }, t.selectElement.value || void 0 === t.defaultValue) {
2831
+ var n = t.selectElement.options[t.selectElement.options.selectedIndex];
2832
+ t.defaultValue = n.textContent || n.innerText;
2833
+ }
2834
+ void 0 === t.name && (t.name = ""), void 0 === t.id && (void 0 === t.selectElement.id ? t.id = "" : t.id = t.selectElement.id), void 0 === t.autoselect && (t.autoselect = !0);
2835
+ var r = document.createElement("div");
2836
+ t.selectElement.parentNode.insertBefore(r, t.selectElement), z(Object.assign({}, t, {
2837
+ element: r
2838
+ })), t.selectElement.style.display = "none", t.selectElement.id = t.selectElement.id + "-select";
2839
+ };
2840
+ var Q = z;
2841
+ }(), r = r.default;
2842
+ }();
2843
+ });
2844
+ });
2845
+ var accessibleAutocomplete_min_1 = accessibleAutocomplete_min.accessibleAutocomplete;
2846
+
2847
+ function AccessibleAutoComplete($module, window, document) {
2848
+ this.$module = $module;
2849
+ this.window = window;
2850
+ this.document = document;
2851
+ }
2852
+ AccessibleAutoComplete.prototype.init = function init() {
2853
+ if (this.$module) {
2854
+ var showAllValues = this.$module.getAttribute('data-show-all-values') === 'true';
2855
+ var autoselect = this.$module.getAttribute('data-auto-select') === 'true';
2856
+ var defaultValue = this.$module.getAttribute('data-default-value');
2857
+ var minLength = this.$module.getAttribute('data-min-length');
2858
+ var configurationOptions = {
2859
+ selectElement: this.$module,
2860
+ showAllValues: showAllValues,
2861
+ autoselect: autoselect,
2862
+ defaultValue: defaultValue,
2863
+ minLength: minLength
2864
+ };
2865
+ var language = this.$module.getAttribute('data-language') || 'en';
2866
+ if (language === 'cy') {
2867
+ configurationOptions.tAssistiveHint = function () {
2868
+ return 'Pan fydd canlyniadau awtogwblhau ar gael, defnyddiwch y saethau i fyny ac i lawr i’w hadolygu a phwyswch y fysell ’enter’ i’w dewis.' + ' Gall defnyddwyr dyfeisiau cyffwrdd, archwilio drwy gyffwrdd â’r sgrin neu drwy sweipio.';
2869
+ };
2870
+ configurationOptions.tStatusQueryTooShort = function (minQueryLength) {
2871
+ return "Ysgrifennwch ".concat(minQueryLength, " neu fwy o gymeriadau am ganlyniadau");
2872
+ };
2873
+ configurationOptions.tNoResults = function () {
2874
+ return 'Dim canlyniadau wedi’u darganfod';
2875
+ };
2876
+ configurationOptions.tStatusNoResults = function () {
2877
+ return 'Dim canlyniadau chwilio';
2878
+ };
2879
+ configurationOptions.tStatusSelectedOption = function (selectedOption, length, index) {
2880
+ return "Mae ".concat(selectedOption, " ").concat(index + 1, " o ").concat(length, " wedi\u2019i amlygu");
2881
+ };
2882
+ configurationOptions.tStatusResults = function (length, contentSelectedOption) {
2883
+ var resultOrResults = length === 1 ? 'canlyniad' : 'o ganlyniadau';
2884
+ return "".concat(length, " ").concat(resultOrResults, " ar gael. ").concat(contentSelectedOption);
2885
+ };
2886
+ }
2887
+ window.HMRCAccessibleAutocomplete.enhanceSelectElement(configurationOptions);
2888
+ }
2889
+ };
2890
+
2891
+ window.HMRCAccessibleAutocomplete = accessibleAutocomplete_min;
2892
+ var $AccessibleAutocomplete = document.querySelectorAll('select[data-module="hmrc-accessible-autocomplete"]');
2893
+ if ($AccessibleAutocomplete) {
2894
+ $AccessibleAutocomplete.forEach(function (selectElement) {
2895
+ new AccessibleAutoComplete(selectElement, window, document).init();
2896
+ });
2897
+ }
2898
+
2899
+ })));