PageSourceSearch

https://www.wooniezie.nl/_assets/c25ace7dfe73fbb8c05f07ae9ca2a4bb/Vite/useQueryParams-B1rlhbJY.js

js wooniezie.nl collected 2026-10-06 02:22:37 UTC 1,240,935 bytes, 36,071 lines download raw bytes

1var aj = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2function Mp(e) {
3  return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4}
5var C1 = { exports: {} }, ls = {};
6var kb;
7function ow() {
8  if (kb) return ls;
9  kb = 1;
10  var e = /* @__PURE__ */ Symbol.for("react.transitional.element"), t = /* @__PURE__ */ Symbol.for("react.fragment");
11  function r(i, l, s) {
12    var f = null;
13    if (s !== void 0 && (f = "" + s), l.key !== void 0 && (f = "" + l.key), "key" in l) {
14      s = {};
15      for (var h in l)
16        h !== "key" && (s[h] = l[h]);
17    } else s = l;
18    return l = s.ref, {
19      $$typeof: e,
20      type: i,
21      key: f,
22      ref: l !== void 0 ? l : null,
23      props: s
24    };
25  }
26  return ls.Fragment = t, ls.jsx = r, ls.jsxs = r, ls;
27}
28var Lb;
29function lw() {
30  return Lb || (Lb = 1, C1.exports = ow()), C1.exports;
31}
32var Mt = lw();
33function uw(e) {
34  if (e.sheet)
35    return e.sheet;
36  for (var t = 0; t < document.styleSheets.length; t++)
37    if (document.styleSheets[t].ownerNode === e)
38      return document.styleSheets[t];
39}
40function sw(e) {
41  var t = document.createElement("style");
42  return t.setAttribute("data-emotion", e.key), e.nonce !== void 0 && t.setAttribute("nonce", e.nonce), t.appendChild(document.createTextNode("")), t.setAttribute("data-s", ""), t;
43}
44var cw = /* @__PURE__ */ (function() {
45  function e(r) {
46    var i = this;
47    this._insertTag = function(l) {
48      var s;
49      i.tags.length === 0 ? i.insertionPoint ? s = i.insertionPoint.nextSibling : i.prepend ? s = i.container.firstChild : s = i.before : s = i.tags[i.tags.length - 1].nextSibling, i.container.insertBefore(l, s), i.tags.push(l);
50    }, this.isSpeedy = r.speedy === void 0 ? !0 : r.speedy, this.tags = [], this.ctr = 0, this.nonce = r.nonce, this.key = r.key, this.container = r.container, this.prepend = r.prepend, this.insertionPoint = r.insertionPoint, this.before = null;
51  }
52  var t = e.prototype;
53  return t.hydrate = function(i) {
54    i.forEach(this._insertTag);
55  }, t.insert = function(i) {
56    this.ctr % (this.isSpeedy ? 65e3 : 1) === 0 && this._insertTag(sw(this));
57    var l = this.tags[this.tags.length - 1];
58    if (this.isSpeedy) {
59      var s = uw(l);
60      try {
61        s.insertRule(i, s.cssRules.length);
62      } catch {
63      }
64    } else
65      l.appendChild(document.createTextNode(i));
66    this.ctr++;
67  }, t.flush = function() {
vendor: 5,970 bytes, lines 68-321
68    this.tags.forEach(function(i) {
69      var l;
70      return (l = i.parentNode) == null ? void 0 : l.removeChild(i);
71    }), this.tags = [], this.ctr = 0;
72  }, e;
73})(), un = "-ms-", qd = "-moz-", qe = "-webkit-", I9 = "comm", Ip = "rule", Pp = "decl", fw = "@import", P9 = "@keyframes", dw = "@layer", hw = Math.abs, Th = String.fromCharCode, mw = Object.assign;
74function gw(e, t) {
75  return Jt(e, 0) ^ 45 ? (((t << 2 ^ Jt(e, 0)) << 2 ^ Jt(e, 1)) << 2 ^ Jt(e, 2)) << 2 ^ Jt(e, 3) : 0;
76}
77function k9(e) {
78  return e.trim();
79}
80function pw(e, t) {
81  return (e = t.exec(e)) ? e[0] : e;
82}
83function Ge(e, t, r) {
84  return e.replace(t, r);
85}
86function Ng(e, t) {
87  return e.indexOf(t);
88}
89function Jt(e, t) {
90  return e.charCodeAt(t) | 0;
91}
92function Vs(e, t, r) {
93  return e.slice(t, r);
94}
95function Yr(e) {
96  return e.length;
97}
98function kp(e) {
99  return e.length;
100}
101function fd(e, t) {
102  return t.push(e), e;
103}
104function yw(e, t) {
105  return e.map(t).join("");
106}
107var Ch = 1, ql = 1, L9 = 0, _n = 0, xt = 0, tu = "";
108function wh(e, t, r, i, l, s, f) {
109  return { value: e, root: t, parent: r, type: i, props: l, children: s, line: Ch, column: ql, length: f, return: "" };
110}
111function us(e, t) {
112  return mw(wh("", null, null, "", null, null, 0), e, { length: -e.length }, t);
113}
114function vw() {
115  return xt;
116}
117function bw() {
118  return xt = _n > 0 ? Jt(tu, --_n) : 0, ql--, xt === 10 && (ql = 1, Ch--), xt;
119}
120function Gn() {
121  return xt = _n < L9 ? Jt(tu, _n++) : 0, ql++, xt === 10 && (ql = 1, Ch++), xt;
122}
123function Kr() {
124  return Jt(tu, _n);
125}
126function Id() {
127  return _n;
128}
129function gc(e, t) {
130  return Vs(tu, e, t);
131}
132function Bs(e) {
133  switch (e) {
134    // \0 \t \n \r \s whitespace token
135    case 0:
136    case 9:
137    case 10:
138    case 13:
139    case 32:
140      return 5;
141    // ! + , / > @ ~ isolate token
142    case 33:
143    case 43:
144    case 44:
145    case 47:
146    case 62:
147    case 64:
148    case 126:
149    // ; { } breakpoint token
150    case 59:
151    case 123:
152    case 125:
153      return 4;
154    // : accompanied token
155    case 58:
156      return 3;
157    // " ' ( [ opening delimit token
158    case 34:
159    case 39:
160    case 40:
161    case 91:
162      return 2;
163    // ) ] closing delimit token
164    case 41:
165    case 93:
166      return 1;
167  }
168  return 0;
169}
170function z9(e) {
171  return Ch = ql = 1, L9 = Yr(tu = e), _n = 0, [];
172}
173function U9(e) {
174  return tu = "", e;
175}
176function Pd(e) {
177  return k9(gc(_n - 1, Ag(e === 91 ? e + 2 : e === 40 ? e + 1 : e)));
178}
179function Sw(e) {
180  for (; (xt = Kr()) && xt < 33; )
181    Gn();
182  return Bs(e) > 2 || Bs(xt) > 3 ? "" : " ";
183}
184function $w(e, t) {
185  for (; --t && Gn() && !(xt < 48 || xt > 102 || xt > 57 && xt < 65 || xt > 70 && xt < 97); )
186    ;
187  return gc(e, Id() + (t < 6 && Kr() == 32 && Gn() == 32));
188}
189function Ag(e) {
190  for (; Gn(); )
191    switch (xt) {
192      // ] ) " '
193      case e:
194        return _n;
195      // " '
196      case 34:
197      case 39:
198        e !== 34 && e !== 39 && Ag(xt);
199        break;
200      // (
201      case 40:
202        e === 41 && Ag(e);
203        break;
204      // \
205      case 92:
206        Gn();
207        break;
208    }
209  return _n;
210}
211function Ew(e, t) {
212  for (; Gn() && e + xt !== 57; )
213    if (e + xt === 84 && Kr() === 47)
214      break;
215  return "/*" + gc(t, _n - 1) + "*" + Th(e === 47 ? e : Gn());
216}
217function Tw(e) {
218  for (; !Bs(Kr()); )
219    Gn();
220  return gc(e, _n);
221}
222function Cw(e) {
223  return U9(kd("", null, null, null, [""], e = z9(e), 0, [0], e));
224}
225function kd(e, t, r, i, l, s, f, h, m) {
226  for (var g = 0, p = 0, b = f, S = 0, w = 0, T = 0, N = 1, $ = 1, A = 1, D = 0, _ = "", x = l, v = s, E = i, C = _; $; )
227    switch (T = D, D = Gn()) {
228      // (
229      case 40:
230        if (T != 108 && Jt(C, b - 1) == 58) {
231          Ng(C += Ge(Pd(D), "&", "&\f"), "&\f") != -1 && (A = -1);
232          break;
233        }
234      // " ' [
235      case 34:
236      case 39:
237      case 91:
238        C += Pd(D);
239        break;
240      // \t \n \r \s
241      case 9:
242      case 10:
243      case 13:
244      case 32:
245        C += Sw(T);
246        break;
247      // \
248      case 92:
249        C += $w(Id() - 1, 7);
250        continue;
251      // /
252      case 47:
253        switch (Kr()) {
254          case 42:
255          case 47:
256            fd(ww(Ew(Gn(), Id()), t, r), m);
257            break;
258          default:
259            C += "/";
260        }
261        break;
262      // {
263      case 123 * N:
264        h[g++] = Yr(C) * A;
265      // } ; \0
266      case 125 * N:
267      case 59:
268      case 0:
269        switch (D) {
270          // \0 }
271          case 0:
272          case 125:
273            $ = 0;
274          // ;
275          case 59 + p:
276            A == -1 && (C = Ge(C, /\f/g, "")), w > 0 && Yr(C) - b && fd(w > 32 ? Ub(C + ";", i, r, b - 1) : Ub(Ge(C, " ", "") + ";", i, r, b - 2), m);
277            break;
278          // @ ;
279          case 59:
280            C += ";";
281          // { rule/at-rule
282          default:
283            if (fd(E = zb(C, t, r, g, p, l, h, _, x = [], v = [], b), s), D === 123)
284              if (p === 0)
285                kd(C, t, E, E, x, s, b, h, v);
286              else
287                switch (S === 99 && Jt(C, 3) === 110 ? 100 : S) {
288                  // d l m s
289                  case 100:
290                  case 108:
291                  case 109:
292                  case 115:
293                    kd(e, E, E, i && fd(zb(e, E, E, 0, 0, l, h, _, l, x = [], b), v), l, v, b, h, i ? x : v);
294                    break;
295                  default:
296                    kd(C, E, E, E, [""], v, 0, h, v);
297                }
298        }
299        g = p = w = 0, N = A = 1, _ = C = "", b = f;
300        break;
301      // :
302      case 58:
303        b = 1 + Yr(C), w = T;
304      default:
305        if (N < 1) {
306          if (D == 123)
307            --N;
308          else if (D == 125 && N++ == 0 && bw() == 125)
309            continue;
310        }
311        switch (C += Th(D), D * N) {
312          // &
313          case 38:
314            A = p > 0 ? 1 : (C += "\f", -1);
315            break;
316          // ,
317          case 44:
318            h[g++] = (Yr(C) - 1) * A, A = 1;
319            break;
320          // @
321          case 64:
vendor: 8,459 bytes, lines 322-604
322            Kr() === 45 && (C += Pd(Gn())), S = Kr(), p = b = Yr(_ = C += Tw(Id())), D++;
323            break;
324          // -
325          case 45:
326            T === 45 && Yr(C) == 2 && (N = 0);
327        }
328    }
329  return s;
330}
331function zb(e, t, r, i, l, s, f, h, m, g, p) {
332  for (var b = l - 1, S = l === 0 ? s : [""], w = kp(S), T = 0, N = 0, $ = 0; T < i; ++T)
333    for (var A = 0, D = Vs(e, b + 1, b = hw(N = f[T])), _ = e; A < w; ++A)
334      (_ = k9(N > 0 ? S[A] + " " + D : Ge(D, /&\f/g, S[A]))) && (m[$++] = _);
335  return wh(e, t, r, l === 0 ? Ip : h, m, g, p);
336}
337function ww(e, t, r) {
338  return wh(e, t, r, I9, Th(vw()), Vs(e, 2, -2), 0);
339}
340function Ub(e, t, r, i) {
341  return wh(e, t, r, Pp, Vs(e, 0, i), Vs(e, i + 1, -1), i);
342}
343function kl(e, t) {
344  for (var r = "", i = kp(e), l = 0; l < i; l++)
345    r += t(e[l], l, e, t) || "";
346  return r;
347}
348function Ow(e, t, r, i) {
349  switch (e.type) {
350    case dw:
351      if (e.children.length) break;
352    case fw:
353    case Pp:
354      return e.return = e.return || e.value;
355    case I9:
356      return "";
357    case P9:
358      return e.return = e.value + "{" + kl(e.children, i) + "}";
359    case Ip:
360      e.value = e.props.join(",");
361  }
362  return Yr(r = kl(e.children, i)) ? e.return = e.value + "{" + r + "}" : "";
363}
364function Nw(e) {
365  var t = kp(e);
366  return function(r, i, l, s) {
367    for (var f = "", h = 0; h < t; h++)
368      f += e[h](r, i, l, s) || "";
369    return f;
370  };
371}
372function Aw(e) {
373  return function(t) {
374    t.root || (t = t.return) && e(t);
375  };
376}
377function j9(e) {
378  var t = /* @__PURE__ */ Object.create(null);
379  return function(r) {
380    return t[r] === void 0 && (t[r] = e(r)), t[r];
381  };
382}
383var _w = function(t, r, i) {
384  for (var l = 0, s = 0; l = s, s = Kr(), l === 38 && s === 12 && (r[i] = 1), !Bs(s); )
385    Gn();
386  return gc(t, _n);
387}, xw = function(t, r) {
388  var i = -1, l = 44;
389  do
390    switch (Bs(l)) {
391      case 0:
392        l === 38 && Kr() === 12 && (r[i] = 1), t[i] += _w(_n - 1, r, i);
393        break;
394      case 2:
395        t[i] += Pd(l);
396        break;
397      case 4:
398        if (l === 44) {
399          t[++i] = Kr() === 58 ? "&\f" : "", r[i] = t[i].length;
400          break;
401        }
402      // fallthrough
403      default:
404        t[i] += Th(l);
405    }
406  while (l = Gn());
407  return t;
408}, Rw = function(t, r) {
409  return U9(xw(z9(t), r));
410}, jb = /* @__PURE__ */ new WeakMap(), Dw = function(t) {
411  if (!(t.type !== "rule" || !t.parent || // positive .length indicates that this rule contains pseudo
412  // negative .length indicates that this rule has been already prefixed
413  t.length < 1)) {
414    for (var r = t.value, i = t.parent, l = t.column === i.column && t.line === i.line; i.type !== "rule"; )
415      if (i = i.parent, !i) return;
416    if (!(t.props.length === 1 && r.charCodeAt(0) !== 58 && !jb.get(i)) && !l) {
417      jb.set(t, !0);
418      for (var s = [], f = Rw(r, s), h = i.props, m = 0, g = 0; m < f.length; m++)
419        for (var p = 0; p < h.length; p++, g++)
420          t.props[g] = s[m] ? f[m].replace(/&\f/g, h[p]) : h[p] + " " + f[m];
421    }
422  }
423}, Mw = function(t) {
424  if (t.type === "decl") {
425    var r = t.value;
426    // charcode for l
427    r.charCodeAt(0) === 108 && // charcode for b
428    r.charCodeAt(2) === 98 && (t.return = "", t.value = "");
429  }
430};
431function F9(e, t) {
432  switch (gw(e, t)) {
433    // color-adjust
434    case 5103:
435      return qe + "print-" + e + e;
436    // animation, animation-(delay|direction|duration|fill-mode|iteration-count|name|play-state|timing-function)
437    case 5737:
438    case 4201:
439    case 3177:
440    case 3433:
441    case 1641:
442    case 4457:
443    case 2921:
444    // text-decoration, filter, clip-path, backface-visibility, column, box-decoration-break
445    case 5572:
446    case 6356:
447    case 5844:
448    case 3191:
449    case 6645:
450    case 3005:
451    // mask, mask-image, mask-(mode|clip|size), mask-(repeat|origin), mask-position, mask-composite,
452    case 6391:
453    case 5879:
454    case 5623:
455    case 6135:
456    case 4599:
457    case 4855:
458    // background-clip, columns, column-(count|fill|gap|rule|rule-color|rule-style|rule-width|span|width)
459    case 4215:
460    case 6389:
461    case 5109:
462    case 5365:
463    case 5621:
464    case 3829:
465      return qe + e + e;
466    // appearance, user-select, transform, hyphens, text-size-adjust
467    case 5349:
468    case 4246:
469    case 4810:
470    case 6968:
471    case 2756:
472      return qe + e + qd + e + un + e + e;
473    // flex, flex-direction
474    case 6828:
475    case 4268:
476      return qe + e + un + e + e;
477    // order
478    case 6165:
479      return qe + e + un + "flex-" + e + e;
480    // align-items
481    case 5187:
482      return qe + e + Ge(e, /(\w+).+(:[^]+)/, qe + "box-$1$2" + un + "flex-$1$2") + e;
483    // align-self
484    case 5443:
485      return qe + e + un + "flex-item-" + Ge(e, /flex-|-self/, "") + e;
486    // align-content
487    case 4675:
488      return qe + e + un + "flex-line-pack" + Ge(e, /align-content|flex-|-self/, "") + e;
489    // flex-shrink
490    case 5548:
491      return qe + e + un + Ge(e, "shrink", "negative") + e;
492    // flex-basis
493    case 5292:
494      return qe + e + un + Ge(e, "basis", "preferred-size") + e;
495    // flex-grow
496    case 6060:
497      return qe + "box-" + Ge(e, "-grow", "") + qe + e + un + Ge(e, "grow", "positive") + e;
498    // transition
499    case 4554:
500      return qe + Ge(e, /([^-])(transform)/g, "$1" + qe + "$2") + e;
501    // cursor
502    case 6187:
503      return Ge(Ge(Ge(e, /(zoom-|grab)/, qe + "$1"), /(image-set)/, qe + "$1"), e, "") + e;
504    // background, background-image
505    case 5495:
506    case 3959:
507      return Ge(e, /(image-set\([^]*)/, qe + "$1$`$1");
508    // justify-content
509    case 4968:
510      return Ge(Ge(e, /(.+:)(flex-)?(.*)/, qe + "box-pack:$3" + un + "flex-pack:$3"), /s.+-b[^;]+/, "justify") + qe + e + e;
511    // (margin|padding)-inline-(start|end)
512    case 4095:
513    case 3583:
514    case 4068:
515    case 2532:
516      return Ge(e, /(.+)-inline(.+)/, qe + "$1$2") + e;
517    // (min|max)?(width|height|inline-size|block-size)
518    case 8116:
519    case 7059:
520    case 5753:
521    case 5535:
522    case 5445:
523    case 5701:
524    case 4933:
525    case 4677:
526    case 5533:
527    case 5789:
528    case 5021:
529    case 4765:
530      if (Yr(e) - 1 - t > 6) switch (Jt(e, t + 1)) {
531        // (m)ax-content, (m)in-content
532        case 109:
533          if (Jt(e, t + 4) !== 45) break;
534        // (f)ill-available, (f)it-content
535        case 102:
536          return Ge(e, /(.+:)(.+)-([^]+)/, "$1" + qe + "$2-$3$1" + qd + (Jt(e, t + 3) == 108 ? "$3" : "$2-$3")) + e;
537        // (s)tretch
538        case 115:
539          return ~Ng(e, "stretch") ? F9(Ge(e, "stretch", "fill-available"), t) + e : e;
540      }
541      break;
542    // position: sticky
543    case 4949:
544      if (Jt(e, t + 1) !== 115) break;
545    // display: (flex|inline-flex)
546    case 6444:
547      switch (Jt(e, Yr(e) - 3 - (~Ng(e, "!important") && 10))) {
548        // stic(k)y
549        case 107:
550          return Ge(e, ":", ":" + qe) + e;
551        // (inline-)?fl(e)x
552        case 101:
553          return Ge(e, /(.+:)([^;!]+)(;|!.+)?/, "$1" + qe + (Jt(e, 14) === 45 ? "inline-" : "") + "box$3$1" + qe + "$2$3$1" + un + "$2box$3") + e;
554      }
555      break;
556    // writing-mode
557    case 5936:
558      switch (Jt(e, t + 11)) {
559        // vertical-l(r)
560        case 114:
561          return qe + e + un + Ge(e, /[svh]\w+-[tblr]{2}/, "tb") + e;
562        // vertical-r(l)
563        case 108:
564          return qe + e + un + Ge(e, /[svh]\w+-[tblr]{2}/, "tb-rl") + e;
565        // horizontal(-)tb
566        case 45:
567          return qe + e + un + Ge(e, /[svh]\w+-[tblr]{2}/, "lr") + e;
568      }
569      return qe + e + un + e + e;
570  }
571  return e;
572}
573var Iw = function(t, r, i, l) {
574  if (t.length > -1 && !t.return) switch (t.type) {
575    case Pp:
576      t.return = F9(t.value, t.length);
577      break;
578    case P9:
579      return kl([us(t, {
580        value: Ge(t.value, "@", "@" + qe)
581      })], l);
582    case Ip:
583      if (t.length) return yw(t.props, function(s) {
584        switch (pw(s, /(::plac\w+|:read-\w+)/)) {
585          // :read-(only|write)
586          case ":read-only":
587          case ":read-write":
588            return kl([us(t, {
589              props: [Ge(s, /:(read-\w+)/, ":" + qd + "$1")]
590            })], l);
591          // :placeholder
592          case "::placeholder":
593            return kl([us(t, {
594              props: [Ge(s, /:(plac\w+)/, ":" + qe + "input-$1")]
595            }), us(t, {
596              props: [Ge(s, /:(plac\w+)/, ":" + qd + "$1")]
597            }), us(t, {
598              props: [Ge(s, /:(plac\w+)/, un + "input-$1")]
599            })], l);
600        }
601        return "";
602      });
603  }
604}
604, Pw = [Iw], kw = function(t) {
605  var r = t.key;
606  if (r === "css") {
607    var i = document.querySelectorAll("style[data-emotion]:not([data-s])");
608    Array.prototype.forEach.call(i, function(N) {
609      var $ = N.getAttribute("data-emotion");
610      $.indexOf(" ") !== -1 && (document.head.appendChild(N), N.setAttribute("data-s", ""));
611    });
612  }
613  var l = t.stylisPlugins || Pw, s = {}, f, h = [];
614  f = t.container || document.head, Array.prototype.forEach.call(
615    // this means we will ignore elements which don't have a space in them which
616    // means that the style elements we're looking at are only Emotion 11 server-rendered style elements
617    document.querySelectorAll('style[data-emotion^="' + r + ' "]'),
618    function(N) {
619      for (var $ = N.getAttribute("data-emotion").split(" "), A = 1; A < $.length; A++)
620        s[$[A]] = !0;
621      h.push(N);
622    }
623  );
624  var m, g = [Dw, Mw];
625  {
626    var p, b = [Ow, Aw(function(N) {
627      p.insert(N);
628    })], S = Nw(g.concat(l, b)), w = function($) {
629      return kl(Cw($), S);
630    };
631    m = function($, A, D, _) {
632      p = D, w($ ? $ + "{" + A.styles + "}" : A.styles), _ && (T.inserted[A.name] = !0);
633    };
634  }
635  var T = {
636    key: r,
637    sheet: new cw({
638      key: r,
639      container: f,
640      nonce: t.nonce,
641      speedy: t.speedy,
642      prepend: t.prepend,
643      insertionPoint: t.insertionPoint
644    }),
645    nonce: t.nonce,
646    inserted: s,
647    registered: {},
648    insert: m
649  };
650  return T.sheet.hydrate(h), T;
651};
652function _g() {
653  return _g = Object.assign ? Object.assign.bind() : function(e) {
654    for (var t = 1; t < arguments.length; t++) {
655      var r = arguments[t];
656      for (var i in r) ({}).hasOwnProperty.call(r, i) && (e[i] = r[i]);
657    }
658    return e;
659  }, _g.apply(null, arguments);
660}
661var w1 = { exports: {} }, Qe = {};
662var Fb;
663function Lw() {
664  if (Fb) return Qe;
665  Fb = 1;
666  var e = typeof Symbol == "function" && Symbol.for, t = e ? /* @__PURE__ */ Symbol.for("react.element") : 60103, r = e ? /* @__PURE__ */ Symbol.for("react.portal") : 60106, i = e ? /* @__PURE__ */ Symbol.for("react.fragment") : 60107, l = e ? /* @__PURE__ */ Symbol.for("react.strict_mode") : 60108, s = e ? /* @__PURE__ */ Symbol.for("react.profiler") : 60114, f = e ? /* @__PURE__ */ Symbol.for("react.provider") : 60109, h = e ? /* @__PURE__ */ Symbol.for("react.context") : 60110, m = e ? /* @__PURE__ */ Symbol.for("react.async_mode") : 60111, g = e ? /* @__PURE__ */ Symbol.for("react.concurrent_mode") : 60111, p = e ? /* @__PURE__ */ Symbol.for("react.forward_ref") : 60112, b = e ? /* @__PURE__ */ Symbol.for("react.suspense") 
666: 60113, S = e ? /* @__PURE__ */ Symbol.for("react.suspense_list") : 60120, w = e ? /* @__PURE__ */ Symbol.for("react.memo") : 60115, T = e ? /* @__PURE__ */ Symbol.for("react.lazy") : 60116, N = e ? /* @__PURE__ */ Symbol.for("react.block") : 60121, $ = e ? /* @__PURE__ */ Symbol.for("react.fundamental") : 60117, A = e ? /* @__PURE__ */ Symbol.for("react.responder") : 60118, D = e ? /* @__PURE__ */ Symbol.for("react.scope") : 60119;
667  function _(v) {
668    if (typeof v == "object" && v !== null) {
669      var E = v.$$typeof;
670      switch (E) {
671        case t:
672          switch (v = v.type, v) {
673            case m:
674            case g:
675            case i:
676            case s:
677            case l:
678            case b:
679              return v;
680            default:
681              switch (v = v && v.$$typeof, v) {
682                case h:
683                case p:
684                case T:
685                case w:
686                case f:
687                  return v;
688                default:
689                  return E;
690              }
691          }
692        case r:
693          return E;
694      }
695    }
696  }
697  function x(v) {
698    return _(v) === g;
699  }
700  return Qe.AsyncMode = m, Qe.ConcurrentMode = g, Qe.ContextConsumer = h, Qe.ContextProvider = f, Qe.Element = t, Qe.ForwardRef = p, Qe.Fragment = i, Qe.Lazy = T, Qe.Memo = w, Qe.Portal = r, Qe.Profiler = s, Qe.StrictMode = l, Qe.Suspense = b, Qe.isAsyncMode = function(v) {
701    return x(v) || _(v) === m;
702  }, Qe.isConcurrentMode = x, Qe.isContextConsumer = function(v) {
703    return _(v) === h;
704  }, Qe.isContextProvider = function(v) {
705    return _(v) === f;
706  }, Qe.isElement = function(v) {
707    return typeof v == "object" && v !== null && v.$$typeof === t;
708  }, Qe.isForwardRef = function(v) {
709    return _(v) === p;
710  }, Qe.isFragment = function(v) {
711    return _(v) === i;
712  }, Qe.isLazy = function(v) {
713    return _(v) === T;
714  }, Qe.isMemo = function(v) {
715    return _(v) === w;
716  }, Qe.isPortal = function(v) {
717    return _(v) === r;
718  }, Qe.isProfiler = function(v) {
719    return _(v) === s;
720  }, Qe.isStrictMode = function(v) {
721    return _(v) === l;
722  }, Qe.isSuspense = function(v) {
723    return _(v) === b;
724  }, Qe.isValidElementType = function(v) {
725    return typeof v == "string" || typeof v == "function" || v === i || v === g || v === s || v === l || v === b || v === S || typeof v == "object" && v !== null && (v.$$typeof === T || v.$$typeof === w || v.$$typeof === f || v.$$typeof === h || v.$$typeof === p || v.$$typeof === $ || v.$$typeof === A || v.$$typeof === D || v.$$typeof === N);
726  }, Qe.typeOf = _, Qe;
727}
728var Hb;
729function zw() {
730  return Hb || (Hb = 1, w1.exports = Lw()), w1.exports;
731}
732var O1, Vb;
733function Uw() {
734  if (Vb) return O1;
735  Vb = 1;
736  var e = zw(), t = {
737    childContextTypes: !0,
738    contextType: !0,
739    contextTypes: !0,
740    defaultProps: !0,
741    displayName: !0,
742    getDefaultProps: !0,
743    getDerivedStateFromError: !0,
744    getDerivedStateFromProps: !0,
745    mixins: !0,
746    propTypes: !0,
747    type: !0
748  }, r = {
749    name: !0,
750    length: !0,
751    prototype: !0,
752    caller: !0,
753    callee: !0,
754    arguments: !0,
755    arity: !0
756  }, i = {
757    $$typeof: !0,
758    render: !0,
759    defaultProps: !0,
760    displayName: !0,
761    propTypes: !0
762  }, l = {
763    $$typeof: !0,
764    compare: !0,
765    defaultProps: !0,
766    displayName: !0,
767    propTypes: !0,
768    type: !0
769  }, s = {};
770  s[e.ForwardRef] = i, s[e.Memo] = l;
771  function f(T) {
772    return e.isMemo(T) ? l : s[T.$$typeof] || t;
773  }
774  var h = Object.defineProperty, m = Object.getOwnPropertyNames, g = Object.getOwnPropertySymbols, p = Object.getOwnPropertyDescriptor, b = Object.getPrototypeOf, S = Object.prototype;
775  function w(T, N, $) {
776    if (typeof N != "string") {
777      if (S) {
778        var A = b(N);
779        A && A !== S && w(T, A, $);
780      }
781      var D = m(N);
782      g && (D = D.concat(g(N)));
783      for (var _ = f(T), x = f(N), v = 0; v < D.length; ++v) {
784        var E = D[v];
785        if (!r[E] && !($ && $[E]) && !(x && x[E]) && !(_ && _[E])) {
786          var C = p(N, E);
787          try {
788            h(T, E, C);
789          } catch {
790          }
791        }
792      }
793    }
794    return T;
795  }
796  return O1 = w, O1;
797}
798Uw();
799var jw = !0;
800function H9(e, t, r) {
801  var i = "";
802  return r.split(" ").forEach(function(l) {
803    e[l] !== void 0 ? t.push(e[l] + ";") : l && (i += l + " ");
804  }), i;
805}
806var Lp = function(t, r, i) {
vendor: 5,659 bytes, lines 807-1011
807  var l = t.key + "-" + r.name;
808  // we only need to add the styles to the registered cache if the
809  // class name could be used further down
810  // the tree but if it's a string tag, we know it won't
811  // so we don't have to add it to registered cache.
812  // this improves memory usage since we can avoid storing the whole style string
813  (i === !1 || // we need to always store it if we're in compat mode and
814  // in node since emotion-server relies on whether a style is in
815  // the registered cache to know whether a style is global or not
816  // also, note that this check will be dead code eliminated in the browser
817  jw === !1) && t.registered[l] === void 0 && (t.registered[l] = r.styles);
818}, V9 = function(t, r, i) {
819  Lp(t, r, i);
820  var l = t.key + "-" + r.name;
821  if (t.inserted[r.name] === void 0) {
822    var s = r;
823    do
824      t.insert(r === s ? "." + l : "", s, t.sheet, !0), s = s.next;
825    while (s !== void 0);
826  }
827};
828function Fw(e) {
829  for (var t = 0, r, i = 0, l = e.length; l >= 4; ++i, l -= 4)
830    r = e.charCodeAt(i) & 255 | (e.charCodeAt(++i) & 255) << 8 | (e.charCodeAt(++i) & 255) << 16 | (e.charCodeAt(++i) & 255) << 24, r = /* Math.imul(k, m): */
831    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16), r ^= /* k >>> r: */
832    r >>> 24, t = /* Math.imul(k, m): */
833    (r & 65535) * 1540483477 + ((r >>> 16) * 59797 << 16) ^ /* Math.imul(h, m): */
834    (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
835  switch (l) {
836    case 3:
837      t ^= (e.charCodeAt(i + 2) & 255) << 16;
838    case 2:
839      t ^= (e.charCodeAt(i + 1) & 255) << 8;
840    case 1:
841      t ^= e.charCodeAt(i) & 255, t = /* Math.imul(h, m): */
842      (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16);
843  }
844  return t ^= t >>> 13, t = /* Math.imul(h, m): */
845  (t & 65535) * 1540483477 + ((t >>> 16) * 59797 << 16), ((t ^ t >>> 15) >>> 0).toString(36);
846}
847var Hw = {
848  animationIterationCount: 1,
849  aspectRatio: 1,
850  borderImageOutset: 1,
851  borderImageSlice: 1,
852  borderImageWidth: 1,
853  boxFlex: 1,
854  boxFlexGroup: 1,
855  boxOrdinalGroup: 1,
856  columnCount: 1,
857  columns: 1,
858  flex: 1,
859  flexGrow: 1,
860  flexPositive: 1,
861  flexShrink: 1,
862  flexNegative: 1,
863  flexOrder: 1,
864  gridRow: 1,
865  gridRowEnd: 1,
866  gridRowSpan: 1,
867  gridRowStart: 1,
868  gridColumn: 1,
869  gridColumnEnd: 1,
870  gridColumnSpan: 1,
871  gridColumnStart: 1,
872  msGridRow: 1,
873  msGridRowSpan: 1,
874  msGridColumn: 1,
875  msGridColumnSpan: 1,
876  fontWeight: 1,
877  lineHeight: 1,
878  opacity: 1,
879  order: 1,
880  orphans: 1,
881  scale: 1,
882  tabSize: 1,
883  widows: 1,
884  zIndex: 1,
885  zoom: 1,
886  WebkitLineClamp: 1,
887  // SVG-related properties
888  fillOpacity: 1,
889  floodOpacity: 1,
890  stopOpacity: 1,
891  strokeDasharray: 1,
892  strokeDashoffset: 1,
893  strokeMiterlimit: 1,
894  strokeOpacity: 1,
895  strokeWidth: 1
896}, Vw = /[A-Z]|^ms/g, Bw = /_EMO_([^_]+?)_([^]*?)_EMO_/g, B9 = function(t) {
897  return t.charCodeAt(1) === 45;
898}, Bb = function(t) {
899  return t != null && typeof t != "boolean";
900}, N1 = /* @__PURE__ */ j9(function(e) {
901  return B9(e) ? e : e.replace(Vw, "-$&").toLowerCase();
902}), qb = function(t, r) {
903  switch (t) {
904    case "animation":
905    case "animationName":
906      if (typeof r == "string")
907        return r.replace(Bw, function(i, l, s) {
908          return Zr = {
909            name: l,
910            styles: s,
911            next: Zr
912          }, l;
913        });
914  }
915  return Hw[t] !== 1 && !B9(t) && typeof r == "number" && r !== 0 ? r + "px" : r;
916};
917function qs(e, t, r) {
918  if (r == null)
919    return "";
920  var i = r;
921  if (i.__emotion_styles !== void 0)
922    return i;
923  switch (typeof r) {
924    case "boolean":
925      return "";
926    case "object": {
927      var l = r;
928      if (l.anim === 1)
929        return Zr = {
930          name: l.name,
931          styles: l.styles,
932          next: Zr
933        }, l.name;
934      var s = r;
935      if (s.styles !== void 0) {
936        var f = s.next;
937        if (f !== void 0)
938          for (; f !== void 0; )
939            Zr = {
940              name: f.name,
941              styles: f.styles,
942              next: Zr
943            }, f = f.next;
944        var h = s.styles + ";";
945        return h;
946      }
947      return qw(e, t, r);
948    }
949    case "function": {
950      if (e !== void 0) {
951        var m = Zr, g = r(e);
952        return Zr = m, qs(e, t, g);
953      }
954      break;
955    }
956  }
957  var p = r;
958  if (t == null)
959    return p;
960  var b = t[p];
961  return b !== void 0 ? b : p;
962}
963function qw(e, t, r) {
964  var i = "";
965  if (Array.isArray(r))
966    for (var l = 0; l < r.length; l++)
967      i += qs(e, t, r[l]) + ";";
968  else
969    for (var s in r) {
970      var f = r[s];
971      if (typeof f != "object") {
972        var h = f;
973        t != null && t[h] !== void 0 ? i += s + "{" + t[h] + "}" : Bb(h) && (i += N1(s) + ":" + qb(s, h) + ";");
974      } else if (Array.isArray(f) && typeof f[0] == "string" && (t == null || t[f[0]] === void 0))
975        for (var m = 0; m < f.length; m++)
976          Bb(f[m]) && (i += N1(s) + ":" + qb(s, f[m]) + ";");
977      else {
978        var g = qs(e, t, f);
979        switch (s) {
980          case "animation":
981          case "animationName": {
982            i += N1(s) + ":" + g + ";";
983            break;
984          }
985          default:
986            i += s + "{" + g + "}";
987        }
988      }
989    }
990  return i;
991}
992var Gb = /label:\s*([^\s;{]+)\s*(;|$)/g, Zr;
993function zp(e, t, r) {
994  if (e.length === 1 && typeof e[0] == "object" && e[0] !== null && e[0].styles !== void 0)
995    return e[0];
996  var i = !0, l = "";
997  Zr = void 0;
998  var s = e[0];
999  if (s == null || s.raw === void 0)
1000    i = !1, l += qs(r, t, s);
1001  else {
1002    var f = s;
1003    l += f[0];
1004  }
1005  for (var h = 1; h < e.length; h++)
1006    if (l += qs(r, t, e[h]), i) {
1007      var m = s;
1008      l += m[h];
1009    }
1010  Gb.lastIndex = 0;
1011  for (var g = "", p;
1011 (p = Gb.exec(l)) !== null; )
1012    g += "-" + p[1];
1013  var b = Fw(l) + g;
1014  return {
1015    name: b,
1016    styles: l,
1017    next: Zr
1018  };
1019}
1020const xg = window.React;
1021var Gw = function(t) {
1022  return t();
1023}, q9 = xg.useInsertionEffect ? xg.useInsertionEffect : !1, G9 = q9 || Gw;
1024q9 || xg.useLayoutEffect;
1025const io = window.React, Yw = window.React.useContext, Zw = window.React.forwardRef;
1026var Y9 = /* @__PURE__ */ io.createContext(
1027  // we're doing this to avoid preconstruct's dead code elimination in this one case
1028  // because this module is primarily intended for the browser and node
1029  // but it's also required in react native and similar environments sometimes
1030  // and we could have a special build just for that
1031  // but this is much easier and the native packages
1032  // might use a different theme context in the future anyway
1033  typeof HTMLElement < "u" ? /* @__PURE__ */ kw({
1034    key: "css"
1035  }) : null
1036);
1037Y9.Provider;
1038var Z9 = function(t) {
1039  return /* @__PURE__ */ Zw(function(r, i) {
1040    var l = Yw(Y9);
1041    return t(r, l, i);
1042  });
1043}, Q9 = /* @__PURE__ */ io.createContext({}), pc = {}.hasOwnProperty, Rg = "__EMOTION_TYPE_PLEASE_DO_NOT_USE__", Up = function(t, r) {
1044  var i = {};
1045  for (var l in r)
1046    pc.call(r, l) && (i[l] = r[l]);
1047  return i[Rg] = t, i;
1048}, Qw = function(t) {
1049  var r = t.cache, i = t.serialized, l = t.isStringTag;
1050  return Lp(r, i, l), G9(function() {
1051    return V9(r, i, l);
1052  }), null;
1053}, Kw = /* @__PURE__ */ Z9(function(e, t, r) {
1054  var i = e.css;
1055  typeof i == "string" && t.registered[i] !== void 0 && (i = t.registered[i]);
1056  var l = e[Rg], s = [i], f = "";
1057  typeof e.className == "string" ? f = H9(t.registered, s, e.className) : e.className != null && (f = e.className + " ");
1058  var h = zp(s, void 0, io.useContext(Q9));
1059  f += t.key + "-" + h.name;
1060  var m = {};
1061  for (var g in e)
1062    pc.call(e, g) && g !== "css" && g !== Rg && (m[g] = e[g]);
1063  return m.className = f, r && (m.ref = r), /* @__PURE__ */ io.createElement(io.Fragment, null, /* @__PURE__ */ io.createElement(Qw, {
1064    cache: t,
1065    serialized: h,
1066    isStringTag: typeof l == "string"
1067  }), /* @__PURE__ */ io.createElement(l, m));
1068}), jp = Kw, K9 = Mt.Fragment, It = function(t, r, i) {
1069  return pc.call(r, "css") ? Mt.jsx(jp, Up(t, r), i) : Mt.jsx(t, r, i);
1070}, Xw = function(t, r, i) {
1071  return pc.call(r, "css") ? Mt.jsxs(jp, Up(t, r), i) : Mt.jsxs(t, r, i);
1072};
1073class So extends Error {
1074}
1075class Ww extends So {
1076  constructor(t) {
1077    super(`Invalid DateTime: ${t.toMessage()}`);
1078  }
1079}
1080class Jw extends So {
1081  constructor(t) {
1082    super(`Invalid Interval: ${t.toMessage()}`);
1083  }
1084}
1085class e7 extends So {
1086  constructor(t) {
1087    super(`Invalid Duration: ${t.toMessage()}`);
1088  }
1089}
1090class Dl extends So {
1091}
1092class X9 extends So {
1093  constructor(t) {
1094    super(`Invalid unit ${t}`);
1095  }
1096}
1097class cn extends So {
1098}
1099class li extends So {
1100  constructor() {
1101    super("Zone is an abstract class");
1102  }
1103}
1104const le = "numeric", Ar = "short", Yn = "long", Gd = {
1105  year: le,
1106  month: le,
1107  day: le
1108}, W9 = {
1109  year: le,
1110  month: Ar,
1111  day: le
1112}, t7 = {
1113  year: le,
1114  month: Ar,
1115  day: le,
1116  weekday: Ar
1117}, J9 = {
1118  year: le,
1119  month: Yn,
1120  day: le
1121}, e8 = {
1122  year: le,
1123  month: Yn,
1124  day: le,
1125  weekday: Yn
1126}, t8 = {
1127  hour: le,
1128  minute: le
1129}, n8 = {
1130  hour: le,
1131  minute: le,
1132  second: le
1133}, r8 = {
1134  hour: le,
1135  minute: le,
1136  second: le,
1137  timeZoneName: Ar
1138}, a8 = {
1139  hour: le,
1140  minute: le,
1141  second: le,
1142  timeZoneName: Yn
1143}, i8 = {
1144  hour: le,
1145  minute: le,
1146  hourCycle: "h23"
1147}, o8 = {
1148  hour: le,
1149  minute: le,
1150  second: le,
1151  hourCycle: "h23"
1152}, l8 = {
1153  hour: le,
1154  minute: le,
1155  second: le,
1156  hourCycle: "h23",
1157  timeZoneName: Ar
1158}, u8 = {
1159  hour: le,
1160  minute: le,
1161  second: le,
1162  hourCycle: "h23",
1163  timeZoneName: Yn
1164}, s8 = {
1165  year: le,
1166  month: le,
1167  day: le,
1168  hour: le,
1169  minute: le
1170}, c8 = {
1171  year: le,
1172  month: le,
1173  day: le,
1174  hour: le,
1175  minute: le,
1176  second: le
1177}, f8 = {
1178  year: le,
1179  month: Ar,
1180  day: le,
1181  hour: le,
1182  minute: le
1183}, d8 = {
1184  year: le,
1185  month: Ar,
1186  day: le,
1187  hour: le,
1188  minute: le,
1189  second: le
1190}, n7 = {
1191  year: le,
1192  month: Ar,
1193  day: le,
1194  weekday: Ar,
1195  hour: le,
1196  minute: le
1197}, h8 = {
1198  year: le,
1199  month: Yn,
1200  day: le,
1201  hour: le,
1202  minute: le,
1203  timeZoneName: Ar
1204}, m8 = {
1205  year: le,
1206  month: Yn,
1207  day: le,
1208  hour: le,
1209  minute: le,
1210  second: le,
1211  timeZoneName: Ar
1212}, g8 = {
1213  year: le,
1214  month: Yn,
1215  day: le,
1216  weekday: Yn,
1217  hour: le,
1218  minute: le,
1219  timeZoneName: Yn
1220}, p8 = {
1221  year: le,
1222  month: Yn,
1223  day: le,
1224  weekday: Yn,
1225  hour: le,
1226  minute: le,
1227  second: le,
1228  timeZoneName: Yn
1229};
1230class yc {
1231  /**
1232   * The type of zone
1233   * @abstract
1234   * @type {string}
1235   */
1236  get type() {
1237    throw new li();
1238  }
1239  /**
1240   * The name of this zone.
1241   * @abstract
1242   * @type {string}
1243   */
1244  get name() {
1245    throw new li();
1246  }
1247  /**
1248   * The IANA name of this zone.
1249   * Defaults to `name` if not overwritten by a subclass.
1250   * @abstract
1251   * @type {string}
1252   */
1253  get ianaName() {
1254    return this.name;
1255  }
1256  /**
1257   * Returns whether the offset is known to be fixed for the whole year.
1258   * @abstract
1259   * @type {boolean}
1260   */
1261  get isUniversal() {
1262    throw new li();
1263  }
1264  /**
1265   * Returns the offset's common name (such as EST) at the specified timestamp
1266   * @abstract
1267   * @param {number} ts - Epoch milliseconds for which to get the name
1268   * @param {Object} opts - Options to affect the format
1269   * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
1270   * @param {string} opts.locale - What locale to return the offset name in.
1271   * @return {string}
1272   */
1273  offsetName(t, r) {
1274    throw new li();
1275  }
1276  /**
1277   * Returns the offset's value as a string
1278   * @abstract
1279   * @param {number} ts - Epoch milliseconds for which to get the offset
1280   * @param {string} format - What style of offset to return.
1281   *                          Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
1282   * @return {string}
1283   */
1284  formatOffset(t, r) {
1285    throw new li();
1286  }
1287  /**
1288   * Return the offset in minutes for this zone at the specified timestamp.
1289   * @abstract
1290   * @param {number} ts - Epoch milliseconds for which to compute the offset
1291   * @return {number}
1292   */
1293  offset(t) {
1294    throw new li();
1295  }
1296  /**
1297   * Return whether this Zone is equal to another zone
1298   * @abstract
1299   * @param {Zone} otherZone - the zone to compare
1300   * @return {boolean}
1301   */
1302  equals(t) {
1303    throw new li();
1304  }
1305  /**
1306   * Return whether this Zone is valid.
1307   * @abstract
1308   * @type {boolean}
1309   */
1310  get isValid() {
1311    throw new li();
1312  }
1313}
1314let A1 = null;
1315class Oh extends yc {
1316  /**
1317   * Get a singleton instance of the local zone
1318   * @return {SystemZone}
1319   */
1320  static get instance() {
1321    return A1 === null && (A1 = new Oh()), A1;
1322  }
1323  /** @override **/
1324  get type() {
1325    return "system";
1326  }
1327  /** @override **/
1328  get name() {
1329    return new Intl.DateTimeFormat().resolvedOptions().timeZone;
1330  }
1331  /** @override **/
1332  get isUniversal() {
1333    return !1;
1334  }
1335  /** @override **/
1336  offsetName(t, { format: r, locale: i }) {
1337    return N8(t, r, i);
1338  }
1339  /** @override **/
1340  formatOffset(t, r) {
1341    return Ls(this.offset(t), r);
1342  }
1343  /** @override **/
1344  offset(t) {
1345    return -new Date(t).getTimezoneOffset();
1346  }
1347  /** @override **/
1348  equals(t) {
1349    return t.type === "system";
1350  }
1351  /** @override **/
1352  get isValid() {
1353    return !0;
1354  }
1355}
1356const Dg = /* @__PURE__ */ new Map();
1357function r7(e) {
1358  let t = Dg.get(e);
1359  return t === void 0 && (t = new Intl.DateTimeFormat("en-US", {
1360    hour12: !1,
1361    timeZone: e,
1362    year: "numeric",
1363    month: "2-digit",
1364    day: "2-digit",
1365    hour: "2-digit",
1366    minute: "2-digit",
1367    second: "2-digit",
1368    era: "short"
1369  }), Dg.set(e, t)), t;
1370}
1371const a7 = {
1372  year: 0,
1373  month: 1,
1374  day: 2,
1375  era: 3,
1376  hour: 4,
1377  minute: 5,
1378  second: 6
1379};
1380function i7(e, t) {
1381  const r = e.format(t).replace(/\u200E/g, ""), i = /(\d+)\/(\d+)\/(\d+) (AD|BC),? (\d+):(\d+):(\d+)/.exec(r), [, l, s, f, h, m, g, p
vendor: 57,647 bytes, lines 1381-3341
1381] = i;
1382  return [f, l, s, h, m, g, p];
1383}
1384function o7(e, t) {
1385  const r = e.formatToParts(t), i = [];
1386  for (let l = 0; l < r.length; l++) {
1387    const { type: s, value: f } = r[l], h = a7[s];
1388    s === "era" ? i[h] = f : Te(h) || (i[h] = parseInt(f, 10));
1389  }
1390  return i;
1391}
1392const _1 = /* @__PURE__ */ new Map();
1393class Ea extends yc {
1394  /**
1395   * @param {string} name - Zone name
1396   * @return {IANAZone}
1397   */
1398  static create(t) {
1399    let r = _1.get(t);
1400    return r === void 0 && _1.set(t, r = new Ea(t)), r;
1401  }
1402  /**
1403   * Reset local caches. Should only be necessary in testing scenarios.
1404   * @return {void}
1405   */
1406  static resetCache() {
1407    _1.clear(), Dg.clear();
1408  }
1409  /**
1410   * Returns whether the provided string is a valid specifier. This only checks the string's format, not that the specifier identifies a known zone; see isValidZone for that.
1411   * @param {string} s - The string to check validity on
1412   * @example IANAZone.isValidSpecifier("America/New_York") //=> true
1413   * @example IANAZone.isValidSpecifier("Sport~~blorp") //=> false
1414   * @deprecated For backward compatibility, this forwards to isValidZone, better use `isValidZone()` directly instead.
1415   * @return {boolean}
1416   */
1417  static isValidSpecifier(t) {
1418    return this.isValidZone(t);
1419  }
1420  /**
1421   * Returns whether the provided string identifies a real zone
1422   * @param {string} zone - The string to check
1423   * @example IANAZone.isValidZone("America/New_York") //=> true
1424   * @example IANAZone.isValidZone("Fantasia/Castle") //=> false
1425   * @example IANAZone.isValidZone("Sport~~blorp") //=> false
1426   * @return {boolean}
1427   */
1428  static isValidZone(t) {
1429    if (!t)
1430      return !1;
1431    try {
1432      return new Intl.DateTimeFormat("en-US", { timeZone: t }).format(), !0;
1433    } catch {
1434      return !1;
1435    }
1436  }
1437  constructor(t) {
1438    super(), this.zoneName = t, this.valid = Ea.isValidZone(t);
1439  }
1440  /**
1441   * The type of zone. `iana` for all instances of `IANAZone`.
1442   * @override
1443   * @type {string}
1444   */
1445  get type() {
1446    return "iana";
1447  }
1448  /**
1449   * The name of this zone (i.e. the IANA zone name).
1450   * @override
1451   * @type {string}
1452   */
1453  get name() {
1454    return this.zoneName;
1455  }
1456  /**
1457   * Returns whether the offset is known to be fixed for the whole year:
1458   * Always returns false for all IANA zones.
1459   * @override
1460   * @type {boolean}
1461   */
1462  get isUniversal() {
1463    return !1;
1464  }
1465  /**
1466   * Returns the offset's common name (such as EST) at the specified timestamp
1467   * @override
1468   * @param {number} ts - Epoch milliseconds for which to get the name
1469   * @param {Object} opts - Options to affect the format
1470   * @param {string} opts.format - What style of offset to return. Accepts 'long' or 'short'.
1471   * @param {string} opts.locale - What locale to return the offset name in.
1472   * @return {string}
1473   */
1474  offsetName(t, { format: r, locale: i }) {
1475    return N8(t, r, i, this.name);
1476  }
1477  /**
1478   * Returns the offset's value as a string
1479   * @override
1480   * @param {number} ts - Epoch milliseconds for which to get the offset
1481   * @param {string} format - What style of offset to return.
1482   *                          Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
1483   * @return {string}
1484   */
1485  formatOffset(t, r) {
1486    return Ls(this.offset(t), r);
1487  }
1488  /**
1489   * Return the offset in minutes for this zone at the specified timestamp.
1490   * @override
1491   * @param {number} ts - Epoch milliseconds for which to compute the offset
1492   * @return {number}
1493   */
1494  offset(t) {
1495    if (!this.valid) return NaN;
1496    const r = new Date(t);
1497    if (isNaN(r)) return NaN;
1498    const i = r7(this.name);
1499    let [l, s, f, h, m, g, p] = i.formatToParts ? o7(i, r) : i7(i, r);
1500    h === "BC" && (l = -Math.abs(l) + 1);
1501    const S = Ah({
1502      year: l,
1503      month: s,
1504      day: f,
1505      hour: m === 24 ? 0 : m,
1506      minute: g,
1507      second: p,
1508      millisecond: 0
1509    });
1510    let w = +r;
1511    const T = w % 1e3;
1512    return w -= T >= 0 ? T : 1e3 + T, (S - w) / (60 * 1e3);
1513  }
1514  /**
1515   * Return whether this Zone is equal to another zone
1516   * @override
1517   * @param {Zone} otherZone - the zone to compare
1518   * @return {boolean}
1519   */
1520  equals(t) {
1521    return t.type === "iana" && t.name === this.name;
1522  }
1523  /**
1524   * Return whether this Zone is valid.
1525   * @override
1526   * @type {boolean}
1527   */
1528  get isValid() {
1529    return this.valid;
1530  }
1531}
1532let Yb = {};
1533function l7(e, t = {}) {
1534  const r = JSON.stringify([e, t]);
1535  let i = Yb[r];
1536  return i || (i = new Intl.ListFormat(e, t), Yb[r] = i), i;
1537}
1538const Mg = /* @__PURE__ */ new Map();
1539function Ig(e, t = {}) {
1540  const r = JSON.stringify([e, t]);
1541  let i = Mg.get(r);
1542  return i === void 0 && (i = new Intl.DateTimeFormat(e, t), Mg.set(r, i)), i;
1543}
1544const Pg = /* @__PURE__ */ new Map();
1545function u7(e, t = {}) {
1546  const r = JSON.stringify([e, t]);
1547  let i = Pg.get(r);
1548  return i === void 0 && (i = new Intl.NumberFormat(e, t), Pg.set(r, i)), i;
1549}
1550const kg = /* @__PURE__ */ new Map();
1551function s7(e, t = {}) {
1552  const { base: r, ...i } = t, l = JSON.stringify([e, i]);
1553  let s = kg.get(l);
1554  return s === void 0 && (s = new Intl.RelativeTimeFormat(e, t), kg.set(l, s)), s;
1555}
1556let _s = null;
1557function c7() {
1558  return _s || (_s = new Intl.DateTimeFormat().resolvedOptions().locale, _s);
1559}
1560const Lg = /* @__PURE__ */ new Map();
1561function y8(e) {
1562  let t = Lg.get(e);
1563  return t === void 0 && (t = new Intl.DateTimeFormat(e).resolvedOptions(), Lg.set(e, t)), t;
1564}
1565const zg = /* @__PURE__ */ new Map();
1566function f7(e) {
1567  let t = zg.get(e);
1568  if (!t) {
1569    const r = new Intl.Locale(e);
1570    t = "getWeekInfo" in r ? r.getWeekInfo() : r.weekInfo, "minimalDays" in t || (t = { ...v8, ...t }), zg.set(e, t);
1571  }
1572  return t;
1573}
1574function d7(e) {
1575  const t = e.indexOf("-x-");
1576  t !== -1 && (e = e.substring(0, t));
1577  const r = e.indexOf("-u-");
1578  if (r === -1)
1579    return [e];
1580  {
1581    let i, l;
1582    try {
1583      i = Ig(e).resolvedOptions(), l = e;
1584    } catch {
1585      const m = e.substring(0, r);
1586      i = Ig(m).resolvedOptions(), l = m;
1587    }
1588    const { numberingSystem: s, calendar: f } = i;
1589    return [l, s, f];
1590  }
1591}
1592function h7(e, t, r) {
1593  return (r || t) && (e.includes("-u-") || (e += "-u"), r && (e += `-ca-${r}`), t && (e += `-nu-${t}`)), e;
1594}
1595function m7(e) {
1596  const t = [];
1597  for (let r = 1; r <= 12; r++) {
1598    const i = ye.utc(2009, r, 1);
1599    t.push(e(i));
1600  }
1601  return t;
1602}
1603function g7(e) {
1604  const t = [];
1605  for (let r = 1; r <= 7; r++) {
1606    const i = ye.utc(2016, 11, 13 + r);
1607    t.push(e(i));
1608  }
1609  return t;
1610}
1611function dd(e, t, r, i) {
1612  const l = e.listingMode();
1613  return l === "error" ? null : l === "en" ? r(t) : i(t);
1614}
1615function p7(e) {
1616  return e.numberingSystem && e.numberingSystem !== "latn" ? !1 : e.numberingSystem === "latn" || !e.locale || e.locale.startsWith("en") || y8(e.locale).numberingSystem === "latn";
1617}
1618class y7 {
1619  constructor(t, r, i) {
1620    this.padTo = i.padTo || 0, this.floor = i.floor || !1;
1621    const { padTo: l, floor: s, ...f } = i;
1622    if (!r || Object.keys(f).length > 0) {
1623      const h = { useGrouping: !1, ...i };
1624      i.padTo > 0 && (h.minimumIntegerDigits = i.padTo), this.inf = u7(t, h);
1625    }
1626  }
1627  format(t) {
1628    if (this.inf) {
1629      const r = this.floor ? Math.floor(t) : t;
1630      return this.inf.format(r);
1631    } else {
1632      const r = this.floor ? Math.floor(t) : qp(t, 3);
1633      return _t(r, this.padTo);
1634    }
1635  }
1636}
1637class v7 {
1638  constructor(t, r, i) {
1639    this.opts = i, this.originalZone = void 0;
1640    let l;
1641    if (this.opts.timeZone)
1642      this.dt = t;
1643    else if (t.zone.type === "fixed") {
1644      const f = -1 * (t.offset / 60), h = f >= 0 ? `Etc/GMT+${f}` : `Etc/GMT${f}`;
1645      t.offset !== 0 && Ea.create(h).valid ? (l = h, this.dt = t) : (l = "UTC", this.dt = t.offset === 0 ? t : t.setZone("UTC").plus({ minutes: t.offset }), this.originalZone = t.zone);
1646    } else t.zone.type === "system" ? this.dt = t : t.zone.type === "iana" ? (this.dt = t, l = t.zone.name) : (l = "UTC", this.dt = t.setZone("UTC").plus({ minutes: t.offset }), this.originalZone = t.zone);
1647    const s = { ...this.opts };
1648    s.timeZone = s.timeZone || l, this.dtf = Ig(r, s);
1649  }
1650  format() {
1651    return this.originalZone ? this.formatToParts().map(({ value: t }) => t).join("") : this.dtf.format(this.dt.toJSDate());
1652  }
1653  formatToParts() {
1654    const t = this.dtf.formatToParts(this.dt.toJSDate());
1655    return this.originalZone ? t.map((r) => {
1656      if (r.type === "timeZoneName") {
1657        const i = this.originalZone.offsetName(this.dt.ts, {
1658          locale: this.dt.locale,
1659          format: this.opts.timeZoneName
1660        });
1661        return {
1662          ...r,
1663          value: i
1664        };
1665      } else
1666        return r;
1667    }) : t;
1668  }
1669  resolvedOptions() {
1670    return this.dtf.resolvedOptions();
1671  }
1672}
1673class b7 {
1674  constructor(t, r, i) {
1675    this.opts = { style: "long", ...i }, !r && w8() && (this.rtf = s7(t, i));
1676  }
1677  format(t, r) {
1678    return this.rtf ? this.rtf.format(t, r) : F7(r, t, this.opts.numeric, this.opts.style !== "long");
1679  }
1680  formatToParts(t, r) {
1681    return this.rtf ? this.rtf.formatToParts(t, r) : [];
1682  }
1683}
1684const v8 = {
1685  firstDay: 1,
1686  minimalDays: 4,
1687  weekend: [6, 7]
1688};
1689class Ke {
1690  static fromOpts(t) {
1691    return Ke.create(
1692      t.locale,
1693      t.numberingSystem,
1694      t.outputCalendar,
1695      t.weekSettings,
1696      t.defaultToEN
1697    );
1698  }
1699  static create(t, r, i, l, s = !1) {
1700    const f = t || $t.defaultLocale, h = f || (s ? "en-US" : c7()), m = r || $t.defaultNumberingSystem, g = i || $t.defaultOutputCalendar, p = jg(l) || $t.defaultWeekSettings;
1701    return new Ke(h, m, g, p, f);
1702  }
1703  static resetCache() {
1704    _s = null, Mg.clear(), Pg.clear(), kg.clear(), Lg.clear(), zg.clear();
1705  }
1706  static fromObject({ locale: t, numberingSystem: r, outputCalendar: i, weekSettings: l } = {}) {
1707    return Ke.create(t, r, i, l);
1708  }
1709  constructor(t, r, i, l, s) {
1710    const [f, h, m] = d7(t);
1711    this.locale = f, this.numberingSystem = r || h || null, this.outputCalendar = i || m || null, this.weekSettings = l, this.intl = h7(this.locale, this.numberingSystem, this.outputCalendar), this.weekdaysCache = { format: {}, standalone: {} }, this.monthsCache = { format: {}, standalone: {} }, this.meridiemCache = null, this.eraCache = {}, this.specifiedLocale = s, this.fastNumbersCached = null;
1712  }
1713  get fastNumbers() {
1714    return this.fastNumbersCached == null && (this.fastNumbersCached = p7(this)), this.fastNumbersCached;
1715  }
1716  listingMode() {
1717    const t = this.isEnglish(), r = (this.numberingSystem === null || this.numberingSystem === "latn") && (this.outputCalendar === null || this.outputCalendar === "gregory");
1718    return t && r ? "en" : "intl";
1719  }
1720  clone(t) {
1721    return !t || Object.getOwnPropertyNames(t).length === 0 ? this : Ke.create(
1722      t.locale || this.specifiedLocale,
1723      t.numberingSystem || this.numberingSystem,
1724      t.outputCalendar || this.outputCalendar,
1725      jg(t.weekSettings) || this.weekSettings,
1726      t.defaultToEN || !1
1727    );
1728  }
1729  redefaultToEN(t = {}) {
1730    return this.clone({ ...t, defaultToEN: !0 });
1731  }
1732  redefaultToSystem(t = {}) {
1733    return this.clone({ ...t, defaultToEN: !1 });
1734  }
1735  months(t, r = !1) {
1736    return dd(this, t, x8, () => {
1737      const i = this.intl === "ja" || this.intl.startsWith("ja-");
1738      r &= !i;
1739      const l = r ? { month: t, day: "numeric" } : { month: t }, s = r ? "format" : "standalone";
1740      if (!this.monthsCache[s][t]) {
1741        const f = i ? (h) => this.dtFormatter(h, l).format() : (h) => this.extract(h, l, "month");
1742        this.monthsCache[s][t] = m7(f);
1743      }
1744      return this.monthsCache[s][t];
1745    });
1746  }
1747  weekdays(t, r = !1) {
1748    return dd(this, t, M8, () => {
1749      const i = r ? { weekday: t, year: "numeric", month: "long", day: "numeric" } : { weekday: t }, l = r ? "format" : "standalone";
1750      return this.weekdaysCache[l][t] || (this.weekdaysCache[l][t] = g7(
1751        (s) => this.extract(s, i, "weekday")
1752      )), this.weekdaysCache[l][t];
1753    });
1754  }
1755  meridiems() {
1756    return dd(
1757      this,
1758      void 0,
1759      () => I8,
1760      () => {
1761        if (!this.meridiemCache) {
1762          const t = { hour: "numeric", hourCycle: "h12" };
1763          this.meridiemCache = [ye.utc(2016, 11, 13, 9), ye.utc(2016, 11, 13, 19)].map(
1764            (r) => this.extract(r, t, "dayperiod")
1765          );
1766        }
1767        return this.meridiemCache;
1768      }
1769    );
1770  }
1771  eras(t) {
1772    return dd(this, t, P8, () => {
1773      const r = { era: t };
1774      return this.eraCache[t] || (this.eraCache[t] = [ye.utc(-40, 1, 1), ye.utc(2017, 1, 1)].map(
1775        (i) => this.extract(i, r, "era")
1776      )), this.eraCache[t];
1777    });
1778  }
1779  extract(t, r, i) {
1780    const l = this.dtFormatter(t, r), s = l.formatToParts(), f = s.find((h) => h.type.toLowerCase() === i);
1781    return f ? f.value : null;
1782  }
1783  numberFormatter(t = {}) {
1784    return new y7(this.intl, t.forceSimple || this.fastNumbers, t);
1785  }
1786  dtFormatter(t, r = {}) {
1787    return new v7(t, this.intl, r);
1788  }
1789  relFormatter(t = {}) {
1790    return new b7(this.intl, this.isEnglish(), t);
1791  }
1792  listFormatter(t = {}) {
1793    return l7(this.intl, t);
1794  }
1795  isEnglish() {
1796    return this.locale === "en" || this.locale.toLowerCase() === "en-us" || y8(this.intl).locale.startsWith("en-us");
1797  }
1798  getWeekSettings() {
1799    return this.weekSettings ? this.weekSettings : O8() ? f7(this.locale) : v8;
1800  }
1801  getStartOfWeek() {
1802    return this.getWeekSettings().firstDay;
1803  }
1804  getMinDaysInFirstWeek() {
1805    return this.getWeekSettings().minimalDays;
1806  }
1807  getWeekendDays() {
1808    return this.getWeekSettings().weekend;
1809  }
1810  equals(t) {
1811    return this.locale === t.locale && this.numberingSystem === t.numberingSystem && this.outputCalendar === t.outputCalendar;
1812  }
1813  toString() {
1814    return `Locale(${this.locale}, ${this.numberingSystem}, ${this.outputCalendar})`;
1815  }
1816}
1817let x1 = null;
1818class vn extends yc {
1819  /**
1820   * Get a singleton instance of UTC
1821   * @return {FixedOffsetZone}
1822   */
1823  static get utcInstance() {
1824    return x1 === null && (x1 = new vn(0)), x1;
1825  }
1826  /**
1827   * Get an instance with a specified offset
1828   * @param {number} offset - The offset in minutes
1829   * @return {FixedOffsetZone}
1830   */
1831  static instance(t) {
1832    return t === 0 ? vn.utcInstance : new vn(t);
1833  }
1834  /**
1835   * Get an instance of FixedOffsetZone from a UTC offset string, like "UTC+6"
1836   * @param {string} s - The offset string to parse
1837   * @example FixedOffsetZone.parseSpecifier("UTC+6")
1838   * @example FixedOffsetZone.parseSpecifier("UTC+06")
1839   * @example FixedOffsetZone.parseSpecifier("UTC-6:00")
1840   * @return {FixedOffsetZone}
1841   */
1842  static parseSpecifier(t) {
1843    if (t) {
1844      const r = t.match(/^utc(?:([+-]\d{1,2})(?::(\d{2}))?)?$/i);
1845      if (r)
1846        return new vn(_h(r[1], r[2]));
1847    }
1848    return null;
1849  }
1850  constructor(t) {
1851    super(), this.fixed = t;
1852  }
1853  /**
1854   * The type of zone. `fixed` for all instances of `FixedOffsetZone`.
1855   * @override
1856   * @type {string}
1857   */
1858  get type() {
1859    return "fixed";
1860  }
1861  /**
1862   * The name of this zone.
1863   * All fixed zones' names always start with "UTC" (plus optional offset)
1864   * @override
1865   * @type {string}
1866   */
1867  get name() {
1868    return this.fixed === 0 ? "UTC" : `UTC${Ls(this.fixed, "narrow")}`;
1869  }
1870  /**
1871   * The IANA name of this zone, i.e. `Etc/UTC` or `Etc/GMT+/-nn`
1872   *
1873   * @override
1874   * @type {string}
1875   */
1876  get ianaName() {
1877    return this.fixed === 0 ? "Etc/UTC" : `Etc/GMT${Ls(-this.fixed, "narrow")}`;
1878  }
1879  /**
1880   * Returns the offset's common name at the specified timestamp.
1881   *
1882   * For fixed offset zones this equals to the zone name.
1883   * @override
1884   */
1885  offsetName() {
1886    return this.name;
1887  }
1888  /**
1889   * Returns the offset's value as a string
1890   * @override
1891   * @param {number} ts - Epoch milliseconds for which to get the offset
1892   * @param {string} format - What style of offset to return.
1893   *                          Accepts 'narrow', 'short', or 'techie'. Returning '+6', '+06:00', or '+0600' respectively
1894   * @return {string}
1895   */
1896  formatOffset(t, r) {
1897    return Ls(this.fixed, r);
1898  }
1899  /**
1900   * Returns whether the offset is known to be fixed for the whole year:
1901   * Always returns true for all fixed offset zones.
1902   * @override
1903   * @type {boolean}
1904   */
1905  get isUniversal() {
1906    return !0;
1907  }
1908  /**
1909   * Return the offset in minutes for this zone at the specified timestamp.
1910   *
1911   * For fixed offset zones, this is constant and does not depend on a timestamp.
1912   * @override
1913   * @return {number}
1914   */
1915  offset() {
1916    return this.fixed;
1917  }
1918  /**
1919   * Return whether this Zone is equal to another zone (i.e. also fixed and same offset)
1920   * @override
1921   * @param {Zone} otherZone - the zone to compare
1922   * @return {boolean}
1923   */
1924  equals(t) {
1925    return t.type === "fixed" && t.fixed === this.fixed;
1926  }
1927  /**
1928   * Return whether this Zone is valid:
1929   * All fixed offset zones are valid.
1930   * @override
1931   * @type {boolean}
1932   */
1933  get isValid() {
1934    return !0;
1935  }
1936}
1937class S7 extends yc {
1938  constructor(t) {
1939    super(), this.zoneName = t;
1940  }
1941  /** @override **/
1942  get type() {
1943    return "invalid";
1944  }
1945  /** @override **/
1946  get name() {
1947    return this.zoneName;
1948  }
1949  /** @override **/
1950  get isUniversal() {
1951    return !1;
1952  }
1953  /** @override **/
1954  offsetName() {
1955    return null;
1956  }
1957  /** @override **/
1958  formatOffset() {
1959    return "";
1960  }
1961  /** @override **/
1962  offset() {
1963    return NaN;
1964  }
1965  /** @override **/
1966  equals() {
1967    return !1;
1968  }
1969  /** @override **/
1970  get isValid() {
1971    return !1;
1972  }
1973}
1974function hi(e, t) {
1975  if (Te(e) || e === null)
1976    return t;
1977  if (e instanceof yc)
1978    return e;
1979  if (O7(e)) {
1980    const r = e.toLowerCase();
1981    return r === "default" ? t : r === "local" || r === "system" ? Oh.instance : r === "utc" || r === "gmt" ? vn.utcInstance : vn.parseSpecifier(r) || Ea.create(e);
1982  } else return pi(e) ? vn.instance(e) : typeof e == "object" && "offset" in e && typeof e.offset == "function" ? e : new S7(e);
1983}
1984const Fp = {
1985  arab: "[Ù -Ù©]",
1986  arabext: "[Û°-Û¹]",
1987  bali: "[᭐-᭙]",
1988  beng: "[০-৯]",
1989  deva: "[०-९]",
1990  fullwide: "[0-9]",
1991  gujr: "[૦-૯]",
1992  hanidec: "[〇|一|二|三|四|五|六|七|八|九]",
1993  khmr: "[០-៩]",
1994  knda: "[೦-೯]",
1995  laoo: "[໐-໙]",
1996  limb: "[᥆-᥏]",
1997  mlym: "[൦-൯]",
1998  mong: "[᠐-᠙]",
1999  mymr: "[၀-၉]",
2000  orya: "[à­¦-à­¯]",
2001  tamldec: "[௦-௯]",
2002  telu: "[౦-౯]",
2003  thai: "[๐-๙]",
2004  tibt: "[༠-༩]",
2005  latn: "\\d"
2006}, Zb = {
2007  arab: [1632, 1641],
2008  arabext: [1776, 1785],
2009  bali: [6992, 7001],
2010  beng: [2534, 2543],
2011  deva: [2406, 2415],
2012  fullwide: [65296, 65303],
2013  gujr: [2790, 2799],
2014  khmr: [6112, 6121],
2015  knda: [3302, 3311],
2016  laoo: [3792, 3801],
2017  limb: [6470, 6479],
2018  mlym: [3430, 3439],
2019  mong: [6160, 6169],
2020  mymr: [4160, 4169],
2021  orya: [2918, 2927],
2022  tamldec: [3046, 3055],
2023  telu: [3174, 3183],
2024  thai: [3664, 3673],
2025  tibt: [3872, 3881]
2026}, $7 = Fp.hanidec.replace(/[\[|\]]/g, "").split("");
2027function E7(e) {
2028  let t = parseInt(e, 10);
2029  if (isNaN(t)) {
2030    t = "";
2031    for (let r = 0; r < e.length; r++) {
2032      const i = e.charCodeAt(r);
2033      if (e[r].search(Fp.hanidec) !== -1)
2034        t += $7.indexOf(e[r]);
2035      else
2036        for (const l in Zb) {
2037          const [s, f] = Zb[l];
2038          i >= s && i <= f && (t += i - s);
2039        }
2040    }
2041    return parseInt(t, 10);
2042  } else
2043    return t;
2044}
2045const Ug = /* @__PURE__ */ new Map();
2046function T7() {
2047  Ug.clear();
2048}
2049function $r({ numberingSystem: e }, t = "") {
2050  const r = e || "latn";
2051  let i = Ug.get(r);
2052  i === void 0 && (i = /* @__PURE__ */ new Map(), Ug.set(r, i));
2053  let l = i.get(t);
2054  return l === void 0 && (l = new RegExp(`${Fp[r]}${t}`), i.set(t, l)), l;
2055}
2056let Qb = () => Date.now(), Kb = "system", Xb = null, Wb = null, Jb = null, eS = 60, tS, nS = null;
2057class $t {
2058  /**
2059   * Get the callback for returning the current timestamp.
2060   * @type {function}
2061   */
2062  static get now() {
2063    return Qb;
2064  }
2065  /**
2066   * Set the callback for returning the current timestamp.
2067   * The function should return a number, which will be interpreted as an Epoch millisecond count
2068   * @type {function}
2069   * @example Settings.now = () => Date.now() + 3000 // pretend it is 3 seconds in the future
2070   * @example Settings.now = () => 0 // always pretend it's Jan 1, 1970 at midnight in UTC time
2071   */
2072  static set now(t) {
2073    Qb = t;
2074  }
2075  /**
2076   * Set the default time zone to create DateTimes in. Does not affect existing instances.
2077   * Use the value "system" to reset this value to the system's time zone.
2078   * @type {string}
2079   */
2080  static set defaultZone(t) {
2081    Kb = t;
2082  }
2083  /**
2084   * Get the default time zone object currently used to create DateTimes. Does not affect existing instances.
2085   * The default value is the system's time zone (the one set on the machine that runs this code).
2086   * @type {Zone}
2087   */
2088  static get defaultZone() {
2089    return hi(Kb, Oh.instance);
2090  }
2091  /**
2092   * Get the default locale to create DateTimes with. Does not affect existing instances.
2093   * @type {string}
2094   */
2095  static get defaultLocale() {
2096    return Xb;
2097  }
2098  /**
2099   * Set the default locale to create DateTimes with. Does not affect existing instances.
2100   * @type {string}
2101   */
2102  static set defaultLocale(t) {
2103    Xb = t;
2104  }
2105  /**
2106   * Get the default numbering system to create DateTimes with. Does not affect existing instances.
2107   * @type {string}
2108   */
2109  static get defaultNumberingSystem() {
2110    return Wb;
2111  }
2112  /**
2113   * Set the default numbering system to create DateTimes with. Does not affect existing instances.
2114   * @type {string}
2115   */
2116  static set defaultNumberingSystem(t) {
2117    Wb = t;
2118  }
2119  /**
2120   * Get the default output calendar to create DateTimes with. Does not affect existing instances.
2121   * @type {string}
2122   */
2123  static get defaultOutputCalendar() {
2124    return Jb;
2125  }
2126  /**
2127   * Set the default output calendar to create DateTimes with. Does not affect existing instances.
2128   * @type {string}
2129   */
2130  static set defaultOutputCalendar(t) {
2131    Jb = t;
2132  }
2133  /**
2134   * @typedef {Object} WeekSettings
2135   * @property {number} firstDay
2136   * @property {number} minimalDays
2137   * @property {number[]} weekend
2138   */
2139  /**
2140   * @return {WeekSettings|null}
2141   */
2142  static get defaultWeekSettings() {
2143    return nS;
2144  }
2145  /**
2146   * Allows overriding the default locale week settings, i.e. the start of the week, the weekend and
2147   * how many days are required in the first week of a year.
2148   * Does not affect existing instances.
2149   *
2150   * @param {WeekSettings|null} weekSettings
2151   */
2152  static set defaultWeekSettings(t) {
2153    nS = jg(t);
2154  }
2155  /**
2156   * Get the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
2157   * @type {number}
2158   */
2159  static get twoDigitCutoffYear() {
2160    return eS;
2161  }
2162  /**
2163   * Set the cutoff year for whether a 2-digit year string is interpreted in the current or previous century. Numbers higher than the cutoff will be considered to mean 19xx and numbers lower or equal to the cutoff will be considered 20xx.
2164   * @type {number}
2165   * @example Settings.twoDigitCutoffYear = 0 // all 'yy' are interpreted as 20th century
2166   * @example Settings.twoDigitCutoffYear = 99 // all 'yy' are interpreted as 21st century
2167   * @example Settings.twoDigitCutoffYear = 50 // '49' -> 2049; '50' -> 1950
2168   * @example Settings.twoDigitCutoffYear = 1950 // interpreted as 50
2169   * @example Settings.twoDigitCutoffYear = 2050 // ALSO interpreted as 50
2170   */
2171  static set twoDigitCutoffYear(t) {
2172    eS = t % 100;
2173  }
2174  /**
2175   * Get whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
2176   * @type {boolean}
2177   */
2178  static get throwOnInvalid() {
2179    return tS;
2180  }
2181  /**
2182   * Set whether Luxon will throw when it encounters invalid DateTimes, Durations, or Intervals
2183   * @type {boolean}
2184   */
2185  static set throwOnInvalid(t) {
2186    tS = t;
2187  }
2188  /**
2189   * Reset Luxon's global caches. Should only be necessary in testing scenarios.
2190   * @return {void}
2191   */
2192  static resetCaches() {
2193    Ke.resetCache(), Ea.resetCache(), ye.resetCache(), T7();
2194  }
2195}
2196class Or {
2197  constructor(t, r) {
2198    this.reason = t, this.explanation = r;
2199  }
2200  toMessage() {
2201    return this.explanation ? `${this.reason}: ${this.explanation}` : this.reason;
2202  }
2203}
2204const b8 = [0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334], S8 = [0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335];
2205function cr(e, t) {
2206  return new Or(
2207    "unit out of range",
2208    `you specified ${t} (of type ${typeof t}) as a ${e}, which is invalid`
2209  );
2210}
2211function Hp(e, t, r) {
2212  const i = new Date(Date.UTC(e, t - 1, r));
2213  e < 100 && e >= 0 && i.setUTCFullYear(i.getUTCFullYear() - 1900);
2214  const l = i.getUTCDay();
2215  return l === 0 ? 7 : l;
2216}
2217function $8(e, t, r) {
2218  return r + (vc(e) ? S8 : b8)[t - 1];
2219}
2220function E8(e, t) {
2221  const r = vc(e) ? S8 : b8, i = r.findIndex((s) => s < t), l = t - r[i];
2222  return { month: i + 1, day: l };
2223}
2224function Vp(e, t) {
2225  return (e - t + 7) % 7 + 1;
2226}
2227function Yd(e, t = 4, r = 1) {
2228  const { year: i, month: l, day: s } = e, f = $8(i, l, s), h = Vp(Hp(i, l, s), r);
2229  let m = Math.floor((f - h + 14 - t) / 7), g;
2230  return m < 1 ? (g = i - 1, m = Gs(g, t, r)) : m > Gs(i, t, r) ? (g = i + 1, m = 1) : g = i, { weekYear: g, weekNumber: m, weekday: h, ...xh(e) };
2231}
2232function rS(e, t = 4, r = 1) {
2233  const { weekYear: i, weekNumber: l, weekday: s } = e, f = Vp(Hp(i, 1, t), r), h = Ll(i);
2234  let m = l * 7 + s - f - 7 + t, g;
2235  m < 1 ? (g = i - 1, m += Ll(g)) : m > h ? (g = i + 1, m -= Ll(i)) : g = i;
2236  const { month: p, day: b } = E8(g, m);
2237  return { year: g, month: p, day: b, ...xh(e) };
2238}
2239function R1(e) {
2240  const { year: t, month: r, day: i } = e, l = $8(t, r, i);
2241  return { year: t, ordinal: l, ...xh(e) };
2242}
2243function aS(e) {
2244  const { year: t, ordinal: r } = e, { month: i, day: l } = E8(t, r);
2245  return { year: t, month: i, day: l, ...xh(e) };
2246}
2247function iS(e, t) {
2248  if (!Te(e.localWeekday) || !Te(e.localWeekNumber) || !Te(e.localWeekYear)) {
2249    if (!Te(e.weekday) || !Te(e.weekNumber) || !Te(e.weekYear))
2250      throw new Dl(
2251        "Cannot mix locale-based week fields with ISO-based week fields"
2252      );
2253    return Te(e.localWeekday) || (e.weekday = e.localWeekday), Te(e.localWeekNumber) || (e.weekNumber = e.localWeekNumber), Te(e.localWeekYear) || (e.weekYear = e.localWeekYear), delete e.localWeekday, delete e.localWeekNumber, delete e.localWeekYear, {
2254      minDaysInFirstWeek: t.getMinDaysInFirstWeek(),
2255      startOfWeek: t.getStartOfWeek()
2256    };
2257  } else
2258    return { minDaysInFirstWeek: 4, startOfWeek: 1 };
2259}
2260function C7(e, t = 4, r = 1) {
2261  const i = Nh(e.weekYear), l = fr(
2262    e.weekNumber,
2263    1,
2264    Gs(e.weekYear, t, r)
2265  ), s = fr(e.weekday, 1, 7);
2266  return i ? l ? s ? !1 : cr("weekday", e.weekday) : cr("week", e.weekNumber) : cr("weekYear", e.weekYear);
2267}
2268function w7(e) {
2269  const t = Nh(e.year), r = fr(e.ordinal, 1, Ll(e.year));
2270  return t ? r ? !1 : cr("ordinal", e.ordinal) : cr("year", e.year);
2271}
2272function T8(e) {
2273  const t = Nh(e.year), r = fr(e.month, 1, 12), i = fr(e.day, 1, Zd(e.year, e.month));
2274  return t ? r ? i ? !1 : cr("day", e.day) : cr("month", e.month) : cr("year", e.year);
2275}
2276function C8(e) {
2277  const { hour: t, minute: r, second: i, millisecond: l } = e, s = fr(t, 0, 23) || t === 24 && r === 0 && i === 0 && l === 0, f = fr(r, 0, 59), h = fr(i, 0, 59), m = fr(l, 0, 999);
2278  return s ? f ? h ? m ? !1 : cr("millisecond", l) : cr("second", i) : cr("minute", r) : cr("hour", t);
2279}
2280function Te(e) {
2281  return typeof e > "u";
2282}
2283function pi(e) {
2284  return typeof e == "number";
2285}
2286function Nh(e) {
2287  return typeof e == "number" && e % 1 === 0;
2288}
2289function O7(e) {
2290  return typeof e == "string";
2291}
2292function N7(e) {
2293  return Object.prototype.toString.call(e) === "[object Date]";
2294}
2295function w8() {
2296  try {
2297    return typeof Intl < "u" && !!Intl.RelativeTimeFormat;
2298  } catch {
2299    return !1;
2300  }
2301}
2302function O8() {
2303  try {
2304    return typeof Intl < "u" && !!Intl.Locale && ("weekInfo" in Intl.Locale.prototype || "getWeekInfo" in Intl.Locale.prototype);
2305  } catch {
2306    return !1;
2307  }
2308}
2309function A7(e) {
2310  return Array.isArray(e) ? e : [e];
2311}
2312function oS(e, t, r) {
2313  if (e.length !== 0)
2314    return e.reduce((i, l) => {
2315      const s = [t(l), l];
2316      return i && r(i[0], s[0]) === i[0] ? i : s;
2317    }, null)[1];
2318}
2319function _7(e, t) {
2320  return t.reduce((r, i) => (r[i] = e[i], r), {});
2321}
2322function Gl(e, t) {
2323  return Object.prototype.hasOwnProperty.call(e, t);
2324}
2325function jg(e) {
2326  if (e == null)
2327    return null;
2328  if (typeof e != "object")
2329    throw new cn("Week settings must be an object");
2330  if (!fr(e.firstDay, 1, 7) || !fr(e.minimalDays, 1, 7) || !Array.isArray(e.weekend) || e.weekend.some((t) => !fr(t, 1, 7)))
2331    throw new cn("Invalid week settings");
2332  return {
2333    firstDay: e.firstDay,
2334    minimalDays: e.minimalDays,
2335    weekend: Array.from(e.weekend)
2336  };
2337}
2338function fr(e, t, r) {
2339  return Nh(e) && e >= t && e <= r;
2340}
2341function x7(e, t) {
2342  return e - t * Math.floor(e / t);
2343}
2344function _t(e, t = 2) {
2345  const r = e < 0;
2346  let i;
2347  return r ? i = "-" + ("" + -e).padStart(t, "0") : i = ("" + e).padStart(t, "0"), i;
2348}
2349function fi(e) {
2350  if (!(Te(e) || e === null || e === ""))
2351    return parseInt(e, 10);
2352}
2353function Ki(e) {
2354  if (!(Te(e) || e === null || e === ""))
2355    return parseFloat(e);
2356}
2357function Bp(e) {
2358  if (!(Te(e) || e === null || e === "")) {
2359    const t = parseFloat("0." + e) * 1e3;
2360    return Math.floor(t);
2361  }
2362}
2363function qp(e, t, r = "round") {
2364  const i = 10 ** t;
2365  switch (r) {
2366    case "expand":
2367      return e > 0 ? Math.ceil(e * i) / i : Math.floor(e * i) / i;
2368    case "trunc":
2369      return Math.trunc(e * i) / i;
2370    case "round":
2371      return Math.round(e * i) / i;
2372    case "floor":
2373      return Math.floor(e * i) / i;
2374    case "ceil":
2375      return Math.ceil(e * i) / i;
2376    default:
2377      throw new RangeError(`Value rounding ${r} is out of range`);
2378  }
2379}
2380function vc(e) {
2381  return e % 4 === 0 && (e % 100 !== 0 || e % 400 === 0);
2382}
2383function Ll(e) {
2384  return vc(e) ? 366 : 365;
2385}
2386function Zd(e, t) {
2387  const r = x7(t - 1, 12) + 1, i = e + (t - r) / 12;
2388  return r === 2 ? vc(i) ? 29 : 28 : [31, null, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][r - 1];
2389}
2390function Ah(e) {
2391  let t = Date.UTC(
2392    e.year,
2393    e.month - 1,
2394    e.day,
2395    e.hour,
2396    e.minute,
2397    e.second,
2398    e.millisecond
2399  );
2400  return e.year < 100 && e.year >= 0 && (t = new Date(t), t.setUTCFullYear(e.year, e.month - 1, e.day)), +t;
2401}
2402function lS(e, t, r) {
2403  return -Vp(Hp(e, 1, t), r) + t - 1;
2404}
2405function Gs(e, t = 4, r = 1) {
2406  const i = lS(e, t, r), l = lS(e + 1, t, r);
2407  return (Ll(e) - i + l) / 7;
2408}
2409function Fg(e) {
2410  return e > 99 ? e : e > $t.twoDigitCutoffYear ? 1900 + e : 2e3 + e;
2411}
2412function N8(e, t, r, i = null) {
2413  const l = new Date(e), s = {
2414    hourCycle: "h23",
2415    year: "numeric",
2416    month: "2-digit",
2417    day: "2-digit",
2418    hour: "2-digit",
2419    minute: "2-digit"
2420  };
2421  i && (s.timeZone = i);
2422  const f = { timeZoneName: t, ...s }, h = new Intl.DateTimeFormat(r, f).formatToParts(l).find((m) => m.type.toLowerCase() === "timezonename");
2423  return h ? h.value : null;
2424}
2425function _h(e, t) {
2426  let r = parseInt(e, 10);
2427  Number.isNaN(r) && (r = 0);
2428  const i = parseInt(t, 10) || 0, l = r < 0 || Object.is(r, -0) ? -i : i;
2429  return r * 60 + l;
2430}
2431function A8(e) {
2432  const t = Number(e);
2433  if (typeof e == "boolean" || e === "" || !Number.isFinite(t))
2434    throw new cn(`Invalid unit value ${e}`);
2435  return t;
2436}
2437function Qd(e, t) {
2438  const r = {};
2439  for (const i in e)
2440    if (Gl(e, i)) {
2441      const l = e[i];
2442      if (l == null) continue;
2443      r[t(i)] = A8(l);
2444    }
2445  return r;
2446}
2447function Ls(e, t) {
2448  const r = Math.trunc(Math.abs(e / 60)), i = Math.trunc(Math.abs(e % 60)), l = e >= 0 ? "+" : "-";
2449  switch (t) {
2450    case "short":
2451      return `${l}${_t(r, 2)}:${_t(i, 2)}`;
2452    case "narrow":
2453      return `${l}${r}${i > 0 ? `:${i}` : ""}`;
2454    case "techie":
2455      return `${l}${_t(r, 2)}${_t(i, 2)}`;
2456    default:
2457      throw new RangeError(`Value format ${t} is out of range for property format`);
2458  }
2459}
2460function xh(e) {
2461  return _7(e, ["hour", "minute", "second", "millisecond"]);
2462}
2463const R7 = [
2464  "January",
2465  "February",
2466  "March",
2467  "April",
2468  "May",
2469  "June",
2470  "July",
2471  "August",
2472  "September",
2473  "October",
2474  "November",
2475  "December"
2476], _8 = [
2477  "Jan",
2478  "Feb",
2479  "Mar",
2480  "Apr",
2481  "May",
2482  "Jun",
2483  "Jul",
2484  "Aug",
2485  "Sep",
2486  "Oct",
2487  "Nov",
2488  "Dec"
2489], D7 = ["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"];
2490function x8(e) {
2491  switch (e) {
2492    case "narrow":
2493      return [...D7];
2494    case "short":
2495      return [..._8];
2496    case "long":
2497      return [...R7];
2498    case "numeric":
2499      return ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "11", "12"];
2500    case "2-digit":
2501      return ["01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12"];
2502    default:
2503      return null;
2504  }
2505}
2506const R8 = [
2507  "Monday",
2508  "Tuesday",
2509  "Wednesday",
2510  "Thursday",
2511  "Friday",
2512  "Saturday",
2513  "Sunday"
2514], D8 = ["Mon", "Tue", "Wed", "Thu", "Fri", "Sat", "Sun"], M7 = ["M", "T", "W", "T", "F", "S", "S"];
2515function M8(e) {
2516  switch (e) {
2517    case "narrow":
2518      return [...M7];
2519    case "short":
2520      return [...D8];
2521    case "long":
2522      return [...R8];
2523    case "numeric":
2524      return ["1", "2", "3", "4", "5", "6", "7"];
2525    default:
2526      return null;
2527  }
2528}
2529const I8 = ["AM", "PM"], I7 = ["Before Christ", "Anno Domini"], P7 = ["BC", "AD"], k7 = ["B", "A"];
2530function P8(e) {
2531  switch (e) {
2532    case "narrow":
2533      return [...k7];
2534    case "short":
2535      return [...P7];
2536    case "long":
2537      return [...I7];
2538    default:
2539      return null;
2540  }
2541}
2542function L7(e) {
2543  return I8[e.hour < 12 ? 0 : 1];
2544}
2545function z7(e, t) {
2546  return M8(t)[e.weekday - 1];
2547}
2548function U7(e, t) {
2549  return x8(t)[e.month - 1];
2550}
2551function j7(e, t) {
2552  return P8(t)[e.year < 0 ? 0 : 1];
2553}
2554function F7(e, t, r = "always", i = !1) {
2555  const l = {
2556    years: ["year", "yr."],
2557    quarters: ["quarter", "qtr."],
2558    months: ["month", "mo."],
2559    weeks: ["week", "wk."],
2560    days: ["day", "day", "days"],
2561    hours: ["hour", "hr."],
2562    minutes: ["minute", "min."],
2563    seconds: ["second", "sec."]
2564  }, s = ["hours", "minutes", "seconds"].indexOf(e) === -1;
2565  if (r === "auto" && s) {
2566    const b = e === "days";
2567    switch (t) {
2568      case 1:
2569        return b ? "tomorrow" : `next ${l[e][0]}`;
2570      case -1:
2571        return b ? "yesterday" : `last ${l[e][0]}`;
2572      case 0:
2573        return b ? "today" : `this ${l[e][0]}`;
2574    }
2575  }
2576  const f = Object.is(t, -0) || t < 0, h = Math.abs(t), m = h === 1, g = l[e], p = i ? m ? g[1] : g[2] || g[1] : m ? l[e][0] : e;
2577  return f ? `${h} ${p} ago` : `in ${h} ${p}`;
2578}
2579function uS(e, t) {
2580  let r = "";
2581  for (const i of e)
2582    i.literal ? r += i.val : r += t(i.val);
2583  return r;
2584}
2585const H7 = {
2586  D: Gd,
2587  DD: W9,
2588  DDD: J9,
2589  DDDD: e8,
2590  t: t8,
2591  tt: n8,
2592  ttt: r8,
2593  tttt: a8,
2594  T: i8,
2595  TT: o8,
2596  TTT: l8,
2597  TTTT: u8,
2598  f: s8,
2599  ff: f8,
2600  fff: h8,
2601  ffff: g8,
2602  F: c8,
2603  FF: d8,
2604  FFF: m8,
2605  FFFF: p8
2606};
2607let wr = class xs {
2608  static create(t, r = {}) {
2609    return new xs(t, r);
2610  }
2611  static parseFormat(t) {
2612    let r = null, i = "", l = !1;
2613    const s = [];
2614    for (let f = 0; f < t.length; f++) {
2615      const h = t.charAt(f);
2616      h === "'" ? ((i.length > 0 || l) && s.push({
2617        literal: l || /^\s+$/.test(i),
2618        val: i === "" ? "'" : i
2619      }), r = null, i = "", l = !l) : l || h === r ? i += h : (i.length > 0 && s.push({ literal: /^\s+$/.test(i), val: i }), i = h, r = h);
2620    }
2621    return i.length > 0 && s.push({ literal: l || /^\s+$/.test(i), val: i }), s;
2622  }
2623  static macroTokenToFormatOpts(t) {
2624    return H7[t];
2625  }
2626  constructor(t, r) {
2627    this.opts = r, this.loc = t, this.systemLoc = null;
2628  }
2629  formatWithSystemDefault(t, r) {
2630    return this.systemLoc === null && (this.systemLoc = this.loc.redefaultToSystem()), this.systemLoc.dtFormatter(t, { ...this.opts, ...r }).format();
2631  }
2632  dtFormatter(t, r = {}) {
2633    return this.loc.dtFormatter(t, { ...this.opts, ...r });
2634  }
2635  formatDateTime(t, r) {
2636    return this.dtFormatter(t, r).format();
2637  }
2638  formatDateTimeParts(t, r) {
2639    return this.dtFormatter(t, r).formatToParts();
2640  }
2641  formatInterval(t, r) {
2642    return this.dtFormatter(t.start, r).dtf.formatRange(t.start.toJSDate(), t.end.toJSDate());
2643  }
2644  resolvedOptions(t, r) {
2645    return this.dtFormatter(t, r).resolvedOptions();
2646  }
2647  num(t, r = 0, i = void 0) {
2648    if (this.opts.forceSimple)
2649      return _t(t, r);
2650    const l = { ...this.opts };
2651    return r > 0 && (l.padTo = r), i && (l.signDisplay = i), this.loc.numberFormatter(l).format(t);
2652  }
2653  formatDateTimeFromString(t, r) {
2654    const i = this.loc.listingMode() === "en", l = this.loc.outputCalendar && this.loc.outputCalendar !== "gregory", s = (w, T) => this.loc.extract(t, w, T), f = (w) => t.isOffsetFixed && t.offset === 0 && w.allowZ ? "Z" : t.isValid ? t.zone.formatOffset(t.ts, w.format) : "", h = () => i ? L7(t) : s({ hour: "numeric", hourCycle: "h12" }, "dayperiod"), m = (w, T) => i ? U7(t, w) : s(T ? { month: w } : { month: w, day: "numeric" }, "month"), g = (w, T) => i ? z7(t, w) : s(
2655      T ? { weekday: w } : { weekday: w, month: "long", day: "numeric" },
2656      "weekday"
2657    ), p = (w) => {
2658      const T = xs.macroTokenToFormatOpts(w);
2659      return T ? this.formatWithSystemDefault(t, T) : w;
2660    }, b = (w) => i ? j7(t, w) : s({ era: w }, "era"), S = (w) => {
2661      switch (w) {
2662        // ms
2663        case "S":
2664          return this.num(t.millisecond);
2665        case "u":
2666        // falls through
2667        case "SSS":
2668          return this.num(t.millisecond, 3);
2669        // seconds
2670        case "s":
2671          return this.num(t.second);
2672        case "ss":
2673          return this.num(t.second, 2);
2674        // fractional seconds
2675        case "uu":
2676          return this.num(Math.floor(t.millisecond / 10), 2);
2677        case "uuu":
2678          return this.num(Math.floor(t.millisecond / 100));
2679        // minutes
2680        case "m":
2681          return this.num(t.minute);
2682        case "mm":
2683          return this.num(t.minute, 2);
2684        // hours
2685        case "h":
2686          return this.num(t.hour % 12 === 0 ? 12 : t.hour % 12);
2687        case "hh":
2688          return this.num(t.hour % 12 === 0 ? 12 : t.hour % 12, 2);
2689        case "H":
2690          return this.num(t.hour);
2691        case "HH":
2692          return this.num(t.hour, 2);
2693        // offset
2694        case "Z":
2695          return f({ format: "narrow", allowZ: this.opts.allowZ });
2696        case "ZZ":
2697          return f({ format: "short", allowZ: this.opts.allowZ });
2698        case "ZZZ":
2699          return f({ format: "techie", allowZ: this.opts.allowZ });
2700        case "ZZZZ":
2701          return t.zone.offsetName(t.ts, { format: "short", locale: this.loc.locale });
2702        case "ZZZZZ":
2703          return t.zone.offsetName(t.ts, { format: "long", locale: this.loc.locale });
2704        // zone
2705        case "z":
2706          return t.zoneName;
2707        // meridiems
2708        case "a":
2709          return h();
2710        // dates
2711        case "d":
2712          return l ? s({ day: "numeric" }, "day") : this.num(t.day);
2713        case "dd":
2714          return l ? s({ day: "2-digit" }, "day") : this.num(t.day, 2);
2715        // weekdays - standalone
2716        case "c":
2717          return this.num(t.weekday);
2718        case "ccc":
2719          return g("short", !0);
2720        case "cccc":
2721          return g("long", !0);
2722        case "ccccc":
2723          return g("narrow", !0);
2724        // weekdays - format
2725        case "E":
2726          return this.num(t.weekday);
2727        case "EEE":
2728          return g("short", !1);
2729        case "EEEE":
2730          return g("long", !1);
2731        case "EEEEE":
2732          return g("narrow", !1);
2733        // months - standalone
2734        case "L":
2735          return l ? s({ month: "numeric", day: "numeric" }, "month") : this.num(t.month);
2736        case "LL":
2737          return l ? s({ month: "2-digit", day: "numeric" }, "month") : this.num(t.month, 2);
2738        case "LLL":
2739          return m("short", !0);
2740        case "LLLL":
2741          return m("long", !0);
2742        case "LLLLL":
2743          return m("narrow", !0);
2744        // months - format
2745        case "M":
2746          return l ? s({ month: "numeric" }, "month") : this.num(t.month);
2747        case "MM":
2748          return l ? s({ month: "2-digit" }, "month") : this.num(t.month, 2);
2749        case "MMM":
2750          return m("short", !1);
2751        case "MMMM":
2752          return m("long", !1);
2753        case "MMMMM":
2754          return m("narrow", !1);
2755        // years
2756        case "y":
2757          return l ? s({ year: "numeric" }, "year") : this.num(t.year);
2758        case "yy":
2759          return l ? s({ year: "2-digit" }, "year") : this.num(t.year.toString().slice(-2), 2);
2760        case "yyyy":
2761          return l ? s({ year: "numeric" }, "year") : this.num(t.year, 4);
2762        case "yyyyyy":
2763          return l ? s({ year: "numeric" }, "year") : this.num(t.year, 6);
2764        // eras
2765        case "G":
2766          return b("short");
2767        case "GG":
2768          return b("long");
2769        case "GGGGG":
2770          return b("narrow");
2771        case "kk":
2772          return this.num(t.weekYear.toString().slice(-2), 2);
2773        case "kkkk":
2774          return this.num(t.weekYear, 4);
2775        case "W":
2776          return this.num(t.weekNumber);
2777        case "WW":
2778          return this.num(t.weekNumber, 2);
2779        case "n":
2780          return this.num(t.localWeekNumber);
2781        case "nn":
2782          return this.num(t.localWeekNumber, 2);
2783        case "ii":
2784          return this.num(t.localWeekYear.toString().slice(-2), 2);
2785        case "iiii":
2786          return this.num(t.localWeekYear, 4);
2787        case "o":
2788          return this.num(t.ordinal);
2789        case "ooo":
2790          return this.num(t.ordinal, 3);
2791        case "q":
2792          return this.num(t.quarter);
2793        case "qq":
2794          return this.num(t.quarter, 2);
2795        case "X":
2796          return this.num(Math.floor(t.ts / 1e3));
2797        case "x":
2798          return this.num(t.ts);
2799        default:
2800          return p(w);
2801      }
2802    };
2803    return uS(xs.parseFormat(r), S);
2804  }
2805  formatDurationFromString(t, r) {
2806    const i = this.opts.signMode === "negativeLargestOnly" ? -1 : 1, l = (p) => {
2807      switch (p[0]) {
2808        case "S":
2809          return "milliseconds";
2810        case "s":
2811          return "seconds";
2812        case "m":
2813          return "minutes";
2814        case "h":
2815          return "hours";
2816        case "d":
2817          return "days";
2818        case "w":
2819          return "weeks";
2820        case "M":
2821          return "months";
2822        case "y":
2823          return "years";
2824        default:
2825          return null;
2826      }
2827    }, s = (p, b) => (S) => {
2828      const w = l(S);
2829      if (w) {
2830        const T = b.isNegativeDuration && w !== b.largestUnit ? i : 1;
2831        let N;
2832        return this.opts.signMode === "negativeLargestOnly" && w !== b.largestUnit ? N = "never" : this.opts.signMode === "all" ? N = "always" : N = "auto", this.num(p.get(w) * T, S.length, N);
2833      } else
2834        return S;
2835    }, f = xs.parseFormat(r), h = f.reduce(
2836      (p, { literal: b, val: S }) => b ? p : p.concat(S),
2837      []
2838    ), m = t.shiftTo(...h.map(l).filter((p) => p)), g = {
2839      isNegativeDuration: m < 0,
2840      // this relies on "collapsed" being based on "shiftTo", which builds up the object
2841      // in order
2842      largestUnit: Object.keys(m.values)[0]
2843    };
2844    return uS(f, s(m, g));
2845  }
2846};
2847const k8 = /[A-Za-z_+-]{1,256}(?::?\/[A-Za-z0-9_+-]{1,256}(?:\/[A-Za-z0-9_+-]{1,256})?)?/;
2848function nu(...e) {
2849  const t = e.reduce((r, i) => r + i.source, "");
2850  return RegExp(`^${t}$`);
2851}
2852function ru(...e) {
2853  return (t) => e.reduce(
2854    ([r, i, l], s) => {
2855      const [f, h, m] = s(t, l);
2856      return [{ ...r, ...f }, h || i, m];
2857    },
2858    [{}, null, 1]
2859  ).slice(0, 2);
2860}
2861function au(e, ...t) {
2862  if (e == null)
2863    return [null, null];
2864  for (const [r, i] of t) {
2865    const l = r.exec(e);
2866    if (l)
2867      return i(l);
2868  }
2869  return [null, null];
2870}
2871function L8(...e) {
2872  return (t, r) => {
2873    const i = {};
2874    let l;
2875    for (l = 0; l < e.length; l++)
2876      i[e[l]] = fi(t[r + l]);
2877    return [i, null, r + l];
2878  };
2879}
2880const z8 = /(?:([Zz])|([+-]\d\d)(?::?(\d\d))?)/, V7 = `(?:${z8.source}?(?:\\[(${k8.source})\\])?)?`, Gp = /(\d\d)(?::?(\d\d)(?::?(\d\d)(?:[.,](\d{1,30}))?)?)?/, U8 = RegExp(`${Gp.source}${V7}`), Yp = RegExp(`(?:[Tt]${U8.source})?`), B7 = /([+-]\d{6}|\d{4})(?:-?(\d\d)(?:-?(\d\d))?)?/, q7 = /(\d{4})-?W(\d\d)(?:-?(\d))?/, G7 = /(\d{4})-?(\d{3})/, Y7 = L8("weekYear", "weekNumber", "weekDay"), Z7 = L8("year", "ordinal"), Q7 = /(\d{4})-(\d\d)-(\d\d)/, j8 = RegExp(
2881  `${Gp.source} ?(?:${z8.source}|(${k8.source}))?`
2882), K7 = RegExp(`(?: ${j8.source})?`);
2883function zl(e, t, r) {
2884  const i = e[t];
2885  return Te(i) ? r : fi(i);
2886}
2887function X7(e, t) {
2888  return [{
2889    year: zl(e, t),
2890    month: zl(e, t + 1, 1),
2891    day: zl(e, t + 2, 1)
2892  }, null, t + 3];
2893}
2894function iu(e, t) {
2895  return [{
2896    hours: zl(e, t, 0),
2897    minutes: zl(e, t + 1, 0),
2898    seconds: zl(e, t + 2, 0),
2899    milliseconds: Bp(e[t + 3])
2900  }, null, t + 4];
2901}
2902function bc(e, t) {
2903  const r = !e[t] && !e[t + 1], i = _h(e[t + 1], e[t + 2]), l = r ? null : vn.instance(i);
2904  return [{}, l, t + 3];
2905}
2906function Sc(e, t) {
2907  const r = e[t] ? Ea.create(e[t]) : null;
2908  return [{}, r, t + 1];
2909}
2910const W7 = RegExp(`^T?${Gp.source}$`), J7 = /^-?P(?:(?:(-?\d{1,20}(?:\.\d{1,20})?)Y)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20}(?:\.\d{1,20})?)W)?(?:(-?\d{1,20}(?:\.\d{1,20})?)D)?(?:T(?:(-?\d{1,20}(?:\.\d{1,20})?)H)?(?:(-?\d{1,20}(?:\.\d{1,20})?)M)?(?:(-?\d{1,20})(?:[.,](-?\d{1,20}))?S)?)?)$/;
2911function eO(e) {
2912  const [t, r, i, l, s, f, h, m, g] = e, p = t[0] === "-", b = m && m[0] === "-", S = (w, T = !1) => w !== void 0 && (T || w && p) ? -w : w;
2913  return [
2914    {
2915      years: S(Ki(r)),
2916      months: S(Ki(i)),
2917      weeks: S(Ki(l)),
2918      days: S(Ki(s)),
2919      hours: S(Ki(f)),
2920      minutes: S(Ki(h)),
2921      seconds: S(Ki(m), m === "-0"),
2922      milliseconds: S(Bp(g), b)
2923    }
2924  ];
2925}
2926const tO = {
2927  GMT: 0,
2928  EDT: -240,
2929  EST: -300,
2930  CDT: -300,
2931  CST: -360,
2932  MDT: -360,
2933  MST: -420,
2934  PDT: -420,
2935  PST: -480
2936};
2937function Zp(e, t, r, i, l, s, f) {
2938  const h = {
2939    year: t.length === 2 ? Fg(fi(t)) : fi(t),
2940    month: _8.indexOf(r) + 1,
2941    day: fi(i),
2942    hour: fi(l),
2943    minute: fi(s)
2944  };
2945  return f && (h.second = fi(f)), e && (h.weekday = e.length > 3 ? R8.indexOf(e) + 1 : D8.indexOf(e) + 1), h;
2946}
2947const nO = /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),\s)?(\d{1,2})\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\s(\d{2,4})\s(\d\d):(\d\d)(?::(\d\d))?\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|(?:([+-]\d\d)(\d\d)))$/;
2948function rO(e) {
2949  const [
2950    ,
2951    t,
2952    r,
2953    i,
2954    l,
2955    s,
2956    f,
2957    h,
2958    m,
2959    g,
2960    p,
2961    b
2962  ] = e, S = Zp(t, l, i, r, s, f, h);
2963  let w;
2964  return m ? w = tO[m] : g ? w = 0 : w = _h(p, b), [S, new vn(w)];
2965}
2966function aO(e) {
2967  return e.replace(/\([^()]*\)|[\n\t]/g, " ").replace(/(\s\s+)/g, " ").trim();
2968}
2969const iO = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun), (\d\d) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) (\d{4}) (\d\d):(\d\d):(\d\d) GMT$/, oO = /^(Monday|Tuesday|Wednesday|Thursday|Friday|Saturday|Sunday), (\d\d)-(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)-(\d\d) (\d\d):(\d\d):(\d\d) GMT$/, lO = /^(Mon|Tue|Wed|Thu|Fri|Sat|Sun) (Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec) ( \d|\d\d) (\d\d):(\d\d):(\d\d) (\d{4})$/;
2970function sS(e) {
2971  const [, t, r, i, l, s, f, h] = e;
2972  return [Zp(t, l, i, r, s, f, h), vn.utcInstance];
2973}
2974function uO(e) {
2975  const [, t, r, i, l, s, f, h] = e;
2976  return [Zp(t, h, r, i, l, s, f), vn.utcInstance];
2977}
2978const sO = nu(B7, Yp), cO = nu(q7, Yp), fO = nu(G7, Yp), dO = nu(U8), F8 = ru(
2979  X7,
2980  iu,
2981  bc,
2982  Sc
2983), hO = ru(
2984  Y7,
2985  iu,
2986  bc,
2987  Sc
2988), mO = ru(
2989  Z7,
2990  iu,
2991  bc,
2992  Sc
2993), gO = ru(
2994  iu,
2995  bc,
2996  Sc
2997);
2998function pO(e) {
2999  return au(
3000    e,
3001    [sO, F8],
3002    [cO, hO],
3003    [fO, mO],
3004    [dO, gO]
3005  );
3006}
3007function yO(e) {
3008  return au(aO(e), [nO, rO]);
3009}
3010function vO(e) {
3011  return au(
3012    e,
3013    [iO, sS],
3014    [oO, sS],
3015    [lO, uO]
3016  );
3017}
3018function bO(e) {
3019  return au(e, [J7, eO]);
3020}
3021const SO = ru(iu);
3022function $O(e) {
3023  return au(e, [W7, SO]);
3024}
3025const EO = nu(Q7, K7), TO = nu(j8), CO = ru(
3026  iu,
3027  bc,
3028  Sc
3029);
3030function wO(e) {
3031  return au(
3032    e,
3033    [EO, F8],
3034    [TO, CO]
3035  );
3036}
3037const cS = "Invalid Duration", H8 = {
3038  weeks: {
3039    days: 7,
3040    hours: 168,
3041    minutes: 10080,
3042    seconds: 10080 * 60,
3043    milliseconds: 10080 * 60 * 1e3
3044  },
3045  days: {
3046    hours: 24,
3047    minutes: 1440,
3048    seconds: 1440 * 60,
3049    milliseconds: 1440 * 60 * 1e3
3050  },
3051  hours: { minutes: 60, seconds: 3600, milliseconds: 3600 * 1e3 },
3052  minutes: { seconds: 60, milliseconds: 60 * 1e3 },
3053  seconds: { milliseconds: 1e3 }
3054}, OO = {
3055  years: {
3056    quarters: 4,
3057    months: 12,
3058    weeks: 52,
3059    days: 365,
3060    hours: 365 * 24,
3061    minutes: 365 * 24 * 60,
3062    seconds: 365 * 24 * 60 * 60,
3063    milliseconds: 365 * 24 * 60 * 60 * 1e3
3064  },
3065  quarters: {
3066    months: 3,
3067    weeks: 13,
3068    days: 91,
3069    hours: 2184,
3070    minutes: 2184 * 60,
3071    seconds: 2184 * 60 * 60,
3072    milliseconds: 2184 * 60 * 60 * 1e3
3073  },
3074  months: {
3075    weeks: 4,
3076    days: 30,
3077    hours: 720,
3078    minutes: 720 * 60,
3079    seconds: 720 * 60 * 60,
3080    milliseconds: 720 * 60 * 60 * 1e3
3081  },
3082  ...H8
3083}, lr = 146097 / 400, pl = 146097 / 4800, NO = {
3084  years: {
3085    quarters: 4,
3086    months: 12,
3087    weeks: lr / 7,
3088    days: lr,
3089    hours: lr * 24,
3090    minutes: lr * 24 * 60,
3091    seconds: lr * 24 * 60 * 60,
3092    milliseconds: lr * 24 * 60 * 60 * 1e3
3093  },
3094  quarters: {
3095    months: 3,
3096    weeks: lr / 28,
3097    days: lr / 4,
3098    hours: lr * 24 / 4,
3099    minutes: lr * 24 * 60 / 4,
3100    seconds: lr * 24 * 60 * 60 / 4,
3101    milliseconds: lr * 24 * 60 * 60 * 1e3 / 4
3102  },
3103  months: {
3104    weeks: pl / 7,
3105    days: pl,
3106    hours: pl * 24,
3107    minutes: pl * 24 * 60,
3108    seconds: pl * 24 * 60 * 60,
3109    milliseconds: pl * 24 * 60 * 60 * 1e3
3110  },
3111  ...H8
3112}, so = [
3113  "years",
3114  "quarters",
3115  "months",
3116  "weeks",
3117  "days",
3118  "hours",
3119  "minutes",
3120  "seconds",
3121  "milliseconds"
3122], AO = so.slice(0).reverse();
3123function ma(e, t, r = !1) {
3124  const i = {
3125    values: r ? t.values : { ...e.values, ...t.values || {} },
3126    loc: e.loc.clone(t.loc),
3127    conversionAccuracy: t.conversionAccuracy || e.conversionAccuracy,
3128    matrix: t.matrix || e.matrix
3129  };
3130  return new Fe(i);
3131}
3132function V8(e, t) {
3133  let r = t.milliseconds ?? 0;
3134  for (const i of AO.slice(1))
3135    t[i] && (r += t[i] * e[i].milliseconds);
3136  return r;
3137}
3138function fS(e, t) {
3139  const r = V8(e, t) < 0 ? -1 : 1;
3140  so.reduceRight((i, l) => {
3141    if (Te(t[l]))
3142      return i;
3143    if (i) {
3144      const s = t[i] * r, f = e[l][i], h = Math.floor(s / f);
3145      t[l] += h * r, t[i] -= h * f * r;
3146    }
3147    return l;
3148  }, null), so.reduce((i, l) => {
3149    if (Te(t[l]))
3150      return i;
3151    if (i) {
3152      const s = t[i] % 1;
3153      t[i] -= s, t[l] += s * e[i][l];
3154    }
3155    return l;
3156  }, null);
3157}
3158function dS(e) {
3159  const t = {};
3160  for (const [r, i] of Object.entries(e))
3161    i !== 0 && (t[r] = i);
3162  return t;
3163}
3164class Fe {
3165  /**
3166   * @private
3167   */
3168  constructor(t) {
3169    const r = t.conversionAccuracy === "longterm" || !1;
3170    let i = r ? NO : OO;
3171    t.matrix && (i = t.matrix), this.values = t.values, this.loc = t.loc || Ke.create(), this.conversionAccuracy = r ? "longterm" : "casual", this.invalid = t.invalid || null, this.matrix = i, this.isLuxonDuration = !0;
3172  }
3173  /**
3174   * Create Duration from a number of milliseconds.
3175   * @param {number} count of milliseconds
3176   * @param {Object} opts - options for parsing
3177   * @param {string} [opts.locale='en-US'] - the locale to use
3178   * @param {string} opts.numberingSystem - the numbering system to use
3179   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
3180   * @return {Duration}
3181   */
3182  static fromMillis(t, r) {
3183    return Fe.fromObject({ milliseconds: t }, r);
3184  }
3185  /**
3186   * Create a Duration from a JavaScript object with keys like 'years' and 'hours'.
3187   * If this object is empty then a zero milliseconds duration is returned.
3188   * @param {Object} obj - the object to create the DateTime from
3189   * @param {number} obj.years
3190   * @param {number} obj.quarters
3191   * @param {number} obj.months
3192   * @param {number} obj.weeks
3193   * @param {number} obj.days
3194   * @param {number} obj.hours
3195   * @param {number} obj.minutes
3196   * @param {number} obj.seconds
3197   * @param {number} obj.milliseconds
3198   * @param {Object} [opts=[]] - options for creating this Duration
3199   * @param {string} [opts.locale='en-US'] - the locale to use
3200   * @param {string} opts.numberingSystem - the numbering system to use
3201   * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
3202   * @param {string} [opts.matrix=Object] - the custom conversion system to use
3203   * @return {Duration}
3204   */
3205  static fromObject(t, r = {}) {
3206    if (t == null || typeof t != "object")
3207      throw new cn(
3208        `Duration.fromObject: argument expected to be an object, got ${t === null ? "null" : typeof t}`
3209      );
3210    return new Fe({
3211      values: Qd(t, Fe.normalizeUnit),
3212      loc: Ke.fromObject(r),
3213      conversionAccuracy: r.conversionAccuracy,
3214      matrix: r.matrix
3215    });
3216  }
3217  /**
3218   * Create a Duration from DurationLike.
3219   *
3220   * @param {Object | number | Duration} durationLike
3221   * One of:
3222   * - object with keys like 'years' and 'hours'.
3223   * - number representing milliseconds
3224   * - Duration instance
3225   * @return {Duration}
3226   */
3227  static fromDurationLike(t) {
3228    if (pi(t))
3229      return Fe.fromMillis(t);
3230    if (Fe.isDuration(t))
3231      return t;
3232    if (typeof t == "object")
3233      return Fe.fromObject(t);
3234    throw new cn(
3235      `Unknown duration argument ${t} of type ${typeof t}`
3236    );
3237  }
3238  /**
3239   * Create a Duration from an ISO 8601 duration string.
3240   * @param {string} text - text to parse
3241   * @param {Object} opts - options for parsing
3242   * @param {string} [opts.locale='en-US'] - the locale to use
3243   * @param {string} opts.numberingSystem - the numbering system to use
3244   * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
3245   * @param {string} [opts.matrix=Object] - the preset conversion system to use
3246   * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
3247   * @example Duration.fromISO('P3Y6M1W4DT12H30M5S').toObject() //=> { years: 3, months: 6, weeks: 1, days: 4, hours: 12, minutes: 30, seconds: 5 }
3248   * @example Duration.fromISO('PT23H').toObject() //=> { hours: 23 }
3249   * @example Duration.fromISO('P5Y3M').toObject() //=> { years: 5, months: 3 }
3250   * @return {Duration}
3251   */
3252  static fromISO(t, r) {
3253    const [i] = bO(t);
3254    return i ? Fe.fromObject(i, r) : Fe.invalid("unparsable", `the input "${t}" can't be parsed as ISO 8601`);
3255  }
3256  /**
3257   * Create a Duration from an ISO 8601 time string.
3258   * @param {string} text - text to parse
3259   * @param {Object} opts - options for parsing
3260   * @param {string} [opts.locale='en-US'] - the locale to use
3261   * @param {string} opts.numberingSystem - the numbering system to use
3262   * @param {string} [opts.conversionAccuracy='casual'] - the preset conversion system to use
3263   * @param {string} [opts.matrix=Object] - the conversion system to use
3264   * @see https://en.wikipedia.org/wiki/ISO_8601#Times
3265   * @example Duration.fromISOTime('11:22:33.444').toObject() //=> { hours: 11, minutes: 22, seconds: 33, milliseconds: 444 }
3266   * @example Duration.fromISOTime('11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
3267   * @example Duration.fromISOTime('T11:00').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
3268   * @example Duration.fromISOTime('1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
3269   * @example Duration.fromISOTime('T1100').toObject() //=> { hours: 11, minutes: 0, seconds: 0 }
3270   * @return {Duration}
3271   */
3272  static fromISOTime(t, r) {
3273    const [i] = $O(t);
3274    return i ? Fe.fromObject(i, r) : Fe.invalid("unparsable", `the input "${t}" can't be parsed as ISO 8601`);
3275  }
3276  /**
3277   * Create an invalid Duration.
3278   * @param {string} reason - simple string of why this datetime is invalid. Should not contain parameters or anything else data-dependent
3279   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
3280   * @return {Duration}
3281   */
3282  static invalid(t, r = null) {
3283    if (!t)
3284      throw new cn("need to specify a reason the Duration is invalid");
3285    const i = t instanceof Or ? t : new Or(t, r);
3286    if ($t.throwOnInvalid)
3287      throw new e7(i);
3288    return new Fe({ invalid: i });
3289  }
3290  /**
3291   * @private
3292   */
3293  static normalizeUnit(t) {
3294    const r = {
3295      year: "years",
3296      years: "years",
3297      quarter: "quarters",
3298      quarters: "quarters",
3299      month: "months",
3300      months: "months",
3301      week: "weeks",
3302      weeks: "weeks",
3303      day: "days",
3304      days: "days",
3305      hour: "hours",
3306      hours: "hours",
3307      minute: "minutes",
3308      minutes: "minutes",
3309      second: "seconds",
3310      seconds: "seconds",
3311      millisecond: "milliseconds",
3312      milliseconds: "milliseconds"
3313    }[t && t.toLowerCase()];
3314    if (!r) throw new X9(t);
3315    return r;
3316  }
3317  /**
3318   * Check if an object is a Duration. Works across context boundaries
3319   * @param {object} o
3320   * @return {boolean}
3321   */
3322  static isDuration(t) {
3323    return t && t.isLuxonDuration || !1;
3324  }
3325  /**
3326   * Get  the locale of a Duration, such 'en-GB'
3327   * @type {string}
3328   */
3329  get locale() {
3330    return this.isValid ? this.loc.locale : null;
3331  }
3332  /**
3333   * Get the numbering system of a Duration, such 'beng'. The numbering system is used when formatting the Duration
3334   *
3335   * @type {string}
3336   */
3337  get numberingSystem() {
3338    return this.isValid ? this.loc.numberingSystem : null;
3339  }
3340  /**
3341   * Returns a string representation of this Duration formatted according to the specified format str
3341ing. You may use these tokens:
3342   * * `S` for milliseconds
3343   * * `s` for seconds
3344   * * `m` for minutes
3345   * * `h` for hours
3346   * * `d` for days
3347   * * `w` for weeks
3348   * * `M` for months
3349   * * `y` for years
3350   * Notes:
3351   * * Add padding by repeating the token, e.g. "yy" pads the years to two digits, "hhhh" pads the hours out to four digits
3352   * * Tokens can be escaped by wrapping with single quotes.
3353   * * The duration will be converted to the set of units in the format string using {@link Duration#shiftTo} and the Durations's conversion accuracy setting.
3354   * @param {string} fmt - the format string
3355   * @param {Object} opts - options
3356   * @param {boolean} [opts.floor=true] - floor numerical values
3357   * @param {'negative'|'all'|'negativeLargestOnly'} [opts.signMode=negative] - How to handle signs
3358   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("y d s") //=> "1 6 2"
3359   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("yy dd sss") //=> "01 06 002"
3360   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toFormat("M S") //=> "12 518402000"
3361   * @example Duration.fromObject({ days: 6, seconds: 2 }).toFormat("d s", { signMode: "all" }) //=> "+6 +2"
3362   * @example Duration.fromObject({ days: -6, seconds: -2 }).toFormat("d s", { signMode: "all" }) //=> "-6 -2"
3363   * @example Duration.fromObject({ days: -6, seconds: -2 }).toFormat("d s", { signMode: "negativeLargestOnly" }) //=> "-6 2"
3364   * @return {string}
3365   */
3366  toFormat(t, r = {}) {
3367    const i = {
3368      ...r,
3369      floor: r.round !== !1 && r.floor !== !1
3370    };
3371    return this.isValid ? wr.create(this.loc, i).formatDurationFromString(this, t) : cS;
3372  }
3373  /**
3374   * Returns a string representation of a Duration with all units included.
3375   * To modify its behavior, use `listStyle` and any Intl.NumberFormat option, though `unitDisplay` is especially relevant.
3376   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/NumberFormat/NumberFormat#options
3377   * @param {Object} opts - Formatting options. Accepts the same keys as the options parameter of the native `Intl.NumberFormat` constructor, as well as `listStyle`.
3378   * @param {string} [opts.listStyle='narrow'] - How to format the merged list. Corresponds to the `style` property of the options parameter of the native `Intl.ListFormat` constructor.
3379   * @param {boolean} [opts.showZeros=true] - Show all units previously used by the duration even if they are zero
3380   * @example
3381   * ```js
3382   * var dur = Duration.fromObject({ months: 1, weeks: 0, hours: 5, minutes: 6 })
3383   * dur.toHuman() //=> '1 month, 0 weeks, 5 hours, 6 minutes'
3384   * dur.toHuman({ listStyle: "long" }) //=> '1 month, 0 weeks, 5 hours, and 6 minutes'
3385   * dur.toHuman({ unitDisplay: "short" }) //=> '1 mth, 0 wks, 5 hr, 6 min'
3386   * dur.toHuman({ showZeros: false }) //=> '1 month, 5 hours, 6 minutes'
3387   * ```
3388   */
3389  toHuman(t = {}) {
3390    if (!this.isValid) return cS;
3391    const r = t.showZeros !== !1, i = so.map((l) => {
3392      const s = this.values[l];
3393      return Te(s) || s === 0 && !r ? null : this.loc.numberFormatter({ style: "unit", unitDisplay: "long", ...t, unit: l.slice(0, -1) }).format(s);
3394    }).filter((l) => l);
3395    return this.loc.listFormatter({ type: "conjunction", style: t.listStyle || "narrow", ...t }).format(i);
3396  }
3397  /**
3398   * Returns a JavaScript object with this Duration's values.
3399   * @example Duration.fromObject({ years: 1, days: 6, seconds: 2 }).toObject() //=> { years: 1, days: 6, seconds: 2 }
3400   * @return {Object}
3401   */
3402  toObject() {
3403    return this.isValid ? { ...this.values } : {};
3404  }
3405  /**
3406   * Returns an ISO 8601-compliant string representation of this Duration.
3407   * @see https://en.wikipedia.org/wiki/ISO_8601#Durations
3408   * @example Duration.fromObject({ years: 3, seconds: 45 }).toISO() //=> 'P3YT45S'
3409   * @example Duration.fromObject({ months: 4, seconds: 45 }).toISO() //=> 'P4MT45S'
3410   * @example Duration.fromObject({ months: 5 }).toISO() //=> 'P5M'
3411   * @example Duration.fromObject({ minutes: 5 }).toISO() //=> 'PT5M'
3412   * @example Duration.fromObject({ milliseconds: 6 }).toISO() //=> 'PT0.006S'
3413   * @return {string}
3414   */
3415  toISO() {
3416    if (!this.isValid) return null;
3417    let t = "P";
3418    return this.years !== 0 && (t += this.years + "Y"), (this.months !== 0 || this.quarters !== 0) && (t += this.months + this.quarters * 3 + "M"), this.weeks !== 0 && (t += this.weeks + "W"), this.days !== 0 && (t += this.days + "D"), (this.hours !== 0 || this.minutes !== 0 || this.seconds !== 0 || this.milliseconds !== 0) && (t += "T"), this.hours !== 0 && (t += this.hours + "H"), this.minutes !== 0 && (t += this.minutes + "M"), (this.seconds !== 0 || this.milliseconds !== 0) && (t += qp(this.seconds + this.milliseconds / 1e3, 3) + "S"), t === "P" && (t += "T0S"), t;
3419  }
3420  /**
3421   * Returns an ISO 8601-compliant string representation of this Duration, formatted as a time of day.
3422   * Note that this will return null if the duration is invalid, negative, or equal to or greater than 24 hours.
3423   * @see https://en.wikipedia.org/wiki/ISO_8601#Times
3424   * @param {Object} opts - options
3425   * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
3426   * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
3427   * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
3428   * @param {string} [opts.format='extended'] - choose between the basic and extended format
3429   * @example Duration.fromObject({ hours: 11 }).toISOTime() //=> '11:00:00.000'
3430   * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressMilliseconds: true }) //=> '11:00:00'
3431   * @example Duration.fromObject({ hours: 11 }).toISOTime({ suppressSeconds: true }) //=> '11:00'
3432   * @example Duration.fromObject({ hours: 11 }).toISOTime({ includePrefix: true }) //=> 'T11:00:00.000'
3433   * @example Duration.fromObject({ hours: 11 }).toISOTime({ format: 'basic' }) //=> '110000.000'
3434   * @return {string}
3435   */
3436  toISOTime(t = {}) {
3437    if (!this.isValid) return null;
3438    const r = this.toMillis();
3439    return r < 0 || r >= 864e5 ? null : (t = {
3440      suppressMilliseconds: !1,
3441      suppressSeconds: !1,
3442      includePrefix: !1,
3443      format: "extended",
3444      ...t,
3445      includeOffset: !1
3446    }, ye.fromMillis(r, { zone: "UTC" }).toISOTime(t));
3447  }
3448  /**
3449   * Returns an ISO 8601 representation of this Duration appropriate for use in JSON.
3450   * @return {string}
3451   */
3452  toJSON() {
3453    return this.toISO();
3454  }
3455  /**
3456   * Returns an ISO 8601 representation of this Duration appropriate for use in debugging.
3457   * @return {string}
3458   */
3459  toString() {
3460    return this.toISO();
3461  }
3462  /**
3463   * Returns a string representation of this Duration appropriate for the REPL.
3464   * @return {string}
3465   */
3466  [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
3467    return this.isValid ? `Duration { values: ${JSON.stringify(this.values)} }` : `Duration { Invalid, reason: ${this.invalidReason} }`;
3468  }
3469  /**
3470   * Returns an milliseconds value of this Duration.
3471   * @return {number}
3472   */
3473  toMillis() {
3474    return this.isValid ? V8(this.matrix, this.values) : NaN;
3475  }
3476  /**
3477   * Returns an milliseconds value of this Duration. Alias of {@link toMillis}
3478   * @return {number}
3479   */
3480  valueOf() {
3481    return this.toMillis();
3482  }
3483  /**
3484   * Make this Duration longer by the specified amount. Return a newly-constructed Duration.
3485   * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
3486   * @return {Duration}
3487   */
3488  plus(t) {
3489    if (!this.isValid) return this;
3490    const r = Fe.fromDurationLike(t), i = {};
3491    for (const l of so)
3492      (Gl(r.values, l) || Gl(this.values, l)) && (i[l] = r.get(l) + this.get(l));
3493    return ma(this, { values: i }, !0);
3494  }
3495  /**
3496   * Make this Duration shorter by the specified amount. Return a newly-constructed Duration.
3497   * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
3498   * @return {Duration}
3499   */
3500  minus(t) {
3501    if (!this.isValid) return this;
3502    const r = Fe.fromDurationLike(t);
3503    return this.plus(r.negate());
3504  }
3505  /**
3506   * Scale this Duration by the specified amount. Return a newly-constructed Duration.
3507   * @param {function} fn - The function to apply to each unit. Arity is 1 or 2: the value of the unit and, optionally, the unit name. Must return a number.
3508   * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits(x => x * 2) //=> { hours: 2, minutes: 60 }
3509   * @example Duration.fromObject({ hours: 1, minutes: 30 }).mapUnits((x, u) => u === "hours" ? x * 2 : x) //=> { hours: 2, minutes: 30 }
3510   * @return {Duration}
3511   */
3512  mapUnits(t) {
3513    if (!this.isValid) return this;
3514    const r = {};
3515    for (const i of Object.keys(this.values))
3516      r[i] = A8(t(this.values[i], i));
3517    return ma(this, { values: r }, !0);
3518  }
3519  /**
3520   * Get the value of unit.
3521   * @param {string} unit - a unit such as 'minute' or 'day'
3522   * @example Duration.fromObject({years: 2, days: 3}).get('years') //=> 2
3523   * @example Duration.fromObject({years: 2, days: 3}).get('months') //=> 0
3524   * @example Duration.fromObject({years: 2, days: 3}).get('days') //=> 3
3525   * @return {number}
3526   */
3527  get(t) {
3528    return this[Fe.normalizeUnit(t)];
3529  }
3530  /**
3531   * "Set" the values of specified units. Return a newly-constructed Duration.
3532   * @param {Object} values - a mapping of units to numbers
3533   * @example dur.set({ years: 2017 })
3534   * @example dur.set({ hours: 8, minutes: 30 })
3535   * @return {Duration}
3536   */
3537  set(t) {
3538    if (!this.isValid) return this;
3539    const r = { ...this.values, ...Qd(t, Fe.normalizeUnit) };
3540    return ma(this, { values: r });
3541  }
3542  /**
3543   * "Set" the locale and/or numberingSystem.  Returns a newly-constructed Duration.
3544   * @example dur.reconfigure({ locale: 'en-GB' })
3545   * @return {Duration}
3546   */
3547  reconfigure({ locale: t, numberingSystem: r, conversionAccuracy: i, matrix: l } = {}) {
3548    const f = { loc: this.loc.clone({ locale: t, numberingSystem: r }), matrix: l, conversionAccuracy: i };
3549    return ma(this, f);
3550  }
3551  /**
3552   * Return the length of the duration in the specified unit.
3553   * @param {string} unit - a unit such as 'minutes' or 'days'
3554   * @example Duration.fromObject({years: 1}).as('days') //=> 365
3555   * @example Duration.fromObject({years: 1}).as('months') //=> 12
3556   * @example Duration.fromObject({hours: 60}).as('days') //=> 2.5
3557   * @return {number}
3558   */
3559  as(t) {
3560    return this.isValid ? this.shiftTo(t).get(t) : NaN;
3561  }
3562  /**
3563   * Reduce this Duration to its canonical representation in its current units.
3564   * Assuming the overall value of the Duration is positive, this means:
3565   * - excessive values for lower-order units are converted to higher-order units (if possible, see first and second example)
3566   * - negative lower-order units are converted to higher order units (there must be such a higher order unit, otherwise
3567   *   the overall value would be negative, see third example)
3568   * - fractional values for higher-order units are converted to lower-order units (if possible, see fourth example)
3569   *
3570   * If the overall value is negative, the result of this method is equivalent to `this.negate().normalize().negate()`.
3571   * @example Duration.fromObject({ years: 2, days: 5000 }).normalize().toObject() //=> { years: 15, days: 255 }
3572   * @example Duration.fromObject({ days: 5000 }).normalize().toObject() //=> { days: 5000 }
3573   * @example Duration.fromObject({ hours: 12, minutes: -45 }).normalize().toObject() //=> { hours: 11, minutes: 15 }
3574   * @example Duration.fromObject({ years: 2.5, days: 0, hours: 0 }).normalize().toObject() //=> { years: 2, days: 182, hours: 12 }
3575   * @return {Duration}
3576   */
3577  normalize() {
3578    if (!this.isValid) return this;
3579    const t = this.toObject();
3580    return fS(this.matrix, t), ma(this, { values: t }, !0);
3581  }
3582  /**
3583   * Rescale units to its largest representation
3584   * @example Duration.fromObject({ milliseconds: 90000 }).rescale().toObject() //=> { minutes: 1, seconds: 30 }
3585   * @return {Duration}
3586   */
3587  rescale() {
3588    if (!this.isValid) return this;
3589    const t = dS(this.normalize().shiftToAll().toObject());
3590    return ma(this, { values: t }, !0);
3591  }
3592  /**
3593   * Convert this Duration into its representation in a different set of units.
3594   * @example Duration.fromObject({ hours: 1, seconds: 30 }).shiftTo('minutes', 'milliseconds').toObject() //=> { minutes: 60, milliseconds: 30000 }
3595   * @return {Duration}
3596   */
3597  shiftTo(...t) {
3598    if (!this.isValid) return this;
3599    if (t.length === 0)
3600      return this;
3601    t = t.map((f) => Fe.normalizeUnit(f));
3602    const r = {}, i = {}, l = this.toObject();
3603    let s;
3604    for (const f of so)
3605      if (t.indexOf(f) >= 0) {
3606        s = f;
3607        let h = 0;
3608        for (const g in i)
3609          h += this.matrix[g][f] * i[g], i[g] = 0;
3610        pi(l[f]) && (h += l[f]);
3611        const m = Math.trunc(h);
3612        r[f] = m, i[f] = (h * 1e3 - m * 1e3) / 1e3;
3613      } else pi(l[f]) && (i[f] = l[f]);
3614    for (const f in i)
3615      i[f] !== 0 && (r[s] += f === s ? i[f] : i[f] / this.matrix[s][f]);
3616    return fS(this.matrix, r), ma(this, { values: r }, !0);
3617  }
3618  /**
3619   * Shift this Duration to all available units.
3620   * Same as shiftTo("years", "months", "weeks", "days", "hours", "minutes", "seconds", "milliseconds")
3621   * @return {Duration}
3622   */
3623  shiftToAll() {
3624    return this.isValid ? this.shiftTo(
vendor: 51,189 bytes, lines 3625-5084
3625      "years",
3626      "months",
3627      "weeks",
3628      "days",
3629      "hours",
3630      "minutes",
3631      "seconds",
3632      "milliseconds"
3633    ) : this;
3634  }
3635  /**
3636   * Return the negative of this Duration.
3637   * @example Duration.fromObject({ hours: 1, seconds: 30 }).negate().toObject() //=> { hours: -1, seconds: -30 }
3638   * @return {Duration}
3639   */
3640  negate() {
3641    if (!this.isValid) return this;
3642    const t = {};
3643    for (const r of Object.keys(this.values))
3644      t[r] = this.values[r] === 0 ? 0 : -this.values[r];
3645    return ma(this, { values: t }, !0);
3646  }
3647  /**
3648   * Removes all units with values equal to 0 from this Duration.
3649   * @example Duration.fromObject({ years: 2, days: 0, hours: 0, minutes: 0 }).removeZeros().toObject() //=> { years: 2 }
3650   * @return {Duration}
3651   */
3652  removeZeros() {
3653    if (!this.isValid) return this;
3654    const t = dS(this.values);
3655    return ma(this, { values: t }, !0);
3656  }
3657  /**
3658   * Get the years.
3659   * @type {number}
3660   */
3661  get years() {
3662    return this.isValid ? this.values.years || 0 : NaN;
3663  }
3664  /**
3665   * Get the quarters.
3666   * @type {number}
3667   */
3668  get quarters() {
3669    return this.isValid ? this.values.quarters || 0 : NaN;
3670  }
3671  /**
3672   * Get the months.
3673   * @type {number}
3674   */
3675  get months() {
3676    return this.isValid ? this.values.months || 0 : NaN;
3677  }
3678  /**
3679   * Get the weeks
3680   * @type {number}
3681   */
3682  get weeks() {
3683    return this.isValid ? this.values.weeks || 0 : NaN;
3684  }
3685  /**
3686   * Get the days.
3687   * @type {number}
3688   */
3689  get days() {
3690    return this.isValid ? this.values.days || 0 : NaN;
3691  }
3692  /**
3693   * Get the hours.
3694   * @type {number}
3695   */
3696  get hours() {
3697    return this.isValid ? this.values.hours || 0 : NaN;
3698  }
3699  /**
3700   * Get the minutes.
3701   * @type {number}
3702   */
3703  get minutes() {
3704    return this.isValid ? this.values.minutes || 0 : NaN;
3705  }
3706  /**
3707   * Get the seconds.
3708   * @return {number}
3709   */
3710  get seconds() {
3711    return this.isValid ? this.values.seconds || 0 : NaN;
3712  }
3713  /**
3714   * Get the milliseconds.
3715   * @return {number}
3716   */
3717  get milliseconds() {
3718    return this.isValid ? this.values.milliseconds || 0 : NaN;
3719  }
3720  /**
3721   * Returns whether the Duration is invalid. Invalid durations are returned by diff operations
3722   * on invalid DateTimes or Intervals.
3723   * @return {boolean}
3724   */
3725  get isValid() {
3726    return this.invalid === null;
3727  }
3728  /**
3729   * Returns an error code if this Duration became invalid, or null if the Duration is valid
3730   * @return {string}
3731   */
3732  get invalidReason() {
3733    return this.invalid ? this.invalid.reason : null;
3734  }
3735  /**
3736   * Returns an explanation of why this Duration became invalid, or null if the Duration is valid
3737   * @type {string}
3738   */
3739  get invalidExplanation() {
3740    return this.invalid ? this.invalid.explanation : null;
3741  }
3742  /**
3743   * Equality check
3744   * Two Durations are equal iff they have the same units and the same values for each unit.
3745   * @param {Duration} other
3746   * @return {boolean}
3747   */
3748  equals(t) {
3749    if (!this.isValid || !t.isValid || !this.loc.equals(t.loc))
3750      return !1;
3751    function r(i, l) {
3752      return i === void 0 || i === 0 ? l === void 0 || l === 0 : i === l;
3753    }
3754    for (const i of so)
3755      if (!r(this.values[i], t.values[i]))
3756        return !1;
3757    return !0;
3758  }
3759}
3760const yl = "Invalid Interval";
3761function _O(e, t) {
3762  return !e || !e.isValid ? St.invalid("missing or invalid start") : !t || !t.isValid ? St.invalid("missing or invalid end") : t < e ? St.invalid(
3763    "end before start",
3764    `The end of an interval must be after its start, but you had start=${e.toISO()} and end=${t.toISO()}`
3765  ) : null;
3766}
3767class St {
3768  /**
3769   * @private
3770   */
3771  constructor(t) {
3772    this.s = t.start, this.e = t.end, this.invalid = t.invalid || null, this.isLuxonInterval = !0;
3773  }
3774  /**
3775   * Create an invalid Interval.
3776   * @param {string} reason - simple string of why this Interval is invalid. Should not contain parameters or anything else data-dependent
3777   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
3778   * @return {Interval}
3779   */
3780  static invalid(t, r = null) {
3781    if (!t)
3782      throw new cn("need to specify a reason the Interval is invalid");
3783    const i = t instanceof Or ? t : new Or(t, r);
3784    if ($t.throwOnInvalid)
3785      throw new Jw(i);
3786    return new St({ invalid: i });
3787  }
3788  /**
3789   * Create an Interval from a start DateTime and an end DateTime. Inclusive of the start but not the end.
3790   * @param {DateTime|Date|Object} start
3791   * @param {DateTime|Date|Object} end
3792   * @return {Interval}
3793   */
3794  static fromDateTimes(t, r) {
3795    const i = ss(t), l = ss(r), s = _O(i, l);
3796    return s ?? new St({
3797      start: i,
3798      end: l
3799    });
3800  }
3801  /**
3802   * Create an Interval from a start DateTime and a Duration to extend to.
3803   * @param {DateTime|Date|Object} start
3804   * @param {Duration|Object|number} duration - the length of the Interval.
3805   * @return {Interval}
3806   */
3807  static after(t, r) {
3808    const i = Fe.fromDurationLike(r), l = ss(t);
3809    return St.fromDateTimes(l, l.plus(i));
3810  }
3811  /**
3812   * Create an Interval from an end DateTime and a Duration to extend backwards to.
3813   * @param {DateTime|Date|Object} end
3814   * @param {Duration|Object|number} duration - the length of the Interval.
3815   * @return {Interval}
3816   */
3817  static before(t, r) {
3818    const i = Fe.fromDurationLike(r), l = ss(t);
3819    return St.fromDateTimes(l.minus(i), l);
3820  }
3821  /**
3822   * Create an Interval from an ISO 8601 string.
3823   * Accepts `<start>/<end>`, `<start>/<duration>`, and `<duration>/<end>` formats.
3824   * @param {string} text - the ISO string to parse
3825   * @param {Object} [opts] - options to pass {@link DateTime#fromISO} and optionally {@link Duration#fromISO}
3826   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
3827   * @return {Interval}
3828   */
3829  static fromISO(t, r) {
3830    const [i, l] = (t || "").split("/", 2);
3831    if (i && l) {
3832      let s, f;
3833      try {
3834        s = ye.fromISO(i, r), f = s.isValid;
3835      } catch {
3836        f = !1;
3837      }
3838      let h, m;
3839      try {
3840        h = ye.fromISO(l, r), m = h.isValid;
3841      } catch {
3842        m = !1;
3843      }
3844      if (f && m)
3845        return St.fromDateTimes(s, h);
3846      if (f) {
3847        const g = Fe.fromISO(l, r);
3848        if (g.isValid)
3849          return St.after(s, g);
3850      } else if (m) {
3851        const g = Fe.fromISO(i, r);
3852        if (g.isValid)
3853          return St.before(h, g);
3854      }
3855    }
3856    return St.invalid("unparsable", `the input "${t}" can't be parsed as ISO 8601`);
3857  }
3858  /**
3859   * Check if an object is an Interval. Works across context boundaries
3860   * @param {object} o
3861   * @return {boolean}
3862   */
3863  static isInterval(t) {
3864    return t && t.isLuxonInterval || !1;
3865  }
3866  /**
3867   * Returns the start of the Interval
3868   * @type {DateTime}
3869   */
3870  get start() {
3871    return this.isValid ? this.s : null;
3872  }
3873  /**
3874   * Returns the end of the Interval. This is the first instant which is not part of the interval
3875   * (Interval is half-open).
3876   * @type {DateTime}
3877   */
3878  get end() {
3879    return this.isValid ? this.e : null;
3880  }
3881  /**
3882   * Returns the last DateTime included in the interval (since end is not part of the interval)
3883   * @type {DateTime}
3884   */
3885  get lastDateTime() {
3886    return this.isValid && this.e ? this.e.minus(1) : null;
3887  }
3888  /**
3889   * Returns whether this Interval's end is at least its start, meaning that the Interval isn't 'backwards'.
3890   * @type {boolean}
3891   */
3892  get isValid() {
3893    return this.invalidReason === null;
3894  }
3895  /**
3896   * Returns an error code if this Interval is invalid, or null if the Interval is valid
3897   * @type {string}
3898   */
3899  get invalidReason() {
3900    return this.invalid ? this.invalid.reason : null;
3901  }
3902  /**
3903   * Returns an explanation of why this Interval became invalid, or null if the Interval is valid
3904   * @type {string}
3905   */
3906  get invalidExplanation() {
3907    return this.invalid ? this.invalid.explanation : null;
3908  }
3909  /**
3910   * Returns the length of the Interval in the specified unit.
3911   * @param {string} unit - the unit (such as 'hours' or 'days') to return the length in.
3912   * @return {number}
3913   */
3914  length(t = "milliseconds") {
3915    return this.isValid ? this.toDuration(t).get(t) : NaN;
3916  }
3917  /**
3918   * Returns the count of minutes, hours, days, months, or years included in the Interval, even in part.
3919   * Unlike {@link Interval#length} this counts sections of the calendar, not periods of time, e.g. specifying 'day'
3920   * asks 'what dates are included in this interval?', not 'how many days long is this interval?'
3921   * @param {string} [unit='milliseconds'] - the unit of time to count.
3922   * @param {Object} opts - options
3923   * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; this operation will always use the locale of the start DateTime
3924   * @return {number}
3925   */
3926  count(t = "milliseconds", r) {
3927    if (!this.isValid) return NaN;
3928    const i = this.start.startOf(t, r);
3929    let l;
3930    return r?.useLocaleWeeks ? l = this.end.reconfigure({ locale: i.locale }) : l = this.end, l = l.startOf(t, r), Math.floor(l.diff(i, t).get(t)) + (l.valueOf() !== this.end.valueOf());
3931  }
3932  /**
3933   * Returns whether this Interval's start and end are both in the same unit of time
3934   * @param {string} unit - the unit of time to check sameness on
3935   * @return {boolean}
3936   */
3937  hasSame(t) {
3938    return this.isValid ? this.isEmpty() || this.e.minus(1).hasSame(this.s, t) : !1;
3939  }
3940  /**
3941   * Return whether this Interval has the same start and end DateTimes.
3942   * @return {boolean}
3943   */
3944  isEmpty() {
3945    return this.s.valueOf() === this.e.valueOf();
3946  }
3947  /**
3948   * Return whether this Interval's start is after the specified DateTime.
3949   * @param {DateTime} dateTime
3950   * @return {boolean}
3951   */
3952  isAfter(t) {
3953    return this.isValid ? this.s > t : !1;
3954  }
3955  /**
3956   * Return whether this Interval's end is before the specified DateTime.
3957   * @param {DateTime} dateTime
3958   * @return {boolean}
3959   */
3960  isBefore(t) {
3961    return this.isValid ? this.e <= t : !1;
3962  }
3963  /**
3964   * Return whether this Interval contains the specified DateTime.
3965   * @param {DateTime} dateTime
3966   * @return {boolean}
3967   */
3968  contains(t) {
3969    return this.isValid ? this.s <= t && this.e > t : !1;
3970  }
3971  /**
3972   * "Sets" the start and/or end dates. Returns a newly-constructed Interval.
3973   * @param {Object} values - the values to set
3974   * @param {DateTime} values.start - the starting DateTime
3975   * @param {DateTime} values.end - the ending DateTime
3976   * @return {Interval}
3977   */
3978  set({ start: t, end: r } = {}) {
3979    return this.isValid ? St.fromDateTimes(t || this.s, r || this.e) : this;
3980  }
3981  /**
3982   * Split this Interval at each of the specified DateTimes
3983   * @param {...DateTime} dateTimes - the unit of time to count.
3984   * @return {Array}
3985   */
3986  splitAt(...t) {
3987    if (!this.isValid) return [];
3988    const r = t.map(ss).filter((f) => this.contains(f)).sort((f, h) => f.toMillis() - h.toMillis()), i = [];
3989    let { s: l } = this, s = 0;
3990    for (; l < this.e; ) {
3991      const f = r[s] || this.e, h = +f > +this.e ? this.e : f;
3992      i.push(St.fromDateTimes(l, h)), l = h, s += 1;
3993    }
3994    return i;
3995  }
3996  /**
3997   * Split this Interval into smaller Intervals, each of the specified length.
3998   * Left over time is grouped into a smaller interval
3999   * @param {Duration|Object|number} duration - The length of each resulting interval.
4000   * @return {Array}
4001   */
4002  splitBy(t) {
4003    const r = Fe.fromDurationLike(t);
4004    if (!this.isValid || !r.isValid || r.as("milliseconds") === 0)
4005      return [];
4006    let { s: i } = this, l = 1, s;
4007    const f = [];
4008    for (; i < this.e; ) {
4009      const h = this.start.plus(r.mapUnits((m) => m * l));
4010      s = +h > +this.e ? this.e : h, f.push(St.fromDateTimes(i, s)), i = s, l += 1;
4011    }
4012    return f;
4013  }
4014  /**
4015   * Split this Interval into the specified number of smaller intervals.
4016   * @param {number} numberOfParts - The number of Intervals to divide the Interval into.
4017   * @return {Array}
4018   */
4019  divideEqually(t) {
4020    return this.isValid ? this.splitBy(this.length() / t).slice(0, t) : [];
4021  }
4022  /**
4023   * Return whether this Interval overlaps with the specified Interval
4024   * @param {Interval} other
4025   * @return {boolean}
4026   */
4027  overlaps(t) {
4028    return this.e > t.s && this.s < t.e;
4029  }
4030  /**
4031   * Return whether this Interval's end is adjacent to the specified Interval's start.
4032   * @param {Interval} other
4033   * @return {boolean}
4034   */
4035  abutsStart(t) {
4036    return this.isValid ? +this.e == +t.s : !1;
4037  }
4038  /**
4039   * Return whether this Interval's start is adjacent to the specified Interval's end.
4040   * @param {Interval} other
4041   * @return {boolean}
4042   */
4043  abutsEnd(t) {
4044    return this.isValid ? +t.e == +this.s : !1;
4045  }
4046  /**
4047   * Returns true if this Interval fully contains the specified Interval, specifically if the intersect (of this Interval and the other Interval) is equal to the other Interval; false otherwise.
4048   * @param {Interval} other
4049   * @return {boolean}
4050   */
4051  engulfs(t) {
4052    return this.isValid ? this.s <= t.s && this.e >= t.e : !1;
4053  }
4054  /**
4055   * Return whether this Interval has the same start and end as the specified Interval.
4056   * @param {Interval} other
4057   * @return {boolean}
4058   */
4059  equals(t) {
4060    return !this.isValid || !t.isValid ? !1 : this.s.equals(t.s) && this.e.equals(t.e);
4061  }
4062  /**
4063   * Return an Interval representing the intersection of this Interval and the specified Interval.
4064   * Specifically, the resulting Interval has the maximum start time and the minimum end time of the two Intervals.
4065   * Returns null if the intersection is empty, meaning, the intervals don't intersect.
4066   * @param {Interval} other
4067   * @return {Interval}
4068   */
4069  intersection(t) {
4070    if (!this.isValid) return this;
4071    const r = this.s > t.s ? this.s : t.s, i = this.e < t.e ? this.e : t.e;
4072    return r >= i ? null : St.fromDateTimes(r, i);
4073  }
4074  /**
4075   * Return an Interval representing the union of this Interval and the specified Interval.
4076   * Specifically, the resulting Interval has the minimum start time and the maximum end time of the two Intervals.
4077   * @param {Interval} other
4078   * @return {Interval}
4079   */
4080  union(t) {
4081    if (!this.isValid) return this;
4082    const r = this.s < t.s ? this.s : t.s, i = this.e > t.e ? this.e : t.e;
4083    return St.fromDateTimes(r, i);
4084  }
4085  /**
4086   * Merge an array of Intervals into an equivalent minimal set of Intervals.
4087   * Combines overlapping and adjacent Intervals.
4088   * The resulting array will contain the Intervals in ascending order, that is, starting with the earliest Interval
4089   * and ending with the latest.
4090   *
4091   * @param {Array} intervals
4092   * @return {Array}
4093   */
4094  static merge(t) {
4095    const [r, i] = t.sort((l, s) => l.s - s.s).reduce(
4096      ([l, s], f) => s ? s.overlaps(f) || s.abutsStart(f) ? [l, s.union(f)] : [l.concat([s]), f] : [l, f],
4097      [[], null]
4098    );
4099    return i && r.push(i), r;
4100  }
4101  /**
4102   * Return an array of Intervals representing the spans of time that only appear in one of the specified Intervals.
4103   * @param {Array} intervals
4104   * @return {Array}
4105   */
4106  static xor(t) {
4107    let r = null, i = 0;
4108    const l = [], s = t.map((m) => [
4109      { time: m.s, type: "s" },
4110      { time: m.e, type: "e" }
4111    ]), f = Array.prototype.concat(...s), h = f.sort((m, g) => m.time - g.time);
4112    for (const m of h)
4113      i += m.type === "s" ? 1 : -1, i === 1 ? r = m.time : (r && +r != +m.time && l.push(St.fromDateTimes(r, m.time)), r = null);
4114    return St.merge(l);
4115  }
4116  /**
4117   * Return an Interval representing the span of time in this Interval that doesn't overlap with any of the specified Intervals.
4118   * @param {...Interval} intervals
4119   * @return {Array}
4120   */
4121  difference(...t) {
4122    return St.xor([this].concat(t)).map((r) => this.intersection(r)).filter((r) => r && !r.isEmpty());
4123  }
4124  /**
4125   * Returns a string representation of this Interval appropriate for debugging.
4126   * @return {string}
4127   */
4128  toString() {
4129    return this.isValid ? `[${this.s.toISO()} – ${this.e.toISO()})` : yl;
4130  }
4131  /**
4132   * Returns a string representation of this Interval appropriate for the REPL.
4133   * @return {string}
4134   */
4135  [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
4136    return this.isValid ? `Interval { start: ${this.s.toISO()}, end: ${this.e.toISO()} }` : `Interval { Invalid, reason: ${this.invalidReason} }`;
4137  }
4138  /**
4139   * Returns a localized string representing this Interval. Accepts the same options as the
4140   * Intl.DateTimeFormat constructor and any presets defined by Luxon, such as
4141   * {@link DateTime.DATE_FULL} or {@link DateTime.TIME_SIMPLE}. The exact behavior of this method
4142   * is browser-specific, but in general it will return an appropriate representation of the
4143   * Interval in the assigned locale. Defaults to the system's locale if no locale has been
4144   * specified.
4145   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
4146   * @param {Object} [formatOpts=DateTime.DATE_SHORT] - Either a DateTime preset or
4147   * Intl.DateTimeFormat constructor options.
4148   * @param {Object} opts - Options to override the configuration of the start DateTime.
4149   * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(); //=> 11/7/2022 – 11/8/2022
4150   * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL); //=> November 7 – 8, 2022
4151   * @example Interval.fromISO('2022-11-07T09:00Z/2022-11-08T09:00Z').toLocaleString(DateTime.DATE_FULL, { locale: 'fr-FR' }); //=> 7–8 novembre 2022
4152   * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString(DateTime.TIME_SIMPLE); //=> 6:00 – 8:00 PM
4153   * @example Interval.fromISO('2022-11-07T17:00Z/2022-11-07T19:00Z').toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> Mon, Nov 07, 6:00 – 8:00 p
4154   * @return {string}
4155   */
4156  toLocaleString(t = Gd, r = {}) {
4157    return this.isValid ? wr.create(this.s.loc.clone(r), t).formatInterval(this) : yl;
4158  }
4159  /**
4160   * Returns an ISO 8601-compliant string representation of this Interval.
4161   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
4162   * @param {Object} opts - The same options as {@link DateTime#toISO}
4163   * @return {string}
4164   */
4165  toISO(t) {
4166    return this.isValid ? `${this.s.toISO(t)}/${this.e.toISO(t)}` : yl;
4167  }
4168  /**
4169   * Returns an ISO 8601-compliant string representation of date of this Interval.
4170   * The time components are ignored.
4171   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
4172   * @return {string}
4173   */
4174  toISODate() {
4175    return this.isValid ? `${this.s.toISODate()}/${this.e.toISODate()}` : yl;
4176  }
4177  /**
4178   * Returns an ISO 8601-compliant string representation of time of this Interval.
4179   * The date components are ignored.
4180   * @see https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
4181   * @param {Object} opts - The same options as {@link DateTime#toISO}
4182   * @return {string}
4183   */
4184  toISOTime(t) {
4185    return this.isValid ? `${this.s.toISOTime(t)}/${this.e.toISOTime(t)}` : yl;
4186  }
4187  /**
4188   * Returns a string representation of this Interval formatted according to the specified format
4189   * string. **You may not want this.** See {@link Interval#toLocaleString} for a more flexible
4190   * formatting tool.
4191   * @param {string} dateFormat - The format string. This string formats the start and end time.
4192   * See {@link DateTime#toFormat} for details.
4193   * @param {Object} opts - Options.
4194   * @param {string} [opts.separator =  ' – '] - A separator to place between the start and end
4195   * representations.
4196   * @return {string}
4197   */
4198  toFormat(t, { separator: r = " – " } = {}) {
4199    return this.isValid ? `${this.s.toFormat(t)}${r}${this.e.toFormat(t)}` : yl;
4200  }
4201  /**
4202   * Return a Duration representing the time spanned by this interval.
4203   * @param {string|string[]} [unit=['milliseconds']] - the unit or units (such as 'hours' or 'days') to include in the duration.
4204   * @param {Object} opts - options that affect the creation of the Duration
4205   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
4206   * @example Interval.fromDateTimes(dt1, dt2).toDuration().toObject() //=> { milliseconds: 88489257 }
4207   * @example Interval.fromDateTimes(dt1, dt2).toDuration('days').toObject() //=> { days: 1.0241812152777778 }
4208   * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes']).toObject() //=> { hours: 24, minutes: 34.82095 }
4209   * @example Interval.fromDateTimes(dt1, dt2).toDuration(['hours', 'minutes', 'seconds']).toObject() //=> { hours: 24, minutes: 34, seconds: 49.257 }
4210   * @example Interval.fromDateTimes(dt1, dt2).toDuration('seconds').toObject() //=> { seconds: 88489.257 }
4211   * @return {Duration}
4212   */
4213  toDuration(t, r) {
4214    return this.isValid ? this.e.diff(this.s, t, r) : Fe.invalid(this.invalidReason);
4215  }
4216  /**
4217   * Run mapFn on the interval start and end, returning a new Interval from the resulting DateTimes
4218   * @param {function} mapFn
4219   * @return {Interval}
4220   * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.toUTC())
4221   * @example Interval.fromDateTimes(dt1, dt2).mapEndpoints(endpoint => endpoint.plus({ hours: 2 }))
4222   */
4223  mapEndpoints(t) {
4224    return St.fromDateTimes(t(this.s), t(this.e));
4225  }
4226}
4227class hd {
4228  /**
4229   * Return whether the specified zone contains a DST.
4230   * @param {string|Zone} [zone='local'] - Zone to check. Defaults to the environment's local zone.
4231   * @return {boolean}
4232   */
4233  static hasDST(t = $t.defaultZone) {
4234    const r = ye.now().setZone(t).set({ month: 12 });
4235    return !t.isUniversal && r.offset !== r.set({ month: 6 }).offset;
4236  }
4237  /**
4238   * Return whether the specified zone is a valid IANA specifier.
4239   * @param {string} zone - Zone to check
4240   * @return {boolean}
4241   */
4242  static isValidIANAZone(t) {
4243    return Ea.isValidZone(t);
4244  }
4245  /**
4246   * Converts the input into a {@link Zone} instance.
4247   *
4248   * * If `input` is already a Zone instance, it is returned unchanged.
4249   * * If `input` is a string containing a valid time zone name, a Zone instance
4250   *   with that name is returned.
4251   * * If `input` is a string that doesn't refer to a known time zone, a Zone
4252   *   instance with {@link Zone#isValid} == false is returned.
4253   * * If `input is a number, a Zone instance with the specified fixed offset
4254   *   in minutes is returned.
4255   * * If `input` is `null` or `undefined`, the default zone is returned.
4256   * @param {string|Zone|number} [input] - the value to be converted
4257   * @return {Zone}
4258   */
4259  static normalizeZone(t) {
4260    return hi(t, $t.defaultZone);
4261  }
4262  /**
4263   * Get the weekday on which the week starts according to the given locale.
4264   * @param {Object} opts - options
4265   * @param {string} [opts.locale] - the locale code
4266   * @param {string} [opts.locObj=null] - an existing locale object to use
4267   * @returns {number} the start of the week, 1 for Monday through 7 for Sunday
4268   */
4269  static getStartOfWeek({ locale: t = null, locObj: r = null } = {}) {
4270    return (r || Ke.create(t)).getStartOfWeek();
4271  }
4272  /**
4273   * Get the minimum number of days necessary in a week before it is considered part of the next year according
4274   * to the given locale.
4275   * @param {Object} opts - options
4276   * @param {string} [opts.locale] - the locale code
4277   * @param {string} [opts.locObj=null] - an existing locale object to use
4278   * @returns {number}
4279   */
4280  static getMinimumDaysInFirstWeek({ locale: t = null, locObj: r = null } = {}) {
4281    return (r || Ke.create(t)).getMinDaysInFirstWeek();
4282  }
4283  /**
4284   * Get the weekdays, which are considered the weekend according to the given locale
4285   * @param {Object} opts - options
4286   * @param {string} [opts.locale] - the locale code
4287   * @param {string} [opts.locObj=null] - an existing locale object to use
4288   * @returns {number[]} an array of weekdays, 1 for Monday through 7 for Sunday
4289   */
4290  static getWeekendWeekdays({ locale: t = null, locObj: r = null } = {}) {
4291    return (r || Ke.create(t)).getWeekendDays().slice();
4292  }
4293  /**
4294   * Return an array of standalone month names.
4295   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
4296   * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
4297   * @param {Object} opts - options
4298   * @param {string} [opts.locale] - the locale code
4299   * @param {string} [opts.numberingSystem=null] - the numbering system
4300   * @param {string} [opts.locObj=null] - an existing locale object to use
4301   * @param {string} [opts.outputCalendar='gregory'] - the calendar
4302   * @example Info.months()[0] //=> 'January'
4303   * @example Info.months('short')[0] //=> 'Jan'
4304   * @example Info.months('numeric')[0] //=> '1'
4305   * @example Info.months('short', { locale: 'fr-CA' } )[0] //=> 'janv.'
4306   * @example Info.months('numeric', { locale: 'ar' })[0] //=> 'Ù¡'
4307   * @example Info.months('long', { outputCalendar: 'islamic' })[0] //=> 'RabiÊ» I'
4308   * @return {Array}
4309   */
4310  static months(t = "long", { locale: r = null, numberingSystem: i = null, locObj: l = null, outputCalendar: s = "gregory" } = {}) {
4311    return (l || Ke.create(r, i, s)).months(t);
4312  }
4313  /**
4314   * Return an array of format month names.
4315   * Format months differ from standalone months in that they're meant to appear next to the day of the month. In some languages, that
4316   * changes the string.
4317   * See {@link Info#months}
4318   * @param {string} [length='long'] - the length of the month representation, such as "numeric", "2-digit", "narrow", "short", "long"
4319   * @param {Object} opts - options
4320   * @param {string} [opts.locale] - the locale code
4321   * @param {string} [opts.numberingSystem=null] - the numbering system
4322   * @param {string} [opts.locObj=null] - an existing locale object to use
4323   * @param {string} [opts.outputCalendar='gregory'] - the calendar
4324   * @return {Array}
4325   */
4326  static monthsFormat(t = "long", { locale: r = null, numberingSystem: i = null, locObj: l = null, outputCalendar: s = "gregory" } = {}) {
4327    return (l || Ke.create(r, i, s)).months(t, !0);
4328  }
4329  /**
4330   * Return an array of standalone week names.
4331   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
4332   * @param {string} [length='long'] - the length of the weekday representation, such as "narrow", "short", "long".
4333   * @param {Object} opts - options
4334   * @param {string} [opts.locale] - the locale code
4335   * @param {string} [opts.numberingSystem=null] - the numbering system
4336   * @param {string} [opts.locObj=null] - an existing locale object to use
4337   * @example Info.weekdays()[0] //=> 'Monday'
4338   * @example Info.weekdays('short')[0] //=> 'Mon'
4339   * @example Info.weekdays('short', { locale: 'fr-CA' })[0] //=> 'lun.'
4340   * @example Info.weekdays('short', { locale: 'ar' })[0] //=> 'الاثنين'
4341   * @return {Array}
4342   */
4343  static weekdays(t = "long", { locale: r = null, numberingSystem: i = null, locObj: l = null } = {}) {
4344    return (l || Ke.create(r, i, null)).weekdays(t);
4345  }
4346  /**
4347   * Return an array of format week names.
4348   * Format weekdays differ from standalone weekdays in that they're meant to appear next to more date information. In some languages, that
4349   * changes the string.
4350   * See {@link Info#weekdays}
4351   * @param {string} [length='long'] - the length of the month representation, such as "narrow", "short", "long".
4352   * @param {Object} opts - options
4353   * @param {string} [opts.locale=null] - the locale code
4354   * @param {string} [opts.numberingSystem=null] - the numbering system
4355   * @param {string} [opts.locObj=null] - an existing locale object to use
4356   * @return {Array}
4357   */
4358  static weekdaysFormat(t = "long", { locale: r = null, numberingSystem: i = null, locObj: l = null } = {}) {
4359    return (l || Ke.create(r, i, null)).weekdays(t, !0);
4360  }
4361  /**
4362   * Return an array of meridiems.
4363   * @param {Object} opts - options
4364   * @param {string} [opts.locale] - the locale code
4365   * @example Info.meridiems() //=> [ 'AM', 'PM' ]
4366   * @example Info.meridiems({ locale: 'my' }) //=> [ 'နံနက်', 'ညနေ' ]
4367   * @return {Array}
4368   */
4369  static meridiems({ locale: t = null } = {}) {
4370    return Ke.create(t).meridiems();
4371  }
4372  /**
4373   * Return an array of eras, such as ['BC', 'AD']. The locale can be specified, but the calendar system is always Gregorian.
4374   * @param {string} [length='short'] - the length of the era representation, such as "short" or "long".
4375   * @param {Object} opts - options
4376   * @param {string} [opts.locale] - the locale code
4377   * @example Info.eras() //=> [ 'BC', 'AD' ]
4378   * @example Info.eras('long') //=> [ 'Before Christ', 'Anno Domini' ]
4379   * @example Info.eras('long', { locale: 'fr' }) //=> [ 'avant Jésus-Christ', 'après Jésus-Christ' ]
4380   * @return {Array}
4381   */
4382  static eras(t = "short", { locale: r = null } = {}) {
4383    return Ke.create(r, null, "gregory").eras(t);
4384  }
4385  /**
4386   * Return the set of available features in this environment.
4387   * Some features of Luxon are not available in all environments. For example, on older browsers, relative time formatting support is not available. Use this function to figure out if that's the case.
4388   * Keys:
4389   * * `relative`: whether this environment supports relative time formatting
4390   * * `localeWeek`: whether this environment supports different weekdays for the start of the week based on the locale
4391   * @example Info.features() //=> { relative: false, localeWeek: true }
4392   * @return {Object}
4393   */
4394  static features() {
4395    return { relative: w8(), localeWeek: O8() };
4396  }
4397}
4398function hS(e, t) {
4399  const r = (l) => l.toUTC(0, { keepLocalTime: !0 }).startOf("day").valueOf(), i = r(t) - r(e);
4400  return Math.floor(Fe.fromMillis(i).as("days"));
4401}
4402function xO(e, t, r) {
4403  const i = [
4404    ["years", (m, g) => g.year - m.year],
4405    ["quarters", (m, g) => g.quarter - m.quarter + (g.year - m.year) * 4],
4406    ["months", (m, g) => g.month - m.month + (g.year - m.year) * 12],
4407    [
4408      "weeks",
4409      (m, g) => {
4410        const p = hS(m, g);
4411        return (p - p % 7) / 7;
4412      }
4413    ],
4414    ["days", hS]
4415  ], l = {}, s = e;
4416  let f, h;
4417  for (const [m, g] of i)
4418    r.indexOf(m) >= 0 && (f = m, l[m] = g(e, t), h = s.plus(l), h > t ? (l[m]--, e = s.plus(l), e > t && (h = e, l[m]--, e = s.plus(l))) : e = h);
4419  return [e, l, h, f];
4420}
4421function RO(e, t, r, i) {
4422  let [l, s, f, h] = xO(e, t, r);
4423  const m = t - l, g = r.filter(
4424    (b) => ["hours", "minutes", "seconds", "milliseconds"].indexOf(b) >= 0
4425  );
4426  g.length === 0 && (f < t && (f = l.plus({ [h]: 1 })), f !== l && (s[h] = (s[h] || 0) + m / (f - l)));
4427  const p = Fe.fromObject(s, i);
4428  return g.length > 0 ? Fe.fromMillis(m, i).shiftTo(...g).plus(p) : p;
4429}
4430const DO = "missing Intl.DateTimeFormat.formatToParts support";
4431function Be(e, t = (r) => r) {
4432  return { regex: e, deser: ([r]) => t(E7(r)) };
4433}
4434const MO = " ", B8 = `[ ${MO}]`, q8 = new RegExp(B8, "g");
4435function IO(e) {
4436  return e.replace(/\./g, "\\.?").replace(q8, B8);
4437}
4438function mS(e) {
4439  return e.replace(/\./g, "").replace(q8, " ").toLowerCase();
4440}
4441function Er(e, t) {
4442  return e === null ? null : {
4443    regex: RegExp(e.map(IO).join("|")),
4444    deser: ([r]) => e.findIndex((i) => mS(r) === mS(i)) + t
4445  };
4446}
4447function gS(e, t) {
4448  return { regex: e, deser: ([, r, i]) => _h(r, i), groups: t };
4449}
4450function md(e) {
4451  return { regex: e, deser: ([t]) => t };
4452}
4453function PO(e) {
4454  return e.replace(/[\-\[\]{}()*+?.,\\\^$|#\s]/g, "\\$&");
4455}
4456function kO(e, t) {
4457  const r = $r(t), i = $r(t, "{2}"), l = $r(t, "{3}"), s = $r(t, "{4}"), f = $r(t, "{6}"), h = $r(t, "{1,2}"), m = $r(t, "{1,3}"), g = $r(t, "{1,6}"), p = $r(t, "{1,9}"), b = $r(t, "{2,4}"), S = $r(t, "{4,6}"), w = ($) => ({ regex: RegExp(PO($.val)), deser: ([A]) => A, literal: !0 }), N = (($) => {
4458    if (e.literal)
4459      return w($);
4460    switch ($.val) {
4461      // era
4462      case "G":
4463        return Er(t.eras("short"), 0);
4464      case "GG":
4465        return Er(t.eras("long"), 0);
4466      // years
4467      case "y":
4468        return Be(g);
4469      case "yy":
4470        return Be(b, Fg);
4471      case "yyyy":
4472        return Be(s);
4473      case "yyyyy":
4474        return Be(S);
4475      case "yyyyyy":
4476        return Be(f);
4477      // months
4478      case "M":
4479        return Be(h);
4480      case "MM":
4481        return Be(i);
4482      case "MMM":
4483        return Er(t.months("short", !0), 1);
4484      case "MMMM":
4485        return Er(t.months("long", !0), 1);
4486      case "L":
4487        return Be(h);
4488      case "LL":
4489        return Be(i);
4490      case "LLL":
4491        return Er(t.months("short", !1), 1);
4492      case "LLLL":
4493        return Er(t.months("long", !1), 1);
4494      // dates
4495      case "d":
4496        return Be(h);
4497      case "dd":
4498        return Be(i);
4499      // ordinals
4500      case "o":
4501        return Be(m);
4502      case "ooo":
4503        return Be(l);
4504      // time
4505      case "HH":
4506        return Be(i);
4507      case "H":
4508        return Be(h);
4509      case "hh":
4510        return Be(i);
4511      case "h":
4512        return Be(h);
4513      case "mm":
4514        return Be(i);
4515      case "m":
4516        return Be(h);
4517      case "q":
4518        return Be(h);
4519      case "qq":
4520        return Be(i);
4521      case "s":
4522        return Be(h);
4523      case "ss":
4524        return Be(i);
4525      case "S":
4526        return Be(m);
4527      case "SSS":
4528        return Be(l);
4529      case "u":
4530        return md(p);
4531      case "uu":
4532        return md(h);
4533      case "uuu":
4534        return Be(r);
4535      // meridiem
4536      case "a":
4537        return Er(t.meridiems(), 0);
4538      // weekYear (k)
4539      case "kkkk":
4540        return Be(s);
4541      case "kk":
4542        return Be(b, Fg);
4543      // weekNumber (W)
4544      case "W":
4545        return Be(h);
4546      case "WW":
4547        return Be(i);
4548      // weekdays
4549      case "E":
4550      case "c":
4551        return Be(r);
4552      case "EEE":
4553        return Er(t.weekdays("short", !1), 1);
4554      case "EEEE":
4555        return Er(t.weekdays("long", !1), 1);
4556      case "ccc":
4557        return Er(t.weekdays("short", !0), 1);
4558      case "cccc":
4559        return Er(t.weekdays("long", !0), 1);
4560      // offset/zone
4561      case "Z":
4562      case "ZZ":
4563        return gS(new RegExp(`([+-]${h.source})(?::(${i.source}))?`), 2);
4564      case "ZZZ":
4565        return gS(new RegExp(`([+-]${h.source})(${i.source})?`), 2);
4566      // we don't support ZZZZ (PST) or ZZZZZ (Pacific Standard Time) in parsing
4567      // because we don't have any way to figure out what they are
4568      case "z":
4569        return md(/[a-z_+-/]{1,256}?/i);
4570      // this special-case "token" represents a place where a macro-token expanded into a white-space literal
4571      // in this case we accept any non-newline white-space
4572      case " ":
4573        return md(/[^\S\n\r]/);
4574      default:
4575        return w($);
4576    }
4577  })(e) || {
4578    invalidReason: DO
4579  };
4580  return N.token = e, N;
4581}
4582const LO = {
4583  year: {
4584    "2-digit": "yy",
4585    numeric: "yyyyy"
4586  },
4587  month: {
4588    numeric: "M",
4589    "2-digit": "MM",
4590    short: "MMM",
4591    long: "MMMM"
4592  },
4593  day: {
4594    numeric: "d",
4595    "2-digit": "dd"
4596  },
4597  weekday: {
4598    short: "EEE",
4599    long: "EEEE"
4600  },
4601  dayperiod: "a",
4602  dayPeriod: "a",
4603  hour12: {
4604    numeric: "h",
4605    "2-digit": "hh"
4606  },
4607  hour24: {
4608    numeric: "H",
4609    "2-digit": "HH"
4610  },
4611  minute: {
4612    numeric: "m",
4613    "2-digit": "mm"
4614  },
4615  second: {
4616    numeric: "s",
4617    "2-digit": "ss"
4618  },
4619  timeZoneName: {
4620    long: "ZZZZZ",
4621    short: "ZZZ"
4622  }
4623};
4624function zO(e, t, r) {
4625  const { type: i, value: l } = e;
4626  if (i === "literal") {
4627    const m = /^\s+$/.test(l);
4628    return {
4629      literal: !m,
4630      val: m ? " " : l
4631    };
4632  }
4633  const s = t[i];
4634  let f = i;
4635  i === "hour" && (t.hour12 != null ? f = t.hour12 ? "hour12" : "hour24" : t.hourCycle != null ? t.hourCycle === "h11" || t.hourCycle === "h12" ? f = "hour12" : f = "hour24" : f = r.hour12 ? "hour12" : "hour24");
4636  let h = LO[f];
4637  if (typeof h == "object" && (h = h[s]), h)
4638    return {
4639      literal: !1,
4640      val: h
4641    };
4642}
4643function UO(e) {
4644  return [`^${e.map((r) => r.regex).reduce((r, i) => `${r}(${i.source})`, "")}$`, e];
4645}
4646function jO(e, t, r) {
4647  const i = e.match(t);
4648  if (i) {
4649    const l = {};
4650    let s = 1;
4651    for (const f in r)
4652      if (Gl(r, f)) {
4653        const h = r[f], m = h.groups ? h.groups + 1 : 1;
4654        !h.literal && h.token && (l[h.token.val[0]] = h.deser(i.slice(s, s + m))), s += m;
4655      }
4656    return [i, l];
4657  } else
4658    return [i, {}];
4659}
4660function FO(e) {
4661  const t = (s) => {
4662    switch (s) {
4663      case "S":
4664        return "millisecond";
4665      case "s":
4666        return "second";
4667      case "m":
4668        return "minute";
4669      case "h":
4670      case "H":
4671        return "hour";
4672      case "d":
4673        return "day";
4674      case "o":
4675        return "ordinal";
4676      case "L":
4677      case "M":
4678        return "month";
4679      case "y":
4680        return "year";
4681      case "E":
4682      case "c":
4683        return "weekday";
4684      case "W":
4685        return "weekNumber";
4686      case "k":
4687        return "weekYear";
4688      case "q":
4689        return "quarter";
4690      default:
4691        return null;
4692    }
4693  };
4694  let r = null, i;
4695  return Te(e.z) || (r = Ea.create(e.z)), Te(e.Z) || (r || (r = new vn(e.Z)), i = e.Z), Te(e.q) || (e.M = (e.q - 1) * 3 + 1), Te(e.h) || (e.h < 12 && e.a === 1 ? e.h += 12 : e.h === 12 && e.a === 0 && (e.h = 0)), e.G === 0 && e.y && (e.y = -e.y), Te(e.u) || (e.S = Bp(e.u)), [Object.keys(e).reduce((s, f) => {
4696    const h = t(f);
4697    return h && (s[h] = e[f]), s;
4698  }, {}), r, i];
4699}
4700let D1 = null;
4701function HO() {
4702  return D1 || (D1 = ye.fromMillis(1555555555555)), D1;
4703}
4704function VO(e, t) {
4705  if (e.literal)
4706    return e;
4707  const r = wr.macroTokenToFormatOpts(e.val), i = Q8(r, t);
4708  return i == null || i.includes(void 0) ? e : i;
4709}
4710function G8(e, t) {
4711  return Array.prototype.concat(...e.map((r) => VO(r, t)));
4712}
4713class Y8 {
4714  constructor(t, r) {
4715    if (this.locale = t, this.format = r, this.tokens = G8(wr.parseFormat(r), t), this.units = this.tokens.map((i) => kO(i, t)), this.disqualifyingUnit = this.units.find((i) => i.invalidReason), !this.disqualifyingUnit) {
4716      const [i, l] = UO(this.units);
4717      this.regex = RegExp(i, "i"), this.handlers = l;
4718    }
4719  }
4720  explainFromTokens(t) {
4721    if (this.isValid) {
4722      const [r, i] = jO(t, this.regex, this.handlers), [l, s, f] = i ? FO(i) : [null, null, void 0];
4723      if (Gl(i, "a") && Gl(i, "H"))
4724        throw new Dl(
4725          "Can't include meridiem when specifying 24-hour format"
4726        );
4727      return {
4728        input: t,
4729        tokens: this.tokens,
4730        regex: this.regex,
4731        rawMatches: r,
4732        matches: i,
4733        result: l,
4734        zone: s,
4735        specificOffset: f
4736      };
4737    } else
4738      return { input: t, tokens: this.tokens, invalidReason: this.invalidReason };
4739  }
4740  get isValid() {
4741    return !this.disqualifyingUnit;
4742  }
4743  get invalidReason() {
4744    return this.disqualifyingUnit ? this.disqualifyingUnit.invalidReason : null;
4745  }
4746}
4747function Z8(e, t, r) {
4748  return new Y8(e, r).explainFromTokens(t);
4749}
4750function BO(e, t, r) {
4751  const { result: i, zone: l, specificOffset: s, invalidReason: f } = Z8(e, t, r);
4752  return [i, l, s, f];
4753}
4754function Q8(e, t) {
4755  if (!e)
4756    return null;
4757  const i = wr.create(t, e).dtFormatter(HO()), l = i.formatToParts(), s = i.resolvedOptions();
4758  return l.map((f) => zO(f, e, s));
4759}
4760const M1 = "Invalid DateTime", pS = 864e13;
4761function Rs(e) {
4762  return new Or("unsupported zone", `the zone "${e.name}" is not supported`);
4763}
4764function I1(e) {
4765  return e.weekData === null && (e.weekData = Yd(e.c)), e.weekData;
4766}
4767function P1(e) {
4768  return e.localWeekData === null && (e.localWeekData = Yd(
4769    e.c,
4770    e.loc.getMinDaysInFirstWeek(),
4771    e.loc.getStartOfWeek()
4772  )), e.localWeekData;
4773}
4774function Xi(e, t) {
4775  const r = {
4776    ts: e.ts,
4777    zone: e.zone,
4778    c: e.c,
4779    o: e.o,
4780    loc: e.loc,
4781    invalid: e.invalid
4782  };
4783  return new ye({ ...r, ...t, old: r });
4784}
4785function K8(e, t, r) {
4786  let i = e - t * 60 * 1e3;
4787  const l = r.offset(i);
4788  if (t === l)
4789    return [i, t];
4790  i -= (l - t) * 60 * 1e3;
4791  const s = r.offset(i);
4792  return l === s ? [i, l] : [e - Math.min(l, s) * 60 * 1e3, Math.max(l, s)];
4793}
4794function gd(e, t) {
4795  e += t * 60 * 1e3;
4796  const r = new Date(e);
4797  return {
4798    year: r.getUTCFullYear(),
4799    month: r.getUTCMonth() + 1,
4800    day: r.getUTCDate(),
4801    hour: r.getUTCHours(),
4802    minute: r.getUTCMinutes(),
4803    second: r.getUTCSeconds(),
4804    millisecond: r.getUTCMilliseconds()
4805  };
4806}
4807function Ld(e, t, r) {
4808  return K8(Ah(e), t, r);
4809}
4810function yS(e, t) {
4811  const r = e.o, i = e.c.year + Math.trunc(t.years), l = e.c.month + Math.trunc(t.months) + Math.trunc(t.quarters) * 3, s = {
4812    ...e.c,
4813    year: i,
4814    month: l,
4815    day: Math.min(e.c.day, Zd(i, l)) + Math.trunc(t.days) + Math.trunc(t.weeks) * 7
4816  }, f = Fe.fromObject({
4817    years: t.years - Math.trunc(t.years),
4818    quarters: t.quarters - Math.trunc(t.quarters),
4819    months: t.months - Math.trunc(t.months),
4820    weeks: t.weeks - Math.trunc(t.weeks),
4821    days: t.days - Math.trunc(t.days),
4822    hours: t.hours,
4823    minutes: t.minutes,
4824    seconds: t.seconds,
4825    milliseconds: t.milliseconds
4826  }).as("milliseconds"), h = Ah(s);
4827  let [m, g] = K8(h, r, e.zone);
4828  return f !== 0 && (m += f, g = e.zone.offset(m)), { ts: m, o: g };
4829}
4830function vl(e, t, r, i, l, s) {
4831  const { setZone: f, zone: h } = r;
4832  if (e && Object.keys(e).length !== 0 || t) {
4833    const m = t || h, g = ye.fromObject(e, {
4834      ...r,
4835      zone: m,
4836      specificOffset: s
4837    });
4838    return f ? g : g.setZone(h);
4839  } else
4840    return ye.invalid(
4841      new Or("unparsable", `the input "${l}" can't be parsed as ${i}`)
4842    );
4843}
4844function pd(e, t, r = !0) {
4845  return e.isValid ? wr.create(Ke.create("en-US"), {
4846    allowZ: r,
4847    forceSimple: !0
4848  }).formatDateTimeFromString(e, t) : null;
4849}
4850function k1(e, t, r) {
4851  const i = e.c.year > 9999 || e.c.year < 0;
4852  let l = "";
4853  if (i && e.c.year >= 0 && (l += "+"), l += _t(e.c.year, i ? 6 : 4), r === "year") return l;
4854  if (t) {
4855    if (l += "-", l += _t(e.c.month), r === "month") return l;
4856    l += "-";
4857  } else if (l += _t(e.c.month), r === "month") return l;
4858  return l += _t(e.c.day), l;
4859}
4860function vS(e, t, r, i, l, s, f) {
4861  let h = !r || e.c.millisecond !== 0 || e.c.second !== 0, m = "";
4862  switch (f) {
4863    case "day":
4864    case "month":
4865    case "year":
4866      break;
4867    default:
4868      if (m += _t(e.c.hour), f === "hour") break;
4869      if (t) {
4870        if (m += ":", m += _t(e.c.minute), f === "minute") break;
4871        h && (m += ":", m += _t(e.c.second));
4872      } else {
4873        if (m += _t(e.c.minute), f === "minute") break;
4874        h && (m += _t(e.c.second));
4875      }
4876      if (f === "second") break;
4877      h && (!i || e.c.millisecond !== 0) && (m += ".", m += _t(e.c.millisecond, 3));
4878  }
4879  return l && (e.isOffsetFixed && e.offset === 0 && !s ? m += "Z" : e.o < 0 ? (m += "-", m += _t(Math.trunc(-e.o / 60)), m += ":", m += _t(Math.trunc(-e.o % 60))) : (m += "+", m += _t(Math.trunc(e.o / 60)), m += ":", m += _t(Math.trunc(e.o % 60)))), s && (m += "[" + e.zone.ianaName + "]"), m;
4880}
4881const X8 = {
4882  month: 1,
4883  day: 1,
4884  hour: 0,
4885  minute: 0,
4886  second: 0,
4887  millisecond: 0
4888}, qO = {
4889  weekNumber: 1,
4890  weekday: 1,
4891  hour: 0,
4892  minute: 0,
4893  second: 0,
4894  millisecond: 0
4895}, GO = {
4896  ordinal: 1,
4897  hour: 0,
4898  minute: 0,
4899  second: 0,
4900  millisecond: 0
4901}, zd = ["year", "month", "day", "hour", "minute", "second", "millisecond"], YO = [
4902  "weekYear",
4903  "weekNumber",
4904  "weekday",
4905  "hour",
4906  "minute",
4907  "second",
4908  "millisecond"
4909], ZO = ["year", "ordinal", "hour", "minute", "second", "millisecond"];
4910function Ud(e) {
4911  const t = {
4912    year: "year",
4913    years: "year",
4914    month: "month",
4915    months: "month",
4916    day: "day",
4917    days: "day",
4918    hour: "hour",
4919    hours: "hour",
4920    minute: "minute",
4921    minutes: "minute",
4922    quarter: "quarter",
4923    quarters: "quarter",
4924    second: "second",
4925    seconds: "second",
4926    millisecond: "millisecond",
4927    milliseconds: "millisecond",
4928    weekday: "weekday",
4929    weekdays: "weekday",
4930    weeknumber: "weekNumber",
4931    weeksnumber: "weekNumber",
4932    weeknumbers: "weekNumber",
4933    weekyear: "weekYear",
4934    weekyears: "weekYear",
4935    ordinal: "ordinal"
4936  }[e.toLowerCase()];
4937  if (!t) throw new X9(e);
4938  return t;
4939}
4940function bS(e) {
4941  switch (e.toLowerCase()) {
4942    case "localweekday":
4943    case "localweekdays":
4944      return "localWeekday";
4945    case "localweeknumber":
4946    case "localweeknumbers":
4947      return "localWeekNumber";
4948    case "localweekyear":
4949    case "localweekyears":
4950      return "localWeekYear";
4951    default:
4952      return Ud(e);
4953  }
4954}
4955function QO(e) {
4956  if (Ds === void 0 && (Ds = $t.now()), e.type !== "iana")
4957    return e.offset(Ds);
4958  const t = e.name;
4959  let r = Hg.get(t);
4960  return r === void 0 && (r = e.offset(Ds), Hg.set(t, r)), r;
4961}
4962function SS(e, t) {
4963  const r = hi(t.zone, $t.defaultZone);
4964  if (!r.isValid)
4965    return ye.invalid(Rs(r));
4966  const i = Ke.fromObject(t);
4967  let l, s;
4968  if (Te(e.year))
4969    l = $t.now();
4970  else {
4971    for (const m of zd)
4972      Te(e[m]) && (e[m] = X8[m]);
4973    const f = T8(e) || C8(e);
4974    if (f)
4975      return ye.invalid(f);
4976    const h = QO(r);
4977    [l, s] = Ld(e, h, r);
4978  }
4979  return new ye({ ts: l, zone: r, loc: i, o: s });
4980}
4981function $S(e, t, r) {
4982  const i = Te(r.round) ? !0 : r.round, l = Te(r.rounding) ? "trunc" : r.rounding, s = (h, m) => (h = qp(h, i || r.calendary ? 0 : 2, r.calendary ? "round" : l), t.loc.clone(r).relFormatter(r).format(h, m)), f = (h) => r.calendary ? t.hasSame(e, h) ? 0 : t.startOf(h).diff(e.startOf(h), h).get(h) : t.diff(e, h).get(h);
4983  if (r.unit)
4984    return s(f(r.unit), r.unit);
4985  for (const h of r.units) {
4986    const m = f(h);
4987    if (Math.abs(m) >= 1)
4988      return s(m, h);
4989  }
4990  return s(e > t ? -0 : 0, r.units[r.units.length - 1]);
4991}
4992function ES(e) {
4993  let t = {}, r;
4994  return e.length > 0 && typeof e[e.length - 1] == "object" ? (t = e[e.length - 1], r = Array.from(e).slice(0, e.length - 1)) : r = Array.from(e), [t, r];
4995}
4996let Ds;
4997const Hg = /* @__PURE__ */ new Map();
4998class ye {
4999  /**
5000   * @access private
5001   */
5002  constructor(t) {
5003    const r = t.zone || $t.defaultZone;
5004    let i = t.invalid || (Number.isNaN(t.ts) ? new Or("invalid input") : null) || (r.isValid ? null : Rs(r));
5005    this.ts = Te(t.ts) ? $t.now() : t.ts;
5006    let l = null, s = null;
5007    if (!i)
5008      if (t.old && t.old.ts === this.ts && t.old.zone.equals(r))
5009        [l, s] = [t.old.c, t.old.o];
5010      else {
5011        const h = pi(t.o) && !t.old ? t.o : r.offset(this.ts);
5012        l = gd(this.ts, h), i = Number.isNaN(l.year) ? new Or("invalid input") : null, l = i ? null : l, s = i ? null : h;
5013      }
5014    this._zone = r, this.loc = t.loc || Ke.create(), this.invalid = i, this.weekData = null, this.localWeekData = null, this.c = l, this.o = s, this.isLuxonDateTime = !0;
5015  }
5016  // CONSTRUCT
5017  /**
5018   * Create a DateTime for the current instant, in the system's time zone.
5019   *
5020   * Use Settings to override these default values if needed.
5021   * @example DateTime.now().toISO() //~> now in the ISO format
5022   * @return {DateTime}
5023   */
5024  static now() {
5025    return new ye({});
5026  }
5027  /**
5028   * Create a local DateTime
5029   * @param {number} [year] - The calendar year. If omitted (as in, call `local()` with no arguments), the current time will be used
5030   * @param {number} [month=1] - The month, 1-indexed
5031   * @param {number} [day=1] - The day of the month, 1-indexed
5032   * @param {number} [hour=0] - The hour of the day, in 24-hour time
5033   * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
5034   * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
5035   * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
5036   * @example DateTime.local()                                  //~> now
5037   * @example DateTime.local({ zone: "America/New_York" })      //~> now, in US east coast time
5038   * @example DateTime.local(2017)                              //~> 2017-01-01T00:00:00
5039   * @example DateTime.local(2017, 3)                           //~> 2017-03-01T00:00:00
5040   * @example DateTime.local(2017, 3, 12, { locale: "fr" })     //~> 2017-03-12T00:00:00, with a French locale
5041   * @example DateTime.local(2017, 3, 12, 5)                    //~> 2017-03-12T05:00:00
5042   * @example DateTime.local(2017, 3, 12, 5, { zone: "utc" })   //~> 2017-03-12T05:00:00, in UTC
5043   * @example DateTime.local(2017, 3, 12, 5, 45)                //~> 2017-03-12T05:45:00
5044   * @example DateTime.local(2017, 3, 12, 5, 45, 10)            //~> 2017-03-12T05:45:10
5045   * @example DateTime.local(2017, 3, 12, 5, 45, 10, 765)       //~> 2017-03-12T05:45:10.765
5046   * @return {DateTime}
5047   */
5048  static local() {
5049    const [t, r] = ES(arguments), [i, l, s, f, h, m, g] = r;
5050    return SS({ year: i, month: l, day: s, hour: f, minute: h, second: m, millisecond: g }, t);
5051  }
5052  /**
5053   * Create a DateTime in UTC
5054   * @param {number} [year] - The calendar year. If omitted (as in, call `utc()` with no arguments), the current time will be used
5055   * @param {number} [month=1] - The month, 1-indexed
5056   * @param {number} [day=1] - The day of the month
5057   * @param {number} [hour=0] - The hour of the day, in 24-hour time
5058   * @param {number} [minute=0] - The minute of the hour, meaning a number between 0 and 59
5059   * @param {number} [second=0] - The second of the minute, meaning a number between 0 and 59
5060   * @param {number} [millisecond=0] - The millisecond of the second, meaning a number between 0 and 999
5061   * @param {Object} options - configuration options for the DateTime
5062   * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
5063   * @param {string} [options.outputCalendar] - the output calendar to set on the resulting DateTime instance
5064   * @param {string} [options.numberingSystem] - the numbering system to set on the resulting DateTime instance
5065   * @param {string} [options.weekSettings] - the week settings to set on the resulting DateTime instance
5066   * @example DateTime.utc()                                              //~> now
5067   * @example DateTime.utc(2017)                                          //~> 2017-01-01T00:00:00Z
5068   * @example DateTime.utc(2017, 3)                                       //~> 2017-03-01T00:00:00Z
5069   * @example DateTime.utc(2017, 3, 12)                                   //~> 2017-03-12T00:00:00Z
5070   * @example DateTime.utc(2017, 3, 12, 5)                                //~> 2017-03-12T05:00:00Z
5071   * @example DateTime.utc(2017, 3, 12, 5, 45)                            //~> 2017-03-12T05:45:00Z
5072   * @example DateTime.utc(2017, 3, 12, 5, 45, { locale: "fr" })          //~> 2017-03-12T05:45:00Z with a French locale
5073   * @example DateTime.utc(2017, 3, 12, 5, 45, 10)                        //~> 2017-03-12T05:45:10Z
5074   * @example DateTime.utc(2017, 3, 12, 5, 45, 10, 765, { locale: "fr" }) //~> 2017-03-12T05:45:10.765Z with a French locale
5075   * @return {DateTime}
5076   */
5077  static utc() {
5078    const [t, r] = ES(arguments), [i, l, s, f, h, m, g] = r;
5079    return t.zone = vn.utcInstance, SS({ year: i, month: l, day: s, hour: f, minute: h, second: m, millisecond: g }, t);
5080  }
5081  /**
5082   * Create a DateTime from a JavaScript Date object. Uses the default zone.
5083   * @param {Date} date - a JavaScript Date object
5084   * @param {Object} options - configuration options for the DateTime
5085   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
5086   * @return {DateTime}
5087   */
5088  static fromJSDate(t, r = {}) {
5089    const i = N7(t) ? t.valueOf() : NaN;
5090    if (Number.isNaN(i))
5091      return ye.invalid("invalid input");
5092    const l = hi(r.zone, $t.defaultZone);
5093    return l.isValid ? new ye({
5094      ts: i,
5095      zone: l,
5096      loc: Ke.fromObject(r)
5097    }) : ye.invalid(Rs(l));
5098  }
5099  /**
5100   * Create a DateTime from a number of milliseconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
5101   * @param {number} milliseconds - a number of milliseconds since 1970 UTC
5102   * @param {Object} options - configuration options for the DateTime
5103   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
5104   * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
5105   * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
5106   * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
5107   * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
5108   * @return {DateTime}
5109   */
5110  static fromMillis(t, r = {}) {
5111    if (pi(t))
5112      return t < -pS || t > pS ? ye.invalid("Timestamp out of range") : new ye({
5113        ts: t,
5114        zone: hi(r.zone, $t.defaultZone),
5115        loc: Ke.fromObject(r)
5116      });
5117    throw new cn(
5118      `fromMillis requires a numerical input, but received a ${typeof t} with value ${t}`
5119    );
5120  }
5121  /**
5122   * Create a DateTime from a number of seconds since the epoch (meaning since 1 January 1970 00:00:00 UTC). Uses the default zone.
5123   * @param {number} seconds - a number of seconds since 1970 UTC
5124   * @param {Object} options - configuration options for the DateTime
5125   * @param {string|Zone} [options.zone='local'] - the zone to place the DateTime into
5126   * @param {string} [options.locale] - a locale to set on the resulting DateTime instance
5127   * @param {string} options.outputCalendar - the output calendar to set on the resulting DateTime instance
5128   * @param {string} options.numberingSystem - the numbering system to set on the resulting DateTime instance
5129   * @param {string} options.weekSettings - the week settings to set on the resulting DateTime instance
5130   * @return {DateTime}
5131   */
5132  static fromSeconds(t, r = {}) {
5133    if (pi(t))
5134      return new ye({
5135        ts: t * 1e3,
5136        zone: hi(r.zone, $t.defaultZone),
5137        loc: Ke.fromObject(r)
5138      });
5139    throw new cn("fromSeconds requires a numerical input");
5140  }
5141  /**
5142   * Create a DateTime from a JavaScript object with keys like 'year' and 'hour' with reasonable defaults.
5143   * @param {Object} obj - the object to create the DateTime from
5144   * @param {number} obj.year - a year, such as 1987
5145   * @param {number} obj.month - a month, 1-12
5146   * @param {number} obj.day - a day of the month, 1-31, depending on the month
5147   * @param {number} obj.ordinal - day of the year, 1-365 or 366
5148   * @param {number} obj.weekYear - an ISO week year
5149   * @param {number} obj.weekNumber - an ISO week number, between 1 and 52 or 53, depending on the year
5150   * @param {number} obj.weekday - an ISO weekday, 1-7, where 1 is Monday and 7 is Sunday
5151   * @param {number} obj.localWeekYear - a week year, according to the locale
5152   * @param {number} obj.localWeekNumber - a week number, between 1 and 52 or 53, depending on the year, according to the locale
5153   * @param {number} obj.localWeekday - a weekday, 1-7, where 1 is the first and 7 is the last day of the week, according to the locale
5154   * @param {number} obj.hour - hour of the day, 0-23
5155   * @param {number} obj.minute - minute of the hour, 0-59
5156   * @param {number} obj.second - second of the minute, 0-59
5157   * @param {number} obj.millisecond - millisecond of the second, 0-999
5158   * @param {Object} opts - options for creating this DateTime
5159   * @param {string|Zone} [opts.zone='local'] - interpret the numbers in the context of a particular zone. Can take any value taken as the first argument to setZone()
5160   * @param {string} [opts.locale='system\'s locale'] - a locale to set on the resulting DateTime instance
5161   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
5162   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
5163   * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
5164   * @example DateTime.fromObject({ year: 1982, month: 5, day: 25}).toISODate() //=> '1982-05-25'
5165   * @example DateTime.fromObject({ year: 1982 }).toISODate() //=> '1982-01-01'
5166   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }) //~> today at 10:26:06
5167   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'utc' }),
5168   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }, { zone: 'local' })
5169   * @example DateTime.fromObject({ hour: 10, minute: 26, second: 6 }
5169, { zone: 'America/New_York' })
5170   * @example DateTime.fromObject({ weekYear: 2016, weekNumber: 2, weekday: 3 }).toISODate() //=> '2016-01-13'
5171   * @example DateTime.fromObject({ localWeekYear: 2022, localWeekNumber: 1, localWeekday: 1 }, { locale: "en-US" }).toISODate() //=> '2021-12-26'
5172   * @return {DateTime}
5173   */
5174  static fromObject(t, r = {}) {
5175    t = t || {};
5176    const i = hi(r.zone, $t.defaultZone);
5177    if (!i.isValid)
5178      return ye.invalid(Rs(i));
5179    const l = Ke.fromObject(r), s = Qd(t, bS), { minDaysInFirstWeek: f, startOfWeek: h } = iS(s, l), m = $t.now(), g = Te(r.specificOffset) ? i.offset(m) : r.specificOffset, p = !Te(s.ordinal), b = !Te(s.year), S = !Te(s.month) || !Te(s.day), w = b || S, T = s.weekYear || s.weekNumber;
5180    if ((w || p) && T)
5181      throw new Dl(
5182        "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
5183      );
5184    if (S && p)
5185      throw new Dl("Can't mix ordinal dates with month/day");
5186    const N = T || s.weekday && !w;
5187    let $, A, D = gd(m, g);
5188    N ? ($ = YO, A = qO, D = Yd(D, f, h)) : p ? ($ = ZO, A = GO, D = R1(D)) : ($ = zd, A = X8);
5189    let _ = !1;
5190    for (const I of $) {
5191      const M = s[I];
5192      Te(M) ? _ ? s[I] = A[I] : s[I] = D[I] : _ = !0;
5193    }
5194    const x = N ? C7(s, f, h) : p ? w7(s) : T8(s), v = x || C8(s);
5195    if (v)
5196      return ye.invalid(v);
5197    const E = N ? rS(s, f, h) : p ? aS(s) : s, [C, L] = Ld(E, g, i), k = new ye({
5198      ts: C,
5199      zone: i,
5200      o: L,
5201      loc: l
5202    });
5203    return s.weekday && w && t.weekday !== k.weekday ? ye.invalid(
5204      "mismatched weekday",
5205      `you can't specify both a weekday of ${s.weekday} and a date of ${k.toISO()}`
5206    ) : k.isValid ? k : ye.invalid(k.invalid);
5207  }
5208  /**
5209   * Create a DateTime from an ISO 8601 string
5210   * @param {string} text - the ISO string
5211   * @param {Object} opts - options to affect the creation
5212   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the time to this zone
5213   * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
5214   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
5215   * @param {string} [opts.outputCalendar] - the output calendar to set on the resulting DateTime instance
5216   * @param {string} [opts.numberingSystem] - the numbering system to set on the resulting DateTime instance
5217   * @param {string} [opts.weekSettings] - the week settings to set on the resulting DateTime instance
5218   * @example DateTime.fromISO('2016-05-25T09:08:34.123')
5219   * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00')
5220   * @example DateTime.fromISO('2016-05-25T09:08:34.123+06:00', {setZone: true})
5221   * @example DateTime.fromISO('2016-05-25T09:08:34.123', {zone: 'utc'})
5222   * @example DateTime.fromISO('2016-W05-4')
5223   * @return {DateTime}
5224   */
5225  static fromISO(t, r = {}) {
5226    const [i, l] = pO(t);
5227    return vl(i, l, r, "ISO 8601", t);
5228  }
5229  /**
5230   * Create a DateTime from an RFC 2822 string
5231   * @param {string} text - the RFC 2822 string
5232   * @param {Object} opts - options to affect the creation
5233   * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since the offset is always specified in the string itself, this has no effect on the interpretation of string, merely the zone the resulting DateTime is expressed in.
5234   * @param {boolean} [opts.setZone=false] - override the zone with a fixed-offset zone specified in the string itself, if it specifies one
5235   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
5236   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
5237   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
5238   * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
5239   * @example DateTime.fromRFC2822('25 Nov 2016 13:23:12 GMT')
5240   * @example DateTime.fromRFC2822('Fri, 25 Nov 2016 13:23:12 +0600')
5241   * @example DateTime.fromRFC2822('25 Nov 2016 13:23 Z')
5242   * @return {DateTime}
5243   */
5244  static fromRFC2822(t, r = {}) {
5245    const [i, l] = yO(t);
5246    return vl(i, l, r, "RFC 2822", t);
5247  }
5248  /**
5249   * Create a DateTime from an HTTP header date
5250   * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
5251   * @param {string} text - the HTTP header date
5252   * @param {Object} opts - options to affect the creation
5253   * @param {string|Zone} [opts.zone='local'] - convert the time to this zone. Since HTTP dates are always in UTC, this has no effect on the interpretation of str
5253ing, merely the zone the resulting DateTime is expressed in.
5254   * @param {boolean} [opts.setZone=false] - override the zone with the fixed-offset zone specified in the string. For HTTP dates, this is always UTC, so this option is equivalent to setting the `zone` option to 'utc', but this option is included for consistency with similar methods.
5255   * @param {string} [opts.locale='system's locale'] - a locale to set on the resulting DateTime instance
5256   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
5257   * @param {string} opts.numberingSystem - the numbering system to set on the resulting DateTime instance
5258   * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
5259   * @example DateTime.fromHTTP('Sun, 06 Nov 1994 08:49:37 GMT')
5260   * @example DateTime.fromHTTP('Sunday, 06-Nov-94 08:49:37 GMT')
5261   * @example DateTime.fromHTTP('Sun Nov  6 08:49:37 1994')
5262   * @return {DateTime}
5263   */
5264  static fromHTTP(t, r = {}) {
5265    const [i, l] = vO(t);
5266    return vl(i, l, r, "HTTP", r);
5267  }
5268  /**
5269   * Create a DateTime from an input string and format string.
5270   * Defaults to en-US if no locale has been specified, regardless of the system's locale. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/parsing?id=table-of-tokens).
5271   * @param {string} text - the string to parse
5272   * @param {string} fmt - the format the string is expected to be in (see the link below for the formats)
5273   * @param {Object} opts - options to affect the creation
5274   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
5275   * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
5276   * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
5277   * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
5278   * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
5279   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
5280   * @return {DateTime}
5281   */
5282  static fromFormat(t, r, i = {}) {
5283    if (Te(t) || Te(r))
5284      throw new cn("fromFormat requires an input string and a format");
5285    const { locale: l = null, numberingSystem: s = null } = i, f = Ke.fromOpts({
5286      locale: l,
5287      numberingSystem: s,
5288      defaultToEN: !0
5289    }), [h, m, g, p] = BO(f, t, r);
5290    return p ? ye.invalid(p) : vl(h, m, i, `format ${r}`, t, g);
5291  }
5292  /**
5293   * @deprecated use fromFormat instead
5294   */
5295  static fromString(t, r, i = {}) {
5296    return ye.fromFormat(t, r, i);
5297  }
5298  /**
5299   * Create a DateTime from a SQL date, time, or datetime
5300   * Defaults to en-US if no locale has been specified, regardless of the system's locale
5301   * @param {string} text - the string to parse
5302   * @param {Object} opts - options to affect the creation
5303   * @param {string|Zone} [opts.zone='local'] - use this zone if no offset is specified in the input string itself. Will also convert the DateTime to this zone
5304   * @param {boolean} [opts.setZone=false] - override the zone with a zone specified in the string itself, if it specifies one
5305   * @param {string} [opts.locale='en-US'] - a locale string to use when parsing. Will also set the DateTime to this locale
5306   * @param {string} opts.numberingSystem - the numbering system to use when parsing. Will also set the resulting DateTime to this numbering system
5307   * @param {string} opts.weekSettings - the week settings to set on the resulting DateTime instance
5308   * @param {string} opts.outputCalendar - the output calendar to set on the resulting DateTime instance
5309   * @example DateTime.fromSQL('2017-05-15')
5310   * @example DateTime.fromSQL('2017-05-15 09:12:34')
5311   * @example DateTime.fromSQL('2017-05-15 09:12:34.342')
5312   * @example DateTime.fromSQL('2017-05-15 09:12:34.342+06:00')
5313   * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles')
5314   * @example DateTime.fromSQL('2017-05-15 09:12:34.342 America/Los_Angeles', { setZone: true })
5315   * @example DateTime.fromSQL('2017-05-15 09:12:34.342', { zone: 'America/Los_Angeles' })
5316   * @example DateTime.fromSQL('09:12:34.342')
5317   * @return {DateTime}
5318   */
5319  static fromSQL(t, r = {}) {
5320    const [i, l] = wO(t);
5321    return vl(i, l, r, "SQL", t);
5322  }
5323  /**
5324   * Create an invalid DateTime.
5325   * @param {string} reason - simple string of why this DateTime is invalid. Should not contain parameters or anything else data-dependent.
5326   * @param {string} [explanation=null] - longer explanation, may include parameters and other useful debugging information
5327   * @return {DateTime}
5328   */
5329  static invalid(t, r = null) {
5330    if (!t)
5331      throw new cn("need to specify a reason the DateTime is invalid");
5332    const i = t instanceof Or ? t : new Or(t, r);
5333    if ($t.throwOnInvalid)
5334      throw new Ww(i);
5335    return new ye({ invalid: i });
5336  }
5337  /**
5338   * Check if an object is an instance of DateTime. Works across context boundaries
5339   * @param {object} o
5340   * @return {boolean}
5341   */
5342  static isDateTime(t) {
5343    return t && t.isLuxonDateTime || !1;
5344  }
5345  /**
5346   * Produce the format string for a set of options
5347   * @param formatOpts
5348   * @param localeOpts
5349   * @returns {string}
5350   */
5351  static parseFormatForOpts(t, r = {}) {
5352    const i = Q8(t, Ke.fromObject(r));
5353    return i ? i.map((l) => l ? l.val : null).join("") : null;
5354  }
5355  /**
5356   * Produce the the fully expanded format token for the locale
5357   * Does NOT quote characters, so quoted tokens will not round trip correctly
5358   * @param fmt
5359   * @param localeOpts
5360   * @returns {string}
5361   */
5362  static expandFormat(t, r = {}) {
5363    return G8(wr.parseFormat(t), Ke.fromObject(r)).map((l) => l.val).join("");
5364  }
5365  static resetCache() {
5366    Ds = void 0, Hg.clear();
5367  }
5368  // INFO
5369  /**
5370   * Get the value of unit.
5371   * @param {string} unit - a unit such as 'minute' or 'day'
5372   * @example DateTime.local(2017, 7, 4).get('month'); //=> 7
5373   * @example DateTime.local(2017, 7, 4).get('day'); //=> 4
5374   * @return {number}
5375   */
5376  get(t) {
5377    return this[t];
5378  }
5379  /**
5380   * Returns whether the DateTime is valid. Invalid DateTimes occur when:
5381   * * The DateTime was created from invalid calendar information, such as the 13th month or February 30
5382   * * The DateTime was created by an operation on another invalid date
5383   * @type {boolean}
5384   */
5385  get isValid() {
5386    return this.invalid === null;
5387  }
5388  /**
5389   * Returns an error code if this DateTime is invalid, or null if the DateTime is valid
5390   * @type {string}
5391   */
5392  get invalidReason() {
5393    return this.invalid ? this.invalid.reason : null;
5394  }
5395  /**
5396   * Returns an explanation of why this DateTime became invalid, or null if the DateTime is valid
5397   * @type {string}
5398   */
5399  get invalidExplanation() {
5400    return this.invalid ? this.invalid.explanation : null;
5401  }
5402  /**
5403   * Get the locale of a DateTime, such 'en-GB'. The locale is used when formatting the DateTime
5404   *
5405   * @type {string}
5406   */
5407  get locale() {
5408    return this.isValid ? this.loc.locale : null;
5409  }
5410  /**
5411   * Get the numbering system of a DateTime, such 'beng'. The numbering system is used when formatting the DateTime
5412   *
5413   * @type {string}
5414   */
5415  get numberingSystem() {
5416    return this.isValid ? this.loc.numberingSystem : null;
5417  }
5418  /**
5419   * Get the output calendar of a DateTime, such 'islamic'. The output calendar is used when formatting the DateTime
5420   *
5421   * @type {string}
5422   */
vendor: 5,472 bytes, lines 5423-5605
5423  get outputCalendar() {
5424    return this.isValid ? this.loc.outputCalendar : null;
5425  }
5426  /**
5427   * Get the time zone associated with this DateTime.
5428   * @type {Zone}
5429   */
5430  get zone() {
5431    return this._zone;
5432  }
5433  /**
5434   * Get the name of the time zone.
5435   * @type {string}
5436   */
5437  get zoneName() {
5438    return this.isValid ? this.zone.name : null;
5439  }
5440  /**
5441   * Get the year
5442   * @example DateTime.local(2017, 5, 25).year //=> 2017
5443   * @type {number}
5444   */
5445  get year() {
5446    return this.isValid ? this.c.year : NaN;
5447  }
5448  /**
5449   * Get the quarter
5450   * @example DateTime.local(2017, 5, 25).quarter //=> 2
5451   * @type {number}
5452   */
5453  get quarter() {
5454    return this.isValid ? Math.ceil(this.c.month / 3) : NaN;
5455  }
5456  /**
5457   * Get the month (1-12).
5458   * @example DateTime.local(2017, 5, 25).month //=> 5
5459   * @type {number}
5460   */
5461  get month() {
5462    return this.isValid ? this.c.month : NaN;
5463  }
5464  /**
5465   * Get the day of the month (1-30ish).
5466   * @example DateTime.local(2017, 5, 25).day //=> 25
5467   * @type {number}
5468   */
5469  get day() {
5470    return this.isValid ? this.c.day : NaN;
5471  }
5472  /**
5473   * Get the hour of the day (0-23).
5474   * @example DateTime.local(2017, 5, 25, 9).hour //=> 9
5475   * @type {number}
5476   */
5477  get hour() {
5478    return this.isValid ? this.c.hour : NaN;
5479  }
5480  /**
5481   * Get the minute of the hour (0-59).
5482   * @example DateTime.local(2017, 5, 25, 9, 30).minute //=> 30
5483   * @type {number}
5484   */
5485  get minute() {
5486    return this.isValid ? this.c.minute : NaN;
5487  }
5488  /**
5489   * Get the second of the minute (0-59).
5490   * @example DateTime.local(2017, 5, 25, 9, 30, 52).second //=> 52
5491   * @type {number}
5492   */
5493  get second() {
5494    return this.isValid ? this.c.second : NaN;
5495  }
5496  /**
5497   * Get the millisecond of the second (0-999).
5498   * @example DateTime.local(2017, 5, 25, 9, 30, 52, 654).millisecond //=> 654
5499   * @type {number}
5500   */
5501  get millisecond() {
5502    return this.isValid ? this.c.millisecond : NaN;
5503  }
5504  /**
5505   * Get the week year
5506   * @see https://en.wikipedia.org/wiki/ISO_week_date
5507   * @example DateTime.local(2014, 12, 31).weekYear //=> 2015
5508   * @type {number}
5509   */
5510  get weekYear() {
5511    return this.isValid ? I1(this).weekYear : NaN;
5512  }
5513  /**
5514   * Get the week number of the week year (1-52ish).
5515   * @see https://en.wikipedia.org/wiki/ISO_week_date
5516   * @example DateTime.local(2017, 5, 25).weekNumber //=> 21
5517   * @type {number}
5518   */
5519  get weekNumber() {
5520    return this.isValid ? I1(this).weekNumber : NaN;
5521  }
5522  /**
5523   * Get the day of the week.
5524   * 1 is Monday and 7 is Sunday
5525   * @see https://en.wikipedia.org/wiki/ISO_week_date
5526   * @example DateTime.local(2014, 11, 31).weekday //=> 4
5527   * @type {number}
5528   */
5529  get weekday() {
5530    return this.isValid ? I1(this).weekday : NaN;
5531  }
5532  /**
5533   * Returns true if this date is on a weekend according to the locale, false otherwise
5534   * @returns {boolean}
5535   */
5536  get isWeekend() {
5537    return this.isValid && this.loc.getWeekendDays().includes(this.weekday);
5538  }
5539  /**
5540   * Get the day of the week according to the locale.
5541   * 1 is the first day of the week and 7 is the last day of the week.
5542   * If the locale assigns Sunday as the first day of the week, then a date which is a Sunday will return 1,
5543   * @returns {number}
5544   */
5545  get localWeekday() {
5546    return this.isValid ? P1(this).weekday : NaN;
5547  }
5548  /**
5549   * Get the week number of the week year according to the locale. Different locales assign week numbers differently,
5550   * because the week can start on different days of the week (see localWeekday) and because a different number of days
5551   * is required for a week to count as the first week of a year.
5552   * @returns {number}
5553   */
5554  get localWeekNumber() {
5555    return this.isValid ? P1(this).weekNumber : NaN;
5556  }
5557  /**
5558   * Get the week year according to the locale. Different locales assign week numbers (and therefor week years)
5559   * differently, see localWeekNumber.
5560   * @returns {number}
5561   */
5562  get localWeekYear() {
5563    return this.isValid ? P1(this).weekYear : NaN;
5564  }
5565  /**
5566   * Get the ordinal (meaning the day of the year)
5567   * @example DateTime.local(2017, 5, 25).ordinal //=> 145
5568   * @type {number|DateTime}
5569   */
5570  get ordinal() {
5571    return this.isValid ? R1(this.c).ordinal : NaN;
5572  }
5573  /**
5574   * Get the human readable short month name, such as 'Oct'.
5575   * Defaults to the system's locale if no locale has been specified
5576   * @example DateTime.local(2017, 10, 30).monthShort //=> Oct
5577   * @type {string}
5578   */
5579  get monthShort() {
5580    return this.isValid ? hd.months("short", { locObj: this.loc })[this.month - 1] : null;
5581  }
5582  /**
5583   * Get the human readable long month name, such as 'October'.
5584   * Defaults to the system's locale if no locale has been specified
5585   * @example DateTime.local(2017, 10, 30).monthLong //=> October
5586   * @type {string}
5587   */
5588  get monthLong() {
5589    return this.isValid ? hd.months("long", { locObj: this.loc })[this.month - 1] : null;
5590  }
5591  /**
5592   * Get the human readable short weekday, such as 'Mon'.
5593   * Defaults to the system's locale if no locale has been specified
5594   * @example DateTime.local(2017, 10, 30).weekdayShort //=> Mon
5595   * @type {string}
5596   */
5597  get weekdayShort() {
5598    return this.isValid ? hd.weekdays("short", { locObj: this.loc })[this.weekday - 1] : null;
5599  }
5600  /**
5601   * Get the human readable long weekday, such as 'Monday'.
5602   * Defaults to the system's locale if no locale has been specified
5603   * @example DateTime.local(2017, 10, 30).weekdayLong //=> Monday
5604   * @type {string}
5605   */
vendor: 8,847 bytes, lines 5606-5827
5606  get weekdayLong() {
5607    return this.isValid ? hd.weekdays("long", { locObj: this.loc })[this.weekday - 1] : null;
5608  }
5609  /**
5610   * Get the UTC offset of this DateTime in minutes
5611   * @example DateTime.now().offset //=> -240
5612   * @example DateTime.utc().offset //=> 0
5613   * @type {number}
5614   */
5615  get offset() {
5616    return this.isValid ? +this.o : NaN;
5617  }
5618  /**
5619   * Get the short human name for the zone's current offset, for example "EST" or "EDT".
5620   * Defaults to the system's locale if no locale has been specified
5621   * @type {string}
5622   */
5623  get offsetNameShort() {
5624    return this.isValid ? this.zone.offsetName(this.ts, {
5625      format: "short",
5626      locale: this.locale
5627    }) : null;
5628  }
5629  /**
5630   * Get the long human name for the zone's current offset, for example "Eastern Standard Time" or "Eastern Daylight Time".
5631   * Defaults to the system's locale if no locale has been specified
5632   * @type {string}
5633   */
5634  get offsetNameLong() {
5635    return this.isValid ? this.zone.offsetName(this.ts, {
5636      format: "long",
5637      locale: this.locale
5638    }) : null;
5639  }
5640  /**
5641   * Get whether this zone's offset ever changes, as in a DST.
5642   * @type {boolean}
5643   */
5644  get isOffsetFixed() {
5645    return this.isValid ? this.zone.isUniversal : null;
5646  }
5647  /**
5648   * Get whether the DateTime is in a DST.
5649   * @type {boolean}
5650   */
5651  get isInDST() {
5652    return this.isOffsetFixed ? !1 : this.offset > this.set({ month: 1, day: 1 }).offset || this.offset > this.set({ month: 5 }).offset;
5653  }
5654  /**
5655   * Get those DateTimes which have the same local time as this DateTime, but a different offset from UTC
5656   * in this DateTime's zone. During DST changes local time can be ambiguous, for example
5657   * `2023-10-29T02:30:00` in `Europe/Berlin` can have offset `+01:00` or `+02:00`.
5658   * This method will return both possible DateTimes if this DateTime's local time is ambiguous.
5659   * @returns {DateTime[]}
5660   */
5661  getPossibleOffsets() {
5662    if (!this.isValid || this.isOffsetFixed)
5663      return [this];
5664    const t = 864e5, r = 6e4, i = Ah(this.c), l = this.zone.offset(i - t), s = this.zone.offset(i + t), f = this.zone.offset(i - l * r), h = this.zone.offset(i - s * r);
5665    if (f === h)
5666      return [this];
5667    const m = i - f * r, g = i - h * r, p = gd(m, f), b = gd(g, h);
5668    return p.hour === b.hour && p.minute === b.minute && p.second === b.second && p.millisecond === b.millisecond ? [Xi(this, { ts: m }), Xi(this, { ts: g })] : [this];
5669  }
5670  /**
5671   * Returns true if this DateTime is in a leap year, false otherwise
5672   * @example DateTime.local(2016).isInLeapYear //=> true
5673   * @example DateTime.local(2013).isInLeapYear //=> false
5674   * @type {boolean}
5675   */
5676  get isInLeapYear() {
5677    return vc(this.year);
5678  }
5679  /**
5680   * Returns the number of days in this DateTime's month
5681   * @example DateTime.local(2016, 2).daysInMonth //=> 29
5682   * @example DateTime.local(2016, 3).daysInMonth //=> 31
5683   * @type {number}
5684   */
5685  get daysInMonth() {
5686    return Zd(this.year, this.month);
5687  }
5688  /**
5689   * Returns the number of days in this DateTime's year
5690   * @example DateTime.local(2016).daysInYear //=> 366
5691   * @example DateTime.local(2013).daysInYear //=> 365
5692   * @type {number}
5693   */
5694  get daysInYear() {
5695    return this.isValid ? Ll(this.year) : NaN;
5696  }
5697  /**
5698   * Returns the number of weeks in this DateTime's year
5699   * @see https://en.wikipedia.org/wiki/ISO_week_date
5700   * @example DateTime.local(2004).weeksInWeekYear //=> 53
5701   * @example DateTime.local(2013).weeksInWeekYear //=> 52
5702   * @type {number}
5703   */
5704  get weeksInWeekYear() {
5705    return this.isValid ? Gs(this.weekYear) : NaN;
5706  }
5707  /**
5708   * Returns the number of weeks in this DateTime's local week year
5709   * @example DateTime.local(2020, 6, {locale: 'en-US'}).weeksInLocalWeekYear //=> 52
5710   * @example DateTime.local(2020, 6, {locale: 'de-DE'}).weeksInLocalWeekYear //=> 53
5711   * @type {number}
5712   */
5713  get weeksInLocalWeekYear() {
5714    return this.isValid ? Gs(
5715      this.localWeekYear,
5716      this.loc.getMinDaysInFirstWeek(),
5717      this.loc.getStartOfWeek()
5718    ) : NaN;
5719  }
5720  /**
5721   * Returns the resolved Intl options for this DateTime.
5722   * This is useful in understanding the behavior of formatting methods
5723   * @param {Object} opts - the same options as toLocaleString
5724   * @return {Object}
5725   */
5726  resolvedLocaleOptions(t = {}) {
5727    const { locale: r, numberingSystem: i, calendar: l } = wr.create(
5728      this.loc.clone(t),
5729      t
5730    ).resolvedOptions(this);
5731    return { locale: r, numberingSystem: i, outputCalendar: l };
5732  }
5733  // TRANSFORM
5734  /**
5735   * "Set" the DateTime's zone to UTC. Returns a newly-constructed DateTime.
5736   *
5737   * Equivalent to {@link DateTime#setZone}('utc')
5738   * @param {number} [offset=0] - optionally, an offset from UTC in minutes
5739   * @param {Object} [opts={}] - options to pass to `setZone()`
5740   * @return {DateTime}
5741   */
5742  toUTC(t = 0, r = {}) {
5743    return this.setZone(vn.instance(t), r);
5744  }
5745  /**
5746   * "Set" the DateTime's zone to the host's local zone. Returns a newly-constructed DateTime.
5747   *
5748   * Equivalent to `setZone('local')`
5749   * @return {DateTime}
5750   */
5751  toLocal() {
5752    return this.setZone($t.defaultZone);
5753  }
5754  /**
5755   * "Set" the DateTime's zone to specified zone. Returns a newly-constructed DateTime.
5756   *
5757   * By default, the setter keeps the underlying time the same (as in, the same timestamp), but the new instance will report different local times and consider DSTs when making computations, as with {@link DateTime#plus}. You may wish to use {@link DateTime#toLocal} and {@link DateTime#toUTC} which provide simple convenience wrappers for commonly used zones.
5758   * @param {string|Zone} [zone='local'] - a zone identifier. As a string, that can be any IANA zone supported by the host environment, or a fixed-offset name of the form 'UTC+3', or the strings 'local' or 'utc'. You may also supply an instance of a {@link DateTime#Zone} class.
5759   * @param {Object} opts - options
5760   * @param {boolean} [opts.keepLocalTime=false] - If true, adjust the underlying time so that the local time stays the same, but in the target zone. You should rarely need this.
5761   * @return {DateTime}
5762   */
5763  setZone(t, { keepLocalTime: r = !1, keepCalendarTime: i = !1 } = {}) {
5764    if (t = hi(t, $t.defaultZone), t.equals(this.zone))
5765      return this;
5766    if (t.isValid) {
5767      let l = this.ts;
5768      if (r || i) {
5769        const s = t.offset(this.ts), f = this.toObject();
5770        [l] = Ld(f, s, t);
5771      }
5772      return Xi(this, { ts: l, zone: t });
5773    } else
5774      return ye.invalid(Rs(t));
5775  }
5776  /**
5777   * "Set" the locale, numberingSystem, or outputCalendar. Returns a newly-constructed DateTime.
5778   * @param {Object} properties - the properties to set
5779   * @example DateTime.local(2017, 5, 25).reconfigure({ locale: 'en-GB' })
5780   * @return {DateTime}
5781   */
5782  reconfigure({ locale: t, numberingSystem: r, outputCalendar: i } = {}) {
5783    const l = this.loc.clone({ locale: t, numberingSystem: r, outputCalendar: i });
5784    return Xi(this, { loc: l });
5785  }
5786  /**
5787   * "Set" the locale. Returns a newly-constructed DateTime.
5788   * Just a convenient alias for reconfigure({ locale })
5789   * @example DateTime.local(2017, 5, 25).setLocale('en-GB')
5790   * @return {DateTime}
5791   */
5792  setLocale(t) {
5793    return this.reconfigure({ locale: t });
5794  }
5795  /**
5796   * "Set" the values of specified units. Returns a newly-constructed DateTime.
5797   * You can only set units with this method; for "setting" metadata, see {@link DateTime#reconfigure} and {@link DateTime#setZone}.
5798   *
5799   * This method also supports setting locale-based week units, i.e. `localWeekday`, `localWeekNumber` and `localWeekYear`.
5800   * They cannot be mixed with ISO-week units like `weekday`.
5801   * @param {Object} values - a mapping of units to numbers
5802   * @example dt.set({ year: 2017 })
5803   * @example dt.set({ hour: 8, minute: 30 })
5804   * @example dt.set({ weekday: 5 })
5805   * @example dt.set({ year: 2005, ordinal: 234 })
5806   * @return {DateTime}
5807   */
5808  set(t) {
5809    if (!this.isValid) return this;
5810    const r = Qd(t, bS), { minDaysInFirstWeek: i, startOfWeek: l } = iS(r, this.loc), s = !Te(r.weekYear) || !Te(r.weekNumber) || !Te(r.weekday), f = !Te(r.ordinal), h = !Te(r.year), m = !Te(r.month) || !Te(r.day), g = h || m, p = r.weekYear || r.weekNumber;
5811    if ((g || f) && p)
5812      throw new Dl(
5813        "Can't mix weekYear/weekNumber units with year/month/day or ordinals"
5814      );
5815    if (m && f)
5816      throw new Dl("Can't mix ordinal dates with month/day");
5817    let b;
5818    s ? b = rS(
5819      { ...Yd(this.c, i, l), ...r },
5820      i,
5821      l
5822    ) : Te(r.ordinal) ? (b = { ...this.toObject(), ...r }, Te(r.day) && (b.day = Math.min(Zd(b.year, b.month), b.day))) : b = aS({ ...R1(this.c), ...r });
5823    const [S, w] = Ld(b, this.o, this.zone);
5824    return Xi(this, { ts: S, o: w });
5825  }
5826  /**
5827   * Add a period of time to this DateTime and return the resulting DateTime
5828   *
5829   * Adding hours, minutes, seconds, or milliseconds increases the timestamp by the right number of milliseconds. Adding days, months, or years shifts the calendar, accounting for DSTs and leap years along the way. Thus, `dt.plus({ hours: 24 })` may result in a different time than `dt.plus({ days: 1 })` if there's a DST shift in between.
5830   * @param {Duration|Object|number} duration - The amount to add. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
5831   * @example DateTime.now().plus(123) //~> in 123 milliseconds
5832   * @example DateTime.now().plus({ minutes: 15 }) //~> in 15 minutes
5833   * @example DateTime.now().plus({ days: 1 }) //~> this time tomorrow
5834   * @example DateTime.now().plus({ days: -1 }) //~> this time yesterday
5835   * @example DateTime.now().plus({ hours: 3, minutes: 13 }) //~> in 3 hr, 13 min
5836   * @example DateTime.now().plus(Duration.fromObject({ hours: 3, minutes: 13 })) //~> in 3 hr, 13 min
5837   * @return {DateTime}
5838   */
5839  plus(t) {
5840    if (!this.isValid) return this;
5841    const r = Fe.fromDurationLike(t);
5842    return Xi(this, yS(this, r));
5843  }
5844  /**
5845   * Subtract a period of time to this DateTime and return the resulting DateTime
5846   * See {@link DateTime#plus}
5847   * @param {Duration|Object|number} duration - The amount to subtract. Either a Luxon Duration, a number of milliseconds, the object argument to Duration.fromObject()
5848   @return {DateTime}
5849   */
5850  minus(t) {
5851    if (!this.isValid) return this;
5852    const r = Fe.fromDurationLike(t).negate();
5853    return Xi(this, yS(this, r));
5854  }
5855  /**
5856   * "Set" this DateTime to the beginning of a unit of time.
5857   * @param {string} unit - The unit to go to the beginning of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
5858   * @param {Object} opts - options
5859   * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
5860   * @example DateTime.local(2014, 3, 3).startOf('month').toISODate(); //=> '2014-03-01'
5861   * @example DateTime.local(2014, 3, 3).startOf('year').toISODate(); //=> '2014-01-01'
5862   * @example DateTime.local(2014, 3, 3).startOf('week').toISODate(); //=> '2014-03-03', weeks always start on Mondays
5863   * @example DateTime.local(2014, 3, 3, 5, 30).startOf('day').toISOTime(); //=> '00:00.000-05:00'
5864   * @example DateTime.local(2014, 3, 3, 5, 30).startOf('hour').toISOTime(); //=> '05:00:00.000-05:00'
5865   * @return {DateTime}
5866   */
5867  startOf(t, { useLocaleWeeks: r = !1 } = {}) {
5868    if (!this.isValid) return this;
5869    const i = {}, l = Fe.normalizeUnit(t);
5870    switch (l) {
5871      case "years":
5872        i.month = 1;
5873      // falls through
5874      case "quarters":
5875      case "months":
5876        i.day = 1;
5877      // falls through
5878      case "weeks":
5879      case "days":
5880        i.hour = 0;
5881      // falls through
5882      case "hours":
5883        i.minute = 0;
5884      // falls through
5885      case "minutes":
5886        i.second = 0;
5887      // falls through
5888      case "seconds":
5889        i.millisecond = 0;
5890        break;
5891    }
5892    if (l === "weeks")
5893      if (r) {
5894        const s = this.loc.getStartOfWeek(), { weekday: f } = this;
5895        f < s && (i.weekNumber = this.weekNumber - 1), i.weekday = s;
5896      } else
5897        i.weekday = 1;
5898    if (l === "quarters") {
5899      const s = Math.ceil(this.month / 3);
5900      i.month = (s - 1) * 3 + 1;
5901    }
5902    return this.set(i);
5903  }
5904  /**
5905   * "Set" this DateTime to the end (meaning the last millisecond) of a unit of time
5906   * @param {string} unit - The unit to go to the end of. Can be 'year', 'quarter', 'month', 'week', 'day', 'hour', 'minute', 'second', or 'millisecond'.
5907   * @param {Object} opts - options
5908   * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week
5909   * @example DateTime.local(2014, 3, 3).endOf('month').toISO(); //=> '2014-03-31T23:59:59.999-05:00'
5910   * @example DateTime.local(2014, 3, 3).endOf('year').toISO(); //=> '2014-12-31T23:59:59.999-05:00'
5911   * @example DateTime.local(2014, 3, 3).endOf('week').toISO(); // => '2014-03-09T23:59:59.999-05:00', weeks start on Mondays
5912   * @example DateTime.local(2014, 3, 3, 5, 30).endOf('day').toISO(); //=> '2014-03-03T23:59:59.999-05:00'
5913   * @example DateTime.local(2014, 3, 3, 5, 30).endOf('hour').toISO(); //=> '2014-03-03T05:59:59.999-05:00'
5914   * @return {DateTime}
5915   */
5916  endOf(t, r) {
5917    return this.isValid ? this.plus({ [t]: 1 }).startOf(t, r).minus(1) : this;
5918  }
5919  // OUTPUT
5920  /**
5921   * Returns a string representation of this DateTime formatted according to the specified format str
5921ing.
5922   * **You may not want this.** See {@link DateTime#toLocaleString} for a more flexible formatting tool. For a table of tokens and their interpretations, see [here](https://moment.github.io/luxon/#/formatting?id=table-of-tokens).
5923   * Defaults to en-US if no locale has been specified, regardless of the system's locale.
5924   * @param {string} fmt - the format string
5925   * @param {Object} opts - opts to override the configuration options on this DateTime
5926   * @example DateTime.now().toFormat('yyyy LLL dd') //=> '2017 Apr 22'
5927   * @example DateTime.now().setLocale('fr').toFormat('yyyy LLL dd') //=> '2017 avr. 22'
5928   * @example DateTime.now().toFormat('yyyy LLL dd', { locale: "fr" }) //=> '2017 avr. 22'
5929   * @example DateTime.now().toFormat("HH 'hours and' mm 'minutes'") //=> '20 hours and 55 minutes'
5930   * @return {string}
5931   */
5932  toFormat(t, r = {}) {
5933    return this.isValid ? wr.create(this.loc.redefaultToEN(r)).formatDateTimeFromString(this, t) : M1;
5934  }
5935  /**
5936   * Returns a localized string representing this date. Accepts the same options as the Intl.DateTimeFormat constructor and any presets defined by Luxon, such as `DateTime.DATE_FULL` or `DateTime.TIME_SIMPLE`.
5937   * The exact behavior of this method is browser-specific, but in general it will return an appropriate representation
5938   * of the DateTime in the assigned locale.
5939   * Defaults to the system's locale if no locale has been specified
5940   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat
5941   * @param formatOpts {Object} - Intl.DateTimeFormat constructor options and configuration options
5942   * @param {Object} opts - opts to override the configuration options on this DateTime
5943   * @example DateTime.now().toLocaleString(); //=> 4/20/2017
5944   * @example DateTime.now().setLocale('en-gb').toLocaleString(); //=> '20/04/2017'
5945   * @example DateTime.now().toLocaleString(DateTime.DATE_FULL); //=> 'April 20, 2017'
5946   * @example DateTime.now().toLocaleString(DateTime.DATE_FULL, { locale: 'fr' }); //=> '28 août 2022'
5947   * @example DateTime.now().toLocaleString(DateTime.TIME_SIMPLE); //=> '11:32 AM'
5948   * @example DateTime.now().toLocaleString(DateTime.DATETIME_SHORT); //=> '4/20/2017, 11:32 AM'
5949   * @example DateTime.now().toLocaleString({ weekday: 'long', month: 'long', day: '2-digit' }); //=> 'Thursday, April 20'
5950   * @example DateTime.now().toLocaleString({ weekday: 'short', month: 'short', day: '2-digit', hour: '2-digit', minute: '2-digit' }); //=> 'Thu, Apr 20, 11:27 AM'
5951   * @example DateTime.now().toLocaleString({ hour: '2-digit', minute: '2-digit', hourCycle: 'h23' }); //=> '11:32'
5952   * @return {string}
5953   */
5954  toLocaleString(t = Gd, r = {}) {
5955    return this.isValid ? wr.create(this.loc.clone(r), t).formatDateTime(this) : M1;
5956  }
5957  /**
5958   * Returns an array of format "parts", meaning individual tokens along with metadata. This is allows callers to post-process individual sections of the formatted output.
5959   * Defaults to the system's locale if no locale has been specified
5960   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/DateTimeFormat/formatToParts
5961   * @param opts {Object} - Intl.DateTimeFormat constructor options, same as `toLocaleString`.
5962   * @example DateTime.now().toLocaleParts(); //=> [
5963   *                                   //=>   { type: 'day', value: '25' },
5964   *                                   //=>   { type: 'literal', value: '/' },
5965   *                                   //=>   { type: 'month', value: '05' },
5966   *                                   //=>   { type: 'literal', value: '/' },
5967   *                                   //=>   { type: 'year', value: '1982' }
5968   *                                   //=> ]
5969   */
5970  toLocaleParts(t = {}) {
5971    return this.isValid ? wr.create(this.loc.clone(t), t).formatDateTimeParts(this) : [];
5972  }
5973  /**
5974   * Returns an ISO 8601-compliant string representation of this DateTime
5975   * @param {Object} opts - options
5976   * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
5977   * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
5978   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
5979   * @param {boolean} [opts.extendedZone=false] - add the time zone format extension
5980   * @param {string} [opts.format='extended'] - choose between the basic and extended format
5981   * @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'years', 'months', 'days', 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
5982   * @example DateTime.utc(1983, 5, 25).toISO() //=> '1982-05-25T00:00:00.000Z'
5983   * @example DateTime.now().toISO() //=> '2017-04-22T20:47:05.335-04:00'
5984   * @example DateTime.now().toISO({ includeOffset: false }) //=> '2017-04-22T20:47:05.335'
5985   * @example DateTime.now().toISO({ format: 'basic' }) //=> '20170422T204705.335-0400'
5986   * @example DateTime.now().toISO({ precision: 'day' }) //=> '2017-04-22Z'
5987   * @example DateTime.now().toISO({ precision: 'minute' }) //=> '2017-04-22T20:47Z'
5988   * @return {string|null}
5989   */
5990  toISO({
5991    format: t = "extended",
5992    suppressSeconds: r = !1,
5993    suppressMilliseconds: i = !1,
5994    includeOffset: l = !0,
5995    extendedZone: s = !1,
5996    precision: f = "milliseconds"
5997  } = {}) {
5998    if (!this.isValid)
5999      return null;
6000    f = Ud(f);
6001    const h = t === "extended";
6002    let m = k1(this, h, f);
6003    return zd.indexOf(f) >= 3 && (m += "T"), m += vS(
6004      this,
6005      h,
6006      r,
6007      i,
6008      l,
6009      s,
6010      f
6011    ), m;
6012  }
6013  /**
6014   * Returns an ISO 8601-compliant string representation of this DateTime's date component
6015   * @param {Object} opts - options
6016   * @param {string} [opts.format='extended'] - choose between the basic and extended format
6017   * @param {string} [opts.precision='day'] - truncate output to desired precision: 'years', 'months', or 'days'.
6018   * @example DateTime.utc(1982, 5, 25).toISODate() //=> '1982-05-25'
6019   * @example DateTime.utc(1982, 5, 25).toISODate({ format: 'basic' }) //=> '19820525'
6020   * @example DateTime.utc(1982, 5, 25).toISODate({ precision: 'month' }) //=> '1982-05'
6021   * @return {string|null}
6022   */
6023  toISODate({ format: t = "extended", precision: r = "day" } = {}) {
6024    return this.isValid ? k1(this, t === "extended", Ud(r)) : null;
6025  }
6026  /**
6027   * Returns an ISO 8601-compliant string representation of this DateTime's week date
6028   * @example DateTime.utc(1982, 5, 25).toISOWeekDate() //=> '1982-W21-2'
6029   * @return {string}
6030   */
6031  toISOWeekDate() {
6032    return pd(this, "kkkk-'W'WW-c");
6033  }
6034  /**
6035   * Returns an ISO 8601-compliant string representation of this DateTime's time component
6036   * @param {Object} opts - options
6037   * @param {boolean} [opts.suppressMilliseconds=false] - exclude milliseconds from the format if they're 0
6038   * @param {boolean} [opts.suppressSeconds=false] - exclude seconds from the format if they're 0
6039   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
6040   * @param {boolean} [opts.extendedZone=true] - add the time zone format extension
6041   * @param {boolean} [opts.includePrefix=false] - include the `T` prefix
6042   * @param {string} [opts.format='extended'] - choose between the basic and extended format
6043   * @param {string} [opts.precision='milliseconds'] - truncate output to desired presicion: 'hours', 'minutes', 'seconds' or 'milliseconds'. When precision and suppressSeconds or suppressMilliseconds are used together, precision sets the maximum unit shown in the output, however seconds or milliseconds will still be suppressed if they are 0.
6044   * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime() //=> '07:34:19.361Z'
6045   * @example DateTime.utc().set({ hour: 7, minute: 34, seconds: 0, milliseconds: 0 }).toISOTime({ suppressSeconds: true }) //=> '07:34Z'
6046   * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ format: 'basic' }) //=> '073419.361Z'
6047   * @example DateTime.utc().set({ hour: 7, minute: 34 }).toISOTime({ includePrefix: true }) //=> 'T07:34:19.361Z'
6048   * @example DateTime.utc().set({ hour: 7, minute: 34, second: 56 }).toISOTime({ precision: 'minute' }) //=> '07:34Z'
6049   * @return {string}
6050   */
6051  toISOTime({
6052    suppressMilliseconds: t = !1,
6053    suppressSeconds: r = !1,
6054    includeOffset: i = !0,
6055    includePrefix: l = !1,
6056    extendedZone: s = !1,
6057    format: f = "extended",
6058    precision: h = "milliseconds"
6059  } = {}) {
6060    return this.isValid ? (h = Ud(h), (l && zd.indexOf(h) >= 3 ? "T" : "") + vS(
6061      this,
6062      f === "extended",
6063      r,
6064      t,
6065      i,
6066      s,
6067      h
6068    )) : null;
6069  }
6070  /**
6071   * Returns an RFC 2822-compatible string representation of this DateTime
6072   * @example DateTime.utc(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 +0000'
6073   * @example DateTime.local(2014, 7, 13).toRFC2822() //=> 'Sun, 13 Jul 2014 00:00:00 -0400'
6074   * @return {string}
6075   */
6076  toRFC2822() {
6077    return pd(this, "EEE, dd LLL yyyy HH:mm:ss ZZZ", !1);
6078  }
6079  /**
6080   * Returns a string representation of this DateTime appropriate for use in HTTP headers. The output is always expressed in GMT.
6081   * Specifically, the string conforms to RFC 1123.
6082   * @see https://www.w3.org/Protocols/rfc2616/rfc2616-sec3.html#sec3.3.1
6083   * @example DateTime.utc(2014, 7, 13).toHTTP() //=> 'Sun, 13 Jul 2014 00:00:00 GMT'
6084   * @example DateTime.utc(2014, 7, 13, 19).toHTTP() //=> 'Sun, 13 Jul 2014 19:00:00 GMT'
6085   * @return {string}
6086   */
6087  toHTTP() {
6088    return pd(this.toUTC(), "EEE, dd LLL yyyy HH:mm:ss 'GMT'");
6089  }
6090  /**
6091   * Returns a string representation of this DateTime appropriate for use in SQL Date
6092   * @example DateTime.utc(2014, 7, 13).toSQLDate() //=> '2014-07-13'
6093   * @return {string|null}
6094   */
6095  toSQLDate() {
6096    return this.isValid ? k1(this, !0) : null;
6097  }
6098  /**
6099   * Returns a string representation of this DateTime appropriate for use in SQL Time
6100   * @param {Object} opts - options
6101   * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
6102   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
6103   * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
6104   * @example DateTime.utc().toSQL() //=> '05:15:16.345'
6105   * @example DateTime.now().toSQL() //=> '05:15:16.345 -04:00'
6106   * @example DateTime.now().toSQL({ includeOffset: false }) //=> '05:15:16.345'
6107   * @example DateTime.now().toSQL({ includeZone: false }) //=> '05:15:16.345 America/New_York'
6108   * @return {string}
6109   */
6110  toSQLTime({ includeOffset: t = !0, includeZone: r = !1, includeOffsetSpace: i = !0 } = {}) {
6111    let l = "HH:mm:ss.SSS";
6112    return (r || t) && (i && (l += " "), r ? l += "z" : t && (l += "ZZ")), pd(this, l, !0);
6113  }
6114  /**
6115   * Returns a string representation of this DateTime appropriate for use in SQL DateTime
6116   * @param {Object} opts - options
6117   * @param {boolean} [opts.includeZone=false] - include the zone, such as 'America/New_York'. Overrides includeOffset.
6118   * @param {boolean} [opts.includeOffset=true] - include the offset, such as 'Z' or '-04:00'
6119   * @param {boolean} [opts.includeOffsetSpace=true] - include the space between the time and the offset, such as '05:15:16.345 -04:00'
6120   * @example DateTime.utc(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 Z'
6121   * @example DateTime.local(2014, 7, 13).toSQL() //=> '2014-07-13 00:00:00.000 -04:00'
6122   * @example DateTime.local(2014, 7, 13).toSQL({ includeOffset: false }) //=> '2014-07-13 00:00:00.000'
6123   * @example DateTime.local(2014, 7, 13).toSQL({ includeZone: true }) //=> '2014-07-13 00:00:00.000 America/New_York'
6124   * @return {string}
6125   */
6126  toSQL(t = {}) {
6127    return this.isValid ? `${this.toSQLDate()} ${this.toSQLTime(t)}` : null;
6128  }
6129  /**
6130   * Returns a string representation of this DateTime appropriate for debugging
6131   * @return {string}
6132   */
6133  toString() {
6134    return this.isValid ? this.toISO() : M1;
6135  }
6136  /**
6137   * Returns a string representation of this DateTime appropriate for the REPL.
6138   * @return {string}
6139   */
6140  [/* @__PURE__ */ Symbol.for("nodejs.util.inspect.custom")]() {
6141    return this.isValid ? `DateTime { ts: ${this.toISO()}, zone: ${this.zone.name}, locale: ${this.locale} }` : `DateTime { Invalid, reason: ${this.invalidReason} }`;
6142  }
6143  /**
6144   * Returns the epoch milliseconds of this DateTime. Alias of {@link DateTime#toMillis}
6145   * @return {number}
6146   */
6147  valueOf() {
6148    return this.toMillis();
6149  }
6150  /**
6151   * Returns the epoch milliseconds of this DateTime.
6152   * @return {number}
6153   */
6154  toMillis() {
6155    return this.isValid ? this.ts : NaN;
6156  }
6157  /**
6158   * Returns the epoch seconds (including milliseconds in the fractional part) of this DateTime.
6159   * @return {number}
6160   */
6161  toSeconds() {
6162    return this.isValid ? this.ts / 1e3 : NaN;
6163  }
6164  /**
6165   * Returns the epoch seconds (as a whole number) of this DateTime.
6166   * @return {number}
6167   */
6168  toUnixInteger() {
6169    return this.isValid ? Math.floor(this.ts / 1e3) : NaN;
6170  }
6171  /**
6172   * Returns an ISO 8601 representation of this DateTime appropriate for use in JSON.
6173   * @return {string}
6174   */
6175  toJSON() {
6176    return this.toISO();
6177  }
6178  /**
6179   * Returns a BSON serializable equivalent to this DateTime.
6180   * @return {Date}
6181   */
6182  toBSON() {
6183    return this.toJSDate();
6184  }
6185  /**
6186   * Returns a JavaScript object with this DateTime's year, month, day, and so on.
6187   * @param opts - options for generating the object
6188   * @param {boolean} [opts.includeConfig=false] - include configuration attributes in the output
6189   * @example DateTime.now().toObject() //=> { year: 2017, month: 4, day: 22, hour: 20, minute: 49, second: 42, millisecond: 268 }
6190   * @return {Object}
6191   */
6192  toObject(t = {}) {
6193    if (!this.isValid) return {};
6194    const r = { ...this.c };
6195    return t.includeConfig && (r.outputCalendar = this.outputCalendar, r.numberingSystem = this.loc.numberingSystem, r.locale = this.loc.locale), r;
6196  }
6197  /**
6198   * Returns a JavaScript Date equivalent to this DateTime.
6199   * @return {Date}
6200   */
6201  toJSDate() {
6202    return new Date(this.isValid ? this.ts : NaN);
6203  }
6204  // COMPARE
6205  /**
6206   * Return the difference between two DateTimes as a Duration.
6207   * @param {DateTime} otherDateTime - the DateTime to compare this one to
6208   * @param {string|string[]} [unit=['milliseconds']] - the unit or array of units (such as 'hours' or 'days') to include in the duration.
6209   * @param {Object} opts - options that affect the creation of the Duration
6210   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
6211   * @example
6212   * var i1 = DateTime.fromISO('1982-05-25T09:45'),
6213   *     i2 = DateTime.fromISO('1983-10-14T10:30');
6214   * i2.diff(i1).toObject() //=> { milliseconds: 43807500000 }
6215   * i2.diff(i1, 'hours').toObject() //=> { hours: 12168.75 }
6216   * i2.diff(i1, ['months', 'days']).toObject() //=> { months: 16, days: 19.03125 }
6217   * i2.diff(i1, ['months', 'days', 'hours']).toObject() //=> { months: 16, days: 19, hours: 0.75 }
6218   * @return {Duration}
6219   */
6220  diff(t, r = "milliseconds", i = {}) {
6221    if (!this.isValid || !t.isValid)
vendor: 5,505 bytes, lines 6222-6306
6222      return Fe.invalid("created by diffing an invalid DateTime");
6223    const l = { locale: this.locale, numberingSystem: this.numberingSystem, ...i }, s = A7(r).map(Fe.normalizeUnit), f = t.valueOf() > this.valueOf(), h = f ? this : t, m = f ? t : this, g = RO(h, m, s, l);
6224    return f ? g.negate() : g;
6225  }
6226  /**
6227   * Return the difference between this DateTime and right now.
6228   * See {@link DateTime#diff}
6229   * @param {string|string[]} [unit=['milliseconds']] - the unit or units units (such as 'hours' or 'days') to include in the duration
6230   * @param {Object} opts - options that affect the creation of the Duration
6231   * @param {string} [opts.conversionAccuracy='casual'] - the conversion system to use
6232   * @return {Duration}
6233   */
6234  diffNow(t = "milliseconds", r = {}) {
6235    return this.diff(ye.now(), t, r);
6236  }
6237  /**
6238   * Return an Interval spanning between this DateTime and another DateTime
6239   * @param {DateTime} otherDateTime - the other end point of the Interval
6240   * @return {Interval|DateTime}
6241   */
6242  until(t) {
6243    return this.isValid ? St.fromDateTimes(this, t) : this;
6244  }
6245  /**
6246   * Return whether this DateTime is in the same unit of time as another DateTime.
6247   * Higher-order units must also be identical for this function to return `true`.
6248   * Note that time zones are **ignored** in this comparison, which compares the **local** calendar time. Use {@link DateTime#setZone} to convert one of the dates if needed.
6249   * @param {DateTime} otherDateTime - the other DateTime
6250   * @param {string} unit - the unit of time to check sameness on
6251   * @param {Object} opts - options
6252   * @param {boolean} [opts.useLocaleWeeks=false] - If true, use weeks based on the locale, i.e. use the locale-dependent start of the week; only the locale of this DateTime is used
6253   * @example DateTime.now().hasSame(otherDT, 'day'); //~> true if otherDT is in the same current calendar day
6254   * @return {boolean}
6255   */
6256  hasSame(t, r, i) {
6257    if (!this.isValid) return !1;
6258    const l = t.valueOf(), s = this.setZone(t.zone, { keepLocalTime: !0 });
6259    return s.startOf(r, i) <= l && l <= s.endOf(r, i);
6260  }
6261  /**
6262   * Equality check
6263   * Two DateTimes are equal if and only if they represent the same millisecond, have the same zone and location, and are both valid.
6264   * To compare just the millisecond values, use `+dt1 === +dt2`.
6265   * @param {DateTime} other - the other DateTime
6266   * @return {boolean}
6267   */
6268  equals(t) {
6269    return this.isValid && t.isValid && this.valueOf() === t.valueOf() && this.zone.equals(t.zone) && this.loc.equals(t.loc);
6270  }
6271  /**
6272   * Returns a string representation of a this time relative to now, such as "in two days". Can only internationalize if your
6273   * platform supports Intl.RelativeTimeFormat. Rounds towards zero by default.
6274   * @param {Object} options - options that affect the output
6275   * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
6276   * @param {string} [options.style="long"] - the style of units, must be "long", "short", or "narrow"
6277   * @param {string|string[]} options.unit - use a specific unit or array of units; if omitted, or an array, the method will pick the best unit. Use an array or one of "years", "quarters", "months", "weeks", "days", "hours", "minutes", or "seconds"
6278   * @param {boolean} [options.round=true] - whether to round the numbers in the output.
6279   * @param {string} [options.rounding="trunc"] - rounding method to use when rounding the numbers in the output. Can be "trunc" (toward zero), "expand" (away from zero), "round", "floor", or "ceil".
6280   * @param {number} [options.padding=0] - padding in milliseconds. This allows you to round up the result if it fits inside the threshold. Don't use in combination with {round: false} because the decimal output will include the padding.
6281   * @param {string} options.locale - override the locale of this DateTime
6282   * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
6283   * @example DateTime.now().plus({ days: 1 }).toRelative() //=> "in 1 day"
6284   * @example DateTime.now().setLocale("es").toRelative({ days: 1 }) //=> "dentro de 1 día"
6285   * @example DateTime.now().plus({ days: 1 }).toRelative({ locale: "fr" }) //=> "dans 23 heures"
6286   * @example DateTime.now().minus({ days: 2 }).toRelative() //=> "2 days ago"
6287   * @example DateTime.now().minus({ days: 2 }).toRelative({ unit: "hours" }) //=> "48 hours ago"
6288   * @example DateTime.now().minus({ hours: 36 }).toRelative({ round: false }) //=> "1.5 days ago"
6289   */
6290  toRelative(t = {}) {
6291    if (!this.isValid) return null;
6292    const r = t.base || ye.fromObject({}, { zone: this.zone }), i = t.padding ? this < r ? -t.padding : t.padding : 0;
6293    let l = ["years", "months", "days", "hours", "minutes", "seconds"], s = t.unit;
6294    return Array.isArray(t.unit) && (l = t.unit, s = void 0), $S(r, this.plus(i), {
6295      ...t,
6296      numeric: "always",
6297      units: l,
6298      unit: s
6299    });
6300  }
6301  /**
6302   * Returns a string representation of this date relative to today, such as "yesterday" or "next month".
6303   * Only internationalizes on platforms that supports Intl.RelativeTimeFormat.
6304   * @param {Object} options - options that affect the output
6305   * @param {DateTime} [options.base=DateTime.now()] - the DateTime to use as the basis to which this time is compared. Defaults to now.
6306   * @param {string} options.locale - override the locale of this DateTime
6307   * @param {string} options.unit - use a specific unit; if omitted, the method will pick the unit. Use one of "years", "quarters", "months", "weeks", or "days"
6308   * @param {string} options.numberingSystem - override the numberingSystem of this DateTime. The Intl system may choose not to honor this
6309   * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar() //=> "tomorrow"
6310   * @example DateTime.now().setLocale("es").plus({ days: 1 }).toRelative() //=> ""mañana"
6311   * @example DateTime.now().plus({ days: 1 }).toRelativeCalendar({ locale: "fr" }) //=> "demain"
6312   * @example DateTime.now().minus({ days: 2 }).toRelativeCalendar() //=> "2 days ago"
6313   */
6314  toRelativeCalendar(t = {}) {
6315    return this.isValid ? $S(t.base || ye.fromObject({}, { zone: this.zone }), this, {
6316      ...t,
6317      numeric: "auto",
6318      units: ["years", "months", "days"],
6319      calendary: !0
6320    }) : null;
6321  }
6322  /**
6323   * Return the min of several date times
6324   * @param {...DateTime} dateTimes - the DateTimes from which to choose the minimum
6325   * @return {DateTime} the min DateTime, or undefined if called with no argument
6326   */
6327  static min(...t) {
6328    if (!t.every(ye.isDateTime))
6329      throw new cn("min requires all arguments be DateTimes");
6330    return oS(t, (r) => r.valueOf(), Math.min);
6331  }
6332  /**
6333   * Return the max of several date times
6334   * @param {...DateTime} dateTimes - the DateTimes from which to choose the maximum
6335   * @return {DateTime} the max DateTime, or undefined if called with no argument
6336   */
6337  static max(...t) {
6338    if (!t.every(ye.isDateTime))
6339      throw new cn("max requires all arguments be DateTimes");
6340    return oS(t, (r) => r.valueOf(), Math.max);
6341  }
6342  // MISC
6343  /**
6344   * Explain how a string would be parsed by fromFormat()
6345   * @param {string} text - the string to parse
6346   * @param {string} fmt - the format the string is expected to be in (see description)
6347   * @param {Object} options - options taken by fromFormat()
6348   * @return {Object}
6349   */
6350  static fromFormatExplain(t, r, i = {}) {
6351    const { locale: l = null, numberingSystem: s = null } = i, f = Ke.fromOpts({
6352      locale: l,
6353      numberingSystem: s,
6354      defaultToEN: !0
6355    });
6356    return Z8(f, t, r);
6357  }
6358  /**
6359   * @deprecated use fromFormatExplain instead
6360   */
6361  static fromStringExplain(t, r, i = {}) {
6362    return ye.fromFormatExplain(t, r, i);
6363  }
6364  /**
6365   * Build a parser for `fmt` using the given locale. This parser can be passed
6366   * to {@link DateTime.fromFormatParser} to a parse a date in this format. This
6367   * can be used to optimize cases where many dates need to be parsed in a
6368   * specific format.
6369   *
6370   * @param {String} fmt - the format the string is expected to be in (see
6371   * description)
6372   * @param {Object} options - options used to set locale and numberingSystem
6373   * for parser
6374   * @returns {TokenParser} - opaque object to be used
6375   */
6376  static buildFormatParser(t, r = {}) {
6377    const { locale: i = null, numberingSystem: l = null } = r, s = Ke.fromOpts({
6378      locale: i,
6379      numberingSystem: l,
6380      defaultToEN: !0
6381    });
6382    return new Y8(s, t);
6383  }
6384  /**
6385   * Create a DateTime from an input string and format parser.
6386   *
6387   * The format parser must have been created with the same locale as this call.
6388   *
6389   * @param {String} text - the string to parse
6390   * @param {TokenParser} formatParser - parser from {@link DateTime.buildFormatParser}
6391   * @param {Object} opts - options taken by fromFormat()
6392   * @returns {DateTime}
6393   */
6394  static fromFormatParser(t, r, i = {}) {
6395    if (Te(t) || Te(r))
6396      throw new cn(
6397        "fromFormatParser requires an input string and a format parser"
6398      );
6399    const { locale: l = null, numberingSystem: s = null } = i, f = Ke.fromOpts({
6400      locale: l,
6401      numberingSystem: s,
6402      defaultToEN: !0
6403    });
6404    if (!f.equals(r.locale))
6405      throw new cn(
6406        `fromFormatParser called with a locale of ${f}, but the format parser was created for ${r.locale}`
6407      );
6408    const { result: h, zone: m, specificOffset: g, invalidReason: p } = r.explainFromTokens(t);
6409    return p ? ye.invalid(p) : vl(
6410      h,
6411      m,
6412      i,
6413      `format ${r.format}`,
6414      t,
6415      g
6416    );
6417  }
6418  // FORMAT PRESETS
6419  /**
6420   * {@link DateTime#toLocaleString} format like 10/14/1983
6421   * @type {Object}
6422   */
6423  static get DATE_SHORT() {
6424    return Gd;
6425  }
6426  /**
6427   * {@link DateTime#toLocaleString} format like 'Oct 14, 1983'
6428   * @type {Object}
6429   */
6430  static get DATE_MED() {
6431    return W9;
6432  }
6433  /**
6434   * {@link DateTime#toLocaleString} format like 'Fri, Oct 14, 1983'
6435   * @type {Object}
6436   */
6437  static get DATE_MED_WITH_WEEKDAY() {
6438    return t7;
6439  }
6440  /**
6441   * {@link DateTime#toLocaleString} format like 'October 14, 1983'
6442   * @type {Object}
6443   */
6444  static get DATE_FULL() {
6445    return J9;
6446  }
6447  /**
6448   * {@link DateTime#toLocaleString} format like 'Tuesday, October 14, 1983'
6449   * @type {Object}
6450   */
6451  static get DATE_HUGE() {
6452    return e8;
6453  }
6454  /**
6455   * {@link DateTime#toLocaleString} format like '09:30 AM'. Only 12-hour if the locale is.
6456   * @type {Object}
6457   */
6458  static get TIME_SIMPLE() {
6459    return t8;
6460  }
6461  /**
6462   * {@link DateTime#toLocaleString} format like '09:30:23 AM'. Only 12-hour if the locale is.
6463   * @type {Object}
6464   */
6465  static get TIME_WITH_SECONDS() {
6466    return n8;
6467  }
6468  /**
6469   * {@link DateTime#toLocaleString} format like '09:30:23 AM EDT'. Only 12-hour if the locale is.
6470   * @type {Object}
6471   */
6472  static get TIME_WITH_SHORT_OFFSET() {
6473    return r8;
6474  }
6475  /**
6476   * {@link DateTime#toLocaleString} format like '09:30:23 AM Eastern Daylight Time'. Only 12-hour if the locale is.
6477   * @type {Object}
6478   */
6479  static get TIME_WITH_LONG_OFFSET() {
6480    return a8;
6481  }
6482  /**
6483   * {@link DateTime#toLocaleString} format like '09:30', always 24-hour.
6484   * @type {Object}
6485   */
6486  static get TIME_24_SIMPLE() {
6487    return i8;
6488  }
6489  /**
6490   * {@link DateTime#toLocaleString} format like '09:30:23', always 24-hour.
6491   * @type {Object}
6492   */
6493  static get TIME_24_WITH_SECONDS() {
6494    return o8;
6495  }
6496  /**
6497   * {@link DateTime#toLocaleString} format like '09:30:23 EDT', always 24-hour.
6498   * @type {Object}
6499   */
6500  static get TIME_24_WITH_SHORT_OFFSET() {
6501    return l8;
6502  }
6503  /**
6504   * {@link DateTime#toLocaleString} format like '09:30:23 Eastern Daylight Time', always 24-hour.
6505   * @type {Object}
6506   */
6507  static get TIME_24_WITH_LONG_OFFSET() {
6508    return u8;
6509  }
6510  /**
6511   * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30 AM'. Only 12-hour if the locale is.
6512   * @type {Object}
6513   */
6514  static get DATETIME_SHORT() {
6515    return s8;
6516  }
6517  /**
6518   * {@link DateTime#toLocaleString} format like '10/14/1983, 9:30:33 AM'. Only 12-hour if the locale is.
6519   * @type {Object}
6520   */
6521  static get DATETIME_SHORT_WITH_SECONDS() {
6522    return c8;
6523  }
6524  /**
6525   * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30 AM'. Only 12-hour if the locale is.
6526   * @type {Object}
6527   */
6528  static get DATETIME_MED() {
6529    return f8;
6530  }
6531  /**
6532   * {@link DateTime#toLocaleString} format like 'Oct 14, 1983, 9:30:33 AM'. Only 12-hour if the locale is.
6533   * @type {Object}
6534   */
6535  static get DATETIME_MED_WITH_SECONDS() {
6536    return d8;
6537  }
6538  /**
6539   * {@link DateTime#toLocaleString} format like 'Fri, 14 Oct 1983, 9:30 AM'. Only 12-hour if the locale is.
6540   * @type {Object}
6541   */
6542  static get DATETIME_MED_WITH_WEEKDAY() {
6543    return n7;
6544  }
6545  /**
6546   * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30 AM EDT'. Only 12-hour if the locale is.
6547   * @type {Object}
6548   */
6549  static get DATETIME_FULL() {
6550    return h8;
6551  }
6552  /**
6553   * {@link DateTime#toLocaleString} format like 'October 14, 1983, 9:30:33 AM EDT'. Only 12-hour if the locale is.
6554   * @type {Object}
6555   */
6556  static get DATETIME_FULL_WITH_SECONDS() {
6557    return m8;
6558  }
6559  /**
6560   * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30 AM Eastern Daylight Time'. Only 12-hour if the locale is.
6561   * @type {Object}
6562   */
6563  static get DATETIME_HUGE() {
6564    return g8;
6565  }
6566  /**
6567   * {@link DateTime#toLocaleString} format like 'Friday, October 14, 1983, 9:30:33 AM Eastern Daylight Time'. Only 12-hour if the locale is.
6568   * @type {Object}
6569   */
6570  static get DATETIME_HUGE_WITH_SECONDS() {
6571    return p8;
6572  }
6573}
6574function ss(e) {
6575  if (ye.isDateTime(e))
6576    return e;
6577  if (e && e.valueOf && pi(e.valueOf()))
6578    return ye.fromJSDate(e);
6579  if (e && typeof e == "object")
6580    return ye.fromObject(e);
6581  throw new cn(
6582    `Unknown datetime argument: ${e}, of type ${typeof e}`
6583  );
6584}
6585function Wt(e) {
6586  return `Minified Redux error #${e}; visit https://redux.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
6587}
6588var KO = typeof Symbol == "function" && Symbol.observable || "@@observable", TS = KO, L1 = () => Math.random().toString(36).substring(7).split("").join("."), XO = {
6589  INIT: `@@redux/INIT${/* @__PURE__ */ L1()}`,
6590  REPLACE: `@@redux/REPLACE${/* @__PURE__ */ L1()}`,
6591  PROBE_UNKNOWN_ACTION: () => `@@redux/PROBE_UNKNOWN_ACTION${L1()}`
6592}, Kd = XO;
6593function yi(e) {
6594  if (typeof e != "object" || e === null)
6595    return !1;
6596  let t = e;
6597  for (; Object.getPrototypeOf(t) !== null; )
6598    t = Object.getPrototypeOf(t);
6599  return Object.getPrototypeOf(e) === t || Object.getPrototypeOf(e) === null;
6600}
6601function W8(e, t, r) {
6602  if (typeof e != "function")
6603    throw new Error(Wt(2));
6604  if (typeof t == "function" && typeof r == "function" || typeof r == "function" && typeof arguments[3] == "function")
6605    throw new Error(Wt(0));
6606  if (typeof t == "function" && typeof r > "u" && (r = t, t = void 0), typeof r < "u") {
6607    if (typeof r != "function")
6608      throw new Error(Wt(1));
6609    return r(W8)(e, t);
6610  }
6611  let i = e, l = t, s = /* @__PURE__ */ new Map(), f = s, h = 0, m = !1;
6612  function g() {
6613    f === s && (f = /* @__PURE__ */ new Map(), s.forEach(($, A) => {
6614      f.set(A, $);
6615    }));
6616  }
6617  function p() {
6618    if (m)
6619      throw new Error(Wt(3));
6620    return l;
6621  }
6622  function b($) {
6623    if (typeof $ != "function")
6624      throw new Error(Wt(4));
6625    if (m)
6626      throw new Error(Wt(5));
6627    let A = !0;
6628    g();
6629    const D = h++;
6630    return f.set(D, $), function() {
6631      if (A) {
6632        if (m)
6633          throw new Error(Wt(6));
6634        A = !1, g(), f.delete(D), s = null;
6635      }
6636    };
6637  }
6638  function S($) {
6639    if (!yi($))
6640      throw new Error(Wt(7));
6641    if (typeof $.type > "u")
6642      throw new Error(Wt(8));
6643    if (typeof $.type != "string")
6644      throw new Error(Wt(17));
6645    if (m)
6646      throw new Error(Wt(9));
6647    try {
6648      m = !0, l = i(l, $);
6649    } finally {
6650      m = !1;
6651    }
6652    return (s = f).forEach((D) => {
6653      D();
6654    }), $;
6655  }
6656  function w($) {
6657    if (typeof $ != "function")
6658      throw new Error(Wt(10));
6659    i = $, S({
6660      type: Kd.REPLACE
6661    });
6662  }
6663  function T() {
6664    const $ = b;
6665    return {
6666      /**
6667       * The minimal observable subscription method.
6668       * @param observer Any object that can be used as an observer.
6669       * The observer object should have a `next` method.
6670       * @returns An object with an `unsubscribe` method that can
6671       * be used to unsubscribe the observable from the store, and prevent further
6672       * emission of values from the observable.
6673       */
6674      subscribe(A) {
6675        if (typeof A != "object" || A === null)
6676          throw new Error(Wt(11));
6677        function D() {
6678          const x = A;
6679          x.next && x.next(p());
6680        }
6681        return D(), {
6682          unsubscribe: $(D)
6683        };
6684      },
6685      [TS]() {
6686        return this;
6687      }
6688    };
6689  }
6690  return S({
6691    type: Kd.INIT
6692  }), {
6693    dispatch: S,
6694    subscribe: b,
6695    getState: p,
6696    replaceReducer: w,
6697    [TS]: T
6698  };
6699}
6700function WO(e) {
6701  Object.keys(e).forEach((t) => {
6702    const r = e[t];
6703    if (typeof r(void 0, {
6704      type: Kd.INIT
6705    }) > "u")
6706      throw new Error(Wt(12));
6707    if (typeof r(void 0, {
6708      type: Kd.PROBE_UNKNOWN_ACTION()
6709    }) > "u")
6710      throw new Error(Wt(13));
6711  });
6712}
6713function Qp(e) {
6714  const t = Object.keys(e), r = {};
6715  for (let s = 0; s < t.length; s++) {
6716    const f = t[s];
6717    typeof e[f] == "function" && (r[f] = e[f]);
6718  }
6719  const i = Object.keys(r);
6720  let l;
6721  try {
6722    WO(r);
6723  } catch (s) {
6724    l = s;
6725  }
6726  return function(f = {}, h) {
6727    if (l)
6728      throw l;
6729    let m = !1;
6730    const g = {};
6731    for (let p = 0; p < i.length; p++) {
6732      const b = i[p], S = r[b], w = f[b], T = S(w, h);
6733      if (typeof T > "u")
6734        throw h && h.type, new Error(Wt(14));
6735      g[b] = T, m = m || T !== w;
6736    }
6737    return m = m || i.length !== Object.keys(f).length, m ? g : f;
6738  };
6739}
6740function Ys(...e) {
6741  return e.length === 0 ? (t) => t : e.length === 1 ? e[0] : e.reduce((t, r) => (...i) => t(r(...i)));
6742}
6743function JO(...e) {
6744  return (t) => (r, i) => {
6745    const l = t(r, i);
6746    let s = () => {
6747      throw new Error(Wt(15));
6748    };
6749    const f = {
6750      getState: l.getState,
6751      dispatch: (m, ...g) => s(m, ...g)
6752    }, h = e.map((m) => m(f));
6753    return s = Ys(...h)(l.dispatch), {
6754      ...l,
6755      dispatch: s
6756    };
6757  };
6758}
6759function Kp(e) {
6760  return yi(e) && "type" in e && typeof e.type == "string";
6761}
6762var Xp = /* @__PURE__ */ Symbol.for("immer-nothing"), zs = /* @__PURE__ */ Symbol.for("immer-draftable"), kt = /* @__PURE__ */ Symbol.for("immer-state");
6763function en(e, ...t) {
6764  throw new Error(
6765    `[Immer] minified error nr: ${e}. Full error at: https://bit.ly/3cXEKWf`
6766  );
6767}
6768var Bn = Object, po = Bn.getPrototypeOf, Zs = "constructor", $c = "prototype", Vg = "configurable", Xd = "enumerable", jd = "writable", Qs = "value", Zn = (e) => !!e && !!e[kt];
6769function xn(e) {
6770  return e ? J8(e) || Tc(e) || !!e[zs] || !!e[Zs]?.[zs] || Cc(e) || wc(e) : !1;
6771}
6772var eN = Bn[$c][Zs].toString(), CS = /* @__PURE__ */ new WeakMap();
6773function J8(e) {
6774  if (!e || !Yl(e))
6775    return !1;
6776  const t = po(e);
6777  if (t === null || t === Bn[$c])
6778    return !0;
6779  const r = Bn.hasOwnProperty.call(t, Zs) && t[Zs];
6780  if (r === Object)
6781    return !0;
6782  if (!oo(r))
6783    return !1;
6784  let i = CS.get(r);
6785  return i === void 0 && (i = Function.toString.call(r), CS.set(r, i)), i === eN;
6786}
6787function tN(e) {
6788  return Zn(e) || en(15, e), e[kt].base_;
6789}
6790function Ec(e, t, r = !0) {
6791  yo(e) === 0 ? (r ? Reflect.ownKeys(e) : Bn.keys(e)).forEach((l) => {
6792    t(l, e[l], e);
6793  }) : e.forEach((i, l) => t(l, i, e));
6794}
6795function yo(e) {
6796  const t = e[kt];
6797  return t ? t.type_ : Tc(e) ? 1 : Cc(e) ? 2 : wc(e) ? 3 : 0;
6798}
6799var Ul = (e, t, r = yo(e)) => r === 2 ? e.has(t) : Bn[$c].hasOwnProperty.call(e, t), ya = (e, t, r = yo(e)) => (
6800  // @ts-ignore
6801  r === 2 ? e.get(t) : e[t]
6802), Wd = (e, t, r, i = yo(e)) => {
6803  i === 2 ? e.set(t, r) : i === 3 ? e.add(r) : e[t] = r;
6804};
6805function nN(e, t) {
6806  return e === t ? e !== 0 || 1 / e === 1 / t : e !== e && t !== t;
6807}
6808var Tc = Array.isArray, Cc = (e) => e instanceof Map, wc = (e) => e instanceof Set, Yl = (e) => typeof e == "object", oo = (e) => typeof e == "function", z1 = (e) => typeof e == "boolean";
6809function rN(e) {
6810  const t = +e;
6811  return Number.isInteger(t) && String(t) === e;
6812}
6813var aN = (e) => Yl(e) ? e?.[kt] : null, va = (e) => e.copy_ || e.base_, Wp = (e) => e.modified_ ? e.copy_ : e.base_;
6814function Bg(e, t) {
6815  if (Cc(e))
6816    return new Map(e);
6817  if (wc(e))
6818    return new Set(e);
6819  if (Tc(e))
6820    return Array[$c].slice.call(e);
6821  const r = J8(e);
6822  if (t === !0 || t === "class_only" && !r) {
6823    const i = Bn.getOwnPropertyDescriptors(e);
6824    delete i[kt];
6825    let l = Reflect.ownKeys(i);
6826    for (let s = 0; s < l.length; s++) {
6827      const f = l[s], h = i[f];
6828      h[jd] === !1 && (h[jd] = !0, h[Vg] = !0), (h.get || h.set) && (i[f] = {
6829        [Vg]: !0,
6830        [jd]: !0,
6831        // could live with !!desc.set as well here...
6832        [Xd]: h[Xd],
6833        [Qs]: e[f]
6834      });
6835    }
6836    return Bn.create(po(e), i);
6837  } else {
6838    const i = po(e);
6839    if (i !== null && r)
6840      return { ...e };
6841    const l = Bn.create(i);
6842    return Bn.assign(l, e);
6843  }
6844}
6845function Jp(e, t = !1) {
6846  return Rh(e) || Zn(e) || !xn(e) || (yo(e) > 1 && Bn.defineProperties(e, {
6847    set: yd,
6848    add: yd,
6849    clear: yd,
6850    delete: yd
6851  }), Bn.freeze(e), t && Ec(
6852    e,
6853    (r, i) => {
6854      Jp(i, !0);
6855    },
6856    !1
6857  )), e;
6858}
6859function iN() {
6860  en(2);
6861}
6862var yd = {
6863  [Qs]: iN
6864};
6865function Rh(e) {
6866  return e === null || !Yl(e) ? !0 : Bn.isFrozen(e);
6867}
6868var Jd = "MapSet", eh = "Patches", wS = "ArrayMethods", th = {};
6869function vo(e) {
6870  const t = th[e];
6871  return t || en(0, e), t;
6872}
6873var OS = (e) => !!th[e];
6874function oN(e, t) {
6875  th[e] || (th[e] = t);
6876}
6877var Ks, e6 = () => Ks, lN = (e, t) => ({
6878  drafts_: [],
6879  parent_: e,
6880  immer_: t,
6881  // Whenever the modified draft contains a draft from another scope, we
6882  // need to prevent auto-freezing so the unowned draft can be finalized.
6883  canAutoFreeze_: !0,
6884  unfinalizedDrafts_: 0,
6885  handledSet_: /* @__PURE__ */ new Set(),
6886  processedForPatches_: /* @__PURE__ */ new Set(),
6887  mapSetPlugin_: OS(Jd) ? vo(Jd) : void 0,
6888  arrayMethodsPlugin_: OS(wS) ? vo(wS) : void 0
6889});
6890function NS(e, t) {
6891  t && (e.patchPlugin_ = vo(eh), e.patches_ = [], e.inversePatches_ = [], e.patchListener_ = t);
6892}
6893function qg(e) {
6894  Gg(e), e.drafts_.forEach(uN), e.drafts_ = null;
6895}
6896function Gg(e) {
6897  e === Ks && (Ks = e.parent_);
6898}
6899var AS = (e) => Ks = lN(Ks, e);
6900function uN(e) {
6901  const t = e[kt];
6902  t.type_ === 0 || t.type_ === 1 ? t.revoke_() : t.revoked_ = !0;
6903}
6904function _S(e, t) {
6905  t.unfinalizedDrafts_ = t.drafts_.length;
6906  const r = t.drafts_[0];
6907  if (e !== void 0 && e !== r) {
6908    r[kt].modified_ && (qg(t), en(4)), xn(e) && (e = xS(t, e));
6909    const { patchPlugin_: l } = t;
6910    l && l.generateReplacementPatches_(
6911      r[kt].base_,
6912      e,
6913      t
6914    );
6915  } else
6916    e = xS(t, r);
6917  return sN(t, e, !0), qg(t), t.patches_ && t.patchListener_(t.patches_, t.inversePatches_), e !== Xp ? e : void 0;
6918}
6919function xS(e, t) {
6920  if (Rh(t))
6921    return t;
6922  const r = t[kt];
6923  if (!r)
6924    return nh(t, e.handledSet_, e);
6925  if (!Dh(r, e))
6926    return t;
6927  if (!r.modified_)
6928    return r.base_;
6929  if (!r.finalized_) {
6930    const { callbacks_: i } = r;
6931    if (i)
6932      for (; i.length > 0; )
6933        i.pop()(e);
6934    r6(r, e);
6935  }
6936  return r.copy_;
6937}
6938function sN(e, t, r = !1) {
6939  !e.parent_ && e.immer_.autoFreeze_ && e.canAutoFreeze_ && Jp(t, r);
6940}
6941function t6(e) {
6942  e.finalized_ = !0, e.scope_.unfinalizedDrafts_--;
6943}
6944var Dh = (e, t) => e.scope_ === t, cN = [];
6945function n6(e, t, r, i) {
6946  const l = va(e), s = e.type_;
6947  if (i !== void 0 && ya(l, i, s) === t) {
6948    Wd(l, i, r, s);
6949    return;
6950  }
6951  if (!e.draftLocations_) {
6952    const h = e.draftLocations_ = /* @__PURE__ */ new Map();
6953    Ec(l, (m, g) => {
6954      if (Zn(g)) {
6955        const p = h.get(g) || [];
6956        p.push(m), h.set(g, p);
6957      }
6958    });
6959  }
6960  const f = e.draftLocations_.get(t) ?? cN;
6961  for (const h of f)
6962    Wd(l, h, r, s);
6963}
6964function fN(e, t, r) {
6965  e.callbacks_.push(function(l) {
6966    const s = t;
6967    if (!s || !Dh(s, l))
6968      return;
6969    l.mapSetPlugin_?.fixSetContents(s);
6970    const f = Wp(s);
6971    n6(e, s.draft_ ?? s, f, r), r6(s, l);
6972  });
6973}
6974function r6(e, t) {
6975  if (e.modified_ && !e.finalized_ && (e.type_ === 3 || e.type_ === 1 && e.allIndicesReassigned_ || (e.assigned_?.size ?? 0) > 0)) {
6976    const { patchPlugin_: i } = t;
6977    if (i) {
6978      const l = i.getPath(e);
6979      l && i.generatePatches_(e, l, t);
6980    }
6981    t6(e);
6982  }
6983}
6984function dN(e, t, r) {
6985  const { scope_: i } = e;
6986  if (Zn(r)) {
6987    const l = r[kt];
6988    Dh(l, i) && l.callbacks_.push(function() {
6989      Fd(e);
6990      const f = Wp(l);
6991      n6(e, r, f, t);
6992    });
6993  } else xn(r) && e.callbacks_.push(function() {
6994    const s = va(e);
6995    e.type_ === 3 ? s.has(r) && nh(r, i.handledSet_, i) : ya(s, t, e.type_) === r && i.drafts_.length > 1 && (e.assigned_.get(t) ?? !1) === !0 && e.copy_ && nh(
6996      ya(e.copy_, t, e.type_),
6997      i.handledSet_,
6998      i
6999    );
7000  });
7001}
7002function nh(e, t, r) {
7003  return !r.immer_.autoFreeze_ && r.unfinalizedDrafts_ < 1 || Zn(e) || t.has(e) || !xn(e) || Rh(e) || (t.add(e), Ec(e, (i, l) => {
7004    if (Zn(l)) {
7005      const s = l[kt];
7006      if (Dh(s, r)) {
7007        const f = Wp(s);
7008        Wd(e, i, f, e.type_), t6(s);
7009      }
7010    } else xn(l) && nh(l, t, r);
7011  })), e;
7012}
7013function hN(e, t) {
7014  const r = Tc(e), i = {
7015    type_: r ? 1 : 0,
7016    // Track which produce call this is associated with.
7017    scope_: t ? t.scope_ : e6(),
7018    // True for both shallow and deep changes.
7019    modified_: !1,
7020    // Used during finalization.
7021    finalized_: !1,
7022    // Track which properties have been assigned (true) or deleted (false).
7023    // actually instantiated in `prepareCopy()`
7024    assigned_: void 0,
7025    // The parent draft state.
7026    parent_: t,
7027    // The base state.
7028    base_: e,
7029    // The base proxy.
7030    draft_: null,
7031    // set below
7032    // The base copy with any updated values.
7033    copy_: null,
7034    // Called by the `produce` function.
7035    revoke_: null,
7036    isManual_: !1,
7037    // `callbacks` actually gets assigned in `createProxy`
7038    callbacks_: void 0
7039  };
7040  let l = i, s = rh;
7041  r && (l = [i], s = Xs);
7042  const { revoke: f, proxy: h } = Proxy.revocable(l, s);
7043  return i.draft_ = h, i.revoke_ = f, [h, i];
7044}
7045var rh = {
7046  get(e, t) {
7047    if (t === kt)
7048      return e;
7049    let r = e.scope_.arrayMethodsPlugin_;
7050    const i = e.type_ === 1 && typeof t == "string";
7051    if (i && r?.isArrayOperationMethod(t))
7052      return r.createMethodInterceptor(e, t);
7053    const l = va(e);
7054    if (!Ul(l, t, e.type_))
7055      return gN(e, l, t);
7056    const s = l[t];
7057    if (e.finalized_ || !xn(s) || i && e.operationMethod && r?.isMutatingArrayMethod(
7058      e.operationMethod
7059    ) && rN(t))
7060      return s;
7061    if (s === U1(e.base_, t) || mN(e, t, s)) {
7062      Fd(e);
7063      const f = e.type_ === 1 ? +t : t, h = Zg(e.scope_, s, e, f);
7064      return e.copy_[f] = h;
7065    }
7066    return s;
7067  },
7068  has(e, t) {
7069    return t in va(e);
7070  },
7071  ownKeys(e) {
7072    return Reflect.ownKeys(va(e));
7073  },
7074  set(e, t, r) {
7075    const i = a6(va(e), t);
7076    if (i?.set)
7077      return i.set.call(e.draft_, r), !0;
7078    if (!e.modified_) {
7079      const l = U1(va(e), t), s = l?.[kt];
7080      if (s && s.base_ === r)
7081        return e.copy_[t] = r, e.assigned_.set(t, !1), !0;
7082      if (nN(r, l) && (r !== void 0 || Ul(e.base_, t, e.type_)))
7083        return !0;
7084      Fd(e), Yg(e);
7085    }
7086    return e.copy_[t] === r && // special case: handle new props with value 'undefined'
7087    (r !== void 0 || Ul(e.copy_, t, e.type_)) || // special case: NaN
7088    Number.isNaN(r) && Number.isNaN(e.copy_[t]) || (e.copy_[t] = r, e.assigned_.set(t, !0), dN(e, t, r)), !0;
7089  },
7090  deleteProperty(e, t) {
7091    return Fd(e), U1(e.base_, t) !== void 0 || t in e.base_ ? (e.assigned_.set(t, !1), Yg(e)) : e.assigned_.delete(t), e.copy_ && delete e.copy_[t], !0;
7092  },
7093  // Note: We never coerce `desc.value` into an Immer draft, because we can't make
7094  // the same guarantee in ES5 mode.
7095  getOwnPropertyDescriptor(e, t) {
7096    const r = va(e), i = Reflect.getOwnPropertyDescriptor(r, t);
7097    return i && {
7098      [jd]: !0,
7099      [Vg]: e.type_ !== 1 || t !== "length",
7100      [Xd]: i[Xd],
7101      [Qs]: r[t]
7102    };
7103  },
7104  defineProperty() {
7105    en(11);
7106  },
7107  getPrototypeOf(e) {
7108    return po(e.base_);
7109  },
7110  setPrototypeOf() {
7111    en(12);
7112  }
7113}, Xs = {};
7114for (let e in rh) {
7115  let t = rh[e];
7116  Xs[e] = function() {
7117    const r = arguments;
7118    return r[0] = r[0][0], t.apply(this, r);
7119  };
7120}
7121Xs.deleteProperty = function(e, t) {
7122  return Xs.set.call(this, e, t, void 0);
7123};
7124Xs.set = function(e, t, r) {
7125  return rh.set.call(this, e[0], t, r, e[0]);
7126};
7127function U1(e, t) {
7128  const r = e[kt];
7129  return (r ? va(r) : e)[t];
7130}
7131function mN(e, t, r) {
7132  return e.type_ !== 1 || !e.allIndicesReassigned_ || e.assigned_?.get(t) || !xn(r) || r[kt] ? !1 : e.baseRefs_.has(r);
7133}
7134function gN(e, t, r) {
7135  const i = a6(t, r);
7136  return i ? Qs in i ? i[Qs] : (
7137    // This is a very special case, if the prop is a getter defined by the
7138    // prototype, we should invoke it with the draft as context!
7139    i.get?.call(e.draft_)
7140  ) : void 0;
7141}
7142function a6(e, t) {
7143  if (!(t in e))
7144    return;
7145  let r = po(e);
7146  for (; r; ) {
7147    const i = Object.getOwnPropertyDescriptor(r, t);
7148    if (i)
7149      return i;
7150    r = po(r);
7151  }
7152}
7153function Yg(e) {
7154  e.modified_ || (e.modified_ = !0, e.parent_ && Yg(e.parent_));
7155}
7156function Fd(e) {
7157  e.copy_ || (e.assigned_ = /* @__PURE__ */ new Map(), e.copy_ = Bg(
7158    e.base_,
7159    e.scope_.immer_.useStrictShallowCopy_
7160  ));
7161}
7162var pN = class {
7163  constructor(e) {
7164    this.autoFreeze_ = !0, this.useStrictShallowCopy_ = !1, this.useStrictIteration_ = !1, this.produce = (t, r, i) => {
7165      if (oo(t) && !oo(r)) {
7166        const s = r;
7167        r = t;
7168        const f = this;
7169        return function(m = s, ...g) {
7170          return f.produce(m, (p) => r.call(this, p, ...g));
7171        };
7172      }
7173      oo(r) || en(6), i !== void 0 && !oo(i) && en(7);
7174      let l;
7175      if (xn(t)) {
7176        const s = AS(this), f = Zg(s, t, void 0);
7177        let h = !0;
7178        try {
7179          l = r(f), h = !1;
7180        } finally {
7181          h ? qg(s) : Gg(s);
7182        }
7183        return NS(s, i), _S(l, s);
7184      } else if (!t || !Yl(t)) {
7185        if (l = r(t), l === void 0 && (l = t), l === Xp && (l = void 0), this.autoFreeze_ && Jp(l, !0), i) {
7186          const s = [], f = [];
7187          vo(eh).generateReplacementPatches_(t, l, {
7188            patches_: s,
7189            inversePatches_: f
7190          }), i(s, f);
7191        }
7192        return l;
7193      } else
7194        en(1, t);
7195    }, this.produceWithPatches = (t, r) => {
7196      if (oo(t))
7197        return (f, ...h) => this.produceWithPatches(f, (m) => t(m, ...h));
7198      let i, l;
7199      return [this.produce(t, r, (f, h) => {
7200        i = f, l = h;
7201      }), i, l];
7202    }, z1(e?.autoFreeze) && this.setAutoFreeze(e.autoFreeze), z1(e?.useStrictShallowCopy) && this.setUseStrictShallowCopy(e.useStrictShallowCopy), z1(e?.useStrictIteration) && this.setUseStrictIteration(e.useStrictIteration);
7203  }
7204  createDraft(e) {
7205    xn(e) || en(8), Zn(e) && (e = i6(e));
7206    const t = AS(this), r = Zg(t, e, void 0);
7207    return r[kt].isManual_ = !0, Gg(t), r;
7208  }
7209  finishDraft(e, t) {
7210    const r = e && e[kt];
7211    (!r || !r.isManual_) && en(9);
7212    const { scope_: i } = r;
7213    return NS(i, t), _S(void 0, i);
7214  }
7215  /**
7216   * Pass true to automatically freeze all copies created by Immer.
7217   *
7218   * By default, auto-freezing is enabled.
7219   */
7220  setAutoFreeze(e) {
7221    this.autoFreeze_ = e;
7222  }
7223  /**
7224   * Pass true to enable strict shallow copy.
7225   *
7226   * By default, immer does not copy the object descriptors such as getter, setter and non-enumrable properties.
7227   */
7228  setUseStrictShallowCopy(e) {
7229    this.useStrictShallowCopy_ = e;
7230  }
7231  /**
7232   * Pass false to use faster iteration that skips non-enumerable properties
7233   * but still handles symbols for compatibility.
7234   *
7235   * By default, strict iteration is enabled (includes all own properties).
7236   */
7237  setUseStrictIteration(e) {
7238    this.useStrictIteration_ = e;
7239  }
7240  shouldUseStrictIteration() {
7241    return this.useStrictIteration_;
7242  }
7243  applyPatches(e, t) {
7244    let r;
7245    for (r = t.length - 1; r >= 0; r--) {
7246      const l = t[r];
7247      if (l.path.length === 0 && l.op === "replace") {
7248        e = l.value;
7249        break;
7250      }
7251    }
7252    r > -1 && (t = t.slice(r + 1));
7253    const i = vo(eh).applyPatches_;
7254    return Zn(e) ? i(e, t) : this.produce(
7255      e,
7256      (l) => i(l, t)
7257    );
7258  }
7259};
7260function Zg(e, t, r, i) {
7261  const [l, s] = Cc(t) ? vo(Jd).proxyMap_(t, r) : wc(t) ? vo(Jd).proxySet_(t, r) : hN(t, r);
7262  return (r?.scope_ ?? e6()).drafts_.push(l), s.callbacks_ = r?.callbacks_ ?? [], s.key_ = i, r && i !== void 0 ? fN(r, s, i) : s.callbacks_.push(function(m) {
7263    m.mapSetPlugin_?.fixSetContents(s);
7264    const { patchPlugin_: g } = m;
7265    s.modified_ && g && g.generatePatches_(s, [], m);
7266  }), l;
7267}
7268function i6(e) {
7269  return Zn(e) || en(10, e), o6(e);
7270}
7271function o6(e) {
7272  if (!xn(e) || Rh(e))
7273    return e;
7274  const t = e[kt];
7275  let r, i = !0;
7276  if (t) {
7277    if (!t.modified_)
7278      return t.base_;
7279    t.finalized_ = !0, r = Bg(e, t.scope_.immer_.useStrictShallowCopy_), i = t.scope_.immer_.shouldUseStrictIteration();
7280  } else
7281    r = Bg(e, !0);
7282  return Ec(
7283    r,
7284    (l, s) => {
7285      Wd(r, l, o6(s));
7286    },
7287    i
7288  ), t && (t.finalized_ = !1), r;
7289}
7290function yN() {
7291  function t(T, N = []) {
7292    if (T.key_ !== void 0) {
7293      const $ = T.parent_.copy_ ?? T.parent_.base_, A = aN(ya($, T.key_)), D = ya($, T.key_);
7294      if (D === void 0 || D !== T.draft_ && D !== T.base_ && D !== T.copy_ || A != null && A.base_ !== T.base_)
7295        return null;
7296      const _ = T.parent_.type_ === 3;
7297      let x;
7298      if (_) {
7299        const v = T.parent_;
7300        x = Array.from(v.drafts_.keys()).indexOf(T.key_);
7301      } else
7302        x = T.key_;
7303      if (!(_ && $.size > x || Ul($, x)))
7304        return null;
7305      N.push(x);
7306    }
7307    if (T.parent_)
7308      return t(T.parent_, N);
7309    N.reverse();
7310    try {
7311      r(T.copy_, N);
7312    } catch {
7313      return null;
7314    }
7315    return N;
7316  }
7317  function r(T, N) {
7318    let $ = T;
7319    for (let A = 0; A < N.length - 1; A++) {
7320      const D = N[A];
7321      if ($ = ya($, D), !Yl($) || $ === null)
7322        throw new Error(`Cannot resolve path at '${N.join("/")}'`);
7323    }
7324    return $;
7325  }
7326  const i = "replace", l = "add", s = "remove";
7327  function f(T, N, $) {
7328    if (T.scope_.processedForPatches_.has(T))
7329      return;
7330    T.scope_.processedForPatches_.add(T);
7331    const { patches_: A, inversePatches_: D } = $;
7332    switch (T.type_) {
7333      case 0:
7334      case 2:
7335        return m(
7336          T,
7337          N,
7338          A,
7339          D
7340        );
7341      case 1:
7342        return h(
7343          T,
7344          N,
7345          A,
7346          D
7347        );
7348      case 3:
7349        return g(
7350          T,
7351          N,
7352          A,
7353          D
7354        );
7355    }
7356  }
7357  function h(T, N, $, A) {
7358    let { base_: D, assigned_: _ } = T, x = T.copy_;
7359    x.length < D.length && ([D, x] = [x, D], [$, A] = [A, $]);
7360    const v = T.allIndicesReassigned_ === !0;
7361    for (let E = 0; E < D.length; E++) {
7362      const C = x[E], L = D[E];
7363      if ((v || _?.get(E.toString())) && C !== L) {
7364        const I = C?.[kt];
7365        if (I && I.modified_)
7366          continue;
7367        const M = N.concat([E]);
7368        $.push({
7369          op: i,
7370          path: M,
7371          // Need to maybe clone it, as it can in fact be the original value
7372          // due to the base/copy inversion at the start of this function
7373          value: w(C)
7374        }), A.push({
7375          op: i,
7376          path: M,
7377          value: w(L)
7378        });
7379      }
7380    }
7381    for (let E = D.length; E < x.length; E++) {
7382      const C = N.concat([E]);
7383      $.push({
7384        op: l,
7385        path: C,
7386        // Need to maybe clone it, as it can in fact be the original value
7387        // due to the base/copy inversion at the start of this function
7388        value: w(x[E])
7389      });
7390    }
7391    for (let E = x.length - 1; D.length <= E; --E) {
7392      const C = N.concat([E]);
7393      A.push({
7394        op: s,
7395        path: C
7396      });
7397    }
7398  }
7399  function m(T, N, $, A) {
7400    const { base_: D, copy_: _, type_: x } = T;
7401    Ec(T.assigned_, (v, E) => {
7402      const C = ya(D, v, x), L = ya(_, v, x), k = E ? Ul(D, v) ? i : l : s;
7403      if (C === L && k === i)
7404        return;
7405      const I = N.concat(v);
7406      $.push(
7407        k === s ? { op: k, path: I } : { op: k, path: I, value: w(L) }
7408      ), A.push(
7409        k === l ? { op: s, path: I } : k === s ? { op: l, path: I, value: w(C) } : { op: i, path: I, value: w(C) }
7410      );
7411    });
7412  }
7413  function g(T, N, $, A) {
7414    let { base_: D, copy_: _ } = T, x = 0;
7415    D.forEach((v) => {
7416      if (!_.has(v)) {
7417        const E = N.concat([x]);
7418        $.push({
7419          op: s,
7420          path: E,
7421          value: v
7422        }), A.unshift({
7423          op: l,
7424          path: E,
7425          value: v
7426        });
7427      }
7428      x++;
7429    }), x = 0, _.forEach((v) => {
7430      if (!D.has(v)) {
7431        const E = N.concat([x]);
7432        $.push({
7433          op: l,
7434          path: E,
7435          value: v
7436        }), A.unshift({
7437          op: s,
7438          path: E,
7439          value: v
7440        });
7441      }
7442      x++;
7443    });
7444  }
7445  function p(T, N, $) {
7446    const { patches_: A, inversePatches_: D } = $;
7447    A.push({
7448      op: i,
7449      path: [],
7450      value: N === Xp ? void 0 : N
7451    }), D.push({
7452      op: i,
7453      path: [],
7454      value: T
7455    });
7456  }
7457  function b(T, N) {
7458    return N.forEach(($) => {
7459      const { path: A, op: D } = $;
7460      let _ = T;
7461      for (let C = 0; C < A.length - 1; C++) {
7462        const L = yo(_);
7463        let k = A[C];
7464        typeof k != "string" && typeof k != "number" && (k = "" + k), (L === 0 || L === 1) && (k === "__proto__" || k === Zs) && en(19), oo(_) && k === $c && en(19), _ = ya(_, k), (_ === null || !Yl(_)) && en(18, A.join("/"));
7465      }
7466      const x = yo(_), v = S($.value), E = A[A.length - 1];
7467      switch (D) {
7468        case i:
7469          switch (x) {
7470            case 2:
7471              return _.set(E, v);
7472            case 3:
7473              en(16);
7474            default:
7475              return _[E] = v;
7476          }
7477        case l:
7478          switch (x) {
7479            case 1:
7480              return E === "-" ? _.push(v) : _.splice(E, 0, v);
7481            case 2:
7482              return _.set(E, v);
7483            case 3:
7484              return _.add(v);
7485            default:
7486              return _[E] = v;
7487          }
7488        case s:
7489          switch (x) {
7490            case 1:
7491              return _.splice(E, 1);
7492            case 2:
7493              return _.delete(E);
7494            case 3:
7495              return _.delete($.value);
7496            default:
7497              return delete _[E];
7498          }
7499        default:
7500          en(17, D);
7501      }
7502    }), T;
7503  }
7504  function S(T) {
7505    if (!xn(T))
7506      return T;
7507    if (Tc(T))
7508      return T.map(S);
7509    if (Cc(T))
7510      return new Map(
7511        Array.from(T.entries()).map(([$, A]) => [$, S(A)])
7512      );
7513    if (wc(T))
7514      return new Set(Array.from(T).map(S));
7515    const N = Object.create(po(T));
7516    for (const $ in T)
7517      N[$] = S(T[$]);
7518    return Ul(T, zs) && (N[zs] = T[zs]), N;
7519  }
7520  function w(T) {
7521    return Zn(T) ? S(T) : T;
7522  }
7523  oN(eh, {
7524    applyPatches_: b,
7525    generatePatches_: f,
7526    generateReplacementPatches_: p,
7527    getPath: t
7528  });
7529}
7530var vN = globalThis.Iterator;
7531vN?.from;
7532var Ws = new pN(), Oc = Ws.produce, l6 = /* @__PURE__ */ Ws.produceWithPatches.bind(Ws), RS = /* @__PURE__ */ Ws.applyPatches.bind(Ws), bN = class {
7533  constructor(e) {
7534    this.value = e;
7535  }
7536  deref() {
7537    return this.value;
7538  }
7539}, SN = () => typeof WeakRef > "u" ? bN : WeakRef, u6 = /* @__PURE__ */ SN(), $N = 0, vd = 1;
7540function cs() {
7541  return {
7542    s: $N,
7543    v: void 0,
7544    o: null,
7545    p: null
7546  };
7547}
7548function EN(e) {
7549  return e instanceof u6 ? e.deref() : e;
7550}
7551function ah(e, t = {}) {
7552  let r = cs();
7553  const { resultEqualityCheck: i, maxSize: l } = t, s = l !== void 0;
7554  if (s && (!Number.isInteger(l) || l < 1))
7555    throw new TypeError(
7556      `maxSize must be a positive integer, received: ${l}`
7557    );
7558  let f = null, h = 0, m, g = 0;
7559  function p() {
7560    h >= l && (f = r, r = cs(), h = 0);
7561  }
7562  function b() {
7563    let S = r;
7564    const { length: w } = arguments;
7565    for (let $ = 0, A = w; $ < A; $++) {
7566      const D = arguments[$];
7567      if (typeof D == "function" || typeof D == "object" && D !== null) {
7568        let _ = S.o;
7569        _ === null && (S.o = _ = /* @__PURE__ */ new WeakMap());
7570        const x = _.get(D);
7571        x === void 0 ? (S = cs(), _.set(D, S)) : S = x;
7572      } else {
7573        let _ = S.p;
7574        _ === null && (S.p = _ = /* @__PURE__ */ new Map());
7575        const x = _.get(D);
7576        x === void 0 ? (S = cs(), _.set(D, S), h++) : S = x;
7577      }
7578    }
7579    if (S.s === vd)
7580      return S.v;
7581    if (f !== null) {
7582      let $ = f;
7583      for (let A = 0, D = w; A < D; A++) {
7584        const _ = arguments[A];
7585        let x;
7586        if (typeof _ == "function" || typeof _ == "object" && _ !== null) {
7587          const v = $.o;
7588          x = v !== null ? v.get(_) : void 0;
7589        } else {
7590          const v = $.p;
7591          x = v !== null ? v.get(_) : void 0;
7592        }
7593        if (x === void 0) {
7594          $ = null;
7595          break;
7596        }
7597        $ = x;
7598      }
7599      if ($ !== null && $.s === vd) {
7600        const A = S;
7601        return A.s = vd, A.v = $.v, p(), $.v;
7602      }
7603    }
7604    const T = S;
7605    let N = e.apply(null, arguments);
7606    if (g++, i) {
7607      const $ = EN(m);
7608      $ != null && i($, N) && (N = $, g !== 0 && g--), m = typeof N == "object" && N !== null || typeof N == "function" ? /* @__PURE__ */ new u6(N) : N;
7609    }
7610    return T.s = vd, T.v = N, s && p(), N;
7611  }
7612  return b.clearCache = () => {
7613    r = cs(), f = null, h = 0, b.resetResultsCount();
7614  }, b.resultsCount = () => g, b.resetResultsCount = () => {
7615    g = 0;
7616  }, b;
7617}
7618function TN(e, t = `expected a function, instead received ${typeof e}`) {
7619  if (typeof e != "function")
7620    throw new TypeError(t);
7621}
7622function CN(e, t = "expected all items to be functions, instead received the following types: ") {
7623  if (!e.every((r) => typeof r == "function")) {
7624    const r = e.map(
7625      (i) => typeof i == "function" ? `function ${i.name || "unnamed"}()` : typeof i
7626    ).join(", ");
7627    throw new TypeError(`${t}[${r}]`);
7628  }
7629}
7630var DS = (e) => Array.isArray(e) ? e : [e];
7631function wN(e) {
7632  const t = Array.isArray(e[0]) ? e[0] : e;
7633  return CN(
7634    t,
7635    "createSelector expects all input-selectors to be functions, but received the following types: "
7636  ), t;
7637}
7638function ON(e, ...t) {
7639  const r = typeof e == "function" ? {
7640    memoize: e,
7641    memoizeOptions: t
7642  } : e, i = (...l) => {
7643    let s = 0, f = 0, h, m = {}, g = l.pop();
7644    typeof g == "object" && (m = g, g = l.pop()), TN(
7645      g,
7646      `createSelector expects an output function after the inputs, but received: [${typeof g}]`
7647    );
7648    const p = {
7649      ...r,
7650      ...m
7651    }, {
7652      memoize: b,
7653      memoizeOptions: S = [],
7654      argsMemoize: w = ah,
7655      argsMemoizeOptions: T = []
7656    } = p, N = DS(S), $ = DS(T), A = wN(l), D = b(function() {
7657      return s++, g.apply(
7658        null,
7659        arguments
7660      );
7661    }, ...N), _ = w(function() {
7662      f++;
7663      const { length: v } = A, E = new Array(v);
7664      for (let C = 0; C < v; C++)
7665        E[C] = A[C].apply(null, arguments);
7666      return h = D.apply(null, E), h;
7667    }, ...$);
7668    return Object.assign(_, {
7669      resultFunc: g,
7670      memoizedResultFunc: D,
7671      dependencies: A,
7672      dependencyRecomputations: () => f,
7673      resetDependencyRecomputations: () => {
7674        f = 0;
7675      },
7676      lastResult: () => h,
7677      recomputations: () => s,
7678      resetRecomputations: () => {
7679        s = 0;
7680      },
7681      memoize: b,
7682      argsMemoize: w
7683    });
7684  };
7685  return Object.assign(i, {
7686    withTypes: () => i
7687  }), i;
7688}
7689var s6 = /* @__PURE__ */ ON(ah);
7690function c6(e) {
7691  return ({ dispatch: r, getState: i }) => (l) => (s) => typeof s == "function" ? s(r, i, e) : l(s);
7692}
7693var NN = c6(), AN = c6, _N = typeof window < "u" && window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ ? window.__REDUX_DEVTOOLS_EXTENSION_COMPOSE__ : function() {
7694  if (arguments.length !== 0)
7695    return typeof arguments[0] == "object" ? Ys : Ys.apply(null, arguments);
7696}, xN = (e) => e && typeof e.match == "function";
7697function dn(e, t) {
7698  function r(...i) {
7699    if (t) {
7700      let l = t(...i);
7701      if (!l)
7702        throw new Error(Ht(0));
7703      return {
7704        type: e,
7705        payload: l.payload,
7706        ..."meta" in l && {
7707          meta: l.meta
7708        },
7709        ..."error" in l && {
7710          error: l.error
7711        }
7712      };
7713    }
7714    return {
7715      type: e,
7716      payload: i[0]
7717    };
7718  }
7719  return r.toString = () => `${e}`, r.type = e, r.match = (i) => Kp(i) && i.type === e, r;
7720}
7721var f6 = class Ms extends Array {
7722  constructor(...t) {
7723    super(...t), Object.setPrototypeOf(this, Ms.prototype);
7724  }
7725  static get [Symbol.species]() {
7726    return Ms;
7727  }
7728  concat(...t) {
7729    return super.concat.apply(this, t);
7730  }
7731  prepend(...t) {
7732    return t.length === 1 && Array.isArray(t[0]) ? new Ms(...t[0].concat(this)) : new Ms(...t.concat(this));
7733  }
7734};
7735function MS(e) {
7736  return xn(e) ? Oc(e, () => {
7737  }) : e;
7738}
7739function co(e, t, r) {
7740  return e.has(t) ? e.get(t) : e.set(t, r(t)).get(t);
7741}
7742function RN(e) {
7743  return typeof e == "boolean";
7744}
7745var DN = () => function(t) {
7746  const {
7747    thunk: r = !0,
7748    immutableCheck: i = !0,
7749    serializableCheck: l = !0,
7750    actionCreatorCheck: s = !0
7751  } = t ?? {};
7752  let f = new f6();
7753  return r && (RN(r) ? f.push(NN) : f.push(AN(r.extraArgument))), f;
7754}, Mh = "RTK_autoBatch", fs = () => (e) => ({
7755  payload: e,
7756  meta: {
7757    [Mh]: !0
7758  }
7759}), IS = (e) => (t) => {
7760  setTimeout(t, e);
7761}, MN = (e, t) => (r) => {
7762  let i = !1;
7763  const l = () => {
7764    i || (i = !0, cancelAnimationFrame(s), clearTimeout(f), r());
7765  }, s = e(l), f = setTimeout(l, t);
7766}, IN = (e = {
7767  type: "raf"
7768}) => (t) => (...r) => {
7769  const i = t(...r);
7770  let l = !0, s = !1, f = !1;
7771  const h = /* @__PURE__ */ new Set(), m = e.type === "tick" ? queueMicrotask : e.type === "raf" ? (
7772    // requestAnimationFrame won't exist in SSR environments. Fall back to a vague approximation just to keep from erroring.
7773    typeof window < "u" && window.requestAnimationFrame ? MN(window.requestAnimationFrame, 100) : IS(10)
7774  ) : e.type === "callback" ? e.queueNotification : IS(e.timeout), g = () => {
7775    f = !1, s && (s = !1, h.forEach((p) => p()));
7776  };
7777  return Object.assign({}, i, {
7778    // Override the base `store.subscribe` method to keep original listeners
7779    // from running if we're delaying notifications
7780    subscribe(p) {
7781      const b = () => l && p(), S = i.subscribe(b);
7782      return h.add(p), () => {
7783        S(), h.delete(p);
7784      };
7785    },
7786    // Override the base `store.dispatch` method so that we can check actions
7787    // for the `shouldAutoBatch` flag and determine if batching is active
7788    dispatch(p) {
7789      try {
7790        return l = !p?.meta?.[Mh], s = !l, s && (f || (f = !0, m(g))), i.dispatch(p);
7791      } finally {
7792        l = !0;
7793      }
7794    }
7795  });
7796}, PN = (e) => function(r) {
7797  const {
7798    autoBatch: i = !0
7799  } = r ?? {};
7800  let l = new f6(e);
7801  return i && l.push(IN(typeof i == "object" ? i : void 0)), l;
7802};
7803function kN(e) {
7804  const t = DN(), {
7805    reducer: r = void 0,
7806    middleware: i,
7807    devTools: l = !0,
7808    preloadedState: s = void 0,
7809    enhancers: f = void 0
7810  } = e || {};
7811  let h;
7812  if (typeof r == "function")
7813    h = r;
7814  else if (yi(r))
7815    h = Qp(r);
7816  else
7817    throw new Error(Ht(1));
7818  let m;
7819  typeof i == "function" ? m = i(t) : m = t();
7820  let g = Ys;
7821  l && (g = _N({
7822    // Enable capture of stack traces for dispatched Redux actions
7823    trace: !1,
7824    ...typeof l == "object" && l
7825  }));
7826  const p = JO(...m), b = PN(p);
7827  let S = typeof f == "function" ? f(b) : b();
7828  const w = g(...S);
7829  return W8(h, s, w);
7830}
7831function d6(e) {
7832  const t = {}, r = [];
7833  let i;
7834  const l = {
7835    addCase(s, f) {
7836      const h = typeof s == "string" ? s : s.type;
7837      if (!h)
7838        throw new Error(Ht(28));
7839      if (h in t)
7840        throw new Error(Ht(29));
7841      return t[h] = f, l;
7842    },
7843    addAsyncThunk(s, f) {
7844      return f.pending && (t[s.pending.type] = f.pending), f.rejected && (t[s.rejected.type] = f.rejected), f.fulfilled && (t[s.fulfilled.type] = f.fulfilled), f.settled && r.push({
7845        matcher: s.settled,
7846        reducer: f.settled
7847      }), l;
7848    },
7849    addMatcher(s, f) {
7850      return r.push({
7851        matcher: s,
7852        reducer: f
7853      }), l;
7854    },
7855    addDefaultCase(s) {
7856      return i = s, l;
7857    }
7858  };
7859  return e(l), [t, r, i];
7860}
7861function LN(e) {
7862  return typeof e == "function";
7863}
7864function zN(e, t) {
7865  let [r, i, l] = d6(t), s;
7866  if (LN(e))
7867    s = () => MS(e());
7868  else {
7869    const h = MS(e);
7870    s = () => h;
7871  }
7872  function f(h = s(), m) {
7873    let g = [r[m.type], ...i.filter(({
7874      matcher: p
7875    }) => p(m)).map(({
7876      reducer: p
7877    }) => p)];
7878    return g.filter((p) => !!p).length === 0 && (g = [l]), g.reduce((p, b) => {
7879      if (b)
7880        if (Zn(p)) {
7881          const w = b(p, m);
7882          return w === void 0 ? p : w;
7883        } else {
7884          if (xn(p))
7885            return Oc(p, (S) => b(S, m));
7886          {
7887            const S = b(p, m);
7888            if (S === void 0) {
7889              if (p === null)
7890                return p;
7891              throw Error("A case reducer on a non-draftable value must not return undefined");
7892            }
7893            return S;
7894          }
7895        }
7896      return p;
7897    }, h);
7898  }
7899  return f.getInitialState = s, f;
7900}
7901var h6 = (e, t) => xN(e) ? e.match(t) : e(t);
7902function Ta(...e) {
7903  return (t) => e.some((r) => h6(r, t));
7904}
7905function jl(...e) {
7906  return (t) => e.every((r) => h6(r, t));
7907}
7908function Ih(e, t) {
7909  if (!e || !e.meta) return !1;
7910  const r = typeof e.meta.requestId == "string", i = t.indexOf(e.meta.requestStatus) > -1;
7911  return r && i;
7912}
7913function Nc(e) {
7914  return typeof e[0] == "function" && "pending" in e[0] && "fulfilled" in e[0] && "rejected" in e[0];
7915}
7916function ey(...e) {
7917  return e.length === 0 ? (t) => Ih(t, ["pending"]) : Nc(e) ? Ta(...e.map((t) => t.pending)) : ey()(e[0]);
7918}
7919function Zl(...e) {
7920  return e.length === 0 ? (t) => Ih(t, ["rejected"]) : Nc(e) ? Ta(...e.map((t) => t.rejected)) : Zl()(e[0]);
7921}
7922function Ph(...e) {
7923  const t = (r) => r && r.meta && r.meta.rejectedWithValue;
7924  return e.length === 0 ? jl(Zl(...e), t) : Nc(e) ? jl(Zl(...e), t) : Ph()(e[0]);
7925}
7926function vi(...e) {
7927  return e.length === 0 ? (t) => Ih(t, ["fulfilled"]) : Nc(e) ? Ta(...e.map((t) => t.fulfilled)) : vi()(e[0]);
7928}
7929function Qg(...e) {
7930  return e.length === 0 ? (t) => Ih(t, ["pending", "fulfilled", "rejected"]) : Nc(e) ? Ta(...e.flatMap((t) => [t.pending, t.rejected, t.fulfilled])) : Qg()(e[0]);
7931}
7932var UN = "ModuleSymbhasOwnPr-0123456789ABCDEFGHNRVfgctiUvz_KqYTJkLxpZXIjQW", ou = (e = 21) => {
7933  let t = "", r = e;
7934  for (; r--; )
7935    t += UN[Math.random() * 64 | 0];
7936  return t;
7937}, jN = ["name", "message", "stack", "code"], j1 = class {
7938  constructor(e, t) {
7939    this.payload = e, this.meta = t;
7940  }
7941  payload;
7942  meta;
7943  /*
7944  type-only property to distinguish between RejectWithValue and FulfillWithMeta
7945  does not exist at runtime
7946  */
7947  _type;
7948}, PS = class {
7949  constructor(e, t) {
7950    this.payload = e, this.meta = t;
7951  }
7952  payload;
7953  meta;
7954  /*
7955  type-only property to distinguish between RejectWithValue and FulfillWithMeta
7956  does not exist at runtime
7957  */
7958  _type;
7959}, FN = (e) => {
7960  if (typeof e == "object" && e !== null) {
7961    const t = {};
7962    for (const r of jN)
7963      typeof e[r] == "string" && (t[r] = e[r]);
7964    return t;
7965  }
7966  return {
7967    message: String(e)
7968  };
7969}, kS = "External signal was aborted", LS = /* @__PURE__ */ (() => {
7970  function e(t, r, i) {
7971    const l = dn(t + "/fulfilled", (m, g, p, b) => ({
7972      payload: m,
7973      meta: {
7974        ...b || {},
7975        arg: p,
7976        requestId: g,
7977        requestStatus: "fulfilled"
7978      }
7979    })), s = dn(t + "/pending", (m, g, p) => ({
7980      payload: void 0,
7981      meta: {
7982        ...p || {},
7983        arg: g,
7984        requestId: m,
7985        requestStatus: "pending"
7986      }
7987    })), f = dn(t + "/rejected", (m, g, p, b, S) => ({
7988      payload: b,
7989      error: (i && i.serializeError || FN)(m || "Rejected"),
7990      meta: {
7991        ...S || {},
7992        arg: p,
7993        requestId: g,
7994        rejectedWithValue: !!b,
7995        requestStatus: "rejected",
7996        aborted: m?.name === "AbortError",
7997        condition: m?.name === "ConditionError"
7998      }
7999    }));
8000    function h(m, {
8001      signal: g
8002    } = {}) {
8003      return (p, b, S) => {
8004        const w = i?.idGenerator ? i.idGenerator(m) : ou(), T = new AbortController();
8005        let N, $;
8006        function A(_) {
8007          $ = _, T.abort();
8008        }
8009        g && (g.aborted ? A(kS) : g.addEventListener("abort", () => A(kS), {
8010          once: !0
8011        }));
8012        const D = (async function() {
8013          let _;
8014          try {
8015            let v = i?.condition?.(m, {
8016              getState: b,
8017              extra: S
8018            });
8019            if (VN(v) && (v = await v), v === !1 || T.signal.aborted)
8020              throw {
8021                name: "ConditionError",
8022                message: "Aborted due to condition callback returning false."
8023              };
8024            const E = new Promise((C, L) => {
8025              N = () => {
8026                L({
8027                  name: "AbortError",
8028                  message: $ || "Aborted"
8029                });
8030              }, T.signal.addEventListener("abort", N, {
8031                once: !0
8032              });
8033            });
8034            p(s(w, m, i?.getPendingMeta?.({
8035              requestId: w,
8036              arg: m
8037            }, {
8038              getState: b,
8039              extra: S
8040            }))), _ = await Promise.race([E, Promise.resolve(r(m, {
8041              dispatch: p,
8042              getState: b,
8043              extra: S,
8044              requestId: w,
8045              signal: T.signal,
8046              abort: A,
8047              rejectWithValue: ((C, L) => new j1(C, L)),
8048              fulfillWithValue: ((C, L) => new PS(C, L))
8049            })).then((C) => {
8050              if (C instanceof j1)
8051                throw C;
8052              return C instanceof PS ? l(C.payload, w, m, C.meta) : l(C, w, m);
8053            })]);
8054          } catch (v) {
8055            _ = v instanceof j1 ? f(null, w, m, v.payload, v.meta) : f(v, w, m);
8056          } finally {
8057            N && T.signal.removeEventListener("abort", N);
8058          }
8059          return i && !i.dispatchConditionRejection && f.match(_) && _.meta.condition || p(_), _;
8060        })();
8061        return Object.assign(D, {
8062          abort: A,
8063          requestId: w,
8064          arg: m,
8065          unwrap() {
8066            return D.then(HN);
8067          }
8068        });
8069      };
8070    }
8071    return Object.assign(h, {
8072      pending: s,
8073      rejected: f,
8074      fulfilled: l,
8075      settled: Ta(f, l),
8076      typePrefix: t
8077    });
8078  }
8079  return e.withTypes = () => e, e;
8080})();
8081function HN(e) {
8082  if (e.meta && e.meta.rejectedWithValue)
8083    throw e.payload;
8084  if (e.error)
8085    throw e.error;
8086  return e.payload;
8087}
8088function VN(e) {
8089  return e !== null && typeof e == "object" && typeof e.then == "function";
8090}
8091var BN = /* @__PURE__ */ Symbol.for("rtk-slice-createasyncthunk");
8092function qN(e, t) {
8093  return `${e}/${t}`;
8094}
8095function GN({
8096  creators: e
8097} = {}) {
8098  const t = e?.asyncThunk?.[BN];
8099  return function(i) {
8100    const {
8101      name: l,
8102      reducerPath: s = l
8103    } = i;
8104    if (!l)
8105      throw new Error(Ht(11));
8106    const f = (typeof i.reducers == "function" ? i.reducers(ZN()) : i.reducers) || {}, h = Object.keys(f), m = {
8107      sliceCaseReducersByName: {},
8108      sliceCaseReducersByType: {},
8109      actionCreators: {},
8110      sliceMatchers: []
8111    }, g = {
8112      addCase(_, x) {
8113        const v = typeof _ == "string" ? _ : _.type;
8114        if (!v)
8115          throw new Error(Ht(12));
8116        if (v in m.sliceCaseReducersByType)
8117          throw new Error(Ht(13));
8118        return m.sliceCaseReducersByType[v] = x, g;
8119      },
8120      addMatcher(_, x) {
8121        return m.sliceMatchers.push({
8122          matcher: _,
8123          reducer: x
8124        }), g;
8125      },
8126      exposeAction(_, x) {
8127        return m.actionCreators[_] = x, g;
8128      },
8129      exposeCaseReducer(_, x) {
8130        return m.sliceCaseReducersByName[_] = x, g;
8131      }
8132    };
8133    h.forEach((_) => {
8134      const x = f[_], v = {
8135        reducerName: _,
8136        type: qN(l, _),
8137        createNotation: typeof i.reducers == "function"
8138      };
8139      KN(x) ? WN(v, x, g, t) : QN(v, x, g);
8140    });
8141    function p() {
8142      const [_ = {}, x = [], v = void 0] = typeof i.extraReducers == "function" ? d6(i.extraReducers) : [i.extraReducers], E = {
8143        ..._,
8144        ...m.sliceCaseReducersByType
8145      };
8146      return zN(i.initialState, (C) => {
8147        for (let L in E)
8148          C.addCase(L, E[L]);
8149        for (let L of m.sliceMatchers)
8150          C.addMatcher(L.matcher, L.reducer);
8151        for (let L of x)
8152          C.addMatcher(L.matcher, L.reducer);
8153        v && C.addDefaultCase(v);
8154      });
8155    }
8156    const b = (_) => _, S = /* @__PURE__ */ new Map(), w = /* @__PURE__ */ new WeakMap();
8157    let T;
8158    function N(_, x) {
8159      return T || (T = p()), T(_, x);
8160    }
8161    function $() {
8162      return T || (T = p()), T.getInitialState();
8163    }
8164    function A(_, x = !1) {
8165      function v(C) {
8166        let L = C[_];
8167        return typeof L > "u" && x && (L = co(w, v, $)), L;
8168      }
8169      function E(C = b) {
8170        const L = co(S, x, () => /* @__PURE__ */ new WeakMap());
8171        return co(L, C, () => {
8172          const k = {};
8173          for (const [I, M] of Object.entries(i.selectors ?? {}))
8174            k[I] = YN(M, C, () => co(w, C, $), x);
8175          return k;
8176        });
8177      }
8178      return {
8179        reducerPath: _,
8180        getSelectors: E,
8181        get selectors() {
8182          return E(v);
8183        },
8184        selectSlice: v
8185      };
8186    }
8187    const D = {
8188      name: l,
8189      reducer: N,
8190      actions: m.actionCreators,
8191      caseReducers: m.sliceCaseReducersByName,
8192      getInitialState: $,
8193      ...A(s),
8194      injectInto(_, {
8195        reducerPath: x,
8196        ...v
8197      } = {}) {
8198        const E = x ?? s;
8199        return _.inject({
8200          reducerPath: E,
8201          reducer: N
8202        }, v), {
8203          ...D,
8204          ...A(E, !0)
8205        };
8206      }
8207    };
8208    return D;
8209  };
8210}
8211function YN(e, t, r, i) {
8212  function l(s, ...f) {
8213    let h = t(s);
8214    return typeof h > "u" && i && (h = r()), e(h, ...f);
8215  }
8216  return l.unwrapped = e, l;
8217}
8218var ba = /* @__PURE__ */ GN();
8219function ZN() {
8220  function e(t, r) {
8221    return {
8222      _reducerDefinitionType: "asyncThunk",
8223      payloadCreator: t,
8224      ...r
8225    };
8226  }
8227  return e.withTypes = () => e, {
8228    reducer(t) {
8229      return Object.assign({
8230        // hack so the wrapping function has the same name as the original
8231        // we need to create a wrapper so the `reducerDefinitionType` is not assigned to the original
8232        [t.name](...r) {
8233          return t(...r);
8234        }
8235      }[t.name], {
8236        _reducerDefinitionType: "reducer"
8237        /* reducer */
8238      });
8239    },
8240    preparedReducer(t, r) {
8241      return {
8242        _reducerDefinitionType: "reducerWithPrepare",
8243        prepare: t,
8244        reducer: r
8245      };
8246    },
8247    asyncThunk: e
8248  };
8249}
8250function QN({
8251  type: e,
8252  reducerName: t,
8253  createNotation: r
8254}, i, l) {
8255  let s, f;
8256  if ("reducer" in i) {
8257    if (r && !XN(i))
8258      throw new Error(Ht(17));
8259    s = i.reducer, f = i.prepare;
8260  } else
8261    s = i;
8262  l.addCase(e, s).exposeCaseReducer(t, s).exposeAction(t, f ? dn(e, f) : dn(e));
8263}
8264function KN(e) {
8265  return e._reducerDefinitionType === "asyncThunk";
8266}
8267function XN(e) {
8268  return e._reducerDefinitionType === "reducerWithPrepare";
8269}
8270function WN({
8271  type: e,
8272  reducerName: t
8273}, r, i, l) {
8274  if (!l)
8275    throw new Error(Ht(18));
8276  const {
8277    payloadCreator: s,
8278    fulfilled: f,
8279    pending: h,
8280    rejected: m,
8281    settled: g,
8282    options: p
8283  } = r, b = l(e, s, p);
8284  i.exposeAction(t, b), f && i.addCase(b.fulfilled, f), h && i.addCase(b.pending, h), m && i.addCase(b.rejected, m), g && i.addMatcher(b.settled, g), i.exposeCaseReducer(t, {
8285    fulfilled: f || bd,
8286    pending: h || bd,
8287    rejected: m || bd,
8288    settled: g || bd
8289  });
8290}
8291function bd() {
8292}
8293var JN = "task", m6 = "listener", g6 = "completed", ty = "cancelled", eA = `task-${ty}`, tA = `task-${g6}`, Kg = `${m6}-${ty}`, nA = `${m6}-${g6}`, kh = class {
8294  constructor(e) {
8295    this.code = e, this.message = `${JN} ${ty} (reason: ${e})`;
8296  }
8297  code;
8298  name = "TaskAbortError";
8299  message;
8300}, ny = (e, t) => {
8301  if (typeof e != "function")
8302    throw new TypeError(Ht(32));
8303}, ih = () => {
8304}, p6 = (e, t = ih) => (e.catch(t), e), y6 = (e, t) => (e.addEventListener("abort", t, {
8305  once: !0
8306}), () => e.removeEventListener("abort", t)), fo = (e) => {
8307  if (e.aborted)
8308    throw new kh(e.reason);
8309};
8310function v6(e, t) {
8311  let r = ih;
8312  return new Promise((i, l) => {
8313    const s = () => l(new kh(e.reason));
8314    if (e.aborted) {
8315      s();
8316      return;
8317    }
8318    r = y6(e, s), t.finally(() => r()).then(i, l);
8319  }).finally(() => {
8320    r = ih;
8321  });
8322}
8323var rA = async (e, t) => {
8324  try {
8325    return await Promise.resolve(), {
8326      status: "ok",
8327      value: await e()
8328    };
8329  } catch (r) {
8330    return {
8331      status: r instanceof kh ? "cancelled" : "rejected",
8332      error: r
8333    };
8334  } finally {
8335    t?.();
8336  }
8337}, oh = (e) => (t) => p6(v6(e, t).then((r) => (fo(e), r))), b6 = (e) => {
8338  const t = oh(e);
8339  return (r) => t(new Promise((i) => setTimeout(i, r)));
8340}, {
8341  assign: Fl
8342} = Object, zS = {}, Lh = "listenerMiddleware", aA = (e, t) => {
8343  const r = (i) => y6(e, () => i.abort(e.reason));
8344  return (i, l) => {
8345    ny(i);
8346    const s = new AbortController();
8347    r(s);
8348    const f = rA(async () => {
8349      fo(e), fo(s.signal);
8350      const h = await i({
8351        pause: oh(s.signal),
8352        delay: b6(s.signal),
8353        signal: s.signal
8354      });
8355      return fo(s.signal), h;
8356    }, () => s.abort(tA));
8357    return l?.autoJoin && t.push(f.catch(ih)), {
8358      result: oh(e)(f),
8359      cancel() {
8360        s.abort(eA);
8361      }
8362    };
8363  };
8364}, iA = (e, t) => {
8365  const r = async (i, l) => {
8366    fo(t);
8367    let s = () => {
8368    };
8369    const h = [new Promise((m, g) => {
8370      let p = e({
8371        predicate: i,
8372        effect: (b, S) => {
8373          S.unsubscribe(), m([b, S.getState(), S.getOriginalState()]);
8374        }
8375      });
8376      s = () => {
8377        p(), g();
8378      };
8379    })];
8380    l != null && h.push(new Promise((m) => setTimeout(m, l, null)));
8381    try {
8382      const m = await v6(t, Promise.race(h));
8383      return fo(t), m;
8384    } finally {
8385      s();
8386    }
8387  };
8388  return ((i, l) => p6(r(i, l)));
8389}, S6 = (e) => {
8390  let {
8391    type: t,
8392    actionCreator: r,
8393    matcher: i,
8394    predicate: l,
8395    effect: s
8396  } = e;
8397  if (t)
8398    l = dn(t).match;
8399  else if (r)
8400    t = r.type, l = r.match;
8401  else if (i)
8402    l = i;
8403  else if (!l) throw new Error(Ht(21));
8404  return ny(s), {
8405    predicate: l,
8406    type: t,
8407    effect: s
8408  };
8409}, $6 = /* @__PURE__ */ Fl((e) => {
8410  const {
8411    type: t,
8412    predicate: r,
8413    effect: i
8414  } = S6(e);
8415  return {
8416    id: ou(),
8417    effect: i,
8418    type: t,
8419    predicate: r,
8420    pending: /* @__PURE__ */ new Set(),
8421    unsubscribe: () => {
8422      throw new Error(Ht(22));
8423    }
8424  };
8425}, {
8426  withTypes: () => $6
8427}), US = (e, t) => {
8428  const {
8429    type: r,
8430    effect: i,
8431    predicate: l
8432  } = S6(t);
8433  return Array.from(e.values()).find((s) => (typeof r == "string" ? s.type === r : s.predicate === l) && s.effect === i);
8434}, Xg = (e) => {
8435  e.pending.forEach((t) => {
8436    t.abort(Kg);
8437  });
8438}, oA = (e, t) => () => {
8439  for (const r of t.keys())
8440    Xg(r);
8441  e.clear();
8442}, jS = (e, t, r) => {
8443  try {
8444    e(t, r);
8445  } catch (i) {
8446    setTimeout(() => {
8447      throw i;
8448    }, 0);
8449  }
8450}, E6 = /* @__PURE__ */ Fl(/* @__PURE__ */ dn(`${Lh}/add`), {
8451  withTypes: () => E6
8452}), lA = /* @__PURE__ */ dn(`${Lh}/removeAll`), T6 = /* @__PURE__ */ Fl(/* @__PURE__ */ dn(`${Lh}/remove`), {
8453  withTypes: () => T6
8454}), uA = (...e) => {
8455  console.error(`${Lh}/error`, ...e);
8456}, sA = (e = {}) => {
8457  const t = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = (w) => {
8458    const T = r.get(w) ?? 0;
8459    r.set(w, T + 1);
8460  }, l = (w) => {
8461    const T = r.get(w) ?? 1;
8462    T === 1 ? r.delete(w) : r.set(w, T - 1);
8463  }, {
8464    extra: s,
8465    onError: f = uA
8466  } = e;
8467  ny(f);
8468  const h = (w) => (w.unsubscribe = () => t.delete(w.id), t.set(w.id, w), (T) => {
8469    w.unsubscribe(), T?.cancelActive && Xg(w);
8470  }), m = ((w) => {
8471    const T = US(t, w) ?? $6(w);
8472    return h(T);
8473  });
8474  Fl(m, {
8475    withTypes: () => m
8476  });
8477  const g = (w) => {
8478    const T = US(t, w);
8479    return T && (T.unsubscribe(), w.cancelActive && Xg(T)), !!T;
8480  };
8481  Fl(g, {
8482    withTypes: () => g
8483  });
8484  const p = async (w, T, N, $) => {
8485    const A = new AbortController(), D = iA(m, A.signal), _ = [];
8486    try {
8487      w.pending.add(A), i(w), await Promise.resolve(w.effect(
8488        T,
8489        // Use assign() rather than ... to avoid extra helper functions added to bundle
8490        Fl({}, N, {
8491          getOriginalState: $,
8492          condition: (x, v) => D(x, v).then(Boolean),
8493          take: D,
8494          delay: b6(A.signal),
8495          pause: oh(A.signal),
8496          extra: s,
8497          signal: A.signal,
8498          fork: aA(A.signal, _),
8499          unsubscribe: w.unsubscribe,
8500          subscribe: () => {
8501            t.set(w.id, w);
8502          },
8503          cancelActiveListeners: () => {
8504            w.pending.forEach((x, v, E) => {
8505              x !== A && (x.abort(Kg), E.delete(x));
8506            });
8507          },
8508          cancel: () => {
8509            A.abort(Kg), w.pending.delete(A);
8510          },
8511          throwIfCancelled: () => {
8512            fo(A.signal);
8513          }
8514        })
8515      ));
8516    } catch (x) {
8517      x instanceof kh || jS(f, x, {
8518        raisedBy: "effect"
8519      });
8520    } finally {
8521      await Promise.all(_), A.abort(nA), l(w), w.pending.delete(A);
8522    }
8523  }, b = oA(t, r);
8524  return {
8525    middleware: (w) => (T) => (N) => {
8526      if (!Kp(N))
8527        return T(N);
8528      if (E6.match(N))
8529        return m(N.payload);
8530      if (lA.match(N)) {
8531        b();
8532        return;
8533      }
8534      if (T6.match(N))
8535        return g(N.payload);
8536      let $ = w.getState();
8537      const A = () => {
8538        if ($ === zS)
8539          throw new Error(Ht(23));
8540        return $;
8541      };
8542      let D;
8543      try {
8544        if (D = T(N), t.size > 0) {
8545          const _ = w.getState(), x = Array.from(t.values());
8546          for (const v of x) {
8547            let E = !1;
8548            try {
8549              E = v.predicate(N, _, $);
8550            } catch (C) {
8551              E = !1, jS(f, C, {
8552                raisedBy: "predicate"
8553              });
8554            }
8555            E && p(v, N, w, A);
8556          }
8557        }
8558      } finally {
8559        $ = zS;
8560      }
8561      return D;
8562    },
8563    startListening: m,
8564    stopListening: g,
8565    clearListeners: b
8566  };
8567}, cA = (e) => ({
8568  middleware: e,
8569  applied: /* @__PURE__ */ new Map()
8570}), fA = (e) => (t) => t?.meta?.instanceId === e, dA = () => {
8571  const e = ou(), t = /* @__PURE__ */ new Map(), r = Object.assign(dn("dynamicMiddleware/add", (...h) => ({
8572    payload: h,
8573    meta: {
8574      instanceId: e
8575    }
8576  })), {
8577    withTypes: () => r
8578  }), i = Object.assign(function(...m) {
8579    m.forEach((g) => {
8580      co(t, g, cA);
8581    });
8582  }, {
8583    withTypes: () => i
8584  }), l = (h) => {
8585    const m = Array.from(t.values()).map((g) => co(g.applied, h, g.middleware));
8586    return Ys(...m);
8587  }, s = jl(r, fA(e));
8588  return {
8589    middleware: (h) => (m) => (g) => s(g) ? (i(...g.payload), h.dispatch) : l(h)(m)(g),
8590    addMiddleware: i,
8591    withMiddleware: r,
8592    instanceId: e
8593  };
8594}, hA = (e) => "reducerPath" in e && typeof e.reducerPath == "string", mA = (e) => e.flatMap((t) => hA(t) ? [[t.reducerPath, t.reducer]] : Object.entries(t)), ry = /* @__PURE__ */ Symbol.for("rtk-state-proxy-original"), gA = (e) => !!e && !!e[ry], pA = /* @__PURE__ */ new WeakMap(), yA = (e, t, r) => co(pA, e, () => new Proxy(e, {
8595  get: (i, l, s) => {
8596    if (l === ry) return i;
8597    const f = Reflect.get(i, l, s);
8598    if (typeof f > "u") {
8599      const h = r[l];
8600      if (typeof h < "u") return h;
8601      const m = t[l];
8602      if (m) {
8603        const g = m(void 0, {
8604          type: ou()
8605        });
8606        if (typeof g > "u")
8607          throw new Error(Ht(24));
8608        return r[l] = g, g;
8609      }
8610    }
8611    return f;
8612  }
8613})), vA = (e) => {
8614  if (!gA(e))
8615    throw new Error(Ht(25));
8616  return e[ry];
8617}, bA = {}, SA = (e = bA) => e;
8618function $A(...e) {
8619  const t = Object.fromEntries(mA(e)), r = () => Object.keys(t).length ? Qp(t) : SA;
8620  let i = r();
8621  function l(m, g) {
8622    return i(m, g);
8623  }
8624  l.withLazyLoadedSlices = () => l;
8625  const s = {}, f = (m, g = {}) => {
8626    const {
8627      reducerPath: p,
8628      reducer: b
8629    } = m, S = t[p];
8630    return !g.overrideExisting && S && S !== b || (g.overrideExisting && S !== b && delete s[p], t[p] = b, i = r()), l;
8631  }, h = Object.assign(function(g, p) {
8632    return function(S, ...w) {
8633      return g(yA(p ? p(S, ...w) : S, t, s), ...w);
8634    };
8635  }, {
8636    original: vA
8637  });
8638  return Object.assign(l, {
8639    inject: f,
8640    selector: h
8641  });
8642}
8643function Ht(e) {
8644  return `Minified Redux Toolkit error #${e}; visit https://redux-toolkit.js.org/Errors?code=${e} for the full message or use the non-minified dev environment for full errors. `;
8645}
8646const Ce = (e) => typeof e == "string", ds = () => {
8647  let e, t;
8648  const r = new Promise((i, l) => {
8649    e = i, t = l;
8650  });
8651  return r.resolve = e, r.reject = t, r;
8652}, FS = (e) => e == null ? "" : "" + e, EA = (e, t, r) => {
8653  e.forEach((i) => {
8654    t[i] && (r[i] = t[i]);
8655  });
8656}, TA = /###/g, HS = (e) => e && e.indexOf("###") > -1 ? e.replace(TA, ".") : e, VS = (e) => !e || Ce(e), Us = (e, t, r) => {
8657  const i = Ce(t) ? t.split(".") : t;
8658  let l = 0;
8659  for (; l < i.length - 1; ) {
8660    if (VS(e)) return {};
8661    const s = HS(i[l]);
8662    !e[s] && r && (e[s] = new r()), Object.prototype.hasOwnProperty.call(e, s) ? e = e[s] : e = {}, ++l;
8663  }
8664  return VS(e) ? {} : {
8665    obj: e,
8666    k: HS(i[l])
8667  };
8668}, BS = (e, t, r) => {
8669  const {
8670    obj: i,
8671    k: l
8672  } = Us(e, t, Object);
8673  if (i !== void 0 || t.length === 1) {
8674    i[l] = r;
8675    return;
8676  }
8677  let s = t[t.length - 1], f = t.slice(0, t.length - 1), h = Us(e, f, Object);
8678  for (; h.obj === void 0 && f.length; )
8679    s = `${f[f.length - 1]}.${s}`, f = f.slice(0, f.length - 1), h = Us(e, f, Object), h && h.obj && typeof h.obj[`${h.k}.${s}`] < "u" && (h.obj = void 0);
8680  h.obj[`${h.k}.${s}`] = r;
8681}, CA = (e, t, r, i) => {
8682  const {
8683    obj: l,
8684    k: s
8685  } = Us(e, t, Object);
8686  l[s] = l[s] || [], l[s].push(r);
8687}, lh = (e, t) => {
8688  const {
8689    obj: r,
8690    k: i
8691  } = Us(e, t);
8692  if (r)
8693    return r[i];
8694}, wA = (e, t, r) => {
8695  const i = lh(e, r);
8696  return i !== void 0 ? i : lh(t, r);
8697}, C6 = (e, t, r) => {
8698  for (const i in t)
8699    i !== "__proto__" && i !== "constructor" && (i in e ? Ce(e[i]) || e[i] instanceof String || Ce(t[i]) || t[i] instanceof String ? r && (e[i] = t[i]) : C6(e[i], t[i], r) : e[i] = t[i]);
8700  return e;
8701}, bl = (e) => e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, "\\$&");
8702var OA = {
8703  "&": "&amp;",
8704  "<": "&lt;",
8705  ">": "&gt;",
8706  '"': "&quot;",
8707  "'": "&#39;",
8708  "/": "&#x2F;"
8709};
8710const NA = (e) => Ce(e) ? e.replace(/[&<>
vendor: 5,428 bytes, lines 8710-8872
8710"'\/]/g, (t) => OA[t]) : e;
8711class AA {
8712  constructor(t) {
8713    this.capacity = t, this.regExpMap = /* @__PURE__ */ new Map(), this.regExpQueue = [];
8714  }
8715  getRegExp(t) {
8716    const r = this.regExpMap.get(t);
8717    if (r !== void 0)
8718      return r;
8719    const i = new RegExp(t);
8720    return this.regExpQueue.length === this.capacity && this.regExpMap.delete(this.regExpQueue.shift()), this.regExpMap.set(t, i), this.regExpQueue.push(t), i;
8721  }
8722}
8723const _A = [" ", ",", "?", "!", ";"], xA = new AA(20), RA = (e, t, r) => {
8724  t = t || "", r = r || "";
8725  const i = _A.filter((f) => t.indexOf(f) < 0 && r.indexOf(f) < 0);
8726  if (i.length === 0) return !0;
8727  const l = xA.getRegExp(`(${i.map((f) => f === "?" ? "\\?" : f).join("|")})`);
8728  let s = !l.test(e);
8729  if (!s) {
8730    const f = e.indexOf(r);
8731    f > 0 && !l.test(e.substring(0, f)) && (s = !0);
8732  }
8733  return s;
8734}, Wg = function(e, t) {
8735  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ".";
8736  if (!e) return;
8737  if (e[t]) return e[t];
8738  const i = t.split(r);
8739  let l = e;
8740  for (let s = 0; s < i.length; ) {
8741    if (!l || typeof l != "object")
8742      return;
8743    let f, h = "";
8744    for (let m = s; m < i.length; ++m)
8745      if (m !== s && (h += r), h += i[m], f = l[h], f !== void 0) {
8746        if (["string", "number", "boolean"].indexOf(typeof f) > -1 && m < i.length - 1)
8747          continue;
8748        s += m - s + 1;
8749        break;
8750      }
8751    l = f;
8752  }
8753  return l;
8754}, uh = (e) => e && e.replace("_", "-"), DA = {
8755  type: "logger",
8756  log(e) {
8757    this.output("log", e);
8758  },
8759  warn(e) {
8760    this.output("warn", e);
8761  },
8762  error(e) {
8763    this.output("error", e);
8764  },
8765  output(e, t) {
8766    console && console[e] && console[e].apply(console, t);
8767  }
8768};
8769class sh {
8770  constructor(t) {
8771    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8772    this.init(t, r);
8773  }
8774  init(t) {
8775    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8776    this.prefix = r.prefix || "i18next:", this.logger = t || DA, this.options = r, this.debug = r.debug;
8777  }
8778  log() {
8779    for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
8780      r[i] = arguments[i];
8781    return this.forward(r, "log", "", !0);
8782  }
8783  warn() {
8784    for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
8785      r[i] = arguments[i];
8786    return this.forward(r, "warn", "", !0);
8787  }
8788  error() {
8789    for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
8790      r[i] = arguments[i];
8791    return this.forward(r, "error", "");
8792  }
8793  deprecate() {
8794    for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
8795      r[i] = arguments[i];
8796    return this.forward(r, "warn", "WARNING DEPRECATED: ", !0);
8797  }
8798  forward(t, r, i, l) {
8799    return l && !this.debug ? null : (Ce(t[0]) && (t[0] = `${i}${this.prefix} ${t[0]}`), this.logger[r](t));
8800  }
8801  create(t) {
8802    return new sh(this.logger, {
8803      prefix: `${this.prefix}:${t}:`,
8804      ...this.options
8805    });
8806  }
8807  clone(t) {
8808    return t = t || this.options, t.prefix = t.prefix || this.prefix, new sh(this.logger, t);
8809  }
8810}
8811var Qr = new sh();
8812class zh {
8813  constructor() {
8814    this.observers = {};
8815  }
8816  on(t, r) {
8817    return t.split(" ").forEach((i) => {
8818      this.observers[i] || (this.observers[i] = /* @__PURE__ */ new Map());
8819      const l = this.observers[i].get(r) || 0;
8820      this.observers[i].set(r, l + 1);
8821    }), this;
8822  }
8823  off(t, r) {
8824    if (this.observers[t]) {
8825      if (!r) {
8826        delete this.observers[t];
8827        return;
8828      }
8829      this.observers[t].delete(r);
8830    }
8831  }
8832  emit(t) {
8833    for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
8834      i[l - 1] = arguments[l];
8835    this.observers[t] && Array.from(this.observers[t].entries()).forEach((f) => {
8836      let [h, m] = f;
8837      for (let g = 0; g < m; g++)
8838        h(...i);
8839    }), this.observers["*"] && Array.from(this.observers["*"].entries()).forEach((f) => {
8840      let [h, m] = f;
8841      for (let g = 0; g < m; g++)
8842        h.apply(h, [t, ...i]);
8843    });
8844  }
8845}
8846class qS extends zh {
8847  constructor(t) {
8848    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
8849      ns: ["translation"],
8850      defaultNS: "translation"
8851    };
8852    super(), this.data = t || {}, this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.options.ignoreJSONStructure === void 0 && (this.options.ignoreJSONStructure = !0);
8853  }
8854  addNamespaces(t) {
8855    this.options.ns.indexOf(t) < 0 && this.options.ns.push(t);
8856  }
8857  removeNamespaces(t) {
8858    const r = this.options.ns.indexOf(t);
8859    r > -1 && this.options.ns.splice(r, 1);
8860  }
8861  getResource(t, r, i) {
8862    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
8863    const s = l.keySeparator !== void 0 ? l.keySeparator : this.options.keySeparator, f = l.ignoreJSONStructure !== void 0 ? l.ignoreJSONStructure : this.options.ignoreJSONStructure;
8864    let h;
8865    t.indexOf(".") > -1 ? h = t.split(".") : (h = [t, r], i && (Array.isArray(i) ? h.push(...i) : Ce(i) && s ? h.push(...i.split(s)) : h.push(i)));
8866    const m = lh(this.data, h);
8867    return !m && !r && !i && t.indexOf(".") > -1 && (t = h[0], r = h[1], i = h.slice(2).join(".")), m || !f || !Ce(i) ? m : Wg(this.data && this.data[t] && this.data[t][r], i, s);
8868  }
8869  addResource(t, r, i, l) {
8870    let s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : {
8871      silent: !1
8872    };
vendor: 8,162 bytes, lines 8873-9051
8873    const f = s.keySeparator !== void 0 ? s.keySeparator : this.options.keySeparator;
8874    let h = [t, r];
8875    i && (h = h.concat(f ? i.split(f) : i)), t.indexOf(".") > -1 && (h = t.split("."), l = r, r = h[1]), this.addNamespaces(r), BS(this.data, h, l), s.silent || this.emit("added", t, r, i, l);
8876  }
8877  addResources(t, r, i) {
8878    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {
8879      silent: !1
8880    };
8881    for (const s in i)
8882      (Ce(i[s]) || Array.isArray(i[s])) && this.addResource(t, r, s, i[s], {
8883        silent: !0
8884      });
8885    l.silent || this.emit("added", t, r, i);
8886  }
8887  addResourceBundle(t, r, i, l, s) {
8888    let f = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {
8889      silent: !1,
8890      skipCopy: !1
8891    }, h = [t, r];
8892    t.indexOf(".") > -1 && (h = t.split("."), l = i, i = r, r = h[1]), this.addNamespaces(r);
8893    let m = lh(this.data, h) || {};
8894    f.skipCopy || (i = JSON.parse(JSON.stringify(i))), l ? C6(m, i, s) : m = {
8895      ...m,
8896      ...i
8897    }, BS(this.data, h, m), f.silent || this.emit("added", t, r, i);
8898  }
8899  removeResourceBundle(t, r) {
8900    this.hasResourceBundle(t, r) && delete this.data[t][r], this.removeNamespaces(r), this.emit("removed", t, r);
8901  }
8902  hasResourceBundle(t, r) {
8903    return this.getResource(t, r) !== void 0;
8904  }
8905  getResourceBundle(t, r) {
8906    return r || (r = this.options.defaultNS), this.options.compatibilityAPI === "v1" ? {
8907      ...this.getResource(t, r)
8908    } : this.getResource(t, r);
8909  }
8910  getDataByLanguage(t) {
8911    return this.data[t];
8912  }
8913  hasLanguageSomeTranslations(t) {
8914    const r = this.getDataByLanguage(t);
8915    return !!(r && Object.keys(r) || []).find((l) => r[l] && Object.keys(r[l]).length > 0);
8916  }
8917  toJSON() {
8918    return this.data;
8919  }
8920}
8921var w6 = {
8922  processors: {},
8923  addPostProcessor(e) {
8924    this.processors[e.name] = e;
8925  },
8926  handle(e, t, r, i, l) {
8927    return e.forEach((s) => {
8928      this.processors[s] && (t = this.processors[s].process(t, r, i, l));
8929    }), t;
8930  }
8931};
8932const GS = {};
8933class ch extends zh {
8934  constructor(t) {
8935    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
8936    super(), EA(["resourceStore", "languageUtils", "pluralResolver", "interpolator", "backendConnector", "i18nFormat", "utils"], t, this), this.options = r, this.options.keySeparator === void 0 && (this.options.keySeparator = "."), this.logger = Qr.create("translator");
8937  }
8938  changeLanguage(t) {
8939    t && (this.language = t);
8940  }
8941  exists(t) {
8942    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
8943      interpolation: {}
8944    };
8945    if (t == null)
8946      return !1;
8947    const i = this.resolve(t, r);
8948    return i && i.res !== void 0;
8949  }
8950  extractFromKey(t, r) {
8951    let i = r.nsSeparator !== void 0 ? r.nsSeparator : this.options.nsSeparator;
8952    i === void 0 && (i = ":");
8953    const l = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator;
8954    let s = r.ns || this.options.defaultNS || [];
8955    const f = i && t.indexOf(i) > -1, h = !this.options.userDefinedKeySeparator && !r.keySeparator && !this.options.userDefinedNsSeparator && !r.nsSeparator && !RA(t, i, l);
8956    if (f && !h) {
8957      const m = t.match(this.interpolator.nestingRegexp);
8958      if (m && m.length > 0)
8959        return {
8960          key: t,
8961          namespaces: Ce(s) ? [s] : s
8962        };
8963      const g = t.split(i);
8964      (i !== l || i === l && this.options.ns.indexOf(g[0]) > -1) && (s = g.shift()), t = g.join(l);
8965    }
8966    return {
8967      key: t,
8968      namespaces: Ce(s) ? [s] : s
8969    };
8970  }
8971  translate(t, r, i) {
8972    if (typeof r != "object" && this.options.overloadTranslationOptionHandler && (r = this.options.overloadTranslationOptionHandler(arguments)), typeof r == "object" && (r = {
8973      ...r
8974    }), r || (r = {}), t == null) return "";
8975    Array.isArray(t) || (t = [String(t)]);
8976    const l = r.returnDetails !== void 0 ? r.returnDetails : this.options.returnDetails, s = r.keySeparator !== void 0 ? r.keySeparator : this.options.keySeparator, {
8977      key: f,
8978      namespaces: h
8979    } = this.extractFromKey(t[t.length - 1], r), m = h[h.length - 1], g = r.lng || this.language, p = r.appendNamespaceToCIMode || this.options.appendNamespaceToCIMode;
8980    if (g && g.toLowerCase() === "cimode") {
8981      if (p) {
8982        const x = r.nsSeparator || this.options.nsSeparator;
8983        return l ? {
8984          res: `${m}${x}${f}`,
8985          usedKey: f,
8986          exactUsedKey: f,
8987          usedLng: g,
8988          usedNS: m,
8989          usedParams: this.getUsedParamsDetails(r)
8990        } : `${m}${x}${f}`;
8991      }
8992      return l ? {
8993        res: f,
8994        usedKey: f,
8995        exactUsedKey: f,
8996        usedLng: g,
8997        usedNS: m,
8998        usedParams: this.getUsedParamsDetails(r)
8999      } : f;
9000    }
9001    const b = this.resolve(t, r);
9002    let S = b && b.res;
9003    const w = b && b.usedKey || f, T = b && b.exactUsedKey || f, N = Object.prototype.toString.apply(S), $ = ["[object Number]", "[object Function]", "[object RegExp]"], A = r.joinArrays !== void 0 ? r.joinArrays : this.options.joinArrays, D = !this.i18nFormat || this.i18nFormat.handleAsObject, _ = !Ce(S) && typeof S != "boolean" && typeof S != "number";
9004    if (D && S && _ && $.indexOf(N) < 0 && !(Ce(A) && Array.isArray(S))) {
9005      if (!r.returnObjects && !this.options.returnObjects) {
9006        this.options.returnedObjectHandler || this.logger.warn("accessing an object - but returnObjects options is not enabled!");
9007        const x = this.options.returnedObjectHandler ? this.options.returnedObjectHandler(w, S, {
9008          ...r,
9009          ns: h
9010        }) : `key '${f} (${this.language})' returned an object instead of string.`;
9011        return l ? (b.res = x, b.usedParams = this.getUsedParamsDetails(r), b) : x;
9012      }
9013      if (s) {
9014        const x = Array.isArray(S), v = x ? [] : {}, E = x ? T : w;
9015        for (const C in S)
9016          if (Object.prototype.hasOwnProperty.call(S, C)) {
9017            const L = `${E}${s}${C}`;
9018            v[C] = this.translate(L, {
9019              ...r,
9020              joinArrays: !1,
9021              ns: h
9022            }), v[C] === L && (v[C] = S[C]);
9023          }
9024        S = v;
9025      }
9026    } else if (D && Ce(A) && Array.isArray(S))
9027      S = S.join(A), S && (S = this.extendTranslation(S, t, r, i));
9028    else {
9029      let x = !1, v = !1;
9030      const E = r.count !== void 0 && !Ce(r.count), C = ch.hasDefaultValue(r), L = E ? this.pluralResolver.getSuffix(g, r.count, r) : "", k = r.ordinal && E ? this.pluralResolver.getSuffix(g, r.count, {
9031        ordinal: !1
9032      }) : "", I = E && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), M = I && r[`defaultValue${this.options.pluralSeparator}zero`] || r[`defaultValue${L}`] || r[`defaultValue${k}`] || r.defaultValue;
9033      !this.isValidLookup(S) && C && (x = !0, S = M), this.isValidLookup(S) || (v = !0, S = f);
9034      const G = (r.missingKeyNoValueFallbackToKey || this.options.missingKeyNoValueFallbackToKey) && v ? void 0 : S, q = C && M !== S && this.options.updateMissing;
9035      if (v || x || q) {
9036        if (this.logger.log(q ? "updateKey" : "missingKey", g, m, f, q ? M : S), s) {
9037          const X = this.resolve(f, {
9038            ...r,
9039            keySeparator: !1
9040          });
9041          X && X.res && this.logger.warn("Seems the loaded translations were in flat JSON format instead of nested. Either set keySeparator: false on init or make sure your translations are published in nested format.");
9042        }
9043        let K = [];
9044        const Z = this.languageUtils.getFallbackCodes(this.options.fallbackLng, r.lng || this.language);
9045        if (this.options.saveMissingTo === "fallback" && Z && Z[0])
9046          for (let X = 0; X < Z.length; X++)
9047            K.push(Z[X]);
9048        else this.options.saveMissingTo === "all" ? K = this.languageUtils.toResolveHierarchy(r.lng || this.language) : K.push(r.lng || this.language);
9049        const ne = (X, ee, ie) => {
9050          const de = C && ie !== S ? ie : G;
9051          this.options.missingKeyHandler ? this.options.missingKeyHandler(X, m, ee, de, q, r) : this.backendConnector && this.backendConnector.saveMissing && this.backendConnector.saveMissing(X, m, ee, de, q, r), this.emit
9051("missingKey", X, m, ee, S);
9052        };
9053        this.options.saveMissing && (this.options.saveMissingPlurals && E ? K.forEach((X) => {
9054          const ee = this.pluralResolver.getSuffixes(X, r);
9055          I && r[`defaultValue${this.options.pluralSeparator}zero`] && ee.indexOf(`${this.options.pluralSeparator}zero`) < 0 && ee.push(`${this.options.pluralSeparator}zero`), ee.forEach((ie) => {
9056            ne([X], f + ie, r[`defaultValue${ie}`] || M);
9057          });
9058        }) : ne(K, f, M));
9059      }
9060      S = this.extendTranslation(S, t, r, b, i), v && S === f && this.options.appendNamespaceToMissingKey && (S = `${m}:${f}`), (v || x) && this.options.parseMissingKeyHandler && (this.options.compatibilityAPI !== "v1" ? S = this.options.parseMissingKeyHandler(this.options.appendNamespaceToMissingKey ? `${m}:${f}` : f, x ? S : void 0) : S = this.options.parseMissingKeyHandler(S));
9061    }
9062    return l ? (b.res = S, b.usedParams = this.getUsedParamsDetails(r), b) : S;
9063  }
9064  extendTranslation(t, r, i, l, s) {
9065    var f = this;
9066    if (this.i18nFormat && this.i18nFormat.parse)
9067      t = this.i18nFormat.parse(t, {
9068        ...this.options.interpolation.defaultVariables,
9069        ...i
9070      }, i.lng || this.language || l.usedLng, l.usedNS, l.usedKey, {
9071        resolved: l
9072      });
9073    else if (!i.skipInterpolation) {
9074      i.interpolation && this.interpolator.init({
9075        ...i,
9076        interpolation: {
9077          ...this.options.interpolation,
9078          ...i.interpolation
9079        }
9080      });
9081      const g = Ce(t) && (i && i.interpolation && i.interpolation.skipOnVariables !== void 0 ? i.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables);
9082      let p;
9083      if (g) {
9084        const S = t.match(this.interpolator.nestingRegexp);
9085        p = S && S.length;
9086      }
9087      let b = i.replace && !Ce(i.replace) ? i.replace : i;
9088      if (this.options.interpolation.defaultVariables && (b = {
9089        ...this.options.interpolation.defaultVariables,
9090        ...b
9091      }), t = this.interpolator.interpolate(t, b, i.lng || this.language || l.usedLng, i), g) {
9092        const S = t.match(this.interpolator.nestingRegexp), w = S && S.length;
9093        p < w && (i.nest = !1);
9094      }
9095      !i.lng && this.options.compatibilityAPI !== "v1" && l && l.res && (i.lng = this.language || l.usedLng), i.nest !== !1 && (t = this.interpolator.nest(t, function() {
9096        for (var S = arguments.length, w = new Array(S), T = 0; T < S; T++)
9097          w[T] = arguments[T];
9098        return s && s[0] === w[0] && !i.context ? (f.logger.warn(`It seems you are nesting recursively key: ${w[0]} in key: ${r[0]}`), null) : f.translate(...w, r);
9099      }, i)), i.interpolation && this.interpolator.reset();
9100    }
9101    const h = i.postProcess || this.options.postProcess, m = Ce(h) ? [h] : h;
9102    return t != null && m && m.length && i.applyPostProcessor !== !1 && (t = w6.handle(m, t, r, this.options && this.options.postProcessPassResolved ? {
9103      i18nResolved: {
9104        ...l,
9105        usedParams: this.getUsedParamsDetails(i)
9106      },
9107      ...i
9108    } : i, this)), t;
9109  }
9110  resolve(t) {
9111    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, i, l, s, f, h;
9112    return Ce(t) && (t = [t]), t.forEach((m) => {
9113      if (this.isValidLookup(i)) return;
9114      const g = this.extractFromKey(m, r), p = g.key;
9115      l = p;
9116      let b = g.namespaces;
9117      this.options.fallbackNS && (b = b.concat(this.options.fallbackNS));
9118      const S = r.count !== void 0 && !Ce(r.count), w = S && !r.ordinal && r.count === 0 && this.pluralResolver.shouldUseIntlApi(), T = r.context !== void 0 && (Ce(r.context) || typeof r.context == "number") && r.context !== "", N = r.lngs ? r.lngs : this.languageUtils.toResolveHierarchy(r.lng || this.language, r.fallbackLng);
9119      b.forEach(($) => {
9120        this.isValidLookup(i) || (h = $, !GS[`${N[0]}-${$}`] && this.utils && this.utils.hasLoadedNamespace && !this.utils.hasLoadedNamespace(h) && (GS[`${N[0]}-${$}`] = !0, this.logger.warn(`key "${l}" for languages "${N.join(", ")}" won't get resolved as namespace "${h}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!")), N.forEac
vendor: 5,351 bytes, lines 9120-9233
9120h((A) => {
9121          if (this.isValidLookup(i)) return;
9122          f = A;
9123          const D = [p];
9124          if (this.i18nFormat && this.i18nFormat.addLookupKeys)
9125            this.i18nFormat.addLookupKeys(D, p, A, $, r);
9126          else {
9127            let x;
9128            S && (x = this.pluralResolver.getSuffix(A, r.count, r));
9129            const v = `${this.options.pluralSeparator}zero`, E = `${this.options.pluralSeparator}ordinal${this.options.pluralSeparator}`;
9130            if (S && (D.push(p + x), r.ordinal && x.indexOf(E) === 0 && D.push(p + x.replace(E, this.options.pluralSeparator)), w && D.push(p + v)), T) {
9131              const C = `${p}${this.options.contextSeparator}${r.context}`;
9132              D.push(C), S && (D.push(C + x), r.ordinal && x.indexOf(E) === 0 && D.push(C + x.replace(E, this.options.pluralSeparator)), w && D.push(C + v));
9133            }
9134          }
9135          let _;
9136          for (; _ = D.pop(); )
9137            this.isValidLookup(i) || (s = _, i = this.getResource(A, $, _, r));
9138        }));
9139      });
9140    }), {
9141      res: i,
9142      usedKey: l,
9143      exactUsedKey: s,
9144      usedLng: f,
9145      usedNS: h
9146    };
9147  }
9148  isValidLookup(t) {
9149    return t !== void 0 && !(!this.options.returnNull && t === null) && !(!this.options.returnEmptyString && t === "");
9150  }
9151  getResource(t, r, i) {
9152    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
9153    return this.i18nFormat && this.i18nFormat.getResource ? this.i18nFormat.getResource(t, r, i, l) : this.resourceStore.getResource(t, r, i, l);
9154  }
9155  getUsedParamsDetails() {
9156    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9157    const r = ["defaultValue", "ordinal", "context", "replace", "lng", "lngs", "fallbackLng", "ns", "keySeparator", "nsSeparator", "returnObjects", "returnDetails", "joinArrays", "postProcess", "interpolation"], i = t.replace && !Ce(t.replace);
9158    let l = i ? t.replace : t;
9159    if (i && typeof t.count < "u" && (l.count = t.count), this.options.interpolation.defaultVariables && (l = {
9160      ...this.options.interpolation.defaultVariables,
9161      ...l
9162    }), !i) {
9163      l = {
9164        ...l
9165      };
9166      for (const s of r)
9167        delete l[s];
9168    }
9169    return l;
9170  }
9171  static hasDefaultValue(t) {
9172    const r = "defaultValue";
9173    for (const i in t)
9174      if (Object.prototype.hasOwnProperty.call(t, i) && r === i.substring(0, r.length) && t[i] !== void 0)
9175        return !0;
9176    return !1;
9177  }
9178}
9179const F1 = (e) => e.charAt(0).toUpperCase() + e.slice(1);
9180class YS {
9181  constructor(t) {
9182    this.options = t, this.supportedLngs = this.options.supportedLngs || !1, this.logger = Qr.create("languageUtils");
9183  }
9184  getScriptPartFromCode(t) {
9185    if (t = uh(t), !t || t.indexOf("-") < 0) return null;
9186    const r = t.split("-");
9187    return r.length === 2 || (r.pop(), r[r.length - 1].toLowerCase() === "x") ? null : this.formatLanguageCode(r.join("-"));
9188  }
9189  getLanguagePartFromCode(t) {
9190    if (t = uh(t), !t || t.indexOf("-") < 0) return t;
9191    const r = t.split("-");
9192    return this.formatLanguageCode(r[0]);
9193  }
9194  formatLanguageCode(t) {
9195    if (Ce(t) && t.indexOf("-") > -1) {
9196      if (typeof Intl < "u" && typeof Intl.getCanonicalLocales < "u")
9197        try {
9198          let l = Intl.getCanonicalLocales(t)[0];
9199          if (l && this.options.lowerCaseLng && (l = l.toLowerCase()), l) return l;
9200        } catch {
9201        }
9202      const r = ["hans", "hant", "latn", "cyrl", "cans", "mong", "arab"];
9203      let i = t.split("-");
9204      return this.options.lowerCaseLng ? i = i.map((l) => l.toLowerCase()) : i.length === 2 ? (i[0] = i[0].toLowerCase(), i[1] = i[1].toUpperCase(), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = F1(i[1].toLowerCase()))) : i.length === 3 && (i[0] = i[0].toLowerCase(), i[1].length === 2 && (i[1] = i[1].toUpperCase()), i[0] !== "sgn" && i[2].length === 2 && (i[2] = i[2].toUpperCase()), r.indexOf(i[1].toLowerCase()) > -1 && (i[1] = F1(i[1].toLowerCase())), r.indexOf(i[2].toLowerCase()) > -1 && (i[2] = F1(i[2].toLowerCase()))), i.join("-");
9205    }
9206    return this.options.cleanCode || this.options.lowerCaseLng ? t.toLowerCase() : t;
9207  }
9208  isSupportedCode(t) {
9209    return (this.options.load === "languageOnly" || this.options.nonExplicitSupportedLngs) && (t = this.getLanguagePartFromCode(t)), !this.supportedLngs || !this.supportedLngs.length || this.supportedLngs.indexOf(t) > -1;
9210  }
9211  getBestMatchFromCodes(t) {
9212    if (!t) return null;
9213    let r;
9214    return t.forEach((i) => {
9215      if (r) return;
9216      const l = this.formatLanguageCode(i);
9217      (!this.options.supportedLngs || this.isSupportedCode(l)) && (r = l);
9218    }), !r && this.options.supportedLngs && t.forEach((i) => {
9219      if (r) return;
9220      const l = this.getLanguagePartFromCode(i);
9221      if (this.isSupportedCode(l)) return r = l;
9222      r = this.options.supportedLngs.find((s) => {
9223        if (s === l) return s;
9224        if (!(s.indexOf("-") < 0 && l.indexOf("-") < 0) && (s.indexOf("-") > 0 && l.indexOf("-") < 0 && s.substring(0, s.indexOf("-")) === l || s.indexOf(l) === 0 && l.length > 1))
9225          return s;
9226      });
9227    }), r || (r = this.getFallbackCodes(this.options.fallbackLng)[0]), r;
9228  }
9229  getFallbackCodes(t, r) {
9230    if (!t) return [];
9231    if (typeof t == "function" && (t = t(r)), Ce(t) && (t = [t]), Array.isArray(t)) return t;
9232    if (!r) return t.default || [];
9233    let i = t[r];
9234    return i || (i = t[this.getScriptPartFromCode(r)]), i || (i = t[this.formatLanguageCode(r)]), i || (i = t[this.getLanguagePartFromCode(r)]), i || (i = t.default), i || [];
9235  }
9236  toResolveHierarchy(t, r) {
9237    const i = this.getFallbackCodes(r || this.options.fallbackLng || [], t), l = [], s = (f) => {
9238      f && (this.isSupportedCode(f) ? l.push(f) : this.logger.warn(`rejecting language code not found in supportedLngs: ${f}`));
9239    };
9240    return Ce(t) && (t.indexOf("-") > -1 || t.indexOf("_") > -1) ? (this.options.load !== "languageOnly" && s(this.formatLanguageCode(t)), this.options.load !== "languageOnly" && this.options.load !== "currentOnly" && s(this.getScriptPartFromCode(t)), this.options.load !== "currentOnly" && s(this.getLanguagePartFromCode(t))) : Ce(t) && s(this.formatLanguageCode(t)), i.forEach((f) => {
9241      l.indexOf(f) < 0 && s(this.formatLanguageCode(f));
9242    }), l;
9243  }
9244}
9245let MA = [{
9246  lngs: ["ach", "ak", "am", "arn", "br", "fil", "gun", "ln", "mfe", "mg", "mi", "oc", "pt", "pt-BR", "tg", "tl", "ti", "tr", "uz", "wa"],
9247  nr: [1, 2],
9248  fc: 1
9249}, {
9250  lngs: ["af", "an", "ast", "az", "bg", "bn", "ca", "da", "de", "dev", "el", "en", "eo", "es", "et", "eu", "fi", "fo", "fur", "fy", "gl", "gu", "ha", "hi", "hu", "hy", "ia", "it", "kk", "kn", "ku", "lb", "mai", "ml", "mn", "mr", "nah", "nap", "nb", "ne", "nl", "nn", "no", "nso", "pa", "pap", "pms", "ps", "pt-PT", "rm", "sco", "se", "si", "so", "son", "sq", "sv", "sw", "ta", "te", "tk", "ur", "yo"],
9251  nr: [1, 2],
9252  fc: 2
9253}, {
9254  lngs: ["ay", "bo", "cgg", "fa", "ht", "id", "ja", "jbo", "ka", "km", "ko", "ky", "lo", "ms", "sah", "su", "th", "tt", "ug", "vi", "wo", "zh"],
9255  nr: [1],
9256  fc: 3
9257}, {
9258  lngs: ["be", "bs", "cnr", "dz", "hr", "ru", "sr", "uk"],
9259  nr: [1, 2, 5],
9260  fc: 4
9261}, {
9262  lngs: ["ar"],
9263  nr: [0, 1, 2, 3, 11, 100],
9264  fc: 5
9265}, {
9266  lngs: ["cs", "sk"],
9267  nr: [1, 2, 5],
9268  fc: 6
9269}, {
9270  lngs: ["csb", "pl"],
9271  nr: [1, 2, 5],
9272  fc: 7
9273}, {
9274  lngs: ["cy"],
9275  nr: [1, 2, 3, 8],
9276  fc: 8
9277}, {
9278  lngs: ["fr"],
9279  nr: [1, 2],
9280  fc: 9
9281}, {
9282  lngs: ["ga"],
9283  nr: [1, 2, 3, 7, 11],
9284  fc: 10
9285}, {
9286  lngs: ["gd"],
9287  nr: [1, 2, 3, 20],
9288  fc: 11
9289}, {
9290  lngs: ["is"],
9291  nr: [1, 2],
9292  fc: 12
9293}, {
9294  lngs: ["jv"],
9295  nr: [0, 1],
9296  fc: 13
9297}, {
9298  lngs: ["kw"],
9299  nr: [1, 2, 3, 4],
9300  fc: 14
9301}, {
9302  lngs: ["lt"],
9303  nr: [1, 2, 10],
9304  fc: 15
9305}, {
9306  lngs: ["lv"],
9307  nr: [1, 2, 0],
9308  fc: 16
9309}, {
9310  lngs: ["mk"],
9311  nr: [1, 2],
9312  fc: 17
9313}, {
9314  lngs: ["mnk"],
9315  nr: [0, 1, 2],
9316  fc: 18
9317}, {
9318  lngs: ["mt"],
9319  nr: [1, 2, 11, 20],
9320  fc: 19
9321}, {
9322  lngs: ["or"],
9323  nr: [2, 1],
9324  fc: 2
9325}, {
9326  lngs: ["ro"],
9327  nr: [1, 2, 20],
9328  fc: 20
9329}, {
9330  lngs: ["sl"],
9331  nr: [5, 1, 2, 3],
9332  fc: 21
9333}, {
9334  lngs: ["he", "iw"],
9335  nr: [1, 2, 20, 21],
9336  fc: 22
9337}], IA = {
9338  1: (e) => +(e > 1),
9339  2: (e) => +(e != 1),
9340  3: (e) => 0,
9341  4: (e) => e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2,
9342  5: (e) => e == 0 ? 0 : e == 1 ? 1 : e == 2 ? 2 : e % 100 >= 3 && e % 100 <= 10 ? 3 : e % 100 >= 11 ? 4 : 5,
9343  6: (e) => e == 1 ? 0 : e >= 2 && e <= 4 ? 1 : 2,
9344  7: (e) => e == 1 ? 0 : e % 10 >= 2 && e % 10 <= 4 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2,
9345  8: (e) => e == 1 ? 0 : e == 2 ? 1 : e != 8 && e != 11 ? 2 : 3,
9346  9: (e) => +(e >= 2),
9347  10: (e) => e == 1 ? 0 : e == 2 ? 1 : e < 7 ? 2 : e < 11 ? 3 : 4,
9348  11: (e) => e == 1 || e == 11 ? 0 : e == 2 || e == 12 ? 1 : e > 2 && e < 20 ? 2 : 3,
9349  12: (e) => +(e % 10 != 1 || e % 100 == 11),
9350  13: (e) => +(e !== 0),
9351  14: (e) => e == 1 ? 0 : e == 2 ? 1 : e == 3 ? 2 : 3,
9352  15: (e) => e % 10 == 1 && e % 100 != 11 ? 0 : e % 10 >= 2 && (e % 100 < 10 || e % 100 >= 20) ? 1 : 2,
9353  16: (e) => e % 10 == 1 && e % 100 != 11 ? 0 : e !== 0 ? 1 : 2,
9354  17: (e) => e == 1 || e % 10 == 1 && e % 100 != 11 ? 0 : 1,
9355  18: (e) => e == 0 ? 0 : e == 1 ? 1 : 2,
9356  19: (e) => e == 1 ? 0 : e == 0 || e % 100 > 1 && e % 100 < 11 ? 1 : e % 100 > 10 && e % 100 < 20 ? 2 : 3,
9357  20: (e) => e == 1 ? 0 : e == 0 || e % 100 > 0 && e % 100 < 20 ? 1 : 2,
9358  21: (e) => e % 100 == 1 ? 1 : e % 100 == 2 ? 2 : e % 100 == 3 || e % 100 == 4 ? 3 : 0,
9359  22: (e) => e == 1 ? 0 : e == 2 ? 1 : (e < 0 || e > 10) && e % 10 == 0 ? 2 : 3
9360};
9361const PA = ["v1", "v2", "v3"], kA = ["v4"], ZS = {
9362  zero: 0,
9363  one: 1,
9364  two: 2,
9365  few: 3,
9366  many: 4,
9367  other: 5
9368}, LA = () => {
9369  const e = {};
9370  return MA.forEach((t) => {
9371    t.lngs.forEach((r) => {
9372      e[r] = {
9373        numbers: t.nr,
9374        plurals: IA[t.fc]
9375      };
9376    });
9377  }), e;
9378};
9379class zA {
9380  constructor(t) {
9381    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9382    this.languageUtils = t, this.options = r, this.logger = Qr.create("pluralResolver"), (!this.options.compatibilityJSON || kA.includes(this.options.compatibilityJSON)) && (typeof Intl > "u" || !Intl.PluralRules) && (this.options.compatibilityJSON = "v3", this.logger.error("Your environment seems not to be Intl API compatible, use an Intl.PluralRules polyfill. Will fallback to the compatibilityJSON v3 format handling.")), this.rules = LA(), this.pluralRulesCache = {};
9383  }
9384  addRule(t, r) {
9385    this.rules[t] = r;
9386  }
9387  clearCache() {
9388    this.pluralRulesCache = {};
9389  }
9390  getRule(t) {
9391    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9392    if (this.shouldUseIntlApi()) {
9393      const i = uh(t === "dev" ? "en" : t), l = r.ordinal ? "ordinal" : "cardinal", s = JSON.stringify({
9394        cleanedCode: i,
9395        type: l
9396      });
9397      if (s in this.pluralRulesCache)
9398        return this.pluralRulesCache[s];
9399      let f;
9400      try {
9401        f = new Intl.PluralRules(i, {
9402          type: l
9403        });
9404      } catch {
9405        if (!t.match(/-|_/)) return;
9406        const m = this.languageUtils.getLanguagePartFromCode(t);
9407        f = this.getRule(m, r);
9408      }
9409      return this.pluralRulesCache[s] = f, f;
9410    }
9411    return this.rules[t] || this.rules[this.languageUtils.getLanguagePartFromCode(t)];
9412  }
9413  needsPlural(t) {
9414    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9415    const i = this.getRule(t, r);
9416    return this.shouldUseIntlApi() ? i && i.resolvedOptions().pluralCategories.length > 1 : i && i.numbers.length > 1;
9417  }
9418  getPluralFormsOfKey(t, r) {
9419    let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
9420    return this.getSuffixes(t, i).map((l) => `${r}${l}`);
9421  }
9422  getSuffixes(t) {
9423    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
9424    const i = this.getRule(t, r);
9425    return i ? this.shouldUseIntlApi() ? i.resolvedOptions().pluralCategories.sort((l, s) => ZS[l] - ZS[s]).map((l) => `${this.options.prepend}${r.ordinal ? `ordinal${this.options.prepend}` : ""}${l}`) : i.numbers.map((l) => this.getSuffix(t, l, r)) : [];
9426  }
9427  getSuffix(t, r) {
9428    let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
9429    const l = this.getRule(t, i);
9430    return l ? this.shouldUseIntlApi() ? `${this.options.prepend}${i.ordinal ? `ordinal${this.options.prepend}` : ""}${l.select(r)}` : this.getSuffixRetroCompatible(l, r) : (this.logger.warn(`no plural rule found for: ${t}`), "");
9431  }
9432  getSuffixRetroCompatible(t, r) {
9433    const i = t.noAbs ? t.plurals(r) : t.plurals(Math.abs(r));
9434    let l = t.numbers[i];
9435    this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 && (l === 2 ? l = "plural" : l === 1 && (l = ""));
9436    const s = () => this.options.prepend && l.toString() ? this.options.prepend + l.toString() : l.toString();
9437    return this.options.compatibilityJSON === "v1" ? l === 1 ? "" : typeof l == "number" ? `_plural_${l.toString()}` : s() : this.options.compatibilityJSON === "v2" || this.options.simplifyPluralSuffix && t.numbers.length === 2 && t.numbers[0] === 1 ? s() : this.options.prepend && i.toString() ? this.options.prepend + i.toString() : i.toString();
9438  }
9439  shouldUseIntlApi() {
9440    return !PA.includes(this.options.compatibilityJSON);
9441  }
9442}
9443const QS = function(e, t, r) {
9444  let i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : ".", l = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : !0, s = wA(e, t, r);
9445  return !s && l && Ce(r) && (s = Wg(e, r, i), s === void 0 && (s = Wg(t, r, i))), s;
9446}, H1 = (e) => e.replace(/\$/g, "$$$$");
9447class UA {
9448  constructor() {
9449    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9450    this.logger = Qr.create("interpolator"), this.options = t, this.format = t.interpolation && t.interpolation.format || ((r) => r), this.init(t);
9451  }
9452  init() {
9453    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9454    t.interpolation || (t.interpolation = {
9455      escapeValue: !0
9456    });
9457    const {
9458      escape: r,
9459      escapeValue: i,
9460      useRawValueToEscape: l,
9461      prefix: s,
9462      prefixEscaped: f,
9463      suffix: h,
9464      suffixEscaped: m,
9465      formatSeparator: g,
9466      unescapeSuffix: p,
9467      unescapePrefix: b,
9468      nestingPrefix: S,
9469      nestingPrefixEscaped: w,
9470      nestingSuffix: T,
9471      nestingSuffixEscaped: N,
9472      nestingOptionsSeparator: $,
9473      maxReplaces: A,
9474      alwaysFormat: D
9475    } = t.interpolation;
9476    this.escape = r !== void 0 ? r : NA, this.escapeValue = i !== void 0 ? i : !0, this.useRawValueToEscape = l !== void 0 ? l : !1, this.prefix = s ? bl(s) : f || "{{", this.suffix = h ? bl(h) : m || "}}", this.formatSeparator = g || ",", this.unescapePrefix = p ? "" : b || "-", this.unescapeSuffix = this.unescapePrefix ? "" : p || "", this.nestingPrefix = S ? bl(S) : w || bl("$t("), this.nestingSuffix = T ? bl(T) : N || bl(")"), this.nestingOptionsSeparator = $ || ",", this.maxReplaces = A || 1e3, this.alwaysFormat = D !== void 0 ? D : !1, this.resetRegExp();
9477  }
9478  reset() {
9479    this.options && this.init(this.options);
9480  }
9481  resetRegExp() {
9482    const t = (r, i) => r && r.source === i ? (r.lastIndex = 0, r) : new RegExp(i, "g");
9483    this.regexp = t(this.regexp, `${this.prefix}(.+?)${this.suffix}`), this.regexpUnescape = t(this.regexpUnescape, `${this.prefix}${this.unescapePrefix}(.+?)${this.unescapeSuffix}${this.suffix}`), this.nestingRegexp = t(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
9484  }
9485  interpolate(t, r, i, l) {
9486    let s, f, h;
9487    const m = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {}, g = (w) => {
9488      if (w.indexOf(this.formatSeparator) < 0) {
9489        const A = QS(r, m, w, this.options.keySeparator, this.options.ignoreJSONStructure);
9490        return this.alwaysFormat ? this.format(A, void 0, i, {
9491          ...l,
9492          ...r,
9493          interpolationkey: w
9494        }) : A;
9495      }
9496      const T = w.split(this.formatSeparator), N = T.shift().trim(), $ = T.join(this.formatSeparator).trim();
9497      return this.format(QS(r, m, N, this.options.keySeparator, this.options.ignoreJSONStructure), $, i, {
9498        ...l,
9499        ...r,
9500        interpolationkey: N
9501      });
9502    };
9503    this.resetRegExp();
9504    const p = l && l.missingInterpolationHandler || this.options.missingInterpolationHandler, b = l && l.interpolation && l.interpolation.skipOnVariables !== void 0 ? l.interpolation.skipOnVariables : this.options.interpolation.skipOnVariables;
9505    return [{
9506      regex: this.regexpUnescape,
9507      safeValue: (w) => H1(w)
9508    }, {
vendor: 13,487 bytes, lines 9509-9876
9509      regex: this.regexp,
9510      safeValue: (w) => this.escapeValue ? H1(this.escape(w)) : H1(w)
9511    }].forEach((w) => {
9512      for (h = 0; s = w.regex.exec(t); ) {
9513        const T = s[1].trim();
9514        if (f = g(T), f === void 0)
9515          if (typeof p == "function") {
9516            const $ = p(t, s, l);
9517            f = Ce($) ? $ : "";
9518          } else if (l && Object.prototype.hasOwnProperty.call(l, T))
9519            f = "";
9520          else if (b) {
9521            f = s[0];
9522            continue;
9523          } else
9524            this.logger.warn(`missed to pass in variable ${T} for interpolating ${t}`), f = "";
9525        else !Ce(f) && !this.useRawValueToEscape && (f = FS(f));
9526        const N = w.safeValue(f);
9527        if (t = t.replace(s[0], N), b ? (w.regex.lastIndex += f.length, w.regex.lastIndex -= s[0].length) : w.regex.lastIndex = 0, h++, h >= this.maxReplaces)
9528          break;
9529      }
9530    }), t;
9531  }
9532  nest(t, r) {
9533    let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, l, s, f;
9534    const h = (m, g) => {
9535      const p = this.nestingOptionsSeparator;
9536      if (m.indexOf(p) < 0) return m;
9537      const b = m.split(new RegExp(`${p}[ ]*{`));
9538      let S = `{${b[1]}`;
9539      m = b[0], S = this.interpolate(S, f);
9540      const w = S.match(/'/g), T = S.match(/"/g);
9541      (w && w.length % 2 === 0 && !T || T.length % 2 !== 0) && (S = S.replace(/'/g, '"'));
9542      try {
9543        f = JSON.parse(S), g && (f = {
9544          ...g,
9545          ...f
9546        });
9547      } catch (N) {
9548        return this.logger.warn(`failed parsing options string in nesting for key ${m}`, N), `${m}${p}${S}`;
9549      }
9550      return f.defaultValue && f.defaultValue.indexOf(this.prefix) > -1 && delete f.defaultValue, m;
9551    };
9552    for (; l = this.nestingRegexp.exec(t); ) {
9553      let m = [];
9554      f = {
9555        ...i
9556      }, f = f.replace && !Ce(f.replace) ? f.replace : f, f.applyPostProcessor = !1, delete f.defaultValue;
9557      let g = !1;
9558      if (l[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(l[1])) {
9559        const p = l[1].split(this.formatSeparator).map((b) => b.trim());
9560        l[1] = p.shift(), m = p, g = !0;
9561      }
9562      if (s = r(h.call(this, l[1].trim(), f), f), s && l[0] === t && !Ce(s)) return s;
9563      Ce(s) || (s = FS(s)), s || (this.logger.warn(`missed to resolve ${l[1]} for nesting ${t}`), s = ""), g && (s = m.reduce((p, b) => this.format(p, b, i.lng, {
9564        ...i,
9565        interpolationkey: l[1].trim()
9566      }), s.trim())), t = t.replace(l[0], s), this.regexp.lastIndex = 0;
9567    }
9568    return t;
9569  }
9570}
9571const jA = (e) => {
9572  let t = e.toLowerCase().trim();
9573  const r = {};
9574  if (e.indexOf("(") > -1) {
9575    const i = e.split("(");
9576    t = i[0].toLowerCase().trim();
9577    const l = i[1].substring(0, i[1].length - 1);
9578    t === "currency" && l.indexOf(":") < 0 ? r.currency || (r.currency = l.trim()) : t === "relativetime" && l.indexOf(":") < 0 ? r.range || (r.range = l.trim()) : l.split(";").forEach((f) => {
9579      if (f) {
9580        const [h, ...m] = f.split(":"), g = m.join(":").trim().replace(/^'+|'+$/g, ""), p = h.trim();
9581        r[p] || (r[p] = g), g === "false" && (r[p] = !1), g === "true" && (r[p] = !0), isNaN(g) || (r[p] = parseInt(g, 10));
9582      }
9583    });
9584  }
9585  return {
9586    formatName: t,
9587    formatOptions: r
9588  };
9589}, Sl = (e) => {
9590  const t = {};
9591  return (r, i, l) => {
9592    let s = l;
9593    l && l.interpolationkey && l.formatParams && l.formatParams[l.interpolationkey] && l[l.interpolationkey] && (s = {
9594      ...s,
9595      [l.interpolationkey]: void 0
9596    });
9597    const f = i + JSON.stringify(s);
9598    let h = t[f];
9599    return h || (h = e(uh(i), l), t[f] = h), h(r);
9600  };
9601};
9602class FA {
9603  constructor() {
9604    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
9605    this.logger = Qr.create("formatter"), this.options = t, this.formats = {
9606      number: Sl((r, i) => {
9607        const l = new Intl.NumberFormat(r, {
9608          ...i
9609        });
9610        return (s) => l.format(s);
9611      }),
9612      currency: Sl((r, i) => {
9613        const l = new Intl.NumberFormat(r, {
9614          ...i,
9615          style: "currency"
9616        });
9617        return (s) => l.format(s);
9618      }),
9619      datetime: Sl((r, i) => {
9620        const l = new Intl.DateTimeFormat(r, {
9621          ...i
9622        });
9623        return (s) => l.format(s);
9624      }),
9625      relativetime: Sl((r, i) => {
9626        const l = new Intl.RelativeTimeFormat(r, {
9627          ...i
9628        });
9629        return (s) => l.format(s, i.range || "day");
9630      }),
9631      list: Sl((r, i) => {
9632        const l = new Intl.ListFormat(r, {
9633          ...i
9634        });
9635        return (s) => l.format(s);
9636      })
9637    }, this.init(t);
9638  }
9639  init(t) {
9640    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {
9641      interpolation: {}
9642    };
9643    this.formatSeparator = r.interpolation.formatSeparator || ",";
9644  }
9645  add(t, r) {
9646    this.formats[t.toLowerCase().trim()] = r;
9647  }
9648  addCached(t, r) {
9649    this.formats[t.toLowerCase().trim()] = Sl(r);
9650  }
9651  format(t, r, i) {
9652    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
9653    const s = r.split(this.formatSeparator);
9654    if (s.length > 1 && s[0].indexOf("(") > 1 && s[0].indexOf(")") < 0 && s.find((h) => h.indexOf(")") > -1)) {
9655      const h = s.findIndex((m) => m.indexOf(")") > -1);
9656      s[0] = [s[0], ...s.splice(1, h)].join(this.formatSeparator);
9657    }
9658    return s.reduce((h, m) => {
9659      const {
9660        formatName: g,
9661        formatOptions: p
9662      } = jA(m);
9663      if (this.formats[g]) {
9664        let b = h;
9665        try {
9666          const S = l && l.formatParams && l.formatParams[l.interpolationkey] || {}, w = S.locale || S.lng || l.locale || l.lng || i;
9667          b = this.formats[g](h, w, {
9668            ...p,
9669            ...l,
9670            ...S
9671          });
9672        } catch (S) {
9673          this.logger.warn(S);
9674        }
9675        return b;
9676      } else
9677        this.logger.warn(`there was no format function for ${g}`);
9678      return h;
9679    }, t);
9680  }
9681}
9682const HA = (e, t) => {
9683  e.pending[t] !== void 0 && (delete e.pending[t], e.pendingCount--);
9684};
9685class VA extends zh {
9686  constructor(t, r, i) {
9687    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : {};
9688    super(), this.backend = t, this.store = r, this.services = i, this.languageUtils = i.languageUtils, this.options = l, this.logger = Qr.create("backendConnector"), this.waitingReads = [], this.maxParallelReads = l.maxParallelReads || 10, this.readingCalls = 0, this.maxRetries = l.maxRetries >= 0 ? l.maxRetries : 5, this.retryTimeout = l.retryTimeout >= 1 ? l.retryTimeout : 350, this.state = {}, this.queue = [], this.backend && this.backend.init && this.backend.init(i, l.backend, l);
9689  }
9690  queueLoad(t, r, i, l) {
9691    const s = {}, f = {}, h = {}, m = {};
9692    return t.forEach((g) => {
9693      let p = !0;
9694      r.forEach((b) => {
9695        const S = `${g}|${b}`;
9696        !i.reload && this.store.hasResourceBundle(g, b) ? this.state[S] = 2 : this.state[S] < 0 || (this.state[S] === 1 ? f[S] === void 0 && (f[S] = !0) : (this.state[S] = 1, p = !1, f[S] === void 0 && (f[S] = !0), s[S] === void 0 && (s[S] = !0), m[b] === void 0 && (m[b] = !0)));
9697      }), p || (h[g] = !0);
9698    }), (Object.keys(s).length || Object.keys(f).length) && this.queue.push({
9699      pending: f,
9700      pendingCount: Object.keys(f).length,
9701      loaded: {},
9702      errors: [],
9703      callback: l
9704    }), {
9705      toLoad: Object.keys(s),
9706      pending: Object.keys(f),
9707      toLoadLanguages: Object.keys(h),
9708      toLoadNamespaces: Object.keys(m)
9709    };
9710  }
9711  loaded(t, r, i) {
9712    const l = t.split("|"), s = l[0], f = l[1];
9713    r && this.emit("failedLoading", s, f, r), !r && i && this.store.addResourceBundle(s, f, i, void 0, void 0, {
9714      skipCopy: !0
9715    }), this.state[t] = r ? -1 : 2, r && i && (this.state[t] = 0);
9716    const h = {};
9717    this.queue.forEach((m) => {
9718      CA(m.loaded, [s], f), HA(m, t), r && m.errors.push(r), m.pendingCount === 0 && !m.done && (Object.keys(m.loaded).forEach((g) => {
9719        h[g] || (h[g] = {});
9720        const p = m.loaded[g];
9721        p.length && p.forEach((b) => {
9722          h[g][b] === void 0 && (h[g][b] = !0);
9723        });
9724      }), m.done = !0, m.errors.length ? m.callback(m.errors) : m.callback());
9725    }), this.emit("loaded", h), this.queue = this.queue.filter((m) => !m.done);
9726  }
9727  read(t, r, i) {
9728    let l = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : 0, s = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : this.retryTimeout, f = arguments.length > 5 ? arguments[5] : void 0;
9729    if (!t.length) return f(null, {});
9730    if (this.readingCalls >= this.maxParallelReads) {
9731      this.waitingReads.push({
9732        lng: t,
9733        ns: r,
9734        fcName: i,
9735        tried: l,
9736        wait: s,
9737        callback: f
9738      });
9739      return;
9740    }
9741    this.readingCalls++;
9742    const h = (g, p) => {
9743      if (this.readingCalls--, this.waitingReads.length > 0) {
9744        const b = this.waitingReads.shift();
9745        this.read(b.lng, b.ns, b.fcName, b.tried, b.wait, b.callback);
9746      }
9747      if (g && p && l < this.maxRetries) {
9748        setTimeout(() => {
9749          this.read.call(this, t, r, i, l + 1, s * 2, f);
9750        }, s);
9751        return;
9752      }
9753      f(g, p);
9754    }, m = this.backend[i].bind(this.backend);
9755    if (m.length === 2) {
9756      try {
9757        const g = m(t, r);
9758        g && typeof g.then == "function" ? g.then((p) => h(null, p)).catch(h) : h(null, g);
9759      } catch (g) {
9760        h(g);
9761      }
9762      return;
9763    }
9764    return m(t, r, h);
9765  }
9766  prepareLoading(t, r) {
9767    let i = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {}, l = arguments.length > 3 ? arguments[3] : void 0;
9768    if (!this.backend)
9769      return this.logger.warn("No backend was added via i18next.use. Will not load resources."), l && l();
9770    Ce(t) && (t = this.languageUtils.toResolveHierarchy(t)), Ce(r) && (r = [r]);
9771    const s = this.queueLoad(t, r, i, l);
9772    if (!s.toLoad.length)
9773      return s.pending.length || l(), null;
9774    s.toLoad.forEach((f) => {
9775      this.loadOne(f);
9776    });
9777  }
9778  load(t, r, i) {
9779    this.prepareLoading(t, r, {}, i);
9780  }
9781  reload(t, r, i) {
9782    this.prepareLoading(t, r, {
9783      reload: !0
9784    }, i);
9785  }
9786  loadOne(t) {
9787    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
9788    const i = t.split("|"), l = i[0], s = i[1];
9789    this.read(l, s, "read", void 0, void 0, (f, h) => {
9790      f && this.logger.warn(`${r}loading namespace ${s} for language ${l} failed`, f), !f && h && this.logger.log(`${r}loaded namespace ${s} for language ${l}`, h), this.loaded(t, f, h);
9791    });
9792  }
9793  saveMissing(t, r, i, l, s) {
9794    let f = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : {}, h = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : () => {
9795    };
9796    if (this.services.utils && this.services.utils.hasLoadedNamespace && !this.services.utils.hasLoadedNamespace(r)) {
9797      this.logger.warn(`did not save key "${i}" as the namespace "${r}" was not yet loaded`, "This means something IS WRONG in your setup. You access the t function before i18next.init / i18next.loadNamespace / i18next.changeLanguage was done. Wait for the callback or Promise to resolve before accessing it!!!");
9798      return;
9799    }
9800    if (!(i == null || i === "")) {
9801      if (this.backend && this.backend.create) {
9802        const m = {
9803          ...f,
9804          isUpdate: s
9805        }, g = this.backend.create.bind(this.backend);
9806        if (g.length < 6)
9807          try {
9808            let p;
9809            g.length === 5 ? p = g(t, r, i, l, m) : p = g(t, r, i, l), p && typeof p.then == "function" ? p.then((b) => h(null, b)).catch(h) : h(null, p);
9810          } catch (p) {
9811            h(p);
9812          }
9813        else
9814          g(t, r, i, l, h, m);
9815      }
9816      !t || !t[0] || this.store.addResource(t[0], r, i, l);
9817    }
9818  }
9819}
9820const KS = () => ({
9821  debug: !1,
9822  initImmediate: !0,
9823  ns: ["translation"],
9824  defaultNS: ["translation"],
9825  fallbackLng: ["dev"],
9826  fallbackNS: !1,
9827  supportedLngs: !1,
9828  nonExplicitSupportedLngs: !1,
9829  load: "all",
9830  preload: !1,
9831  simplifyPluralSuffix: !0,
9832  keySeparator: ".",
9833  nsSeparator: ":",
9834  pluralSeparator: "_",
9835  contextSeparator: "_",
9836  partialBundledLanguages: !1,
9837  saveMissing: !1,
9838  updateMissing: !1,
9839  saveMissingTo: "fallback",
9840  saveMissingPlurals: !0,
9841  missingKeyHandler: !1,
9842  missingInterpolationHandler: !1,
9843  postProcess: !1,
9844  postProcessPassResolved: !1,
9845  returnNull: !1,
9846  returnEmptyString: !0,
9847  returnObjects: !1,
9848  joinArrays: !1,
9849  returnedObjectHandler: !1,
9850  parseMissingKeyHandler: !1,
9851  appendNamespaceToMissingKey: !1,
9852  appendNamespaceToCIMode: !1,
9853  overloadTranslationOptionHandler: (e) => {
9854    let t = {};
9855    if (typeof e[1] == "object" && (t = e[1]), Ce(e[1]) && (t.defaultValue = e[1]), Ce(e[2]) && (t.tDescription = e[2]), typeof e[2] == "object" || typeof e[3] == "object") {
9856      const r = e[3] || e[2];
9857      Object.keys(r).forEach((i) => {
9858        t[i] = r[i];
9859      });
9860    }
9861    return t;
9862  },
9863  interpolation: {
9864    escapeValue: !0,
9865    format: (e) => e,
9866    prefix: "{{",
9867    suffix: "}}",
9868    formatSeparator: ",",
9869    unescapePrefix: "-",
9870    nestingPrefix: "$t(",
9871    nestingSuffix: ")",
9872    nestingOptionsSeparator: ",",
9873    maxReplaces: 1e3,
9874    skipOnVariables: !0
9875  }
9876}), XS = (e) => (Ce(e.ns) && (e.ns = [e.ns]), Ce(e.fallbackLng) && (e.fallbackLng = [e.fallbackLng]), Ce(e.fallbackNS) && (e.fallbackNS = [e.fallbackNS]), e.supportedLngs && e.supportedLngs.indexOf("cimode") < 0 && (e.supportedLngs = e.supp
vendor: 4,667 bytes, lines 9876-9949
9876ortedLngs.concat(["cimode"])), e), Sd = () => {
9877}, BA = (e) => {
9878  Object.getOwnPropertyNames(Object.getPrototypeOf(e)).forEach((r) => {
9879    typeof e[r] == "function" && (e[r] = e[r].bind(e));
9880  });
9881};
9882class Js extends zh {
9883  constructor() {
9884    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
9885    if (super(), this.options = XS(t), this.services = {}, this.logger = Qr, this.modules = {
9886      external: []
9887    }, BA(this), r && !this.isInitialized && !t.isClone) {
9888      if (!this.options.initImmediate)
9889        return this.init(t, r), this;
9890      setTimeout(() => {
9891        this.init(t, r);
9892      }, 0);
9893    }
9894  }
9895  init() {
9896    var t = this;
9897    let r = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, i = arguments.length > 1 ? arguments[1] : void 0;
9898    this.isInitializing = !0, typeof r == "function" && (i = r, r = {}), !r.defaultNS && r.defaultNS !== !1 && r.ns && (Ce(r.ns) ? r.defaultNS = r.ns : r.ns.indexOf("translation") < 0 && (r.defaultNS = r.ns[0]));
9899    const l = KS();
9900    this.options = {
9901      ...l,
9902      ...this.options,
9903      ...XS(r)
9904    }, this.options.compatibilityAPI !== "v1" && (this.options.interpolation = {
9905      ...l.interpolation,
9906      ...this.options.interpolation
9907    }), r.keySeparator !== void 0 && (this.options.userDefinedKeySeparator = r.keySeparator), r.nsSeparator !== void 0 && (this.options.userDefinedNsSeparator = r.nsSeparator);
9908    const s = (p) => p ? typeof p == "function" ? new p() : p : null;
9909    if (!this.options.isClone) {
9910      this.modules.logger ? Qr.init(s(this.modules.logger), this.options) : Qr.init(null, this.options);
9911      let p;
9912      this.modules.formatter ? p = this.modules.formatter : typeof Intl < "u" && (p = FA);
9913      const b = new YS(this.options);
9914      this.store = new qS(this.options.resources, this.options);
9915      const S = this.services;
9916      S.logger = Qr, S.resourceStore = this.store, S.languageUtils = b, S.pluralResolver = new zA(b, {
9917        prepend: this.options.pluralSeparator,
9918        compatibilityJSON: this.options.compatibilityJSON,
9919        simplifyPluralSuffix: this.options.simplifyPluralSuffix
9920      }), p && (!this.options.interpolation.format || this.options.interpolation.format === l.interpolation.format) && (S.formatter = s(p), S.formatter.init(S, this.options), this.options.interpolation.format = S.formatter.format.bind(S.formatter)), S.interpolator = new UA(this.options), S.utils = {
9921        hasLoadedNamespace: this.hasLoadedNamespace.bind(this)
9922      }, S.backendConnector = new VA(s(this.modules.backend), S.resourceStore, S, this.options), S.backendConnector.on("*", function(w) {
9923        for (var T = arguments.length, N = new Array(T > 1 ? T - 1 : 0), $ = 1; $ < T; $++)
9924          N[$ - 1] = arguments[$];
9925        t.emit(w, ...N);
9926      }), this.modules.languageDetector && (S.languageDetector = s(this.modules.languageDetector), S.languageDetector.init && S.languageDetector.init(S, this.options.detection, this.options)), this.modules.i18nFormat && (S.i18nFormat = s(this.modules.i18nFormat), S.i18nFormat.init && S.i18nFormat.init(this)), this.translator = new ch(this.services, this.options), this.translator.on("*", function(w) {
9927        for (var T = arguments.length, N = new Array(T > 1 ? T - 1 : 0), $ = 1; $ < T; $++)
9928          N[$ - 1] = arguments[$];
9929        t.emit(w, ...N);
9930      }), this.modules.external.forEach((w) => {
9931        w.init && w.init(this);
9932      });
9933    }
9934    if (this.format = this.options.interpolation.format, i || (i = Sd), this.options.fallbackLng && !this.services.languageDetector && !this.options.lng) {
9935      const p = this.services.languageUtils.getFallbackCodes(this.options.fallbackLng);
9936      p.length > 0 && p[0] !== "dev" && (this.options.lng = p[0]);
9937    }
9938    !this.services.languageDetector && !this.options.lng && this.logger.warn("init: no languageDetector is used and no lng is defined"), ["getResource", "hasResourceBundle", "getResourceBundle", "getDataByLanguage"].forEach((p) => {
9939      this[p] = function() {
9940        return t.store[p](...arguments);
9941      };
9942    }), ["addResource", "addResources", "addResourceBundle", "removeResourceBundle"].forEach((p) => {
9943      this[p] = function() {
9944        return t.store[p](...arguments), t;
9945      };
9946    });
9947    const m = ds(), g = () => {
9948      const p = (b, S) => {
9949        this.isInitializing = !1, this.isInitialized && !this.initializedStoreOnce && this.logger.warn("init: i18next is already initialized. You should call init just once!"), this.isInitialized = !0, this.options.isClone || this.logger.log("initialized", this.options), this.emit
vendor: 4,676 bytes, lines 9949-10028
9949("initialized", this.options), m.resolve(S), i(b, S);
9950      };
9951      if (this.languages && this.options.compatibilityAPI !== "v1" && !this.isInitialized) return p(null, this.t.bind(this));
9952      this.changeLanguage(this.options.lng, p);
9953    };
9954    return this.options.resources || !this.options.initImmediate ? g() : setTimeout(g, 0), m;
9955  }
9956  loadResources(t) {
9957    let i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Sd;
9958    const l = Ce(t) ? t : this.language;
9959    if (typeof t == "function" && (i = t), !this.options.resources || this.options.partialBundledLanguages) {
9960      if (l && l.toLowerCase() === "cimode" && (!this.options.preload || this.options.preload.length === 0)) return i();
9961      const s = [], f = (h) => {
9962        if (!h || h === "cimode") return;
9963        this.services.languageUtils.toResolveHierarchy(h).forEach((g) => {
9964          g !== "cimode" && s.indexOf(g) < 0 && s.push(g);
9965        });
9966      };
9967      l ? f(l) : this.services.languageUtils.getFallbackCodes(this.options.fallbackLng).forEach((m) => f(m)), this.options.preload && this.options.preload.forEach((h) => f(h)), this.services.backendConnector.load(s, this.options.ns, (h) => {
9968        !h && !this.resolvedLanguage && this.language && this.setResolvedLanguage(this.language), i(h);
9969      });
9970    } else
9971      i(null);
9972  }
9973  reloadResources(t, r, i) {
9974    const l = ds();
9975    return typeof t == "function" && (i = t, t = void 0), typeof r == "function" && (i = r, r = void 0), t || (t = this.languages), r || (r = this.options.ns), i || (i = Sd), this.services.backendConnector.reload(t, r, (s) => {
9976      l.resolve(), i(s);
9977    }), l;
9978  }
9979  use(t) {
9980    if (!t) throw new Error("You are passing an undefined module! Please check the object you are passing to i18next.use()");
9981    if (!t.type) throw new Error("You are passing a wrong module! Please check the object you are passing to i18next.use()");
9982    return t.type === "backend" && (this.modules.backend = t), (t.type === "logger" || t.log && t.warn && t.error) && (this.modules.logger = t), t.type === "languageDetector" && (this.modules.languageDetector = t), t.type === "i18nFormat" && (this.modules.i18nFormat = t), t.type === "postProcessor" && w6.addPostProcessor(t), t.type === "formatter" && (this.modules.formatter = t), t.type === "3rdParty" && this.modules.external.push(t), this;
9983  }
9984  setResolvedLanguage(t) {
9985    if (!(!t || !this.languages) && !(["cimode", "dev"].indexOf(t) > -1))
9986      for (let r = 0; r < this.languages.length; r++) {
9987        const i = this.languages[r];
9988        if (!(["cimode", "dev"].indexOf(i) > -1) && this.store.hasLanguageSomeTranslations(i)) {
9989          this.resolvedLanguage = i;
9990          break;
9991        }
9992      }
9993  }
9994  changeLanguage(t, r) {
9995    var i = this;
9996    this.isLanguageChangingTo = t;
9997    const l = ds();
9998    this.emit("languageChanging", t);
9999    const s = (m) => {
10000      this.language = m, this.languages = this.services.languageUtils.toResolveHierarchy(m), this.resolvedLanguage = void 0, this.setResolvedLanguage(m);
10001    }, f = (m, g) => {
10002      g ? (s(g), this.translator.changeLanguage(g), this.isLanguageChangingTo = void 0, this.emit("languageChanged", g), this.logger.log("languageChanged", g)) : this.isLanguageChangingTo = void 0, l.resolve(function() {
10003        return i.t(...arguments);
10004      }), r && r(m, function() {
10005        return i.t(...arguments);
10006      });
10007    }, h = (m) => {
10008      !t && !m && this.services.languageDetector && (m = []);
10009      const g = Ce(m) ? m : this.services.languageUtils.getBestMatchFromCodes(m);
10010      g && (this.language || s(g), this.translator.language || this.translator.changeLanguage(g), this.services.languageDetector && this.services.languageDetector.cacheUserLanguage && this.services.languageDetector.cacheUserLanguage(g)), this.loadResources(g, (p) => {
10011        f(p, g);
10012      });
10013    };
10014    return !t && this.services.languageDetector && !this.services.languageDetector.async ? h(this.services.languageDetector.detect()) : !t && this.services.languageDetector && this.services.languageDetector.async ? this.services.languageDetector.detect.length === 0 ? this.services.languageDetector.detect().then(h) : this.services.languageDetector.detect(h) : h(t), l;
10015  }
10016  getFixedT(t, r, i) {
10017    var l = this;
10018    const s = function(f, h) {
10019      let m;
10020      if (typeof h != "object") {
10021        for (var g = arguments.length, p = new Array(g > 2 ? g - 2 : 0), b = 2; b < g; b++)
10022          p[b - 2] = arguments[b];
10023        m = l.options.overloadTranslationOptionHandler([f, h].concat(p));
10024      } else
10025        m = {
10026          ...h
10027        };
10028      m.lng = m.lng || s.lng, m.lngs = m.lngs || s.lngs, m.ns = m.
10028ns || s.ns, m.keyPrefix !== "" && (m.keyPrefix = m.keyPrefix || i || s.keyPrefix);
10029      const S = l.options.keySeparator || ".";
10030      let w;
10031      return m.keyPrefix && Array.isArray(f) ? w = f.map((T) => `${m.keyPrefix}${S}${T}`) : w = m.keyPrefix ? `${m.keyPrefix}${S}${f}` : f, l.t(w, m);
10032    };
10033    return Ce(t) ? s.lng = t : s.lngs = t, s.ns = r, s.keyPrefix = i, s;
10034  }
10035  t() {
10036    return this.translator && this.translator.translate(...arguments);
10037  }
10038  exists() {
10039    return this.translator && this.translator.exists(...arguments);
10040  }
10041  setDefaultNamespace(t) {
10042    this.options.defaultNS = t;
10043  }
10044  hasLoadedNamespace(t) {
10045    let r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {};
10046    if (!this.isInitialized)
10047      return this.logger.warn("hasLoadedNamespace: i18next was not initialized", this.languages), !1;
10048    if (!this.languages || !this.languages.length)
10049      return this.logger.warn("hasLoadedNamespace: i18n.languages were undefined or empty", this.languages), !1;
10050    const i = r.lng || this.resolvedLanguage || this.languages[0], l = this.options ? this.options.fallbackLng : !1, s = this.languages[this.languages.length - 1];
10051    if (i.toLowerCase() === "cimode") return !0;
10052    const f = (h, m) => {
10053      const g = this.services.backendConnector.state[`${h}|${m}`];
10054      return g === -1 || g === 0 || g === 2;
10055    };
10056    if (r.precheck) {
10057      const h = r.precheck(this, f);
10058      if (h !== void 0) return h;
10059    }
10060    return !!(this.hasResourceBundle(i, t) || !this.services.backendConnector.backend || this.options.resources && !this.options.partialBundledLanguages || f(i, t) && (!l || f(s, t)));
10061  }
10062  loadNamespaces(t, r) {
10063    const i = ds();
10064    return this.options.ns ? (Ce(t) && (t = [t]), t.forEach((l) => {
10065      this.options.ns.indexOf(l) < 0 && this.options.ns.push(l);
10066    }), this.loadResources((l) => {
10067      i.resolve(), r && r(l);
10068    }), i) : (r && r(), Promise.resolve());
10069  }
10070  loadLanguages(t, r) {
10071    const i = ds();
10072    Ce(t) && (t = [t]);
10073    const l = this.options.preload || [], s = t.filter((f) => l.indexOf(f) < 0 && this.services.languageUtils.isSupportedCode(f));
10074    return s.length ? (this.options.preload = l.concat(s), this.loadResources((f) => {
10075      i.resolve(), r && r(f);
10076    }), i) : (r && r(), Promise.resolve());
10077  }
10078  dir(t) {
10079    if (t || (t = this.resolvedLanguage || (this.languages && this.languages.length > 0 ? this.languages[0] : this.language)), !t) return "rtl";
10080    const r = ["ar", "shu", "sqr", "ssh", "xaa", "yhd", "yud", "aao", "abh", "abv", "acm", "acq", "acw", "acx", "acy", "adf", "ads", "aeb", "aec", "afb", "ajp", "apc", "apd", "arb", "arq", "ars", "ary", "arz", "auz", "avl", "ayh", "ayl", "ayn", "ayp", "bbz", "pga", "he", "iw", "ps", "pbt", "pbu", "pst", "prp", "prd", "ug", "ur", "ydd", "yds", "yih", "ji", "yi", "hbo", "men", "xmn", "fa", "jpr", "peo", "pes", "prs", "dv", "sam", "ckb"], i = this.services && this.services.languageUtils || new YS(KS());
10081    return r.indexOf(i.getLanguagePartFromCode(t)) > -1 || t.toLowerCase().indexOf("-arab") > 1 ? "rtl" : "ltr";
10082  }
10083  static createInstance() {
10084    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 ? arguments[1] : void 0;
10085    return new Js(t, r);
10086  }
10087  cloneInstance() {
10088    let t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, r = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Sd;
10089    const i = t.forkResourceStore;
10090    i && delete t.forkResourceStore;
10091    const l = {
10092      ...this.options,
10093      ...t,
10094      isClone: !0
10095    }, s = new Js(l);
10096    return (t.debug !== void 0 || t.prefix !== void 0) && (s.logger = s.logger.clone(t)), ["store", "services", "language"].forEach((h) => {
10097      s[h] = this[h];
10098    }), s.services = {
10099      ...this.services
10100    }, s.services.utils = {
10101      hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
10102    }, i && (s.store = new qS(this.store.data, l), s.services.resourceStore = s.store), s.translator = new ch(s.services, l), s.translator.on("*", function(h) {
10103      for (var m = arguments.length, g = new Array(m > 1 ? m - 1 : 0), p = 1; p < m; p++)
10104        g[p - 1] = arguments[p];
10105      s.emit(h, ...g);
10106    }), s.init(l, r), s.translator.options = l, s.translator.backendConnector.services.utils = {
10107      hasLoadedNamespace: s.hasLoadedNamespace.bind(s)
10108    }, s;
10109  }
10110  toJSON() {
10111    return {
10112      options: this.options,
10113      store: this.store,
10114      language: this.language,
10115      languages: this.languages,
10116      resolvedLanguage: this.resolvedLanguage
10117    };
10118  }
10119}
10120const tn = Js.createInstance();
10121tn.createInstance = Js.createInstance;
10122tn.createInstance;
10123tn.dir;
10124tn.init;
10125tn.loadResources;
10126tn.reloadResources;
10127tn.use;
10128tn.changeLanguage;
10129tn.getFixedT;
10130tn.t;
10131tn.exists;
10132tn.setDefaultNamespace;
10133tn.hasLoadedNamespace;
10134tn.loadNamespaces;
10135tn.loadLanguages;
10136const qA = (e, t, r, i) => {
10137  const l = [r, {
10138    code: t,
10139    ...i || {}
10140  }];
10141  if (e?.services?.logger?.forward)
10142    return e.services.logger.forward(l, "warn", "react-i18next::", !0);
10143  ho(l[0]) && (l[0] = `react-i18next:: ${l[0]}`), e?.services?.logger?.warn ? e.services.logger.warn(...l) : console?.warn && console.warn(...l);
10144}, WS = {}, Jg = (e, t, r, i) => {
10145  ho(r) && WS[r] || (ho(r) && (WS[r] = /* @__PURE__ */ new Date()), qA(e, t, r, i));
10146}, O6 = (e, t) => () => {
10147  if (e.isInitialized)
10148    t();
10149  else {
10150    const r = () => {
10151      setTimeout(() => {
10152        e.off("initialized", r);
10153      }, 0), t();
10154    };
10155    e.on("initialized", r);
10156  }
10157}, ep = (e, t, r) => {
10158  e.loadNamespaces(t, O6(e, r));
10159}, JS = (e, t, r, i) => {
10160  if (ho(r) && (r = [r]), e.options.preload && e.options.preload.indexOf(t) > -1) return ep(e, r, i);
10161  r.forEach((l) => {
10162    e.options.ns.indexOf(l) < 0 && e.options.ns.push(l);
10163  }), e.loadLanguages(t, O6(e, i));
10164}, GA = (e, t, r = {}) => !t.languages || !t.languages.length ? (Jg(t, "NO_LANGUAGES", "i18n.languages were undefined or empty", {
10165  languages: t.languages
10166}), !0) : t.hasLoadedNamespace(e, {
10167  lng: r.lng,
10168  precheck: (i, l) => {
10169    if (r.bindI18n && r.bindI18n.indexOf("languageChanging") > -1 && i.services.backendConnector.backend && i.isLanguageChangingTo && !l(i.isLanguageChangingTo, e)) return !1;
10170  }
10171}), ho = (e) => typeof e == "string", YA = (e) => typeof e == "object" && e !== null, ZA = /&(?:amp|#38|lt|#60|gt|#62|apos|#39|quot|#34|nbsp|#160|copy|#169|reg|#174|hellip|#8230|#x2F|#47);/g, QA = {
10172  "&amp;": "&",
10173  "&#38;": "&",
10174  "&lt;": "<",
10175  "&#60;": "<",
10176  "&gt;": ">",
10177  "&#62;": ">",
10178  "&apos;": "'",
10179  "&#39;": "'",
10180  "&quot;": '"',
10181  "&#34;": '"',
10182  "&nbsp;": " ",
10183  "&#160;": " ",
10184  "&copy;": "©",
10185  "&#169;": "©",
10186  "&reg;": "®",
10187  "&#174;": "®",
10188  "&hellip;": "…",
10189  "&#8230;": "…",
10190  "&#x2F;": "/",
10191  "&#47;": "/"
10192}, KA = (e) => QA[e], XA = (e) => e.replace(ZA, KA);
10193let tp = {
10194  bindI18n: "languageChanged",
10195  bindI18nStore: "",
10196  transEmptyNodeValue: "",
10197  transSupportBasicHtmlNodes: !0,
10198  transWrapTextNodes: "",
10199  transKeepBasicHtmlNodesFor: ["br", "strong", "i", "p"],
10200  useSuspense: !0,
10201  unescape: XA
10202};
10203const WA = (e = {}) => {
10204  tp = {
10205    ...tp,
10206    ...e
10207  };
10208}, JA = () => tp;
10209let N6;
10210const e_ = (e) => {
10211  N6 = e;
10212}, t_ = () => N6, n_ = {
10213  type: "3rdParty",
10214  init(e) {
10215    WA(e.options.react), e_(e);
10216  }
10217}, r_ = window.React.createContext, A6 = r_();
10218class a_ {
10219  constructor() {
10220    this.usedNamespaces = {};
10221  }
10222  addUsedNamespaces(t) {
10223    t.forEach((r) => {
10224      this.usedNamespaces[r] || (this.usedNamespaces[r] = !0);
10225    });
10226  }
10227  getUsedNamespaces() {
10228    return Object.keys(this.usedNamespaces);
10229  }
10230}
10231const i_ = window.React.useState, np = window.React.useEffect, o_ = window.React.useContext, _6 = window.React.useRef, l_ = window.React.useCallback, u_ = (e, t) => {
10232  const r = _6();
10233  return np(() => {
10234    r.current = e;
10235  }, [e, t]), r.current;
10236}, x6 = (e, t, r, i) => e.getFixedT(t, r, i), s_ = (e, t, r, i) => l_(x6(e, t, r, i), [e, t, r, i]), c_ = (e, t = {}) => {
10237  const {
10238    i18n: r
10239  } = t, {
10240    i18n: i,
10241    defaultNS: l
10242  } = o_(A6) || {}, s = r || i || t_();
10243  if (s && !s.reportNamespaces && (s.reportNamespaces = new a_()), !s) {
10244    Jg(s, "NO_I18NEXT_INSTANCE", "useTranslation: You will need to pass in an i18next instance by using initReactI18next");
10245    const x = (E, C) => ho(C) ? C : YA(C) && ho(C.defaultValue) ? C.defaultValue : Array.isArray(E) ? E[E.length - 1] : E, v = [x, {}, !1];
10246    return v.t = x, v.i18n = {}, v.ready = !1, v;
10247  }
10248  s.options.react?.wait && Jg(s, "DEPRECATED_OPTION", "useTranslation: It seems you are still using the old wait option, you may migrate to the new useSuspense behaviour.");
10249  const f = {
10250    ...JA(),
10251    ...s.options.react,
10252    ...t
10253  }, {
10254    useSuspense: h,
10255    keyPrefix: m
10256  } = f;
10257  let g = e || l || s.options?.defaultNS;
10258  g = ho(g) ? [g] : g || ["translation"], s.reportNamespaces.addUsedNamespaces?.(g);
10259  const p = (s.isInitialized || s.initializedStoreOnce) && g.every((x) => GA(x, s, f)), b = s_(s, t.lng || null, f.nsMode === "fallback" ? g : g[0], m), S = () => b, w = () => x6(s, t.lng || null, f.nsMode === "fallback" ? g : g[0], m), [T, N] = i_(S);
10260  let $ = g.join();
10261  t.lng && ($ = `${t.lng}${$}`);
10262  const A = u_($), D = _6(!0);
10263  np(() => {
10264    const {
10265      bindI18n: x,
10266      bindI18nStore: v
10267    } = f;
10268    D.current = !0, !p && !h && (t.lng ? JS(s, t.lng, g, () => {
10269      D.current && N(w);
10270    }) : ep(s, g, () => {
10271      D.current && N(w);
10272    })), p && A && A !== $ && D.current && N(w);
10273    const E = () => {
10274      D.current && N(w);
10275    };
10276    return x && s?.on(x, E), v && s?.store.on(v, E), () => {
10277      D.current = !1, s && x && x?.split(" ").forEach((C) => s.off(C, E)), v && s && v.split(" ").forEach((C) => s.store.off(C, E));
10278    };
10279  }, [s, $]), np(() => {
10280    D.current && p && N(S);
10281  }, [s, m, p]);
10282  const _ = [T, s, p];
10283  if (_.t = T, _.i18n = s, _.ready = p, p || !p && !h) return _;
10284  throw new Promise((x) => {
10285    t.lng ? JS(s, t.lng, g, () => x()) : ep(s, g, () => x());
10286  });
10287}, f_ = window.React.createElement, d_ = window.React.useMemo;
10288function h_({
10289  i18n: e,
10290  defaultNS: t,
10291  children: r
10292}) {
10293  const i = d_(() => ({
10294    i18n: e,
10295    defaultNS: t
10296  }), [e, t]);
10297  return f_(A6.Provider, {
10298    value: i
10299  }, r);
10300}
10301var V1 = { exports: {} }, B1 = {};
10302var e$;
10303function m_() {
10304  if (e$) return B1;
10305  e$ = 1;
10306  var e = window.React;
10307  function t(m, g) {
10308    return m === g && (m !== 0 || 1 / m === 1 / g) || m !== m && g !== g;
10309  }
10310  var r = typeof Object.is == "function" ? Object.is : t, i = e.useSyncExternalStore, l = e.useRef, s = e.useEffect, f = e.useMemo, h = e.useDebugValue;
10311  return B1.useSyncExternalStoreWithSelector = function(m, g, p, b, S) {
10312    var w = l(null);
10313    if (w.current === null) {
10314      var T = { hasValue: !1, value: null };
10315      w.current = T;
10316    } else T = w.current;
10317    w = f(
10318      function() {
10319        function $(v) {
10320          if (!A) {
10321            if (A = !0, D = v, v = b(v), S !== void 0 && T.hasValue) {
10322              var E = T.value;
10323              if (S(E, v))
10324                return _ = E;
10325            }
10326            return _ = v;
10327          }
10328          if (E = _, r(D, v)) return E;
10329          var C = b(v);
10330          return S !== void 0 && S(E, C) ? (D = v, E) : (D = v, _ = C);
10331        }
10332        var A = !1, D, _, x = p === void 0 ? null : p;
10333        return [
10334          function() {
10335            return $(g());
10336          },
10337          x === null ? void 0 : function() {
10338            return $(x());
10339          }
10340        ];
10341      },
10342      [g, p, b, S]
10343    );
10344    var N = i(m, w[0], w[1]);
10345    return s(
10346      function() {
10347        T.hasValue = !0, T.value = N;
10348      },
10349      [N]
10350    ), h(N), N;
10351  }, B1;
10352}
10353var t$;
10354function g_() {
10355  return t$ || (t$ = 1, V1.exports = m_()), V1.exports;
10356}
10357var p_ = g_();
10358const qn = window.React;
10359function R6(e) {
10360  e();
10361}
10362function y_() {
10363  let e = null, t = null;
10364  return {
10365    clear() {
10366      e = null, t = null;
10367    },
10368    notify() {
10369      R6(() => {
10370        let r = e;
10371        for (; r; )
10372          r.callback(), r = r.next;
10373      });
10374    },
10375    get() {
10376      const r = [];
10377      let i = e;
10378      for (; i; )
10379        r.push(i), i = i.next;
10380      return r;
10381    },
10382    subscribe(r) {
10383      let i = !0;
10384      const l = t = {
10385        callback: r,
10386        next: null,
10387        prev: t
10388      };
10389      return l.prev ? l.prev.next = l : e = l, function() {
10390        !i || e === null || (i = !1, l.next ? l.next.prev = l.prev : t = l.prev, l.prev ? l.prev.next = l.next : e = l.next);
10391      };
10392    }
10393  };
10394}
10395var n$ = {
10396  notify() {
10397  },
10398  get: () => []
10399};
10400function v_(e, t) {
10401  let r, i = n$, l = 0, s = !1;
10402  function f(N) {
10403    p();
10404    const $ = i.subscribe(N);
10405    let A = !1;
10406    return () => {
10407      A || (A = !0, $(), b());
10408    };
10409  }
10410  function h() {
10411    i.notify();
10412  }
10413  function m() {
10414    T.onStateChange && T.onStateChange();
10415  }
10416  function g() {
10417    return s;
10418  }
10419  function p() {
10420    l++, r || (r = e.subscribe(m), i = y_());
10421  }
10422  function b() {
10423    l--, r && l === 0 && (r(), r = void 0, i.clear(), i = n$);
10424  }
10425  function S() {
10426    s || (s = !0, p());
10427  }
10428  function w() {
10429    s && (s = !1, b());
10430  }
10431  const T = {
10432    addNestedSub: f,
10433    notifyNestedSubs: h,
10434    handleChangeWrapper: m,
10435    isSubscribed: g,
10436    trySubscribe: S,
10437    tryUnsubscribe: w,
10438    getListeners: () => i
10439  };
10440  return T;
10441}
10442var b_ = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", S_ = /* @__PURE__ */ b_(), $_ = () => typeof navigator < "u" && navigator.product === "ReactNative", E_ = /* @__PURE__ */ $_(), T_ = () => S_ || E_ ? qn.useLayoutEffect : qn.useEffect, C_ = /* @__PURE__ */ T_();
10443function r$(e, t) {
10444  return e === t ? e !== 0 || t !== 0 || 1 / e === 1 / t : e !== e && t !== t;
10445}
10446function js(e, t) {
10447  if (r$(e, t)) return !0;
10448  if (typeof e != "object" || e === null || typeof t != "object" || t === null)
10449    return !1;
10450  const r = Object.keys(e), i = Object.keys(t);
10451  if (r.length !== i.length) return !1;
10452  for (let l = 0; l < r.length; l++)
10453    if (!Object.prototype.hasOwnProperty.call(t, r[l]) || !r$(e[r[l]], t[r[l]]))
10454      return !1;
10455  return !0;
10456}
10457var w_ = /* @__PURE__ */ Symbol.for("react-redux-context"), O_ = typeof globalThis < "u" ? globalThis : (
10458  /* fall back to a per-module scope (pre-8.1 behaviour) if `globalThis` is not available */
10459  {}
10460);
10461function N_() {
10462  if (!qn.createContext) return {};
10463  const e = O_[w_] ??= /* @__PURE__ */ new Map();
10464  let t = e.get(qn.createContext);
10465  return t || (t = qn.createContext(
10466    null
10467  ), e.set(qn.createContext, t)), t;
10468}
10469var Xr = /* @__PURE__ */ N_();
10470function A_(e) {
10471  const { children: t, context: r, serverState: i, store: l } = e, s = qn.useMemo(() => {
10472    const m = v_(l);
10473    return {
10474      store: l,
10475      subscription: m,
10476      getServerState: i ? () => i : void 0
10477    };
10478  }, [l, i]), f = qn.useMemo(() => l.getState(), [l]);
10479  C_(() => {
10480    const { subscription: m } = s;
10481    return m.onStateChange = m.notifyNestedSubs, m.trySubscribe(), f !== l.getState() && m.notifyNestedSubs(), () => {
10482      m.tryUnsubscribe(), m.onStateChange = void 0;
10483    };
10484  }, [s, f]);
10485  const h = r || Xr;
10486  return /* @__PURE__ */ qn.createElement(h.Provider, { value: s }, t);
10487}
10488var __ = A_;
10489function ay(e = Xr) {
10490  return function() {
10491    return qn.useContext(e);
10492  };
10493}
10494var D6 = /* @__PURE__ */ ay();
10495function iy(e = Xr) {
10496  const t = e === Xr ? D6 : (
10497    // @ts-ignore
10498    ay(e)
10499  ), r = () => {
10500    const { store: i } = t();
10501    return i;
10502  };
10503  return Object.assign(r, {
10504    withTypes: () => r
10505  }), r;
10506}
10507var M6 = /* @__PURE__ */ iy();
10508function oy(e = Xr) {
10509  const t = e === Xr ? M6 : iy(e), r = () => t().dispatch;
10510  return Object.assign(r, {
10511    withTypes: () => r
10512  }), r;
10513}
10514var I6 = /* @__PURE__ */ oy(), x_ = (e, t) => e === t;
10515function P6(e = Xr) {
10516  const t = e === Xr ? D6 : ay(e), r = (i, l = {}) => {
10517    const { equalityFn: s = x_ } = typeof l == "function" ? { equalityFn: l } : l, f = t(), { store: h, subscription: m, getServerState: g } = f;
10518    qn.useRef(!0);
10519    const p = qn.useCallback(
10520      {
10521        [i.name](S) {
10522          return i(S);
10523        }
10524      }[i.name],
10525      [i]
10526    ), b = p_.useSyncExternalStoreWithSelector(
10527      m.addNestedSub,
10528      h.getState,
10529      g || h.getState,
10530      p,
10531      s
10532    );
10533    return qn.useDebugValue(b), b;
10534  };
10535  return Object.assign(r, {
10536    withTypes: () => r
10537  }), r;
10538}
10539var R_ = /* @__PURE__ */ P6(), D_ = R6, M_ = class extends Error {
10540  /**
10541   * The schema issues.
10542   */
10543  issues;
10544  /**
10545   * Creates a schema error with useful information.
10546   *
10547   * @param issues The schema issues.
10548   */
10549  constructor(e) {
10550    super(e[0].message), this.name = "SchemaError", this.issues = e;
10551  }
10552}, k6 = /* @__PURE__ */ ((e) => (e.uninitialized = "uninitialized", e.pending = "pending", e.fulfilled = "fulfilled", e.rejected = "rejected", e))(k6 || {}), Ca = "uninitialized", rp = "pending", Is = "fulfilled", Ps = "rejected";
10553function a$(e) {
10554  return {
10555    status: e,
10556    isUninitialized: e === Ca,
10557    isLoading: e === rp,
10558    isSuccess: e === Is,
10559    isError: e === Ps
10560  };
10561}
10562var i$ = yi;
10563function ly(e, t) {
10564  if (e === t || !(i$(e) && i$(t) || Array.isArray(e) && Array.isArray(t)))
10565    return t;
10566  const r = Object.keys(t), i = Object.keys(e);
10567  let l = r.length === i.length;
10568  const s = Array.isArray(t) ? [] : {};
10569  for (const f of r)
10570    s[f] = ly(e[f], t[f]), l && (l = e[f] === s[f]);
10571  return l ? e : s;
10572}
10573function ap(e, t, r) {
10574  return e.reduce((i, l, s) =>
10574 (t(l, s) && i.push(r(l, s)), i), []).flat();
10575}
10576function I_(e) {
10577  return new RegExp("(^|:)//").test(e);
10578}
10579function P_() {
10580  return typeof document > "u" ? !0 : document.visibilityState !== "hidden";
10581}
10582function uy(e) {
10583  return e != null;
10584}
10585function o$(e) {
10586  return [...e?.values() ?? []].filter(uy);
10587}
10588function k_() {
10589  return typeof navigator > "u" || navigator.onLine === void 0 ? !0 : navigator.onLine;
10590}
10591var L_ = (e) => e.replace(/\/$/, ""), z_ = (e) => e.replace(/^\//, "");
10592function U_(e, t) {
10593  if (!e)
10594    return t;
10595  if (!t)
10596    return e;
10597  if (I_(t))
10598    return t;
10599  const r = e.endsWith("/") || !t.startsWith("?") ? "/" : "";
10600  return e = L_(e), t = z_(t), `${e}${r}${t}`;
10601}
10602function fh(e, t, r) {
10603  return e.has(t) ? e.get(t) : e.set(t, r(t)).get(t);
10604}
10605var ip = () => /* @__PURE__ */ new Map(), j_ = (e) => {
10606  const t = new AbortController();
10607  return setTimeout(() => {
10608    const r = "signal timed out", i = "TimeoutError";
10609    t.abort(
10610      // some environments (React Native, Node) don't have DOMException
10611      typeof DOMException < "u" ? new DOMException(r, i) : Object.assign(new Error(r), {
10612        name: i
10613      })
10614    );
10615  }, e), t.signal;
10616}, F_ = (...e) => {
10617  for (const r of e) if (r.aborted) return AbortSignal.abort(r.reason);
10618  const t = new AbortController();
10619  for (const r of e)
10620    r.addEventListener("abort", () => t.abort(r.reason), {
10621      signal: t.signal,
10622      once: !0
10623    });
10624  return t.signal;
10625}, l$ = (...e) => fetch(...e), H_ = (e) => e.status >= 200 && e.status <= 299, V_ = (e) => (
10626  /*applicat*/
10627  /ion\/(vnd\.api\+)?json/.test(e.get("content-type") || "")
10628);
10629function u$(e) {
10630  if (!yi(e))
10631    return e;
10632  const t = {
10633    ...e
10634  };
10635  for (const [r, i] of Object.entries(t))
10636    i === void 0 && delete t[r];
10637  return t;
10638}
10639var B_ = (e) => typeof e == "object" && (yi(e) || Array.isArray(e) || typeof e.toJSON == "function");
10640function sy({
10641  baseUrl: e,
10642  prepareHeaders: t = (b) => b,
10643  fetchFn: r = l$,
10644  paramsSerializer: i,
10645  isJsonContentType: l = V_,
10646  jsonContentType: s = "application/json",
10647  jsonReplacer: f,
10648  timeout: h,
10649  responseHandler: m,
10650  validateStatus: g,
10651  ...p
10652} = {}) {
10653  return typeof fetch > "u" && r === l$ && console.warn("Warning: `fetch` is not available. Please supply a custom `fetchFn` property to use `fetchBaseQuery` on SSR environments."), async (S, w, T) => {
10654    const {
10655      getState: N,
10656      extra: $,
10657      endpoint: A,
10658      forced: D,
10659      type: _
10660    } = w;
10661    let x, {
10662      url: v,
10663      headers: E = new Headers(p.headers),
10664      params: C = void 0,
10665      responseHandler: L = m ?? "json",
10666      validateStatus: k = g ?? H_,
10667      timeout: I = h,
10668      ...M
10669    } = typeof S == "string" ? {
10670      url: S
10671    } : S, U = {
10672      ...p,
10673      signal: I ? F_(w.signal, j_(I)) : w.signal,
10674      ...M
10675    };
10676    E = new Headers(u$(E)), U.headers = await t(E, {
10677      getState: N,
10678      arg: S,
10679      extra: $,
10680      endpoint: A,
10681      forced: D,
10682      type: _,
10683      extraOptions: T
10684    }) || E;
10685    const G = B_(U.body);
10686    if (U.body != null && !G && typeof U.body != "string" && U.headers.delete("content-type"), !U.headers.has("content-type") && G && U.headers.set("content-type", s), G && l(U.headers) && (U.body = JSON.stringify(U.body, f)), U.headers.has("accept") || (L === "json" ? U.headers.set("accept", "application/json") : L === "text" && U.headers.set("accept", "text/plain, text/html, */*")), C) {
10687      const ie = ~v.indexOf("?") ? "&" : "?", de = i ? i(C) : new URLSearchParams(u$(C));
10688      v += ie + de;
10689    }
10690    v = U_(e, v);
10691    const q = new Request(v, U);
10692    x = {
10693      request: new Request(v, U)
10694    };
10695    let Z;
10696    try {
10697      Z = await r(q);
10698    } catch (ie) {
10699      return {
10700        error: {
10701          status: (ie instanceof Error || typeof DOMException < "u" && ie instanceof DOMException) && ie.name === "TimeoutError" ? "TIMEOUT_ERROR" : "FETCH_ERROR",
10702          error: String(ie)
10703        },
10704        meta: x
10705      };
10706    }
10707    const ne = Z.clone();
10708    x.response = ne;
10709    let X, ee = "";
10710    try {
10711      let ie;
10712      if (await Promise.all([
10713        b(Z, L).then((de) => X = de, (de) => ie = de),
10714        // see https://github.com/node-fetch/node-fetch/issues/665#issuecomment-538995182
10715        // we *have* to "use up" both streams at the same time or they will stop running in node-fetch scenarios
10716        ne.text().then((de) => ee = de, () => {
10717        })
10718      ]), ie) throw ie;
10719    } catch (ie) {
10720      return {
10721        error: {
10722          status: "PARSING_ERROR",
10723          originalStatus: Z.status,
10724          data: ee,
10725          error: String(ie)
10726        },
10727        meta: x
10728      };
10729    }
10730    return k(Z, X) ? {
10731      data: X,
10732      meta: x
10733    } : {
10734      error: {
10735        status: Z.status,
10736        data: X
10737      },
10738      meta: x
10739    };
10740  };
10741  async function b(S, w) {
10742    if (typeof w == "function")
10743      return w(S);
10744    if (w === "content-type" && (w = l(S.headers) ? "json" : "text"), w === "
10744json") {
10745      const T = await S.text();
10746      return T.length ? JSON.parse(T) : null;
10747    }
10748    return S.text();
10749  }
10750}
10751var s$ = class {
10752  constructor(e, t = void 0) {
10753    this.value = e, this.meta = t;
10754  }
10755  value;
10756  meta;
10757}, Uh = "__rtkq/", q_ = "online", G_ = "offline", L6 = "focused", cy = /* @__PURE__ */ dn(`${Uh}${L6}`), z6 = /* @__PURE__ */ dn(`${Uh}un${L6}`), fy = /* @__PURE__ */ dn(`${Uh}${q_}`), U6 = /* @__PURE__ */ dn(`${Uh}${G_}`), Ac = "query", j6 = "mutation", F6 = "infinitequery";
10758function jh(e) {
10759  return e.type === Ac;
10760}
10761function Y_(e) {
10762  return e.type === j6;
10763}
10764function Fh(e) {
10765  return e.type === F6;
10766}
10767function dh(e) {
10768  return jh(e) || Fh(e);
10769}
10770function dy(e, t, r, i, l, s) {
10771  const f = Z_(e) ? e(t, r, i, l) : e;
10772  return f ? ap(f, uy, (h) => s(H6(h))) : [];
10773}
10774function Z_(e) {
10775  return typeof e == "function";
10776}
10777function H6(e) {
10778  return typeof e == "string" ? {
10779    type: e
10780  } : e;
10781}
10782function Q_(e, t) {
10783  return e.catch(t);
10784}
10785var Ql = (e, t) => e.endpointDefinitions[t], ec = /* @__PURE__ */ Symbol("forceQueryFn"), op = (e) => typeof e[ec] == "function";
10786function K_({
10787  serializeQueryArgs: e,
10788  queryThunk: t,
10789  infiniteQueryThunk: r,
10790  mutationThunk: i,
10791  api: l,
10792  context: s,
10793  getInternalState: f
10794}) {
10795  const h = (x) => f(x)?.runningQueries, m = (x) => f(x)?.runningMutations, {
10796    unsubscribeQueryResult: g,
10797    removeMutationResult: p,
10798    updateSubscriptionOptions: b
10799  } = l.internalActions;
10800  return {
10801    buildInitiateQuery: A,
10802    buildInitiateInfiniteQuery: D,
10803    buildInitiateMutation: _,
10804    getRunningQueryThunk: S,
10805    getRunningMutationThunk: w,
10806    getRunningQueriesThunk: T,
10807    getRunningMutationsThunk: N
10808  };
10809  function S(x, v) {
10810    return (E) => {
10811      const C = Ql(s, x), L = e({
10812        queryArgs: v,
10813        endpointDefinition: C,
10814        endpointName: x
10815      });
10816      return h(E)?.get(L);
10817    };
10818  }
10819  function w(x, v) {
10820    return (E) => m(E)?.get(v);
10821  }
10822  function T() {
10823    return (x) => o$(h(x));
10824  }
10825  function N() {
10826    return (x) => o$(m(x));
10827  }
10828  function $(x, v) {
10829    const E = (C, {
10830      subscribe: L = !0,
10831      forceRefetch: k,
10832      subscriptionOptions: I,
10833      [ec]: M,
10834      ...U
10835    } = {}) => (G, q) => {
10836      const K = e({
10837        queryArgs: C,
10838        endpointDefinition: v,
10839        endpointName: x
10840      });
10841      let Z;
10842      const ne = {
10843        ...U,
10844        type: Ac,
10845        subscribe: L,
10846        forceRefetch: k,
10847        subscriptionOptions: I,
10848        endpointName: x,
10849        originalArgs: C,
10850        queryCacheKey: K,
10851        [ec]: M
10852      };
10853      if (jh(v))
10854        Z = t(ne);
10855      else {
10856        const {
10857          direction: $e,
10858          initialPageParam: st,
10859          refetchCachedPages: we
10860        } = U;
10861        Z = r({
10862          ...ne,
10863          // Supply these even if undefined. This helps with a field existence
10864          // check over in `buildSlice.ts`
10865          direction: $e,
10866          initialPageParam: st,
10867          refetchCachedPages: we
10868        });
10869      }
10870      const X = l.endpoints[x].select(C), ee = G(Z), ie = X(q()), {
10871        requestId: de,
10872        abort: Ue
10873      } = ee, He = ie.requestId !== de, ve = h(G)?.get(K), ge = () => X(q()), Ye = Object.assign(M ? (
10874        // a query has been forced (upsertQueryData)
10875        // -> we want to resolve it once data has been written with the data that will be written
10876        ee.then(ge)
10877      ) : He && !ve ? (
10878        // a query has been skipped due to a condition and we do not have any currently running query
10879        // -> we want to resolve it immediately with the current data
10880        Promise.resolve(ie)
10881      ) : (
10882        // query just started or one is already in flight
10883        // -> wait for the running query, then resolve with data from after that
10884        Promise.all([ve, ee]).then(ge)
10885      ), {
10886        arg: C,
10887        requestId: de,
10888        subscriptionOptions: I,
10889        queryCacheKey: K,
10890        abort: Ue,
10891        async unwrap() {
10892          const $e = await Ye;
10893          if ($e.isError)
10894            throw $e.error;
10895          return $e.data;
10896        },
10897        refetch: ($e) => G(E(C, {
10898          subscribe: !1,
10899          forceRefetch: !0,
10900          ...$e
10901        })),
10902        unsubscribe() {
10903          L && G(g({
10904            queryCacheKey: K,
10905            requestId: de
10906          }));
10907        },
10908        updateSubscriptionOptions($e) {
10909          Ye.subscriptionOptions = $e, G(b({
10910            endpointName: x,
10911            requestId: de,
10912            queryCacheKey: K,
10913            options: $e
10914          }));
10915        }
10916      });
10917      if (!ve && !He && !M) {
10918        const $e = h(G);
10919        $e.set(K, Ye), Ye.then(() => {
10920          $e.delete(K);
10921        });
10922      }
10923      return Ye;
10924    };
10925    return E;
10926  }
10927  function A(x, v) {
10928    return $(x, v);
10929  }
10930  function D(x, v) {
10931    return $(x, v);
10932  }
10933  function _(x) {
10934    return (v, {
10935      track: E = !0,
10936      fixedCacheKey: C
10937    } = {}) => (L, k) => {
10938      const I = i({
10939        type: "mutation",
10940        endpointName: x,
10941        originalArgs: v,
10942        track: E,
10943        fixedCacheKey: C
10944      }), M = L(I), {
10945        requestId: U,
10946        abort: G,
10947        unwrap: q
10948      } = M, K = Q_(M.unwrap().then((ee) => ({
10949        data: ee
10950      })), (ee) => ({
10951        error: ee
10952      })), Z = () => {
10953        L(p({
10954          requestId: U,
10955          fixedCacheKey: C
10956        }));
10957      }, ne = Object.assign(K, {
10958        arg: M.arg,
10959        requestId: U,
10960        abort: G,
10961        unwrap: q,
10962        reset: Z
10963      }), X = m(L);
10964      return X.set(U, ne), ne.then(() => {
10965        X.delete(U);
10966      }), C && (X.set(C, ne), ne.then(() => {
10967        X.get(C) === ne && X.delete(C);
10968      })), ne;
10969    };
10970  }
10971}
10972var V6 = class extends M_ {
10973  constructor(e, t, r, i) {
10974    super(e), this.value = t, this.schemaName = r, this._bqMeta = i;
10975  }
10976  value;
10977  schemaName;
10978  _bqMeta;
10979}, Wi = (e, t) => Array.isArray(e) ? e.includes(t) : !!e;
10980async function Ji(e, t, r, i) {
10981  const l = await e["~standard"].validate(t);
10982  if (l.issues)
10983    throw new V6(l.issues, t, r, i);
10984  return l.value;
10985}
10986function c$(e) {
10987  return e;
10988}
10989var hs = (e = {}) => ({
10990  ...e,
10991  [Mh]: !0
10992});
10993function X_({
10994  reducerPath: e,
10995  baseQuery: t,
10996  context: {
10997    endpointDefinitions: r
10998  },
10999  serializeQueryArgs: i,
11000  api: l,
11001  assertTagType: s,
11002  selectors: f,
11003  onSchemaFailure: h,
11004  catchSchemaFailure: m,
11005  skipSchemaValidation: g
11006}) {
11007  const p = (M, U, G, q) => (K, Z) => {
11008    const ne = r[M], X = i({
11009      queryArgs: U,
11010      endpointDefinition: ne,
11011      endpointName: M
11012    });
11013    if (K(l.internalActions.queryResultPatched({
11014      queryCacheKey: X,
11015      patches: G
11016    })), !q)
11017      return;
11018    const ee = l.endpoints[M].select(U)(
11019      // Work around TS 4.1 mismatch
11020      Z()
11021    ), ie = dy(ne.providesTags, ee.data, void 0, U, {}, s);
11022    K(l.internalActions.updateProvidedBy([{
11023      queryCacheKey: X,
11024      providedTags: ie
11025    }]));
11026  };
11027  function b(M, U, G = 0) {
11028    const q = [U, ...M];
11029    return G && q.length > G ? q.slice(0, -1) : q;
11030  }
11031  function S(M, U, G = 0) {
11032    const q = [...M, U];
11033    return G && q.length > G ? q.slice(1) : q;
11034  }
11035  const w = (M, U, G, q = !0) => (K, Z) => {
11036    const X = l.endpoints[M].select(U)(
11037      // Work around TS 4.1 mismatch
11038      Z()
11039    ), ee = {
11040      patches: [],
11041      inversePatches: [],
11042      undo: () => K(l.util.patchQueryData(M, U, ee.inversePatches, q))
11043    };
11044    if (X.status === Ca)
11045      return ee;
11046    let ie;
11047    if ("data" in X)
11048      if (xn(X.data)) {
11049        const [de, Ue, He] = l6(X.data, G);
11050        ee.patches.push(...Ue), ee.inversePatches.push(...He), ie = de;
11051      } else
11052        ie = G(X.data), ee.patches.push({
11053          op: "replace",
11054          path: [],
11055          value: ie
11056        }), ee.inversePatches.push({
11057          op: "replace",
11058          path: [],
11059          value: X.data
11060        });
11061    return ee.patches.length === 0 || K(l.util.patchQueryData(M, U, ee.patches, q)), ee;
11062  }, T = (M, U, G) => (q) => q(l.endpoints[M].initiate(U, {
11063    subscribe: !1,
11064    forceRefetch: !0,
11065    [ec]: () => ({
11066      data: G
11067    })
11068  })), N = (M, U) => M.query && M[U] ? M[U] : c$, $ = async (M, {
11069    signal: U,
11070    abort: G,
11071    rejectWithValue: q,
11072    fulfillWithValue: K,
11073    dispatch: Z,
11074    getState: ne,
11075    extra: X
11076  }) => {
11077    const ee = r[M.endpointName], {
11078      metaSchema: ie,
11079      skipSchemaValidation: de = g
11080    }
11080 = ee, Ue = M.type === Ac;
11081    try {
11082      let He = c$;
11083      const ve = {
11084        signal: U,
11085        abort: G,
11086        dispatch: Z,
11087        getState: ne,
11088        extra: X,
11089        endpoint: M.endpointName,
11090        type: M.type,
11091        forced: Ue ? A(M, ne()) : void 0,
11092        queryCacheKey: Ue ? M.queryCacheKey : void 0
11093      }, ge = Ue ? M[ec] : void 0;
11094      let Ye;
11095      const $e = async (we, _e, he, Ee) => {
11096        if (_e == null && we.pages.length)
11097          return Promise.resolve({
11098            data: we
11099          });
11100        const nn = {
11101          queryArg: M.originalArgs,
11102          pageParam: _e
11103        }, rn = await st(nn), Re = Ee ? b : S;
11104        return {
11105          data: {
11106            pages: Re(we.pages, rn.data, he),
11107            pageParams: Re(we.pageParams, _e, he)
11108          },
11109          meta: rn.meta
11110        };
11111      };
11112      async function st(we) {
11113        let _e;
11114        const {
11115          extraOptions: he,
11116          argSchema: Ee,
11117          rawResponseSchema: nn,
11118          responseSchema: rn
11119        } = ee;
11120        if (Ee && !Wi(de, "arg") && (we = await Ji(
11121          Ee,
11122          we,
11123          "argSchema",
11124          {}
11125          // we don't have a meta yet, so we can't pass it
11126        )), ge ? _e = ge() : ee.query ? (He = N(ee, "transformResponse"), _e = await t(ee.query(we), ve, he)) : _e = await ee.queryFn(we, ve, he, (Se) => t(Se, ve, he)), typeof process < "u", _e.error) throw new s$(_e.error, _e.meta);
11127        let {
11128          data: Re
11129        } = _e;
11130        nn && !Wi(de, "rawResponse") && (Re = await Ji(nn, _e.data, "rawResponseSchema", _e.meta));
11131        let gt = await He(Re, _e.meta, we);
11132        return rn && !Wi(de, "response") && (gt = await Ji(rn, gt, "responseSchema", _e.meta)), {
11133          ..._e,
11134          data: gt
11135        };
11136      }
11137      if (Ue && "infiniteQueryOptions" in ee) {
11138        const {
11139          infiniteQueryOptions: we
11140        } = ee, {
11141          maxPages: _e = 1 / 0
11142        } = we, he = M.refetchCachedPages ?? we.refetchCachedPages ?? !0;
11143        let Ee;
11144        const nn = {
11145          pages: [],
11146          pageParams: []
11147        }, rn = f.selectQueryEntry(ne(), M.queryCacheKey)?.data, gt = /* arg.forceRefetch */ A(M, ne()) && !M.direction || !rn ? nn : rn;
11148        if ("direction" in M && M.direction && gt.pages.length) {
11149          const Se = M.direction === "backward", ct = (Se ? B6 : lp)(we, gt, M.originalArgs);
11150          Ee = await $e(gt, ct, _e, Se);
11151        } else {
11152          const {
11153            initialPageParam: Se = we.initialPageParam
11154          } = M, Le = rn?.pageParams ?? [], ct = Le[0] ?? Se, Rn = Le.length;
11155          if (Ee = await $e(gt, ct, _e), ge && (Ee = {
11156            data: Ee.data.pages[0]
11157          }), he)
11158            for (let Sn = 1; Sn < Rn; Sn++) {
11159              const hn = lp(we, Ee.data, M.originalArgs);
11160              Ee = await $e(Ee.data, hn, _e);
11161            }
11162        }
11163        Ye = Ee;
11164      } else
11165        Ye = await st(M.originalArgs);
11166      return ie && !Wi(de, "meta") && Ye.meta && (Ye.meta = await Ji(ie, Ye.meta, "metaSchema", Ye.meta)), K(Ye.data, hs({
11167        fulfilledTimeStamp: Date.now(),
11168        baseQueryMeta: Ye.meta
11169      }));
11170    } catch (He) {
11171      let ve = He;
11172      if (ve instanceof s$) {
11173        let ge = N(ee, "transformErrorResponse");
11174        const {
11175          rawErrorResponseSchema: Ye,
11176          errorResponseSchema: $e
11177        } = ee;
11178        let {
11179          value: st,
11180          meta: we
11181        } = ve;
11182        try {
11183          Ye && !Wi(de, "rawErrorResponse") && (st = await Ji(Ye, st, "rawErrorResponseSchema", we)), ie && !Wi(de, "meta") && (we = await Ji(ie, we, "metaSchema", we));
11184          let _e = await ge(st, we, M.originalArgs);
11185          return $e && !Wi(de, "errorResponse") && (_e = await Ji($e, _e, "errorResponseSchema", we)), q(_e, hs({
11186            baseQueryMeta: we
11187          }));
11188        } catch (_e) {
11189          ve = _e;
11190        }
11191      }
11192      try {
11193        if (ve instanceof V6) {
11194          const ge = {
11195            endpoint: M.endpointName,
11196            arg: M.originalArgs,
11197            type: M.type,
11198            queryCacheKey: Ue ? M.queryCacheKey : void 0
11199          };
11200          ee.onSchemaFailure?.(ve, ge), h?.(ve, ge);
11201          const {
11202            catchSchemaFailure: Ye = m
11203          } = ee;
11204          if (Ye)
11205            return q(Ye(ve, ge), hs({
11206              baseQueryMeta: ve._bqMeta
11207            }));
11208        }
11209      } catch (ge) {
11210        ve = ge;
11211      }
11212      throw console.error(ve), ve;
11213    }
11214  };
11215  function A(M, U) {
11216    const G = f.selectQueryEntry(U, M.queryCacheKey), q = f.selectConfig(U).refetchOnMountOrArgChange, K = G?.fulfilledTimeStamp, Z = M.forceRefetch ?? (M.subscribe && q);
11217    return Z ? Z === !0 || (Number(/* @__PURE__ */ new Date()) - Number(K)) / 1e3 >= Z : !1;
11218  }
11219  const D = () => LS(`${e}/executeQuery`, $, {
11220    getPendingMeta({
11221      arg: U
11222    }) {
11223      const G = r[U.endpointName];
11224      return hs({
11225        startedTimeStamp: Date.now(),
11226        ...Fh(G) ? {
11227          direction: U.direction
11228        } : {}
11229      });
11230    },
11231    condition(U, {
11232      getState: G
11233    }) {
11234      const q = G(), K = f.selectQueryEntry(q, U.queryCacheKey), Z = K?.fulfilledTimeStamp, ne = U.originalArgs, X = K?.originalArgs, ee = r[U.endpointName], ie = U.direction;
11235      return op(U) ? !0 : K?.status === "pending" ? !1 : A(U, q) || jh(ee) && ee?.forceRefetch?.({
11236        currentArg: ne,
11237        previousArg: X,
11238        endpointState: K,
11239        state: q
11240      }) ? !0 : !(Z && !ie);
11241    },
11242    dispatchConditionRejection: !0
11243  }), _ = D(), x = D(), v = LS(`${e}/executeMutation`, $, {
11244    getPendingMeta() {
11245      return hs({
11246        startedTimeStamp: Date.now()
11247      });
11248    }
11249  }), E = (M) => "force" in M, C = (M) => "ifOlderThan" in M, L = (M, U, G = {}) => (q, K) => {
11250    const Z = E(G) && G.force, ne = C(G) && G.ifOlderThan, X = (ie = !0) => {
11251      const de = {
11252        forceRefetch: ie,
11253        subscribe: !1
11254      };
11255      return l.endpoints[M].initiate(U, de);
11256    }, ee = l.endpoints[M].select(U)(K());
11257    if (Z)
11258      q(X());
11259    else if (ne) {
11260      const ie = ee?.fulfilledTimeStamp;
11261      if (!ie) {
11262        q(X());
11263        return;
11264      }
11265      (Number(/* @__PURE__ */ new Date()) - Number(new Date(ie))) / 1e3 >= ne && q(X());
11266    } else
11267      q(X(!1));
11268  };
11269  function k(M) {
11270    return (U) => U?.meta?.arg?.endpointName === M;
11271  }
11272  function I(M, U) {
11273    return {
11274      matchPending: jl(ey(M), k(U)),
11275      matchFulfilled: jl(vi(M), k(U)),
11276      matchRejected: jl(Zl(M), k(U))
11277    };
11278  }
11279  return {
11280    queryThunk: _,
11281    mutationThunk: v,
11282    infiniteQueryThunk: x,
11283    prefetch: L,
11284    updateQueryData: w,
11285    upsertQueryData: T,
11286    patchQueryData: p,
11287    buildMatchThunkActions: I
11288  };
11289}
11290function lp(e, {
11291  pages: t,
11292  pageParams: r
11293}, i) {
11294  const l = t.length - 1;
11295  return e.getNextPageParam(t[l], t, r[l], r, i);
11296}
11297function B6(e, {
11298  pages: t,
11299  pageParams: r
11300}, i) {
11301  return e.getPreviousPageParam?.(t[0], t, r[0], r, i);
11302}
11303function q6(e, t, r, i) {
11304  return dy(r[e.meta.arg.endpointName][t], vi(e) ? e.payload : void 0, Ph(e) ? e.payload : void 0, e.meta.arg.originalArgs, "baseQueryMeta" in e.meta ? e.meta.baseQueryMeta : void 0, i);
11305}
11306function f$(e) {
11307  return Zn(e) ? i6(e) : e;
11308}
11309function $d(e, t, r) {
11310  const i = e[t];
11311  i && r(i);
11312}
11313function tc(e) {
11314  return ("arg" in e ? e.arg.fixedCacheKey : e.fixedCacheKey) ?? e.requestId;
11315}
11316function d$(e, t, r) {
11317  const i = e[tc(t)];
11318  i && r(i);
11319}
11320var Ed = {};
11321function W_({
11322  reducerPath: e,
11323  queryThunk: t,
11324  mutationThunk: r,
11325  serializeQueryArgs: i,
11326  context: {
11327    endpointDefinitions: l,
11328    apiUid: s,
11329    extractRehydrationInfo: f,
11330    hasRehydrationInfo: h
11331  },
11332  assertTagType: m,
11333  config: g
11334}) {
11335  const p = dn(`${e}/resetApiState`);
11336  function b(k, I, M, U) {
11337    k[I.queryCacheKey] ??= {
11338      status: Ca,
11339      endpointName: I.endpointName
11340    }, $d(k, I.queryCacheKey, (G) => {
11341      G.status = rp, G.requestId = M && G.requestId ? (
11342        // for `upsertQuery` **updates**, keep the current `requestId`
11343        G.requestId
11344      ) : (
11345        // for normal queries or `upsertQuery` **inserts** always update the `requestId`
11346        U.requestId
11347      ), I.originalArgs !== void 0 && (G.originalArgs = I.originalArgs), G.startedTimeStamp = U.startedTimeStamp;
11348      const q = l[U.arg.endpointName];
11349      Fh(q) && "direction" in I && (G.direction = I.direction);
11350    });
11351  }
11352  function S(k, I, M, U) {
11353    $d(k, I.arg.queryCacheKey, (G) => {
11354      if (G.requestId !== I.requestId && !U) return;
11355      const {
11356        merge: q
11357      } = l[I.arg.endpointName];
11358      if (G.status = Is, q)
11359        if (G.data !== void 0) {
11360          const {
11361            fulfilledTimeStamp: K,
11362            arg: Z,
11363            baseQueryMeta: ne,
11364            requestId: X
11365          } = I;
11366          let ee = Oc(G.data, (ie) => q(ie, M, {
11367            arg: Z.originalArgs,
11368            baseQueryMeta: ne,
11369            fulfilledTimeStamp: K,
11370            requestId: X
11371          }));
11372          G.data = ee;
11373        } else
11374          G.data = M;
11375      else
11376        G.data = l[I.arg.endpointName].structuralSharing ?? !0 ? ly(Zn(G.data) ? tN(G.data) : G.data, M) : M;
11377      delete G.error, G.fulfilledTimeStamp = I.fulfilledTimeStamp;
11378    });
11379  }
11380  const w = ba({
11381    name: `${e}/queries`,
11382    initialState: Ed,
11383    reducers: {
11384      removeQueryResult: {
11385        reducer(k, {
11386          payload: {
11387            queryCacheKey: I
11388          }
11389        }) {
11390          delete k[I];
11391        },
11392        prepare: fs()
11393      },
11394      cacheEntriesUpserted: {
11395        reducer(k, I) {
11396          for (const M of I.payload) {
11397            const {
11398              queryDescription: U,
11399              value: G
11400            } = M;
11401            b(k, U, !0, {
11402              arg: U,
11403              requestId: I.meta.requestId,
11404              startedTimeStamp: I.meta.timestamp
11405            }), S(
11406              k,
11407              {
11408                arg: U,
11409                requestId: I.meta.requestId,
11410                fulfilledTimeStamp: I.meta.timestamp,
11411                baseQueryMeta: {}
11412              },
11413              G,
11414              // We know we're upserting here
11415              !0
11416            );
11417          }
11418        },
11419        prepare: (k) => ({
11420          payload: k.map((U) => {
11421            const {
11422              endpointName: G,
11423              arg: q,
11424              value: K
11425            } = U, Z = l[G];
11426            return {
11427              queryDescription: {
11428                type: Ac,
11429                endpointName: G,
11430                originalArgs: U.arg,
11431                queryCacheKey: i({
11432                  queryArgs: q,
11433                  endpointDefinition: Z,
11434                  endpointName: G
11435                })
11436              },
11437              value: K
11438            };
11439          }),
11440          meta: {
11441            [Mh]: !0,
11442            requestId: ou(),
11443            timestamp: Date.now()
11444          }
11445        })
11446      },
11447      queryResultPatched: {
11448        reducer(k, {
11449          payload: {
11450            queryCacheKey: I,
11451            patches: M
11452          }
11453        }) {
11454          $d(k, I, (U) => {
11455            U.data = RS(U.data, M.concat());
11456          });
11457        },
11458        prepare: fs()
11459      }
11460    },
11461    extraReducers(k) {
11462      k.addCase(t.pending, (I, {
11463        meta: M,
11464        meta: {
11465          arg: U
11466        }
11467      }) => {
11468        const G = op(U);
11469        b(I, U, G, M);
11470      }).addCase(t.fulfilled, (I, {
11471        meta: M,
11472        payload: U
11473      }) => {
11474        const G = op(M.arg);
11475        S(I, M, U, G);
11476      }).addCase(t.rejected, (I, {
11477        meta: {
11478          condition: M,
11479          arg: U,
11480          requestId: G
11481        },
11482        error: q,
11483        payload: K
11484      }) => {
11485        $d(I, U.queryCacheKey, (Z) => {
11486          if (!M) {
11487            if (Z.requestId !== G) return;
11488            Z.status = Ps, Z.error = K ?? q;
11489          }
11490        });
11491      }).addMatcher(h, (I, M) => {
11492        const {
11493          queries: U
11494        } = f(M);
11495        for (const [G, q] of Object.entries(U))
11496          // do not rehydrate entries that were currently in flight.
11497          (q?.status === Is || q?.status === Ps) && (I[G] = q);
11498      });
11499    }
11500  }), T = ba({
11501    name: `${e}/mutations`,
11502    initialState: Ed,
11503    reducers: {
11504      removeMutationResult: {
11505        reducer(k, {
11506          payload: I
11507        }) {
11508          const M = tc(I);
11509          M in k && delete k[M];
11510        },
11511        prepare: fs()
11512      }
11513    },
11514    extraReducers(k) {
11515      k.addCase(r.pending, (I, {
11516        meta: M,
11517        meta: {
11518          requestId: U,
11519          arg: G,
11520          startedTimeStamp: q
11521        }
11522      }) => {
11523        G.track && (I[tc(M)] = {
11524          requestId: U,
11525          status: rp,
11526          endpointName: G.endpointName,
11527          startedTimeStamp: q
11528        });
11529      }).addCase(r.fulfilled, (I, {
11530        payload: M,
11531        meta: U
11532      }) => {
11533        U.arg.track && d$(I, U, (G) => {
11534          G.requestId === U.requestId && (G.status = Is, G.data = M, G.fulfilledTimeStamp = U.fulfilledTimeStamp);
11535        });
11536      }).addCase(r.rejected, (I, {
11537        payload: M,
11538        error: U,
11539        meta: G
11540      }) => {
11541        G.arg.track && d$(I, G, (q) => {
11542          q.requestId === G.requestId && (q.status = Ps, q.error = M ?? U);
11543        });
11544      }).addMatcher(h, (I, M) => {
11545        const {
11546          mutations: U
11547        } = f(M);
11548        for (const [G, q] of Object.entries(U))
11549          // do not rehydrate entries that were currently in flight.
11550          (q?.status === Is || q?.status === Ps) && // only rehydrate endpoints that were persisted using a `fixedCacheKey`
11551          G !== q?.requestId && (I[G] = q);
11552      });
11553    }
11554  }), N = {
11555    tags: {},
11556    keys: {}
11557  }, $ = ba({
11558    name: `${e}/invalidation`,
11559    initialState: N,
11560    reducers: {
11561      updateProvidedBy: {
11562        reducer(k, I) {
11563          for (const {
11564            queryCacheKey: M,
11565            providedTags: U
11566          } of I.payload) {
11567            A(k, M);
11568            for (const {
11569              type: G,
11570              id: q
11571            } of U) {
11572              const K = (k.tags[G] ??= {})[q || "__internal_without_id"] ??= [];
11573              K.includes(M) || K.push(M);
11574            }
11575            k.keys[M] = U;
11576          }
11577        },
11578        prepare: fs()
11579      }
11580    },
11581    extraReducers(k) {
11582      k.addCase(w.actions.removeQueryResult, (I, {
11583        payload: {
11584          queryCacheKey: M
11585        }
11586      }) => {
11587        A(I, M);
11588      }).addMatcher(h, (I, M) => {
11589        const {
11590          provided: U
11591        } = f(M);
11592        for (const [G, q] of Object.entries(U.tags ?? {}))
11593          for (const [K, Z] of Object.entries(q)) {
11594            const ne = (I.tags[G] ??= {})[K || "__internal_without_id"] ??= [];
11595            for (const X of Z)
11596              ne.includes(X) || ne.push(X), I.keys[X] = U.keys[X];
11597          }
11598      }).addMatcher(Ta(vi(t), Ph(t)), (I, M) => {
11599        D(I, [M]);
11600      }).addMatcher(w.actions.cacheEntriesUpserted.match, (I, M) => {
11601        const U = M.payload.map(({
11602          queryDescription: G,
11603          value: q
11604        }) => ({
11605          type: "UNKNOWN",
11606          payload: q,
11607          meta: {
11608            requestStatus: "fulfilled",
11609            requestId: "UNKNOWN",
11610            arg: G
11611          }
11612        }));
11613        D(I, U);
11614      });
11615    }
11616  });
11617  function A(k, I) {
11618    const M = f$(k.keys[I] ?? []);
11619    for (const U of M) {
11620      const G = U.type, q = U.id ?? "__internal_without_id", K = k.tags[G]?.[q];
11621      K && (k.tags[G][q] = f$(K).filter((Z) => Z !== I));
11622    }
11623    delete k.keys[I];
11624  }
11625  function D(k, I) {
11626    const M = I.map((U) => {
11627      const G = q6(U, "providesTags", l, m), {
11628        queryCacheKey: q
11629      } = U.meta.arg;
11630      return {
11631        queryCacheKey: q,
11632        providedTags: G
11633      };
11634    });
11635    $.caseReducers.updateProvidedBy(k, $.actions.updateProvidedBy(M));
11636  }
11637  const _ = ba({
11638    name: `${e}/subscriptions`,
11639    initialState: Ed,
11640    reducers: {
11641      updateSubscriptionOptions(k, I) {
11642      },
11643      unsubscribeQueryResult(k, I) {
11644      },
11645      internal_getRTKQSubscriptions() {
11646      }
11647    }
11648  }), x = ba({
11649    name: `${e}/internalSubscriptions`,
11650    initialState: Ed,
11651    reducers: {
11652      subscriptionsUpdated: {
11653        reducer(k, I) {
11654          return RS(k, I.payload);
11655        },
11656        prepare: fs()
11657      }
11658    }
11659  }), v = ba({
11660    name: `${e}/config`,
11661    initialState: {
11662      online: k_(),
11663      focused: P_(),
11664      middlewareRegistered: !1,
11665      ...g
11666    },
11667    reducers: {
11668      middlewareRegistered(k, {
11669        payload: I
11670      }) {
11671        k.middlewareRegistered = k.middlewareRegistered === "conflict" || s !== I ? "conflict" : !0;
11672      }
11673    },
11674    extraReducers: (k) => {
11675      k.addCase(fy, (I) => {
11676        I.online = !0;
11677      }).addCase(U6, (I) => {
11678        I.online = !1;
11679      }).addCase(cy, (I) => {
11680        I.focused = !0;
11681      }).addCase(z6, (I) => {
11682        I.focused = !1;
11683      }).addMatcher(h, (I) => ({
11684        ...I
11685      }));
11686    }
11687  }), E = Qp({
11688    queries: w.reducer,
11689    mutations: T.reducer,
11690    provided: $.reducer,
11691    subscriptions: x.reducer,
11692    config: v.reducer
11693  }), C = (k, I) => E(p.match(I) ? void 0 : k, I), L = {
11694    ...v.actions,
11695    ...w.actions,
11696    ..._.actions,
11697    ...x.actions,
11698    ...T.actions,
11699    ...$.actions,
11700    resetApiState: p
11701  };
11702  return {
11703    reducer: C,
11704    actions: L
11705  };
11706}
11707var fn = /* @__PURE__ */ Symbol.for("RTKQ/skipToken"), G6 = {
11708  status: Ca
11709}, h$ = /* @__PURE__ */ Oc(G6, () => {
11710}), m$ = /* @__PURE__ */ Oc(G6, () => {
11711});
11712function J_({
11713  serializeQueryArgs: e,
11714  reducerPath: t,
11715  createSelector: r
11716}) {
11717  const i = (_) => h$, l = (_) => m$;
11718  return {
11719    buildQuerySelector: S,
11720    buildInfiniteQuerySelector: w,
11721    buildMutationSelector: T,
11722    selectInvalidatedBy: N,
11723    selectCachedArgsForQuery: $,
11724    selectApiState: f,
11725    selectQueries: h,
11726    selectMutations: g,
11727    selectQueryEntry: m,
11728    selectConfig: p
11729  };
11730  function s(_) {
11731    return {
11732      ..._,
11733      ...a$(_.status)
11734    };
11735  }
11736  function f(_) {
11737    return _[t];
11738  }
11739  function h(_) {
11740    return f(_)?.queries;
11741  }
11742  function m(_, x) {
11743    return h(_)?.[x];
11744  }
11745  function g(_) {
11746    return f(_)?.mutations;
11747  }
11748  function p(_) {
11749    return f(_)?.config;
11750  }
11751  function b(_, x, v) {
11752    return (E) => {
11753      if (E === fn)
11754        return r(i, v);
11755      const C = e({
11756        queryArgs: E,
11757        endpointDefinition: x,
11758        endpointName: _
11759      });
11760      return r((k) => m(k, C) ?? h$, v);
11761    };
11762  }
11763  function S(_, x) {
11764    return b(_, x, s);
11765  }
11766  function w(_, x) {
11767    const {
11768      infiniteQueryOptions: v
11769    } = x;
11770    function E(C) {
11771      const L = {
11772        ...C,
11773        ...a$(C.status)
11774      }, {
11775        isLoading: k,
11776        isError: I,
11777        direction: M
11778      } = L, U = M === "forward", G = M === "backward";
11779      return {
11780        ...L,
11781        hasNextPage: A(v, L.data, L.originalArgs),
11782        hasPreviousPage: D(v, L.data, L.originalArgs),
11783        isFetchingNextPage: k && U,
11784        isFetchingPreviousPage: k && G,
11785        isFetchNextPageError: I && U,
11786        isFetchPreviousPageError: I && G
11787      };
11788    }
11789    return b(_, x, E);
11790  }
11791  function T() {
11792    return ((_) => {
11793      let x;
11794      return typeof _ == "object" ? x = tc(_) ?? fn : x = _, r(x === fn ? l : (C) => f(C)?.mutations?.[x] ?? m$, s);
11795    });
11796  }
11797  function N(_, x) {
11798    const v = _[t], E = /* @__PURE__ */ new Set(), C = ap(x, uy, H6);
11799    for (const L of C) {
11800      const k = v.provided.tags[L.type];
11801      if (!k)
11802        continue;
11803      let I = (L.id !== void 0 ? (
11804        // id given: invalidate all queries that provide this type & id
11805        k[L.id]
11806      ) : (
11807        // no id: invalidate all queries that provide this type
11808        Object.values(k).flat()
11809      )) ?? [];
11810      for (const M of I)
11811        E.add(M);
11812    }
11813    return Array.from(E.values()).flatMap((L) => {
11814      const k = v.queries[L];
11815      return k ? {
11816        queryCacheKey: L,
11817        endpointName: k.endpointName,
11818        originalArgs: k.originalArgs
11819      } : [];
11820    });
11821  }
11822  function $(_, x) {
11823    return ap(Object.values(h(_)), (v) => v?.endpointName === x && v.status !== Ca, (v) => v.originalArgs);
11824  }
11825  function A(_, x, v) {
11826    return x ? lp(_, x, v) != null : !1;
11827  }
11828  function D(_, x, v) {
11829    return !x || !_.getPreviousPageParam ? !1 : B6(_, x, v) != null;
11830  }
11831}
11832var g$ = WeakMap ? /* @__PURE__ */ new WeakMap() : void 0, p$ = ({
11833  endpointName: e,
11834  queryArgs: t
11835}) => {
11836  let r = "";
11837  const i = g$?.get(t);
11838  if (typeof i == "string")
11839    r = i;
11840  else {
11841    const l = JSON.stringify(t, (s, f) => (f = typeof f == "bigint" ? {
11842      $bigint: f.toString()
11843    } : f, f = yi(f) ? Object.keys(f).sort().reduce((h, m) => (h[m] = f[m], h), {}) : f, f));
11844    yi(t) && g$?.set(t, l), r = l;
11845  }
11846  return `${e}(${r})`;
11847};
11848function hy(...e) {
11849  return function(r) {
11850    const i = ah((g) => r.extractRehydrationInfo?.(g, {
11851      reducerPath: r.reducerPath ?? "api"
11852    })), l = {
11853      reducerPath: "api",
11854      keepUnusedDataFor: 60,
11855      refetchOnMountOrArgChange: !1,
11856      refetchOnFocus: !1,
11857      refetchOnReconnect: !1,
11858      invalidationBehavior: "delayed",
11859      ...r,
11860      extractRehydrationInfo: i,
11861      serializeQueryArgs(g) {
11862        let p = p$;
11863        if ("serializeQueryArgs" in g.endpointDefinition) {
11864          const b = g.endpointDefinition.serializeQueryArgs;
11865          p = (S) => {
11866            const w = b(S);
11867            return typeof w == "string" ? w : p$({
11868              ...S,
11869              queryArgs: w
11870            });
11871          };
11872        } else r.serializeQueryArgs && (p = r.serializeQueryArgs);
11873        return p(g);
11874      },
11875      tagTypes: [...r.tagTypes || []]
11876    }, s = {
11877      endpointDefinitions: {},
11878      batch(g) {
11879        g();
11880      },
11881      apiUid: ou(),
11882      extractRehydrationInfo: i,
11883      hasRehydrationInfo: ah((g) => i(g) != null)
11884    }, f = {
11885      injectEndpoints: m,
11886      enhanceEndpoints({
11887        addTagTypes: g,
11888        endpoints: p
11889      }) {
11890        if (g)
11891          for (const b of g)
11892            l.tagTypes.includes(b) || l.tagTypes.push(b);
11893        if (p)
11894          for (const [b, S] of Object.entries(p))
11895            typeof S == "function" ? S(Ql(s, b)) : Object.assign(Ql(s, b) || {}, S);
11896        return f;
11897      }
11898    }, h = e.map((g) => g.init(f, l, s));
11899    function m(g) {
11900      const p = g.endpoints({
11901        query: (b) => ({
11902          ...b,
11903          type: Ac
11904        }),
11905        mutation: (b) => ({
11906          ...b,
11907          type: j6
11908        }),
11909        infiniteQuery: (b) => ({
11910          ...b,
11911          type: F6
11912        })
11913      });
11914      for (const [b, S] of Object.entries(p)) {
11915        if (g.overrideExisting !== !0 && b in s.endpointDefinitions) {
11916          if (g.overrideExisting === "throw")
11917            throw new Error(Ht(39));
11918          continue;
11919        }
11920        s.endpointDefinitions[b] = S;
11921        for (const w of h)
11922          w.injectEndpoint(b, S);
11923      }
11924      return f;
11925    }
11926    return f.injectEndpoints({
11927      endpoints: r.endpoints
11928    });
11929  };
11930}
11931function ga(e, ...t) {
11932  return Object.assign(e, ...t);
11933}
11934var ex = ({
11935  api: e,
11936  queryThunk: t,
11937  internalState: r,
11938  mwApi: i
11939}) => {
11940  const l = `${e.reducerPath}/subscriptions`;
11941  let s = null, f = null;
11942  const {
11943    updateSubscriptionOptions: h,
11944    unsubscribeQueryResult: m
11945  } = e.internalActions, g = (N, $) => {
11946    if (h.match($)) {
11947      const {
11948        queryCacheKey: D,
11949        requestId: _,
11950        options: x
11951      } = $.payload, v = N.get(D);
11952      return v?.has(_) && v.set(_, x), !0;
11953    }
11954    if (m.match($)) {
11955      const {
11956        queryCacheKey: D,
11957        requestId: _
11958      } = $.payload, x = N.get(D);
11959      return x && x.delete(_), !0;
11960    }
11961    if (e.internalActions.removeQueryResult.match($))
11962      return N.delete($.payload.queryCacheKey), !0;
11963    if (t.pending.match($)) {
11964      const {
11965        meta: {
11966          arg: D,
11967          requestId: _
11968        }
11969      } = $, x = fh(N, D.queryCacheKey, ip);
11970      return D.subscribe && x.set(_, D.subscriptionOptions ?? x.get(_) ?? {}), !0;
11971    }
11972    let A = !1;
11973    if (t.rejected.match($)) {
11974      const {
11975        meta: {
11976          condition: D,
11977          arg: _,
11978          requestId: x
11979        }
11980      } = $;
11981      if (D && _.subscribe) {
11982        const v = fh(N, _.queryCacheKey, ip);
11983        v.set(x, _.subscriptionOptions ?? v.get(x) ?? {}), A = !0;
11984      }
11985    }
11986    return A;
11987  }, p = () => r.currentSubscriptions, w = {
11988    getSubscriptions: p,
11989    getSubscriptionCount: (N) => p().get(N)?.size ?? 0,
11990    isRequestSubscribed: (N, $) => !!p()?.get(N)?.get($)
11991  };
11992  function T(N) {
11993    return JSON.parse(JSON.stringify(Object.fromEntries([...N].map(([$, A]) => [$, Object.fromEntries(A)]))));
11994  }
11995  return (N, $) => {
11996    if (s || (s = T(r.currentSubscriptions)), e.util.resetApiState.match(N))
11997      return s = {}, r.currentSubscriptions.clear(), f = null, [!0, !1];
11998    if (e.internalActions.internal_getRTKQSubscriptions.match(N))
11999      return [!1, w];
12000    const A = g(r.currentSubscriptions, N);
12001    let D = !0;
12002    if (A) {
12003      f || (f = setTimeout(() => {
12004        const v = T(r.currentSubscriptions), [, E] = l6(s, () => v);
12005        $.next(e.internalActions.subscriptionsUpdated(E)), s = v, f = null;
12006      }, 500));
12007      const _ = typeof N.type == "string" && !!N.type.startsWith(l), x = t.rejected.match(N) && N.meta.condition && !!N.meta.arg.subscribe;
12008      D = !_ && !x;
12009    }
12010    return [D, !1];
12011  };
12012}, tx = 2147483647 / 1e3 - 1, nx = ({
12013  reducerPath: e,
12014  api: t,
12015  queryThunk: r,
12016  context: i,
12017  internalState: l,
12018  selectors: {
12019    selectQueryEntry: s,
12020    selectConfig: f
12021  },
12022  getRunningQueryThunk: h,
12023  mwApi: m
12024}) => {
12025  const {
12026    removeQueryResult: g,
12027    unsubscribeQueryResult: p,
12028    cacheEntriesUpserted: b
12029  } = t.internalActions, S = Ta(p.match, r.fulfilled, r.rejected, b.match);
12030  function w(_) {
12031    const x = l.currentSubscriptions.get(_);
12032    return x ? x.size > 0 : !1;
12033  }
12034  const T = {};
12035  function N(_) {
12036    for (const x of _.values())
12037      x?.abort?.();
12038  }
12039  const $ = (_, x) => {
12040    const v = x.getState(), E = f(v);
12041    if (S(_)) {
12042      let C;
12043      if (b.match(_))
12044        C = _.payload.map((L) => L.queryDescription.queryCacheKey);
12045      else {
12046        const {
12047          queryCacheKey: L
12048        } = p.match(_) ? _.payload : _.meta.arg;
12049        C = [L];
12050      }
12051      A(C, x, E);
12052    }
12053    if (t.util.resetApiState.match(_)) {
12054      for (const [C, L] of Object.entries(T))
12055        L && clearTimeout(L), delete T[C];
12056      N(l.runningQueries), N(l.runningMutations);
12057    }
12058    if (i.hasRehydrationInfo(_)) {
12059      const {
12060        queries: C
12061      } = i.extractRehydrationInfo(_);
12062      A(Object.keys(C), x, E);
12063    }
12064  };
12065  function A(_, x, v) {
12066    const E = x.getState();
12067    for (const C of _) {
12068      const L = s(E, C);
12069      L?.endpointName && D(C, L.endpointName, x, v);
12070    }
12071  }
12072  function D(_, x, v, E) {
12073    const L = Ql(i, x)?.keepUnusedDataFor ?? E.keepUnusedDataFor;
12074    if (L === 1 / 0)
12075      return;
12076    const k = Math.max(0, Math.min(L, tx));
12077    if (!w(_)) {
12078      const I = T[_];
12079      I && clearTimeout(I), T[_] = setTimeout(() => {
12080        if (!w(_)) {
12081          const M = s(v.getState(), _);
12082          M?.endpointName && v.dispatch(h(M.endpointName, M.originalArgs))?.abort(), v.dispatch(g({
12083            queryCacheKey: _
12084          }));
12085        }
12086        delete T[_];
12087      }, k * 1e3);
12088    }
12089  }
12090  return $;
12091}, y$ = new Error("Promise never resolved before cacheEntryRemoved."), rx = ({
12092  api: e,
12093  reducerPath: t,
12094  context: r,
12095  queryThunk: i,
12096  mutationThunk: l,
12097  internalState: s,
12098  selectors: {
12099    selectQueryEntry: f,
12100    selectApiState: h
12101  }
12102}) => {
12103  const m = Qg(i), g = Qg(l), p = vi(i, l), b = {}, {
12104    removeQueryResult: S,
12105    removeMutationResult: w,
12106    cacheEntriesUpserted: T
12107  } = e.internalActions;
12108  function N(v, E, C) {
12109    const L = b[v];
12110    L?.valueResolved && (L.valueResolved({
12111      data: E,
12112      meta: C
12113    }), delete L.valueResolved);
12114  }
12115  function $(v) {
12116    const E = b[v];
12117    E && (delete b[v], E.cacheEntryRemoved());
12118  }
12119  function A(v) {
12120    const {
12121      arg: E,
12122      requestId: C
12123    } = v.meta, {
12124      endpointName: L,
12125      originalArgs: k
12126    } = E;
12127    return [L, k, C];
12128  }
12129  const D = (v, E, C) => {
12130    const L = _(v);
12131    function k(I, M, U, G) {
12132      const q = f(C, M), K = f(E.getState(), M);
12133      !q && K && x(I, G, M, E, U);
12134    }
12135    if (i.pending.match(v)) {
12136      const [I, M, U] = A(v);
12137      k(I, L, U, M);
12138    } else if (T.match(v))
12139      for (const {
12140        queryDescription: I,
12141        value: M
12142      } of v.payload) {
12143        const {
12144          endpointName: U,
12145          originalArgs: G,
12146          queryCacheKey: q
12147        } = I;
12148        k(U, q, v.meta.requestId, G), N(q, M, {});
12149      }
12150    else if (l.pending.match(v)) {
12151      if (E.getState()[t].mutations[L]) {
12152        const [M, U, G] = A(v);
12153        x(M, U, L, E, G);
12154      }
12155    } else if (p(v))
12156      N(L, v.payload, v.meta.baseQueryMeta);
12157    else if (S.match(v) || w.match(v))
12158      $(L);
12159    else if (e.util.resetApiState.match(v))
12160      for (const I of Object.keys(b))
12161        $(I);
12162  };
12163  function _(v) {
12164    return m(v) ? v.meta.arg.queryCacheKey : g(v) ? v.meta.arg.fixedCacheKey ?? v.meta.requestId : S.match(v) ? v.payload.queryCacheKey : w.match(v) ? tc(v.payload) : "";
12165  }
12166  function x(v, E, C, L, k) {
12167    const I = Ql(r, v), M = I?.onCacheEntryAdded;
12168    if (!M) return;
12169    const U = {}, G = new Promise((ee) => {
12170      U.cacheEntryRemoved = ee;
12171    }), q = Promise.race([new Promise((ee) => {
12172      U.valueResolved = ee;
12173    }), G.then(() => {
12174      throw y$;
12175    })]);
12176    q.catch(() => {
12177    }), b[C] = U;
12178    const K = e.endpoints[v].select(dh(I) ? E : C), Z = L.dispatch((ee, ie, de) => de), ne = {
12179      ...L,
12180      getCacheEntry: () => K(L.getState()),
12181      requestId: k,
12182      extra: Z,
12183      updateCachedData: dh(I) ? (ee) => L.dispatch(e.util.updateQueryData(v, E, ee)) : void 0,
12184      cacheDataLoaded: q,
12185      cacheEntryRemoved: G
12186    }, X = M(E, ne);
12187    Promise.resolve(X).catch((ee) => {
12188      if (ee !== y$)
12189        throw ee;
12190    });
12191  }
12192  return D;
12193}, ax = ({
12194  api: e,
12195  context: {
12196    apiUid: t
12197  },
12198  reducerPath: r
12199}) => (i, l) => {
12200  e.util.resetApiState.match(i) && l.dispatch(e.internalActions.middlewareRegistered(t));
12201}, ix = ({
12202  reducerPath: e,
12203  context: t,
12204  context: {
12205    endpointDefinitions: r
12206  },
12207  mutationThunk: i,
12208  queryThunk: l,
12209  api: s,
12210  assertTagType: f,
12211  refetchQuery: h,
12212  internalState: m
12213}) => {
12214  const {
12215    removeQueryResult: g
12216  } = s.internalActions, p = Ta(vi(i), Ph(i)), b = Ta(vi(l, i), Zl(l, i));
12217  let S = [], w = 0;
12218  const T = (A, D) => {
12219    (l.pending.match(A) || i.pending.match(A)) && w++, b(A) && (w = Math.max(0, w - 1)), p(A) ? $(q6(A, "invalidatesTags", r, f), D) : b(A) ? $([], D) : s.util.invalidateTags.match(A) && $(dy(A.payload, void 0, void 0, void 0, void 0, f), D);
12220  };
12221  function N() {
12222    return w > 0;
12223  }
12224  function $(A, D) {
12225    const _ = D.getState(), x = _[e];
12226    if (S.push(...A), x.config.invalidationBehavior === "delayed" && N())
12227      return;
12228    const v = S;
12229    if (S = [], v.length === 0) return;
12230    const E = s.util.selectInvalidatedBy(_, v);
12231    t.batch(() => {
12232      const C = Array.from(E.values());
12233      for (const {
12234        queryCacheKey: L
12235      } of C) {
12236        const k = x.queries[L], I = fh(m.currentSubscriptions, L, ip);
12237        k && (I.size === 0 ? D.dispatch(g({
12238          queryCacheKey: L
12239        })) : k.status !== Ca && D.dispatch(h(k)));
12240      }
12241    });
12242  }
12243  return T;
12244}, ox = ({
12245  reducerPath: e,
12246  queryThunk: t,
12247  api: r,
12248  refetchQuery: i,
12249  internalState: l
12250}) => {
12251  const {
12252    currentPolls: s,
12253    currentSubscriptions: f
12254  } = l, h = /* @__PURE__ */ new Set();
12255  let m = null;
12256  const g = ($, A) => {
12257    (r.internalActions.updateSubscriptionOptions.match($) || r.internalActions.unsubscribeQueryResult.match($)) && p($.payload.queryCacheKey, A), (t.pending.match($) || t.rejected.match($) && $.meta.condition) && p($.meta.arg.queryCacheKey, A), (t.fulfilled.match($) || t.rejected.match($) && !$.meta.condition) && b($.meta.arg, A), r.util.resetApiState.match($) && (T(), m && (clearTimeout(m), m = null), h.clear());
12258  };
12259  function p($, A) {
12260    h.add($), m || (m = setTimeout(() => {
12261      for (const D of h)
12262        S({
12263          queryCacheKey: D
12264        }, A);
12265      h.clear(), m = null;
12266    }, 0));
12267  }
12268  function b({
12269    queryCacheKey: $
12270  }, A) {
12271    const D = A.getState()[e], _ = D.queries[$], x = f.get($);
12272    if (!_ || _.status === Ca) return;
12273    const {
12274      lowestPollingInterval: v,
12275      skipPollingIfUnfocused: E
12276    } = N(x);
12277    if (!Number.isFinite(v)) return;
12278    const C = s.get($);
12279    C?.timeout && (clearTimeout(C.timeout), C.timeout = void 0);
12280    const L = Date.now() + v;
12281    s.set($, {
12282      nextPollTimestamp: L,
12283      pollingInterval: v,
12284      timeout: setTimeout(() => {
12285        (D.config.focused || !E) && A.dispatch(i(_)), b({
12286          queryCacheKey: $
12287        }, A);
12288      }, v)
12289    });
12290  }
12291  function S({
12292    queryCacheKey: $
12293  }, A) {
12294    const _ = A.getState()[e].queries[$], x = f.get($);
12295    if (!_ || _.status === Ca)
12296      return;
12297    const {
12298      lowestPollingInterval: v
12299    } = N(x);
12300    if (!Number.isFinite(v)) {
12301      w($);
12302      return;
12303    }
12304    const E = s.get($), C = Date.now() + v;
12305    (!E || C < E.nextPollTimestamp) && b({
12306      queryCacheKey: $
12307    }, A);
12308  }
12309  function w($) {
12310    const A = s.get($);
12311    A?.timeout && clearTimeout(A.timeout), s.delete($);
12312  }
12313  function T() {
12314    for (const $ of s.keys())
12315      w($);
12316  }
12317  function N($ = /* @__PURE__ */ new Map()) {
12318    let A = !1, D = Number.POSITIVE_INFINITY;
12319    for (const _ of $.values())
12320      _.pollingInterval && (D = Math.min(_.pollingInterval, D), A = _.skipPollingIfUnfocused || A);
12321    return {
12322      lowestPollingInterval: D,
12323      skipPollingIfUnfocused: A
12324    };
12325  }
12326  return g;
12327}, lx = ({
12328  api: e,
12329  context: t,
12330  queryThunk: r,
12331  mutationThunk: i
12332}) => {
12333  const l = ey(r, i), s = Zl(r, i), f = vi(r, i), h = {};
12334  return (g, p) => {
12335    if (l(g)) {
12336      const {
12337        requestId: b,
12338        arg: {
12339          endpointName: S,
12340          originalArgs: w
12341        }
12342      } = g.meta, T = Ql(t, S), N = T?.onQueryStarted;
12343      if (N) {
12344        const $ = {}, A = new Promise((v, E) => {
12345          $.resolve = v, $.reject = E;
12346        });
12347        A.catch(() => {
12348        }), h[b] = $;
12349        const D = e.endpoints[S].select(dh(T) ? w : b), _ = p.dispatch((v, E, C) => C), x = {
12350          ...p,
12351          getCacheEntry: () => D(p.getState()),
12352          requestId: b,
12353          extra: _,
12354          updateCachedData: dh(T) ? (v) => p.dispatch(e.util.updateQueryData(S, w, v)) : void 0,
12355          queryFulfilled: A
12356        };
12357        N(w, x);
12358      }
12359    } else if (f(g)) {
12360      const {
12361        requestId: b,
12362        baseQueryMeta: S
12363      } = g.meta;
12364      h[b]?.resolve({
12365        data: g.payload,
12366        meta: S
12367      }), delete h[b];
12368    } else if (s(g)) {
12369      const {
12370        requestId: b,
12371        rejectedWithValue: S,
12372        baseQueryMeta: w
12373      } = g.meta;
12374      h[b]?.reject({
12375        error: g.payload ?? g.error,
12376        isUnhandledError: !S,
12377        meta: w
12378      }), delete h[b];
12379    }
12380  };
12381}, ux = ({
12382  reducerPath: e,
12383  context: t,
12384  api: r,
12385  refetchQuery: i,
12386  internalState: l
12387}) => {
12388  const {
12389    removeQueryResult: s
12390  } = r.internalActions, f = (m, g) => {
12391    cy.match(m) && h(g, "refetchOnFocus"), fy.match(m) && h(g, "refetchOnReconnect");
12392  };
12393  function h(m, g) {
12394    const p = m.getState()[e], b = p.queries, S = l.currentSubscriptions;
12395    t.batch(() => {
12396      for (const w of S.keys()) {
12397        const T = b[w], N = S.get(w);
12398        if (!N || !T) continue;
12399        const $ = [...N.values()];
12400        ($.some((D) => D[g] === !0) || $.every((D) => D[g] === void 0) && p.config[g]) && (N.size === 0 ? m.dispatch(s({
12401          queryCacheKey: w
12402        })) : T.status !== Ca && m.dispatch(i(T)));
12403      }
12404    });
12405  }
12406  return f;
12407};
12408function sx(e) {
12409  const {
12410    reducerPath: t,
12411    queryThunk: r,
12412    api: i,
12413    context: l,
12414    getInternalState: s
12415  } = e, {
12416    apiUid: f
12417  } = l, h = {
12418    invalidateTags: dn(`${t}/invalidateTags`)
12419  }, m = (S) => S.type.startsWith(`${t}/`), g = [ax, nx, ix, ox, rx, lx];
12420  return {
12421    middleware: (S) => {
12422      let w = !1;
12423      const T = s(S.dispatch), N = {
12424        ...e,
12425        internalState: T,
12426        refetchQuery: b,
12427        isThisApiSliceAction: m,
12428        mwApi: S
12429      }, $ = g.map((_) => _(N)), A = ex(N), D = ux(N);
12430      return (_) => (x) => {
12431        if (!Kp(x))
12432          return _(x);
12433        w || (w = !0, S.dispatch(i.internalActions.middlewareRegistered(f)));
12434        const v = {
12435          ...S,
12436          next: _
12437        }, E = S.getState(), [C, L] = A(x, v, E);
12438        let k;
12439        if (C ? k = _(x) : k = L, S.getState()[t] && (D(x, v, E), m(x) || l.hasRehydrationInfo(x)))
12440          for (const I of $)
12441            I(x, v, E);
12442        return k;
12443      };
12444    },
12445    actions: h
12446  };
12447  function b(S) {
12448    return e.api.endpoints[S.endpointName].initiate(S.originalArgs, {
12449      subscribe: !1,
12450      forceRefetch: !0
12451    });
12452  }
12453}
12454var v$ = /* @__PURE__ */ Symbol(), my = ({
12455  createSelector: e = s6
12456} = {}) => ({
12457  name: v$,
12458  init(t, {
12459    baseQuery: r,
12460    tagTypes: i,
12461    reducerPath: l,
12462    serializeQueryArgs: s,
12463    keepUnusedDataFor: f,
12464    refetchOnMountOrArgChange: h,
12465    refetchOnFocus: m,
12466    refetchOnReconnect: g,
12467    invalidationBehavior: p,
12468    onSchemaFailure: b,
12469    catchSchemaFailure: S,
12470    skipSchemaValidation: w
12471  }, T) {
12472    yN();
12473    const N = ($e) => $e;
12474    Object.assign(t, {
12475      reducerPath: l,
12476      endpoints: {},
12477      internalActions: {
12478        onOnline: fy,
12479        onOffline: U6,
12480        onFocus: cy,
12481        onFocusLost: z6
12482      },
12483      util: {}
12484    });
12485    const $ = J_({
12486      serializeQueryArgs: s,
12487      reducerPath: l,
12488      createSelector: e
12489    }), {
12490      selectInvalidatedBy: A,
12491      selectCachedArgsForQuery: D,
12492      buildQuerySelector: _,
12493      buildInfiniteQuerySelector: x,
12494      buildMutationSelector: v
12495    } = $;
12496    ga(t.util, {
12497      selectInvalidatedBy: A,
12498      selectCachedArgsForQuery: D
12499    });
12500    const {
12501      queryThunk: E,
12502      infiniteQueryThunk: C,
12503      mutationThunk: L,
12504      patchQueryData: k,
12505      updateQueryData: I,
12506      upsertQueryData: M,
12507      prefetch: U,
12508      buildMatchThunkActions: G
12509    } = X_({
12510      baseQuery: r,
12511      reducerPath: l,
12512      context: T,
12513      api: t,
12514      serializeQueryArgs: s,
12515      assertTagType: N,
12516      selectors: $,
12517      onSchemaFailure: b,
12518      catchSchemaFailure: S,
12519      skipSchemaValidation: w
12520    }), {
12521      reducer: q,
12522      actions: K
12523    } = W_({
12524      context: T,
12525      queryThunk: E,
12526      mutationThunk: L,
12527      serializeQueryArgs: s,
12528      reducerPath: l,
12529      assertTagType: N,
12530      config: {
12531        refetchOnFocus: m,
12532        refetchOnReconnect: g,
12533        refetchOnMountOrArgChange: h,
12534        keepUnusedDataFor: f,
12535        reducerPath: l,
12536        invalidationBehavior: p
12537      }
12538    });
12539    ga(t.util, {
12540      patchQueryData: k,
12541      updateQueryData: I,
12542      upsertQueryData: M,
12543      prefetch: U,
12544      resetApiState: K.resetApiState,
12545      upsertQueryEntries: K.cacheEntriesUpserted
12546    }), ga(t.internalActions, K);
12547    const Z = /* @__PURE__ */ new WeakMap(), ne = ($e) => fh(Z, $e, () => ({
12548      currentSubscriptions: /* @__PURE__ */ new Map(),
12549      currentPolls: /* @__PURE__ */ new Map(),
12550      runningQueries: /* @__PURE__ */ new Map(),
12551      runningMutations: /* @__PURE__ */ new Map()
12552    })), {
12553      buildInitiateQuery: X,
12554      buildInitiateInfiniteQuery: ee,
12555      buildInitiateMutation: ie,
12556      getRunningMutationThunk: de,
12557      getRunningMutationsThunk: Ue,
12558      getRunningQueriesThunk: He,
12559      getRunningQueryThunk: ve
12560    } = K_({
12561      queryThunk: E,
12562      mutationThunk: L,
12563      infiniteQueryThunk: C,
12564      api: t,
12565      serializeQueryArgs: s,
12566      context: T,
12567      getInternalState: ne
12568    });
12569    ga(t.util, {
12570      getRunningMutationThunk: de,
12571      getRunningMutationsThunk: Ue,
12572      getRunningQueryThunk: ve,
12573      getRunningQueriesThunk: He
12574    });
12575    const {
12576      middleware: ge,
12577      actions: Ye
12578    } = sx({
12579      reducerPath: l,
12580      context: T,
12581      queryThunk: E,
12582      mutationThunk: L,
12583      infiniteQueryThunk: C,
12584      api: t,
12585      assertTagType: N,
12586      selectors: $,
12587      getRunningQueryThunk: ve,
12588      getInternalState: ne
12589    });
12590    return ga(t.util, Ye), ga(t, {
12591      reducer: q,
12592      middleware: ge
12593    }), {
12594      name: v$,
12595      injectEndpoint($e, st) {
12596        const we = t, _e = we.endpoints[$e] ??= {};
12597        jh(st) && ga(_e, {
12598          name: $e,
12599          select: _($e, st),
12600          initiate: X($e, st)
12601        }, G(E, $e)), Y_(st) && ga(_e, {
12602          name: $e,
12603          select: v(),
12604          initiate: ie($e)
12605        }, G(L, $e)), Fh(st) && ga(_e, {
12606          name: $e,
12607          select: x($e, st),
12608          initiate: ee($e, st)
12609        }, G(E, $e));
12610      }
12611    };
12612  }
12613});
12614my();
12615function Td(e) {
12616  return e.replace(e[0], e[0].toUpperCase());
12617}
12618var cx = "query", fx = "mutation", dx = "infinitequery";
12619function hx(e) {
12620  return e.type === cx;
12621}
12622function mx(e) {
12623  return e.type === fx;
12624}
12625function Y6(e) {
12626  return e.type === dx;
12627}
12628function ms(e, ...t) {
12629  return Object.assign(e, ...t);
12630}
12631var q1 = /* @__PURE__ */ Symbol();
12632const mi = window.React.useEffect, di = window.React.useRef, Nn = window.React.useMemo;
12633window.React.useContext;
12634const eo = window.React.useCallback, G1 = window.React.useDebugValue, gx = window.React.useLayoutEffect, b$ = window.React.useState;
12635function Y1(e) {
12636  const t = di(e), r = Nn(() => ly(t.current, e), [e]);
12637  return mi(() => {
12638    t.current !== r && (t.current = r);
12639  }, [r]), r;
12640}
12641function $l(e) {
12642  const t = di(e);
12643  return mi(() => {
12644    js(t.current, e) || (t.current = e);
12645  }, [e]), js(t.current, e) ? t.current : e;
12646}
12647var px = () => typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", yx = /* @__PURE__ */ px(), vx = () => typeof navigator < "u" && navigator.product === "ReactNative", bx = /* @__PURE__ */ vx(), Sx = () => yx || bx ? gx : mi, $x = /* @__PURE__ */ Sx(), S$ = (e) => e.isUninitialized ? {
12648  ...e,
12649  isUninitialized: !1,
12650  isFetching: !0,
12651  isLoading: e.data === void 0,
12652  // This is the one place where we still have to use `QueryStatus` as an enum,
12653  // since it's the only reference in the React package and not in the core.
12654  status: k6.pending
12655} : e;
12656function Z1(e, ...t) {
12657  const r = {};
12658  return t.forEach((i) => {
12659    r[i] = e[i];
12660  }), r;
12661}
12662var Q1 = ["data", "status", "isLoading", "isSuccess", "isError", "error"];
12663function Ex({
12664  api: e,
12665  moduleOptions: {
12666    batch: t,
12667    hooks: {
12668      useDispatch: r,
12669      useSelector: i,
12670      useStore: l
12671    },
12672    unstable__sideEffectsInRender: s,
12673    createSelector: f
12674  },
12675  serializeQueryArgs: h,
12676  context: m
12677}) {
12678  const g = s ? (E) => E() : mi, p = (E) => E.current?.unsubscribe?.(), b = m.endpointDefinitions;
12679  return {
12680    buildQueryHooks: _,
12681    buildInfiniteQueryHooks: x,
12682    buildMutationHook: v,
12683    usePrefetch: T
12684  };
12685  function S(E, C, L) {
12686    if (C?.endpointName && E.isUninitialized) {
12687      const {
12688        endpointName: q
12689      } = C, K = b[q];
12690      L !== fn && h({
12691        queryArgs: C.originalArgs,
12692        endpointDefinition: K,
12693        endpointName: q
12694      }) === h({
12695        queryArgs: L,
12696        endpointDefinition: K,
12697        endpointName: q
12698      }) && (C = void 0);
12699    }
12700    let k = E.isSuccess ? E.data : C?.data;
12701    k === void 0 && (k = E.data);
12702    const I = k !== void 0, M = E.isLoading, U = (!C || C.isLoading || C.isUninitialized) && !I && M, G = E.isSuccess || I && (M && !C?.isError || E.isUninitialized);
12703    return {
12704      ...E,
12705      data: k,
12706      currentData: E.data,
12707      isFetching: M,
12708      isLoading: U,
12709      isSuccess: G
12710    };
12711  }
12712  function w(E, C, L) {
12713    if (C?.endpointName && E.isUninitialized) {
12714      const {
12715        endpointName: q
12716      } = C, K = b[q];
12717      L !== fn && h({
12718        queryArgs: C.originalArgs,
12719        endpointDefinition: K,
12720        endpointName: q
12721      }) === h({
12722        queryArgs: L,
12723        endpointDefinition: K,
12724        endpointName: q
12725      }) && (C = void 0);
12726    }
12727    let k = E.isSuccess ? E.data : C?.data;
12728    k === void 0 && (k = E.data);
12729    const I = k !== void 0, M = E.isLoading, U = (!C || C.isLoading || C.isUninitialized) && !I && M, G = E.isSuccess || I && (M && !C?.isError || E.isUninitialized);
12730    return {
12731      ...E,
12732      data: k,
12733      currentData: E.data,
12734      isFetching: M,
12735      isLoading: U,
12736      isSuccess: G
12737    };
12738  }
12739  function T(E, C) {
12740    const L = r(), k = $l(C);
12741    return eo((I, M) => L(e.util.prefetch(E, I, {
12742      ...k,
12743      ...M
12744    })), [E, L, k]);
12745  }
12746  function N(E, C, {
12747    refetchOnReconnect: L,
12748    refetchOnFocus: k,
12749    refetchOnMountOrArgChange: I,
12750    skip: M = !1,
12751    pollingInterval: U = 0,
12752    skipPollingIfUnfocused: G = !1,
12753    ...q
12754  } = {}) {
12755    const {
12756      initiate: K
12757    } = e.endpoints[E], Z = r(), ne = di(void 0);
12758    if (!ne.current) {
12759      const we = Z(e.internalActions.internal_getRTKQSubscriptions());
12760      ne.current = we;
12761    }
12762    const X = Y1(M ? fn : C), ee = $l({
12763      refetchOnReconnect: L,
12764      refetchOnFocus: k,
12765      pollingInterval: U,
12766      skipPollingIfUnfocused: G
12767    }), ie = q.initialPageParam, de = $l(ie), Ue = q.refetchCachedPages, He = $l(Ue), ve = di(void 0);
12768    let {
12769      queryCacheKey: ge,
12770      requestId: Ye
12771    } = ve.current || {}, $e = !1;
12772    ge && Ye && ($e = ne.current.isRequestSubscribed(ge, Ye));
12773    const st = !$e && ve.current !== void 0;
12774    return g(() => {
12775      st && (ve.current = void 0);
12776    }, [st]), g(() => {
12777      const we = ve.current;
12778      if (X === fn) {
12779        we?.unsubscribe(), ve.current = void 0;
12780        return;
12781      }
12782      const _e = ve.current?.subscriptionOptions;
12783      if (!we || we.arg !== X) {
12784        we?.unsubscribe();
12785        const he = Z(K(X, {
12786          subscriptionOptions: ee,
12787          forceRefetch: I,
12788          ...Y6(b[E]) ? {
12789            initialPageParam: de,
12790            refetchCachedPages: He
12791          } : {}
12792        }));
12793        ve.current = he;
12794      } else ee !== _e && we.updateSubscriptionOptions(ee);
12795    }, [Z, K, I, X, ee, st, de, He, E]), [ve, Z, K, ee];
12796  }
12797  function $(E, C) {
12798    return (k, {
12799      skip: I = !1,
12800      selectFromResult: M
12801    } = {}) => {
12802      const {
12803        select: U
12804      } = e.endpoints[E], G = Y1(I ? fn : k), q = di(void 0), K = Nn(() => (
12805        // Normally ts-ignores are bad and should be avoided, but we're
12806        // already casting this selector to be `Selector<any>` anyway,
12807        // so the inconsistencies don't matter here
12808        // @ts-ignore
12809        f([
12810          // @ts-ignore
12811          U(G),
12812          (ie, de) => de,
12813          (ie) => G
12814        ], C, {
12815          memoizeOptions: {
12816            resultEqualityCheck: js
12817          }
12818        })
12819      ), [U, G]), Z = Nn(() => M ? f([K], M, {
12820        devModeChecks: {
12821          identityFunctionCheck: "never"
12822        }
12823      }) : K, [K, M]), ne = i((ie) => Z(ie, q.current), js), X = l(), ee = K(X.getState(), q.current);
12824      return $x(() => {
12825        q.current = ee;
12826      }, [ee]), ne;
12827    };
12828  }
12829  function A(E) {
12830    mi(() => () => {
12831      p(E), E.current = void 0;
12832    }, [E]);
12833  }
12834  function D(E) {
12835    if (!E.current) throw new Error(Ht(38));
12836    return E.current.refetch();
12837  }
12838  function _(E) {
12839    const C = (I, M = {}) => {
12840      const [U] = N(E, I, M);
12841      return A(U), Nn(() => ({
12842        /**
12843         * A method to manually refetch data for the query
12844         */
12845        refetch: () => D(U)
12846      }), [U]);
12847    }, L = ({
12848      refetchOnReconnect: I,
12849      refetchOnFocus: M,
12850      pollingInterval: U = 0,
12851      skipPollingIfUnfocused: G = !1
12852    } = {}) => {
12853      const {
12854        initiate: q
12855      } = e.endpoints[E], K = r(), [Z, ne] = b$(q1), X = di(void 0), ee = $l({
12856        refetchOnReconnect: I,
12857        refetchOnFocus: M,
12858        pollingInterval: U,
12859        skipPollingIfUnfocused: G
12860      });
12861      g(() => {
12862        const He = X.current?.subscriptionOptions;
12863        ee !== He && X.current?.updateSubscriptionOptions(ee);
12864      }, [ee]);
12865      const ie = di(ee);
12866      g(() => {
12867        ie.current = ee;
12868      }, [ee]);
12869      const de = eo(function(He, ve = !1) {
12870        let ge;
12871        return t(() => {
12872          p(X), X.current = ge = K(q(He, {
12873            subscriptionOptions: ie.current,
12874            forceRefetch: !ve
12875          })), ne(He);
12876        }), ge;
12877      }, [K, q]), Ue = eo(() => {
12878        X.current?.queryCacheKey && K(e.internalActions.removeQueryResult({
12879          queryCacheKey: X.current?.queryCacheKey
12880        }));
12881      }, [K]);
12882      return mi(() => () => {
12883        p(X);
12884      }, []), mi(() => {
12885        Z !== q1 && !X.current && de(Z, !0);
12886      }, [Z, de]), Nn(() => [de, Z, {
12887        reset: Ue
12888      }], [de, Z, Ue]);
12889    }, k = $(E, S);
12890    return {
12891      useQueryState: k,
12892      useQuerySubscription: C,
12893      useLazyQuerySubscription: L,
12894      useLazyQuery(I) {
12895        const [M, U, {
12896          reset: G
12897        }] = L(I), q = k(U, {
12898          ...I,
12899          skip: U === q1
12900        }), K = Nn(() => ({
12901          lastArg: U
12902        }), [U]);
12903        return Nn(() => [M, {
12904          ...q,
12905          reset: G
12906        }, K], [M, q, G, K]);
12907      },
12908      useQuery(I, M) {
12909        const U = C(I, M), G = k(I, {
12910          selectFromResult: I === fn || M?.skip ? void 0 : S$,
12911          ...M
12912        }), q = Z1(G, ...Q1);
12913        return G1(q), Nn(() => ({
12914          ...G,
12915          ...U
12916        }), [G, U]);
12917      }
12918    };
12919  }
12920  function x(E) {
12921    const C = (k, I = {}) => {
12922      const [M, U, G, q] = N(E, k, I), K = di(q);
12923      g(() => {
12924        K.current = q;
12925      }, [q]);
12926      const Z = I.refetchCachedPages, ne = $l(Z), X = eo(function(de, Ue) {
12927        let He;
12928        return t(() => {
12929          p(M), M.current = He = U(G(de, {
12930            subscriptionOptions: K.current,
12931            direction: Ue
12932          }));
12933        }), He;
12934      }, [M, U, G]);
12935      A(M);
12936      const ee = Y1(I.skip ? fn : k), ie = eo((de) => {
12937        if (!M.current) throw new Error(Ht(38));
12938        const Ue = {
12939          refetchCachedPages: de?.refetchCachedPages ?? ne
12940        };
12941        return M.current.refetch(Ue);
12942      }, [M, ne]);
12943      return Nn(() => ({
12944        trigger: X,
12945        /**
12946         * A method to manually refetch data for the query
12947         */
12948        refetch: ie,
12949        fetchNextPage: () => X(ee, "forward"),
12950        fetchPreviousPage: () => X(ee, "backward")
12951      }), [ie, X, ee]);
12952    }, L = $(E, w);
12953    return {
12954      useInfiniteQueryState: L,
12955      useInfiniteQuerySubscription: C,
12956      useInfiniteQuery(k, I) {
12957        const {
12958          refetch: M,
12959          fetchNextPage: U,
12960          fetchPreviousPage: G
12961        } = C(k, I), q = L(k, {
12962          selectFromResult: k === fn || I?.skip ? void 0 : S$,
12963          ...I
12964        }), K = Z1(q, ...Q1, "hasNextPage", "hasPreviousPage");
12965        return G1(K), Nn(() => ({
12966          ...q,
12967          fetchNextPage: U,
12968          fetchPreviousPage: G,
12969          refetch: M
12970        }), [q, U, G, M]);
12971      }
12972    };
12973  }
12974  function v(E) {
12975    return ({
12976      selectFromResult: C,
12977      fixedCacheKey: L
12978    } = {}) => {
12979      const {
12980        select: k,
12981        initiate: I
12982      } = e.endpoints[E], M = r(), [U, G] = b$();
12983      mi(() => () => {
12984        U?.arg.fixedCacheKey || U?.reset();
12985      }, [U]);
12986      const q = eo(function(He) {
12987        const ve = M(I(He, {
12988          fixedCacheKey: L
12989        }));
12990        return G(ve), ve;
12991      }, [M, I, L]), {
12992        requestId: K
12993      } = U || {}, Z = Nn(() => k({
12994        fixedCacheKey: L,
12995        requestId: U?.requestId
12996      }), [L, U, k]), ne = Nn(() => C ? f([Z], C) : Z, [C, Z]), X = i(ne, js), ee = L == null ? U?.arg.originalArgs : void 0, ie = eo(() => {
12997        t(() => {
12998          U && G(void 0), L && M(e.internalActions.removeMutationResult({
12999            requestId: K,
13000            fixedCacheKey: L
13001          }));
13002        });
13003      }, [M, L, U, K]), de = Z1(X, ...Q1, "endpointName");
13004      G1(de);
13005      const Ue = Nn(() => ({
13006        ...X,
13007        originalArgs: ee,
13008        reset: ie
13009      }), [X, ee, ie]);
13010      return Nn(() => [q, Ue], [q, Ue]);
13011    };
13012  }
13013}
13014var Tx = /* @__PURE__ */ Symbol(), Z6 = ({
13015  batch: e = D_,
13016  hooks: t = {
13017    useDispatch: I6,
13018    useSelector: R_,
13019    useStore: M6
13020  },
13021  createSelector: r = s6,
13022  unstable__sideEffectsInRender: i = !1,
13023  ...l
13024} = {}) => ({
13025  name: Tx,
13026  init(s, {
13027    serializeQueryArgs: f
13028  }, h) {
13029    const m = s, {
13030      buildQueryHooks: g,
13031      buildInfiniteQueryHooks: p,
13032      buildMutationHook: b,
13033      usePrefetch: S
13034    } = Ex({
13035      api: s,
13036      moduleOptions: {
13037        batch: e,
13038        hooks: t,
13039        unstable__sideEffectsInRender: i,
13040        createSelector: r
13041      },
13042      serializeQueryArgs: f,
13043      context: h
13044    });
13045    return ms(m, {
13046      usePrefetch: S
13047    }), ms(h, {
13048      batch: e
13049    }), {
13050      injectEndpoint(w, T) {
13051        if (hx(T)) {
13052          const {
13053            useQuery: N,
13054            useLazyQuery: $,
13055            useLazyQuerySubscription: A,
13056            useQueryState: D,
13057            useQuerySubscription: _
13058          } = g(w);
13059          ms(m.endpoints[w], {
13060            useQuery: N,
13061            useLazyQuery: $,
13062            useLazyQuerySubscription: A,
13063            useQueryState: D,
13064            useQuerySubscription: _
13065          }), s[`use${Td(w)}Query`] = N, s[`useLazy${Td(w)}Query`] = $;
13066        }
13067        if (mx(T)) {
13068          const N = b(w);
13069          ms(m.endpoints[w], {
13070            useMutation: N
13071          }), s[`use${Td(w)}Mutation`] = N;
13072        } else if (Y6(T)) {
13073          const {
13074            useInfiniteQuery: N,
13075            useInfiniteQuerySubscription: $,
13076            useInfiniteQueryState: A
13077          } = p(w);
13078          ms(m.endpoints[w], {
13079            useInfiniteQuery: N,
13080            useInfiniteQuerySubscription: $,
13081            useInfiniteQueryState: A
13082          }), s[`use${Td(w)}InfiniteQuery`] = N;
13083        }
13084      }
13085    };
13086  }
13087});
13088my(), Z6();
13089var Cx = () => {
13090  const e = dA(), t = (i = Xr) => {
13091    const l = i === Xr ? I6 : oy(i);
13092    function s(...f) {
13093      return e.addMiddleware(...f), l;
13094    }
13095    return s.withTypes = () => s, s;
13096  }, r = t();
13097  return {
13098    ...e,
13099    createDispatchWithMiddlewareHookFactory: t,
13100    createDispatchWithMiddlewareHook: r
13101  };
13102};
13103const wx = window.React, hh = window.React.useEffect, Q6 = window.React.useState, Ox = window.React.createContext, Nx = window.React.useCallback, Ax = window.React.useContext;
13104let K6;
13105const _x = (e) => {
13106  K6 = e;
13107}, X6 = () => K6;
13108let xx = null;
13109const Rx = () => xx, Dx = {}, gy = ba({
13110  name: "configuration",
13111  initialState: Dx,
13112  reducers: {
13113    configure: (e, t) => ({
13114      ...e,
13115      ...t.payload
13116    })
13117  }
13118}), { configure: Mx } = gy.actions, bi = (e) => e.configuration.language, Ix = (e) => e.configuration.customer;
13119gy.reducer;
13120tn.use(n_).init({
13121  fallbackLng: {
13122    default: ["en"],
13123    "nl-formal": ["nl"]
13124  },
13125  partialBundledLanguages: !0,
13126  ns: [],
13127  resources: {},
13128  supportedLngs: ["nl", "nl-formal", "en"],
13129  nonExplicitSupportedLngs: !0,
13130  react: {
13131    bindI18nStore: "added",
13132    unescape: (e) => e.replace("&shy;", "­")
13133  }
13134}).catch(console.error);
13135const mh = tn, Hh = wx.createContext(null), Px = iy(Hh), W6 = oy(Hh), py = W6.withTypes(), J6 = P6(Hh), Qn = J6.withTypes(), kx = /* @__PURE__ */ new Set(), Lx = (e) => {
13136  kx.add(e);
13137}, zx = hy(my(), Z6({ hooks: { useDispatch: W6, useSelector: J6, useStore: Px } })), yy = ((...e) => {
13138  const t = zx(...e);
13139  return Lx(t), t;
13140}), ij = (e) => typeof e == "object" && e != null && "status" in e, Ux = Cx(), { middleware: jx, addMiddleware: Fx } = Ux, vy = Fx.withTypes(), Hx = sA(), { middleware: Vx, startListening: Bx } = Hx, oj = Bx, qx = async ({
13141  batchFn: e,
13142  shouldReauth: t,
13143  handlerFn: r
13144}) => {
13145  const i = X6();
13146  await i.waitForUnlock();
13147  let l = await e();
13148  if (t(l))
13149    if (i.isLocked())
13150      await i.waitForUnlock(), l = await e();
13151    else {
13152      const s = await i.acquire();
13153      try {
13154        l = await e(), t(l) && (l = await r(l));
13155      } catch (f) {
13156        console.error(f);
13157      } finally {
13158        s();
13159      }
13160    }
13161  return l;
13162}, Gx = (e, { shouldReauth: t, makeRefreshTokenQuery: r }) => async (i, l, s) => qx({
13163  batchFn: async () => await e(i, l, s),
13164  shouldReauth: t,
13165  handlerFn: (f) => r(e, {
13166    originalResult: f
13167  })(i, l, s)
13168}), lu = $A(gy).withLazyLoadedSlices(), Yx = () => kN({
13169  reducer: lu,
13170  middleware: (e) => e({ serializableCheck: !1 }).prepend(Vx, jx)
13171}), by = Yx(), Zx = ({
13172  language: e,
13173  children: t,
13174  viewport: r,
13175  customer: i,
13176  dtap: l
13177}) => {
13178  const s = py(), f = Qn((h) => h.configuration);
13179  return hh(() => {
13180    s(
13181      Mx({
13182        language: e,
13183        viewport: r,
13184        customer: i,
13185        dtap: l ?? "production"
13186      })
13187    );
13188  }, [s, e, r, i, l]), hh(() => {
13189    e && mh.changeLanguage(e).catch(console.error);
13190  }, [e]), /* @__PURE__ */ Mt.jsx(Mt.Fragment, { children: Object.keys(f).length > 0 && t });
13191}, eE = (e, t) => {
13192  const r = { ...e };
13193  for (const i in t)
13194    t.hasOwnProperty(i) && (t[i] instanceof Object && e[i] instanceof Object ? r[i] = eE(e[i], t[i]) : r[i] = t[i]);
13195  return r;
13196}, tE = (e, t, r) => {
13197  const [i, l] = Q6(!1), s = Qn(Ix);
13198  return hh(() => {
13199    for (const f in t) {
13200      const h = s ? r?.[s]?.[f] : void 0;
13201      (!mh.hasResourceBundle(f, e) || h) && mh.addResourceBundle(
13202        f,
13203        e,
13204        eE(t[f] ?? {}, h ?? {}),
13205        !0,
13206        !0
13207      );
13208    }
13209    l(!0);
13210  }, [e, t, s, r]), i;
13211}, nE = (...e) => {
13212  const t = c_(...e);
13213  return {
13214    ...t,
13215    t: t.t
13216  };
13217}, Qx = /^[\w.+-]+@[a-zA-Z\d.-]+\.[a-zA-Z]{2,}$/, lj = (e) => typeof e == "string" && Qx.test(e), Ml = {
13218  xs: 0,
13219  sm: 600,
13220  md: 840,
13221  lg: 1280,
13222  xl: 1500
13223}, rE = Ox(null), Kx = () => {
13224  const e = Ax(rE);
13225  if (!e)
13226    throw new Error("useZdsBreakpoint must be used within zdsBreakpointProvider");
13227  return e;
13228}, uj = (e) => {
13229  const t = Kx();
13230  return Ml[t] >= Ml[e];
13231}, $$ = (e) => e < Ml.sm ? "xs" : e < Ml.md ? "sm" : e < Ml.lg ? "md" : e < Ml.xl ? "lg" : "xl", Xx = ({
13232  children: e,
13233  width: t = void 0
13234}) => {
13235  const [r, i] = Q6($$(t ?? window.innerWidth)), l = Nx(() => {
13236    const s = $$(t ?? window.innerWidth);
13237    r !== s && i(s);
13238  }, [t, r]);
13239  return hh(() => (window.addEventListener("resize", l), () => {
13240    window.removeEventListener("resize", l);
13241  }), [l]), /* @__PURE__ */ Mt.jsx(rE.Provider, { value: r, children: e });
13242}, E$ = window.React;
13243var T$ = function(t, r) {
13244  var i = arguments;
13245  if (r == null || !pc.call(r, "css"))
13246    return E$.createElement.apply(void 0, i);
13247  var l = i.length, s = new Array(l);
13248  s[0] = jp, s[1] = Up(t, r);
13249  for (var f = 2; f < l; f++)
13250    s[f] = i[f];
13251  return E$.createElement.apply(null, s);
13252};
13253(function(e) {
13254  var t;
13255  t || (t = e.JSX || (e.JSX = {}));
13256})(T$ || (T$ = {}));
13257function bo() {
13258  for (var e = arguments.length, t = new Array(e), r = 0; r < e; r++)
13259    t[r] = arguments[r];
13260  return zp(t);
13261}
13262window.React.createElement;
13263function aE(e) {
13264  var t, r, i = "";
13265  if (typeof e == "string" || typeof e == "number") i += e;
13266  else if (typeof e == "object") if (Array.isArray(e)) for (t = 0; t < e.length; t++) e[t] && (r = aE(e[t])) && (i && (i += " "), i += r);
13267  else for (t in e) e[t] && (i && (i += " "), i += t);
13268  return i;
13269}
13270function $o() {
13271  for (var e, t, r = 0, i = ""; r < arguments.length; ) (e = arguments[r++]) && (t = aE(e)) && (i && (i += " "), i += t);
13272  return i;
13273}
13274let Wx = { data: "" }, Jx = (e) => {
13275  if (typeof window == "object") {
13276    let t = (e ? e.querySelector("#_goober") : window._goober) || Object.assign(document.createElement("style"), { innerHTML: " ", id: "_goober" });
13277    return t.nonce = window.__nonce__, t.parentNode || (e || document.head).appendChild(t), t.firstChild;
13278  }
13279  return e || Wx;
13280}, eR = /(?:([\u0080-\uFFFF\w-%@]+) *:? *([^{;]+?);|([^;}{]*?) *{)|(}\s*)/g, tR = /\/\*[^]*?\*\/|  +/g, C$ = /\n+/g, lo = (e, t) => {
13281  let r = "", i = "", l = "";
13282  for (let s in e) {
13283    let f = e[s];
13284    s[0] == "@" ? s[1] == "i" ? r = s + " " + f + ";" : i += s[1] == "f" ? lo(f, s) : s + "{" + lo(f, s[1] == "k" ? "" : t) + "}" : typeof f == "object" ? i += lo(f, t ? t.replace(/([^,])+/g, (h) => s.replace(/([^,]*:\S+\([^)]*\))|([^,])+/g, (m) => /&/.test(m) ? m.replace(/&/g, h) : h ? h + " " + m : m)) : s) : f != null && (s = s[1] == "-" ? s : s.replace(/[A-Z]/g, "-$&").toLowerCase(), l += lo.p ? lo.p(s, f) : s + ":" + f + ";");
13285  }
13286  return r + (t && l ? t + "{" + l + "}" : l) + i;
13287}, ui = {}, iE = (e) => {
13288  if (typeof e == "object") {
13289    let t = "";
13290    for (let r in e) t += r + iE(e[r]);
13291    return t;
13292  }
13293  return e;
13294}, nR = (e, t, r, i, l) => {
13295  let s = iE(e), f = ui[s] || (ui[s] = ((m) => {
13296    let g = 0, p = 11;
13297    for (; g < m.length; ) p = 101 * p + m.charCodeAt(g++) >>> 0;
13298    return "go" + p;
13299  })(s));
13300  if (!ui[f]) {
13301    let m = s !== e ? e : ((g) => {
13302      let p, b, S = [{}];
13303      for (; p = eR.exec(g.replace(tR, "")); ) p[4] ? S.shift() : p[3] ? (b = p[3].replace(C$, " ").trim(), S.unshift(S[0][b] = S[0][b] || {})) : S[0][p[1]] = p[2].replace(C$, " ").trim();
13304      return S[0];
13305    })(e);
13306    ui[f] = lo(l ? { ["@keyframes " + f]: m } : m, r ? "" : "." + f);
13307  }
13308  let h = r && ui.g;
13309  return r && (ui.g = ui[f]), ((m, g, p, b) => {
13310    b ? g.data = g.data.replace(b, m) : g.data.indexOf(m) === -1 && (g.data = p ? m + g.data : g.data + m);
13311  })(ui[f], t, i, h), f;
13312}, rR = (e, t, r) => e.reduce((i, l, s) => {
13313  let f = t[s];
13314  if (f && f.call) {
13315    let h = f(r), m = h && h.props && h.props.className || /^go/.test(h) && h;
13316    f = m ? "." + m : h && typeof h == "object" ? h.props ? "" : lo(h, "") : h === !1 ? "" : h;
13317  }
13318  return i + l + (f ?? "");
13319}, "");
13320function Sy(e) {
13321  let t = this || {}, r = e.call ? e(t.p) : e;
13322  return nR(r.unshift ? r.raw ? rR(r, [].slice.call(arguments, 1), t.p) : r.reduce((i, l) => Object.assign(i, l && l.call ? l(t.p) : l), {}) : r, Jx(t.target), t.g, t.o, t.k);
13323}
13324Sy.bind({ g: 1 });
13325Sy.bind({ k: 1 });
13326const it = window.React, oE = window.React.useMemo, _c = window.React.forwardRef, Kl = window.React.useRef, Vh = window.React.useCallback, Xl = window.React.useEffect, Fs = window.React.createElement, aR = window.React.cloneElement, iR = window.React.useLayoutEffect, lE = window.React.memo, oR = window.React.useState, lR = window.React.Component, uR = window.React.isValidElement, sR = window.React.useContext, cR = window.ReactDOM.createPortal;
13327function fR(e, t) {
13328  for (var r = 0; r < t.length; r++) {
13329    var i = t[r];
13330    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, i.key, i);
13331  }
13332}
13333function uE(e, t, r) {
13334  return t && fR(e.prototype, t), e;
13335}
13336function nt() {
13337  return nt = Object.assign || function(e) {
13338    for (var t = 1; t < arguments.length; t++) {
13339      var r = arguments[t];
13340      for (var i in r)
13341        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
13342    }
13343    return e;
13344  }, nt.apply(this, arguments);
13345}
13346function sE(e, t) {
13347  e.prototype = Object.create(t.prototype), e.prototype.constructor = e, e.__proto__ = t;
13348}
13349function xc(e, t) {
13350  if (e == null) return {};
13351  var r = {}, i = Object.keys(e), l, s;
13352  for (s = 0; s < i.length; s++)
13353    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
13354  return r;
13355}
13356function w$(e) {
13357  if (e === void 0)
13358    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
13359  return e;
13360}
13361var O$ = function() {
13362  return "";
13363}, cE = /* @__PURE__ */ it.createContext({
13364  enqueueSnackbar: O$,
13365  closeSnackbar: O$
13366}), ro = {
13367  downXs: "@media (max-width:599.95px)",
13368  upSm: "@media (min-width:600px)"
13369}, N$ = function(t) {
13370  return t.charAt(0).toUpperCase() + t.slice(1);
13371}, $y = function(t) {
13372  return "" + N$(t.vertical) + N$(t.horizontal);
13373}, Cd = function(t) {
13374  return !!t || t === 0;
13375}, wd = "unmounted", El = "exited", Tl = "entering", gs = "entered", A$ = "exiting", Ey = /* @__PURE__ */ (function(e) {
13376  sE(t, e);
13377  function t(i) {
13378    var l;
13379    l = e.call(this, i) || this;
13380    var s = i.appear, f;
13381    return l.appearStatus = null, i.in ? s ? (f = El, l.appearStatus = Tl) : f = gs : i.unmountOnExit || i.mountOnEnter ? f = wd : f = El, l.state = {
13382      status: f
13383    }, l.nextCallback = null, l;
13384  }
13385  t.getDerivedStateFromProps = function(l, s) {
13386    var f = l.in;
13387    return f && s.status === wd ? {
13388      status: El
13389    } : null;
13390  };
13391  var r = t.prototype;
13392  return r.componentDidMount = function() {
13393    this.updateStatus(!0, this.appearStatus);
13394  }, r.componentDidUpdate = function(l) {
13395    var s = null;
13396    if (l !== this.props) {
13397      var f = this.state.status;
13398      this.props.in ? f !== Tl && f !== gs && (s = Tl) : (f === Tl || f === gs) && (s = A$);
13399    }
13400    this.updateStatus(!1, s);
13401  }, r.componentWillUnmount = function() {
13402    this.cancelNextCallback();
13403  }, r.getTimeouts = function() {
13404    var l = this.props.timeout, s = l, f = l;
13405    return l != null && typeof l != "number" && typeof l != "string" && (f = l.exit, s = l.enter), {
13406      exit: f,
13407      enter: s
13408    };
13409  }, r.updateStatus = function(l, s) {
13410    l === void 0 && (l = !1), s !== null ? (this.cancelNextCallback(), s === Tl ? this.performEnter(l) : this.performExit()) : this.props.unmountOnExit && this.state.status === El && this.setState({
13411      status: wd
13412    });
13413  }, r.performEnter = function(l) {
13414    var s = this, f = this.props.enter, h = l, m = this.getTimeouts();
13415    if (!l && !f) {
13416      this.safeSetState({
13417        status: gs
13418      }, function() {
13419        s.props.onEntered && s.props.onEntered(s.node, h);
13420      });
13421      return;
13422    }
13423    this.props.onEnter && this.props.onEnter(this.node, h), this.safeSetState({
13424      status: Tl
13425    }, function() {
13426      s.props.onEntering && s.props.onEntering(s.node, h), s.onTransitionEnd(m.enter, function() {
13427        s.safeSetState({
13428          status: gs
13429        }, function() {
13430          s.props.onEntered && s.props.onEntered(s.node, h);
13431        });
13432      });
13433    });
13434  }, r.performExit = function() {
13435    var l = this, s = this.props.exit, f = this.getTimeouts();
13436    if (!s) {
13437      this.safeSetState({
13438        status: El
13439      }, function() {
13440        l.props.onExited && l.props.onExited(l.node);
13441      });
13442      return;
13443    }
13444    this.props.onExit && this.props.onExit(this.node), this.safeSetState({
13445      status: A$
13446    }, function() {
13447      l.props.onExiting && l.props.onExiting(l.node), l.onTransitionEnd(f.exit, function() {
13448        l.safeSetState({
13449          status: El
13450        }, function() {
13451          l.props.onExited && l.props.onExited(l.node);
13452        });
13453      });
13454    });
13455  }, r.cancelNextCallback = function() {
13456    this.nextCallback !== null && this.nextCallback.cancel && (this.nextCallback.cancel(), this.nextCallback = null);
13457  }, r.safeSetState = function(l, s) {
13458    s = this.setNextCallback(s), this.setState(l, s);
13459  }, r.setNextCallback = function(l) {
13460    var s = this, f = !0;
13461    return this.nextCallback = function() {
13462      f && (f = !1, s.nextCallback = null, l());
13463    }, this.nextCallback.cancel = function() {
13464      f = !1;
13465    }, this.nextCallback;
13466  }, r.onTransitionEnd = function(l, s) {
13467    this.setNextCallback(s);
13468    var f = l == null && !this.props.addEndListener;
13469    if (!this.node || f) {
13470      setTimeout(this.nextCallback, 0);
13471      return;
13472    }
13473    this.props.addEndListener && this.props.addEndListener(this.node, this.nextCallback), l != null && setTimeout(this.nextCallback, l);
13474  }, r.render = function() {
13475    var l = this.state.status;
13476    if (l === wd)
13477      return null;
13478    var s = this.props, f = s.children, h = xc(s, ["children", "in", "mountOnEnter", "unmountOnExit", "appear", "enter", "exit", "timeout", "addEndListener", "onEnter", "onEntering", "onEntered", "onExit", "onExiting", "onExited", "nodeRef"]);
13479    return f(l, h);
13480  }, uE(t, [{
13481    key: "node",
13482    get: function() {
13483      var l, s = (l = this.props.nodeRef) === null || l === void 0 ? void 0 : l.current;
13484      if (!s)
13485        throw new Error("notistack - Custom snackbar is not refForwarding");
13486      return s;
13487    }
13488  }]), t;
13489})(it.Component);
13490function Cl() {
13491}
13492Ey.defaultProps = {
13493  in: !1,
13494  mountOnEnter: !1,
13495  unmountOnExit: !1,
13496  appear: !1,
13497  enter: !0,
13498  exit: !0,
13499  onEnter: Cl,
13500  onEntering: Cl,
13501  onEntered: Cl,
13502  onExit: Cl,
13503  onExiting: Cl,
13504  onExited: Cl
13505};
13506function _$(e, t) {
13507  typeof e == "function" ? e(t) : e && (e.current = t);
13508}
13509function up(e, t) {
13510  return oE(function() {
13511    return e == null && t == null ? null : function(r) {
13512      _$(e, r), _$(t, r);
13513    };
13514  }, [e, t]);
13515}
13516function gh(e) {
13517  var t = e.timeout, r = e.style, i = r === void 0 ? {} : r, l = e.mode;
13518  return {
13519    duration: typeof t == "object" ? t[l] || 0 : t,
13520    easing: i.transitionTimingFunction,
13521    delay: i.transitionDelay
13522  };
13523}
13524var sp = {
13525  // This is the most common easing curve.
13526  easeInOut: "cubic-bezier(0.4, 0, 0.2, 1)",
13527  // Objects enter the screen at full velocity from off-screen and
13528  // slowly decelerate to a resting point.
13529  easeOut: "cubic-bezier(0.0, 0, 0.2, 1)",
13530  // The sharp curve is used by objects that may return to the screen at any time.
13531  sharp: "cubic-bezier(0.4, 0, 0.6, 1)"
13532}, fE = function(t) {
13533  t.scrollTop = t.scrollTop;
13534}, x$ = function(t) {
13535  return Math.round(t) + "ms";
13536};
13537function Il(e, t) {
13538  e === void 0 && (e = ["all"]);
13539  var r = t || {}, i = r.duration, l = i === void 0 ? 300 : i, s = r.easing, f = s === void 0 ? sp.easeInOut : s, h = r.delay, m = h === void 0 ? 0 : h, g = Array.isArray(e) ? e : [e];
13540  return g.map(function(p) {
13541    var b = typeof l == "string" ? l : x$(l), S = typeof m == "string" ? m : x$(m);
13542    return p + " " + b + " " + f + " " + S;
13543  }).join(",");
13544}
13545function dR(e) {
13546  return e && e.ownerDocument || document;
13547}
13548function dE(e) {
13549  var t = dR(e);
13550  return t.defaultView || window;
13551}
13552function hR(e, t) {
13553  t === void 0 && (t = 166);
13554  var r;
13555  function i() {
13556    for (var l = this, s = arguments.length, f = new Array(s), h = 0; h < s; h++)
13557      f[h] = arguments[h];
13558    var m = function() {
13559      e.apply(l, f);
13560    };
13561    clearTimeout(r), r = setTimeout(m, t);
13562  }
13563  return i.clear = function() {
13564    clearTimeout(r);
13565  }, i;
13566}
13567function mR(e, t) {
13568  var r = t.getBoundingClientRect(), i = dE(t), l;
13569  if (t.fakeTransform)
13570    l = t.fakeTransform;
13571  else {
13572    var s = i.getComputedStyle(t);
13573    l = s.getPropertyValue("-webkit-transform") || s.getPropertyValue("transform");
13574  }
13575  var f = 0, h = 0;
13576  if (l && l !== "none" && typeof l == "string") {
13577    var m = l.split("(")[1].split(")")[0].split(",");
13578    f = parseInt(m[4], 10), h = parseInt(m[5], 10);
13579  }
13580  switch (e) {
13581    case "left":
13582      return "translateX(" + (i.innerWidth + f - r.left) + "px)";
13583    case "right":
13584      return "translateX(-" + (r.left + r.width - f) + "px)";
13585    case "up":
13586      return "translateY(" + (i.innerHeight + h - r.top) + "px)";
13587    default:
13588      return "translateY(-" + (r.top + r.height - h) + "px)";
13589  }
13590}
13591function Od(e, t) {
13592  if (t) {
13593    var r = mR(e, t);
13594    r && (t.style.webkitTransform = r, t.style.transform = r);
13595  }
13596}
13597var hE = /* @__PURE__ */ _c(function(e, t) {
13598  var r = e.children, i = e.direction, l = i === void 0 ? "down" : i, s = e.in, f = e.style, h = e.timeout, m = h === void 0 ? 0 : h, g = e.onEnter, p = e.onEntered, b = e.onExit, S = e.onExited, w = xc(e, ["children", "direction", "in", "style", "timeout", "onEnter", "onEntered", "onExit", "onExited"]), T = Kl(null), N = up(r.ref, T), $ = up(N, t), A = function(C, L) {
13599    Od(l, C), fE(C), g && g(C, L);
13600  }, D = function(C) {
13601    var L = f?.transitionTimingFunction || sp.easeOut, k = gh({
13602      timeout: m,
13603      mode: "enter",
13604      style: nt({}, f, {
13605        transitionTimingFunction: L
13606      })
13607    });
13608    C.style.webkitTransition = Il("-webkit-transform", k), C.style.transition = Il("transform", k), C.style.webkitTransform = "none", C.style.transform = "none";
13609  }, _ = function(C) {
13610    var L = f?.transitionTimingFunction || sp.sharp, k = gh({
13611      timeout: m,
13612      mode: "exit",
13613      style: nt({}, f, {
13614        transitionTimingFunction: L
13615      })
13616    });
13617    C.style.webkitTransition = Il("-webkit-transform", k), C.style.transition = Il("transform", k), Od(l, C), b && b(C);
13618  }, x = function(C) {
13619    C.style.webkitTransition = "", C.style.transition = "", S && S(C);
13620  }, v = Vh(function() {
13621    T.current && Od(l, T.current);
13622  }, [l]);
13623  return Xl(function() {
13624    if (!(s || l === "down" || l === "right")) {
13625      var E = hR(function() {
13626        T.current && Od(l, T.current);
13627      }), C = dE(T.current);
13628      return C.addEventListener("resize", E), function() {
13629        E.clear(), C.removeEventListener("resize", E);
13630      };
13631    }
13632  }, [l, s]), Xl(function() {
13633    s || v();
13634  }, [s, v]), Fs(Ey, Object.assign({
13635    appear: !0,
13636    nodeRef: T,
13637    onEnter: A,
13638    onEntered: p,
13639    onEntering: D,
13640    onExit: _,
13641    onExited: x,
13642    in: s,
13643    timeout: m
13644  }, w), function(E, C) {
13645    return aR(r, nt({
13646      ref: $,
13647      style: nt({
13648        visibility: E === "exited" && !s ? "hidden" : void 0
13649      }, f, {}, r.props.style)
13650    }, C));
13651  });
13652});
13653hE.displayName = "Slide";
13654var Bh = function(t) {
13655  return it.createElement("svg", Object.assign({
13656    viewBox: "0 0 24 24",
13657    focusable: "false",
13658    style: {
13659      fontSize: 20,
13660      marginInlineEnd: 8,
13661      userSelect: "none",
13662      width: "1em",
13663      height: "1em",
13664      display: "inline-block",
13665      fill: "currentColor",
13666      flexShrink: 0
13667    }
13668  }, t));
13669}, gR = function() {
13670  return it.createElement(Bh, null, it.createElement("path", {
13671    d: `M12 2C6.5 2 2 6.5 2 12S6.5 22 12 22 22 17.5 22 12 17.5 2 12 2M10 17L5 12L6.41
13672        10.59L10 14.17L17.59 6.58L19 8L10 17Z`
13673  }));
13674}, pR = function() {
13675  return it.createElement(Bh, null, it.createElement("path", {
13676    d: "M13,14H11V10H13M13,18H11V16H13M1,21H23L12,2L1,21Z"
13677  }));
13678}, yR = function() {
13679  return it.createElement(Bh, null, it.createElement("path", {
13680    d: `M12,2C17.53,2 22,6.47 22,12C22,17.53 17.53,22 12,22C6.47,22 2,17.53 2,12C2,
13681        6.47 6.47,2 12,2M15.59,7L12,10.59L8.41,7L7,8.41L10.59,12L7,15.59L8.41,17L12,
13682        13.41L15.59,17L17,15.59L13.41,12L17,8.41L15.59,7Z`
13683  }));
13684}, vR = function() {
13685  return it.createElement(Bh, null, it.createElement("path", {
13686    d: `M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,
13687        0 22,12A10,10 0 0,0 12,2Z`
13688  }));
13689}, bR = {
13690  default: void 0,
13691  success: /* @__PURE__ */ it.createElement(gR, null),
13692  warning: /* @__PURE__ */ it.createElement(pR, null),
13693  error: /* @__PURE__ */ it.createElement(yR, null),
13694  info: /* @__PURE__ */ it.createElement(vR, null)
13695}, mo = {
13696  maxSnack: 3,
13697  persist: !1,
13698  hideIconVariant: !1,
13699  disableWindowBlurListener: !1,
13700  variant: "default",
13701  autoHideDuration: 5e3,
13702  iconVariant: bR,
13703  anchorOrigin: {
13704    vertical: "bottom",
13705    horizontal: "left"
13706  },
13707  TransitionComponent: hE,
13708  transitionDuration: {
13709    enter: 225,
13710    exit: 195
13711  }
13712}, SR = function(t, r) {
13713  var i = function(s) {
13714    return typeof s == "number" || s === null;
13715  };
13716  return i(t) ? t : i(r) ? r : mo.autoHideDuration;
13717}, $R = function(t, r) {
13718  var i = function(s, f) {
13719    return f.some(function(h) {
13720      return typeof s === h;
13721    });
13722  };
13723  return i(t, ["string", "number"]) ? t : i(t, ["object"]) ? nt({}, mo.transitionDuration, {}, i(r, ["object"]) && r, {}, t) : i(r, ["string", "number"]) ? r : i(r, ["object"]) ? nt({}, mo.transitionDuration, {}, r) : mo.transitionDuration;
13724}, ER = function(t, r) {
13725  return function(i, l) {
13726    return l === void 0 && (l = !1), l ? nt({}, mo[i], {}, r[i], {}, t[i]) : i === "autoHideDuration" ? SR(t.autoHideDuration, r.autoHideDuration) : i === "transitionDuration" ? $R(t.transitionDuration, r.transitionDuration) : t[i] || r[i] || mo[i];
13727  };
13728};
13729function Rc(e) {
13730  return Object.entries(e).reduce(function(t, r) {
13731    var i, l = r[0], s = r[1];
13732    return nt({}, t, (i = {}, i[l] = Sy(s), i));
13733  }, {});
13734}
13735var Wl = {
13736  SnackbarContainer: "notistack-SnackbarContainer",
13737  Snackbar: "notistack-Snackbar",
13738  CollapseWrapper: "notistack-CollapseWrapper",
13739  MuiContent: "notistack-MuiContent",
13740  MuiContentVariant: function(t) {
13741    return "notistack-MuiContent-" + t;
13742  }
13743}, R$ = /* @__PURE__ */ Rc({
13744  root: {
13745    height: 0
13746  },
13747  entered: {
13748    height: "auto"
13749  }
13750}), K1 = "0px", X1 = 175, mE = /* @__PURE__ */ _c(function(e, t) {
13751  var r = e.children, i = e.in, l = e.onExited, s = Kl(null), f = Kl(null), h = up(t, f), m = function() {
13752    return s.current ? s.current.clientHeight : 0;
13753  }, g = function(N) {
13754    N.style.height = K1;
13755  }, p = function(N) {
13756    var $ = m(), A = gh({
13757      timeout: X1,
13758      mode: "enter"
13759    }), D = A.duration, _ = A.easing;
13760    N.style.transitionDuration = typeof D == "string" ? D : D + "ms", N.style.height = $ + "px", N.style.transitionTimingFunction = _ || "";
13761  }, b = function(N) {
13762    N.style.height = "auto";
13763  }, S = function(N) {
13764    N.style.height = m() + "px";
13765  }, w = function(N) {
13766    fE(N);
13767    var $ = gh({
13768      timeout: X1,
13769      mode: "exit"
13770    }), A = $.duration, D = $.easing;
13771    N.style.transitionDuration = typeof A == "string" ? A : A + "ms", N.style.height = K1, N.style.transitionTimingFunction = D || "";
13772  };
13773  return Fs(Ey, {
13774    in: i,
13775    unmountOnExit: !0,
13776    onEnter: g,
13777    onEntered: b,
13778    onEntering: p,
13779    onExit: S,
13780    onExited: l,
13781    onExiting: w,
13782    nodeRef: f,
13783    timeout: X1
13784  }, function(T, N) {
13785    return Fs("div", Object.assign({
13786      ref: h,
13787      className: $o(R$.root, T === "entered" && R$.entered),
13788      style: nt({
13789        pointerEvents: "all",
13790        overflow: "hidden",
13791        minHeight: K1,
13792        transition: Il("height")
13793      }, T === "entered" && {
13794        overflow: "visible"
13795      }, {}, T === "exited" && !i && {
13796        visibility: "hidden"
13797      })
13798    }, N), Fs("div", {
13799      ref: s,
13800      className: Wl.CollapseWrapper,
13801      // Hack to get children with a negative margin to not falsify the height computation.
13802      style: {
13803        display: "flex",
13804        width: "100%"
13805      }
13806    }, r));
13807  });
13808});
13809mE.displayName = "Collapse";
13810var D$ = {
13811  right: "left",
13812  left: "right",
13813  bottom: "up",
13814  top: "down"
13815}, TR = function(t) {
13816  return t.horizontal !== "center" ? D$[t.horizontal] : D$[t.vertical];
13817}, CR = function(t) {
13818  return "anchorOrigin" + $y(t);
13819}, wR = function(t) {
13820  t === void 0 && (t = {});
13821  var r = {
13822    containerRoot: !0,
13823    containerAnchorOriginTopCenter: !0,
13824    containerAnchorOriginBottomCenter: !0,
13825    containerAnchorOriginTopRight: !0,
13826    containerAnchorOriginBottomRight: !0,
13827    containerAnchorOriginTopLeft: !0,
13828    containerAnchorOriginBottomLeft: !0
13829  };
13830  return Object.keys(t).filter(function(i) {
13831    return !r[i];
13832  }).reduce(function(i, l) {
13833    var s;
13834    return nt({}, i, (s = {}, s[l] = t[l], s));
13835  }, {});
13836}, OR = function() {
13837};
13838function Hs(e, t) {
13839  return e.reduce(function(r, i) {
13840    return i == null ? r : function() {
13841      for (var s = arguments.length, f = new Array(s), h = 0; h < s; h++)
13842        f[h] = arguments[h];
13843      var m = [].concat(f);
13844      t && m.indexOf(t) === -1 && m.push(t), r.apply(this, m), i.apply(this, m);
13845    };
13846  }, OR);
13847}
13848var NR = typeof window < "u" ? iR : Xl;
13849function M$(e) {
13850  var t = Kl(e);
13851  return NR(function() {
13852    t.current = e;
13853  }), Vh(function() {
13854    return (
13855      // @ts-expect-error hide `this`
13856      t.current.apply(void 0, arguments)
13857    );
13858  }, []);
13859}
13860var gE = /* @__PURE__ */ _c(function(e, t) {
13861  var r = e.children, i = e.className, l = e.autoHideDuration, s = e.disableWindowBlurListener, f = s === void 0 ? !1 : s, h = e.onClose, m = e.id, g = e.open, p = e.SnackbarProps, b = p === void 0 ? {} : p, S = Kl(), w = M$(function() {
13862    h && h.apply(void 0, arguments);
13863  }), T = M$(function(_) {
13864    !h || _ == null || (S.current && clearTimeout(S.current), S.current = setTimeout(function() {
13865      w(null, "timeout", m);
13866    }, _));
13867  });
13868  Xl(function() {
13869    return g && T(l), function() {
13870      S.current && clearTimeout(S.current);
13871    };
13872  }, [g, l, T]);
13873  var N = function() {
13874    S.current && clearTimeout(S.current);
13875  }, $ = Vh(function() {
13876    l != null && T(l * 0.5);
13877  }, [l, T]), A = function(x) {
13878    b.onMouseEnter && b.onMouseEnter(x), N();
13879  }, D = function(x) {
13880    b.onMouseLeave && b.onMouseLeave(x), $();
13881  };
13882  return Xl(function() {
13883    if (!f && g)
13884      return window.addEventListener("focus", $), window.addEventListener("blur", N), function() {
13885        window.removeEventListener("focus", $), window.removeEventListener("blur", N);
13886      };
13887  }, [f, $, g]), Fs("div", Object.assign({
13888    ref: t
13889  }, b, {
13890    className: $o(Wl.Snackbar, i),
13891    onMouseEnter: A,
13892    onMouseLeave: D
13893  }), r);
13894});
13895gE.displayName = "Snackbar";
13896var W1, AR = /* @__PURE__ */ Rc({
13897  root: (W1 = {
13898    display: "flex",
13899    flexWrap: "wrap",
13900    flexGrow: 1
13901  }, W1[ro.upSm] = {
13902    flexGrow: "initial",
13903    minWidth: "288px"
13904  }, W1)
13905}), pE = /* @__PURE__ */ _c(function(e, t) {
13906  var r = e.className, i = xc(e, ["className"]);
13907  return it.createElement("div", Object.assign({
13908    ref: t,
13909    className: $o(AR.root, r)
13910  }, i));
13911});
13912pE.displayName = "SnackbarContent";
13913var ps = /* @__PURE__ */ Rc({
13914  root: {
13915    backgroundColor: "#313131",
13916    fontSize: "0.875rem",
13917    lineHeight: 1.43,
13918    letterSpacing: "0.01071em",
13919    color: "#fff",
13920    alignItems: "center",
13921    padding: "6px 16px",
13922    borderRadius: "4px",
13923    boxShadow: "0px 3px 5px -1px rgba(0,0,0,0.2),0px 6px 10px 0px rgba(0,0,0,0.14),0px 1px 18px 0px rgba(0,0,0,0.12)"
13924  },
13925  lessPadding: {
13926    paddingLeft: 8 * 2.5 + "px"
13927  },
13928  default: {
13929    backgroundColor: "#313131"
13930  },
13931  success: {
13932    backgroundColor: "#43a047"
13933  },
13934  error: {
13935    backgroundColor: "#d32f2f"
13936  },
13937  warning: {
13938    backgroundColor: "#ff9800"
13939  },
13940  info: {
13941    backgroundColor: "#2196f3"
13942  },
13943  message: {
13944    display: "flex",
13945    alignItems: "center",
13946    padding: "8px 0"
13947  },
13948  action: {
13949    display: "flex",
13950    alignItems: "center",
13951    marginLeft: "auto",
13952    paddingLeft: "16px",
13953    marginRight: "-8px"
13954  }
13955}), I$ = "notistack-snackbar", yE = /* @__PURE__ */ _c(function(e, t) {
13956  var r = e.id, i = e.message, l = e.action, s = e.iconVariant, f = e.variant, h = e.hideIconVariant, m = e.style, g = e.className, p = s[f], b = l;
13957  return typeof b == "function" && (b = b(r)), it.createElement(pE, {
13958    ref: t,
13959    role: "alert",
13960    "aria-describedby": I$,
13961    style: m,
13962    className: $o(Wl.MuiContent, Wl.MuiContentVariant(f), ps.root, ps[f], g, !h && p && ps.lessPadding)
13963  }, it.createElement("div", {
13964    id: I$,
13965    className: ps.message
13966  }, h ? null : p, i), b && it.createElement("div", {
13967    className: ps.action
13968  }, b));
13969});
13970yE.displayName = "MaterialDesignContent";
13971var _R = /* @__PURE__ */ lE(yE), xR = /* @__PURE__ */ Rc({
13972  wrappedRoot: {
13973    width: "100%",
13974    position: "relative",
13975    transform: "translateX(0)",
13976    top: 0,
13977    right: 0,
13978    bottom: 0,
13979    left: 0,
13980    minWidth: "288px"
13981  }
13982}), RR = function(t) {
13983  var r = Kl(), i = oR(!0), l = i[0], s = i[1], f = Hs([t.snack.onClose, t.onClose]), h = function() {
13984    t.snack.requestClose && f(null, "instructed", t.snack.id);
13985  }, m = Vh(function() {
13986    r.current = setTimeout(function() {
13987      s(function(k) {
13988        return !k;
13989      });
13990    }, 125);
13991  }, []);
13992  Xl(function() {
13993    return function() {
13994      r.current && clearTimeout(r.current);
13995    };
13996  }, []);
13997  var g = t.snack, p = t.classes, b = t.Component, S = b === void 0 ? _R : b, w = oE(function() {
13998    return wR(p);
13999  }, [p]), T = g.open, N = g.SnackbarProps, $ = g.TransitionComponent, A = g.TransitionProps, D = g.transitionDuration, _ = g.disableWindowBlurListener, x = g.content, v = xc(g, ["open", "SnackbarProps", "TransitionComponent", "TransitionProps", "transitionDuration", "disableWindowBlurListener", "content", "entered", "requestClose", "onEnter", "onEntered", "onExit", "onExited"]), E = nt({
14000    direction: TR(v.anchorOrigin),
14001    timeout: D
14002  }, A), C = x;
14003  typeof C == "function" && (C = C(v.id, v.message));
14004  var L = ["onEnter", "onEntered", "onExit", "onExited"].reduce(function(k, I) {
14005    var M;
14006    return nt({}, k, (M = {}, M[I] = Hs([t.snack[I], t[I]], v.id), M));
14007  }, {});
14008  return it.createElement(mE, {
14009    in: l,
14010    onExited: L.onExited
14011  }, it.createElement(gE, {
14012    open: T,
14013    id: v.id,
14014    disableWindowBlurListener: _,
14015    autoHideDuration: v.autoHideDuration,
14016    className: $o(xR.wrappedRoot, w.root, w[CR(v.anchorOrigin)]),
14017    SnackbarProps: N,
14018    onClose: f
14019  }, it.createElement($, Object.assign({}, E, {
14020    appear: !0,
14021    in: T,
14022    onExit: L.onExit,
14023    onExited: m,
14024    onEnter: L.onEnter,
14025    // order matters. first callbacks.onEntered to set entered: true,
14026    // then handleEntered to check if there's a request for closing
14027    onEntered: Hs([L.onEntered, h], v.id)
14028  }), C || it.createElement(S, Object.assign({}, v)))));
14029}, ys, J1, Nd, Ad, eg, pa = {
14030  view: {
14031    default: 20
14032  },
14033  snackbar: {
14034    default: 6,
14035    dense: 2
14036  }
14037}, P$ = "." + Wl.CollapseWrapper, tg = 16, _d = /* @__PURE__ */ Rc({
14038  root: (ys = {
14039    boxSizing: "border-box",
14040    display: "flex",
14041    maxHeight: "100%",
14042    position: "fixed",
14043    zIndex: 1400,
14044    height: "auto",
14045    width: "auto",
14046    transition: /* @__PURE__ */ Il(["top", "right", "bottom", "left", "max-width"], {
14047      duration: 300,
14048      easing: "ease"
14049    }),
14050    // container itself is invisible and should not block clicks, clicks should be passed to its children
14051    // a pointerEvents: all is applied in the collapse component
14052    pointerEvents: "none"
14053  }, ys[P$] = {
14054    padding: pa.snackbar.default + "px 0px",
14055    transition: "padding 300ms ease 0ms"
14056  }, ys.maxWidth = "calc(100% - " + pa.view.default * 2 + "px)", ys[ro.downXs] = {
14057    width: "100%",
14058    maxWidth: "calc(100% - " + tg * 2 + "px)"
14059  }, ys),
14060  rootDense: (J1 = {}, J1[P$] = {
14061    padding: pa.snackbar.dense + "px 0px"
14062  }, J1),
14063  top: {
14064    top: pa.view.default - pa.snackbar.default + "px",
14065    flexDirection: "column"
14066  },
14067  bottom: {
14068    bottom: pa.view.default - pa.snackbar.default + "px",
14069    flexDirection: "column-reverse"
14070  },
14071  left: (Nd = {
14072    left: pa.view.default + "px"
14073  }, Nd[ro.upSm] = {
14074    alignItems: "flex-start"
14075  }, Nd[ro.downXs] = {
14076    left: tg + "px"
14077  }, Nd),
14078  right: (Ad = {
14079    right: pa.view.default + "px"
14080  }, Ad[ro.upSm] = {
14081    alignItems: "flex-end"
14082  }, Ad[ro.downXs] = {
14083    right: tg + "px"
14084  }, Ad),
14085  center: (eg = {
14086    left: "50%",
14087    transform: "translateX(-50%)"
14088  }, eg[ro.upSm] = {
14089    alignItems: "center"
14090  }, eg)
14091}), DR = function(t) {
14092  var r = t.classes, i = r === void 0 ? {} : r, l = t.anchorOrigin, s = t.dense, f = t.children, h = $o(
14093    Wl.SnackbarContainer,
14094    _d[l.vertical],
14095    _d[l.horizontal],
14096    _d.root,
14097    // root should come after others to override maxWidth
14098    i.containerRoot,
14099    i["containerAnchorOrigin" + $y(l)],
14100    s && _d.rootDense
14101  );
14102  return it.createElement("div", {
14103    className: h
14104  }, f);
14105}, MR = /* @__PURE__ */ lE(DR), k$ = function(t) {
14106  var r = typeof t == "string" || uR(t);
14107  return !r;
14108}, IR, PR = /* @__PURE__ */ (function(e) {
14109  sE(t, e);
14110  function t(i) {
14111    var l;
14112    return l = e.call(this, i) || this, l.enqueueSnackbar = function(s, f) {
14113      if (f === void 0 && (f = {}), s == null)
14114        throw new Error("enqueueSnackbar called with invalid argument");
14115      var h = k$(s) ? s : f, m = k$(s) ? s.message : s, g = h.key, p = h.preventDuplicate, b = xc(h, ["key", "preventDuplicate"]), S = Cd(g), w = S ? g : (/* @__PURE__ */ new Date()).getTime() + Math.random(), T = ER(b, l.props), N = nt({
14116        id: w
14117      }, b, {
14118        message: m,
14119        open: !0,
14120        entered: !1,
14121        requestClose: !1,
14122        persist: T("persist"),
14123        action: T("action"),
14124        content: T("content"),
14125        variant: T("variant"),
14126        anchorOrigin: T("anchorOrigin"),
14127        disableWindowBlurListener: T("disableWindowBlurListener"),
14128        autoHideDuration: T("autoHideDuration"),
14129        hideIconVariant: T("hideIconVariant"),
14130        TransitionComponent: T("TransitionComponent"),
14131        transitionDuration: T("transitionDuration"),
14132        TransitionProps: T("TransitionProps", !0),
14133        iconVariant: T("iconVariant", !0),
14134        style: T("style", !0),
14135        SnackbarProps: T("SnackbarProps", !0),
14136        className: $o(l.props.className, b.className)
14137      });
14138      return N.persist && (N.autoHideDuration = void 0), l.setState(function($) {
14139        if (p === void 0 && l.props.preventDuplicate || p) {
14140          var A = function(v) {
14141            return S ? v.id === w : v.message === m;
14142          }, D = $.queue.findIndex(A) > -1, _ = $.snacks.findIndex(A) > -1;
14143          if (D || _)
14144            return $;
14145        }
14146        return l.handleDisplaySnack(nt({}, $, {
14147          queue: [].concat($.queue, [N])
14148        }));
14149      }), w;
14150    }, l.handleDisplaySnack = function(s) {
14151      var f = s.snacks;
14152      return f.length >= l.maxSnack ? l.handleDismissOldest(s) : l.processQueue(s);
14153    }, l.processQueue = function(s) {
14154      var f = s.queue, h = s.snacks;
14155      return f.length > 0 ? nt({}, s, {
14156        snacks: [].concat(h, [f[0]]),
14157        queue: f.slice(1, f.length)
14158      }) : s;
14159    }, l.handleDismissOldest = function(s) {
14160      if (s.snacks.some(function(p) {
14161        return !p.open || p.requestClose;
14162      }))
14163        return s;
14164      var f = !1, h = !1, m = s.snacks.reduce(function(p, b) {
14165        return p + (b.open && b.persist ? 1 : 0);
14166      }, 0);
14167      m === l.maxSnack && (h = !0);
14168      var g = s.snacks.map(function(p) {
14169        return !f && (!p.persist || h) ? (f = !0, p.entered ? (p.onClose && p.onClose(null, "maxsnack", p.id), l.props.onClose && l.props.onClose(null, "maxsnack", p.id), nt({}, p, {
14170          open: !1
14171        })) : nt({}, p, {
14172          requestClose: !0
14173        })) : nt({}, p);
14174      });
14175      return nt({}, s, {
14176        snacks: g
14177      });
14178    }, l.handleEnteredSnack = function(s, f, h) {
14179      if (!Cd(h))
14180        throw new Error("handleEnteredSnack Cannot be called with undefined key");
14181      l.setState(function(m) {
14182        var g = m.snacks;
14183        return {
14184          snacks: g.map(function(p) {
14185            return p.id === h ? nt({}, p, {
14186              entered: !0
14187            }) : nt({}, p);
14188          })
14189        };
14190      });
14191    }, l.handleCloseSnack = function(s, f, h) {
14192      l.props.onClose && l.props.onClose(s, f, h);
14193      var m = h === void 0;
14194      l.setState(function(g) {
14195        var p = g.snacks, b = g.queue;
14196        return {
14197          snacks: p.map(function(S) {
14198            return !m && S.id !== h ? nt({}, S) : S.entered ? nt({}, S, {
14199              open: !1
14200            }) : nt({}, S, {
14201              requestClose: !0
14202            });
14203          }),
14204          queue: b.filter(function(S) {
14205            return S.id !== h;
14206          })
14207        };
14208      });
14209    }, l.closeSnackbar = function(s) {
14210      var f = l.state.snacks.find(function(h) {
14211        return h.id === s;
14212      });
14213      Cd(s) && f && f.onClose && f.onClose(null, "instructed", s), l.handleCloseSnack(null, "instructed", s);
14214    }, l.handleExitedSnack = function(s, f) {
14215      if (!Cd(f))
14216        throw new Error("handleExitedSnack Cannot be called with undefined key");
14217      l.setState(function(h) {
14218        var m = l.processQueue(nt({}, h, {
14219          snacks: h.snacks.filter(function(g) {
14220            return g.id !== f;
14221          })
14222        }));
14223        return m.queue.length === 0 ? m : l.handleDismissOldest(m);
14224      });
14225    }, IR = l.enqueueSnackbar, l.closeSnackbar, l.state = {
14226      snacks: [],
14227      queue: [],
14228      contextValue: {
14229        enqueueSnackbar: l.enqueueSnackbar.bind(w$(l)),
14230        closeSnackbar: l.closeSnackbar.bind(w$(l))
14231      }
14232    }, l;
14233  }
14234  var r = t.prototype;
14235  return r.render = function() {
14236    var l = this, s = this.state.contextValue, f = this.props, h = f.domRoot, m = f.children, g = f.dense, p = g === void 0 ? !1 : g, b = f.Components, S = b === void 0 ? {} : b, w = f.classes, T = this.state.snacks.reduce(function($, A) {
14237      var D, _ = $y(A.anchorOrigin), x = $[_] || [];
14238      return nt({}, $, (D = {}, D[_] = [].concat(x, [A]), D));
14239    }, {}), N = Object.keys(T).map(function($) {
14240      var A = T[$], D = A[0];
14241      return it.createElement(MR, {
14242        key: $,
14243        dense: p,
14244        anchorOrigin: D.anchorOrigin,
14245        classes: w
14246      }, A.map(function(_) {
14247        return it.createElement(RR, {
14248          key: _.id,
14249          snack: _,
14250          classes: w,
14251          Component: S[_.variant],
14252          onClose: l.handleCloseSnack,
14253          onEnter: l.props.onEnter,
14254          onExit: l.props.onExit,
14255          onExited: Hs([l.handleExitedSnack, l.props.onExited], _.id),
14256          onEntered: Hs([l.handleEnteredSnack, l.props.onEntered], _.id)
14257        });
14258      }));
14259    });
14260    return it.createElement(cE.Provider, {
14261      value: s
14262    }, m, h ? cR(N, h) : N);
14263  }, uE(t, [{
14264    key: "maxSnack",
14265    get: function() {
14266      return this.props.maxSnack || mo.maxSnack;
14267    }
14268  }]), t;
14269})(lR), kR = (function() {
14270  return sR(cE);
14271});
14272function L$(e, t) {
14273  (t == null || t > e.length) && (t = e.length);
14274  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
14275  return i;
14276}
14277function LR(e) {
14278  if (Array.isArray(e)) return e;
14279}
14280function zR(e, t) {
14281  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
14282  if (r != null) {
14283    var i, l, s, f, h = [], m = !0, g = !1;
14284    try {
14285      if (s = (r = r.call(e)).next, t !== 0) for (; !(m = (i = s.call(r)).done) && (h.push(i.value), h.length !== t); m = !0) ;
14286    } catch (p) {
14287      g = !0, l = p;
14288    } finally {
vendor: 8,732 bytes, lines 14289-14427
14289      try {
14290        if (!m && r.return != null && (f = r.return(), Object(f) !== f)) return;
14291      } finally {
14292        if (g) throw l;
14293      }
14294    }
14295    return h;
14296  }
14297}
14298function UR() {
14299  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
14300In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
14301}
14302function jR(e, t) {
14303  return LR(e) || zR(e, t) || FR(e, t) || UR();
14304}
14305function FR(e, t) {
14306  if (e) {
14307    if (typeof e == "string") return L$(e, t);
14308    var r = {}.toString.call(e).slice(8, -1);
14309    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? L$(e, t) : void 0;
14310  }
14311}
14312const vE = Object.entries, z$ = Object.setPrototypeOf, HR = Object.isFrozen, VR = Object.getPrototypeOf, BR = Object.getOwnPropertyDescriptor;
14313let Pt = Object.freeze, Vt = Object.seal, Rl = Object.create, bE = typeof Reflect < "u" && Reflect, cp = bE.apply, fp = bE.construct;
14314Pt || (Pt = function(t) {
14315  return t;
14316});
14317Vt || (Vt = function(t) {
14318  return t;
14319});
14320cp || (cp = function(t, r) {
14321  for (var i = arguments.length, l = new Array(i > 2 ? i - 2 : 0), s = 2; s < i; s++)
14322    l[s - 2] = arguments[s];
14323  return t.apply(r, l);
14324});
14325fp || (fp = function(t) {
14326  for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
14327    i[l - 1] = arguments[l];
14328  return new t(...i);
14329});
14330const ao = Rt(Array.prototype.forEach), qR = Rt(Array.prototype.lastIndexOf), U$ = Rt(Array.prototype.pop), vs = Rt(Array.prototype.push), GR = Rt(Array.prototype.splice), Hl = Array.isArray, ks = Rt(String.prototype.toLowerCase), ng = Rt(String.prototype.toString), j$ = Rt(String.prototype.match), bs = Rt(String.prototype.replace), F$ = Rt(String.prototype.indexOf), YR = Rt(String.prototype.trim), ZR = Rt(Number.prototype.toString), QR = Rt(Boolean.prototype.toString), H$ = typeof BigInt > "u" ? null : Rt(BigInt.prototype.toString), V$ = typeof Symbol > "u" ? null : Rt(Symbol.prototype.toString), An = Rt(Object.prototype.hasOwnProperty), Ss = Rt(Object.prototype.toString), sn = Rt(RegExp.prototype.test), to = KR(TypeError);
14331function Rt(e) {
14332  return function(t) {
14333    t instanceof RegExp && (t.lastIndex = 0);
14334    for (var r = arguments.length, i = new Array(r > 1 ? r - 1 : 0), l = 1; l < r; l++)
14335      i[l - 1] = arguments[l];
14336    return cp(e, t, i);
14337  };
14338}
14339function KR(e) {
14340  return function() {
14341    for (var t = arguments.length, r = new Array(t), i = 0; i < t; i++)
14342      r[i] = arguments[i];
14343    return fp(e, r);
14344  };
14345}
14346function je(e, t) {
14347  let r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : ks;
14348  if (z$ && z$(e, null), !Hl(t))
14349    return e;
14350  let i = t.length;
14351  for (; i--; ) {
14352    let l = t[i];
14353    if (typeof l == "string") {
14354      const s = r(l);
14355      s !== l && (HR(t) || (t[i] = s), l = s);
14356    }
14357    e[l] = !0;
14358  }
14359  return e;
14360}
14361function XR(e) {
14362  for (let t = 0; t < e.length; t++)
14363    An(e, t) || (e[t] = null);
14364  return e;
14365}
14366function Vn(e) {
14367  const t = Rl(null);
14368  for (const i of vE(e)) {
14369    var r = jR(i, 2);
14370    const l = r[0], s = r[1];
14371    An(e, l) && (Hl(s) ? t[l] = XR(s) : s && typeof s == "object" && s.constructor === Object ? t[l] = Vn(s) : t[l] = s);
14372  }
14373  return t;
14374}
14375function WR(e) {
14376  switch (typeof e) {
14377    case "string":
14378      return e;
14379    case "number":
14380      return ZR(e);
14381    case "boolean":
14382      return QR(e);
14383    case "bigint":
14384      return H$ ? H$(e) : "0";
14385    case "symbol":
14386      return V$ ? V$(e) : "Symbol()";
14387    case "undefined":
14388      return Ss(e);
14389    case "function":
14390    case "object": {
14391      if (e === null)
14392        return Ss(e);
14393      const t = e, r = sr(t, "toString");
14394      if (typeof r == "function") {
14395        const i = r(t);
14396        return typeof i == "string" ? i : Ss(i);
14397      }
14398      return Ss(e);
14399    }
14400    default:
14401      return Ss(e);
14402  }
14403}
14404function sr(e, t) {
14405  for (; e !== null; ) {
14406    const i = BR(e, t);
14407    if (i) {
14408      if (i.get)
14409        return Rt(i.get);
14410      if (typeof i.value == "function")
14411        return Rt(i.value);
14412    }
14413    e = VR(e);
14414  }
14415  function r() {
14416    return null;
14417  }
14418  return r;
14419}
14420function JR(e) {
14421  try {
14422    return sn(e, ""), !0;
14423  } catch {
14424    return !1;
14425  }
14426}
14427const B$ = Pt(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), rg = Pt(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), ag = Pt(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), eD = Pt(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ig = Pt(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), tD = Pt(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), q$ = Pt(["#text"]), G$ = Pt(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), og = Pt(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "dis
14427play", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Y$ = Pt(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), xd = Pt(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), nD = Vt(/{{[\w\W]*|^[\w\W]*}}/g), rD = Vt(/<%[\w\W]*|^[\w\W]*%>/g), aD = Vt(/\${[\w\W]*/g), iD = Vt(/^data-[\-\w.\u00B7-\uFFFF]+$/), oD = Vt(/^aria-[\-\w]+$/), Z$ = Vt(
14428  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
14429  // eslint-disable-line no-useless-escape
14430), lD = Vt(/^(?:\w+script|data):/i), uD = Vt(
14431  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
14432  // eslint-disable-line no-control-regex
14433), sD = Vt(/^html$/i), cD = Vt(/^[a-z][.\w]*(-[.\w]+)+$/i), Q$ = Vt(/<[/\w!]/g), K$ = Vt(/<[/\w]/g), fD = Vt(/<\/no(script|embed|frames)/i), dD = Vt(/\/>/i), Hn = {
14434  element: 1,
14435  attribute: 2,
14436  text: 3,
14437  cdataSection: 4,
14438  entityReference: 5,
14439  // Deprecated
14440  entityNode: 6,
14441  // Deprecated
14442  processingInstruction: 7,
14443  comment: 8,
14444  document: 9,
14445  documentType: 10,
14446  documentFragment: 11,
14447  notation: 12
14448  // Deprecated
14449}, SE = ["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"], hD = Pt(je({}, SE)), mD = (function() {
14450  const e = {};
14451  return ao(SE, (t) => {
14452    e[t] = Vt(new RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
14453  }), Pt(e);
14454})(), gD = function() {
14455  return typeof window > "u" ? null : window;
14456}, pD = function(t, r) {
14457  if (typeof t != "object" || typeof t.createPolicy != "function")
14458    return null;
14459  let i = null;
14460  const l = "data-tt-policy-suffix";
14461  r && r.hasAttribute(l) && (i = r.getAttribute(l));
14462  const s = "dompurify" + (i ? "#" + i : "");
14463  try {
14464    return t.createPolicy(s, {
vendor: 26,259 bytes, lines 14465-15108
14465      createHTML(f) {
14466        return f;
14467      },
14468      createScriptURL(f) {
14469        return f;
14470      }
14471    });
14472  } catch {
14473    return console.warn("TrustedTypes policy " + s + " could not be created."), null;
14474  }
14475}, X$ = function() {
14476  return {
14477    afterSanitizeAttributes: [],
14478    afterSanitizeElements: [],
14479    afterSanitizeShadowDOM: [],
14480    beforeSanitizeAttributes: [],
14481    beforeSanitizeElements: [],
14482    beforeSanitizeShadowDOM: [],
14483    uponSanitizeAttribute: [],
14484    uponSanitizeElement: [],
14485    uponSanitizeShadowNode: []
14486  };
14487}, si = function(t, r, i, l) {
14488  return An(t, r) && Hl(t[r]) ? je(l.base ? Vn(l.base) : {}, t[r], l.transform) : i;
14489}, lg = function(t, r, i) {
14490  const l = An(t, r) ? t[r] : void 0;
14491  return l && typeof l == "object" ? Vn(l) : i();
14492};
14493function $E() {
14494  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : gD();
14495  const t = (re) => $E(re);
14496  if (t.version = "3.4.15", t.removed = [], !e || !e.document || e.document.nodeType !== Hn.document || !e.Element)
14497    return t.isSupported = !1, t;
14498  let r = e.document;
14499  const i = r, l = i.currentScript;
14500  e.DocumentFragment;
14501  const s = e.HTMLTemplateElement, f = e.Node, h = e.Element, m = e.NodeFilter, g = e.NamedNodeMap;
14502  g === void 0 && (e.NamedNodeMap || e.MozNamedAttrMap), e.HTMLFormElement;
14503  const p = e.DOMParser, b = e.trustedTypes, S = h.prototype, w = sr(S, "cloneNode"), T = sr(S, "remove"), N = sr(S, "removeAttributeNode"), $ = sr(S, "nextSibling"), A = sr(S, "childNodes"), D = sr(S, "parentNode"), _ = sr(S, "shadowRoot"), x = sr(S, "attributes"), v = f && f.prototype ? sr(f.prototype, "nodeType") : null, E = f && f.prototype ? sr(f.prototype, "nodeName") : null, C = f && f.prototype ? sr(f.prototype, "ownerDocument") : null, L = function(R) {
14504    return v ? v(R) : R.nodeType;
14505  }, k = function(R) {
14506    return E ? E(R) : R.nodeName;
14507  };
14508  if (typeof s == "function") {
14509    const re = r.createElement("template");
14510    re.content && re.content.ownerDocument && (r = re.content.ownerDocument);
14511  }
14512  let I, M = "", U, G = !1, q = 0;
14513  const K = function() {
14514    if (q > 0)
14515      throw to('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.');
14516  }, Z = function(R) {
14517    K(), q++;
14518    try {
14519      return I.createHTML(R);
14520    } finally {
14521      q--;
14522    }
14523  }, ne = function(R) {
14524    K(), q++;
14525    try {
14526      return I.createScriptURL(R);
14527    } finally {
14528      q--;
14529    }
14530  }, X = function() {
14531    return G || (U = pD(b, l), G = !0), U;
14532  }, ee = r, ie = ee.implementation, de = ee.createNodeIterator, Ue = ee.createDocumentFragment, He = ee.getElementsByTagName, ve = i.importNode;
14533  let ge = X$();
14534  t.isSupported = typeof vE == "function" && typeof D == "function" && ie && ie.createHTMLDocument !== void 0;
14535  const Ye = nD, $e = rD, st = aD, we = iD, _e = oD, he = lD, Ee = uD, nn = cD;
14536  let rn = Z$, Re = null;
14537  const gt = je({}, [...B$, ...rg, ...ag, ...ig, ...q$]);
14538  let Se = null;
14539  const Le = je({}, [...G$, ...og, ...Y$, ...xd]);
14540  let ct = Object.seal(Rl(null, {
14541    tagNameCheck: {
14542      writable: !0,
14543      configurable: !1,
14544      enumerable: !0,
14545      value: null
14546    },
14547    attributeNameCheck: {
14548      writable: !0,
14549      configurable: !1,
14550      enumerable: !0,
14551      value: null
14552    },
14553    allowCustomizedBuiltInElements: {
14554      writable: !0,
14555      configurable: !1,
14556      enumerable: !0,
14557      value: !1
14558    }
14559  })), Rn = null, Sn = null;
14560  const hn = Object.seal(Rl(null, {
14561    tagCheck: {
14562      writable: !0,
14563      configurable: !1,
14564      enumerable: !0,
14565      value: null
14566    },
14567    attributeCheck: {
14568      writable: !0,
14569      configurable: !1,
14570      enumerable: !0,
14571      value: null
14572    }
14573  }));
14574  let Si = !0, _r = !0, To = !1, $i = !0, Kn = !1, xr = !0, an = !1, Ei = !1, Na = null, Co = null, wo = !1, Rr = !1, Aa = !1, _a = !1, Ic = !0, Pc = !1;
14575  const on = "user-content-";
14576  let su = !0, Oo = !1, Wr = {}, dr = null;
14577  const kc = je({}, [
14578    "annotation-xml",
14579    "audio",
14580    "colgroup",
14581    "desc",
14582    "foreignobject",
14583    "head",
14584    "iframe",
14585    "math",
14586    "mi",
14587    "mn",
14588    "mo",
14589    "ms",
14590    "mtext",
14591    "noembed",
14592    "noframes",
14593    "noscript",
14594    "plaintext",
14595    "script",
14596    // <selectedcontent> mirrors the selected <option>'s subtree, cloned by
14597    // the UA (customizable <select>) — including any on* handlers — and the
14598    // engine re-mirrors synchronously whenever a removal changes which
14599    // option/selectedcontent is current, even inside DOMPurify's inert
14600    // DOMParser document. Hoisting its children on removal re-inserts a fresh
14601    // mirror target ahead of the walk, which the engine refills, looping
14602    // forever (DoS) and amplifying output. Dropping its content on removal
14603    // (rather than hoisting) breaks that cascade; the content is a duplicate
14604    // of the option, which is sanitized on its own. See campaign-3 F1/F6.
14605    "selectedcontent",
14606    "style",
14607    "svg",
14608    "template",
14609    "thead",
14610    "title",
14611    "video",
14612    "xmp"
14613  ]);
14614  let cu = null;
14615  const Lc = je({}, ["audio", "video", "img", "source", "image", "track"]);
14616  let zc = null;
14617  const xa = je({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), zt = "http://www.w3.org/1998/Math/MathML", Dn = "http://www.w3.org/2000/svg", dt = "http://www.w3.org/1999/xhtml";
14618  let Ra = dt, fu = !1, du = null;
14619  const No = je({}, [zt, Dn, dt], ng), Ti = Pt(["mi", "mo", "mn", "ms", "mtext"]);
14620  let Da = je({}, Ti);
14621  const Dr = Pt(["annotation-xml"]);
14622  let Ma = je({}, Dr);
14623  const Ci = je({}, ["title", "style", "font", "a", "script"]);
14624  let Ia = null;
14625  const Wh = ["application/xhtml+xml", "text/html"], Uc = "text/html";
14626  let ft = null, Xn = null;
14627  const Jh = r.createElement("form"), hu = function(R) {
14628    return R instanceof RegExp || R instanceof Function;
14629  }, Ao = function() {
14630    let R = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
14631    if (Xn && Xn === R)
14632      return;
14633    (!R || typeof R != "object") && (R = {}), R = Vn(R), Ia = // eslint-disable-next-line unicorn/prefer-includes
14634    Wh.indexOf(R.PARSER_MEDIA_TYPE) === -1 ? Uc : R.PARSER_MEDIA_TYPE, ft = Ia === "application/xhtml+xml" ? ng : ks, Re = si(R, "ALLOWED_TAGS", gt, {
14635      transform: ft
14636    }), Se = si(R, "ALLOWED_ATTR", Le, {
14637      transform: ft
14638    }), du = si(R, "ALLOWED_NAMESPACES", No, {
14639      transform: ng
14640    }), zc = si(R, "ADD_URI_SAFE_ATTR", xa, {
14641      transform: ft,
14642      base: xa
14643    }), cu = si(R, "ADD_DATA_URI_TAGS", Lc, {
14644      transform: ft,
14645      base: Lc
14646    }), dr = si(R, "FORBID_CONTENTS", kc, {
14647      transform: ft
14648    }), Rn = si(R, "FORBID_TAGS", Vn({}), {
14649      transform: ft
14650    }), Sn = si(R, "FORBID_ATTR", Vn({}), {
14651      transform: ft
14652    }), Wr = An(R, "USE_PROFILES") ? R.USE_PROFILES && typeof R.USE_PROFILES == "object" ? Vn(R.USE_PROFILES) : R.USE_PROFILES : !1, Si = R.ALLOW_ARIA_ATTR !== !1, _r = R.ALLOW_DATA_ATTR !== !1, To = R.ALLOW_UNKNOWN_PROTOCOLS || !1, $i = R.ALLOW_SELF_CLOSE_IN_ATTR !== !1, Kn = R.SAFE_FOR_TEMPLATES || !1, xr = R.SAFE_FOR_XML !== !1, an = R.WHOLE_DOCUMENT || !1, Rr = R.RETURN_DOM || !1, Aa = R.RETURN_DOM_FRAGMENT || !1, _a = R.RETURN_TRUSTED_TYPE || !1, wo = R.FORCE_BODY || !1, Ic = R.SANITIZE_DOM !== !1, Pc = R.SANITIZE_NAMED_PROPS || !1, su = R.KEEP_CONTENT !== !1, Oo = R.IN_PLACE || !1, rn = JR(R.ALLOWED_URI_REGEXP) ? R.ALLOWED_URI_REGEXP : Z$, Ra = typeof R.NAMESPACE == "string" ? R.NAMESPACE : dt, Da = lg(
14653      R,
14654      "MATHML_TEXT_INTEGRATION_POINTS",
14655      () => je({}, Ti)
14656      // Default built-in map
14657    ), Ma = lg(
14658      R,
14659      "HTML_INTEGRATION_POINTS",
14660      () => je({}, Dr)
14661      // Default built-in map
14662    );
14663    const V = lg(R, "CUSTOM_ELEMENT_HANDLING", () => Rl(null));
14664    if (ct = Rl(null), An(V, "tagNameCheck") && hu(V.tagNameCheck) && (ct.tagNameCheck = V.tagNameCheck), An(V, "attributeNameCheck") && hu(V.attributeNameCheck) && (ct.attributeNameCheck = V.attributeNameCheck), An(V, "allowCustomizedBuiltInElements") && typeof V.allowCustomizedBuiltInElements == "boolean" && (ct.allowCustomizedBuiltInElements = V.allowCustomizedBuiltInElements), Vt(ct), Kn && (_r = !1), Aa && (Rr = !0), Wr && (Re = je({}, q$), Se = Rl(null), Wr.html === !0 && (je(Re, B$), je(Se, G$)), Wr.svg === !0 && (je(Re, rg), je(Se, og), je(Se, xd)), Wr.svgFilters === !0 && (je(Re, ag), je(Se, og), je(Se, xd)), Wr.mathMl === !0 && (je(Re, ig), je(Se, Y$), je(Se, xd))), hn.tagCheck = null, hn.attributeCheck = null, An(R, "ADD_TAGS") && (typeof R.ADD_TAGS == "function" ? hn.tagCheck = R.ADD_TAGS : Hl(R.ADD_TAGS) && (Re === gt && (Re = Vn(Re)), je(Re, R.ADD_TAGS, ft))), An(R, "ADD_ATTR") && (typeof R.ADD_ATTR == "function" ? hn.attributeCheck = R.ADD_ATTR : Hl(R.ADD_ATTR) && (Se === Le && (Se = Vn(Se)), je(Se, R.ADD_ATTR, ft))), An(R, "ADD_FORBID_CONTENTS") && Hl(R.ADD_FORBID_CONTENTS) && (dr === kc && (dr = Vn(dr)), je(dr, R.ADD_FORBID_CONTENTS, ft)), su && (Re["#text"] = !0), an && je(Re, ["html", "head", "body"]), Re.table && (je(Re, ["tbody"]), delete Rn.tbody), R.TRUSTED_TYPES_POLICY) {
14665      if (typeof R.TRUSTED_TYPES_POLICY.createHTML != "function")
14666        throw to('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
14667      if (typeof R.TRUSTED_TYPES_POLICY.createScriptURL != "function")
14668        throw to('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');
14669      const te = I;
14670      I = R.TRUSTED_TYPES_POLICY;
14671      try {
14672        M = Z("");
14673      } catch (ue) {
14674        throw I = te, ue;
14675      }
14676    } else R.TRUSTED_TYPES_POLICY === null ? (I = void 0, M = "") : (I === void 0 && (I = X()), I && typeof M == "string" && (M = Z("")));
14677    Pt && Pt(R), Xn = R;
14678  }, mu = je({}, [...rg, ...ag, ...eD]), _o = je({}, [...ig, ...tD]), gu = function(R, V, te) {
14679    return V.namespaceURI === dt ? R === "svg" : V.namespaceURI === zt ? R === "svg" && (te === "annotation-xml" || Da[te]) : !!mu[R];
14680  }, jc = function(R, V, te) {
14681    return V.namespaceURI === dt ? R === "math" : V.namespaceURI === Dn ? R === "math" && Ma[te] : !!_o[R];
14682  }, Fc = function(R, V, te) {
14683    return V.namespaceURI === Dn && !Ma[te] || V.namespaceURI === zt && !Da[te] ? !1 : !_o[R] && (Ci[R] || !mu[R]);
14684  }, hr = function(R) {
14685    let V = D(R);
14686    (!V || !V.tagName) && (V = {
14687      namespaceURI: Ra,
14688      tagName: "template"
14689    });
14690    const te = ks(R.tagName), ue = ks(V.tagName);
14691    return du[R.namespaceURI] ? R.namespaceURI === Dn ? gu(te, V, ue) : R.namespaceURI === zt ? jc(te, V, ue) : R.namespaceURI === dt ? Fc(te, V, ue) : !!(Ia === "application/xhtml+xml" && du[R.namespaceURI]) : !1;
14692  }, ot = function(R) {
14693    vs(t.removed, {
14694      element: R
14695    });
14696    try {
14697      D(R).removeChild(R);
14698    } catch {
14699      if (T(R), !D(R))
14700        throw to("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
14701    }
14702  }, Bt = function(R, V, te) {
14703    try {
14704      N(R, V);
14705    } catch {
14706      try {
14707        R.removeAttribute(te);
14708      } catch {
14709      }
14710    }
14711  }, mr = function(R) {
14712    xo(R);
14713    const V = A(R);
14714    if (V) {
14715      const ue = [];
14716      ao(V, (se) => {
14717        vs(ue, se);
14718      }), ao(ue, (se) => {
14719        try {
14720          T(se);
14721        } catch {
14722        }
14723      });
14724    }
14725    const te = x(R);
14726    if (te)
14727      for (let ue = te.length - 1; ue >= 0; --ue) {
14728        const se = te[ue], pe = se && se.name;
14729        typeof pe == "string" && Bt(R, se, pe);
14730      }
14731  }, Mr = function(R, V, te) {
14732    if (!te)
14733      try {
14734        te = V.getAttributeNode(R);
14735      } catch {
14736        te = null;
14737      }
14738    vs(t.removed, {
14739      attribute: te || null,
14740      from: V
14741    });
14742    try {
14743      te ? N(V, te) : V.removeAttribute(R);
14744    } catch {
14745      try {
14746        V.removeAttribute(R);
14747      } catch {
14748      }
14749    }
14750    if (R === "is")
14751      if (Rr || Aa)
14752        try {
14753          ot(V);
14754        } catch {
14755        }
14756      else
14757        try {
14758          V.setAttribute(R, "");
14759        } catch {
14760        }
14761  }, e0 = function(R) {
14762    const V = x(R);
14763    if (V)
14764      for (let te = V.length - 1; te >= 0; --te) {
14765        const ue = V[te], se = ue && ue.name;
14766        typeof se != "string" || Se[ft(se)] || Bt(R, ue, se);
14767      }
14768  }, xo = function(R) {
14769    const V = [R];
14770    for (; V.length > 0; ) {
14771      const te = V.pop();
14772      L(te) === Hn.element && e0(te);
14773      const se = A(te);
14774      if (se)
14775        for (let pe = se.length - 1; pe >= 0; --pe)
14776          V.push(se[pe]);
14777    }
14778  }, pu = function(R, V) {
14779    return xr ? R === "patchsrc" ? !0 : R === "for" && V !== "label" && V !== "output" : !1;
14780  }, wi = function(R) {
14781    if (!xr)
14782      return;
14783    const V = [R];
14784    for (; V.length > 0; ) {
14785      const te = V.pop(), ue = L(te);
14786      if (ue === Hn.processingInstruction || ue === Hn.comment && sn(K$, te.data)) {
14787        try {
14788          T(te);
14789        } catch {
14790        }
14791        continue;
14792      }
14793      if (ue === Hn.element) {
14794        const pe = te, Xe = ft(k(te));
14795        try {
14796          pe.hasAttribute && pe.hasAttribute("patchsrc") && pe.removeAttribute("patchsrc"), pe.hasAttribute && pe.hasAttribute("for") && pu("for", Xe) && pe.removeAttribute("for");
14797        } catch {
14798        }
14799      }
14800      const se = A(te);
14801      if (se)
14802        for (let pe = se.length - 1; pe >= 0; --pe)
14803          V.push(se[pe]);
14804    }
14805  }, Oi = function(R) {
14806    let V = null, te = null;
14807    if (wo)
14808      R = "<remove></remove>" + R;
14809    else {
14810      const pe = j$(R, /^[\r\n\t ]+/);
14811      te = pe && pe[0];
14812    }
14813    Ia === "application/xhtml+xml" && Ra === dt && (R = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + R + "</body></html>");
14814    const ue = I ? Z(R) : R;
14815    if (Ra === dt)
14816      try {
14817        V = new p().parseFromString(ue, Ia);
14818      } catch {
14819      }
14820    if (!V || !V.documentElement) {
14821      V = ie.createDocument(Ra, "template", null);
14822      try {
14823        V.documentElement.innerHTML = fu ? M : ue;
14824      } catch {
14825      }
14826    }
14827    const se = V.body || V.documentElement;
14828    return R && te && se.insertBefore(r.createTextNode(te), se.childNodes[0] || null), Ra === dt ? He.call(V, an ? "html" : "body")[0] : an ? V.documentElement : se;
14829  }, Ni = function(R) {
14830    const V = C ? C(R) : R.ownerDocument;
14831    return de.call(
14832      V || R,
14833      R,
14834      // eslint-disable-next-line no-bitwise
14835      m.SHOW_ELEMENT | m.SHOW_COMMENT | m.SHOW_TEXT | m.SHOW_PROCESSING_INSTRUCTION | m.SHOW_CDATA_SECTION,
14836      null
14837    );
14838  }, Wn = function(R) {
14839    return R = bs(R, Ye, " "), R = bs(R, $e, " "), R = bs(R, st, " "), R;
14840  }, Ir = function(R) {
14841    var V;
14842    R.normalize();
14843    const te = C ? C(R) : R.ownerDocument, ue = de.call(
14844      te || R,
14845      R,
14846      // eslint-disable-next-line no-bitwise
14847      m.SHOW_TEXT | m.SHOW_COMMENT | m.SHOW_CDATA_SECTION | m.SHOW_PROCESSING_INSTRUCTION,
14848      null
14849    );
14850    let se = ue.nextNode();
14851    for (; se; )
14852      se.data = Wn(se.data), se = ue.nextNode();
14853    const pe = (V = R.querySelectorAll) === null || V === void 0 ? void 0 : V.call(R, "template");
14854    pe && ao(pe, (Xe) => {
14855      Mn(Xe.content) && Ir(Xe.content);
14856    });
14857  }, Pr = function(R) {
14858    const V = E ? E(R) : null;
14859    return typeof V != "string" || ft(V) !== "form" ? !1 : typeof R.nodeName != "string" || typeof R.textContent != "string" || typeof R.removeChild != "function" || // Realm-safe NamedNodeMap detection: equality against the cached
14860    // prototype getter. Clobbered .attributes (e.g. <input name="attributes">)
14861    // makes the direct read diverge from the cached read; a clean form
14862    // (same-realm OR foreign-realm) has both reads pointing at the same
14863    // canonical NamedNodeMap.
14864    R.attributes !== x(R) || typeof R.removeAttribute != "function" || // A form descendant named "removeAttributeNode" or "getAttributeNode"
14865    // shadows these Attr-node methods via [LegacyOverrideBuiltIns].
14866    // _removeAttribute() / _stripAttributeNode() reach for
14867    // element.removeAttributeNode(attr) first; when it is shadowed the call
14868    // throws and the name-based fallback element.removeAttribute(name)
14869    // ASCII-lowercases its lookup key in an HTML document, silently missing
14870    // a case-preserved event-handler attribute (e.g. an ONANIMATIONSTART
14871    // that reached the sanitizer through an XML/XHTML parse). Flag the form
14872    // so it is removed wholesale, exactly as for the other shadowed methods.
14873    typeof R.removeAttributeNode != "function" || typeof R.getAttributeNode != "function" || typeof R.setAttribute != "function" || typeof R.namespaceURI != "string" || typeof R.insertBefore != "function" || typeof R.hasChildNodes != "function" || // NodeType clobbering probe. Cached Node.prototype.nodeType getter
14874    // returns the integer 1 for any Element regardless of realm; direct
14875    // read on a clobbered form (e.g. <input name="nodeType">) returns
14876    // the named child element. Cheap addition — nodeType is read from
14877    // an internal slot, no serialization cost — and removes a residual
14878    // clobbering surface used by several mXSS / PI / comment branches
14879    // in _sanitizeElements that compare currentNode.nodeType directly.
14880    R.nodeType !== v(R) || // HTMLFormElement has [LegacyOverrideBuiltIns]: a descendant named
14881    // "childNodes" shadows the prototype getter. Direct reads of
14882    // form.childNodes from a clobbered form return the named child
14883    // instead of the real NodeList, so any walk that reads it directly
14884    // skips the form's real children. Compare the direct read to the
14885    // cached Node.prototype getter — when the form's named-property
14886    // getter intercepts the read, the two values differ and we flag
14887    // the form. This catches every clobbering child type (input,
14888    // select, etc.) regardless of whether the named child happens to
14889    // carry a numeric .length, which a typeof-based probe would miss
14890    // (e.g. HTMLSelectElement.length is a defined unsigned-long).
14891    R.childNodes !== A(R);
14892  }, Mn = function(R) {
14893    if (!v || typeof R != "object" || R === null)
14894      return !1;
14895    try {
14896      return v(R) === Hn.documentFragment;
14897    } catch {
14898      return !1;
14899    }
14900  }, ht = function(R) {
14901    if (!v || typeof R != "object" || R === null)
14902      return !1;
14903    try {
14904      return typeof v(R) == "number";
14905    } catch {
14906      return !1;
14907    }
14908  };
14909  function In(re, R, V) {
14910    re.length !== 0 && ao(re, (te) => {
14911      te.call(t, R, V, Xn);
14912    });
14913  }
14914  const Hc = function(R, V) {
14915    return !!(xr && R.hasChildNodes() && !ht(R.firstElementChild) && sn(Q$, R.textContent) && sn(Q$, R.innerHTML) || xr && R.namespaceURI === dt && hD[V] && (ht(R.firstElementChild) || typeof R.textContent == "string" && sn(mD[V], R.textContent)) || R.nodeType === Hn.processingInstruction || xr && R.nodeType === Hn.comment && sn(K$, R.data));
14916  }, Ai = function(R, V) {
14917    if (R instanceof RegExp)
14918      return sn(R, V);
14919    if (R instanceof Function) {
14920      for (var te = arguments.length, ue = new Array(te > 2 ? te - 2 : 0), se = 2; se < te; se++)
14921        ue[se - 2] = arguments[se];
14922      return !!R(V, ...ue);
14923    }
14924    return !1;
14925  }, Jr = function(R, V, te) {
14926    if (!Rn[V] && ke(V) && Ai(ct.tagNameCheck, V))
14927      return !1;
14928    if (su && !dr[V]) {
14929      const ue = D(R), se = A(R);
14930      if (se && ue) {
14931        const pe = se.length;
14932        for (let Xe = pe - 1; Xe >= 0; --Xe) {
14933          const rt = R === te ? w(se[Xe], !0) : se[Xe];
14934          ue.insertBefore(rt, $(R));
14935        }
14936      }
14937    }
14938    return ot(R), !0;
14939  }, ea = function(R, V, te, ue) {
14940    return R.length === 0 ? V : V === te || V === ue ? Vn(V) : V;
14941  }, Vc = function(R, V) {
14942    return R === V || D(R) !== null ? !1 : (Oo && xo(R), !0);
14943  }, yu = function(R, V) {
14944    if (In(ge.beforeSanitizeElements, R, null), Vc(R, V))
14945      return !0;
14946    if (Pr(R))
14947      return ot(R), !0;
14948    const te = ft(k(R));
14949    if (Re = ea(ge.uponSanitizeElement, Re, gt, Na), In(ge.uponSanitizeElement, R, {
14950      tagName: te,
14951      allowedTags: Re
14952    }), Vc(R, V))
14953      return !0;
14954    if (Hc(R, te))
14955      return ot(R), !0;
14956    if (Rn[te] || !(hn.tagCheck instanceof Function && hn.tagCheck(te)) && !Re[te]) {
14957      const se = Jr(R, te, V);
14958      return se === !1 && In(ge.afterSanitizeElements, R, null), se;
14959    }
14960    if (L(R) === Hn.element && !hr(R) || (te === "noscript" || te === "noembed" || te === "noframes") && sn(fD, R.innerHTML))
14961      return ot(R), !0;
14962    if (Kn && R.nodeType === Hn.text) {
14963      const se = Wn(R.textContent);
14964      R.textContent !== se && (vs(t.removed, {
14965        element: R.cloneNode()
14966      }), R.textContent = se);
14967    }
14968    return In(ge.afterSanitizeElements, R, null), !1;
14969  }, vu = function(R, V, te) {
14970    if (Sn[V] || pu(V, R) || Ic && (V === "id" || V === "name") && (te in r || te in Jh))
14971      return !1;
14972    const ue = Se[V] || hn.attributeCheck instanceof Function && hn.attributeCheck(V, R);
14973    return _r && sn(we, V) || Si && sn(_e, V) ? !0 : ue ? zc[V] || sn(rn, bs(te, Ee, "")) || (V === "src" || V === "xlink:href" || V === "href") && R !== "script" && F$(te, "data:") === 0 && cu[R] || To && !sn(he, bs(te, Ee, "")) ? !0 : !te : (
14974      // Condition a) covers a basically valid custom element tag name whose
14975      // tag passes the configured tagNameCheck and whose attribute name
14976      // passes the configured attributeNameCheck ...
14977      ke(R) && Ai(ct.tagNameCheck, R) && Ai(ct.attributeNameCheck, V, R) || // Condition b) covers an `is` attribute whose value passes the
14978      // configured tagNameCheck while customized built-in elements are
14979      // allowed.
14980      V === "is" && ct.allowCustomizedBuiltInElements && Ai(ct.tagNameCheck, te)
14981    );
14982  }, t0 = je({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), ke = function(R) {
14983    return !t0[ks(R)] && sn(nn, R);
14984  }, Bc = function(R, V, te, ue) {
14985    if (I && typeof b == "object" && typeof b.getAttributeType == "function" && !te)
14986      switch (b.getAttributeType(R, V)) {
14987        case "TrustedHTML":
14988          return Z(ue);
14989        case "TrustedScriptURL":
14990          return ne(ue);
14991      }
14992    return ue;
14993  }, Ro = function(R, V, te, ue) {
14994    try {
14995      return te ? R.setAttributeNS(te, V, ue) : R.setAttribute(V, ue), Pr(R) ? (ot(R), !1) : !0;
14996    } catch {
14997      return Mr(V, R), !1;
14998    }
14999  }, _i = function(R) {
15000    In(ge.beforeSanitizeAttributes, R, null);
15001    const V = R.attributes;
15002    if (!V || Pr(R))
15003      return;
15004    Se = ea(ge.uponSanitizeAttribute, Se, Le, Co);
15005    const te = {
15006      attrName: "",
15007      attrValue: "",
15008      keepAttr: !0,
15009      allowedAttributes: Se,
15010      forceKeepAttr: void 0
15011    };
15012    let ue = V.length;
15013    const se = ft(R.nodeName);
15014    for (; ue--; ) {
15015      const pe = V[ue], Xe = pe.name, rt = pe.namespaceURI, Tt = pe.value, Gt = ft(Xe), Do = Tt;
15016      let yt = Xe === "value" ? Do : YR(Do), qc = !1;
15017      if (te.attrName = Gt, te.attrValue = yt, te.keepAttr = !0, te.forceKeepAttr = void 0, In(ge.uponSanitizeAttribute, R, te), yt = te.attrValue, Pc && (Gt === "id" || Gt === "name") && F$(yt, on) !== 0 && (Mr(Xe, R, pe), yt = on + yt, qc = !0), xr && sn(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, yt)) {
15018        Mr(Xe, R, pe);
15019        continue;
15020      }
15021      if (Gt === "attributename" && j$(yt, "href")) {
15022        Mr(Xe, R, pe);
15023        continue;
15024      }
15025      if (!te.forceKeepAttr) {
15026        if (!te.keepAttr) {
15027          Mr(Xe, R, pe);
15028          continue;
15029        }
15030        if (!$i && sn(dD, yt)) {
15031          Mr(Xe, R, pe);
15032          continue;
15033        }
15034        if (Kn && (yt = Wn(yt)), !vu(se, Gt, yt)) {
15035          Mr(Xe, R, pe);
15036          continue;
15037        }
15038        yt = Bc(se, Gt, rt, yt), yt !== Do && Ro(R, Xe, rt, yt) && qc && U$(t.removed);
15039      }
15040    }
15041    In(ge.afterSanitizeAttributes, R, null);
15042  }, $n = function(R) {
15043    let V = null;
15044    const te = Ni(R);
15045    for (In(ge.beforeSanitizeShadowDOM, R, null); V = te.nextNode(); )
15046      if (In(ge.uponSanitizeShadowNode, V, null), yu(V, R), _i(V), Mn(V.content) && $n(V.content), L(V) === Hn.element) {
15047        const ue = _(V);
15048        Mn(ue) && (qt(ue), $n(ue));
15049      }
15050    In(ge.afterSanitizeShadowDOM, R, null);
15051  }, qt = function(R) {
15052    const V = [{
15053      node: R,
15054      shadow: null
15055    }];
15056    for (; V.length > 0; ) {
15057      const te = V.pop();
15058      if (te.shadow) {
15059        $n(te.shadow);
15060        continue;
15061      }
15062      const ue = te.node, pe = L(ue) === Hn.element, Xe = A(ue);
15063      if (Xe)
15064        for (let rt = Xe.length - 1; rt >= 0; --rt)
15065          V.push({
15066            node: Xe[rt],
15067            shadow: null
15068          });
15069      if (pe) {
15070        const rt = E ? E(ue) : null;
15071        if (typeof rt == "string" && ft(rt) === "template") {
15072          const Tt = ue.content;
15073          Mn(Tt) && V.push({
15074            node: Tt,
15075            shadow: null
15076          });
15077        }
15078      }
15079      if (pe) {
15080        const rt = _(ue);
15081        Mn(rt) && V.push({
15082          node: null,
15083          shadow: rt
15084        }, {
15085          node: rt,
15086          shadow: null
15087        });
15088      }
15089    }
15090  };
15091  return t.sanitize = function(re) {
15092    let R = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, V = null, te = null, ue = null, se = null;
15093    if (fu = !re, fu && (re = "<!-->"), typeof re != "string" && !ht(re) && (re = WR(re), typeof re != "string"))
15094      throw to("dirty is not a string, aborting");
15095    if (!t.isSupported)
15096      return re;
15097    Ei ? (Re = Na, Se = Co) : Ao(R), (ge.uponSanitizeElement.length > 0 || ge.uponSanitizeAttribute.length > 0) && (Re = Vn(Re)), ge.uponSanitizeAttribute.length > 0 && (Se = Vn(Se)), t.removed = [];
15098    const pe = Oo && typeof re != "string" && ht(re);
15099    if (pe) {
15100      wi(re);
15101      const Tt = k(re);
15102      if (typeof Tt == "string") {
15103        const Gt = ft(Tt);
15104        if (!Re[Gt] || Rn[Gt])
15105          throw mr(re), to("root node is forbidden and cannot be sanitized in-place");
15106      }
15107      if (Pr(re))
15108        throw mr(re), to("root node is clobbered and cannot be sanitized in-place");
15109      try {
15110        qt(re);
15111      } catch (Gt) {
15112        throw mr(re), Gt;
15113      }
15114    } else if (ht(re))
15115      V = Oi("<!---->"), te = V.ownerDocument.importNode(re, !0), te.nodeType === Hn.element && te.nodeName === "BODY" || te.nodeName === "HTML" ? V = te : V.appendChild(te), qt(V);
15116    else {
15117      if (!Rr && !Kn && !an && // eslint-disable-next-line unicorn/prefer-includes
15118      re.indexOf("<") === -1)
15119        return I && _a ? Z(re) : re;
15120      if (V = Oi(re), !V)
15121        return Rr ? null : _a ? M : "";
15122    }
15123    V && wo && ot(V.firstChild);
15124    const Xe = pe ? re : V;
15125    try {
15126      const Tt = Ni(Xe);
15127      for (; ue = Tt.nextNode(); )
15128        yu(ue, Xe), _i(ue), Mn(ue.content) && $n(ue.content);
15129    } catch (Tt) {
15130      throw pe && (mr(re), ao(t.removed, (Gt) => {
15131        Gt.element && xo(Gt.element);
15132      })), Tt;
15133    }
15134    if (pe)
15135      return ao(t.removed, (Tt) => {
15136        Tt.element && xo(Tt.element);
15137      }), Kn && Ir(re), re;
15138    if (Rr) {
15139      if (Kn && Ir(V), Aa)
15140        for (se = Ue.call(V.ownerDocument); V.firstChild; )
15141          se.appendChild(V.firstChild);
15142      else
15143        se = V;
15144      return (Se.shadowroot || Se.shadowrootmode) && (se = ve.call(i, se, !0)), se;
15145    }
15146    let rt = an ? V.outerHTML : V.innerHTML;
15147    return an && Re["!doctype"] && V.ownerDocument && V.ownerDocument.doctype && V.ownerDocument.doctype.name && sn(sD, V.ownerDocument.doctype.name) && (rt = "<!DOCTYPE " + V.ownerDocument.doctype.name + `>
15148` + rt), Kn && (rt = Wn(rt)), I && _a ? Z(rt) : rt;
15149  }, t.setConfig = function() {
15150    let re = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
15151    Ao(re), Ei = !0, Na = Re, Co = Se;
15152  }, t.clearConfig = function() {
15153    Xn = null, Ei = !1, Na = null, Co = null, I = U, M = "";
15154  }, t.isValidAttribute = function(re, R, V) {
15155    Xn || Ao({});
15156    const te = ft(re), ue = ft(R);
15157    return vu(te, ue, V);
15158  }, t.addHook = function(re, R) {
15159    typeof R == "function" && An(ge, re) && vs(ge[re], R);
15160  }, t.removeHook = function(re, R) {
15161    if (An(ge, re)) {
15162      if (R !== void 0) {
15163        const V = qR(ge[re], R);
15164        return V === -1 ? void 0 : GR(ge[re], V, 1)[0];
15165      }
15166      return U$(ge[re]);
15167    }
15168  }, t.removeHooks = function(re) {
15169    An(ge, re) && (ge[re] = []);
15170  }, t.removeAllHooks = function() {
15171    ge = X$();
15172  }, t;
15173}
15174var yD = $E(), $s = {}, wl = {}, Rd = {}, ci = {}, no = {}, ug = {}, W$;
15175function EE() {
15176  return W$ || (W$ = 1, (function(e) {
15177    Object.defineProperty(e, "__esModule", { value: !0 }), e.Doctype = e.CDATA = e.Tag = e.Style = e.Script = e.Comment = e.Directive = e.Text = e.Root = e.isTag = e.ElementType = void 0;
15178    var t;
15179    (function(i) {
15180      i.Root = "root", i.Text = "text", i.Directive = "directive", i.Comment = "comment", i.Script = "script", i.Style = "style", i.Tag = "tag", i.CDATA = "cdata", i.Doctype = "doctype";
15181    })(t = e.ElementType || (e.ElementType = {}));
15182    function r(i) {
15183      return i.type === t.Tag || i.type === t.Script || i.type === t.Style;
15184    }
15185    e.isTag = r, e.Root = t.Root, e.Text = t.Text, e.Directive = t.Directive, e.Comment = t.Comment, e.Script = t.Script, e.Style = t.Style, e.Tag = t.Tag, e.CDATA = t.CDATA, e.Doctype = t.Doctype;
15186  })(ug)), ug;
15187}
15188var Ae = {}, J$;
15189function e4() {
15190  if (J$) return Ae;
15191  J$ = 1;
15192  var e = Ae && Ae.__extends || /* @__PURE__ */ (function() {
15193    var v = function(E, C) {
15194      return v = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(L, k) {
15195        L.__proto__ = k;
15196      } || function(L, k) {
15197        for (var I in k) Object.prototype.hasOwnProperty.call(k, I) && (L[I] = k[I]);
15198      }, v(E, C);
15199    };
15200    return function(E, C) {
15201      if (typeof C != "function" && C !== null)
15202        throw new TypeError("Class extends value " + String(C) + " is not a constructor or null");
15203      v(E, C);
15204      function L() {
15205        this.constructor = E;
15206      }
15207      E.prototype = C === null ? Object.create(C) : (L.prototype = C.prototype, new L());
15208    };
15209  })(), t = Ae && Ae.__assign || function() {
15210    return t = Object.assign || function(v) {
15211      for (var E, C = 1, L = arguments.length; C < L; C++) {
15212        E = arguments[C];
15213        for (var k in E) Object.prototype.hasOwnProperty.call(E, k) && (v[k] = E[k]);
15214      }
15215      return v;
15216    }, t.apply(this, arguments);
15217  };
15218  Object.defineProperty(Ae, "__esModule", { value: !0 }), Ae.cloneNode = Ae.hasChildren = Ae.isDocument = Ae.isDirective = Ae.isComment = Ae.isText = Ae.isCDATA = Ae.isTag = Ae.Element = Ae.Document = Ae.CDATA = Ae.NodeWithChildren = Ae.ProcessingInstruction = Ae.Comment = Ae.Text = Ae.DataNode = Ae.Node = void 0;
15219  var r = /* @__PURE__ */ EE(), i = (
15220    /** @class */
15221    (function() {
15222      function v() {
15223        this.parent = null, this.prev = null, this.next = null, this.startIndex = null, this.endIndex = null;
15224      }
15225      return Object.defineProperty(v.prototype, "parentNode", {
15226        // Read-write aliases for properties
15227        /**
15228         * Same as {@link parent}.
15229         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15230         */
15231        get: function() {
15232          return this.parent;
15233        },
15234        set: function(E) {
15235          this.parent = E;
15236        },
15237        enumerable: !1,
15238        configurable: !0
15239      }), Object.defineProperty(v.prototype, "previousSibling", {
15240        /**
15241         * Same as {@link prev}.
15242         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15243         */
15244        get: function() {
15245          return this.prev;
15246        },
15247        set: function(E) {
15248          this.prev = E;
15249        },
15250        enumerable: !1,
15251        configurable: !0
15252      }), Object.defineProperty(v.prototype, "nextSibling", {
15253        /**
15254         * Same as {@link next}.
15255         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15256         */
15257        get: function() {
15258          return this.next;
15259        },
15260        set: function(E) {
15261          this.next = E;
15262        },
15263        enumerable: !1,
15264        configurable: !0
15265      }), v.prototype.cloneNode = function(E) {
15266        return E === void 0 && (E = !1), _(this, E);
15267      }, v;
15268    })()
15269  );
15270  Ae.Node = i;
15271  var l = (
15272    /** @class */
15273    (function(v) {
15274      e(E, v);
15275      function E(C) {
15276        var L = v.call(this) || this;
15277        return L.data = C, L;
15278      }
15279      return Object.defineProperty(E.prototype, "nodeValue", {
15280        /**
15281         * Same as {@link data}.
15282         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15283         */
15284        get: function() {
15285          return this.data;
15286        },
15287        set: function(C) {
15288          this.data = C;
15289        },
15290        enumerable: !1,
15291        configurable: !0
15292      }), E;
15293    })(i)
15294  );
15295  Ae.DataNode = l;
15296  var s = (
15297    /** @class */
15298    (function(v) {
15299      e(E, v);
15300      function E() {
15301        var C = v !== null && v.apply(this, arguments) || this;
15302        return C.type = r.ElementType.Text, C;
15303      }
15304      return Object.defineProperty(E.prototype, "nodeType", {
15305        get: function() {
15306          return 3;
15307        },
15308        enumerable: !1,
15309        configurable: !0
15310      }), E;
15311    })(l)
15312  );
15313  Ae.Text = s;
15314  var f = (
15315    /** @class */
15316    (function(v) {
15317      e(E, v);
15318      function E() {
15319        var C = v !== null && v.apply(this, arguments) || this;
15320        return C.type = r.ElementType.Comment, C;
15321      }
15322      return Object.defineProperty(E.prototype, "nodeType", {
15323        get: function() {
15324          return 8;
15325        },
15326        enumerable: !1,
15327        configurable: !0
15328      }), E;
15329    })(l)
15330  );
15331  Ae.Comment = f;
vendor: 9,196 bytes, lines 15332-15604
15332  var h = (
15333    /** @class */
15334    (function(v) {
15335      e(E, v);
15336      function E(C, L) {
15337        var k = v.call(this, L) || this;
15338        return k.name = C, k.type = r.ElementType.Directive, k;
15339      }
15340      return Object.defineProperty(E.prototype, "nodeType", {
15341        get: function() {
15342          return 1;
15343        },
15344        enumerable: !1,
15345        configurable: !0
15346      }), E;
15347    })(l)
15348  );
15349  Ae.ProcessingInstruction = h;
15350  var m = (
15351    /** @class */
15352    (function(v) {
15353      e(E, v);
15354      function E(C) {
15355        var L = v.call(this) || this;
15356        return L.children = C, L;
15357      }
15358      return Object.defineProperty(E.prototype, "firstChild", {
15359        // Aliases
15360        /** First child of the node. */
15361        get: function() {
15362          var C;
15363          return (C = this.children[0]) !== null && C !== void 0 ? C : null;
15364        },
15365        enumerable: !1,
15366        configurable: !0
15367      }), Object.defineProperty(E.prototype, "lastChild", {
15368        /** Last child of the node. */
15369        get: function() {
15370          return this.children.length > 0 ? this.children[this.children.length - 1] : null;
15371        },
15372        enumerable: !1,
15373        configurable: !0
15374      }), Object.defineProperty(E.prototype, "childNodes", {
15375        /**
15376         * Same as {@link children}.
15377         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15378         */
15379        get: function() {
15380          return this.children;
15381        },
15382        set: function(C) {
15383          this.children = C;
15384        },
15385        enumerable: !1,
15386        configurable: !0
15387      }), E;
15388    })(i)
15389  );
15390  Ae.NodeWithChildren = m;
15391  var g = (
15392    /** @class */
15393    (function(v) {
15394      e(E, v);
15395      function E() {
15396        var C = v !== null && v.apply(this, arguments) || this;
15397        return C.type = r.ElementType.CDATA, C;
15398      }
15399      return Object.defineProperty(E.prototype, "nodeType", {
15400        get: function() {
15401          return 4;
15402        },
15403        enumerable: !1,
15404        configurable: !0
15405      }), E;
15406    })(m)
15407  );
15408  Ae.CDATA = g;
15409  var p = (
15410    /** @class */
15411    (function(v) {
15412      e(E, v);
15413      function E() {
15414        var C = v !== null && v.apply(this, arguments) || this;
15415        return C.type = r.ElementType.Root, C;
15416      }
15417      return Object.defineProperty(E.prototype, "nodeType", {
15418        get: function() {
15419          return 9;
15420        },
15421        enumerable: !1,
15422        configurable: !0
15423      }), E;
15424    })(m)
15425  );
15426  Ae.Document = p;
15427  var b = (
15428    /** @class */
15429    (function(v) {
15430      e(E, v);
15431      function E(C, L, k, I) {
15432        k === void 0 && (k = []), I === void 0 && (I = C === "script" ? r.ElementType.Script : C === "style" ? r.ElementType.Style : r.ElementType.Tag);
15433        var M = v.call(this, k) || this;
15434        return M.name = C, M.attribs = L, M.type = I, M;
15435      }
15436      return Object.defineProperty(E.prototype, "nodeType", {
15437        get: function() {
15438          return 1;
15439        },
15440        enumerable: !1,
15441        configurable: !0
15442      }), Object.defineProperty(E.prototype, "tagName", {
15443        // DOM Level 1 aliases
15444        /**
15445         * Same as {@link name}.
15446         * [DOM spec](https://dom.spec.whatwg.org)-compatible alias.
15447         */
15448        get: function() {
15449          return this.name;
15450        },
15451        set: function(C) {
15452          this.name = C;
15453        },
15454        enumerable: !1,
15455        configurable: !0
15456      }), Object.defineProperty(E.prototype, "attributes", {
15457        get: function() {
15458          var C = this;
15459          return Object.keys(this.attribs).map(function(L) {
15460            var k, I;
15461            return {
15462              name: L,
15463              value: C.attribs[L],
15464              namespace: (k = C["x-attribsNamespace"]) === null || k === void 0 ? void 0 : k[L],
15465              prefix: (I = C["x-attribsPrefix"]) === null || I === void 0 ? void 0 : I[L]
15466            };
15467          });
15468        },
15469        enumerable: !1,
15470        configurable: !0
15471      }), E;
15472    })(m)
15473  );
15474  Ae.Element = b;
15475  function S(v) {
15476    return (0, r.isTag)(v);
15477  }
15478  Ae.isTag = S;
15479  function w(v) {
15480    return v.type === r.ElementType.CDATA;
15481  }
15482  Ae.isCDATA = w;
15483  function T(v) {
15484    return v.type === r.ElementType.Text;
15485  }
15486  Ae.isText = T;
15487  function N(v) {
15488    return v.type === r.ElementType.Comment;
15489  }
15490  Ae.isComment = N;
15491  function $(v) {
15492    return v.type === r.ElementType.Directive;
15493  }
15494  Ae.isDirective = $;
15495  function A(v) {
15496    return v.type === r.ElementType.Root;
15497  }
15498  Ae.isDocument = A;
15499  function D(v) {
15500    return Object.prototype.hasOwnProperty.call(v, "children");
15501  }
15502  Ae.hasChildren = D;
15503  function _(v, E) {
15504    E === void 0 && (E = !1);
15505    var C;
15506    if (T(v))
15507      C = new s(v.data);
15508    else if (N(v))
15509      C = new f(v.data);
15510    else if (S(v)) {
15511      var L = E ? x(v.children) : [], k = new b(v.name, t({}, v.attribs), L);
15512      L.forEach(function(G) {
15513        return G.parent = k;
15514      }), v.namespace != null && (k.namespace = v.namespace), v["x-attribsNamespace"] && (k["x-attribsNamespace"] = t({}, v["x-attribsNamespace"])), v["x-attribsPrefix"] && (k["x-attribsPrefix"] = t({}, v["x-attribsPrefix"])), C = k;
15515    } else if (w(v)) {
15516      var L = E ? x(v.children) : [], I = new g(L);
15517      L.forEach(function(q) {
15518        return q.parent = I;
15519      }), C = I;
15520    } else if (A(v)) {
15521      var L = E ? x(v.children) : [], M = new p(L);
15522      L.forEach(function(q) {
15523        return q.parent = M;
15524      }), v["x-mode"] && (M["x-mode"] = v["x-mode"]), C = M;
15525    } else if ($(v)) {
15526      var U = new h(v.name, v.data);
15527      v["x-name"] != null && (U["x-name"] = v["x-name"], U["x-publicId"] = v["x-publicId"], U["x-systemId"] = v["x-systemId"]), C = U;
15528    } else
15529      throw new Error("Not implemented yet: ".concat(v.type));
15530    return C.startIndex = v.startIndex, C.endIndex = v.endIndex, v.sourceCodeLocation != null && (C.sourceCodeLocation = v.sourceCodeLocation), C;
15531  }
15532  Ae.cloneNode = _;
15533  function x(v) {
15534    for (var E = v.map(function(L) {
15535      return _(L, !0);
15536    }), C = 1; C < E.length; C++)
15537      E[C].prev = E[C - 1], E[C - 1].next = E[C];
15538    return E;
15539  }
15540  return Ae;
15541}
15542var t4;
15543function TE() {
15544  return t4 || (t4 = 1, (function(e) {
15545    var t = no && no.__createBinding || (Object.create ? (function(h, m, g, p) {
15546      p === void 0 && (p = g);
15547      var b = Object.getOwnPropertyDescriptor(m, g);
15548      (!b || ("get" in b ? !m.__esModule : b.writable || b.configurable)) && (b = { enumerable: !0, get: function() {
15549        return m[g];
15550      } }), Object.defineProperty(h, p, b);
15551    }) : (function(h, m, g, p) {
15552      p === void 0 && (p = g), h[p] = m[g];
15553    })), r = no && no.__exportStar || function(h, m) {
15554      for (var g in h) g !== "default" && !Object.prototype.hasOwnProperty.call(m, g) && t(m, h, g);
15555    };
15556    Object.defineProperty(e, "__esModule", { value: !0 }), e.DomHandler = void 0;
15557    var i = /* @__PURE__ */ EE(), l = /* @__PURE__ */ e4();
15558    r(/* @__PURE__ */ e4(), e);
15559    var s = {
15560      withStartIndices: !1,
15561      withEndIndices: !1,
15562      xmlMode: !1
15563    }, f = (
15564      /** @class */
15565      (function() {
15566        function h(m, g, p) {
15567          this.dom = [], this.root = new l.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null, typeof g == "function" && (p = g, g = s), typeof m == "object" && (g = m, m = void 0), this.callback = m ?? null, this.options = g ?? s, this.elementCB = p ?? null;
15568        }
15569        return h.prototype.onparserinit = function(m) {
15570          this.parser = m;
15571        }, h.prototype.onreset = function() {
15572          this.dom = [], this.root = new l.Document(this.dom), this.done = !1, this.tagStack = [this.root], this.lastNode = null, this.parser = null;
15573        }, h.prototype.onend = function() {
15574          this.done || (this.done = !0, this.parser = null, this.handleCallback(null));
15575        }, h.prototype.onerror = function(m) {
15576          this.handleCallback(m);
15577        }, h.prototype.onclosetag = function() {
15578          this.lastNode = null;
15579          var m = this.tagStack.pop();
15580          this.options.withEndIndices && (m.endIndex = this.parser.endIndex), this.elementCB && this.elementCB(m);
15581        }, h.prototype.onopentag = function(m, g) {
15582          var p = this.options.xmlMode ? i.ElementType.Tag : void 0, b = new l.Element(m, g, void 0, p);
15583          this.addNode(b), this.tagStack.push(b);
15584        }, h.prototype.ontext = function(m) {
15585          var g = this.lastNode;
15586          if (g && g.type === i.ElementType.Text)
15587            g.data += m, this.options.withEndIndices && (g.endIndex = this.parser.endIndex);
15588          else {
15589            var p = new l.Text(m);
15590            this.addNode(p), this.lastNode = p;
15591          }
15592        }, h.prototype.oncomment = function(m) {
15593          if (this.lastNode && this.lastNode.type === i.ElementType.Comment) {
15594            this.lastNode.data += m;
15595            return;
15596          }
15597          var g = new l.Comment(m);
15598          this.addNode(g), this.lastNode = g;
15599        }, h.prototype.oncommentend = function() {
15600          this.lastNode = null;
15601        }, h.prototype.oncdatastart = function() {
15602          var m = new l.Text(""), g = new l.CDATA([m]);
15603          this.addNode(g), m.parent = g, this.lastNode = m;
15604        }
15604, h.prototype.oncdataend = function() {
15605          this.lastNode = null;
15606        }, h.prototype.onprocessinginstruction = function(m, g) {
15607          var p = new l.ProcessingInstruction(m, g);
15608          this.addNode(p);
15609        }, h.prototype.handleCallback = function(m) {
15610          if (typeof this.callback == "function")
15611            this.callback(m, this.dom);
15612          else if (m)
15613            throw m;
15614        }, h.prototype.addNode = function(m) {
15615          var g = this.tagStack[this.tagStack.length - 1], p = g.children[g.children.length - 1];
15616          this.options.withStartIndices && (m.startIndex = this.parser.startIndex), this.options.withEndIndices && (m.endIndex = this.parser.endIndex), g.children.push(m), p && (m.prev = p, p.next = m), m.parent = g, this.lastNode = null;
15617        }, h;
15618      })()
15619    );
15620    e.DomHandler = f, e.default = f;
15621  })(no)), no;
15622}
15623var sg = {}, n4;
15624function vD() {
15625  return n4 || (n4 = 1, (function(e) {
15626    Object.defineProperty(e, "__esModule", { value: !0 }), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = e.CARRIAGE_RETURN_PLACEHOLDER = e.CARRIAGE_RETURN_REGEX = e.CARRIAGE_RETURN = e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES = void 0, e.CASE_SENSITIVE_TAG_NAMES = [
15627      "animateMotion",
15628      "animateTransform",
15629      "clipPath",
15630      "feBlend",
15631      "feColorMatrix",
15632      "feComponentTransfer",
15633      "feComposite",
15634      "feConvolveMatrix",
15635      "feDiffuseLighting",
15636      "feDisplacementMap",
15637      "feDropShadow",
15638      "feFlood",
15639      "feFuncA",
15640      "feFuncB",
15641      "feFuncG",
15642      "feFuncR",
15643      "feGaussianBlur",
15644      "feImage",
15645      "feMerge",
15646      "feMergeNode",
15647      "feMorphology",
15648      "feOffset",
15649      "fePointLight",
15650      "feSpecularLighting",
15651      "feSpotLight",
15652      "feTile",
15653      "feTurbulence",
15654      "foreignObject",
15655      "linearGradient",
15656      "radialGradient",
15657      "textPath"
15658    ], e.CASE_SENSITIVE_TAG_NAMES_MAP = e.CASE_SENSITIVE_TAG_NAMES.reduce(function(t, r) {
15659      return t[r.toLowerCase()] = r, t;
15660    }, {}), e.CARRIAGE_RETURN = "\r", e.CARRIAGE_RETURN_REGEX = new RegExp(e.CARRIAGE_RETURN, "g"), e.CARRIAGE_RETURN_PLACEHOLDER = "__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now().toString(), "__"), e.CARRIAGE_RETURN_PLACEHOLDER_REGEX = new RegExp(e.CARRIAGE_RETURN_PLACEHOLDER, "g");
15661  })(sg)), sg;
15662}
15663var r4;
15664function CE() {
15665  if (r4) return ci;
15666  r4 = 1, Object.defineProperty(ci, "__esModule", { value: !0 }), ci.formatAttributes = i, ci.hasOpenTag = s, ci.escapeSpecialCharacters = f, ci.revertEscapedCharacters = h, ci.formatDOM = m;
15667  var e = /* @__PURE__ */ TE(), t = vD();
15668  function r(g) {
15669    return t.CASE_SENSITIVE_TAG_NAMES_MAP[g];
15670  }
15671  function i(g) {
15672    for (var p = {}, b = 0, S = g.length; b < S; b++) {
15673      var w = g[b];
15674      p[w.name] = w.value;
15675    }
15676    return p;
15677  }
15678  function l(g) {
15679    g = g.toLowerCase();
15680    var p = r(g);
15681    return p || g;
15682  }
15683  function s(g, p) {
15684    var b = "<" + p, S = g.toLowerCase().indexOf(b);
15685    if (S === -1)
15686      return !1;
15687    var w = g[S + b.length];
15688    return w === ">" || w === " " || w === "	" || w === `
15689` || w === "\r" || w === "/";
15690  }
15691  function f(g) {
15692    return g.replace(t.CARRIAGE_RETURN_REGEX, t.CARRIAGE_RETURN_PLACEHOLDER);
15693  }
15694  function h(g) {
15695    return g.replace(t.CARRIAGE_RETURN_PLACEHOLDER_REGEX, t.CARRIAGE_RETURN);
15696  }
15697  function m(g, p, b) {
15698    var S, w, T, N;
15699    p === void 0 && (p = null);
15700    for (var $ = [], A, D = 0, _ = g.length; D < _; D++) {
15701      var x = g[D];
15702      switch (x.nodeType) {
15703        case 1: {
15704          var v = l(x.nodeName);
15705          A = new e.Element(v, i(x.attributes)), A.children = m(
15706            // template children are on content
15707            v === "template" ? x.content.childNodes : x.childNodes,
15708            A
15709          );
15710          break;
15711        }
15712        case 3:
15713          A = new e.Text(h((S = x.nodeValue) !== null && S !== void 0 ? S : ""));
15714          break;
15715        case 8:
15716          A = new e.Comment((w = x.nodeValue) !== null && w !== void 0 ? w : "");
15717          break;
15718        default:
15719          continue;
15720      }
15721      var E = (T = $[D - 1]) !== null && T !== void 0 ? T : null;
15722      E && (E.next = A), A.parent = p, A.prev = E, A.next = null, $.pu
15722sh(A);
15723    }
15724    return b && (A = new e.ProcessingInstruction(b.substring(0, b.indexOf(" ")).toLowerCase(), b), A.next = (N = $[0]) !== null && N !== void 0 ? N : null, A.parent = p, $.unshift(A), $[1] && ($[1].prev = $[0])), $;
15725  }
15726  return ci;
15727}
15728var a4;
15729function bD() {
15730  if (a4) return Rd;
15731  a4 = 1, Object.defineProperty(Rd, "__esModule", { value: !0 }), Rd.default = T;
15732  var e = CE(), t = "html", r = "head", i = "body", l = /<([a-zA-Z]+[0-9]?)/, s = function(N, $) {
15733    throw new Error("This browser does not support `document.implementation.createHTMLDocument`");
15734  }, f = function(N, $) {
15735    throw new Error("This browser does not support `DOMParser.prototype.parseFromString`");
15736  }, h = typeof window == "object" && window.DOMParser;
15737  if (typeof h == "function") {
15738    var m = new h(), g = "text/html";
15739    f = function(N, $) {
15740      return $ && (N = "<".concat($, ">").concat(N, "</").concat($, ">")), m.parseFromString(N, g);
15741    }, s = f;
15742  }
15743  if (typeof document == "object" && document.implementation) {
15744    var p = document.implementation.createHTMLDocument();
15745    s = function(N, $) {
15746      if ($) {
15747        var A = p.documentElement.querySelector($);
15748        return A && (A.innerHTML = N), p;
15749      }
15750      return p.documentElement.innerHTML = N, p;
15751    };
15752  }
15753  var b = typeof document == "object" && document.createElement("template"), S;
15754  b && b.content && (S = function(N) {
15755    return b.innerHTML = N, b.content.childNodes;
15756  });
15757  var w = (
15758    /* istanbul ignore next */
15759    function() {
15760      return document.createDocumentFragment().childNodes;
15761    }
15762  );
15763  function T(N) {
15764    var $, A, D, _, x, v;
15765    N = (0, e.escapeSpecialCharacters)(N);
15766    var E = l.exec(N), C = ($ = E?.[1]) === null || $ === void 0 ? void 0 : $.toLowerCase();
15767    switch (C) {
15768      case t: {
15769        var L = f(N);
15770        if (!(0, e.hasOpenTag)(N, r)) {
15771          var k = L.querySelector(r);
15772          (A = k?.parentNode) === null || A === void 0 || A.removeChild(k);
15773        }
15774        if (!(0, e.hasOpenTag)(N, i)) {
15775          var k = L.querySelector(i);
15776          (D = k?.parentNode) === null || D === void 0 || D.removeChild(k);
15777        }
15778        return L.querySelectorAll(t);
15779      }
15780      case r:
15781      case i: {
15782        var I = s(N).querySelectorAll(C);
15783        return (0, e.hasOpenTag)(N, i) && (0, e.hasOpenTag)(N, r) ? (x = (_ = I[0].parentNode) === null || _ === void 0 ? void 0 : _.childNodes) !== null && x !== void 0 ? x : w() : I;
15784      }
15785      // low-level tag or text
15786      default: {
15787        if (S)
15788          return S(N);
15789        var k = s(N, i).querySelector(i);
15790        return (v = k?.childNodes) !== null && v !== void 0 ? v : w();
15791      }
15792    }
15793  }
15794  return Rd;
15795}
15796var i4;
15797function SD() {
15798  if (i4) return wl;
15799  i4 = 1;
15800  var e = wl && wl.__importDefault || function(s) {
15801    return s && s.__esModule ? s : { default: s };
15802  };
15803  Object.defineProperty(wl, "__esModule", { value: !0 }), wl.default = l;
15804  var t = e(bD()), r = CE(), i = /<(![a-zA-Z\s]+)>/;
15805  function l(s) {
15806    if (typeof s != "string")
15807      throw new TypeError("First argument must be a string");
15808    if (!s)
15809      return [];
15810    var f = i.exec(s), h = f ? f[1] : void 0;
15811    return (0, r.formatDOM)((0, t.default)(s), null, h);
15812  }
15813  return wl;
15814}
15815var Dd = {}, ur = {}, Es = {}, o4;
15816function $D() {
15817  if (o4) return Es;
15818  o4 = 1;
15819  var e = 0;
15820  Es.SAME = e;
15821  var t = 1;
15822  return Es.CAMELCASE = t, Es.possibleStandardNames = {
15823    accept: 0,
15824    acceptCharset: 1,
15825    "accept-charset": "acceptCharset",
15826    accessKey: 1,
15827    action: 0,
15828    allowFullScreen: 1,
15829    alt: 0,
15830    as: 0,
15831    async: 0,
15832    autoCapitalize: 1,
15833    autoComplete: 1,
15834    autoCorrect: 1,
15835    autoFocus: 1,
15836    autoPlay: 1,
15837    autoSave: 1,
15838    capture: 0,
15839    cellPadding: 1,
15840    cellSpacing: 1,
15841    challenge: 0,
15842    charSet: 1,
15843    checked: 0,
15844    children: 0,
15845    cite: 0,
15846    class: "className",
15847    classID: 1,
15848    className: 1,
15849    cols: 0,
15850    colSpan: 1,
15851    content: 0,
15852    contentEditable: 1,
15853    contextMenu: 1,
15854    controls: 0,
15855    controlsList: 1,
15856    coords: 0,
15857    crossOrigin: 1,
15858    dangerouslySetInnerHTML: 1,
15859    data: 0,
15860    dateTime: 1,
15861    default: 0,
15862    defaultChecked: 1,
15863    defaultValue: 1,
15864    defer: 0,
15865    dir: 0,
15866    disabled: 0,
15867    disablePictureInPicture: 1,
15868    disableRemotePlayback: 1,
15869    download: 0,
15870    draggable: 0,
15871    encType: 1,
15872    enterKeyHint: 1,
15873    for: "htmlFor",
15874    form: 0,
15875    formMethod: 1,
15876    formAction: 1,
15877    formEncType: 1,
15878    formNoValidate: 1,
15879    formTarget: 1,
15880    frameBorder: 1,
15881    headers: 0,
15882    height: 0,
15883    hidden: 0,
15884    high: 0,
15885    href: 0,
15886    hrefLang: 1,
15887    htmlFor: 1,
15888    httpEquiv: 1,
15889    "http-equiv": "httpEquiv",
15890    icon: 0,
15891    id: 0,
15892    innerHTML: 1,
15893    inputMode: 1,
15894    integrity: 0,
15895    is: 0,
15896    itemID: 1,
15897    itemProp: 1,
15898    itemRef: 1,
15899    itemScope: 1,
15900    itemType: 1,
15901    keyParams: 1,
15902    keyType: 1,
15903    kind: 0,
15904    label: 0,
15905    lang: 0,
15906    list: 0,
15907    loop: 0,
15908    low: 0,
15909    manifest: 0,
15910    marginWidth: 1,
15911    marginHeight: 1,
15912    max: 0,
15913    maxLength: 1,
15914    media: 0,
15915    mediaGroup: 1,
15916    method: 0,
15917    min: 0,
15918    minLength: 1,
15919    multiple: 0,
15920    muted: 0,
15921    name: 0,
15922    noModule: 1,
15923    nonce: 0,
15924    noValidate: 1,
15925    open: 0,
15926    optimum: 0,
15927    pattern: 0,
15928    placeholder: 0,
15929    playsInline: 1,
15930    poster: 0,
15931    preload: 0,
15932    profile: 0,
15933    radioGroup: 1,
15934    readOnly: 1,
15935    referrerPolicy: 1,
15936    rel: 0,
15937    required: 0,
15938    reversed: 0,
15939    role: 0,
15940    rows: 0,
15941    rowSpan: 1,
15942    sandbox: 0,
15943    scope: 0,
15944    scoped: 0,
15945    scrolling: 0,
15946    seamless: 0,
15947    selected: 0,
15948    shape: 0,
15949    size: 0,
15950    sizes: 0,
15951    span: 0,
15952    spellCheck: 1,
15953    src: 0,
15954    srcDoc: 1,
15955    srcLang: 1,
15956    srcSet: 1,
15957    start: 0,
15958    step: 0,
15959    style: 0,
15960    summary: 0,
15961    tabIndex: 1,
15962    target: 0,
15963    title: 0,
15964    type: 0,
15965    useMap: 1,
15966    value: 0,
15967    width: 0,
15968    wmode: 0,
15969    wrap: 0,
15970    about: 0,
15971    accentHeight: 1,
15972    "accent-height": "accentHeight",
15973    accumulate: 0,
15974    additive: 0,
15975    alignmentBaseline: 1,
15976    "alignment-baseline": "alignmentBaseline",
15977    allowReorder: 1,
15978    alphabetic: 0,
15979    amplitude: 0,
15980    arabicForm: 1,
15981    "arabic-form": "arabicForm",
15982    ascent: 0,
15983    attributeName: 1,
15984    attributeType: 1,
15985    autoReverse: 1,
15986    azimuth: 0,
15987    baseFrequency: 1,
15988    baselineShift: 1,
15989    "baseline-shift": "baselineShift",
15990    baseProfile: 1,
15991    bbox: 0,
15992    begin: 0,
15993    bias: 0,
15994    by: 0,
15995    calcMode: 1,
15996    capHeight: 1,
15997    "cap-height": "capHeight",
15998    clip: 0,
15999    clipPath: 1,
16000    "clip-path": "clipPath",
16001    clipPathUnits: 1,
16002    clipRule: 1,
16003    "clip-rule": "clipRule",
16004    color: 0,
16005    colorInterpolation: 1,
16006    "color-interpolation": "colorInterpolation",
16007    colorInterpolationFilters: 1,
16008    "color-interpolation-filters": "colorInterpolationFilters",
16009    colorProfile: 1,
16010    "color-profile": "colorProfile",
16011    colorRendering: 1,
16012    "color-rendering": "colorRendering",
16013    contentScriptType: 1,
16014    contentStyleType: 1,
16015    cursor: 0,
16016    cx: 0,
16017    cy: 0,
16018    d: 0,
16019    datatype: 0,
16020    decelerate: 0,
16021    descent: 0,
16022    diffuseConstant: 1,
16023    direction: 0,
16024    display: 0,
16025    divisor: 0,
16026    dominantBaseline: 1,
16027    "dominant-baseline": "dominantBaseline",
16028    dur: 0,
16029    dx: 0,
16030    dy: 0,
16031    edgeMode: 1,
16032    elevation: 0,
16033    enableBackground: 1,
16034    "enable-background": "enableBackground",
16035    end: 0,
16036    exponent: 0,
16037    externalResourcesRequired: 1,
16038    fill: 0,
16039    fillOpacity: 1,
16040    "fill-opacity": "fillOpacity",
16041    fillRule: 1,
16042    "fill-rule": "fillRule",
16043    filter: 0,
16044    filterRes: 1,
16045    filterUnits: 1,
16046    floodOpacity: 1,
16047    "flood-opacity": "floodOpacity",
16048    floodColor: 1,
16049    "flood-color": "floodColor",
16050    focusable: 0,
16051    fontFamily: 1,
16052    "font-family": "fontFamily",
16053    fontSize: 1,
16054    "font-size": "fontSize",
16055    fontSizeAdjust: 1,
16056    "font-size-adjust": "fontSizeAdjust",
16057    fontStretch: 1,
16058    "font-stretch": "fontStretch",
16059    fontStyle: 1,
16060    "font-style": "fontStyle",
16061    fontVariant: 1,
16062    "font-variant": "fontVariant",
16063    fontWeight: 1,
16064    "font-weight": "fontWeight",
16065    format: 0,
16066    from: 0,
16067    fx: 0,
16068    fy: 0,
16069    g1: 0,
16070    g2: 0,
16071    glyphName: 1,
16072    "glyph-name": "glyphName",
16073    glyphOrientationHorizontal: 1,
16074    "glyph-orientation-horizontal": "glyphOrientationHorizontal",
16075    glyphOrientationVertical: 1,
16076    "glyph-orientation-vertical": "glyphOrientationVertical",
16077    glyphRef: 1,
16078    gradientTransform: 1,
16079    gradientUnits: 1,
16080    hanging: 0,
16081    horizAdvX: 1,
16082    "horiz-adv-x": "horizAdvX",
16083    horizOriginX: 1,
16084    "horiz-origin-x": "horizOriginX",
16085    ideographic: 0,
16086    imageRendering: 1,
16087    "image-rendering": "imageRendering",
16088    in2: 0,
16089    in: 0,
16090    inlist: 0,
16091    intercept: 0,
16092    k1: 0,
16093    k2: 0,
16094    k3: 0,
16095    k4: 0,
16096    k: 0,
16097    kernelMatrix: 1,
16098    kernelUnitLength: 1,
16099    kerning: 0,
16100    keyPoints: 1,
16101    keySplines: 1,
16102    keyTimes: 1,
16103    lengthAdjust: 1,
16104    letterSpacing: 1,
16105    "letter-spacing": "letterSpacing",
16106    lightingColor: 1,
16107    "lighting-color": "lightingColor",
16108    limitingConeAngle: 1,
16109    local: 0,
16110    markerEnd: 1,
16111    "marker-end": "markerEnd",
16112    markerHeight: 1,
16113    markerMid: 1,
16114    "marker-mid": "markerMid",
16115    markerStart: 1,
16116    "marker-start": "markerStart",
16117    markerUnits: 1,
16118    markerWidth: 1,
16119    mask: 0,
16120    maskContentUnits: 1,
16121    maskUnits: 1,
16122    mathematical: 0,
16123    mode: 0,
16124    numOctaves: 1,
16125    offset: 0,
16126    opacity: 0,
16127    operator: 0,
16128    order: 0,
16129    orient: 0,
16130    orientation: 0,
16131    origin: 0,
16132    overflow: 0,
16133    overlinePosition: 1,
16134    "overline-position": "overlinePosition",
16135    overlineThickness: 1,
16136    "overline-thickness": "overlineThickness",
16137    paintOrder: 1,
16138    "paint-order": "paintOrder",
16139    panose1: 0,
16140    "panose-1": "panose1",
16141    pathLength: 1,
16142    patternContentUnits: 1,
16143    patternTransform: 1,
16144    patternUnits: 1,
16145    pointerEvents: 1,
16146    "pointer-events": "pointerEvents",
16147    points: 0,
16148    pointsAtX: 1,
16149    pointsAtY: 1,
16150    pointsAtZ: 1,
16151    prefix: 0,
16152    preserveAlpha: 1,
16153    preserveAspectRatio: 1,
16154    primitiveUnits: 1,
16155    property: 0,
16156    r: 0,
16157    radius: 0,
16158    refX: 1,
16159    refY: 1,
16160    renderingIntent: 1,
16161    "rendering-intent": "renderingIntent",
16162    repeatCount: 1,
16163    repeatDur: 1,
16164    requiredExtensions: 1,
16165    requiredFeatures: 1,
16166    resource: 0,
16167    restart: 0,
16168    result: 0,
16169    results: 0,
16170    rotate: 0,
16171    rx: 0,
16172    ry: 0,
16173    scale: 0,
16174    security: 0,
16175    seed: 0,
16176    shapeRendering: 1,
16177    "shape-rendering": "shapeRendering",
16178    slope: 0,
16179    spacing: 0,
16180    specularConstant: 1,
16181    specularExponent: 1,
16182    speed: 0,
16183    spreadMethod: 1,
16184    startOffset: 1,
16185    stdDeviation: 1,
16186    stemh: 0,
16187    stemv: 0,
16188    stitchTiles: 1,
16189    stopColor: 1,
16190    "stop-color": "stopColor",
16191    stopOpacity: 1,
16192    "stop-opacity": "stopOpacity",
16193    strikethroughPosition: 1,
16194    "strikethrough-position": "strikethroughPosition",
16195    strikethroughThickness: 1,
16196    "strikethrough-thickness": "strikethroughThickness",
16197    string: 0,
16198    stroke: 0,
16199    strokeDasharray: 1,
16200    "stroke-dasharray": "strokeDasharray",
16201    strokeDashoffset: 1,
16202    "stroke-dashoffset": "strokeDashoffset",
16203    strokeLinecap: 1,
16204    "stroke-linecap": "strokeLinecap",
16205    strokeLinejoin: 1,
16206    "stroke-linejoin": "strokeLinejoin",
16207    strokeMiterlimit: 1,
16208    "stroke-miterlimit": "strokeMiterlimit",
16209    strokeWidth: 1,
16210    "stroke-width": "strokeWidth",
16211    strokeOpacity: 1,
16212    "stroke-opacity": "strokeOpacity",
16213    suppressContentEditableWarning: 1,
16214    suppressHydrationWarning: 1,
16215    surfaceScale: 1,
16216    systemLanguage: 1,
16217    tableValues: 1,
16218    targetX: 1,
16219    targetY: 1,
16220    textAnchor: 1,
16221    "text-anchor": "textAnchor",
16222    textDecoration: 1,
16223    "text-decoration": "textDecoration",
16224    textLength: 1,
16225    textRendering: 1,
16226    "text-rendering": "textRendering",
16227    to: 0,
16228    transform: 0,
16229    typeof: 0,
16230    u1: 0,
16231    u2: 0,
16232    underlinePosition: 1,
16233    "underline-position": "underlinePosition",
16234    underlineThickness: 1,
16235    "underline-thickness": "underlineThickness",
16236    unicode: 0,
16237    unicodeBidi: 1,
16238    "unicode-bidi": "unicodeBidi",
16239    unicodeRange: 1,
16240    "unicode-range": "unicodeRange",
16241    unitsPerEm: 1,
16242    "units-per-em": "unitsPerEm",
16243    unselectable: 0,
16244    vAlphabetic: 1,
16245    "v-alphabetic": "vAlphabetic",
16246    values: 0,
16247    vectorEffect: 1,
16248    "vector-effect": "vectorEffect",
16249    version: 0,
16250    vertAdvY: 1,
16251    "vert-adv-y": "vertAdvY",
16252    vertOriginX: 1,
16253    "vert-origin-x": "vertOriginX",
16254    vertOriginY: 1,
16255    "vert-origin-y": "vertOriginY",
16256    vHanging: 1,
16257    "v-hanging": "vHanging",
16258    vIdeographic: 1,
16259    "v-ideographic": "vIdeographic",
16260    viewBox: 1,
16261    viewTarget: 1,
16262    visibility: 0,
16263    vMathematical: 1,
16264    "v-mathematical": "vMathematical",
16265    vocab: 0,
16266    widths: 0,
16267    wordSpacing: 1,
16268    "word-spacing": "wordSpacing",
16269    writingMode: 1,
16270    "writing-mode": "writingMode",
16271    x1: 0,
16272    x2: 0,
16273    x: 0,
16274    xChannelSelector: 1,
16275    xHeight: 1,
16276    "x-height": "xHeight",
16277    xlinkActuate: 1,
16278    "xlink:actuate": "xlinkActuate",
16279    xlinkArcrole: 1,
16280    "xlink:arcrole": "xlinkArcrole",
16281    xlinkHref: 1,
16282    "xlink:href": "xlinkHref",
16283    xlinkRole: 1,
16284    "xlink:role": "xlinkRole",
16285    xlinkShow: 1,
16286    "xlink:show": "xlinkShow",
16287    xlinkTitle: 1,
16288    "xlink:title": "xlinkTitle",
16289    xlinkType: 1,
16290    "xlink:type": "xlinkType",
16291    xmlBase: 1,
16292    "xml:base": "xmlBase",
16293    xmlLang: 1,
16294    "xml:lang": "xmlLang",
16295    xmlns: 0,
16296    "xml:space": "xmlSpace",
16297    xmlnsXlink: 1,
16298    "xmlns:xlink": "xmlnsXlink",
16299    xmlSpace: 1,
16300    y1: 0,
16301    y2: 0,
16302    y: 0,
16303    yChannelSelector: 1,
16304    z: 0,
16305    zoomAndPan: 1
16306  }, Es;
16307}
16308var l4;
16309function ED() {
16310  if (l4) return ur;
16311  l4 = 1;
16312  const e = 0, t = 1, r = 2, i = 3, l = 4, s = 5, f = 6;
16313  function h(v) {
16314    return g.hasOwnProperty(v) ? g[v] : null;
16315  }
16316  function m(v, E, C, L, k, I, M) {
16317    this.acceptsBooleans = E === r || E === i || E === l, this.attributeName = L, this.attributeNamespace = k, this.mustUseProperty = C, this.propertyName = v, this.type = E, this.sanitizeURL = I, this.removeEmptyString = M;
16318  }
16319  const g = {};
16320  [
16321    "children",
16322    "dangerouslySetInnerHTML",
16323    // TODO: This prevents the assignment of defaultValue to regular
16324    // elements (not just inputs). Now that ReactDOMInput assigns to the
16325    // defaultValue property -- do we need this?
16326    "defaultValue",
16327    "defaultChecked",
16328    "innerHTML",
16329    "suppressContentEditableWarning",
16330    "suppressHydrationWarning",
16331    "style"
16332  ].forEach((v) => {
16333    g[v] = new m(
16334      v,
16335      e,
16336      !1,
16337      // mustUseProperty
16338      v,
16339      // attributeName
16340      null,
16341      // attributeNamespace
16342      !1,
16343      // sanitizeURL
16344      !1
16345      // removeEmptyString
16346    );
16347  }), [
16348    ["acceptCharset", "accept-charset"],
16349    ["className", "class"],
16350    ["htmlFor", "for"],
16351    ["httpEquiv", "http-equiv"]
16352  ].forEach(([v, E]) => {
16353    g[v] = new m(
16354      v,
16355      t,
16356      !1,
16357      // mustUseProperty
16358      E,
16359      // attributeName
16360      null,
16361      // attributeNamespace
16362      !1,
16363      // sanitizeURL
16364      !1
16365      // removeEmptyString
16366    );
16367  }), ["contentEditable", "draggable", "spellCheck", "value"].forEach((v) => {
16368    g[v] = new m(
16369      v,
16370      r,
16371      !1,
16372      // mustUseProperty
16373      v.toLowerCase(),
16374      // attributeName
16375      null,
16376      // attributeNamespace
16377      !1,
16378      // sanitizeURL
16379      !1
16380      // removeEmptyString
16381    );
16382  }), [
16383    "autoReverse",
16384    "externalResourcesRequired",
16385    "focusable",
16386    "preserveAlpha"
16387  ].forEach((v) => {
16388    g[v] = new m(
16389      v,
16390      r,
16391      !1,
16392      // mustUseProperty
16393      v,
16394      // attributeName
16395      null,
16396      // attributeNamespace
16397      !1,
16398      // sanitizeURL
16399      !1
16400      // removeEmptyString
16401    );
16402  }), [
16403    "allowFullScreen",
16404    "async",
16405    // Note: there is a special case that prevents it from being written to the DOM
16406    // on the client side because the browsers are inconsistent. Instead we call focus().
16407    "autoFocus",
16408    "autoPlay",
16409    "controls",
16410    "default",
16411    "defer",
16412    "disabled",
16413    "disablePictureInPicture",
16414    "disableRemotePlayback",
16415    "formNoValidate",
16416    "hidden",
16417    "loop",
16418    "noModule",
16419    "noValidate",
16420    "open",
16421    "playsInline",
16422    "readOnly",
16423    "required",
16424    "reversed",
16425    "scoped",
16426    "seamless",
16427    // Microdata
16428    "itemScope"
16429  ].forEach((v) => {
16430    g[v] = new m(
16431      v,
16432      i,
16433      !1,
16434      // mustUseProperty
16435      v.toLowerCase(),
16436      // attributeName
16437      null,
16438      // attributeNamespace
16439      !1,
16440      // sanitizeURL
16441      !1
16442      // removeEmptyString
16443    );
16444  }), [
16445    "checked",
16446    // Note: `option.selected` is not updated if `select.multiple` is
16447    // disabled with `removeAttribute`. We have special logic for handling this.
16448    "multiple",
16449    "muted",
16450    "selected"
16451    // NOTE: if you add a camelCased prop to this list,
16452    // you'll need to set attributeName to name.toLowerCase()
16453    // instead in the assignment below.
16454  ].forEach((v) => {
16455    g[v] = new m(
16456      v,
16457      i,
16458      !0,
16459      // mustUseProperty
16460      v,
16461      // attributeName
16462      null,
16463      // attributeNamespace
16464      !1,
16465      // sanitizeURL
16466      !1
16467      // removeEmptyString
16468    );
16469  }), [
16470    "capture",
16471    "download"
16472    // NOTE: if you add a camelCased prop to this list,
16473    // you'll need to set attributeName to name.toLowerCase()
16474    // instead in the assignment below.
16475  ].forEach((v) => {
16476    g[v] = new m(
16477      v,
16478      l,
16479      !1,
16480      // mustUseProperty
16481      v,
16482      // attributeName
16483      null,
16484      // attributeNamespace
16485      !1,
16486      // sanitizeURL
16487      !1
16488      // removeEmptyString
16489    );
16490  }), [
16491    "cols",
16492    "rows",
16493    "size",
16494    "span"
16495    // NOTE: if you add a camelCased prop to this list,
16496    // you'll need to set attributeName to name.toLowerCase()
16497    // instead in the assignment below.
16498  ].forEach((v) => {
16499    g[v] = new m(
16500      v,
16501      f,
16502      !1,
16503      // mustUseProperty
16504      v,
16505      // attributeName
16506      null,
16507      // attributeNamespace
16508      !1,
16509      // sanitizeURL
16510      !1
16511      // removeEmptyString
16512    );
16513  }), ["rowSpan", "start"].forEach((v) => {
16514    g[v] = new m(
16515      v,
16516      s,
16517      !1,
16518      // mustUseProperty
16519      v.toLowerCase(),
16520      // attributeName
16521      null,
16522      // attributeNamespace
16523      !1,
16524      // sanitizeURL
16525      !1
16526      // removeEmptyString
16527    );
16528  });
16529  const b = /[\-\:]([a-z])/g, S = (v) => v[1].toUpperCase();
16530  [
16531    "accent-height",
16532    "alignment-baseline",
16533    "arabic-form",
16534    "baseline-shift",
16535    "cap-height",
16536    "clip-path",
16537    "clip-rule",
16538    "color-interpolation",
16539    "color-interpolation-filters",
16540    "color-profile",
16541    "color-rendering",
16542    "dominant-baseline",
16543    "enable-background",
16544    "fill-opacity",
16545    "fill-rule",
16546    "flood-color",
16547    "flood-opacity",
16548    "font-family",
16549    "font-size",
16550    "font-size-adjust",
16551    "font-stretch",
16552    "font-style",
16553    "font-variant",
16554    "font-weight",
16555    "glyph-name",
16556    "glyph-orientation-horizontal",
16557    "glyph-orientation-vertical",
16558    "horiz-adv-x",
16559    "horiz-origin-x",
16560    "image-rendering",
16561    "letter-spacing",
16562    "lighting-color",
16563    "marker-end",
16564    "marker-mid",
16565    "marker-start",
16566    "overline-position",
16567    "overline-thickness",
16568    "paint-order",
16569    "panose-1",
16570    "pointer-events",
16571    "rendering-intent",
16572    "shape-rendering",
16573    "stop-color",
16574    "stop-opacity",
16575    "strikethrough-position",
16576    "strikethrough-thickness",
16577    "stroke-dasharray",
16578    "stroke-dashoffset",
16579    "stroke-linecap",
16580    "stroke-linejoin",
16581    "stroke-miterlimit",
16582    "stroke-opacity",
16583    "stroke-width",
16584    "text-anchor",
16585    "text-decoration",
16586    "text-rendering",
16587    "underline-position",
16588    "underline-thickness",
16589    "unicode-bidi",
16590    "unicode-range",
16591    "units-per-em",
16592    "v-alphabetic",
16593    "v-hanging",
16594    "v-ideographic",
16595    "v-mathematical",
16596    "vector-effect",
16597    "vert-adv-y",
16598    "vert-origin-x",
16599    "vert-origin-y",
16600    "word-spacing",
16601    "writing-mode",
16602    "xmlns:xlink",
16603    "x-height"
16604    // NOTE: if you add a camelCased prop to this list,
16605    // you'll need to set attributeName to name.toLowerCase()
16606    // instead in the assignment below.
16607  ].forEach((v) => {
16608    const E = v.replace(b, S);
16609    g[E] = new m(
16610      E,
16611      t,
16612      !1,
16613      // mustUseProperty
16614      v,
16615      null,
16616      // attributeNamespace
16617      !1,
16618      // sanitizeURL
16619      !1
16620      // removeEmptyString
16621    );
16622  }), [
16623    "xlink:actuate",
16624    "xlink:arcrole",
16625    "xlink:role",
16626    "xlink:show",
16627    "xlink:title",
16628    "xlink:type"
16629    // NOTE: if you add a camelCased prop to this list,
16630    // you'll need to set attributeName to name.toLowerCase()
16631    // instead in the assignment below.
16632  ].forEach((v) => {
16633    const E = v.replace(b, S);
16634    g[E] = new m(
16635      E,
16636      t,
16637      !1,
16638      // mustUseProperty
16639      v,
16640      "http://www.w3.org/1999/xlink",
16641      !1,
16642      // sanitizeURL
16643      !1
16644      // removeEmptyString
16645    );
16646  }), [
16647    "xml:base",
16648    "xml:lang",
16649    "xml:space"
16650    // NOTE: if you add a camelCased prop to this list,
16651    // you'll need to set attributeName to name.toLowerCase()
16652    // instead in the assignment below.
16653  ].forEach((v) => {
16654    const E = v.replace(b, S);
16655    g[E] = new m(
16656      E,
16657      t,
16658      !1,
16659      // mustUseProperty
16660      v,
16661      "http://www.w3.org/XML/1998/namespace",
16662      !1,
16663      // sanitizeURL
16664      !1
16665      // removeEmptyString
16666    );
16667  }), ["tabIndex", "crossOrigin"].forEach((v) => {
16668    g[v] = new m(
16669      v,
16670      t,
16671      !1,
16672      // mustUseProperty
16673      v.toLowerCase(),
16674      // attributeName
16675      null,
16676      // attributeNamespace
16677      !1,
16678      // sanitizeURL
16679      !1
16680      // removeEmptyString
16681    );
16682  });
16683  const w = "xlinkHref";
16684  g[w] = new m(
16685    "xlinkHref",
16686    t,
16687    !1,
16688    // mustUseProperty
16689    "xlink:href",
16690    "http://www.w3.org/1999/xlink",
16691    !0,
16692    // sanitizeURL
16693    !1
16694    // removeEmptyString
16695  ), ["src", "href", "action", "formAction"].forEach((v) => {
16696    g[v] = new m(
16697      v,
16698      t,
16699      !1,
16700      // mustUseProperty
16701      v.toLowerCase(),
16702      // attributeName
16703      null,
16704      // attributeNamespace
16705      !0,
16706      // sanitizeURL
16707      !0
16708      // removeEmptyString
16709    );
16710  });
16711  const {
16712    CAMELCASE: T,
16713    SAME: N,
16714    possibleStandardNames: $
16715  } = $D(), D = ":A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD" + "\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040", _ = RegExp.prototype.test.bind(
16716    // eslint-disable-next-line no-misleading-character-class
16717    new RegExp("^(data|aria)-[" + D + "]*$")
16718  ), x = Object.keys(
16719    $
16720  ).reduce((v, E) => {
16721    const C = $[E];
16722    return C === N ? v[E] = E : C === T ? v[E.toLowerCase()] = E : v[E] = C, v;
16723  }, {});
16724  return ur.BOOLEAN = i, ur.BOOLEANISH_STRING = r, ur.NUMERIC = s, ur.OVERLOADED_BOOLEAN = l, ur.POSITIVE_NUMERIC = f, ur.RESERVED = e, ur.STRING = t, ur.getPropertyInfo = h, ur.isCustomAttribute = _, ur.possibleStandardNames = x, ur;
16725}
16726var Ts = {}, Ol = {}, cg, u4;
16727function TD() {
16728  if (u4) return cg;
16729  u4 = 1;
16730  var e = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, t = /\n/g, r = /^\s*/, i = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, l = /^:\s*/, s = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, f = /^[;\s]*/, h = /^\s+|\s+$/g, m = `
16731`, g = "/", p = "*", b = "", S = "comment", w = "declaration";
16732  function T($, A) {
16733    if (typeof $ != "string")
16734      throw new TypeError("First argument must be a string");
16735    if (!$) return [];
16736    A = A || {};
16737    var D = 1, _ = 1;
16738    function x(q) {
16739      var K = q.match(t);
16740      K && (D += K.length);
16741      var Z = q.lastIndexOf(m);
16742      _ = ~Z ? q.length - Z : _ + q.length;
16743    }
16744    function v() {
16745      var q = { line: D, column: _ };
16746      return function(K) {
16747        return K.position = new E(q), k(), K;
16748      };
16749    }
16750    function E(q) {
16751      this.start = q, this.end = { line: D, column: _ }, this.source = A.source;
16752    }
16753    E.prototype.content = $;
16754    function C(q) {
16755      var K = new Error(
16756        A.source + ":" + D + ":" + _ + ": " + q
16757      );
16758      if (K.reason = q, K.filename = A.source, K.line = D, K.column = _, K.source = $, !A.silent) throw K;
16759    }
16760    function L(q) {
16761      var K = q.exec($);
16762      if (K) {
16763        var Z = K[0];
16764        return x(Z), $ = $.slice(Z.length), K;
16765      }
16766    }
16767    function k() {
16768      L(r);
16769    }
16770    function I(q) {
16771      var K;
16772      for (q = q || []; K = M(); )
16773        K !== !1 && q.push(K);
16774      return q;
16775    }
16776    function M() {
16777      var q = v();
16778      if (!(g != $.charAt(0) || p != $.charAt(1))) {
16779        for (var K = 2; b != $.charAt(K) && (p != $.charAt(K) || g != $.charAt(K + 1)); )
16780          ++K;
16781        if (K += 2, b === $.charAt(K - 1))
16782          return C("End of comment missing");
16783        var Z = $.slice(2, K - 2);
16784        return _ += 2, x(Z), $ = $.slice(K), _ += 2, q({
16785          type: S,
16786          comment: Z
16787        });
16788      }
16789    }
16790    function U() {
16791      var q = v(), K = L(i);
16792      if (K) {
16793        if (M(), !L(l)) return C("property missing ':'");
16794        var Z = L(s), ne = q({
16795          type: w,
16796          property: N(K[0].replace(e, b)),
16797          value: Z ? N(Z[0].replace(e, b)) : b
16798        });
16799        return L(f), ne;
16800      }
16801    }
16802    function G() {
16803      var q = [];
16804      I(q);
16805      for (var K; K = U(); )
16806        K !== !1 && (q.push(K), I(q));
16807      return q;
16808    }
16809    return k(), G();
16810  }
16811  function N($) {
16812    return $ ? $.replace(h, b) : b;
16813  }
16814  return cg = T, cg;
16815}
16816var s4;
16817function CD() {
16818  if (s4) return Ol;
16819  s4 = 1;
16820  var e = Ol && Ol.__importDefault || function(i) {
16821    return i && i.__esModule ? i : { default: i };
16822  };
16823  Object.defineProperty(Ol, "__esModule", { value: !0 }), Ol.default = r;
16824  const t = e(TD());
16825  function r(i, l) {
16826    let s = null;
16827    if (!i || typeof i != "string")
16828      return s;
16829    const f = (0, t.default)(i), h = typeof l == "function";
16830    return f.forEach((m) => {
16831      if (m.type !== "declaration")
16832        return;
16833      const { property: g, value: p } = m;
16834      h ? l(g, p, m) : p && (s = s || {}, s[g] = p);
16835    }), s;
16836  }
16837  return Ol;
16838}
16839var Cs = {}, c4;
16840function wD() {
16841  if (c4) return Cs;
16842  c4 = 1, Object.defineProperty(Cs, "__esModule", { value: !0 }), Cs.camelCase = void 0;
16843  var e = /^--[a-zA-Z0-9_-]+$/, t = /-([a-z])/g, r = /^[^-]+$/, i = /^-(webkit|moz|ms|o|khtml)-/, l = /^-(ms)-/, s = function(g) {
16844    return !g || r.test(g) || e.test(g);
16845  }, f = function(g, p) {
16846    return p.toUpperCase();
16847  }, h = function(g, p) {
16848    return "".concat(p, "-");
16849  }, m = function(g, p) {
16850    return p === void 0 && (p = {}), s(g) ? g : (g = g.toLowerCase(), p.reactCompat ? g = g.replace(l, h) : g = g.replace(i, h), g.replace(t, f));
16851  };
16852  return Cs.camelCase = m, Cs;
16853}
16854var ws, f4;
16855function OD() {
16856  if (f4) return ws;
16857  f4 = 1;
16858  var e = ws && ws.__importDefault || function(l) {
16859    return l && l.__esModule ? l : { default: l };
16860  }, t = e(CD()), r = wD();
16861  function i(l, s) {
16862    var f = {};
16863    return !l || typeof l != "string" || (0, t.default)(l, function(h, m) {
16864      h && m && (f[(0, r.camelCase)(h, s)] = m);
16865    }), f;
16866  }
16867  return i.default = i, ws = i, ws;
16868}
16869var d4;
16870function wE() {
16871  return d4 || (d4 = 1, (function(e) {
16872    var t = Ts && Ts.__importDefault || function(p) {
16873      return p && p.__esModule ? p : { default: p };
16874    };
16875    Object.defineProperty(e, "__esModule", { value: !0 }), e.returnFirstArg = e.canTextBeChildOfNode = e.ELEMENTS_WITH_NO_TEXT_CHILDREN = e.PRESERVE_CUSTOM_ATTRIBUTES = void 0, e.isCustomComponent = s, e.setStyleProp = h;
16876    var r = window.React, i = t(OD()), l = /* @__PURE__ */ new Set([
16877      "annotation-xml",
16878      "color-profile",
16879      "font-face",
16880      "font-face-src",
16881      "font-face-uri",
16882      "font-face-format",
16883      "font-face-name",
16884      "missing-glyph"
16885    ]);
16886    function s(p, b) {
16887      return p.includes("-") ? !l.has(p) : !!(b && typeof b.is == "string");
16888    }
16889    var f = {
16890      reactCompat: !0
16891    };
16892    function h(p, b) {
16893      if (typeof p == "string") {
16894        if (!p.trim()) {
16895          b.style = {};
16896          return;
16897        }
16898        try {
16899          b.style = (0, i.default)(p, f);
16900        } catch {
16901          b.style = {};
16902        }
16903      }
16904    }
16905    e.PRESERVE_CUSTOM_ATTRIBUTES = Number(r.version.split(".")[0]) >= 16, e.ELEMENTS_WITH_NO_TEXT_CHILDREN = /* @__PURE__ */ new Set([
16906      "tr",
16907      "tbody",
16908      "thead",
16909      "tfoot",
16910      "colgroup",
16911      "table",
16912      "head",
16913      "html",
16914      "frameset"
16915    ]);
16916    var m = function(p) {
16917      return !e.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(p.name);
16918    };
16919    e.canTextBeChildOfNode = m;
16920    var g = function(p) {
16921      return p;
16922    };
16923    e.returnFirstArg = g;
16924  })(Ts)), Ts;
16925}
16926var h4;
16927function OE() {
16928  if (h4) return Dd;
16929  h4 = 1, Object.defineProperty(Dd, "__esModule", { value: !0 }), Dd.default = s;
16930  var e = ED(), t = wE(), r = ["checked", "value"], i = ["input", "select", "textarea"], l = {
16931    reset: !0,
16932    submit: !0
16933  };
16934  function s(h, m) {
16935    h === void 0 && (h = {});
16936    var g = {}, p = !!(h.type && l[h.type]);
16937    for (var b in h) {
16938      var S = h[b];
16939      if ((0, e.isCustomAttribute)(b)) {
16940        g[b] = S;
16941        continue;
16942      }
16943      var w = b.toLowerCase(), T = f(w);
16944      if (T) {
16945        var N = (0, e.getPropertyInfo)(T);
16946        switch (r.includes(T) && i.includes(m) && !p && (T = f("default" + w)), g[T] = S, N?.type) {
16947          case e.BOOLEAN:
16948            g[T] = !0;
16949            break;
16950          case e.OVERLOADED_BOOLEAN:
16951            S === "" && (g[T] = !0);
16952            break;
16953        }
16954        continue;
16955      }
16956      t.PRESERVE_CUSTOM_ATTRIBUTES && (g[b] = S);
16957    }
16958    return (0, t.setStyleProp)(h.style, g), g;
16959  }
16960  function f(h) {
16961    return e.possibleStandardNames[h];
16962  }
16963  return Dd;
16964}
16965var Nl = {}, m4;
16966function ND() {
16967  if (m4) return Nl;
16968  m4 = 1;
16969  var e = Nl && Nl.__importDefault || function(h) {
16970    return h && h.__esModule ? h : { default: h };
16971  };
16972  Object.defineProperty(Nl, "__esModule", { value: !0 }), Nl.default = s;
16973  var t = window.React, r = e(OE()), i = wE(), l = {
16974    cloneElement: t.cloneElement,
16975    createElement: t.createElement,
16976    isValidElement: t.isValidElement
16977  };
16978  function s(h, m) {
16979    var g, p, b, S, w;
16980    m === void 0 && (m = {});
16981    for (var T = [], N = typeof m.replace == "function", $ = (g = m.transform) !== null && g !== void 0 ? g : i.returnFirstArg, A = (p = m.library) !== null && p !== void 0 ? p : l, D = A.cloneElement, _ = A.createElement, x = A.isValidElement, v = h.length, E = 0; E < v; E++) {
16982      var C = h[E];
16983      if (N) {
16984        var L = (b = m.replace) === null || b === void 0 ? void 0 : b.call(m, C, E);
16985        if (x(L)) {
16986          v > 1 && (L = D(L, {
16987            key: (S = L.key) !== null && S !== void 0 ? S : E
16988          })), T.push($(L, C, E));
16989          continue;
16990        }
16991      }
16992      if (C.type === "text") {
16993        var k = !C.data.trim().length;
16994        if (k && C.parent && !(0, i.canTextBeChildOfNode)(C.parent) || m.trim && k)
16995          continue;
16996        T.push($(C.data, C, E));
16997        continue;
16998      }
16999      var I = C, M = {};
17000      f(I) ? ((0, i.setStyleProp)(I.attribs.style, I.attribs), M = I.attribs) : I.attribs && (M = (0, r.default)(I.attribs, I.name));
17001      var U = void 0;
17002      switch (C.type) {
17003        case "script":
17004        case "style":
17005          C.children[0] && (M.dangerouslySetInnerHTML = {
17006            __html: C.children[0].data
17007          });
17008          break;
17009        case "tag":
17010          C.name === "textarea" && C.children[0] ? M.defaultValue = C.children[0].data : !((w = C.children) === null || w === void 0) && w.length && (U = s(C.children, m));
17011          break;
17012        // skip all other cases (e.g., comment)
17013        default:
17014          continue;
17015      }
17016      v > 1 && (M.key = E), T.push($(_(C.name, M, U), C, E));
17017    }
17018    return T.length === 1 ? T[0] : T;
17019  }
17020  function f(h) {
17021    return i.PRESERVE_CUSTOM_ATTRIBUTES && h.type === "tag" && (0, i.isCustomComponent)(h.name, h.attribs);
17022  }
17023  return Nl;
17024}
17025var g4;
17026function AD() {
17027  return g4 || (g4 = 1, (function(e) {
17028    var t = $s && $s.__importDefault || function(m) {
17029      return m && m.__esModule ? m : { default: m };
17030    };
17031    Object.defineProperty(e, "__esModule", { value: !0 }), e.htmlToDOM = e.domToReact = e.attributesToProps = e.Text = e.ProcessingInstruction = e.Element = e.Comment = void 0, e.default = h;
17032    var r = t(SD());
17033    e.htmlToDOM = r.default;
17034    var i = t(OE());
17035    e.attributesToProps = i.default;
17036    var l = t(ND());
17037    e.domToReact = l.default;
17038    var s = /* @__PURE__ */ TE();
17039    Object.defineProperty(e, "Comment", { enumerable: !0, get: function() {
17040      return s.Comment;
17041    } }), Object.defineProperty(e, "Element", { enumerable: !0, get: function() {
17042      return s.Element;
17043    } }), Object.defineProperty(e, "ProcessingInstruction", { enumerable: !0, get: function() {
17044      return s.ProcessingInstruction;
17045    } }), Object.defineProperty(e, "Text", { enumerable: !0, get: function() {
17046      return s.Text;
17047    } });
17048    var f = { lowerCaseAttributeNames: !1 };
17049    function h(m, g) {
17050      var p;
17051      if (typeof m != "string")
17052        throw new TypeError("First argument must be a string");
17053      return m ? (0, l.default)((0, r.default)(m, (p = g?.htmlparser2) !== null && p !== void 0 ? p : f), g) : [];
17054    }
17055  })($s)), $s;
17056}
17057var NE = AD();
17058const p4 = /* @__PURE__ */ Mp(NE), _D = p4.default || p4, xD = { version: 4, country_calling_codes: { 1: ["US", "AG", "AI", "AS", "BB", "BM", "BS", "CA", "DM", "DO", "GD", "GU", "JM", "KN", "KY", "LC", "MP", "MS", "PR", "SX", "TC", "TT", "VC", "VG", "VI"], 7: ["RU", "KZ"], 20: ["EG"], 27: ["ZA"], 30: ["GR"], 31: ["NL"], 32: ["BE"], 33: ["FR"], 34: ["ES"], 36: ["HU"], 39: ["IT", "VA"], 40: ["RO"], 41: ["CH"], 43: ["AT"], 44: ["GB", "GG", "IM", "JE"], 45: ["DK"], 46: ["SE"], 47: ["NO", "SJ"], 48: ["PL"], 49: ["DE"], 51: ["PE"], 52: ["MX"], 53: ["CU"], 54: ["AR"], 55: ["BR"], 56: ["CL"], 57: ["CO"], 58: ["VE"], 60: ["MY"], 61: ["AU", "CC", "CX"], 62: ["ID"], 63: ["PH"], 64: ["NZ"], 65: ["SG"], 66: ["TH"], 81: ["JP"], 82: ["KR"], 84: ["VN"], 86: ["CN"], 90: ["TR"], 91: ["IN"], 92: ["PK"], 93: ["AF"], 94: ["LK"], 95: ["MM"], 98: ["IR"], 211: ["SS"], 212: ["MA", "EH"], 213: ["DZ"], 216: ["TN"], 218: ["LY"], 220: ["GM"], 221: ["SN"], 222: ["MR"], 223: ["ML"], 224: ["GN"], 225: ["CI"], 226: ["BF"], 227: ["NE"], 228: ["TG"], 229: ["BJ"], 230: ["MU"], 231: ["LR"], 232: ["SL"], 233: ["GH"], 234: ["NG"], 235: ["TD"], 236: ["CF"], 237: ["CM"], 238: ["CV"], 239: ["ST"], 240: ["GQ"], 241: ["GA"], 242: ["CG"], 243: ["CD"], 244: ["AO"], 245: ["GW"], 246: ["IO"], 247: ["AC"], 248: ["SC"], 249: ["SD"], 250: ["RW"], 251: ["ET"], 252: ["SO"], 253: ["DJ"], 254: ["KE"], 255: ["TZ"], 256: ["UG"], 257: ["BI"], 258: ["MZ"], 260: ["ZM"], 261: ["MG"], 262: ["RE", "YT"], 263: ["ZW"], 264: ["NA"], 265: ["MW"], 266: ["LS"], 267: ["BW"], 268: ["SZ"], 269: ["KM"], 290: ["SH", "TA"], 291: ["ER"], 297: ["AW"], 298: ["FO"], 299: ["GL"], 350: ["GI"], 351: ["PT"], 352: ["LU"], 353: ["IE"], 354: ["IS"], 355: ["AL"], 356: ["MT"], 357: ["CY"], 358: ["FI", "AX"], 359: ["BG"], 370: ["LT"], 371: ["LV"], 372: ["EE"], 373: ["MD"], 374: ["AM"], 375: ["BY"], 376: ["AD"], 377: ["MC"], 378: ["SM"], 380: ["UA"], 381: ["RS"], 382: ["ME"], 383: ["XK"], 385: ["HR"], 386: ["SI"], 387: ["BA"], 389: ["MK"], 420: ["CZ"], 421: ["SK"], 423: ["LI"], 500: ["FK"], 501: ["BZ"], 502: ["GT"], 503: ["SV"], 504: ["HN"], 505: ["NI"], 506: ["CR"], 507: ["PA"], 508: ["PM"], 509: ["HT"], 590: ["GP", "BL", "MF"], 591: ["BO"], 592: ["GY"], 593: ["EC"], 594: ["GF"], 595: ["PY"], 596: ["MQ"], 597: ["SR"], 598: ["UY"], 599: ["CW", "BQ"], 670: ["TL"], 672: ["NF"], 673: ["BN"], 674: ["NR"], 675: ["PG"], 676: ["TO"], 677: ["SB"], 678: ["VU"], 679: ["FJ"], 680: ["PW"], 681: ["WF"], 682: ["CK"], 683: ["NU"], 685: ["WS"], 686: ["KI"], 687: ["NC"], 688: ["TV"], 689: ["PF"], 690: ["TK"], 691: ["FM"], 692: ["MH"], 850: ["KP"], 852: ["HK"], 853: ["MO"], 855: ["KH"], 856: ["LA"], 880: ["BD"], 886: ["TW"], 960: ["MV"], 961: ["LB"], 962: ["JO"], 963: ["SY"], 964: ["IQ"], 965: ["KW"], 966: ["SA"], 967: ["YE"], 968: ["OM"], 970: ["PS"], 971: ["AE"], 972: ["IL"], 973: ["BH"], 974: ["QA"], 975: ["BT"], 976: ["MN"], 977: ["NP"], 992: ["TJ"], 993: ["TM"], 994: ["AZ"], 995: ["GE"], 996: ["KG"], 998: ["UZ"] }, countries: { AC: ["247", "00", "(?:[01589]\\d|[2-467
vendor: 4,584 bytes, line 17058
17058])\\d{4}", [5, 6]], AD: ["376", "00", "(?:1|6\\d)\\d{7}|[135-9]\\d{5}", [6, 8, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["[135-9]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["1"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]]], AE: ["971", "00", "(?:[4-7]\\d|9[0-689])\\d{7}|800\\d{2,9}|[2-4679]\\d{7}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{2,9})", "$1 $2", ["60|8"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[236]|[479][2-8]"], "0$1"], ["(\\d{3})(\\d)(\\d{5})", "$1 $2 $3", ["[479]"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"]], "0"], AF: ["93", "00", "[2-7]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"]], "0"], AG: ["1", "011", "(?:268|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([457]\\d{6})$|1", "268$1", 0, "268"], AI: ["1", "011", "(?:264|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2457]\\d{6})$|1", "264$1", 0, "264"], AL: ["355", "00", "(?:700\\d\\d|900)\\d{3}|8\\d{5,7}|(?:[2-5]|6\\d)\\d{7}", [6, 7, 8, 9], [["(\\d{3})(\\d{3,4})", "$1 $2", ["80|9"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["4[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2358][2-5]|4"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["[23578]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["6"], "0$1"]], "0"], AM: ["374", "00", "(?:[1-489]\\d|55|60|77)\\d{6}", [8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[89]0"], "0 $1"], ["(\\d{3})(\\d{5})", "$1 $2", ["2|3[12]"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["1|47"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[3-9]"], "0$1"]], "0"], AO: ["244", "00", "[29]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[29]"]]]], AR: ["54", "00", "(?:11|[89]\\d\\d)\\d{8}|[2368]\\d{9}", [10, 11], [["(\\d{4})(\\d{2})(\\d{4})", "$1 $2-$3", ["2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9])", "2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8]))|2(?:2[24-9]|3[1-59]|47)", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5[56][46]|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|58|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|54(?:4|5[13-7]|6[89])|86[3-6]))|2(?:2[24-9]|3[1-59]|47)|38(?:[58][78]|7[378])|3(?:454|85[56])[46]|3(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["1"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[68]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2-$3", ["[23]"], "0$1", 1], ["(\\d)(\\d{4})(\\d{2})(\\d{4})", "$2 15-$3-$4", ["9(?:2[2-469]|3[3-578])", "9(?:2(?:2[024-9]|3[0-59]|47|6[245]|9[02-8])|3(?:3[28]|4[03-9]|5[2-46-8]|7[1-578]|8[2-9]))", "9(?:2(?:[23]02|6(?:[25]|4[6-8])|9(?:[02356]|4[02568]|72|8[23]))|3(?:3[28]|4(?:[04679]|3[5-8]|5[4-68]|8[2379])|5(?:[2467]|3[237]|8[2-5])|7[1-578]|8(?:[2469]|3[2578]|5[4-8]|7[36-8]|8[5-8])))|92(?:2[24-9]|3[1-59]|47)", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3[78]|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8[23])|7[1-578]|8(?:[2469]|3[278]|5(?:[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4[35][56]|58[45]|8(?:[38]5|54|76))[4-6]", "9(?:2(?:[23]02|6(?:[25]|4(?:64|[78]))|9(?:[02356]|4(?:[0268]|5[2-6])|72|8[23]))|3(?:3[28]|4(?:[04679]|3(?:5(?:4[0-25689]|[56])|[78])|5(?:4[46]|8)|8[2379])|5(?:[2467]|3[237]|8(?:[23]|4(?:[45]|60)|5(?:4[0-39]|5|64)))|7[1-578]|8(?:[2469]|3[278]|5(?:4(?:4|5[13-7]|6[89])|[56][46]|[78])|7[378]|8(?:6[3-6]|[78]))))|92(?:2[24-9]|3[1-59]|47)|93(?:4(?:36|5[56])|8(?:[38]5|76))[4-6]"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d)(\\d{2})(\\d{4})(\\d{4})", "$2 15-$3-$4", ["91"], "0$1", 0, "$1 $2 $3-$4"], ["(\\d{3})(\\d{3})(\\d{5})", "$1-$2-$3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{4})", "$2 15-$3-$4", ["9"], "0$1", 0, "$1 $2 $3-$4"]], "0", 0, "0?(?:(11|2(?:2(?:02?|[13]|2[13-79]|4[1-6]|5[2457]|6[124-8]|7[1-4]|8[13-6]|9[1267])|3(?:02?|1[467]|2[03-6]|3[13-8]|[49][2-6]|5[2-8]|[67])|4(?:7[3-578]|9)|6(?:[0136]|2[24-6]|4[6-8]?|5[15-8])|80|9(?:0[1-3]|[19]|2\\d|3[1-6]|4[02568]?|5[2-4]|6[2-46]|72?|8[23]?))|3(?:3(?:2[79]|6|8[2578])|4(?:0[0-24-9]|[12]|3[5-8]?|4[24-7]|5[4-68]?|6[02-9]|7[126]|8[2379]?|9[1-36-8])|5(?:1|2[1245]|3[237]?|4[1-4
vendor: 21,864 bytes, line 17058
170586-9]|6[2-4]|7[1-6]|8[2-5]?)|6[24]|7(?:[069]|1[1568]|2[15]|3[145]|4[13]|5[14-8]|7[2-57]|8[126])|8(?:[01]|2[15-7]|3[2578]?|4[13-6]|5[4-8]?|6[1-357-9]|7[36-8]?|8[5-8]?|9[124])))15)?", "9$1"], AS: ["1", "011", "(?:[58]\\d\\d|684|900)\\d{7}", [10], 0, "1", 0, "([267]\\d{6})$|1", "684$1", 0, "684"], AT: ["43", "00", "1\\d{3,12}|2\\d{6,12}|43(?:(?:0\\d|5[02-9])\\d{3,9}|2\\d{4,5}|[3467]\\d{4}|8\\d{4,6}|9\\d{4,7})|5\\d{4,12}|8\\d{7,12}|9\\d{8,12}|(?:[367]\\d|4[0-24-9])\\d{4,11}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{3,12})", "$1 $2", ["1(?:11|[2-9])"], "0$1"], ["(\\d{3})(\\d{2})", "$1 $2", ["517"], "0$1"], ["(\\d{2})(\\d{3,5})", "$1 $2", ["5[079]"], "0$1"], ["(\\d{3})(\\d{3,10})", "$1 $2", ["(?:31|4)6|51|6(?:48|5[0-3579]|[6-9])|7(?:20|32|8)|[89]", "(?:31|4)6|51|6(?:485|5[0-3579]|[6-9])|7(?:20|32|8)|[89]"], "0$1"], ["(\\d{4})(\\d{3,9})", "$1 $2", ["[2-467]|5[2-6]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,7})", "$1 $2 $3", ["5"], "0$1"]], "0"], AU: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{7}(?:\\d(?:\\d{2})?)?|8[0-24-9]\\d{7})|[2-478]\\d{8}|1\\d{4,7}", [5, 6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{3,4})", "$1 $2", ["16"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["16"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["14|4"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[2378]"], "(0$1)"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:30|[89])"]]], "0", 0, "(183[12])|0", 0, 0, 0, [["(?:(?:241|349)0\\d\\d|8(?:51(?:0(?:0[03-9]|[12479]\\d|3[2-9]|5[0-8]|6[1-9]|8[0-7])|1(?:[0235689]\\d|1[0-69]|4[0-589]|7[0-47-9])|2(?:0[0-79]|[18][13579]|2[14-9]|3[0-46-9]|[4-6]\\d|7[89]|9[0-4])|[34]\\d\\d)|91(?:(?:[0-58]\\d|6[0135-9])\\d|7(?:0[0-24-9]|[1-9]\\d)|9(?:[0-46-9]\\d|5[0-79]))))\\d{3}|(?:2(?:[0-26-9]\\d|3[0-8]|4[02-9]|5[0135-9])|3(?:[0-3589]\\d|4[0-578]|6[1-9]|7[0-35-9])|7(?:[013-57-9]\\d|2[0-8])|8(?:55|6[0-8]|[78]\\d|9[02-9]))\\d{6}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, ["163\\d{2,6}", [5, 6, 7, 8, 9]], ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], AW: ["297", "00", "(?:[25-79]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[25-9]"]]]], AX: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "2\\d{4,9}|35\\d{4,5}|(?:60\\d\\d|800)\\d{4,6}|7\\d{5,11}|(?:[14]\\d|3[0-46-9]|50)\\d{4,8}", [5, 6, 7, 8, 9, 10, 11, 12], 0, "0", 0, 0, 0, 0, "18", 0, "00"], AZ: ["994", "00", "365\\d{6}|(?:[124579]\\d|60|88)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[28]|2|365|46", "1[28]|2|365[45]|46", "1[28]|2|365(?:4|5[02])|46"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[13-9]"], "0$1"]], "0"], BA: ["387", "00", "6\\d{8}|(?:[35689]\\d|49|70)\\d{6}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[1-3]|[7-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2-$3", ["[3-5]|6[56]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["6"], "0$1"]], "0"], BB: ["1", "011", "(?:246|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "246$1", 0, "246"], BD: ["880", "00", "[1-469]\\d{9}|8[0-79]\\d{7,8}|[2-79]\\d{8}|[2-9]\\d{7}|[3-9]\\d{6}|[57-9]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{2})(\\d{4,6})", "$1-$2", ["31[5-8]|[459]1"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1-$2", ["3(?:[67]|8[013-9])|4(?:6[168]|7|[89][18])|5(?:6[128]|9)|6(?:[15]|28|4[14])|7[2-589]|8(?:0[014-9]|[12])|9[358]|(?:3[2-5]|4[235]|5[2-578]|6[0389]|76|8[3-7]|9[24])1|(?:44|66)[01346-9]"], "0$1"], ["(\\d{4})(\\d{3,6})", "$1-$2", ["[13-9]|2[23]"], "0$1"], ["(\\d)(\\d{7,8})", "$1-$2", ["2"], "0$1"]], "0"], BE: ["32", "00", "4\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:80|9)0"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[239]|4[23]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[15-8]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4"], "0$1"]], "0"], BF: ["226", "00", "[024-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[024-7]"]]]], BG: ["359", "00", "00800\\d{7}|[2-7]\\d{6,7}|[89]\\d{6,8}|2\\d{5}", [6, 7, 8, 9, 12], [["(\\d)(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["43[1-6]|70[1-9]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["[356]|4[124-7]|7[1-9]|8[1-6]|9[1-7]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["(?:70|8)0"], "0$1"], ["(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3", ["43[1-7]|7"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[48]|9[08]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"]], "0"], BH: ["973", "00", "[136-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[13679]|8[02-4679]"]]]], BI: ["257", "00", "(?:[267]\\d|31)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2367]"]]]], BJ: ["229", "00", "(?:01\\d|8)\\d{7}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["0"]]]], BL: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:2[7-9]|3[3-7]|5[12]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], BM: ["1", "011", "(?:441|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "441$1", 0, "441"], BN: ["673", "00", "[2-578]\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-578]"]]]], BO: ["591", "00(?:1\\d)?", "(?:[2-7]\\d\\d|8001)\\d{5}", [8, 9], [["(\\d)(\\d{7})", "$1 $2", ["[23]|4[46]|50"]], ["(\\d{8})", "$1", ["[5-7]"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["8"]]], "0", 0, "0(1\\d)?"], BQ: ["599", "00", "(?:[34]1|7\\d)\\d{5}", [7], 0, 0, 0, 0, 0, 0, "[347]"], BR: ["55", "00(?:1[245]|2[1-35]|31|4[13]|[56]5|99)", "[1-467]\\d{9,10}|55[0-46-9]\\d{8}|[34]\\d{7}|55\\d{7,8}|(?:5[0-46-9]|[89]\\d)\\d{7,9}", [8, 9, 10, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["300|4(?:0[02]|37|86)", "300|4(?:0(?:0|20)|370|864)"]], ["(\\d{3})(\\d{2,3})(\\d{4})", "$1 $2 $3", ["(?:[358]|90)0"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2-$3", ["(?:[14689][1-9]|2[12478]|3[1-578]|5[13-5]|7[13-579])[2-57]"], "($1)"], ["(\\d{2})(\\d{5})(\\d{4})", "$1 $2-$3", ["[16][1-9]|[2-57-9]"], "($1)"]], "0", 0, "(?:0|90)(?:(1[245]|2[1-35]|31|4[13]|[56]5|99)(\\d{10,11}))?", "$2"], BS: ["1", "011", "(?:242|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([3-8]\\d{6})$|1", "242$1", 0, "242"], BT: ["975", "00", "[178]\\d{7}|[2-8]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-6]|7[246]|8[2-4]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[67]|[78]"]]]], BW: ["267", "00", "(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["90"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[24-6]|3[15-9]"]], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37]"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["8"]]]], BY: ["375", "810", "(?:[12]\\d|33|44|902)\\d{7}|8(?:0[0-79]\\d{5,7}|[1-7]\\d{9})|8(?:1[0-489]|[5-79]\\d)\\d{7}|8[1-79]\\d{6,7}|8[0-79]\\d{5}|8\\d{5}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3})", "$1 $2", ["800"], "8 $1"], ["(\\d{3})(\\d{2})(\\d{2,4})", "$1 $2 $3", ["800"], "8 $1"], ["(\\d{4})(\\d{2})(\\d{3})", "$1 $2-$3", ["1(?:5[169]|6[3-5]|7[179])|2(?:1[35]|2[34]|3[3-5])", "1(?:5[169]|6(?:3[1-3]|4|5[125])|7(?:1[3-9]|7[0-24-6]|9[2-7]))|2(?:1[35]|2[34]|3[3-5])"], "8 0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["1(?:[56]|7[467])|2[1-3]"], "8 0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-4]"], "8 0$1"], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[89]"], "8 $1"]], "8", 0, "0|80?", 0, 0, 0, 0, "8~10"], BZ: ["501", "00", "(?:0800\\d|[2-8])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-8]"]], ["(\\d)(\\d{3})(\\d{4})(\\d{3})", "$1-$2-$3-$4", ["0"]]]], CA: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [7, 10], 0, "1", 0, 0, 0, 0, 0, [["(?:2(?:04|[23]6|[48]9|5[07]|63)|3(?:06|43|54|6[578]|82)|4(?:03|1[68]|[26]8|3[178]|50|74)|5(?:06|1[49]|48|79|8[147])|6(?:04|[18]3|39|47|72)|7(?:0[59]|42|53|78|8[02])|8(?:[06]7|19|25|7[39])|9(?:0[25]|42))[2-9]\\d{6}", [10]], ["", [10]], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}", [10]], ["900[2-9]\\d{6}", [10]], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|(?:5(?:2[125-9]|3[23]|44|66|77|88)|6(?:22|33))[2-9]\\d{6}", [10]], 0, ["310\\d{4}", [7]], 0, ["600[2-9]\\d{6}", [10]]]], CC: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:02|31|60|89)|1(?:18|76)|223)|91(?:0(?:1[0-2]|29)|1(?:[28]2|50|79)|2(?:10|64)|3(?:[06]8|22)|4[29]8|62\\d|70[23]|959))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CD: ["243", "00", "(?:(?:[189]|5\\d)\\d|2)\\d{7}|[1-68]\\d{6}", [7, 8, 9, 10], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["[1-6]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["5"], "0$1"]], "0"], CF: ["236", "00", "8776\\d{4}|(?:[27]\\d|61)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-8]"]]]], CG: ["242", "00", "222\\d{6}|(?:0\\d|80)\\d{7}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[02]"]]]], CH: ["41", "00", "8\\d{11}|[2-9]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8[047]|90"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]|81"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["8"], "0$1"]], "0"], CI: ["225", "00", "[02]\\d{9}", [10], [["(\\d{2})(\\d{2})(\\d)(\\d{5})", "$1 $2 $3 $4", ["2"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3 $4", ["0"]]]], CK: ["682", "00", "[2-578]\\d{4}", [5], [["(\\d{2})(\\d{3})", "$1 $2", ["[2-578]"]]]], CL: ["56", "(?:0|1(?:1[0-69]|2[02-5]|5[13-58]|69|7[0167]|8[018]))0", "12300\\d{6}|6\\d{9,10}|[2-9]\\d{8}", [9, 10, 11], [["(\\d{5})(\\d{4})", "$1 $2", ["219", "2196"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["60|809"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["44"]], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2[1-36]"], "($1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["9(?:10|[2-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["3[2-5]|[47]|5[1-3578]|6[13-57]|8(?:0[1-8]|[1-9])"], "($1)"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["60|8"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{3})(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["60"]]]], CM: ["237", "00", "[26]\\d{8}|88\\d{6,7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["88"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[26]|88"]]]], CN: ["86", "00|1(?:[12]\\d|79)\\d\\d00", "(?:(?:1[03-689]|2\\d)\\d\\d|6)\\d{8}|1\\d{10}|[126]\\d{6}(?:\\d(?:\\d{2})?)?|86\\d{5,6}|(?:[3-579]\\d|8[0-57-9])\\d{5,9}", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5,6})", "$1 $2", ["(?:10|2[0-57-9])[19]|3(?:[157]|35|49|9[1-68])|4(?:1[124-9]|2[179]|6[47-9]|7|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:07|1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3|4[13]|5[1-5]|7[0-79]|9[0-35-9])|(?:4[35]|59|85)[1-9]", "(?:10|2[0-57-9])(?:1[02]|9[56])|8078|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))1", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|80781|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))12", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|807812|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123", "10(?:1(?:0|23)|9[56])|2[0-57-9](?:1(?:00|23)|9[56])|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:1[124-9]|2[179]|[35][1-9]|6[47-9]|7\\d|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:078|1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|3\\d|4[13]|5[1-5]|7[0-79]|9[0-35-9]))123"], "0$1"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["3(?:[157]|35|49|9[1-68])|4(?:[17]|2[179]|6[47-9]|8[23])|5(?:[1357]|2[37]|4[36]|6[1-46]|80)|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]|4[13]|5[1-5])|(?:4[35]|59|85)[1-9]", "(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[1-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))[19]", "85[23](?:10|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:10|9[56])", "85[23](?:100|95)|(?:3(?:[157]\\d|35|49|9[1-68])|4(?:[17]\\d|2[179]|[35][1-9]|6[47-9]|8[23])|5(?:[1357]\\d|2[37]|4[36]|6[1-46]|80|9[1-9])|6(?:3[1-5]|6[0238]|9[12])|7(?:01|[1579]\\d|2[248]|3[014-9]|4[3-6]|6[023689])|8(?:1[236-8]|2[5-7]|[37]\\d|5[14-9]|8[36-8]|9[1-8])|9(?:0[1-3689]|1[1-79]|[379]\\d|4[13]|5[1-5]))(?:100|9[56])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["(?:4|80)0"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|2(?:[02-57-9]|1[1-9])", "10|2(?:[02-57-9]|1[1-9])", "10[0-79]|2(?:[02-57-9]|1[1-79])|(?:10|21)8(?:0[1-9]|[1-9])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["3(?:[3-59]|7[02-68])|4(?:[26-8]|3[3-9]|5[2-9])|5(?:3[03-9]|[468]|7[028]|9[2-46-9])|6|7(?:[0-247]|3[04-9]|5[0-4689]|6[2368])|8(?:[1-358]|9[1-7])|9(?:[013479]|5[1-5])|(?:[34]1|55|79|87)[02-9]"], "0$1", 1], ["(\\d{3})(\\d{7,8})", "$1 $2", ["9"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["80"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[3-578]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["1[3-9]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["[12]"], "0$1", 1]], "0", 0, "(1(?:[12]\\d|79)\\d\\d)|0", 0, 0, 0, 0, "00"], CO: ["57", "00(?:4(?:[14]4|56)|[579])", "(?:46|60\\d\\d)\\d{6}|(?:1\\d|[39])\\d{9}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["46"]], ["(\\d{3})(\\d{7})", "$1 $2", ["6|90"], "($1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3[0-357]|9[14]"]], ["(\\d)(\\d{3})(\\d{7})", "$1-$2-$3", ["1"], "0$1", 0, "$1 $2 $3"]], "0", 0, "0([3579]|4(?:[14]4|56))?"], CR: ["506", "00", "(?:8\\d|90)\\d{8}|(?:[24-8]\\d{3}|3005)\\d{4}", [8, 10], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[3-9]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["[89]"]]], 0, 0, "(19(?:0[0-2468]|1[09]|20|66|77|99))"], CU: ["53", "119", "(?:[2-7]|8\\d\\d)\\d{7}|[2-47]\\d{6}|[34]\\d{5}", [6, 7, 8, 10], [["(\\d{2})(\\d{4,6})", "$1 $2", ["2[1-4]|[34]"], "(0$1)"], ["(\\d)(\\d{6,7})", "$1 $2", ["7"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["[56]"], "0$1"], ["(\\d{3})(\\d{7})", "$1 $2", ["8"], "0$1"]], "0"], CV: ["238", "0", "(?:[2-59]\\d\\d|800)\\d{4}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-589]"]]]], CW: ["599", "00", "(?:[34]1|60|(?:7|9\\d)\\d)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[3467]"]], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["9[4-8]"]]], 0, 0, 0, 0, 0, "[69]"], CX: ["61", "001[14-689]|14(?:1[14]|34|4[17]|[56]6|7[47]|88)0011", "1(?:[0-79]\\d{8}(?:\\d{2})?|8[0-24-9]\\d{7})|[148]\\d{8}|1\\d{5,7}", [6, 7, 8, 9, 10, 12], 0, "0", 0, "([59]\\d{7})$|0", "8$1", 0, 0, [["8(?:51(?:0(?:01|30|59|88)|1(?:17|46|75)|2(?:22|35))|91(?:00[6-9]|1(?:[28]1|49|78)|2(?:09|63)|3(?:12|26|75)|4(?:56|97)|64\\d|7(?:0[01]|1[0-2])|958))\\d{3}", [9]], ["4(?:79[01]|83[0-36-9]|95[0-3])\\d{5}|4(?:[0-36]\\d|4[047-9]|[58][0-24-9]|7[02-8]|9[0-47-9])\\d{6}", [9]], ["180(?:0\\d{3}|2)\\d{3}", [7, 10]], ["190[0-26]\\d{6}", [10]], 0, 0, 0, 0, ["14(?:5(?:1[0458]|[23][458])|71\\d)\\d{4}", [9]], ["13(?:00\\d{6}(?:\\d{2})?|45[0-4]\\d{3})|13\\d{4}", [6, 8, 10, 12]]], "0011"], CY: ["357", "00", "(?:[279]\\d|[58]0)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[257-9]"]]]], CZ: ["420", "00", "(?:[2-578]\\d|60)\\d{7}|9\\d{8,11}", [9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]|9[015-7]"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["96"]], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]]], DE: ["49", "00", "[2579]\\d{5,14}|49(?:[34]0|69|8\\d)\\d\\d?|49(?:37|49|60|7[089]|9\\d)\\d{1,3}|49(?:2[024-9]|3[2-689]|7[1-7])\\d{1,8}|(?:1|[368]\\d|4[0-8])\\d{3,13}|49(?:[015]\\d|2[13]|31|[46][1-8])\\d{1,9}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], [["(\\d{2})(\\d{3,13})", "$1 $2", ["3[02]|40|[68]9"], "0$1"], ["(\\d{3})(\\d{3,12})", "$1 $2", ["2(?:0[1-389]|1[124]|2[18]|3[14])|3(?:[35-9][15]|4[015])|906|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1", "2(?:0[1-389]|12[0-8])|3(?:[35-9][15]|4[015])|906|2(?:[13][14]|2[18])|(?:2[4-9]|4[2-9]|[579][1-9]|[68][1-8])1"], "0$1"], ["(\\d{4})(\\d{2,11})", "$1 $2", ["[24-6]|3(?:[3569][02-46-9]|4[2-4679]|7[2-467]|8[2-46-8])|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]", "[24-6]|3(?:3(?:0[1-467]|2[127-9]|3[124578]|7[1257-9]|8[1256]|9[145])|4(?:2[135]|4[13578]|9[1346])|5(?:0[14]|2[1-3589]|6[1-4]|7[13468]|8[13568])|6(?:2[1-489]|3[124-6]|6[13]|7[12579]|8[1-356]|9[135])|7(?:2[1-7]|4[145]|6[1-5]|7[1-4])|8(?:21|3[1468]|6|7[1467]|8[136])|9(?:0[12479]|2[1358]|4[134679]|6[1-9]|7[136]|8[147]|9[1468]))|70[2-8]|8(?:0[2-9]|[1-8])|90[7-9]|[79][1-9]|3[68]4[1347]|3(?:47|60)[1356]|3(?:3[46]|46|5[49])[1246]|3[4579]3[1357]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["138"], "0$1"], ["(\\d{5})(\\d{2,10})", "$1 $2", ["3"], "0$1"], ["(\\d{3})(\\d{5,11})", "$1 $2", ["181"], "0$1"], ["(\\d{3})(\\d)(\\d{4,10})", "$1 $2 $3", ["1(?:3|80)|9"], "0$1"], ["(\\d{3})(\\d{7,8})", "$1 $2", ["1[67]"], "0$1"], ["(\\d{3})(\\d{7,12})", "$1 $2", ["8"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["185", "1850", "18500"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["18[68]"], "0$1"], ["(\\d{4})(\\d{7})", "$1 $2", ["15[1279]"], "0$1"], ["(\\d{5})(\\d{6})", "$1 $2", ["15[03568]", "15(?:[0568]|3[13])"], "0$1"], ["(\\d{3})(\\d{8})", "$1 $2", ["18"], "0$1"], ["(\\d{3})(\\d{2})(\\d{7,8})", "$1 $2 $3", ["1(?:6[023]|7)"], "0$1"], ["(\\d{4})(\\d{2})(\\d{7})", "$1 $2 $3", ["15[279]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{8})", "$1 $2 $3", ["15"], "0$1"]], "0"], DJ: ["253", "00", "(?:2\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[27]"]]]], DK: ["45", "00", "[2-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-9]"]]]], DM: ["1", "011", "(?:[58]\\d\\d|767|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "767$1", 0, "767"], DO: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "8001|8[024]9"], DZ: ["213", "00", "(?:[1-4]|[5-79]\\d|80)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["9"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-8]"], "0$1"]], "0"], EC: ["593", "00", "1\\d{9,10}|(?:[2-7]|9\\d)\\d{7}", [8, 9, 10, 11], [["(\\d)(\\d{3})(\\d{4})", "$1 $2-$3", ["[2-7]"], "(0$1)", 0, "$1-$2-$3"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1"]]], "0"], EE: ["372", "00", "8\\d{9}|[4578]\\d{7}|(?:[3-8]\\d|90)\\d{5}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[369]|4[3-8]|5(?:[0-2]|5[0-478]|6[45])|7[1-9]|88", "[369]|4[3-8]|5(?:[02]|1(?:[0-8]|95)|5[0-478]|6(?:4[0-4]|5[1-589]))|7[1-9]|88"]], ["(\\d{4})(\\d{3,4})", "$1 $2", ["[45]|8(?:00|[1-49])", "[45]|8(?:00[1-9]|[1-49])"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], EG: ["20", "00", "[189]\\d{8,9}|[24-6]\\d{8}|[135]\\d{7}", [8, 9, 10], [["(\\d)(\\d{7,8})", "$1 $2", ["[23]"], "0$1"], ["(\\d{2})(\\d{6,7})", "$1 $2", ["1[35]|[4-6]|8[2468]|9[235-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{8})", "$1 $2", ["1"], "0$1"]], "0"], EH: ["212", "00", "[5-8]\\d{8}", [9], 0, "0", 0, 0, 0, 0, 0, [["528[89]\\d{5}"], ["(?:6(?:[0-79]\\d|8[0-247-9])|7(?:[016-8]\\d|2[0-8]|
170583[01]|5[0-5]))\\d{6}"], ["80[0-7]\\d{6}"], ["89\\d{7}"], 0, 0, 0, 0, ["(?:592(?:4[0-2]|93)|80[89]\\d\\d)\\d{4}"]]], ER: ["291", "00", "[178]\\d{6}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[178]"], "0$1"]], "0"], ES: ["34", "00", "(?:400|[5-9]\\d\\d)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[89]00"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[4-9]"]]]], ET: ["251", "00", "(?:11|[2-57-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-57-9]"], "0$1"]], "0"], FI: ["358", "00|99(?:[01469]|5(?:[14]1|3[23]|5[59]|77|88|9[09]))", "[1-35689]\\d{4}|7\\d{10,11}|(?:[124-7]\\d|3[0-46-9])\\d{8}|[1-9]\\d{5,8}", [5, 6, 7, 8, 9, 10, 11, 12], [["(\\d{5})", "$1", ["20[2-59]"], "0$1"], ["(\\d{3})(\\d{3,7})", "$1 $2", ["(?:[1-3]0|[68])0|70[07-9]"], "0$1"], ["(\\d{2})(\\d{4,8})", "$1 $2", ["[14]|2[09]|50|7[135]"], "0$1"], ["(\\d{2})(\\d{6,10})", "$1 $2", ["7"], "0$1"], ["(\\d)(\\d{4,9})", "$1 $2", ["(?:19|[2568])[1-8]|3(?:0[1-9]|[1-9])|9"], "0$1"]], "0", 0, 0, 0, 0, "1[03-79]|[2-9]", 0, "00"], FJ: ["679", "0(?:0|52)", "45\\d{5}|(?:0800\\d|[235-9])\\d{6}", [7, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|45"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]]], 0, 0, 0, 0, 0, 0, 0, "00"], FK: ["500", "00", "[2-7]\\d{4}", [5]], FM: ["691", "00", "(?:[39]\\d\\d|820)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[389]"]]]], FO: ["298", "00", "[2-9]\\d{5}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-9]"]]], 0, 0, "(10(?:01|[12]0|88))"], FR: ["33", "00", "[1-9]\\d{8}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0 $1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[1-79]"], "0$1"]], "0"], GA: ["241", "00", "(?:[067]\\d|11)\\d{6}|[2-7]\\d{6}", [7, 8], [["(\\d)(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-7]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["11|[67]"], "0$1"]], 0, 0, "0(11\\d{6}|60\\d{6}|61\\d{6}|6[256]\\d{6}|7[467]\\d{6})", "$1"], GB: ["44", "00", "[1-357-9]\\d{9}|[18]\\d{8}|8\\d{6}", [7, 9, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["800", "8001", "80011", "800111", "8001111"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["845", "8454", "84546", "845464"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["800"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["1(?:38|5[23]|69|76|94)", "1(?:(?:38|69)7|5(?:24|39)|768|946)", "1(?:3873|5(?:242|39[4-6])|(?:697|768)[347]|9467)"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["1(?:[2-69][02-9]|[78])"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[25]|7(?:0|6[02-9])", "[25]|7(?:0|6(?:[03-9]|2[356]))"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1389]"], "0$1"]], "0", 0, "0|180020", 0, 0, 0, [["(?:1(?:1(?:3(?:[0-58]\\d\\d|73[0-5])|4(?:(?:[0-5]\\d|70)\\d|69[7-9])|(?:(?:5[0-26-9]|[78][0-49])\\d|6(?:[0-4]\\d|5[01]))\\d)|(?:2(?:(?:0[024-9]|2[3-9]|3[3-79]|4[1-689]|[58][02-9]|6[0-47-9]|7[013-9]|9\\d)\\d|1(?:[0-7]\\d|8[0-3]))|(?:3(?:0\\d|1[0-8]|[25][02-9]|3[02-579]|[468][0-46-9]|7[1-35-79]|9[2-578])|4(?:0[03-9]|[137]\\d|[28][02-57-9]|4[02-69]|5[0-8]|[69][0-79])|5(?:0[1-35-9]|[16]\\d|2[024-9]|3[015689]|4[02-9]|5[03-9]|7[0-35-9]|8[0-468]|9[0-57-9])|6(?:0[034689]|1\\d|2[0-35689]|[38][013-9]|4[1-467]|5[0-69]|6[13-9]|7[0-8]|9[0-24578])|7(?:0[0246-9]|2\\d|3[0236-8]|4[03-9]|5[0-46-9]|6[013-9]|7[0-35-9]|8[024-9]|9[02-9])|8(?:0[35-9]|2[1-57-9]|3[02-578]|4[0-578]|5[124-9]|6[2-69]|7\\d|8[02-9]|9[02569])|9(?:0[02-589]|[18]\\d|2[02-689]|3[1-57-9]|4[2-9]|5[0-579]|6[2-47-9]|7[0-24578]|9[2-57]))\\d)\\d)|2(?:0[013478]|3[0189]|4[017]|8[0-46-9]|9[0-2])\\d{3})\\d{4}|1(?:2(?:0(?:46[1-4]|87[2-9])|545[1-79]|76(?:2\\d|3[1-8]|6[1-6])|9(?:7(?:2[0-4]|3[2-5])|8(?:2[2-8]|7[0-47-9]|8[3-5])
17058))|3(?:6(?:38[2-5]|47[23])|8(?:47[04-9]|64[0157-9]))|4(?:044[1-7]|20(?:2[23]|8\\d)|6(?:0(?:30|5[2-57]|6[1-8]|7[2-8])|140)|8(?:052|87[1-3]))|5(?:2(?:4(?:3[2-79]|6\\d)|76\\d)|6(?:26[06-9]|686))|6(?:06(?:4\\d|7[4-79])|295[5-7]|35[34]\\d|47(?:24|61)|59(?:5[08]|6[67]|74)|9(?:55[0-4]|77[23]))|7(?:26(?:6[13-9]|7[0-7])|(?:442|688)\\d|50(?:2[0-3]|[3-68]2|76))|8(?:27[56]\\d|37(?:5[2-5]|8[239])|843[2-58])|9(?:0(?:0(?:6[1-8]|85)|52\\d)|3583|4(?:66[1-8]|9(?:2[01]|81))|63(?:23|3[1-4])|9561))\\d{3}", [9, 10]], ["7(?:457[0-57-9]|700[01]|911[028])\\d{5}|7(?:[1-3]\\d\\d|4(?:[0-46-9]\\d|5[0-689])|5(?:0[0-8]|[13-9]\\d|2[0-35-9])|7(?:0[1-9]|[1-7]\\d|8[02-9]|9[0-689])|8(?:[014-9]\\d|[23][0-8])|9(?:[024-9]\\d|1[02-9]|3[0-689]))\\d{6}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[2-49]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]], 0, " x"], GD: ["1", "011", "(?:473|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "473$1", 0, "473"], GE: ["995", "00", "(?:[3-57]\\d\\d|800)\\d{6}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["32"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[57]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[348]"], "0$1"]], "0"], GF: ["594", "00", "(?:694\\d|7093)\\d{5}|(?:59|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]|80[6-9]|9[47]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[89]"], "0$1"]], "0"], GG: ["44", "00", "(?:1481|[357-9]\\d{3})\\d{6}|8\\d{6}(?:\\d{2})?", [7, 9, 10], 0, "0", 0, "([25-9]\\d{5})$|0|180020", "1481$1", 0, 0, [["1481[25-9]\\d{5}", [10]], ["7(?:(?:781|839)\\d|911[17])\\d{5}", [10]], ["80[08]\\d{7}|800\\d{6}|8001111"], ["(?:8(?:4[2-5]|7[0-3])|9(?:[01]\\d|8[0-3]))\\d{7}|845464\\d", [7, 10]], ["70\\d{8}", [10]], 0, ["(?:3[0347]|55)\\d{8}", [10]], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}", [10]], ["56\\d{8}", [10]]]], GH: ["233", "00", "[235]\\d{8}|800\\d{5,6}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2358]"], "0$1"]], "0"], GI: ["350", "00", "(?:[25]\\d|60)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["2"]]]], GL: ["299", "00", "(?:19|[2-689]\\d|70)\\d{4}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["19|[2-9]"]]]], GM: ["220", "00", "[48]\\d{8}|[2-9]\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[235-9]|4(?:[0-35]|4[16-9])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[48]"]]]], GN: ["224", "00", "722\\d{6}|(?:3|6\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["3"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[67]"]]]], GP: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|80[6-9]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[1-68]|[14][0-24-9]|2[0-68]|3[1-9]|5[3-579]|[68][0-689]|7[08]|9\\d)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], GQ: ["240", "00", "222\\d{6}|(?:3\\d|55|[89]0)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235]"]], ["(\\d{3})(\\d{6})", "$1 $2", ["[89]"]]]], GR: ["30", "00", "5005000\\d{3}|8\\d{9,11}|(?:[269]\\d|70)\\d{8}", [10, 11, 12], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["21|7"]], ["(\\d{4})(\\d{6})", "$1 $2", ["2(?:2|3[2-57-9]|4[2-469]|5[2-59]|6[2-9]|7[2-69]|8[2-49])|5"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2689]"]], ["(\\d{3})(\\d{3,4})(\\d{5})", "$1 $2 $3", ["8"]]]], GT: ["502", "00", "80\\d{6}|(?:1\\d{3}|[2-7])\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[2-8]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], GU: ["1", "011", "(?:[58]\\d\\d|671|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "671$1", 0, "671"], GW: ["245", "00", "[49]\\d{8}|4\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["40"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"]]]], GY: ["592", "001", "(?:[2-8]\\d{3}|9008)\\d{3}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], HK: ["852", "00(?:30|5[09]|[126-9]?)", "8[0-46-9]\\d{6,7}|9\\d{4,7}|(?:[2-7]|9\\d{3})\\d{7}", [5, 6, 7, 8, 9, 11], [["(\\d{3})(\\d{2,5})", "$1 $2", ["900", "9003"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[2-7]|8[1-4]|9(?:0[1-9]|[1-8])"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{3})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["9"]]], 0, 0, 0, 0, 0, 0, 0, "00"], HN: ["504", "00", "8\\d{10}|[237-9]\\d{7}", [8, 11], [["(\\d{4})(\\d{4})", "$1-$2", ["[237-9]"]]]], HR: ["385", "00", "[2-69]\\d{8}|80\\d{5,7}|[1-79]\\d{7}|6\\d{6}", [7, 8, 9], [["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["6[01]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{4})(\\d{3})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6|7[245]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-57]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"]], "0"], HT: ["509", "00", "[2-589]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["[2-589]"]]]], HU: ["36", "00", "[235-7]\\d{8}|[1-9]\\d{7}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27][2-9]|3[2-7]|4[24-9]|5[2-79]|6|8[2-57-9]|9[2-69]"], "(06 $1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "06 $1"]], "06"], ID: ["62", "00[89]", "00[1-9]\\d{9,14}|(?:[1-36]|8\\d{5})\\d{6}|00\\d{9}|[1-9]\\d{8,10}|[2-9]\\d{7}", [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["15"]], ["(\\d{2})(\\d{5,9})", "$1 $2", ["2[124]|[36]1"], "(0$1)"], ["(\\d{3})(\\d{5,7})", "$1 $2", ["800"], "0$1"], ["(\\d{3})(\\d{5,8})", "$1 $2", ["[2-79]"], "(0$1)"], ["(\\d{3})(\\d{3,4})(\\d{3})", "$1-$2-$3", ["8[1-35-9]"], "0$1"], ["(\\d{3})(\\d{6,8})", "$1 $2", ["1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["804"], "0$1"], ["(\\d{3})(\\d)(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["80"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1-$2-$3", ["8"], "0$1"]], "0"], IE: ["353", "00", "(?:1\\d|[2569])\\d{6,8}|4\\d{6,9}|7\\d{8}|8\\d{8,9}", [7, 8, 9, 10], [["(\\d{2})(\\d{5})", "$1 $2", ["2[24-9]|47|58|6[237-9]|9[35-9]"], "(0$1)"], ["(\\d{3})(\\d{5})", "$1 $2", ["[45]0"], "(0$1)"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2569]|4[1-69]|7[14]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["70"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["81"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["4"], "(0$1)"], ["(\\d{2})(\\d)(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], IL: ["972", "0(?:0|1(?:05|[2-9]))", "1\\d{6}(?:\\d{3,5})?|[57]\\d{8}|[1-489]\\d{7}", [7, 8, 9, 10, 11, 12], [["(\\d{4})(\\d{3})", "$1-$2", ["125"]], ["(\\d{4})(\\d{2})(\\d{2})", "$1-$2-$3", ["121"]], ["(\\d)(\\d{3})(\\d{4})", "$1-$2-$3", ["[2-489]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1-$2-$3", ["12"]], ["(\\d{4})(\\d{6})", "$1-$2", ["159"]], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3-$4", ["1[7-9]"]], ["(\\d{3})(\\d{1,2})(\\d{3})(\\d{4})", "$1-$2 $3-$4", ["15"]]], "0"], IM: ["44", "00", "1624\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([25-8]\\d{5})$|0|180020", "1624$1", 0, "74576|(?:16|7[56])24"], IN: ["91", "00", "(?:000800|[2-9]\\d\\d)\\d{7}|1\\d{7,12}", [8, 9, 10, 11, 12, 13], [["(\\d{8})", "$1", ["5(?:0|2[23]|3[03]|[67]1|88)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|888)", "5(?:0|2(?:21|3)|3(?:0|3[23])|616|717|8888)"], 0, 1], ["(\\d{4})(\\d{4,5})", "$1 $2", ["180", "1800"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["140"], 0, 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["11|2[02]|33|4[04]|79[1-6]|80[2-46]", "11|2[02]|33|4[04]|79[1-6]|80(?:[2-4]|6[0-589])", "11|2[02]|33|4[04]|79(?:[124-6]|3(?:[02-9]|1[0-24-9
vendor: 23,354 bytes, line 17058
17058]))|80(?:[2-4]|6[0-589])"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1(?:2[0-249]|3[0-25]|4[145]|[68]|7[1257])|2(?:1[257]|3[013]|4[01]|5[0137]|6[0158]|78|8[1568])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|5[12]|[78]1)|6(?:12|[2-4]1|5[17]|6[13]|80)|7(?:12|3[134]|61|88)|8(?:16|2[014]|3[126]|6[136]|7[078]|8[34]|91)|(?:43|59|75)[15]|(?:1[59]|29|67)[14]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|674|7(?:(?:3[34]|5[15])[2-6]|61[346]|88[0-8])|8(?:70[2-6]|84[235-7]|91[3-7])|(?:1(?:29|60|8[06])|261|552|6(?:12|[2-47]1|5[17]|6[13]|80)|7(?:12|31)|8(?:16|2[014]|3[126]|6[136]|7[78]|83))[2-7]", "1(?:2[0-24]|3[0-25]|4[145]|[59][14]|6[1-9]|7[1257]|8[1-57-9])|2(?:1[257]|3[013]|4[01]|5[0137]|6[058]|78|8[1568]|9[14])|3(?:26|4[1-3]|5[34]|6[01489]|7[02-46]|8[159])|4(?:1[36]|2[1-47]|3[15]|5[12]|6[0-26-9]|7[0-24-9]|8[013-57]|9[014-7])|5(?:1[025]|22|[36][25]|4[28]|[578]1|9[15])|6(?:12(?:[2-6]|7[0-8])|74[2-7])|7(?:3171|5[15][2-6]|61[346]|88(?:[2-7]|82))|8(?:70[2-6]|84(?:[2356]|7[19])|91(?:[3-6]|7[19]))|73[134][2-6]|8(?:16|2[014]|3[126]|6[136]|7[78]|83)(?:[2-6]|7[19])|(?:1(?:29|60|8[06])|261|552|6(?:[2-4]1|5[17]|6[13]|7(?:1|4[0189])|80)|7(?:12|88[01]))[2-7]"], "0$1", 1], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2[2457-9]|3[2-5]|4[235-7]|5[2-689]|6[24578]|7[235689]|8[1-6])|7(?:1[013-9]|3[129]|5[29]|6[02-5]|70)|807", "1(?:[2-479]|5[0235-9])|[2-5]|6(?:1[1358]|2(?:[2457]|84|95)|3(?:[2-4]|55)|4[235-7]|5[2-689]|6[24578]|7(?:[23569]|8[0-57-9])|8[1-6])|7(?:1(?:[013-8]|9[6-9])|3(?:17|2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4|5[0-367])|70[13-7])|807[19]", "1(?:[2-479]|5(?:[0236-9]|5[013-9]))|[2-5]|6(?:2(?:84|95)|355|8(?:28[235-7]|3))|73179|807(?:1|9[1-3])|(?:1552|6(?:(?:1[1358]|2[2457]|3[2-4]|4[235-7]|5[2-689]|6[24578])\\d|7(?:[23569]\\d|8[0-57-9])|8(?:[14-6]\\d|2[0-79]))|7(?:1(?:[013-8]\\d|9[6-9])|3(?:2[0-49]|9[2-57])|5(?:2[1-3]|9[0-6])|6(?:0[5689]|2[5-9]|3[02-8]|4\\d|5[0-367])|70[13-7]))[2-7]"], "0$1", 1], ["(\\d{5})(\\d{5})", "$1 $2", ["16|[6-9]"], "0$1", 1], ["(\\d{4})(\\d{2,4})(\\d{4})", "$1 $2 $3", ["18[06]", "18[06]0"], 0, 1], ["(\\d{4})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["18"], 0, 1]], "0"], IO: ["246", "00", "3\\d{6}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["3"]]]], IQ: ["964", "00", "(?:1|7\\d\\d)\\d{7}|[2-6]\\d{7,8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-6]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"]], "0"], IR: ["98", "00", "[1-9]\\d{9}|(?:[1-8]\\d\\d|9)\\d{3,4}", [4, 5, 6, 7, 10], [["(\\d{4,5})", "$1", ["96"], "0$1"], ["(\\d{2})(\\d{4,5})", "$1 $2", ["(?:1[137]|2[13-68]|3[1458]|4[145]|5[1468]|6[16]|7[1467]|8[13467])[12689]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["[1-8]"], "0$1"]], "0"], IS: ["354", "00|1(?:0(?:01|[12]0)|100)", "(?:38\\d|[4-9])\\d{6}", [7, 9], [["(\\d{3})(\\d{4})", "$1 $2", ["[4-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["3"]]], 0, 0, 0, 0, 0, 0, 0, "00"], IT: ["39", "00", "0\\d{5,11}|1\\d{8,10}|3(?:[0-8]\\d{7,10}|9\\d{7,8})|(?:43|55|70)\\d{8}|8\\d{5}(?:\\d{2,4})?", [6, 7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{4,6})", "$1 $2", ["0[26]"]], ["(\\d{3})(\\d{3,6})", "$1 $2", ["0[13-57-9][0159]|8(?:03|4[17]|9[2-5])", "0[13-57-9][0159]|8(?:03|4[17]|9(?:2|3[04]|[45][0-4]))"]], ["(\\d{4})(\\d{2,6})", "$1 $2", ["0(?:[13-579][2-46-8]|8[236-8])"]], ["(\\d{4})(\\d{4})", "$1 $2", ["894"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[26]|5"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["1(?:44|[679])|[378]|43"]], ["(\\d{3})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["0[13-57-9][0159]|14"]], ["(\\d{2})(\\d{4})(\\d{5})", "$1 $2 $3", ["0[26]"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[03]"]]], 0, 0, 0, 0, 0, 0, [["0(?:669[0-79]\\d{1,6}|831\\d{2,8})|0(?:1(?:[0159]\\d|[27][1-5]|31|4[1-4]|6[1356]|8[2-57])|2\\d\\d|3(?:[0159]\\d|2[1-4]|3[12]|[48][1-6]|6[2-59]|7[1-7])|4(?:[0159]\\d|[23][1-9]|4[245]|6[1-5]|7[1-4]|81)|5(?:[0159]\\d|2[1-5]|3[2-6]|4[1-79]|6[4-6]|7[1-578]|8[3-8])|6(?:[0-57-9]\\d|6[0-8])|7(?:[0159]\\d|2[12]|3[1-7]|4[2-46]|6[13569]|7[13-6]|8[1-59])|8(?:[0159]\\d|2[3-578]|3[2356]|[6-8][1-5])|9(?:[0159]\\d|[238][1-5]|4[12]|6[1-8]|7[1-6]))\\d{2,7}"], ["3[2-9]\\d{7,8}|(?:31|43)\\d{8}", [9, 10]], ["80(?:0\\d{3}|3)\\d{3}", [6, 9]], ["(?:0878\\d{3}|89(?:2\\d|3[04]|4(?:[0-4]|[5-9]\\d\\d)|5[0-4]))\\d\\d|(?:1(?:44|6[346])|89(?:38|5[5-9]|9))\\d{6}", [6, 8, 9, 10]], ["1(?:78\\d|99)\\d{6}", [9, 10]], ["3[2-8]\\d{9,10}", [11, 12]], 0, 0, ["55\\d{8}", [10]], ["84(?:[08]\\d{3}|[17])\\d{3}", [6, 9]]]], JE: ["44", "00", "1534\\d{6}|(?:[3578]\\d|90)\\d{8}", [10], 0, "0", 0, "([0-24-8]\\d{5})$|0|180020", "1534$1", 0, 0, [["1534[0-24-8]\\d{5}"], ["7(?:(?:(?:50|82)9|937)\\d|7(?:00[378]|97\\d))\\d{5}"], ["80(?:07(?:35|81)|8901)\\d{4}"], ["(?:8(?:4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|90(?:066[59]|1810|71(?:07|55)))\\d{4}"], ["701511\\d{4}"], 0, ["(?:3(?:0(?:07(?:35|81)|8901)|3\\d{4}|4(?:4(?:4(?:05|42|69)|703)|5(?:041|800))|7(?:0002|1206))|55\\d{4})\\d{4}"], ["76(?:464|652)\\d{5}|76(?:0[0-28]|2[356]|34|4[01347]|5[49]|6[0-369]|77|8[14]|9[139])\\d{6}"], ["56\\d{8}"]]], JM: ["1", "011", "(?:[58]\\d\\d|658|900)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "658|876"], JO: ["962", "00", "(?:(?:[2689]|7\\d)\\d|32|427|53)\\d{6}", [8, 9], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2356]|87"], "(0$1)"], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["70"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[47]"], "0$1"]], "0"], JP: ["81", "010", "00[1-9]\\d{6,14}|[25-9]\\d{9}|(?:00|[1-9]\\d\\d)\\d{6}", [8, 9, 10, 11, 12, 13, 14, 15, 16, 17], [["(\\d{3})(\\d{3})(\\d{3})", "$1-$2-$3", ["(?:12|57|99)0"], "0$1"], ["(\\d{4})(\\d)(\\d{4})", "$1-$2-$3", ["1(?:26|3[79]|4[56]|5[4-68]|6[3-5])|499|5(?:76|97)|746|8(?:3[89]|47|51)|9(?:80|9[16])", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:76|97)9|7468|8(?:3(?:8[7-9]|96)|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]", "1(?:267|3(?:7[247]|9[278])|466|5(?:47|58|64)|6(?:3[245]|48|5[4-68]))|499[2468]|5(?:769|979[2-69])|7468|8(?:3(?:8[7-9]|96[2457-9])|477|51[2-9])|9(?:802|9(?:1[23]|69))|1(?:45|58)[67]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["60"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2-$3", ["3|4(?:2[09]|7[01])|6[1-9]", "3|4(?:2(?:0|9[02-69])|7(?:0[019]|1))|6[1-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["1(?:1|5[45]|77|88|9[69])|2(?:2[1-37]|3[0-269]|4[59]|5|6[24]|7[1-358]|8[1369]|9[0-38])|4(?:[28][1-9]|3[0-57]|[45]|6[248]|7[2-579]|9[29])|5(?:2|3[0459]|4[0-369]|5[29]|8[02389]|9[0-389])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9[2-6])|8(?:2[124589]|3[26-9]|49|51|6|7[0-468]|8[68]|9[019])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9[1-489])", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2(?:[127]|3[014-9])|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9[19])|62|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|8[1-9]|9[29])|5(?:2|3(?:[045]|9[0-8])|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0-2469])|3(?:[29]|60)|49|51|6(?:[0-24]|36|5[0-3589]|7[23]|9[01459])|7[0-468]|8[68])|9(?:[23][1-9]|4[15]|5[138]|6[1-3]|7[156]|8[189]|9(?:[1289]|3[34]|4[0178]))|(?:264|837)[016-9]|2(?:57|93)[015-9]|(?:25[0468]|422|838)[01]|(?:47[59]|59[89]|8(?:6[68]|9))[019]", "1(?:1|5(?:4[018]|5[017])|77|88|9[69])|2(?:2[127]|3[0-269]|4[59]|5(?:[1-3]|5[0-69]|9(?:17|99))|6(?:2|4[016-9])|7(?:[1-35]|8[0189])|8(?:[16]|3[0134]|9[0-5])|9(?:[028]|17))|4(?:2(?:[13-79]|8[014-6])|3[0-57]|[45]|6[248]|7[2-47]|9[29])|5(?:2|3(?:[045]|9(?:[0-58]|6[4-9]|7[0-35689]))|4[0-369]|5[29]|8[02389]|9[0-3])|7(?:2[02-46-9]|34|[58]|6[0249]|7[57]|9(?:[23]|4[0-59]|5[01569]|6[0167]))|8(?:2(?:[1258]|4[0-39]|9[0169])|3(?:[29]|60|7(?:[017-9]|6[6-8]))|49|51|6(?:[0-24]|36[2-57-9]|5(?:[0-389]|5[23])|6(?:[01]|9[178])|7(?:2[2-468]|3[78])|9[0145])|7[0-468]|8[68])|9(?:4[15]|5[138]|7[156]|8[189]|9(?:[1289]|3(?:31|4[357])|4[0178]))|(?:8294|96)[1-3]|2(?:57|93)[015-9]|(?:223|8699)[014-9]|(?:25[0468]|422|838)[01]|(?:48|8292|9[23])[1-9]|(?:47[59]|59[89]|8(?:68|9))[019]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3", ["[14]|[289][2-9]|5[3-9]|7[2-4679]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2-$3", ["800"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[25-9]"], "0$1"]], "0", 0, "(000[2569]\\d{4,6})$|(?:(?:003768)0?)|0", "$1"], KE: ["254", "000", "(?:[17]\\d\\d|900)\\d{6}|(?:2|80)0\\d{6,7}|[4-6]\\d{6,8}", [7, 8, 9, 10], [["(\\d{2})(\\d{5,7})", "$1 $2", ["[24-6]"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["[17]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0"], KG: ["996", "00", "8\\d{9}|[235-9]\\d{8}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["3(?:1[346]|[24-79])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-79]|88"], "0$1"], ["(\\d{3})(\\d{3})(\\d)(\\d{2,3})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], KH: ["855", "00[14-9]", "1\\d{9}|[1-9]\\d{7,8}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], KI: ["686", "00", "(?:[37]\\d|6[0-79])\\d{6}|(?:[2-48]\\d|50)\\d{3}", [5, 8], 0, "0"], KM: ["269", "00", "[3478]\\d{6}", [7], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[3478]"]]]], KN: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "869$1", 0, "869"], KP: ["850", "00|99", "85\\d{6}|(?:19\\d|[2-7])\\d{7}", [8, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-7]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"]], "0"], KR: ["82", "00(?:[125689]|3(?:[46]5|91)|7(?:00|27|3|55|6[126]))", "00[1-9]\\d{8,11}|(?:[12]|5\\d{3})\\d{7}|[13-6]\\d{9}|(?:[1-6]\\d|80)\\d{7}|[3-6]\\d{4,5}|(?:00|7)0\\d{8}", [5, 6, 8, 9, 10, 11, 12, 13, 14], [["(\\d{2})(\\d{3,4})", "$1-$2", ["(?:3[1-3]|[46][1-4]|5[1-5])1"], "0$1"], ["(\\d{4})(\\d{4})", "$1-$2", ["1"]], ["(\\d)(\\d{3,4})(\\d{4})", "$1-$2-$3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1-$2-$3", ["[36]0|8"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1-$2-$3", ["[1346]|5[1-5]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2-$3", ["[57]"], "0$1"], ["(\\d{2})(\\d{5})(\\d{4})", "$1-$2-$3", ["5"], "0$1"]], "0", 0, "0(8(?:[1-46-8]|5\\d\\d))?"], KW: ["965", "00", "18\\d{5}|(?:[2569]\\d|41)\\d{6}", [7, 8], [["(\\d{4})(\\d{3,4})", "$1 $2", ["[169]|2(?:[235]|4[1-35-9])|52"]], ["(\\d{3})(\\d{5})", "$1 $2", ["[245]"]]]], KY: ["1", "011", "(?:345|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "345$1", 0, "345"], KZ: ["7", "810", "8\\d{13}|[78]\\d{9}", [10, 14], 0, "8", 0, 0, 0, 0, "7", 0, "8~10"], LA: ["856", "00", "[23]\\d{9}|3\\d{8}|(?:[235-8]\\d|41)\\d{6}", [8, 9, 10], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2[13]|3[14]|[4-8]"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["3"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0"], LB: ["961", "00", "[27-9]\\d{7}|[13-9]\\d{6}", [7, 8], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[13-69]|7(?:[2-57]|62|8[0-6]|9[04-9])|8[02-9]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[27-9]"]]], "0"], LC: ["1", "011", "(?:[58]\\d\\d|758|900)\\d{7}", [10], 0, "1", 0, "([2-8]\\d{6})$|1", "758$1", 0, "758"], LI: ["423", "00", "[68]\\d{8}|(?:[2378]\\d|90)\\d{5}", [7, 9], [["(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2379]|8(?:0[09]|7)", "[2379]|8(?:0(?:02|9)|7)"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["69"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]]], "0", 0, "(1001)|0"], LK: ["94", "00", "[1-9]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[1-689]"], "0$1"]], "0"], LR: ["231", "00", "(?:[2457]\\d|33|88)\\d{7}|(?:2\\d|[4-6])\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["4[67]|[56]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-578]"], "0$1"]], "0"], LS: ["266", "00", "(?:[256]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2568]"]]]], LT: ["370", "00", "(?:[3469]\\d|52|[78]0)\\d{6}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["52[0-7]"], "(0-$1)", 1], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0 $1", 1], ["(\\d{2})(\\d{6})", "$1 $2", ["37|4(?:[15]|6[1-8])"], "(0-$1)", 1], ["(\\d{3})(\\d{5})", "$1 $2", ["[3-6]"], "(0-$1)", 1]], "0", 0, "[08]"], LU: ["352", "00", "35[013-9]\\d{4,8}|6\\d{8}|35\\d{2,4}|(?:[2457-9]\\d|3[0-46-9])\\d{2,9}", [4, 5, 6, 7, 8, 9, 10, 11], [["(\\d{2})(\\d{3})", "$1 $2", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["2(?:0[2-689]|[2-9])|[3-57]|8(?:0[2-9]|[13-9])|9(?:0[89]|[2-579])"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["20[2-689]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4", ["20"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{1,5})", "$1 $2 $3 $4", ["[3-57]|8[13-9]|9(?:0[89]|[2-579])|(?:2|80)[2-9]"]], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["80[01]|90[015]"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3 $4", ["20"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})(\\d{1,2})", "$1 $2 $3 $4 $5", ["20"]]], 0, 0, "(15(?:0[06]|1[12]|[35]5|4[04]|6[26]|77|88|99)\\d)"], LV: ["371", "00", "(?:[268]\\d|78|90)\\d{6}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2679]|8[01]"]]]], LY: ["218", "00", "[2-9]\\d{8}", [9], [["(\\d{2})(\\d{7})", "$1-$2", ["[2-9]"], "0$1"]], "0"], MA: ["212", "00", "[5-8]\\d{8}", [9], [["(\\d{4})(\\d{5})", "$1-$2", ["892"], "0$1"], ["(\\d{2})(\\d{7})", "$1-$2", ["8(?:0[0-7]|9)"], "0$1"], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[5-8]"], "0$1"]], "0", 0, 0, 0, 0, "[5-8]"], MC: ["377", "00", "(?:[3489]|[67]\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["4"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[389]"]], ["(\\d)(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4 $5", ["[67]"], "0$1"]], "0"], MD: ["373", "00", "(?:[235-7]\\d|[89]0)\\d{6}", [8], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["22|3"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["[25-7]"], "0$1"]], "0"], ME: ["382", "00", "(?:20|[3-79]\\d)\\d{6}|80\\d{6,7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[2-9]"], "0$1"]], "0"], MF: ["590", "00", "7090\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["(?:59(?:0(?:0[079]|[14]3|[27][79]|3[03-7]|5[0-268]|87)|87\\d)|80[6-9]\\d\\d)\\d{4}"], ["(?:69(?:0\\d\\d|1(?:2[2-9]|3[0-5]))|7090[0-4])\\d{4}"], ["80[0-5]\\d{6}"], ["8[129]\\d{7}"], 0, 0, 0, 0, ["9(?:(?:39[5-7]|76[018])\\d|475[0-6])\\d{4}"]]], MG: ["261", "00", "[23]\\d{8}", [9], [["(\\d{2})(\\d{2})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["[23]"], "0$1"]], "0", 0, "([24-9]\\d{6})$|0", "20$1"], MH: ["692", "011", "329\\d{4}|(?:[256]\\d|45)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1-$2", ["[2-6]"]]], "1"], MK: ["389", "00", "[2-578]\\d{7}", [8], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2|34[47]|4(?:[37]7|5[47]|64)"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[347]"], "0$1"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[58]"], "0$1"]], "0"], ML: ["223", "00", "[24-9]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24-9]"]]]], MM: ["95", "00", "1\\d{5,7}|95\\d{6}|(?:[4-7]|9[0-46-9])\\d{6,8}|(?:2|8\\d)\\d{5,8}", [6, 7, 8, 9, 10], [["(\\d)(\\d{2})(\\d{3})", "$1 $2 $3", ["16|2"], "0$1"], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["4(?:[2-46]|5[3-5])|5|6(?:[1-689]|7[235-7])|7(?:[0-4]|5[2-7])|8[1-5]|(?:60|86)[23]"], "0$1"], ["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[12]|452|678|86", "[12]|452|6788|86"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[4-7]|8[1-35]"], "0$1"], ["(\\d)(\\d{3})(\\d{4,6})", "$1 $2 $3", ["9(?:2[0-4]|[35-9]|4[137-9])"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["92"], "0$1"], ["(\\d)(\\d{5})(\\d{4})", "$1 $2 $3", ["9"], "0$1"]], "0"], MN: ["976", "001", "[12]\\d{7,9}|[5-9]\\d{7}", [8, 9, 10], [["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["11|2[16]"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[5-9]"]], ["(\\d{3})(\\d{5,6})", "$1 $2", ["[12]2[1-3]"], "0$1"], ["(\\d{4})(\\d{5,6})", "$1 $2", ["[12](?:27|3[2-8]|4[2-68]|5[1-4689])", "[12](?:27|3[2-8]|4[2-68]|5[1-4689])[0-3]"], "0$1"], ["(\\d{5})(\\d{4,5})", "$1 $2", ["[12]"], "0$1"]], "0"], MO: ["853", "00", "0800\\d{3}|(?:28|[68]\\d)\\d{6}", [7, 8], [["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[268]"]]]], MP: ["1", "011", "[58]\\d{9}|(?:67|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "670$1", 0, "670"], MQ: ["596", "00", "7091\\d{5}|(?:[56]9|[89]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-79]|8(?:0[6-9]|[36])"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], MR: ["222", "00", "(?:[2-4]\\d\\d|800)\\d{5}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-48]"]]]], MS: ["1", "011", "(?:[58]\\d\\d|664|900)\\d{7}", [10], 0, "1", 0, "([34]\\d{6})$|1", "664$1", 0, "664"], MT: ["356", "00", "3550\\d{4}|(?:[2579]\\d\\d|800)\\d{5}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[2357-9]"]]]], MU: ["230", "0(?:0|[24-7]0|3[03])", "(?:[57]|8\\d\\d)\\d{7}|[2-468]\\d{6}", [7, 8, 10], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-46]|8[013]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[57]"]], ["(\\d{5})(\\d{5})", "$1 $2", ["8"]]], 0, 0, 0, 0, 0, 0, 0, "020"], MV: ["960", "0(?:0|19)", "(?:800|9[0-57-9]\\d)\\d{7}|[34679]\\d{6}", [7, 10], [["(\\d{3})(\\d{4})", "$1-$2", ["[34679]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MW: ["265", "00", "(?:[1289]\\d|31|77)\\d{7}|1\\d{6}", [7, 9], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["1[2-9]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-37-9]"], "0$1"]], "0"], MX: ["52", "0[09]", "[2-9]\\d{9}", [10], [["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["33|5[56]|81"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[2-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], MY: ["60", "00", "1\\d{8,9}|(?:3\\d|[4-9])\\d{7}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1-$2 $3", ["[4-79]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1-$2 $3", ["1(?:[02469]|[378][1-9]|53)|8", "1(?:[02469]|[37][1-9]|53|8(?:[1-46-9]|5[7-9]))|8"], "0$1"], ["(\\d)(\\d{4})(\\d{4})", "$1-$2 $3", ["3"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{4})", "$1-$2-$3-$4", ["1(?:[367]|80)"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1-$2 $3", ["15"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4})", "$1-$2 $3", ["1"], "0$1"]], "0"], MZ: ["258", "00", "(?:2|8\\d)\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2|8[2-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["8"]]]], NA: ["264", "00", "[68]\\d{7,8}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["88"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["87"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], NC: ["687", "00", "(?:050|[2-57-9]\\d\\d)\\d{3}", [6], [["(\\d{2})(\\d{2})(\\d{2})", "$1.$2.$3", ["[02-57-9]"]]]], NE: ["227", "00", "[027-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["08"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[089]|2[013]|7[0467]"]]]], NF: ["672", "00", "[13]\\d{5}", [6], [["(\\d{2})(\\d{4})", "$1 $2", ["1[0-3]"]], ["(\\d)(\\d{5})", "$1 $2", ["[13]"]]], 0, 0, "([0-258]\\d{4})$", "3$1"], NG: ["234", "009", "(?:20|9\\d)\\d{8}|[78]\\d{9,13}", [10, 11, 12, 13, 14], [["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[7-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["20[129]"], "0$1"], ["(\\d{4})(\\d{2})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{3})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["[78]"], "0$1"], ["(\\d{3})(\\d{5})(\\d{5,6})", "$1 $2 $3", ["[78]"], "0$1"]], "0"], NI: ["505", "00", "(?:1800|[25-8]\\d{3})\\d{4}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[125-8]"]]]], NL: ["31", "00", "(?:[124-7]\\d\\d|3(?:[02-9]\\d|1[0-8]))\\d{6}|8\\d{6,9}|9\\d{6,10}|1\\d{4,5}", [5, 6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{4,7})", "$1 $2", ["[89]0"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["66"], "0$1"], ["(\\d)(\\d{8})", "$1 $2", ["6"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["1[16-8]|2[259]|3[124]|4[17-9]|5[124679]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-578]|91"], "0$1"], ["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3", ["9"], "0$1"]], "0"], NO: ["47", "00", "(?:0|[2-9]\\d{3})\\d{4}", [5, 8], [["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["8"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[2-79]"]]], 0, 0, 0, 0, 0, "[02-689]|7[0-8]"], NP: ["977", "00", "(?:1\\d|9)\\d{9}|[1-9]\\d{7}", [8, 10, 11], [["(\\d)(\\d{7})", "$1-$2", ["1[2-6]"], "0$1"], ["(\\d{2})(\\d{6})", "$1-$2", ["1[01]|[2-8]|9(?:[1-59]|[67][2-6])"], "0$1"], ["(\\d{3})(\\d{7})", "$1-$2", ["9"]]], "0"], NR: ["674", "00", "(?:222|444|(?:55|8\\d)\\d|666|777|999)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[24-9]"]]]], NU: ["683", "00", "(?:[4-7]|888\\d)\\d{3}", [4, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["8"]]]], NZ: ["64", "0(?:0|161)", "[1289]\\d{9}|50\\d{5}(?:\\d{2,3})?|[27-9]\\d{7,8}|(?:[34]\\d|6[0-35-9])\\d{6}|8\\d{4,6}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,8})", "$1 $2", ["8[1-79]"], "0$1"], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["50[036-8]|8|90", "50(?:[0367]|88)|8|90"], "0$1"], ["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["24|[346]|7[2-57-9]|9[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2(?:10|74)|[589]"], "0$1"], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["1|2[028]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,5})", "$1 $2 $3", ["2(?:[169]|7[0-35-9])|7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "00"], OM: ["968", "00", "(?:1505|[279]\\d{3}|500)\\d{4}|800\\d{5,6}", [7, 8, 9], [["(\\d{3})(\\d{4,6})", "$1 $2", ["[58]"]], ["(\\d{2})(\\d{6})", "$1 $2", ["2"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[179]"]]]], PA: ["507", "00", "(?:00800|8\\d{3})\\d{6}|[68]\\d{7}|[1-57-9]\\d{6}", [7, 8, 10, 11], [["(\\d{3})(\\d{4})", "$1-$2", ["[1-57-9]"]], ["(\\d{4})(\\d{4})", "$1-$2", ["[68]"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]]], PE: ["51", "00|19(?:1[124]|77|90)00", "(?:[14-8]|9\\d)\\d{7}", [8, 9], [["(\\d{3})(\\d{5})", "$1 $2", ["80"], "(0$1)"], ["(\\d)(\\d{7})", "$1 $2", ["1"], "(0$1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[4-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"]]], "0", 0, 0, 0, 0, 0, 0, "00", " Anexo "], PF: ["689", "00", "4\\d{5}(?:\\d{2})?|8\\d{7,8}", [6, 8, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["44"]], ["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["4|8[7-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], PG: ["675", "00|140[1-3]", "(?:180|[78]\\d{3})\\d{4}|(?:[2-589]\\d|64)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["18|[2-69]|85
17058[02-46-9]
vendor: 13,634 bytes, line 17058
17058"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[78]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], PH: ["63", "00", "(?:[2-7]|9\\d)\\d{8}|2\\d{5}|(?:1800|8)\\d{7,9}", [6, 8, 9, 10, 11, 12, 13], [["(\\d)(\\d{5})", "$1 $2", ["2"], "(0$1)"], ["(\\d{4})(\\d{4,6})", "$1 $2", ["3(?:23|39|46)|4(?:2[3-6]|[35]9|4[26]|76)|544|88[245]|(?:52|64|86)2", "3(?:230|397|461)|4(?:2(?:35|[46]4|51)|396|4(?:22|63)|59[347]|76[15])|5(?:221|446)|642[23]|8(?:622|8(?:[24]2|5[13]))"], "(0$1)"], ["(\\d{5})(\\d{4})", "$1 $2", ["346|4(?:27|9[35])|883", "3469|4(?:279|9(?:30|56))|8834"], "(0$1)"], ["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["2"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|8[2-8]"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]], ["(\\d{4})(\\d{1,2})(\\d{3})(\\d{4})", "$1 $2 $3 $4", ["1"]]], "0"], PK: ["92", "00", "122\\d{6}|[24-8]\\d{10,11}|9(?:[013-9]\\d{8,10}|2(?:[01]\\d\\d|2(?:[06-8]\\d|1[01]))\\d{7})|(?:[2-8]\\d{3}|92(?:[0-7]\\d|8[1-9]))\\d{6}|[24-9]\\d{8}|[89]\\d{7}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,7})", "$1 $2 $3", ["[89]0"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["1"]], ["(\\d{3})(\\d{6,7})", "$1 $2", ["2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:2[2-8]|3[27-9]|4[2-6]|6[3569]|9[25-8])", "9(?:2[3-8]|98)|(?:2(?:3[2358]|4[2-4]|9[2-8])|45[3479]|54[2-467]|60[468]|72[236]|8(?:2[2-689]|3[23578]|4[3478]|5[2356])|9(?:22|3[27-9]|4[2-6]|6[3569]|9[25-7]))[2-9]"], "(0$1)"], ["(\\d{2})(\\d{7,8})", "$1 $2", ["(?:2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91)[2-9]"], "(0$1)"], ["(\\d{5})(\\d{5})", "$1 $2", ["58"], "(0$1)"], ["(\\d{3})(\\d{7})", "$1 $2", ["3"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["2[125]|4[0-246-9]|5[1-35-7]|6[1-8]|7[14]|8[16]|91"], "(0$1)"], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[24-9]"], "(0$1)"]], "0"], PL: ["48", "00", "(?:6|8\\d\\d)\\d{7}|[1-9]\\d{6}(?:\\d{2})?|[26]\\d{5}", [6, 7, 8, 9, 10], [["(\\d{5})", "$1", ["19"]], ["(\\d{3})(\\d{3})", "$1 $2", ["11|20|64"]], ["(\\d{2})(\\d{2})(\\d{3})", "$1 $2 $3", ["30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])1", "30|(?:1[2-8]|2[2-69]|3[2-4]|4[1-468]|5[24-689]|6[1-3578]|7[14-7]|8[1-79]|9[145])19"]], ["(\\d{3})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["64"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["21|39|45|5[0137]|6[0469]|7[02389]|8(?:0[14]|8)"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[2-8]|[2-7]|8[1-79]|9[145]"]], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["8"]]]], PM: ["508", "00", "[78]\\d{8}|[2-9]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[2-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"], "0$1"]], "0"], PR: ["1", "011", "(?:[589]\\d\\d|787)\\d{7}", [10], 0, "1", 0, 0, 0, 0, "787|939"], PS: ["970", "00", "[2489]2\\d{6}|(?:1\\d|5)\\d{8}", [8, 9, 10], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["[2489]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], PT: ["351", "00", "1693\\d{5}|(?:[26-9]\\d|30)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["2[12]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["16|[236-9]"]]]], PW: ["680", "01[12]", "(?:[24-8]\\d\\d|345|900)\\d{4}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-9]"]]]], PY: ["595", "00", "[36-8]\\d{5,8}|4\\d{6,8}|59\\d{6}|9\\d{5,10}|(?:2\\d|5[0-8])\\d{6,7}", [6, 7, 8, 9, 10, 11], [["(\\d{3})(\\d{3,6})", "$1 $2", ["[2-9]0"], "0$1"], ["(\\d{2})(\\d{5})", "$1 $2", ["3[289]|4[246-8]|61|7[1-3]|8[1-36]"], "(0$1)"], ["(\\d{3})(\\d{4,5})", "$1 $2", ["2[279]|3[13-5]|4[359]|5|6(?:[34]|7[1-46-8])|7[46-8]|85"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["2[14-68]|3[26-9]|4[1246-8]|6(?:1|75)|7[1-35]|8[1-36]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["87"]], ["(\\d{3})(\\d{6})", "$1 $2", ["9(?:[5-79]|8[1-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-8]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["9"]]], "0"], QA: ["974", "00", "800\\d{4}|(?:2|800)\\d{6}|(?:0080|[3-7])\\d{7}", [7, 8, 9, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["2[136]|8"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[3-7]"]]]], RE: ["262", "00", "709\\d{6}|(?:26|[689]\\d)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[26-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, [["2631[0-6]\\d{4}|26(?:2\\d|30|88)\\d{5}"], ["(?:69(?:2\\d\\d|3(?:[06][0-6]|1[0-3]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))|7092[0-3])\\d{4}"], ["80\\d{7}"], ["89[1-37-9]\\d{6}"], 0, 0, 0, 0, ["9(?:399[0-3]|479[0-6]|76(?:2[278]|3[0-37]))\\d{4}"], ["8(?:1[019]|2[0156]|84|90)\\d{6}"]]], RO: ["40", "00", "(?:[236-8]\\d|90)\\d{7}|[23]\\d{5}", [6, 9], [["(\\d{3})(\\d{3})", "$1 $2", ["2[3-6]", "2[3-6]\\d9"], "0$1"], ["(\\d{2})(\\d{4})", "$1 $2", ["219|31"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[23]1"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[236-9]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, " int "], RS: ["381", "00", "38[02-9]\\d{6,9}|6\\d{7,9}|90\\d{4,8}|38\\d{5,6}|(?:7\\d\\d|800)\\d{3,9}|(?:[12]\\d|3[0-79])\\d{5,10}", [6, 7, 8, 9, 10, 11, 12], [["(\\d{3})(\\d{3,9})", "$1 $2", ["(?:2[389]|39)0|[7-9]"], "0$1"], ["(\\d{2})(\\d{5,10})", "$1 $2", ["[1-36]"], "0$1"]], "0"], RU: ["7", "810", "8\\d{13}|[347-9]\\d{9}", [10, 14], [["(\\d{4})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-8]|2[1-9])", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:1[23]|[2-9]2))", "7(?:1(?:[0-356]2|4[29]|7|8[27])|2(?:13[03-69]|62[013-9]))|72[1-57-9]2"], "8 ($1)", 1], ["(\\d{5})(\\d)(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["7(?:1[0-68]|2[1-9])", "7(?:1(?:[06][3-6]|[18]|2[35]|[3-5][3-5])|2(?:[13][3-5]|[24-689]|7[457]))", "7(?:1(?:0(?:[356]|4[023])|[18]|2(?:3[013-9]|5)|3[45]|43[013-79]|5(?:3[1-8]|4[1-7]|5)|6(?:3[0-35-9]|[4-6]))|2(?:1(?:3[178]|[45])|[24-689]|3[35]|7[457]))|7(?:14|23)4[0-8]|71(?:33|45)[1-79]"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "8 ($1)", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[349]|8(?:[02-7]|1[1-8])"], "8 ($1)", 1], ["(\\d{4})(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["8"], "8 ($1)"]], "8", 0, 0, 0, 0, "[3489]", 0, "8~10"], RW: ["250", "00", "(?:06|[27]\\d\\d|[89]00)\\d{6}", [8, 9], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[7-9]"], "0$1"]], "0"], SA: ["966", "00", "(?:[15]\\d|800|92)\\d{7}", [9, 10], [["(\\d{4})(\\d{5})", "$1 $2", ["9"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["5"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]]], "0"], SB: ["677", "0[01]", "[6-9]\\d{6}|[1-6]\\d{4}", [5, 7], [["(\\d{2})(\\d{5})", "$1 $2", ["6[89]|7|8[4-9]|9(?:[1-8]|9[0-8])"]]]], SC: ["248", "010|0[0-2]", "(?:[2489]\\d|64)\\d{5}", [7], [["(\\d)(\\d{3})(\\d{3})", "$1 $2 $3", ["[246]|9[57]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], SD: ["249", "00", "[19]\\d{8}", [9], [["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], SE: ["46", "00", "(?:[26]\\d\\d|9)\\d{9}|[1-9]\\d{8}|[1-689]\\d{7}|[1-4689]\\d{6}|2\\d{5}", [6, 7, 8, 9, 10, 12], [["(\\d{2})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["20"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{4})", "$1-$2", ["9(?:00|39|44|9)"], "0$1", 0, "$1 $2"], ["(\\d{2})(\\d{3})(\\d{2})", "$1-$2 $3", ["[12][136]|3[356]|4[0246]|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3"], ["(\\d)(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2,3})(\\d{2})", "$1-$2 $3", ["1[2457]|2(?:[247-9]|5[0138])|3[0247-9]|4[1357-9]|5[0-35-9]|6(?:[125689]|4[02-57]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3"], ["(\\d{3})(\\d{2,3})(\\d{3})", "$1-$2 $3", ["9(?:00|39|44)"], "0$1", 0, "$1 $2 $3"], ["(\\d{2})(\\d{2,3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["1[13689]|2[0136]|3[1356]|4[0246]|54|6[03]|90[1-9]"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["10|7"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1-$2 $3 $4", ["8"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1-$2 $3 $4", ["[13-5]|2(?:[247-9]|5[0138])|6(?:[124-689]|7[0-2])|9(?:[125-8]|3[02-5]|4[0-3])"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{2})(\\d{3})", "$1-$2 $3 $4", ["9"], "0$1", 0, "$1 $2 $3 $4"], ["(\\d{3})(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1-$2 $3 $4 $5", ["[26]"], "0$1", 0, "$1 $2 $3 $4 $5"]], "0"], SG: ["65", "0[0-3]\\d", "(?:(?:1\\d|8)\\d\\d|7000)\\d{7}|[3689]\\d{7}", [8, 10, 11], [["(\\d{4})(\\d{4})", "$1 $2", ["[369]|8(?:0[1-9]|[1-9])"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"]], ["(\\d{4})(\\d{4})(\\d{3})", "$1 $2 $3", ["7"]], ["(\\d{4})(\\d{3})(\\d{4})", "$1 $2 $3", ["1"]]]], SH: ["290", "00", "(?:[256]\\d|8)\\d{3}", [4, 5], 0, 0, 0, 0, 0, 0, "[256]"], SI: ["386", "00|10(?:22|66|88|99)", "[1-7]\\d{7}|8\\d{4,7}|90\\d{4,6}", [5, 6, 7, 8], [["(\\d{2})(\\d{3,6})", "$1 $2", ["8[09]|9"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["59|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[37][01]|4[013]|51|6"], "0$1"], ["(\\d)(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[1-57]"], "(0$1)"]], "0", 0, 0, 0, 0, 0, 0, "00"], SJ: ["47", "00", "0\\d{4}|(?:[489]\\d|79)\\d{6}", [5, 8], 0, 0, 0, 0, 0, 0, "79"], SK: ["421", "00", "[2-689]\\d{8}|[2-59]\\d{6}|[2-5]\\d{5}", [6, 7, 9], [["(\\d)(\\d{2})(\\d{3,4})", "$1 $2 $3", ["21"], "0$1"], ["(\\d{2})(\\d{2})(\\d{2,3})", "$1 $2 $3", ["[3-5][1-8]1", "[3-5][1-8]1[67]"], "0$1"], ["(\\d)(\\d{3})(\\d{3})(\\d{2})", "$1 $2 $3 $4", ["2"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[689]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[3-5]"], "0$1"]], "0"], SL: ["232", "00", "(?:[237-9]\\d|66)\\d{6}", [8], [["(\\d{2})(\\d{6})", "$1 $2", ["[236-9]"], "(0$1)"]], "0"], SM: ["378", "00", "(?:0549|[5-7]\\d)\\d{6}", [8, 10], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[5-7]"]], ["(\\d{4})(\\d{6})", "$1 $2", ["0"]]], 0, 0, "([89]\\d{5})$", "0549$1"], SN: ["221", "00", "(?:[378]\\d|93)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[379]"]]]], SO: ["252", "00", "[346-9]\\d{8}|[12679]\\d{7}|[1-5]\\d{6}|[1348]\\d{5}", [6, 7, 8, 9], [["(\\d{2})(\\d{4})", "$1 $2", ["8[125]"]], ["(\\d{6})", "$1", ["[134]"]], ["(\\d)(\\d{6})", "$1 $2", ["[15]|2[0-79]|3[0-46-8]|4[0-7]"]], ["(\\d{2})(\\d{5,7})", "$1 $2", ["1|28|9[2-9]"]], ["(\\d)(\\d{7})", "$1 $2", ["[267]|904"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[346-9]"]]], "0"], SR: ["597", "00", "(?:[2-5]|[6-9]\\d)\\d{5}", [6, 7], [["(\\d{2})(\\d{2})(\\d{2})", "$1-$2-$3", ["56"]], ["(\\d{3})(\\d{3})", "$1-$2", ["[2-5]"]], ["(\\d{3})(\\d{4})", "$1-$2", ["[6-9]"]]]], SS: ["211", "00", "[19]\\d{8}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[19]"], "0$1"]], "0"], ST: ["239", "00", "(?:22|9\\d)\\d{5}", [7], [["(\\d{3})(\\d{4})", "$1 $2", ["[29]"]]]], SV: ["503", "00", "[25-7]\\d{7}|(?:80\\d|900)\\d{4}(?:\\d{4})?", [7, 8, 11], [["(\\d{3})(\\d{4})", "$1 $2", ["[89]"]], ["(\\d{4})(\\d{4})", "$1 $2", ["[25-7]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["[89]"]]]], SX: ["1", "011", "7215\\d{6}|(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "(5\\d{6})$|1", "721$1", 0, "721"], SY: ["963", "00", "[1-359]\\d{8}|[1-5]\\d{7}", [8, 9], [["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-4]|5[1-3]"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[59]"], "0$1", 1]], "0"], SZ: ["268", "00", "0800\\d{4}|(?:[237]\\d|900)\\d{6}", [8, 9], [["(\\d{4})(\\d{4})", "$1 $2", ["[0237]"]], ["(\\d{5})(\\d{4})", "$1 $2", ["9"]]]], TA: ["290", "00", "8\\d{3}", [4], 0, 0, 0, 0, 0, 0, "8"], TC: ["1", "011", "(?:[58]\\d\\d|649|900)\\d{7}", [10], 0, "1", 0, "([2-479]\\d{6})$|1", "649$1", 0, "649"], TD: ["235", "00|16", "(?:22|[3689]\\d|77)\\d{6}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[236-9]"]]], 0, 0, 0, 0, 0, 0, 0, "00"], TG: ["228", "00", "[279]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[279]"]]]], TH: ["66", "00[1-9]", "(?:001800|[2-57]|[689]\\d)\\d{7}|1\\d{7,9}", [8, 9, 10, 13], [["(\\d)(\\d{3})(\\d{4})", "$1 $2 $3", ["2"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[13-9]"], "0$1"], ["(\\d{4})(\\d{3})(\\d{3})", "$1 $2 $3", ["1"]]], "0"], TJ: ["992", "810", "(?:[0-57-9]\\d|66)\\d{7}", [9], [["(\\d{6})(\\d)(\\d{2})", "$1 $2 $3", ["331", "3317"]], ["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["44[02-479]|[34]7"]], ["(\\d{4})(\\d)(\\d{4})", "$1 $2 $3", ["3(?:[1245]|3[12])"]], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["\\d"]]], 0, 0, 0, 0, 0, 0, 0, "8~10"], TK: ["690", "00", "[2-47]\\d{3,6}", [4, 5, 6, 7]], TL: ["670", "00", "7\\d{7}|(?:[2-47]\\d|[89]0)\\d{5}", [7, 8], [["(\\d{3})(\\d{4})", "$1 $2", ["[2-489]|70"]], ["(\\d{4})(\\d{4})", "$1 $2", ["7"]]]], TM: ["993", "810", "[1-7]\\d{7}", [8], [["(\\d{2})(\\d{2})(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["12"], "(8 $1)"], ["(\\d{3})(\\d)(\\d{2})(\\d{2})", "$1 $2-$3-$4", ["[1-5]"], "(8 $1)"], ["(\\d{2})(\\d{6})", "$1 $2", ["[67]"], "8 $1"]], "8", 0, 0, 0, 0, 0, 0, "8~10"], TN: ["216", "00", "[2-57-9]\\d{7}", [8], [["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-57-9]"]]]], TO: ["676", "00", "(?:0800|(?:[5-8]\\d\\d|999)\\d)\\d{3}|[2-8]\\d{4}", [5, 7], [["(\\d{2})(\\d{3})", "$1-$2", ["[2-4]|50|6[09]|7[0-24-69]|8[05]"]], ["(\\d{4})(\\d{3})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[5-9]"]]]], TR: ["90", "00", "4\\d{6}|8\\d{11,12}|(?:[2-58]\\d\\d|900)\\d{7}", [7, 10, 12, 13], [["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["512|8[01589]|90"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["5
17058"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[24][1-8]|3[1-9]"], "(0$1)", 1], ["(\\d{3})(\\d{3})(\\d{6,7})", "$1 $2 $3", ["80"], "0$1", 1]], "0"], TT: ["1", "011", "(?:[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-46-8]\\d{6})$|1", "868$1", 0, "868"], TV: ["688", "00", "(?:2|7\\d\\d|90)\\d{4}", [5, 6, 7], [["(\\d{2})(\\d{3})", "$1 $2", ["2"]], ["(\\d{2})(\\d{4})", "$1 $2", ["90"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], TW: ["886", "0(?:0[25-79]|19)", "[2-689]\\d{8}|7\\d{9,10}|[2-8]\\d{7}|2\\d{6}", [7, 8, 9, 10, 11], [["(\\d{2})(\\d)(\\d{4})", "$1 $2 $3", ["202"], "0$1"], ["(\\d{3})(\\d{5})", "$1 $2", ["826"], "0$1"], ["(\\d{3})(\\d{2})(\\d{3})", "$1 $2 $3", ["83"], "0$1"], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["82"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[25]0|37|49|8[09]"], "0$1"], ["(\\d)(\\d{3,4})(\\d{4})", "$1 $2 $3", ["[23568]|4(?:0[02-48]|[1-478])|7[1-9]", "[23568]|4(?:0[2-48]|[1-478])|(?:400|7)[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{2})(\\d{4})(\\d{4,5})", "$1 $2 $3", ["7"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, 0, "#"], TZ: ["255", "00[056]", "(?:[25-8]\\d|41|90)\\d{7}", [9], [["(\\d{3})(\\d{2})(\\d{4})", "$1 $2 $3", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[24]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["5"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[67]"], "0$1"]], "0"], UA: ["380", "00", "[89]\\d{9}|[3-9]\\d{8}", [9, 10], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["6[12][29]|(?:3[1-8]|4[136-8]|5[12457]|6[49])2|(?:56|65)[24]", "6[12][29]|(?:35|4[1378]|5[12457]|6[49])2|(?:56|65)[24]|(?:3[1-46-8]|46)2[013-9]"], "0$1"], ["(\\d{4})(\\d{5})", "$1 $2", ["3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6[0135689]|7[4-6])|6(?:[12][3-7]|[459])", "3[1-8]|4(?:[1367]|[45][6-9]|8[4-6])|5(?:[1-5]|6(?:[015689]|3[02389])|7[4-6])|6(?:[12][3-7]|[459])"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[3-7]|89|9[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[89]"], "0$1"]], "0", 0, 0, 0, 0, 0, 0, "0~0"], UG: ["256", "00[057]", "800\\d{6}|(?:[29]0|[347]\\d)\\d{7}", [9], [["(\\d{4})(\\d{5})", "$1 $2", ["202", "2024", "20240"], "0$1"], ["(\\d{3})(\\d{6})", "$1 $2", ["20[0-35-7]|4(?:6[45]|[7-9])|[7-9]", "20(?:[0135-7]|2[5-9])|4(?:6[45]|[7-9])|[7-9]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[2-4]"], "0$1"]], "0"], US: ["1", "011", "[2-9]\\d{9}|3\\d{6}", [10], [["(\\d{3})(\\d{4})", "$1-$2", ["310"], 0, 1], ["(\\d{3})(\\d{3})(\\d{4})", "($1) $2-$3", ["[2-9]"], 0, 1, "$1-$2-$3"]], "1", 0, 0, 0, 0, 0, [["(?:472[2-47-9]|983[2-57-9])\\d{6}|(?:2(?:0[1-35-9]|1[02-9]|2[03-57-9]|3[1459]|4[08]|5[1-46]|6[0279]|7[02469]|8[13])|3(?:0[1-57-9]|1[02-9]|2[013-79]|3[0-24679]|4[167]|5[0-3]|6[01349]|8[056])|4(?:0[124-9]|1[02-579]|2[3-5]|3[0245]|4[023578]|58|6[349]|7[0589]|8[04])|5(?:0[1-57-9]|1[0235-8]|20|3[0149]|4[01]|5[179]|6[1-47]|7[0-5]|8[0256])|6(?:0[1-35-9]|1[024-9]|2[03689]|3[016]|4[0156]|5[01679]|6[0-279]|78|8[0-269])|7(?:0[1-46-8]|1[2-9]|2[04-8]|3[0-2478]|4[0378]|5[47]|6[02359]|7[0-59]|8[156])|8(?:0[1-68]|1[02-8]|2[0168]|3[0-2589]|4[03578]|5[046-9]|6[02-5]|7[028])|9(?:0[1346-9]|1[02-9]|2[0589]|3[0146-8]|4[01357-9]|5[12469]|7[0-3589]|8[04-69]))[2-9]\\d{6}"], [""], ["8(?:00|33|44|55|66|77|88)[2-9]\\d{6}"], ["900[2-9]\\d{6}"], ["52(?:3(?:[2-46-9][02-9]\\d|5(?:[02-46-9]\\d|5[0-46-9]))|4(?:[2-478][02-9]\\d|5(?:[034]\\d|2[024-9]|5[0-46-9])|6(?:0[1-9]|[2-9]\\d)|9(?:[05-9]\\d|2[0-5]|49)))\\d{4}|52[34][2-9]1[02-9]\\d{4}|5(?:00|2[125-9]|3[23]|44|66|77|88)[2-9]\\d{6}"]]], UY: ["598", "0(?:0|1[3-9]\\d)", "0004\\d{2,9}|[1249]\\d{7}|2\\d{3,4}|(?:[49]\\d|80)\\d{5}", [4, 5, 6, 7, 8, 9, 10, 11, 12, 13], [["(\\d{4,5})", "$1", ["21"]], ["(\\d{3})(\\d{3,4})", "$1 $2", ["0"]], ["(\\d{3})(\\d{4})", "$1 $2", ["[49]0|8"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["9"], "0$1"], ["(\\d{4})(\\d{4})", "$1 $2", ["[124]"]], ["(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3", ["0"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{2,4})", "$1 $2 $3 $4", ["0"]]], "0", 0, 0, 0, 0, 0, 0, "00", " int. "], UZ: ["998", "00", "(?:20|33|[5-9]\\d)\\d{7}", [9], [["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["[235-9]"]]]], VA: ["39", "00", "0\\d{5,10}|3[0-8]\\d{7,10}|55\\d{8}|8\\d{5}(?:\\d{2,4})?|(?:1\\d|39)\\d{7,8}", [6, 7, 8, 9, 10, 11, 12], 0, 0, 0, 0, 0, 0, "06698"], VC: ["1", "011", "(?:[58]\\d\\d|784|900)\\d{7}", [10], 0, "1", 0, "([2-7]\\d{6})$|1", "784$1", 0, "784"], VE: ["58", "00", "[68]00\\d{7}|(?:[24]\\d|[59]0)\\d{8}", [10], [["(\\d{3})(\\d{7})", "$1-$2", ["[24-689]"], "0$1"]], "0"], VG: ["1", "011", "(?:284|[58]\\d\\d|900)\\d{7}", [10], 0, "1", 0, "([2-578]\\d{6})$|1", "284$1", 0, "284"], VI: ["1", "011", "[58]\\d{9}|(?:34|90)0\\d{7}", [10], 0, "1", 0, "([2-9]\\d{6})$|1", "340$1", 0, "340"], VN: ["84", "00", "[12]\\d{9}|[135-9]\\d{8}|[16]\\d{6,7}|7\\d{6}", [7, 8, 9, 10], [["(\\d{4})(\\d{4,6})", "$1 $2", ["1(?:2[02]|[89])"], 0, 1], ["(\\d{2})(\\d{3})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["1[26]|6"], "0$1", 1], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[357-9]"], "0$1", 1], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["2[48]"], "0$1", 1], ["(\\d{3})(\\d{4})(\\d{3})", "$1 $2 $3", ["2"], "0$1", 1]], "0"], VU: ["678", "00", "[57-9]\\d{6}|(?:[238]\\d|48)\\d{3}", [5, 7], [["(\\d{3})(\\d{4})", "$1 $2", ["[57-9]"]]]], WF: ["681", "00", "(?:40|72|8\\d{4})\\d{4}|[89]\\d{5}", [6, 9], [["(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3", ["[47-9]"]], ["(\\d{3})(\\d{2})(\\d{2})(\\d{2})", "$1 $2 $3 $4", ["8"]]]], WS: ["685", "0", "(?:[2-6]|8\\d{5})\\d{4}|[78]\\d{6}|[68]\\d{5}", [5, 6, 7, 10], [["(\\d{5})", "$1", ["[2-5]|6[1-9]"]], ["(\\d{3})(\\d{3,7})", "$1 $2", ["[68]"]], ["(\\d{2})(\\d{5})", "$1 $2", ["7"]]]], XK: ["383", "00", "2\\d{7,8}|3\\d{7,11}|(?:4\\d\\d|[89]00)\\d{5}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{5})", "$1 $2", ["[89]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3})", "$1 $2 $3", ["[2-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["2|39"], "0$1"], ["(\\d{2})(\\d{7,10})", "$1 $2", ["3"], "0$1"]], "0"], YE: ["967", "00", "(?:1|7\\d)\\d{7}|[1-7]\\d{6}", [7, 8, 9], [["(\\d)(\\d{3})(\\d{3,4})", "$1 $2 $3", ["[1-6]|7(?:[24-6]|8[0-7])"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["7"], "0$1"]], "0"], YT: ["262", "00", "(?:639\\d|7093)\\d{5}|(?:26|80|9\\d)\\d{7}", [9], 0, "0", 0, 0, 0, 0, 0, [["26(?:89\\d|9(?:0[0-467]|15|5[0-4]|6\\d|[78]0))\\d{4}"], ["(?:639(?:0[0-79]|1[019]|[267]\\d|3[09]|40|5[05-9]|9[04-79])|7093[5-7])\\d{4}"], ["80\\d{7}"], 0, 0, 0, 0, 0, ["9(?:(?:39|47)8[01]|769\\d)\\d{4}"]]], ZA: ["27", "00", "[1-79]\\d{8}|8\\d{4,9}", [5, 6, 7, 8, 9, 10], [["(\\d{2})(\\d{3,4})", "$1 $2", ["8[1-4]"], "0$1"], ["(\\d{2})(\\d{3})(\\d{2,3})", "$1 $2 $3", ["8[1-4]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["860"], "0$1"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["[1-9]"], "0$1"], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["8"], "0$1"]], "0"], ZM: ["260", "00", "800\\d{6}|(?:21|[579]\\d|63)\\d{7}", [9], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[28]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[579]"], "0$1"]], "0"], ZW: ["263", "00", "(?:13|8\\d{4})\\d{5}|[235-8]\\d{8}|[2-689]\\d{6}", [7, 9, 10], [["(\\d{2})(\\d{3,5})", "$1 $2", ["1|2(?:0[0-36-9]|29|58)|67[0-46-9]|(?:55|68)[0-69]"], "0$1"], ["(\\d{3})(\\d{3,5})", "$1 $2", ["2(?:0[45]|[27]|48)|37|675|(?:55|68)[78]"], "0$1"], ["(\\d)(\\d{3})(\\d{2,4})", "$1 $2 $3", ["[49]"], "0$1"], ["(\\d{3})(\\d{4})", "$1 $2", ["80"], "0$1"], ["(\\d{4})(\\d{3,5})", "$1 $2", ["548"], "0$1"], ["(\\d{2})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["29[013-9]"], "0$1"], ["(\\d{2})(\\d{7})", "$1 $2", ["[256]|39|8[13-59]"], "(0$1)"], ["(\\d{2})(\\d{3})(\\d{4})", "$1 $2 $3", ["7"], "0$1"], ["(\\d{3})(\\d{3})(\\d{3,4})", "$1 $2 $3", ["3"], "0$1"], ["(\\d{4})(\\d{6})", "$1 $2", ["8"], "0$1"]], "0"] }
17058, nonGeographic: { 800: ["800", 0, "(?:00|[1-9]\\d)\\d{6}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["\\d"]]], 0, 0, 0, 0, 0, 0, [0, 0, ["(?:00|[1-9]\\d)\\d{6}"]]], 808: ["808", 0, "[1-9]\\d{7}", [8], [["(\\d{4})(\\d{4})", "$1 $2", ["[1-9]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, 0, ["[1-9]\\d{7}"]]], 870: ["870", 0, "7\\d{11}|[235-7]\\d{8}", [9, 12], [["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["[235-7]"]]], 0, 0, 0, 0, 0, 0, [0, ["(?:[356]|774[45])\\d{8}|7[6-8]\\d{7}"], 0, 0, 0, 0, 0, 0, ["2\\d{8}", [9]]]], 878: ["878", 0, "10\\d{10}", [12], [["(\\d{2})(\\d{5})(\\d{5})", "$1 $2 $3", ["1"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["10\\d{10}"]]], 881: ["881", 0, "6\\d{9}|[0-36-9]\\d{8}", [9, 10], [["(\\d)(\\d{3})(\\d{5})", "$1 $2 $3", ["[0-37-9]"]], ["(\\d)(\\d{3})(\\d{5,6})", "$1 $2 $3", ["6"]]], 0, 0, 0, 0, 0, 0, [0, ["6\\d{9}|[0-36-9]\\d{8}"]]], 882: ["882", 0, "[13]\\d{6}(?:\\d{2,5})?|[19]\\d{7}|(?:[25]\\d\\d|4)\\d{7}(?:\\d{2})?", [7, 8, 9, 10, 11, 12], [["(\\d{2})(\\d{5})", "$1 $2", ["16|342"]], ["(\\d{2})(\\d{6})", "$1 $2", ["49"]], ["(\\d{2})(\\d{2})(\\d{4})", "$1 $2 $3", ["1[36]|9"]], ["(\\d{2})(\\d{4})(\\d{3})", "$1 $2 $3", ["3[23]"]], ["(\\d{2})(\\d{3,4})(\\d{4})", "$1 $2 $3", ["16"]], ["(\\d{2})(\\d{4})(\\d{4})", "$1 $2 $3", ["10|23|3(?:[15]|4[57])|4|5[12]"]], ["(\\d{3})(\\d{4})(\\d{4})", "$1 $2 $3", ["34"]], ["(\\d{2})(\\d{4,5})(\\d{5})", "$1 $2 $3", ["[1-35]"]]], 0, 0, 0, 0, 0, 0, [0, ["342\\d{4}|(?:337|49)\\d{6}|(?:3(?:2|47|7\\d{3})|5(?:0\\d{3}|2[0-2]))\\d{7}", [7, 8, 9, 10, 12]], 0, 0, 0, ["348[57]\\d{7}", [11]], 0, 0, ["1(?:3(?:0[0347]|[13][0139]|2[035]|4[013568]|6[0459]|7[06]|8[15-8]|9[0689])\\d{4}|6\\d{5,10})|(?:345\\d|9[89])\\d{6}|(?:10|2(?:3|85\\d)|3(?:[15]|[69]\\d\\d)|4[15-8]|51)\\d{8}"]]], 883: ["883", 0, "(?:[1-4]\\d|51)\\d{6,10}", [8, 9, 10, 11, 12], [["(\\d{3})(\\d{3})(\\d{2,8})", "$1 $2 $3", ["[14]|2[24-689]|3[02-689]|51[24-9]"]], ["(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3", ["510"]], ["(\\d{3})(\\d{3})(\\d{4})", "$1 $2 $3", ["21"]], ["(\\d{4})(\\d{4})(\\d{4})", "$1 $2 $3", ["51[13]"]], ["(\\d{3})(\\d{3})(\\d{3})(\\d{3})", "$1 $2 $3 $4", ["[235]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, 0, 0, ["(?:2(?:00\\d\\d|10)|(?:370[1-9]|51\\d0)\\d)\\d{7}|51(?:00\\d{5}|[24-9]0\\d{4,7})|(?:1[0-79]|2[24-689]|3[02-689]|4[0-4])0\\d{5,9}"]]], 888: ["888", 0, "\\d{11}", [11], [["(\\d{3})(\\d{3})(\\d{5})", "$1 $2 $3"]], 0, 0, 0, 0, 0, 0, [0, 0, 0, 0, 0, 0, ["\\d{11}"]]], 979: ["979", 0, "[1359]\\d{8}", [9], [["(\\d)(\\d{4})(\\d{4})", "$1 $2 $3", ["[1359]"]]], 0, 0, 0, 0, 0, 0, [0, 0, 0, ["[1359]\\d{8}"]]] } };
17059var fg = { exports: {} }, dg, y4;
17060function RD() {
17061  if (y4) return dg;
17062  y4 = 1;
17063  var e = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
17064  return dg = e, dg;
17065}
17066var hg, v4;
17067function DD() {
17068  if (v4) return hg;
17069  v4 = 1;
17070  var e = /* @__PURE__ */ RD();
17071  function t() {
17072  }
17073  function r() {
17074  }
17075  return r.resetWarningCache = t, hg = function() {
17076    function i(f, h, m, g, p, b) {
17077      if (b !== e) {
17078        var S = new Error(
17079          "Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types"
17080        );
17081        throw S.name = "Invariant Violation", S;
17082      }
17083    }
17084    i.isRequired = i;
17085    function l() {
17086      return i;
17087    }
17088    var s = {
17089      array: i,
17090      bigint: i,
17091      bool: i,
17092      func: i,
17093      number: i,
17094      object: i,
17095      string: i,
17096      symbol: i,
17097      any: i,
17098      arrayOf: l,
17099      element: i,
17100      elementType: i,
17101      instanceOf: l,
17102      node: i,
17103      objectOf: l,
17104      oneOf: l,
17105      oneOfType: l,
17106      shape: l,
17107      exact: l,
17108      checkPropTypes: r,
17109      resetWarningCache: t
17110    };
17111    return s.PropTypes = s, s;
17112  }, hg;
17113}
17114var b4;
17115function MD() {
17116  return b4 || (b4 = 1, fg.exports = /* @__PURE__ */ DD()()), fg.exports;
17117}
17118var ID = /* @__PURE__ */ MD();
17119const ae = /* @__PURE__ */ Mp(ID);
17120var mg = { exports: {} };
17121var S4;
17122function PD() {
17123  return S4 || (S4 = 1, (function(e) {
17124    (function() {
17125      var t = {}.hasOwnProperty;
17126      function r() {
17127        for (var s = "", f = 0; f < arguments.length; f++) {
17128          var h = arguments[f];
17129          h && (s = l(s, i(h)));
17130        }
17131        return s;
17132      }
17133      function i(s) {
17134        if (typeof s == "string" || typeof s == "number")
17135          return s;
17136        if (typeof s != "object")
17137          return "";
17138        if (Array.isArray(s))
17139          return r.apply(null, s);
17140        if (s.toString !== Object.prototype.toString && !s.toString.toString().includes("[native code]"))
17141          return s.toString();
17142        var f = "";
17143        for (var h in s)
17144          t.call(s, h) && s[h] && (f = l(f, h));
17145        return f;
17146      }
17147      function l(s, f) {
17148        return f ? s ? s + " " + f : s + f : s;
17149      }
17150      e.exports ? (r.default = r, e.exports = r) : window.classNames = r;
17151    })();
17152  })(mg)), mg.exports;
17153}
17154var kD = PD();
17155const ph = /* @__PURE__ */ Mp(kD);
17156function LD(e, t, r) {
17157  switch (r) {
17158    case "Backspace":
17159      t > 0 && (e = e.slice(0, t - 1) + e.slice(t), t--);
17160      break;
17161    case "Delete":
17162      e = e.slice(0, t) + e.slice(t + 1);
17163      break;
17164  }
17165  return {
17166    value: e,
17167    caret: t
17168  };
17169}
17170function zD(e, t, r) {
17171  for (var i = {}, l = "", s = 0, f = 0; f < e.length; ) {
17172    var h = r(e[f], l, i);
17173    h !== void 0 && (l += h, t !== void 0 && (t === f ? s = l.length - 1 : t > f && (s = l.length))), f++;
17174  }
17175  t === void 0 && (s = l.length);
17176  var m = {
17177    value: l,
17178    caret: s
17179  };
17180  return m;
17181}
17182function UD(e, t) {
17183  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
17184  if (r) return (r = r.call(e)).next.bind(r);
17185  if (Array.isArray(e) || (r = jD(e)) || t) {
17186    r && (e = r);
17187    var i = 0;
17188    return function() {
17189      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
17190    };
17191  }
17192  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
17193In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
17194}
17195function jD(e, t) {
17196  if (e) {
17197    if (typeof e == "string") return $4(e, t);
17198    var r = Object.prototype.toString.call(e).slice(8, -1);
17199    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
17200    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return $4(e, t);
17201  }
17202}
17203function $4(e, t) {
17204  (t == null || t > e.length) && (t = e.length);
17205  for (var r = 0, i = new Array(t); r < t; r++)
17206    i[r] = e[r];
17207  return i;
17208}
17209function dp(e, t) {
17210  for (var r = 0, i = UD(t.split("")), l; !(l = i()).done; ) {
17211    var s = l.value;
17212    s === e && r++;
17213  }
17214  return r;
17215}
17216function FD(e, t) {
17217  for (var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : "x", i = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : " ", l = e.length, s = dp("(", e), f = dp(")", e), h 
17217= s - f; h > 0 && l < t.length; )
17218    e += t[l].replace(r, i), t[l] === ")" && h--, l++;
17219  return e;
17220}
17221function HD(e, t) {
17222  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
17223  if (r) return (r = r.call(e)).next.bind(r);
17224  if (Array.isArray(e) || (r = VD(e)) || t) {
17225    r && (e = r);
17226    var i = 0;
17227    return function() {
17228      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
17229    };
17230  }
17231  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
17232In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
17233}
17234function VD(e, t) {
17235  if (e) {
17236    if (typeof e == "string") return E4(e, t);
17237    var r = Object.prototype.toString.call(e).slice(8, -1);
17238    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
17239    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return E4(e, t);
17240  }
17241}
17242function E4(e, t) {
17243  (t == null || t > e.length) && (t = e.length);
17244  for (var r = 0, i = new Array(t); r < t; r++)
17245    i[r] = e[r];
17246  return i;
17247}
17248function BD(e) {
17249  var t = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "x", r = arguments.length > 2 ? arguments[2] : void 0;
17250  if (!e)
17251    return function(l) {
17252      return {
17253        text: l
17254      };
17255    };
17256  var i = dp(t, e);
17257  return function(l) {
17258    if (!l)
17259      return {
17260        text: "",
17261        template: e
17262      };
17263    for (var s = 0, f = "", h = HD(e.split("")), m; !(m = h()).done; ) {
17264      var g = m.value;
17265      if (g !== t) {
17266        f += g;
17267        continue;
17268      }
17269      if (f += l[s], s++, s === l.length && l.length < i)
17270        break;
17271    }
17272    return r && (f = FD(f, e)), {
17273      text: f,
17274      template: e
17275    };
17276  };
17277}
17278function qD(e, t, r) {
17279  typeof r == "string" && (r = BD(r));
17280  var i = r(e) || {}, l = i.text, s = i.template;
17281  if (l === void 0 && (l = e), s)
17282    if (t === void 0)
17283      t = l.length;
17284    else {
17285      for (var f = 0, h = !1, m = -1; f < l.length && f < s.length; ) {
17286        if (l[f] !== s[f]) {
17287          if (t === 0) {
17288            h = !0, t = f;
17289            break;
17290          }
17291          m = f, t--;
17292        }
17293        f++;
17294      }
17295      h || (t = m + 1);
17296    }
17297  return {
17298    text: l,
17299    caret: t
17300  };
17301}
17302function GD(e) {
17303  return e.hasAttribute("readonly");
17304}
17305function YD(e) {
17306  if (e.selectionStart !== e.selectionEnd)
17307    return {
17308      start: e.selectionStart,
17309      end: e.selectionEnd
17310    };
17311}
17312var T4 = {
17313  Backspace: 8,
17314  Delete: 46
17315};
17316function ZD(e) {
17317  switch (e.keyCode) {
17318    case T4.Backspace:
17319      return "Backspace";
17320    case T4.Delete:
17321      return "Delete";
17322  }
17323}
17324function QD(e) {
17325  return e.selectionStart;
17326}
17327function AE(e, t) {
17328  t !== void 0 && (KD() ? setTimeout(function() {
17329    return e.setSelectionRange(t, t);
17330  }, 0) : e.setSelectionRange(t, t));
17331}
17332function KD() {
17333  if (typeof navigator < "u")
17334    return XD.test(navigator.userAgent);
17335}
17336var XD = /Android/i;
17337function WD(e, t, r, i, l) {
17338  hp(t, r, i, void 0, l);
17339}
17340function JD(e, t, r, i, l) {
17341  if (!GD(t)) {
17342    var s = ZD(e);
17343    switch (s) {
17344      case "Delete":
17345      case "Backspace":
17346        e.preventDefault();
17347        var f = YD(t);
17348        return f ? (eM(t, f), hp(t, r, i, void 0, l)) : hp(t, r, i, s, l);
17349    }
17350  }
17351}
17352function eM(e, t) {
17353  var r = e.value;
17354  r = r.slice(0, t.start) + r.slice(t.end), e.value = r, AE(e, t.start);
17355}
17356function hp(e, t, r, i, l) {
17357  var s = zD(e.value, QD(e), t), f = s.value, h = s.caret;
17358  if (i) {
17359    var m = LD(f, h, i);
17360    f = m.value, h = m.caret;
17361  }
17362  var g = qD(f, h, r), p = g.text;
17363  h = g.caret, e.value = p, AE(e, h), l && l(f);
17364}
17365var tM = ["ref", "parse", "format", "value", "defaultValue", "controlled", "onChange", "onKeyDown"];
17366function C4(e, t) {
17367  var r = Object.keys(e);
17368  if (Object.getOwnPropertySymbols) {
17369    var i = Object.getOwnPropertySymbols(e);
17370    t && (i = i.filter(function(l) {
17371      return Object.getOwnPropertyDescriptor(e, l).enumerable;
17372    })), r.push.apply(r, i);
17373  }
17374  return r;
17375}
17376function Al(e) {
17377  for (var t = 1; t < arguments.length; t++) {
17378    var r = arguments[t] != null ? arguments[t] : {};
17379    t % 2 ? C4(Object(r), !0).forEach(function(i) {
17380      nM(e, i, r[i]);
17381    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : C4(Object(r)).forEach(function(i) {
17382      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
17383    });
17384  }
17385  return e;
17386}
17387function nM(e, t, r) {
17388  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
17389}
17390function rM(e, t) {
17391  if (e == null) return {};
17392  var r = aM(e, t), i, l;
17393  if (Object.getOwnPropertySymbols) {
17394    var s = Object.getOwnPropertySymbols(e);
17395    for (l = 0; l < s.length; l++)
17396      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
17397  }
17398  return r;
17399}
17400function aM(e, t) {
17401  if (e == null) return {};
17402  var r = {}, i = Object.keys(e), l, s;
17403  for (s = 0; s < i.length; s++)
17404    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
17405  return r;
17406}
17407const gg = window.React.useCallback, iM = window.React.useRef;
17408function oM(e) {
17409  var t = e.ref, r = e.parse, i = e.format, l = e.value, s = e.defaultValue, f = e.controlled, h = f === void 0 ? !0 : f, m = e.onChange, g = e.onKeyDown, p = rM(e, tM), b = iM(), S = gg(function($) {
17410    b.current = $, t && (typeof t == "function" ? t($) : t.current = $);
17411  }, [t]), w = gg(function($) {
17412    return WD($, b.current, r, i, m);
17413  }, [b, r, i, m]), T = gg(function($) {
17414    if (g && g($), !$.defaultPrevented)
17415      return JD($, b.current, r, i, m);
17416  }, [b, r, i, m, g]), N = Al(Al({}, p), {}, {
17417    ref: S,
17418    onChange: w,
17419    onKeyDown: T
17420  });
17421  return h ? Al(Al({}, N), {}, {
17422    value: i(w4(l) ? "" : l).text
17423  }) : Al(Al({}, N), {}, {
17424    defaultValue: i(w4(s) ? "" : s).text
17425  });
17426}
17427function w4(e) {
17428  return e == null;
17429}
17430var lM = ["inputComponent", "parse", "format", "value", "defaultValue", "onChange", "controlled", "onKeyDown", "type"];
17431function O4(e, t) {
17432  var r = Object.keys(e);
17433  if (Object.getOwnPropertySymbols) {
17434    var i = Object.getOwnPropertySymbols(e);
17435    t && (i = i.filter(function(l) {
17436      return Object.getOwnPropertyDescriptor(e, l).enumerable;
17437    })), r.push.apply(r, i);
17438  }
17439  return r;
17440}
17441function uM(e) {
17442  for (var t = 1; t < arguments.length; t++) {
17443    var r = arguments[t] != null ? arguments[t] : {};
17444    t % 2 ? O4(Object(r), !0).forEach(function(i) {
17445      sM(e, i, r[i]);
17446    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : O4(Object(r)).forEach(function(i) {
17447      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
17448    });
17449  }
17450  return e;
17451}
17452function sM(e, t, r) {
17453  return t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
17454}
17455function cM(e, t) {
17456  if (e == null) return {};
17457  var r = fM(e, t), i, l;
17458  if (Object.getOwnPropertySymbols) {
17459    var s = Object.getOwnPropertySymbols(e);
17460    for (l = 0; l < s.length; l++)
17461      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
17462  }
17463  return r;
17464}
17465function fM(e, t) {
17466  if (e == null) return {};
17467  var r = {}, i = Object.keys(e), l, s;
17468  for (s = 0; s < i.length; s++)
17469    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
17470  return r;
17471}
17472const _E = window.React;
17473function yh(e, t) {
17474  var r = e.inputComponent, i = r === void 0 ? "input" : r, l = e.parse, s = e.format, f = e.value, h = e.defaultValue, m = e.onChange, g = e.controlled, p = e.onKeyDown, b = e.type, S = b === void 0 ? "text" : b, w = cM(e, lM), T = oM(uM({
17475    ref: t,
17476    parse: l,
17477    format: s,
17478    value: f,
17479    defaultValue: h,
17480    onChange: m,
17481    controlled: g,
17482    onKeyDown: p,
17483    type: S
17484  }
vendor: 8,233 bytes, lines 17484-17769
17484, w));
17485  return /* @__PURE__ */ _E.createElement(i, T);
17486}
17487yh = /* @__PURE__ */ _E.forwardRef(yh);
17488yh.propTypes = {
17489  // Parses a single characher of `<input/>` text.
17490  parse: ae.func.isRequired,
17491  // Formats `value` into `<input/>` text.
17492  format: ae.func.isRequired,
17493  // Renders `<input/>` by default.
17494  inputComponent: ae.elementType,
17495  // `<input/>` `type` attribute.
17496  type: ae.string,
17497  // Is parsed from <input/> text.
17498  value: ae.string,
17499  // An initial value for an "uncontrolled" <input/>.
17500  defaultValue: ae.string,
17501  // This handler is called each time `<input/>` text is changed.
17502  onChange: ae.func,
17503  // Whether this input should be "controlled" or "uncontrolled".
17504  // The default value is `true` meaning "uncontrolled".
17505  controlled: ae.bool,
17506  // Passthrough
17507  onKeyDown: ae.func,
17508  onCut: ae.func,
17509  onPaste: ae.func
17510};
17511function N4(e, t) {
17512  e = e.split("-"), t = t.split("-");
17513  for (var r = e[0].split("."), i = t[0].split("."), l = 0; l < 3; l++) {
17514    var s = Number(r[l]), f = Number(i[l]);
17515    if (s > f) return 1;
17516    if (f > s) return -1;
17517    if (!isNaN(s) && isNaN(f)) return 1;
17518    if (isNaN(s) && !isNaN(f)) return -1;
17519  }
17520  return e[1] && t[1] ? e[1] > t[1] ? 1 : e[1] < t[1] ? -1 : 0 : !e[1] && t[1] ? 1 : e[1] && !t[1] ? -1 : 0;
17521}
17522var dM = {}.constructor;
17523function go(e) {
17524  return e != null && e.constructor === dM;
17525}
17526var hM = /^\d+$/;
17527function mM(e) {
17528  return hM.test(e);
17529}
17530function Jl(e) {
17531  "@babel/helpers - typeof";
17532  return Jl = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
17533    return typeof t;
17534  } : function(t) {
17535    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
17536  }, Jl(e);
17537}
17538function qh(e, t) {
17539  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
17540}
17541function gM(e, t) {
17542  for (var r = 0; r < t.length; r++) {
17543    var i = t[r];
17544    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, pM(i.key), i);
17545  }
17546}
17547function Gh(e, t, r) {
17548  return t && gM(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
17549}
17550function pM(e) {
17551  var t = yM(e, "string");
17552  return Jl(t) == "symbol" ? t : t + "";
17553}
17554function yM(e, t) {
17555  if (Jl(e) != "object" || !e) return e;
17556  var r = e[Symbol.toPrimitive];
17557  if (r !== void 0) {
17558    var i = r.call(e, t);
17559    if (Jl(i) != "object") return i;
17560    throw new TypeError("@@toPrimitive must return a primitive value.");
17561  }
17562  return String(e);
17563}
17564var vM = "1.2.0", bM = "1.7.35", A4 = " ext. ", Lt = /* @__PURE__ */ (function() {
17565  function e(t) {
17566    qh(this, e), xE(t), this.metadata = t, DE.call(this, t);
17567  }
17568  return Gh(e, [{
17569    key: "getCountries",
17570    value: function() {
17571      return Object.keys(this.metadata.countries).filter(function(r) {
17572        return r !== "001";
17573      });
17574    }
17575  }, {
17576    key: "getCountryMetadata",
17577    value: function(r) {
17578      return this.metadata.countries[r];
17579    }
17580  }, {
17581    key: "nonGeographic",
17582    value: function() {
17583      if (!(this.v1 || this.v2 || this.v3))
17584        return this.metadata.nonGeographic || this.metadata.nonGeographical;
17585    }
17586  }, {
17587    key: "hasCountry",
17588    value: function(r) {
17589      return this.getCountryMetadata(r) !== void 0;
17590    }
17591  }, {
17592    key: "hasCallingCode",
17593    value: function(r) {
17594      if (this.getCountryCodesForCallingCode(r))
17595        return !0;
17596      if (this.nonGeographic()) {
17597        if (this.nonGeographic()[r])
17598          return !0;
17599      } else {
17600        var i = this.countryCallingCodes()[r];
17601        if (i && i.length === 1 && i[0] === "001")
17602          return !0;
17603      }
17604    }
17605  }, {
17606    key: "isNonGeographicCallingCode",
17607    value: function(r) {
17608      return this.nonGeographic() ? !!this.nonGeographic()[r] : !this.getCountryCodesForCallingCode(r);
17609    }
17610    // Deprecated.
17611  }, {
17612    key: "country",
17613    value: function(r) {
17614      return this.selectNumberingPlan(r);
17615    }
17616    /**
17617     * Selects a telephone numbering plan based on either a country code or a calling code.
17618     * @param {string} argument — Country code or calling code.
17619     * @param {string} legacyArgumentCallingCode — Legacy argument: calling code, if the first argument is not passed.
17620     */
17621  }, {
17622    key: "selectNumberingPlan",
17623    value: function(r, i) {
17624      var l, s;
17625      if (r && (mM(r) ? s = r : l = r), i && (s = i), l && l !== "001") {
17626        var f = this.getCountryMetadata(l);
17627        if (!f)
17628          throw new Error("Unknown country: ".concat(l));
17629        this.numberingPlan = new _4(f, this);
17630      } else if (s) {
17631        if (!this.hasCallingCode(s))
17632          throw new Error("Unknown calling code: ".concat(s));
17633        this.numberingPlan = new _4(this.getNumberingPlanMetadata(s), this);
17634      } else
17635        this.numberingPlan = void 0;
17636      return this;
17637    }
17638  }, {
17639    key: "getCountryCodesForCallingCode",
17640    value: function(r) {
17641      var i = this.countryCallingCodes()[r];
17642      if (i)
17643        return i.length === 1 && i[0].length === 3 ? void 0 : i;
17644    }
17645  }, {
17646    key: "getCountryCodeForCallingCode",
17647    value: function(r) {
17648      var i = this.getCountryCodesForCallingCode(r);
17649      if (i)
17650        return i[0];
17651    }
17652  }, {
17653    key: "getNumberingPlanMetadata",
17654    value: function(r) {
17655      var i = this.getCountryCodeForCallingCode(r);
17656      if (i)
17657        return this.getCountryMetadata(i);
17658      if (this.nonGeographic()) {
17659        var l = this.nonGeographic()[r];
17660        if (l)
17661          return l;
17662      } else {
17663        var s = this.countryCallingCodes()[r];
17664        if (s && s.length === 1 && s[0] === "001")
17665          return this.metadata.countries["001"];
17666      }
17667    }
17668    // Deprecated.
17669  }, {
17670    key: "countryCallingCode",
17671    value: function() {
17672      return this.numberingPlan.callingCode();
17673    }
17674    // Deprecated.
17675  }, {
17676    key: "IDDPrefix",
17677    value: function() {
17678      return this.numberingPlan.IDDPrefix();
17679    }
17680    // Deprecated.
17681  }, {
17682    key: "defaultIDDPrefix",
17683    value: function() {
17684      return this.numberingPlan.defaultIDDPrefix();
17685    }
17686    // Deprecated.
17687  }, {
17688    key: "nationalNumberPattern",
17689    value: function() {
17690      return this.numberingPlan.nationalNumberPattern();
17691    }
17692    // Deprecated.
17693  }, {
17694    key: "possibleLengths",
17695    value: function() {
17696      return this.numberingPlan.possibleLengths();
17697    }
17698    // Deprecated.
17699  }, {
17700    key: "formats",
17701    value: function() {
17702      return this.numberingPlan.formats();
17703    }
17704    // Deprecated.
17705  }, {
17706    key: "nationalPrefixForParsing",
17707    value: function() {
17708      return this.numberingPlan.nationalPrefixForParsing();
17709    }
17710    // Deprecated.
17711  }, {
17712    key: "nationalPrefixTransformRule",
17713    value: function() {
17714      return this.numberingPlan.nationalPrefixTransformRule();
17715    }
17716    // Deprecated.
17717  }, {
17718    key: "leadingDigits",
17719    value: function() {
17720      return this.numberingPlan.leadingDigits();
17721    }
17722    // Deprecated.
17723  }, {
17724    key: "hasTypes",
17725    value: function() {
17726      return this.numberingPlan.hasTypes();
17727    }
17728    // Deprecated.
17729  }, {
17730    key: "type",
17731    value: function(r) {
17732      return this.numberingPlan.type(r);
17733    }
17734    // Deprecated.
17735  }, {
17736    key: "ext",
17737    value: function() {
17738      return this.numberingPlan.ext();
17739    }
17740  }, {
17741    key: "countryCallingCodes",
17742    value: function() {
17743      return this.v1 ? this.metadata.country_phone_code_to_countries : this.metadata.country_calling_codes;
17744    }
17745    // Deprecated.
17746  }, {
17747    key: "chooseCountryByCountryCallingCode",
17748    value: function(r) {
17749      return this.selectNumberingPlan(r);
17750    }
17751  }, {
17752    key: "hasSelectedNumberingPlan",
17753    value: function() {
17754      return this.numberingPlan !== void 0;
17755    }
17756  }]);
17757})(), _4 = /* @__PURE__ */ (function() {
17758  function e(t, r) {
17759    qh(this, e), this.globalMetadataObject = r, this.metadata = t, DE.call(this, r.metadata);
17760  }
17761  return Gh(e, [{
17762    key: "callingCode",
17763    value: function() {
17764      return this.metadata[0];
17765    }
17766    // When multiple countries share the same calling code,
17767    // all phone number formatting rules are included in the metadata
17768    // of the "default" country for that calling code.
17769    // Any other countries' metdata doesn't include any formatting rules.
vendor: 4,121 bytes, lines 17770-17895
17770    // Google developers said that such storage architecture was chosen for performance reasons.
17771    //
17772    // For example, for NANPA region ("North American Numbering Plan Administration",
17773    // which includes USA, Canada, Cayman Islands, Bahamas, etc) all formatting rules
17774    // are contained in the metadata of `US` country.
17775    //
17776    // This is not public API.
17777    //
17778  }, {
17779    key: "_getDefaultCountryMetadataForThisCallingCode",
17780    value: function() {
17781      return this.globalMetadataObject.getNumberingPlanMetadata(this.callingCode());
17782    }
17783    // Deprecated.
17784  }, {
17785    key: "getDefaultCountryMetadataForRegion",
17786    value: function() {
17787      return this._getDefaultCountryMetadataForThisCallingCode();
17788    }
17789    // Is always present.
17790  }, {
17791    key: "IDDPrefix",
17792    value: function() {
17793      if (!(this.v1 || this.v2))
17794        return this.metadata[1];
17795    }
17796    // Is only present when a country supports multiple IDD prefixes.
17797  }, {
17798    key: "defaultIDDPrefix",
17799    value: function() {
17800      if (!(this.v1 || this.v2))
17801        return this.metadata[12];
17802    }
17803  }, {
17804    key: "nationalNumberPattern",
17805    value: function() {
17806      return this.v1 || this.v2 ? this.metadata[1] : this.metadata[2];
17807    }
17808    // "possible length" data is always present in Google's metadata.
17809  }, {
17810    key: "possibleLengths",
17811    value: function() {
17812      if (!this.v1)
17813        return this.metadata[this.v2 ? 2 : 3];
17814    }
17815  }, {
17816    key: "_getFormats",
17817    value: function(r) {
17818      return r[this.v1 ? 2 : this.v2 ? 3 : 4];
17819    }
17820    // For countries of the same region (e.g. NANPA)
17821    // formats are all stored in the "main" country for that region.
17822    // E.g. "RU" and "KZ", "US" and "CA".
17823  }, {
17824    key: "formats",
17825    value: function() {
17826      var r = this, i = this._getFormats(this.metadata) || this._getFormats(this._getDefaultCountryMetadataForThisCallingCode()) || [];
17827      return i.map(function(l) {
17828        return new SM(l, r);
17829      });
17830    }
17831  }, {
17832    key: "nationalPrefix",
17833    value: function() {
17834      return this.metadata[this.v1 ? 3 : this.v2 ? 4 : 5];
17835    }
17836  }, {
17837    key: "_getNationalPrefixFormattingRule",
17838    value: function(r) {
17839      return r[this.v1 ? 4 : this.v2 ? 5 : 6];
17840    }
17841    // For countries of the same region (e.g. NANPA)
17842    // national prefix formatting rule is stored in the "main" country for that region.
17843    // E.g. "RU" and "KZ", "US" and "CA".
17844  }, {
17845    key: "nationalPrefixFormattingRule",
17846    value: function() {
17847      return this._getNationalPrefixFormattingRule(this.metadata) || this._getNationalPrefixFormattingRule(this._getDefaultCountryMetadataForThisCallingCode());
17848    }
17849  }, {
17850    key: "_nationalPrefixForParsing",
17851    value: function() {
17852      return this.metadata[this.v1 ? 5 : this.v2 ? 6 : 7];
17853    }
17854  }, {
17855    key: "nationalPrefixForParsing",
17856    value: function() {
17857      return this._nationalPrefixForParsing() || this.nationalPrefix();
17858    }
17859  }, {
17860    key: "nationalPrefixTransformRule",
17861    value: function() {
17862      return this.metadata[this.v1 ? 6 : this.v2 ? 7 : 8];
17863    }
17864  }, {
17865    key: "_getNationalPrefixIsOptionalWhenFormatting",
17866    value: function() {
17867      return !!this.metadata[this.v1 ? 7 : this.v2 ? 8 : 9];
17868    }
17869    // For countries of the same region (e.g. NANPA)
17870    // "national prefix is optional when formatting" flag is
17871    // stored in the "main" country for that region.
17872    // E.g. "RU" and "KZ", "US" and "CA".
17873  }, {
17874    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
17875    value: function() {
17876      return this._getNationalPrefixIsOptionalWhenFormatting(this.metadata) || this._getNationalPrefixIsOptionalWhenFormatting(this._getDefaultCountryMetadataForThisCallingCode());
17877    }
17878  }, {
17879    key: "leadingDigits",
17880    value: function() {
17881      return this.metadata[this.v1 ? 8 : this.v2 ? 9 : 10];
17882    }
17883  }, {
17884    key: "types",
17885    value: function() {
17886      return this.metadata[this.v1 ? 9 : this.v2 ? 10 : 11];
17887    }
17888  }, {
17889    key: "hasTypes",
17890    value: function() {
17891      return this.types() && this.types().length === 0 ? !1 : !!this.types();
17892    }
17893  }, {
17894    key: "type",
17895    value: function(r) {
vendor: 25,712 bytes, lines 17896-18667
17896      if (this.hasTypes() && x4(this.types(), r))
17897        return new EM(x4(this.types(), r), this);
17898    }
17899  }, {
17900    key: "ext",
17901    value: function() {
17902      return this.v1 || this.v2 ? A4 : this.metadata[13] || A4;
17903    }
17904  }]);
17905})(), SM = /* @__PURE__ */ (function() {
17906  function e(t, r) {
17907    qh(this, e), this._format = t, this.metadata = r;
17908  }
17909  return Gh(e, [{
17910    key: "pattern",
17911    value: function() {
17912      return this._format[0];
17913    }
17914  }, {
17915    key: "format",
17916    value: function() {
17917      return this._format[1];
17918    }
17919  }, {
17920    key: "leadingDigitsPatterns",
17921    value: function() {
17922      return this._format[2] || [];
17923    }
17924  }, {
17925    key: "nationalPrefixFormattingRule",
17926    value: function() {
17927      return this._format[3] || this.metadata.nationalPrefixFormattingRule();
17928    }
17929  }, {
17930    key: "nationalPrefixIsOptionalWhenFormattingInNationalFormat",
17931    value: function() {
17932      return !!this._format[4] || this.metadata.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
17933    }
17934  }, {
17935    key: "nationalPrefixIsMandatoryWhenFormattingInNationalFormat",
17936    value: function() {
17937      return this.usesNationalPrefix() && !this.nationalPrefixIsOptionalWhenFormattingInNationalFormat();
17938    }
17939    // Checks whether national prefix formatting rule contains national prefix.
17940  }, {
17941    key: "usesNationalPrefix",
17942    value: function() {
17943      return !!(this.nationalPrefixFormattingRule() && // Check that national prefix formatting rule is not a "dummy" one.
17944      !$M.test(this.nationalPrefixFormattingRule()));
17945    }
17946  }, {
17947    key: "internationalFormat",
17948    value: function() {
17949      return this._format[5] || this.format();
17950    }
17951  }]);
17952})(), $M = /^\(?\$1\)?$/, EM = /* @__PURE__ */ (function() {
17953  function e(t, r) {
17954    qh(this, e), this.type = t, this.metadata = r;
17955  }
17956  return Gh(e, [{
17957    key: "pattern",
17958    value: function() {
17959      return this.metadata.v1 ? this.type : this.type[0];
17960    }
17961  }, {
17962    key: "possibleLengths",
17963    value: function() {
17964      if (!this.metadata.v1)
17965        return this.type[1] || this.metadata.possibleLengths();
17966    }
17967  }]);
17968})();
17969function x4(e, t) {
17970  switch (t) {
17971    case "FIXED_LINE":
17972      return e[0];
17973    case "MOBILE":
17974      return e[1];
17975    case "TOLL_FREE":
17976      return e[2];
17977    case "PREMIUM_RATE":
17978      return e[3];
17979    case "PERSONAL_NUMBER":
17980      return e[4];
17981    case "VOICEMAIL":
17982      return e[5];
17983    case "UAN":
17984      return e[6];
17985    case "PAGER":
17986      return e[7];
17987    case "VOIP":
17988      return e[8];
17989    case "SHARED_COST":
17990      return e[9];
17991  }
17992}
17993function xE(e) {
17994  if (!e)
17995    throw new Error("[libphonenumber-js] `metadata` argument not passed. Check your arguments.");
17996  if (!go(e) || !go(e.countries))
17997    throw new Error("[libphonenumber-js] `metadata` argument was passed but it's not a valid metadata. Must be an object having `.countries` child object property. Got ".concat(go(e) ? "an object of shape: { " + Object.keys(e).join(", ") + " }" : "a " + TM(e) + ": " + e, "."));
17998}
17999var TM = function(t) {
18000  return Jl(t);
18001};
18002function Eo(e, t) {
18003  var r = new Lt(t);
18004  if (r.hasCountry(e))
18005    return r.selectNumberingPlan(e).countryCallingCode();
18006  throw new Error("Unknown country: ".concat(e));
18007}
18008function RE(e, t) {
18009  return t.countries.hasOwnProperty(e);
18010}
18011function DE(e) {
18012  var t = e.version;
18013  typeof t == "number" ? (this.v1 = t === 1, this.v2 = t === 2, this.v3 = t === 3, this.v4 = t === 4) : t ? N4(t, vM) === -1 ? this.v2 = !0 : N4(t, bM) === -1 ? this.v3 = !0 : this.v4 = !0 : this.v1 = !0;
18014}
18015function Dc(e, t, r) {
18016  return CM(e, void 0, t, r);
18017}
18018function CM(e, t, r, i) {
18019  r && (i = new Lt(i.metadata), i.selectNumberingPlan(r));
18020  var l = i.type(t), s = l && l.possibleLengths() || i.possibleLengths();
18021  if (!s)
18022    return "IS_POSSIBLE";
18023  var f = e.length, h = s[0];
18024  return h === f ? "IS_POSSIBLE" : h > f ? "TOO_SHORT" : s[s.length - 1] < f ? "TOO_LONG" : s.indexOf(f, 1) >= 0 ? "IS_POSSIBLE" : "INVALID_LENGTH";
18025}
18026function wM(e, t, r) {
18027  t === void 0 && (t = {});
18028  var i = new Lt(r);
18029  if (t.v2) {
18030    if (!e.countryCallingCode)
18031      throw new Error("Invalid phone number object passed");
18032    i.selectNumberingPlan(e.country || e.countryCallingCode);
18033  } else {
18034    if (!e.phone)
18035      return !1;
18036    if (e.country) {
18037      if (!i.hasCountry(e.country))
18038        throw new Error("Unknown country: ".concat(e.country));
18039      i.selectNumberingPlan(e.country);
18040    } else {
18041      if (!e.countryCallingCode)
18042        throw new Error("Invalid phone number object passed");
18043      i.selectNumberingPlan(e.countryCallingCode);
18044    }
18045  }
18046  if (i.possibleLengths())
18047    return ME(e.phone || e.nationalNumber, i);
18048  if (e.countryCallingCode && i.isNonGeographicCallingCode(e.countryCallingCode))
18049    return !0;
18050  throw new Error('Missing "possibleLengths" in metadata. Perhaps the metadata has been generated before v1.0.18.');
18051}
18052function ME(e, t) {
18053  return Dc(e, void 0, t) === "IS_POSSIBLE";
18054}
18055function wa(e, t) {
18056  return e = e || "", new RegExp("^(?:" + t + ")$").test(e);
18057}
18058function OM(e, t) {
18059  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
18060  if (r) return (r = r.call(e)).next.bind(r);
18061  if (Array.isArray(e) || (r = NM(e)) || t) {
18062    r && (e = r);
18063    var i = 0;
18064    return function() {
18065      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
18066    };
18067  }
18068  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18069In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
18070}
18071function NM(e, t) {
18072  if (e) {
18073    if (typeof e == "string") return R4(e, t);
18074    var r = {}.toString.call(e).slice(8, -1);
18075    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? R4(e, t) : void 0;
18076  }
18077}
18078function R4(e, t) {
18079  (t == null || t > e.length) && (t = e.length);
18080  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
18081  return i;
18082}
18083var AM = ["MOBILE", "PREMIUM_RATE", "TOLL_FREE", "SHARED_COST", "VOIP", "PERSONAL_NUMBER", "PAGER", "UAN", "VOICEMAIL"];
18084function Ty(e, t, r) {
18085  if (t = t || {}, !(!e.country && !e.countryCallingCode)) {
18086    var i = new Lt(r);
18087    i.selectNumberingPlan(e.country || e.countryCallingCode);
18088    var l = t.v2 ? e.nationalNumber : e.phone;
18089    if (wa(l, i.nationalNumberPattern())) {
18090      if (pg(l, "FIXED_LINE", i))
18091        return i.type("MOBILE") && i.type("MOBILE").pattern() === "" || !i.type("MOBILE") || pg(l, "MOBILE", i) ? "FIXED_LINE_OR_MOBILE" : "FIXED_LINE";
18092      for (var s = OM(AM), f; !(f = s()).done; ) {
18093        var h = f.value;
18094        if (pg(l, h, i))
18095          return h;
18096      }
18097    }
18098  }
18099}
18100function pg(e, t, r) {
18101  var i = r.type(t);
18102  return !i || !i.pattern() || i.possibleLengths() && i.possibleLengths().indexOf(e.length) < 0 ? !1 : wa(e, i.pattern());
18103}
18104function _M(e, t, r) {
18105  t = t || {};
18106  var i = new Lt(r);
18107  if (i.selectNumberingPlan(e.country || e.countryCallingCode), i.hasTypes())
18108    return Ty(e, t, i.metadata) !== void 0;
18109  var l = t.v2 ? e.nationalNumber : e.phone;
18110  return wa(l, i.nationalNumberPattern());
18111}
18112var xM = /^[A-Z]{2}$/;
18113function RM(e) {
18114  return xM.test(e);
18115}
18116function DM(e, t) {
18117  var r, i, l = new Lt(t);
18118  return RM(e) ? (r = e, l.selectNumberingPlan(r), i = l.countryCallingCode()) : i = e, {
18119    country: r,
18120    callingCode: i
18121  };
18122}
18123function MM(e, t, r) {
18124  var i = new Lt(r), l = i.getCountryCodesForCallingCode(e);
18125  return l ? l.filter(function(s) {
18126    return IM(t, s, r);
18127  }) : [];
18128}
18129function IM(e, t, r) {
18130  var i = new Lt(r);
18131  return i.selectNumberingPlan(t), i.numberingPlan.possibleLengths().indexOf(e.length) >= 0;
18132}
18133var Cy = 2, PM = 17, kM = 3, bn = "0-90-9٠-٩۰-۹", LM = "-‐-―−ー-", zM = "//", UM = "..", jM = "  ­​⁠ ", FM = "()()[]\\[\\]", HM = "~⁓∼~", Nr = "".concat(LM).concat(zM).concat(UM).concat(jM).concat(FM).concat(HM), Yh = "++", VM = new RegExp("([" + bn + "])");
18134function IE(e, t, r, i) {
18135  if (t) {
18136    var l = new Lt(i);
18137    l.selectNumberingPlan(t || r);
18138    var s = new RegExp(l.IDDPrefix());
18139    if (e.search(s) === 0) {
18140      e = e.slice(e.match(s)[0].length);
18141      var f = e.match(VM);
18142      if (!(f && f[1] != null && f[1].length > 0 && f[1] === "0"))
18143        return e;
18144    }
18145  }
18146}
18147function mp(e, t) {
18148  if (e && t.numberingPlan.nationalPrefixForParsing()) {
18149    var r = new RegExp("^(?:" + t.numberingPlan.nationalPrefixForParsing() + ")"), i = r.exec(e);
18150    if (i) {
18151      var l, s, f = i.length - 1, h = f > 0 && i[f];
18152      if (t.nationalPrefixTransformRule() && h)
18153        l = e.replace(r, t.nationalPrefixTransformRule()), f > 1 && (s = i[1]);
18154      else {
18155        var m = i[0];
18156        l = e.slice(m.length), h && (s = i[1]);
18157      }
18158      var g;
18159      if (h) {
18160        var p = e.indexOf(i[1]), b = e.slice(0, p);
18161        b === t.numberingPlan.nationalPrefix() && (g = t.numberingPlan.nationalPrefix());
18162      } else
18163        g = i[0];
18164      return {
18165        nationalNumber: l,
18166        nationalPrefix: g,
18167        carrierCode: s
18168      };
18169    }
18170  }
18171  return {
18172    nationalNumber: e
18173  };
18174}
18175function BM(e, t) {
18176  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
18177  if (r) return (r = r.call(e)).next.bind(r);
18178  if (Array.isArray(e) || (r = qM(e)) || t) {
18179    r && (e = r);
18180    var i = 0;
18181    return function() {
18182      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
18183    };
18184  }
18185  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18186In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
18187}
18188function qM(e, t) {
18189  if (e) {
18190    if (typeof e == "string") return D4(e, t);
18191    var r = {}.toString.call(e).slice(8, -1);
18192    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? D4(e, t) : void 0;
18193  }
18194}
18195function D4(e, t) {
18196  (t == null || t > e.length) && (t = e.length);
18197  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
18198  return i;
18199}
18200function PE(e, t, r) {
18201  for (var i = new Lt(r), l = BM(t), s; !(s = l()).done; ) {
18202    var f = s.value;
18203    if (i.selectNumberingPlan(f), i.leadingDigits()) {
18204      if (e && e.search(i.leadingDigits()) === 0)
18205        return f;
18206    } else if (Ty({
18207      phone: e,
18208      country: f
18209    }, void 0, i.metadata))
18210      return f;
18211  }
18212}
18213function wy(e, t) {
18214  var r = t.nationalNumber, i = t.metadata, l = i.getCountryCodesForCallingCode(e);
18215  if (l)
18216    return l.length === 1 ? l[0] : PE(r, l, i.metadata);
18217}
18218function gp(e, t, r) {
18219  var i = mp(e, r), l = i.carrierCode, s = i.nationalNumber;
18220  if (s !== e) {
18221    if (!GM(e, s, r))
18222      return {
18223        nationalNumber: e
18224      };
18225    if (r.numberingPlan.possibleLengths() && (t || (t = wy(r.numberingPlan.callingCode(), {
18226      nationalNumber: s,
18227      metadata: r
18228    })), !YM(s, t, r)))
18229      return {
18230        nationalNumber: e
18231      };
18232  }
18233  return {
18234    nationalNumber: s,
18235    carrierCode: l
18236  };
18237}
18238function GM(e, t, r) {
18239  return !(wa(e, r.nationalNumberPattern()) && !wa(t, r.nationalNumberPattern()));
18240}
18241function YM(e, t, r) {
18242  switch (Dc(e, t, r)) {
18243    case "TOO_SHORT":
18244    case "INVALID_LENGTH":
18245      return !1;
18246    default:
18247      return !0;
18248  }
18249}
18250function kE(e, t, r, i, l) {
18251  if (!(t || r || i))
18252    return {
18253      number: e
18254    };
18255  var s = t || r ? Eo(t || r, l) : i;
18256  if (e.indexOf(s) === 0) {
18257    var f = new Lt(l);
18258    f.selectNumberingPlan(t || r || i);
18259    var h = e.slice(s.length), m = gp(h, void 0, f), g = m.nationalNumber, p = gp(e, void 0, f), b = p.nationalNumber;
18260    if (!wa(b, f.nationalNumberPattern()) && wa(g, f.nationalNumberPattern()) || Dc(b, void 0, f) === "TOO_LONG")
18261      return {
18262        countryCallingCode: s,
18263        number: h
18264      };
18265  }
18266  return {
18267    number: e
18268  };
18269}
18270function Oy(e, t, r, i, l) {
18271  if (!e)
18272    return {};
18273  var s;
18274  if (e[0] !== "+") {
18275    var f = IE(e, t || r, i, l);
18276    if (f && f !== e)
18277      s = !0, e = "+" + f;
18278    else {
18279      if (t || r || i) {
18280        var h = kE(e, t, r, i, l), m = h.countryCallingCode, g = h.number;
18281        if (m)
18282          return {
18283            countryCallingCodeSource: "FROM_NUMBER_WITHOUT_PLUS_SIGN",
18284            countryCallingCode: m,
18285            number: g
18286          };
18287      }
18288      return {
18289        // No need to set it to `UNSPECIFIED`. It can be just `undefined`.
18290        // countryCallingCodeSource: 'UNSPECIFIED',
18291        number: e
18292      };
18293    }
18294  }
18295  if (e[1] === "0")
18296    return {};
18297  for (var p = new Lt(l), b = 2; b - 1 <= kM && b <= e.length; ) {
18298    var S = e.slice(1, b);
18299    if (p.hasCallingCode(S))
18300      return p.selectNumberingPlan(S), {
18301        countryCallingCodeSource: s ? "FROM_NUMBER_WITH_IDD" : "FROM_NUMBER_WITH_PLUS_SIGN",
18302        countryCallingCode: S,
18303        number: e.slice(b)
18304      };
18305    b++;
18306  }
18307  return {};
18308}
18309function LE(e) {
18310  return e.replace(new RegExp("[".concat(Nr, "]+"), "g"), " ").trim();
18311}
18312var zE = /(\$\d)/;
18313function UE(e, t, r) {
18314  var i = r.useInternationalFormat, l = r.withNationalPrefix;
18315  r.carrierCode, r.metadata;
18316  var s = e.replace(new RegExp(t.pattern()), i ? t.internationalFormat() : (
18317    // This library doesn't use `domestic_carrier_code_formatting_rule`,
18318    // because that one is only used when formatting phone numbers
18319    // for dialing from a mobile phone, and this is not a dialing library.
18320    // carrierCode && format.domesticCarrierCodeFormattingRule()
18321    // 	// First, replace the $CC in the formatting rule with the desired carrier code.
18322    // 	// Then, replace the $FG in the formatting rule with the first group
18323    // 	// and the carrier code combined in the appropriate way.
18324    // 	? format.format().replace(FIRST_GROUP_PATTERN, format.domesticCarrierCodeFormattingRule().replace('$CC', carrierCode))
18325    // 	: (
18326    // 		withNationalPrefix && format.nationalPrefixFormattingRule()
18327    // 			? format.format().replace(FIRST_GROUP_PATTERN, format.nationalPrefixFormattingRule())
18328    // 			: format.format()
18329    // 	)
18330    l && t.nationalPrefixFormattingRule() ? t.format().replace(zE, t.nationalPrefixFormattingRule()) : t.format()
18331  ));
18332  return i ? LE(s) : s;
18333}
18334var ZM = /^[\d]+(?:[~\u2053\u223C\uFF5E][\d]+)?$/;
18335function QM(e, t, r) {
18336  var i = new Lt(r);
18337  if (i.selectNumberingPlan(e || t), i.defaultIDDPrefix())
18338    return i.defaultIDDPrefix();
18339  if (ZM.test(i.IDDPrefix()))
18340    return i.IDDPrefix();
18341}
18342var KM = ";ext=", _l = function(t) {
18343  return "([".concat(bn, "]{1,").concat(t, "})");
18344};
18345function jE(e) {
18346  var t = "20", r = "15", i = "9", l = "6", s = "[  \\t,]*", f = "[:\\..]?[  \\t,-]*", h = "#?", m = "(?:e?xt(?:ensi(?:ó?|ó))?n?|e?xtn?|доб|anexo)", g = "(?:[xx##~~]|int|int)", p = "[- ]+", b = "[  \\t]*", S = "(?:,{2}|;)", w = KM + _l(t), T = s + m + f + _l(t) + h, N = s + g + f + _l(i) + h, $ = p + _l(l) + "#", A = b + S + f + _l(r) + h, D = b + "(?:,)+" + f + _l(i) + h;
18347  return w + "|" + T + "|" + N + "|" + $ + "|" + A + "|" + D;
18348}
18349var XM = "[" + bn + "]{" + Cy + "}", WM = "[" + Yh + "]{0,1}(?:[" + Nr + "]*[" + bn + "]){3,}[" + Nr + bn + "]*", JM = new RegExp("^[" + Yh + "]{0,1}(?:[" + Nr + "]*[" + bn + "]){1,2}$", "i"), eI = WM + // Phone number extensions
18350"(?:" + jE() + ")?", tI = new RegExp(
18351  // Either a short two-digit-only phone number
18352  "^" + XM + "$|^" + eI + "$",
18353  "i"
18354);
18355function nI(e) {
18356  return e.length >= Cy && tI.test(e);
18357}
18358function rI(e) {
18359  return JM.test(e);
18360}
18361function aI(e) {
18362  var t = e.number, r = e.ext;
18363  if (!t)
18364    return "";
18365  if (t[0] !== "+")
18366    throw new Error('"formatRFC3966()" expects "number" to be in E.164 format.');
18367  return "tel:".concat(t).concat(r ? ";ext=" + r : "");
18368}
18369var M4 = {
18370  formatExtension: function(t, r, i) {
18371    return "".concat(t).concat(i.ext()).concat(r);
18372  }
18373};
18374function iI(e, t, r, i) {
18375  r ? r = uI({}, M4, r) : r = M4;
18376  var l = new Lt(i);
18377  if (e.country && e.country !== "001") {
18378    if (!l.hasCountry(e.country))
18379      throw new Error("Unknown country: ".concat(e.country));
18380    l.selectNumberingPlan(e.country);
18381  } else if (e.countryCallingCode)
18382    l.selectNumberingPlan(e.countryCallingCode);
18383  else return e.phone || "";
18384  var s = l.countryCallingCode(), f = r.v2 ? e.nationalNumber : e.phone, h;
18385  switch (t) {
18386    case "NATIONAL":
18387      return f ? (h = vh(f, e.carrierCode, "NATIONAL", l, r), yg(h, e.ext, l, r.formatExtension)) : "";
18388    case "INTERNATIONAL":
18389      return f ? (h = vh(f, null, "INTERNATIONAL", l, r), h = "+".concat(s, " ").concat(h), yg(h, e.ext, l, r.formatExtension)) : "+".concat(s);
18390    case "E.164":
18391      return "+".concat(s).concat(f);
18392    case "RFC3966":
18393      return aI({
18394        number: "+".concat(s).concat(f),
18395        ext: e.ext
18396      });
18397    // For reference, here's Google's IDD formatter:
18398    // https://github.com/google/libphonenumber/blob/32719cf74e68796788d1ca45abc85dcdc63ba5b9/java/libphonenumber/src/com/google/i18n/phonenumbers/PhoneNumberUtil.java#L1546
18399    // Not saying that this IDD formatter replicates it 1:1, but it seems to work.
18400    // Who would even need to format phone numbers in IDD format anyway?
18401    case "IDD":
18402      if (!r.fromCountry)
18403        return;
18404      var m = lI(f, e.carrierCode, s, r.fromCountry, l);
18405      return m ? yg(m, e.ext, l, r.formatExtension) : void 0;
18406    default:
18407      throw new Error('Unknown "format" argument passed to "formatNumber()": "'.concat(t, '"'));
18408  }
18409}
18410function vh(e, t, r, i, l) {
18411  var s = oI(i.formats(), e);
18412  return s ? UE(e, s, {
18413    useInternationalFormat: r === "INTERNATIONAL",
18414    withNationalPrefix: !(s.nationalPrefixIsOptionalWhenFormattingInNationalFormat() && l && l.nationalPrefix === !1),
18415    carrierCode: t,
18416    metadata: i
18417  }) : e;
18418}
18419function oI(e, t) {
18420  return sI(e, function(r) {
18421    if (r.leadingDigitsPatterns().length > 0) {
18422      var i = r.leadingDigitsPatterns()[r.leadingDigitsPatterns().length - 1];
18423      if (t.search(i) !== 0)
18424        return !1;
18425    }
18426    return wa(t, r.pattern());
18427  });
18428}
18429function yg(e, t, r, i) {
18430  return t ? i(e, t, r) : e;
18431}
18432function lI(e, t, r, i, l) {
18433  var s = Eo(i, l.metadata);
18434  if (s === r) {
18435    var f = vh(e, t, "NATIONAL", l);
18436    return r === "1" ? r + " " + f : f;
18437  }
18438  var h = QM(i, void 0, l.metadata);
18439  if (h)
18440    return "".concat(h, " ").concat(r, " ").concat(vh(e, null, "INTERNATIONAL", l));
18441}
18442function uI() {
18443  for (var e = 1, t = arguments.length, r = new Array(t), i = 0; i < t; i++)
18444    r[i] = arguments[i];
18445  for (; e < r.length; ) {
18446    if (r[e])
18447      for (var l in r[e])
18448        r[0][l] = r[e][l];
18449    e++;
18450  }
18451  return r[0];
18452}
18453function sI(e, t) {
18454  for (var r = 0; r < e.length; ) {
18455    if (t(e[r]))
18456      return e[r];
18457    r++;
18458  }
18459}
18460function nc(e) {
18461  "@babel/helpers - typeof";
18462  return nc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
18463    return typeof t;
18464  } : function(t) {
18465    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
18466  }, nc(e);
18467}
18468function I4(e, t) {
18469  var r = Object.keys(e);
18470  if (Object.getOwnPropertySymbols) {
18471    var i = Object.getOwnPropertySymbols(e);
18472    t && (i = i.filter(function(l) {
18473      return Object.getOwnPropertyDescriptor(e, l).enumerable;
18474    })), r.push.apply(r, i);
18475  }
18476  return r;
18477}
18478function P4(e) {
18479  for (var t = 1; t < arguments.length; t++) {
18480    var r = arguments[t] != null ? arguments[t] : {};
18481    t % 2 ? I4(Object(r), !0).forEach(function(i) {
18482      cI(e, i, r[i]);
18483    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : I4(Object(r)).forEach(function(i) {
18484      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
18485    });
18486  }
18487  return e;
18488}
18489function cI(e, t, r) {
18490  return (t = FE(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
18491}
18492function fI(e, t) {
18493  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
18494}
18495function dI(e, t) {
18496  for (var r = 0; r < t.length; r++) {
18497    var i = t[r];
18498    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, FE(i.key), i);
18499  }
18500}
18501function hI(e, t, r) {
18502  return t && dI(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
18503}
18504function FE(e) {
18505  var t = mI(e, "string");
18506  return nc(t) == "symbol" ? t : t + "";
18507}
18508function mI(e, t) {
18509  if (nc(e) != "object" || !e) return e;
18510  var r = e[Symbol.toPrimitive];
18511  if (r !== void 0) {
18512    var i = r.call(e, t);
18513    if (nc(i) != "object") return i;
18514    throw new TypeError("@@toPrimitive must return a primitive value.");
18515  }
18516  return String(e);
18517}
18518var HE = /* @__PURE__ */ (function() {
18519  function e(t, r, i) {
18520    if (fI(this, e), !t)
18521      throw new TypeError("First argument is required");
18522    if (typeof t != "string")
18523      throw new TypeError("First argument must be a string");
18524    if (t[0] === "+" && !r)
18525      throw new TypeError("`metadata` argument not passed");
18526    if (go(r) && go(r.countries)) {
18527      i = r;
18528      var l = t;
18529      if (!gI.test(l))
18530        throw new Error('Invalid `number` argument passed: must consist of a "+" followed by digits');
18531      var s = Oy(l, void 0, void 0, void 0, i), f = s.countryCallingCode, h = s.number;
18532      if (r = h, t = f, !r)
18533        throw new Error("Invalid `number` argument passed: too short");
18534    }
18535    if (!r)
18536      throw new TypeError("`nationalNumber` argument is required");
18537    if (typeof r != "string")
18538      throw new TypeError("`nationalNumber` argument must be a string");
18539    xE(i);
18540    var m = DM(t, i), g = m.country, p = m.callingCode;
18541    this.country = g, this.countryCallingCode = p, this.nationalNumber = r, this.number = "+" + this.countryCallingCode + this.nationalNumber, this.getMetadata = function() {
18542      return i;
18543    };
18544  }
18545  return hI(e, [{
18546    key: "setExt",
18547    value: function(r) {
18548      this.ext = r;
18549    }
18550  }, {
18551    key: "getPossibleCountries",
18552    value: function() {
18553      return this.country ? [this.country] : MM(this.countryCallingCode, this.nationalNumber, this.getMetadata());
18554    }
18555  }, {
18556    key: "isPossible",
18557    value: function() {
18558      return wM(this, {
18559        v2: !0
18560      }, this.getMetadata());
18561    }
18562  }, {
18563    key: "isValid",
18564    value: function() {
18565      return _M(this, {
18566        v2: !0
18567      }, this.getMetadata());
18568    }
18569  }, {
18570    key: "isNonGeographic",
18571    value: function() {
18572      var r = new Lt(this.getMetadata());
18573      return r.isNonGeographicCallingCode(this.countryCallingCode);
18574    }
18575  }, {
18576    key: "isEqual",
18577    value: function(r) {
18578      return this.number === r.number && this.ext === r.ext;
18579    }
18580    // `validateLength()` method was originally meant to be an equivalent for `validatePhoneNumberLength()`.
18581    //
18582    // Later, it became apparent that it's not really a true equivalent.
18583    // The reason is that a `PhoneNumber` instance is not created
18584    // when the phone number string is too short for it to be considered a valid phone number:
18585    // * When there must be at least 2 national (significant) number digits: `"1"`.
18586    // * When the country calling code part of an international number is incomplete: `"+12"`.
18587    //
18588    // So leaving this `validateLength()` method here would suggest a hidden anti-pattern
18589    // of using it instead of `validatePhoneNumberLength()` while ignoring
18590    // the "too short to be even possible" case from phone number length validation.
18591    // And ignoring that case wouldn't make any sense in a real-world application
18592    // because it would still be a valid case that should be handled.
18593    //
18594    // Because of that, this method was eventually commented out in order to not introduce
18595    // that kind of an anti-pattern.
18596    //
18597    // validateLength() {
18598    // 	const result = checkNumberLength(
18599    // 		this.nationalNumber,
18600    // 		undefined,
18601    // 		this.getMetadata()
18602    // 	)
18603    // 	if (result !== 'IS_POSSIBLE') {
18604    // 		return result
18605    // 	}
18606    // }
18607  }, {
18608    key: "getType",
18609    value: function() {
18610      return Ty(this, {
18611        v2: !0
18612      }, this.getMetadata());
18613    }
18614  }, {
18615    key: "format",
18616    value: function(r, i) {
18617      return iI(this, r, i ? P4(P4({}, i), {}, {
18618        v2: !0
18619      }) : {
18620        v2: !0
18621      }, this.getMetadata());
18622    }
18623  }, {
18624    key: "formatNational",
18625    value: function(r) {
18626      return this.format("NATIONAL", r);
18627    }
18628  }, {
18629    key: "formatInternational",
18630    value: function(r) {
18631      return this.format("INTERNATIONAL", r);
18632    }
18633  }, {
18634    key: "getURI",
18635    value: function(r) {
18636      return this.format("RFC3966", r);
18637    }
18638  }]);
18639})(), gI = /^\+\d+$/;
18640function pp(e) {
18641  "@babel/helpers - typeof";
18642  return pp = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
18643    return typeof t;
18644  } : function(t) {
18645    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
18646  }, pp(e);
18647}
18648function pI(e, t, r) {
18649  return Object.defineProperty(e, "prototype", { writable: !1 }), e;
18650}
18651function yI(e, t) {
18652  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
18653}
18654function vI(e, t, r) {
18655  return t = ac(t), bI(e, Ny() ? Reflect.construct(t, r || [], ac(e).constructor) : t.apply(e, r));
18656}
18657function bI(e, t) {
18658  if (t && (pp(t) == "object" || typeof t == "function")) return t;
18659  if (t !== void 0) throw new TypeError("Derived constructors may only return object or undefined");
18660  return SI(e);
18661}
18662function SI(e) {
18663  if (e === void 0) throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
18664  return e;
18665}
18666function $I(e, t) {
18667  if (typeof t != "function" && t !== null) throw new TypeError("Super expression must either be null or a function");
vendor: 8,596 bytes, lines 18668-18961
18668  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && rc(e, t);
18669}
18670function yp(e) {
18671  var t = typeof Map == "function" ? /* @__PURE__ */ new Map() : void 0;
18672  return yp = function(i) {
18673    if (i === null || !TI(i)) return i;
18674    if (typeof i != "function") throw new TypeError("Super expression must either be null or a function");
18675    if (t !== void 0) {
18676      if (t.has(i)) return t.get(i);
18677      t.set(i, l);
18678    }
18679    function l() {
18680      return EI(i, arguments, ac(this).constructor);
18681    }
18682    return l.prototype = Object.create(i.prototype, { constructor: { value: l, enumerable: !1, writable: !0, configurable: !0 } }), rc(l, i);
18683  }, yp(e);
18684}
18685function EI(e, t, r) {
18686  if (Ny()) return Reflect.construct.apply(null, arguments);
18687  var i = [null];
18688  i.push.apply(i, t);
18689  var l = new (e.bind.apply(e, i))();
18690  return r && rc(l, r.prototype), l;
18691}
18692function Ny() {
18693  try {
18694    var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
18695    }));
18696  } catch {
18697  }
18698  return (Ny = function() {
18699    return !!e;
18700  })();
18701}
18702function TI(e) {
18703  try {
18704    return Function.toString.call(e).indexOf("[native code]") !== -1;
18705  } catch {
18706    return typeof e == "function";
18707  }
18708}
18709function rc(e, t) {
18710  return rc = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(r, i) {
18711    return r.__proto__ = i, r;
18712  }, rc(e, t);
18713}
18714function ac(e) {
18715  return ac = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(t) {
18716    return t.__proto__ || Object.getPrototypeOf(t);
18717  }, ac(e);
18718}
18719var Sa = /* @__PURE__ */ (function(e) {
18720  function t(r) {
18721    var i;
18722    return yI(this, t), i = vI(this, t, [r]), Object.setPrototypeOf(i, t.prototype), i.name = i.constructor.name, i;
18723  }
18724  return $I(t, e), pI(t);
18725})(/* @__PURE__ */ yp(Error)), k4 = new RegExp("(?:" + jE() + ")$", "i");
18726function CI(e) {
18727  var t = e.search(k4);
18728  if (t < 0)
18729    return {};
18730  for (var r = e.slice(0, t), i = e.match(k4), l = 1; l < i.length; ) {
18731    if (i[l])
18732      return {
18733        number: r,
18734        ext: i[l]
18735      };
18736    l++;
18737  }
18738}
18739function wI(e, t) {
18740  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
18741  if (r) return (r = r.call(e)).next.bind(r);
18742  if (Array.isArray(e) || (r = OI(e)) || t) {
18743    r && (e = r);
18744    var i = 0;
18745    return function() {
18746      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
18747    };
18748  }
18749  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18750In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
18751}
18752function OI(e, t) {
18753  if (e) {
18754    if (typeof e == "string") return L4(e, t);
18755    var r = {}.toString.call(e).slice(8, -1);
18756    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? L4(e, t) : void 0;
18757  }
18758}
18759function L4(e, t) {
18760  (t == null || t > e.length) && (t = e.length);
18761  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
18762  return i;
18763}
18764var NI = {
18765  0: "0",
18766  1: "1",
18767  2: "2",
18768  3: "3",
18769  4: "4",
18770  5: "5",
18771  6: "6",
18772  7: "7",
18773  8: "8",
18774  9: "9",
18775  "0": "0",
18776  // Fullwidth digit 0
18777  "1": "1",
18778  // Fullwidth digit 1
18779  "2": "2",
18780  // Fullwidth digit 2
18781  "3": "3",
18782  // Fullwidth digit 3
18783  "4": "4",
18784  // Fullwidth digit 4
18785  "5": "5",
18786  // Fullwidth digit 5
18787  "6": "6",
18788  // Fullwidth digit 6
18789  "7": "7",
18790  // Fullwidth digit 7
18791  "8": "8",
18792  // Fullwidth digit 8
18793  "9": "9",
18794  // Fullwidth digit 9
18795  "Ù ": "0",
18796  // Arabic-indic digit 0
18797  "Ù¡": "1",
18798  // Arabic-indic digit 1
18799  "Ù¢": "2",
18800  // Arabic-indic digit 2
18801  "Ù£": "3",
18802  // Arabic-indic digit 3
18803  "Ù¤": "4",
18804  // Arabic-indic digit 4
18805  "Ù¥": "5",
18806  // Arabic-indic digit 5
18807  "Ù¦": "6",
18808  // Arabic-indic digit 6
18809  "Ù§": "7",
18810  // Arabic-indic digit 7
18811  "Ù¨": "8",
18812  // Arabic-indic digit 8
18813  "Ù©": "9",
18814  // Arabic-indic digit 9
18815  "Û°": "0",
18816  // Eastern-Arabic digit 0
18817  "Û±": "1",
18818  // Eastern-Arabic digit 1
18819  "Û²": "2",
18820  // Eastern-Arabic digit 2
18821  "Û³": "3",
18822  // Eastern-Arabic digit 3
18823  "Û´": "4",
18824  // Eastern-Arabic digit 4
18825  "Ûµ": "5",
18826  // Eastern-Arabic digit 5
18827  "Û¶": "6",
18828  // Eastern-Arabic digit 6
18829  "Û·": "7",
18830  // Eastern-Arabic digit 7
18831  "Û¸": "8",
18832  // Eastern-Arabic digit 8
18833  "Û¹": "9"
18834  // Eastern-Arabic digit 9
18835};
18836function VE(e) {
18837  return NI[e];
18838}
18839function bh(e) {
18840  for (var t = "", r = wI(e.split("")), i; !(i = r()).done; ) {
18841    var l = i.value, s = VE(l);
18842    s && (t += s);
18843  }
18844  return t;
18845}
18846function AI(e, t) {
18847  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
18848  if (r) return (r = r.call(e)).next.bind(r);
18849  if (Array.isArray(e) || (r = _I(e)) || t) {
18850    r && (e = r);
18851    var i = 0;
18852    return function() {
18853      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
18854    };
18855  }
18856  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
18857In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
18858}
18859function _I(e, t) {
18860  if (e) {
18861    if (typeof e == "string") return z4(e, t);
18862    var r = {}.toString.call(e).slice(8, -1);
18863    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? z4(e, t) : void 0;
18864  }
18865}
18866function z4(e, t) {
18867  (t == null || t > e.length) && (t = e.length);
18868  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
18869  return i;
18870}
18871function vp(e) {
18872  for (var t = "", r = AI(e.split("")), i; !(i = r()).done; ) {
18873    var l = i.value;
18874    t += BE(l, t) || "";
18875  }
18876  return t;
18877}
18878function BE(e, t, r) {
18879  if (e === "+") {
18880    if (t) {
18881      typeof r == "function" && r("end");
18882      return;
18883    }
18884    return "+";
18885  }
18886  return VE(e);
18887}
18888var qE = "+", xI = "[\\-\\.\\(\\)]?", U4 = "([" + bn + "]|" + xI + ")", RI = "^\\" + qE + U4 + "*[" + bn + "]" + U4 + "*$", DI = new RegExp(RI, "g"), bp = bn, MI = "[" + bp + "]+((\\-)*[" + bp + "])*", II = "a-zA-Z", PI = "[" + II + "]+((\\-)*[" + bp + "])*", kI = "^(" + MI + "\\.)*" + PI + "\\.?$", LI = new RegExp(kI, "g"), j4 = "tel:", Sp = ";phone-context=", zI = ";isub=";
18889function UI(e) {
18890  var t = e.indexOf(Sp);
18891  if (t < 0)
18892    return null;
18893  var r = t + Sp.length;
18894  if (r >= e.length)
18895    return "";
18896  var i = e.indexOf(";", r);
18897  return i >= 0 ? e.substring(r, i) : e.substring(r);
18898}
18899function jI(e) {
18900  return e === null ? !0 : e.length === 0 ? !1 : DI.test(e) || LI.test(e);
18901}
18902function FI(e, t) {
18903  var r = t.extractFormattedPhoneNumber, i = UI(e);
18904  if (!jI(i))
18905    throw new Sa("NOT_A_NUMBER");
18906  var l;
18907  if (i === null)
18908    l = r(e) || "";
18909  else {
18910    l = "", i.charAt(0) === qE && (l += i);
18911    var s = e.indexOf(j4), f;
18912    s >= 0 ? f = s + j4.length : f = 0;
18913    var h = e.indexOf(Sp);
18914    l += e.substring(f, h);
18915  }
18916  var m = l.indexOf(zI);
18917  if (m > 0 && (l = l.substring(0, m)), l !== "")
18918    return l;
18919}
18920var HI = 250, VI = new RegExp("[" + Yh + bn + "]"), BI = new RegExp("[^" + bn + "#]+$");
18921function qI(e, t, r) {
18922  t = t || {};
18923  var i = new Lt(r);
18924  if (t.defaultCountry && !i.hasCountry(t.defaultCountry))
18925    throw t.v2 ? new Sa("INVALID_COUNTRY") : new Error("Unknown country: ".concat(t.defaultCountry));
18926  var l = YI(e, t.v2, t.extract), s = l.number, f = l.ext, h = l.error;
18927  if (!s) {
18928    if (t.v2)
18929      throw h === "TOO_SHORT" ? new Sa("TOO_SHORT") : new Sa("NOT_A_NUMBER");
18930    return {};
18931  }
18932  var m = QI(
18933    s,
18934    t.defaultCountry,
18935    t.defaultCallingCode,
18936    // If `country` is returned, its numbering plan will also be selected in `metadata`.
18937    // Otherwise, if `countryCallingCode` is returned, its numbering plan will also be selected in `metadata`.
18938    // Otherwise, if neither `country` nor `countryCallingCode` are returned, no numbering plan will be selected in `metadata`.
18939    i
18940  ), g = m.country, p = m.nationalNumber, b = m.countryCallingCode, S = m.countryCallingCodeSource, w = m.carrierCode;
18941  if (!i.hasSelectedNumberingPlan()) {
18942    if (t.v2)
18943      throw new Sa("INVALID_COUNTRY");
18944    return {};
18945  }
18946  if (!p || p.length < Cy) {
18947    if (t.v2)
18948      throw new Sa("TOO_SHORT");
18949    return {};
18950  }
18951  if (p.length > PM) {
18952    if (t.v2)
18953      throw new Sa("TOO_LONG");
18954    return {};
18955  }
18956  if (t.v2) {
18957    var T = new HE(b, p, i.metadata);
18958    return g && (T.country = g), w && (T.carrierCode = w), f && (T.ext = f), T.__countryCallingCodeSource = S, T;
18959  }
18960  var N = (t.extended ? i.hasSelectedNumberingPlan() : g) ? wa(p, i.nationalNumberPattern()) : !1;
18961  return t.extended ? {
vendor: 4,241 bytes, lines 18962-19113
18962    country: g,
18963    countryCallingCode: b,
18964    carrierCode: w,
18965    valid: N,
18966    possible: N ? !0 : !!(t.extended === !0 && i.possibleLengths() && ME(p, i)),
18967    phone: p,
18968    ext: f
18969  } : N ? ZI(g, p, f) : {};
18970}
18971function GI(e, t, r) {
18972  if (e) {
18973    if (e.length > HI) {
18974      if (r)
18975        throw new Sa("TOO_LONG");
18976      return;
18977    }
18978    if (t === !1)
18979      return e;
18980    var i = e.search(VI);
18981    if (!(i < 0))
18982      return e.slice(i).replace(BI, "");
18983  }
18984}
18985function YI(e, t, r) {
18986  var i = FI(e, {
18987    extractFormattedPhoneNumber: function(f) {
18988      return GI(f, r, t);
18989    }
18990  });
18991  if (!i)
18992    return {};
18993  if (!nI(i))
18994    return rI(i) ? {
18995      error: "TOO_SHORT"
18996    } : {};
18997  var l = CI(i);
18998  return l.ext ? l : {
18999    number: i
19000  };
19001}
19002function ZI(e, t, r) {
19003  var i = {
19004    country: e,
19005    phone: t
19006  };
19007  return r && (i.ext = r), i;
19008}
19009function QI(e, t, r, i) {
19010  var l = Oy(
19011    vp(e),
19012    void 0,
19013    // `defaultCountry` and `defaultCallingCode` are only used to detect
19014    // if it's an "international" phone number or not. They won't be used
19015    // to derive the resulting `countryCallingCode` from them, or anything like that.
19016    t,
19017    r,
19018    i.metadata
19019  ), s = l.countryCallingCodeSource, f = l.countryCallingCode, h = l.number, m;
19020  if (f)
19021    i.selectNumberingPlan(f);
19022  else if (h && (t || r))
19023    t ? (m = t, i.selectNumberingPlan(t), f = i.numberingPlan.callingCode()) : (i.selectNumberingPlan(r), f = r);
19024  else return {};
19025  if (!h)
19026    return {
19027      countryCallingCodeSource: s,
19028      countryCallingCode: f
19029    };
19030  var g = gp(vp(h), void 0, i), p = g.nationalNumber, b = g.carrierCode, S = wy(f, {
19031    nationalNumber: p,
19032    metadata: i
19033  });
19034  return S && (m = S, S === "001" || i.selectNumberingPlan(m)), {
19035    country: m,
19036    countryCallingCode: f,
19037    countryCallingCodeSource: s,
19038    nationalNumber: p,
19039    carrierCode: b
19040  };
19041}
19042function ic(e) {
19043  "@babel/helpers - typeof";
19044  return ic = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19045    return typeof t;
19046  } : function(t) {
19047    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19048  }, ic(e);
19049}
19050function F4(e, t) {
19051  var r = Object.keys(e);
19052  if (Object.getOwnPropertySymbols) {
19053    var i = Object.getOwnPropertySymbols(e);
19054    t && (i = i.filter(function(l) {
19055      return Object.getOwnPropertyDescriptor(e, l).enumerable;
19056    })), r.push.apply(r, i);
19057  }
19058  return r;
19059}
19060function H4(e) {
19061  for (var t = 1; t < arguments.length; t++) {
19062    var r = arguments[t] != null ? arguments[t] : {};
19063    t % 2 ? F4(Object(r), !0).forEach(function(i) {
19064      KI(e, i, r[i]);
19065    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : F4(Object(r)).forEach(function(i) {
19066      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
19067    });
19068  }
19069  return e;
19070}
19071function KI(e, t, r) {
19072  return (t = XI(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
19073}
19074function XI(e) {
19075  var t = WI(e, "string");
19076  return ic(t) == "symbol" ? t : t + "";
19077}
19078function WI(e, t) {
19079  if (ic(e) != "object" || !e) return e;
19080  var r = e[Symbol.toPrimitive];
19081  if (r !== void 0) {
19082    var i = r.call(e, t);
19083    if (ic(i) != "object") return i;
19084    throw new TypeError("@@toPrimitive must return a primitive value.");
19085  }
19086  return (t === "string" ? String : Number)(e);
19087}
19088function JI(e, t, r) {
19089  return qI(e, H4(H4({}, t), {}, {
19090    v2: !0
19091  }), r);
19092}
19093function oc(e) {
19094  "@babel/helpers - typeof";
19095  return oc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19096    return typeof t;
19097  } : function(t) {
19098    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19099  }, oc(e);
19100}
19101function V4(e, t) {
19102  var r = Object.keys(e);
19103  if (Object.getOwnPropertySymbols) {
19104    var i = Object.getOwnPropertySymbols(e);
19105    t && (i = i.filter(function(l) {
19106      return Object.getOwnPropertyDescriptor(e, l).enumerable;
19107    })), r.push.apply(r, i);
19108  }
19109  return r;
19110}
19111function eP(e) {
19112  for (var t = 1; t < arguments.length; t++) {
19113    var r = arguments[t] != null ? arguments[t] : {};
vendor: 7,521 bytes, lines 19114-19345
19114    t % 2 ? V4(Object(r), !0).forEach(function(i) {
19115      tP(e, i, r[i]);
19116    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : V4(Object(r)).forEach(function(i) {
19117      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
19118    });
19119  }
19120  return e;
19121}
19122function tP(e, t, r) {
19123  return (t = nP(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
19124}
19125function nP(e) {
19126  var t = rP(e, "string");
19127  return oc(t) == "symbol" ? t : t + "";
19128}
19129function rP(e, t) {
19130  if (oc(e) != "object" || !e) return e;
19131  var r = e[Symbol.toPrimitive];
19132  if (r !== void 0) {
19133    var i = r.call(e, t);
19134    if (oc(i) != "object") return i;
19135    throw new TypeError("@@toPrimitive must return a primitive value.");
19136  }
19137  return (t === "string" ? String : Number)(e);
19138}
19139function aP(e, t) {
19140  return uP(e) || lP(e, t) || oP(e, t) || iP();
19141}
19142function iP() {
19143  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
19144In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
19145}
19146function oP(e, t) {
19147  if (e) {
19148    if (typeof e == "string") return B4(e, t);
19149    var r = {}.toString.call(e).slice(8, -1);
19150    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? B4(e, t) : void 0;
19151  }
19152}
19153function B4(e, t) {
19154  (t == null || t > e.length) && (t = e.length);
19155  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
19156  return i;
19157}
19158function lP(e, t) {
19159  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
19160  if (r != null) {
19161    var i, l, s, f, h = [], m = !0, g = !1;
19162    try {
19163      if (s = (r = r.call(e)).next, t !== 0) for (; !(m = (i = s.call(r)).done) && (h.push(i.value), h.length !== t); m = !0) ;
19164    } catch (p) {
19165      g = !0, l = p;
19166    } finally {
19167      try {
19168        if (!m && r.return != null && (f = r.return(), Object(f) !== f)) return;
19169      } finally {
19170        if (g) throw l;
19171      }
19172    }
19173    return h;
19174  }
19175}
19176function uP(e) {
19177  if (Array.isArray(e)) return e;
19178}
19179function sP(e) {
19180  var t = Array.prototype.slice.call(e), r = aP(t, 4), i = r[0], l = r[1], s = r[2], f = r[3], h, m, g;
19181  if (typeof i == "string")
19182    h = i;
19183  else throw new TypeError("A text for parsing must be a string.");
19184  if (!l || typeof l == "string")
19185    f ? (m = s, g = f) : (m = void 0, g = s), l && (m = eP({
19186      defaultCountry: l
19187    }, m));
19188  else if (go(l))
19189    s ? (m = l, g = s) : g = l;
19190  else throw new Error("Invalid second argument: ".concat(l));
19191  return {
19192    text: h,
19193    options: m,
19194    metadata: g
19195  };
19196}
19197function lc(e) {
19198  "@babel/helpers - typeof";
19199  return lc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19200    return typeof t;
19201  } : function(t) {
19202    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19203  }, lc(e);
19204}
19205function q4(e, t) {
19206  var r = Object.keys(e);
19207  if (Object.getOwnPropertySymbols) {
19208    var i = Object.getOwnPropertySymbols(e);
19209    t && (i = i.filter(function(l) {
19210      return Object.getOwnPropertyDescriptor(e, l).enumerable;
19211    })), r.push.apply(r, i);
19212  }
19213  return r;
19214}
19215function G4(e) {
19216  for (var t = 1; t < arguments.length; t++) {
19217    var r = arguments[t] != null ? arguments[t] : {};
19218    t % 2 ? q4(Object(r), !0).forEach(function(i) {
19219      cP(e, i, r[i]);
19220    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : q4(Object(r)).forEach(function(i) {
19221      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
19222    });
19223  }
19224  return e;
19225}
19226function cP(e, t, r) {
19227  return (t = fP(t)) in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
19228}
19229function fP(e) {
19230  var t = dP(e, "string");
19231  return lc(t) == "symbol" ? t : t + "";
19232}
19233function dP(e, t) {
19234  if (lc(e) != "object" || !e) return e;
19235  var r = e[Symbol.toPrimitive];
19236  if (r !== void 0) {
19237    var i = r.call(e, t);
19238    if (lc(i) != "object") return i;
19239    throw new TypeError("@@toPrimitive must return a primitive value.");
19240  }
19241  return (t === "string" ? String : Number)(e);
19242}
19243function hP(e, t, r) {
19244  t && t.defaultCountry && !RE(t.defaultCountry, r) && (t = G4(G4({}, t), {}, {
19245    defaultCountry: void 0
19246  }));
19247  try {
19248    return JI(e, t, r);
19249  } catch (i) {
19250    if (!(i instanceof Sa)) throw i;
19251  }
19252}
19253function mP() {
19254  var e = sP(arguments), t = e.text, r = e.options, i = e.metadata;
19255  return hP(t, r, i);
19256}
19257function uc(e) {
19258  "@babel/helpers - typeof";
19259  return uc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19260    return typeof t;
19261  } : function(t) {
19262    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19263  }, uc(e);
19264}
19265function gP(e, t) {
19266  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
19267}
19268function pP(e, t) {
19269  for (var r = 0; r < t.length; r++) {
19270    var i = t[r];
19271    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, vP(i.key), i);
19272  }
19273}
19274function yP(e, t, r) {
19275  return t && pP(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
19276}
19277function vP(e) {
19278  var t = bP(e, "string");
19279  return uc(t) == "symbol" ? t : t + "";
19280}
19281function bP(e, t) {
19282  if (uc(e) != "object" || !e) return e;
19283  var r = e[Symbol.toPrimitive];
19284  if (r !== void 0) {
19285    var i = r.call(e, t);
19286    if (uc(i) != "object") return i;
19287    throw new TypeError("@@toPrimitive must return a primitive value.");
19288  }
19289  return String(e);
19290}
19291var SP = /* @__PURE__ */ (function() {
19292  function e(t) {
19293    var r = t.onCountryChange, i = t.onCallingCodeChange;
19294    gP(this, e), this.onCountryChange = r, this.onCallingCodeChange = i;
19295  }
19296  return yP(e, [{
19297    key: "reset",
19298    value: function(r) {
19299      var i = r.country, l = r.callingCode;
19300      this.international = !1, this.missingPlus = !1, this.IDDPrefix = void 0, this.callingCode = void 0, this.digits = "", this.resetNationalSignificantNumber(), this.initCountryAndCallingCode(i, l);
19301    }
19302  }, {
19303    key: "resetNationalSignificantNumber",
19304    value: function() {
19305      this.nationalSignificantNumber = this.getNationalDigits(), this.nationalSignificantNumberIsModified = !1, this.nationalPrefix = void 0, this.carrierCode = void 0, this.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix = void 0;
19306    }
19307  }, {
19308    key: "update",
19309    value: function(r) {
19310      for (var i = 0, l = Object.keys(r); i < l.length; i++) {
19311        var s = l[i];
19312        this[s] = r[s];
19313      }
19314    }
19315  }, {
19316    key: "initCountryAndCallingCode",
19317    value: function(r, i) {
19318      this.setCountry(r), this.setCallingCode(i);
19319    }
19320  }, {
19321    key: "setCountry",
19322    value: function(r) {
19323      this.country = r, this.onCountryChange(r);
19324    }
19325  }, {
19326    key: "setCallingCode",
19327    value: function(r) {
19328      this.callingCode = r, this.onCallingCodeChange(r, this.country);
19329    }
19330  }, {
19331    key: "startInternationalNumber",
19332    value: function(r, i) {
19333      this.international = !0, this.initCountryAndCallingCode(r, i);
19334    }
19335  }, {
19336    key: "appendDigits",
19337    value: function(r) {
19338      this.digits += r;
19339    }
19340  }, {
19341    key: "appendNationalSignificantNumberDigits",
19342    value: function(r) {
19343      this.nationalSignificantNumber += r;
19344    }
19345    /**
19346     * Returns the part of `this.digits` that corresponds to the national number.
19347     * Basically, all digits that have been input by the user, except for the
19348     * international prefix and the country calling code part
19349     * (if the number is an international one).
19350     * @return {string}
19351     */
19352  }, {
19353    key: "getNationalDigits",
19354    value: function() {
19355      return this.international ? this.digits.slice((this.IDDPrefix ? this.IDDPrefix.length : 0) + (this.callingCode ? this.callingCode.length : 0)) : this.digits;
19356    }
19357  }, {
19358    key: "getDigitsWithoutInternationalPrefix",
19359    value: function() {
19360      return this.international && this.IDDPrefix ? this.digits.slice(this.IDDPrefix.length) : this.digits;
19361    }
19362  }]);
19363})();
19364function $P(e, t) {
19365  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
19366  if (r) return (r = r.call(e)).next.bind(r);
19367  if (Array.isArray(e) || (r = EP(e)) || t) {
19368    r && (e = r);
19369    var i = 0;
19370    return function() {
19371      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
19372    };
19373  }
19374  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19375In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
19376}
19377function EP(e, t) {
19378  if (e) {
19379    if (typeof e == "string") return Y4(e, t);
19380    var r = {}.toString.call(e).slice(8, -1);
19381    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? Y4(e, t) : void 0;
19382  }
19383}
19384function Y4(e, t) {
19385  (t == null || t > e.length) && (t = e.length);
19386  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
19387  return i;
19388}
19389var Cr = "x", vg = new RegExp(Cr);
19390function Hd(e, t) {
19391  if (t < 1)
19392    return "";
19393  for (var r = ""; t > 1; )
19394    t & 1 && (r += e), t >>= 1, e += e;
19395  return r + e;
19396}
19397function Z4(e, t) {
19398  return e[t] === ")" && t++, TP(e.slice(0, t));
19399}
19400function TP(e) {
19401  for (var t = [], r = 0; r < e.length; )
19402    e[r] === "(" ? t.push(r) : e[r] === ")" && t.pop(), r++;
19403  var i = 0, l = "";
19404  t.push(e.length);
19405  for (var s = 0, f = t; s < f.length; s++) {
19406    var h = f[s];
19407    l += e.slice(i, h), i = h + 1;
19408  }
19409  return l;
19410}
19411function CP(e, t, r) {
19412  for (var i = $P(r.split("")), l; !(l = i()).done; ) {
19413    var s = l.value;
19414    if (e.slice(t + 1).search(vg) < 0)
19415      return;
19416    t = e.search(vg), e = e.replace(vg, s);
19417  }
19418  return [e, t];
19419}
19420function wP(e, t, r) {
19421  var i = r.metadata, l = r.shouldTryNationalPrefixFormattingRule, s = r.getSeparatorAfterNationalPrefix, f = new RegExp("^(?:".concat(t.pattern(), ")$"));
19422  if (f.test(e.nationalSignificantNumber))
19423    return NP(e, t, {
19424      metadata: i,
19425      shouldTryNationalPrefixFormattingRule: l,
19426      getSeparatorAfterNationalPrefix: s
19427    });
19428}
19429function OP(e, t) {
19430  return Dc(e, void 0, t) === "IS_POSSIBLE";
19431}
19432function NP(e, t, r) {
19433  var i = r.metadata, l = r.shouldTryNationalPrefixFormattingRule, s = r.getSeparatorAfterNationalPrefix;
19434  if (e.nationalSignificantNumber, e.international, e.nationalPrefix, e.carrierCode, l(t)) {
19435    var f = Q4(e, t, {
19436      useNationalPrefixFormattingRule: !0,
19437      getSeparatorAfterNationalPrefix: s,
19438      metadata: i
19439    });
19440    if (f)
19441      return f;
19442  }
19443  return Q4(e, t, {
19444    useNationalPrefixFormattingRule: !1,
19445    getSeparatorAfterNationalPrefix: s,
19446    metadata: i
19447  });
19448}
19449function Q4(e, t, r) {
19450  var i = r.metadata, l = r.useNationalPrefixFormattingRule, s = r.getSeparatorAfterNationalPrefix, f = UE(e.nationalSignificantNumber, t, {
19451    carrierCode: e.carrierCode,
19452    useInternationalFormat: e.international,
19453    withNationalPrefix: l,
19454    metadata: i
19455  });
19456  if (l || (e.nationalPrefix ? f = e.nationalPrefix + s(t) + f : e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix && (f = e.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix + " " + f)), AP(f, e))
19457    return f;
19458}
19459function AP(e, t) {
19460  return bh(e) === t.getNationalDigits();
19461}
19462function sc(e) {
19463  "@babel/helpers - typeof";
19464  return sc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19465    return typeof t;
19466  } : function(t) {
19467    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19468  }, sc(e);
19469}
19470function _P(e, t) {
19471  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
19472}
19473function xP(e, t) {
19474  for (var r = 0; r < t.length; r++) {
19475    var i = t[r];
19476    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, DP(i.key), i);
19477  }
19478}
19479function RP(e, t, r) {
19480  return t && xP(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
19481}
19482function DP(e) {
19483  var t = MP(e, "string");
19484  return sc(t) == "symbol" ? t : t + "";
19485}
19486function MP(e, t) {
19487  if (sc(e) != "object" || !e) return e;
19488  var r = e[Symbol.toPrimitive];
19489  if (r !== void 0) {
19490    var i = r.call(e, t);
19491    if (sc(i) != "object") return i;
19492    throw new TypeError("@@toPrimitive must return a primitive value.");
19493  }
19494  return String(e);
19495}
19496var IP = /* @__PURE__ */ (function() {
19497  function e() {
19498    _P(this, e);
19499  }
19500  return RP(e, [{
19501    key: "parse",
19502    value: function(r) {
19503      if (this.context = [{
19504        or: !0,
19505        instructions: []
19506      }], this.parsePattern(r), this.context.length !== 1)
19507        throw new Error("Non-finalized contexts left when pattern parse ended");
19508      var i = this.context[0], l = i.branches, s = i.instructions;
19509      if (l)
19510        return {
19511          op: "|",
19512          args: l.concat([bg(s)])
19513        };
19514      if (s.length === 0)
19515        throw new Error("Pattern is required");
19516      return s.length === 1 ? s[0] : s;
19517    }
19518  }, {
19519    key: "startContext",
19520    value: function(r) {
19521      this.context.push(r);
19522    }
19523  }, {
19524    key: "endContext",
19525    value: function() {
19526      this.context.pop();
19527    }
19528  }, {
19529    key: "getContext",
19530    value: function() {
19531      return this.context[this.context.length - 1];
19532    }
19533  }, {
19534    key: "parsePattern",
19535    value: function(r) {
19536      if (!r)
19537        throw new Error("Pattern is required");
19538      var i = r.match(LP);
19539      if (!i) {
19540        if (kP.test(r))
19541          throw new Error("Illegal characters found in a pattern: ".concat(r));
19542        this.getContext().instructions = this.getContext().instructions.concat(r.split(""));
19543        return;
19544      }
19545      var l = i[1], s = r.slice(0, i.index), f = r.slice(i.index + l.length);
19546      switch (l) {
19547        case "(?:":
19548          s && this.parsePattern(s), this.startContext({
19549            or: !0,
19550            instructions: [],
19551            branches: []
19552          });
19553          break;
19554        case ")":
19555          if (!this.getContext().or)
19556            throw new Error('")" operator must be preceded by "(?:" operator');
19557          if (s && this.parsePattern(s), this.getContext().instructions.length === 0)
vendor: 18,624 bytes, lines 19558-20072
19558            throw new Error('No instructions found after "|" operator in an "or" group');
19559          var h = this.getContext(), m = h.branches;
19560          m.push(bg(this.getContext().instructions)), this.endContext(), this.getContext().instructions.push({
19561            op: "|",
19562            args: m
19563          });
19564          break;
19565        case "|":
19566          if (!this.getContext().or)
19567            throw new Error('"|" operator can only be used inside "or" groups');
19568          if (s && this.parsePattern(s), !this.getContext().branches)
19569            if (this.context.length === 1)
19570              this.getContext().branches = [];
19571            else
19572              throw new Error('"branches" not found in an "or" group context');
19573          this.getContext().branches.push(bg(this.getContext().instructions)), this.getContext().instructions = [];
19574          break;
19575        case "[":
19576          s && this.parsePattern(s), this.startContext({
19577            oneOfSet: !0
19578          });
19579          break;
19580        case "]":
19581          if (!this.getContext().oneOfSet)
19582            throw new Error('"]" operator must be preceded by "[" operator');
19583          this.endContext(), this.getContext().instructions.push({
19584            op: "[]",
19585            args: PP(s)
19586          });
19587          break;
19588        /* istanbul ignore next */
19589        default:
19590          throw new Error("Unknown operator: ".concat(l));
19591      }
19592      f && this.parsePattern(f);
19593    }
19594  }]);
19595})();
19596function PP(e) {
19597  for (var t = [], r = 0; r < e.length; ) {
19598    if (e[r] === "-") {
19599      if (r === 0 || r === e.length - 1)
19600        throw new Error("Couldn't parse a one-of set pattern: ".concat(e));
19601      for (var i = e[r - 1].charCodeAt(0) + 1, l = e[r + 1].charCodeAt(0) - 1, s = i; s <= l; )
19602        t.push(String.fromCharCode(s)), s++;
19603    } else
19604      t.push(e[r]);
19605    r++;
19606  }
19607  return t;
19608}
19609var kP = /[\(\)\[\]\?\:\|]/, LP = new RegExp(
19610  // any of:
19611  "(\\||\\(\\?\\:|\\)|\\[|\\])"
19612);
19613function bg(e) {
19614  return e.length === 1 ? e[0] : e;
19615}
19616function K4(e, t) {
19617  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
19618  if (r) return (r = r.call(e)).next.bind(r);
19619  if (Array.isArray(e) || (r = zP(e)) || t) {
19620    r && (e = r);
19621    var i = 0;
19622    return function() {
19623      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
19624    };
19625  }
19626  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19627In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
19628}
19629function zP(e, t) {
19630  if (e) {
19631    if (typeof e == "string") return X4(e, t);
19632    var r = {}.toString.call(e).slice(8, -1);
19633    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? X4(e, t) : void 0;
19634  }
19635}
19636function X4(e, t) {
19637  (t == null || t > e.length) && (t = e.length);
19638  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
19639  return i;
19640}
19641function cc(e) {
19642  "@babel/helpers - typeof";
19643  return cc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19644    return typeof t;
19645  } : function(t) {
19646    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19647  }, cc(e);
19648}
19649function UP(e, t) {
19650  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
19651}
19652function jP(e, t) {
19653  for (var r = 0; r < t.length; r++) {
19654    var i = t[r];
19655    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, HP(i.key), i);
19656  }
19657}
19658function FP(e, t, r) {
19659  return t && jP(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
19660}
19661function HP(e) {
19662  var t = VP(e, "string");
19663  return cc(t) == "symbol" ? t : t + "";
19664}
19665function VP(e, t) {
19666  if (cc(e) != "object" || !e) return e;
19667  var r = e[Symbol.toPrimitive];
19668  if (r !== void 0) {
19669    var i = r.call(e, t);
19670    if (cc(i) != "object") return i;
19671    throw new TypeError("@@toPrimitive must return a primitive value.");
19672  }
19673  return String(e);
19674}
19675var BP = /* @__PURE__ */ (function() {
19676  function e(t) {
19677    UP(this, e), this.matchTree = new IP().parse(t);
19678  }
19679  return FP(e, [{
19680    key: "match",
19681    value: function(r) {
19682      var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, l = i.allowOverflow;
19683      if (!r)
19684        throw new Error("String is required");
19685      var s = $p(r.split(""), this.matchTree, !0);
19686      if (s && s.match && delete s.matchedChars, !(s && s.overflow && !l))
19687        return s;
19688    }
19689  }]);
19690})();
19691function $p(e, t, r) {
19692  if (typeof t == "string") {
19693    var i = e.join("");
19694    return t.indexOf(i) === 0 ? e.length === t.length ? {
19695      match: !0,
19696      matchedChars: e
19697    } : {
19698      partialMatch: !0
19699      // matchedChars: characters
19700    } : i.indexOf(t) === 0 ? r && e.length > t.length ? {
19701      overflow: !0
19702    } : {
19703      match: !0,
19704      matchedChars: e.slice(0, t.length)
19705    } : void 0;
19706  }
19707  if (Array.isArray(t)) {
19708    for (var l = e.slice(), s = 0; s < t.length; ) {
19709      var f = t[s], h = $p(l, f, r && s === t.length - 1);
19710      if (h) {
19711        if (h.overflow)
19712          return h;
19713        if (h.match) {
19714          if (l = l.slice(h.matchedChars.length), l.length === 0)
19715            return s === t.length - 1 ? {
19716              match: !0,
19717              matchedChars: e
19718            } : {
19719              partialMatch: !0
19720              // matchedChars: characters
19721            };
19722        } else {
19723          if (h.partialMatch)
19724            return {
19725              partialMatch: !0
19726              // matchedChars: characters
19727            };
19728          throw new Error(`Unsupported match result:
19729`.concat(JSON.stringify(h, null, 2)));
19730        }
19731      } else return;
19732      s++;
19733    }
19734    return r ? {
19735      overflow: !0
19736    } : {
19737      match: !0,
19738      matchedChars: e.slice(0, e.length - l.length)
19739    };
19740  }
19741  switch (t.op) {
19742    case "|":
19743      for (var m, g = K4(t.args), p; !(p = g()).done; ) {
19744        var b = p.value, S = $p(e, b, r);
19745        if (S) {
19746          if (S.overflow)
19747            return S;
19748          if (S.match)
19749            return {
19750              match: !0,
19751              matchedChars: S.matchedChars
19752            };
19753          if (S.partialMatch)
19754            m = !0;
19755          else
19756            throw new Error(`Unsupported match result:
19757`.concat(JSON.stringify(S, null, 2)));
19758        }
19759      }
19760      return m ? {
19761        partialMatch: !0
19762        // matchedChars: ...
19763      } : void 0;
19764    case "[]":
19765      for (var w = K4(t.args), T; !(T = w()).done; ) {
19766        var N = T.value;
19767        if (e[0] === N)
19768          return e.length === 1 ? {
19769            match: !0,
19770            matchedChars: e
19771          } : r ? {
19772            overflow: !0
19773          } : {
19774            match: !0,
19775            matchedChars: [N]
19776          };
19777      }
19778      return;
19779    /* istanbul ignore next */
19780    default:
19781      throw new Error("Unsupported instruction tree: ".concat(t));
19782  }
19783}
19784function fc(e) {
19785  "@babel/helpers - typeof";
19786  return fc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
19787    return typeof t;
19788  } : function(t) {
19789    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
19790  }, fc(e);
19791}
19792function W4(e, t) {
19793  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
19794  if (r) return (r = r.call(e)).next.bind(r);
19795  if (Array.isArray(e) || (r = qP(e)) || t) {
19796    r && (e = r);
19797    var i = 0;
19798    return function() {
19799      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
19800    };
19801  }
19802  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
19803In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
19804}
19805function qP(e, t) {
19806  if (e) {
19807    if (typeof e == "string") return J4(e, t);
19808    var r = {}.toString.call(e).slice(8, -1);
19809    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? J4(e, t) : void 0;
19810  }
19811}
19812function J4(e, t) {
19813  (t == null || t > e.length) && (t = e.length);
19814  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
19815  return i;
19816}
19817function GP(e, t) {
19818  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
19819}
19820function YP(e, t) {
19821  for (var r = 0; r < t.length; r++) {
19822    var i = t[r];
19823    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, QP(i.key), i);
19824  }
19825}
19826function ZP(e, t, r) {
19827  return t && YP(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
19828}
19829function QP(e) {
19830  var t = KP(e, "string");
19831  return fc(t) == "symbol" ? t : t + "";
19832}
19833function KP(e, t) {
19834  if (fc(e) != "object" || !e) return e;
19835  var r = e[Symbol.toPrimitive];
19836  if (r !== void 0) {
19837    var i = r.call(e, t);
19838    if (fc(i) != "object") return i;
19839    throw new TypeError("@@toPrimitive must return a primitive value.");
19840  }
19841  return String(e);
19842}
19843var Ep = "9", XP = 15, WP = Hd(Ep, XP), JP = /[- ]/, ek = function() {
19844  return /\[([^\[\]])*\]/g;
19845}, tk = function() {
19846  return /\d(?=[^,}][^,}])/g;
19847}, nk = new RegExp("[" + Nr + "]*\\$1[" + Nr + "]*(\\$\\d[" + Nr + "]*)*$"), e9 = 3, rk = /* @__PURE__ */ (function() {
19848  function e(t) {
19849    t.state;
19850    var r = t.metadata;
19851    GP(this, e), this.metadata = r, this.resetFormat();
19852  }
19853  return ZP(e, [{
19854    key: "resetFormat",
19855    value: function() {
19856      this.chosenFormat = void 0, this.template = void 0, this.nationalNumberTemplate = void 0, this.populatedNationalNumberTemplate = void 0, this.populatedNationalNumberTemplatePosition = -1;
19857    }
19858  }, {
19859    key: "reset",
19860    value: function(r, i) {
19861      this.resetFormat(), r ? (this.isNANP = r.callingCode() === "1", this.matchingFormats = r.formats(), i.nationalSignificantNumber && this.narrowDownMatchingFormats(i)) : (this.isNANP = void 0, this.matchingFormats = []);
19862    }
19863    /**
19864     * Formats an updated phone number.
19865     * @param  {string} nextDigits — Additional phone number digits.
19866     * @param  {object} state — `AsYouType` state.
19867     * @return {[string]} Returns undefined if the updated phone number can't be formatted using any of the available formats.
19868     */
19869  }, {
19870    key: "format",
19871    value: function(r, i) {
19872      var l = this;
19873      if (OP(i.nationalSignificantNumber, this.metadata))
19874        for (var s = W4(this.matchingFormats), f; !(f = s()).done; ) {
19875          var h = f.value, m = wP(i, h, {
19876            metadata: this.metadata,
19877            shouldTryNationalPrefixFormattingRule: function(p) {
19878              return l.shouldTryNationalPrefixFormattingRule(p, {
19879                international: i.international,
19880                nationalPrefix: i.nationalPrefix
19881              });
19882            },
19883            getSeparatorAfterNationalPrefix: function(p) {
19884              return l.getSeparatorAfterNationalPrefix(p);
19885            }
19886          });
19887          if (m)
19888            return this.resetFormat(), this.chosenFormat = h, this.setNationalNumberTemplate(m.replace(/\d/g, Cr), i), this.populatedNationalNumberTemplate = m, this.populatedNationalNumberTemplatePosition = this.template.lastIndexOf(Cr), m;
19889        }
19890      return this.formatNationalNumberWithNextDigits(r, i);
19891    }
19892    // Formats the next phone number digits.
19893  }, {
19894    key: "formatNationalNumberWithNextDigits",
19895    value: function(r, i) {
19896      var l = this.chosenFormat, s = this.chooseFormat(i);
19897      if (s)
19898        return s === l ? this.formatNextNationalNumberDigits(r) : this.formatNextNationalNumberDigits(i.getNationalDigits());
19899    }
19900  }, {
19901    key: "narrowDownMatchingFormats",
19902    value: function(r) {
19903      var i = this, l = r.nationalSignificantNumber, s = r.nationalPrefix, f = r.international, h = l, m = h.length - e9;
19904      m < 0 && (m = 0), this.matchingFormats = this.matchingFormats.filter(function(g) {
19905        return i.formatSuits(g, f, s) && i.formatMatches(g, h, m);
19906      }), this.chosenFormat && this.matchingFormats.indexOf(this.chosenFormat) === -1 && this.resetFormat();
19907    }
19908  }, {
19909    key: "formatSuits",
19910    value: function(r, i, l) {
19911      return !(l && !r.usesNationalPrefix() && // !format.domesticCarrierCodeFormattingRule() &&
19912      !r.nationalPrefixIsOptionalWhenFormattingInNationalFormat() || !i && !l && r.nationalPrefixIsMandatoryWhenFormattingInNationalFormat());
19913    }
19914  }, {
19915    key: "formatMatches",
19916    value: function(r, i, l) {
19917      var s = r.leadingDigitsPatterns().length;
19918      if (s === 0)
19919        return !0;
19920      l = Math.min(l, s - 1);
19921      var f = r.leadingDigitsPatterns()[l];
19922      if (i.length < e9)
19923        try {
19924          return new BP(f).match(i, {
19925            allowOverflow: !0
19926          }) !== void 0;
19927        } catch (h) {
19928          return console.error(h), !0;
19929        }
19930      return new RegExp("^(".concat(f, ")")).test(i);
19931    }
19932  }, {
19933    key: "getFormatFormat",
19934    value: function(r, i) {
19935      return i ? r.internationalFormat() : r.format();
19936    }
19937  }, {
19938    key: "chooseFormat",
19939    value: function(r) {
19940      for (var i = this, l = function() {
19941        var g = h.value;
19942        return i.chosenFormat === g ? 0 : nk.test(i.getFormatFormat(g, r.international)) ? i.createTemplateForFormat(g, r) ? (i.chosenFormat = g, 0) : (i.matchingFormats = i.matchingFormats.filter(function(p) {
19943          return p !== g;
19944        }), 1) : 1;
19945      }, s, f = W4(this.matchingFormats.slice()), h; !(h = f()).done && (s = l(), s !== 0); )
19946        ;
19947      return this.chosenFormat || this.resetFormat(), this.chosenFormat;
19948    }
19949  }, {
19950    key: "createTemplateForFormat",
19951    value: function(r, i) {
19952      if (!(r.pattern().indexOf("|") >= 0)) {
19953        var l = this.getTemplateForFormat(r, i);
19954        if (l)
19955          return this.setNationalNumberTemplate(l, i), !0;
19956      }
19957    }
19958  }, {
19959    key: "getSeparatorAfterNationalPrefix",
19960    value: function(r) {
19961      return this.isNANP || r && r.nationalPrefixFormattingRule() && JP.test(r.nationalPrefixFormattingRule()) ? " " : "";
19962    }
19963  }, {
19964    key: "getInternationalPrefixBeforeCountryCallingCode",
19965    value: function(r, i) {
19966      var l = r.IDDPrefix, s = r.missingPlus;
19967      return l ? i && i.spacing === !1 ? l : l + " " : s ? "" : "+";
19968    }
19969  }, {
19970    key: "getTemplate",
19971    value: function(r) {
19972      if (this.template) {
19973        for (var i = -1, l = 0, s = r.international ? this.getInternationalPrefixBeforeCountryCallingCode(r, {
19974          spacing: !1
19975        }) : ""; l < s.length + r.getDigitsWithoutInternationalPrefix().length; )
19976          i = this.template.indexOf(Cr, i + 1), l++;
19977        return Z4(this.template, i + 1);
19978      }
19979    }
19980  }, {
19981    key: "setNationalNumberTemplate",
19982    value: function(r, i) {
19983      this.nationalNumberTemplate = r, this.populatedNationalNumberTemplate = r, this.populatedNationalNumberTemplatePosition = -1, i.international ? this.template = this.getInternationalPrefixBeforeCountryCallingCode(i).replace(/[\d\+]/g, Cr) + Hd(Cr, i.callingCode.length) + " " + r : this.template = r;
19984    }
19985    /**
19986     * Generates formatting template for a national phone number,
19987     * optionally containing a national prefix, for a format.
19988     * @param  {Format} format
19989     * @param  {string} nationalPrefix
19990     * @return {string}
19991     */
19992  }, {
19993    key: "getTemplateForFormat",
19994    value: function(r, i) {
19995      var l = i.nationalSignificantNumber, s = i.international, f = i.nationalPrefix, h = i.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, m = r.pattern();
19996      m = m.replace(ek(), "\\d").replace(tk(), "\\d");
19997      var g = WP.match(m)[0];
19998      if (!(l.length > g.length)) {
19999        var p = new RegExp("^" + m + "$"), b = l.replace(/\d/g, Ep);
20000        p.test(b) && (g = b);
20001        var S = this.getFormatFormat(r, s), w;
20002        if (this.shouldTryNationalPrefixFormattingRule(r, {
20003          international: s,
20004          nationalPrefix: f
20005        })) {
20006          var T = S.replace(zE, r.nationalPrefixFormattingRule());
20007          if (bh(r.nationalPrefixFormattingRule()) === (f || "") + bh("$1") && (S = T, w = !0, f))
20008            for (var N = f.length; N > 0; )
20009              S = S.replace(/\d/, Cr), N--;
20010        }
20011        var $ = g.replace(new RegExp(m), S).replace(new RegExp(Ep, "g"), Cr);
20012        return w || (h ? $ = Hd(Cr, h.length) + " " + $ : f && ($ = Hd(Cr, f.length) + this.getSeparatorAfterNationalPrefix(r) + $)), s && ($ = LE($)), $;
20013      }
20014    }
20015  }, {
20016    key: "formatNextNationalNumberDigits",
20017    value: function(r) {
20018      var i = CP(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition, r);
20019      if (!i) {
20020        this.resetFormat();
20021        return;
20022      }
20023      return this.populatedNationalNumberTemplate = i[0], this.populatedNationalNumberTemplatePosition = i[1], Z4(this.populatedNationalNumberTemplate, this.populatedNationalNumberTemplatePosition + 1);
20024    }
20025  }, {
20026    key: "shouldTryNationalPrefixFormattingRule",
20027    value: function(r, i) {
20028      var l = i.international, s = i.nationalPrefix;
20029      if (r.nationalPrefixFormattingRule()) {
20030        var f = r.usesNationalPrefix();
20031        if (f && s || !f && !l)
20032          return !0;
20033      }
20034    }
20035  }]);
20036})();
20037function dc(e) {
20038  "@babel/helpers - typeof";
20039  return dc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
20040    return typeof t;
20041  } : function(t) {
20042    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
20043  }, dc(e);
20044}
20045function GE(e, t) {
20046  return lk(e) || ok(e, t) || ik(e, t) || ak();
20047}
20048function ak() {
20049  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20050In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
20051}
20052function ik(e, t) {
20053  if (e) {
20054    if (typeof e == "string") return t9(e, t);
20055    var r = {}.toString.call(e).slice(8, -1);
20056    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? t9(e, t) : void 0;
20057  }
20058}
20059function t9(e, t) {
20060  (t == null || t > e.length) && (t = e.length);
20061  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
20062  return i;
20063}
20064function ok(e, t) {
20065  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
20066  if (r != null) {
20067    var i, l, s, f, h = [], m = !0, g = !1;
20068    try {
20069      if (s = (r = r.call(e)).next, t !== 0) for (; !(m = (i = s.call(r)).done) && (h.push(i.value), h.length !== t); m = !0) ;
20070    } catch (p) {
20071      g = !0, l = p;
20072    } finally {
20073      try {
20074        if (!m && r.return != null && (f = r.return(), Object(f) !== f)) return;
20075      } finally {
20076        if (g) throw l;
20077      }
20078    }
20079    return h;
20080  }
20081}
20082function lk(e) {
20083  if (Array.isArray(e)) return e;
20084}
20085function uk(e, t) {
20086  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
20087}
20088function sk(e, t) {
20089  for (var r = 0; r < t.length; r++) {
20090    var i = t[r];
20091    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, fk(i.key), i);
20092  }
20093}
20094function ck(e, t, r) {
20095  return t && sk(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
20096}
20097function fk(e) {
20098  var t = dk(e, "string");
20099  return dc(t) == "symbol" ? t : t + "";
20100}
20101function dk(e, t) {
20102  if (dc(e) != "object" || !e) return e;
20103  var r = e[Symbol.toPrimitive];
20104  if (r !== void 0) {
20105    var i = r.call(e, t);
20106    if (dc(i) != "object") return i;
20107    throw new TypeError("@@toPrimitive must return a primitive value.");
20108  }
20109  return String(e);
20110}
20111var hk = "[" + Nr + bn + "]+", mk = new RegExp("^" + hk + "$", "i"), gk = "(?:[" + Yh + "][" + Nr + bn + "]*|[" + Nr + bn + "]+)", pk = new RegExp("[^" + Nr + bn + "]+.*$"), yk = /[^\d\[\]]/, vk = /* @__PURE__ */ (function() {
20112  function e(t) {
20113    var r = t.defaultCountry, i = t.defaultCallingCode, l = t.metadata, s = t.onNationalSignificantNumberChange;
20114    uk(this, e), this.defaultCountry = r, this.defaultCallingCode = i, this.metadata = l, this.onNationalSignificantNumberChange = s;
20115  }
20116  return ck(e, [{
20117    key: "input",
20118    value: function(r, i) {
20119      var l = $k(r), s = GE(l, 2), f = s[0], h = s[1], m = bh(f), g;
20120      return h && (i.digits || (i.startInternationalNumber(void 0, void 0), m || (g = !0))), m && this.inputDigits(m, i), {
20121        digits: m,
20122        justLeadingPlus: g
20123      };
20124    }
20125    /**
20126     * Inputs "next" phone number digits.
20127     * @param  {string} digits
20128     * @return {string} [formattedNumber] Formatted national phone number (if it can be formatted at this stage). Returning `undefined` means "don't format the national phone number at this stage".
20129     */
20130  }, {
20131    key: "inputDigits",
20132    value: function(r, i) {
20133      var l = i.digits, s = l.length < 3 && l.length + r.length >= 3;
20134      if (i.appendDigits(r), s && this.extractIddPrefix(i), this.isWaitingForCountryCallingCode(i)) {
20135        if (!this.extractCountryCallingCode(i))
20136          return;
20137      } else
20138        i.appendNationalSignificantNumberDigits(r);
20139      i.international || this.hasExtractedNationalSignificantNumber || this.extractNationalSignificantNumber(i.getNationalDigits(), function(f) {
20140        return i.update(f);
20141      });
20142    }
20143  }, {
20144    key: "isWaitingForCountryCallingCode",
20145    value: function(r) {
20146      var i = r.international, l = r.callingCode;
20147      return i && !l;
20148    }
20149    // Extracts a country calling code from a number
20150    // being entered in internatonal format.
20151  }, {
20152    key: "extractCountryCallingCode",
20153    value: function(r) {
20154      var i = Oy("+" + r.getDigitsWithoutInternationalPrefix(), r.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), l = i.countryCallingCode, s = i.number;
20155      if (l)
20156        return r.setCallingCode(l), r.update({
20157          nationalSignificantNumber: s
20158        }), !0;
20159    }
20160  }, {
20161    key: "reset",
20162    value: function(r) {
20163      if (r) {
20164        this.hasSelectedNumberingPlan = !0;
20165        var i = r._nationalPrefixForParsing();
20166        this.couldPossiblyExtractAnotherNationalSignificantNumber = i && yk.test(i);
20167      } else
20168        this.hasSelectedNumberingPlan = void 0, this.couldPossiblyExtractAnotherNationalSignificantNumber = void 0;
20169    }
20170    /**
20171     * Extracts a national (significant) number from user input.
20172     * Google's library is different in that it only applies `national_prefix_for_parsing`
20173     * and doesn't apply `national_prefix_transform_rule` after that.
20174     * https://github.com/google/libphonenumber/blob/a3d70b0487875475e6ad659af404943211d26456/java/libphonenumber/src/com/google/i18n/phonenumbers/AsYouTypeFormatter.java#L539
20175     * @return {boolean} [extracted]
20176     */
20177  }, {
20178    key: "extractNationalSignificantNumber",
20179    value: function(r, i) {
20180      if (this.hasSelectedNumberingPlan) {
20181        var l = mp(r, this.metadata), s = l.nationalPrefix, f = l.nationalNumber, h = l.carrierCode;
20182        if (f !== r)
20183          return this.onExtractedNationalNumber(s, h, f, r, i), !0;
20184      }
20185    }
20186    /**
20187     * In Google's code this function is called "attempt to extract longer NDD".
20188     * "Some national prefixes are a substring of others", they say.
20189     * @return {boolean} [result] — Returns `true` if extracting a national prefix produced different results from what they were.
20190     */
20191  }, {
20192    key: "extractAnotherNationalSignificantNumber",
20193    value: function(r, i, l) {
20194      if (!this.hasExtractedNationalSignificantNumber)
20195        return this.extractNationalSignificantNumber(r, l);
20196      if (this.couldPossiblyExtractAnotherNationalSignificantNumber) {
20197        var s = mp(r, this.metadata), f = s.nationalPrefix, h = s.nationalNumber, m = s.carrierCode;
20198        if (h !== i)
20199          return this.onExtractedNationalNumber(f, m, h, r, l), !0;
20200      }
20201    }
20202  }, {
20203    key: "onExtractedNationalNumber",
20204    value: function(r, i, l, s, f) {
20205      var h = !1, m, g = s.lastIndexOf(l);
20206      if (g < 0 || g !== s.length - l.length)
20207        h = !0;
20208      else {
20209        var p = s.slice(0, g);
20210        p && p !== r && (m = p);
20211      }
20212      f({
20213        nationalPrefix: r,
20214        carrierCode: i,
20215        nationalSignificantNumber: l,
20216        nationalSignificantNumberIsModified: h,
20217        prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix: m
20218      }), this.hasExtractedNationalSignificantNumber = !0, this.onNationalSignificantNumberChange();
20219    }
20220  }, {
20221    key: "reExtractNationalSignificantNumber",
20222    value: function(r) {
20223      if (this.extractAnotherNationalSignificantNumber(r.getNationalDigits(), r.nationalSignificantNumber, function(i) {
20224        return r.update(i);
20225      }))
20226        return !0;
20227      if (this.extractIddPrefix(r))
20228        return this.extractCallingCodeAndNationalSignificantNumber(r), !0;
20229      if (this.fixMissingPlus(r))
20230        return this.extractCallingCodeAndNationalSignificantNumber(r), !0;
20231    }
20232  }, {
20233    key: "extractIddPrefix",
20234    value: function(r) {
20235      var i = r.international, l = r.IDDPrefix, s = r.digits;
20236      if (r.nationalSignificantNumber, !(i || l)) {
20237        var f = IE(s, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata);
20238        if (f !== void 0 && f !== s)
20239          return r.update({
20240            IDDPrefix: s.slice(0, s.length - f.length)
20241          }), this.startInternationalNumber(r, {
20242            country: void 0,
20243            callingCode: void 0
20244          }), !0;
20245      }
20246    }
20247  }, {
20248    key: "fixMissingPlus",
20249    value: function(r) {
20250      if (!r.international) {
20251        var i = kE(r.digits, r.country, this.defaultCountry, this.defaultCallingCode, this.metadata.metadata), l = i.countryCallingCode;
20252        if (l)
20253          return r.update({
20254            missingPlus: !0
20255          }), this.startInternationalNumber(r, {
20256            country: r.country,
20257            callingCode: l
20258          }), !0;
20259      }
20260    }
20261  }, {
20262    key: "startInternationalNumber",
20263    value: function(r, i) {
20264      var l = i.country, s = i.callingCode;
20265      r.startInternationalNumber(l, s), r.nationalSignificantNumber && (r.resetNationalSignificantNumber(), this.onNationalSignificantNumberChange(), this.hasExtractedNationalSignificantNumber = void 0);
20266    }
20267  }, {
20268    key: "extractCallingCodeAndNationalSignificantNumber",
20269    value: function(r) {
20270      this.extractCountryCallingCode(r) && this.extractNationalSignificantNumber(r.getNationalDigits(), function(i) {
20271        return r.update(i);
20272      });
20273    }
20274  }]);
20275})();
20276function bk(e) {
20277  var t = e.search(gk);
20278  if (!(t < 0)) {
20279    e = e.slice(t);
20280    var r;
20281    return e[0] === "+" && (r = !0, e = e.slice(1)), e = e.replace(pk, ""), r && (e = "+" + e), e;
20282  }
20283}
20284function Sk(e) {
20285  var t = bk(e) || "";
20286  return t[0] === "+" ? [t.slice(1), !0] : [t];
20287}
20288function $k(e) {
20289  var t = Sk(e), r = GE(t, 2), i = r[0], l = r[1];
20290  return mk.test(i) || (i = ""), [i, l];
20291}
20292function hc(e) {
20293  "@babel/helpers - typeof";
20294  return hc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
20295    return typeof t;
20296  } : function(t) {
20297    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
20298  }, hc(e);
20299}
20300function Ek(e, t) {
20301  return Ok(e) || wk(e, t) || Ck(e, t) || Tk();
20302}
20303function Tk() {
vendor: 7,290 bytes, lines 20304-20510
20304  throw new TypeError(`Invalid attempt to destructure non-iterable instance.
20305In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
20306}
20307function Ck(e, t) {
20308  if (e) {
20309    if (typeof e == "string") return n9(e, t);
20310    var r = {}.toString.call(e).slice(8, -1);
20311    return r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set" ? Array.from(e) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? n9(e, t) : void 0;
20312  }
20313}
20314function n9(e, t) {
20315  (t == null || t > e.length) && (t = e.length);
20316  for (var r = 0, i = Array(t); r < t; r++) i[r] = e[r];
20317  return i;
20318}
20319function wk(e, t) {
20320  var r = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
20321  if (r != null) {
20322    var i, l, s, f, h = [], m = !0, g = !1;
20323    try {
20324      if (s = (r = r.call(e)).next, t !== 0) for (; !(m = (i = s.call(r)).done) && (h.push(i.value), h.length !== t); m = !0) ;
20325    } catch (p) {
20326      g = !0, l = p;
20327    } finally {
20328      try {
20329        if (!m && r.return != null && (f = r.return(), Object(f) !== f)) return;
20330      } finally {
20331        if (g) throw l;
20332      }
20333    }
20334    return h;
20335  }
20336}
20337function Ok(e) {
20338  if (Array.isArray(e)) return e;
20339}
20340function Nk(e, t) {
20341  if (!(e instanceof t)) throw new TypeError("Cannot call a class as a function");
20342}
20343function Ak(e, t) {
20344  for (var r = 0; r < t.length; r++) {
20345    var i = t[r];
20346    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, xk(i.key), i);
20347  }
20348}
20349function _k(e, t, r) {
20350  return t && Ak(e.prototype, t), Object.defineProperty(e, "prototype", { writable: !1 }), e;
20351}
20352function xk(e) {
20353  var t = Rk(e, "string");
20354  return hc(t) == "symbol" ? t : t + "";
20355}
20356function Rk(e, t) {
20357  if (hc(e) != "object" || !e) return e;
20358  var r = e[Symbol.toPrimitive];
20359  if (r !== void 0) {
20360    var i = r.call(e, t);
20361    if (hc(i) != "object") return i;
20362    throw new TypeError("@@toPrimitive must return a primitive value.");
20363  }
20364  return String(e);
20365}
20366var uu = /* @__PURE__ */ (function() {
20367  function e(t, r) {
20368    Nk(this, e), this.metadata = new Lt(r);
20369    var i = this.getCountryAndCallingCode(t), l = Ek(i, 2), s = l[0], f = l[1];
20370    this.defaultCountry = s, this.defaultCallingCode = f, this.reset();
20371  }
20372  return _k(e, [{
20373    key: "getCountryAndCallingCode",
20374    value: function(r) {
20375      var i, l;
20376      return r && (go(r) ? (i = r.defaultCountry, l = r.defaultCallingCode) : i = r), i && !this.metadata.hasCountry(i) && (i = void 0), [i, l];
20377    }
20378    /**
20379     * Inputs "next" phone number characters.
20380     * @param  {string} text
20381     * @return {string} Formatted phone number characters that have been input so far.
20382     */
20383  }, {
20384    key: "input",
20385    value: function(r) {
20386      var i = this.parser.input(r, this.state), l = i.digits, s = i.justLeadingPlus;
20387      if (s)
20388        this.formattedOutput = "+";
20389      else if (l) {
20390        this.determineTheCountryIfNeeded(), this.state.nationalSignificantNumber && this.formatter.narrowDownMatchingFormats(this.state);
20391        var f;
20392        if (this.metadata.hasSelectedNumberingPlan() && (f = this.formatter.format(l, this.state)), f === void 0 && this.parser.reExtractNationalSignificantNumber(this.state)) {
20393          this.determineTheCountryIfNeeded();
20394          var h = this.state.getNationalDigits();
20395          h && (f = this.formatter.format(h, this.state));
20396        }
20397        this.formattedOutput = f ? this.getFullNumber(f) : this.getNonFormattedNumber();
20398      }
20399      return this.formattedOutput;
20400    }
20401  }, {
20402    key: "reset",
20403    value: function() {
20404      var r = this;
20405      return this.state = new SP({
20406        onCountryChange: function(l) {
20407          r.country = l;
20408        },
20409        onCallingCodeChange: function(l, s) {
20410          r.metadata.selectNumberingPlan(s || l), r.formatter.reset(r.metadata.numberingPlan, r.state), r.parser.reset(r.metadata.numberingPlan);
20411        }
20412      }), this.formatter = new rk({
20413        state: this.state,
20414        metadata: this.metadata
20415      }), this.parser = new vk({
20416        defaultCountry: this.defaultCountry,
20417        defaultCallingCode: this.defaultCallingCode,
20418        metadata: this.metadata,
20419        state: this.state,
20420        onNationalSignificantNumberChange: function() {
20421          r.determineTheCountryIfNeeded(), r.formatter.reset(r.metadata.numberingPlan, r.state);
20422        }
20423      }), this.state.reset({
20424        country: this.defaultCountry,
20425        callingCode: this.defaultCallingCode
20426      }), this.formattedOutput = "", this;
20427    }
20428    /**
20429     * Returns `true` if the phone number is being input in international format.
20430     * In other words, returns `true` if and only if the parsed phone number starts with a `"+"`.
20431     * @return {boolean}
20432     */
20433  }, {
20434    key: "isInternational",
20435    value: function() {
20436      return this.state.international;
20437    }
20438    /**
20439     * Returns the "calling code" part of the phone number when it's being input
20440     * in an international format.
20441     * If no valid calling code has been entered so far, returns `undefined`.
20442     * @return {string} [callingCode]
20443     */
20444  }, {
20445    key: "getCallingCode",
20446    value: function() {
20447      if (this.isInternational())
20448        return this.state.callingCode;
20449    }
20450    // A legacy alias.
20451  }, {
20452    key: "getCountryCallingCode",
20453    value: function() {
20454      return this.getCallingCode();
20455    }
20456    /**
20457     * Returns a two-letter country code of the phone number.
20458     * Returns `undefined` for "non-geographic" phone numbering plans.
20459     * Returns `undefined` if no phone number has been input yet.
20460     * @return {string} [country]
20461     */
20462  }, {
20463    key: "getCountry",
20464    value: function() {
20465      var r = this.state.digits;
20466      if (r)
20467        return this._getCountry();
20468    }
20469    /**
20470     * Returns a two-letter country code of the phone number.
20471     * Returns `undefined` for "non-geographic" phone numbering plans.
20472     * @return {string} [country]
20473     */
20474  }, {
20475    key: "_getCountry",
20476    value: function() {
20477      var r = this.state.country;
20478      return r;
20479    }
20480  }, {
20481    key: "determineTheCountryIfNeeded",
20482    value: function() {
20483      (!this.state.country || this.isCountryCallingCodeAmbiguous()) && this.determineTheCountry();
20484    }
20485    // Prepends `+CountryCode ` in case of an international phone number
20486  }, {
20487    key: "getFullNumber",
20488    value: function(r) {
20489      var i = this;
20490      if (this.isInternational()) {
20491        var l = function(h) {
20492          return i.formatter.getInternationalPrefixBeforeCountryCallingCode(i.state, {
20493            spacing: !!h
20494          }) + h;
20495        }, s = this.state.callingCode;
20496        return l(s ? r ? "".concat(s, " ").concat(r) : s : "".concat(this.state.getDigitsWithoutInternationalPrefix()));
20497      }
20498      return r;
20499    }
20500  }, {
20501    key: "getNonFormattedNationalNumberWithPrefix",
20502    value: function() {
20503      var r = this.state, i = r.nationalSignificantNumber, l = r.prefixBeforeNationalSignificantNumberThatIsNotNationalPrefix, s = r.nationalPrefix, f = i, h = l || s;
20504      return h && (f = h + f), f;
20505    }
20506  }, {
20507    key: "getNonFormattedNumber",
20508    value: function() {
20509      var r = this.state.nationalSignificantNumberIsModified;
20510      return this.getFullNumber(r ? this.state.getNationalDigits() : this.getNon
20510FormattedNationalNumberWithPrefix());
20511    }
20512  }, {
20513    key: "getNonFormattedTemplate",
20514    value: function() {
20515      var r = this.getNonFormattedNumber();
20516      if (r)
20517        return r.replace(/[\+\d]/g, Cr);
20518    }
20519  }, {
20520    key: "isCountryCallingCodeAmbiguous",
20521    value: function() {
20522      var r = this.state.callingCode, i = this.metadata.getCountryCodesForCallingCode(r);
20523      return i && i.length > 1;
20524    }
20525    // Determines the exact country of the phone number
20526    // entered so far based on the country phone code
20527    // and the national phone number.
20528  }, {
20529    key: "determineTheCountry",
20530    value: function() {
20531      var r = wy(this.isInternational() ? this.state.callingCode : this.defaultCallingCode, {
20532        nationalNumber: this.state.nationalSignificantNumber,
20533        metadata: this.metadata
20534      });
20535      r !== this.state.country && (this.state.setCountry(r), r && this.metadata.selectNumberingPlan(r));
20536    }
20537    /**
20538     * Returns a E.164 phone number value for the user's input.
20539     *
20540     * For example, for country `"US"` and input `"(222) 333-4444"`
20541     * it will return `"+12223334444"`.
20542     *
20543     * For international phone number input, it will also auto-correct
20544     * some minor errors such as using a national prefix when writing
20545     * an international phone number. For example, if the user inputs
20546     * `"+44 0 7400 000000"` then it will return an auto-corrected
20547     * `"+447400000000"` phone number value.
20548     *
20549     * Will return `undefined` if no digits have been input,
20550     * or when inputting a phone number in national format and no
20551     * default country or default "country calling code" have been set.
20552     *
20553     * @return {string} [value]
20554     */
20555  }, {
20556    key: "getNumberValue",
20557    value: function() {
20558      var r = this.state, i = r.digits, l = r.callingCode, s = r.country, f = r.nationalSignificantNumber;
20559      if (i) {
20560        if (this.isInternational())
20561          return l ? "+" + l + f : "+" + i;
20562        if (s || l) {
20563          var h = s ? this.metadata.countryCallingCode() : l;
20564          return "+" + h + f;
20565        }
20566      }
20567    }
20568    /**
20569     * Returns an instance of `PhoneNumber` class.
20570     * Will return `undefined` if no national (significant) number
20571     * digits have been entered so far, or if no `defaultCountry` has been
20572     * set and the user enters a phone number not in international format.
20573     */
20574  }, {
20575    key: "getNumber",
20576    value: function() {
20577      var r = this.state, i = r.nationalSignificantNumber, l = r.carrierCode, s = r.callingCode;
20578      if (i) {
20579        var f = this._getCountry();
20580        if (!(!f && !s)) {
20581          if (f && f === this.defaultCountry) {
20582            var h = this.metadata.numberingPlan.callingCode(), m = Dk(h, i, this.metadata);
20583            m && (f = m);
20584          }
20585          var g = new HE(f || s, i, this.metadata.metadata);
20586          return l && (g.carrierCode = l), g;
20587        }
20588      }
20589    }
20590    /**
20591     * Returns `true` if the phone number is "possible".
20592     * Is just a shortcut for `PhoneNumber.isPossible()`.
20593     * @return {boolean}
20594     */
20595  }, {
20596    key: "isPossible",
20597    value: function() {
20598      var r = this.getNumber();
20599      return r ? r.isPossible() : !1;
20600    }
20601    /**
20602     * Returns `true` if the phone number is "valid".
20603     * Is just a shortcut for `PhoneNumber.isValid()`.
20604     * @return {boolean}
20605     */
20606  }, {
20607    key: "isValid",
20608    value: function() {
20609      var r = this.getNumber();
20610      return r ? r.isValid() : !1;
20611    }
20612    /**
20613     * Checks if the phone number length is valid.
20614     * If it is, nothing is returned.
20615     * Otherwise, a rejection reason is returned.
20616     * @return {string?}
20617     */
20618  }, {
20619    key: "validateLength",
20620    value: function() {
20621      var r = this.state, i = r.digits, l = r.nationalSignificantNumber;
20622      if (!i)
20623        return "NOT_A_NUMBER";
20624      if (!this.metadata.numberingPlan)
20625        return "INVALID_COUNTRY";
20626      if (!l)
20627        return "TOO_SHORT";
20628      var s = Dc(l, void 0, this.metadata);
20629      if (s !== "IS_POSSIBLE")
20630        return s;
20631    }
20632    /**
20633     * @deprecated
20634     * This method is used in `react-phone-number-input/source/input-control.js`
20635     * in versions before `3.0.16`.
20636     */
20637  }, {
20638    key: "getNationalNumber",
20639    value: function() {
20640      return this.state.nationalSignificantNumber;
20641    }
20642    /**
20643     * Returns the phone number characters entered by the user.
20644     * @return {string}
20645     */
20646  }, {
20647    key: "getChars",
20648    value: function() {
20649      return (this.state.international ? "+" : "") + this.state.digits;
20650    }
20651    /**
20652     * Returns the template for the formatted phone number.
20653     * @return {string}
20654     */
20655  }, {
20656    key: "getTemplate",
20657    value: function() {
20658      return this.formatter.getTemplate(this.state) || this.getNon
20658FormattedTemplate() || "";
20659    }
20660  }]);
20661})();
20662function Dk(e, t, r) {
20663  var i = r.getCountryCodesForCallingCode(e);
20664  if (i.length > 1)
20665    return PE(t, i, r.metadata);
20666}
20667function r9(e) {
20668  return new Lt(e).getCountries();
20669}
20670function Mk(e, t, r) {
20671  return r || (r = t, t = void 0), new uu(t, r).input(e);
20672}
20673function YE(e) {
20674  var t = e.inputFormat, r = e.country, i = e.metadata;
20675  return t === "NATIONAL_PART_OF_INTERNATIONAL" ? "+".concat(Eo(r, i)) : "";
20676}
20677function Tp(e, t) {
20678  return t && (e = e.slice(t.length), e[0] === " " && (e = e.slice(1))), e;
20679}
20680function Ik(e, t, r) {
20681  if (!(r && r.ignoreRest)) {
20682    var i = function(s) {
20683      r && s === "end" && (r.ignoreRest = !0);
20684    };
20685    return BE(e, t, i);
20686  }
20687}
20688const Pk = window.React.useCallback;
20689function ZE(e) {
20690  var t = e.onKeyDown, r = e.inputFormat;
20691  return Pk(function(i) {
20692    if (i.keyCode === Lk && r === "INTERNATIONAL" && i.target instanceof HTMLInputElement && kk(i.target) === zk.length) {
20693      i.preventDefault();
20694      return;
20695    }
20696    t && t(i);
20697  }, [t, r]);
20698}
20699function kk(e) {
20700  return e.selectionStart;
20701}
20702var Lk = 8, zk = "+", Uk = ["onKeyDown", "country", "inputFormat", "metadata", "international", "withCountryCallingCode"];
20703function Cp() {
20704  return Cp = Object.assign ? Object.assign.bind() : function(e) {
20705    for (var t = 1; t < arguments.length; t++) {
20706      var r = arguments[t];
20707      for (var i in r)
20708        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
20709    }
20710    return e;
20711  }, Cp.apply(this, arguments);
20712}
20713function jk(e, t) {
20714  if (e == null) return {};
20715  var r = Fk(e, t), i, l;
20716  if (Object.getOwnPropertySymbols) {
20717    var s = Object.getOwnPropertySymbols(e);
20718    for (l = 0; l < s.length; l++)
20719      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
20720  }
20721  return r;
20722}
20723function Fk(e, t) {
20724  if (e == null) return {};
20725  var r = {}, i = Object.keys(e), l, s;
20726  for (s = 0; s < i.length; s++)
20727    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
20728  return r;
20729}
20730const a9 = window.React, Hk = window.React.useCallback;
20731function Vk(e) {
20732  function t(r, i) {
20733    var l = r.onKeyDown, s = r.country, f = r.inputFormat, h = r.metadata, m = h === void 0 ? e : h;
20734    r.international, r.withCountryCallingCode;
20735    var g = jk(r, Uk), p = Hk(function(S) {
20736      var w = new uu(s, m), T = YE({
20737        inputFormat: f,
20738        country: s,
20739        metadata: m
20740      }), N = w.input(T + S), $ = w.getTemplate();
20741      return T && (N = Tp(N, T), $ && ($ = Tp($, T))), {
20742        text: N,
20743        template: $
20744      };
20745    }, [s, m]), b = ZE({
20746      onKeyDown: l,
20747      inputFormat: f
20748    });
20749    return /* @__PURE__ */ a9.createElement(yh, Cp({}, g, {
20750      ref: i,
20751      parse: Ik,
20752      format: p,
20753      onKeyDown: b
20754    }));
20755  }
20756  return t = /* @__PURE__ */ a9.forwardRef(t), t.propTypes = {
20757    /**
20758     * The parsed phone number.
20759     * "Parsed" not in a sense of "E.164"
20760     * but rather in a sense of "having only
20761     * digits and possibly a leading plus character".
20762     * Examples: `""`, `"+"`, `"+123"`, `"123"`.
20763     */
20764    value: ae.string.isRequired,
20765    /**
20766     * A function of `value: string`.
20767     * Updates the `value` property.
20768     */
20769    onChange: ae.func.isRequired,
20770    /**
20771     * A function of `event: Event`.
20772     * Handles `keydown` events.
20773     */
20774    onKeyDown: ae.func,
20775    /**
20776     * A two-letter country code for formatting `value`
20777     * as a national phone number (e.g. `(800) 555 35 35`).
20778     * E.g. "US", "RU", etc.
20779     * If no `country` is passed then `value`
20780     * is formatted as an international phone number.
20781     * (e.g. `+7 800 555 35 35`)
20782     * This property should've been called `defaultCountry`
20783     * because it only applies when the user inputs a phone number in a national format
20784     * and is completely ignored when the user inputs a phone number in an international format.
20785     */
20786    country: ae.string,
20787    /**
20788     * The format that the input field value is being input/output in.
20789     */
20790    inputFormat: ae.oneOf(["INTERNATIONAL", "NATIONAL_PART_OF_INTERNATIONAL", "NATIONAL", "INTERNATIONAL_OR_NATIONAL"]).isRequired,
20791    /**
20792     * `libphonenumber-js` metadata.
20793     */
20794    metadata: ae.object
20795  }, t;
20796}
20797const Bk = Vk();
20798var qk = ["value", "onChange", "onKeyDown", "country", "inputFormat", "metadata", "inputComponent", "international", "withCountryCallingCode"];
20799function wp() {
20800  return wp = Object.assign ? Object.assign.bind() : function(e) {
20801    for (var t = 1; t < arguments.length; t++) {
20802      var r = arguments[t];
20803      for (var i in r)
20804        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
20805    }
20806    return e;
20807  }, wp.apply(this, arguments);
20808}
20809function Gk(e, t) {
20810  if (e == null) return {};
20811  var r = Yk(e, t), i, l;
20812  if (Object.getOwnPropertySymbols) {
20813    var s = Object.getOwnPropertySymbols(e);
20814    for (l = 0; l < s.length; l++)
20815      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
20816  }
20817  return r;
20818}
20819function Yk(e, t) {
20820  if (e == null) return {};
20821  var r = {}, i = Object.keys(e), l, s;
20822  for (s = 0; s < i.length; s++)
20823    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
20824  return r;
20825}
20826const i9 = window.React, Zk = window.React.useCallback;
20827function Qk(e) {
20828  function t(r, i) {
20829    var l = r.value, s = r.onChange, f = r.onKeyDown, h = r.country, m = r.inputFormat, g = r.metadata, p = g === void 0 ? e : g, b = r.inputComponent, S = b === void 0 ? "input" : b;
20830    r.international, r.withCountryCallingCode;
20831    var w = Gk(r, qk), T = YE({
20832      inputFormat: m,
20833      country: h,
20834      metadata: p
20835    }), N = Zk(function(A) {
20836      var D = vp(A.target.value);
20837      if (D === l) {
20838        var _ = o9(T, D, h, p);
20839        _.indexOf(A.target.value) === 0 && (D = D.slice(0, -1));
20840      }
20841      s(D);
20842    }, [T, l, s, h, p]), $ = ZE({
20843      onKeyDown: f,
20844      inputFormat: m
20845    });
20846    return /* @__PURE__ */ i9.createElement(S, wp({}, w, {
20847      ref: i,
20848      value: o9(T, l, h, p),
20849      onChange: N,
20850      onKeyDown: $
20851    }));
20852  }
20853  return t = /* @__PURE__ */ i9.forwardRef(t), t.propTypes = {
20854    /**
20855     * The parsed phone number.
20856     * "Parsed" not in a sense of "E.164"
20857     * but rather in a sense of "having only
20858     * digits and possibly a leading plus character".
20859     * Examples: `""`, `"+"`, `"+123"`, `"123"`.
20860     */
20861    value: ae.string.isRequired,
20862    /**
20863     * A function of `value: string`.
20864     * Updates the `value` property.
20865     */
20866    onChange: ae.func.isRequired,
20867    /**
20868     * A function of `event: Event`.
20869     * Handles `keydown` events.
20870     */
20871    onKeyDown: ae.func,
20872    /**
20873     * A two-letter country code for formatting `value`
20874     * as a national phone number (e.g. `(800) 555 35 35`).
20875     * E.g. "US", "RU", etc.
20876     * If no `country` is passed then `value`
20877     * is formatted as an international phone number.
20878     * (e.g. `+7 800 555 35 35`)
20879     * This property should've been called `defaultCountry`
20880     * because it only applies when the user inputs a phone number in a national format
20881     * and is completely ignored when the user inputs a phone number in an international format.
20882     */
20883    country: ae.string,
20884    /**
20885     * The format that the input field value is being input/output in.
20886     */
20887    inputFormat: ae.oneOf(["INTERNATIONAL", "NATIONAL_PART_OF_INTERNATIONAL", "NATIONAL", "INTERNATIONAL_OR_NATIONAL"]).isRequired,
20888    /**
20889     * `libphonenumber-js` metadata.
20890     */
20891    metadata: ae.object,
20892    /**
20893     * The `<input/>` component.
20894     */
20895    inputComponent: ae.elementType
20896  }, t;
20897}
20898const Kk = Qk();
20899function o9(e, t, r, i) {
20900  return Tp(Mk(e + t, r, i), e);
20901}
20902function Xk(e) {
20903  return l9(e[0]) + l9(e[1]);
20904}
20905function l9(e) {
20906  return String.fromCodePoint(127397 + e.toUpperCase().charCodeAt(0));
20907}
20908var Wk = ["value", "onChange", "options", "disabled", "readOnly"], Jk = ["value", "options", "className", "iconComponent", "getIconAspectRatio", "arrowComponent", "unicodeFlags"];
20909function eL(e, t) {
20910  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
20911  if (r) return (r = r.call(e)).next.bind(r);
20912  if (Array.isArray(e) || (r = tL(e)) || t) {
20913    r && (e = r);
20914    var i = 0;
20915    return function() {
20916      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
20917    };
20918  }
20919  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
20920In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
20921}
20922function tL(e, t) {
20923  if (e) {
20924    if (typeof e == "string") return u9(e, t);
20925    var r = Object.prototype.toString.call(e).slice(8, -1);
20926    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
20927    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return u9(e, t);
20928  }
20929}
20930function u9(e, t) {
20931  (t == null || t > e.length) && (t = e.length);
20932  for (var r = 0, i = new Array(t); r < t; r++) i[r] = e[r];
20933  return i;
20934}
20935function Sh() {
20936  return Sh = Object.assign ? Object.assign.bind() : function(e) {
20937    for (var t = 1; t < arguments.length; t++) {
20938      var r = arguments[t];
20939      for (var i in r)
20940        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
20941    }
20942    return e;
20943  }, Sh.apply(this, arguments);
20944}
20945function QE(e, t) {
20946  if (e == null) return {};
20947  var r = nL(e, t), i, l;
20948  if (Object.getOwnPropertySymbols) {
20949    var s = Object.getOwnPropertySymbols(e);
20950    for (l = 0; l < s.length; l++)
20951      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
20952  }
20953  return r;
20954}
20955function nL(e, t) {
20956  if (e == null) return {};
20957  var r = {}, i = Object.keys(e), l, s;
20958  for (s = 0; s < i.length; s++)
20959    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
20960  return r;
20961}
20962const gi = window.React, rL = window.React.useCallback, KE = window.React.useMemo;
20963function XE(e) {
20964  var t = e.value, r = e.onChange, i = e.options, l = e.disabled, s = e.readOnly, f = QE(e, Wk), h = rL(function(m) {
20965    var g = m.target.value;
20966    r(g === "ZZ" ? void 0 : g);
20967  }, [r]);
20968  return KE(function() {
20969    return JE(i, t);
20970  }
20970, [i, t]), /* @__PURE__ */ gi.createElement("select", Sh({}, f, {
20971    disabled: l || s,
20972    readOnly: s,
20973    value: t || "ZZ",
20974    onChange: h
20975  }), i.map(function(m) {
20976    var g = m.value, p = m.label, b = m.divider;
20977    return /* @__PURE__ */ gi.createElement("option", {
20978      key: b ? "|" : g || "ZZ",
20979      value: b ? "|" : g || "ZZ",
20980      disabled: !!b,
20981      style: b ? aL : void 0
20982    }, p);
20983  }));
20984}
20985XE.propTypes = {
20986  /**
20987   * A two-letter country code.
20988   * Example: "US", "RU", etc.
20989   */
20990  value: ae.string,
20991  /**
20992   * A function of `value: string`.
20993   * Updates the `value` property.
20994   */
20995  onChange: ae.func.isRequired,
20996  // `<select/>` options.
20997  options: ae.arrayOf(ae.shape({
20998    value: ae.string,
20999    label: ae.string,
21000    divider: ae.bool
21001  })).isRequired,
21002  // `readonly` attribute doesn't work on a `<select/>`.
21003  // https://github.com/catamphetamine/react-phone-number-input/issues/419#issuecomment-1764384480
21004  // https://www.delftstack.com/howto/html/html-select-readonly/
21005  // To work around that, if `readOnly: true` property is passed
21006  // to this component, it behaves analogous to `disabled: true`.
21007  disabled: ae.bool,
21008  readOnly: ae.bool
21009};
21010var aL = {
21011  fontSize: "1px",
21012  backgroundColor: "currentColor",
21013  color: "inherit"
21014};
21015function WE(e) {
21016  var t = e.value, r = e.options, i = e.className, l = e.iconComponent;
21017  e.getIconAspectRatio;
21018  var s = e.arrowComponent, f = s === void 0 ? iL : s, h = e.unicodeFlags, m = QE(e, Jk), g = KE(function() {
21019    return JE(r, t);
21020  }, [r, t]);
21021  return /* @__PURE__ */ gi.createElement("div", {
21022    className: "PhoneInputCountry"
21023  }, /* @__PURE__ */ gi.createElement(XE, Sh({}, m, {
21024    value: t,
21025    options: r,
21026    className: ph("PhoneInputCountrySelect", i)
21027  })), g && (h && t ? /* @__PURE__ */ gi.createElement("div", {
21028    className: "PhoneInputCountryIconUnicode"
21029  }, Xk(t)) : /* @__PURE__ */ gi.createElement(l, {
21030    "aria-hidden": !0,
21031    country: t,
21032    label: g.label,
21033    aspectRatio: h ? 1 : void 0
21034  })), /* @__PURE__ */ gi.createElement(f, null));
21035}
21036WE.propTypes = {
21037  // Country flag component.
21038  iconComponent: ae.elementType,
21039  // Select arrow component.
21040  arrowComponent: ae.elementType,
21041  // Set to `true` to render Unicode flag icons instead of SVG images.
21042  unicodeFlags: ae.bool
21043};
21044function iL() {
21045  return /* @__PURE__ */ gi.createElement("div", {
21046    className: "PhoneInputCountrySelectArrow"
21047  });
21048}
21049function JE(e, t) {
21050  for (var r = eL(e), i; !(i = r()).done; ) {
21051    var l = i.value;
21052    if (!l.divider && oL(l.value, t))
21053      return l;
21054  }
21055}
21056function oL(e, t) {
21057  return e == null ? t == null : e === t;
21058}
21059var lL = ["country", "countryName", "flags", "flagUrl"];
21060function Op() {
21061  return Op = Object.assign ? Object.assign.bind() : function(e) {
21062    for (var t = 1; t < arguments.length; t++) {
21063      var r = arguments[t];
21064      for (var i in r)
21065        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
21066    }
21067    return e;
21068  }, Op.apply(this, arguments);
21069}
21070function uL(e, t) {
21071  if (e == null) return {};
21072  var r = sL(e, t), i, l;
21073  if (Object.getOwnPropertySymbols) {
21074    var s = Object.getOwnPropertySymbols(e);
21075    for (l = 0; l < s.length; l++)
21076      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
21077  }
21078  return r;
21079}
21080function sL(e, t) {
21081  if (e == null) return {};
21082  var r = {}, i = Object.keys(e), l, s;
21083  for (s = 0; s < i.length; s++)
21084    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
21085  return r;
21086}
21087const cL = window.React;
21088function Ay(e) {
21089  var t = e.country, r = e.countryName, i = e.flags, l = e.flagUrl, s = uL(e, lL);
21090  return i && i[t] ? i[t]({
21091    title: r
21092  }) : /* @__PURE__ */ cL.createElement("img", Op({}, s, {
21093    alt: r,
21094    role: r ? void 0 : "presentation",
21095    src: l.replace("{XX}", t).replace("{xx}", t.toLowerCase())
21096  }));
21097}
21098Ay.propTypes = {
21099  // The country to be selected by default.
21100  // Two-letter country code ("ISO 3166-1 alpha-2").
21101  country: ae.string.isRequired,
21102  // Will be HTML `title` attribute of the `<img/>`.
21103  countryName: ae.string.isRequired,
21104  // Country flag icon components.
21105  // By default flag icons are inserted as `<img/>`s
21106  // with their `src` pointed to `country-flag-icons` gitlab pages website.
21107  // There might be cases (e.g. an offline application)
21108  // where having a large (3 megabyte) `<svg/>` flags
21109  // bundle is more appropriate.
21110  // `import flags from 'react-phone-number-input/flags'`.
21111  flags: ae.objectOf(ae.elementType),
21112  // A URL for a country flag icon.
21113  // By default it points to `country-flag-icons` gitlab pages website.
21114  flagUrl: ae.string.isRequired
21115};
21116var fL = ["aspectRatio"], dL = ["title"], hL = ["title"];
21117function $h() {
21118  return $h = Object.assign ? Object.assign.bind() : function(e) {
21119    for (var t = 1; t < arguments.length; t++) {
21120      var r = arguments[t];
21121      for (var i in r)
21122        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
21123    }
21124    return e;
21125  }, $h.apply(this, arguments);
21126}
21127function _y(e, t) {
21128  if (e == null) return {};
21129  var r = mL(e, t), i, l;
21130  if (Object.getOwnPropertySymbols) {
21131    var s = Object.getOwnPropertySymbols(e);
21132    for (l = 0; l < s.length; l++)
21133      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
21134  }
21135  return r;
21136}
21137function mL(e, t) {
21138  if (e == null) return {};
21139  var r = {}, i = Object.keys(e), l, s;
21140  for (s = 0; s < i.length; s++)
21141    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
21142  return r;
21143}
21144const Et = window.React;
21145function Zh(e) {
21146  var t = e.aspectRatio, r = _y(e, fL);
21147  return t === 1 ? /* @__PURE__ */ Et.createElement(t5, r) : /* @__PURE__ */ Et.createElement(e5, r);
21148}
21149Zh.propTypes = {
21150  title: ae.string.isRequired,
21151  aspectRatio: ae.number
21152};
21153function e5(e) {
21154  var t = e.title, r = _y(e, dL);
21155  return /* @__PURE__ */ Et.createElement("svg", $h({}, r, {
21156    xmlns: "http://www.w3.org/2000/svg",
21157    viewBox: "0 0 75 50"
21158  }), /* @__PURE__ */ Et.createElement("title", null, t), /* @__PURE__ */ Et.createElement("g", {
21159    className: "PhoneInputInternationalIconGlobe",
21160    stroke: "currentColor",
21161    fill: "none",
21162    strokeWidth: "2",
21163    strokeMiterlimit: "10"
21164  }, /* @__PURE__ */ Et.createElement("path", {
21165    strokeLinecap: "round",
21166    d: "M47.2,36.1C48.1,36,49,36,50,36c7.4,0,14,1.7,18.5,4.3"
21167  }), /* @__PURE__ */ Et.createElement("path", {
21168    d: "M68.6,9.6C64.2,12.3,57.5,14,50,14c-7.4,0-14-1.7-18.5-4.3"
21169  }), /* @__PURE__ */ Et.createElement("line", {
21170    x1: "26",
21171    y1: "25",
21172    x2: "74",
21173    y2: "25"
21174  }), /* @__PURE__ */ Et.createElement("line", {
21175    x1: "50",
21176    y1: "1",
21177    x2: "50",
21178    y2: "49"
21179  }), /* @__PURE__ */ Et.createElement("path", {
21180    strokeLinecap: "round",
21181    d: "M46.3,48.7c1.2,0.2,2.5,0.3,3.7,0.3c13.3,0,24-10.7,24-24S63.3,1,50,1S26,11.7,26,25c0,2,0.3,3.9,0.7,5.8"
21182  }), /* @__PURE__ */ Et.createElement("path", {
21183    strokeLinecap: "round",
21184    d: "M46.8,48.2c1,0.6,2.1,0.8,3.2,0.8c6.6,0,12-10.7,12-24S56.6,1,50,1S38,11.7,38,25c0,1.4,0.1,2.7,0.2,4c0,0.1,0,0.2,0,0.2"
21185  })), /* @__PURE__ */ Et.createElement("path", {
21186    className: "PhoneInputInternationalIconPhone",
21187    stroke: "none",
21188    fill: "currentColor",
21189    d: "M12.4,17.9c2.9-2.9,5.4-4.8,0.3-11.2S4.1,5.2,1.3,8.1C-2,11.4,1.1,23.5,13.1,35.6s24.3,15.2,27.5,11.9c2.8-2.8,7.8-6.3,1.4-11.5s-8.3-2.6-11.2,0.3c-2,2-7.2-2.2-11.7-6.7S10.4,19.9,12.4,17.9z"
21190  }));
21191}
21192e5.propTypes = {
21193  title: ae.string.isRequired
21194};
21195function t5(e) {
21196  var t = e.title, r = _y(e, hL);
21197  return /* @__PURE__ */ Et.createElement("svg", $h({}, r, {
21198    xmlns: "http://www.w3.org/2000/svg",
21199    viewBox: "0 0 50 50"
21200  }), /* @__PURE__ */ Et.createElement("title", null, t), /* @__PURE__ */ Et.createElement("g", {
21201    className: "PhoneInputInternationalIconGlobe",
21202    stroke: "currentColor",
21203    fill: "none",
21204    strokeWidth: "2",
21205    strokeLinecap: "round"
21206  }, /* @__PURE__ */ Et.createElement("path", {
21207    d: "M8.45,13A21.44,21.44,0,1,1,37.08,41.56"
21208  }), /* @__PURE__ */ Et.createElement("path", {
21209    d: "M19.36,35.47a36.9,36.9,0,0,1-2.28-13.24C17.08,10.39,21.88.85,27.8.85s10.72,9.54,10.72,21.38c0,6.48-1.44,12.28-3.71,16.21"
21210  }), /* @__PURE__ */ Et.createElement("path", {
21211    d: "M17.41,33.4A39,39,0,0,1,27.8,32.06c6.62,0,12.55,1.5,16.48,3.86"
21212  }), /* @__PURE__ */ Et.createElement("path", {
21213    d: "M44.29,8.53c-3.93,2.37-9.86,3.88-16.49,3.88S15.25,10.9,11.31,8.54"
21214  }), /* @__PURE__ */ Et.createElement("line", {
21215    x1: "27.8",
21216    y1: "0.85",
21217    x2: "27.8",
21218    y2: "34.61"
21219  }), /* @__PURE__ */ Et.createElement("line", {
21220    x1: "15.2",
21221    y1: "22.23",
21222    x2: "49.15",
21223    y2: "22.23"
21224  })), /* @__PURE__ */ Et.createElement("path", {
21225    className: "PhoneInputInternationalIconPhone",
21226    stroke: "transparent",
21227    fill: "currentColor",
21228    d: "M9.42,26.64c2.22-2.22,4.15-3.59.22-8.49S3.08,17,.93,19.17c-2.49,2.48-.13,11.74,9,20.89s18.41,11.5,20.89,9c2.15-2.15,5.91-4.77,1-8.71s-6.27-2-8.49.22c-1.55,1.55-5.48-1.69-8.86-5.08S7.87,28.19,9.42,26.64Z"
21229  }));
21230}
21231t5.propTypes = {
21232  title: ae.string.isRequired
21233};
21234function gL(e) {
21235  if (e.length < 2 || e[0] !== "+")
21236    return !1;
21237  for (var t = 1; t < e.length; ) {
21238    var r = e.charCodeAt(t);
21239    if (!(r >= 48 && r <= 57)) return !1;
21240    t++;
21241  }
21242  return !0;
21243}
21244function n5(e) {
21245  gL(e) || console.error("[react-phone-number-input] Expected the initial `value` to be a E.164 phone number. Got", e);
21246}
21247function pL(e, t) {
21248  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
21249  if (r) return (r = r.call(e)).next.bind(r);
21250  if (Array.isArray(e) || (r = yL(e)) || t) {
21251    r && (e = r);
21252    var i = 0;
21253    return function() {
21254      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
21255    };
21256  }
21257  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21258In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
21259}
21260function yL(e, t) {
21261  if (e) {
21262    if (typeof e == "string") return s9(e, t);
21263    var r = Object.prototype.toString.call(e).slice(8, -1);
21264    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
21265    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return s9(e, t);
21266  }
21267}
21268function s9(e, t) {
21269  (t == null || t > e.length) && (t = e.length);
21270  for (var r = 0, i = new Array(t); r < t; r++) i[r] = e[r];
21271  return i;
21272}
21273function vL(e, t) {
21274  if (!t)
21275    return e;
21276  for (var r = [], i = [], l = r, s = function() {
21277    var g = h.value;
21278    if (g === "|")
21279      l.push({
21280        divider: !0
21281      });
21282    else if (g === "..." || g === "…")
21283      l = i;
21284    else {
21285      var p;
21286      g === "🌐" ? p = void 0 : p = g;
21287      var b = e.indexOf(e.filter(function(w) {
21288        return w.value === p;
21289      })[0]), S = e[b];
21290      e.splice(b, 1), l.push(S);
21291    }
21292  }, f = pL(t), h; !(h = f()).done; )
21293    s();
21294  return r.concat(e).concat(i);
21295}
21296function bL(e, t) {
21297  if (e && (e = e.filter(function(r) {
21298    switch (r) {
21299      case "🌐":
21300      case "|":
21301      case "...":
21302      case "…":
21303        return !0;
21304      default:
21305        return Qh(r, t);
21306    }
21307  }), e.length > 0))
21308    return e;
21309}
21310function Qh(e, t) {
21311  return RE(e, t) ? !0 : (console.error("Country not found: ".concat(e)), !1);
21312}
21313function r5(e, t) {
21314  return e && (e = e.filter(function(r) {
21315    return Qh(r, t);
21316  }), e.length === 0 && (e = void 0)), e;
21317}
21318var SL = ["country", "label", "aspectRatio"];
21319function Np() {
21320  return Np = Object.assign ? Object.assign.bind() : function(e) {
21321    for (var t = 1; t < arguments.length; t++) {
21322      var r = arguments[t];
21323      for (var i in r)
21324        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
21325    }
21326    return e;
21327  }, Np.apply(this, arguments);
21328}
21329function $L(e, t) {
21330  if (e == null) return {};
21331  var r = EL(e, t), i, l;
21332  if (Object.getOwnPropertySymbols) {
21333    var s = Object.getOwnPropertySymbols(e);
21334    for (l = 0; l < s.length; l++)
21335      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
21336  }
21337  return r;
21338}
21339function EL(e, t) {
21340  if (e == null) return {};
21341  var r = {}, i = Object.keys(e), l, s;
21342  for (s = 0; s < i.length; s++)
21343    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
21344  return r;
21345}
21346const Sg = window.React;
21347function a5(e) {
21348  var t = e.flags, r = e.flagUrl, i = e.flagComponent, l = e.internationalIcon;
21349  function s(f) {
21350    var h = f.country, m = f.label, g = f.aspectRatio, p = $L(f, SL), b = l === Zh ? g : void 0;
21351    return /* @__PURE__ */ Sg.createElement("div", Np({}, p, {
21352      className: ph("PhoneInputCountryIcon", {
21353        "PhoneInputCountryIcon--square": b === 1,
21354        "PhoneInputCountryIcon--border": h
21355      })
21356    }
21356), h ? /* @__PURE__ */ Sg.createElement(i, {
21357      country: h,
21358      countryName: m,
21359      flags: t,
21360      flagUrl: r,
21361      className: "PhoneInputCountryIconImg"
21362    }) : /* @__PURE__ */ Sg.createElement(l, {
21363      title: m,
21364      aspectRatio: b,
21365      className: "PhoneInputCountryIconImg"
21366    }));
21367  }
21368  return s.propTypes = {
21369    country: ae.string,
21370    label: ae.string.isRequired,
21371    aspectRatio: ae.number
21372  }, s;
21373}
21374a5({
21375  // Must be equal to `defaultProps.flagUrl` in `./PhoneInputWithCountry.js`.
21376  flagUrl: "https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",
21377  flagComponent: Ay,
21378  internationalIcon: Zh
21379});
21380function TL(e, t) {
21381  var r = typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
21382  if (r) return (r = r.call(e)).next.bind(r);
21383  if (Array.isArray(e) || (r = CL(e)) || t) {
21384    r && (e = r);
21385    var i = 0;
21386    return function() {
21387      return i >= e.length ? { done: !0 } : { done: !1, value: e[i++] };
21388    };
21389  }
21390  throw new TypeError(`Invalid attempt to iterate non-iterable instance.
21391In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
21392}
21393function CL(e, t) {
21394  if (e) {
21395    if (typeof e == "string") return c9(e, t);
21396    var r = Object.prototype.toString.call(e).slice(8, -1);
21397    if (r === "Object" && e.constructor && (r = e.constructor.name), r === "Map" || r === "Set") return Array.from(e);
21398    if (r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)) return c9(e, t);
21399  }
21400}
21401function c9(e, t) {
21402  (t == null || t > e.length) && (t = e.length);
21403  for (var r = 0, i = new Array(t); r < t; r++) i[r] = e[r];
21404  return i;
21405}
21406window.React.useRef;
21407window.React.useCallback;
21408function wL(e, t) {
21409  for (var r = TL(e), i; !(i = r()).done; ) {
21410    var l = i.value;
21411    l && OL(l, t);
21412  }
21413}
21414function OL(e, t) {
21415  typeof e == "function" ? e(t) : e.current = t;
21416}
21417var i5 = ae.shape({
21418  country_calling_codes: ae.object.isRequired,
21419  countries: ae.object.isRequired
21420}), o5 = ae.objectOf(ae.string);
21421function $a(e, t) {
21422  var r = "+" + Eo(e, t);
21423  return r;
21424}
21425function NL(e) {
21426  var t = e.value, r = e.phoneNumber, i = e.defaultCountry, l = e.getAnyCountry, s = e.countries, f = e.required, h = e.metadata, m;
21427  return r && r.country ? m = r.country : i && (!t || Vl(t, i, h)) && (m = i), s && s.indexOf(m) < 0 && (m = void 0), !m && f && s && s.length > 0 && (m = l()), m;
21428}
21429function AL(e) {
21430  var t = e.countries, r = e.countryNames, i = e.addInternationalOption, l = e.compareStringsLocales, s = e.compareStrings;
21431  s || (s = PL);
21432  var f = t.map(function(h) {
21433    return {
21434      value: h,
21435      // All `locale` country names included in this library
21436      // include all countries (this is checked at build time).
21437      // The only case when a country name might be missing
21438      // is when a developer supplies their own `labels` property.
21439      // To guard against such cases, a missing country name
21440      // is substituted by country code.
21441      label: r[h] || h
21442    };
21443  });
21444  return f.sort(function(h, m) {
21445    return s(h.label, m.label, l);
21446  }), i && f.unshift({
21447    label: r.ZZ
21448  }), f;
21449}
21450function l5(e, t) {
21451  return mP(e || "", t);
21452}
21453function _L(e) {
21454  return e.formatNational().replace(/\D/g, "");
21455}
21456function xL(e, t) {
21457  var r = t.prevCountry, i = t.newCountry, l = t.metadata, s = t.useNationalFormat;
21458  if (r === i)
21459    return e;
21460  if (!e)
21461    return s ? "" : i ? $a(i, l) : "";
21462  if (i) {
21463    if (e[0] === "+") {
21464      if (s)
21465        return e.indexOf("+" + Eo(i, l)) === 0 ? kL(e, i, l) : "";
21466      if (r) {
21467        var f = $a(i, l);
21468        return e.indexOf(f) === 0 ? e : f;
21469      } else {
21470        var h = $a(i, l);
21471        return e.indexOf(h) === 0 ? e : h;
21472      }
21473    }
21474  } else if (e[0] !== "+")
21475    return Pl(e, r, l) || "";
21476  return e;
21477}
21478function Pl(e, t, r) {
21479  if (e) {
21480    if (e[0] === "+") {
21481      if (e === "+")
21482        return;
21483      var i = new uu(t, r);
21484      return i.input(e), i.getNumberValue();
21485    }
21486    if (t) {
21487      var l = s5(e, t, r);
21488      return "+".concat(Eo(t, r)).concat(l || "");
21489    }
21490  }
21491}
21492function RL(e, t, r) {
21493  var i = s5(e, t, r);
21494  if (i) {
21495    var l = i.length - DL(t, r);
21496    if (l > 0)
21497      return e.slice(0, e.length - l);
21498  }
21499  return e;
21500}
21501function DL(e, t) {
21502  return t = new Lt(t), t.selectNumberingPlan(e), t.numberingPlan.possibleLengths()[t.numberingPlan.possibleLengths().length - 1];
21503}
21504function u5(e, t) {
21505  var r = t.country, i = t.countries, l = t.defaultCountry, s = t.latestCountrySelectedByUser, f = t.required, h 
21505= t.metadata;
21506  if (e === "+")
21507    return r;
21508  var m = IL(e, h);
21509  if (m)
21510    return !i || i.indexOf(m) >= 0 ? m : void 0;
21511  if (r) {
21512    if (Vl(e, r, h)) {
21513      if (s && Vl(e, s, h))
21514        return s;
21515      if (l && Vl(e, l, h))
21516        return l;
21517      if (!f)
21518        return;
21519    } else if (!f)
21520      return;
21521  }
21522  return r;
21523}
21524function ML(e, t) {
21525  var r = t.prevPhoneDigits, i = t.country, l = t.defaultCountry, s = t.latestCountrySelectedByUser, f = t.countryRequired, h = t.getAnyCountry, m = t.countries, g = t.international, p = t.limitMaxLength, b = t.countryCallingCodeEditable, S = t.metadata;
21526  if (g && b === !1 && i) {
21527    var w = $a(i, S);
21528    if (e.indexOf(w) !== 0) {
21529      var T, N = e && e[0] !== "+";
21530      return N ? (e = w + e, T = Pl(e, i, S)) : e = w, {
21531        phoneDigits: e,
21532        value: T,
21533        country: i
21534      };
21535    }
21536  }
21537  g === !1 && i && e && e[0] === "+" && (e = f9(e, i, S)), e && i && p && (e = RL(e, i, S)), e && e[0] !== "+" && (!i || g) && (e = "+" + e), !e && r && r[0] === "+" && (g ? i = void 0 : i = l), e === "+" && r && r[0] === "+" && r.length > 1 && (i = void 0);
21538  var $;
21539  return e && (e[0] === "+" && (e === "+" || i && $a(i, S).indexOf(e) === 0) ? $ = void 0 : $ = Pl(e, i, S)), $ && (i = u5($, {
21540    country: i,
21541    countries: m,
21542    defaultCountry: l,
21543    latestCountrySelectedByUser: s,
21544    // `countryRequired` flag is not passed here.
21545    // Instead, it's explicitly checked a bit later in the code.
21546    required: !1,
21547    metadata: S
21548  }), g === !1 && i && e && e[0] === "+" && (e = f9(e, i, S), $ = Pl(e, i, S))), !i && f && (i = l || h()), {
21549    // `phoneDigits` returned here are a "normalized" version of the original `phoneDigits`.
21550    // The returned `phoneDigits` shouldn't be used anywhere except for passing it as
21551    // `prevPhoneDigits` parameter to this same function on next input change event.
21552    phoneDigits: e,
21553    country: i,
21554    value: $
21555  };
21556}
21557function f9(e, t, r) {
21558  if (e.indexOf($a(t, r)) === 0) {
21559    var i = new uu(t, r);
21560    i.input(e);
21561    var l = i.getNumber();
21562    return l ? l.formatNational().replace(/\D/g, "") : "";
21563  } else
21564    return e.replace(/\D/g, "");
21565}
21566function IL(e, t) {
21567  var r = new uu(null, t);
21568  return r.input(e), r.getCountry();
21569}
21570function PL(e, t, r) {
21571  return String.prototype.localeCompare ? e.localeCompare(t, r) : e < t ? -1 : e > t ? 1 : 0;
21572}
21573function kL(e, t, r) {
21574  if (t) {
21575    var i = "+" + Eo(t, r);
21576    if (e.length < i.length) {
21577      if (i.indexOf(e) === 0)
21578        return "";
21579    } else if (e.indexOf(i) === 0)
21580      return e.slice(i.length);
21581  }
21582  for (var l = 0, s = Object.keys(r.country_calling_codes); l < s.length; l++) {
21583    var f = s[l];
21584    if (e.indexOf(f) === 1)
21585      return e.slice(1 + f.length);
21586  }
21587  return "";
21588}
21589function s5(e, t, r) {
21590  var i = new uu(t, r);
21591  i.input(e);
21592  var l = i.getNumber();
21593  return l && l.nationalNumber;
21594}
21595function Vl(e, t, r) {
21596  for (var i = $a(t, r), l = 0; l < e.length && l < i.length; ) {
21597    if (e[l] !== i[l])
21598      return !1;
21599    l++;
21600  }
21601  return !0;
21602}
21603function c5(e) {
21604  var t = e.value, r = e.phoneNumber, i = e.defaultCountry, l = e.international, s = e.useNationalFormat, f = e.metadata;
21605  return (l === !1 || s) && r && r.country ? _L(r) : !t && l && i ? $a(i, f) : t;
21606}
21607function mc(e) {
21608  "@babel/helpers - typeof";
21609  return mc = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
21610    return typeof t;
21611  } : function(t) {
21612    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
21613  }, mc(e);
21614}
21615function d9(e, t) {
21616  var r = Object.keys(e);
21617  if (Object.getOwnPropertySymbols) {
21618    var i = Object.getOwnPropertySymbols(e);
21619    t && (i = i.filter(function(l) {
21620      return Object.getOwnPropertyDescriptor(e, l).enumerable;
21621    })), r.push.apply(r, i);
21622  }
21623  return r;
21624}
21625function Md(e) {
21626  for (var t = 1; t < arguments.length; t++) {
21627    var r = arguments[t] != null ? arguments[t] : {};
21628    t % 2 ? d9(Object(r), !0).forEach(function(i) {
21629      LL(e, i, r[i]);
21630    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : d9(Object(r)).forEac
21630h(function(i) {
21631      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
21632    });
21633  }
21634  return e;
21635}
21636function LL(e, t, r) {
21637  return t = zL(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
21638}
21639function zL(e) {
21640  var t = UL(e, "string");
21641  return mc(t) == "symbol" ? t : t + "";
21642}
21643function UL(e, t) {
21644  if (mc(e) != "object" || !e) return e;
21645  var r = e[Symbol.toPrimitive];
21646  if (r !== void 0) {
21647    var i = r.call(e, t);
21648    if (mc(i) != "object") return i;
21649    throw new TypeError("@@toPrimitive must return a primitive value.");
21650  }
21651  return (t === "string" ? String : Number)(e);
21652}
21653function jL(e, t, r) {
21654  var i = e.metadata, l = e.countries, s = e.defaultCountry, f = e.value, h = e.reset, m = e.international, g = e.displayInitialValueAsLocalNumber, p = e.initialValueFormat, b = t.defaultCountry, S = t.value, w = t.reset;
21655  r.country;
21656  var T = r.value, N = r.hasUserSelectedACountry, $ = r.latestCountrySelectedByUser, A = function(M) {
21657    return c5(Md(Md({}, M), {}, {
21658      international: m,
21659      useNationalFormat: g || p === "national",
21660      metadata: i
21661    }));
21662  };
21663  if (h !== w)
21664    return {
21665      phoneDigits: A({
21666        value: void 0,
21667        defaultCountry: s
21668      }),
21669      value: void 0,
21670      country: s,
21671      latestCountrySelectedByUser: void 0,
21672      hasUserSelectedACountry: void 0
21673    };
21674  if (s !== b) {
21675    var D = !s || Qh(s, i), _ = (
21676      // By default, "no value has been entered" means `value` is `undefined`.
21677      !T || // When `international` is `true`, and some country has been pre-selected,
21678      // then the `<input/>` contains a pre-filled value of `+${countryCallingCode}${leadingDigits}`,
21679      // so in case of `international` being `true`, "the user hasn't entered anything" situation
21680      // doesn't just mean `value` is `undefined`, but could also mean `value` is `+${countryCallingCode}`.
21681      m && T === A({
21682        value: void 0,
21683        defaultCountry: b
21684      })
21685    ), x = !f && _;
21686    if (!N && D && x)
21687      return {
21688        country: s,
21689        // If `phoneDigits` is empty, then automatically select the new `country`
21690        // and set `phoneDigits` to `+{getCountryCallingCode(newCountry)}`.
21691        // The code assumes that "no phone number has been entered by the user",
21692        // and no `value` property has been passed, so the `phoneNumber` parameter
21693        // of `_getInitialPhoneDigits({ value, phoneNumber, ... })` is `undefined`.
21694        phoneDigits: A({
21695          value: void 0,
21696          defaultCountry: s
21697        }),
21698        // `value` is `undefined` and it stays so.
21699        value: void 0
21700      };
21701  }
21702  if (!h9(f, S) && !h9(f, T)) {
21703    var v, E;
21704    if (f) {
21705      f && n5(f), v = l5(f, i);
21706      var C = r5(l, i);
21707      v && v.country ? (!C || C.indexOf(v.country) >= 0) && (E = v.country) : (E = u5(f, {
21708        country: void 0,
21709        countries: C,
21710        metadata: i
21711      }), E || s && f.indexOf($a(s, i)) === 0 && (E = s));
21712    }
21713    var L;
21714    if (f) {
21715      if ($) {
21716        var k = E ? $ === E : Vl(f, $, i);
21717        k ? E || (E = $) : L = {
21718          latestCountrySelectedByUser: void 0
21719        };
21720      }
21721    } else
21722      L = {
21723        latestCountrySelectedByUser: void 0,
21724        hasUserSelectedACountry: void 0
21725      };
21726    return Md(Md({}, L), {}, {
21727      phoneDigits: A({
21728        phoneNumber: v,
21729        value: f,
21730        defaultCountry: s
21731      }),
21732      value: f,
21733      country: f ? E : s
21734    });
21735  }
21736}
21737function h9(e, t) {
21738  return e === null && (e = void 0), t === null && (t = void 0), e === t;
21739}
21740var FL = ["name", "disabled", "readOnly", "autoComplete", "style", "className", "inputRef", "inputComponent", "numberInputProps", "smartCaret", "countrySelectComponent", "countrySelectProps", "containerComponent", "containerComponentProps", "defaultCountry", "countries", "countryOptionsOrder", "labels", "flags", "flagComponent", "flagUrl", "addInternationalOption", "internationalIcon", "displayInitialValueAsLocalNumber", "initialValueFormat", "onCountryChange", "limitMaxLength", "countryCallingCodeEditable", "focu
21740sInputOnCountrySelection", "reset", "metadata", "international", "locales"];
21741function eu(e) {
21742  "@babel/helpers - typeof";
21743  return eu = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(t) {
21744    return typeof t;
21745  } : function(t) {
21746    return t && typeof Symbol == "function" && t.constructor === Symbol && t !== Symbol.prototype ? "symbol" : typeof t;
21747  }, eu(e);
21748}
21749function m9(e, t) {
21750  var r = Object.keys(e);
21751  if (Object.getOwnPropertySymbols) {
21752    var i = Object.getOwnPropertySymbols(e);
21753    t && (i = i.filter(function(l) {
21754      return Object.getOwnPropertyDescriptor(e, l).enumerable;
21755    })), r.push.apply(r, i);
21756  }
21757  return r;
21758}
21759function f5(e) {
21760  for (var t = 1; t < arguments.length; t++) {
21761    var r = arguments[t] != null ? arguments[t] : {};
21762    t % 2 ? m9(Object(r), !0).forEach(function(i) {
21763      Tr(e, i, r[i]);
21764    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(r)) : m9(Object(r)).forEach(function(i) {
21765      Object.defineProperty(e, i, Object.getOwnPropertyDescriptor(r, i));
21766    });
21767  }
21768  return e;
21769}
21770function Bl() {
21771  return Bl = Object.assign ? Object.assign.bind() : function(e) {
21772    for (var t = 1; t < arguments.length; t++) {
21773      var r = arguments[t];
21774      for (var i in r)
21775        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
21776    }
21777    return e;
21778  }, Bl.apply(this, arguments);
21779}
21780function HL(e, t) {
21781  if (e == null) return {};
21782  var r = VL(e, t), i, l;
21783  if (Object.getOwnPropertySymbols) {
21784    var s = Object.getOwnPropertySymbols(e);
21785    for (l = 0; l < s.length; l++)
21786      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
21787  }
21788  return r;
21789}
21790function VL(e, t) {
21791  if (e == null) return {};
21792  var r = {}, i = Object.keys(e), l, s;
21793  for (s = 0; s < i.length; s++)
21794    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
21795  return r;
21796}
21797function BL(e, t) {
21798  if (!(e instanceof t))
21799    throw new TypeError("Cannot call a class as a function");
21800}
21801function g9(e, t) {
21802  for (var r = 0; r < t.length; r++) {
21803    var i = t[r];
21804    i.enumerable = i.enumerable || !1, i.configurable = !0, "value" in i && (i.writable = !0), Object.defineProperty(e, h5(i.key), i);
21805  }
21806}
21807function qL(e, t, r) {
21808  return t && g9(e.prototype, t), r && g9(e, r), Object.defineProperty(e, "prototype", { writable: !1 }), e;
21809}
21810function GL(e, t, r) {
21811  return t = Eh(t), YL(e, d5() ? Reflect.construct(t, r || [], Eh(e).constructor) : t.apply(e, r));
21812}
21813function YL(e, t) {
21814  if (t && (eu(t) === "object" || typeof t == "function"))
21815    return t;
21816  if (t !== void 0)
21817    throw new TypeError("Derived constructors may only return object or undefined");
21818  return ZL(e);
21819}
21820function ZL(e) {
21821  if (e === void 0)
21822    throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
21823  return e;
21824}
21825function d5() {
21826  try {
21827    var e = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
21828    }));
21829  } catch {
21830  }
21831  return (d5 = function() {
21832    return !!e;
21833  })();
21834}
21835function Eh(e) {
21836  return Eh = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function(r) {
21837    return r.__proto__ || Object.getPrototypeOf(r);
21838  }, Eh(e);
21839}
21840function QL(e, t) {
21841  if (typeof t != "function" && t !== null)
21842    throw new TypeError("Super expression must either be null or a function");
21843  e.prototype = Object.create(t && t.prototype, { constructor: { value: e, writable: !0, configurable: !0 } }), Object.defineProperty(e, "prototype", { writable: !1 }), t && Ap(e, t);
21844}
21845function Ap(e, t) {
21846  return Ap = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function(i, l) {
21847    return i.__proto__ = l, i;
21848  }, Ap(e, t);
21849}
21850function Tr(e, t, r) {
21851  return t = h5(t), t in e ? Object.defineProperty(e, t, { value: r, enumerable: !0, configurable: !0, writable: !0 }) : e[t] = r, e;
21852}
21853function h5(e) {
21854  var t = KL(e, "string");
21855  return eu(t) == "symbol" ? t : t + "";
21856}
21857function KL(e, t) {
21858  if (eu(e) != "object" || !e) return e;
21859  var r = e[Symbol.toPrimitive];
21860  if (r !== void 0) {
21861    var i = r.call(e, t);
21862    if (eu(i) != "object") return i;
21863    throw new TypeError("@@toPrimitive must return a primitive value.");
21864  }
21865  return (t === "string" ? String : Number)(e);
21866}
21867const uo = window.React;
21868var XL = /* @__PURE__ */ (function(e) {
21869  function t(r) {
21870    var i;
21871    BL(this, t), i = GL(this, t, [r]), Tr(i, "setInputRef", function($) {
21872      wL([i.props.inputRef, i.inputRef], $);
21873    }), Tr(i, "isCountrySupportedWithError", function($) {
21874      var A = i.props.metadata;
21875      return Qh($, A);
21876    }), Tr(i, "onCountryChange", function($) {
21877      var A = i.props, D = A.international, _ = A.metadata, x = A.onChange, v = A.focusInputOnCountrySelection, E = i.state, C = E.phoneDigits, L = E.country, k = xL(C, {
21878        prevCountry: L,
21879        newCountry: $,
21880        metadata: _,
21881        // Convert the phone number to "national" format
21882        // when the user changes the selected country by hand.
21883        useNationalFormat: !D
21884      }), I = Pl(k, $, _);
21885      v && i.inputRef.current.focus(), i.setState({
21886        country: $,
21887        latestCountrySelectedByUser: $,
21888        hasUserSelectedACountry: !0,
21889        phoneDigits: k,
21890        value: I
21891      }, function() {
21892        x(I);
21893      });
21894    }), Tr(i, "onChange", function($) {
21895      var A = i.props, D = A.defaultCountry, _ = A.onChange, x = A.addInternationalOption, v = A.international, E = A.limitMaxLength, C = A.countryCallingCodeEditable, L = A.metadata, k = i.state, I = k.countries, M = k.phoneDigits, U = k.country, G = k.latestCountrySelectedByUser, q = ML($, {
21896        prevPhoneDigits: M,
21897        country: U,
21898        countryRequired: !x,
21899        defaultCountry: D,
21900        latestCountrySelectedByUser: G,
21901        getAnyCountry: function() {
21902          return i.getFirstSupportedCountry({
21903            countries: I
21904          });
21905        },
21906        countries: I,
21907        international: v,
21908        limitMaxLength: E,
21909        countryCallingCodeEditable: C,
21910        metadata: L
21911      }), K = q.phoneDigits, Z = q.country, ne = q.value, X = {
21912        phoneDigits: K,
21913        value: ne,
21914        country: Z
21915      };
21916      G && ne && !Vl(ne, G, L) && (X.latestCountrySelectedByUser = void 0), C === !1 && !ne && K === i.state.phoneDigits && (X.forceRerender = {}), i.setState(
21917        X,
21918        // Update the new `value` property.
21919        // Doing it after the `state` has been updated
21920        // because `onChange()` will trigger `getDerivedStateFromProps()`
21921        // with the new `value` which will be compared to `state.value` there.
21922        function() {
21923          return _(ne);
21924        }
21925      );
21926    }), Tr(i, "_onFocus", function() {
21927      return i.setState({
21928        isFocused: !0
21929      });
21930    }), Tr(i, "_onBlur", function() {
21931      return i.setState({
21932        isFocused: !1
21933      });
21934    }), Tr(i, "onFocus", function($) {
21935      i._onFocus();
21936      var A = i.props.onFocus;
21937      A && A($);
21938    }), Tr(i, "onBlur", function($) {
21939      var A = i.props.onBlur;
21940      i._onBlur(), A && A($);
21941    }), Tr(i, "onCountryFocus", function($) {
21942      i._onFocus();
21943      var A = i.props.countrySelectProps;
21944      if (A) {
21945        var D = A.onFocus;
21946        D && D($);
21947      }
21948    }), Tr(i, "onCountryBlur", function($) {
21949      i._onBlur();
21950      var A = i.props.countrySelectProps;
21951      if (A) {
21952        var D = A.onBlur;
21953        D && D($);
21954      }
21955    }), i.inputRef = /* @__PURE__ */ uo.createRef();
21956    var l = i.props, s = l.value;
21957    l.labels;
21958    var f = l.international, h = l.addInternationalOption, m = l.displayInitialValueAsLocalNumber, g = l.initialValueFormat, p = l.metadata, b = i.props, S = b.defaultCountry, w = b.countries;
21959    S && (i.isCountrySupportedWithError(S) || (S = void 0)), s && n5(s), w = r5(w, p);
21960    var T = l5(s, p);
21961    i.CountryIcon = a5(i.props);
21962    var N = NL({
21963      value: s,
21964      phoneNumber: T,
21965      defaultCountry: S,
21966      required: !h,
21967      countries: w || r9(p),
21968      getAnyCountry: function() {
21969        return i.getFirstSupportedCountry({
21970          countries: w
21971        });
21972      },
21973      metadata: p
21974    });
21975    return i.state = {
21976      // Workaround for `this.props` inside `getDerivedStateFromProps()`.
21977      props: i.props,
21978      // The country selected.
21979      country: N,
21980      // `countries` are stored in `this.state` because they're filtered.
21981      // For example, a developer might theoretically pass some unsupported
21982      // countries as part of the `countries` property, and because of that
21983      // the component uses `this.state.countries` (which are filtered)
21984      // instead of `this.props.countries`
21985      // (which could potentially contain unsupported countries).
21986      countries: w,
21987      // `phoneDigits` state property holds non-formatted user's input.
21988      // The reason is that there's no way of finding out
21989      // in which form should `value` be displayed: international or national.
21990      // E.g. if `value` is `+78005553535` then it could be input
21991      // by a user both as `8 (800) 555-35-35` and `+7 800 555 35 35`.
21992      // Hence storing just `value` is not sufficient for correct formatting.
21993      // E.g. if a user entered `8 (800) 555-35-35`
21994      // then value is `+78005553535` and `phoneDigits` are `88005553535`
21995      // and if a user entered `+7 800 555 35 35`
21996      // then value is `+78005553535` and `phoneDigits` are `+78005553535`.
21997      phoneDigits: c5({
21998        value: s,
21999        phoneNumber: T,
22000        defaultCountry: S,
22001        international: f,
22002        useNationalFormat: m || g === "national",
22003        metadata: p
22004      }),
22005      // `value` property is duplicated in state.
22006      // The reason is that `getDerivedStateFromProps()`
22007      // needs this `value` to compare to the new `value` property
22008      // to find out if `phoneDigits` needs updating:
22009      // If the `value` property was changed externally
22010      // then it won't be equal to `state.value`
22011      // in which case `phoneDigits` and `country` should be updated.
22012      value: s
22013    }, i;
22014  }
22015  return QL(t, e), qL(t, [{
22016    key: "componentDidMount",
22017    value: function() {
22018      var i = this.props.onCountryChange, l = this.props.defaultCountry, s = this.state.country;
22019      i && (l && (this.isCountrySupportedWithError(l) || (l = void 0)), s !== l && i(s));
22020    }
22021  }, {
22022    key: "componentDidUpdate",
22023    value: function(i, l) {
22024      var s = this.props.onCountryChange, f = this.state.country;
22025      s && f !== l.country && s(f);
22026    }
22027  }, {
22028    key: "getCountrySelectOptions",
22029    value: function(i) {
22030      var l = i.countries, s = this.props, f = s.international, h = s.countryCallingCodeEditable, m = s.countryOptionsOrder, g = s.addInternationalOption, p 
22030= s.labels, b = s.locales, S = s.metadata;
22031      return this.useMemoCountrySelectOptions(function() {
22032        return vL(AL({
22033          countries: l || r9(S),
22034          countryNames: p,
22035          addInternationalOption: f && h === !1 ? !1 : g,
22036          compareStringsLocales: b
22037          // compareStrings
22038        }), bL(m, S));
22039      }, [l, m, g, p, S]);
22040    }
22041  }, {
22042    key: "useMemoCountrySelectOptions",
22043    value: function(i, l) {
22044      return (!this.countrySelectOptionsMemoDependencies || !JL(l, this.countrySelectOptionsMemoDependencies)) && (this.countrySelectOptionsMemo = i(), this.countrySelectOptionsMemoDependencies = l), this.countrySelectOptionsMemo;
22045    }
22046  }, {
22047    key: "getFirstSupportedCountry",
22048    value: function(i) {
22049      var l = i.countries, s = this.getCountrySelectOptions({
22050        countries: l
22051      });
22052      return s[0].value;
22053    }
22054  }, {
22055    key: "render",
22056    value: function() {
22057      var i = this.props, l = i.name, s = i.disabled, f = i.readOnly, h = i.autoComplete, m = i.style, g = i.className;
22058      i.inputRef;
22059      var p = i.inputComponent, b = i.numberInputProps, S = i.smartCaret, w = i.countrySelectComponent, T = i.countrySelectProps, N = i.containerComponent, $ = i.containerComponentProps;
22060      i.defaultCountry, i.countries, i.countryOptionsOrder;
22061      var A = i.labels;
22062      i.flags, i.flagComponent, i.flagUrl, i.addInternationalOption, i.internationalIcon, i.displayInitialValueAsLocalNumber, i.initialValueFormat, i.onCountryChange, i.limitMaxLength, i.countryCallingCodeEditable, i.focusInputOnCountrySelection, i.reset;
22063      var D = i.metadata, _ = i.international;
22064      i.locales;
22065      var x = HL(i, FL), v = this.state, E = v.country, C = v.countries, L = v.phoneDigits, k = v.isFocused, I = S ? Bk : Kk, M = this.getCountrySelectOptions({
22066        countries: C
22067      });
22068      return /* @__PURE__ */ uo.createElement(N, Bl({
22069        style: m,
22070        className: ph(g, "PhoneInput", {
22071          "PhoneInput--focus": k,
22072          "PhoneInput--disabled": s,
22073          "PhoneInput--readOnly": f
22074        })
22075      }, $), /* @__PURE__ */ uo.createElement(w, Bl({
22076        name: l ? "".concat(l, "Country") : void 0,
22077        "aria-label": A.country
22078      }, T, {
22079        value: E,
22080        options: M,
22081        onChange: this.onCountryChange,
22082        onFocus: this.onCountryFocus,
22083        onBlur: this.onCountryBlur,
22084        disabled: s || T && T.disabled,
22085        readOnly: f || T && T.readOnly,
22086        iconComponent: this.CountryIcon
22087      })), /* @__PURE__ */ uo.createElement(I, Bl({
22088        ref: this.setInputRef,
22089        type: "tel",
22090        autoComplete: h
22091      }, b, x, {
22092        inputFormat: _ === !0 ? "INTERNATIONAL" : _ === !1 ? "NATIONAL" : "INTERNATIONAL_OR_NATIONAL",
22093        international: _ ? !0 : void 0,
22094        withCountryCallingCode: _ ? !0 : void 0,
22095        name: l,
22096        metadata: D,
22097        country: E,
22098        value: L || "",
22099        onChange: this.onChange,
22100        onFocus: this.onFocus,
22101        onBlur: this.onBlur,
22102        disabled: s,
22103        readOnly: f,
22104        inputComponent: p,
22105        className: ph("PhoneInputInput", b && b.className, x.className)
22106      })));
22107    }
22108  }], [{
22109    key: "getDerivedStateFromProps",
22110    value: (
22111      // `state` holds previous props as `props`, and also:
22112      // * `country` — The currently selected country, e.g. `"RU"`.
22113      // * `value` — The currently entered phone number (E.164), e.g. `+78005553535`.
22114      // * `phoneDigits` — The parsed `<input/>` value, e.g. `8005553535`.
22115      // (and a couple of other less significant properties)
22116      function(i, l) {
22117        return f5({
22118          // Emulate `prevProps` via `state.props`.
22119          props: i
22120        }, jL(i, l.props, l));
22121      }
22122    )
22123  }]);
22124})(uo.PureComponent), m5 = /* @__PURE__ */ uo.forwardRef(function(e, t) {
22125  return /* @__PURE__ */ uo.createElement(XL, Bl({}, WL(e), {
22126    inputRef: t
22127  }));
22128});
22129m5.propTypes = {
22130  /**
22131   * Phone number in `E.164` format.
22132   *
22133   * Example:
22134   *
22135   * `"+12223333333"`
22136   *
22137   * Any "falsy" value like `undefined`, `null` or an empty string `""` is treated like "empty".
22138   */
22139  value: ae.string,
22140  /**
22141   * A function of `value: string?`.
22142   *
22143   * Updates the `value` property as the user inputs a phone number.
22144   *
22145   * If the user erases the input value, the argument is `undefined`.
22146   */
22147  onChange: ae.func.isRequired,
22148  /**
22149   * Toggles the `--focus` CSS class.
22150   * @ignore
22151   */
22152  onFocus: ae.func,
22153  /**
22154   * `onBlur` is usually passed by `redux-form`.
22155   * @ignore
22156   */
22157  onBlur: ae.func,
22158  /**
22159   * Set to `true` to mark both the phone number `<input/>`
22160   * and the country `<select/>` as `disabled`.
22161   */
22162  disabled: ae.bool,
22163  /**
22164   * Set to `true` to mark both the phone number `<input/>`
22165   * and the country `<select/>` as `readonly`.
22166   */
22167  readOnly: ae.bool,
22168  /**
22169   * Sets `autoComplete` property for phone number `<input/>`.
22170   *
22171   * Web browser's "autocomplete" feature
22172   * remembers the phone number being input
22173   * and can also autofill the `<input/>`
22174   * with previously remembered phone numbers.
22175   *
22176   * https://developers.google.com
22177   * /web/updates/2015/06/checkout-faster-with-autofill
22178   *
22179   * For example, can be used to turn it off:
22180   *
22181   * "So when should you use `autocomplete="off"`?
22182   *  One example is when you've implemented your own version
22183   *  of autocomplete for search. Another example is any form field
22184   *  where users will input and submit different kinds of information
22185   *  where it would not be useful to have the browser remember
22186   *  what was submitted previously".
22187   */
22188  // (is `"tel"` by default)
22189  autoComplete: ae.string,
22190  /**
22191   * Set to `"national"` to show the initial `value` in
22192   * "national" format rather than "international".
22193   *
22194   * For example, if `initialValueFormat` is `"national"`
22195   * and the initial `value="+12133734253"` is passed
22196   * then the `<input/>` value will be `"(213) 373-4253"`.
22197   *
22198   * By default, `initialValueFormat` is `undefined`,
22199   * meaning that if the initial `value="+12133734253"` is passed
22200   * then the `<input/>` value will be `"+1 213 373 4253"`.
22201   *
22202   * The reason for such default behaviour is that
22203   * the newer generation grows up when there are no stationary phones
22204   * and therefore everyone inputs phone numbers in international format
22205   * in their smartphones so people gradually get more accustomed to
22206   * writing phone numbers in international format rather than in local format.
22207   * Future people won't be using "national" format, only "international".
22208   */
22209  // (is `undefined` by default)
22210  initialValueFormat: ae.oneOf(["national"]),
22211  // `displayInitialValueAsLocalNumber` property has been
22212  // superceded by `initialValueFormat` property.
22213  displayInitialValueAsLocalNumber: ae.bool,
22214  /**
22215   * The country to be selected by default.
22216   * For example, can be set after a GeoIP lookup.
22217   *
22218   * Example: `"US"`.
22219   */
22220  // A two-letter country code ("ISO 3166-1 alpha-2").
22221  defaultCountry: ae.string,
22222  /**
22223   * If specified, only these countries will be available for selection.
22224   *
22225   * Example:
22226   *
22227   * `["RU", "UA", "KZ"]`
22228   */
22229  countries: ae.arrayOf(ae.string),
22230  /**
22231   * Custom country `<select/>` option names.
22232   * Also some labels like "ext" and country `<select/>` `aria-label`.
22233   *
22234   * Example:
22235   *
22236   * `{ "ZZ": "Международный", RU: "Россия", US: "США", ... }`
22237   *
22238   * See the `locales` directory for examples.
22239   */
22240  labels: o5,
22241  /**
22242   * Country `<select/>` options are sorted by their labels.
22243   * The default sorting function uses `a.localeCompare(b, locales)`,
22244   * and, if that's not available, falls back to simple `a > b` / `a < b`.
22245   * Some languages, like Chinese, support multiple sorting variants
22246   * (called "collations"), and the user might prefer one or another.
22247   * Also, sometimes the Operating System language is not always
22248   * the preferred language for a person using a website or an application,
22249   * so there should be a way to specify custom locale.
22250   * This `locales` property mimicks the `locales` argument of `Intl` constructors,
22251   * and can be either a Unicode BCP 47 locale identifier or an array of such locale identifiers.
22252   * @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl#locales_argument
22253   */
22254  locales: ae.oneOfType([ae.string, ae.arrayOf(ae.string)]),
22255  /*
22256   * Custom country `<select/>` options sorting function.
22257   * The default one uses `a.localeCompare(b)`, and,
22258   * if that's not available, falls back to simple `a > b`/`a < b`.
22259   * There have been requests to add custom sorter for cases
22260   * like Chinese language and "pinyin" (non-default) sorting order.
22261   * https://stackoverflow.com/questions/22907288/chinese-sorting-by-pinyin-in-javascript-with-localecompare
22262  compareStrings: PropTypes.func,
22263   */
22264  /**
22265   * A URL template of a country flag, where
22266   * "{XX}" is a two-letter country code in upper case,
22267   * or where "{xx}" is a two-letter country code in lower case.
22268   * By default it points to `country-flag-icons` gitlab pages website.
22269   * I imagine someone might want to download those country flag icons
22270   * and host them on their own servers instead
22271   * (all flags are available in the `country-flag-icons` library).
22272   * There's a catch though: new countries may be added in future,
22273   * so when hosting country flag icons on your own server
22274   * one should check the `CHANGELOG.md` every time before updating this library,
22275   * otherwise there's a possibility that some new country flag would be missing.
22276   */
22277  flagUrl: ae.string,
22278  /**
22279   * Custom country flag icon components.
22280   * These flags will be used instead of the default ones.
22281   * The the "Flags" section of the readme for more info.
22282   *
22283   * The shape is an object where keys are country codes
22284   * and values are flag icon components.
22285   * Flag icon components receive the same properties
22286   * as `flagComponent` (see below).
22287   *
22288   * Example:
22289   *
22290   * `{ "RU": (props) => <img src="..."/> }`
22291   *
22292   * Example:
22293   *
22294   * `import flags from 'country-flag-icons/react/3x2'`
22295   *
22296   * `import PhoneInput from 'react-phone-number-input'`
22297   *
22298   * `<PhoneInput flags={flags} .../>`
22299   */
22300  flags: ae.objectOf(ae.elementType),
22301  /**
22302   * Country flag icon component.
22303   *
22304   * Takes properties:
22305   *
22306   * * `country: string` — The country code.
22307   * * `countryName: string` — The country name.
22308   * * `flagUrl: string` — The `flagUrl` property (see above).
22309   * * `flags: object` — The `flags` property (see above).
22310   */
22311  flagComponent: ae.elementType,
22312  /**
22313   * Set to `false` to remove the "International" option from country `<select/>`.
22314   */
22315  addInternationalOption: ae.bool,
22316  /**
22317   * "International" icon component.
22318   * Should have the same aspect ratio.
22319   *
22320   * Receives properties:
22321   *
22322   * * `title: string` — "International" country option label.
22323   */
22324  internationalIcon: ae.elementType,
22325  /**
22326   * Can be used to place some countries on top of the list of country `<select/>` options.
22327   *
22328   * * `"XX"` — inserts an option for "XX" country.
22329   * * `"🌐"` — inserts "International" option.
22330   * * `"|"` — inserts a separator.
22331   * * `"..."` — inserts options for the rest of the countries (can be omitted, in 
22331which case it will be automatically added at the end).
22332   *
22333   * Example:
22334   *
22335   * `["US", "CA", "AU", "|", "..."]`
22336   */
22337  countryOptionsOrder: ae.arrayOf(ae.string),
22338  /**
22339   * `<Phone/>` component CSS style object.
22340   */
22341  style: ae.object,
22342  /**
22343   * `<Phone/>` component CSS class.
22344   */
22345  className: ae.string,
22346  /**
22347   * Country `<select/>` component.
22348   *
22349   * Receives properties:
22350   *
22351   * * `name: string?` — HTML `name` attribute.
22352   * * `value: string?` — The currently selected country code.
22353   * * `onChange(value: string?)` — Updates the `value`.
22354   * * `onFocus()` — Is used to toggle the `--focus` CSS class.
22355   * * `onBlur()` — Is used to toggle the `--focus` CSS class.
22356   * * `options: object[]` — The list of all selectable countries (including "International") each being an object of shape `{ value: string?, label: string }`.
22357   * * `iconComponent: PropTypes.elementType` — React component that renders a country icon: `<Icon country={value}/>`. If `country` is `undefined` then it renders an "International" icon.
22358   * * `disabled: boolean?` — HTML `disabled` attribute.
22359   * * `readOnly: boolean?` — HTML `readOnly` attribute.
22360   * * `tabIndex: (number|string)?` — HTML `tabIndex` attribute.
22361   * * `className: string` — CSS class name.
22362   */
22363  countrySelectComponent: ae.elementType,
22364  /**
22365   * Country `<select/>` component props.
22366   * Along with the usual DOM properties such as `aria-label` and `tabIndex`,
22367   * some custom properties are supported, such as `arrowComponent` and `unicodeFlags`.
22368   */
22369  countrySelectProps: ae.object,
22370  /**
22371   * Phone number `<input/>` component.
22372   *
22373   * Receives properties:
22374   *
22375   * * `value: string` — The formatted `value`.
22376   * * `onChange(event: Event)` — Updates the formatted `value` from `event.target.value`.
22377   * * `onFocus()` — Is used to toggle the `--focus` CSS class.
22378   * * `onBlur()` — Is used to toggle the `--focus` CSS class.
22379   * * Other properties like `type="tel"` or `autoComplete="tel"` that should be passed through to the DOM `<input/>`.
22380   *
22381   * Must also either use `React.forwardRef()` to "forward" `ref` to the `<input/>` or implement `.focus()` method.
22382   */
22383  inputComponent: ae.elementType,
22384  /**
22385   * Phone number `<input/>` component props.
22386   */
22387  numberInputProps: ae.object,
22388  /**
22389   * Wrapping `<div/>` component.
22390   *
22391   * Receives properties:
22392   *
22393   * * `style: object` — A component CSS style object.
22394   * * `className: string` — Classes to attach to the component, typically changes when component focuses or blurs.
22395   */
22396  containerComponent: ae.elementType,
22397  /**
22398   * Wrapping `<div/>` component props.
22399   */
22400  containerComponentProps: ae.object,
22401  /**
22402   * When the user attempts to insert a digit somewhere in the middle of a phone number,
22403   * the caret position is moved right before the next available digit skipping
22404   * any punctuation in between. This is called "smart" caret positioning.
22405   * Another case would be the phone number format changing as a result of
22406   * the user inserting the digit somewhere in the middle, which would require
22407   * re-positioning the caret because all digit positions have changed.
22408   * This "smart" caret positioning feature can be turned off by passing
22409   * `smartCaret={false}` property: use it in case of any possible issues
22410   * with caret position during phone number input.
22411   */
22412  // Is `true` by default.
22413  smartCaret: ae.bool,
22414  /**
22415   * Set to `true` to force "international" phone number format.
22416   * Set to `false` to force "national" phone number format.
22417   * By default it's `undefined` meaning that it doesn't enforce any phone number format:
22418   * the user can input their phone number in either "national" or "international" format.
22419   */
22420  international: ae.bool,
22421  /**
22422   * If set to `true`, the phone number input will get trimmed
22423   * if it exceeds the maximum length for the country.
22424   */
22425  limitMaxLength: ae.bool,
22426  /**
22427   * If set to `false`, and `international` is `true`, then
22428   * users won't be able to erase the "country calling part"
22429   * of a phone number in the `<input/>`.
22430   */
22431  countryCallingCodeEditable: ae.bool,
22432  /**
22433   * `libphonenumber-js` metadata.
22434   *
22435   * Can be used to pass custom `libphonenumber-js` metadata
22436   * to reduce the overall bundle size for those who compile "custom" metadata.
22437   */
22438  metadata: i5,
22439  /**
22440   * Is called every time the selected country changes:
22441   * either programmatically or when user selects it manually from the list.
22442   */
22443  // People have been asking for a way to get the selected country.
22444  // @see  https://github.com/catamphetamine/react-phone-number-input/issues/128
22445  // For some it's just a "business requirement".
22446  // I guess it's about gathering as much info on the user as a website can
22447  // without introducing any addional fields that would complicate the form
22448  // therefore reducing "conversion" (that's a marketing term).
22449  // Assuming that the phone number's country is the user's country
22450  // is not 100% correct but in most cases I guess it's valid.
22451  onCountryChange: ae.func,
22452  /**
22453   * If set to `false`, will not focus the `<input/>` component
22454   * when the user selects a country from the list of countries.
22455   * This can be used to conform to the Web Content Accessibility Guidelines (WCAG).
22456   * Quote:
22457   * "On input: Changing the setting of any user interface component
22458   *  does not automatically cause a change of context unless the user
22459   *  has been advised of the behaviour before using the component."
22460   */
22461  focusInputOnCountrySelection: ae.bool
22462};
22463var p9 = {
22464  /**
22465   * Remember (and autofill) the value as a phone number.
22466   */
22467  autoComplete: "tel",
22468  /**
22469   * Country `<select/>` component.
22470   */
22471  countrySelectComponent: WE,
22472  /**
22473   * Flag icon component.
22474   */
22475  flagComponent: Ay,
22476  /**
22477   * By default, uses icons from `country-flag-icons` gitlab pages website.
22478   */
22479  // Must be equal to `flagUrl` in `./CountryIcon.js`.
22480  flagUrl: "https://purecatamphetamine.github.io/country-flag-icons/3x2/{XX}.svg",
22481  /**
22482   * Default "International" country `<select/>` option icon.
22483   */
22484  internationalIcon: Zh,
22485  /**
22486   * Phone number `<input/>` component.
22487   */
22488  inputComponent: "input",
22489  /**
22490   * Wrapping `<div/>` component.
22491   */
22492  containerComponent: "div",
22493  /**
22494   * Some users requested a way to reset the component:
22495   * both number `<input/>` and country `<select/>`.
22496   * Whenever `reset` property changes both number `<input/>`
22497   * and country `<select/>` are reset.
22498   * It's not implemented as some instance `.reset()` method
22499   * because `ref` is forwarded to `<input/>`.
22500   * It's also not replaced with just resetting `country` on
22501   * external `value` reset, because a user could select a country
22502   * and then not input any `value`, and so the selected country
22503   * would be "stuck", if not using this `reset` property.
22504   */
22505  // https://github.com/catamphetamine/react-phone-number-input/issues/300
22506  reset: ae.any,
22507  /**
22508   *
22509   */
22510  /**
22511   * Set to `false` to use "basic" caret instead of the "smart" one.
22512   */
22513  smartCaret: !0,
22514  /**
22515   * Whether to add the "International" option
22516   * to the list of countries.
22517   */
22518  addInternationalOption: !0,
22519  /**
22520   * If set to `false`, and `international` is `true`, then
22521   * users won't be able to erase the "country calling part"
22522   * of a phone number in the `<input/>`.
22523   */
22524  countryCallingCodeEditable: !0,
22525  /**
22526   * If set to `false`, will not focus the `<input/>` component
22527   * when the user selects a country from the list of countries.
22528   * This can be used to conform to the Web Content Accessibility Guidelines (WCAG).
22529   * Quote:
22530   * "On input: Changing the setting of any user interface component
22531   *  does not automatically cause a change of context unless the user
22532   *  has been advised of the behaviour before using the component."
22533   */
22534  focusInputOnCountrySelection: !0
22535};
22536function WL(e) {
22537  e = f5({}, e);
22538  for (var t in p9)
22539    e[t] === void 0 && (e[t] = p9[t]);
22540  return e;
22541}
22542function JL(e, t) {
22543  if (e.length !== t.length)
22544    return !1;
22545  for (var r = 0; r < e.length; ) {
22546    if (e[r] !== t[r])
22547      return !1;
22548    r++;
22549  }
22550  return !0;
22551}
22552const ez = {
22553  ext: "ext.",
22554  country: "Phone number country",
22555  phone: "Phone",
22556  AC: "Ascension Island",
22557  AD: "Andorra",
22558  AE: "United Arab Emirates",
22559  AF: "Afghanistan",
22560  AG: "Antigua and Barbuda",
22561  AI: "Anguilla",
22562  AL: "Albania",
22563  AM: "Armenia",
22564  AO: "Angola",
22565  AQ: "Antarctica",
22566  AR: "Argentina",
22567  AS: "American Samoa",
22568  AT: "Austria",
22569  AU: "Australia",
22570  AW: "Aruba",
22571  AX: "Åland Islands",
22572  AZ: "Azerbaijan",
22573  BA: "Bosnia and Herzegovina",
22574  BB: "Barbados",
22575  BD: "Bangladesh",
22576  BE: "Belgium",
22577  BF: "Burkina Faso",
22578  BG: "Bulgaria",
22579  BH: "Bahrain",
22580  BI: "Burundi",
22581  BJ: "Benin",
22582  BL: "Saint Barthélemy",
22583  BM: "Bermuda",
22584  BN: "Brunei Darussalam",
22585  BO: "Bolivia",
22586  BQ: "Bonaire, Sint Eustatius and Saba",
22587  BR: "Brazil",
22588  BS: "Bahamas",
22589  BT: "Bhutan",
22590  BV: "Bouvet Island",
22591  BW: "Botswana",
22592  BY: "Belarus",
22593  BZ: "Belize",
22594  CA: "Canada",
22595  CC: "Cocos (Keeling) Islands",
22596  CD: "Congo, Democratic Republic of the",
22597  CF: "Central African Republic",
22598  CG: "Congo",
22599  CH: "Switzerland",
22600  CI: "Cote d'Ivoire",
22601  CK: "Cook Islands",
22602  CL: "Chile",
22603  CM: "Cameroon",
22604  CN: "China",
22605  CO: "Colombia",
22606  CR: "Costa Rica",
22607  CU: "Cuba",
22608  CV: "Cape Verde",
22609  CW: "Curaçao",
22610  CX: "Christmas Island",
22611  CY: "Cyprus",
22612  CZ: "Czech Republic",
22613  DE: "Germany",
22614  DJ: "Djibouti",
22615  DK: "Denmark",
22616  DM: "Dominica",
22617  DO: "Dominican Republic",
22618  DZ: "Algeria",
22619  EC: "Ecuador",
22620  EE: "Estonia",
22621  EG: "Egypt",
22622  EH: "Western Sahara",
22623  ER: "Eritrea",
22624  ES: "Spain",
22625  ET: "Ethiopia",
22626  FI: "Finland",
22627  FJ: "Fiji",
22628  FK: "Falkland Islands",
22629  FM: "Federated States of Micronesia",
22630  FO: "Faroe Islands",
22631  FR: "France",
22632  GA: "Gabon",
22633  GB: "United Kingdom",
22634  GD: "Grenada",
22635  GE: "Georgia",
22636  GF: "French Guiana",
22637  GG: "Guernsey",
22638  GH: "Ghana",
22639  GI: "Gibraltar",
22640  GL: "Greenland",
22641  GM: "Gambia",
22642  GN: "Guinea",
22643  GP: "Guadeloupe",
22644  GQ: "Equatorial Guinea",
22645  GR: "Greece",
22646  GS: "South Georgia and the South Sandwich Islands",
22647  GT: "Guatemala",
22648  GU: "Guam",
22649  GW: "Guinea-Bissau",
22650  GY: "Guyana",
22651  HK: "Hong Kong",
22652  HM: "Heard Island and McDonald Islands",
22653  HN: "Honduras",
22654  HR: "Croatia",
22655  HT: "Haiti",
22656  HU: "Hungary",
22657  ID: "Indonesia",
22658  IE: "Ireland",
22659  IL: "Israel",
22660  IM: "Isle of Man",
22661  IN: "India",
22662  IO: "British Indian Ocean Territory",
22663  IQ: "Iraq",
22664  IR: "Iran",
22665  IS: "Iceland",
22666  IT: "Italy",
22667  JE: "Jersey",
22668  JM: "Jamaica",
22669  JO: "Jordan",
22670  JP: "Japan",
22671  KE: "Kenya",
22672  KG: "Kyrgyzstan",
22673  KH: "Cambodia",
22674  KI: "Kiribati",
22675  KM: "Comoros",
22676  KN: "Saint Kitts and Nevis",
22677  KP: "North Korea",
22678  KR: "South Korea",
22679  KW: "Kuwait",
22680  KY: "Cayman Islands",
22681  KZ: "Kazakhstan",
22682  LA: "Laos",
22683  LB: "Lebanon",
22684  LC: "Saint Lucia",
22685  LI: "Liechtenstein",
22686  LK: "Sri Lanka",
22687  LR: "Liberia",
22688  LS: "Lesotho",
22689  LT: "Lithuania",
22690  LU: "Luxembourg",
22691  LV: "Latvia",
22692  LY: "Libya",
22693  MA: "Morocco",
22694  MC: "Monaco",
22695  MD: "Moldova",
22696  ME: "Montenegro",
22697  MF: "Saint Martin (French Part)",
22698  MG: "Madagascar",
22699  MH: "Marshall Islands",
22700  MK: "North Macedonia",
22701  ML: "Mali",
22702  MM: "Myanmar",
22703  MN: "Mongolia",
22704  MO: "Macao",
22705  MP: "Northern Mariana Islands",
22706  MQ: "Martinique",
22707  MR: "Mauritania",
22708  MS: "Montserrat",
22709  MT: "Malta",
22710  MU: "Mauritius",
22711  MV: "Maldives",
22712  MW: "Malawi",
22713  MX: "Mexico",
22714  MY: "Malaysia",
22715  MZ: "Mozambique",
22716  NA: "Namibia",
22717  NC: "New Caledonia",
22718  NE: "Niger",
22719  NF: "Norfolk Island",
22720  NG: "Nigeria",
22721  NI: "Nicaragua",
22722  NL: "Netherlands",
22723  NO: "Norway",
22724  NP: "Nepal",
22725  NR: "Nauru",
22726  NU: "Niue",
22727  NZ: "New Zealand",
22728  OM: "Oman",
22729  PA: "Panama",
22730  PE: "Peru",
22731  PF: "French Polynesia",
22732  PG: "Papua New Guinea",
22733  PH: "Philippines",
22734  PK: "Pakistan",
22735  PL: "Poland",
22736  PM: "Saint Pierre and Miquelon",
22737  PN: "Pitcairn",
22738  PR: "Puerto Rico",
22739  PS: "Palestine",
22740  PT: "Portugal",
22741  PW: "Palau",
22742  PY: "Paraguay",
22743  QA: "Qatar",
22744  RE: "Reunion",
22745  RO: "Romania",
22746  RS: "Serbia",
22747  RU: "Russia",
22748  RW: "Rwanda",
22749  SA: "Saudi Arabia",
22750  SB: "Solomon Islands",
22751  SC: "Seychelles",
22752  SD: "Sudan",
22753  SE: "Sweden",
22754  SG: "Singapore",
22755  SH: "Saint Helena",
22756  SI: "Slovenia",
22757  SJ: "Svalbard and Jan Mayen",
22758  SK: "Slovakia",
22759  SL: "Sierra Leone",
22760  SM: "San Marino",
22761  SN: "Senegal",
22762  SO: "Somalia",
22763  SR: "Suriname",
22764  SS: "South Sudan",
22765  ST: "Sao Tome and Principe",
22766  SV: "El Salvador",
22767  SX: "Sint Maarten",
22768  SY: "Syria",
22769  SZ: "Swaziland",
22770  TA: "Tristan da Cunha",
22771  TC: "Turks and Caicos Islands",
22772  TD: "Chad",
22773  TF: "French Southern Territories",
22774  TG: "Togo",
22775  TH: "Thailand",
22776  TJ: "Tajikistan",
22777  TK: "Tokelau",
22778  TL: "Timor-Leste",
22779  TM: "Turkmenistan",
22780  TN: "Tunisia",
22781  TO: "Tonga",
22782  TR: "Turkey",
22783  TT: "Trinidad and Tobago",
22784  TV: "Tuvalu",
22785  TW: "Taiwan",
22786  TZ: "Tanzania",
22787  UA: "Ukraine",
22788  UG: "Uganda",
22789  UM: "United States Minor Outlying Islands",
22790  US: "United States",
22791  UY: "Uruguay",
22792  UZ: "Uzbekistan",
22793  VA: "Holy See (Vatican City State)",
22794  VC: "Saint Vincent and the Grenadines",
22795  VE: "Venezuela",
22796  VG: "Virgin Islands, British",
22797  VI: "Virgin Islands, U.S.",
22798  VN: "Vietnam",
22799  VU: "Vanuatu",
22800  WF: "Wallis and Futuna",
22801  WS: "Samoa",
22802  XA: "Abkhazia",
22803  XK: "Kosovo",
22804  XO: "South Ossetia",
22805  YE: "Yemen",
22806  YT: "Mayotte",
22807  ZA: "South Africa",
22808  ZM: "Zambia",
22809  ZW: "Zimbabwe",
22810  ZZ: "International"
22811};
22812var tz = ["metadata", "labels"];
22813function _p() {
22814  return _p = Object.assign ? Object.assign.bind() : function(e) {
22815    for (var t = 1; t < arguments.length; t++) {
22816      var r = arguments[t];
22817      for (var i in r)
22818        Object.prototype.hasOwnProperty.call(r, i) && (e[i] = r[i]);
22819    }
22820    return e;
22821  }, _p.apply(this, arguments);
22822}
22823function nz(e, t) {
22824  if (e == null) return {};
22825  var r = rz(e, t), i, l;
22826  if (Object.getOwnPropertySymbols) {
22827    var s = Object.getOwnPropertySymbols(e);
22828    for (l = 0; l < s.length; l++)
22829      i = s[l], !(t.indexOf(i) >= 0) && Object.prototype.propertyIsEnumerable.call(e, i) && (r[i] = e[i]);
22830  }
22831  return r;
22832}
22833function rz(e, t) {
22834  if (e == null) return {};
22835  var r = {}, i = Object.keys(e), l, s;
22836  for (s = 0; s < i.length; s++)
22837    l = i[s], !(t.indexOf(l) >= 0) && (r[l] = e[l]);
22838  return r;
22839}
22840const y9 = window.React;
22841function g5(e) {
22842  var t = /* @__PURE__ */ y9.forwardRef(function(r, i) {
22843    var l = r.metadata, s = l === void 0 ? e : l, f = r.labels, h = f === void 0 ? ez : f, m = nz(r, tz);
22844    return /* @__PURE__ */ y9.createElement(m5, _p({}, m, {
22845      ref: i,
22846      metadata: s,
22847      labels: h
22848    }));
22849  });
22850  return t.propTypes = {
22851    metadata: i5,
22852    labels: o5
22853  }, t;
22854}
22855g5();
22856const az = g5(xD), iz = window.ZigDesignSystem.ZdsModal, oz = window.ZigDesignSystem.ZdsButton;
22857window.ZigDesignSystem.ZdsDrawer;
22858window.ZigDesignSystem.ZdsCard;
22859const v9 = window.ZigDesignSystem.ZdsIcon;
22860window.ZigDesignSystem.ZdsIconButton;
22861window.ZigDesignSystem.ZdsCarousel;
22862const lz = window.ZigDesignSystem.ZdsLink, uz = window.ZigDesignSystem.ZdsBadge, sz = window.React.useCallback, cz = window.React.useState, fz = window.React.useRef, xy = window.React.useEffect;
22863window.React.Fragment;
22864const dz = window.React.forwardRef, Ry = window.React.createContext;
22865window.React.useMemo;
22866const p5 = window.React.useContext;
22867bo({
22868  "--zds-card-background": "transparent",
22869  "--zds-typography-headline-xs-color": "var(--zds-text-color-base)",
22870  "--zds-typography-headline-sm-color": "var(--zds-text-color-base)",
22871  "--zds-typography-headline-md-color": "var(--zds-text-color-base)",
22872  "--zds-typography-headline-lg-color": "var(--zds-text-color-base)",
22873  "--zds-typography-headline-xl-color": "var(--zds-text-color-base)",
22874  "--zds-typography-headline-xxl-color": "var(--zds-text-color-base)"
22875});
22876const hz = {
22877  noSlotsAvailable: "No times are available for this day",
22878  week: "Week",
22879  copied: "Text copied",
22880  close: "Close"
22881}, mz = {}, gz = {
22882  noSlotsAvailable: "Voor deze dag zijn geen tijden beschikbaar",
22883  week: "Week",
22884  copied: "Tekst gekopieerd",
22885  close: "Sluiten"
22886}, pz = {
22887  en: hz,
22888  nl: gz,
22889  "nl-formal": mz
22890}, b9 = "core-components", y5 = () => {
22891  const e = nE(b9);
22892  return tE(b9, pz), e;
22893}, yz = async (e) => {
22894  if (typeof navigator.clipboard < "u")
22895    await navigator.clipboard.writeText(e);
22896  else if (typeof document.queryCommandSupported < "u" && document.queryCommandSupported("copy")) {
22897    const t = document.createElement("textarea");
22898    t.value = e, t.setAttribute("readonly", ""), t.style.position = "absolute", t.style.opacity = "0", t.style.pointerEvents = "none", t.style.zIndex = "-1", t.style.left = "-9999px", t.style.top = "-9999px", document.body.appendChild(t), t.select();
22899    try {
22900      document.execCommand("copy");
22901    } catch (r) {
22902      console.warn("Copy to clipboard failed.", r);
22903    } finally {
22904      document.body.removeChild(t);
22905    }
22906  } else
22907    console.warn("Copy to clipboard not supported.");
22908}, sj = () => {
22909  const { enqueueSnackbar: e } = kR(), { t } = y5();
22910  return (r) => {
22911    yz(r).then(() => {
22912      e({
22913        anchorOrigin: {
22914          horizontal: "center",
22915          vertical: "bottom"
22916        },
22917        style: { backgroundColor: "var(--zds-color-grey-900)" },
22918        autoHideDuration: 1e3,
22919        variant: "success",
22920        message: t("copied"),
22921        preventDuplicate: !0,
22922        TransitionProps: {
22923          direction: "up"
22924        }
22925      });
22926    });
22927  };
22928}, v5 = (e) => {
22929  let t = "nl";
22930  return e && (t = e === "en" ? "en-GB" : e), t;
22931}, b5 = (e) => {
22932  if (!e)
22933    return null;
22934  let t;
22935  if (typeof e == "string")
22936    if (/^\d{4}-\d{2}-\d{2}$/.test(e)) {
22937      const [r, i, l] = e.split("-").map(Number);
22938      t = new Date(r, i - 1, l);
22939    } else
22940      t = new Date(e);
22941  else typeof e == "number" ? t = new Date(e) : t = e;
22942  return t;
22943}, vz = (e) => (t, r) => b5(t)?.toLocaleDateString(v5(e), r), cj = () => {
22944  const e = Qn(bi);
22945  return vz(e);
22946}, fj = () => {
22947  const e = Qn(bi);
22948  return (t, r) => b5(t)?.toLocaleTimeString(v5(e), r);
22949}, S9 = {
22950  EUR: "€ ",
22951  USD: "$ "
22952}, dj = (e, t = !1, r = "EUR") => {
22953  const i = Qn(bi), l = e.toLocaleString(i, { minimumFractionDigits: 2, maximumFractionDigits: 2 }), s = l.slice(0, -3), f = l.slice(-3, -2), h = l.slice(-2), m = S9[r] ?? S9.EUR, g = sz(
22954    (p, b = 2) => {
22955      const S = p.toLocaleString(i, {
22956        minimumFractionDigits: b,
22957        maximumFractionDigits: b
22958      });
22959      return `${t ? m : ""}${S}`;
22960    },
22961    [i, t, m]
22962  );
22963  return {
22964    valuta: m,
22965    euros: s,
22966    separator: f,
22967    cents: h,
22968    toString: `${t ? m : ""}${s}${f}${h}`,
22969    format: g
22970  };
22971}, xp = {
22972  en: {
22973    one: "st",
22974    two: "nd",
22975    few: "rd",
22976    other: "th"
22977  },
22978  nl: {
22979    other: "e"
22980  }
22981}, bz = (e) => {
22982  let t = "nl";
22983  return e && xp[e] && (t = e), t;
22984}, Sz = (e) => (t) => {
22985  const r = bz(e), i = new Intl.PluralRules(r, { type: "ordinal" }).select(t), l = xp[r][i] ?? xp[r].other ?? "";
22986  return `${t}${l}`;
22987}, hj = () => {
22988  const e = Qn(bi);
22989  return Sz(e);
22990}, mj = (e = 10) => {
22991  const [t, r] = cz(null), i = fz(window.scrollY);
22992  return xy(() => {
22993    const l = () => {
22994      const s = window.scrollY, f = s - i.current;
22995      Math.abs(f) < e || (r(f > 0 ? "down" : "up"), i.current = s);
22996    };
22997    return window.addEventListener("scroll", l, { passive: !0 }), () => window.removeEventListener("scroll", l);
22998  }, [e]), t;
22999};
23000bo({
23001  "--zds-selectable-inset-x": "var(--zds-space-1)"
23002}), bo({
23003  "--zds-color-grey-100": "var(--zds-color-success-dark)"
23004});
23005bo({
23006  "--zds-typography-body-sm-font-style": "italic"
23007});
23008const gj = ({ content: e }) => {
23009  const t = yD.sanitize(e, {
23010    ADD_ATTR: ["target", "loud", "link", "link-target"],
23011    ADD_TAGS: ["zds-link"]
23012  }), r = {
23013    replace: (i) => {
23014      if (i.type === "tag" && i.name === "zds-link" || i.type === "tag" && i.name === "a")
23015        return $z(i, r);
23016    }
23017  };
23018  return /* @__PURE__ */ It(K9, { children: _D(t, r) });
23019}, $z = (e, t) => {
23020  const { href: r, target: i, ...l } = e.attribs;
23021  return /* @__PURE__ */ It(lz, { link: r, linkTarget: i, ...l, loud: !0, children: NE.domToReact(e.children, t) });
23022};
23023bo({
23024  "--zds-badge-inset-x": "5px",
23025  "--zds-badge-inset-y": "5px"
23026});
23027const Ez = bo({
23028  display: "flex",
23029  position: "relative",
23030  alignItems: "center",
23031  gap: "var(--zds-space-3)",
23032  "& .PhoneInputInput": {
23033    flex: 1,
23034    minWidth: 0,
23035    border: "var(--zds-input-border-width) solid var(--zds-input-border-color)",
23036    borderRadius: "var(--zds-input-border-radius)",
23037    transition: "border-color 0.2s ease 0s, box-shadow 0.2s ease 0s",
23038    display: "flex",
23039    maxWidth: "100%",
23040    width: "var(--zds-input-width, auto)",
23041    zIndex: 1,
23042    height: "100%",
23043    fontFamily: "var(--zds-typography-body-font-family)",
23044    fontSize: "var(--zds-font-size-md)",
23045    fontStyle: "var(--zds-typography-body-font-style)",
23046    fontSmooth: "antialiased",
23047    fontWeight: "var(--zds-typography-body-font-weight)",
23048    letterSpacing: "var(--zds-typography-body-letter-spacing)",
23049    textTransform: "var(--zds-typography-body-text-transform)",
23050    backgroundColor: "var(--zds-input-background)",
23051    color: "var(--text-color-base)",
23052    lineHeight: 1.5,
23053    padding: "0.375rem var(--zds-space-3)",
23054    textAlign: "left"
23055  },
23056  "& .PhoneInputInput:focus-visible": {
23057    outline: "var(--zds-outline-color) var(--zds-outline-shape)",
23058    outlineOffset: "var(--zds-outline-offset)"
23059  },
23060  "& .PhoneInputCountryIcon": {
23061    width: "calc(1em * 1.5)",
23062    height: "1em"
23063  },
23064  "& .PhoneInputCountryIcon--square": {
23065    width: "1em"
23066  },
23067  "& .PhoneInputCountryIcon--border": {
23068    backgroundColor: "rgba(0, 0, 0, 0.1)",
23069    boxShadow: "0 0 0 0 rgba(0, 0, 0, 0.5), inset 0 0 0 0 rgba(0, 0, 0, 0.5)"
23070  },
23071  "& .PhoneInputCountryIconImg": {
23072    display: "block",
23073    width: "100%",
23074    height: "100%"
23075  },
23076  "& .PhoneInputInternationalIconPhone": {
23077    opacity: 0.8
23078  },
23079  "& .PhoneInputInternationalIconGlobe": {
23080    opacity: 0.65
23081  },
23082  "& .PhoneInputCountry": {
23083    display: "flex",
23084    alignItems: "center"
23085  },
23086  "& .PhoneInputCountrySelect": {
23087    position: "absolute",
23088    top: 0,
23089    left: 0,
23090    height: "100%",
23091    width: "100%",
23092    zIndex: 1,
23093    border: 0,
23094    opacity: 0,
23095    cursor: "pointer"
23096  },
23097  "& .PhoneInputCountrySelect[disabled], .PhoneInputCountrySelect[readonly]": {
23098    cursor: "default"
23099  },
23100  "& .PhoneInputCountrySelectArrow": {
23101    boxSizing: "border-box",
23102    display: "block",
23103    content: "''",
23104    marginLeft: "0.35em",
23105    borderStyle: "solid",
23106    borderColor: "inherit",
23107    width: "0.3em",
23108    height: "0.3em",
23109    borderBottomWidth: 1,
23110    borderLeftWidth: 0,
23111    borderTopWidth: 0,
23112    borderRightWidth: 1,
23113    transform: "rotate(45deg)",
23114    opacity: "0.45"
23115  },
23116  "& .PhoneInputCountrySelect:focus + .PhoneInputCountryIcon + .PhoneInputCountrySelectArrow": {
23117    opacity: 1,
23118    color: "#03b2cb"
23119  },
23120  "& .PhoneInputCountrySelect:focus + .PhoneInputCountryIcon--border": {
23121    boxShadow: "0 0 0 0 #03b2cb, inset 0 0 0 0 #03b2cb"
23122  },
23123  "& .PhoneInputCountrySelect:focus + .PhoneInputCountryIcon .PhoneInputInternationalIconGlobe": {
23124    opacity: 1,
23125    color: "#03b2cb"
23126  }
23127}), Tz = dz((e, t) => /* @__PURE__ */ It(az, { onChange: e.onChange, ...e, css: Ez, ref: t }));
23128Tz.displayName = "StyledReactPhoneInput";
23129const Cz = bo({
23130  "--zds-badge-empty-size": "24px"
23131}), pj = ({
23132  isOpen: e,
23133  onClose: t,
23134  title: r,
23135  content: i,
23136  iconName: l = "circle-user",
23137  ...s
23138}) => {
23139  const { t: f } = y5();
23140  return /* @__PURE__ */ It(
23141    iz,
23142    {
23143      disableClose: !0,
23144      footer: /* @__PURE__ */ It("div", { className: "zds-flex zds-justify-content-end", children: /* @__PURE__ */ It(
23145        oz,
23146        {
23147          variant: "outlined",
23148          preset: "neutral",
23149          onClick: t,
23150          "data-testid": "success-modal-close-button",
23151          children: f("close")
23152        }
23153      ) }),
23154      ...s,
23155      ariaLabel: r,
23156      open: e,
23157      onOpenChange: (h) => !h && t(),
23158      children: /* @__PURE__ */ It(wz, { iconName: l, title: r, content: i })
23159    }
23160  );
23161}, wz = ({ iconName: e = "circle-user", title: t, content: r }) => /* @__PURE__ */ Xw("div", { className: "zds-flex-col zds-items-center zds-text-center zds-bg-grey-25 zds-padding-6 zds-color-grey-25-foreground", children: [
23162  /* @__PURE__ */ It(
23163    uz,
23164    {
23165      css: Cz,
23166      pill: !0,
23167      color: "success",
23168      offsetY: 8,
23169      offsetX: 4,
23170      overlayTarget: /* @__PURE__ */ It(v9, { library: "fa-light", name: e, size: 12, className: "zds-margin-bottom-5" }),
23171      children: /* @__PURE__ */ It(v9, { library: "fa-solid", size: 4, sizingType: "square", name: "check" })
23172    }
23173  ),
23174  /* @__PURE__ */ It("div", { className: "zds-headline-sm zds-margin-bottom-6", children: t }),
23175  /* @__PURE__ */ It("div", { children: r })
23176] }), Oz = Ry(void 0), yj = (e) => {
23177  const t = p5(Oz);
23178  xy(() => {
23179    if (!t)
23180      return;
23181    const { setTitle: r } = t;
23182    return r(e), () => {
23183      r(void 0);
23184    };
23185  }, [e, t]);
23186}, Nz = Ry({
23187  refetchAll: () => Promise.resolve(),
23188  hasRefetch: !1,
23189  register: () => () => {
23190  }
23191}), Az = () => p5(Nz), vj = (e, t = !1) => {
23192  const { register: r } = Az();
23193  xy(() => {
23194    if (!t)
23195      return r(e);
23196  }, [e, r, t]);
23197}, S5 = (e, t = new URLSearchParams(), r = "") => (Object.entries(e).forEach(([i, l]) => {
23198  const s = r ? `${r}[${i}]` : i;
23199  Array.isArray(l) ? l.forEach((f) => {
23200    t.append(`${s}[]`, f);
23201  }) : typeof l == "object" ? S5(l, t, s) : t.append(s, l);
23202}), t.toString()), bj = (e) => e.charAt(0).toUpperCase() + e.slice(1), _z = () => {
23203  const e = () => Math.floor((1 + Math.random()) * 65536).toString(16).substring(1);
23204  return e() + e() + "-" + e() + "-" + e() + "-" + e() + "-" + e() + e() + e();
23205};
23206Ry(null);
23207const xz = new Error("request for lock canceled");
23208var Rz = function(e, t, r, i) {
23209  function l(s) {
23210    return s instanceof r ? s : new r(function(f) {
23211      f(s);
23212    });
23213  }
23214  return new (r || (r = Promise))(function(s, f) {
23215    function h(p) {
23216      try {
23217        g(i.next(p));
23218      } catch (b) {
23219        f(b);
23220      }
23221    }
23222    function m(p) {
23223      try {
23224        g(i.throw(p));
23225      } catch (b) {
23226        f(b);
23227      }
23228    }
23229    function g(p) {
23230      p.done ? s(p.value) : l(p.value).then(h, m);
23231    }
23232    g((i = i.apply(e, t || [])).next());
23233  });
23234};
23235class Dz {
23236  constructor(t, r = xz) {
23237    this._value = t, this._cancelError = r, this._weightedQueues = [], this._weightedWaiters = [];
23238  }
23239  acquire(t = 1) {
23240    if (t <= 0)
23241      throw new Error(`invalid weight ${t}: must be positive`);
23242    return new Promise((r, i) => {
23243      this._weightedQueues[t - 1] || (this._weightedQueues[t - 1] = []), this._weightedQueues[t - 1].push({ resolve: r, reject: i }), this._dispatch();
23244    });
23245  }
23246  runExclusive(t, r = 1) {
23247    return Rz(this, void 0, void 0, function* () {
23248      const [i, l] = yield this.acquire(r);
23249      try {
23250        return yield t(i);
23251      } finally {
23252        l();
23253      }
23254    });
23255  }
23256  waitForUnlock(t = 1) {
23257    if (t <= 0)
23258      throw new Error(`invalid weight ${t}: must be positive`);
23259    return new Promise((r) => {
23260      this._weightedWaiters[t - 1] || (this._weightedWaiters[t - 1] = []), this._weightedWaiters[t - 1].push(r), this._dispatch();
23261    });
23262  }
23263  isLocked() {
23264    return this._value <= 0;
23265  }
23266  getValue() {
23267    return this._value;
23268  }
23269  setValue(t) {
23270    this._value = t, this._dispatch();
23271  }
23272  release(t = 1) {
23273    if (t <= 0)
23274      throw new Error(`invalid weight ${t}: must be positive`);
23275    this._value += t, this._dispatch();
23276  }
23277  cancel() {
23278    this._weightedQueues.forEach((t) => t.forEach((r) => r.reject(this._cancelError))), this._weightedQueues = [];
23279  }
23280  _dispatch() {
23281    var t;
23282    for (let r = this._value; r > 0; r--) {
23283      const i = (t = this._weightedQueues[r - 1]) === null || t === void 0 ? void 0 : t.shift();
23284      if (!i)
23285        continue;
23286      const l = this._value, s = r;
23287      this._value -= r, r = this._value + 1, i.resolve([l, this._newReleaser(s)]);
23288    }
23289    this._drainUnlockWaiters();
23290  }
23291  _newReleaser(t) {
23292    let r = !1;
23293    return () => {
23294      r || (r = !0, this.release(t));
23295    };
23296  }
23297  _drainUnlockWaiters() {
23298    for (let t = this._value; t > 0; t--)
23299      this._weightedWaiters[t - 1] && (this._weightedWaiters[t - 1].forEac
23299h((r) => r()), this._weightedWaiters[t - 1] = []);
23300  }
23301}
23302var Mz = function(e, t, r, i) {
23303  function l(s) {
23304    return s instanceof r ? s : new r(function(f) {
23305      f(s);
23306    });
23307  }
23308  return new (r || (r = Promise))(function(s, f) {
23309    function h(p) {
23310      try {
23311        g(i.next(p));
23312      } catch (b) {
23313        f(b);
23314      }
23315    }
23316    function m(p) {
23317      try {
23318        g(i.throw(p));
23319      } catch (b) {
23320        f(b);
23321      }
23322    }
23323    function g(p) {
23324      p.done ? s(p.value) : l(p.value).then(h, m);
23325    }
23326    g((i = i.apply(e, t || [])).next());
23327  });
23328};
23329class Iz {
23330  constructor(t) {
23331    this._semaphore = new Dz(1, t);
23332  }
23333  acquire() {
23334    return Mz(this, void 0, void 0, function* () {
23335      const [, t] = yield this._semaphore.acquire();
23336      return t;
23337    });
23338  }
23339  runExclusive(t) {
23340    return this._semaphore.runExclusive(() => t());
23341  }
23342  isLocked() {
23343    return this._semaphore.isLocked();
23344  }
23345  waitForUnlock() {
23346    return this._semaphore.waitForUnlock();
23347  }
23348  release() {
23349    this._semaphore.isLocked() && this._semaphore.release();
23350  }
23351  cancel() {
23352    return this._semaphore.cancel();
23353  }
23354}
23355const Vd = window.React.useEffect, Pz = window.React.useState, kz = {
23356  portalUrl: "",
23357  wbsUrl: "",
23358  aanbodUrl: "",
23359  zoekendeId: null,
23360  enableSwitchUser: !1
23361}, Dy = ba({
23362  name: "matchingConfiguration",
23363  initialState: kz,
23364  reducers: {
23365    configure: (e, t) => ({
23366      ...e,
23367      ...t.payload
23368    })
23369  },
23370  selectors: {
23371    selectPortalUrl: (e) => e.portalUrl,
23372    selectWbsUrl: (e) => e.wbsUrl,
23373    selectAanbodUrl: (e) => e.aanbodUrl,
23374    selectZoekendeId: (e) => e.zoekendeId,
23375    selectEnableSwitchUser: (e) => e.enableSwitchUser
23376  }
23377}), { configure: Lz } = Dy.actions, zz = Dy.injectInto(lu), { selectAanbodUrl: Uz, selectPortalUrl: $5, selectWbsUrl: jz, selectZoekendeId: Kh, selectEnableSwitchUser: Fz } = zz.selectors;
23378Dy.reducer;
23379const Hz = ({
23380  children: e,
23381  portalUrl: t,
23382  wbsUrl: r,
23383  aanbodUrl: i,
23384  zoekendeId: l,
23385  enableSwitchUser: s,
23386  ...f
23387}) => {
23388  const h = py();
23389  return Vd(() => {
23390    h(
23391      Lz({
23392        portalUrl: t,
23393        wbsUrl: r,
23394        aanbodUrl: i,
23395        zoekendeId: l,
23396        enableSwitchUser: s
23397      })
23398    );
23399  }, [h, s, i, t, r, l]), /* @__PURE__ */ It(Zx, { ...f, children: e });
23400}, $9 = {
23401  nl: "nl_NL",
23402  en: "en_GB",
23403  "nl-formal": "nl_NL"
23404}, xl = (e) => typeof e != "boolean" ? e === "1" || e === 1 : e, Vz = sy({
23405  baseUrl: "/",
23406  prepareHeaders: (e) => (e.set("Content-Type", "application/json"), e)
23407}), Bz = async (e, t, r = {}) => {
23408  const i = bi(t.getState()), l = typeof e == "string" ? { url: e } : { ...e };
23409  return l.params ? l.params = { ...l.params } : l.params = {}, i && i in $9 && (l.params.locale = $9[i]), Vz(l, t, r);
23410}, qz = async (e, t, r = {}) => {
23411  const i = Uz(t.getState());
23412  if (!i)
23413    return {
23414      error: {
23415        status: 400,
23416        statusText: "Bad Request",
23417        data: "No base url given"
23418      }
23419    };
23420  const l = typeof e == "string" ? e : e.url, s = `${i}${l}`, f = typeof e == "string" ? s : { ...e, url: s };
23421  return Bz(f, t, r);
23422}, My = yy({
23423  reducerPath: "aanbodApi",
23424  baseQuery: qz,
23425  endpoints: () => ({})
23426});
23427lu.inject(My);
23428vy(My.middleware);
23429const Rp = {
23430  nl: "nl_NL",
23431  en: "en_GB",
23432  "nl-formal": "nl_NL"
23433}, Gz = sy({
23434  baseUrl: "/",
23435  prepareHeaders: (e, { getState: t }) => {
23436    const r = bi(t());
23437    return r && r in Rp && e.set("X-Portal-Language", Rp[r]), e;
23438  }
23439}), Yz = async (e, t, r) => {
23440  const i = $5(t.getState());
23441  if (!i)
23442    return {
23443      error: {
23444        status: 400,
23445        statusText: "Bad Request",
23446        data: "No base url given"
23447      }
23448    };
23449  const l = typeof e == "string" ? e : e.url, s = `${i}${l}`, f = typeof e == "string" ? { url: s } : { ...e, url: s };
23450  return Gz({ ...f, credentials: "include" }, t, r);
23451}, Mc = yy({
23452  reducerPath: "matchingPortalApi",
23453  baseQuery: Yz,
23454  endpoints: (e) => ({
23455    getTranslations: e.query({
23456      query: ({ language: t, namespace: r }) => ({
23457        url: "/portal/core/frontend/gettranslations/format/json",
23458        params: {
23459          resource: r
23460        },
23461        headers: {
23462          "X-Portal-Language": Rp[t] ?? void 0
23463        }
23464      }),
23465      transformResponse: ({ result: t }) => t
23466    }),
23467    getConfiguration: e.query({
23468      query: () => ({
23469        method: "GET",
23470        url: "/portal/core/frontend/getportalconfiguration/format/json"
23471      }),
23472      transformResponse: (t) => t.result
23473    })
23474  })
23475});
23476lu.inject(Mc);
23477vy(Mc.middleware);
23478const { useGetTranslationsQuery: Zz, useGetConfigurationQuery: Sj } = Mc, Qz = {
23479  accessToken: null,
23480  refreshToken: null,
23481  useCookies: !1,
23482  clientId: ""
23483}, Iy = ba({
23484  name: "matchingAuth",
23485  initialState: Qz,
23486  reducers: {
23487    setCredentials: (e, { payload: t }) => {
23488      e.useCookies || (e.accessToken = t.accessToken, e.refreshToken = t.refreshToken);
23489    },
23490    setUseCookies: (e, { payload: t }) => {
23491      e.useCookies = t;
23492    },
23493    setClientId: (e, t) => {
23494      e.clientId = t.payload;
23495    },
23496    logout: (e) => {
23497      e.accessToken = null, e.refreshToken = null;
23498    }
23499  },
23500  selectors: {
23501    selectAccessToken: (e) => e.accessToken,
23502    selectRefreshToken: (e) => e.refreshToken,
23503    selectUseCookies: (e) => e.useCookies,
23504    selectClientId: (e) => e.clientId
23505  }
23506}), { setCredentials: Py, setUseCookies: Kz, setClientId: Xz, logout: Wz } = Iy.actions, Jz = Iy.injectInto(lu), { selectAccessToken: ky, selectRefreshToken: E5, selectUseCookies: T5, selectClientId: eU } = Jz.selectors;
23507Iy.reducer;
23508const E9 = {
23509  nl: "nl_NL",
23510  en: "en_GB",
23511  "nl-formal": "nl_NL"
23512}, tU = sy({
23513  baseUrl: "/",
23514  prepareHeaders: (e, { getState: t, arg: r }) => {
23515    e.set("Content-Type", "application/json");
23516    const i = typeof r != "string" && r?.headers && Object.keys(r.headers).includes("Authorization"), l = ky(t());
23517    l && !i && e.set("Authorization", `Bearer ${l}`);
23518    const s = bi(t());
23519    s && s in E9 && e.set("Accept-Language", E9[s]);
23520    const f = Fz(t()), h = typeof r != "string" && r?.headers && Object.keys(r.headers).includes("X-Switch-User");
23521    if (f && !h) {
23522      const m = Kh(t());
23523      e.set("X-Switch-User", `zoekende:${m}`);
23524    }
23525    return e.set("X-Zig-Correlation-Id", window.hexia?.log.correlationId ?? _z()), e;
23526  },
23527  paramsSerializer: (e) => S5(e)
23528}), nU = async (e, t, r = {}) => {
23529  const i = T5(t.getState()), l = typeof e == "string" ? { url: e } : { ...e };
23530  return i && (l.credentials = "include"), tU(l, t, r);
23531}, rU = async (e, t, r = {}) => {
23532  const i = jz(t.getState());
23533  if (!i)
23534    return {
23535      error: {
23536        status: 400,
23537        statusText: "Bad Request",
23538        data: "No base url given"
23539      }
23540    };
23541  const l = typeof e == "string" ? e : e.url, s = `${i}${l}`, f = typeof e == "string" ? s : { ...e, url: s };
23542  return nU(f, t, r);
23543}, aU = Gx(rU, {
23544  shouldReauth: (e) => e.error?.status === 401 && !e.meta?.request.url.endsWith("/oauth/token"),
23545  makeRefreshTokenQuery: (e, { originalResult: t }) => async (r, i, l) => {
23546    const s = ky(i.getState()), f = E5(i.getState()), h = eU(i.getState());
23547    let m = !1, g;
23548    if (s && f) {
23549      const p = await e(
23550        {
23551          method: "POST",
23552          url: "/v1/oauth/token",
23553          body: {
23554            client_id: h,
23555            grant_type: "refresh_token",
23556            refresh_token: f
23557          }
23558        },
23559        i,
23560        {
23561          ...l,
23562          maxRetries: 0
23563        }
23564      ), { data: b, error: S } = p;
23565      if (b) {
23566        m = !0;
23567        const { access_token: w, refresh_token: T } = b;
23568        i.dispatch(
23569          Py({
23570            accessToken: w,
23571            refreshToken: T
23572          })
23573        ), window.hexia?.log.log(
23574          "INFO",
23575          "[matching/core] Token refresh successful, calling onTokensRefreshed",
23576          {
23577            callbackRegistered: !1
23578          }
23579        );
23580        try {
23581          await Rx()?.({ accessToken: w, refreshToken: T });
23582        } catch (N) {
23583          console.error("Token persistence callback failed:", N);
23584        }
23585        g = await e(r, i, l);
23586      } else typeof S?.status == "number" && S.status >= 500 && (m = !0);
23587    }
23588    return m || i.dispatch(Wz()), g || t;
23589  }
23590}), Oa = yy({
23591  reducerPath: "wbsApi",
23592  baseQuery: aU,
23593  endpoints: () => ({})
23594});
23595lu.inject(Oa);
23596vy(Oa.middleware);
23597const iU = Oa.injectEndpoints({
23598  endpoints: (e) => ({
23599    getSettings: e.query({
23600      query: ({ codes: t }) => ({
23601        url: "/v1/configuration/settings",
23602        method: "POST",
23603        body: { codes: t }
23604      }),
23605      serializeQueryArgs: ({ queryArgs: t }) => t.codes.slice().sort((r, i) => r.localeCompare(i)).join("|")
23606    })
23607  }),
23608  overrideExisting: !1
23609}), $j = (e) => {
23610  const t = iU.useGetSettingsQuery({ codes: [...e] });
23611  return {
23612    ...t,
23613    data: t.data
23614  };
23615}, oU = Oa.injectEndpoints({
23616  endpoints: (e) => ({
23617    getCorporaties: e.query({
23618      query: () => ({
23619        url: "/v1/corporatie"
23620      })
23621    })
23622  }),
23623  overrideExisting: !1
23624}
23624), { useGetCorporatiesQuery: Ej } = oU, lU = Oa.injectEndpoints({
23625  endpoints: (e) => ({
23626    getEigenaren: e.query({
23627      query: () => ({
23628        url: "/v1/eigenaar"
23629      })
23630    })
23631  }),
23632  overrideExisting: !1
23633}), { useGetEigenarenQuery: Tj } = lU, uU = Oa.injectEndpoints({
23634  endpoints: (e) => ({
23635    getGeslacht: e.query({
23636      query: () => ({
23637        url: "/v1/geslacht"
23638      })
23639    })
23640  }),
23641  overrideExisting: !1
23642}), { useGetGeslachtQuery: Cj } = uU, T9 = (e) => ({
23643  ...e,
23644  datum: new Date(e.datum),
23645  toewijzing: {
23646    ...e.toewijzing,
23647    sluitingsdatum: e.toewijzing.sluitingsdatum ? new Date(e.toewijzing.sluitingsdatum) : null,
23648    annuleerDatum: e.toewijzing.annuleerDatum ? new Date(e.toewijzing.annuleerDatum) : null,
23649    huidigeAanbieding: e.toewijzing.huidigeAanbieding ? {
23650      ...e.toewijzing.huidigeAanbieding,
23651      uitersteReactieDatum: e.toewijzing.huidigeAanbieding.uitersteReactieDatum ? new Date(e.toewijzing.huidigeAanbieding.uitersteReactieDatum) : null,
23652      huurcontractGetekendDatum: e.toewijzing.huidigeAanbieding.huurcontractGetekendDatum ? new Date(e.toewijzing.huidigeAanbieding.huurcontractGetekendDatum) : null,
23653      reactie: {
23654        ...e.toewijzing.huidigeAanbieding.reactie,
23655        datum: new Date(e.toewijzing.huidigeAanbieding.reactie.datum)
23656      },
23657      zoekende: {
23658        ...e.toewijzing.huidigeAanbieding.zoekende,
23659        inschrijfdatum: new Date(e.toewijzing.huidigeAanbieding.zoekende.inschrijfdatum),
23660        meetdatum: new Date(e.toewijzing.huidigeAanbieding.zoekende.meetdatum)
23661      }
23662    } : null
23663  },
23664  persoonlijkeAanbiedinggegevens: {
23665    ...e.persoonlijkeAanbiedinggegevens,
23666    peilingUitersteReactieDatum: e.persoonlijkeAanbiedinggegevens.peilingUitersteReactieDatum ? new Date(e.persoonlijkeAanbiedinggegevens.peilingUitersteReactieDatum) : null,
23667    peilingBezichtigingsdatum: e.persoonlijkeAanbiedinggegevens.peilingBezichtigingsdatum ? new Date(e.persoonlijkeAanbiedinggegevens.peilingBezichtigingsdatum) : null
23668  }
23669}), sU = (e) => ({
23670  ...e,
23671  datum: new Date(e.datum)
23672}), cU = Oa.enhanceEndpoints({ addTagTypes: ["Reactie"] }).injectEndpoints({
23673  endpoints: (e) => ({
23674    getReacties: e.query({
23675      query: ({ limit: t = 10, page: r = 0, ...i }) => ({
23676        url: "/v1/reactie",
23677        params: {
23678          limit: t,
23679          page: r,
23680          ...i
23681        }
23682      }),
23683      transformResponse: (t) => ({ ...t, data: t.data.map(T9) }),
23684      providesTags: (t) => t ? [
23685        ...t.data.map(({ id: r }) => ({ type: "Reactie", id: r })),
23686        { type: "Reactie", id: "LIST" }
23687      ] : [{ type: "Reactie", id: "LIST" }]
23688    }),
23689    getReactie: e.query({
23690      query: (t) => ({
23691        url: `/v1/reactie/${t}`
23692      }),
23693      transformResponse: T9,
23694      providesTags: (t) => t ? [{ type: "Reactie", id: t.id }] : []
23695    }),
23696    addReactie: e.mutation({
23697      query: ({ zoekendeId: t, toewijzingId: r, motivatie: i }) => ({
23698        url: "/v1/reactie",
23699        method: "POST",
23700        body: {
23701          zoekendeId: t,
23702          toewijzingId: r,
23703          motivatie: i
23704        }
23705      }),
23706      invalidatesTags: (t) => t ? [{ type: "Reactie", id: "LIST" }] : []
23707    }),
23708    addReactieZonderInschrijving: e.mutation({
23709      query: (t) => ({
23710        url: "/v1/reactie-zonder-inschrijving",
23711        method: "POST",
23712        body: t
23713      }),
23714      invalidatesTags: (t) => t ? [{ type: "Reactie", id: "LIST" }] : []
23715    }),
23716    deleteReactie: e.mutation({
23717      query: (t) => ({
23718        url: `/v1/reactie/${t}`,
23719        method: "DELETE"
23720      }),
23721      invalidatesTags: (t, r, i) => r ? [] : [
23722        { type: "Reactie", id: i },
23723        { type: "Reactie", id: "LIST" }
23724      ]
23725    }),
23726    getReactieTimeline: e.query({
23727      query: (t) => ({
23728        url: `/v1/reactie/${t}/timeline`
23729      }),
23730      transformResponse: (t) => t.map(sU)
23731    }),
23732    validateReactie: e.query({
23733      query: ({ zoekendeId: t, toewijzingId: r }) => ({
23734        url: "/v1/reactie/validate",
23735        method: "POST",
23736        body: {
23737          zoekendeId: t,
23738          toewijzingId: r
23739        }
23740      })
23741    })
23742  }),
23743  overrideExisting: !1
23744}), {
23745  useGetReactiesQuery: fU,
23746  useGetReactieQuery: wj,
23747  useDeleteReactieMutation: Oj,
23748  useGetReactieTimelineQuery: Nj,
23749  useAddReactieZonderInschrijvingMutation: Aj,
23750  useValidateReactieQuery: dU
23751} = cU;
23752var C5 = /* @__PURE__ */ ((e) => (e.ACTIEF = "actief", e.IN_BEHANDELING = "inbehandeling", e.HISTORISCH = "historisch", e))(C5 || {}), w5 = /* @__PURE__ */ ((e) => (e.IN_BUFFER = "In buffer", e.INTERESSEPEILING = "Interessepeiling", e.COOPTATIE = "Cooptatie", e.AANGEBODEN = "Aangeboden", e.GEACCEPTEERD = "Geaccepteerd", e.GEWEIGERD = "Geweigerd", e.HUURCONTRACT_GETEKEND = "Huurcontract getekend", e.GEANNULEERD = "Geannuleerd", e.KANDIDAATVOORSTEL = "Kandidaatvoorstel", e.GEPUBLICEERD = "Gepubliceerd", e.IN_TOEWIJZING = "In toewijzing", e.VOOR_GEPUBLICEERD = "voor gepubliceerd", e.INTERESSE = "Interesse", e.VERKOCHT_ONDER_VOORBEHOUD = "VerkochtOnderVoorbehoud", e.VERKOCHT = "Verkocht", e.AFGESLOTEN = "Afgesloten", e.GEACCEPTEERD_CORPORATIE = "GeaccepteerdCorporatie", e.GROEPSAANBIEDING = "Groepsaanbieding", e))(w5 || {}), O5 = /* @__PURE__ */ ((e) => (e.RANDOM = "random", e.REACTIEDATUM = "reactiedatum", e.INSCHRIJFDUUR = "inschrijfduur", e))(O5 || {});
23753const _j = (e) => e.toewijzing.woning !== null, xj = (e) => e.toewijzing.projectVerzameladvertentie !== null;
23754var Ly = /* @__PURE__ */ ((e) => (e.WONING = "woning", e.VOOR_VOERTUIG = "voorVoertuig", e.BEDRIJFSRUIMTE = "bedrijfsruimte", e.PROJECT_AANBOD = "projectaanbod", e))(Ly || {}), Bd = /* @__PURE__ */ ((e) => (e.STUDENT = "student", e.RECHTSPERSOON = "rechtspersoon", e.ACCOMODATE = "accomodate", e))(Bd || {});
23755const $g = (e) => ({
23756  ...e,
23757  sellingPrice: e.sellingPrice ? parseFloat(e.sellingPrice) : null,
23758  flexibelHurenActief: xl(e.flexibelHurenActief),
23759  isExtraAanbod: xl(e.isExtraAanbod),
23760  availableFromDate: e.availableFromDate ? new Date(e.availableFromDate) : null,
23761  availableTillDate: e.availableTillDate ? new Date(e.availableTillDate) : null,
23762  model: {
23763    ...e.model,
23764    slaagkansTonen: xl(e.model.slaagkansTonen),
23765    einddatumTonen: xl(e.model.einddatumTonen),
23766    motiverenBijReagerenActief: xl(e.model.motiverenBijReagerenActief),
23767    modelCategorie: e.model.modelCategorie ? {
23768      ...e.model.modelCategorie,
23769      toonOpWebsite: xl(e.model.modelCategorie.toonOpWebsite)
23770    } : null
23771  }
23772}), hU = My.injectEndpoints({
23773  endpoints: (e) => ({
23774    getWoningen: e.query({
23775      query: ({ params: t, body: r }) => ({
23776        url: "/v1/woning",
23777        method: "POST",
23778        params: t,
23779        body: r
23780      }),
23781      transformResponse: (t) => ({ ...t, data: t.data.map($g) })
23782    }),
23783    getWoning: e.query({
23784      query: ({ id: t, woningzoekende: r }) => ({
23785        url: `/v1/woning/${t}`,
23786        method: "POST",
23787        body: { woningzoekende: r }
23788      }),
23789      transformResponse: $g
23790    }),
23791    getWoningUsingWoningzoekende: e.query({
23792      query: ({ id: t, woningzoekende: r }) => ({
23793        url: `/v1/woning/${t}`,
23794        method: "POST",
23795        body: { woningzoekende: r }
23796      }),
23797      transformResponse: $g
23798    })
23799  }),
23800  overrideExisting: !1
23801}), { useGetWoningenQuery: Rj, useGetWoningQuery: Dj, useGetWoningUsingWoningzoekendeQuery: Mj } = hU, mU = Oa.enhanceEndpoints({ addTagTypes: ["Zoekende"] }).injectEndpoints({
23802  endpoints: (e) => ({
23803    getZoekende: e.query({
23804      query: (t) => {
23805        const r = [
23806          "inschrijfgegevens",
23807          "profiel",
23808          "aanvrager1",
23809          "aanvrager2",
23810          "blokkade",
23811          "contactgegevens",
23812          "voorrangen",
23813          "betaalgegevens",
23814          "meeverhuizers"
23815        ];
23816        return {
23817          method: "GET",
23818          url: `/v1/zoekende/${t}`,
23819          params: {
23820            parts: r.join(",")
23821          }
23822        };
23823      },
23824      transformResponse: (t) => ({
23825        ...t,
23826        inschrijfgegevens: {
23827          ...t.inschrijfgegevens,
23828          inschrijfdatum: new Date(t.inschrijfgegevens.inschrijfdatum),
23829          inschrijvingGeldigTotEnMet: t.inschrijfgegevens.inschrijvingGeldigTotEnMet ? new Date(t.inschrijfgegevens.inschrijvingGeldigTotEnMet) : null,
23830          uitschrijfdatum: t.inschrijfgegevens.uitschrijfdatum ? new Date(t.inschrijfgegevens.uitschrijfdatum) : null,
23831          maximaleInschrijftijdEinddatum: t.inschrijfgegevens.maximaleInschrijftijdEinddatum ? new Date(t.inschrijfgegevens.maximaleInschrijftijdEinddatum) : null
23832        },
23833        profiel: {
23834          ...t.profiel,
23835          extraInschrijfduur: t.profiel.extraInschrijfduur && {
23836            ...t.profiel.extraInschrijfduur,
23837            einddatum: t.profiel.extraInschrijfduur.einddatum ? new Date(t.profiel.extraInschrijfduur.einddatum) : null
23838          },
23839          vestigingsdatum: t.profiel.vestigingsdatum ? new Date(t.profiel.vestigingsdatum) : null
23840        },
23841        blokkade: t.blokkade ? {
23842          ...t.blokkade,
23843          einddatum: t.blokkade.einddatum ? new Date(t.blokkade.einddatum) : null
23844        } : null,
23845        aanvrager1: {
23846          ...t.aanvrager1,
23847          inschrijfdatum: new Date(t.aanvrager1.inschrijfdatum),
23848          uitschrijfdatum: t.aanvrager1.uitschrijfdatum ? new Date(t.aanvrager1.uitschrijfdatum) : null,
23849          persoonsgegevens: {
23850            ...t.aanvrager1.persoonsgegevens,
23851            geboortedatum: new Date(t.aanvrager1.persoonsgegevens.geboortedatum)
23852          }
23853        },
23854        aanvrager2: t.aanvrager2 ? {
23855          ...t.aanvrager2,
23856          inschrijfdatum: new Date(t.aanvrager2.inschrijfdatum),
23857          uitschrijfdatum: t.aanvrager2.uitschrijfdatum ? new Date(t.aanvrager2.uitschrijfdatum) : null,
23858          persoonsgegevens: {
23859            ...t.aanvrager2.persoonsgegevens,
23860            geboortedatum: new Date(t.aanvrager2.persoonsgegevens.geboortedatum)
23861          }
23862        } : null,
23863        meeverhuizers: t.meeverhuizers ?? []
23864      }),
23865      providesTags: ["Zoekende"]
23866    }),
23867    getInkomens: e.query({
23868      query: (t) => ({
23869        method: "GET",
23870        url: `/v1/zoekende/${t}/inkomen`
23871      }),
23872      transformResponse: (t) => {
23873        const r = (l) => l.map((s) => ({
23874          ...s,
23875          toegevoegdOp: new Date(s.toegevoegdOp)
23876        })), i = (l) => l.map((s) => s.type === "mijnOverheid" ? {
23877          ...s,
23878          geauthenticeerdOp: new Date(s.geauthenticeerdOp)
23879        } : {
23880          ...s,
23881          documenten: r(s.documenten)
23882        });
23883        return t.map((l) => ({
23884          ...l,
23885          onderbouwingen: i(l.onderbouwingen)
23886        }));
23887      },
23888      providesTags: ["Zoekende"]
23889    })
23890  }),
23891  overrideExisting: !0
23892}), { useGetZoekendeQuery: gU, useGetInkomensQuery: pU } = mU, yU = (e) => typeof e == "object" && e !== null && "error" in e && e.error === "invali
23892d_mfa", Ij = (e) => typeof e == "object" && e !== null && "error" in e && e.error === "invalid_grant", Pj = (e) => typeof e == "object" && e !== null && "error" in e && e.error === "mfa_required", vU = Oa.enhanceEndpoints({ addTagTypes: ["AuthInfo"] }).injectEndpoints({
23893  endpoints: (e) => ({
23894    login: e.mutation({
23895      onQueryStarted: async (t, { dispatch: r, queryFulfilled: i }) => {
23896        try {
23897          const { data: l } = await i;
23898          !T5(by.getState()) && "refreshToken" in l && r(Py({ accessToken: l.accessToken, refreshToken: l.refreshToken }));
23899        } catch {
23900        }
23901      },
23902      query: (t) => ({
23903        url: "/v1/oauth/token",
23904        method: "POST",
23905        body: {
23906          grant_type: t.grantType,
23907          ..."clientId" in t && { client_id: t.clientId },
23908          ..."username" in t && { username: t.username },
23909          ..."password" in t && { password: t.password },
23910          ..."scope" in t && { scope: t.scope },
23911          ..."audience" in t && { audience: t.audience },
23912          ..."refreshToken" in t && { refresh_token: t.refreshToken },
23913          ..."mfaToken" in t && { mfa_token: t.mfaToken },
23914          ..."oobCode" in t && { oob_code: t.oobCode },
23915          ..."bindingCode" in t && { binding_code: t.bindingCode },
23916          ..."reference" in t && { reference: t.reference },
23917          ..."otp" in t && { otp: t.otp }
23918        }
23919      }),
23920      transformResponse: (t) => ({
23921        accessToken: t.access_token,
23922        ..."refresh_token" in t && { refreshToken: t.refresh_token }
23923      }),
23924      transformErrorResponse: (t, r) => yU(t.data) && r?.response?.headers.has("x-ratelimit-remaining") ? {
23925        ...t,
23926        data: {
23927          ...t.data,
23928          rateLimitRemaining: r.response.headers.get("x-ratelimit-remaining")
23929        }
23930      } : t,
23931      invalidatesTags: ["AuthInfo"]
23932    }),
23933    accountInfo: e.query({
23934      query: (t) => ({
23935        url: `/v1/zoekende/account/${t}`,
23936        method: "GET"
23937      }),
23938      providesTags: ["AuthInfo"]
23939    })
23940  }),
23941  overrideExisting: !1
23942}), { useLoginMutation: kj, useAccountInfoQuery: Lj } = vU, bU = ({
23943  children: e,
23944  tokens: t,
23945  onChangeTokens: r,
23946  mutex: i,
23947  clientId: l = ""
23948}) => {
23949  const s = py(), f = Qn(ky), [h, m] = Pz(f), g = Qn(E5);
23950  return Vd(() => {
23951    s(t === !1 ? Kz(!0) : Py({
23952      accessToken: t?.accessToken ?? null,
23953      refreshToken: t?.refreshToken ?? null
23954    }));
23955  }, [s, t]), Vd(() => {
23956    s(Xz(l));
23957  }, [l, s]), Vd(() => {
23958    r && f !== h && (m(f), r({
23959      accessToken: f,
23960      refreshToken: g
23961    }));
23962  }, [f, r, g, h]), X6() || _x(i || new Iz()), /* @__PURE__ */ It(K9, { children: e });
23963}, zj = () => {
23964  const e = Qn(Kh), { currentData: t } = gU(e ?? fn), { currentData: r } = pU(e ?? fn);
23965  if (!t || !r)
23966    return;
23967  const i = ye.now().setZone("Europe/Amsterdam"), l = r.reduce((s, f) => {
23968    const h = f.persoonId, m = s[h];
23969    return !m || m.jaar && f.jaar && m.jaar < f.jaar ? {
23970      ...s,
23971      [h]: f
23972    } : {
23973      ...s
23974    };
23975  }, {});
23976  return {
23977    heeftToegangTotExtraAanbod: t.profiel.heeftToegangTotExtraAanbod,
23978    huurperiodeVanStartdatum: null,
23979    huurperiodeVanEinddatum: null,
23980    isRechtspersoon: !!t.inschrijfgegevens.organisatie || t.inschrijfgegevens.inschrijvingTypes.find(
23981      (s) => s.code === Bd.RECHTSPERSOON
23982    ) !== void 0,
23983    isStudent: t.inschrijfgegevens.inschrijvingTypes.find(
23984      (s) => s.code === Bd.STUDENT
23985    ) !== void 0,
23986    isAlleenAccomodate: t.inschrijfgegevens.inschrijvingTypes.length === 1 && t.inschrijfgegevens.inschrijvingTypes[0].code === Bd.ACCOMODATE,
23987    heeftBlokkade: t.blokkade !== null,
23988    blokkadeVoorCorporatieIds: t.blokkade?.corporaties && t.blokkade.corporaties.length > 0 ? t.blokkade.corporaties.map((s) => s.id).join(",") : null,
23989    huishoudgrootte: t.profiel.huishoudgrootte,
23990    aantalMeeverhuizendeKinderen: t.profiel.aantalMeeverhuizendeKinderen,
23991    aantalMeeverhuizendeKinderenOnder18: t.profiel.aantalMeeverhuizendeKinderenOnder18,
23992    verzamelinkomen: t.profiel.verzamelinkomen,
23993    heeftEenTMin2Inkomen: !!Object.values(l).find(
23994      (s) => s.jaar ? i.year - s.jaar === 2 : !1
23995    ),
23996    heeftElkHuishoudLidMetInkomensverklaringOnderbouwdInkomen: t.profiel.heeftElkHuishoudLidMetInkomensverklaringOnderbouwdInkomen,
23997    heeftElkHuishoudLidMetMijnOverheidOnderbouwdInkomen: t.profiel.heeftElkHuishoudLidMetMijnOverheidOnderbouwdInkomen,
23998    neemtDeelAanHaastrij: t.profiel.neemtDeelAanHaastrij,
23999    leeftijdA1: Math.floor(
24000      i.diff(ye.fromJSDate(t.aanvrager1.persoonsgegevens.geboortedatum), "years").years
24001    ),
24002    aowLeeftijdBereiktA1: t.profiel.isAowLeeftijdBereikt,
24003    genderIdA1: t.aanvrager1.persoonsgegevens.gender.id,
24004    heeftA2: !!t.aanvrager2,
24005    leeftijdA2: t.aanvrager2 ? Math.floor(
24006      i.diff(
24007        ye.fromJSDate(t.aanvrager2.persoonsgegevens.geboortedatum),
24008        "years"
24009      ).years
24010    ) : null,
24011    aowLeeftijdBereiktA2: t.profiel.isAowLeeftijdBereikt,
24012    genderIdA2: t.aanvrager2 ? t.aanvrager2.persoonsgegevens.gender.id : null,
24013    startDatumStudieLigtInVoorrangsPeriode: !1,
24014    studeertBijOnderwijsinstellingInRegioHaaglanden: !1,
24015    woontVerderVanStudieVoorRegioHaaglanden: !1,
24016    woontInNederland: !0,
24017    studeertBijOnderwijsinstellingVU: !1,
24018    studeertBijOnderwijsinstellingACTA: !1,
24019    onderwijsinstellingBrincode: null,
24020    studieRegioId: null,
24021    stageRegioId: null,
24022    startdatumStudie: null,
24023    startdatumStage: null,
24024    inschrijvingTypes: t.inschrijfgegevens.inschrijvingTypes.map((s) => ({
24025      inCode: s.code
24026    })),
24027    subtypeInschrijvingId: null,
24028    opleidingstypeId: null,
24029    woontVerderVanOnderwijsinstelling: !1,
24030    gemeenteGeoLocatieNaamA1: null,
24031    gemeenteIdA1: null,
24032    soortWoningzoekendeStarterDoorstromer: t.profiel.soortWoningzoekende?.starterDoorstromer,
24033    regioIdA1: t.aanvrager1.adres?.regio?.id,
24034    regioIdA2: t.aanvrager2?.adres?.regio?.id,
24035    voorrangen: t.voorrangen.map((s) => ({
24036      type: s.type,
24037      redenID: s.reden?.id,
24038      minVerdieping: null
24039    })),
24040    heeftVermogen: t.profiel.heeftVermogen,
24041    postcodeA1: t.aanvrager1.adres.postcode,
24042    postcodeA2: t.aanvrager2?.adres.postcode,
24043    huisnummerA1: t.aanvrager1.adres.huisnummer,
24044    huisnummerA2: t.aanvrager2?.adres.huisnummer,
24045    huisnummertoevoegingA1: t.aanvrager1.adres.huisnummertoevoeging,
24046    huisnummertoevoegingA2: t.aanvrager2?.adres.huisnummertoevoeging,
24047    landIdA1: t.aanvrager1.adres.land.id,
24048    landIdA2: t.aanvrager2?.adres.land.id,
24049    bijzondereDoelgroepId: t.profiel?.bijzondereDoelgroep?.id
24050  };
24051}, Uj = ({ shouldSkip: e, ...t }) => {
24052  const r = Qn(Kh);
24053  let i = fn;
24054  return !e && r && (i = { zoekendeId: r, ...t }), fU(i, {
24055    refetchOnReconnect: !0,
24056    refetchOnFocus: !0
24057  });
24058}, jj = ({ shouldSkip: e, ...t }) => {
24059  const r = Qn(Kh);
24060  let i = fn;
24061  return !e && r && (i = { zoekendeId: Number.parseInt(r, 10), ...t }), dU(i);
24062}, N5 = "portal", Fj = () => nE(N5), SU = (e) => {
24063  const t = { ...e }, r = /(?!{{).*?\|.*?(?=}})/g, i = /%.*?%/g;
24064  return Object.keys(t).forEach((l) => {
24065    const s = t[l];
24066    r.test(s) ? t[l] = s.replace(r, (f) => {
24067      const [h, ...m] = f.split(/\s*\|\s*/), g = m.map((p) => {
24068        const b = p.indexOf(":"), S = p.slice(0, b), w = p.slice(b + 1).split(/(?![\d'\\"])\s*:\s*(?=[\d'\\"])/), T = S.toLowerCase(), N = w.map(
24069          ($, A) => `${A}: ${JSON.parse(
24070            JSON.stringify(
24071              $.replace(/\s*(.*?)\s*/, "$1").replace(/^['"](.*?)['"]$/, "$1").replace(/\\'/g, "'")
24072            )
24073          )}`
24074        );
24075        return `${T}(${N.join(";")})`;
24076      }, "");
24077      return `${h}, ${g.join(", ")}`;
24078    }) : i.test(s) && (t[l] = s.replace(i, (f) => `{{ ${f.replaceAll("%", "")} }}`));
24079  }), t;
24080}, Hj = () => {
24081  const e = Qn(bi), t = Qn($5), r = e && t ? { language: e.slice(0, 2) } : fn, { data: i } = Zz(r);
24082  return {
24083    isLoading: !tE(
24084      N5,
24085      i && e ? { [e]: SU(i) ?? {} } : {}
24086    )
24087  };
24088}, $U = ({ children: e, auth: t, config: r, store: i = by }) => /* @__PURE__ */ It(__, { store: i, context: Hh, children: /* @__PURE__ */ It(Hz, { ...r, children: /* @__PURE__ */ It(bU, { ...t, children: /* @__PURE__ */ It(h_, { i18n: mh, children: /* @__PURE__ */ It(Xx, { children: e }) }) }) }) }), { dispatch: Vj } = by;
24089ye.now().setZone("Europe/Amsterdam").minus({ month: 1 }).toJSDate(), ye.now().setZone("Europe/Amsterdam").plus({ month: 1 }).toJSDate(), ye.now().setZone("Europe/Amsterdam").minus({ days: 1 }).toJSDate(), O5.INSCHRIJFDUUR, w5.GEPUBLICEERD, Ly.WONING, C5.ACTIEF;
24090Ly.WONING;
24091var EU = /^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|disableRemotePlayback|download|draggable|encType|enterKeyHint|fetchpriority|fetchPriority|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInl
24091ine|popover|popoverTarget|popoverTargetAction|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/, TU = /* @__PURE__ */ j9(
24092  function(e) {
24093    return EU.test(e) || e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && e.charCodeAt(2) < 91;
24094  }
24095  /* Z+1 */
24096);
24097const Os = window.React;
24098var CU = TU, wU = function(t) {
24099  return t !== "theme";
24100}, C9 = function(t) {
24101  return typeof t == "string" && // 96 is one less than the char code
24102  // for "a" so this is checking that
24103  // it's a lowercase character
24104  t.charCodeAt(0) > 96 ? CU : wU;
24105}, w9 = function(t, r, i) {
24106  var l;
24107  if (r) {
24108    var s = r.shouldForwardProp;
24109    l = t.__emotion_forwardProp && s ? function(f) {
24110      return t.__emotion_forwardProp(f) && s(f);
24111    } : s;
24112  }
24113  return typeof l != "function" && i && (l = t.__emotion_forwardProp), l;
24114}, OU = function(t) {
24115  var r = t.cache, i = t.serialized, l = t.isStringTag;
24116  return Lp(r, i, l), G9(function() {
24117    return V9(r, i, l);
24118  }), null;
24119}, NU = function e(t, r) {
24120  var i = t.__emotion_real === t, l = i && t.__emotion_base || t, s, f;
24121  r !== void 0 && (s = r.label, f = r.target);
24122  var h = w9(t, r, i), m = h || C9(l), g = !m("as");
24123  return function() {
24124    var p = arguments, b = i && t.__emotion_styles !== void 0 ? t.__emotion_styles.slice(0) : [];
24125    if (s !== void 0 && b.push("label:" + s + ";"), p[0] == null || p[0].raw === void 0)
24126      b.push.apply(b, p);
24127    else {
24128      var S = p[0];
24129      b.push(S[0]);
24130      for (var w = p.length, T = 1; T < w; T++)
24131        b.push(p[T], S[T]);
24132    }
24133    var N = Z9(function($, A, D) {
24134      var _ = g && $.as || l, x = "", v = [], E = $;
24135      if ($.theme == null) {
24136        E = {};
24137        for (var C in $)
24138          E[C] = $[C];
24139        E.theme = Os.useContext(Q9);
24140      }
24141      typeof $.className == "string" ? x = H9(A.registered, v, $.className) : $.className != null && (x = $.className + " ");
24142      var L = zp(b.concat(v), A.registered, E);
24143      x += A.key + "-" + L.name, f !== void 0 && (x += " " + f);
24144      var k = g && h === void 0 ? C9(_) : m, I = {};
24145      for (var M in $)
24146        g && M === "as" || k(M) && (I[M] = $[M]);
24147      return I.className = x, D && (I.ref = D), /* @__PURE__ */ Os.createElement(Os.Fragment, null, /* @__PURE__ */ Os.createElement(OU, {
24148        cache: A,
24149        serialized: L,
24150        isStringTag: typeof _ == "string"
24151      }), /* @__PURE__ */ Os.createElement(_, I));
24152    });
24153    return N.displayName = s !== void 0 ? s : "Styled(" + (typeof l == "string" ? l : l.displayName || l.name || "Component") + ")", N.defaultProps = t.defaultProps, N.__emotion_real = N, N.__emotion_base = l, N.__emotion_styles = b, N.__emotion_forwardProp = h, Object.defineProperty(N, "toString", {
24154      value: function() {
24155        return "." + f;
24156      }
24157    }), N.withComponent = function($, A) {
24158      var D = e($, _g({}, r, A, {
24159        shouldForwardProp: w9(N, A, !0)
24160      }));
24161      return D.apply(void 0, b);
24162    }, N;
24163  };
24164}, AU = [
24165  "a",
24166  "abbr",
24167  "address",
24168  "area",
24169  "article",
24170  "aside",
24171  "audio",
24172  "b",
24173  "base",
24174  "bdi",
24175  "bdo",
24176  "big",
24177  "blockquote",
24178  "body",
24179  "br",
24180  "button",
24181  "canvas",
24182  "caption",
24183  "cite",
24184  "code",
24185  "col",
24186  "colgroup",
24187  "data",
24188  "datalist",
24189  "dd",
24190  "del",
24191  "details",
24192  "dfn",
24193  "dialog",
24194  "div",
24195  "dl",
24196  "dt",
24197  "em",
24198  "embed",
24199  "fieldset",
24200  "figcaption",
24201  "figure",
24202  "footer",
24203  "form",
24204  "h1",
24205  "h2",
24206  "h3",
24207  "h4",
24208  "h5",
24209  "h6",
24210  "head",
24211  "header",
24212  "hgroup",
24213  "hr",
24214  "html",
24215  "i",
24216  "iframe",
24217  "img",
24218  "input",
24219  "ins",
24220  "kbd",
24221  "keygen",
24222  "label",
24223  "legend",
24224  "li",
24225  "link",
24226  "main",
24227  "map",
24228  "mark",
24229  "marquee",
24230  "menu",
24231  "menuitem",
24232  "meta",
24233  "meter",
24234  "nav",
24235  "noscript",
24236  "object",
24237  "ol",
24238  "optgroup",
24239  "option",
24240  "output",
24241  "p",
24242  "param",
24243  "picture",
24244  "pre",
24245  "progress",
24246  "q",
24247  "rp",
24248  "rt",
24249  "ruby",
24250  "s",
24251  "samp",
24252  "script",
24253  "section",
24254  "select",
24255  "small",
24256  "source",
24257  "span",
24258  "strong",
24259  "style",
24260  "sub",
24261  "summary",
24262  "sup",
24263  "table",
24264  "tbody",
24265  "td",
24266  "textarea",
24267  "tfoot",
24268  "th",
24269  "thead",
24270  "time",
24271  "title",
24272  "tr",
24273  "track",
24274  "u",
24275  "ul",
24276  "var",
24277  "video",
24278  "wbr",
24279  // SVG
24280  "circle",
24281  "clipPath",
24282  "defs",
24283  "ellipse",
24284  "foreignObject",
24285  "g",
24286  "image",
24287  "line",
24288  "linearGradient",
24289  "mask",
24290  "path",
24291  "pattern",
24292  "polygon",
24293  "polyline",
24294  "radialGradient",
24295  "rect",
24296  "stop",
24297  "svg",
24298  "text",
24299  "tspan"
24300], Dp = NU.bind(null);
24301AU.forEach(function(e) {
24302  Dp[e] = Dp(e);
24303});
24304var Eg = { exports: {} }, Ns = {}, Tg = { exports: {} }, Cg = {};
24305var O9;
24306function _U() {
24307  return O9 || (O9 = 1, (function(e) {
24308    function t(Z, ne) {
24309      var X = Z.length;
24310      Z.push(ne);
24311      e: for (; 0 < X; ) {
24312        var ee = X - 1 >>> 1, ie = Z[ee];
24313        if (0 < l(ie, ne))
24314          Z[ee] = ne, Z[X] = ie, X = ee;
24315        else break e;
24316      }
24317    }
24318    function r(Z) {
24319      return Z.length === 0 ? null : Z[0];
24320    }
24321    function i(Z) {
24322      if (Z.length === 0) return null;
24323      var ne = Z[0], X = Z.pop();
24324      if (X !== ne) {
24325        Z[0] = X;
24326        e: for (var ee = 0, ie = Z.length, de = ie >>> 1; ee < de; ) {
24327          var Ue = 2 * (ee + 1) - 1, He = Z[Ue], ve = Ue + 1, ge = Z[ve];
24328          if (0 > l(He, X))
24329            ve < ie && 0 >
vendor: 4,108 bytes, lines 24329-24459
24329 l(ge, He) ? (Z[ee] = ge, Z[ve] = X, ee = ve) : (Z[ee] = He, Z[Ue] = X, ee = Ue);
24330          else if (ve < ie && 0 > l(ge, X))
24331            Z[ee] = ge, Z[ve] = X, ee = ve;
24332          else break e;
24333        }
24334      }
24335      return ne;
24336    }
24337    function l(Z, ne) {
24338      var X = Z.sortIndex - ne.sortIndex;
24339      return X !== 0 ? X : Z.id - ne.id;
24340    }
24341    if (e.unstable_now = void 0, typeof performance == "object" && typeof performance.now == "function") {
24342      var s = performance;
24343      e.unstable_now = function() {
24344        return s.now();
24345      };
24346    } else {
24347      var f = Date, h = f.now();
24348      e.unstable_now = function() {
24349        return f.now() - h;
24350      };
24351    }
24352    var m = [], g = [], p = 1, b = null, S = 3, w = !1, T = !1, N = !1, $ = !1, A = typeof setTimeout == "function" ? setTimeout : null, D = typeof clearTimeout == "function" ? clearTimeout : null, _ = typeof setImmediate < "u" ? setImmediate : null;
24353    function x(Z) {
24354      for (var ne = r(g); ne !== null; ) {
24355        if (ne.callback === null) i(g);
24356        else if (ne.startTime <= Z)
24357          i(g), ne.sortIndex = ne.expirationTime, t(m, ne);
24358        else break;
24359        ne = r(g);
24360      }
24361    }
24362    function v(Z) {
24363      if (N = !1, x(Z), !T)
24364        if (r(m) !== null)
24365          T = !0, E || (E = !0, U());
24366        else {
24367          var ne = r(g);
24368          ne !== null && K(v, ne.startTime - Z);
24369        }
24370    }
24371    var E = !1, C = -1, L = 5, k = -1;
24372    function I() {
24373      return $ ? !0 : !(e.unstable_now() - k < L);
24374    }
24375    function M() {
24376      if ($ = !1, E) {
24377        var Z = e.unstable_now();
24378        k = Z;
24379        var ne = !0;
24380        try {
24381          e: {
24382            T = !1, N && (N = !1, D(C), C = -1), w = !0;
24383            var X = S;
24384            try {
24385              t: {
24386                for (x(Z), b = r(m); b !== null && !(b.expirationTime > Z && I()); ) {
24387                  var ee = b.callback;
24388                  if (typeof ee == "function") {
24389                    b.callback = null, S = b.priorityLevel;
24390                    var ie = ee(
24391                      b.expirationTime <= Z
24392                    );
24393                    if (Z = e.unstable_now(), typeof ie == "function") {
24394                      b.callback = ie, x(Z), ne = !0;
24395                      break t;
24396                    }
24397                    b === r(m) && i(m), x(Z);
24398                  } else i(m);
24399                  b = r(m);
24400                }
24401                if (b !== null) ne = !0;
24402                else {
24403                  var de = r(g);
24404                  de !== null && K(
24405                    v,
24406                    de.startTime - Z
24407                  ), ne = !1;
24408                }
24409              }
24410              break e;
24411            } finally {
24412              b = null, S = X, w = !1;
24413            }
24414            ne = void 0;
24415          }
24416        } finally {
24417          ne ? U() : E = !1;
24418        }
24419      }
24420    }
24421    var U;
24422    if (typeof _ == "function")
24423      U = function() {
24424        _(M);
24425      };
24426    else if (typeof MessageChannel < "u") {
24427      var G = new MessageChannel(), q = G.port2;
24428      G.port1.onmessage = M, U = function() {
24429        q.postMessage(null);
24430      };
24431    } else
24432      U = function() {
24433        A(M, 0);
24434      };
24435    function K(Z, ne) {
24436      C = A(function() {
24437        Z(e.unstable_now());
24438      }, ne);
24439    }
24440    e.unstable_IdlePriority = 5, e.unstable_ImmediatePriority = 1, e.unstable_LowPriority = 4, e.unstable_NormalPriority = 3, e.unstable_Profiling = null, e.unstable_UserBlockingPriority = 2, e.unstable_cancelCallback = function(Z) {
24441      Z.callback = null;
24442    }, e.unstable_forceFrameRate = function(Z) {
24443      0 > Z || 125 < Z ? console.error(
24444        "forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"
24445      ) : L = 0 < Z ? Math.floor(1e3 / Z) : 5;
24446    }, e.unstable_getCurrentPriorityLevel = function() {
24447      return S;
24448    }, e.unstable_next = function(Z) {
24449      switch (S) {
24450        case 1:
24451        case 2:
24452        case 3:
24453          var ne = 3;
24454          break;
24455        default:
24456          ne = S;
24457      }
24458      var X = S;
24459      S = ne;
24460      try {
24461        return Z();
24462      } finally {
24463        S = X;
24464      }
24465    }, e.unstable_requestPaint = function() {
24466      $ = !0;
24467    }, e.unstable_runWithPriority = function(Z, ne) {
24468      switch (Z) {
24469        case 1:
24470        case 2:
24471        case 3:
24472        case 4:
24473        case 5:
24474          break;
24475        default:
24476          Z = 3;
24477      }
24478      var X = S;
24479      S = Z;
24480      try {
24481        return ne();
24482      } finally {
24483        S = X;
24484      }
24485    }, e.unstable_scheduleCallback = function(Z, ne, X) {
24486      var ee = e.unstable_now();
24487      switch (typeof X == "object" && X !== null ? (X = X.delay, X = typeof X == "number" && 0 < X ? ee + X : ee) : X = ee, Z) {
24488        case 1:
24489          var ie = -1;
24490          break;
24491        case 2:
24492          ie = 250;
24493          break;
24494        case 5:
24495          ie = 1073741823;
24496          break;
24497        case 4:
24498          ie = 1e4;
24499          break;
24500        default:
24501          ie = 5e3;
24502      }
24503      return ie = X + ie, Z = {
24504        id: p++,
24505        callback: ne,
24506        priorityLevel: Z,
24507        startTime: X,
24508        expirationTime: ie,
24509        sortIndex: -1
24510      }, X > ee ? (Z.sortIndex = X, t(g, Z), r(m) === null && Z === r(g) && (N ? (D(C), C = -1) : N = !0, K(v, X - ee))) : (Z.sortIndex = ie, t(m, Z), T || w || (T = !0, E || (E = !0, U()))), Z;
24511    }, e.unstable_shouldYield = I, e.unstable_wrapCallback = function(Z) {
24512      var ne = S;
24513      return function() {
24514        var X = S;
24515        S = ne;
24516        try {
24517          return Z.apply(this, arguments);
24518        } finally {
24519          S = X;
24520        }
24521      };
24522    };
24523  })(Cg)), Cg;
24524}
24525var N9;
24526function xU() {
24527  return N9 || (N9 = 1, Tg.exports = _U()), Tg.exports;
24528}
24529var A9;
24530function RU() {
24531  if (A9) return Ns;
24532  A9 = 1;
24533  var e = xU(), t = window.React, r = window.ReactDOM;
24534  function i(n) {
24535    var a = "https://react.dev/errors/" + n;
24536    if (1 < arguments.length) {
24537      a += "?args[]=" + encodeURIComponent(arguments[1]);
24538      for (var o = 2; o < arguments.length; o++)
24539        a += "&args[]=" + encodeURIComponent(arguments[o]);
24540    }
24541    return "Minified React error #" + n + "; visit " + a + " for the full message or use the non-minified dev environment for full errors and additional helpful warnings.";
24542  }
24543  function l(n) {
24544    return !(!n || n.nodeType !== 1 && n.nodeType !== 9 && n.nodeType !== 11);
24545  }
24546  function s(n) {
24547    for (var a = n, o = a; o && !o.alternate; )
24548      a = o, (a.flags & 4098) !== 0 && (n = a.return), o = a.return;
24549    for (; a.return; ) a = a.return;
24550    return a.tag === 3 ? n : null;
24551  }
24552  function f(n) {
24553    if (n.tag === 13) {
24554      var a = n.memoizedState;
24555      if (a === null && (n = n.alternate, n !== null && (a = n.memoizedState)), a !== null) return a.dehydrated;
24556    }
24557    return null;
24558  }
24559  function h(n) {
24560    if (n.tag === 31) {
24561      var a = n.memoizedState;
24562      if (a === null && (n = n.alternate, n !== null && (a = n.memoizedState)), a !== null) return a.dehydrated;
24563    }
24564    return null;
24565  }
24566  function m(n) {
24567    if (s(n) !== n)
24568      throw Error(i(188));
24569  }
24570  function g(n) {
24571    var a = n.alternate;
24572    if (!a) {
24573      if (a = s(n), a === null) throw Error(i(188));
24574      return a !== n ? null : n;
24575    }
24576    for (var o = n, u = a; ; ) {
24577      var c = o.return;
24578      if (c === null) break;
24579      var d = c.alternate;
24580      if (d === null) {
24581        if (u = c.return, u !== null) {
24582          o = u;
24583          continue;
24584        }
24585        break;
24586      }
24587      if (c.child === d.child) {
24588        for (d = c.child; d; ) {
24589          if (d === o) return m(c), n;
24590          if (d === u) return m(c), a;
24591          d = d.sibling;
24592        }
24593        throw Error(i(188));
24594      }
24595      if (o.return !== u.return) o = c, u = d;
24596      else {
24597        for (var y = !1, O = c.child; O; ) {
24598          if (O === o) {
24599            y = !0, o = c, u = d;
24600            break;
24601          }
24602          if (O === u) {
24603            y = !0, u = c, o = d;
24604            break;
24605          }
24606          O = O.sibling;
24607        }
24608        if (!y) {
24609          for (O = d.child; O; ) {
24610            if (O === o) {
24611              y = !0, o = d, u = c;
24612              break;
24613            }
24614            if (O === u) {
24615              y = !0, u = d, o = c;
24616              break;
24617            }
24618            O = O.sibling;
24619          }
24620          if (!y) throw Error(i(189));
24621        }
24622      }
24623      if (o.alternate !== u) throw Error(i(190));
24624    }
24625    if (o.tag !== 3) throw Error(i(188));
24626    return o.stateNode.current === o ? n : a;
24627  }
24628  function p(n) {
24629    var a = n.tag;
24630    if (a === 5 || a === 26 || a === 27 || a === 6) return n;
24631    for (n = n.child; n !== null; ) {
24632      if (a = p(n), a !== null) return a;
24633      n = n.sibling;
24634    }
24635    return null;
24636  }
24637  function b(n, a, o, u, c, d) {
24638    for (; n !== null; ) {
24639      if ((n.tag === 5 || n.tag === 27 || n.tag === 6) && o(n, u, c, d) || (n.tag !== 22 || n.memoizedState === null) && (a || n.tag !== 5 && n.tag !== 27) && b(
24640        n.child,
24641        a,
24642        o,
24643        u,
24644        c,
24645        d
24646      ))
24647        return !0;
24648      n = n.sibling;
24649    }
24650    return !1;
24651  }
24652  function S(n) {
24653    for (n = n.return; n !== null; ) {
24654      if (n.tag === 3 || n.tag === 5 || n.tag === 27) return n;
24655      n = n.return;
24656    }
24657    return null;
24658  }
24659  function w(n) {
24660    var a = !1;
24661    for (n = n.return; n !== null && (n.tag === 4 && (a = !0), !(n.tag === 3 || n.tag === 5 || n.tag === 27)); )
24662      n = n.return;
24663    return a;
24664  }
24665  function T(n) {
24666    var a = [null, null], o = S(n);
24667    return o === null || N(
24668      a,
24669      n,
24670      o.child,
24671      { foundSelf: !1 }
24672    ), a;
24673  }
24674  function N(n, a, o, u) {
24675    for (; o !== null; ) {
24676      if (o === a) u.foundSelf = !0;
24677      else if (o.tag === 5 || o.tag === 27 || o.tag === 6) {
24678        if (u.foundSelf) return n[1] = o, !0;
24679        n[0] = o;
24680      } else if ((o.tag !== 22 || o.memoizedState === null) && N(
24681        n,
24682        a,
24683        o.child,
24684        u
24685      ))
24686        return !0;
24687      o = o.sibling;
24688    }
24689    return !1;
24690  }
24691  function $(n) {
24692    switch (n.tag) {
24693      case 5:
24694      case 27:
24695      case 6:
24696        return n.stateNode;
24697      case 3:
24698        return n.stateNode.containerInfo;
24699      default:
24700        throw Error(i(559));
24701    }
24702  }
24703  var A = null, D = null;
24704  function _(n, a, o) {
24705    return n === o ? !0 : n === a ? (A = n, !0) : !1;
24706  }
24707  function x(n, a, o) {
24708    return n === o ? (D = n, !1) : n === a ? (D !== null && (A = n), !0) : !1;
24709  }
24710  function v(n) {
24711    if (n === null) return null;
24712    do
24713      n = n === null ? null : n.return;
24714    while (n && n.tag !== 5 && n.tag !== 27 && n.tag !== 3);
24715    return n || null;
24716  }
24717  function E(n, a, o) {
24718    for (var u = 0, c = n; c; c = o(c)) u++;
24719    c = 0;
24720    for (var d = a; d; d = o(d)) c++;
24721    for (; 0 < u - c; ) n = o(n), u--;
24722    for (; 0 < c - u; ) a = o(a), c--;
24723    for (; u--; ) {
24724      if (n === a || a !== null && n === a.alternate)
24725        return n;
24726      n = o(n), a = o(a);
24727    }
24728    return null;
24729  }
24730  var C = Object.assign, L = /* @__PURE__ */ Symbol.for("react.element"), k = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), M = /* @__PURE__ */ Symbol.for("react.fragment"), U = /* @__PURE__ */ Symbol.for("react.strict_mode"), G = /* @__PURE__ */ Symbol.for("react.profiler"), q = /* @__PURE__ */ Symbol.for("react.consumer"), K = /* @__PURE__ */ Symbol.for("react.context"), Z = /* @__PURE__ */ Symbol.for("react.forward_ref"), ne = /* @__PURE__ */ Symbol.for("react.suspense"), X = /* @__PURE__ */ Symbol.for("react.suspense_list"), ee = /* @__PURE__ */ Symbol.for("react.memo"), ie = /* @__PURE__ */ Symbol.for("react.lazy"), de = /* @__PURE__ */ Symbol.for("react.activity"), Ue = /* @__PURE__ */ Symbol.for("react.legacy_hidden"), He = /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel"), ve = /* @__PURE__ */ Symbol.for("react.view_transition"), ge = /* @__PURE__ */ Symbol.for("react.recoverable"), Ye = Symbol.iterator;
24731  function $e(n) {
24732    return n === null || typeof n != "object" ? null : (n = Ye && n[Ye] || n["@@iterator"], typeof n == "function" ? n : null);
24733  }
24734  var st = /* @__PURE__ */ Symbol.for("react.client.reference");
24735  function we(n) {
24736    if (n == null) return null;
24737    if (typeof n == "function")
24738      return n.$$typeof === st ? null : n.displayName || n.name || null;
24739    if (typeof n == "string") return n;
24740    switch (n) {
24741      case M:
24742        return "Fragment";
vendor: 17,060 bytes, lines 24743-25348
24743      case G:
24744        return "Profiler";
24745      case U:
24746        return "StrictMode";
24747      case ne:
24748        return "Suspense";
24749      case X:
24750        return "SuspenseList";
24751      case de:
24752        return "Activity";
24753      case ve:
24754        return "ViewTransition";
24755    }
24756    if (typeof n == "object")
24757      switch (n.$$typeof) {
24758        case I:
24759          return "Portal";
24760        case K:
24761          return n.displayName || "Context";
24762        case q:
24763          return (n._context.displayName || "Context") + ".Consumer";
24764        case Z:
24765          var a = n.render;
24766          return n = n.displayName, n || (n = a.displayName || a.name || "", n = n !== "" ? "ForwardRef(" + n + ")" : "ForwardRef"), n;
24767        case ee:
24768          return a = n.displayName || null, a !== null ? a : we(n.type) || "Memo";
24769        case ie:
24770          a = n._payload, n = n._init;
24771          try {
24772            return we(n(a));
24773          } catch {
24774          }
24775      }
24776    return null;
24777  }
24778  var _e = Array.isArray, he = t.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, Ee = r.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, nn = {
24779    pending: !1,
24780    data: null,
24781    method: null,
24782    action: null
24783  }, rn = [], Re = -1;
24784  function gt(n) {
24785    return { current: n };
24786  }
24787  function Se(n) {
24788    0 > Re || (n.current = rn[Re], rn[Re] = null, Re--);
24789  }
24790  function Le(n, a) {
24791    Re++, rn[Re] = n.current, n.current = a;
24792  }
24793  var ct = gt(null), Rn = gt(null), Sn = gt(null), hn = gt(null);
24794  function Si(n, a) {
24795    switch (Le(Sn, a), Le(Rn, n), Le(ct, null), a.nodeType) {
24796      case 9:
24797      case 11:
24798        n = (n = a.documentElement) && (n = n.namespaceURI) ? q3(n) : 0;
24799        break;
24800      default:
24801        if (n = a.tagName, a = a.namespaceURI)
24802          a = q3(a), n = G3(a, n);
24803        else
24804          switch (n) {
24805            case "svg":
24806              n = 1;
24807              break;
24808            case "math":
24809              n = 2;
24810              break;
24811            default:
24812              n = 0;
24813          }
24814    }
24815    Se(ct), Le(ct, n);
24816  }
24817  function _r() {
24818    Se(ct), Se(Rn), Se(Sn);
24819  }
24820  function To(n) {
24821    var a = n.memoizedState;
24822    a !== null && (hl._currentValue = a.memoizedState, Le(hn, n)), a = ct.current;
24823    var o = G3(a, n.type);
24824    a !== o && (Le(Rn, n), Le(ct, o));
24825  }
24826  function $i(n) {
24827    Rn.current === n && (Se(ct), Se(Rn)), hn.current === n && (Se(hn), hl._currentValue = nn);
24828  }
24829  var Kn, xr;
24830  function an(n) {
24831    if (Kn === void 0)
24832      try {
24833        throw Error();
24834      } catch (o) {
24835        var a = o.stack.trim().match(/\n( *(at )?)/);
24836        Kn = a && a[1] || "", xr = -1 < o.stack.indexOf(`
24837    at`) ? " (<anonymous>)" : -1 < o.stack.indexOf("@") ? "@unknown:0:0" : "";
24838      }
24839    return `
24840` + Kn + n + xr;
24841  }
24842  var Ei = !1;
24843  function Na(n, a) {
24844    if (!n || Ei) return "";
24845    Ei = !0;
24846    var o = Error.prepareStackTrace;
24847    Error.prepareStackTrace = void 0;
24848    try {
24849      var u = {
24850        DetermineComponentFrameRoot: function() {
24851          try {
24852            if (a) {
24853              var J = function() {
24854                throw Error();
24855              };
24856              if (Object.defineProperty(J.prototype, "props", {
24857                set: function() {
24858                  throw Error();
24859                }
24860              }), typeof Reflect == "object" && Reflect.construct) {
24861                try {
24862                  Reflect.construct(J, []);
24863                } catch (oe) {
24864                  var j = oe;
24865                }
24866                Reflect.construct(n, [], J);
24867              } else {
24868                try {
24869                  J.call();
24870                } catch (oe) {
24871                  j = oe;
24872                }
24873                J = !1;
24874                try {
24875                  var Y = Object.getOwnPropertyDescriptor(
24876                    n.prototype,
24877                    "props"
24878                  );
24879                  Object.defineProperty(n.prototype, "props", {
24880                    configurable: !0,
24881                    set: function() {
24882                      throw Error();
24883                    }
24884                  }), J = !0, new n();
24885                } finally {
24886                  J && (Y !== void 0 ? Object.defineProperty(n.prototype, "props", Y) : delete n.prototype.props);
24887                }
24888              }
24889            } else {
24890              try {
24891                throw Error();
24892              } catch (oe) {
24893                j = oe;
24894              }
24895              (J = n()) && typeof J.catch == "function" && J.catch(function() {
24896              });
24897            }
24898          } catch (oe) {
24899            if (oe && j && typeof oe.stack == "string")
24900              return [oe.stack, j.stack];
24901          }
24902          return [null, null];
24903        }
24904      };
24905      u.DetermineComponentFrameRoot.displayName = "DetermineComponentFrameRoot";
24906      var c = Object.getOwnPropertyDescriptor(
24907        u.DetermineComponentFrameRoot,
24908        "name"
24909      );
24910      c && c.configurable && Object.defineProperty(
24911        u.DetermineComponentFrameRoot,
24912        "name",
24913        { value: "DetermineComponentFrameRoot" }
24914      );
24915      var d = u.DetermineComponentFrameRoot(), y = d[0], O = d[1];
24916      if (y && O) {
24917        var P = y.split(`
24918`), H = O.split(`
24919`);
24920        for (c = u = 0; u < P.length && !P[u].includes("DetermineComponentFrameRoot"); )
24921          u++;
24922        for (; c < H.length && !H[c].includes(
24923          "DetermineComponentFrameRoot"
24924        ); )
24925          c++;
24926        if (u === P.length || c === H.length)
24927          for (u = P.length - 1, c = H.length - 1; 1 <= u && 0 <= c && P[u] !== H[c]; )
24928            c--;
24929        for (; 1 <= u && 0 <= c; u--, c--)
24930          if (P[u] !== H[c]) {
24931            if (u !== 1 || c !== 1)
24932              do
24933                if (u--, c--, 0 > c || P[u] !== H[c]) {
24934                  var Q = `
24935` + P[u].replace(" at new ", " at ");
24936                  return n.displayName && Q.includes("<anonymous>") && (Q = Q.replace("<anonymous>", n.displayName)), Q;
24937                }
24938              while (1 <= u && 0 <= c);
24939            break;
24940          }
24941      }
24942    } finally {
24943      Ei = !1, Error.prepareStackTrace = o;
24944    }
24945    return (o = n ? n.displayName || n.name : "") ? an(o) : "";
24946  }
24947  function Co(n, a) {
24948    switch (n.tag) {
24949      case 26:
24950      case 27:
24951      case 5:
24952        return an(n.type);
24953      case 16:
24954        return an("Lazy");
24955      case 13:
24956        return n.child !== a && a !== null ? an("Suspense Fallback") : an("Suspense");
24957      case 19:
24958        return an("SuspenseList");
24959      case 0:
24960      case 15:
24961        return Na(n.type, !1);
24962      case 11:
24963        return Na(n.type.render, !1);
24964      case 1:
24965        return Na(n.type, !0);
24966      case 31:
24967        return an("Activity");
24968      case 30:
24969        return an("ViewTransition");
24970      default:
24971        return "";
24972    }
24973  }
24974  function wo(n) {
24975    try {
24976      var a = "", o = null;
24977      do
24978        a += Co(n, o), o = n, n = n.return;
24979      while (n);
24980      return a;
24981    } catch (u) {
24982      return `
24983Error generating stack: ` + u.message + `
24984` + u.stack;
24985    }
24986  }
24987  var Rr = Object.prototype.hasOwnProperty, Aa = e.unstable_scheduleCallback, _a = e.unstable_cancelCallback, Ic = e.unstable_shouldYield, Pc = e.unstable_requestPaint, on = e.unstable_now, su = e.unstable_getCurrentPriorityLevel, Oo = e.unstable_ImmediatePriority, Wr = e.unstable_UserBlockingPriority, dr = e.unstable_NormalPriority, kc = e.unstable_LowPriority, cu = e.unstable_IdlePriority, Lc = e.log, zc = e.unstable_setDisableYieldValue, xa = null, zt = null;
24988  function Dn(n) {
24989    if (typeof Lc == "function" && zc(n), zt && typeof zt.setStrictMode == "function")
24990      try {
24991        zt.setStrictMode(xa, n);
24992      } catch {
24993      }
24994  }
24995  var dt = Math.clz32 ? Math.clz32 : du, Ra = Math.log, fu = Math.LN2;
24996  function du(n) {
24997    return n >>>= 0, n === 0 ? 32 : 31 - (Ra(n) / fu | 0) | 0;
24998  }
24999  var No = 256, Ti = 262144, Da = 4194304;
25000  function Dr(n) {
25001    var a = n & 42;
25002    if (a !== 0) return a;
25003    switch (n & -n) {
25004      case 1:
25005        return 1;
25006      case 2:
25007        return 2;
25008      case 4:
25009        return 4;
25010      case 8:
25011        return 8;
25012      case 16:
25013        return 16;
25014      case 32:
25015        return 32;
25016      case 64:
25017        return 64;
25018      case 128:
25019        return 128;
25020      case 256:
25021      case 512:
25022      case 1024:
25023      case 2048:
25024      case 4096:
25025      case 8192:
25026      case 16384:
25027      case 32768:
25028      case 65536:
25029      case 131072:
25030        return n & -n;
25031      case 262144:
25032      case 524288:
25033      case 1048576:
25034      case 2097152:
25035        return n & 3932160;
25036      case 4194304:
25037      case 8388608:
25038      case 16777216:
25039      case 33554432:
25040        return n & 62914560;
25041      case 67108864:
25042        return 67108864;
25043      case 134217728:
25044        return 134217728;
25045      case 268435456:
25046        return 268435456;
25047      case 536870912:
25048        return 536870912;
25049      case 1073741824:
25050        return 0;
25051      default:
25052        return n;
25053    }
25054  }
25055  function Ma(n, a, o) {
25056    var u = n.pendingLanes;
25057    if (u === 0) return 0;
25058    var c = 0, d = n.suspendedLanes, y = n.pingedLanes;
25059    n = n.warmLanes;
25060    var O = u & 134217727;
25061    return O !== 0 ? (u = O & ~d, u !== 0 ? c = Dr(u) : (y &= O, y !== 0 ? c = Dr(y) : o || (o = O & ~n, o !== 0 && (c = Dr(o))))) : (O = u & ~d, O !== 0 ? c = Dr(O) : y !== 0 ? c = Dr(y) : o || (o = u & ~n, o !== 0 && (c = Dr(o)))), c === 0 ? 0 : a !== 0 && a !== c && (a & d) === 0 && (d = c & -c, o = a & -a, d >= o || d === 32 && (o & 4194048) !== 0) ? a : c;
25062  }
25063  function Ci(n, a) {
25064    return (n.pendingLanes & ~(n.suspendedLanes & ~n.pingedLanes) & a) === 0;
25065  }
25066  function Ia(n, a) {
25067    (a & 8) !== 0 && (a |= a & 32);
25068    var o = n.entangledLanes;
25069    if (o !== 0)
25070      for (n = n.entanglements, o &= a; 0 < o; ) {
25071        var u = 31 - dt(o), c = 1 << u;
25072        a |= n[u], o &= ~c;
25073      }
25074    return a;
25075  }
25076  function Wh(n, a) {
25077    switch (n) {
25078      case 1:
25079      case 2:
25080      case 4:
25081      case 8:
25082      case 64:
25083        return a + 250;
25084      case 16:
25085      case 32:
25086      case 128:
25087      case 256:
25088      case 512:
25089      case 1024:
25090      case 2048:
25091      case 4096:
25092      case 8192:
25093      case 16384:
25094      case 32768:
25095      case 65536:
25096      case 131072:
25097      case 262144:
25098      case 524288:
25099      case 1048576:
25100      case 2097152:
25101        return a + 5e3;
25102      case 4194304:
25103      case 8388608:
25104      case 16777216:
25105      case 33554432:
25106        return -1;
25107      case 67108864:
25108      case 134217728:
25109      case 268435456:
25110      case 536870912:
25111      case 1073741824:
25112        return -1;
25113      default:
25114        return -1;
25115    }
25116  }
25117  function Uc() {
25118    var n = Da;
25119    return Da <<= 1, (Da & 62914560) === 0 && (Da = 4194304), n;
25120  }
25121  function ft(n) {
25122    for (var a = [], o = 0; 31 > o; o++) a.push(n);
25123    return a;
25124  }
25125  function Xn(n, a) {
25126    n.pendingLanes |= a, a !== 268435456 && (n.suspendedLanes = 0, n.pingedLanes = 0, n.warmLanes = 0);
25127  }
25128  function Jh(n, a, o, u, c, d) {
25129    var y = n.pendingLanes;
25130    n.pendingLanes = o, n.suspendedLanes = 0, n.pingedLanes = 0, n.warmLanes = 0, n.expiredLanes &= o, n.entangledLanes &= o, n.errorRecoveryDisabledLanes &= o, n.shellSuspendCounter = 0;
25131    var O = n.entanglements, P = n.expirationTimes, H = n.hiddenUpdates;
25132    for (o = y & ~o; 0 < o; ) {
25133      var Q = 31 - dt(o), J = 1 << Q;
25134      O[Q] = 0, P[Q] = -1;
25135      var j = H[Q];
25136      if (j !== null)
25137        for (H[Q] = null, Q = 0; Q < j.length; Q++) {
25138          var Y = j[Q];
25139          Y !== null && (Y.lane &= -536870913);
25140        }
25141      o &= ~J;
25142    }
25143    u !== 0 && hu(n, u, 0), d !== 0 && c === 0 && n.tag !== 0 && (n.suspendedLanes |= d & ~(y & ~a));
25144  }
25145  function hu(n, a, o) {
25146    n.pendingLanes |= a, n.suspendedLanes &= ~a;
25147    var u = 31 - dt(a);
25148    n.entangledLanes |= a, n.entanglements[u] = n.entanglements[u] | 1073741824 | o & 261930;
25149  }
25150  function Ao(n, a) {
25151    var o = n.entangledLanes |= a;
25152    for (n = n.entanglements; o; ) {
25153      var u = 31 - dt(o), c = 1 << u;
25154      c & a | n[u] & a && (n[u] |= a), o &= ~c;
25155    }
25156  }
25157  function mu(n, a) {
25158    var o = a & -a;
25159    return o = (o & 42) !== 0 ? 1 : _o(o), (o & (n.suspendedLanes | a)) !== 0 ? 0 : o;
25160  }
25161  function _o(n) {
25162    switch (n) {
25163      case 2:
25164        n = 1;
25165        break;
25166      case 8:
25167        n = 4;
25168        break;
25169      case 32:
25170        n = 16;
25171        break;
25172      case 256:
25173      case 512:
25174      case 1024:
25175      case 2048:
25176      case 4096:
25177      case 8192:
25178      case 16384:
25179      case 32768:
25180      case 65536:
25181      case 131072:
25182      case 262144:
25183      case 524288:
25184      case 1048576:
25185      case 2097152:
25186      case 4194304:
25187      case 8388608:
25188      case 16777216:
25189      case 33554432:
25190        n = 128;
25191        break;
25192      case 268435456:
25193        n = 134217728;
25194        break;
25195      default:
25196        n = 0;
25197    }
25198    return n;
25199  }
25200  function gu(n) {
25201    return n &= -n, 2 < n ? 8 < n ? (n & 134217727) !== 0 ? 32 : 268435456 : 8 : 2;
25202  }
25203  function jc() {
25204    var n = Ee.p;
25205    return n !== 0 ? n : (n = window.event, n === void 0 ? 32 : _b(n.type));
25206  }
25207  function Fc(n, a) {
25208    var o = Ee.p;
25209    try {
25210      return Ee.p = n, a();
25211    } finally {
25212      Ee.p = o;
25213    }
25214  }
25215  var hr = Math.random().toString(36).slice(2), ot = "__reactFiber$" + hr, Bt = "__reactProps$" + hr, mr = "__reactContainer$" + hr, Mr = "__reactEvents$" + hr, e0 = "__reactListeners$" + hr, xo = "__reactHandles$" + hr, pu = "__reactResources$" + hr, wi = "__reactMarker$" + hr, Oi = "__reactLoad$" + hr;
25216  function Ni(n) {
25217    delete n[ot], delete n[Bt], delete n[e0], delete n[xo];
25218  }
25219  function Wn(n) {
25220    var a;
25221    if (a = n[ot]) return a;
25222    for (var o = n.parentNode; o; ) {
25223      if (a = o[mr] || o[ot]) {
25224        if (o = a.alternate, a.child !== null || o !== null && o.child !== null)
25225          for (n = sb(n); n !== null; ) {
25226            if (o = n[ot]) return o;
25227            n = sb(n);
25228          }
25229        return a;
25230      }
25231      n = o, o = n.parentNode;
25232    }
25233    return null;
25234  }
25235  function Ir(n) {
25236    if (n = n[ot] || n[mr]) {
25237      var a = n.tag;
25238      if (a === 5 || a === 6 || a === 13 || a === 31 || a === 26 || a === 27 || a === 3)
25239        return n;
25240    }
25241    return null;
25242  }
25243  function Pr(n) {
25244    var a = n.tag;
25245    if (a === 5 || a === 26 || a === 27 || a === 6) return n.stateNode;
25246    throw Error(i(33));
25247  }
25248  function Mn(n) {
25249    var a = n[pu];
25250    return a || (a = n[pu] = { hoistableStyles: /* @__PURE__ */ new Map(), hoistableScripts: /* @__PURE__ */ new Map() }), a;
25251  }
25252  function ht(n) {
25253    n[wi] = !0;
25254  }
25255  function In(n) {
25256    n[Oi] = void 0;
25257  }
25258  var Hc = /* @__PURE__ */ new Set(), Ai = {};
25259  function Jr(n, a) {
25260    ea(n, a), ea(n + "Capture", a);
25261  }
25262  function ea(n, a) {
25263    for (Ai[n] = a, n = 0; n < a.length; n++)
25264      Hc.add(a[n]);
25265  }
25266  var Vc = RegExp(
25267    "^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"
25268  ), yu = {}, vu = {};
25269  function t0(n) {
25270    return Rr.call(vu, n) ? !0 : Rr.call(yu, n) ? !1 : Vc.test(n) ? vu[n] = !0 : (yu[n] = !0, !1);
25271  }
25272  var ke = !1;
25273  function Bc() {
25274    var n = ke;
25275    return ke = !1, n;
25276  }
25277  function Ro(n, a, o) {
25278    if (t0(a))
25279      if (o === null) n.removeAttribute(a);
25280      else {
25281        switch (typeof o) {
25282          case "undefined":
25283          case "function":
25284          case "symbol":
25285            n.removeAttribute(a);
25286            return;
25287          case "boolean":
25288            var u = a.toLowerCase().slice(0, 5);
25289            if (u !== "data-" && u !== "aria-") {
25290              n.removeAttribute(a);
25291              return;
25292            }
25293        }
25294        n.setAttribute(a, o);
25295      }
25296  }
25297  function _i(n, a, o) {
25298    if (o === null) n.removeAttribute(a);
25299    else {
25300      switch (typeof o) {
25301        case "undefined":
25302        case "function":
25303        case "symbol":
25304        case "boolean":
25305          n.removeAttribute(a);
25306          return;
25307      }
25308      n.setAttribute(a, o);
25309    }
25310  }
25311  function $n(n, a, o, u) {
25312    if (u === null) n.removeAttribute(o);
25313    else {
25314      switch (typeof u) {
25315        case "undefined":
25316        case "function":
25317        case "symbol":
25318        case "boolean":
25319          n.removeAttribute(o);
25320          return;
25321      }
25322      n.setAttributeNS(a, o, u);
25323    }
25324  }
25325  function qt(n) {
25326    switch (typeof n) {
25327      case "bigint":
25328      case "boolean":
25329      case "number":
25330      case "string":
25331      case "undefined":
25332        return n;
25333      case "object":
25334        return n;
25335      default:
25336        return "";
25337    }
25338  }
25339  function re(n) {
25340    var a = n.type;
25341    return (n = n.nodeName) && n.toLowerCase() === "input" && (a === "checkbox" || a === "radio");
25342  }
25343  function R(n, a, o) {
25344    var u = Object.getOwnPropertyDescriptor(
25345      n.constructor.prototype,
25346      a
25347    );
25348    if (!n.hasOwnProperty(a) && typeof u < "u" && typeof u.get == "function" && typeof u.set == "function") {
vendor: 13,446 bytes, lines 25349-25706
25349      var c = u.get, d = u.set;
25350      return Object.defineProperty(n, a, {
25351        configurable: !0,
25352        get: function() {
25353          return c.call(this);
25354        },
25355        set: function(y) {
25356          o = "" + y, d.call(this, y);
25357        }
25358      }), Object.defineProperty(n, a, {
25359        enumerable: u.enumerable
25360      }), {
25361        getValue: function() {
25362          return o;
25363        },
25364        setValue: function(y) {
25365          o = "" + y;
25366        },
25367        stopTracking: function() {
25368          n._valueTracker = null, delete n[a];
25369        }
25370      };
25371    }
25372  }
25373  function V(n) {
25374    if (!n._valueTracker) {
25375      var a = re(n) ? "checked" : "value";
25376      n._valueTracker = R(
25377        n,
25378        a,
25379        "" + n[a]
25380      );
25381    }
25382  }
25383  function te(n) {
25384    if (!n) return !1;
25385    var a = n._valueTracker;
25386    if (!a) return !0;
25387    var o = a.getValue(), u = "";
25388    return n && (u = re(n) ? n.checked ? "true" : "false" : n.value), n = u, n !== o ? (a.setValue(n), !0) : !1;
25389  }
25390  var ue = /[\n"\\]/g;
25391  function se(n) {
25392    return n.replace(
25393      ue,
25394      function(a) {
25395        return "\\" + a.charCodeAt(0).toString(16) + " ";
25396      }
25397    );
25398  }
25399  function pe(n, a, o, u, c, d, y, O) {
25400    n.name = "", y != null && typeof y != "function" && typeof y != "symbol" && typeof y != "boolean" ? n.type = y : n.removeAttribute("type"), a != null ? y === "number" ? (a === 0 && n.value === "" || n.value != a) && (n.value = "" + qt(a)) : n.value !== "" + qt(a) && (n.value = "" + qt(a)) : y !== "submit" && y !== "reset" || n.removeAttribute("value"), a != null ? y === "number" && n.value == a ? rt(n, qt(n.value)) : rt(n, qt(a)) : o != null ? rt(n, qt(o)) : u != null && n.removeAttribute("value"), c == null && d != null && (n.defaultChecked = !!d), c != null && (n.checked = c && typeof c != "function" && typeof c != "symbol"), O != null && typeof O != "function" && typeof O != "symbol" && typeof O != "boolean" ? n.name = "" + qt(O) : n.removeAttribute("name");
25401  }
25402  function Xe(n, a, o, u, c, d, y, O) {
25403    if (d != null && typeof d != "function" && typeof d != "symbol" && typeof d != "boolean" && (n.type = d), a != null || o != null) {
25404      if (!(d !== "submit" && d !== "reset" || a != null)) {
25405        V(n);
25406        return;
25407      }
25408      o = o != null ? "" + qt(o) : "", a = a != null ? "" + qt(a) : o, O || a === n.value || (n.value = a), n.defaultValue = a;
25409    }
25410    u = u ?? c, u = typeof u != "function" && typeof u != "symbol" && !!u, n.checked = O ? n.checked : !!u, n.defaultChecked = !!u, y != null && typeof y != "function" && typeof y != "symbol" && typeof y != "boolean" && (n.name = y), V(n);
25411  }
25412  function rt(n, a) {
25413    n.defaultValue !== "" + a && (n.defaultValue = "" + a);
25414  }
25415  function Tt(n, a, o, u) {
25416    if (n = n.options, a) {
25417      a = {};
25418      for (var c = 0; c < o.length; c++)
25419        a["$" + o[c]] = !0;
25420      for (o = 0; o < n.length; o++)
25421        c = a.hasOwnProperty("$" + n[o].value), n[o].selected !== c && (n[o].selected = c), c && u && (n[o].defaultSelected = !0);
25422    } else {
25423      for (o = "" + qt(o), a = null, c = 0; c < n.length; c++) {
25424        if (n[c].value === o) {
25425          n[c].selected = !0, u && (n[c].defaultSelected = !0);
25426          return;
25427        }
25428        a !== null || n[c].disabled || (a = n[c]);
25429      }
25430      a !== null && (a.selected = !0);
25431    }
25432  }
25433  function Gt(n, a, o) {
25434    if (a != null && (a = "" + qt(a), a !== n.value && (n.value = a), o == null)) {
25435      n.defaultValue !== a && (n.defaultValue = a);
25436      return;
25437    }
25438    n.defaultValue = o != null ? "" + qt(o) : "";
25439  }
25440  function Do(n, a, o, u) {
25441    if (a == null) {
25442      if (u != null) {
25443        if (o != null) throw Error(i(92));
25444        if (_e(u)) {
25445          if (1 < u.length) throw Error(i(93));
25446          u = u[0];
25447        }
25448        o = u;
25449      }
25450      o == null && (o = ""), a = o;
25451    }
25452    o = qt(a), n.defaultValue = o, u = n.textContent, u === o && u !== "" && u !== null && (n.value = u), V(n);
25453  }
25454  function yt(n, a) {
25455    if (a) {
25456      var o = n.firstChild;
25457      if (o && o === n.lastChild && o.nodeType === 3) {
25458        o.nodeValue = a;
25459        return;
25460      }
25461    }
25462    n.textContent = a;
25463  }
25464  var qc = new Set(
25465    "animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(
25466      " "
25467    )
25468  );
25469  function n0(n, a, o) {
25470    var u = a.indexOf("--") === 0;
25471    o == null || typeof o == "boolean" || o === "" ? u ? n.setProperty(a, "") : a === "float" ? n.cssFloat = "" : n[a] = "" : u ? n.setProperty(a, o) : typeof o != "number" || o === 0 || qc.has(a) ? a === "float" ? n.cssFloat = o : n[a] = ("" + o).trim() : n[a] = o + "px";
25472  }
25473  function zy(n, a, o) {
25474    if (a != null && typeof a != "object")
25475      throw Error(i(62));
25476    if (n = n.style, o != null) {
25477      for (var u in o)
25478        !o.hasOwnProperty(u) || a != null && a.hasOwnProperty(u) || (u.indexOf("--") === 0 ? n.setProperty(u, "") : u === "float" ? n.cssFloat = "" : n[u] = "", ke = !0);
25479      for (var c in a)
25480        u = a[c], a.hasOwnProperty(c) && o[c] !== u && (n0(n, c, u), ke = !0);
25481    } else
25482      for (var d in a)
25483        a.hasOwnProperty(d) && n0(n, d, a[d]);
25484  }
25485  function r0(n) {
25486    if (n.indexOf("-") === -1) return !1;
25487    switch (n) {
25488      case "annotation-xml":
25489      case "color-profile":
25490      case "font-face":
25491      case "font-face-src":
25492      case "font-face-uri":
25493      case "font-face-format":
25494      case "font-face-name":
25495      case "missing-glyph":
25496        return !1;
25497      default:
25498        return !0;
25499    }
25500  }
25501  var _5 = /* @__PURE__ */ new Map([
25502    ["acceptCharset", "accept-charset"],
25503    ["htmlFor", "for"],
25504    ["httpEquiv", "http-equiv"],
25505    ["crossOrigin", "crossorigin"],
25506    ["accentHeight", "accent-height"],
25507    ["alignmentBaseline", "alignment-baseline"],
25508    ["arabicForm", "arabic-form"],
25509    ["baselineShift", "baseline-shift"],
25510    ["capHeight", "cap-height"],
25511    ["clipPath", "clip-path"],
25512    ["clipRule", "clip-rule"],
25513    ["colorInterpolation", "color-interpolation"],
25514    ["colorInterpolationFilters", "color-interpolation-filters"],
25515    ["colorProfile", "color-profile"],
25516    ["colorRendering", "color-rendering"],
25517    ["dominantBaseline", "dominant-baseline"],
25518    ["enableBackground", "enable-background"],
25519    ["fillOpacity", "fill-opacity"],
25520    ["fillRule", "fill-rule"],
25521    ["floodColor", "flood-color"],
25522    ["floodOpacity", "flood-opacity"],
25523    ["fontFamily", "font-family"],
25524    ["fontSize", "font-size"],
25525    ["fontSizeAdjust", "font-size-adjust"],
25526    ["fontStretch", "font-stretch"],
25527    ["fontStyle", "font-style"],
25528    ["fontVariant", "font-variant"],
25529    ["fontWeight", "font-weight"],
25530    ["glyphName", "glyph-name"],
25531    ["glyphOrientationHorizontal", "glyph-orientation-horizontal"],
25532    ["glyphOrientationVertical", "glyph-orientation-vertical"],
25533    ["horizAdvX", "horiz-adv-x"],
25534    ["horizOriginX", "horiz-origin-x"],
25535    ["imageRendering", "image-rendering"],
25536    ["letterSpacing", "letter-spacing"],
25537    ["lightingColor", "lighting-color"],
25538    ["markerEnd", "marker-end"],
25539    ["markerMid", "marker-mid"],
25540    ["markerStart", "marker-start"],
25541    ["maskType", "mask-type"],
25542    ["overlinePosition", "overline-position"],
25543    ["overlineThickness", "overline-thickness"],
25544    ["paintOrder", "paint-order"],
25545    ["panose-1", "panose-1"],
25546    ["pointerEvents", "pointer-events"],
25547    ["renderingIntent", "rendering-intent"],
25548    ["shapeRendering", "shape-rendering"],
25549    ["stopColor", "stop-color"],
25550    ["stopOpacity", "stop-opacity"],
25551    ["strikethroughPosition", "strikethrough-position"],
25552    ["strikethroughThickness", "strikethrough-thickness"],
25553    ["strokeDasharray", "stroke-dasharray"],
25554    ["strokeDashoffset", "stroke-dashoffset"],
25555    ["strokeLinecap", "stroke-linecap"],
25556    ["strokeLinejoin", "stroke-linejoin"],
25557    ["strokeMiterlimit", "stroke-miterlimit"],
25558    ["strokeOpacity", "stroke-opacity"],
25559    ["strokeWidth", "stroke-width"],
25560    ["textAnchor", "text-anchor"],
25561    ["textDecoration", "text-decoration"],
25562    ["textRendering", "text-rendering"],
25563    ["transformOrigin", "transform-origin"],
25564    ["underlinePosition", "underline-position"],
25565    ["underlineThickness", "underline-thickness"],
25566    ["unicodeBidi", "unicode-bidi"],
25567    ["unicodeRange", "unicode-range"],
25568    ["unitsPerEm", "units-per-em"],
25569    ["vAlphabetic", "v-alphabetic"],
25570    ["vHanging", "v-hanging"],
25571    ["vIdeographic", "v-ideographic"],
25572    ["vMathematical", "v-mathematical"],
25573    ["vectorEffect", "vector-effect"],
25574    ["vertAdvY", "vert-adv-y"],
25575    ["vertOriginX", "vert-origin-x"],
25576    ["vertOriginY", "vert-origin-y"],
25577    ["wordSpacing", "word-spacing"],
25578    ["writingMode", "writing-mode"],
25579    ["xmlnsXlink", "xmlns:xlink"],
25580    ["xHeight", "x-height"]
25581  ]), x5 = /^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;
25582  function Gc(n) {
25583    return x5.test("" + n) ? "javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')" : n;
25584  }
25585  function kr() {
25586  }
25587  var a0 = null;
25588  function i0(n) {
25589    return n = n.target || n.srcElement || window, n.correspondingUseElement && (n = n.correspondingUseElement), n.nodeType === 3 ? n.parentNode : n;
25590  }
25591  var Mo = null, Io = null;
25592  function Uy(n) {
25593    var a = Ir(n);
25594    if (a && (n = a.stateNode)) {
25595      var o = n[Bt] || null;
25596      e: switch (n = a.stateNode, a.type) {
25597        case "input":
25598          if (pe(
25599            n,
25600            o.value,
25601            o.defaultValue,
25602            o.defaultValue,
25603            o.checked,
25604            o.defaultChecked,
25605            o.type,
25606            o.name
25607          ), a = o.name, o.type === "radio" && a != null) {
25608            for (o = n; o.parentNode; ) o = o.parentNode;
25609            for (o = o.querySelectorAll(
25610              'input[name="' + se(
25611                "" + a
25612              ) + '"][type="radio"]'
25613            ), a = 0; a < o.length; a++) {
25614              var u = o[a];
25615              if (u !== n && u.form === n.form) {
25616                var c = u[Bt] || null;
25617                if (!c) throw Error(i(90));
25618                pe(
25619                  u,
25620                  c.value,
25621                  c.defaultValue,
25622                  c.defaultValue,
25623                  c.checked,
25624                  c.defaultChecked,
25625                  c.type,
25626                  c.name
25627                );
25628              }
25629            }
25630            for (a = 0; a < o.length; a++)
25631              u = o[a], u.form === n.form && te(u);
25632          }
25633          break e;
25634        case "textarea":
25635          Gt(n, o.value, o.defaultValue);
25636          break e;
25637        case "select":
25638          a = o.value, a != null && Tt(n, !!o.multiple, a, !1);
25639      }
25640    }
25641  }
25642  var o0 = !1;
25643  function jy(n, a, o) {
25644    if (o0) return n(a, o);
25645    o0 = !0;
25646    try {
25647      var u = n(a);
25648      return u;
25649    } finally {
25650      if (o0 = !1, (Mo !== null || Io !== null) && (Yf(), Mo && (a = Mo, n = Io, Io = Mo = null, Uy(a), n)))
25651        for (a = 0; a < n.length; a++) Uy(n[a]);
25652    }
25653  }
25654  function bu(n, a) {
25655    var o = n.stateNode;
25656    if (o === null) return null;
25657    var u = o[Bt] || null;
25658    if (u === null) return null;
25659    o = u[a];
25660    e: switch (a) {
25661      case "onClick":
25662      case "onClickCapture":
25663      case "onDoubleClick":
25664      case "onDoubleClickCapture":
25665      case "onMouseDown":
25666      case "onMouseDownCapture":
25667      case "onMouseMove":
25668      case "onMouseMoveCapture":
25669      case "onMouseUp":
25670      case "onMouseUpCapture":
25671      case "onMouseEnter":
25672        (u = !u.disabled) || (n = n.type, u = !(n === "button" || n === "input" || n === "select" || n === "textarea")), n = !u;
25673        break e;
25674      default:
25675        n = !1;
25676    }
25677    if (n) return null;
25678    if (o && typeof o != "function")
25679      throw Error(
25680        i(231, a, typeof o)
25681      );
25682    return o;
25683  }
25684  var ta = !(typeof window > "u" || typeof window.document > "u" || typeof window.document.createElement > "u"), l0 = !1;
25685  if (ta)
25686    try {
25687      var Su = {};
25688      Object.defineProperty(Su, "passive", {
25689        get: function() {
25690          l0 = !0;
25691        }
25692      }), window.addEventListener("test", Su, Su), window.removeEventListener("test", Su, Su);
25693    } catch {
25694      l0 = !1;
25695    }
25696  var Pa = null, u0 = null, Yc = null;
25697  function Fy() {
25698    if (Yc) return Yc;
25699    var n, a = u0, o = a.length, u, c = "value" in Pa ? Pa.value : Pa.textContent, d = c.length;
25700    for (n = 0; n < o && a[n] === c[n]; n++) ;
25701    var y = o - n;
25702    for (u = 1; u <= y && a[o - u] === c[d - u]; u++) ;
25703    return Yc = c.slice(n, 1 < u ? 1 - u : void 0);
25704  }
25705  function Zc(n) {
25706    var a = n.keyCode;
vendor: 4,191 bytes, lines 25707-25850
25707    return "charCode" in n ? (n = n.charCode, n === 0 && a === 13 && (n = 13)) : n = a, n === 10 && (n = 13), 32 <= n || n === 13 ? n : 0;
25708  }
25709  function Qc() {
25710    return !0;
25711  }
25712  function Hy() {
25713    return !1;
25714  }
25715  function mn(n) {
25716    function a(o, u, c, d, y) {
25717      this._reactName = o, this._targetInst = c, this.type = u, this.nativeEvent = d, this.target = y, this.currentTarget = null;
25718      for (var O in n)
25719        n.hasOwnProperty(O) && (o = n[O], this[O] = o ? o(d) : d[O]);
25720      return this.isDefaultPrevented = (d.defaultPrevented != null ? d.defaultPrevented : d.returnValue === !1) ? Qc : Hy, this.isPropagationStopped = Hy, this;
25721    }
25722    return C(a.prototype, {
25723      preventDefault: function() {
25724        this.defaultPrevented = !0;
25725        var o = this.nativeEvent;
25726        o && (o.preventDefault ? o.preventDefault() : typeof o.returnValue != "unknown" && (o.returnValue = !1), this.isDefaultPrevented = Qc);
25727      },
25728      stopPropagation: function() {
25729        var o = this.nativeEvent;
25730        o && (o.stopPropagation ? o.stopPropagation() : typeof o.cancelBubble != "unknown" && (o.cancelBubble = !0), this.isPropagationStopped = Qc);
25731      },
25732      persist: function() {
25733      },
25734      isPersistent: Qc
25735    }), a;
25736  }
25737  var ka = {
25738    eventPhase: 0,
25739    bubbles: 0,
25740    cancelable: 0,
25741    timeStamp: function(n) {
25742      return n.timeStamp || Date.now();
25743    },
25744    defaultPrevented: 0,
25745    isTrusted: 0
25746  }, Kc = mn(ka), $u = C({}, ka, { view: 0, detail: 0 }), R5 = mn($u), s0, c0, Eu, Xc = C({}, $u, {
25747    screenX: 0,
25748    screenY: 0,
25749    clientX: 0,
25750    clientY: 0,
25751    pageX: 0,
25752    pageY: 0,
25753    ctrlKey: 0,
25754    shiftKey: 0,
25755    altKey: 0,
25756    metaKey: 0,
25757    getModifierState: d0,
25758    button: 0,
25759    buttons: 0,
25760    relatedTarget: function(n) {
25761      return n.relatedTarget === void 0 ? n.fromElement === n.srcElement ? n.toElement : n.fromElement : n.relatedTarget;
25762    },
25763    movementX: function(n) {
25764      return "movementX" in n ? n.movementX : (n !== Eu && (Eu && n.type === "mousemove" ? (s0 = n.screenX - Eu.screenX, c0 = n.screenY - Eu.screenY) : c0 = s0 = 0, Eu = n), s0);
25765    },
25766    movementY: function(n) {
25767      return "movementY" in n ? n.movementY : c0;
25768    }
25769  }), Vy = mn(Xc), D5 = C({}, Xc, { dataTransfer: 0 }), M5 = mn(D5), I5 = C({}, $u, { relatedTarget: 0 }), f0 = mn(I5), P5 = C({}, ka, {
25770    animationName: 0,
25771    elapsedTime: 0,
25772    pseudoElement: 0
25773  }), k5 = mn(P5), L5 = C({}, ka, {
25774    clipboardData: function(n) {
25775      return "clipboardData" in n ? n.clipboardData : window.clipboardData;
25776    }
25777  }), z5 = mn(L5), U5 = C({}, ka, { data: 0 }), By = mn(U5), j5 = {
25778    Esc: "Escape",
25779    Spacebar: " ",
25780    Left: "ArrowLeft",
25781    Up: "ArrowUp",
25782    Right: "ArrowRight",
25783    Down: "ArrowDown",
25784    Del: "Delete",
25785    Win: "OS",
25786    Menu: "ContextMenu",
25787    Apps: "ContextMenu",
25788    Scroll: "ScrollLock",
25789    MozPrintableKey: "Unidentified"
25790  }, F5 = {
25791    8: "Backspace",
25792    9: "Tab",
25793    12: "Clear",
25794    13: "Enter",
25795    16: "Shift",
25796    17: "Control",
25797    18: "Alt",
25798    19: "Pause",
25799    20: "CapsLock",
25800    27: "Escape",
25801    32: " ",
25802    33: "PageUp",
25803    34: "PageDown",
25804    35: "End",
25805    36: "Home",
25806    37: "ArrowLeft",
25807    38: "ArrowUp",
25808    39: "ArrowRight",
25809    40: "ArrowDown",
25810    45: "Insert",
25811    46: "Delete",
25812    112: "F1",
25813    113: "F2",
25814    114: "F3",
25815    115: "F4",
25816    116: "F5",
25817    117: "F6",
25818    118: "F7",
25819    119: "F8",
25820    120: "F9",
25821    121: "F10",
25822    122: "F11",
25823    123: "F12",
25824    144: "NumLock",
25825    145: "ScrollLock",
25826    224: "Meta"
25827  }, H5 = {
25828    Alt: "altKey",
25829    Control: "ctrlKey",
25830    Meta: "metaKey",
25831    Shift: "shiftKey"
25832  };
25833  function V5(n) {
25834    var a = this.nativeEvent;
25835    return a.getModifierState ? a.getModifierState(n) : (n = H5[n]) ? !!a[n] : !1;
25836  }
25837  function d0() {
25838    return V5;
25839  }
25840  var B5 = C({}, $u, {
25841    key: function(n) {
25842      if (n.key) {
25843        var a = j5[n.key] || n.key;
25844        if (a !== "Unidentified") return a;
25845      }
25846      return n.type === "keypress" ? (n = Zc(n), n === 13 ? "Enter" : String.fromCharCode(n)) : n.type === "keydown" || n.type === "keyup" ? F5[n.keyCode] || "Unidentified" : "";
25847    },
25848    code: 0,
25849    location: 0,
25850    ctrlKey: 0,
vendor: 6,551 bytes, lines 25851-26093
25851    shiftKey: 0,
25852    altKey: 0,
25853    metaKey: 0,
25854    repeat: 0,
25855    locale: 0,
25856    getModifierState: d0,
25857    charCode: function(n) {
25858      return n.type === "keypress" ? Zc(n) : 0;
25859    },
25860    keyCode: function(n) {
25861      return n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0;
25862    },
25863    which: function(n) {
25864      return n.type === "keypress" ? Zc(n) : n.type === "keydown" || n.type === "keyup" ? n.keyCode : 0;
25865    }
25866  }), q5 = mn(B5), G5 = C({}, Xc, {
25867    pointerId: 0,
25868    width: 0,
25869    height: 0,
25870    pressure: 0,
25871    tangentialPressure: 0,
25872    tiltX: 0,
25873    tiltY: 0,
25874    twist: 0,
25875    pointerType: 0,
25876    isPrimary: 0
25877  }), qy = mn(G5), Y5 = C({}, ka, { submitter: 0 }), Z5 = mn(Y5), Q5 = C({}, $u, {
25878    touches: 0,
25879    targetTouches: 0,
25880    changedTouches: 0,
25881    altKey: 0,
25882    metaKey: 0,
25883    ctrlKey: 0,
25884    shiftKey: 0,
25885    getModifierState: d0
25886  }), K5 = mn(Q5), X5 = C({}, ka, {
25887    propertyName: 0,
25888    elapsedTime: 0,
25889    pseudoElement: 0
25890  }), W5 = mn(X5), J5 = C({}, Xc, {
25891    deltaX: function(n) {
25892      return "deltaX" in n ? n.deltaX : "wheelDeltaX" in n ? -n.wheelDeltaX : 0;
25893    },
25894    deltaY: function(n) {
25895      return "deltaY" in n ? n.deltaY : "wheelDeltaY" in n ? -n.wheelDeltaY : "wheelDelta" in n ? -n.wheelDelta : 0;
25896    },
25897    deltaZ: 0,
25898    deltaMode: 0
25899  }), eT = mn(J5), tT = C({}, ka, {
25900    newState: 0,
25901    oldState: 0,
25902    source: 0
25903  }), nT = mn(tT), rT = [9, 13, 27, 32], h0 = ta && "CompositionEvent" in window, Tu = null;
25904  ta && "documentMode" in document && (Tu = document.documentMode);
25905  var aT = ta && "TextEvent" in window && !Tu, Gy = ta && (!h0 || Tu && 8 < Tu && 11 >= Tu), Yy = " ", Zy = !1;
25906  function Qy(n, a) {
25907    switch (n) {
25908      case "keyup":
25909        return rT.indexOf(a.keyCode) !== -1;
25910      case "keydown":
25911        return a.keyCode !== 229;
25912      case "keypress":
25913      case "mousedown":
25914      case "focusout":
25915        return !0;
25916      default:
25917        return !1;
25918    }
25919  }
25920  function Ky(n) {
25921    return n = n.detail, typeof n == "object" && "data" in n ? n.data : null;
25922  }
25923  var Po = !1;
25924  function iT(n, a) {
25925    switch (n) {
25926      case "compositionend":
25927        return Ky(a);
25928      case "keypress":
25929        return a.which !== 32 ? null : (Zy = !0, Yy);
25930      case "textInput":
25931        return n = a.data, n === Yy && Zy ? null : n;
25932      default:
25933        return null;
25934    }
25935  }
25936  function oT(n, a) {
25937    if (Po)
25938      return n === "compositionend" || !h0 && Qy(n, a) ? (n = Fy(), Yc = u0 = Pa = null, Po = !1, n) : null;
25939    switch (n) {
25940      case "paste":
25941        return null;
25942      case "keypress":
25943        if (!(a.ctrlKey || a.altKey || a.metaKey) || a.ctrlKey && a.altKey) {
25944          if (a.char && 1 < a.char.length)
25945            return a.char;
25946          if (a.which) return String.fromCharCode(a.which);
25947        }
25948        return null;
25949      case "compositionend":
25950        return Gy && a.locale !== "ko" ? null : a.data;
25951      default:
25952        return null;
25953    }
25954  }
25955  var lT = {
25956    color: !0,
25957    date: !0,
25958    datetime: !0,
25959    "datetime-local": !0,
25960    email: !0,
25961    month: !0,
25962    number: !0,
25963    password: !0,
25964    range: !0,
25965    search: !0,
25966    tel: !0,
25967    text: !0,
25968    time: !0,
25969    url: !0,
25970    week: !0
25971  };
25972  function Xy(n) {
25973    var a = n && n.nodeName && n.nodeName.toLowerCase();
25974    return a === "input" ? !!lT[n.type] : a === "textarea";
25975  }
25976  function Wy(n, a, o, u) {
25977    Mo ? Io ? Io.push(u) : Io = [u] : Mo = u, a = Jf(a, "onChange"), 0 < a.length && (o = new Kc(
25978      "onChange",
25979      "change",
25980      null,
25981      o,
25982      u
25983    ), n.push({ event: o, listeners: a }));
25984  }
25985  var Cu = null, wu = null;
25986  function uT(n) {
25987    U3(n, 0);
25988  }
25989  function Wc(n) {
25990    var a = Pr(n);
25991    if (te(a)) return n;
25992  }
25993  function Jy(n, a) {
25994    if (n === "change") return a;
25995  }
25996  var e2 = !1;
25997  if (ta) {
25998    var m0;
25999    if (ta) {
26000      var g0 = "oninput" in document;
26001      if (!g0) {
26002        var t2 = document.createElement("div");
26003        t2.setAttribute("oninput", "return;"), g0 = typeof t2.oninput == "function";
26004      }
26005      m0 = g0;
26006    } else m0 = !1;
26007    e2 = m0 && (!document.documentMode || 9 < document.documentMode);
26008  }
26009  function n2() {
26010    Cu && (Cu.detachEvent("onpropertychange", r2), wu = Cu = null);
26011  }
26012  function r2(n) {
26013    if (n.propertyName === "value" && Wc(wu)) {
26014      var a = [];
26015      Wy(
26016        a,
26017        wu,
26018        n,
26019        i0(n)
26020      ), jy(uT, a);
26021    }
26022  }
26023  function sT(n, a, o) {
26024    n === "focusin" ? (n2(), Cu = a, wu = o, Cu.attachEvent("onpropertychange", r2)) : n === "focusout" && n2();
26025  }
26026  function cT(n) {
26027    if (n === "selectionchange" || n === "keyup" || n === "keydown")
26028      return Wc(wu);
26029  }
26030  function fT(n, a) {
26031    if (n === "click") return Wc(a);
26032  }
26033  function dT(n, a) {
26034    if (n === "input" || n === "change")
26035      return Wc(a);
26036  }
26037  function hT(n, a) {
26038    return n === a && (n !== 0 || 1 / n === 1 / a) || n !== n && a !== a;
26039  }
26040  var Pn = typeof Object.is == "function" ? Object.is : hT;
26041  function Ou(n, a) {
26042    if (Pn(n, a)) return !0;
26043    if (typeof n != "object" || n === null || typeof a != "object" || a === null)
26044      return !1;
26045    var o = Object.keys(n), u = Object.keys(a);
26046    if (o.length !== u.length) return !1;
26047    for (u = 0; u < o.length; u++) {
26048      var c = o[u];
26049      if (!Rr.call(a, c) || !Pn(n[c], a[c]))
26050        return !1;
26051    }
26052    return !0;
26053  }
26054  function p0(n) {
26055    if (n = n || (typeof document < "u" ? document : void 0), typeof n > "u") return null;
26056    try {
26057      return n.activeElement || n.body;
26058    } catch {
26059      return n.body;
26060    }
26061  }
26062  function a2(n) {
26063    for (; n && n.firstChild; ) n = n.firstChild;
26064    return n;
26065  }
26066  function i2(n, a) {
26067    var o = a2(n);
26068    n = 0;
26069    for (var u; o; ) {
26070      if (o.nodeType === 3) {
26071        if (u = n + o.textContent.length, n <= a && u >= a)
26072          return { node: o, offset: a - n };
26073        n = u;
26074      }
26075      e: {
26076        for (; o; ) {
26077          if (o.nextSibling) {
26078            o = o.nextSibling;
26079            break e;
26080          }
26081          o = o.parentNode;
26082        }
26083        o = void 0;
26084      }
26085      o = a2(o);
26086    }
26087  }
26088  function o2(n, a) {
26089    return n && a ? n === a ? !0 : n && n.nodeType === 3 ? !1 : a && a.nodeType === 3 ? o2(n, a.parentNode) : "contains" in n ? n.contains(a) : n.compareDocumentPosition ? !!(n.compareDocumentPosition(a) & 16) : !1 : !1;
26090  }
26091  function l2(n) {
26092    n = n != null && n.ownerDocument != null && n.ownerDocument.defaultView != null ? n.ownerDocument.defaultView : window;
26093    for (var a = p0(n.document); a instanceof n.HTMLIFrameElement; ) {
vendor: 7,865 bytes, lines 26094-26257
26094      try {
26095        var o = typeof a.contentWindow.location.href == "string";
26096      } catch {
26097        o = !1;
26098      }
26099      if (o) n = a.contentWindow;
26100      else break;
26101      a = p0(n.document);
26102    }
26103    return a;
26104  }
26105  function y0(n) {
26106    var a = n && n.nodeName && n.nodeName.toLowerCase();
26107    return a && (a === "input" && (n.type === "text" || n.type === "search" || n.type === "tel" || n.type === "url" || n.type === "password") || a === "textarea" || n.contentEditable === "true");
26108  }
26109  var mT = ta && "documentMode" in document && 11 >= document.documentMode, ko = null, v0 = null, Nu = null, b0 = !1;
26110  function u2(n, a, o) {
26111    var u = o.window === o ? o.document : o.nodeType === 9 ? o : o.ownerDocument;
26112    b0 || ko == null || ko !== p0(u) || (u = ko, "selectionStart" in u && y0(u) ? u = { start: u.selectionStart, end: u.selectionEnd } : (u = (u.ownerDocument && u.ownerDocument.defaultView || window).getSelection(), u = {
26113      anchorNode: u.anchorNode,
26114      anchorOffset: u.anchorOffset,
26115      focusNode: u.focusNode,
26116      focusOffset: u.focusOffset
26117    }), Nu && Ou(Nu, u) || (Nu = u, u = Jf(v0, "onSelect"), 0 < u.length && (a = new Kc(
26118      "onSelect",
26119      "select",
26120      null,
26121      a,
26122      o
26123    ), n.push({ event: a, listeners: u }), a.target = ko)));
26124  }
26125  function xi(n, a) {
26126    var o = {};
26127    return o[n.toLowerCase()] = a.toLowerCase(), o["Webkit" + n] = "webkit" + a, o["Moz" + n] = "moz" + a, o;
26128  }
26129  var Lo = {
26130    animationend: xi("Animation", "AnimationEnd"),
26131    animationiteration: xi("Animation", "AnimationIteration"),
26132    animationstart: xi("Animation", "AnimationStart"),
26133    transitionrun: xi("Transition", "TransitionRun"),
26134    transitionstart: xi("Transition", "TransitionStart"),
26135    transitioncancel: xi("Transition", "TransitionCancel"),
26136    transitionend: xi("Transition", "TransitionEnd")
26137  }, S0 = {}, s2 = {};
26138  ta && (s2 = document.createElement("div").style, "AnimationEvent" in window || (delete Lo.animationend.animation, delete Lo.animationiteration.animation, delete Lo.animationstart.animation), "TransitionEvent" in window || delete Lo.transitionend.transition);
26139  function Ri(n) {
26140    if (S0[n]) return S0[n];
26141    if (!Lo[n]) return n;
26142    var a = Lo[n], o;
26143    for (o in a)
26144      if (a.hasOwnProperty(o) && o in s2)
26145        return S0[n] = a[o];
26146    return n;
26147  }
26148  var c2 = Ri("animationend"), f2 = Ri("animationiteration"), d2 = Ri("animationstart"), gT = Ri("transitionrun"), pT = Ri("transitionstart"), yT = Ri("transitioncancel"), h2 = Ri("transitionend"), m2 = /* @__PURE__ */ new Map(), $0 = "abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(
26149    " "
26150  );
26151  $0.push("scrollEnd");
26152  function gr(n, a) {
26153    m2.set(n, a), Jr(a, [n]);
26154  }
26155  var vT = 0;
26156  function na(n, a) {
26157    if (n.name != null && n.name !== "auto") return n.name;
26158    if (a.autoName !== null) return a.autoName;
26159    n = br.identifierPrefix;
26160    var o = vT++;
26161    return n = "_" + n + "t_" + o.toString(32) + "_", a.autoName = n;
26162  }
26163  function g2(n) {
26164    if (n == null || typeof n == "string")
26165      return n;
26166    var a = null, o = rl;
26167    if (o !== null)
26168      for (var u = 0; u < o.length; u++) {
26169        var c = n[o[u]];
26170        if (c != null) {
26171          if (c === "none") return "none";
26172          a = a == null ? c : a + (" " + c);
26173        }
26174      }
26175    return a ?? n.default;
26176  }
26177  function ra(n, a) {
26178    return n = g2(n), a = g2(a), a == null ? n === "auto" ? null : n : a === "auto" ? null : a;
26179  }
26180  var Jc = typeof reportError == "function" ? reportError : function(n) {
26181    if (typeof window == "object" && typeof window.ErrorEvent == "function") {
26182      var a = new window.ErrorEvent("error", {
26183        bubbles: !0,
26184        cancelable: !0,
26185        message: typeof n == "object" && n !== null && typeof n.message == "string" ? String(n.message) : String(n),
26186        error: n
26187      });
26188      if (!window.dispatchEvent(a)) return;
26189    } else if (typeof process == "object" && typeof process.emit == "function") {
26190      process.emit("uncaughtException", n);
26191      return;
26192    }
26193    console.error(n);
26194  }, Jn = [], zo = 0, E0 = 0;
26195  function ef() {
26196    for (var n = zo, a = E0 = zo = 0; a < n; ) {
26197      var o = Jn[a];
26198      Jn[a++] = null;
26199      var u = Jn[a];
26200      Jn[a++] = null;
26201      var c = Jn[a];
26202      Jn[a++] = null;
26203      var d = Jn[a];
26204      if (Jn[a++] = null, u !== null && c !== null) {
26205        var y = u.pending;
26206        y === null ? c.next = c : (c.next = y.next, y.next = c), u.pending = c;
26207      }
26208      d !== 0 && p2(o, c, d);
26209    }
26210  }
26211  function tf(n, a, o, u) {
26212    Jn[zo++] = n, Jn[zo++] = a, Jn[zo++] = o, Jn[zo++] = u, E0 |= u, n.lanes |= u, n = n.alternate, n !== null && (n.lanes |= u);
26213  }
26214  function T0(n, a, o, u) {
26215    return tf(n, a, o, u), nf(n);
26216  }
26217  function Di(n, a) {
26218    return tf(n, null, null, a), nf(n);
26219  }
26220  function p2(n, a, o) {
26221    n.lanes |= o;
26222    var u = n.alternate;
26223    u !== null && (u.lanes |= o);
26224    for (var c = !1, d = n.return; d !== null; )
26225      d.childLanes |= o, u = d.alternate, u !== null && (u.childLanes |= o), d.tag === 22 && (n = d.stateNode, n === null || n._visibility & 1 || (c = !0)), n = d, d = d.return;
26226    return n.tag === 3 ? (d = n.stateNode, c && a !== null && (c = 31 - dt(o), n = d.hiddenUpdates, u = n[c], u === null ? n[c] = [a] : u.push(a), a.lane = o | 536870912), d) : null;
26227  }
26228  function nf(n) {
26229    if (50 < Qu)
26230      throw Qu = 0, Gf = null, Error(i(185));
26231    for (var a = n.return; a !== null; )
26232      n = a, a = n.return;
26233    return n.tag === 3 ? n.stateNode : null;
26234  }
26235  var Uo = {};
26236  function bT(n, a, o, u) {
26237    this.tag = n, this.key = o, this.sibling = this.child = this.return = this.stateNode = this.type = this.elementType = null, this.index = 0, this.refCleanup = this.ref = null, this.pendingProps = a, this.dependencies = this.memoizedState = this.updateQueue = this.memoizedProps = null, this.mode = u, this.subtreeFlags = this.flags = 0, this.deletions = null, this.childLanes = this.lanes = 0, this.alternate = null;
26238  }
26239  function En(n, a, o, u) {
26240    return new bT(n, a, o, u);
26241  }
26242  function C0(n) {
26243    return n = n.prototype, !(!n || !n.isReactComponent);
26244  }
26245  function aa(n, a) {
26246    var o = n.alternate;
26247    return o === null ? (o = En(
26248      n.tag,
26249      a,
26250      n.key,
26251      n.mode
26252    ), o.elementType = n.elementType, o.type = n.type, o.stateNode = n.stateNode, o.alternate = n, n.alternate = o) : (o.pendingProps = a, o.type = n.type, o.flags = 0, o.subtreeFlags = 0, o.deletions = null), o.flags = n.flags & 1206910976, o.childLanes = n.childLanes, o.lanes = n.lanes, o.child = n.child, o.memoizedProps = n.memoizedProps, o.memoizedState = n.memoizedState, o.updateQueue = n.updateQueue, a = n.dependencies, o.dependencies = a === null ? null : { lanes: a.lanes, firstContext: a.firstContext }, o.sibling = n.sibling, o.index = n.index, o.ref = n.ref, o.refCleanup = n.refCleanup, o;
26253  }
26254  function y2(n, a) {
26255    n.flags &= 1206910978;
26256    var o = n.alternate;
26257    return o === null ? (n.childLanes = 0, n.lanes = a, n.child = null, n.subtreeFlags = 0, n.memoizedProps = null, n.memoizedState = null, n.updateQueue = null, n.dependencies = null, n.stateNode = null) : (n.childLanes = o.childLanes, n.lanes = o.lanes, n.child = o.child, n.subtreeFlags = 0, n.deleti
vendor: 10,446 bytes, lines 26257-26609
26257ons = null, n.memoizedProps = o.memoizedProps, n.memoizedState = o.memoizedState, n.updateQueue = o.updateQueue, n.type = o.type, a = o.dependencies, n.dependencies = a === null ? null : {
26258      lanes: a.lanes,
26259      firstContext: a.firstContext
26260    }), n;
26261  }
26262  function rf(n, a, o, u, c, d) {
26263    var y = 0;
26264    if (u = n, typeof u == "function") C0(u) && (y = 1);
26265    else if (typeof u == "string")
26266      y = YC(
26267        n,
26268        o,
26269        ct.current
26270      ) ? 26 : n === "html" || n === "head" || n === "body" ? 27 : 5;
26271    else
26272      e: switch (u) {
26273        case de:
26274          return n = En(31, o, a, c), n.elementType = de, n.lanes = d, n;
26275        case M:
26276          return Mi(o.children, c, d, a);
26277        case U:
26278          y = 8, c |= 24;
26279          break;
26280        case G:
26281          return n = En(12, o, a, c | 2), n.elementType = G, n.lanes = d, n;
26282        case ne:
26283          return n = En(13, o, a, c), n.elementType = ne, n.lanes = d, n;
26284        case X:
26285          return n = En(19, o, a, c), n.elementType = X, n.lanes = d, n;
26286        case Ue:
26287        case ve:
26288          return n = c | 32, n = En(30, o, a, n), n.elementType = ve, n.lanes = d, n.stateNode = {
26289            autoName: null,
26290            paired: null,
26291            clones: null,
26292            ref: null
26293          }, n;
26294        default:
26295          if (typeof u == "object" && u !== null)
26296            switch (u.$$typeof) {
26297              case K:
26298                y = 10;
26299                break e;
26300              case q:
26301                y = 9;
26302                break e;
26303              case Z:
26304                y = 11;
26305                break e;
26306              case ee:
26307                y = 14;
26308                break e;
26309              case ie:
26310                y = 16, u = null;
26311                break e;
26312            }
26313          y = 29, o = Error(
26314            i(130, n === null ? "null" : typeof n, "")
26315          ), u = null;
26316      }
26317    return a = En(y, o, a, c), a.elementType = n, a.type = u, a.lanes = d, a;
26318  }
26319  function Mi(n, a, o, u) {
26320    return n = En(7, n, u, a), n.lanes = o, n;
26321  }
26322  function w0(n, a, o) {
26323    return n = En(6, n, null, a), n.lanes = o, n;
26324  }
26325  function v2(n) {
26326    var a = En(18, null, null, 0);
26327    return a.stateNode = n, a;
26328  }
26329  function O0(n, a, o) {
26330    return a = En(
26331      4,
26332      n.children !== null ? n.children : [],
26333      n.key,
26334      a
26335    ), a.lanes = o, a.stateNode = {
26336      containerInfo: n.containerInfo,
26337      pendingChildren: null,
26338      implementation: n.implementation
26339    }, a;
26340  }
26341  var b2 = /* @__PURE__ */ new WeakMap();
26342  function er(n, a) {
26343    if (typeof n == "object" && n !== null) {
26344      var o = b2.get(n);
26345      return o !== void 0 ? o : (a = {
26346        value: n,
26347        source: a,
26348        stack: wo(a)
26349      }, b2.set(n, a), a);
26350    }
26351    return {
26352      value: n,
26353      source: a,
26354      stack: wo(a)
26355    };
26356  }
26357  var jo = [], Fo = 0, af = null, Au = 0, tr = [], nr = 0, La = null, Lr = 1, zr = "";
26358  function ia(n, a) {
26359    jo[Fo++] = Au, jo[Fo++] = af, af = n, Au = a;
26360  }
26361  function S2(n, a, o) {
26362    tr[nr++] = Lr, tr[nr++] = zr, tr[nr++] = La, La = n;
26363    var u = Lr;
26364    n = zr;
26365    var c = 32 - dt(u) - 1;
26366    u &= ~(1 << c), o += 1;
26367    var d = 32 - dt(a) + c;
26368    if (30 < d) {
26369      var y = c - c % 5;
26370      d = (u & (1 << y) - 1).toString(32), u >>= y, c -= y, Lr = 1 << 32 - dt(a) + c | o << c | u, zr = d + n;
26371    } else
26372      Lr = 1 << d | o << c | u, zr = n;
26373  }
26374  function of(n) {
26375    n.return !== null && (ia(n, 1), S2(n, 1, 0));
26376  }
26377  function N0(n) {
26378    for (; n === af; )
26379      af = jo[--Fo], jo[Fo] = null, Au = jo[--Fo], jo[Fo] = null;
26380    for (; n === La; )
26381      La = tr[--nr], tr[nr] = null, zr = tr[--nr], tr[nr] = null, Lr = tr[--nr], tr[nr] = null;
26382  }
26383  function $2(n, a) {
26384    tr[nr++] = Lr, tr[nr++] = zr, tr[nr++] = La, Lr = a.id, zr = a.overflow, La = n;
26385  }
26386  var Ut = null, lt = null, xe = !1, za = null, rr = !1, A0 = Error(i(519));
26387  function Ua(n) {
26388    var a = Error(
26389      i(
26390        418,
26391        1 < arguments.length && arguments[1] !== void 0 && arguments[1] ? "text" : "HTML",
26392        ""
26393      )
26394    );
26395    throw _u(er(a, n)), A0;
26396  }
26397  function E2(n) {
26398    var a = n.stateNode, o = n.type, u = n.memoizedProps;
26399    switch (a[ot] = n, a[Bt] = u, o) {
26400      case "dialog":
26401        Me("cancel", a), Me("close", a);
26402        break;
26403      case "iframe":
26404      case "object":
26405      case "embed":
26406        Me("load", a);
26407        break;
26408      case "video":
26409      case "audio":
26410        for (o = 0; o < Xu.length; o++)
26411          Me(Xu[o], a);
26412        break;
26413      case "source":
26414        Me("error", a);
26415        break;
26416      case "img":
26417      case "image":
26418      case "link":
26419        Me("error", a), Me("load", a);
26420        break;
26421      case "details":
26422        Me("toggle", a);
26423        break;
26424      case "input":
26425        Me("invalid", a), Xe(
26426          a,
26427          u.value,
26428          u.defaultValue,
26429          u.checked,
26430          u.defaultChecked,
26431          u.type,
26432          u.name,
26433          !0
26434        );
26435        break;
26436      case "select":
26437        Me("invalid", a);
26438        break;
26439      case "textarea":
26440        Me("invalid", a), Do(a, u.value, u.defaultValue, u.children);
26441    }
26442    o = u.children, typeof o != "string" && typeof o != "number" && typeof o != "bigint" || a.textContent === "" + o || u.suppressHydrationWarning === !0 || V3(a.textContent, o) ? (u.popover != null && (Me("beforetoggle", a), Me("toggle", a)), u.onScroll != null && Me("scroll", a), u.onScrollEnd != null && Me("scrollend", a), u.onClick != null && (a.onclick = kr), a = !0) : a = !1, a || Ua(n, !0);
26443  }
26444  function lf(n) {
26445    for (Ut = n.return; Ut; )
26446      switch (Ut.tag) {
26447        case 5:
26448        case 31:
26449        case 13:
26450          rr = !1;
26451          return;
26452        case 27:
26453        case 3:
26454          rr = !0;
26455          return;
26456        default:
26457          Ut = Ut.return;
26458      }
26459  }
26460  function Ho(n) {
26461    if (n !== Ut) return !1;
26462    if (!xe) return lf(n), xe = !0, !1;
26463    var a = n.tag, o;
26464    if ((o = a !== 3 && a !== 27) && ((o = a === 5) && (o = n.type, o = !(o !== "form" && o !== "button") || a1(n.type, n.memoizedProps)), o = !o), o && lt && Ua(n), lf(n), a === 13) {
26465      if (n = n.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(i(317));
26466      lt = ub(n);
26467    } else if (a === 31) {
26468      if (n = n.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(i(317));
26469      lt = ub(n);
26470    } else
26471      a === 27 ? (a = lt, ti(n.type) ? (n = h1, h1 = null, lt = n) : lt = a) : lt = Ut ? ir(n.stateNode.nextSibling) : null;
26472    return !0;
26473  }
26474  function Ii() {
26475    lt = Ut = null, xe = !1;
26476  }
26477  function _0() {
26478    var n = za;
26479    return n !== null && (wn === null ? wn = n : wn.push.apply(
26480      wn,
26481      n
26482    ), za = null), n;
26483  }
26484  function _u(n) {
26485    za === null ? za = [n] : za.push(n);
26486  }
26487  var x0 = gt(null), Pi = null, oa = null;
26488  function ja(n, a, o) {
26489    Le(x0, a._currentValue), a._currentValue = o;
26490  }
26491  function la(n) {
26492    n._currentValue = x0.current, Se(x0);
26493  }
26494  function uf(n, a, o) {
26495    for (; n !== null; ) {
26496      var u = n.alternate;
26497      if ((n.childLanes & a) !== a ? (n.childLanes |= a, u !== null && (u.childLanes |= a)) : u !== null && (u.childLanes & a) !== a && (u.childLanes |= a), n === o) break;
26498      n = n.return;
26499    }
26500  }
26501  function R0(n, a, o, u) {
26502    var c = n.child;
26503    for (c !== null && (c.return = n); c !== null; ) {
26504      var d = c.dependencies;
26505      if (d !== null) {
26506        var y = c.child;
26507        d = d.firstContext;
26508        e: for (; d !== null; ) {
26509          var O = d;
26510          d = c;
26511          for (var P = 0; P < a.length; P++)
26512            if (O.context === a[P]) {
26513              d.lanes |= o, O = d.alternate, O !== null && (O.lanes |= o), uf(
26514                d.return,
26515                o,
26516                n
26517              ), u || (y = null);
26518              break e;
26519            }
26520          d = O.next;
26521        }
26522      } else if (c.tag === 18) {
26523        if (y = c.return, y === null) throw Error(i(341));
26524        y.lanes |= o, d = y.alternate, d !== null && (d.lanes |= o), uf(y, o, n), y = null;
26525      } else
26526        c.tag === 13 && c.memoizedState !== null && c.memoizedState.dehydrated === null ? (c.lanes |= o, y = c.alternate, y !== null && (y.lanes |= o), uf(
26527          c.return,
26528          o,
26529          n
26530        ), y = c.child, y = y !== null ? y.sibling : null) : y = c.child;
26531      if (y !== null) y.return = c;
26532      else
26533        for (y = c; y !== null; ) {
26534          if (y === n) {
26535            y = null;
26536            break;
26537          }
26538          if (c = y.sibling, c !== null) {
26539            c.return = y.return, y = c;
26540            break;
26541          }
26542          y = y.return;
26543        }
26544      c = y;
26545    }
26546  }
26547  function ki(n, a, o, u) {
26548    n = null;
26549    for (var c = a, d = !1; c !== null; ) {
26550      if (!d) {
26551        if ((c.flags & 524288) !== 0) d = !0;
26552        else if ((c.flags & 262144) !== 0) break;
26553      }
26554      if (c.tag === 10) {
26555        var y = c.alternate;
26556        if (y === null) throw Error(i(387));
26557        if (y = y.memoizedProps, y !== null) {
26558          var O = c.type;
26559          Pn(c.pendingProps.value, y.value) || (n !== null ? n.push(O) : n = [O]);
26560        }
26561      } else if (c === hn.current) {
26562        if (y = c.alternate, y === null) throw Error(i(387));
26563        y.memoizedState.memoizedState !== c.memoizedState.memoizedState && (n !== null ? n.push(hl) : n = [hl]);
26564      }
26565      c = c.return;
26566    }
26567    return n !== null && R0(
26568      a,
26569      n,
26570      o,
26571      u
26572    ), a.flags |= 262144, n !== null;
26573  }
26574  function sf(n) {
26575    for (n = n.firstContext; n !== null; ) {
26576      if (!Pn(
26577        n.context._currentValue,
26578        n.memoizedValue
26579      ))
26580        return !0;
26581      n = n.next;
26582    }
26583    return !1;
26584  }
26585  function Li(n) {
26586    Pi = n, oa = null, n = n.dependencies, n !== null && (n.firstContext = null);
26587  }
26588  function Yt(n) {
26589    return T2(Pi, n);
26590  }
26591  function cf(n, a) {
26592    return Pi === null && Li(n), T2(n, a);
26593  }
26594  function T2(n, a) {
26595    var o = a._currentValue;
26596    if (a = { context: a, memoizedValue: o, next: null }, oa === null) {
26597      if (n === null) throw Error(i(308));
26598      oa = a, n.dependencies = { lanes: 0, firstContext: a }, n.flags |= 524288;
26599    } else oa = oa.next = a;
26600    return o;
26601  }
26602  var ST = typeof AbortController < "u" ? AbortController : function() {
26603    var n = [], a = this.signal = {
26604      aborted: !1,
26605      addEventListener: function(o, u) {
26606        n.push(u);
26607      }
26608    };
26609    this.abort = function() {
26610      a.aborted = !0, n.forEach(function(o) {
26611        return o();
26612      });
26613    };
26614  }, $T = e.unstable_scheduleCallback, ET = e.unstable_NormalPriority, wt = {
26615    $$typeof: K,
26616    Consumer: null,
26617    Provider: null,
26618    _currentValue: null,
26619    _currentValue2: null,
26620    _threadCount: 0
26621  };
26622  function D0() {
26623    return {
26624      controller: new ST(),
26625      data: /* @__PURE__ */ new Map(),
26626      refCount: 0
26627    };
26628  }
26629  function xu(n) {
26630    n.refCount--, n.refCount === 0 && $T(ET, function() {
26631      n.controller.abort();
26632    });
26633  }
26634  function C2(n, a) {
26635    if ((n.pendingLanes & 4194048) !== 0) {
26636      var o = n.transitionTypes;
26637      for (o === null && (o = n.transitionTypes = []), n = 0; n < a.length; n++) {
26638        var u = a[n];
26639        o.indexOf(u) === -1 && o.push(u);
26640      }
26641    }
26642  }
26643  var Ru = null;
26644  function TT(n) {
26645    var a = n.transitionTypes;
26646    return n.transitionTypes = null, a;
26647  }
26648  var Du = null, M0 = 0, zi = 0, Vo = null;
26649  function CT(n, a) {
26650    if (Du === null) {
26651      var o = Du = [];
26652      M0 = 0, zi = Qm(), Vo = {
26653        status: "pending",
26654        value: void 0,
26655        then: function(u) {
26656          o.push(u);
26657        }
26658      };
26659    }
26660    return M0++, a.then(w2, w2), a;
26661  }
26662  function w2() {
26663    if (--M0 === 0 && (Ru = null, Du !== null)) {
26664      Vo !== null && (Vo.status = "fulfilled");
26665      var n = Du;
26666      Du = null, zi = 0, Vo = null;
26667      for (var a = 0; a < n.length; a++) (0, n[a])();
26668    }
26669  }
26670  function wT(n, a) {
26671    var o = [], u = {
26672      status: "pending",
26673      value: null,
26674      reason: null,
26675      then: function(c) {
26676        o.push(c);
26677      }
26678    };
26679    return n.then(
26680      function() {
26681        u.status = "fulfilled", u.value = a;
26682        for (var c = 0; c < o.length; c++) (0, o[c])(a);
26683      },
26684      function(c) {
26685        for (u.status = "rejected", u.reason = c, c = 0; c < o.length; c++)
26686          (0, o[c])(void 0);
26687      }
26688    ), u;
26689  }
26690  var O2 = he.S;
26691  he.S = function(n, a) {
26692    if (v3 = on(), typeof a == "object" && a !== null && typeof a.then == "function" && CT(n, a), Ru !== null)
26693      for (var o = ll; o !== null; )
26694        C2(o, Ru), o = o.next;
26695    if (o = n.types, o !== null) {
26696      for (var u = ll; u !== null; )
26697        C2(u, o), u = u.next;
26698      if (zi !== 0) {
26699        u = Ru, u === null && (u = Ru = []);
26700        for (var c = 0; c < o.length; c++) {
26701          var d = o[c];
26702          u.indexOf(d) === -1 && u.push(d);
26703        }
26704      }
26705    }
26706    O2 !== null && O2(n, a);
26707  };
26708  var Ui = gt(null);
26709  function I0() {
26710    var n = Ui.current;
26711    return n !== null ? n : at.pooledCache;
26712  }
26713  function ff(n, a) {
26714    a === null ? Le(Ui, Ui.current) : Le(Ui, a.pool);
26715  }
26716  function N2() {
26717    var n = I0();
26718    return n === null ? null : { parent: wt._currentValue, pool: n };
26719  }
26720  var Bo = Error(i(460)), P0 = Error(i(474)), df = Error(i(542)), hf = { then: function() {
26721  } };
26722  function A2(n) {
26723    return n = n.status, n === "fulfilled" || n === "rejected";
26724  }
26725  function _2(n, a, o) {
26726    switch (o = n[o], o === void 0 ? n.push(a) : o !== a && (a.then(kr, kr), a = o), a.status) {
26727      case "fulfilled":
26728        return a.value;
26729      case "rejected":
26730        throw n = a.reason, R2(n), n === void 0 && !("reason" in a) ? Error(i(600)) : n;
26731      default:
26732        if (typeof a.status == "string") a.then(kr, kr);
26733        else {
26734          if (n = at, n !== null && 100 < n.shellSuspendCounter)
26735            throw Error(i(482));
26736          n = a, n.status = "pending", n.then(
26737            function(u) {
26738              if (a.status === "pending") {
26739                var c = a;
26740                c.status = "fulfilled", c.value = u;
26741              }
26742            },
26743            function(u) {
26744              if (a.status === "pending") {
26745                var c = a;
26746                c.status = "rejected", c.reason = u;
26747              }
26748            }
26749          );
26750        }
26751        switch (a.status) {
26752          case "fulfilled":
26753            return a.value;
26754          case "rejected":
26755            throw n = a.reason, R2(n), n;
26756        }
26757        throw Fi = a, Bo;
26758    }
26759  }
26760  function ji(n) {
26761    try {
26762      var a = n._init;
26763      return a(n._payload);
26764    } catch (o) {
26765      throw o !== null && typeof o == "object" && typeof o.then == "function" ? (Fi = o, Bo) : o;
26766    }
26767  }
26768  var Fi = null;
26769  function x2() {
26770    if (Fi === null) throw Error(i(459));
26771    var n = Fi;
26772    return Fi = null, n;
26773  }
26774  function R2(n) {
26775    if (n === Bo || n === df)
26776      throw Error(i(483));
26777  }
26778  var qo = null, Mu = 0;
26779  function mf(n) {
26780    var a = Mu;
26781    return Mu += 1, qo === null && (qo = []), _2(qo, n, a);
26782  }
26783  function Fa(n, a) {
26784    a = a.props.ref, n.ref = a !== void 0 ? a : null;
26785  }
26786  function gf(n, a) {
26787    throw a.$$typeof === L ? Error(i(525)) : (n = Object.prototype.toString.call(a), Error(
26788      i(
26789        31,
26790        n === "[object Object]" ? "object with keys {" + Object.keys(a).join(", ") + "}" : n
26791      )
26792    ));
26793  }
26794  function D2(n) {
26795    function a(F, z) {
26796      if (n) {
26797        var B = F.deletions;
vendor: 7,906 bytes, lines 26798-27049
26798        B === null ? (F.deletions = [z], F.flags |= 16) : B.push(z);
26799      }
26800    }
26801    function o(F, z) {
26802      if (!n) return null;
26803      for (; z !== null; )
26804        a(F, z), z = z.sibling;
26805      return null;
26806    }
26807    function u(F) {
26808      for (var z = /* @__PURE__ */ new Map(); F !== null; )
26809        F.key === null ? z.set(F.index, F) : z.set(F.key, F), F = F.sibling;
26810      return z;
26811    }
26812    function c(F, z) {
26813      return F = aa(F, z), F.index = 0, F.sibling = null, F;
26814    }
26815    function d(F, z, B) {
26816      return F.index = B, n ? (B = F.alternate, B !== null ? (B = B.index, B < z ? (F.flags |= 2, z) : B) : (F.flags |= 134217730, z)) : (F.flags |= 1048576, z);
26817    }
26818    function y(F) {
26819      return n && F.alternate === null && (F.flags |= 134217730), F;
26820    }
26821    function O(F, z, B, W) {
26822      return z === null || z.tag !== 6 ? (z = w0(B, F.mode, W), z.return = F, z) : (z = c(z, B), z.return = F, z);
26823    }
26824    function P(F, z, B, W) {
26825      var ce = B.type;
26826      return ce === M ? (F = Q(
26827        F,
26828        z,
26829        B.props.children,
26830        W,
26831        B.key
26832      ), Fa(F, B), F) : z !== null && (z.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === ie && ji(ce) === z.type) ? (z = c(z, B.props), Fa(z, B), z.return = F, z) : (z = rf(
26833        B.type,
26834        B.key,
26835        B.props,
26836        null,
26837        F.mode,
26838        W
26839      ), Fa(z, B), z.return = F, z);
26840    }
26841    function H(F, z, B, W) {
26842      return z === null || z.tag !== 4 || z.stateNode.containerInfo !== B.containerInfo || z.stateNode.implementation !== B.implementation ? (z = O0(B, F.mode, W), z.return = F, z) : (z = c(z, B.children || []), z.return = F, z);
26843    }
26844    function Q(F, z, B, W, ce) {
26845      return z === null || z.tag !== 7 ? (z = Mi(
26846        B,
26847        F.mode,
26848        W,
26849        ce
26850      ), z.return = F, z) : (z = c(z, B), z.return = F, z);
26851    }
26852    function J(F, z, B) {
26853      if (typeof z == "string" && z !== "" || typeof z == "number" || typeof z == "bigint")
26854        return z = w0(
26855          "" + z,
26856          F.mode,
26857          B
26858        ), z.return = F, z;
26859      if (typeof z == "object" && z !== null) {
26860        switch (z.$$typeof) {
26861          case k:
26862            return B = rf(
26863              z.type,
26864              z.key,
26865              z.props,
26866              null,
26867              F.mode,
26868              B
26869            ), Fa(B, z), B.return = F, B;
26870          case I:
26871            return z = O0(
26872              z,
26873              F.mode,
26874              B
26875            ), z.return = F, z;
26876          case ie:
26877            return z = ji(z), J(F, z, B);
26878        }
26879        if (_e(z) || $e(z))
26880          return z = Mi(
26881            z,
26882            F.mode,
26883            B,
26884            null
26885          ), z.return = F, z;
26886        if (typeof z.then == "function")
26887          return J(F, mf(z), B);
26888        if (z.$$typeof === K)
26889          return J(
26890            F,
26891            cf(F, z),
26892            B
26893          );
26894        gf(F, z);
26895      }
26896      return null;
26897    }
26898    function j(F, z, B, W) {
26899      var ce = z !== null ? z.key : null;
26900      if (typeof B == "string" && B !== "" || typeof B == "number" || typeof B == "bigint")
26901        return ce !== null ? null : O(F, z, "" + B, W);
26902      if (typeof B == "object" && B !== null) {
26903        switch (B.$$typeof) {
26904          case k:
26905            return B.key === ce ? P(F, z, B, W) : null;
26906          case I:
26907            return B.key === ce ? H(F, z, B, W) : null;
26908          case ie:
26909            return B = ji(B), j(F, z, B, W);
26910        }
26911        if (_e(B) || $e(B))
26912          return ce !== null ? null : Q(F, z, B, W, null);
26913        if (typeof B.then == "function")
26914          return j(
26915            F,
26916            z,
26917            mf(B),
26918            W
26919          );
26920        if (B.$$typeof === K)
26921          return j(
26922            F,
26923            z,
26924            cf(F, B),
26925            W
26926          );
26927        gf(F, B);
26928      }
26929      return null;
26930    }
26931    function Y(F, z, B, W, ce) {
26932      if (typeof W == "string" && W !== "" || typeof W == "number" || typeof W == "bigint")
26933        return F = F.get(B) || null, O(z, F, "" + W, ce);
26934      if (typeof W == "object" && W !== null) {
26935        switch (W.$$typeof) {
26936          case k:
26937            return F = F.get(
26938              W.key === null ? B : W.key
26939            ) || null, P(z, F, W, ce);
26940          case I:
26941            return F = F.get(
26942              W.key === null ? B : W.key
26943            ) || null, H(z, F, W, ce);
26944          case ie:
26945            return W = ji(W), Y(
26946              F,
26947              z,
26948              B,
26949              W,
26950              ce
26951            );
26952        }
26953        if (_e(W) || $e(W))
26954          return F = F.get(B) || null, Q(z, F, W, ce, null);
26955        if (typeof W.then == "function")
26956          return Y(
26957            F,
26958            z,
26959            B,
26960            mf(W),
26961            ce
26962          );
26963        if (W.$$typeof === K)
26964          return Y(
26965            F,
26966            z,
26967            B,
26968            cf(z, W),
26969            ce
26970          );
26971        gf(z, W);
26972      }
26973      return null;
26974    }
26975    function oe(F, z, B, W) {
26976      for (var ce = null, Pe = null, me = z, be = z = 0, At = null; me !== null && be < B.length; be++) {
26977        me.index > be ? (At = me, me = null) : At = me.sibling;
26978        var ze = j(
26979          F,
26980          me,
26981          B[be],
26982          W
26983        );
26984        if (ze === null) {
26985          me === null && (me = At);
26986          break;
26987        }
26988        n && me && ze.alternate === null && a(F, me), z = d(ze, z, be), Pe === null ? ce = ze : Pe.sibling = ze, Pe = ze, me = At;
26989      }
26990      if (be === B.length)
26991        return o(F, me), xe && ia(F, be), ce;
26992      if (me === null) {
26993        for (; be < B.length; be++)
26994          me = J(F, B[be], W), me !== null && (z = d(
26995            me,
26996            z,
26997            be
26998          ), Pe === null ? ce = me : Pe.sibling = me, Pe = me);
26999        return xe && ia(F, be), ce;
27000      }
27001      for (me = u(me); be < B.length; be++)
27002        At = Y(
27003          me,
27004          F,
27005          be,
27006          B[be],
27007          W
27008        ), At !== null && (n && (ze = At.alternate, ze !== null && me.delete(ze.key === null ? be : ze.key)), z = d(
27009          At,
27010          z,
27011          be
27012        ), Pe === null ? ce = At : Pe.sibling = At, Pe = At);
27013      return n && me.forEach(function(oi) {
27014        return a(F, oi);
27015      }), xe && ia(F, be), ce;
27016    }
27017    function fe(F, z, B, W) {
27018      if (B == null) throw Error(i(151));
27019      for (var ce = null, Pe = null, me = z, be = z = 0, At = null, ze = B.next(); me !== null && !ze.done; be++, ze = B.next()) {
27020        me.index > be ? (At = me, me = null) : At = me.sibling;
27021        var oi = j(F, me, ze.value, W);
27022        if (oi === null) {
27023          me === null && (me = At);
27024          break;
27025        }
27026        n && me && oi.alternate === null && a(F, me), z = d(oi, z, be), Pe === null ? ce = oi : Pe.sibling = oi, Pe = oi, me = At;
27027      }
27028      if (ze.done)
27029        return o(F, me), xe && ia(F, be), ce;
27030      if (me === null) {
27031        for (; !ze.done; be++, ze = B.next())
27032          ze = J(F, ze.value, W), ze !== null && (z = d(ze, z, be), Pe === null ? ce = ze : Pe.sibling = ze, Pe = ze);
27033        return xe && ia(F, be), ce;
27034      }
27035      for (me = u(me); !ze.done; be++, ze = B.next())
27036        ze = Y(me, F, be, ze.value, W), ze !== null && (n && (At = ze.alternate, At !== null && me.delete(
27037          At.key === null ? be : At.key
27038        )), z = d(ze, z, be), Pe === null ? ce = ze : Pe.sibling = ze, Pe = ze);
27039      return n && me.forEach(function(iw) {
27040        return a(F, iw);
27041      }), xe && ia(F, be), ce;
27042    }
27043    function Ne(F, z, B, W) {
27044      if (typeof B == "object" && B !== null && B.type === M && B.key === null && B.props.ref === void 0 && (B = B.props.children), typeof B == "object" && B !== null) {
27045        switch (B.$$typeof) {
27046          case k:
27047            e: {
27048              for (var ce = B.key; z !== null; ) {
27049                if (z.key === ce) {
vendor: 13,358 bytes, lines 27050-27485
27050                  if (ce = B.type, ce === M) {
27051                    if (z.tag === 7) {
27052                      o(
27053                        F,
27054                        z.sibling
27055                      ), W = c(
27056                        z,
27057                        B.props.children
27058                      ), Fa(W, B), W.return = F, F = W;
27059                      break e;
27060                    }
27061                  } else if (z.elementType === ce || typeof ce == "object" && ce !== null && ce.$$typeof === ie && ji(ce) === z.type) {
27062                    o(
27063                      F,
27064                      z.sibling
27065                    ), W = c(z, B.props), Fa(W, B), W.return = F, F = W;
27066                    break e;
27067                  }
27068                  o(F, z);
27069                  break;
27070                } else a(F, z);
27071                z = z.sibling;
27072              }
27073              B.type === M ? (W = Mi(
27074                B.props.children,
27075                F.mode,
27076                W,
27077                B.key
27078              ), Fa(W, B), W.return = F, F = W) : (W = rf(
27079                B.type,
27080                B.key,
27081                B.props,
27082                null,
27083                F.mode,
27084                W
27085              ), Fa(W, B), W.return = F, F = W);
27086            }
27087            return y(F);
27088          case I:
27089            e: {
27090              for (ce = B.key; z !== null; ) {
27091                if (z.key === ce)
27092                  if (z.tag === 4 && z.stateNode.containerInfo === B.containerInfo && z.stateNode.implementation === B.implementation) {
27093                    o(
27094                      F,
27095                      z.sibling
27096                    ), W = c(z, B.children || []), W.return = F, F = W;
27097                    break e;
27098                  } else {
27099                    o(F, z);
27100                    break;
27101                  }
27102                else a(F, z);
27103                z = z.sibling;
27104              }
27105              W = O0(B, F.mode, W), W.return = F, F = W;
27106            }
27107            return y(F);
27108          case ie:
27109            return B = ji(B), Ne(
27110              F,
27111              z,
27112              B,
27113              W
27114            );
27115        }
27116        if (_e(B))
27117          return oe(
27118            F,
27119            z,
27120            B,
27121            W
27122          );
27123        if ($e(B)) {
27124          if (ce = $e(B), typeof ce != "function") throw Error(i(150));
27125          return B = ce.call(B), fe(
27126            F,
27127            z,
27128            B,
27129            W
27130          );
27131        }
27132        if (typeof B.then == "function")
27133          return Ne(
27134            F,
27135            z,
27136            mf(B),
27137            W
27138          );
27139        if (B.$$typeof === K)
27140          return Ne(
27141            F,
27142            z,
27143            cf(F, B),
27144            W
27145          );
27146        gf(F, B);
27147      }
27148      return typeof B == "string" && B !== "" || typeof B == "number" || typeof B == "bigint" ? (B = "" + B, z !== null && z.tag === 6 ? (o(F, z.sibling), W = c(z, B), W.return = F, F = W) : (o(F, z), W = w0(B, F.mode, W), W.return = F, F = W), y(F)) : o(F, z);
27149    }
27150    return function(F, z, B, W) {
27151      try {
27152        Mu = 0;
27153        var ce = Ne(
27154          F,
27155          z,
27156          B,
27157          W
27158        );
27159        return qo = null, ce;
27160      } catch (me) {
27161        if (me === Bo || me === df) throw me;
27162        var Pe = En(29, me, null, F.mode);
27163        return Pe.lanes = W, Pe.return = F, Pe;
27164      }
27165    };
27166  }
27167  var Hi = D2(!0), M2 = D2(!1), Ha = !1;
27168  function k0(n) {
27169    n.updateQueue = {
27170      baseState: n.memoizedState,
27171      firstBaseUpdate: null,
27172      lastBaseUpdate: null,
27173      shared: { pending: null, lanes: 0, hiddenCallbacks: null },
27174      callbacks: null
27175    };
27176  }
27177  function L0(n, a) {
27178    n = n.updateQueue, a.updateQueue === n && (a.updateQueue = {
27179      baseState: n.baseState,
27180      firstBaseUpdate: n.firstBaseUpdate,
27181      lastBaseUpdate: n.lastBaseUpdate,
27182      shared: n.shared,
27183      callbacks: null
27184    });
27185  }
27186  function Va(n) {
27187    return { lane: n, tag: 0, payload: null, callback: null, next: null };
27188  }
27189  function Ba(n, a, o) {
27190    var u = n.updateQueue;
27191    if (u === null) return null;
27192    if (u = u.shared, (Ve & 2) !== 0) {
27193      var c = u.pending;
27194      return c === null ? a.next = a : (a.next = c.next, c.next = a), u.pending = a, a = nf(n), p2(n, null, o), a;
27195    }
27196    return tf(n, u, a, o), nf(n);
27197  }
27198  function Iu(n, a, o) {
27199    if (a = a.updateQueue, a !== null && (a = a.shared, (o & 4194048) !== 0)) {
27200      var u = a.lanes;
27201      u &= n.pendingLanes, o |= u, a.lanes = o, Ao(n, o);
27202    }
27203  }
27204  function z0(n, a) {
27205    var o = n.updateQueue, u = n.alternate;
27206    if (u !== null && (u = u.updateQueue, o === u)) {
27207      var c = null, d = null;
27208      if (o = o.firstBaseUpdate, o !== null) {
27209        do {
27210          var y = {
27211            lane: o.lane,
27212            tag: o.tag,
27213            payload: o.payload,
27214            callback: null,
27215            next: null
27216          };
27217          d === null ? c = d = y : d = d.next = y, o = o.next;
27218        } while (o !== null);
27219        d === null ? c = d = a : d = d.next = a;
27220      } else c = d = a;
27221      o = {
27222        baseState: u.baseState,
27223        firstBaseUpdate: c,
27224        lastBaseUpdate: d,
27225        shared: u.shared,
27226        callbacks: u.callbacks
27227      }, n.updateQueue = o;
27228      return;
27229    }
27230    n = o.lastBaseUpdate, n === null ? o.firstBaseUpdate = a : n.next = a, o.lastBaseUpdate = a;
27231  }
27232  var U0 = !1;
27233  function Pu() {
27234    if (U0) {
27235      var n = Vo;
27236      if (n !== null) throw n;
27237    }
27238  }
27239  function ku(n, a, o, u) {
27240    U0 = !1;
27241    var c = n.updateQueue;
27242    Ha = !1;
27243    var d = c.firstBaseUpdate, y = c.lastBaseUpdate, O = c.shared.pending;
27244    if (O !== null) {
27245      c.shared.pending = null;
27246      var P = O, H = P.next;
27247      P.next = null, y === null ? d = H : y.next = H, y = P;
27248      var Q = n.alternate;
27249      Q !== null && (Q = Q.updateQueue, O = Q.lastBaseUpdate, O !== y && (O === null ? Q.firstBaseUpdate = H : O.next = H, Q.lastBaseUpdate = P));
27250    }
27251    if (d !== null) {
27252      var J = c.baseState;
27253      y = 0, Q = H = P = null, O = d;
27254      do {
27255        var j = O.lane & -536870913, Y = j !== O.lane;
27256        if (Y ? (Ie & j) === j : (u & j) === j) {
27257          j !== 0 && j === zi && (U0 = !0), Q !== null && (Q = Q.next = {
27258            lane: 0,
27259            tag: O.tag,
27260            payload: O.payload,
27261            callback: null,
27262            next: null
27263          });
27264          e: {
27265            var oe = n, fe = O;
27266            j = a;
27267            var Ne = o;
27268            switch (fe.tag) {
27269              case 1:
27270                if (oe = fe.payload, typeof oe == "function") {
27271                  J = oe.call(Ne, J, j);
27272                  break e;
27273                }
27274                J = oe;
27275                break e;
27276              case 3:
27277                oe.flags = oe.flags & -65537 | 128;
27278              case 0:
27279                if (oe = fe.payload, j = typeof oe == "function" ? oe.call(Ne, J, j) : oe, j == null) break e;
27280                J = C({}, J, j);
27281                break e;
27282              case 2:
27283                Ha = !0;
27284            }
27285          }
27286          j = O.callback, j !== null && (n.flags |= 64, Y && (n.flags |= 8192), Y = c.callbacks, Y === null ? c.callbacks = [j] : Y.push(j));
27287        } else
27288          Y = {
27289            lane: j,
27290            tag: O.tag,
27291            payload: O.payload,
27292            callback: O.callback,
27293            next: null
27294          }, Q === null ? (H = Q = Y, P = J) : Q = Q.next = Y, y |= j;
27295        if (O = O.next, O === null) {
27296          if (O = c.shared.pending, O === null)
27297            break;
27298          Y = O, O = Y.next, Y.next = null, c.lastBaseUpdate = Y, c.shared.pending = null;
27299        }
27300      } while (!0);
27301      Q === null && (P = J), c.baseState = P, c.firstBaseUpdate = H, c.lastBaseUpdate = Q, d === null && (c.shared.lanes = 0), Xa |= y, n.lanes = y, n.memoizedState = J;
27302    }
27303  }
27304  function I2(n, a) {
27305    if (typeof n != "function")
27306      throw Error(i(191, n));
27307    n.call(a);
27308  }
27309  function P2(n, a) {
27310    var o = n.callbacks;
27311    if (o !== null)
27312      for (n.callbacks = null, n = 0; n < o.length; n++)
27313        I2(o[n], a);
27314  }
27315  var qa = gt(null), pf = gt(0);
27316  function k2(n, a) {
27317    n = da, Le(pf, n), Le(qa, a), da = n | a.baseLanes;
27318  }
27319  function j0() {
27320    Le(pf, da), Le(qa, qa.current);
27321  }
27322  function F0() {
27323    da = pf.current, Se(qa), Se(pf);
27324  }
27325  var Zt = gt(null), ln = null;
27326  function Ga(n) {
27327    var a = n.alternate;
27328    Le(Qt, Qt.current & 1), Le(Zt, n), ln === null && (a === null || qa.current !== null || a.memoizedState !== null) && (ln = n);
27329  }
27330  function H0(n) {
27331    Le(Qt, Qt.current), Le(Zt, n), ln === null && (ln = n);
27332  }
27333  function L2(n) {
27334    n.tag === 22 ? (Le(Qt, Qt.current), Le(Zt, n), ln === null && (ln = n)) : Ya();
27335  }
27336  function Ya() {
27337    Le(Qt, Qt.current), Le(Zt, Zt.current);
27338  }
27339  function kn(n) {
27340    Se(Zt), ln === n && (ln = null), Se(Qt);
27341  }
27342  var Qt = gt(0);
27343  function Lu(n, a) {
27344    Le(Zt, Zt.current), Le(Qt, a);
27345  }
27346  function V0(n) {
27347    Se(Qt), Se(Zt), ln === n && (ln = null);
27348  }
27349  function yf(n) {
27350    for (var a = n; a !== null; ) {
27351      if (a.tag === 13) {
27352        var o = a.memoizedState;
27353        if (o !== null && (o = o.dehydrated, o === null || f1(o) || d1(o)))
27354          return a;
27355      } else if (a.tag === 19 && a.memoizedProps.revealOrder !== "independent") {
27356        if ((a.flags & 128) !== 0) return a;
27357      } else if (a.child !== null) {
27358        a.child.return = a, a = a.child;
27359        continue;
27360      }
27361      if (a === n) break;
27362      for (; a.sibling === null; ) {
27363        if (a.return === null || a.return === n) return null;
27364        a = a.return;
27365      }
27366      a.sibling.return = a.return, a = a.sibling;
27367    }
27368    return null;
27369  }
27370  var ua = 0, Oe = null, tt = null, Ot = null, vf = !1, Go = !1, Vi = !1, bf = 0, zu = 0, Yo = null, OT = 0;
27371  function vt() {
27372    throw Error(i(321));
27373  }
27374  function B0(n, a) {
27375    if (a === null) return !1;
27376    for (var o = 0; o < a.length && o < n.length; o++)
27377      if (!Pn(n[o], a[o])) return !1;
27378    return !0;
27379  }
27380  function q0(n, a, o, u, c, d) {
27381    return ua = d, Oe = a, a.memoizedState = null, a.updateQueue = null, a.lanes = 0, he.H = n === null || n.memoizedState === null ? Sv : $v, Vi = !1, d = o(u, c), Vi = !1, Go && (d = U2(
27382      a,
27383      o,
27384      u,
27385      c
27386    )), z2(n), d;
27387  }
27388  function z2(n) {
27389    he.H = Of;
27390    var a = tt !== null && tt.next !== null;
27391    if (ua = 0, Ot = tt = Oe = null, vf = !1, zu = 0, Yo = null, a) throw Error(i(300));
27392    n === null || Nt || (n = n.dependencies, n !== null && sf(n) && (Nt = !0));
27393  }
27394  function U2(n, a, o, u) {
27395    Oe = n;
27396    var c = 0;
27397    do {
27398      if (Go && (Yo = null), zu = 0, Go = !1, 25 <= c) throw Error(i(301));
27399      if (c += 1, Ot = tt = null, n.updateQueue != null) {
27400        var d = n.updateQueue;
27401        d.lastEffect = null, d.events = null, d.stores = null, d.memoCache != null && (d.memoCache.index = 0);
27402      }
27403      he.H = IT, d = a(o, u);
27404    } while (Go);
27405    return d;
27406  }
27407  function NT() {
27408    var n = he.H, a = n.useState()[0];
27409    return a = typeof a.then == "function" ? Uu(a) : a, n = n.useState()[0], (tt !== null ? tt.memoizedState : null) !== n && (Oe.flags |= 1024), a;
27410  }
27411  function G0() {
27412    var n = bf !== 0;
27413    return bf = 0, n;
27414  }
27415  function Y0(n, a, o) {
27416    a.updateQueue = n.updateQueue, a.flags &= -2053, n.lanes &= ~o;
27417  }
27418  function Z0(n) {
27419    if (vf) {
27420      for (n = n.memoizedState; n !== null; ) {
27421        var a = n.queue;
27422        a !== null && (a.pending = null), n = n.next;
27423      }
27424      vf = !1;
27425    }
27426    ua = 0, Ot = tt = Oe = null, Go = !1, zu = bf = 0, Yo = null;
27427  }
27428  function gn() {
27429    var n = {
27430      memoizedState: null,
27431      baseState: null,
27432      baseQueue: null,
27433      queue: null,
27434      next: null
27435    };
27436    return Ot === null ? Oe.memoizedState = Ot = n : Ot = Ot.next = n, Ot;
27437  }
27438  function Ct() {
27439    if (tt === null) {
27440      var n = Oe.alternate;
27441      n = n !== null ? n.memoizedState : null;
27442    } else n = tt.next;
27443    var a = Ot === null ? Oe.memoizedState : Ot.next;
27444    if (a !== null)
27445      Ot = a, tt = n;
27446    else {
27447      if (n === null)
27448        throw Oe.alternate === null ? Error(i(467)) : Error(i(310));
27449      tt = n, n = {
27450        memoizedState: tt.memoizedState,
27451        baseState: tt.baseState,
27452        baseQueue: tt.baseQueue,
27453        queue: tt.queue,
27454        next: null
27455      }, Ot === null ? Oe.memoizedState = Ot = n : Ot = Ot.next = n;
27456    }
27457    return Ot;
27458  }
27459  function Sf() {
27460    return { lastEffect: null, events: null, stores: null, memoCache: null };
27461  }
27462  function Uu(n) {
27463    var a = zu;
27464    return zu += 1, Yo === null && (Yo = []), n = _2(Yo, n, a), a = Oe, (Ot === null ? a.memoizedState : Ot.next) === null && (a = a.alternate, he.H = a === null || a.memoizedState === null ? Sv : $v), n;
27465  }
27466  function $f(n) {
27467    if (n !== null && typeof n == "object") {
27468      if (typeof n.then == "function") return Uu(n);
27469      if (n.$$typeof === ge) return;
27470      if (n.$$typeof === K) return Yt(n);
27471    }
27472    throw Error(i(438, String(n)));
27473  }
27474  function Q0(n) {
27475    var a = null, o = Oe.updateQueue;
27476    if (o !== null && (a = o.memoCache), a == null) {
27477      var u = Oe.alternate;
27478      u !== null && (u = u.updateQueue, u !== null && (u = u.memoCache, u != null && (a = {
27479        data: u.data.map(function(c) {
27480          return c.slice();
27481        }),
27482        index: 0
27483      })));
27484    }
27485    if (a == null && (a = { data: [], index: 0 }
vendor: 5,535 bytes, lines 27485-27673
27485), o === null && (o = Sf(), Oe.updateQueue = o), o.memoCache = a, o = a.data[a.index], o === void 0)
27486      for (o = a.data[a.index] = Array(n), u = 0; u < n; u++)
27487        o[u] = He;
27488    return a.index++, o;
27489  }
27490  function sa(n, a) {
27491    return typeof a == "function" ? a(n) : a;
27492  }
27493  function Ef(n) {
27494    var a = Ct();
27495    return K0(a, tt, n);
27496  }
27497  function K0(n, a, o) {
27498    var u = n.queue;
27499    if (u === null) throw Error(i(311));
27500    u.lastRenderedReducer = o;
27501    var c = n.baseQueue, d = u.pending;
27502    if (d !== null) {
27503      if (c !== null) {
27504        var y = c.next;
27505        c.next = d.next, d.next = y;
27506      }
27507      a.baseQueue = c = d, u.pending = null;
27508    }
27509    if (d = n.baseState, c === null) n.memoizedState = d;
27510    else {
27511      a = c.next;
27512      var O = y = null, P = null, H = a, Q = !1;
27513      do {
27514        var J = H.lane & -536870913;
27515        if (J !== H.lane ? (Ie & J) === J : (ua & J) === J) {
27516          var j = H.revertLane;
27517          if (j === 0)
27518            P !== null && (P = P.next = {
27519              lane: 0,
27520              revertLane: 0,
27521              gesture: null,
27522              action: H.action,
27523              hasEagerState: H.hasEagerState,
27524              eagerState: H.eagerState,
27525              next: null
27526            }), J === zi && (Q = !0);
27527          else if ((ua & j) === j) {
27528            H = H.next, j === zi && (Q = !0);
27529            continue;
27530          } else
27531            J = {
27532              lane: 0,
27533              revertLane: H.revertLane,
27534              gesture: null,
27535              action: H.action,
27536              hasEagerState: H.hasEagerState,
27537              eagerState: H.eagerState,
27538              next: null
27539            }, P === null ? (O = P = J, y = d) : P = P.next = J, Oe.lanes |= j, Xa |= j;
27540          J = H.action, Vi && o(d, J), d = H.hasEagerState ? H.eagerState : o(d, J);
27541        } else
27542          j = {
27543            lane: J,
27544            revertLane: H.revertLane,
27545            gesture: H.gesture,
27546            action: H.action,
27547            hasEagerState: H.hasEagerState,
27548            eagerState: H.eagerState,
27549            next: null
27550          }, P === null ? (O = P = j, y = d) : P = P.next = j, Oe.lanes |= J, Xa |= J;
27551        H = H.next;
27552      } while (H !== null && H !== a);
27553      if (P === null ? y = d : P.next = O, !Pn(d, n.memoizedState) && (Nt = !0, Q && (o = Vo, o !== null)))
27554        throw o;
27555      n.memoizedState = d, n.baseState = y, n.baseQueue = P, u.lastRenderedState = d;
27556    }
27557    return c === null && (u.lanes = 0), [n.memoizedState, u.dispatch];
27558  }
27559  function X0(n) {
27560    var a = Ct(), o = a.queue;
27561    if (o === null) throw Error(i(311));
27562    o.lastRenderedReducer = n;
27563    var u = o.dispatch, c = o.pending, d = a.memoizedState;
27564    if (c !== null) {
27565      o.pending = null;
27566      var y = c = c.next;
27567      do
27568        d = n(d, y.action), y = y.next;
27569      while (y !== c);
27570      Pn(d, a.memoizedState) || (Nt = !0), a.memoizedState = d, a.baseQueue === null && (a.baseState = d), o.lastRenderedState = d;
27571    }
27572    return [d, u];
27573  }
27574  function j2(n, a, o) {
27575    var u = Oe, c = Ct(), d = xe;
27576    if (d) {
27577      if (o === void 0) throw Error(i(407));
27578      o = o();
27579    } else o = a();
27580    var y = !Pn(
27581      (tt || c).memoizedState,
27582      o
27583    );
27584    if (y && (c.memoizedState = o, Nt = !0), c = c.queue, em(V2.bind(null, u, c, n), [
27585      n
27586    ]), n = c.getSnapshot !== a || y || Ot !== null && (Ot.memoizedState.tag & 1) !== 0, Zo(
27587      n ? 9 : 8,
27588      { destroy: void 0 },
27589      H2.bind(null, u, c, o, a),
27590      null
27591    ), n) {
27592      if (u.flags |= 2048, at === null) throw Error(i(349));
27593      d || (ua & 127) !== 0 || F2(u, a, o);
27594    }
27595    return o;
27596  }
27597  function F2(n, a, o) {
27598    n.flags |= 16384, n = { getSnapshot: a, value: o }, a = Oe.updateQueue, a === null ? (a = Sf(), Oe.updateQueue = a, a.stores = [n]) : (o = a.stores, o === null ? a.stores = [n] : o.push(n));
27599  }
27600  function H2(n, a, o, u) {
27601    a.value = o, a.getSnapshot = u, B2(a) && q2(n);
27602  }
27603  function V2(n, a, o) {
27604    return o(function() {
27605      B2(a) && q2(n);
27606    });
27607  }
27608  function B2(n) {
27609    var a = n.getSnapshot;
27610    n = n.value;
27611    try {
27612      var o = a();
27613      return !Pn(n, o);
27614    } catch {
27615      return !0;
27616    }
27617  }
27618  function q2(n) {
27619    var a = Di(n, 2);
27620    a !== null && On(a, n, 2);
27621  }
27622  function W0(n) {
27623    var a = gn();
27624    if (typeof n == "function") {
27625      var o = n;
27626      if (n = o(), Vi) {
27627        Dn(!0);
27628        try {
27629          o();
27630        } finally {
27631          Dn(!1);
27632        }
27633      }
27634    }
27635    return a.memoizedState = a.baseState = n, a.queue = {
27636      pending: null,
27637      lanes: 0,
27638      dispatch: null,
27639      lastRenderedReducer: sa,
27640      lastRenderedState: n
27641    }, a;
27642  }
27643  function G2(n, a, o, u) {
27644    return n.baseState = o, K0(
27645      n,
27646      tt,
27647      typeof u == "function" ? u : sa
27648    );
27649  }
27650  function AT(n, a, o, u, c) {
27651    if (wf(n)) throw Error(i(485));
27652    if (n = a.action, n !== null) {
27653      var d = {
27654        payload: c,
27655        action: n,
27656        next: null,
27657        isTransition: !0,
27658        status: "pending",
27659        value: null,
27660        reason: null,
27661        listeners: [],
27662        then: function(y) {
27663          d.listeners.push(y);
27664        }
27665      };
27666      he.T !== null ? o(!0) : d.isTransition = !1, u(d), o = a.pending, o === null ? (d.next = a.pending = d, Y2(a, d)) : (d.next = o.next, a.pending = o.next = d);
27667    }
27668  }
27669  function Y2(n, a) {
27670    var o = a.action, u = a.payload, c = n.state;
27671    if (a.isTransition) {
27672      var d = he.T, y = {};
27673      y.types = d !== null ? d.types : null, he.T = y;
vendor: 4,262 bytes, lines 27674-27846
27674      try {
27675        var O = o(c, u), P = he.S;
27676        P !== null && P(y, O), Z2(n, a, O);
27677      } catch (H) {
27678        J0(n, a, H);
27679      } finally {
27680        d !== null && y.types !== null && (d.types = y.types), he.T = d;
27681      }
27682    } else
27683      try {
27684        d = o(c, u), Z2(n, a, d);
27685      } catch (H) {
27686        J0(n, a, H);
27687      }
27688  }
27689  function Z2(n, a, o) {
27690    o !== null && typeof o == "object" && typeof o.then == "function" ? o.then(
27691      function(u) {
27692        Q2(n, a, u);
27693      },
27694      function(u) {
27695        return J0(n, a, u);
27696      }
27697    ) : Q2(n, a, o);
27698  }
27699  function Q2(n, a, o) {
27700    a.status = "fulfilled", a.value = o, K2(a), n.state = o, a = n.pending, a !== null && (o = a.next, o === a ? n.pending = null : (o = o.next, a.next = o, Y2(n, o)));
27701  }
27702  function J0(n, a, o) {
27703    var u = n.pending;
27704    if (n.pending = null, u !== null) {
27705      u = u.next;
27706      do
27707        a.status = "rejected", a.reason = o, K2(a), a = a.next;
27708      while (a !== u);
27709    }
27710    n.action = null;
27711  }
27712  function K2(n) {
27713    n = n.listeners;
27714    for (var a = 0; a < n.length; a++) (0, n[a])();
27715  }
27716  function X2(n, a) {
27717    return a;
27718  }
27719  function W2(n, a) {
27720    if (xe) {
27721      var o = at.formState;
27722      if (o !== null) {
27723        e: {
27724          var u = Oe;
27725          if (xe) {
27726            if (lt) {
27727              t: {
27728                for (var c = lt, d = rr; c.nodeType !== 8; ) {
27729                  if (!d) {
27730                    c = null;
27731                    break t;
27732                  }
27733                  if (c = ir(
27734                    c.nextSibling
27735                  ), c === null) {
27736                    c = null;
27737                    break t;
27738                  }
27739                }
27740                d = c.data, c = d === "F!" || d === "F" ? c : null;
27741              }
27742              if (c) {
27743                lt = ir(
27744                  c.nextSibling
27745                ), u = c.data === "F!";
27746                break e;
27747              }
27748            }
27749            Ua(u);
27750          }
27751          u = !1;
27752        }
27753        u && (a = o[0]);
27754      }
27755    }
27756    return o = gn(), o.memoizedState = o.baseState = a, u = {
27757      pending: null,
27758      lanes: 0,
27759      dispatch: null,
27760      lastRenderedReducer: X2,
27761      lastRenderedState: a
27762    }, o.queue = u, o = yv.bind(
27763      null,
27764      Oe,
27765      u
27766    ), u.dispatch = o, u = W0(!1), d = im.bind(
27767      null,
27768      Oe,
27769      !1,
27770      u.queue
27771    ), u = gn(), c = {
27772      state: a,
27773      dispatch: null,
27774      action: n,
27775      pending: null
27776    }, u.queue = c, o = AT.bind(
27777      null,
27778      Oe,
27779      c,
27780      d,
27781      o
27782    ), c.dispatch = o, u.memoizedState = n, [a, o, !1];
27783  }
27784  function J2(n) {
27785    var a = Ct();
27786    return ev(a, tt, n);
27787  }
27788  function ev(n, a, o) {
27789    if (a = K0(
27790      n,
27791      a,
27792      X2
27793    )[0], n = Ef(sa)[0], typeof a == "object" && a !== null && typeof a.then == "function")
27794      try {
27795        var u = Uu(a);
27796      } catch (y) {
27797        throw y === Bo ? df : y;
27798      }
27799    else u = a;
27800    a = Ct();
27801    var c = a.queue, d = c.dispatch;
27802    return o !== a.memoizedState && (Oe.flags |= 2048, Zo(
27803      9,
27804      { destroy: void 0 },
27805      _T.bind(null, c, o),
27806      null
27807    )), [u, d, n];
27808  }
27809  function _T(n, a) {
27810    n.action = a;
27811  }
27812  function tv(n) {
27813    var a = Ct(), o = tt;
27814    if (o !== null)
27815      return ev(a, o, n);
27816    Ct(), a = a.memoizedState, o = Ct();
27817    var u = o.queue.dispatch;
27818    return o.memoizedState = n, [a, u, !1];
27819  }
27820  function Zo(n, a, o, u) {
27821    return n = { tag: n, create: o, deps: u, inst: a, next: null }, a = Oe.updateQueue, a === null && (a = Sf(), Oe.updateQueue = a), o = a.lastEffect, o === null ? a.lastEffect = n.next = n : (u = o.next, o.next = n, n.next = u, a.lastEffect = n), n;
27822  }
27823  function nv() {
27824    return Ct().memoizedState;
27825  }
27826  function Tf(n, a, o, u) {
27827    var c = gn();
27828    Oe.flags |= n, c.memoizedState = Zo(
27829      1 | a,
27830      { destroy: void 0 },
27831      o,
27832      u === void 0 ? null : u
27833    );
27834  }
27835  function Cf(n, a, o, u) {
27836    var c = Ct();
27837    u = u === void 0 ? null : u;
27838    var d = c.memoizedState.inst;
27839    tt !== null && u !== null && B0(u, tt.memoizedState.deps) ? c.memoizedState = Zo(a, d, o, u) : (Oe.flags |= n, c.memoizedState = Zo(
27840      1 | a,
27841      d,
27842      o,
27843      u
27844    ));
27845  }
27846  function rv(n, a) {
vendor: 6,361 bytes, lines 27847-28121
27847    Tf(8390656, 8, n, a);
27848  }
27849  function em(n, a) {
27850    Cf(2048, 8, n, a);
27851  }
27852  function xT(n) {
27853    Oe.flags |= 4;
27854    var a = Oe.updateQueue;
27855    if (a === null)
27856      a = Sf(), Oe.updateQueue = a, a.events = [n];
27857    else {
27858      var o = a.events;
27859      o === null ? a.events = [n] : o.push(n);
27860    }
27861  }
27862  function av(n) {
27863    var a = Ct().memoizedState;
27864    return xT({ ref: a, nextImpl: n }), function() {
27865      if ((Ve & 2) !== 0) throw Error(i(440));
27866      return a.impl.apply(void 0, arguments);
27867    };
27868  }
27869  function iv(n, a) {
27870    return Cf(4, 2, n, a);
27871  }
27872  function ov(n, a) {
27873    return Cf(4, 4, n, a);
27874  }
27875  function lv(n, a) {
27876    if (typeof a == "function") {
27877      n = n();
27878      var o = a(n);
27879      return function() {
27880        typeof o == "function" ? o() : a(null);
27881      };
27882    }
27883    if (a != null)
27884      return n = n(), a.current = n, function() {
27885        a.current = null;
27886      };
27887  }
27888  function uv(n, a, o) {
27889    o = o != null ? o.concat([n]) : null, Cf(4, 4, lv.bind(null, a, n), o);
27890  }
27891  function tm() {
27892  }
27893  function sv(n, a) {
27894    var o = Ct();
27895    a = a === void 0 ? null : a;
27896    var u = o.memoizedState;
27897    return a !== null && B0(a, u[1]) ? u[0] : (o.memoizedState = [n, a], n);
27898  }
27899  function cv(n, a) {
27900    var o = Ct();
27901    a = a === void 0 ? null : a;
27902    var u = o.memoizedState;
27903    if (a !== null && B0(a, u[1]))
27904      return u[0];
27905    if (u = n(), Vi) {
27906      Dn(!0);
27907      try {
27908        n();
27909      } finally {
27910        Dn(!1);
27911      }
27912    }
27913    return o.memoizedState = [u, a], u;
27914  }
27915  function nm(n, a, o) {
27916    return o === void 0 || (ua & 1073741824) !== 0 && (Ie & 261930) === 0 ? n.memoizedState = a : (n.memoizedState = o, n = S3(), Oe.lanes |= n, Xa |= n, o);
27917  }
27918  function fv(n, a, o, u) {
27919    return Pn(o, a) ? o : qa.current !== null ? (n = nm(n, o, u), Pn(n, a) || (Nt = !0), n) : (ua & 106) === 0 || (ua & 1073741824) !== 0 && (Ie & 261930) === 0 ? (Nt = !0, n.memoizedState = o) : (n = S3(), Oe.lanes |= n, Xa |= n, a);
27920  }
27921  function dv(n, a, o, u, c) {
27922    var d = Ee.p;
27923    Ee.p = d !== 0 && 8 > d ? d : 8;
27924    var y = he.T, O = {};
27925    O.types = y !== null ? y.types : null, he.T = O, im(n, !1, a, o);
27926    try {
27927      var P = c(), H = he.S;
27928      if (H !== null && H(O, P), P !== null && typeof P == "object" && typeof P.then == "function") {
27929        var Q = wT(
27930          P,
27931          u
27932        );
27933        ju(
27934          n,
27935          a,
27936          Q,
27937          jn(n)
27938        );
27939      } else
27940        ju(
27941          n,
27942          a,
27943          u,
27944          jn(n)
27945        );
27946    } catch (J) {
27947      ju(
27948        n,
27949        a,
27950        { then: function() {
27951        }, status: "rejected", reason: J },
27952        jn()
27953      );
27954    } finally {
27955      Ee.p = d, y !== null && O.types !== null && (y.types = O.types), he.T = y;
27956    }
27957  }
27958  function RT() {
27959  }
27960  function rm(n, a, o, u) {
27961    if (n.tag !== 5) throw Error(i(476));
27962    var c = hv(n).queue;
27963    dv(
27964      n,
27965      c,
27966      a,
27967      nn,
27968      o === null ? RT : function() {
27969        return mv(n), o(u);
27970      }
27971    );
27972  }
27973  function hv(n) {
27974    var a = n.memoizedState;
27975    if (a !== null) return a;
27976    a = {
27977      memoizedState: nn,
27978      baseState: nn,
27979      baseQueue: null,
27980      queue: {
27981        pending: null,
27982        lanes: 0,
27983        dispatch: null,
27984        lastRenderedReducer: sa,
27985        lastRenderedState: nn
27986      },
27987      next: null
27988    };
27989    var o = {};
27990    return a.next = {
27991      memoizedState: o,
27992      baseState: o,
27993      baseQueue: null,
27994      queue: {
27995        pending: null,
27996        lanes: 0,
27997        dispatch: null,
27998        lastRenderedReducer: sa,
27999        lastRenderedState: o
28000      },
28001      next: null
28002    }, n.memoizedState = a, n = n.alternate, n !== null && (n.memoizedState = a), a;
28003  }
28004  function mv(n) {
28005    var a = hv(n);
28006    a.next === null && (a = n.alternate.memoizedState), ju(
28007      n,
28008      a.next.queue,
28009      {},
28010      jn()
28011    );
28012  }
28013  function am() {
28014    return Yt(hl);
28015  }
28016  function gv() {
28017    return Ct().memoizedState;
28018  }
28019  function pv() {
28020    return Ct().memoizedState;
28021  }
28022  function DT(n) {
28023    for (var a = n.return; a !== null; ) {
28024      switch (a.tag) {
28025        case 24:
28026        case 3:
28027          var o = jn();
28028          n = Va(o);
28029          var u = Ba(a, n, o);
28030          u !== null && (On(u, a, o), Iu(u, a, o)), a = { cache: D0() }, n.payload = a;
28031          return;
28032      }
28033      a = a.return;
28034    }
28035  }
28036  function MT(n, a, o) {
28037    var u = jn();
28038    o = {
28039      lane: u,
28040      revertLane: 0,
28041      gesture: null,
28042      action: o,
28043      hasEagerState: !1,
28044      eagerState: null,
28045      next: null
28046    }, wf(n) ? vv(a, o) : (o = T0(n, a, o, u), o !== null && (On(o, n, u), bv(o, a, u)));
28047  }
28048  function yv(n, a, o) {
28049    var u = jn();
28050    ju(n, a, o, u);
28051  }
28052  function ju(n, a, o, u) {
28053    var c = {
28054      lane: u,
28055      revertLane: 0,
28056      gesture: null,
28057      action: o,
28058      hasEagerState: !1,
28059      eagerState: null,
28060      next: null
28061    };
28062    if (wf(n)) vv(a, c);
28063    else {
28064      var d = n.alternate;
28065      if (n.lanes === 0 && (d === null || d.lanes === 0) && (d = a.lastRenderedReducer, d !== null))
28066        try {
28067          var y = a.lastRenderedState, O = d(y, o);
28068          if (c.hasEagerState = !0, c.eagerState = O, Pn(O, y))
28069            return tf(n, a, c, 0), at === null && ef(), !1;
28070        } catch {
28071        }
28072      if (o = T0(n, a, c, u), o !== null)
28073        return On(o, n, u), bv(o, a, u), !0;
28074    }
28075    return !1;
28076  }
28077  function im(n, a, o, u) {
28078    if (u = {
28079      lane: 2,
28080      revertLane: Qm(),
28081      gesture: null,
28082      action: u,
28083      hasEagerState: !1,
28084      eagerState: null,
28085      next: null
28086    }, wf(n)) {
28087      if (a) throw Error(i(479));
28088    } else
28089      a = T0(
28090        n,
28091        o,
28092        u,
28093        2
28094      ), a !== null && On(a, n, 2);
28095  }
28096  function wf(n) {
28097    var a = n.alternate;
28098    return n === Oe || a !== null && a === Oe;
28099  }
28100  function vv(n, a) {
28101    Go = vf = !0;
28102    var o = n.pending;
28103    o === null ? a.next = a : (a.next = o.next, o.next = a), n.pending = a;
28104  }
28105  function bv(n, a, o) {
28106    if ((o & 4194048) !== 0) {
28107      var u = a.lanes;
28108      u &= n.pendingLanes, o |= u, a.lanes = o, Ao(n, o);
28109    }
28110  }
28111  var Of = {
28112    readContext: Yt,
28113    use: $f,
28114    useCallback: vt,
28115    useContext: vt,
28116    useEffect: vt,
28117    useImperativeHandle: vt,
28118    useLayoutEffect: vt,
28119    useInsertionEffect: vt,
28120    useMemo: vt,
28121    useReducer: vt,
vendor: 4,323 bytes, lines 28122-28306
28122    useRef: vt,
28123    useState: vt,
28124    useDebugValue: vt,
28125    useDeferredValue: vt,
28126    useTransition: vt,
28127    useSyncExternalStore: vt,
28128    useId: vt,
28129    useHostTransitionStatus: vt,
28130    useFormState: vt,
28131    useActionState: vt,
28132    useOptimistic: vt,
28133    useMemoCache: vt,
28134    useCacheRefresh: vt,
28135    useEffectEvent: vt
28136  }, Sv = {
28137    readContext: Yt,
28138    use: $f,
28139    useCallback: function(n, a) {
28140      return gn().memoizedState = [
28141        n,
28142        a === void 0 ? null : a
28143      ], n;
28144    },
28145    useContext: Yt,
28146    useEffect: rv,
28147    useImperativeHandle: function(n, a, o) {
28148      o = o != null ? o.concat([n]) : null, Tf(
28149        4194308,
28150        4,
28151        lv.bind(null, a, n),
28152        o
28153      );
28154    },
28155    useLayoutEffect: function(n, a) {
28156      return Tf(4194308, 4, n, a);
28157    },
28158    useInsertionEffect: function(n, a) {
28159      Tf(4, 2, n, a);
28160    },
28161    useMemo: function(n, a) {
28162      var o = gn();
28163      a = a === void 0 ? null : a;
28164      var u = n();
28165      if (Vi) {
28166        Dn(!0);
28167        try {
28168          n();
28169        } finally {
28170          Dn(!1);
28171        }
28172      }
28173      return o.memoizedState = [u, a], u;
28174    },
28175    useReducer: function(n, a, o) {
28176      var u = gn();
28177      if (o !== void 0) {
28178        var c = o(a);
28179        if (Vi) {
28180          Dn(!0);
28181          try {
28182            o(a);
28183          } finally {
28184            Dn(!1);
28185          }
28186        }
28187      } else c = a;
28188      return u.memoizedState = u.baseState = c, n = {
28189        pending: null,
28190        lanes: 0,
28191        dispatch: null,
28192        lastRenderedReducer: n,
28193        lastRenderedState: c
28194      }, u.queue = n, n = n.dispatch = MT.bind(
28195        null,
28196        Oe,
28197        n
28198      ), [u.memoizedState, n];
28199    },
28200    useRef: function(n) {
28201      var a = gn();
28202      return n = { current: n }, a.memoizedState = n;
28203    },
28204    useState: function(n) {
28205      n = W0(n);
28206      var a = n.queue, o = yv.bind(null, Oe, a);
28207      return a.dispatch = o, [n.memoizedState, o];
28208    },
28209    useDebugValue: tm,
28210    useDeferredValue: function(n, a) {
28211      var o = gn();
28212      return nm(o, n, a);
28213    },
28214    useTransition: function() {
28215      var n = W0(!1);
28216      return n = dv.bind(
28217        null,
28218        Oe,
28219        n.queue,
28220        !0,
28221        !1
28222      ), gn().memoizedState = n, [!1, n];
28223    },
28224    useSyncExternalStore: function(n, a, o) {
28225      var u = Oe, c = gn();
28226      if (xe) {
28227        if (o === void 0)
28228          throw Error(i(407));
28229        o = o();
28230      } else {
28231        if (o = a(), at === null)
28232          throw Error(i(349));
28233        (Ie & 127) !== 0 || F2(u, a, o);
28234      }
28235      c.memoizedState = o;
28236      var d = { value: o, getSnapshot: a };
28237      return c.queue = d, rv(V2.bind(null, u, d, n), [
28238        n
28239      ]), u.flags |= 2048, Zo(
28240        9,
28241        { destroy: void 0 },
28242        H2.bind(
28243          null,
28244          u,
28245          d,
28246          o,
28247          a
28248        ),
28249        null
28250      ), o;
28251    },
28252    useId: function() {
28253      var n = gn(), a = at.identifierPrefix;
28254      if (xe) {
28255        var o = zr, u = Lr;
28256        o = (u & ~(1 << 32 - dt(u) - 1)).toString(32) + o, a = "_" + a + "R_" + o, o = bf++, 0 < o && (a += "H" + o.toString(32)), a += "_";
28257      } else
28258        o = OT++, a = "_" + a + "r_" + o.toString(32) + "_";
28259      return n.memoizedState = a;
28260    },
28261    useHostTransitionStatus: am,
28262    useFormState: W2,
28263    useActionState: W2,
28264    useOptimistic: function(n) {
28265      var a = gn();
28266      a.memoizedState = a.baseState = n;
28267      var o = {
28268        pending: null,
28269        lanes: 0,
28270        dispatch: null,
28271        lastRenderedReducer: null,
28272        lastRenderedState: null
28273      };
28274      return a.queue = o, a = im.bind(
28275        null,
28276        Oe,
28277        !0,
28278        o
28279      ), o.dispatch = a, [n, a];
28280    },
28281    useMemoCache: Q0,
28282    useCacheRefresh: function() {
28283      return gn().memoizedState = DT.bind(
28284        null,
28285        Oe
28286      );
28287    },
28288    useEffectEvent: function(n) {
28289      var a = gn(), o = { impl: n };
28290      return a.memoizedState = o, function() {
28291        if ((Ve & 2) !== 0)
28292          throw Error(i(440));
28293        return o.impl.apply(void 0, arguments);
28294      };
28295    }
28296  }, $v = {
28297    readContext: Yt,
28298    use: $f,
28299    useCallback: sv,
28300    useContext: Yt,
28301    useEffect: em,
28302    useImperativeHandle: uv,
28303    useInsertionEffect: iv,
28304    useLayoutEffect: ov,
28305    useMemo: cv,
28306    useReducer: Ef,
vendor: 11,396 bytes, lines 28307-28684
28307    useRef: nv,
28308    useState: function() {
28309      return Ef(sa);
28310    },
28311    useDebugValue: tm,
28312    useDeferredValue: function(n, a) {
28313      var o = Ct();
28314      return fv(
28315        o,
28316        tt.memoizedState,
28317        n,
28318        a
28319      );
28320    },
28321    useTransition: function() {
28322      var n = Ef(sa)[0], a = Ct().memoizedState;
28323      return [
28324        typeof n == "boolean" ? n : Uu(n),
28325        a
28326      ];
28327    },
28328    useSyncExternalStore: j2,
28329    useId: gv,
28330    useHostTransitionStatus: am,
28331    useFormState: J2,
28332    useActionState: J2,
28333    useOptimistic: function(n, a) {
28334      var o = Ct();
28335      return G2(o, tt, n, a);
28336    },
28337    useMemoCache: Q0,
28338    useCacheRefresh: pv,
28339    useEffectEvent: av
28340  }, IT = {
28341    readContext: Yt,
28342    use: $f,
28343    useCallback: sv,
28344    useContext: Yt,
28345    useEffect: em,
28346    useImperativeHandle: uv,
28347    useInsertionEffect: iv,
28348    useLayoutEffect: ov,
28349    useMemo: cv,
28350    useReducer: X0,
28351    useRef: nv,
28352    useState: function() {
28353      return X0(sa);
28354    },
28355    useDebugValue: tm,
28356    useDeferredValue: function(n, a) {
28357      var o = Ct();
28358      return tt === null ? nm(o, n, a) : fv(
28359        o,
28360        tt.memoizedState,
28361        n,
28362        a
28363      );
28364    },
28365    useTransition: function() {
28366      var n = X0(sa)[0], a = Ct().memoizedState;
28367      return [
28368        typeof n == "boolean" ? n : Uu(n),
28369        a
28370      ];
28371    },
28372    useSyncExternalStore: j2,
28373    useId: gv,
28374    useHostTransitionStatus: am,
28375    useFormState: tv,
28376    useActionState: tv,
28377    useOptimistic: function(n, a) {
28378      var o = Ct();
28379      return tt !== null ? G2(o, tt, n, a) : (o.baseState = n, [n, o.queue.dispatch]);
28380    },
28381    useMemoCache: Q0,
28382    useCacheRefresh: pv,
28383    useEffectEvent: av
28384  };
28385  function om(n, a, o, u) {
28386    a = n.memoizedState, o = o(u, a), o = o == null ? a : C({}, a, o), n.memoizedState = o, n.lanes === 0 && (n.updateQueue.baseState = o);
28387  }
28388  var lm = {
28389    enqueueSetState: function(n, a, o) {
28390      n = n._reactInternals;
28391      var u = jn(), c = Va(u);
28392      c.payload = a, o != null && (c.callback = o), a = Ba(n, c, u), a !== null && (On(a, n, u), Iu(a, n, u));
28393    },
28394    enqueueReplaceState: function(n, a, o) {
28395      n = n._reactInternals;
28396      var u = jn(), c = Va(u);
28397      c.tag = 1, c.payload = a, o != null && (c.callback = o), a = Ba(n, c, u), a !== null && (On(a, n, u), Iu(a, n, u));
28398    },
28399    enqueueForceUpdate: function(n, a) {
28400      n = n._reactInternals;
28401      var o = jn(), u = Va(o);
28402      u.tag = 2, a != null && (u.callback = a), a = Ba(n, u, o), a !== null && (On(a, n, o), Iu(a, n, o));
28403    }
28404  };
28405  function Ev(n, a, o, u, c, d, y) {
28406    return n = n.stateNode, typeof n.shouldComponentUpdate == "function" ? n.shouldComponentUpdate(u, d, y) : a.prototype && a.prototype.isPureReactComponent ? !Ou(o, u) || !Ou(c, d) : !0;
28407  }
28408  function Tv(n, a, o, u) {
28409    n = a.state, typeof a.componentWillReceiveProps == "function" && a.componentWillReceiveProps(o, u), typeof a.UNSAFE_componentWillReceiveProps == "function" && a.UNSAFE_componentWillReceiveProps(o, u), a.state !== n && lm.enqueueReplaceState(a, a.state, null);
28410  }
28411  function Bi(n, a) {
28412    var o = a;
28413    if ("ref" in a) {
28414      o = {};
28415      for (var u in a)
28416        u !== "ref" && (o[u] = a[u]);
28417    }
28418    if (n = n.defaultProps) {
28419      o === a && (o = C({}, o));
28420      for (var c in n)
28421        o[c] === void 0 && (o[c] = n[c]);
28422    }
28423    return o;
28424  }
28425  function Cv(n) {
28426    Jc(n);
28427  }
28428  function wv(n) {
28429    console.error(n);
28430  }
28431  function Ov(n) {
28432    Jc(n);
28433  }
28434  function Nf(n, a) {
28435    try {
28436      var o = n.onUncaughtError;
28437      o(a.value, { componentStack: a.stack });
28438    } catch (u) {
28439      setTimeout(function() {
28440        throw u;
28441      });
28442    }
28443  }
28444  function Nv(n, a, o) {
28445    try {
28446      var u = n.onCaughtError;
28447      u(o.value, {
28448        componentStack: o.stack,
28449        errorBoundary: a.tag === 1 ? a.stateNode : null
28450      });
28451    } catch (c) {
28452      setTimeout(function() {
28453        throw c;
28454      });
28455    }
28456  }
28457  function um(n, a, o) {
28458    return o = Va(o), o.tag = 3, o.payload = { element: null }, o.callback = function() {
28459      Nf(n, a);
28460    }, o;
28461  }
28462  function Av(n) {
28463    return n = Va(n), n.tag = 3, n;
28464  }
28465  function _v(n, a, o, u) {
28466    var c = o.type.getDerivedStateFromError;
28467    if (typeof c == "function") {
28468      var d = u.value;
28469      n.payload = function() {
28470        return c(d);
28471      }, n.callback = function() {
28472        Nv(a, o, u);
28473      };
28474    }
28475    var y = o.stateNode;
28476    y !== null && typeof y.componentDidCatch == "function" && (n.callback = function() {
28477      Nv(a, o, u), typeof c != "function" && (Wa === null ? Wa = /* @__PURE__ */ new Set([this]) : Wa.add(this));
28478      var O = u.stack;
28479      this.componentDidCatch(u.value, {
28480        componentStack: O !== null ? O : ""
28481      });
28482    });
28483  }
28484  function PT(n, a, o, u, c) {
28485    if (o.flags |= 32768, u !== null && typeof u == "object" && typeof u.then == "function") {
28486      if (a = o.alternate, a !== null && ki(
28487        a,
28488        o,
28489        c,
28490        !0
28491      ), o = Zt.current, o !== null) {
28492        switch (o.tag) {
28493          case 31:
28494          case 13:
28495          case 19:
28496            return ln === null ? Zf() : o.alternate === null && bt === 0 && (bt = 3), o.flags &= -257, o.flags |= 65536, o.lanes = c, u === hf ? o.flags |= 16384 : (a = o.updateQueue, a === null ? o.updateQueue = /* @__PURE__ */ new Set([u]) : a.add(u), Gm(n, u, c)), !1;
28497          case 22:
28498            return o.flags |= 65536, u === hf ? o.flags |= 16384 : (a = o.updateQueue, a === null ? (a = {
28499              transitions: null,
28500              markerInstances: null,
28501              retryQueue: /* @__PURE__ */ new Set([u])
28502            }, o.updateQueue = a) : (o = a.retryQueue, o === null ? a.retryQueue = /* @__PURE__ */ new Set([u]) : o.add(u)), Gm(n, u, c)), !1;
28503        }
28504        throw Error(i(435, o.tag));
28505      }
28506      return Gm(n, u, c), Zf(), !1;
28507    }
28508    if (xe)
28509      return a = Zt.current, a !== null ? ((a.flags & 65536) === 0 && (a.flags |= 256), a.flags |= 65536, a.lanes = c, u !== A0 && (n = Error(i(422), { cause: u }), _u(er(n, o)))) : (u !== A0 && (a = Error(i(423), {
28510        cause: u
28511      }), _u(
28512        er(a, o)
28513      )), n = n.current.alternate, n.flags |= 65536, c &= -c, n.lanes |= c, u = er(u, o), c = um(
28514        n.stateNode,
28515        u,
28516        c
28517      ), z0(n, c), bt !== 4 && (bt = 2)), !1;
28518    var d = Error(i(520), { cause: u });
28519    if (d = er(d, o), Zu === null ? Zu = [d] : Zu.push(d), bt !== 4 && (bt = 2), a === null) return !0;
28520    u = er(u, o), o = a;
28521    do {
28522      switch (o.tag) {
28523        case 3:
28524          return o.flags |= 65536, n = c & -c, o.lanes |= n, n = um(o.stateNode, u, n), z0(o, n), !1;
28525        case 1:
28526          if (a = o.type, d = o.stateNode, (o.flags & 128) === 0 && (typeof a.getDerivedStateFromError == "function" || d !== null && typeof d.componentDidCatch == "function" && (Wa === null || !Wa.has(d))))
28527            return o.flags |= 65536, c &= -c, o.lanes |= c, c = Av(c), _v(
28528              c,
28529              n,
28530              o,
28531              u
28532            ), z0(o, c), !1;
28533          break;
28534        case 22:
28535          if (o.memoizedState !== null)
28536            return o.flags |= 65536, !1;
28537      }
28538      o = o.return;
28539    } while (o !== null);
28540    return !1;
28541  }
28542  var sm = Error(i(461)), Nt = !1;
28543  function Dt(n, a, o, u) {
28544    a.child = n === null ? M2(a, null, o, u) : Hi(
28545      a,
28546      n.child,
28547      o,
28548      u
28549    );
28550  }
28551  function xv(n, a, o, u, c) {
28552    o = o.render;
28553    var d = a.ref;
28554    if ("ref" in u) {
28555      var y = {};
28556      for (var O in u)
28557        O !== "ref" && (y[O] = u[O]);
28558    } else y = u;
28559    return Li(a), u = q0(
28560      n,
28561      a,
28562      o,
28563      y,
28564      d,
28565      c
28566    ), O = G0(), n !== null && !Nt ? (Y0(n, a, c), ca(n, a, c)) : (xe && O && of(a), a.flags |= 1, Dt(n, a, u, c), a.child);
28567  }
28568  function Rv(n, a, o, u, c) {
28569    if (n === null) {
28570      var d = o.type;
28571      return typeof d == "function" && !C0(d) && d.defaultProps === void 0 && o.compare === null ? (a.tag = 15, a.type = d, Dv(
28572        n,
28573        a,
28574        d,
28575        u,
28576        c
28577      )) : (n = rf(
28578        o.type,
28579        null,
28580        u,
28581        a,
28582        a.mode,
28583        c
28584      ), n.ref = a.ref, n.return = a, a.child = n);
28585    }
28586    if (d = n.child, !ym(n, c)) {
28587      var y = d.memoizedProps;
28588      if (o = o.compare, o = o !== null ? o : Ou, o(y, u) && n.ref === a.ref)
28589        return ca(n, a, c);
28590    }
28591    return a.flags |= 1, n = aa(d, u), n.ref = a.ref, n.return = a, a.child = n;
28592  }
28593  function Dv(n, a, o, u, c) {
28594    if (n !== null) {
28595      var d = n.memoizedProps;
28596      if (Ou(d, u) && n.ref === a.ref)
28597        if (Nt = !1, a.pendingProps = u = d, ym(n, c))
28598          (n.flags & 131072) !== 0 && (Nt = !0);
28599        else
28600          return a.lanes = n.lanes, ca(n, a, c);
28601    }
28602    return cm(
28603      n,
28604      a,
28605      o,
28606      u,
28607      c
28608    );
28609  }
28610  function Mv(n, a, o, u) {
28611    var c = u.children, d = n !== null ? n.memoizedState : null;
28612    if (n === null && a.stateNode === null && (a.stateNode = {
28613      _visibility: 1,
28614      _pendingMarkers: null,
28615      _retryCache: null,
28616      _transitions: null
28617    }), u.mode === "hidden") {
28618      if ((a.flags & 128) !== 0) {
28619        if (d = d !== null ? d.baseLanes | o : o, n !== null) {
28620          for (u = a.child = n.child, c = 0; u !== null; )
28621            c = c | u.lanes | u.childLanes, u = u.sibling;
28622          u = c & ~d;
28623        } else u = 0, a.child = null;
28624        return Iv(
28625          n,
28626          a,
28627          d,
28628          o,
28629          u
28630        );
28631      }
28632      if ((o & 536870912) !== 0)
28633        a.memoizedState = { baseLanes: 0, cachePool: null }, n !== null && ff(
28634          a,
28635          d !== null ? d.cachePool : null
28636        ), d !== null ? k2(a, d) : j0(), L2(a);
28637      else
28638        return u = a.lanes = 536870912, Iv(
28639          n,
28640          a,
28641          d !== null ? d.baseLanes | o : o,
28642          o,
28643          u
28644        );
28645    } else
28646      d !== null ? (ff(a, d.cachePool), k2(a, d), Ya(), a.memoizedState = null) : (n !== null && ff(a, null), j0(), Ya());
28647    return Dt(n, a, c, o), a.child;
28648  }
28649  function Fu(n, a) {
28650    return n !== null && n.tag === 22 || a.stateNode !== null || (a.stateNode = {
28651      _visibility: 1,
28652      _pendingMarkers: null,
28653      _retryCache: null,
28654      _transitions: null
28655    }), a.sibling;
28656  }
28657  function Iv(n, a, o, u, c) {
28658    var d = I0();
28659    return d = d === null ? null : { parent: wt._currentValue, pool: d }, a.memoizedState = {
28660      baseLanes: o,
28661      cachePool: d
28662    }, n !== null && ff(a, null), j0(), L2(a), n !== null && ki(n, a, u, !0), a.childLanes = c, null;
28663  }
28664  function Af(n, a) {
28665    return a = _f(
28666      { mode: a.mode, children: a.children },
28667      n.mode
28668    ), a.ref = n.ref, n.child = a, a.return = n, a;
28669  }
28670  function Pv(n, a, o) {
28671    return Hi(a, n.child, null, o), n = Af(a, a.pendingProps), n.flags |= 2, kn(a), a.memoizedState = null, n;
28672  }
28673  function kT(n, a, o) {
28674    var u = a.pendingProps, c = (a.flags & 128) !== 0;
28675    if (a.flags &= -129, n === null) {
28676      if (xe) {
28677        if (u.mode === "hidden")
28678          return n = Af(a, u), a.lanes = 536870912, n.memoizedState = { baseLanes: 0, cachePool: null }, Fu(null, n);
28679        if (H0(a), (n = lt) ? (n = lb(
28680          n,
28681          rr
28682        ), n = n !== null && n.data === "&" ? n : null, n !== null && (a.memoizedState = {
28683          dehydrated: n,
28684          treeContext: La !== null ? { id: Lr, overflow: zr }
vendor: 9,840 bytes, lines 28684-28910
28684 : null,
28685          retryLane: 536870912,
28686          hydrationErrors: null
28687        }, o = v2(n), o.return = a, a.child = o, Ut = a, lt = null)) : n = null, n === null) throw Ua(a);
28688        return a.lanes = 536870912, null;
28689      }
28690      return Af(a, u);
28691    }
28692    var d = n.memoizedState;
28693    if (d !== null) {
28694      var y = d.dehydrated;
28695      if (H0(a), c)
28696        if (a.flags & 256)
28697          a.flags &= -257, a = Pv(
28698            n,
28699            a,
28700            o
28701          );
28702        else if (a.memoizedState !== null)
28703          a.child = n.child, a.flags |= 128, a = null;
28704        else throw Error(i(558));
28705      else if (Nt || ki(n, a, o, !1), c = (o & n.childLanes) !== 0, Nt || c) {
28706        if (qa.current === null) {
28707          if (u = at, u !== null && (y = mu(u, o), y !== 0 && y !== d.retryLane))
28708            throw d.retryLane = y, Di(n, y), On(u, n, y), sm;
28709          Zf();
28710        }
28711        a = Pv(
28712          n,
28713          a,
28714          o
28715        );
28716      } else
28717        n = d.treeContext, lt = ir(y.nextSibling), Ut = a, xe = !0, za = null, rr = !1, n !== null && $2(a, n), a = Af(a, u), a.flags |= 134221824;
28718      return a;
28719    }
28720    return n = aa(n.child, {
28721      mode: u.mode,
28722      children: u.children
28723    }), n.ref = a.ref, a.child = n, n.return = a, n;
28724  }
28725  function Qo(n, a) {
28726    var o = a.ref;
28727    if (o === null)
28728      n !== null && n.ref !== null && (a.flags |= 4194816);
28729    else {
28730      if (typeof o != "function" && typeof o != "object")
28731        throw Error(i(284));
28732      (n === null || n.ref !== o) && (a.flags |= 4194816);
28733    }
28734  }
28735  function cm(n, a, o, u, c) {
28736    return Li(a), o = q0(
28737      n,
28738      a,
28739      o,
28740      u,
28741      void 0,
28742      c
28743    ), u = G0(), n !== null && !Nt ? (Y0(n, a, c), ca(n, a, c)) : (xe && u && of(a), a.flags |= 1, Dt(n, a, o, c), a.child);
28744  }
28745  function kv(n, a, o, u, c, d) {
28746    return Li(a), a.updateQueue = null, o = U2(
28747      a,
28748      u,
28749      o,
28750      c
28751    ), z2(n), u = G0(), n !== null && !Nt ? (Y0(n, a, d), ca(n, a, d)) : (xe && u && of(a), a.flags |= 1, Dt(n, a, o, d), a.child);
28752  }
28753  function Lv(n, a, o, u, c) {
28754    if (Li(a), a.stateNode === null) {
28755      var d = Uo, y = o.contextType;
28756      typeof y == "object" && y !== null && (d = Yt(y)), d = new o(u, d), a.memoizedState = d.state !== null && d.state !== void 0 ? d.state : null, d.updater = lm, a.stateNode = d, d._reactInternals = a, d = a.stateNode, d.props = u, d.state = a.memoizedState, d.refs = {}, k0(a), y = o.contextType, d.context = typeof y == "object" && y !== null ? Yt(y) : Uo, d.state = a.memoizedState, y = o.getDerivedStateFromProps, typeof y == "function" && (om(
28757        a,
28758        o,
28759        y,
28760        u
28761      ), d.state = a.memoizedState), typeof o.getDerivedStateFromProps == "function" || typeof d.getSnapshotBeforeUpdate == "function" || typeof d.UNSAFE_componentWillMount != "function" && typeof d.componentWillMount != "function" || (y = d.state, typeof d.componentWillMount == "function" && d.componentWillMount(), typeof d.UNSAFE_componentWillMount == "function" && d.UNSAFE_componentWillMount(), y !== d.state && lm.enqueueReplaceState(d, d.state, null), ku(a, u, d, c), Pu(), d.state = a.memoizedState), typeof d.componentDidMount == "function" && (a.flags |= 4194308), u = !0;
28762    } else if (n === null) {
28763      d = a.stateNode;
28764      var O = a.memoizedProps, P = Bi(o, O);
28765      d.props = P;
28766      var H = d.context, Q = o.contextType;
28767      y = Uo, typeof Q == "object" && Q !== null && (y = Yt(Q));
28768      var J = o.getDerivedStateFromProps;
28769      Q = typeof J == "function" || typeof d.getSnapshotBeforeUpdate == "function", O = a.pendingProps !== O, Q || typeof d.UNSAFE_componentWillReceiveProps != "function" && typeof d.componentWillReceiveProps != "function" || (O || H !== y) && Tv(
28770        a,
28771        d,
28772        u,
28773        y
28774      ), Ha = !1;
28775      var j = a.memoizedState;
28776      d.state = j, ku(a, u, d, c), Pu(), H = a.memoizedState, O || j !== H || Ha ? (typeof J == "function" && (om(
28777        a,
28778        o,
28779        J,
28780        u
28781      ), H = a.memoizedState), (P = Ha || Ev(
28782        a,
28783        o,
28784        P,
28785        u,
28786        j,
28787        H,
28788        y
28789      )) ? (Q || typeof d.UNSAFE_componentWillMount != "function" && typeof d.componentWillMount != "function" || (typeof d.componentWillMount == "function" && d.componentWillMount(), typeof d.UNSAFE_componentWillMount == "function" && d.UNSAFE_componentWillMount()), typeof d.componentDidMount == "function" && (a.flags |= 4194308)) : (typeof d.componentDidMount == "function" && (a.flags |= 4194308), a.memoizedProps = u, a.memoizedState = H), d.props = u, d.state = H, d.context = y, u = P) : (typeof d.componentDidMount == "function" && (a.flags |= 4194308), u = !1);
28790    } else {
28791      d = a.stateNode, L0(n, a), y = a.memoizedProps, Q = Bi(o, y), d.props = Q, J = a.pendingProps, j = d.context, H = o.contextType, P = Uo, typeof H == "object" && H !== null && (P = Yt(H)), O = o.getDerivedStateFromProps, (H = typeof O == "function" || typeof d.getSnapshotBeforeUpdate == "function") || typeof d.UNSAFE_componentWillReceiveProps != "function" && typeof d.componentWillReceiveProps != "function" || (y !== J || j !== P) && Tv(
28792        a,
28793        d,
28794        u,
28795        P
28796      ), Ha = !1, j = a.memoizedState, d.state = j, ku(a, u, d, c), Pu();
28797      var Y = a.memoizedState;
28798      y !== J || j !== Y || Ha || n !== null && n.dependencies !== null && sf(n.dependencies) ? (typeof O == "function" && (om(
28799        a,
28800        o,
28801        O,
28802        u
28803      ), Y = a.memoizedState), (Q = Ha || Ev(
28804        a,
28805        o,
28806        Q,
28807        u,
28808        j,
28809        Y,
28810        P
28811      ) || n !== null && n.dependencies !== null && sf(n.dependencies)) ? (H || typeof d.UNSAFE_componentWillUpdate != "function" && typeof d.componentWillUpdate != "function" || (typeof d.componentWillUpdate == "function" && d.componentWillUpdate(u, Y, P), typeof d.UNSAFE_componentWillUpdate == "function" && d.UNSAFE_componentWillUpdate(
28812        u,
28813        Y,
28814        P
28815      )), typeof d.componentDidUpdate == "function" && (a.flags |= 4), typeof d.getSnapshotBeforeUpdate == "function" && (a.flags |= 1024)) : (typeof d.componentDidUpdate != "function" || y === n.memoizedProps && j === n.memoizedState || (a.flags |= 4), typeof d.getSnapshotBeforeUpdate != "function" || y === n.memoizedProps && j === n.memoizedState || (a.flags |= 1024), a.memoizedProps = u, a.memoizedState = Y), d.props = u, d.state = Y, d.context = P, u = Q) : (typeof d.componentDidUpdate != "function" || y === n.memoizedProps && j === n.memoizedState || (a.flags |= 4), typeof d.getSnapshotBeforeUpdate != "function" || y === n.memoizedProps && j === n.memoizedState || (a.flags |= 1024), u = !1);
28816    }
28817    return d = u, Qo(n, a), u = (a.flags & 128) !== 0, d || u ? (d = a.stateNode, o = u && typeof o.getDerivedStateFromError != "function" ? null : d.render(), a.flags |= 1, n !== null && u ? (a.child = Hi(
28818      a,
28819      n.child,
28820      null,
28821      c
28822    ), a.child = Hi(
28823      a,
28824      null,
28825      o,
28826      c
28827    )) : Dt(n, a, o, c), a.memoizedState = d.state, n = a.child) : n = ca(
28828      n,
28829      a,
28830      c
28831    ), n;
28832  }
28833  function zv(n, a, o, u) {
28834    return Ii(), a.flags |= 256, Dt(n, a, o, u), a.child;
28835  }
28836  var fm = {
28837    dehydrated: null,
28838    treeContext: null,
28839    retryLane: 0,
28840    hydrationErrors: null
28841  };
28842  function dm(n) {
28843    return { baseLanes: n, cachePool: N2() };
28844  }
28845  function hm(n, a, o) {
28846    return n = n !== null ? n.childLanes & ~o : 0, a && (n |= Un), n;
28847  }
28848  function Uv(n, a, o) {
28849    var u = a.pendingProps, c = !1, d = (a.flags & 128) !== 0, y;
28850    if ((y = d) || (y = n !== null && n.memoizedState === null ? !1 : (Qt.current & 2) !== 0), y && (c = !0, a.flags &= -129), y = (a.flags & 32) !== 0, a.flags &= -33, n === null) {
28851      if (xe) {
28852        if (c ? Ga(a) : Ya(), (n = lt) ? (n = lb(
28853          n,
28854          rr
28855        ), n = n !== null && n.data !== "&" ? n : null, n !== null && (a.memoizedState = {
28856          dehydrated: n,
28857          treeContext: La !== null ? { id: Lr, overflow: zr } : null,
28858          retryLane: 536870912,
28859          hydrationErrors: null
28860        }, o = v2(n), o.return = a, a.child = o, Ut = a, lt = null)) : n = null, n === null) throw Ua(a);
28861        return d1(n) ? a.lanes = 32 : a.lanes = 536870912, null;
28862      }
28863      return d = u.children, u = u.fallback, c ? (Ya(), c = a.mode, d = _f(
28864        { mode: "hidden", children: d },
28865        c
28866      ), u = Mi(
28867        u,
28868        c,
28869        o,
28870        null
28871      ), d.return = a, u.return = a, d.sibling = u, a.child = d, u = a.child, u.memoizedState = dm(o), u.childLanes = hm(
28872        n,
28873        y,
28874        o
28875      ), a.memoizedState = fm, Fu(null, u)) : (Ga(a), mm(a, d));
28876    }
28877    var O = n.memoizedState;
28878    if (O !== null) {
28879      var P = O.dehydrated;
28880      if (P !== null)
28881        return LT(
28882          n,
28883          a,
28884          d,
28885          y,
28886          u,
28887          P,
28888          O,
28889          o
28890        );
28891    }
28892    return c ? (Ya(), c = u.fallback, d = a.mode, O = n.child, P = O.sibling, u = aa(O, {
28893      mode: "hidden",
28894      children: u.children
28895    }), u.subtreeFlags = O.subtreeFlags & 1206910976, P !== null ? c = aa(P, c) : (c = Mi(
28896      c,
28897      d,
28898      o,
28899      null
28900    ), c.flags |= 2), c.return = a, u.return = a, u.sibling = c, a.child = u, Fu(null, u), u = a.child, c = n.child.memoizedState, c === null ? c = dm(o) : (d = c.cachePool, d !== null ? (O = wt._currentValue, d = d.parent !== O ? { parent: O, pool: O } : d) : d = N2(), c = {
28901      baseLanes: c.baseLanes | o,
28902      cachePool: d
28903    }), u.memoizedState = c, u.childLanes = hm(
28904      n,
28905      y,
28906      o
28907    ), a.memoizedState = fm, Fu(n.child, u)) : (Ga(a), o = n.child, n = o.sibling, o = aa(o, {
28908      mode: "visible",
28909      children: u.children
28910    }), o.return = a, o.sibling = null, n !== null && (y = a.deletions, y === null ? (a.deleti
vendor: 16,384 bytes, lines 28910-29502
28910ons = [n], a.flags |= 16) : y.push(n)), a.child = o, a.memoizedState = null, o);
28911  }
28912  function mm(n, a) {
28913    return a = _f(
28914      { mode: "visible", children: a },
28915      n.mode
28916    ), a.return = n, n.child = a;
28917  }
28918  function _f(n, a) {
28919    return n = En(22, n, null, a), n.lanes = 0, n;
28920  }
28921  function xf(n, a, o) {
28922    return Hi(a, n.child, null, o), n = mm(
28923      a,
28924      a.pendingProps.children
28925    ), n.flags |= 2, a.memoizedState = null, n;
28926  }
28927  function LT(n, a, o, u, c, d, y, O) {
28928    if (o)
28929      return a.flags & 256 ? (Ga(a), a.flags &= -257, xf(
28930        n,
28931        a,
28932        O
28933      )) : a.memoizedState !== null ? (Ya(), a.child = n.child, a.flags |= 128, null) : (Ya(), d = c.fallback, y = a.mode, c = _f(
28934        { mode: "visible", children: c.children },
28935        y
28936      ), d = Mi(
28937        d,
28938        y,
28939        O,
28940        null
28941      ), d.flags |= 2, c.return = a, d.return = a, c.sibling = d, a.child = c, Hi(a, n.child, null, O), c = a.child, c.memoizedState = dm(O), c.childLanes = hm(
28942        n,
28943        u,
28944        O
28945      ), a.memoizedState = fm, Fu(null, c));
28946    if (Ga(a), d1(d)) {
28947      if (u = d.nextSibling && d.nextSibling.dataset, u) var P = u.dgst;
28948      return u = P, u !== "" && (c = Error(i(419)), c.stack = "", c.digest = u, _u({ value: c, source: null, stack: null })), xf(
28949        n,
28950        a,
28951        O
28952      );
28953    }
28954    if (Nt || ki(n, a, O, !1), u = (O & n.childLanes) !== 0, Nt || u) {
28955      if (qa.current !== null)
28956        return xf(
28957          n,
28958          a,
28959          O
28960        );
28961      if (u = at, u !== null && (c = mu(
28962        u,
28963        O
28964      ), c !== 0 && c !== y.retryLane))
28965        throw y.retryLane = c, Di(n, c), On(u, n, c), sm;
28966      return f1(d) || Zf(), xf(
28967        n,
28968        a,
28969        O
28970      );
28971    }
28972    return f1(d) ? (a.flags |= 192, a.child = n.child, null) : (n = y.treeContext, lt = ir(d.nextSibling), Ut = a, xe = !0, za = null, rr = !1, n !== null && $2(a, n), a = mm(
28973      a,
28974      c.children
28975    ), a.flags |= 134221824, a);
28976  }
28977  function jv(n, a, o) {
28978    n.lanes |= a;
28979    var u = n.alternate;
28980    u !== null && (u.lanes |= a), uf(n.return, a, o);
28981  }
28982  function Fv(n) {
28983    for (var a = null; n !== null; ) {
28984      var o = n.alternate;
28985      o !== null && yf(o) === null && (a = n), n = n.sibling;
28986    }
28987    return a;
28988  }
28989  function Rf(n, a, o, u, c, d) {
28990    var y = n.memoizedState;
28991    y === null ? n.memoizedState = {
28992      isBackwards: a,
28993      rendering: null,
28994      renderingStartTime: 0,
28995      last: u,
28996      tail: o,
28997      tailMode: c,
28998      treeForkCount: d
28999    } : (y.isBackwards = a, y.rendering = null, y.renderingStartTime = 0, y.last = u, y.tail = o, y.tailMode = c, y.treeForkCount = d);
29000  }
29001  function gm(n) {
29002    var a = n.child;
29003    for (n.child = null; a !== null; ) {
29004      var o = a.sibling;
29005      a.sibling = n.child, n.child = a, a = o;
29006    }
29007  }
29008  function pm(n, a, o) {
29009    var u = a.pendingProps, c = u.revealOrder, d = u.tail;
29010    u = u.children;
29011    var y = Qt.current;
29012    if (a.flags & 128)
29013      return Lu(a, y), null;
29014    var O = (y & 2) !== 0;
29015    if (O ? (y = y & 1 | 2, a.flags |= 128) : y &= 1, Lu(a, y), c === "backwards" && n !== null ? (gm(n), Dt(n, a, u, o), gm(n)) : Dt(n, a, u, o), u = xe ? Au : 0, !O && n !== null && (n.flags & 128) !== 0)
29016      e: for (n = a.child; n !== null; ) {
29017        if (n.tag === 13)
29018          n.memoizedState !== null && jv(n, o, a);
29019        else if (n.tag === 19)
29020          jv(n, o, a);
29021        else if (n.child !== null) {
29022          n.child.return = n, n = n.child;
29023          continue;
29024        }
29025        if (n === a) break e;
29026        for (; n.sibling === null; ) {
29027          if (n.return === null || n.return === a)
29028            break e;
29029          n = n.return;
29030        }
29031        n.sibling.return = n.return, n = n.sibling;
29032      }
29033    switch (c) {
29034      case "backwards":
29035        o = Fv(a.child), o === null ? (c = a.child, a.child = null) : (c = o.sibling, o.sibling = null, gm(a)), Rf(
29036          a,
29037          !0,
29038          c,
29039          null,
29040          d,
29041          u
29042        );
29043        break;
29044      case "unstable_legacy-backwards":
29045        for (o = null, c = a.child, a.child = null; c !== null; ) {
29046          if (n = c.alternate, n !== null && yf(n) === null) {
29047            a.child = c;
29048            break;
29049          }
29050          n = c.sibling, c.sibling = o, o = c, c = n;
29051        }
29052        Rf(
29053          a,
29054          !0,
29055          o,
29056          null,
29057          d,
29058          u
29059        );
29060        break;
29061      case "together":
29062        Rf(
29063          a,
29064          !1,
29065          null,
29066          null,
29067          void 0,
29068          u
29069        );
29070        break;
29071      case "independent":
29072        a.memoizedState = null;
29073        break;
29074      default:
29075        o = Fv(a.child), o === null ? (c = a.child, a.child = null) : (c = o.sibling, o.sibling = null), Rf(
29076          a,
29077          !1,
29078          c,
29079          o,
29080          d,
29081          u
29082        );
29083    }
29084    return a.child;
29085  }
29086  function Hv(n, a, o) {
29087    var u = a.pendingProps;
29088    return ja(a, a.type, u.value), Dt(n, a, u.children, o), a.child;
29089  }
29090  function ca(n, a, o) {
29091    if (n !== null && (a.dependencies = n.dependencies), Xa |= a.lanes, (o & a.childLanes) === 0)
29092      if (n !== null) {
29093        if (ki(
29094          n,
29095          a,
29096          o,
29097          !1
29098        ), (o & a.childLanes) === 0)
29099          return null;
29100      } else return null;
29101    if (n !== null && a.child !== n.child)
29102      throw Error(i(153));
29103    if (a.child !== null) {
29104      for (n = a.child, o = aa(n, n.pendingProps), a.child = o, o.return = a; n.sibling !== null; )
29105        n = n.sibling, o = o.sibling = aa(n, n.pendingProps), o.return = a;
29106      o.sibling = null;
29107    }
29108    return a.child;
29109  }
29110  function ym(n, a) {
29111    return (n.lanes & a) !== 0 ? !0 : (n = n.dependencies, !!(n !== null && sf(n)));
29112  }
29113  function zT(n, a, o) {
29114    switch (a.tag) {
29115      case 3:
29116        Si(a, a.stateNode.containerInfo), ja(a, wt, n.memoizedState.cache), Ii();
29117        break;
29118      case 27:
29119      case 5:
29120        To(a);
29121        break;
29122      case 4:
29123        Si(a, a.stateNode.containerInfo);
29124        break;
29125      case 10:
29126        ja(
29127          a,
29128          a.type,
29129          a.memoizedProps.value
29130        );
29131        break;
29132      case 31:
29133        if (a.memoizedState !== null)
29134          return a.flags |= 128, H0(a), null;
29135        break;
29136      case 13:
29137        var u = a.memoizedState;
29138        if (u !== null) {
29139          if (u.dehydrated !== null)
29140            return Ga(a), a.flags |= 128, null;
29141          u = ki(
29142            n,
29143            a,
29144            o,
29145            !1
29146          );
29147          var c = a.child.childLanes;
29148          return u || (o & c) !== 0 ? Uv(n, a, o) : (Ga(a), n = ca(
29149            n,
29150            a,
29151            o
29152          ), n !== null ? n.sibling : null);
29153        }
29154        Ga(a);
29155        break;
29156      case 19:
29157        if (a.flags & 128)
29158          return pm(
29159            n,
29160            a,
29161            o
29162          );
29163        if (c = (n.flags & 128) !== 0, u = (o & a.childLanes) !== 0, u || (ki(
29164          n,
29165          a,
29166          o,
29167          !1
29168        ), u = (o & a.childLanes) !== 0), c) {
29169          if (u)
29170            return pm(
29171              n,
29172              a,
29173              o
29174            );
29175          a.flags |= 128;
29176        }
29177        if (c = a.memoizedState, c !== null && (c.rendering = null, c.tail = null, c.lastEffect = null), Lu(a, Qt.current), u) break;
29178        return null;
29179      case 22:
29180        return a.lanes = 0, Mv(
29181          n,
29182          a,
29183          o,
29184          a.pendingProps
29185        );
29186      case 24:
29187        ja(a, wt, n.memoizedState.cache);
29188    }
29189    return ca(n, a, o);
29190  }
29191  function Vv(n, a, o) {
29192    if (n !== null)
29193      if (n.memoizedProps !== a.pendingProps)
29194        Nt = !0;
29195      else {
29196        if (!ym(n, o) && (a.flags & 128) === 0)
29197          return Nt = !1, zT(
29198            n,
29199            a,
29200            o
29201          );
29202        Nt = (n.flags & 131072) !== 0;
29203      }
29204    else
29205      Nt = !1, xe && (a.flags & 1048576) !== 0 && S2(a, Au, a.index);
29206    switch (a.lanes = 0, a.tag) {
29207      case 16:
29208        e: {
29209          var u = a.pendingProps;
29210          if (n = ji(a.elementType), a.type = n, typeof n == "function")
29211            C0(n) ? (u = Bi(n, u), a.tag = 1, a = Lv(
29212              null,
29213              a,
29214              n,
29215              u,
29216              o
29217            )) : (a.tag = 0, a = cm(
29218              null,
29219              a,
29220              n,
29221              u,
29222              o
29223            ));
29224          else {
29225            if (n != null) {
29226              var c = n.$$typeof;
29227              if (c === Z) {
29228                a.tag = 11, a = xv(
29229                  null,
29230                  a,
29231                  n,
29232                  u,
29233                  o
29234                );
29235                break e;
29236              } else if (c === ee) {
29237                a.tag = 14, a = Rv(
29238                  null,
29239                  a,
29240                  n,
29241                  u,
29242                  o
29243                );
29244                break e;
29245              } else if (c === K) {
29246                a.tag = 10, a.type = n, a = Hv(
29247                  null,
29248                  a,
29249                  o
29250                );
29251                break e;
29252              }
29253            }
29254            throw a = we(n) || n, Error(i(306, a, ""));
29255          }
29256        }
29257        return a;
29258      case 0:
29259        return cm(
29260          n,
29261          a,
29262          a.type,
29263          a.pendingProps,
29264          o
29265        );
29266      case 1:
29267        return u = a.type, c = Bi(
29268          u,
29269          a.pendingProps
29270        ), Lv(
29271          n,
29272          a,
29273          u,
29274          c,
29275          o
29276        );
29277      case 3:
29278        e: {
29279          if (Si(
29280            a,
29281            a.stateNode.containerInfo
29282          ), n === null) throw Error(i(387));
29283          u = a.pendingProps;
29284          var d = a.memoizedState;
29285          c = d.element, L0(n, a), ku(a, u, null, o);
29286          var y = a.memoizedState;
29287          if (u = y.cache, ja(a, wt, u), u !== d.cache && R0(
29288            a,
29289            [wt],
29290            o,
29291            !0
29292          ), Pu(), u = y.element, d.isDehydrated)
29293            if (d = {
29294              element: u,
29295              isDehydrated: !1,
29296              cache: y.cache
29297            }, a.updateQueue.baseState = d, a.memoizedState = d, a.flags & 256) {
29298              a = zv(
29299                n,
29300                a,
29301                u,
29302                o
29303              );
29304              break e;
29305            } else if (u !== c) {
29306              c = er(
29307                Error(i(424)),
29308                a
29309              ), _u(c), a = zv(
29310                n,
29311                a,
29312                u,
29313                o
29314              );
29315              break e;
29316            } else
29317              for (n = a.stateNode.containerInfo, n.nodeType === 9 ? n = n.body : n = n.nodeName === "HTML" ? n.ownerDocument.body : n, lt = ir(n.firstChild), Ut = a, xe = !0, za = null, rr = !0, o = M2(
29318                a,
29319                null,
29320                u,
29321                o
29322              ), a.child = o; o; )
29323                o.flags = o.flags & -3 | 134221824, o = o.sibling;
29324          else {
29325            if (Ii(), u === c) {
29326              a = ca(
29327                n,
29328                a,
29329                o
29330              );
29331              break e;
29332            }
29333            Dt(n, a, u, o);
29334          }
29335          a = a.child;
29336        }
29337        return a;
29338      case 26:
29339        return Qo(n, a), n === null ? (o = mb(
29340          a.type,
29341          null,
29342          a.pendingProps,
29343          null
29344        )) ? a.memoizedState = o : xe || (a.stateNode = Y3(
29345          a.type,
29346          a.pendingProps,
29347          Sn.current,
29348          a
29349        )) : a.memoizedState = mb(
29350          a.type,
29351          n.memoizedProps,
29352          a.pendingProps,
29353          n.memoizedState
29354        ), null;
29355      case 27:
29356        return To(a), n === null && xe && (u = a.stateNode = cb(
29357          a.type,
29358          a.pendingProps,
29359          Sn.current
29360        ), Ut = a, rr = !0, c = lt, ti(a.type) ? (h1 = c, lt = ir(u.firstChild)) : lt = c), Dt(
29361          n,
29362          a,
29363          a.pendingProps.children,
29364          o
29365        ), Qo(n, a), n === null && (a.flags |= 4194304), a.child;
29366      case 5:
29367        return n === null && xe && ((c = u = lt) && (u = DC(
29368          u,
29369          a.type,
29370          a.pendingProps,
29371          rr
29372        ), u !== null ? (a.stateNode = u, Ut = a, lt = ir(u.firstChild), rr = !1, c = !0) : c = !1), c || Ua(a)), To(a), c = a.type, d = a.pendingProps, y = n !== null ? n.memoizedProps : null, u = d.children, a1(c, d) ? u = null : y !== null && a1(c, y) && (a.flags |= 32), a.memoizedState !== null && (c = q0(
29373          n,
29374          a,
29375          NT,
29376          null,
29377          null,
29378          o
29379        ), hl._currentValue = c), Qo(n, a), Dt(n, a, u, o), a.child;
29380      case 6:
29381        return n === null && xe && ((n = o = lt) && (o = MC(
29382          o,
29383          a.pendingProps,
29384          rr
29385        ), o !== null ? (a.stateNode = o, Ut = a, lt = null, n = !0) : n = !1), n || Ua(a)), null;
29386      case 13:
29387        return Uv(n, a, o);
29388      case 4:
29389        return Si(
29390          a,
29391          a.stateNode.containerInfo
29392        ), u = a.pendingProps, n === null ? a.child = Hi(
29393          a,
29394          null,
29395          u,
29396          o
29397        ) : Dt(n, a, u, o), a.child;
29398      case 11:
29399        return xv(
29400          n,
29401          a,
29402          a.type,
29403          a.pendingProps,
29404          o
29405        );
29406      case 7:
29407        return u = a.pendingProps, Qo(n, a), Dt(n, a, u, o), a.child;
29408      case 8:
29409        return Dt(
29410          n,
29411          a,
29412          a.pendingProps.children,
29413          o
29414        ), a.child;
29415      case 12:
29416        return Dt(
29417          n,
29418          a,
29419          a.pendingProps.children,
29420          o
29421        ), a.child;
29422      case 10:
29423        return Hv(n, a, o);
29424      case 9:
29425        return c = a.type._context, u = a.pendingProps.children, Li(a), c = Yt(c), u = u(c), a.flags |= 1, Dt(n, a, u, o), a.child;
29426      case 14:
29427        return Rv(
29428          n,
29429          a,
29430          a.type,
29431          a.pendingProps,
29432          o
29433        );
29434      case 15:
29435        return Dv(
29436          n,
29437          a,
29438          a.type,
29439          a.pendingProps,
29440          o
29441        );
29442      case 19:
29443        return pm(n, a, o);
29444      case 31:
29445        return kT(n, a, o);
29446      case 22:
29447        return Mv(
29448          n,
29449          a,
29450          o,
29451          a.pendingProps
29452        );
29453      case 24:
29454        return Li(a), u = Yt(wt), n === null ? (c = I0(), c === null && (c = at, d = D0(), c.pooledCache = d, d.refCount++, d !== null && (c.pooledCacheLanes |= o), c = d), a.memoizedState = { parent: u, cache: c }, k0(a), ja(a, wt, c)) : ((n.lanes & o) !== 0 && (L0(n, a), ku(a, null, null, o), Pu()), c = n.memoizedState, d = a.memoizedState, c.parent !== u ? (c = { parent: u, cache: u }, a.memoizedState = c, a.lanes === 0 && (a.memoizedState = a.updateQueue.baseState = c), ja(a, wt, u)) : (u = d.cache, ja(a, wt, u), u !== c.cache && R0(
29455          a,
29456          [wt],
29457          o,
29458          !0
29459        ))), Dt(
29460          n,
29461          a,
29462          a.pendingProps.children,
29463          o
29464        ), a.child;
29465      case 30:
29466        return a.stateNode === null && (a.stateNode = {
29467          autoName: null,
29468          paired: null,
29469          clones: null,
29470          ref: null
29471        }), u = a.pendingProps, u.name != null && u.name !== "auto" ? a.flags |= n === null ? 18882560 : 18874368 : xe && of(a), n !== null && n.memoizedProps.name !== u.name ? a.flags |= 4194816 : Qo(n, a), Dt(n, a, u.children, o), a.child;
29472      case 29:
29473        throw a.pendingProps;
29474    }
29475    throw Error(i(156, a.tag));
29476  }
29477  function fa(n) {
29478    n.flags |= 4;
29479  }
29480  function vm(n, a, o, u, c) {
29481    var d;
29482    if ((d = (n.mode & 32) !== 0) && (d = o === null ? vb(a, u) : vb(a, u) && (u.src !== o.src || u.srcSet !== o.srcSet)), d) {
29483      if (n.flags |= 16777216, (c & 335544128) === c)
29484        if (n.stateNode.complete) n.flags |= 8192;
29485        else if (C3()) n.flags |= 8192;
29486        else
29487          throw Fi = hf, P0;
29488    } else n.flags &= -16777217;
29489  }
29490  function Bv(n, a) {
29491    if (a.type !== "stylesheet" || (a.state.loading & 4) !== 0)
29492      n.flags &= -16777217;
29493    else if (n.flags |= 16777216, !bb(a))
29494      if (C3()) n.flags |= 8192;
29495      else
29496        throw Fi = hf, P0;
29497  }
29498  function Df(n, a) {
29499    a !== null && (n.flags |= 4), n.flags & 16384 && (a = n.tag !== 22 ? Uc() : 536870912, n.lanes |= a, el |= a);
29500  }
29501  function Hu(n, a) {
29502    if (!xe)
vendor: 6,842 bytes, lines 29503-29692
29503      switch (n.tailMode) {
29504        case "visible":
29505          break;
29506        case "collapsed":
29507          for (var o = n.tail, u = null; o !== null; )
29508            o.alternate !== null && (u = o), o = o.sibling;
29509          u === null ? a || n.tail === null ? n.tail = null : n.tail.sibling = null : u.sibling = null;
29510          break;
29511        default:
29512          for (a = n.tail, o = null; a !== null; )
29513            a.alternate !== null && (o = a), a = a.sibling;
29514          o === null ? n.tail = null : o.sibling = null;
29515      }
29516  }
29517  function ut(n) {
29518    var a = n.alternate !== null && n.alternate.child === n.child, o = 0, u = 0;
29519    if (a)
29520      for (var c = n.child; c !== null; )
29521        o |= c.lanes | c.childLanes, u |= c.subtreeFlags & 1206910976, u |= c.flags & 1206910976, c.return = n, c = c.sibling;
29522    else
29523      for (c = n.child; c !== null; )
29524        o |= c.lanes | c.childLanes, u |= c.subtreeFlags, u |= c.flags, c.return = n, c = c.sibling;
29525    return n.subtreeFlags |= u, n.childLanes = o, a;
29526  }
29527  function UT(n, a, o) {
29528    var u = a.pendingProps;
29529    switch (N0(a), a.tag) {
29530      case 16:
29531      case 15:
29532      case 0:
29533      case 11:
29534      case 7:
29535      case 8:
29536      case 12:
29537      case 9:
29538      case 14:
29539        return ut(a), null;
29540      case 1:
29541        return ut(a), null;
29542      case 3:
29543        return o = a.stateNode, u = null, n !== null && (u = n.memoizedState.cache), a.memoizedState.cache !== u && (a.flags |= 2048), la(wt), _r(), o.pendingContext && (o.context = o.pendingContext, o.pendingContext = null), (n === null || n.child === null) && (Ho(a) ? fa(a) : n === null || n.memoizedState.isDehydrated && (a.flags & 256) === 0 || (a.flags |= 1024, _0())), ut(a), null;
29544      case 26:
29545        var c = a.type, d = a.memoizedState;
29546        return n === null ? (fa(a), d !== null ? (ut(a), Bv(a, d)) : (ut(a), vm(
29547          a,
29548          c,
29549          null,
29550          u,
29551          o
29552        ))) : d ? d !== n.memoizedState ? (fa(a), ut(a), Bv(a, d)) : (ut(a), a.flags &= -16777217) : (n = n.memoizedProps, n !== u && fa(a), ut(a), vm(
29553          a,
29554          c,
29555          n,
29556          u,
29557          o
29558        )), null;
29559      case 27:
29560        if ($i(a), o = Sn.current, c = a.type, n !== null && a.stateNode != null)
29561          n.memoizedProps !== u && fa(a);
29562        else {
29563          if (!u) {
29564            if (a.stateNode === null)
29565              throw Error(i(166));
29566            return ut(a), a.subtreeFlags &= -33554433, null;
29567          }
29568          n = ct.current, Ho(a) ? E2(a) : (n = cb(c, u, o), a.stateNode = n, fa(a));
29569        }
29570        return ut(a), a.subtreeFlags &= -33554433, null;
29571      case 5:
29572        if ($i(a), c = a.type, n !== null && a.stateNode != null)
29573          n.memoizedProps !== u && fa(a);
29574        else {
29575          if (!u) {
29576            if (a.stateNode === null)
29577              throw Error(i(166));
29578            return ut(a), a.subtreeFlags &= -33554433, null;
29579          }
29580          if (d = ct.current, Ho(a))
29581            E2(a);
29582          else {
29583            var y = Ju(
29584              Sn.current
29585            );
29586            switch (d) {
29587              case 1:
29588                d = y.createElementNS(
29589                  "http://www.w3.org/2000/svg",
29590                  c
29591                );
29592                break;
29593              case 2:
29594                d = y.createElementNS(
29595                  "http://www.w3.org/1998/Math/MathML",
29596                  c
29597                );
29598                break;
29599              default:
29600                switch (c) {
29601                  case "svg":
29602                    d = y.createElementNS(
29603                      "http://www.w3.org/2000/svg",
29604                      c
29605                    );
29606                    break;
29607                  case "math":
29608                    d = y.createElementNS(
29609                      "http://www.w3.org/1998/Math/MathML",
29610                      c
29611                    );
29612                    break;
29613                  case "script":
29614                    d = y.createElement("div"), d.innerHTML = "<script><\/script>", d = d.removeChild(
29615                      d.firstChild
29616                    );
29617                    break;
29618                  case "select":
29619                    d = typeof u.is == "string" ? y.createElement("select", {
29620                      is: u.is
29621                    }) : y.createElement("select"), u.multiple ? d.multiple = !0 : u.size && (d.size = u.size);
29622                    break;
29623                  default:
29624                    d = typeof u.is == "string" ? y.createElement(c, { is: u.is }) : y.createElement(c);
29625                }
29626            }
29627            d[ot] = a, d[Bt] = u;
29628            e: for (y = a.child; y !== null; ) {
29629              if (y.tag === 5 || y.tag === 6)
29630                d.appendChild(y.stateNode);
29631              else if (y.tag !== 4 && y.tag !== 27 && y.child !== null) {
29632                y.child.return = y, y = y.child;
29633                continue;
29634              }
29635              if (y === a) break e;
29636              for (; y.sibling === null; ) {
29637                if (y.return === null || y.return === a)
29638                  break e;
29639                y = y.return;
29640              }
29641              y.sibling.return = y.return, y = y.sibling;
29642            }
29643            a.stateNode = d;
29644            e: switch (Xt(d, c, u), c) {
29645              case "button":
29646              case "input":
29647              case "select":
29648              case "textarea":
29649                u = !!u.autoFocus;
29650                break e;
29651              case "img":
29652                u = !0;
29653                break e;
29654              default:
29655                u = !1;
29656            }
29657            u && fa(a);
29658          }
29659        }
29660        return ut(a), a.subtreeFlags &= -33554433, vm(
29661          a,
29662          a.type,
29663          n === null ? null : n.memoizedProps,
29664          a.pendingProps,
29665          o
29666        ), null;
29667      case 6:
29668        if (n && a.stateNode != null)
29669          n.memoizedProps !== u && fa(a);
29670        else {
29671          if (typeof u != "string" && a.stateNode === null)
29672            throw Error(i(166));
29673          if (n = Sn.current, Ho(a)) {
29674            if (n = a.stateNode, o = a.memoizedProps, u = null, c = Ut, c !== null)
29675              switch (c.tag) {
29676                case 27:
29677                case 5:
29678                  u = c.memoizedProps;
29679              }
29680            n[ot] = a, n = !!(n.nodeValue === o || u !== null && u.suppressHydrationWarning === !0 || V3(n.nodeValue, o)), n || Ua(a, !0);
29681          } else
29682            n = Ju(n).createTextNode(
29683              u
29684            ), n[ot] = a, a.stateNode = n;
29685        }
29686        return ut(a), null;
29687      case 31:
29688        if (o = a.memoizedState, n === null || n.memoizedState !== null) {
29689          if (u = Ho(a), o !== null) {
29690            if (n === null) {
29691              if (!u) throw Error(i(318));
29692              if (n = a.memoizedState, n = n !== null ? n.dehydrated : null, !n) throw Error(i(557)
vendor: 5,050 bytes, lines 29692-29782
29692);
29693              n[ot] = a;
29694            } else
29695              Ii(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
29696            ut(a), n = !1;
29697          } else
29698            o = _0(), n !== null && n.memoizedState !== null && (n.memoizedState.hydrationErrors = o), n = !0;
29699          if (!n)
29700            return a.flags & 256 ? (kn(a), a) : (kn(a), null);
29701          if ((a.flags & 128) !== 0)
29702            throw Error(i(558));
29703        }
29704        return ut(a), null;
29705      case 13:
29706        if (u = a.memoizedState, n === null || n.memoizedState !== null && n.memoizedState.dehydrated !== null) {
29707          if (c = Ho(a), u !== null && u.dehydrated !== null) {
29708            if (n === null) {
29709              if (!c) throw Error(i(318));
29710              if (c = a.memoizedState, c = c !== null ? c.dehydrated : null, !c) throw Error(i(317));
29711              c[ot] = a;
29712            } else
29713              Ii(), (a.flags & 128) === 0 && (a.memoizedState = null), a.flags |= 4;
29714            ut(a), c = !1;
29715          } else
29716            c = _0(), n !== null && n.memoizedState !== null && (n.memoizedState.hydrationErrors = c), c = !0;
29717          if (!c)
29718            return a.flags & 256 ? (kn(a), a) : (kn(a), null);
29719        }
29720        return kn(a), (a.flags & 128) !== 0 ? (a.lanes = o, a) : (o = u !== null, n = n !== null && n.memoizedState !== null, o && (u = a.child, c = null, u.alternate !== null && u.alternate.memoizedState !== null && u.alternate.memoizedState.cachePool !== null && (c = u.alternate.memoizedState.cachePool.pool), d = null, u.memoizedState !== null && u.memoizedState.cachePool !== null && (d = u.memoizedState.cachePool.pool), d !== c && (u.flags |= 2048)), o !== n && o && (a.child.flags |= 8192), Df(a, a.updateQueue), ut(a), null);
29721      case 4:
29722        return _r(), n === null && Jm(a.stateNode.containerInfo), a.flags |= 67108864, ut(a), null;
29723      case 10:
29724        return la(a.type), ut(a), null;
29725      case 19:
29726        if (V0(a), u = a.memoizedState, u === null) return ut(a), null;
29727        if (c = (a.flags & 128) !== 0, d = u.rendering, d === null)
29728          if (c) Hu(u, !1);
29729          else {
29730            if (bt !== 0 || n !== null && (n.flags & 128) !== 0)
29731              for (n = a.child; n !== null; ) {
29732                if (d = yf(n), d !== null) {
29733                  for (a.flags |= 128, Hu(u, !1), n = d.updateQueue, a.updateQueue = n, Df(a, n), a.subtreeFlags = 0, n = o, o = a.child; o !== null; )
29734                    y2(o, n), o = o.sibling;
29735                  return Lu(
29736                    a,
29737                    Qt.current & 1 | 2
29738                  ), xe && ia(a, u.treeForkCount), a.child;
29739                }
29740                n = n.sibling;
29741              }
29742            u.tail !== null && on() > Bf && (a.flags |= 128, c = !0, Hu(u, !1), a.lanes = 4194304);
29743          }
29744        else {
29745          if (!c)
29746            if (n = yf(d), n !== null) {
29747              if (a.flags |= 128, c = !0, n = n.updateQueue, a.updateQueue = n, Df(a, n), Hu(u, !0), u.tail === null && u.tailMode !== "collapsed" && u.tailMode !== "visible" && !d.alternate && !xe)
29748                return ut(a), null;
29749            } else
29750              2 * on() - u.renderingStartTime > Bf && o !== 536870912 && (a.flags |= 128, c = !0, Hu(u, !1), a.lanes = 4194304);
29751          u.isBackwards ? (d.sibling = a.child, a.child = d) : (n = u.last, n !== null ? n.sibling = d : a.child = d, u.last = d);
29752        }
29753        if (u.tail !== null) {
29754          n = u.tail;
29755          e: {
29756            for (o = n; o !== null; ) {
29757              if (o.alternate !== null) {
29758                o = !1;
29759                break e;
29760              }
29761              o = o.sibling;
29762            }
29763            o = !0;
29764          }
29765          return u.rendering = n, u.tail = n.sibling, u.renderingStartTime = on(), n.sibling = null, d = Qt.current, d = c ? d & 1 | 2 : d & 1, u.tailMode === "visible" || u.tailMode === "collapsed" || !o || xe ? Lu(a, d) : (o = d, Le(Zt, a), Le(Qt, o), ln === null && (ln = a)), xe && ia(a, u.treeForkCount), n;
29766        }
29767        return ut(a), null;
29768      case 22:
29769      case 23:
29770        return kn(a), F0(), u = a.memoizedState !== null, n !== null ? n.memoizedState !== null !== u && (a.flags |= 8192) : u && (a.flags |= 8192), u ? (o & 536870912) !== 0 && (a.flags & 128) === 0 && (ut(a), a.subtreeFlags & 6 && (a.flags |= 8192)) : ut(a), o = a.updateQueue, o !== null && Df(a, o.retryQueue), o = null, n !== null && n.memoizedState !== null && n.memoizedState.cachePool !== null && (o = n.memoizedState.cachePool.pool), u = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (u = a.memoizedState.cachePool.pool), u !== o && (a.flags |= 2048), n !== null && Se(Ui), null;
29771      case 24:
29772        return o = null, n !== null && (o = n.memoizedState.cache), a.memoizedState.cache !== o && (a.flags |= 2048), la(wt), ut(a), null;
29773      case 25:
29774        return null;
29775      case 30:
29776        return a.flags |= 33554432, ut(a), null;
29777    }
29778    throw Error(i(156, a.tag));
29779  }
29780  function jT(n, a) {
29781    switch (N0(a), a.tag) {
29782      case 1:
29783        return n = a.flags, n & 65536 ? (a.flags = n & -65537 | 128, a) : null;
29784      case 3:
29785        return la(wt), _r(), n = a.flags, (n & 65536) !== 0 && (n & 128) === 0 ? (a.flags = n & -65537 | 128, a) : null;
29786      case 26:
29787      case 27:
29788      case 5:
29789        return $i(a), null;
29790      case 31:
29791        if (a.memoizedState !== null) {
29792          if (kn(a), a.alternate === null)
29793            throw Error(i(340));
29794          Ii();
29795        }
29796        return n = a.flags, n & 65536 ? (a.flags = n & -65537 | 128, a) : null;
29797      case 13:
29798        if (kn(a), n = a.memoizedState, n !== null && n.dehydrated !== null) {
29799          if (a.alternate === null)
29800            throw Error(i(340));
29801          Ii();
29802        }
29803        return n = a.flags, n & 65536 ? (a.flags = n & -65537 | 128, a) : null;
29804      case 19:
29805        return V0(a), n = a.flags, n & 65536 ? (a.flags = n & -65537 | 128, n = a.memoizedState, n !== null && (n.rendering = null, n.tail = null), a.flags |= 4, a) : null;
29806      case 4:
29807        return _r(), null;
29808      case 10:
29809        return la(a.type), null;
29810      case 22:
29811      case 23:
29812        return kn(a), F0(), n !== null && Se(Ui), n = a.flags, n & 65536 ? (a.flags = n & -65537 | 128, a) : null;
29813      case 24:
29814        return la(wt), null;
29815      case 25:
29816        return null;
29817      default:
29818        return null;
29819    }
29820  }
29821  function qv(n, a) {
29822    switch (N0(a), a.tag) {
29823      case 3:
29824        la(wt), _r();
29825        break;
29826      case 26:
29827      case 27:
29828      case 5:
29829        $i(a);
29830        break;
29831      case 4:
29832        _r();
29833        break;
29834      case 31:
29835        a.memoizedState !== null && kn(a);
29836        break;
29837      case 13:
29838        kn(a);
29839        break;
29840      case 19:
29841        V0(a);
29842        break;
29843      case 10:
29844        la(a.type);
29845        break;
29846      case 22:
29847      case 23:
29848        kn(a), F0(), n !== null && Se(Ui);
29849        break;
29850      case 24:
29851        la(wt);
29852    }
29853  }
29854  function Vu(n, a) {
29855    try {
29856      var o = a.updateQueue, u = o !== null ? o.lastEffect : null;
29857      if (u !== null) {
29858        var c = u.next;
29859        o = c;
29860        do {
29861          if ((o.tag & n) === n) {
29862            u = void 0;
29863            var d = o.create, y = o.inst;
29864            u = d(), y.destroy = u;
29865          }
29866          o = o.next;
29867        } while (o !== c);
29868      }
29869    } catch (O) {
29870      Je(a, a.return, O);
29871    }
29872  }
29873  function Za(n, a, o) {
29874    try {
29875      var u = a.updateQueue, c = u !== null ? u.lastEffect : null;
29876      if (c !== null) {
29877        var d = c.next;
29878        u = d;
29879        do {
29880          if ((u.tag & n) === n) {
29881            var y = u.inst, O = y.destroy;
29882            if (O !== void 0) {
29883              y.destroy = void 0, c = a;
29884              var P = o, H = O;
29885              try {
29886                H();
29887              } catch (Q) {
29888                Je(
29889                  c,
29890                  P,
29891                  Q
29892                );
29893              }
29894            }
29895          }
29896          u = u.next;
29897        } while (u !== d);
29898      }
29899    } catch (Q) {
29900      Je(a, a.return, Q);
29901    }
29902  }
29903  function Gv(n) {
29904    var a = n.updateQueue;
29905    if (a !== null) {
29906      var o = n.stateNode;
29907      try {
29908        P2(a, o);
29909      } catch (u) {
29910        Je(n, n.return, u);
29911      }
29912    }
29913  }
29914  function Yv(n, a, o) {
29915    o.props = Bi(
29916      n.type,
29917      n.memoizedProps
29918    ), o.state = n.memoizedState;
29919    try {
29920      o.componentWillUnmount();
29921    } catch (u) {
29922      Je(n, a, u);
29923    }
29924  }
29925  function Ur(n, a) {
29926    try {
29927      var o = n.ref;
29928      if (o !== null) {
29929        switch (n.tag) {
29930          case 26:
29931          case 27:
29932          case 5:
29933            var u = n.stateNode;
29934            break;
29935          case 30:
29936            var c = n.stateNode, d = na(n.memoizedProps, c);
29937            (c.ref === null || c.ref.name !== d) && (c.ref = eb(d)), u = c.ref;
29938            break;
29939          case 7:
29940            if (n.stateNode === null) {
29941              var y = new Fn(n);
29942              b(
29943                n.child,
29944                !1,
29945                xC,
29946                y,
29947                void 0,
29948                void 0
29949              ), n.stateNode = y;
29950            }
29951            u = n.stateNode;
29952            break;
29953          default:
29954            u = n.stateNode;
29955        }
29956        typeof o == "function" ? n.refCleanup = o(u) : o.current = u;
29957      }
29958    } catch (O) {
29959      Je(n, a, O);
29960    }
29961  }
29962  function Kt(n, a) {
29963    var o = n.ref, u = n.refCleanup;
29964    if (o !== null)
29965      if (typeof u == "function")
29966        try {
29967          u();
29968        } catch (c) {
29969          Je(n, a, c);
29970        } finally {
29971          n.refCleanup = null, n = n.alternate, n != null && (n.refCleanup = null);
29972        }
29973      else if (typeof o == "function")
29974        try {
29975          o(null);
29976        } catch (c) {
29977          Je(n, a, c);
29978        }
29979      else o.current = null;
29980  }
29981  function Mf(n, a) {
29982    if ((n.tag === 5 || n.tag === 27 || n.tag === 6) && n.alternate === null && a !== null)
29983      for (var o = 0; o < a.length; o++)
29984        ob(
29985          n.stateNode,
29986          a[o]
29987        );
29988  }
29989  function Zv(n) {
29990    for (var a = n.return; a !== null && (Sm(a) && ob(n.stateNode, a.stateNode), !bm(a)); )
29991      a = a.return;
29992  }
29993  function Bu(n) {
29994    for (var a = n.return; a !== null && (Sm(a) && RC(n.stateNode, a.stateNode), !bm(a)); )
29995      a = a.return;
29996  }
29997  function bm(n) {
29998    return n.tag === 5 || n.tag === 3 || n.tag === 27;
29999  }
30000  function Sm(n) {
30001    return n && n.tag === 7 && n.stateNode !== null;
30002  }
30003  function $m(n) {
30004    var a = n.type, o = n.memoizedProps, u = n.stateNode;
30005    try {
30006      e: switch (a) {
30007        case "button":
30008        case "input":
30009        case "select":
30010        case "textarea":
30011          o.autoFocus && u.focus();
30012          break e;
30013        case "img":
30014          o.src ? u.src = o.src : o.srcSet && (u.srcset = o.srcSet);
30015      }
30016    } catch (c) {
30017      Je(n, n.return, c);
30018    }
30019  }
30020  function Em(n, a, o) {
30021    try {
30022      var u = n.stateNode;
30023      dC(u, n.type, o, a), u[Bt] = a;
30024    } catch (c) {
30025      Je(n, n.return, c);
30026    }
30027  }
30028  function Qv(n) {
30029    return n.tag === 5 || n.tag === 3 || n.tag === 26 || n.tag === 27 && ti(n.type) || n.tag === 4;
30030  }
30031  function Tm(n) {
30032    e: for (; ; ) {
30033      for (; n.sibling === null; ) {
30034        if (n.return === null || Qv(n.return)) return null;
30035        n = n.return;
30036      }
30037      for (n.sibling.return = n.return, n = n.sibling; n.tag !== 5 && n.tag !== 6 && n.tag !== 18; ) {
30038        if (n.tag === 27 && ti(n.type) || n.flags & 2 || n.child === null || n.tag === 4) continue e;
30039        n.child.return = n, n = n.child;
30040      }
30041      if (!(n.flags & 2)) return n.stateNode;
30042    }
30043  }
30044  function Cm(n, a, o, u) {
30045    var c = n.tag;
30046    if (c === 5 || c === 6)
30047      c = n.stateNode, a ? (o.nodeType === 9 ? o.body : o.nodeName === "HTML" ? o.ownerDocument.body : o).insertBefore(c, a) : (a = o.nodeType === 9 ? o.body : o.nodeName === "HTML" ? o.ownerDocument.body : o, a.appendChild(c), o = o._reactRootContainer, o != null || a.onclick !== null || (a.onclick = kr)), Mf(n, u), ke = !0;
30048    else if (c !== 4 && (c === 27 && (Mf(n, u), u = null, ti(n.type) && (o = n.stateNode, a = null)), n = n.child, n !== null))
30049      for (Cm(
30050        n,
30051        a,
30052        o,
30053        u
30054      ), n = n.sibling; n !== null; )
30055        Cm(
30056          n,
30057          a,
30058          o,
30059          u
30060        ), n = n.sibling;
30061  }
30062  function If(n, a, o, u) {
30063    var c = n.tag;
30064    if (c === 5 || c === 6)
30065      c = n.stateNode, a ? o.insertBefore(c, a) : o.appendChild(c), Mf(n, u), ke = !0;
30066    else if (c !== 4 && (c === 27 && (Mf(n, u), u = null, ti(n.type) && (o = n.stateNode)), n = n.child, n !== null))
30067      for (If(
30068        n,
30069        a,
30070        o,
30071        u
30072      ), n = n.sibling; n !== null; )
30073        If(
30074          n,
30075          a,
30076          o,
30077          u
30078        ), n = n.sibling;
30079  }
30080  function Kv(n) {
30081    var a = n.stateNode, o = n.memoizedProps;
30082    try {
30083      for (var u = n.type, c = a.attributes; c.length; )
30084        a.removeAttributeNode(c[0]);
30085      Xt(a, u, o), a[ot] = n, a[Bt] = o;
30086    } catch (d) {
30087      Je(n, n.return, d);
30088    }
30089  }
30090  var Pf = !1, Ln = null;
30091  function Xv(n) {
30092    (n.tag === 30 || (n.subtreeFlags & 33554432) !== 0) && (Pf = !0);
30093  }
30094  var jr = null;
30095  function Wv() {
30096    var n = jr;
30097    return jr = null, n;
30098  }
30099  var Tn = 0;
30100  function Ko(n, a, o, u, c) {
30101    return Tn = 0, Jv(
30102      n.child,
30103      a,
30104      o,
30105      u,
30106      c
30107    );
30108  }
30109  function Jv(n, a, o, u, c) {
30110    for (var d = !1; n !== null; ) {
30111      if (n.tag === 5) {
30112        var y = n.stateNode;
30113        if (u !== null) {
30114          var O = l1(y);
30115          u.push(O), O.view && (d = !0);
30116        } else
30117          d || l1(y).view && (d = !0);
30118        Pf = !0, W3(
30119          y,
30120          Tn === 0 ? a : a + "_" + Tn,
30121          o
30122        ), Tn++;
30123      } else (n.tag !== 22 || n.memoizedState === null) && (n.tag === 30 && c || Jv(
30124        n.child,
30125        a,
30126        o,
30127        u,
30128        c
30129      ) && (d = !0));
30130      n = n.sibling;
30131    }
30132    return d;
30133  }
30134  function Fr(n, a) {
30135    for (; n !== null; )
30136      n.tag === 5 ? J3(n.stateNode, n.memoizedProps) : (n.tag !== 22 || n.memoizedState === null) && (n.tag === 30 && a || Fr(
30137        n.child,
30138        a
30139      )), n = n.sibling;
30140  }
30141  function kf(n) {
30142    if ((n.subtreeFlags & 18874368) !== 0)
30143      for (n = n.child; n !== null; ) {
30144        if ((n.tag !== 22 || n.memoizedState === null) && (kf(n), n.tag === 30 && (n.flags & 18874368) !== 0 && n.stateNode.paired)) {
30145          var a = n.memoizedProps;
30146          if (a.name == null || a.name === "auto")
30147            throw Error(i(544));
30148          var o = a.name;
30149          a = ra(a.default, a.share), a !== "none" && (Ko(
30150            n,
30151            o,
30152            a,
30153            null,
30154            !1
30155          ) || Fr(n.child, !1));
30156        }
30157        n = n.sibling;
30158      }
30159  }
30160  function wm(n, a) {
30161    if (n.tag === 30) {
30162      var o = n.stateNode, u = n.memoizedProps, c = na(u, o), d = ra(
30163        u.default,
30164        o.paired ? u.share : u.enter
30165      );
30166      d !== "none" ? Ko(n, c, d, null, !1) ? (kf(n), o.paired || a || al(n, u.onEnter)) : Fr(n.child, !1) : kf(n);
30167    } else if ((n.subtreeFlags & 33554432) !== 0)
30168      for (n = n.child; n !== null; )
30169        wm(n, a), n = n.sibling;
30170    else kf(n);
30171  }
30172  function Om(n) {
30173    if (Ln !== null && Ln.size !== 0) {
30174      var a = Ln;
30175      if ((n.subtreeFlags & 18874368) !== 0)
30176        for (n = n.child; n !== null; ) {
30177          if (n.tag !== 22 || n.memoizedState === null) {
30178            if (n.tag === 30 && (n.flags & 18874368) !== 0) {
30179              var o = n.memoizedProps, u = o.name;
30180              if (u != null && u !== "auto") {
30181                var c = a.get(u);
30182                if (c !== void 0) {
30183                  var d = ra(
30184                    o.default,
30185                    o.share
30186                  );
30187                  if (d !== "none" && (Ko(
30188                    n,
30189                    u,
30190                    d,
30191                    null,
30192                    !1
30193                  ) ? (d = n.stateNode, c.paired = d, d.paired = c, al(n, o.onShare)) : Fr(n.child, !1)), a.delete(u), a.size === 0) break;
30194                }
30195              }
30196            }
30197            Om(n);
30198          }
30199          n = n.sibling;
30200        }
30201    }
30202  }
30203  function Nm(n) {
30204    if (n.tag === 30) {
30205      var a = n.memoizedProps, o = na(a, n.stateNode), u = Ln !== null ? Ln.get(o) : void 0, c = ra(
30206        a.default,
30207        u !== void 0 ? a.share : a.exit
30208      );
30209      c !== "none" && (Ko(n, o, c, null, !1) ? u !== void 0 ? (c = n.stateNode, u.paired = c, c.paired = u, Ln.delete(o), al(n, a.onShare)) : al(n, a.onExit) : Fr(n.child, !1)), Ln !== null && Om(n);
30210    } else if ((n.subtreeFlags & 33554432) !== 0)
30211      for (n = n.child; n !== null; )
30212        Nm(n), n = n.sibling;
30213    else
30214      Ln !== null && Om(n);
30215  }
30216  function e3(n) {
30217    for (n = n.child; n !== null; ) {
30218      if (n.tag === 30) {
30219        var a = n.memoizedProps, o = na(a, n.stateNode);
30220        a = ra(a.default, a.update), n.flags &= -5, a !== "none" && Ko(
30221          n,
30222          o,
30223          a,
30224          n.memoizedState = [],
30225          !1
30226        );
30227      } else
30228        (n.subtreeFlags & 33554432) !== 0 && e3(n);
30229      n = n.sibling;
30230    }
30231  }
30232  function Am(n) {
30233    if ((n.subtreeFlags & 18874368) !== 0)
30234      for (n = n.child; n !== null; ) {
30235        if (n.tag !== 22 || n.memoizedState === null) {
30236          if (n.tag === 30 && (n.flags & 18874368) !== 0) {
30237            var a = n.stateNode;
30238            a.paired !== null && (a.paired = null, Fr(n.child, !1));
30239          }
30240          Am(n);
30241        }
30242        n = n.sibling;
30243      }
30244  }
30245  function Lf(n) {
30246    if (n.tag === 30)
30247      n.stateNode.paired = null, Fr(n.child, !1), Am(n);
30248    else if ((n.subtreeFlags & 33554432) !== 0)
30249      for (n = n.child; n !== null; )
30250        Lf(n), n = n.sibling;
30251    else Am(n);
30252  }
30253  function t3(n) {
30254    for (n = n.child; n !== null; )
30255      n.tag === 30 ? Fr(n.child, !1) : (n.subtreeFlags & 33554432) !== 0 && t3(n), n = n.sibling;
30256  }
30257  function _m(n, a, o, u, c, d, y) {
30258    for (var O = !1; a !== null; ) {
30259      if (a.tag === 5) {
30260        var P = a.stateNode;
30261        if (d !== null && Tn < d.length) {
30262          var H = d[Tn], Q = l1(P);
30263          (H.view || Q.view) && (O = !0);
30264          var J;
30265          if (J = (n.flags & 4) === 0)
30266            if (Q.clip) J = !0;
30267            else {
30268              J = H.rect;
30269              var j = Q.rect;
30270              J = J.y !== j.y || J.x !== j.x || J.height !== j.height || J.width !== j.width;
30271            }
30272          J && (n.flags |= 4), Q.abs ? Q = !H.abs : (H = H.rect, Q = Q.rect, Q = H.height !== Q.height || H.width !== Q.width), Q && (n.flags |= 32);
30273        } else n.flags |= 32;
30274        (n.flags & 4) !== 0 && W3(
30275          P,
30276          Tn === 0 ? o : o + "_" + Tn,
30277          c
30278        ), O && (n.flags & 4) !== 0 || (jr === null && (jr = []), jr.push(
30279          P,
30280          Tn === 0 ? u : u + "_" + Tn,
30281          a.memoizedProps
30282        )), Tn++;
30283      } else (a.tag !== 22 || a.memoizedState === null) && (a.tag === 30 && y ? n.flags |= a.flags & 32 : _m(
30284        n,
30285        a.child,
30286        o,
30287        u,
30288        c,
30289        d,
30290        y
30291      ) && (O = !0));
30292      a = a.sibling;
30293    }
30294    return O;
30295  }
30296  function n3(n, a) {
30297    for (n = n.child; n !== null; ) {
30298      if (n.tag === 30) {
30299        var o = n.memoizedProps, u = n.stateNode, c = na(o, u), d = ra(o.default, o.update), y;
30300        y = n.memoizedState, n.memoizedState = null, u = n;
30301        var O = n.child;
30302        Tn = 0, c = _m(
30303          u,
30304          O,
30305          c,
30306          c,
30307          d,
30308          y,
30309          !1
30310        ), (n.flags & 4) !== 0 && c && al(n, o.onUpdate);
30311      } else
30312        (n.subtreeFlags & 33554432) !== 0 && n3(n);
30313      n = n.sibling;
30314    }
30315  }
30316  var jt = !1, Ze = !1, Hr = !1, xm = !1, r3 = typeof WeakSet == "function" ? WeakSet : Set, Ft = null, Vr = !1, qu = !1, zf = !1, Rm = !1;
30317  function FT(n, a, o) {
30318    if (n = n.containerInfo, n1 = ml, n = l2(n), y0(n)) {
30319      if ("selectionStart" in n)
30320        var u = {
30321          start: n.selectionStart,
30322          end: n.selectionEnd
30323        };
30324      else
30325        e: {
30326          u = (u = n.ownerDocument) && u.defaultView || window;
30327          var c = u.getSelection && u.getSelection();
30328          if (c && c.rangeCount !== 0) {
30329            u = c.anchorNode;
30330            var d = c.anchorOffset, y = c.focusNode;
30331            c = c.focusOffset;
30332            try {
30333              u.nodeType, y.nodeType;
30334            } catch {
30335              u = null;
30336              break e;
30337            }
30338            var O = 0, P = -1, H = -1, Q = 0, J = 0, j = n, Y = null;
30339            t: for (; ; ) {
30340              for (var oe; j !== u || d !== 0 && j.nodeType !== 3 || (P = O + d), j !== y || c !== 0 && j.nodeType !== 3 || (H = O + c), j.nodeType === 3 && (O += j.nodeValue.length), (oe = j.firstChild) !== null; )
30341                Y = j, j = oe;
30342              for (; ; ) {
30343                if (j === n) break t;
30344                if (Y === u && ++Q === d && (P = O), Y === y && ++J === c && (H = O), (oe = j.nextSibling) !== null) break;
30345                j = Y, Y = j.parentNode;
30346              }
30347              j = oe;
30348            }
30349            u = P === -1 || H === -1 ? null : { start: P, end: H };
30350          } else u = null;
30351        }
30352      u = u || { start: 0, end: 0 };
30353    } else u = null;
30354    for (r1 = { focusedElem: n, selectionRange: u }, ml = !1, o = (o & 335544064) === o, Ft = a, a = o ? 9270 : 1024; Ft !== null; ) {
30355      if (n = Ft, o && (u = n.deletions, u !== null))
30356        for (d = 0; d < u.length; d++)
30357          o && Nm(u[d]);
30358      if (n.alternate === null && (n.flags & 2) !== 0)
30359        o && Xv(n), Uf(o);
30360      else {
30361        if (n.tag === 22) {
30362          if (u = n.alternate, n.memoizedState !== null) {
30363            u !== null && u.memoizedState === null && o && Nm(u), Uf(o);
30364            continue;
30365          } else if (u !== null && u.memoizedState !== null) {
30366            o && Xv(n), Uf(o);
30367            continue;
30368          }
30369        }
30370        u = n.child, (n.subtreeFlags & a) !== 0 && u !== null ? (u.return = n, Ft = u) : (o && e3(n), Uf(o));
30371      }
30372    }
30373    Ln = null;
30374  }
30375  function Uf(n) {
30376    for (; Ft !== null; ) {
30377      var a = Ft, o = n, u = a.alternate, c = a.flags;
30378      switch (a.tag) {
30379        case 0:
30380        case 11:
30381        case 15:
30382          break;
30383        case 1:
30384          if ((c & 1024) !== 0 && u !== null) {
30385            o = void 0, c = u.memoizedProps, u = u.memoizedState;
30386            var d = a.stateNode;
30387            try {
30388              var y = Bi(
30389                a.type,
30390                c
30391              );
30392              o = d.getSnapshotBeforeUpdate(
30393                y,
30394                u
30395              ), d.__reactInternalSnapshotBeforeUpdate = o;
30396            } catch (O) {
30397              Je(a, a.return, O);
30398            }
30399          }
30400          break;
30401        case 3:
30402          if ((c & 1024) !== 0) {
30403            if (u = a.stateNode.containerInfo, o = u.nodeType, o === 9)
30404              c1(u);
30405            else if (o === 1)
30406              switch (u.nodeName) {
30407                case "HEAD":
30408                case "HTML":
30409                case "BODY":
30410                  c1(u);
30411                  break;
30412                default:
30413                  u.textContent = "";
30414              }
30415          }
30416          break;
30417        case 5:
30418        case 26:
30419        case 27:
30420        case 6:
30421        case 4:
30422        case 17:
30423          break;
30424        case 30:
30425          o && u !== null && (o = na(
30426            u.memoizedProps,
30427            u.stateNode
30428          ), c = a.memoizedProps, c = ra(c.default, c.update), c !== "none" && Ko(
30429            u,
30430            o,
30431            c,
30432            u.memoizedState = [],
30433            !0
30434          ));
30435          break;
30436        default:
30437          if ((c & 1024) !== 0) throw Error(i(163));
30438      }
30439      if (u = a.sibling, u !== null) {
30440        u.return = a.return, Ft = u;
30441        break;
30442      }
30443      Ft = a.return;
30444    }
30445  }
30446  function a3(n, a, o) {
30447    var u = o.flags;
30448    switch (o.tag) {
30449      case 0:
30450      case 11:
30451      case 15:
30452        Br(n, o), u & 4 && Vu(5, o);
30453        break;
30454      case 1:
30455        if (Br(n, o), u & 4)
30456          if (n = o.stateNode, a === null)
30457            try {
30458              n.componentDidMount();
30459            } catch (y) {
30460              Je(o, o.return, y);
30461            }
30462          else {
30463            var c = Bi(
30464              o.type,
30465              a.memoizedProps
30466            );
30467            a = a.memoizedState;
30468            try {
30469              n.componentDidUpdate(
30470                c,
30471                a,
30472                n.__reactInternalSnapshotBeforeUpdate
30473              );
30474            } catch (y) {
30475              Je(
30476                o,
30477                o.return,
30478                y
30479              );
30480            }
30481          }
30482        u & 64 && Gv(o), u & 512 && Ur(o, o.return);
30483        break;
30484      case 3:
30485        if (Br(n, o), u & 64 && (n = o.updateQueue, n !== null)) {
30486          if (a = null, o.child !== null)
30487            switch (o.child.tag) {
30488              case 27:
30489              case 5:
30490                a = o.child.stateNode;
30491                break;
30492              case 1:
30493                a = o.child.stateNode;
30494            }
30495          try {
30496            P2(n, a);
30497          } catch (y) {
30498            Je(o, o.return, y);
30499          }
30500        }
30501        break;
30502      case 27:
30503        a === null && u & 4 && Kv(o);
30504      case 26:
30505      case 5:
30506        Br(n, o), a === null && u & 4 && $m(o), u & 512 && Ur(o, o.return);
30507        break;
30508      case 12:
30509        Br(n, o);
30510        break;
30511      case 31:
30512        Br(n, o), u & 4 && u3(n, o);
30513        break;
30514      case 13:
30515        Br(n, o), u & 4 && s3(n, o), u & 64 && (n = o.memoizedState, n !== null && (n = n.dehydrated, n !== null && (o = JT.bind(
30516          null,
30517          o
30518        ), IC(n, o))));
30519        break;
30520      case 22:
30521        if (u = o.memoizedState !== null || jt, !u) {
30522          var d = a !== null && a.memoizedState !== null || Ze;
30523          a = jt, c = Ze, jt = u, (Ze = d) && !c ? (u = 2, (o.subtreeFlags & 8772) !== 0 && (u |= 1), vr(
30524            n,
30525            o,
30526            u
30527          )) : Br(n, o), jt = a, Ze = c;
30528        }
30529        break;
30530      case 30:
30531        Br(n, o), u & 512 && Ur(o, o.return);
30532        break;
30533      case 7:
30534        u & 512 && Ur(o, o.return);
30535      default:
30536        Br(n, o);
30537    }
30538  }
30539  function Dm(n, a) {
30540    for (n = n.child; n !== null; )
30541      i3(n, a), n = n.sibling;
30542  }
30543  function i3(n, a) {
30544    switch (n.tag) {
30545      case 5:
30546      case 26:
30547        try {
30548          var o = n.stateNode;
30549          if (a) {
30550            var u = o.style;
30551            typeof u.setProperty == "function" ? u.setProperty("display", "none", "important") : u.display = "none";
30552          } else {
30553            var c = n.stateNode, d = n.memoizedProps.style, y = d != null && d.hasOwnProperty("display") ? d.display : null;
30554            c.style.display = y == null || typeof y == "boolean" ? "" : ("" + y).trim();
30555          }
30556        } catch (P) {
30557          Je(n, n.return, P);
30558        }
30559        Mm(n, a);
30560        break;
30561      case 6:
30562        try {
30563          n.stateNode.nodeValue = a ? "" : n.memoizedProps, ke = !0;
30564        } catch (P) {
30565          Je(n, n.return, P);
30566        }
30567        break;
30568      case 18:
30569        try {
30570          var O = n.stateNode;
30571          a ? X3(O, !0) : X3(n.stateNode, !1);
30572        } catch (P) {
30573          Je(n, n.return, P);
30574        }
30575        break;
30576      case 22:
30577      case 23:
30578        n.memoizedState === null && Dm(n, a);
30579        break;
30580      default:
30581        Dm(n, a);
30582    }
30583  }
30584  function Mm(n, a) {
30585    if (n.subtreeFlags & 67108864)
30586      for (n = n.child; n !== null; ) {
30587        e: {
30588          var o = n, u = a;
30589          switch (o.tag) {
30590            case 4:
30591              i3(o, u);
30592              break e;
30593            case 22:
30594              o.memoizedState === null && Mm(o, u);
30595              break e;
30596            default:
30597              Mm(o, u);
30598          }
30599        }
30600        n = n.sibling;
30601      }
30602  }
30603  function o3(n) {
30604    var a = n.alternate;
30605    a !== null && (n.alternate = null, o3(a)), n.child = null, n.deleti
vendor: 2,699 bytes, lines 30605-30709
30605ons = null, n.sibling = null, n.tag === 5 && (a = n.stateNode, a !== null && Ni(a)), n.stateNode = null, n.return = null, n.dependencies = null, n.memoizedProps = null, n.memoizedState = null, n.pendingProps = null, n.stateNode = null, n.updateQueue = null;
30606  }
30607  var mt = null, Cn = !1;
30608  function pr(n, a, o) {
30609    for (o = o.child; o !== null; )
30610      l3(n, a, o), o = o.sibling;
30611  }
30612  function l3(n, a, o) {
30613    if (zt && typeof zt.onCommitFiberUnmount == "function")
30614      try {
30615        zt.onCommitFiberUnmount(xa, o);
30616      } catch {
30617      }
30618    switch (o.tag) {
30619      case 26:
30620        Ze || Kt(o, a), pr(
30621          n,
30622          a,
30623          o
30624        ), o.memoizedState ? o.memoizedState.count-- : o.stateNode && !Ze && (o = o.stateNode, o.parentNode.removeChild(o));
30625        break;
30626      case 27:
30627        Ze || Kt(o, a), Bu(o);
30628        var u = mt, c = Cn;
30629        ti(o.type) && (mt = o.stateNode, Cn = !1), pr(
30630          n,
30631          a,
30632          o
30633        ), fb(
30634          o.stateNode,
30635          o.type,
30636          o.memoizedProps
30637        ), mt = u, Cn = c;
30638        break;
30639      case 5:
30640        Ze || Kt(o, a), Bu(o);
30641      case 6:
30642        if (o.tag === 6 && Bu(o), u = mt, c = Cn, mt = null, pr(
30643          n,
30644          a,
30645          o
30646        ), mt = u, Cn = c, mt !== null)
30647          if (Cn)
30648            try {
30649              (mt.nodeType === 9 ? mt.body : mt.nodeName === "HTML" ? mt.ownerDocument.body : mt).removeChild(o.stateNode), ke = !0;
30650            } catch (d) {
30651              Je(
30652                o,
30653                a,
30654                d
30655              );
30656            }
30657          else
30658            try {
30659              mt.removeChild(o.stateNode), ke = !0;
30660            } catch (d) {
30661              Je(
30662                o,
30663                a,
30664                d
30665              );
30666            }
30667        break;
30668      case 18:
30669        mt !== null && (Cn ? (n = mt, K3(
30670          n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n,
30671          o.stateNode
30672        ), gl(n)) : K3(mt, o.stateNode));
30673        break;
30674      case 4:
30675        u = mt, c = Cn, mt = o.stateNode.containerInfo, Cn = !0, pr(
30676          n,
30677          a,
30678          o
30679        ), mt = u, Cn = c;
30680        break;
30681      case 0:
30682      case 11:
30683      case 14:
30684      case 15:
30685        Za(2, o, a), Ze || Za(4, o, a), pr(
30686          n,
30687          a,
30688          o
30689        );
30690        break;
30691      case 1:
30692        Ze || (Kt(o, a), u = o.stateNode, typeof u.componentWillUnmount == "function" && Yv(
30693          o,
30694          a,
30695          u
30696        )), pr(
30697          n,
30698          a,
30699          o
30700        );
30701        break;
30702      case 21:
30703        pr(
30704          n,
30705          a,
30706          o
30707        );
30708        break;
30709      case 22:
30710        Ze = (u = Ze) || o.memoizedState !== null, pr(
30711          n,
30712          a,
30713          o
30714        ), Ze = u;
30715        break;
30716      case 30:
30717        Kt(o, a), pr(
30718          n,
30719          a,
30720          o
30721        );
30722        break;
30723      case 7:
30724        Ze || Kt(o, a), pr(
30725          n,
30726          a,
30727          o
30728        );
30729        break;
30730      default:
30731        pr(
30732          n,
30733          a,
30734          o
30735        );
30736    }
30737  }
30738  function u3(n, a) {
30739    if (a.memoizedState === null && (n = a.alternate, n !== null && (n = n.memoizedState, n !== null))) {
30740      n = n.dehydrated;
30741      try {
30742        gl(n);
30743      } catch (o) {
30744        Je(a, a.return, o);
30745      }
30746    }
30747  }
30748  function s3(n, a) {
30749    if (a.memoizedState === null && (n = a.alternate, n !== null && (n = n.memoizedState, n !== null && (n = n.dehydrated, n !== null))))
30750      try {
30751        gl(n);
30752      } catch (o) {
30753        Je(a, a.return, o);
30754      }
30755  }
30756  function HT(n) {
30757    switch (n.tag) {
30758      case 31:
30759      case 13:
30760      case 19:
30761        var a = n.stateNode;
30762        return a === null && (a = n.stateNode = new r3()), a;
30763      case 22:
30764        return n = n.stateNode, a = n._retryCache, a === null && (a = n._retryCache = new r3()), a;
30765      default:
30766        throw Error(i(435, n.tag));
30767    }
30768  }
30769  function jf(n, a) {
30770    var o = HT(n);
30771    a.forEach(function(u) {
30772      if (!o.has(u)) {
30773        o.add(u);
30774        var c = eC.bind(null, n, u);
30775        u.then(c, c);
30776      }
30777    });
30778  }
30779  function pn(n, a, o) {
30780    var u = a.deletions;
30781    if (u !== null)
30782      for (var c = 0; c < u.length; c++) {
30783        var d = u[c], y = n, O = a, P = O;
30784        e: for (; P !== null; ) {
30785          switch (P.tag) {
30786            case 27:
30787              if (ti(P.type)) {
30788                mt = P.stateNode, Cn = !1;
30789                break e;
30790              }
30791              break;
30792            case 5:
30793              mt = P.stateNode, Cn = !1;
30794              break e;
30795            case 3:
30796            case 4:
30797              mt = P.stateNode.containerInfo, Cn = !0;
30798              break e;
30799          }
30800          P = P.return;
30801        }
30802        if (mt === null) throw Error(i(160));
30803        l3(y, O, d), mt = null, Cn = !1, y = d.alternate, y !== null && (y.return = null), d.return = null;
30804      }
30805    if (a.subtreeFlags & 13886)
30806      for (a = a.child; a !== null; )
30807        c3(a, n, o), a = a.sibling;
30808  }
30809  var yr = null;
30810  function c3(n, a, o) {
30811    var u = n.alternate, c = n.flags;
30812    switch (n.tag) {
30813      case 0:
30814      case 11:
30815      case 14:
30816      case 15:
30817        if (c & 4 && (u = n.updateQueue, u = u !== null ? u.events : null, u !== null))
30818          for (var d = 0; d < u.length; d++) {
30819            var y = u[d];
30820            y.ref.impl = y.nextImpl;
30821          }
30822        pn(a, n, o), yn(n), c & 4 && (Za(3, n, n.return), Vu(3, n), Za(5, n, n.return));
30823        break;
30824      case 1:
30825        pn(a, n, o), yn(n), c & 512 && (Ze || u === null || Kt(u, u.return)), c & 64 && jt && (n = n.updateQueue, n !== null && (a = n.callbacks, a !== null && (o = n.shared.hiddenCallbacks, n.shared.hiddenCallbacks = o === null ? a : o.concat(a))));
30826        break;
30827      case 26:
30828        if (d = yr, pn(a, n, o), yn(n), c & 512 && (Ze || u === null || Kt(u, u.return)), c & 4)
30829          if (c = u !== null ? u.memoizedState : null, o = n.memoizedState, u === null)
30830            if (o === null)
30831              if (n.stateNode === null)
30832                if (jt)
30833                  n.stateNode = Y3(
30834                    n.type,
30835                    n.memoizedProps,
30836                    a.containerInfo,
30837                    n
30838                  );
30839                else {
30840                  e: {
30841                    a = n.type, o = n.memoizedProps, c = d.ownerDocument || d;
30842                    t: switch (a) {
30843                      case "title":
30844                        u = c.getElementsByTagName("title")[0], (!u || u[wi] || u[ot] || u.namespaceURI === "http://www.w3.org/2000/svg" || u.hasAttribute("itemprop")) && (u = c.createElement(a), c.head.insertBefore(
30845                          u,
30846                          c.querySelector("head > title")
30847                        )), Xt(u, a, o), u[ot] = n, ht(u), a = u;
30848                        break e;
30849                      case "link":
30850                        if (d = yb(
30851                          "link",
30852                          "href",
30853                          c
30854                        ).get(a + (o.href || ""))) {
30855                          for (y = 0; y < d.length; y++)
30856                            if (u = d[y], u.getAttribute("href") === (o.href == null || o.href === "" ? null : o.href) && u.getAttribute("rel") === (o.rel == null ? null : o.rel) && u.getAttribute("title") === (o.title == null ? null : o.title) && u.getAttribute("crossorigin") === (o.crossOrigin == null ? null : o.crossOrigin)) {
30857                              d.splice(y, 1);
30858                              break t;
30859                            }
30860                        }
30861                        u = c.createElement(a), Xt(u, a, o), c.head.appendChild(u);
30862                        break;
30863                      case "meta":
30864                        if (d = yb(
30865                          "meta",
30866                          "content",
30867                          c
30868                        ).get(a + (o.content || ""))) {
30869                          for (y = 0; y < d.length; y++)
30870                            if (u = d[y], u.getAttribute("content") === (o.content == null ? null : "" + o.content) && u.getAttribute("name") === (o.name == null ? null : o.name) && u.getAttribute("property") === (o.property == null ? null : o.property) && u.getAttribute("http-equiv") === (o.httpEquiv == null ? null : o.httpEquiv) && u.getAttribute("charset") 
30870=== (o.charSet == null ? null : o.charSet)) {
30871                              d.splice(y, 1);
30872                              break t;
30873                            }
30874                        }
30875                        u = c.createElement(a), Xt(u, a, o), c.head.appendChild(u);
30876                        break;
30877                      default:
30878                        throw Error(i(468, a));
30879                    }
30880                    u[ot] = n, ht(u), a = u;
30881                  }
30882                  n.stateNode = a;
30883                }
30884              else
30885                jt || y1(d, n.type, n.stateNode);
30886            else
30887              n.stateNode = pb(
30888                d,
30889                o,
30890                n.memoizedProps
30891              );
30892          else
30893            c !== o ? (c === null ? (a = u.stateNode, a === null || Ze || a.parentNode.removeChild(a)) : c.count--, o === null ? jt || y1(d, n.type, n.stateNode) : pb(d, o, n.memoizedProps)) : o === null && n.stateNode !== null && Em(
30894              n,
30895              n.memoizedProps,
30896              u.memoizedProps
30897            );
30898        break;
30899      case 27:
30900        pn(a, n, o), yn(n), c & 512 && (Ze || u === null || Kt(u, u.return)), u !== null && c & 4 && Em(
30901          n,
30902          n.memoizedProps,
30903          u.memoizedProps
30904        );
30905        break;
30906      case 5:
30907        if (d = Hr, Hr = !1, pn(a, n, o), Hr = d, yn(n), c & 512 && (Ze || u === null || Kt(u, u.return)), n.flags & 32) {
30908          a = n.stateNode;
30909          try {
30910            yt(a, ""), ke = !0;
30911          } catch (Q) {
30912            Je(n, n.return, Q);
30913          }
30914        }
30915        c & 4 && n.stateNode != null && (a = n.memoizedProps, Em(
30916          n,
30917          a,
30918          u !== null ? u.memoizedProps : a
30919        )), c & 1024 && (xm = !0);
30920        break;
30921      case 6:
30922        if (pn(a, n, o), yn(n), c & 4) {
30923          if (n.stateNode === null)
30924            throw Error(i(162));
30925          a = n.memoizedProps, o = n.stateNode;
30926          try {
30927            o.nodeValue = a, ke = !0;
30928          } catch (Q) {
30929            Je(n, n.return, Q);
30930          }
30931        }
30932        break;
30933      case 3:
30934        if (ke = !1, td = null, d = yr, yr = es(a.containerInfo), pn(a, n, o), yr = d, yn(n), c & 4 && u !== null && u.memoizedState.isDehydrated)
30935          try {
30936            gl(a.containerInfo);
30937          } catch (Q) {
30938            Je(n, n.return, Q);
30939          }
30940        xm && (xm = !1, f3(n)), ke = !1;
30941        break;
30942      case 4:
30943        c = Hr, Hr = jt, u = Bc(), d = yr, yr = es(
30944          n.stateNode.containerInfo
30945        ), pn(a, n, o), yn(n), yr = d, ke && qu && (zf = !0), ke = u, Hr = c;
30946        break;
30947      case 12:
30948        pn(a, n, o), yn(n);
30949        break;
30950      case 31:
30951        pn(a, n, o), yn(n), c & 4 && (a = n.updateQueue, a !== null && (n.updateQueue = null, jf(n, a)));
30952        break;
30953      case 13:
30954        pn(a, n, o), yn(n), n.child.flags & 8192 && n.memoizedState !== null != (u !== null && u.memoizedState !== null) && (Vf = on()), c & 4 && (a = n.updateQueue, a !== null && (n.updateQueue = null, jf(n, a)));
30955        break;
30956      case 22:
30957        d = n.memoizedState !== null, y = u !== null && u.memoizedState !== null;
30958        var O = jt, P = Ze, H = Hr;
30959        jt = O || d, Hr = H || d, Ze = P || y, pn(a, n, o), Ze = P, Hr = H, jt = O, yn(n), c & 8192 && (a = n.stateNode, a._visibility = d ? a._visibility & -2 : a._visibility | 1, !d || u === null || y || jt || Ze || (a = y || Ze, o = jt, u = Ze, jt = d || jt, Ze = a, Qa(n, 2), jt = o, Ze = u), !d && Hr || Dm(n, d)), c & 4 && (a = n.updateQueue, a !== null && (o = a.retryQueue, o !== null && (a.retryQueue = null, jf(n, o))));
30960        break;
30961      case 19:
30962        pn(a, n, o), yn(n), c & 4 && (a = n.updateQueue, a !== null && (n.updateQueue = null, jf(n, a)));
30963        break;
30964      case 30:
30965        c & 512 && (Ze || u === null || Kt(u, u.return)), c = Bc(), d = qu, y = (o & 335544064) === o, O = n.memoizedProps, qu = y && ra(
30966          O.default,
30967          O.update
30968        ) !== "none", pn(a, n, o), yn(n), y && u !== null && ke && (n.flags |= 4), qu = d, ke = c;
30969        break;
30970      case 21:
30971        break;
30972      case 7:
30973        c & 512 && (Ze || u === null || Kt(u, u.return)), u && u.stateNode !== null && (u.stateNode._fragmentFiber = n);
30974      default:
30975        pn(a, n, o), yn(n);
30976    }
30977  }
30978  function yn(n) {
30979    var a = n.flags;
30980    if (a & 2) {
vendor: 15,306 bytes, lines 30981-31605
30981      try {
30982        for (var o, u = n.return; u !== null; ) {
30983          if (Qv(u)) {
30984            o = u;
30985            break;
30986          }
30987          u = u.return;
30988        }
30989        u = null;
30990        for (var c = n.return; c !== null; ) {
30991          if (Sm(c)) {
30992            var d = c.stateNode;
30993            u === null ? u = [d] : u.push(d);
30994          }
30995          if (bm(c)) break;
30996          c = c.return;
30997        }
30998        var y = u;
30999        if (o == null) throw Error(i(160));
31000        switch (o.tag) {
31001          case 27:
31002            var O = o.stateNode, P = Tm(n);
31003            If(
31004              n,
31005              P,
31006              O,
31007              y
31008            );
31009            break;
31010          case 5:
31011            var H = o.stateNode;
31012            o.flags & 32 && (yt(H, ""), o.flags &= -33);
31013            var Q = Tm(n);
31014            If(
31015              n,
31016              Q,
31017              H,
31018              y
31019            );
31020            break;
31021          case 3:
31022          case 4:
31023            var J = o.stateNode.containerInfo, j = Tm(n);
31024            Cm(
31025              n,
31026              j,
31027              J,
31028              y
31029            );
31030            break;
31031          default:
31032            throw Error(i(161));
31033        }
31034      } catch (Y) {
31035        Je(n, n.return, Y);
31036      }
31037      n.flags &= -3;
31038    }
31039    a & 4096 && (n.flags &= -4097);
31040  }
31041  function f3(n) {
31042    if (n.subtreeFlags & 1024)
31043      for (n = n.child; n !== null; ) {
31044        var a = n;
31045        f3(a), a.tag === 5 && a.flags & 1024 && (a = a.stateNode, ml = !0, a.reset(), ml = !1), n = n.sibling;
31046      }
31047  }
31048  function Xo(n, a) {
31049    if (a.subtreeFlags & 9270)
31050      for (a = a.child; a !== null; )
31051        d3(a, n), a = a.sibling;
31052    else n3(a);
31053  }
31054  function d3(n, a) {
31055    var o = n.alternate;
31056    if (o === null) wm(n, !1);
31057    else
31058      switch (n.tag) {
31059        case 3:
31060          if (Rm = Vr = !1, Wv(), Xo(a, n), !Vr && !zf) {
31061            if (n = jr, n !== null)
31062              for (var u = 0; u < n.length; u += 3) {
31063                o = n[u];
31064                var c = n[u + 1];
31065                J3(o, n[u + 2]), o = o.ownerDocument.documentElement, o !== null && o.animate(
31066                  { opacity: [0, 0], pointerEvents: ["none", "none"] },
31067                  {
31068                    duration: 0,
31069                    fill: "forwards",
31070                    pseudoElement: "::view-transition-group(" + c + ")"
31071                  }
31072                );
31073              }
31074            n = a.containerInfo, n = n.nodeType === 9 ? n.documentElement : n.ownerDocument.documentElement, n !== null && n.style.viewTransitionName === "" && (n.style.viewTransitionName = "none", n.animate(
31075              { opacity: [0, 0], pointerEvents: ["none", "none"] },
31076              {
31077                duration: 0,
31078                fill: "forwards",
31079                pseudoElement: "::view-transition-group(root)"
31080              }
31081            ), n.animate(
31082              { width: [0, 0], height: [0, 0] },
31083              {
31084                duration: 0,
31085                fill: "forwards",
31086                pseudoElement: "::view-transition"
31087              }
31088            )), Rm = !0;
31089          }
31090          jr = null;
31091          break;
31092        case 5:
31093          Xo(a, n);
31094          break;
31095        case 4:
31096          u = Vr, Vr = !1, Xo(a, n), Vr && (zf = !0), Vr = u;
31097          break;
31098        case 22:
31099          n.memoizedState === null && (o.memoizedState !== null ? wm(n, !1) : Xo(a, n));
31100          break;
31101        case 30:
31102          u = Vr, c = Wv(), Vr = !1, Xo(a, n), Vr && (n.flags |= 4);
31103          var d = n.memoizedProps, y = n.stateNode;
31104          a = na(d, y), y = na(o.memoizedProps, y);
31105          var O = ra(d.default, d.update);
31106          O === "none" ? a = !1 : (d = o.memoizedState, o.memoizedState = null, o = n.child, Tn = 0, a = _m(
31107            n,
31108            o,
31109            a,
31110            y,
31111            O,
31112            d,
31113            !0
31114          ), Tn !== (d === null ? 0 : d.length) && (n.flags |= 32)), (n.flags & 4) !== 0 && a ? (al(
31115            n,
31116            n.memoizedProps.onUpdate
31117          ), jr = c) : c !== null && (c.push.apply(c, jr), jr = c), Vr = (n.flags & 32) !== 0 ? !0 : u;
31118          break;
31119        default:
31120          Xo(a, n);
31121      }
31122  }
31123  function Br(n, a) {
31124    if (a.subtreeFlags & 8772)
31125      for (a = a.child; a !== null; )
31126        a3(n, a.alternate, a), a = a.sibling;
31127  }
31128  function Qa(n, a) {
31129    for (n = n.child; n !== null; ) {
31130      var o = n, u = a;
31131      switch (o.tag) {
31132        case 0:
31133        case 11:
31134        case 14:
31135        case 15:
31136          Za(4, o, o.return), Qa(
31137            o,
31138            u
31139          );
31140          break;
31141        case 1:
31142          Kt(o, o.return);
31143          var c = o.stateNode;
31144          typeof c.componentWillUnmount == "function" && Yv(
31145            o,
31146            o.return,
31147            c
31148          ), Qa(
31149            o,
31150            u
31151          );
31152          break;
31153        case 27:
31154          (u & 2) !== 0 && fb(
31155            o.stateNode,
31156            o.type,
31157            o.memoizedProps
31158          );
31159        case 5:
31160          Kt(o, o.return), o.tag !== 5 && o.tag !== 27 || Bu(o), Qa(
31161            o,
31162            u
31163          );
31164          break;
31165        case 6:
31166          Bu(o);
31167          break;
31168        case 26:
31169          Kt(o, o.return), c = o.stateNode, o.memoizedState !== null || c === null || Ze || c.parentNode.removeChild(c), Qa(
31170            o,
31171            u
31172          );
31173          break;
31174        case 22:
31175          o.memoizedState === null && Qa(
31176            o,
31177            u
31178          );
31179          break;
31180        case 30:
31181          Kt(o, o.return), Qa(
31182            o,
31183            u
31184          );
31185          break;
31186        case 7:
31187          Kt(o, o.return);
31188        default:
31189          Qa(
31190            o,
31191            u
31192          );
31193      }
31194      n = n.sibling;
31195    }
31196  }
31197  function vr(n, a, o) {
31198    for (o = (a.subtreeFlags & 8772) !== 0 ? o : o & -2, a = a.child; a !== null; ) {
31199      var u = a.alternate, c = n, d = a, y = d.flags, O = (o & 1) !== 0;
31200      switch (d.tag) {
31201        case 0:
31202        case 11:
31203        case 15:
31204          vr(
31205            c,
31206            d,
31207            o
31208          ), Vu(4, d);
31209          break;
31210        case 1:
31211          if (vr(
31212            c,
31213            d,
31214            o
31215          ), u = d, c = u.stateNode, typeof c.componentDidMount == "function")
31216            try {
31217              c.componentDidMount();
31218            } catch (Q) {
31219              Je(u, u.return, Q);
31220            }
31221          if (u = d, c = u.updateQueue, c !== null) {
31222            var P = u.stateNode;
31223            try {
31224              var H = c.shared.hiddenCallbacks;
31225              if (H !== null)
31226                for (c.shared.hiddenCallbacks = null, c = 0; c < H.length; c++)
31227                  I2(H[c], P);
31228            } catch (Q) {
31229              Je(u, u.return, Q);
31230            }
31231          }
31232          O && y & 64 && Gv(d), Ur(d, d.return);
31233          break;
31234        case 27:
31235          (o & 2) !== 0 && Kv(d);
31236        case 5:
31237          d.tag !== 5 && d.tag !== 27 || Zv(d), vr(
31238            c,
31239            d,
31240            o
31241          ), O && u === null && y & 4 && $m(d), Ur(d, d.return);
31242          break;
31243        case 6:
31244          Zv(d);
31245          break;
31246        case 26:
31247          P = d.stateNode, d.memoizedState !== null || P === null || jt || y1(
31248            es(P.ownerDocument),
31249            d.type,
31250            P
31251          ), vr(
31252            c,
31253            d,
31254            o
31255          ), O && u === null && y & 4 && $m(d), Ur(d, d.return);
31256          break;
31257        case 12:
31258          vr(
31259            c,
31260            d,
31261            o
31262          );
31263          break;
31264        case 31:
31265          vr(
31266            c,
31267            d,
31268            o
31269          ), O && y & 4 && u3(c, d);
31270          break;
31271        case 13:
31272          vr(
31273            c,
31274            d,
31275            o
31276          ), O && y & 4 && s3(c, d);
31277          break;
31278        case 22:
31279          d.memoizedState === null && vr(
31280            c,
31281            d,
31282            o
31283          ), Ur(d, d.return);
31284          break;
31285        case 30:
31286          vr(
31287            c,
31288            d,
31289            o
31290          ), Ur(d, d.return);
31291          break;
31292        case 7:
31293          Ur(d, d.return);
31294        default:
31295          vr(
31296            c,
31297            d,
31298            o
31299          );
31300      }
31301      a = a.sibling;
31302    }
31303  }
31304  function Im(n, a) {
31305    var o = null;
31306    n !== null && n.memoizedState !== null && n.memoizedState.cachePool !== null && (o = n.memoizedState.cachePool.pool), n = null, a.memoizedState !== null && a.memoizedState.cachePool !== null && (n = a.memoizedState.cachePool.pool), n !== o && (n != null && n.refCount++, o != null && xu(o));
31307  }
31308  function Pm(n, a) {
31309    n = null, a.alternate !== null && (n = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== n && (a.refCount++, n != null && xu(n));
31310  }
31311  function ar(n, a, o, u) {
31312    var c = (o & 335544064) === o;
31313    if (a.subtreeFlags & (c ? 10262 : 10256))
31314      for (a = a.child; a !== null; )
31315        h3(
31316          n,
31317          a,
31318          o,
31319          u
31320        ), a = a.sibling;
31321    else c && t3(a);
31322  }
31323  function h3(n, a, o, u) {
31324    var c = (o & 335544064) === o;
31325    c && a.alternate === null && a.return !== null && a.return.alternate !== null && Lf(a);
31326    var d = a.flags;
31327    switch (a.tag) {
31328      case 0:
31329      case 11:
31330      case 15:
31331        ar(
31332          n,
31333          a,
31334          o,
31335          u
31336        ), d & 2048 && Vu(9, a);
31337        break;
31338      case 1:
31339        ar(
31340          n,
31341          a,
31342          o,
31343          u
31344        );
31345        break;
31346      case 3:
31347        ar(
31348          n,
31349          a,
31350          o,
31351          u
31352        ), c && Rm && (n = n.containerInfo, n = n.nodeType === 9 ? n.body : n.nodeName === "HTML" ? n.ownerDocument.body : n, n.style.viewTransitionName === "root" && (n.style.viewTransitionName = ""), n = n.ownerDocument.documentElement, n !== null && n.style.viewTransitionName === "none" && (n.style.viewTransitionName = "")), d & 2048 && (d = null, a.alternate !== null && (d = a.alternate.memoizedState.cache), a = a.memoizedState.cache, a !== d && (a.refCount++, d != null && xu(d)));
31353        break;
31354      case 12:
31355        if (d & 2048) {
31356          ar(
31357            n,
31358            a,
31359            o,
31360            u
31361          ), d = a.stateNode;
31362          try {
31363            var y = a.memoizedProps, O = y.id, P = y.onPostCommit;
31364            typeof P == "function" && P(
31365              O,
31366              a.alternate === null ? "mount" : "update",
31367              d.passiveEffectDuration,
31368              -0
31369            );
31370          } catch (H) {
31371            Je(a, a.return, H);
31372          }
31373        } else
31374          ar(
31375            n,
31376            a,
31377            o,
31378            u
31379          );
31380        break;
31381      case 31:
31382        ar(
31383          n,
31384          a,
31385          o,
31386          u
31387        );
31388        break;
31389      case 13:
31390        ar(
31391          n,
31392          a,
31393          o,
31394          u
31395        );
31396        break;
31397      case 23:
31398        break;
31399      case 22:
31400        y = a.stateNode, O = a.alternate, a.memoizedState !== null ? (c && O !== null && O.memoizedState === null && Lf(O), y._visibility & 2 ? ar(
31401          n,
31402          a,
31403          o,
31404          u
31405        ) : Gu(
31406          n,
31407          a
31408        )) : (c && O !== null && O.memoizedState !== null && Lf(a), y._visibility & 2 ? ar(
31409          n,
31410          a,
31411          o,
31412          u
31413        ) : (y._visibility |= 2, Wo(
31414          n,
31415          a,
31416          o,
31417          u,
31418          (a.subtreeFlags & 10256) !== 0 || !1
31419        ))), d & 2048 && Im(O, a);
31420        break;
31421      case 24:
31422        ar(
31423          n,
31424          a,
31425          o,
31426          u
31427        ), d & 2048 && Pm(a.alternate, a);
31428        break;
31429      case 30:
31430        c && (d = a.alternate, d !== null && (Fr(d.child, !0), Fr(a.child, !0))), ar(
31431          n,
31432          a,
31433          o,
31434          u
31435        );
31436        break;
31437      default:
31438        ar(
31439          n,
31440          a,
31441          o,
31442          u
31443        );
31444    }
31445  }
31446  function Wo(n, a, o, u, c) {
31447    for (c = c && ((a.subtreeFlags & 10256) !== 0 || !1), a = a.child; a !== null; ) {
31448      var d = n, y = a, O = o, P = u, H = y.flags;
31449      switch (y.tag) {
31450        case 0:
31451        case 11:
31452        case 15:
31453          Wo(
31454            d,
31455            y,
31456            O,
31457            P,
31458            c
31459          ), Vu(8, y);
31460          break;
31461        case 23:
31462          break;
31463        case 22:
31464          var Q = y.stateNode;
31465          y.memoizedState !== null ? Q._visibility & 2 ? Wo(
31466            d,
31467            y,
31468            O,
31469            P,
31470            c
31471          ) : Gu(
31472            d,
31473            y
31474          ) : (Q._visibility |= 2, Wo(
31475            d,
31476            y,
31477            O,
31478            P,
31479            c
31480          )), c && H & 2048 && Im(
31481            y.alternate,
31482            y
31483          );
31484          break;
31485        case 24:
31486          Wo(
31487            d,
31488            y,
31489            O,
31490            P,
31491            c
31492          ), c && H & 2048 && Pm(y.alternate, y);
31493          break;
31494        default:
31495          Wo(
31496            d,
31497            y,
31498            O,
31499            P,
31500            c
31501          );
31502      }
31503      a = a.sibling;
31504    }
31505  }
31506  function Gu(n, a) {
31507    if (a.subtreeFlags & 10256)
31508      for (a = a.child; a !== null; ) {
31509        var o = n, u = a, c = u.flags;
31510        switch (u.tag) {
31511          case 22:
31512            Gu(o, u), c & 2048 && Im(
31513              u.alternate,
31514              u
31515            );
31516            break;
31517          case 24:
31518            Gu(o, u), c & 2048 && Pm(u.alternate, u);
31519            break;
31520          default:
31521            Gu(o, u);
31522        }
31523        a = a.sibling;
31524      }
31525  }
31526  var qi = 8192;
31527  function Gi(n, a, o) {
31528    if (n.subtreeFlags & qi)
31529      for (n = n.child; n !== null; )
31530        m3(
31531          n,
31532          a,
31533          o
31534        ), n = n.sibling;
31535  }
31536  function m3(n, a, o) {
31537    switch (n.tag) {
31538      case 26:
31539        Gi(
31540          n,
31541          a,
31542          o
31543        ), n.flags & qi && (n.memoizedState !== null ? ZC(
31544          o,
31545          yr,
31546          n.memoizedState,
31547          n.memoizedProps
31548        ) : (n = n.stateNode, (a & 335544128) === a && $b(o, n)));
31549        break;
31550      case 5:
31551        Gi(
31552          n,
31553          a,
31554          o
31555        ), n.flags & qi && (n = n.stateNode, (a & 335544128) === a && $b(o, n));
31556        break;
31557      case 3:
31558      case 4:
31559        var u = yr;
31560        yr = es(n.stateNode.containerInfo), Gi(
31561          n,
31562          a,
31563          o
31564        ), yr = u;
31565        break;
31566      case 22:
31567        n.memoizedState === null && (u = n.alternate, u !== null && u.memoizedState !== null ? (u = qi, qi = 16777216, Gi(
31568          n,
31569          a,
31570          o
31571        ), qi = u) : Gi(
31572          n,
31573          a,
31574          o
31575        ));
31576        break;
31577      case 30:
31578        if ((n.flags & qi) !== 0 && (u = n.memoizedProps.name, u != null && u !== "auto")) {
31579          var c = n.stateNode;
31580          c.paired = null, Ln === null && (Ln = /* @__PURE__ */ new Map()), Ln.set(u, c);
31581        }
31582        Gi(
31583          n,
31584          a,
31585          o
31586        );
31587        break;
31588      default:
31589        Gi(
31590          n,
31591          a,
31592          o
31593        );
31594    }
31595  }
31596  function g3(n) {
31597    var a = n.alternate;
31598    if (a !== null && (n = a.child, n !== null)) {
31599      a.child = null;
31600      do
31601        a = n.sibling, n.sibling = null, n = a;
31602      while (n !== null);
31603    }
31604  }
31605  function Yu(n) {
vendor: 17,294 bytes, lines 31606-32263
31606    var a = n.deletions;
31607    if ((n.flags & 16) !== 0) {
31608      if (a !== null)
31609        for (var o = 0; o < a.length; o++) {
31610          var u = a[o];
31611          Ft = u, y3(
31612            u,
31613            n
31614          );
31615        }
31616      g3(n);
31617    }
31618    if (n.subtreeFlags & 10256)
31619      for (n = n.child; n !== null; )
31620        p3(n), n = n.sibling;
31621  }
31622  function p3(n) {
31623    switch (n.tag) {
31624      case 0:
31625      case 11:
31626      case 15:
31627        Yu(n), n.flags & 2048 && Za(9, n, n.return);
31628        break;
31629      case 3:
31630        Yu(n);
31631        break;
31632      case 12:
31633        Yu(n);
31634        break;
31635      case 22:
31636        var a = n.stateNode;
31637        n.memoizedState !== null && a._visibility & 2 && (n.return === null || n.return.tag !== 13) ? (a._visibility &= -3, Ff(n)) : Yu(n);
31638        break;
31639      default:
31640        Yu(n);
31641    }
31642  }
31643  function Ff(n) {
31644    var a = n.deletions;
31645    if ((n.flags & 16) !== 0) {
31646      if (a !== null)
31647        for (var o = 0; o < a.length; o++) {
31648          var u = a[o];
31649          Ft = u, y3(
31650            u,
31651            n
31652          );
31653        }
31654      g3(n);
31655    }
31656    for (n = n.child; n !== null; ) {
31657      switch (a = n, a.tag) {
31658        case 0:
31659        case 11:
31660        case 15:
31661          Za(8, a, a.return), Ff(a);
31662          break;
31663        case 22:
31664          o = a.stateNode, o._visibility & 2 && (o._visibility &= -3, Ff(a));
31665          break;
31666        default:
31667          Ff(a);
31668      }
31669      n = n.sibling;
31670    }
31671  }
31672  function y3(n, a) {
31673    for (; Ft !== null; ) {
31674      var o = Ft;
31675      switch (o.tag) {
31676        case 0:
31677        case 11:
31678        case 15:
31679          Za(8, o, a);
31680          break;
31681        case 23:
31682        case 22:
31683          if (o.memoizedState !== null && o.memoizedState.cachePool !== null) {
31684            var u = o.memoizedState.cachePool.pool;
31685            u != null && u.refCount++;
31686          }
31687          break;
31688        case 24:
31689          xu(o.memoizedState.cache);
31690      }
31691      if (u = o.child, u !== null) u.return = o, Ft = u;
31692      else
31693        e: for (o = n; Ft !== null; ) {
31694          u = Ft;
31695          var c = u.sibling, d = u.return;
31696          if (o3(u), u === o) {
31697            Ft = null;
31698            break e;
31699          }
31700          if (c !== null) {
31701            c.return = d, Ft = c;
31702            break e;
31703          }
31704          Ft = d;
31705        }
31706    }
31707  }
31708  var VT = {
31709    getCacheForType: function(n) {
31710      var a = Yt(wt), o = a.data.get(n);
31711      return o === void 0 && (o = n(), a.data.set(n, o)), o;
31712    },
31713    cacheSignal: function() {
31714      return Yt(wt).controller.signal;
31715    }
31716  }, BT = typeof WeakMap == "function" ? WeakMap : Map, Ve = 0, at = null, De = null, Ie = 0, We = 0, zn = null, Ka = !1, Jo = !1, km = !1, da = 0, bt = 0, Xa = 0, Yi = 0, Hf = 0, Un = 0, el = 0, Zu = null, wn = null, Lm = !1, Vf = 0, v3 = 0, Bf = 1 / 0, qf = null, Wa = null, pt = 0, br = null, Zi = null, qr = 0, zm = 0, Um = null, b3 = null, tl = null, nl = null, rl = null, Qu = 0, Gf = null;
31717  function jn() {
31718    return (Ve & 2) !== 0 && Ie !== 0 ? Ie & -Ie : he.T !== null ? Qm() : jc();
31719  }
31720  function S3() {
31721    if (Un === 0)
31722      if ((Ie & 536870912) === 0 || xe) {
31723        var n = Ti;
31724        Ti <<= 1, (Ti & 3932160) === 0 && (Ti = 262144), Un = n;
31725      } else Un = 536870912;
31726    return n = Zt.current, n !== null && (n.flags |= 32), Un;
31727  }
31728  function al(n, a) {
31729    if (a != null) {
31730      var o = n.stateNode, u = o.ref;
31731      u === null && (u = o.ref = eb(
31732        na(n.memoizedProps, o)
31733      )), nl === null && (nl = []), nl.push(a.bind(null, u));
31734    }
31735  }
31736  function On(n, a, o) {
31737    (n === at && (We === 2 || We === 9) || n.cancelPendingCommit !== null) && (il(n, 0), Ja(
31738      n,
31739      Ie,
31740      Un,
31741      !1
31742    )), Xn(n, o), ((Ve & 2) === 0 || n !== at) && (n === at && ((Ve & 2) === 0 && (Yi |= o), bt === 4 && Ja(
31743      n,
31744      Ie,
31745      Un,
31746      !1
31747    )), Gr(n));
31748  }
31749  function $3(n, a, o) {
31750    if ((Ve & 6) !== 0) throw Error(i(327));
31751    var u = !o && (a & 127) === 0 && (a & n.expiredLanes) === 0 || Ci(n, a), c = u ? YT(n, a) : Fm(n, a, !0), d = u;
31752    do {
31753      if (c === 0) {
31754        Jo && !u && Ja(n, a, 0, !1);
31755        break;
31756      } else {
31757        if (o = n.current.alternate, d && !qT(o)) {
31758          c = Fm(n, a, !1), d = !1;
31759          continue;
31760        }
31761        if (c === 2) {
31762          if (d = a, n.errorRecoveryDisabledLanes & d)
31763            var y = 0;
31764          else
31765            y = n.pendingLanes & -536870913, y = y !== 0 ? y : y & 536870912 ? 536870912 : 0;
31766          if (y !== 0) {
31767            a = y;
31768            e: {
31769              var O = n;
31770              c = Zu;
31771              var P = O.current.memoizedState.isDehydrated;
31772              if (P && (il(O, y).flags |= 256), y = Fm(
31773                O,
31774                y,
31775                !1
31776              ), y !== 2 && y !== 6) {
31777                if (km && !P) {
31778                  O.errorRecoveryDisabledLanes |= d, Yi |= d, c = 4;
31779                  break e;
31780                }
31781                d = wn, wn = c, d !== null && (wn === null ? wn = d : wn.push.apply(
31782                  wn,
31783                  d
31784                ));
31785              }
31786              c = y;
31787            }
31788            if (d = !1, c !== 2) continue;
31789          }
31790        }
31791        if (c === 1) {
31792          il(n, 0), Ja(n, a, 0, !0);
31793          break;
31794        }
31795        e: {
31796          switch (u = n, d = c, d) {
31797            case 0:
31798            case 1:
31799              throw Error(i(345));
31800            case 4:
31801              if ((a & 4194048) !== a && (a & 62914560) !== a)
31802                break;
31803            case 6:
31804              Ja(
31805                u,
31806                a,
31807                Un,
31808                !Ka
31809              );
31810              break e;
31811            case 2:
31812              wn = null;
31813              break;
31814            case 3:
31815            case 5:
31816              break;
31817            default:
31818              throw Error(i(329));
31819          }
31820          if ((a & 62914560) === a && (c = Vf + 300 - on(), 10 < c)) {
31821            if (Ja(
31822              u,
31823              a,
31824              Un,
31825              !Ka
31826            ), Ma(u, 0, !0) !== 0) break e;
31827            qr = a, u.timeoutHandle = o1(
31828              E3.bind(
31829                null,
31830                u,
31831                o,
31832                wn,
31833                qf,
31834                Lm,
31835                a,
31836                Un,
31837                Yi,
31838                el,
31839                Ka,
31840                d,
31841                "Throttled",
31842                -0,
31843                0
31844              ),
31845              c
31846            );
31847            break e;
31848          }
31849          E3(
31850            u,
31851            o,
31852            wn,
31853            qf,
31854            Lm,
31855            a,
31856            Un,
31857            Yi,
31858            el,
31859            Ka,
31860            d,
31861            null,
31862            -0,
31863            0
31864          );
31865        }
31866      }
31867      break;
31868    } while (!0);
31869    Gr(n);
31870  }
31871  function E3(n, a, o, u, c, d, y, O, P, H, Q, J, j, Y) {
31872    n.timeoutHandle = -1;
31873    var oe = a.subtreeFlags, fe = (d & 335544064) === d;
31874    if (J = null, (fe || oe & 8192 || (oe & 16785408) === 16785408) && (J = {
31875      stylesheets: null,
31876      count: 0,
31877      imgCount: 0,
31878      imgBytes: 0,
31879      suspenseyImages: [],
31880      waitingForImages: !0,
31881      waitingForViewTransition: !1,
31882      unsuspend: kr
31883    }, Ln = null, m3(
31884      a,
31885      d,
31886      J
31887    ), fe && (oe = J, fe = n.containerInfo, fe = (fe.nodeType === 9 ? fe : fe.ownerDocument).__reactViewTransition, fe != null && (oe.count++, oe.waitingForViewTransition = !0, oe = rs.bind(oe), fe.finished.then(oe, oe))), oe = (d & 62914560) === d ? Vf - on() : (d & 4194048) === d ? v3 - on() : 0, oe = QC(
31888      J,
31889      oe
31890    ), oe !== null)) {
31891      qr = d, n.cancelPendingCommit = oe(
31892        x3.bind(
31893          null,
31894          n,
31895          a,
31896          d,
31897          o,
31898          u,
31899          c,
31900          y,
31901          O,
31902          P,
31903          H,
31904          Q,
31905          J,
31906          null,
31907          j,
31908          Y
31909        )
31910      ), Ja(n, d, y, !H);
31911      return;
31912    }
31913    x3(
31914      n,
31915      a,
31916      d,
31917      o,
31918      u,
31919      c,
31920      y,
31921      O,
31922      P,
31923      H,
31924      Q,
31925      J
31926    );
31927  }
31928  function qT(n) {
31929    for (var a = n; ; ) {
31930      var o = a.tag;
31931      if ((o === 0 || o === 11 || o === 15) && a.flags & 16384 && (o = a.updateQueue, o !== null && (o = o.stores, o !== null)))
31932        for (var u = 0; u < o.length; u++) {
31933          var c = o[u], d = c.getSnapshot;
31934          c = c.value;
31935          try {
31936            if (!Pn(d(), c)) return !1;
31937          } catch {
31938            return !1;
31939          }
31940        }
31941      if (o = a.child, a.subtreeFlags & 16384 && o !== null)
31942        o.return = a, a = o;
31943      else {
31944        if (a === n) break;
31945        for (; a.sibling === null; ) {
31946          if (a.return === null || a.return === n) return !0;
31947          a = a.return;
31948        }
31949        a.sibling.return = a.return, a = a.sibling;
31950      }
31951    }
31952    return !0;
31953  }
31954  function Ja(n, a, o, u) {
31955    a = Ia(n, a), a &= ~Hf, a &= ~Yi, n.suspendedLanes |= a, n.pingedLanes &= ~a, u && (n.warmLanes |= a), u = n.expirationTimes;
31956    for (var c = a; 0 < c; ) {
31957      var d = 31 - dt(c), y = 1 << d;
31958      u[d] = -1, c &= ~y;
31959    }
31960    o !== 0 && hu(n, o, a);
31961  }
31962  function Yf() {
31963    return (Ve & 6) === 0 ? (Ku(0), !1) : !0;
31964  }
31965  function jm() {
31966    if (De !== null) {
31967      if (We === 0)
31968        var n = De.return;
31969      else
31970        n = De, oa = Pi = null, Z0(n), qo = null, Mu = 0, n = De;
31971      for (; n !== null; )
31972        qv(n.alternate, n), n = n.return;
31973      De = null;
31974    }
31975  }
31976  function il(n, a) {
31977    var o = n.timeoutHandle;
31978    return o !== -1 && (n.timeoutHandle = -1, gC(o)), o = n.cancelPendingCommit, o !== null && (n.cancelPendingCommit = null, o()), qr = 0, jm(), at = n, De = o = aa(n.current, null), Ie = a, We = 0, zn = null, Ka = !1, Jo = Ci(n, a), km = !1, el = Un = Hf = Yi = Xa = bt = 0, wn = Zu = null, Lm = !1, da = Ia(n, a), ef(), o;
31979  }
31980  function T3(n, a) {
31981    Oe = null, he.H = Of, a === Bo || a === df ? (a = x2(), We = 3) : a === P0 ? (a = x2(), We = 4) : We = a === sm ? 8 : a !== null && typeof a == "object" && typeof a.then == "function" ? 6 : 1, zn = a, De === null && (bt = 1, Nf(
31982      n,
31983      er(a, n.current)
31984    ));
31985  }
31986  function C3() {
31987    var n = Zt.current;
31988    return n === null ? !0 : (Ie & 4194048) === Ie ? ln === null : (Ie & 62914560) === Ie || (Ie & 536870912) !== 0 ? n === ln : !1;
31989  }
31990  function w3() {
31991    var n = he.H;
31992    return he.H = Of, n === null ? Of : n;
31993  }
31994  function O3() {
31995    var n = he.A;
31996    return he.A = VT, n;
31997  }
31998  function Zf() {
31999    bt = 4, Ka || (Ie & 4194048) !== Ie && Zt.current !== null || (Jo = !0), (Xa & 134217727) === 0 && (Yi & 134217727) === 0 || at === null || Ja(
32000      at,
32001      Ie,
32002      Un,
32003      !1
32004    );
32005  }
32006  function Fm(n, a, o) {
32007    var u = Ve;
32008    Ve |= 2;
32009    var c = w3(), d = O3();
32010    (at !== n || Ie !== a) && (qf = null, il(n, a)), a = !1;
32011    var y = bt;
32012    e: do
32013      try {
32014        if (We !== 0 && De !== null) {
32015          var O = De, P = zn;
32016          switch (We) {
32017            case 8:
32018              jm(), y = 6;
32019              break e;
32020            case 3:
32021            case 2:
32022            case 9:
32023            case 6:
32024              Zt.current === null && (a = !0);
32025              var H = We;
32026              if (We = 0, zn = null, ol(n, O, P, H), o && Jo) {
32027                y = 0;
32028                break e;
32029              }
32030              break;
32031            default:
32032              H = We, We = 0, zn = null, ol(n, O, P, H);
32033          }
32034        }
32035        GT(), y = bt;
32036        break;
32037      } catch (Q) {
32038        T3(n, Q);
32039      }
32040    while (!0);
32041    return a && n.shellSuspendCounter++, oa = Pi = null, Ve = u, he.H = c, he.A = d, De === null && (at = null, Ie = 0, ef()), y;
32042  }
32043  function GT() {
32044    for (; De !== null; ) N3(De);
32045  }
32046  function YT(n, a) {
32047    var o = Ve;
32048    Ve |= 2;
32049    var u = w3(), c = O3();
32050    at !== n || Ie !== a ? (qf = null, Bf = on() + 500, il(n, a)) : Jo = Ci(
32051      n,
32052      a
32053    );
32054    e: do
32055      try {
32056        if (We !== 0 && De !== null) {
32057          a = De;
32058          var d = zn;
32059          t: switch (We) {
32060            case 1:
32061              We = 0, zn = null, ol(n, a, d, 1);
32062              break;
32063            case 2:
32064            case 9:
32065              if (A2(d)) {
32066                We = 0, zn = null, A3(a);
32067                break;
32068              }
32069              a = function() {
32070                We !== 2 && We !== 9 || at !== n || (We = 7), Gr(n);
32071              }, d.then(a, a);
32072              break e;
32073            case 3:
32074              We = 7;
32075              break e;
32076            case 4:
32077              We = 5;
32078              break e;
32079            case 7:
32080              A2(d) ? (We = 0, zn = null, A3(a)) : (We = 0, zn = null, ol(n, a, d, 7));
32081              break;
32082            case 5:
32083              var y = null;
32084              switch (De.tag) {
32085                case 26:
32086                  y = De.memoizedState;
32087                case 5:
32088                case 27:
32089                  var O = De;
32090                  if (y ? bb(y) : O.stateNode.complete) {
32091                    We = 0, zn = null;
32092                    var P = O.sibling;
32093                    if (P !== null) De = P;
32094                    else {
32095                      var H = O.return;
32096                      H !== null ? (De = H, Qf(H)) : De = null;
32097                    }
32098                    break t;
32099                  }
32100              }
32101              We = 0, zn = null, ol(n, a, d, 5);
32102              break;
32103            case 6:
32104              We = 0, zn = null, ol(n, a, d, 6);
32105              break;
32106            case 8:
32107              jm(), bt = 6;
32108              break e;
32109            default:
32110              throw Error(i(462));
32111          }
32112        }
32113        ZT();
32114        break;
32115      } catch (Q) {
32116        T3(n, Q);
32117      }
32118    while (!0);
32119    return oa = Pi = null, he.H = u, he.A = c, Ve = o, De !== null ? 0 : (at = null, Ie = 0, ef(), bt);
32120  }
32121  function ZT() {
32122    for (; De !== null && !Ic(); )
32123      N3(De);
32124  }
32125  function N3(n) {
32126    var a = Vv(n.alternate, n, da);
32127    n.memoizedProps = n.pendingProps, a === null ? Qf(n) : De = a;
32128  }
32129  function A3(n) {
32130    var a = n, o = a.alternate;
32131    switch (a.tag) {
32132      case 15:
32133      case 0:
32134        a = kv(
32135          o,
32136          a,
32137          a.pendingProps,
32138          a.type,
32139          void 0,
32140          Ie
32141        );
32142        break;
32143      case 11:
32144        a = kv(
32145          o,
32146          a,
32147          a.pendingProps,
32148          a.type.render,
32149          a.ref,
32150          Ie
32151        );
32152        break;
32153      case 5:
32154        Z0(a);
32155        var u = a;
32156        u === Ut && (xe ? (lf(u), u.tag === 5 && u.stateNode != null && (lt = u.stateNode)) : (lf(u), xe = !0));
32157      default:
32158        qv(o, a), a = De = y2(a, da), a = Vv(o, a, da);
32159    }
32160    n.memoizedProps = n.pendingProps, a === null ? Qf(n) : De = a;
32161  }
32162  function ol(n, a, o, u) {
32163    oa = Pi = null, Z0(a), qo = null, Mu = 0;
32164    var c = a.return;
32165    try {
32166      if (PT(
32167        n,
32168        c,
32169        a,
32170        o,
32171        Ie
32172      )) {
32173        bt = 1, Nf(
32174          n,
32175          er(o, n.current)
32176        ), De = null;
32177        return;
32178      }
32179    } catch (d) {
32180      if (c !== null) throw De = c, d;
32181      bt = 1, Nf(
32182        n,
32183        er(o, n.current)
32184      ), De = null;
32185      return;
32186    }
32187    a.flags & 32768 ? (xe || u === 1 ? n = !0 : Jo || (Ie & 536870912) !== 0 ? n = !1 : (Ka = n = !0, (u === 2 || u === 9 || u === 3 || u === 6) && (u = Zt.current, u !== null && u.tag === 13 && (u.flags |= 16384))), _3(a, n)) : Qf(a);
32188  }
32189  function Qf(n) {
32190    var a = n;
32191    do {
32192      if ((a.flags & 32768) !== 0) {
32193        _3(
32194          a,
32195          Ka
32196        );
32197        return;
32198      }
32199      n = a.return;
32200      var o = UT(
32201        a.alternate,
32202        a,
32203        da
32204      );
32205      if (o !== null) {
32206        De = o;
32207        return;
32208      }
32209      if (a = a.sibling, a !== null) {
32210        De = a;
32211        return;
32212      }
32213      De = a = n;
32214    } while (a !== null);
32215    bt === 0 && (bt = 5);
32216  }
32217  function _3(n, a) {
32218    do {
32219      var o = jT(n.alternate, n);
32220      if (o !== null) {
32221        o.flags &= 32767, De = o;
32222        return;
32223      }
32224      if (o = n.return, o !== null && (o.flags |= 32768, o.subtreeFlags = 0, o.deletions = null), !a && (n = n.sibling, n !== null)) {
32225        De = n;
32226        return;
32227      }
32228      De = n = o;
32229    } while (n !== null);
32230    bt = 6, De = null;
32231  }
32232  function x3(n, a, o, u, c, d, y, O, P, H, Q, J) {
32233    n.cancelPendingCommit = null;
32234    do
32235      Kf();
32236    while (pt !== 0);
32237    if ((Ve & 6) !== 0) throw Error(i(327));
32238    if (a !== null) {
32239      if (a === n.current) throw Error(i(177));
32240      n === at && (De = at = null, Ie = 0), Zi = a, br = n, qr = o, Um = c, b3 = u, QT(
32241        n,
32242        a,
32243        o,
32244        y,
32245        O,
32246        P,
32247        J
32248      );
32249    }
32250  }
32251  function QT(n, a, o, u, c, d, y) {
32252    var O = a.lanes | a.childLanes;
32253    if (zm = O, O |= E0, Jh(
32254      n,
32255      o,
32256      O,
32257      u,
32258      c,
32259      d
32260    ), nl = null, (o & 335544064) === o ? (rl = TT(n), u = 10262) : (rl = null, u = 10256), (a.subtreeFlags & u) !== 0 || (a.flags & u) !== 0 ? (n.callbackNode = null, n.callbackPriority = 0, tC(dr, function() {
32261      return qm(), null;
32262    })) : (n.callbackNode = null, n.callbackPriority = 0), Pf = !1, u = (a.flags & 13878) !== 0, (a.subtreeFlags & 13878) !== 0 || u) {
32263      u = he.T, he.T = null, c = Ee.p, Ee.p = 2, d = Ve, Ve |= 4;
32264      try {
32265        FT(n, a, o);
32266      } finally {
32267        Ve = d, Ee.p = c, he.T = u;
32268      }
32269    }
32270    pt = 1, Pf ? tl = $C(
32271      y,
32272      n.containerInfo,
32273      rl,
32274      Hm,
32275      Vm,
32276      XT,
32277      Bm,
32278      qm,
32279      KT
32280    ) : (Hm(), Vm(), Bm());
32281  }
32282  function KT(n) {
32283    if (pt !== 0) {
32284      var a = br.onRecoverableError;
32285      a(n, { componentStack: null });
32286    }
32287  }
32288  function XT() {
32289    pt === 3 && (pt = 0, d3(Zi, br), pt = 4);
32290  }
32291  function Hm() {
32292    if (pt === 1) {
32293      pt = 0;
32294      var n = br, a = Zi, o = qr, u = (a.flags & 13878) !== 0;
32295      if ((a.subtreeFlags & 13878) !== 0 || u) {
32296        u = he.T, he.T = null;
32297        var c = Ee.p;
32298        Ee.p = 2;
32299        var d = Ve;
32300        Ve |= 4;
32301        try {
32302          qu = zf = !1, c3(a, n, o), o = r1;
32303          var y = l2(n.containerInfo), O = o.focusedElem, P = o.selectionRange;
32304          if (y !== O && O && O.ownerDocument && o2(
32305            O.ownerDocument.documentElement,
32306            O
32307          )) {
32308            if (P !== null && y0(O)) {
32309              var H = P.start, Q = P.end;
32310              if (Q === void 0 && (Q = H), "selectionStart" in O)
32311                O.selectionStart = H, O.selectionEnd = Math.min(
32312                  Q,
32313                  O.value.length
32314                );
32315              else {
32316                var J = O.ownerDocument || document, j = J && J.defaultView || window;
32317                if (j.getSelection) {
32318                  var Y = j.getSelection(), oe = O.textContent.length, fe = Math.min(P.start, oe), Ne = P.end === void 0 ? fe : Math.min(P.end, oe);
32319                  !Y.extend && fe > Ne && (y = Ne, Ne = fe, fe = y);
32320                  var F = i2(
32321                    O,
32322                    fe
32323                  ), z = i2(
32324                    O,
32325                    Ne
32326                  );
32327                  if (F && z && (Y.rangeCount !== 1 || Y.anchorNode !== F.node || Y.anchorOffset !== F.offset || Y.focusNode !== z.node || Y.focusOffset !== z.offset)) {
32328                    var B = J.createRange();
32329                    B.setStart(F.node, F.offset), Y.removeAllRanges(), fe > Ne ? (Y.addRange(B), Y.extend(z.node, z.offset)) : (B.setEnd(z.node, z.offset), Y.addRange(B));
32330                  }
32331                }
32332              }
32333            }
32334            for (J = [], Y = O; Y = Y.parentNode; )
32335              Y.nodeType === 1 && J.push({
32336                element: Y,
32337                left: Y.scrollLeft,
32338                top: Y.scrollTop
32339              });
32340            for (typeof O.focus == "function" && O.focus(), O = 0; O < J.length; O++) {
32341              var W = J[O];
32342              W.element.scrollLeft = W.left, W.element.scrollTop = W.top;
32343            }
32344          }
32345          ml = !!n1, r1 = n1 = null;
32346        } finally {
32347          Ve = d, Ee.p = c, he.T = u;
32348        }
32349      }
32350      n.current = a, pt = 2;
32351    }
32352  }
32353  function Vm() {
32354    if (pt === 2) {
32355      pt = 0;
32356      var n = br, a = Zi, o = (a.flags & 8772) !== 0;
32357      if ((a.subtreeFlags & 8772) !== 0 || o) {
32358        o = he.T, he.T = null;
32359        var u = Ee.p;
32360        Ee.p = 2;
32361        var c = Ve;
32362        Ve |= 4;
32363        try {
32364          a3(n, a.alternate, a);
32365        } finally {
32366          Ve = c, Ee.p = u, he.T = o;
32367        }
32368      }
32369      pt = 3;
32370    }
32371  }
32372  function Bm() {
32373    if (pt === 4 || pt === 3) {
32374      pt = 0;
32375      var n = tl;
32376      tl = null, Pc();
32377      var a = br, o = Zi, u = qr, c = b3, d = (u & 335544064) === u ? 10262 : 10256;
32378      if ((o.subtreeFlags & d) !== 0 || (o.flags & d) !== 0 ? pt = 5 : (pt = 0, Zi = br = null, R3(a, a.pendingLanes)), d = a.pendingLanes, d === 0 && (Wa = null), gu(u), o = o.stateNode, zt && typeof zt.onCommitFiberRoot == "function")
32379        try {
32380          zt.onCommitFiberRoot(
32381            xa,
32382            o,
32383            void 0,
32384            (o.current.flags & 128) === 128
32385          );
32386        } catch {
32387        }
32388      if (c !== null) {
32389        o = he.T, d = Ee.p, Ee.p = 2, he.T = null;
32390        try {
32391          for (var y = a.onRecoverableError, O = 0; O < c.length; O++) {
32392            var P = c[O];
32393            y(P.value, {
32394              componentStack: P.stack
32395            });
32396          }
32397        } finally {
32398          he.T = o, Ee.p = d;
32399        }
32400      }
32401      if (c = nl, y = rl, rl = null, c !== null && (nl = null, y === null && (y = []), n !== null))
32402        for (P = 0; P < c.length; P++)
32403          o = (0, c[P])(
32404            y
32405          ), o !== void 0 && n.finished.finally(o);
32406      (qr & 3) !== 0 && Kf(), Gr(a), d = a.pendingLanes, (u & 261930) !== 0 && (d & 42) !== 0 ? a === Gf ? Qu++ : (Qu = 0, Gf = a) : (Qu = 0, Gf = null), Ku(0);
32407    }
32408  }
32409  function R3(n, a) {
32410    (n.pooledCacheLanes &= a) === 0 && (a = n.pooledCache, a != null && (n.pooledCache = null, xu(a)));
32411  }
32412  function Kf() {
32413    return tl !== null && (tl.skipTransition(), tl = null), Hm(), Vm(), Bm(), qm();
32414  }
32415  function qm() {
32416    if (pt !== 5) return !1;
32417    var n = br, a = zm;
32418    zm = 0;
32419    var o = gu(qr), u = he.T, c = Ee.p;
32420    try {
32421      Ee.p = 32 > o ? 32 : o, he.T = null, o = Um, Um = null;
32422      var d = br, y = qr;
32423      if (pt = 0, Zi = br = null, qr = 0, (Ve & 6) !== 0) throw Error(i(331));
32424      var O = Ve;
32425      if (Ve |= 4, p3(d.current), h3(
32426        d,
32427        d.current,
32428        y,
32429        o
32430      ), Ve = O, Ku(0, !1), zt && typeof zt.onPostCommitFiberRoot == "function")
32431        try {
32432          zt.onPostCommitFiberRoot(xa, d);
32433        } catch {
32434        }
32435      return !0;
32436    } finally {
32437      Ee.p = c, he.T = u, R3(n, a);
32438    }
32439  }
32440  function D3(n, a, o) {
32441    a = er(o, a), a = um(n.stateNode, a, 2), n = Ba(n, a, 2), n !== null && (Xn(n, 2), Gr(n));
32442  }
32443  function Je(n, a, o) {
32444    if (n.tag === 3)
32445      D3(n, n, o);
32446    else
32447      for (; a !== null; ) {
32448        if (a.tag === 3) {
32449          D3(
32450            a,
32451            n,
32452            o
32453          );
32454          break;
32455        } else if (a.tag === 1) {
32456          var u = a.stateNode;
32457          if (typeof a.type.getDerivedStateFromError == "function" || typeof u.componentDidCatch == "function" && (Wa === null || !Wa.has(u))) {
32458            n = er(o, n), o = Av(2), u = Ba(a, o, 2), u !== null && (_v(
32459              o,
32460              u,
32461              a,
32462              n
32463            ), Xn(u, 2), Gr(u));
32464            break;
32465          }
32466        }
32467        a = a.return;
32468      }
32469  }
32470  function Gm(n, a, o) {
32471    var u = n.pingCache;
32472    if (u === null) {
32473      u = n.pingCache = new BT();
32474      var c = /* @__PURE__ */ new Set();
32475      u.set(a, c);
32476    } else
32477      c = u.get(a), c === void 0 && (c = /* @__PURE__ */ new Set(), u.set(a, c));
32478    c.has(o) || (km = !0, c.add(o), n = WT.bind(null, n, a, o), a.then(n, n));
32479  }
32480  function WT(n, a, o) {
32481    var u = n.pingCache;
32482    u !== null && u.delete(a), n.pingedLanes |= n.suspendedLanes & o, n.warmLanes &= ~o, at === n && (Ie & o) === o && ((bt === 4 || bt === 3 && (Ie & 62914560) === Ie && 300 > on() - Vf) && (Ve & 2) === 0 ? il(n, 0) : Hf |= o, el === Ie && (el = 0)), Gr(n);
32483  }
32484  function M3(n, a) {
32485    a === 0 && (a = Uc()), n = Di(n, a), n !== null && (Xn(n, a), Gr(n));
32486  }
32487  function JT(n) {
32488    var a = n.memoizedState, o = 0;
32489    a !== null && (o = a.retryLane), M3(n, o);
32490  }
32491  function eC(n, a) {
32492    var o = 0;
32493    switch (n.tag) {
32494      case 31:
32495      case 13:
32496        var u = n.stateNode, c = n.memoizedState;
32497        c !== null && (o = c.retryLane);
32498        break;
32499      case 19:
32500        u = n.stateNode;
32501        break;
32502      case 22:
32503        u = n.stateNode._retryCache;
32504        break;
32505      default:
32506        throw Error(i(314));
32507    }
32508    u !== null && u.delete(a), M3(n, o);
32509  }
32510  function tC(n, a) {
32511    return Aa(n, a);
32512  }
32513  var ll = null, ul = null, Ym = !1, Xf = !1, Zm = !1, ei = 0;
32514  function Gr(n) {
32515    n !== ul && n.next === null && (ul === null ? ll = ul = n : ul = ul.next = n), Xf = !0, Ym || (Ym = !0, rC());
32516  }
32517  function Ku(n, a) {
32518    if (!Zm && Xf) {
32519      Zm = !0;
32520      do
32521        for (var o = !1, u = ll; u !== null; ) {
32522          if (n !== 0) {
32523            var c = u.pendingLanes;
32524            if (c === 0) var d = 0;
32525            else {
32526              var y = u.suspendedLanes, O = u.pingedLanes;
32527              d = (1 << 31 - dt(42 | n) + 1) - 1, d &= c & ~(y & ~O), d = d & 201326741 ? d & 201326741 | 1 : d ? d | 2 : 0;
32528            }
32529            d !== 0 && (o = !0, L3(u, d));
32530          } else
32531            d = Ie, d = Ma(
32532              u,
32533              u === at ? d : 0,
32534              u.cancelPendingCommit !== null || u.timeoutHandle !== -1
32535            ), (d & 3) === 0 || Ci(u, d) || (o = !0, L3(u, d));
32536          u = u.next;
32537        }
32538      while (o);
32539      Zm = !1;
32540    }
32541  }
32542  function nC() {
32543    I3();
32544  }
32545  function I3() {
32546    Xf = Ym = !1;
32547    var n = 0;
vendor: 8,339 bytes, lines 32548-32808
32548    ei !== 0 && mC() && (n = ei);
32549    for (var a = on(), o = null, u = ll; u !== null; ) {
32550      var c = u.next, d = P3(u, a);
32551      d === 0 ? (u.next = null, o === null ? ll = c : o.next = c, c === null && (ul = o)) : (o = u, (n !== 0 || (d & 3) !== 0) && (Xf = !0)), u = c;
32552    }
32553    pt !== 0 && pt !== 5 || Ku(n), ei !== 0 && (ei = 0);
32554  }
32555  function P3(n, a) {
32556    for (var o = n.suspendedLanes, u = n.pingedLanes, c = n.expirationTimes, d = n.pendingLanes & -62914561; 0 < d; ) {
32557      var y = 31 - dt(d), O = 1 << y, P = c[y];
32558      P === -1 ? ((O & o) === 0 || (O & u) !== 0) && (c[y] = Wh(O, a)) : P <= a && (n.expiredLanes |= O), d &= ~O;
32559    }
32560    if (a = at, o = Ie, o = Ma(
32561      n,
32562      n === a ? o : 0,
32563      n.cancelPendingCommit !== null || n.timeoutHandle !== -1
32564    ), u = n.callbackNode, o === 0 || n === a && (We === 2 || We === 9) || n.cancelPendingCommit !== null)
32565      return u !== null && u !== null && _a(u), n.callbackNode = null, n.callbackPriority = 0;
32566    if ((o & 3) === 0 || Ci(n, o)) {
32567      if (a = o & -o, a === n.callbackPriority) return a;
32568      switch (u !== null && _a(u), gu(o)) {
32569        case 2:
32570        case 8:
32571          o = Wr;
32572          break;
32573        case 32:
32574          o = dr;
32575          break;
32576        case 268435456:
32577          o = cu;
32578          break;
32579        default:
32580          o = dr;
32581      }
32582      return u = k3.bind(null, n), o = Aa(o, u), n.callbackPriority = a, n.callbackNode = o, a;
32583    }
32584    return u !== null && u !== null && _a(u), n.callbackPriority = 2, n.callbackNode = null, 2;
32585  }
32586  function k3(n, a) {
32587    if (pt !== 0 && pt !== 5)
32588      return n.callbackNode = null, n.callbackPriority = 0, null;
32589    var o = n.callbackNode;
32590    if (Kf() && n.callbackNode !== o)
32591      return null;
32592    var u = Ie;
32593    return u = Ma(
32594      n,
32595      n === at ? u : 0,
32596      n.cancelPendingCommit !== null || n.timeoutHandle !== -1
32597    ), u === 0 ? null : ($3(n, u, a), P3(n, on()), n.callbackNode != null && n.callbackNode === o ? k3.bind(null, n) : null);
32598  }
32599  function L3(n, a) {
32600    if (Kf()) return null;
32601    $3(n, a, !0);
32602  }
32603  function rC() {
32604    pC(function() {
32605      (Ve & 6) !== 0 ? Aa(
32606        Oo,
32607        nC
32608      ) : I3();
32609    });
32610  }
32611  function Qm() {
32612    if (ei === 0) {
32613      var n = zi;
32614      n === 0 && (n = No, No <<= 1, (No & 261888) === 0 && (No = 256)), ei = n;
32615    }
32616    return ei;
32617  }
32618  function z3(n) {
32619    return n == null || typeof n == "symbol" || typeof n == "boolean" ? null : typeof n == "function" ? n : Gc(n);
32620  }
32621  function aC(n, a, o, u, c) {
32622    if (a === "submit" && o && o.stateNode === c) {
32623      var d = z3(
32624        (c[Bt] || null).action
32625      ), y = u.submitter;
32626      y && (a = (a = y[Bt] || null) ? z3(a.formAction) : y.getAttribute("formAction"), a !== null && (d = a, y = null));
32627      var O = new Kc(
32628        "action",
32629        "action",
32630        null,
32631        u,
32632        c
32633      );
32634      n.push({
32635        event: O,
32636        listeners: [
32637          {
32638            instance: null,
32639            listener: function() {
32640              if (u.defaultPrevented) {
32641                if (ei !== 0) {
32642                  var P = new FormData(c, y);
32643                  rm(
32644                    o,
32645                    {
32646                      pending: !0,
32647                      data: P,
32648                      method: c.method,
32649                      action: d
32650                    },
32651                    null,
32652                    P
32653                  );
32654                }
32655              } else
32656                typeof d == "function" && (O.preventDefault(), P = new FormData(c, y), rm(
32657                  o,
32658                  {
32659                    pending: !0,
32660                    data: P,
32661                    method: c.method,
32662                    action: d
32663                  },
32664                  d,
32665                  P
32666                ));
32667            },
32668            currentTarget: c
32669          }
32670        ]
32671      });
32672    }
32673  }
32674  for (var Km = 0; Km < $0.length; Km++) {
32675    var Xm = $0[Km], iC = Xm.toLowerCase(), oC = Xm[0].toUpperCase() + Xm.slice(1);
32676    gr(
32677      iC,
32678      "on" + oC
32679    );
32680  }
32681  gr(c2, "onAnimationEnd"), gr(f2, "onAnimationIteration"), gr(d2, "onAnimationStart"), gr("dblclick", "onDoubleClick"), gr("focusin", "onFocus"), gr("focusout", "onBlur"), gr(gT, "onTransitionRun"), gr(pT, "onTransitionStart"), gr(yT, "onTransitionCancel"), gr(h2, "onTransitionEnd"), ea("onMouseEnter", ["mouseout", "mouseover"]), ea("onMouseLeave", ["mouseout", "mouseover"]), ea("onPointerEnter", ["pointerout", "pointerover"]), ea("onPointerLeave", ["pointerout", "pointerover"]), Jr(
32682    "onChange",
32683    "change click focusin focusout input keydown keyup selectionchange".split(" ")
32684  ), Jr(
32685    "onSelect",
32686    "focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(
32687      " "
32688    )
32689  ), Jr("onBeforeInput", [
32690    "compositionend",
32691    "keypress",
32692    "textInput",
32693    "paste"
32694  ]), Jr(
32695    "onCompositionEnd",
32696    "compositionend focusout keydown keypress keyup mousedown".split(" ")
32697  ), Jr(
32698    "onCompositionStart",
32699    "compositionstart focusout keydown keypress keyup mousedown".split(" ")
32700  ), Jr(
32701    "onCompositionUpdate",
32702    "compositionupdate focusout keydown keypress keyup mousedown".split(" ")
32703  );
32704  var Xu = "abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(
32705    " "
32706  ), lC = new Set(
32707    "beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Xu)
32708  );
32709  function U3(n, a) {
32710    a = (a & 4) !== 0;
32711    for (var o = 0; o < n.length; o++) {
32712      var u = n[o], c = u.event;
32713      u = u.listeners;
32714      e: {
32715        var d = void 0;
32716        if (a)
32717          for (var y = u.length - 1; 0 <= y; y--) {
32718            var O = u[y], P = O.instance, H = O.currentTarget;
32719            if (O = O.listener, P !== d && c.isPropagationStopped())
32720              break e;
32721            d = O, c.currentTarget = H;
32722            try {
32723              d(c);
32724            } catch (Q) {
32725              Jc(Q);
32726            }
32727            c.currentTarget = null, d = P;
32728          }
32729        else
32730          for (y = 0; y < u.length; y++) {
32731            if (O = u[y], P = O.instance, H = O.currentTarget, O = O.listener, P !== d && c.isPropagationStopped())
32732              break e;
32733            d = O, c.currentTarget = H;
32734            try {
32735              d(c);
32736            } catch (Q) {
32737              Jc(Q);
32738            }
32739            c.currentTarget = null, d = P;
32740          }
32741      }
32742    }
32743  }
32744  function Me(n, a) {
32745    var o = a[Mr];
32746    o === void 0 && (o = a[Mr] = /* @__PURE__ */ new Set());
32747    var u = n + "__bubble";
32748    o.has(u) || (j3(a, n, 2, !1), o.add(u));
32749  }
32750  function Wm(n, a, o) {
32751    var u = 0;
32752    a && (u |= 4), j3(
32753      o,
32754      n,
32755      u,
32756      a
32757    );
32758  }
32759  var Wf = "_reactListening" + Math.random().toString(36).slice(2);
32760  function Jm(n) {
32761    if (!n[Wf]) {
32762      n[Wf] = !0, Hc.forEach(function(o) {
32763        o !== "selectionchange" && (lC.has(o) || Wm(o, !1, n), Wm(o, !0, n));
32764      });
32765      var a = n.nodeType === 9 ? n : n.ownerDocument;
32766      a === null || a[Wf] || (a[Wf] = !0, Wm("selectionchange", !1, a));
32767    }
32768  }
32769  function j3(n, a, o, u) {
32770    switch (_b(a)) {
32771      case 2:
32772        var c = JC;
32773        break;
32774      case 8:
32775        c = ew;
32776        break;
32777      default:
32778        c = b1;
32779    }
32780    o = c.bind(
32781      null,
32782      a,
32783      o,
32784      n
32785    ), c = void 0, !l0 || a !== "touchstart" && a !== "touchmove" && a !== "wheel" || (c = !0), u ? c !== void 0 ? n.addEventListener(a, o, {
32786      capture: !0,
32787      passive: c
32788    }) : n.addEventListener(a, o, !0) : c !== void 0 ? n.addEventListener(a, o, {
32789      passive: c
32790    }) : n.addEventListener(a, o, !1);
32791  }
32792  function e1(n, a, o, u, c) {
32793    var d = u;
32794    if ((a & 1) === 0 && (a & 2) === 0 && u !== null)
32795      e: for (; ; ) {
32796        if (u === null) return;
32797        var y = u.tag;
32798        if (y === 3 || y === 4) {
32799          var O = u.stateNode.containerInfo;
32800          if (O === c) break;
32801          if (y === 4)
32802            for (y = u.return; y !== null; ) {
32803              var P = y.tag;
32804              if ((P === 3 || P === 4) && y.stateNode.containerInfo === c)
32805                return;
32806              y = y.return;
32807            }
32808          for (;
vendor: 13,304 bytes, lines 32808-33243
32808 O !== null; ) {
32809            if (y = Wn(O), y === null) return;
32810            if (P = y.tag, P === 5 || P === 6 || P === 26 || P === 27) {
32811              u = d = y;
32812              continue e;
32813            }
32814            O = O.parentNode;
32815          }
32816        }
32817        u = u.return;
32818      }
32819    jy(function() {
32820      var H = d, Q = i0(o), J = [];
32821      e: {
32822        var j = m2.get(n);
32823        if (j !== void 0) {
32824          var Y = Kc, oe = n;
32825          switch (n) {
32826            case "keypress":
32827              if (Zc(o) === 0) break e;
32828            case "keydown":
32829            case "keyup":
32830              Y = q5;
32831              break;
32832            case "focusin":
32833              oe = "focus", Y = f0;
32834              break;
32835            case "focusout":
32836              oe = "blur", Y = f0;
32837              break;
32838            case "beforeblur":
32839            case "afterblur":
32840              Y = f0;
32841              break;
32842            case "click":
32843              if (o.button === 2) break e;
32844            case "auxclick":
32845            case "dblclick":
32846            case "mousedown":
32847            case "mousemove":
32848            case "mouseup":
32849            case "mouseout":
32850            case "mouseover":
32851            case "contextmenu":
32852              Y = Vy;
32853              break;
32854            case "drag":
32855            case "dragend":
32856            case "dragenter":
32857            case "dragexit":
32858            case "dragleave":
32859            case "dragover":
32860            case "dragstart":
32861            case "drop":
32862              Y = M5;
32863              break;
32864            case "touchcancel":
32865            case "touchend":
32866            case "touchmove":
32867            case "touchstart":
32868              Y = K5;
32869              break;
32870            case c2:
32871            case f2:
32872            case d2:
32873              Y = k5;
32874              break;
32875            case h2:
32876              Y = W5;
32877              break;
32878            case "scroll":
32879            case "scrollend":
32880              Y = R5;
32881              break;
32882            case "wheel":
32883              Y = eT;
32884              break;
32885            case "copy":
32886            case "cut":
32887            case "paste":
32888              Y = z5;
32889              break;
32890            case "gotpointercapture":
32891            case "lostpointercapture":
32892            case "pointercancel":
32893            case "pointerdown":
32894            case "pointermove":
32895            case "pointerout":
32896            case "pointerover":
32897            case "pointerup":
32898              Y = qy;
32899              break;
32900            case "submit":
32901              Y = Z5;
32902              break;
32903            case "toggle":
32904            case "beforetoggle":
32905              Y = nT;
32906          }
32907          var fe = (a & 4) !== 0, Ne = !fe && (n === "scroll" || n === "scrollend"), F = fe ? j !== null ? j + "Capture" : null : j;
32908          fe = [];
32909          for (var z = H, B; z !== null; ) {
32910            var W = z;
32911            if (B = W.stateNode, W = W.tag, W !== 5 && W !== 26 && W !== 27 || B === null || F === null || (W = bu(z, F), W != null && fe.push(
32912              Wu(z, W, B)
32913            )), Ne) break;
32914            z = z.return;
32915          }
32916          0 < fe.length && (j = new Y(
32917            j,
32918            oe,
32919            null,
32920            o,
32921            Q
32922          ), J.push({ event: j, listeners: fe }));
32923        }
32924      }
32925      if ((a & 7) === 0) {
32926        e: {
32927          if (Y = n === "mouseover" || n === "pointerover", j = n === "mouseout" || n === "pointerout", Y && o !== a0 && (oe = o.relatedTarget || o.fromElement) && (Wn(oe) || oe[mr]))
32928            break e;
32929          (j || Y) && (oe = Q.window === Q ? Q : (Y = Q.ownerDocument) ? Y.defaultView || Y.parentWindow : window, j ? (Y = o.relatedTarget || o.toElement, j = H, Y = Y ? Wn(Y) : null, Y !== null && (Ne = s(Y), fe = Y.tag, Y !== Ne || fe !== 5 && fe !== 27 && fe !== 6) && (Y = null)) : (j = null, Y = H), j !== Y && (fe = Vy, W = "onMouseLeave", F = "onMouseEnter", z = "mouse", (n === "pointerout" || n === "pointerover") && (fe = qy, W = "onPointerLeave", F = "onPointerEnter", z = "pointer"), Ne = j == null ? oe : Pr(j), B = Y == null ? oe : Pr(Y), oe = new fe(
32930            W,
32931            z + "leave",
32932            j,
32933            o,
32934            Q
32935          ), oe.target = Ne, oe.relatedTarget = B, W = null, Wn(Q) === H && (fe = new fe(
32936            F,
32937            z + "enter",
32938            Y,
32939            o,
32940            Q
32941          ), fe.target = B, fe.relatedTarget = Ne, W = fe), Ne = W, fe = j && Y ? E(
32942            j,
32943            Y,
32944            uC
32945          ) : null, j !== null && F3(
32946            J,
32947            oe,
32948            j,
32949            fe,
32950            !1
32951          ), Y !== null && Ne !== null && F3(
32952            J,
32953            Ne,
32954            Y,
32955            fe,
32956            !0
32957          )));
32958        }
32959        e: {
32960          if (j = H ? Pr(H) : window, Y = j.nodeName && j.nodeName.toLowerCase(), Y === "select" || Y === "input" && j.type === "file")
32961            var ce = Jy;
32962          else if (Xy(j))
32963            if (e2)
32964              ce = dT;
32965            else {
32966              ce = cT;
32967              var Pe = sT;
32968            }
32969          else
32970            Y = j.nodeName, !Y || Y.toLowerCase() !== "input" || j.type !== "checkbox" && j.type !== "radio" ? H && r0(H.elementType) && (ce = Jy) : ce = fT;
32971          if (ce && (ce = ce(n, H))) {
32972            Wy(
32973              J,
32974              ce,
32975              o,
32976              Q
32977            );
32978            break e;
32979          }
32980          Pe && Pe(n, j, H);
32981        }
32982        switch (Pe = H ? Pr(H) : window, n) {
32983          case "focusin":
32984            (Xy(Pe) || Pe.contentEditable === "true") && (ko = Pe, v0 = H, Nu = null);
32985            break;
32986          case "focusout":
32987            Nu = v0 = ko = null;
32988            break;
32989          case "mousedown":
32990            b0 = !0;
32991            break;
32992          case "contextmenu":
32993          case "mouseup":
32994          case "dragend":
32995            b0 = !1, u2(J, o, Q);
32996            break;
32997          case "selectionchange":
32998            if (mT) break;
32999          case "keydown":
33000          case "keyup":
33001            u2(J, o, Q);
33002        }
33003        var me;
33004        if (h0)
33005          e: {
33006            switch (n) {
33007              case "compositionstart":
33008                var be = "onCompositionStart";
33009                break e;
33010              case "compositionend":
33011                be = "onCompositionEnd";
33012                break e;
33013              case "compositionupdate":
33014                be = "onCompositionUpdate";
33015                break e;
33016            }
33017            be = void 0;
33018          }
33019        else
33020          Po ? Qy(n, o) && (be = "onCompositionEnd") : n === "keydown" && o.keyCode === 229 && (be = "onCompositionStart");
33021        be && (Gy && o.locale !== "ko" && (Po || be !== "onCompositionStart" ? be === "onCompositionEnd" && Po && (me = Fy()) : (Pa = Q, u0 = "value" in Pa ? Pa.value : Pa.textContent, Po = !0)), Pe = Jf(H, be), 0 < Pe.length && (be = new By(
33022          be,
33023          n,
33024          null,
33025          o,
33026          Q
33027        ), J.push({ event: be, listeners: Pe }), me ? be.data = me : (me = Ky(o), me !== null && (be.data = me)))), (me = aT ? iT(n, o) : oT(n, o)) && (be = Jf(H, "onBeforeInput"), 0 < be.length && (Pe = new By(
33028          "onBeforeInput",
33029          "beforeinput",
33030          null,
33031          o,
33032          Q
33033        ), J.push({
33034          event: Pe,
33035          listeners: be
33036        }), Pe.data = me)), aC(
33037          J,
33038          n,
33039          H,
33040          o,
33041          Q
33042        );
33043      }
33044      U3(J, a);
33045    });
33046  }
33047  function Wu(n, a, o) {
33048    return {
33049      instance: n,
33050      listener: a,
33051      currentTarget: o
33052    };
33053  }
33054  function Jf(n, a) {
33055    for (var o = a + "Capture", u = []; n !== null; ) {
33056      var c = n, d = c.stateNode;
33057      if (c = c.tag, c !== 5 && c !== 26 && c !== 27 || d === null || (c = bu(n, o), c != null && u.unshift(
33058        Wu(n, c, d)
33059      ), c = bu(n, a), c != null && u.push(
33060        Wu(n, c, d)
33061      )), n.tag === 3) return u;
33062      n = n.return;
33063    }
33064    return [];
33065  }
33066  function uC(n) {
33067    if (n === null) return null;
33068    do
33069      n = n.return;
33070    while (n && n.tag !== 5 && n.tag !== 27);
33071    return n || null;
33072  }
33073  function F3(n, a, o, u, c) {
33074    for (var d = a._reactName, y = []; o !== null && o !== u; ) {
33075      var O = o, P = O.alternate, H = O.stateNode;
33076      if (O = O.tag, P !== null && P === u) break;
33077      O !== 5 && O !== 26 && O !== 27 || H === null || (P = H, c ? (H = bu(o, d), H != null && y.unshift(
33078        Wu(o, H, P)
33079      )) : c || (H = bu(o, d), H != null && y.push(
33080        Wu(o, H, P)
33081      ))), o = o.return;
33082    }
33083    y.length !== 0 && n.push({ event: a, listeners: y });
33084  }
33085  var sC = /\r\n?/g, cC = /\u0000|\uFFFD/g;
33086  function H3(n) {
33087    return (typeof n == "string" ? n : "" + n).replace(sC, `
33088`).replace(cC, "");
33089  }
33090  function V3(n, a) {
33091    return a = H3(a), H3(n) === a;
33092  }
33093  function et(n, a, o, u, c, d) {
33094    switch (o) {
33095      case "children":
33096        if (typeof u == "string")
33097          a === "body" || a === "textarea" && u === "" || yt(n, u);
33098        else if (typeof u == "number" || typeof u == "bigint")
33099          a !== "body" && yt(n, "" + u);
33100        else return;
33101        break;
33102      case "className":
33103        _i(n, "class", u);
33104        break;
33105      case "tabIndex":
33106        _i(n, "tabindex", u);
33107        break;
33108      case "dir":
33109      case "role":
33110      case "viewBox":
33111      case "width":
33112      case "height":
33113        _i(n, o, u);
33114        break;
33115      case "style":
33116        zy(n, u, d);
33117        return;
33118      case "data":
33119        if (a !== "object") {
33120          _i(n, "data", u);
33121          break;
33122        }
33123      case "src":
33124      case "href":
33125        if (u === "" && (a !== "a" || o !== "href")) {
33126          n.removeAttribute(o);
33127          break;
33128        }
33129        if (u == null || typeof u == "function" || typeof u == "symbol" || typeof u == "boolean") {
33130          n.removeAttribute(o);
33131          break;
33132        }
33133        u = Gc(u), n.setAttribute(o, u);
33134        break;
33135      case "action":
33136      case "formAction":
33137        if (typeof u == "function") {
33138          n.setAttribute(
33139            o,
33140            "javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')"
33141          );
33142          break;
33143        } else
33144          typeof d == "function" && (o === "formAction" ? (a !== "input" && et(n, a, "name", c.name, c, null), et(
33145            n,
33146            a,
33147            "formEncType",
33148            c.formEncType,
33149            c,
33150            null
33151          ), et(
33152            n,
33153            a,
33154            "formMethod",
33155            c.formMethod,
33156            c,
33157            null
33158          ), et(
33159            n,
33160            a,
33161            "formTarget",
33162            c.formTarget,
33163            c,
33164            null
33165          )) : (et(n, a, "encType", c.encType, c, null), et(n, a, "method", c.method, c, null), et(n, a, "target", c.target, c, null)));
33166        if (u == null || typeof u == "symbol" || typeof u == "boolean") {
33167          n.removeAttribute(o);
33168          break;
33169        }
33170        u = Gc(u), n.setAttribute(o, u);
33171        break;
33172      case "onClick":
33173        u != null && (n.onclick = kr);
33174        return;
33175      case "onScroll":
33176        u != null && Me("scroll", n);
33177        return;
33178      case "onScrollEnd":
33179        u != null && Me("scrollend", n);
33180        return;
33181      case "dangerouslySetInnerHTML":
33182        if (u != null) {
33183          if (typeof u != "object" || !("__html" in u))
33184            throw Error(i(61));
33185          if (o = u.__html, o != null) {
33186            if (c.children != null) throw Error(i(60));
33187            d?.__html !== o && (n.innerHTML = o);
33188          }
33189        }
33190        break;
33191      case "multiple":
33192        n.multiple = u && typeof u != "function" && typeof u != "symbol";
33193        break;
33194      case "muted":
33195        n.muted = u && typeof u != "function" && typeof u != "symbol";
33196        break;
33197      case "suppressContentEditableWarning":
33198      case "suppressHydrationWarning":
33199      case "defaultValue":
33200      case "defaultChecked":
33201      case "innerHTML":
33202      case "ref":
33203        break;
33204      case "autoFocus":
33205        break;
33206      case "xlinkHref":
33207        if (u == null || typeof u == "function" || typeof u == "boolean" || typeof u == "symbol") {
33208          n.removeAttribute("xlink:href");
33209          break;
33210        }
33211        o = Gc(u), n.setAttributeNS(
33212          "http://www.w3.org/1999/xlink",
33213          "xlink:href",
33214          o
33215        );
33216        break;
33217      case "contentEditable":
33218      case "spellCheck":
33219      case "draggable":
33220      case "value":
33221      case "autoReverse":
33222      case "externalResourcesRequired":
33223      case "focusable":
33224      case "preserveAlpha":
33225        u != null && typeof u != "function" && typeof u != "symbol" ? n.setAttribute(o, u) : n.removeAttribute(o);
33226        break;
33227      case "inert":
33228      case "allowFullScreen":
33229      case "async":
33230      case "autoPlay":
33231      case "controls":
33232      case "credentialless":
33233      case "default":
33234      case "defer":
33235      case "disabled":
33236      case "disablePictureInPicture":
33237      case "disableRemotePlayback":
33238      case "formNoValidate":
33239      case "hidden":
33240      case "loop":
33241      case "noModule":
33242      case "noValidate":
33243      case "open":
vendor: 10,525 bytes, lines 33244-33628
33244      case "playsInline":
33245      case "readOnly":
33246      case "required":
33247      case "reversed":
33248      case "scoped":
33249      case "seamless":
33250      case "itemScope":
33251        u && typeof u != "function" && typeof u != "symbol" ? n.setAttribute(o, "") : n.removeAttribute(o);
33252        break;
33253      case "capture":
33254      case "download":
33255        u === !0 ? n.setAttribute(o, "") : u !== !1 && u != null && typeof u != "function" && typeof u != "symbol" ? n.setAttribute(o, u) : n.removeAttribute(o);
33256        break;
33257      case "cols":
33258      case "rows":
33259      case "size":
33260      case "span":
33261        u != null && typeof u != "function" && typeof u != "symbol" && !isNaN(u) && 1 <= u ? n.setAttribute(o, u) : n.removeAttribute(o);
33262        break;
33263      case "rowSpan":
33264      case "start":
33265        u == null || typeof u == "function" || typeof u == "symbol" || isNaN(u) ? n.removeAttribute(o) : n.setAttribute(o, u);
33266        break;
33267      case "popover":
33268        Me("beforetoggle", n), Me("toggle", n), Ro(n, "popover", u);
33269        break;
33270      case "xlinkActuate":
33271        $n(
33272          n,
33273          "http://www.w3.org/1999/xlink",
33274          "xlink:actuate",
33275          u
33276        );
33277        break;
33278      case "xlinkArcrole":
33279        $n(
33280          n,
33281          "http://www.w3.org/1999/xlink",
33282          "xlink:arcrole",
33283          u
33284        );
33285        break;
33286      case "xlinkRole":
33287        $n(
33288          n,
33289          "http://www.w3.org/1999/xlink",
33290          "xlink:role",
33291          u
33292        );
33293        break;
33294      case "xlinkShow":
33295        $n(
33296          n,
33297          "http://www.w3.org/1999/xlink",
33298          "xlink:show",
33299          u
33300        );
33301        break;
33302      case "xlinkTitle":
33303        $n(
33304          n,
33305          "http://www.w3.org/1999/xlink",
33306          "xlink:title",
33307          u
33308        );
33309        break;
33310      case "xlinkType":
33311        $n(
33312          n,
33313          "http://www.w3.org/1999/xlink",
33314          "xlink:type",
33315          u
33316        );
33317        break;
33318      case "xmlBase":
33319        $n(
33320          n,
33321          "http://www.w3.org/XML/1998/namespace",
33322          "xml:base",
33323          u
33324        );
33325        break;
33326      case "xmlLang":
33327        $n(
33328          n,
33329          "http://www.w3.org/XML/1998/namespace",
33330          "xml:lang",
33331          u
33332        );
33333        break;
33334      case "xmlSpace":
33335        $n(
33336          n,
33337          "http://www.w3.org/XML/1998/namespace",
33338          "xml:space",
33339          u
33340        );
33341        break;
33342      case "is":
33343        Ro(n, "is", u);
33344        break;
33345      case "innerText":
33346      case "textContent":
33347        return;
33348      default:
33349        if (!(2 < o.length) || o[0] !== "o" && o[0] !== "O" || o[1] !== "n" && o[1] !== "N")
33350          o = _5.get(o) || o, Ro(n, o, u);
33351        else return;
33352    }
33353    ke = !0;
33354  }
33355  function t1(n, a, o, u, c, d) {
33356    switch (o) {
33357      case "style":
33358        zy(n, u, d);
33359        return;
33360      case "dangerouslySetInnerHTML":
33361        if (u != null) {
33362          if (typeof u != "object" || !("__html" in u))
33363            throw Error(i(61));
33364          if (o = u.__html, o != null) {
33365            if (c.children != null) throw Error(i(60));
33366            d?.__html !== o && (n.innerHTML = o);
33367          }
33368        }
33369        break;
33370      case "children":
33371        if (typeof u == "string") yt(n, u);
33372        else if (typeof u == "number" || typeof u == "bigint")
33373          yt(n, "" + u);
33374        else return;
33375        break;
33376      case "onScroll":
33377        u != null && Me("scroll", n);
33378        return;
33379      case "onScrollEnd":
33380        u != null && Me("scrollend", n);
33381        return;
33382      case "onClick":
33383        u != null && (n.onclick = kr);
33384        return;
33385      case "suppressContentEditableWarning":
33386      case "suppressHydrationWarning":
33387      case "innerHTML":
33388      case "ref":
33389        return;
33390      case "innerText":
33391      case "textContent":
33392        return;
33393      default:
33394        if (!Ai.hasOwnProperty(o))
33395          e: {
33396            if (o[0] === "o" && o[1] === "n" && (c = o.endsWith("Capture"), d = o.slice(2, c ? o.length - 7 : void 0), a = n[Bt] || null, a = a != null ? a[o] : null, typeof a == "function" && n.removeEventListener(d, a, c), typeof u == "function")) {
33397              typeof a != "function" && a !== null && (o in n ? n[o] = null : n.hasAttribute(o) && n.removeAttribute(o)), n.addEventListener(d, u, c);
33398              break e;
33399            }
33400            ke = !0, o in n ? n[o] = u : u === !0 ? n.setAttribute(o, "") : Ro(n, o, u);
33401          }
33402        return;
33403    }
33404    ke = !0;
33405  }
33406  function Xt(n, a, o) {
33407    switch (a) {
33408      case "div":
33409      case "span":
33410      case "svg":
33411      case "path":
33412      case "a":
33413      case "g":
33414      case "p":
33415      case "li":
33416        break;
33417      case "img":
33418        Me("error", n), Me("load", n);
33419        var u = !1, c = !1, d;
33420        for (d in o)
33421          if (o.hasOwnProperty(d)) {
33422            var y = o[d];
33423            if (y != null)
33424              switch (d) {
33425                case "src":
33426                  u = !0;
33427                  break;
33428                case "srcSet":
33429                  c = !0;
33430                  break;
33431                case "children":
33432                case "dangerouslySetInnerHTML":
33433                  throw Error(i(137, a));
33434                default:
33435                  et(n, a, d, y, o, null);
33436              }
33437          }
33438        c && et(n, a, "srcSet", o.srcSet, o, null), u && et(n, a, "src", o.src, o, null);
33439        return;
33440      case "input":
33441        Me("invalid", n);
33442        var O = d = y = c = null, P = null, H = null;
33443        for (u in o)
33444          if (o.hasOwnProperty(u)) {
33445            var Q = o[u];
33446            if (Q != null)
33447              switch (u) {
33448                case "name":
33449                  c = Q;
33450                  break;
33451                case "type":
33452                  y = Q;
33453                  break;
33454                case "checked":
33455                  P = Q;
33456                  break;
33457                case "defaultChecked":
33458                  H = Q;
33459                  break;
33460                case "value":
33461                  d = Q;
33462                  break;
33463                case "defaultValue":
33464                  O = Q;
33465                  break;
33466                case "children":
33467                case "dangerouslySetInnerHTML":
33468                  if (Q != null)
33469                    throw Error(i(137, a));
33470                  break;
33471                default:
33472                  et(n, a, u, Q, o, null);
33473              }
33474          }
33475        Xe(
33476          n,
33477          d,
33478          O,
33479          P,
33480          H,
33481          y,
33482          c,
33483          !1
33484        );
33485        return;
33486      case "select":
33487        Me("invalid", n), u = y = d = null;
33488        for (c in o)
33489          if (o.hasOwnProperty(c) && (O = o[c], O != null))
33490            switch (c) {
33491              case "value":
33492                d = O;
33493                break;
33494              case "defaultValue":
33495                y = O;
33496                break;
33497              case "multiple":
33498                u = O;
33499              default:
33500                et(n, a, c, O, o, null);
33501            }
33502        a = d, o = y, n.multiple = !!u, a != null ? Tt(n, !!u, a, !1) : o != null && Tt(n, !!u, o, !0);
33503        return;
33504      case "textarea":
33505        Me("invalid", n), d = c = u = null;
33506        for (y in o)
33507          if (o.hasOwnProperty(y) && (O = o[y], O != null))
33508            switch (y) {
33509              case "value":
33510                u = O;
33511                break;
33512              case "defaultValue":
33513                c = O;
33514                break;
33515              case "children":
33516                d = O;
33517                break;
33518              case "dangerouslySetInnerHTML":
33519                if (O != null) throw Error(i(91));
33520                break;
33521              default:
33522                et(n, a, y, O, o, null);
33523            }
33524        Do(n, u, c, d);
33525        return;
33526      case "option":
33527        for (P in o)
33528          o.hasOwnProperty(P) && (u = o[P], u != null) && (P === "selected" ? n.selected = u && typeof u != "function" && typeof u != "symbol" : et(n, a, P, u, o, null));
33529        return;
33530      case "dialog":
33531        Me("beforetoggle", n), Me("toggle", n), Me("cancel", n), Me("close", n);
33532        break;
33533      case "iframe":
33534      case "object":
33535        Me("load", n);
33536        break;
33537      case "video":
33538      case "audio":
33539        for (u = 0; u < Xu.length; u++)
33540          Me(Xu[u], n);
33541        break;
33542      case "image":
33543        Me("error", n), Me("load", n);
33544        break;
33545      case "details":
33546        Me("toggle", n);
33547        break;
33548      case "embed":
33549      case "source":
33550      case "link":
33551        Me("error", n), Me("load", n);
33552      case "area":
33553      case "base":
33554      case "br":
33555      case "col":
33556      case "hr":
33557      case "keygen":
33558      case "meta":
33559      case "param":
33560      case "track":
33561      case "wbr":
33562      case "menuitem":
33563        for (H in o)
33564          if (o.hasOwnProperty(H) && (u = o[H], u != null))
33565            switch (H) {
33566              case "children":
33567              case "dangerouslySetInnerHTML":
33568                throw Error(i(137, a));
33569              default:
33570                et(n, a, H, u, o, null);
33571            }
33572        return;
33573      default:
33574        if (r0(a)) {
33575          for (Q in o)
33576            o.hasOwnProperty(Q) && (u = o[Q], u !== void 0 && t1(
33577              n,
33578              a,
33579              Q,
33580              u,
33581              o,
33582              void 0
33583            ));
33584          return;
33585        }
33586    }
33587    for (O in o)
33588      o.hasOwnProperty(O) && (u = o[O], u != null && et(n, a, O, u, o, null));
33589  }
33590  var fC = {};
33591  function dC(n, a, o, u) {
33592    switch (a) {
33593      case "div":
33594      case "span":
33595      case "svg":
33596      case "path":
33597      case "a":
33598      case "g":
33599      case "p":
33600      case "li":
33601        break;
33602      case "input":
33603        var c = null, d = null, y = null, O = null, P = null, H = null, Q = null;
33604        for (Y in o) {
33605          var J = o[Y];
33606          if (o.hasOwnProperty(Y) && J != null)
33607            switch (Y) {
33608              case "checked":
33609                break;
33610              case "value":
33611                break;
33612              case "defaultValue":
33613                P = J;
33614              default:
33615                u.hasOwnProperty(Y) || et(n, a, Y, null, u, J);
33616            }
33617        }
33618        for (var j in u) {
33619          var Y = u[j];
33620          if (J = o[j], u.hasOwnProperty(j) && (Y != null || J != null))
33621            switch (j) {
33622              case "type":
33623                Y !== J && (ke = !0), d = Y;
33624                break;
33625              case "name":
33626                Y !== J && (ke = !0), c = Y;
33627                break;
33628              case "checked":
vendor: 7,209 bytes, lines 33629-33884
33629                Y !== J && (ke = !0), H = Y;
33630                break;
33631              case "defaultChecked":
33632                Y !== J && (ke = !0), Q = Y;
33633                break;
33634              case "value":
33635                Y !== J && (ke = !0), y = Y;
33636                break;
33637              case "defaultValue":
33638                Y !== J && (ke = !0), O = Y;
33639                break;
33640              case "children":
33641              case "dangerouslySetInnerHTML":
33642                if (Y != null)
33643                  throw Error(i(137, a));
33644                break;
33645              default:
33646                Y !== J && et(
33647                  n,
33648                  a,
33649                  j,
33650                  Y,
33651                  u,
33652                  J
33653                );
33654            }
33655        }
33656        pe(
33657          n,
33658          y,
33659          O,
33660          P,
33661          H,
33662          Q,
33663          d,
33664          c
33665        );
33666        return;
33667      case "select":
33668        Y = y = O = j = null;
33669        for (d in o)
33670          if (P = o[d], o.hasOwnProperty(d) && P != null)
33671            switch (d) {
33672              case "value":
33673                break;
33674              case "multiple":
33675                Y = P;
33676              default:
33677                u.hasOwnProperty(d) || et(
33678                  n,
33679                  a,
33680                  d,
33681                  null,
33682                  u,
33683                  P
33684                );
33685            }
33686        for (c in u)
33687          if (d = u[c], P = o[c], u.hasOwnProperty(c) && (d != null || P != null))
33688            switch (c) {
33689              case "value":
33690                d !== P && (ke = !0), j = d;
33691                break;
33692              case "defaultValue":
33693                d !== P && (ke = !0), O = d;
33694                break;
33695              case "multiple":
33696                d !== P && (ke = !0), y = d;
33697              default:
33698                d !== P && et(
33699                  n,
33700                  a,
33701                  c,
33702                  d,
33703                  u,
33704                  P
33705                );
33706            }
33707        a = O, o = y, u = Y, j != null ? Tt(n, !!o, j, !1) : !!u != !!o && (a != null ? Tt(n, !!o, a, !0) : Tt(n, !!o, o ? [] : "", !1));
33708        return;
33709      case "textarea":
33710        Y = j = null;
33711        for (O in o)
33712          if (c = o[O], o.hasOwnProperty(O) && c != null && !u.hasOwnProperty(O))
33713            switch (O) {
33714              case "value":
33715                break;
33716              case "children":
33717                break;
33718              default:
33719                et(n, a, O, null, u, c);
33720            }
33721        for (y in u)
33722          if (c = u[y], d = o[y], u.hasOwnProperty(y) && (c != null || d != null))
33723            switch (y) {
33724              case "value":
33725                c !== d && (ke = !0), j = c;
33726                break;
33727              case "defaultValue":
33728                c !== d && (ke = !0), Y = c;
33729                break;
33730              case "children":
33731                break;
33732              case "dangerouslySetInnerHTML":
33733                if (c != null) throw Error(i(91));
33734                break;
33735              default:
33736                c !== d && et(n, a, y, c, u, d);
33737            }
33738        Gt(n, j, Y);
33739        return;
33740      case "option":
33741        for (var oe in o)
33742          j = o[oe], o.hasOwnProperty(oe) && j != null && !u.hasOwnProperty(oe) && (oe === "selected" ? n.selected = !1 : et(
33743            n,
33744            a,
33745            oe,
33746            null,
33747            u,
33748            j
33749          ));
33750        for (P in u)
33751          j = u[P], Y = o[P], u.hasOwnProperty(P) && j !== Y && (j != null || Y != null) && (P === "selected" ? (j !== Y && (ke = !0), n.selected = j && typeof j != "function" && typeof j != "symbol") : et(
33752            n,
33753            a,
33754            P,
33755            j,
33756            u,
33757            Y
33758          ));
33759        return;
33760      case "img":
33761      case "link":
33762      case "area":
33763      case "base":
33764      case "br":
33765      case "col":
33766      case "embed":
33767      case "hr":
33768      case "keygen":
33769      case "meta":
33770      case "param":
33771      case "source":
33772      case "track":
33773      case "wbr":
33774      case "menuitem":
33775        for (var fe in o)
33776          j = o[fe], o.hasOwnProperty(fe) && j != null && !u.hasOwnProperty(fe) && et(n, a, fe, null, u, j);
33777        for (H in u)
33778          if (j = u[H], Y = o[H], u.hasOwnProperty(H) && j !== Y && (j != null || Y != null))
33779            switch (H) {
33780              case "children":
33781              case "dangerouslySetInnerHTML":
33782                if (j != null)
33783                  throw Error(i(137, a));
33784                break;
33785              default:
33786                et(
33787                  n,
33788                  a,
33789                  H,
33790                  j,
33791                  u,
33792                  Y
33793                );
33794            }
33795        return;
33796      default:
33797        if (r0(a)) {
33798          for (var Ne in o)
33799            j = o[Ne], o.hasOwnProperty(Ne) && j !== void 0 && !u.hasOwnProperty(Ne) && t1(
33800              n,
33801              a,
33802              Ne,
33803              void 0,
33804              u,
33805              j
33806            );
33807          for (Q in u)
33808            j = u[Q], Y = o[Q], !u.hasOwnProperty(Q) || j === Y || j === void 0 && Y === void 0 || t1(
33809              n,
33810              a,
33811              Q,
33812              j,
33813              u,
33814              Y
33815            );
33816          return;
33817        }
33818    }
33819    for (var F in o)
33820      j = o[F], o.hasOwnProperty(F) && j != null && !u.hasOwnProperty(F) && et(n, a, F, null, u, j);
33821    for (J in u)
33822      j = u[J], Y = o[J], !u.hasOwnProperty(J) || j === Y || j == null && Y == null || et(n, a, J, j, u, Y);
33823  }
33824  function B3(n) {
33825    switch (n) {
33826      case "css":
33827      case "script":
33828      case "font":
33829      case "img":
33830      case "image":
33831      case "input":
33832      case "link":
33833        return !0;
33834      default:
33835        return !1;
33836    }
33837  }
33838  function hC() {
33839    if (typeof performance.getEntriesByType == "function") {
33840      for (var n = 0, a = 0, o = performance.getEntriesByType("resource"), u = 0; u < o.length; u++) {
33841        var c = o[u], d = c.transferSize, y = c.initiatorType, O = c.duration;
33842        if (d && O && B3(y)) {
33843          for (y = 0, O = c.responseEnd, u += 1; u < o.length; u++) {
33844            var P = o[u], H = P.startTime;
33845            if (H > O) break;
33846            var Q = P.transferSize, J = P.initiatorType;
33847            Q && B3(J) && (P = P.responseEnd, y += Q * (P < O ? 1 : (O - H) / (P - H)));
33848          }
33849          if (--u, a += 8 * (d + y) / (c.duration / 1e3), n++, 10 < n) break;
33850        }
33851      }
33852      if (0 < n) return a / n / 1e6;
33853    }
33854    return navigator.connection && (n = navigator.connection.downlink, typeof n == "number") ? n : 5;
33855  }
33856  var n1 = null, r1 = null;
33857  function Ju(n) {
33858    return n.nodeType === 9 ? n : n.ownerDocument;
33859  }
33860  function q3(n) {
33861    switch (n) {
33862      case "http://www.w3.org/2000/svg":
33863        return 1;
33864      case "http://www.w3.org/1998/Math/MathML":
33865        return 2;
33866      default:
33867        return 0;
33868    }
33869  }
33870  function G3(n, a) {
33871    if (n === 0)
33872      switch (a) {
33873        case "svg":
33874          return 1;
33875        case "math":
33876          return 2;
33877        default:
33878          return 0;
33879      }
33880    return n === 1 && a === "foreignObject" ? 0 : n;
33881  }
33882  function Y3(n, a, o, u) {
33883    return o = Ju(
33884      o
33885    ).createElement(n), o[ot] = u, o[Bt] = a, Xt(o, n, a), ht(o), o;
33886  }
33887  function a1(n, a) {
33888    return n === "textarea" || n === "noscript" || typeof a.children == "string" || typeof a.children == "number" || typeof a.children == "bigint" || typeof a.dangerouslySetInnerHTML == "object" && a.dangerouslySetInnerHTML !== null && a.dangerouslySetInnerHTML.__html != null;
33889  }
33890  var i1 = null;
33891  function mC() {
33892    var n = window.event;
33893    return n && n.type === "popstate" ? n === i1 ? !1 : (i1 = n, !0) : (i1 = null, !1);
33894  }
33895  var o1 = typeof setTimeout == "function" ? setTimeout : void 0, gC = typeof clearTimeout == "function" ? clearTimeout : void 0, Z3 = typeof Promise == "function" ? Promise : void 0, Q3 = typeof requestAnimationFrame == "function" ? requestAnimationFrame : o1, pC = typeof queueMicrotask == "function" ? queueMicrotask : typeof Z3 < "u" ? function(n) {
33896    return Z3.resolve(null).then(n).catch(yC);
33897  } : o1;
33898  function yC(n) {
33899    setTimeout(function() {
33900      throw n;
33901    });
33902  }
33903  function ti(n) {
33904    return n === "head";
33905  }
33906  function K3(n, a) {
33907    var o = a, u = 0;
33908    do {
33909      var c = o.nextSibling;
33910      if (n.removeChild(o), c && c.nodeType === 8)
33911        if (o = c.data, o === "/$" || o === "/&") {
33912          if (u === 0) {
33913            n.removeChild(c), gl(a);
33914            return;
33915          }
33916          u--;
33917        } else if (o === "$" || o === "$?" || o === "$~" || o === "$!" || o === "&")
33918          u++;
33919        else if (o === "html")
33920          m1(
33921            n.ownerDocument.documentElement
33922          );
33923        else if (o === "head") {
33924          o = n.ownerDocument.head, m1(o);
33925          for (var d = o.firstChild; d; ) {
33926            var y = d.nextSibling, O = d.nodeName;
33927            d[wi] || O === "SCRIPT" || O === "STYLE" || O === "LINK" && d.rel.toLowerCase() === "stylesheet" || o.removeChild(d), d = y;
33928          }
33929        } else
33930          o === "body" && m1(n.ownerDocument.body);
33931      o = c;
33932    } while (o);
33933    gl(a);
33934  }
33935  function X3(n, a) {
33936    var o = n;
33937    n = 0;
33938    do {
33939      var u = o.nextSibling;
33940      if (o.nodeType === 1 ? a ? (o._stashedDisplay = o.style.display, o.style.display = "none") : (o.style.display = o._stashedDisplay || "", o.getAttribute("style") === "" && o.removeAttribute("style")) : o.nodeType === 3 && (a ? (o._stashedText = o.nodeValue, o.nodeValue = "") : o.nodeValue = o._stashedText || ""), u && u.nodeType === 8)
33941        if (o = u.data, o === "/$") {
33942          if (n === 0) break;
33943          n--;
33944        } else
33945          o !== "$" && o !== "$?" && o !== "$~" && o !== "$!" || n++;
33946      o = u;
33947    } while (o);
33948  }
33949  function W3(n, a, o) {
33950    if (a = CSS.escape(a) !== a ? "r-" + btoa(a).replace(/=/g, "") : a, n.style.viewTransitionName = a, o != null && (n.style.viewTransitionClass = o), o = getComputedStyle(n), o.display === "inline") {
33951      if (a = n.getClientRects(), a.length === 1) var u = 1;
33952      else
33953        for (var c = u = 0; c < a.length; c++) {
33954          var d = a[c];
33955          0 < d.width && 0 < d.height && u++;
33956        }
33957      u === 1 && (n = n.style, n.display = a.length === 1 ? "inline-block" : "block", n.marginTop = "-" + o.paddingTop, n.marginBottom = "-" + o.paddingBottom);
33958    }
33959  }
33960  function J3(n, a) {
33961    n = n.style, a = a.style;
33962    var o = a != null ? a.hasOwnProperty("viewTransitionName") ? a.viewTransitionName : a.hasOwnProperty("view-transition-name") ? a["view-transition-name"] : null : null;
33963    n.viewTransitionName = o == null || typeof o == "boolean" ? "" : ("" + o).trim(), o = a != null ? a.hasOwnProperty("viewTransitionClass") ? a.viewTransitionClass : a.hasOwnProperty("view-transition-class") ? a["view-transition-class"] : null : null, n.viewTransitionClass = o == null || typeof o == "boolean" ? "" : ("" + o).trim(), n.display === "inline-block" && (a == null ? n.display = n.margin = "" : (o = a.display, n.display = o == null || typeof o == "boolean" ? "" : o, o = a.margin, o != null ? n.margin = o : (o = a.hasOwnProperty("marginTop") ? a.marginTop : a["margin-top"], n.marginTop = o == null || typeof o == "boolean" ? "" : o, a = a.hasOwnProperty("marginBottom") ? a.marginBottom : a["margin-bottom"], n.marginBottom = a == null || typeof a == "boolean" ? "" : a)));
33964  }
33965  function vC(n, a, o) {
33966    return o = o.ownerDocument.defaultView, {
33967      rect: n,
33968      abs: a.position === "absolute" || a.position === "fixed",
33969      clip: a.clipPath !== "none" || a.overflow !== "visible" || a.filter !== "none" || a.mask !== "none" || a.mask !== "none" || a.borderRadius !== "0px",
33970      view: 0 <= n.bottom && 0 <= n.right && n.top <= o.innerHeight && n.left <= o.innerWidth
33971    };
33972  }
33973  function l1(n) {
33974    var a = n.getBoundingClientRect(), o = getComputedStyle(n);
33975    return vC(a, o, n);
33976  }
33977  function bC(n) {
33978    return n.documentElement.clientHeight;
33979  }
33980  function SC(n) {
33981    this.addEventListener("load", n), this.addEventListener("error", n);
33982  }
33983  function $C(n, a, o, u, c, d, y, O, P) {
33984    var H = a.nodeType === 9 ? a : a.ownerDocument;
33985    try {
33986      var Q = H.startViewTransition({
33987        update: function() {
33988          var j = H.defaultView, Y = j.navigation && j.navigation.transition, oe = H.fonts.status;
33989          u();
33990          var fe = [];
33991          if (oe === "loaded" && (bC(H), H.fonts.status === "loading" && fe.push(H.fonts.ready)), oe = fe.length, n !== null)
33992            for (var Ne = n.suspenseyImages, F = 0, z = 0; z < Ne.length; z++) {
33993              var B = Ne[z];
33994              if (!B.complete) {
33995                var W = B.getBoundingClientRect();
33996                if (0 < W.bottom && 0 < W.right && W.top < j.innerHeight && W.left < j.innerWidth) {
33997                  if (F += Sb(B), F > nd) {
33998                    fe.length = oe;
33999                    break;
34000                  }
34001                  B = new Promise(
34002                    SC.bind(B)
34003                  ), fe.push(B);
34004                }
34005              }
34006            }
34007          if (0 < fe.length)
34008            return j = Promise.race([
34009              Promise.all(fe),
34010              new Promise(function(ce) {
34011                return setTimeout(ce, 500);
34012              })
34013            ]).then(c, c), (Y ? Promise.allSettled([Y.finished, j]) : j).then(d, d);
34014          if (c(), Y)
34015            return Y.finished.then(
34016              d,
34017              d
34018            );
34019          d();
34020        },
34021        types: o
34022      });
34023      H.__reactViewTransition = Q;
34024      var J = [];
34025      return Q.ready.then(
34026        function() {
34027          for (var j = H.documentElement.getAnimations({
34028            subtree: !0
34029          }), Y = 0; Y < j.length; Y++) {
34030            var oe = j[Y], fe = oe.effect, Ne = fe.pseudoElement;
34031            if (Ne != null && Ne.startsWith("::view-transition")) {
34032              J.push(oe), oe = fe.getKeyframes();
34033              for (var F = Ne = void 0, z = !0, B = 0; B < oe.length; B++) {
34034                var W = oe[B], ce = W.width;
34035                if (Ne === void 0) Ne = ce;
34036                else if (Ne !== ce) {
34037                  z = !1;
34038                  break;
34039                }
34040                if (ce = W.height, F === void 0) F = ce;
34041                else if (F !== ce) {
34042                  z = !1;
34043                  break;
34044                }
34045                delete W.width, delete W.height, W.transform === "none" && delete W.transform;
34046              }
34047              z && Ne !== void 0 && F !== void 0 && (fe.setKeyframes(oe), z = getComputedStyle(
34048                fe.target,
34049                fe.pseudoElement
34050              ), z.width !== Ne || z.height !== F) && (z = oe[0], z.width = Ne, z.height = F, z = oe[oe.length - 1], z.width = Ne, z.height = F, fe.setKeyframes(oe));
34051            }
34052          }
34053          y();
34054        },
34055        function(j) {
34056          H.__reactViewTransition === Q && (H.__reactViewTransition = null);
34057          try {
34058            typeof j == "object" && j !== null && j.name === "InvalidStateError" && (j.message === "View transition was skipped because document visibility state is hidden." || j.message === "Skipping view transition because document visibility state has become hidden." || j.message === "Skipping view transition because viewport size changed." || j.message === "Transition was aborted because of invalid state") && (j = null), j !== null && P(j);
34059          } finally {
34060            u(), c(), y();
34061          }
34062        }
34063      ), Q.finished.finally(function() {
34064        for (var j = 0; j < J.length; j++)
34065          J[j].cancel();
34066        H.__reactViewTransition === Q && (H.__reactViewTransition = null), O();
34067      }), Q;
34068    } catch {
34069      return u(), c(), y(), null;
34070    }
34071  }
34072  function Qi(n, a) {
34073    this._scope = document.documentElement, this._selector = "::view-transition-" + n + "(" + a + ")";
34074  }
34075  Qi.prototype.animate = function(n, a) {
34076    return a = typeof a == "number" ? { duration: a } : C({}, a), a.pseudoElement = this._selector, this._scope.animate(n, a);
34077  }, Qi.prototype.getAnimations = function() {
34078    for (var n = this._scope, a = this._selector, o = n.getAnimations({ subtree: !0 }), u = [], c = 0; c < o.length; c++) {
34079      var d = o[c].effect;
34080      d !== null && d.target === n && d.pseudoElement === a && u.push(o[c]);
34081    }
34082    return u;
34083  }, Qi.prototype.getComputedStyle = function() {
34084    return getComputedStyle(this._scope, this._selector);
34085  };
34086  function eb(n) {
34087    return {
34088      name: n,
34089      group: new Qi("group", n),
34090      imagePair: new Qi("image-pair", n),
34091      old: new Qi("old", n),
34092      new: new Qi("new", n)
34093    };
34094  }
34095  function Fn(n) {
34096    this._fragmentFiber = n, this._observers = this._eventListeners = null;
34097  }
34098  Fn.prototype.addEventListener = function(n, a, o) {
34099    var u = null, c = null;
34100    if (!(o != null && typeof o != "boolean" && (u = o.signal || null, u !== null && u.aborted))) {
34101      this._eventListeners === null && (this._eventListeners = []);
34102      var d = this._eventListeners;
34103      if (nb(d, n, a, o) === -1) {
34104        var y = this, O = a;
34105        o != null && typeof o != "boolean" && o.once === !0 && (O = function(P) {
34106          y.removeEventListener(
34107            n,
34108            a,
34109            o
34110          ), typeof a == "function" ? a.call(this, P) : a.handleEvent(P);
34111        }), u !== null && (c = y.removeEventListener.bind(
34112          y,
34113          n,
34114          a,
34115          o
34116        ), u.addEventListener("abort", c, { once: !0 }), c = u.removeEventListener.bind(u, "abort", c)), u = sl(o), d.push({
34117          type: n,
34118          listener: a,
34119          optionsOrUseCapture: o,
34120          attachedListener: O,
34121          cleanup: c
34122        }), b(
34123          this._fragmentFiber.child,
34124          !1,
34125          EC,
34126          n,
34127          O,
34128          u
34129        );
34130      }
34131      this._eventListeners = d;
34132    }
34133  };
34134  function EC(n, a, o, u) {
34135    return $(n).addEventListener(
34136      a,
34137      o,
34138      u
34139    ), !1;
34140  }
34141  Fn.prototype.removeEventListener = function(n, a, o) {
34142    var u = this._eventListeners;
34143    if (u !== null && (a = nb(
34144      u,
34145      n,
34146      a,
34147      o
34148    ), a !== -1)) {
34149      var c = u[a];
34150      o = c.attachedListener;
34151      var d = c.cleanup;
34152      c = sl(c.optionsOrUseCapture), b(
34153        this._fragmentFiber.child,
34154        !1,
34155        TC,
34156        n,
34157        o,
34158        c
34159      ), u.splice(a, 1), d !== null && d();
34160    }
34161  };
34162  function TC(n, a, o, u) {
34163    return $(n).removeEventListener(
34164      a,
34165      o,
34166      u
34167    ), !1;
34168  }
34169  function sl(n) {
34170    return n != null && typeof n != "boolean" && (n.once === !0 || n.signal instanceof AbortSignal) ? { capture: n.capture, passive: n.passive } : n;
34171  }
34172  function tb(n) {
34173    return n == null ? "c=0" : typeof n == "boolean" ? "c=" + (n ? "1" : "0") : "c=" + (n.capture ? "1" : "0");
34174  }
34175  function nb(n, a, o, u) {
34176    if (n.length === 0) return -1;
34177    u = tb(u);
34178    for (var c = 0; c < n.length; c++) {
34179      var d = n[c];
34180      if (d.type === a && d.listener === o && tb(d.optionsOrUseCapture) === u)
34181        return c;
34182    }
34183    return -1;
34184  }
34185  Fn.prototype.dispatchEvent = function(n) {
34186    var a = S(
34187      this._fragmentFiber
34188    );
34189    if (a === null) return !0;
34190    a = $(a);
34191    var o = this._eventListeners;
34192    if (o !== null && 0 < o.length || !n.bubbles) {
34193      var u = a.nodeType === 9 ? a.createComment("") : document.createTextNode("");
34194      if (o)
34195        for (var c = 0; c < o.length; c++) {
34196          var d = o[c];
34197          u.addEventListener(
34198            d.type,
34199            d.attachedListener,
34200            sl(d.optionsOrUseCapture)
34201          );
34202        }
34203      if (a.appendChild(u), n = u.dispatchEvent(n), o)
34204        for (c = 0; c < o.length; c++)
34205          d = o[c], u.removeEventListener(
34206            d.type,
34207            d.attachedListener,
34208            sl(d.optionsOrUseCapture)
34209          );
34210      return a.removeChild(u), n;
34211    }
34212    return a.dispatchEvent(n);
34213  }
34213, Fn.prototype.focus = function(n) {
34214    b(
34215      this._fragmentFiber.child,
34216      !0,
34217      rb,
34218      n,
34219      void 0,
34220      void 0
34221    );
34222  };
34223  function rb(n, a) {
34224    return n.tag === 6 ? !1 : (n = $(n), PC(n, a));
34225  }
34226  Fn.prototype.focusLast = function(n) {
34227    var a = [];
34228    b(
34229      this._fragmentFiber.child,
34230      !0,
34231      u1,
34232      a,
34233      void 0,
34234      void 0
34235    );
34236    for (var o = a.length - 1; 0 <= o && !rb(a[o], n); o--) ;
34237  };
34238  function u1(n, a) {
34239    return a.push(n), !1;
34240  }
34241  Fn.prototype.blur = function() {
34242    var n = S(
34243      this._fragmentFiber
34244    );
34245    n !== null && (n = $(n), n = Ju(n).activeElement, n !== null && b(
34246      this._fragmentFiber.child,
34247      !1,
34248      CC,
34249      n,
34250      void 0,
34251      void 0
34252    ));
34253  };
34254  function CC(n, a) {
34255    return n.tag === 6 ? !1 : (n = $(n), n === a || n.contains(a) ? (a.blur(), !0) : !1);
34256  }
34257  Fn.prototype.observeUsing = function(n) {
34258    this._observers === null && (this._observers = /* @__PURE__ */ new Set()), this._observers.add(n), b(
34259      this._fragmentFiber.child,
34260      !1,
34261      wC,
34262      n,
34263      void 0,
34264      void 0
34265    );
34266  };
34267  function wC(n, a) {
34268    return n.tag === 6 || (n = $(n), a.observe(n)), !1;
34269  }
34270  Fn.prototype.unobserveUsing = function(n) {
34271    var a = this._observers;
34272    if (a !== null && a.has(n)) {
34273      a.delete(n), b(
34274        this._fragmentFiber.child,
34275        !1,
34276        OC,
34277        n,
34278        void 0,
34279        void 0
34280      );
34281      for (var o = a = 0; o < Sr.length; o++) {
34282        var u = Sr[o];
34283        u.fragmentInstance === this && u.observer === n ? n.unobserve(u.instance) : Sr[a++] = u;
34284      }
34285      Sr.length = a;
34286    }
34287  };
34288  function OC(n, a) {
34289    return n.tag === 6 || (n = $(n), a.unobserve(n)), !1;
34290  }
34291  var Sr = [], s1 = !1;
34292  function NC(n, a, o) {
34293    Sr.push({
34294      fragmentInstance: n,
34295      observer: a,
34296      instance: o
34297    }), s1 || (s1 = !0, kC(function() {
34298      s1 = !1;
34299      var u = Sr;
34300      Sr = [];
34301      for (var c = 0; c < u.length; c++) {
34302        var d = u[c];
34303        d.observer.unobserve(d.instance);
34304      }
34305    }));
34306  }
34307  Fn.prototype.getClientRects = function() {
34308    var n = [];
34309    return b(
34310      this._fragmentFiber.child,
34311      !1,
34312      AC,
34313      n,
34314      void 0,
34315      void 0
34316    ), n;
34317  };
34318  function AC(n, a) {
34319    if (n.tag === 6) {
34320      n = n.stateNode;
34321      var o = n.ownerDocument.createRange();
34322      o.selectNodeContents(n), a.push.apply(a, o.getClientRects());
34323    } else
34324      n = $(n), a.push.apply(a, n.getClientRects());
34325    return !1;
34326  }
34327  Fn.prototype.getRootNode = function(n) {
34328    var a = S(
34329      this._fragmentFiber
34330    );
34331    return a === null ? this : $(a).getRootNode(n);
34332  }, Fn.prototype.compareDocumentPosition = function(n) {
34333    var a = S(
34334      this._fragmentFiber
34335    );
34336    if (a === null) return Node.DOCUMENT_POSITION_DISCONNECTED;
34337    var o = [];
34338    b(
34339      this._fragmentFiber.child,
34340      !1,
34341      u1,
34342      o,
34343      void 0,
34344      void 0
34345    );
34346    var u = $(a);
34347    if (o.length === 0) {
34348      if (o = u, w(this._fragmentFiber)) {
34349        e: {
34350          for (a = this._fragmentFiber.return; a !== null; ) {
34351            if (a.tag === 4) {
34352              a = a.stateNode.containerInfo;
34353              break e;
34354            }
34355            if (a.tag === 3 || a.tag === 5 || a.tag === 27)
34356              break;
34357            a = a.return;
34358          }
34359          a = null;
34360        }
34361        a != null && (o = a);
34362      }
34363      a = this._fragmentFiber;
34364      var c = u = o.compareDocumentPosition(n);
34365      return o === n ? c = Node.DOCUMENT_POSITION_CONTAINS : u & Node.DOCUMENT_POSITION_CONTAINED_BY && (o = T(a)[1], o === null ? c = Node.DOCUMENT_POSITION_PRECEDING : (n = $(o).compareDocumentPosition(
34366        n
34367      ), c = n === 0 || n & Node.DOCUMENT_POSITION_FOLLOWING ? Node.DOCUMENT_POSITION_FOLLOWING : Node.DOCUMENT_POSITION_PRECEDING)), c |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
34368    }
34369    a = $(o[0]), c = $(o[o.length - 1]);
34370    var d = w(this._fragmentFiber) ? a.parentElement : u;
34371    if (d == null)
34372      return Node.DOCUMENT_POSITION_DISCONNECTED;
34373    u = d.compareDocumentPosition(a) & Node.DOCUMENT_POSITION_CONTAINED_BY, d = d.compareDocumentPosition(c) & Node.DOCUMENT_POSITION_CONTAINED_BY;
34374    var y = a.compareDocumentPosition(n), O = c.compareDocumentPosition(n), P = y & Node.DOCUMENT_POSITION_CONTAINED_BY || O & Node.DOCUMENT_POSITION_CONTAINED_BY;
34375    return O = u && d && y & Node.DOCUMENT_POSITION_FOLLOWING && O & Node.DOCUMENT_POSITION_PRECEDING, a = u && a === n || d && c === n || P || O ? Node.DOCUMENT_POSITION_CONTAINED_BY : !u && a === n || !d && c === n ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC : y, a & Node.DOCUMENT_POSITION_DISCONNECTED || a & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC || _C(
34376      a,
34377      this._fragmentFiber,
34378      o[0],
34379      o[o.length - 1],
34380      n
34381    ) ? a : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;
34382  };
34383  function _C(n, a, o, u, c) {
34384    var d = Wn(c);
34385    if (n & Node.DOCUMENT_POSITION_CONTAINED_BY) {
34386      if (o = !!d)
34387        e: {
34388          for (; d !== null; ) {
34389            if (d.tag === 7 && (d === a || d.alternate === a)) {
34390              o = !0;
34391              break e;
34392            }
34393            d = d.return;
34394          }
34395          o = !1;
34396        }
34397      return o;
34398    }
34399    if (n & Node.DOCUMENT_POSITION_CONTAINS) {
34400      if (d === null)
34401        return d = c.ownerDocument, c === d || c === d.documentElement || c === d.body;
34402      e: {
34403        for (d = a, a = S(a); d !== null; ) {
34404          if (!(d.tag !== 5 && d.tag !== 3 && d.tag !== 27 || d !== a && d.alternate !== a)) {
34405            d = !0;
34406            break e;
34407          }
34408          d = d.return;
34409        }
34410        d = !1;
34411      }
34412      return d;
34413    }
34414    return n & Node.DOCUMENT_POSITION_PRECEDING ? ((a = !!d) && !(a = d === o) && (a = E(
34415      o,
34416      d,
34417      v
34418    ), a === null ? a = !1 : (b(
34419      a,
34420      !0,
34421      _,
34422      d,
34423      o
34424    ), d = A, A = null, a = d !== null)), a) : n & Node.DOCUMENT_POSITION_FOLLOWING ? ((a = !!d) && !(a = d === u) && (a = E(
34425      u,
34426      d,
34427      v
34428    ), a === null ? a = !1 : (b(
34429      a,
34430      !0,
34431      x,
34432      d,
34433      u
34434    ), d = A, D = A = null, a = d !== null)), a) : !1;
34435  }
34436  function ab(n, a) {
34437    var o = n.ownerDocument.createRange();
34438    o.selectNodeContents(n), n = o.getBoundingClientRect(), window.scrollTo(
34439      window.scrollX + n.left,
34440      a ? window.scrollY + n.top : window.scrollY + n.bottom - window.innerHeight
34441    );
34442  }
34443  Fn.prototype.scrollIntoView = function(n) {
34444    if (typeof n == "object") throw Error(i(566));
34445    var a = [];
34446    b(
34447      this._fragmentFiber.child,
34448      !1,
34449      u1,
34450      a,
34451      void 0,
34452      void 0
34453    );
34454    var o = n !== !1;
34455    if (a.length === 0) {
34456      var u = T(
34457        this._fragmentFiber
34458      );
34459      if (u = o ? u[1] || u[0] || S(this._fragmentFiber) : u[0] || u[1], u === null) return;
34460      if (u.tag === 6) {
34461        n = $(u), ab(n, o);
34462        return;
34463      }
34464      if (u = $(u), u.nodeType !== 9) {
34465        if (u.nodeType === 11) {
34466          o = "host" in u ? u.host : null, o !== null && o.scrollIntoView(n);
34467          return;
34468        }
34469        u.scrollIntoView(n);
34470      }
34471    }
34472    for (u = o ? a.length - 1 : 0; u !== (o ? -1 : a.length); ) {
34473      var c = a[u];
34474      c.tag === 6 ? (c = $(c), ab(c, o)) : $(c).scrollIntoView(n), u += o ? -1 : 1;
34475    }
34476  };
34477  function xC(n, a) {
34478    return n = $(n), ib(n, a), !1;
34479  }
34480  function ib(n, a) {
34481    n.reactFragments == null && (n.reactFragments = /* @__PURE__ */ new Set()), n.reactFragments.add(a);
34482  }
34483  function ob(n, a) {
34484    var o = a._eventListeners;
34485    if (o !== null)
34486      for (var u = 0; u < o.length; u++) {
34487        var c = o[u];
34488        n.addEventListener(
34489          c.type,
34490          c.attachedListener,
34491          sl(c.optionsOrUseCapture)
34492        );
34493      }
34494    n.nodeType !== 3 && (o = a._observers, o !== null && o.forEach(function(d) {
34495      for (var y = 0, O = 0; O < Sr.length; O++) {
34496        var P = Sr[O];
34497        (P.fragmentInstance !== a || P.observer !== d || P.instance !== n) && (Sr[y++] = P);
34498      }
34499      Sr.length = y, d.observe(n);
34500    }), ib(n, a));
34501  }
34502  function RC(n, a) {
34503    var o = a._eventListeners;
34504    if (o !== null)
34505      for (var u = 0; u < o.length; u++) {
34506        var c = o[u];
34507        n.removeEventListener(
34508          c.type,
34509          c.attachedListener,
34510          sl(c.optionsOrUseCapture)
34511        );
34512      }
34513    n.nodeType !== 3 && (o = a._observers, o !== null && o.forEach(function(d) {
34514      typeof d.rootMargin == "string" ? NC(
34515        a,
34516        d,
34517        n
34518      ) : d.unobserve(n);
34519    }), n.reactFragments != null && n.reactFragments.delete(a));
34520  }
34521  function c1(n) {
34522    var a = n.firstChild;
34523    for (a && a.nodeType === 10 && (a = a.nextSibling); a; ) {
34524      var o = a;
34525      switch (a = a.nextSibling, o.nodeName) {
34526        case "HTML":
34527        case "HEAD":
34528        case "BODY":
34529          c1(o), Ni(o);
34530          continue;
34531        case "SCRIPT":
34532        case "STYLE":
34533          continue;
34534        case "LINK":
34535          if (o.rel.toLowerCase() === "stylesheet") continue;
34536      }
34537      n.removeChild(o);
34538    }
34539  }
34540  function DC(n, a, o, u) {
34541    for (; n.nodeType === 1; ) {
34542      var c = o;
34543      if (n.nodeName.toLowerCase() !== a.toLowerCase()) {
34544        if (!u && (n.nodeName !== "INPUT" || n.type !== "hidden"))
34545          break;
34546      } else if (u) {
34547        if (!n[wi])
34548          switch (a) {
34549            case "meta":
34550              if (!n.hasAttribute("itemprop")) break;
34551              return n;
34552            case "link":
34553              if (d = n.getAttribute("rel"), d === "stylesheet" && n.hasAttribute("data-precedence"))
34554                break;
34555              if (d !== c.rel || n.getAttribute("href") !== (c.href == null || c.href === "" ? null : c.href) || n.getAttribute("crossorigin") !== (c.crossOrigin == null ? null : c.crossOrigin) || n.getAttribute("title") !== (c.title == null ? null : c.title))
34556                break;
34557              return n;
34558            case "style":
34559              if (n.hasAttribute("data-precedence")) break;
34560              return n;
34561            case "script":
34562              if (d = n.getAttribute("src"), (d !== (c.src == null ? null : c.src) || n.getAttribute("type") !== (c.type == null ? null : c.type) || n.getAttribute("crossorigin") !== (c.crossOrigin == null ? null : c.crossOrigin)) && d && n.hasAttribute("async") && !n.hasAttribute("itemprop"))
34563                break;
34564              return n;
34565            default:
34566              return n;
34567          }
34568      } else if (a === "input" && n.type === "hidden") {
34569        var d = c.name == null ? null : "" + c.name;
34570        if (c.type === "hidden" && n.getAttribute("name") === d)
34571          return n;
34572      } else return n;
34573      if (n = ir(n.nextSibling), n === null) break;
34574    }
34575    return null;
34576  }
34577  function MC(n, a, o) {
34578    if (a === "") return null;
34579    for (; n.nodeType !== 3; )
34580      if ((n.nodeType !== 1 || n.nodeName !== "INPUT" || n.type !== "hidden") && !o || (n = ir(n.nextSibling), n === null)) return null;
34581    return n;
34582  }
34583  function lb(n, a) {
34584    for (; n.nodeType !== 8; )
34585      if ((n.nodeType !== 1 || n.nodeName !== "INPUT" || n.type !== "hidden") && !a || (n = ir(n.nextSibling), n === null)) return null;
34586    return n;
34587  }
34588  function f1(n) {
34589    return n.data === "$?" || n.data === "$~";
34590  }
34591  function d1(n) {
34592    return n.data === "$!" || n.data === "$?" && n.ownerDocument.readyState !== "loading";
34593  }
34594  function IC(n, a) {
34595    var o = n.ownerDocument;
34596    if (n.data === "$~") n._reactRetry = a;
34597    else if (n.data !== "$?" || o.readyState !== "loading")
34598      a();
34599    else {
34600      var u = function() {
34601        a(), o.removeEventListener("DOMContentLoaded", u);
34602      };
34603      o.addEventListener("DOMContentLoaded", u), n._reactRetry = u;
34604    }
34605  }
34606  function ir(n) {
34607    for (; n != null; n = n.nextSibling) {
34608      var a = n.nodeType;
34609      if (a === 1 || a === 3) break;
34610      if (a === 8) {
34611        if (a = n.data, a === "$" || a === "$!" || a === "$?" || a === "$~" || a === "&" || a === "F!" || a === "F")
34612          break;
34613        if (a === "/$" || a === "/&") return null;
34614      }
34615    }
34616    return n;
34617  }
34618  var h1 = null;
34619  function ub(n) {
34620    n = n.nextSibling;
34621    for (var a = 0; n; ) {
34622      if (n.nodeType === 8) {
34623        var o = n.data;
34624        if (o === "/$" || o === "/&") {
34625          if (a === 0)
34626            return ir(n.nextSibling);
34627          a--;
34628        } else
34629          o !== "$" && o !== "$!" && o !== "$?" && o !== "$~" && o !== "&" || a++;
34630      }
34631      n = n.nextSibling;
34632    }
34633    return null;
34634  }
34635  function sb(n) {
34636    n = n.previousSibling;
34637    for (var a = 0; n; ) {
34638      if (n.nodeType === 8) {
34639        var o = n.data;
34640        if (o === "$" || o === "$!" || o === "$?" || o === "$~" || o === "&") {
34641          if (a === 0) return n;
34642          a--;
34643        } else o !== "/$" && o !== "/&" || a++;
34644      }
34645      n = n.previousSibling;
34646    }
34647    return null;
34648  }
34649  function PC(n, a) {
34650    function o() {
34651      u = !0;
34652    }
34653    if (n.ownerDocument.activeElement === n) return !0;
34654    var u = !1;
34655    try {
34656      n.ownerDocument.addEventListener("focus", o, !0), (n.focus || HTMLElement.prototype.focus).call(n, a);
34657    } finally {
34658      n.ownerDocument.removeEventListener("focus", o, !0);
34659    }
34660    return u;
34661  }
34662  function kC(n) {
34663    Q3(function() {
34664      Q3(function(a) {
34665        return n(a);
34666      });
34667    });
34668  }
34669  function cb(n, a, o) {
34670    switch (a = Ju(o), n) {
34671      case "html":
34672        if (n = a.documentElement, !n) throw Error(i(452));
34673        return n;
34674      case "head":
34675        if (n = a.head, !n) throw Error(i(453));
34676        return n;
34677      case "body":
34678        if (n = a.body, !n) throw Error(i(454));
34679        return n;
34680      default:
34681        throw Error(i(451));
34682    }
34683  }
34684  function fb(n, a, o) {
34685    for (var u in o) {
34686      var c = o[u];
34687      o.hasOwnProperty(u) && c != null && et(n, a, u, null, fC, c);
34688    }
34689    o.dangerouslySetInnerHTML != null && (n.textContent = ""), n.onclick === kr && (n.onclick = null), Ni(n);
34690  }
34691  function m1(n) {
34692    for (var a = n.attributes; a.length; )
34693      n.removeAttributeNode(a[0]);
34694    Ni(n);
34695  }
34696  var or = /* @__PURE__ */ new Map(), db = /* @__PURE__ */ new Set();
34697  function es(n) {
34698    if (typeof n.getRootNode == "function") {
34699      var a = n.getRootNode();
34700      if (a.nodeType === 9 || a.nodeType === 11) return a;
34701    }
34702    return n.nodeType === 9 ? n : n.ownerDocument;
34703  }
34704  var ha = Ee.d;
34705  Ee.d = {
34706    f: LC,
34707    r: zC,
34708    D: UC,
34709    C: jC,
34710    L: FC,
34711    m: HC,
34712    X: BC,
34713    S: VC,
34714    M: qC
34715  };
34716  function LC() {
34717    var n = ha.f(), a = Yf();
34718    return n || a;
34719  }
34720  function zC(n) {
34721    var a = Ir(n);
34722    a !== null && a.tag === 5 && a.type === "form" ? mv(a) : ha.r(n);
34723  }
34724  var cl = typeof document > "u" ? null : document;
34725  function hb(n, a, o) {
34726    var u = cl;
34727    if (u && typeof a == "string" && a) {
34728      var c = se(a);
34729      c = 'link[rel="' + n + '"][href="' + c + '"]', typeof o == "string" && (c += '[crossorigin="' + o + '"]'), db.has(c) || (db.add(c), n = { rel: n, crossOrigin: o, href: a }, u.querySelector(c) === null && (a = u.createElement("link"), Xt(a, "link", n), ht(a), u.head.appendChild(a)));
34730    }
34731  }
34732  function UC(n) {
34733    ha.D(n), hb("dns-prefetch", n, null);
34734  }
34735  function jC(n, a) {
34736    ha.C(n, a), hb("preconnect", n, a);
34737  }
34738  function FC(n, a, o) {
34739    ha.L(n, a, o);
34740    var u = cl;
34741    if (u && n && a) {
34742      var c = 'link[rel="preload"][as="' + se(a) + '"]';
34743      a === "image" && o && o.imageSrcSet ? (c += '[imagesrcset="' + se(
34744        o.imageSrcSet
34745      ) + '"]', typeof o.imageSizes == "string" && (c += '[imagesizes="' + se(
34746        o.imageSizes
34747      ) + '"]')) : c += '[href="' + se(n) + '"]';
34748      var d = c;
34749      switch (a) {
34750        case "style":
34751          d = fl(n);
34752          break;
34753        case "script":
34754          d = dl(n);
34755      }
34756      if (!(or.has(d) || (n = C(
34757        {
34758          rel: "preload",
34759          href: a === "image" && o && o.imageSrcSet ? void 0 : n,
34760          as: a
34761        },
34762        o
34763      ), or.set(d, n), u.querySelector(c) !== null || a === "style" && u.querySelector(ts(d)) || a === "script" && u.querySelector(ns(d))))) {
34764        var y = u.createElement("link");
34765        Xt(y, "link", n), a === "style" && (y[Oi] = !0, y.onload = y.onerror = function() {
34766          In(y);
34767        }), ht(y), u.head.appendChild(y);
34768      }
34769    }
34770  }
34771  function HC(n, a) {
34772    ha.m(n, a);
34773    var o = cl;
34774    if (o && n) {
34775      var u = a && typeof a.as == "string" ? a.as : "script", c = 'link[rel="modulepreload"][as="' + se(u) + '"][href="' + se(n) + '"]', d = c;
34776      switch (u) {
34777        case "audioworklet":
34778        case "paintworklet":
34779        case "serviceworker":
34780        case "sharedworker":
34781        case "worker":
34782        case "script":
34783          d = dl(n);
34784      }
34785      if (!or.has(d) && (n = C({ rel: "modulepreload", href: n }, a), or.set(d, n), o.querySelector(c) === null)) {
34786        switch (u) {
34787          case "audioworklet":
34788          case "paintworklet":
34789          case "serviceworker":
34790          case "sharedworker":
34791          case "worker":
34792          case "script":
34793            if (o.querySelector(ns(d)))
34794              return;
34795        }
34796        u = o.createElement("link"), Xt(u, "link", n), ht(u), o.head.appendChild(u);
34797      }
34798    }
34799  }
34800  function VC(n, a, o) {
34801    ha.S(n, a, o);
34802    var u = cl;
34803    if (u && n) {
34804      var c = Mn(u).hoistableStyles, d = fl(n);
34805      a = a || "default";
34806      var y = c.get(d);
34807      if (!y) {
34808        var O = { loading: 0, preload: null };
34809        if (y = u.querySelector(
34810          ts(d)
34811        ))
34812          O.loading = 5;
34813        else {
34814          n = C(
34815            { rel: "stylesheet", href: n, "data-precedence": a },
vendor: 16,384 bytes, lines 34816-35279
34816            o
34817          ), (o = or.get(d)) && g1(n, o);
34818          var P = y = u.createElement("link");
34819          ht(P), Xt(P, "link", n), P._p = new Promise(function(H, Q) {
34820            P.onload = H, P.onerror = Q;
34821          }), P.addEventListener("load", function() {
34822            O.loading |= 1;
34823          }), P.addEventListener("error", function() {
34824            O.loading |= 2;
34825          }), O.loading |= 4, ed(y, a, u);
34826        }
34827        y = {
34828          type: "stylesheet",
34829          instance: y,
34830          count: 1,
34831          state: O
34832        }, c.set(d, y);
34833      }
34834    }
34835  }
34836  function BC(n, a) {
34837    ha.X(n, a);
34838    var o = cl;
34839    if (o && n) {
34840      var u = Mn(o).hoistableScripts, c = dl(n), d = u.get(c);
34841      d || (d = o.querySelector(ns(c)), d || (n = C({ src: n, async: !0 }, a), (a = or.get(c)) && p1(n, a), d = o.createElement("script"), ht(d), Xt(d, "link", n), o.head.appendChild(d)), d = {
34842        type: "script",
34843        instance: d,
34844        count: 1,
34845        state: null
34846      }, u.set(c, d));
34847    }
34848  }
34849  function qC(n, a) {
34850    ha.M(n, a);
34851    var o = cl;
34852    if (o && n) {
34853      var u = Mn(o).hoistableScripts, c = dl(n), d = u.get(c);
34854      d || (d = o.querySelector(ns(c)), d || (n = C({ src: n, async: !0, type: "module" }, a), (a = or.get(c)) && p1(n, a), d = o.createElement("script"), ht(d), Xt(d, "link", n), o.head.appendChild(d)), d = {
34855        type: "script",
34856        instance: d,
34857        count: 1,
34858        state: null
34859      }, u.set(c, d));
34860    }
34861  }
34862  function mb(n, a, o, u) {
34863    var c = (c = Sn.current) ? es(c) : null;
34864    if (!c) throw Error(i(446));
34865    switch (n) {
34866      case "meta":
34867      case "title":
34868        return null;
34869      case "style":
34870        return typeof o.precedence == "string" && typeof o.href == "string" ? (o = fl(o.href), a = Mn(
34871          c
34872        ).hoistableStyles, u = a.get(o), u || (u = {
34873          type: "style",
34874          instance: null,
34875          count: 0,
34876          state: null
34877        }, a.set(o, u)), u) : { type: "void", instance: null, count: 0, state: null };
34878      case "link":
34879        if (o.rel === "stylesheet" && typeof o.href == "string" && typeof o.precedence == "string") {
34880          n = fl(o.href);
34881          var d = Mn(
34882            c
34883          ).hoistableStyles, y = d.get(n);
34884          if (y || (c = c.ownerDocument || c, y = {
34885            type: "stylesheet",
34886            instance: null,
34887            count: 0,
34888            state: { loading: 0, preload: null }
34889          }, d.set(n, y), (d = c.querySelector(
34890            ts(n)
34891          )) ? d._p || (y.instance = d, y.state.loading = 5) : (d = or.get(n), d || (d = {
34892            rel: "preload",
34893            as: "style",
34894            href: o.href,
34895            crossOrigin: o.crossOrigin,
34896            integrity: o.integrity,
34897            media: o.media,
34898            hrefLang: o.hrefLang,
34899            referrerPolicy: o.referrerPolicy
34900          }, or.set(n, d)), GC(
34901            c,
34902            n,
34903            d,
34904            y.state
34905          ))), a && u === null)
34906            throw Error(i(528, ""));
34907          return y;
34908        }
34909        if (a && u !== null)
34910          throw Error(i(529, ""));
34911        return null;
34912      case "script":
34913        return a = o.async, o = o.src, typeof o == "string" && a && typeof a != "function" && typeof a != "symbol" ? (o = dl(o), a = Mn(
34914          c
34915        ).hoistableScripts, u = a.get(o), u || (u = {
34916          type: "script",
34917          instance: null,
34918          count: 0,
34919          state: null
34920        }, a.set(o, u)), u) : { type: "void", instance: null, count: 0, state: null };
34921      default:
34922        throw Error(i(444, n));
34923    }
34924  }
34925  function fl(n) {
34926    return 'href="' + se(n) + '"';
34927  }
34928  function ts(n) {
34929    return 'link[rel="stylesheet"][' + n + "]";
34930  }
34931  function gb(n) {
34932    return C({}, n, {
34933      "data-precedence": n.precedence,
34934      precedence: null
34935    });
34936  }
34937  function GC(n, a, o, u) {
34938    if (a = n.querySelector(
34939      'link[rel="preload"][as="style"][' + a + "]"
34940    )) {
34941      if (a[Oi] !== !0) {
34942        u.loading = 1;
34943        return;
34944      }
34945    } else
34946      a = n.createElement("link"), a[Oi] = !0, a.onload = a.onerror = In.bind(null, a), Xt(a, "link", o), ht(a), n.head.appendChild(a);
34947    u.preload = a, a.addEventListener("load", function() {
34948      return u.loading |= 1;
34949    }), a.addEventListener("error", function() {
34950      return u.loading |= 2;
34951    });
34952  }
34953  function dl(n) {
34954    return '[src="' + se(n) + '"]';
34955  }
34956  function ns(n) {
34957    return "script[async]" + n;
34958  }
34959  function pb(n, a, o) {
34960    if (a.count++, a.instance === null)
34961      switch (a.type) {
34962        case "style":
34963          var u = n.querySelector(
34964            'style[data-href~="' + se(o.href) + '"]'
34965          );
34966          if (u)
34967            return a.instance = u, ht(u), u;
34968          var c = C({}, o, {
34969            "data-href": o.href,
34970            "data-precedence": o.precedence,
34971            href: null,
34972            precedence: null
34973          });
34974          return u = (n.ownerDocument || n).createElement(
34975            "style"
34976          ), ht(u), Xt(u, "style", c), ed(u, o.precedence, n), a.instance = u;
34977        case "stylesheet":
34978          c = fl(o.href);
34979          var d = n.querySelector(
34980            ts(c)
34981          );
34982          if (d)
34983            return a.state.loading |= 4, a.instance = d, ht(d), d;
34984          u = gb(o), (c = or.get(c)) && g1(u, c), d = (n.ownerDocument || n).createElement("link"), ht(d);
34985          var y = d;
34986          return y._p = new Promise(function(O, P) {
34987            y.onload = O, y.onerror = P;
34988          }), Xt(d, "link", u), a.state.loading |= 4, ed(d, o.precedence, n), a.instance = d;
34989        case "script":
34990          return d = dl(o.src), (c = n.querySelector(
34991            ns(d)
34992          )) ? (a.instance = c, ht(c), c) : (u = o, (c = or.get(d)) && (u = C({}, o), p1(u, c)), n = n.ownerDocument || n, c = n.createElement("script"), ht(c), Xt(c, "link", u), n.head.appendChild(c), a.instance = c);
34993        case "void":
34994          return null;
34995        default:
34996          throw Error(i(443, a.type));
34997      }
34998    else
34999      a.type === "stylesheet" && (a.state.loading & 4) === 0 && (u = a.instance, a.state.loading |= 4, ed(u, o.precedence, n));
35000    return a.instance;
35001  }
35002  function ed(n, a, o) {
35003    for (var u = o.querySelectorAll(
35004      'link[rel="stylesheet"][data-precedence],style[data-precedence]'
35005    ), c = u.length ? u[u.length - 1] : null, d = c, y = 0; y < u.length; y++) {
35006      var O = u[y];
35007      if (O.dataset.precedence === a) d = O;
35008      else if (d !== c) break;
35009    }
35010    d ? d.parentNode.insertBefore(n, d.nextSibling) : (a = o.nodeType === 9 ? o.head : o, a.insertBefore(n, a.firstChild));
35011  }
35012  function g1(n, a) {
35013    n.crossOrigin == null && (n.crossOrigin = a.crossOrigin), n.referrerPolicy == null && (n.referrerPolicy = a.referrerPolicy), n.title == null && (n.title = a.title);
35014  }
35015  function p1(n, a) {
35016    n.crossOrigin == null && (n.crossOrigin = a.crossOrigin), n.referrerPolicy == null && (n.referrerPolicy = a.referrerPolicy), n.integrity == null && (n.integrity = a.integrity);
35017  }
35018  var td = null;
35019  function yb(n, a, o) {
35020    if (td === null) {
35021      var u = /* @__PURE__ */ new Map(), c = td = /* @__PURE__ */ new Map();
35022      c.set(o, u);
35023    } else
35024      c = td, u = c.get(o), u || (u = /* @__PURE__ */ new Map(), c.set(o, u));
35025    if (u.has(n)) return u;
35026    for (u.set(n, null), o = o.getElementsByTagName(n), c = 0; c < o.length; c++) {
35027      var d = o[c];
35028      if (!(d[wi] || d[ot] || n === "link" && d.getAttribute("rel") === "stylesheet") && d.namespaceURI !== "http://www.w3.org/2000/svg") {
35029        var y = d.getAttribute(a) || "";
35030        y = n + y;
35031        var O = u.get(y);
35032        O ? O.push(d) : u.set(y, [d]);
35033      }
35034    }
35035    return u;
35036  }
35037  function y1(n, a, o) {
35038    n = n.ownerDocument || n, n.head.insertBefore(
35039      o,
35040      a === "title" ? n.querySelector("head > title") : null
35041    );
35042  }
35043  function YC(n, a, o) {
35044    if (o === 1 || a.itemProp != null) return !1;
35045    switch (n) {
35046      case "meta":
35047      case "title":
35048        return !0;
35049      case "style":
35050        if (typeof a.precedence != "string" || typeof a.href != "string" || a.href === "")
35051          break;
35052        return !0;
35053      case "link":
35054        if (typeof a.rel != "string" || typeof a.href != "string" || a.href === "" || a.onLoad || a.onError)
35055          break;
35056        return a.rel === "stylesheet" ? (n = a.disabled, typeof a.precedence == "string" && n == null) : !0;
35057      case "script":
35058        if (a.async && typeof a.async != "function" && typeof a.async != "symbol" && !a.onLoad && !a.onError && a.src && typeof a.src == "string")
35059          return !0;
35060    }
35061    return !1;
35062  }
35063  function vb(n, a) {
35064    return n === "img" && a.src != null && a.src !== "" && a.onLoad == null && a.loading !== "lazy";
35065  }
35066  function bb(n) {
35067    return !(n.type === "stylesheet" && (n.state.loading & 3) === 0);
35068  }
35069  function Sb(n) {
35070    return (n.width || 100) * (n.height || 100) * (typeof devicePixelRatio == "number" ? devicePixelRatio : 1) * 0.25;
35071  }
35072  function $b(n, a) {
35073    typeof a.decode == "function" && (n.imgCount++, a.complete || (n.imgBytes += Sb(a), n.suspenseyImages.push(a)), n = KC.bind(n), a.decode().then(n, n));
35074  }
35075  function ZC(n, a, o, u) {
35076    if (o.type === "stylesheet" && (typeof u.media != "string" || matchMedia(u.media).matches !== !1) && (o.state.loading & 4) === 0) {
35077      if (o.instance === null) {
35078        var c = fl(u.href), d = a.querySelector(
35079          ts(c)
35080        );
35081        if (d) {
35082          a = d._p, a !== null && typeof a == "object" && typeof a.then == "function" && (n.count++, n = rs.bind(n), a.then(n, n)), o.state.loading |= 4, o.instance = d, ht(d);
35083          return;
35084        }
35085        d = a.ownerDocument || a, u = gb(u), (c = or.get(c)) && g1(u, c), d = d.createElement("link"), ht(d);
35086        var y = d;
35087        y._p = new Promise(function(O, P) {
35088          y.onload = O, y.onerror = P;
35089        }), Xt(d, "link", u), o.instance = d;
35090      }
35091      n.stylesheets === null && (n.stylesheets = /* @__PURE__ */ new Map()), n.stylesheets.set(o, a), (a = o.state.preload) && (o.state.loading & 3) === 0 && (n.count++, o = rs.bind(n), a.addEventListener("load", o), a.addEventListener("error", o));
35092    }
35093  }
35094  var nd = 0;
35095  function QC(n, a) {
35096    return n.stylesheets && n.count === 0 && ad(n, n.stylesheets), 0 < n.count || 0 < n.imgCount ? function(o) {
35097      var u = setTimeout(function() {
35098        if (n.stylesheets && ad(n, n.stylesheets), n.unsuspend) {
35099          var d = n.unsuspend;
35100          n.unsuspend = null, d();
35101        }
35102      }, 6e4 + a);
35103      0 < n.imgBytes && nd === 0 && (nd = 62500 * hC());
35104      var c = setTimeout(
35105        function() {
35106          if (n.waitingForImages = !1, n.count === 0 && (n.stylesheets && ad(n, n.stylesheets), n.unsuspend)) {
35107            var d = n.unsuspend;
35108            n.unsuspend = null, d();
35109          }
35110        },
35111        (n.imgBytes > nd ? 50 : 800) + a
35112      );
35113      return n.unsuspend = o, function() {
35114        n.unsuspend = null, clearTimeout(u), clearTimeout(c);
35115      };
35116    } : null;
35117  }
35118  function Eb(n) {
35119    if (n.count === 0 && (n.imgCount === 0 || !n.waitingForImages)) {
35120      if (n.stylesheets) ad(n, n.stylesheets);
35121      else if (n.unsuspend) {
35122        var a = n.unsuspend;
35123        n.unsuspend = null, a();
35124      }
35125    }
35126  }
35127  function rs() {
35128    this.count--, Eb(this);
35129  }
35130  function KC() {
35131    this.imgCount--, Eb(this);
35132  }
35133  var rd = null;
35134  function ad(n, a) {
35135    n.stylesheets = null, n.unsuspend !== null && (n.count++, rd = /* @__PURE__ */ new Map(), a.forEach(XC, n), rd = null, rs.call(n));
35136  }
35137  function XC(n, a) {
35138    if (!(a.state.loading & 4)) {
35139      var o = rd.get(n);
35140      if (o) var u = o.get(null);
35141      else {
35142        o = /* @__PURE__ */ new Map(), rd.set(n, o);
35143        for (var c = n.querySelectorAll(
35144          "link[data-precedence],style[data-precedence]"
35145        ), d = 0; d < c.length; d++) {
35146          var y = c[d];
35147          (y.nodeName === "LINK" || y.getAttribute("media") !== "not all") && (o.set(y.dataset.precedence, y), u = y);
35148        }
35149        u && o.set(null, u);
35150      }
35151      c = a.instance, y = c.getAttribute("data-precedence"), d = o.get(y) || u, d === u && o.set(null, c), o.set(y, c), this.count++, u = rs.bind(this), c.addEventListener("load", u), c.addEventListener("error", u), d ? d.parentNode.insertBefore(c, d.nextSibling) : (n = n.nodeType === 9 ? n.head : n, n.insertBefore(c, n.firstChild)), a.state.loading |= 4;
35152    }
35153  }
35154  var hl = {
35155    $$typeof: K,
35156    Provider: null,
35157    Consumer: null,
35158    _currentValue: nn,
35159    _currentValue2: nn,
35160    _threadCount: 0
35161  };
35162  function WC(n, a, o, u, c, d, y, O, P) {
35163    this.tag = 1, this.containerInfo = n, this.pingCache = this.current = this.pendingChildren = null, this.timeoutHandle = -1, this.callbackNode = this.next = this.pendingContext = this.context = this.cancelPendingCommit = null, this.callbackPriority = 0, this.expirationTimes = ft(-1), this.entangledLanes = this.shellSuspendCounter = this.errorRecoveryDisabledLanes = this.expiredLanes = this.warmLanes = this.pingedLanes = this.suspendedLanes = this.pendingLanes = 0, this.entanglements = ft(0), this.hiddenUpdates = ft(null), this.identifierPrefix = u, this.onUncaughtError = c, this.onCaughtError = d, this.onRecoverableError = y, this.pooledCache = null, this.pooledCacheLanes = 0, this.formState = P, this.transitionTypes = null, this.incompleteTransitions = /* @__PURE__ */ new Map();
35164  }
35165  function Tb(n, a, o, u, c, d, y, O, P, H, Q, J) {
35166    return n = new WC(
35167      n,
35168      a,
35169      o,
35170      y,
35171      P,
35172      H,
35173      Q,
35174      J,
35175      O
35176    ), a = 1, d === !0 && (a |= 24), d = En(3, null, null, a), n.current = d, d.stateNode = n, a = D0(), a.refCount++, n.pooledCache = a, a.refCount++, d.memoizedState = {
35177      element: u,
35178      isDehydrated: o,
35179      cache: a
35180    }, k0(d), n;
35181  }
35182  function Cb(n) {
35183    return n ? (n = Uo, n) : Uo;
35184  }
35185  function wb(n, a, o, u, c, d) {
35186    c = Cb(c), u.context === null ? u.context = c : u.pendingContext = c, u = Va(a), u.payload = { element: o }, d = d === void 0 ? null : d, d !== null && (u.callback = d), o = Ba(n, u, a), o !== null && (On(o, n, a), Iu(o, n, a));
35187  }
35188  function Ob(n, a) {
35189    if (n = n.memoizedState, n !== null && n.dehydrated !== null) {
35190      var o = n.retryLane;
35191      n.retryLane = o !== 0 && o < a ? o : a;
35192    }
35193  }
35194  function v1(n, a) {
35195    Ob(n, a), (n = n.alternate) && Ob(n, a);
35196  }
35197  function Nb(n) {
35198    if (n.tag === 13 || n.tag === 31) {
35199      var a = Di(n, 67108864);
35200      a !== null && On(a, n, 67108864), v1(n, 67108864);
35201    }
35202  }
35203  function Ab(n) {
35204    if (n.tag === 13 || n.tag === 31) {
35205      var a = jn();
35206      a = _o(a);
35207      var o = Di(n, a);
35208      o !== null && On(o, n, a), v1(n, a);
35209    }
35210  }
35211  var ml = !0;
35212  function JC(n, a, o, u) {
35213    var c = he.T;
35214    he.T = null;
35215    var d = Ee.p;
35216    try {
35217      Ee.p = 2, b1(n, a, o, u);
35218    } finally {
35219      Ee.p = d, he.T = c;
35220    }
35221  }
35222  function ew(n, a, o, u) {
35223    var c = he.T;
35224    he.T = null;
35225    var d = Ee.p;
35226    try {
35227      Ee.p = 8, b1(n, a, o, u);
35228    } finally {
35229      Ee.p = d, he.T = c;
35230    }
35231  }
35232  function b1(n, a, o, u) {
35233    if (ml) {
35234      var c = S1(u);
35235      if (c === null)
35236        e1(
35237          n,
35238          a,
35239          u,
35240          id,
35241          o
35242        ), xb(n, u);
35243      else if (nw(
35244        c,
35245        n,
35246        a,
35247        o,
35248        u
35249      ))
35250        u.stopPropagation();
35251      else if (xb(n, u), a & 4 && -1 < tw.indexOf(n)) {
35252        for (; c !== null; ) {
35253          var d = Ir(c);
35254          if (d !== null)
35255            switch (d.tag) {
35256              case 3:
35257                if (d = d.stateNode, d.current.memoizedState.isDehydrated) {
35258                  var y = Dr(d.pendingLanes);
35259                  if (y !== 0) {
35260                    var O = d;
35261                    for (O.pendingLanes |= 2, O.entangledLanes |= 2; y; ) {
35262                      var P = 1 << 31 - dt(y);
35263                      O.entanglements[1] |= P, y &= ~P;
35264                    }
35265                    Gr(d), (Ve & 6) === 0 && (Bf = on() + 500, Ku(0));
35266                  }
35267                }
35268                break;
35269              case 31:
35270              case 13:
35271                O = Di(d, 2), O !== null && On(O, d, 2), Yf(), v1(d, 2);
35272            }
35273          if (d = S1(u), d === null && e1(
35274            n,
35275            a,
35276            u,
35277            id,
35278            o
35279          ), d === c) break;
vendor: 11,151 bytes, lines 35279-35699
35279
35280          c = d;
35281        }
35282        c !== null && u.stopPropagation();
35283      } else
35284        e1(
35285          n,
35286          a,
35287          u,
35288          null,
35289          o
35290        );
35291    }
35292  }
35293  function S1(n) {
35294    return n = i0(n), $1(n);
35295  }
35296  var id = null;
35297  function $1(n) {
35298    if (id = null, n = Wn(n), n !== null) {
35299      var a = s(n);
35300      if (a === null) n = null;
35301      else {
35302        var o = a.tag;
35303        if (o === 13) {
35304          if (n = f(a), n !== null) return n;
35305          n = null;
35306        } else if (o === 31) {
35307          if (n = h(a), n !== null) return n;
35308          n = null;
35309        } else if (o === 3) {
35310          if (a.stateNode.current.memoizedState.isDehydrated)
35311            return a.tag === 3 ? a.stateNode.containerInfo : null;
35312          n = null;
35313        } else a !== n && (n = null);
35314      }
35315    }
35316    return id = n, null;
35317  }
35318  function _b(n) {
35319    switch (n) {
35320      case "beforetoggle":
35321      case "cancel":
35322      case "click":
35323      case "close":
35324      case "contextmenu":
35325      case "copy":
35326      case "cut":
35327      case "auxclick":
35328      case "dblclick":
35329      case "dragend":
35330      case "dragstart":
35331      case "drop":
35332      case "focusin":
35333      case "focusout":
35334      case "input":
35335      case "invalid":
35336      case "keydown":
35337      case "keypress":
35338      case "keyup":
35339      case "mousedown":
35340      case "mouseup":
35341      case "paste":
35342      case "pause":
35343      case "play":
35344      case "pointercancel":
35345      case "pointerdown":
35346      case "pointerup":
35347      case "ratechange":
35348      case "reset":
35349      case "seeked":
35350      case "submit":
35351      case "toggle":
35352      case "touchcancel":
35353      case "touchend":
35354      case "touchstart":
35355      case "volumechange":
35356      case "change":
35357      case "selectionchange":
35358      case "textInput":
35359      case "compositionstart":
35360      case "compositionend":
35361      case "compositionupdate":
35362      case "beforeblur":
35363      case "afterblur":
35364      case "beforeinput":
35365      case "blur":
35366      case "fullscreenchange":
35367      case "fullscreenerror":
35368      case "focus":
35369      case "hashchange":
35370      case "popstate":
35371      case "select":
35372      case "selectstart":
35373        return 2;
35374      case "drag":
35375      case "dragenter":
35376      case "dragexit":
35377      case "dragleave":
35378      case "dragover":
35379      case "mousemove":
35380      case "mouseout":
35381      case "mouseover":
35382      case "pointermove":
35383      case "pointerout":
35384      case "pointerover":
35385      case "resize":
35386      case "scroll":
35387      case "touchmove":
35388      case "wheel":
35389      case "mouseenter":
35390      case "mouseleave":
35391      case "pointerenter":
35392      case "pointerleave":
35393        return 8;
35394      case "message":
35395        switch (su()) {
35396          case Oo:
35397            return 2;
35398          case Wr:
35399            return 8;
35400          case dr:
35401          case kc:
35402            return 32;
35403          case cu:
35404            return 268435456;
35405          default:
35406            return 32;
35407        }
35408      default:
35409        return 32;
35410    }
35411  }
35412  var E1 = !1, ni = null, ri = null, ai = null, as = /* @__PURE__ */ new Map(), is = /* @__PURE__ */ new Map(), ii = [], tw = "mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(
35413    " "
35414  );
35415  function xb(n, a) {
35416    switch (n) {
35417      case "focusin":
35418      case "focusout":
35419        ni = null;
35420        break;
35421      case "dragenter":
35422      case "dragleave":
35423        ri = null;
35424        break;
35425      case "mouseover":
35426      case "mouseout":
35427        ai = null;
35428        break;
35429      case "pointerover":
35430      case "pointerout":
35431        as.delete(a.pointerId);
35432        break;
35433      case "gotpointercapture":
35434      case "lostpointercapture":
35435        is.delete(a.pointerId);
35436    }
35437  }
35438  function os(n, a, o, u, c, d) {
35439    return n === null || n.nativeEvent !== d ? (n = {
35440      blockedOn: a,
35441      domEventName: o,
35442      eventSystemFlags: u,
35443      nativeEvent: d,
35444      targetContainers: [c]
35445    }, a !== null && (a = Ir(a), a !== null && Nb(a)), n) : (n.eventSystemFlags |= u, a = n.targetContainers, c !== null && a.indexOf(c) === -1 && a.push(c), n);
35446  }
35447  function nw(n, a, o, u, c) {
35448    switch (a) {
35449      case "focusin":
35450        return ni = os(
35451          ni,
35452          n,
35453          a,
35454          o,
35455          u,
35456          c
35457        ), !0;
35458      case "dragenter":
35459        return ri = os(
35460          ri,
35461          n,
35462          a,
35463          o,
35464          u,
35465          c
35466        ), !0;
35467      case "mouseover":
35468        return ai = os(
35469          ai,
35470          n,
35471          a,
35472          o,
35473          u,
35474          c
35475        ), !0;
35476      case "pointerover":
35477        var d = c.pointerId;
35478        return as.set(
35479          d,
35480          os(
35481            as.get(d) || null,
35482            n,
35483            a,
35484            o,
35485            u,
35486            c
35487          )
35488        ), !0;
35489      case "gotpointercapture":
35490        return d = c.pointerId, is.set(
35491          d,
35492          os(
35493            is.get(d) || null,
35494            n,
35495            a,
35496            o,
35497            u,
35498            c
35499          )
35500        ), !0;
35501    }
35502    return !1;
35503  }
35504  function Rb(n) {
35505    var a = Wn(n.target);
35506    if (a !== null) {
35507      var o = s(a);
35508      if (o !== null) {
35509        if (a = o.tag, a === 13) {
35510          if (a = f(o), a !== null) {
35511            n.blockedOn = a, Fc(n.priority, function() {
35512              Ab(o);
35513            });
35514            return;
35515          }
35516        } else if (a === 31) {
35517          if (a = h(o), a !== null) {
35518            n.blockedOn = a, Fc(n.priority, function() {
35519              Ab(o);
35520            });
35521            return;
35522          }
35523        } else if (a === 3 && o.stateNode.current.memoizedState.isDehydrated) {
35524          n.blockedOn = o.tag === 3 ? o.stateNode.containerInfo : null;
35525          return;
35526        }
35527      }
35528    }
35529    n.blockedOn = null;
35530  }
35531  function od(n) {
35532    if (n.blockedOn !== null) return !1;
35533    for (var a = n.targetContainers; 0 < a.length; ) {
35534      var o = S1(n.nativeEvent);
35535      if (o === null) {
35536        o = n.nativeEvent;
35537        var u = new o.constructor(
35538          o.type,
35539          o
35540        );
35541        a0 = u, o.target.dispatchEvent(u), a0 = null;
35542      } else
35543        return a = Ir(o), a !== null && Nb(a), n.blockedOn = o, !1;
35544      a.shift();
35545    }
35546    return !0;
35547  }
35548  function Db(n, a, o) {
35549    od(n) && o.delete(a);
35550  }
35551  function rw() {
35552    E1 = !1, ni !== null && od(ni) && (ni = null), ri !== null && od(ri) && (ri = null), ai !== null && od(ai) && (ai = null), as.forEach(Db), is.forEach(Db);
35553  }
35554  function ld(n, a) {
35555    n.blockedOn === a && (n.blockedOn = null, E1 || (E1 = !0, e.unstable_scheduleCallback(
35556      e.unstable_NormalPriority,
35557      rw
35558    )));
35559  }
35560  var ud = null;
35561  function Mb(n) {
35562    ud !== n && (ud = n, e.unstable_scheduleCallback(
35563      e.unstable_NormalPriority,
35564      function() {
35565        ud === n && (ud = null);
35566        for (var a = 0; a < n.length; a += 3) {
35567          var o = n[a], u = n[a + 1], c = n[a + 2];
35568          if (typeof u != "function") {
35569            if ($1(u || o) === null)
35570              continue;
35571            break;
35572          }
35573          var d = Ir(o);
35574          d !== null && (n.splice(a, 3), a -= 3, rm(
35575            d,
35576            {
35577              pending: !0,
35578              data: c,
35579              method: o.method,
35580              action: u
35581            },
35582            u,
35583            c
35584          ));
35585        }
35586      }
35587    ));
35588  }
35589  function gl(n) {
35590    function a(P) {
35591      return ld(P, n);
35592    }
35593    ni !== null && ld(ni, n), ri !== null && ld(ri, n), ai !== null && ld(ai, n), as.forEach(a), is.forEach(a);
35594    for (var o = 0; o < ii.length; o++) {
35595      var u = ii[o];
35596      u.blockedOn === n && (u.blockedOn = null);
35597    }
35598    for (; 0 < ii.length && (o = ii[0], o.blockedOn === null); )
35599      Rb(o), o.blockedOn === null && ii.shift();
35600    if (o = (n.ownerDocument || n).$$reactFormReplay, o != null)
35601      for (u = 0; u < o.length; u += 3) {
35602        var c = o[u], d = o[u + 1], y = c[Bt] || null;
35603        if (typeof d == "function")
35604          y || Mb(o);
35605        else if (y) {
35606          var O = null;
35607          if (d && d.hasAttribute("formAction")) {
35608            if (c = d, y = d[Bt] || null)
35609              O = y.formAction;
35610            else if ($1(c) !== null) continue;
35611          } else O = y.action;
35612          typeof O == "function" ? o[u + 1] = O : (o.splice(u, 3), u -= 3), Mb(o);
35613        }
35614      }
35615  }
35616  function Ib() {
35617    function n(d) {
35618      d.canIntercept && d.info === "react-transition" && d.intercept({
35619        handler: function() {
35620          return new Promise(function(y) {
35621            return c = y;
35622          });
35623        },
35624        focusReset: "manual",
35625        scroll: "manual"
35626      });
35627    }
35628    function a() {
35629      c !== null && (c(), c = null), u || setTimeout(o, 20);
35630    }
35631    function o() {
35632      if (!u && !navigation.transition) {
35633        var d = navigation.currentEntry;
35634        d && d.url != null && navigation.navigate(d.url, {
35635          state: d.getState(),
35636          info: "react-transition",
35637          history: "replace"
35638        });
35639      }
35640    }
35641    if (typeof navigation == "object") {
35642      var u = !1, c = null;
35643      return navigation.addEventListener("navigate", n), navigation.addEventListener("navigatesuccess", a), navigation.addEventListener("navigateerror", a), setTimeout(o, 100), function() {
35644        u = !0, navigation.removeEventListener("navigate", n), navigation.removeEventListener("navigatesuccess", a), navigation.removeEventListener("navigateerror", a), c !== null && (c(), c = null);
35645      };
35646    }
35647  }
35648  function T1(n) {
35649    this._internalRoot = n;
35650  }
35651  sd.prototype.render = T1.prototype.render = function(n) {
35652    var a = this._internalRoot;
35653    if (a === null) throw Error(i(409));
35654    var o = a.current, u = jn();
35655    wb(o, u, n, a, null, null);
35656  }, sd.prototype.unmount = T1.prototype.unmount = function() {
35657    var n = this._internalRoot;
35658    if (n !== null) {
35659      this._internalRoot = null;
35660      var a = n.containerInfo;
35661      wb(n.current, 2, null, n, null, null), Yf(), a[mr] = null;
35662    }
35663  };
35664  function sd(n) {
35665    this._internalRoot = n;
35666  }
35667  sd.prototype.unstable_scheduleHydration = function(n) {
35668    if (n) {
35669      var a = jc();
35670      n = { blockedOn: null, target: n, priority: a };
35671      for (var o = 0; o < ii.length && a !== 0 && a < ii[o].priority; o++) ;
35672      ii.splice(o, 0, n), o === 0 && Rb(n);
35673    }
35674  };
35675  var Pb = t.version;
35676  if (Pb !== "19.3.0")
35677    throw Error(
35678      i(
35679        527,
35680        Pb,
35681        "19.3.0"
35682      )
35683    );
35684  Ee.findDOMNode = function(n) {
35685    var a = n._reactInternals;
35686    if (a === void 0)
35687      throw typeof n.render == "function" ? Error(i(188)) : (n = Object.keys(n).join(","), Error(i(268, n)));
35688    return n = g(a), n = n !== null ? p(n) : null, n = n === null ? null : n.stateNode, n;
35689  };
35690  var aw = {
35691    bundleType: 0,
35692    version: "19.3.0",
35693    rendererPackageName: "react-dom",
35694    currentDispatcherRef: he,
35695    reconcilerVersion: "19.3.0"
35696  };
35697  if (typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u") {
35698    var cd = __REACT_DEVTOOLS_GLOBAL_HOOK__;
35699    if (!cd.isDisabled && cd.supportsFiber)
35700      try {
35701        xa = cd.inject(
35702          aw
35703        ), zt = cd;
35704      } catch {
35705      }
35706  }
35707  return Ns.createRoot = function(n, a) {
35708    if (!l(n)) throw Error(i(299));
35709    var o = !1, u = "", c = Cv, d = wv, y = Ov;
35710    return a != null && (a.unstable_strictMode === !0 && (o = !0), a.identifierPrefix !== void 0 && (u = a.identifierPrefix), a.onUncaughtError !== void 0 && (c = a.onUncaughtError), a.onCaughtError !== void 0 && (d = a.onCaughtError), a.onRecoverableError !== void 0 && (y = a.onRecoverableError)), a = Tb(
35711      n,
35712      1,
35713      !1,
35714      null,
35715      null,
35716      o,
35717      u,
35718      null,
35719      c,
35720      d,
35721      y,
35722      Ib
35723    ), n[mr] = a.current, Jm(n), new T1(a);
35724  }, Ns.hydrateRoot = function(n, a, o) {
35725    if (!l(n)) throw Error(i(299));
35726    var u = !1, c = "", d = Cv, y = wv, O = Ov, P = null;
35727    return o != null && (o.unstable_strictMode === !0 && (u = !0), o.identifierPrefix !== void 0 && (c = o.identifierPrefix), o.onUncaughtError !== void 0 && (d = o.onUncaughtError), o.onCaughtError !== void 0 && (y = o.onCaughtError), o.onRecoverableError !== void 0 && (O = o.onRecoverableError), o.formState !== void 0 && (P = o.formState)), a = Tb(
35728      n,
35729      1,
35730      !0,
35731      a,
35732      o ?? null,
35733      u,
35734      c,
35735      P,
35736      d,
35737      y,
35738      O,
35739      Ib
35740    ), a.context = Cb(null), o = a.current, u = jn(), u = _o(u), c = Va(u), c.callback = null, Ba(o, c, u), o = u, a.current.lanes = o, Xn(a, o), Gr(a), n[mr] = a.current, Jm(n), new sd(a);
35741  }, Ns.version = "19.3.0", Ns;
35742}
35743var _9;
35744function DU() {
35745  if (_9) return Eg.exports;
35746  _9 = 1;
35747  function e() {
35748    if (!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ > "u" || typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE != "function"))
35749      try {
35750        __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e);
35751      } catch (t) {
35752        console.error(t);
35753      }
35754  }
35755  return e(), Eg.exports = RU(), Eg.exports;
35756}
35757var Bj = DU();
35758const MU = () => document.location.protocol + "//" + document.location.hostname, IU = () => document.querySelector('meta[name="customer"]')?.getAttribute("content") ?? void 0, PU = () => {
35759  switch (document.querySelector('meta[name="otap"]')?.getAttribute("content") ?? "productie") {
35760    case "test":
35761      return "test";
35762    case "acceptatie":
35763      return "acceptance";
35764    case "ontwikkel":
35765      return "development";
35766    default:
35767      return "production";
35768  }
35769}, kU = () => document.querySelector('meta[name="formal_language_enabled"]')?.getAttribute("content") === "1", LU = () => {
35770  const e = document.documentElement.lang, t = ["nl"];
35771  return kU() && t.includes(e) ? e + "-formal" : e;
35772}, zU = () => {
35773  const e = document.cookie.split("; ").find((t) => t.startsWith("zoekendeId="));
35774  return e ? decodeURIComponent(e.split("=")[1]) : null;
35775}, UU = () => {
35776  const e = document.cookie.split("; ").find((t) => t.startsWith("switchUserEnabled="));
35777  return e ? decodeURIComponent(e.split("=")[1]) === "1" : !1;
35778};
35779var wg = { exports: {} }, Og = {};
35780var x9;
35781function jU() {
35782  if (x9) return Og;
35783  x9 = 1;
35784  var e = window.React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
35785  return Og.c = function(t) {
35786    return e.H.useMemoCache(t);
35787  }, Og;
35788}
35789var R9;
35790function FU() {
35791  return R9 || (R9 = 1, wg.exports = jU()), wg.exports;
35792}
35793var Xh = FU();
35794const HU = Dp.div`
35795	p:first-child {
35796		margin-top: revert;
35797	}
35798
35799	p:last-child {
35800		margin-top: revert;
35801	}
35802
35803	h1,
35804	h2,
35805	h3,
35806	h4,
35807	h5,
35808	h6 {
35809		margin-top: revert;
35810		margin-bottom: revert;
35811
35812		&:first-child {
35813			margin-top: revert;
35814		}
35815	}
35816`, VU = window.React.createContext, BU = window.React.useContext, qU = window.React.useEffect, GU = window.React.useState, A5 = VU(null), YU = () => {
35817  const e = BU(A5);
35818  if (!e)
35819    throw new Error("useViewport must be used within ViewportProvider");
35820  return e;
35821};
35822function D9() {
35823  return window.innerWidth < 840 ? "web-mobile" : "web-desktop";
35824}
35825const ZU = (e) => {
35826  const t = Xh.c(7), {
35827    children: r
35828  } = e;
35829  let i;
35830  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = D9(), t[0] = i) : i = t[0];
35831  const [l, s] = GU(i);
35832  let f, h;
35833  t[1] !== l ? (f = () => {
35834    const g = function() {
35835      const b = D9();
35836      l !== b && s(b);
35837    };
35838    return window.addEventListener("resize", g), () => {
35839      window.removeEventListener("resize", g);
35840    };
35841  }, h = [l], t[1] = l, t[2] = f, t[3] = h) : (f = t[2], h = t[3]), qU(f, h);
35842  let m;
35843  return t[4] !== r || t[5] !== l ? (m = /* @__PURE__ */ Mt.jsx(A5.Provider, { value: l, children: r }), t[4] = r, t[5] = l, t[6] = m) : m = t[6], m;
35844}, As = window.ZigDesignSystem.ZdsIcon, QU = window.React.useEffect, M9 = window.React.useState, KU = (e) => {
35845  const t = Xh.c(15), {
35846    children: r
35847  }
35847 = e, i = YU();
35848  let l;
35849  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (l = MU(), t[0] = l) : l = t[0];
35850  const s = l;
35851  let f;
35852  t[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = LU(), t[1] = f) : f = t[1];
35853  const h = f;
35854  let m;
35855  t[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = zU(), t[2] = m) : m = t[2];
35856  const g = m;
35857  let p;
35858  t[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = UU(), t[3] = p) : p = t[3];
35859  const b = p;
35860  let S;
35861  t[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = IU(), t[4] = S) : S = t[4];
35862  const w = S;
35863  let T;
35864  t[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = PU(), t[5] = T) : T = t[5];
35865  const N = T, [$, A] = M9(""), [D, _] = M9(!0), x = `${s}/portal/proxy/frontend/api`;
35866  let v, E;
35867  if (t[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = () => {
35868    fetch(`${x}/v1/configuration`).then(XU).then((M) => {
35869      M?.urlAanbodApi ? A(M.urlAanbodApi) : console.warn("No urlAanbodApi found in configuration");
35870    }).catch(WU).finally(() => {
35871      _(!1);
35872    });
35873  }, E = [], t[6] = v, t[7] = E) : (v = t[6], E = t[7]), QU(v, E), D)
35874    return null;
35875  const C = `${$}/api`;
35876  let L;
35877  t[8] !== C || t[9] !== i ? (L = {
35878    wbsUrl: `${s}/portal/proxy/frontend/api`,
35879    portalUrl: s,
35880    aanbodUrl: C,
35881    zoekendeId: g,
35882    enableSwitchUser: b,
35883    language: h,
35884    customer: w,
35885    viewport: i,
35886    dtap: N
35887  }, t[8] = C, t[9] = i, t[10] = L) : L = t[10];
35888  let k;
35889  t[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = {
35890    clientId: "wzp",
35891    tokens: !1,
35892    onChangeTokens: void 0
35893  }, t[11] = k) : k = t[11];
35894  let I;
35895  return t[12] !== r || t[13] !== L ? (I = /* @__PURE__ */ Mt.jsx($U, { config: L, auth: k, children: r }), t[12] = r, t[13] = L, t[14] = I) : I = t[14], I;
35896}, qj = (e) => {
35897  const t = Xh.c(3);
35898  let r;
35899  t[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
35900    error: /* @__PURE__ */ Mt.jsx(As, { className: "zds-margin-right-1", name: "error" }),
35901    info: /* @__PURE__ */ Mt.jsx(As, { className: "zds-margin-right-1", name: "info" }),
35902    success: /* @__PURE__ */ Mt.jsx(As, { className: "zds-margin-right-1", name: "done" }),
35903    warning: /* @__PURE__ */ Mt.jsx(As, { className: "zds-margin-right-1", name: "warning" }),
35904    default: /* @__PURE__ */ Mt.jsx(As, { className: "zds-margin-right-1", name: "info" })
35905  }, t[0] = r) : r = t[0];
35906  let i;
35907  return t[1] !== e ? (i = /* @__PURE__ */ Mt.jsx(ZU, { children: /* @__PURE__ */ Mt.jsx(PR, { className: "zds-body", iconVariant: r, domRoot: document.body, children: /* @__PURE__ */ Mt.jsx(HU, { children: /* @__PURE__ */ Mt.jsx(KU, { ...e }) }) }) }), t[1] = e, t[2] = i) : i = t[2], i;
35908};
35909function XU(e) {
35910  return e.json();
35911}
35912function WU(e) {
35913  console.error("Error fetching configuration:", e);
35914}
35915const JU = Mc.injectEndpoints({
35916  endpoints: (e) => ({
35917    startSession: e.mutation({
35918      query: () => ({
35919        url: "/portal/account/frontend/loginbyservice/format/json",
35920        method: "POST",
35921        headers: {
35922          Accept: "application/json"
35923        }
35924      })
35925    })
35926  }),
35927  overrideExisting: !1
35928}), {
35929  useStartSessionMutation: Gj
35930} = JU, ej = Mc.injectEndpoints({
35931  endpoints: (e) => ({
35932    getPortalConfiguration: e.query({
35933      query: () => "/portal/core/frontend/getportalconfiguration/format/json",
35934      transformResponse: ({
35935        result: t
35936      }) => ({
35937        ...t,
35938        useSsoForLogin: t.useSsoForLogin === 1 || t.useSsoForLogin === "1" || t.useSsoForLogin === "true" || t.useSsoForLogin === !0
35939      })
35940    })
35941  })
35942}), {
35943  useGetPortalConfigurationQuery: Yj
35944} = ej, tj = window.React.useEffect, nj = window.React.useState, Zj = () => {
35945  const e = Xh.c(7), [t, r] = nj(rj);
35946  let i, l;
35947  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (i = () => {
35948    const p = () => r(new URLSearchParams(window.location.search));
35949    window.addEventListener("popstate", p);
35950    const b = history.pushState, S = history.replaceState;
35951    return history.pushState = (...w) => {
35952      const T = w;
35953      b.apply(history, T), p();
35954    }, history.replaceState = (...w) => {
35955      const T = w;
35956      S.apply(history, T), p();
35957    }, () => {
35958      window.removeEventListener("popstate", p), history.pushState = b, history.replaceState = S;
35959    };
35960  }, l = [], e[0] = i, e[1] = l) : (i = e[0], l = e[1]), tj(i, l);
35961  let s;
35962  e[2] !== t ? (s = new Proxy({}, {
35963    get: (p, b) => t.get(b)
35964  }), e[2] = t, e[3] = s) : s = e[3];
35965  const f = s;
35966  let h;
35967  e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = (p, b, S) => {
35968    const w = S === void 0 ? !1 : S, T = new URLSearchParams(window.location.search);
35969    b === null ? T.delete(p) : T.set(p, b);
35970    const N = `${window.location.pathname}?${T.toString()}`;
35971    w ? history.replaceState({}, "", N) : history.pushState({}, "", N), r(T);
35972  }, e[4] = h) : h = e[4];
35973  const m = h;
35974  let g;
35975  return e[5] !== f ? (g = [f, m], e[5] = f, e[6] = g) : g = e[6], g;
35976};
35977function rj() {
35978  return new URLSearchParams(window.location.search);
35979}
35980export {
35981  wz as $,
35982  $j as A,
35983  yj as B,
35984  kj as C,
35985  ye as D,
35986  wj as E,
35987  K9 as F,
35988  Ij as G,
35989  zj as H,
35990  Kh as I,
35991  _j as J,
35992  hj as K,
35993  Hj as L,
35994  qj as M,
35995  Dj as N,
35996  tE as O,
35997  Ly as P,
35998  $5 as Q,
35999  Cj as R,
36000  Qn as S,
36001  Ej as T,
36002  Fj as U,
36003  xj as V,
36004  cj as W,
36005  mj as X,
36006  fj as Y,
36007  C5 as Z,
36008  Uj as _,
36009  It as a,
36010  Mj as a0,
36011  fn as a1,
36012  Nj as a2,
36013  Sj as a3,
36014  bj as a4,
36015  O5 as a5,
36016  kR as a6,
36017  Oj as a7,
36018  w5 as a8,
36019  bi as a9,
36020  Rj as aa,
36021  vj as ab,
36022  IR as ac,
36023  zU as ad,
36024  Lj as ae,
36025  by as af,
36026  n_ as ag,
36027  c_ as ah,
36028  sj as ai,
36029  ba as aj,
36030  vU as ak,
36031  oj as al,
36032  lu as am,
36033  lj as an,
36034  pj as ao,
36035  py as ap,
36036  eU as aq,
36037  yU as ar,
36038  Jg as as,
36039  JA as at,
36040  t_ as au,
36041  ho as av,
36042  qA as aw,
36043  YA as ax,
36044  A6 as ay,
36045  aj as az,
36046  Xw as b,
36047  nE as c,
36048  jj as d,
36049  uj as e,
36050  dj as f,
36051  Mp as g,
36052  gj as h,
36053  Tj as i,
36054  Mt as j,
36055  Aj as k,
36056  ph as l,
36057  Bj as m,
36058  Xh as n,
36059  Oa as o,
36060  yD as p,
36061  Gj as q,
36062  ij as r,
36063  Dp as s,
36064  Pj as t,
36065  Yj as u,
36066  Zj as v,
36067  ae as w,
36068  bo as x,
36069  My as y,
36070  xl as z
36071};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.