@chatsystem/client 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +775 -766
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1,9 +1,9 @@
1
1
  (function(){"use strict";try{if(typeof document<"u"){var t=document.createElement("style");t.appendChild(document.createTextNode('._dot_spinner_qw18l_1{--uib-size: 2.8rem;--uib-speed: .9s;--uib-color: #183153;position:relative;display:flex;align-items:center;justify-content:flex-start;width:var(--uib-size);height:var(--uib-size)}._dot_spinner__dot_qw18l_13{position:absolute;top:0;left:0;display:flex;align-items:center;justify-content:flex-start;width:100%;height:100%}._dot_spinner__dot_qw18l_13:before{width:20%;height:20%;background-color:var(--uib-color);border-radius:50%;box-shadow:0 0 20px #121f354d;transform:scale(0);opacity:.5;animation:_pulse0112_qw18l_1 calc(var(--uib-speed) * 1.111) ease-in-out infinite;content:""}._dot_spinner__dot_qw18l_13:nth-child(2){transform:rotate(45deg)}._dot_spinner__dot_qw18l_13:nth-child(2):before{animation-delay:calc(var(--uib-speed) * -.875)}._dot_spinner__dot_qw18l_13:nth-child(3){transform:rotate(90deg)}._dot_spinner__dot_qw18l_13:nth-child(3):before{animation-delay:calc(var(--uib-speed) * -.75)}._dot_spinner__dot_qw18l_13:nth-child(4){transform:rotate(135deg)}._dot_spinner__dot_qw18l_13:nth-child(4):before{animation-delay:calc(var(--uib-speed) * -.625)}._dot_spinner__dot_qw18l_13:nth-child(5){transform:rotate(180deg)}._dot_spinner__dot_qw18l_13:nth-child(5):before{animation-delay:calc(var(--uib-speed) * -.5)}._dot_spinner__dot_qw18l_13:nth-child(6){transform:rotate(225deg)}._dot_spinner__dot_qw18l_13:nth-child(6):before{animation-delay:calc(var(--uib-speed) * -.375)}._dot_spinner__dot_qw18l_13:nth-child(7){transform:rotate(270deg)}._dot_spinner__dot_qw18l_13:nth-child(7):before{animation-delay:calc(var(--uib-speed) * -.25)}._dot_spinner__dot_qw18l_13:nth-child(8){transform:rotate(315deg)}._dot_spinner__dot_qw18l_13:nth-child(8):before{animation-delay:calc(var(--uib-speed) * -.125)}@keyframes _pulse0112_qw18l_1{0%,to{transform:scale(0);opacity:.5}50%{transform:scale(1);opacity:1}}*,:before,:after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}:before,:after{--tw-content: ""}html,:host{line-height:1.5;-webkit-text-size-adjust:100%;-moz-tab-size:4;-o-tab-size:4;tab-size:4;font-family:ui-sans-serif,system-ui,sans-serif,"Apple Color Emoji","Segoe UI Emoji",Segoe UI Symbol,"Noto Color Emoji";font-feature-settings:normal;font-variation-settings:normal;-webkit-tap-highlight-color:transparent}body{margin:0;line-height:inherit}hr{height:0;color:inherit;border-top-width:1px}abbr:where([title]){-webkit-text-decoration:underline dotted;text-decoration:underline dotted}h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}a{color:inherit;text-decoration:inherit}b,strong{font-weight:bolder}code,kbd,samp,pre{font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,Liberation Mono,Courier New,monospace;font-feature-settings:normal;font-variation-settings:normal;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}table{text-indent:0;border-color:inherit;border-collapse:collapse}button,input,optgroup,select,textarea{font-family:inherit;font-feature-settings:inherit;font-variation-settings:inherit;font-size:100%;font-weight:inherit;line-height:inherit;color:inherit;margin:0;padding:0}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{-webkit-appearance:button;background-color:transparent;background-image:none}:-moz-focusring{outline:auto}:-moz-ui-invalid{box-shadow:none}progress{vertical-align:baseline}::-webkit-inner-spin-button,::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}summary{display:list-item}blockquote,dl,dd,h1,h2,h3,h4,h5,h6,hr,figure,p,pre{margin:0}fieldset{margin:0;padding:0}legend{padding:0}ol,ul,menu{list-style:none;margin:0;padding:0}dialog{padding:0}textarea{resize:vertical}input::-moz-placeholder,textarea::-moz-placeholder{opacity:1;color:#9ca3af}input::placeholder,textarea::placeholder{opacity:1;color:#9ca3af}button,[role=button]{cursor:pointer}:disabled{cursor:default}img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}img,video{max-width:100%;height:auto}[hidden]{display:none}*,:before,:after{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }::backdrop{--tw-border-spacing-x: 0;--tw-border-spacing-y: 0;--tw-translate-x: 0;--tw-translate-y: 0;--tw-rotate: 0;--tw-skew-x: 0;--tw-skew-y: 0;--tw-scale-x: 1;--tw-scale-y: 1;--tw-pan-x: ;--tw-pan-y: ;--tw-pinch-zoom: ;--tw-scroll-snap-strictness: proximity;--tw-gradient-from-position: ;--tw-gradient-via-position: ;--tw-gradient-to-position: ;--tw-ordinal: ;--tw-slashed-zero: ;--tw-numeric-figure: ;--tw-numeric-spacing: ;--tw-numeric-fraction: ;--tw-ring-inset: ;--tw-ring-offset-width: 0px;--tw-ring-offset-color: #fff;--tw-ring-color: rgb(59 130 246 / .5);--tw-ring-offset-shadow: 0 0 #0000;--tw-ring-shadow: 0 0 #0000;--tw-shadow: 0 0 #0000;--tw-shadow-colored: 0 0 #0000;--tw-blur: ;--tw-brightness: ;--tw-contrast: ;--tw-grayscale: ;--tw-hue-rotate: ;--tw-invert: ;--tw-saturate: ;--tw-sepia: ;--tw-drop-shadow: ;--tw-backdrop-blur: ;--tw-backdrop-brightness: ;--tw-backdrop-contrast: ;--tw-backdrop-grayscale: ;--tw-backdrop-hue-rotate: ;--tw-backdrop-invert: ;--tw-backdrop-opacity: ;--tw-backdrop-saturate: ;--tw-backdrop-sepia: }.static{position:static}.fixed{position:fixed}.absolute{position:absolute}.relative{position:relative}.bottom-0{bottom:0}.bottom-1{bottom:.25rem}.bottom-1\\.5{bottom:.375rem}.bottom-10{bottom:2.5rem}.left-0{left:0}.right-0{right:0}.right-10{right:2.5rem}.right-2{right:.5rem}.top-0{top:0}.z-\\[220550990\\]{z-index:220550990}.z-\\[99999999\\]{z-index:99999999}.z-\\[9999999999999\\]{z-index:9999999999999}.z-\\[99999999999999\\]{z-index:99999999999999}.z-\\[999999999\\]{z-index:999999999}.mx-auto{margin-left:auto;margin-right:auto}.mb-3{margin-bottom:.75rem}.mb-6{margin-bottom:1.5rem}.ml-3{margin-left:.75rem}.ml-6{margin-left:1.5rem}.mr-3{margin-right:.75rem}.mt-3{margin-top:.75rem}.mt-5{margin-top:1.25rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.flex{display:flex}.hidden{display:none}.h-12{height:3rem}.h-6{height:1.5rem}.h-8{height:2rem}.max-h-12{max-height:3rem}.w-10{width:2.5rem}.w-12{width:3rem}.w-6{width:1.5rem}.w-8{width:2rem}.w-full{width:100%}.max-w-12{max-width:3rem}.max-w-\\[90\\%\\]{max-width:90%}.grow{flex-grow:1}.cursor-pointer{cursor:pointer}.flex-col{flex-direction:column}.items-center{align-items:center}.justify-center{justify-content:center}.justify-between{justify-content:space-between}.justify-around{justify-content:space-around}.overflow-scroll{overflow:scroll}.rounded-\\[50\\%\\]{border-radius:50%}.rounded-lg{border-radius:.5rem}.rounded-md{border-radius:.375rem}.border,.border-\\[1px\\]{border-width:1px}.border-black{--tw-border-opacity: 1;border-color:rgb(0 0 0 / var(--tw-border-opacity))}.border-slate-400{--tw-border-opacity: 1;border-color:rgb(148 163 184 / var(--tw-border-opacity))}.bg-black{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.bg-blue-400{--tw-bg-opacity: 1;background-color:rgb(96 165 250 / var(--tw-bg-opacity))}.bg-blue-500{--tw-bg-opacity: 1;background-color:rgb(59 130 246 / var(--tw-bg-opacity))}.bg-slate-300{--tw-bg-opacity: 1;background-color:rgb(203 213 225 / var(--tw-bg-opacity))}.bg-white{--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}.p-0{padding:0}.p-0\\.5{padding:.125rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}.pb-2{padding-bottom:.5rem}.text-center{text-align:center}.text-sm{font-size:.875rem;line-height:1.25rem}.text-xl{font-size:1.25rem;line-height:1.75rem}.font-bold{font-weight:700}.font-thin{font-weight:100}.capitalize{text-transform:capitalize}.text-white{--tw-text-opacity: 1;color:rgb(255 255 255 / var(--tw-text-opacity))}.shadow-\\[0_0px_4px_5px_rgba\\(0\\,0\\,0\\,0\\.2\\)\\]{--tw-shadow: 0 0px 4px 5px rgba(0,0,0,.2);--tw-shadow-colored: 0 0px 4px 5px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.shadow-lg{--tw-shadow: 0 10px 15px -3px rgb(0 0 0 / .1), 0 4px 6px -4px rgb(0 0 0 / .1);--tw-shadow-colored: 0 10px 15px -3px var(--tw-shadow-color), 0 4px 6px -4px var(--tw-shadow-color);box-shadow:var(--tw-ring-offset-shadow, 0 0 #0000),var(--tw-ring-shadow, 0 0 #0000),var(--tw-shadow)}.filter{filter:var(--tw-blur) var(--tw-brightness) var(--tw-contrast) var(--tw-grayscale) var(--tw-hue-rotate) var(--tw-invert) var(--tw-saturate) var(--tw-sepia) var(--tw-drop-shadow)}.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,-webkit-backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter;transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform,filter,backdrop-filter,-webkit-backdrop-filter;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.transition-colors{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}.ease-in-out{transition-timing-function:cubic-bezier(.4,0,.2,1)}.hover\\:scale-110:hover{--tw-scale-x: 1.1;--tw-scale-y: 1.1;transform:translate(var(--tw-translate-x),var(--tw-translate-y)) rotate(var(--tw-rotate)) skew(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y))}.hover\\:bg-slate-400:hover{--tw-bg-opacity: 1;background-color:rgb(148 163 184 / var(--tw-bg-opacity))}.enabled\\:bg-black:enabled{--tw-bg-opacity: 1;background-color:rgb(0 0 0 / var(--tw-bg-opacity))}.disabled\\:text-gray-400:disabled{--tw-text-opacity: 1;color:rgb(156 163 175 / var(--tw-text-opacity))}.disabled\\:opacity-10:disabled{opacity:.1}:is(.dark .dark\\:border-white){--tw-border-opacity: 1;border-color:rgb(255 255 255 / var(--tw-border-opacity))}:is(.dark .dark\\:bg-white){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}:is(.dark .dark\\:text-black){--tw-text-opacity: 1;color:rgb(0 0 0 / var(--tw-text-opacity))}:is(.dark .dark\\:hover\\:bg-white:hover){--tw-bg-opacity: 1;background-color:rgb(255 255 255 / var(--tw-bg-opacity))}@media (min-width: 768px){.md\\:bottom-2{bottom:.5rem}.md\\:bottom-2\\.5{bottom:.625rem}.md\\:bottom-\\[110px\\]{bottom:110px}.md\\:left-auto{left:auto}.md\\:right-3{right:.75rem}.md\\:right-\\[40px\\]{right:40px}.md\\:top-auto{top:auto}.md\\:h-\\[600px\\]{height:600px}.md\\:w-\\[400px\\]{width:400px}}.menuTransition-enter{opacity:0;transform:scale(.9) translate(200px)}.menuTransition-enter-active{opacity:1;transform:translate(0);transition:opacity .3s,transform .3s}.menuTransition-exit{opacity:1}.menuTransition-exit-active{opacity:0;transform:scale(.5) translate(400px);transition:opacity .3s,transform .3s}p,li,textarea{font-size:14px}textarea::placeholder{font-size:14px}.widget{overflow-x:hidden}.widget ol>li{margin-top:10px;background-color:#0000001a;padding:.5rem 1rem 1rem;border-radius:.5rem}.widget ol>li>p:first-child,.widget ol>li>li:first-child,.widget h3,.widget h2{font-size:1.5rem;margin:1rem 0}.widget a{display:block;cursor:pointer;color:#00f;font-size:1.1rem;margin:1rem 0}.widget a:hover{text-decoration:underline}.widget img{display:block;margin:2rem 0;max-width:200px}.widget hr{margin:1.5rem 0}')),document.head.appendChild(t)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
2
- var Os = Object.defineProperty;
3
- var Ps = (e, t, n) => t in e ? Os(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var ln = (e, t, n) => Ps(e, typeof t != "symbol" ? t + "" : t, n);
2
+ var Ps = Object.defineProperty;
3
+ var Is = (e, t, n) => t in e ? Ps(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
+ var ln = (e, t, n) => Is(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import * as Te from "react";
6
- import we, { useState as Le, useRef as Fe, useEffect as rt, useCallback as _t, useContext as Mt, createContext as Is, useMemo as Vn, forwardRef as Ls } from "react";
6
+ import we, { useState as Le, useRef as Fe, useEffect as rt, useCallback as _t, useContext as Mt, createContext as Ls, useMemo as Vn, forwardRef as Ns } from "react";
7
7
  import Yt from "react-dom";
8
8
  var vi = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
9
9
  function Va(e) {
@@ -20,7 +20,7 @@ var mr = { exports: {} }, Ut = {};
20
20
  * LICENSE file in the root directory of this source tree.
21
21
  */
22
22
  var xi;
23
- function Ns() {
23
+ function Ds() {
24
24
  if (xi) return Ut;
25
25
  xi = 1;
26
26
  var e = we, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, a = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, o = { key: !0, ref: !0, __self: !0, __source: !0 };
@@ -44,7 +44,7 @@ var Vt = {};
44
44
  * LICENSE file in the root directory of this source tree.
45
45
  */
46
46
  var _i;
47
- function Ds() {
47
+ function Ms() {
48
48
  return _i || (_i = 1, process.env.NODE_ENV !== "production" && function() {
49
49
  var e = we, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), o = Symbol.for("react.profiler"), l = Symbol.for("react.provider"), i = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), g = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), s = Symbol.for("react.memo"), c = Symbol.for("react.lazy"), u = Symbol.for("react.offscreen"), h = Symbol.iterator, f = "@@iterator";
50
50
  function b($) {
@@ -454,7 +454,7 @@ function Ds() {
454
454
  value: de
455
455
  }), Object.freeze && (Object.freeze(se.props), Object.freeze(se)), se;
456
456
  };
457
- function ws($, M, H, ee, de) {
457
+ function Es($, M, H, ee, de) {
458
458
  {
459
459
  var ye, ue = {}, se = null, Ae = null;
460
460
  H !== void 0 && (F(H), se = "" + H), dt(M) && (F(M.key), se = "" + M.key), We(M) && (Ae = M.ref, mt(M, de));
@@ -497,11 +497,11 @@ Check the render method of \`` + $ + "`.";
497
497
  return "";
498
498
  }
499
499
  }
500
- function Es($) {
500
+ function Ss($) {
501
501
  return "";
502
502
  }
503
503
  var di = {};
504
- function Ss($) {
504
+ function ks($) {
505
505
  {
506
506
  var M = pi();
507
507
  if (!M) {
@@ -518,7 +518,7 @@ Check the top-level render call using <` + H + ">.");
518
518
  if (!$._store || $._store.validated || $.key != null)
519
519
  return;
520
520
  $._store.validated = !0;
521
- var H = Ss(M);
521
+ var H = ks(M);
522
522
  if (di[H])
523
523
  return;
524
524
  di[H] = !0;
@@ -545,7 +545,7 @@ Check the top-level render call using <` + H + ">.");
545
545
  }
546
546
  }
547
547
  }
548
- function ks($) {
548
+ function Ts($) {
549
549
  {
550
550
  var M = $.type;
551
551
  if (M == null || typeof M == "string")
@@ -570,7 +570,7 @@ Check the top-level render call using <` + H + ">.");
570
570
  typeof M.getDefaultProps == "function" && !M.getDefaultProps.isReactClassApproved && y("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
571
571
  }
572
572
  }
573
- function Ts($) {
573
+ function Cs($) {
574
574
  {
575
575
  for (var M = Object.keys($.props), H = 0; H < M.length; H++) {
576
576
  var ee = M[H];
@@ -588,12 +588,12 @@ Check the top-level render call using <` + H + ">.");
588
588
  if (!ue) {
589
589
  var se = "";
590
590
  ($ === void 0 || typeof $ == "object" && $ !== null && Object.keys($).length === 0) && (se += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
591
- var Ae = Es();
591
+ var Ae = Ss();
592
592
  Ae ? se += Ae : se += pi();
593
593
  var _e;
594
594
  $ === null ? _e = "null" : zt($) ? _e = "array" : $ !== void 0 && $.$$typeof === t ? (_e = "<" + (P($.type) || "Unknown") + " />", se = " Did you accidentally export a JSX literal instead of a component?") : _e = typeof $, y("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", _e, se);
595
595
  }
596
- var Se = ws($, M, H, de, ye);
596
+ var Se = Es($, M, H, de, ye);
597
597
  if (Se == null)
598
598
  return Se;
599
599
  if (ue) {
@@ -609,20 +609,20 @@ Check the top-level render call using <` + H + ">.");
609
609
  else
610
610
  gi(Be, $);
611
611
  }
612
- return $ === r ? Ts(Se) : ks(Se), Se;
612
+ return $ === r ? Cs(Se) : Ts(Se), Se;
613
613
  }
614
614
  }
615
- function Cs($, M, H) {
615
+ function Rs($, M, H) {
616
616
  return yi($, M, H, !0);
617
617
  }
618
- function Rs($, M, H) {
618
+ function As($, M, H) {
619
619
  return yi($, M, H, !1);
620
620
  }
621
- var As = Rs, $s = Cs;
622
- Vt.Fragment = r, Vt.jsx = As, Vt.jsxs = $s;
621
+ var $s = As, Os = Rs;
622
+ Vt.Fragment = r, Vt.jsx = $s, Vt.jsxs = Os;
623
623
  }()), Vt;
624
624
  }
625
- process.env.NODE_ENV === "production" ? mr.exports = Ns() : mr.exports = Ds();
625
+ process.env.NODE_ENV === "production" ? mr.exports = Ds() : mr.exports = Ms();
626
626
  var Y = mr.exports, Xt = {}, qt = Yt;
627
627
  if (process.env.NODE_ENV === "production")
628
628
  Xt.createRoot = qt.createRoot, Xt.hydrateRoot = qt.hydrateRoot;
@@ -679,7 +679,7 @@ var yr = { exports: {} }, br = { exports: {} }, me = {};
679
679
  * LICENSE file in the root directory of this source tree.
680
680
  */
681
681
  var wi;
682
- function Ms() {
682
+ function js() {
683
683
  if (wi) return me;
684
684
  wi = 1;
685
685
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
@@ -754,7 +754,7 @@ var ge = {};
754
754
  * LICENSE file in the root directory of this source tree.
755
755
  */
756
756
  var Ei;
757
- function js() {
757
+ function Fs() {
758
758
  return Ei || (Ei = 1, process.env.NODE_ENV !== "production" && function() {
759
759
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, a = e ? Symbol.for("react.strict_mode") : 60108, o = e ? Symbol.for("react.profiler") : 60114, l = e ? Symbol.for("react.provider") : 60109, i = e ? Symbol.for("react.context") : 60110, m = e ? Symbol.for("react.async_mode") : 60111, g = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, s = e ? Symbol.for("react.suspense") : 60113, c = e ? Symbol.for("react.suspense_list") : 60120, u = e ? Symbol.for("react.memo") : 60115, h = e ? Symbol.for("react.lazy") : 60116, f = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, p = e ? Symbol.for("react.responder") : 60118, y = e ? Symbol.for("react.scope") : 60119;
760
760
  function v(B) {
@@ -836,7 +836,7 @@ function js() {
836
836
  ge.AsyncMode = _, ge.ConcurrentMode = S, ge.ContextConsumer = C, ge.ContextProvider = x, ge.Element = E, ge.ForwardRef = k, ge.Fragment = A, ge.Lazy = O, ge.Memo = P, ge.Portal = L, ge.Profiler = D, ge.StrictMode = z, ge.Suspense = G, ge.isAsyncMode = pe, ge.isConcurrentMode = T, ge.isContextConsumer = N, ge.isContextProvider = U, ge.isElement = R, ge.isForwardRef = V, ge.isFragment = K, ge.isLazy = q, ge.isMemo = X, ge.isPortal = Q, ge.isProfiler = ae, ge.isStrictMode = te, ge.isSuspense = Ee, ge.isValidElementType = v, ge.typeOf = w;
837
837
  }()), ge;
838
838
  }
839
- process.env.NODE_ENV === "production" ? br.exports = Ms() : br.exports = js();
839
+ process.env.NODE_ENV === "production" ? br.exports = js() : br.exports = Fs();
840
840
  var Ur = br.exports;
841
841
  /*
842
842
  object-assign
@@ -844,7 +844,7 @@ object-assign
844
844
  @license MIT
845
845
  */
846
846
  var qn, Si;
847
- function Fs() {
847
+ function Bs() {
848
848
  if (Si) return qn;
849
849
  Si = 1;
850
850
  var e = Object.getOwnPropertySymbols, t = Object.prototype.hasOwnProperty, n = Object.prototype.propertyIsEnumerable;
@@ -901,7 +901,7 @@ function Wa() {
901
901
  return Ti || (Ti = 1, Wn = Function.call.bind(Object.prototype.hasOwnProperty)), Wn;
902
902
  }
903
903
  var Yn, Ci;
904
- function Bs() {
904
+ function Hs() {
905
905
  if (Ci) return Yn;
906
906
  Ci = 1;
907
907
  var e = function() {
@@ -950,10 +950,10 @@ function Bs() {
950
950
  }, Yn = a, Yn;
951
951
  }
952
952
  var Xn, Ri;
953
- function Hs() {
953
+ function zs() {
954
954
  if (Ri) return Xn;
955
955
  Ri = 1;
956
- var e = Ur, t = Fs(), n = Vr(), r = Wa(), a = Bs(), o = function() {
956
+ var e = Ur, t = Bs(), n = Vr(), r = Wa(), a = Hs(), o = function() {
957
957
  };
958
958
  process.env.NODE_ENV !== "production" && (o = function(i) {
959
959
  var m = "Warning: " + i;
@@ -1271,7 +1271,7 @@ Valid keys: ` + JSON.stringify(Object.keys(T), null, " ")
1271
1271
  }, Xn;
1272
1272
  }
1273
1273
  var Zn, Ai;
1274
- function zs() {
1274
+ function Us() {
1275
1275
  if (Ai) return Zn;
1276
1276
  Ai = 1;
1277
1277
  var e = Vr();
@@ -1319,32 +1319,32 @@ function zs() {
1319
1319
  }, Zn;
1320
1320
  }
1321
1321
  if (process.env.NODE_ENV !== "production") {
1322
- var Us = Ur, Vs = !0;
1323
- yr.exports = Hs()(Us.isElement, Vs);
1322
+ var Vs = Ur, qs = !0;
1323
+ yr.exports = zs()(Vs.isElement, qs);
1324
1324
  } else
1325
- yr.exports = zs()();
1326
- var qs = yr.exports;
1327
- const ne = /* @__PURE__ */ Va(qs);
1328
- function Gs(e, t) {
1325
+ yr.exports = Us()();
1326
+ var Gs = yr.exports;
1327
+ const ne = /* @__PURE__ */ Va(Gs);
1328
+ function Ws(e, t) {
1329
1329
  return e.classList ? !!t && e.classList.contains(t) : (" " + (e.className.baseVal || e.className) + " ").indexOf(" " + t + " ") !== -1;
1330
1330
  }
1331
- function Ws(e, t) {
1332
- e.classList ? e.classList.add(t) : Gs(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
1331
+ function Ys(e, t) {
1332
+ e.classList ? e.classList.add(t) : Ws(e, t) || (typeof e.className == "string" ? e.className = e.className + " " + t : e.setAttribute("class", (e.className && e.className.baseVal || "") + " " + t));
1333
1333
  }
1334
1334
  function $i(e, t) {
1335
1335
  return e.replace(new RegExp("(^|\\s)" + t + "(?:\\s|$)", "g"), "$1").replace(/\s+/g, " ").replace(/^\s*|\s*$/g, "");
1336
1336
  }
1337
- function Ys(e, t) {
1337
+ function Xs(e, t) {
1338
1338
  e.classList ? e.classList.remove(t) : typeof e.className == "string" ? e.className = $i(e.className, t) : e.setAttribute("class", $i(e.className && e.className.baseVal || "", t));
1339
1339
  }
1340
1340
  const Oi = {
1341
1341
  disabled: !1
1342
1342
  };
1343
- var Xs = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.number, ne.shape({
1343
+ var Zs = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.number, ne.shape({
1344
1344
  enter: ne.number,
1345
1345
  exit: ne.number,
1346
1346
  appear: ne.number
1347
- }).isRequired]) : null, Zs = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.string, ne.shape({
1347
+ }).isRequired]) : null, Ks = process.env.NODE_ENV !== "production" ? ne.oneOfType([ne.string, ne.shape({
1348
1348
  enter: ne.string,
1349
1349
  exit: ne.string,
1350
1350
  active: ne.string
@@ -1584,7 +1584,7 @@ it.propTypes = process.env.NODE_ENV !== "production" ? {
1584
1584
  * @type {number | { enter?: number, exit?: number, appear?: number }}
1585
1585
  */
1586
1586
  timeout: function(t) {
1587
- var n = Xs;
1587
+ var n = Zs;
1588
1588
  t.addEndListener || (n = n.isRequired);
1589
1589
  for (var r = arguments.length, a = new Array(r > 1 ? r - 1 : 0), o = 1; o < r; o++)
1590
1590
  a[o - 1] = arguments[o];
@@ -1678,13 +1678,13 @@ it.EXITED = yt;
1678
1678
  it.ENTERING = bt;
1679
1679
  it.ENTERED = Ot;
1680
1680
  it.EXITING = vr;
1681
- var Ks = function(t, n) {
1681
+ var Js = function(t, n) {
1682
1682
  return t && n && n.split(" ").forEach(function(r) {
1683
- return Ws(t, r);
1683
+ return Ys(t, r);
1684
1684
  });
1685
1685
  }, Kn = function(t, n) {
1686
1686
  return t && n && n.split(" ").forEach(function(r) {
1687
- return Ys(t, r);
1687
+ return Xs(t, r);
1688
1688
  });
1689
1689
  }, qr = /* @__PURE__ */ function(e) {
1690
1690
  Ga(t, e);
@@ -1727,7 +1727,7 @@ var Ks = function(t, n) {
1727
1727
  var n = t.prototype;
1728
1728
  return n.addClass = function(a, o, l) {
1729
1729
  var i = this.getClassNames(o)[l + "ClassName"], m = this.getClassNames("enter"), g = m.doneClassName;
1730
- o === "appear" && l === "done" && g && (i += " " + g), l === "active" && a && Xa(a), i && (this.appliedClasses[o][l] = i, Ks(a, i));
1730
+ o === "appear" && l === "done" && g && (i += " " + g), l === "active" && a && Xa(a), i && (this.appliedClasses[o][l] = i, Js(a, i));
1731
1731
  }, n.removeClasses = function(a, o) {
1732
1732
  var l = this.appliedClasses[o], i = l.base, m = l.active, g = l.done;
1733
1733
  this.appliedClasses[o] = {}, i && Kn(a, i), m && Kn(a, m), g && Kn(a, g);
@@ -1817,7 +1817,7 @@ qr.propTypes = process.env.NODE_ENV !== "production" ? vn({}, it.propTypes, {
1817
1817
  * exitDone?: string,
1818
1818
  * }}
1819
1819
  */
1820
- classNames: Zs,
1820
+ classNames: Ks,
1821
1821
  /**
1822
1822
  * A `<Transition>` callback fired immediately after the 'enter' or 'appear' class is
1823
1823
  * applied.
@@ -1910,13 +1910,13 @@ function Qe(e, t, n) {
1910
1910
  (o || !(r in t)) && (o || (o = Array.prototype.slice.call(t, 0, r)), o[r] = t[r]);
1911
1911
  return e.concat(o || Array.prototype.slice.call(t));
1912
1912
  }
1913
- var Za = Ur, Js = {
1913
+ var Za = Ur, Qs = {
1914
1914
  $$typeof: !0,
1915
1915
  render: !0,
1916
1916
  defaultProps: !0,
1917
1917
  displayName: !0,
1918
1918
  propTypes: !0
1919
- }, Qs = {
1919
+ }, el = {
1920
1920
  $$typeof: !0,
1921
1921
  compare: !0,
1922
1922
  defaultProps: !0,
@@ -1924,8 +1924,8 @@ var Za = Ur, Js = {
1924
1924
  propTypes: !0,
1925
1925
  type: !0
1926
1926
  }, Ka = {};
1927
- Ka[Za.ForwardRef] = Js;
1928
- Ka[Za.Memo] = Qs;
1927
+ Ka[Za.ForwardRef] = Qs;
1928
+ Ka[Za.Memo] = el;
1929
1929
  function Ja(e, t, n) {
1930
1930
  if (n === void 0 && (n = Error), !e)
1931
1931
  throw new n(t);
@@ -1945,7 +1945,7 @@ var Dt;
1945
1945
  function Pi(e) {
1946
1946
  return e.type === xe.literal;
1947
1947
  }
1948
- function el(e) {
1948
+ function tl(e) {
1949
1949
  return e.type === xe.argument;
1950
1950
  }
1951
1951
  function Qa(e) {
@@ -1963,7 +1963,7 @@ function no(e) {
1963
1963
  function ro(e) {
1964
1964
  return e.type === xe.plural;
1965
1965
  }
1966
- function tl(e) {
1966
+ function nl(e) {
1967
1967
  return e.type === xe.pound;
1968
1968
  }
1969
1969
  function io(e) {
@@ -1975,10 +1975,10 @@ function ao(e) {
1975
1975
  function _r(e) {
1976
1976
  return !!(e && typeof e == "object" && e.type === Dt.dateTime);
1977
1977
  }
1978
- var oo = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, nl = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1979
- function rl(e) {
1978
+ var oo = /[ \xA0\u1680\u2000-\u200A\u202F\u205F\u3000]/, rl = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
1979
+ function il(e) {
1980
1980
  var t = {};
1981
- return e.replace(nl, function(n) {
1981
+ return e.replace(rl, function(n) {
1982
1982
  var r = n.length;
1983
1983
  switch (n[0]) {
1984
1984
  case "G":
@@ -2067,11 +2067,11 @@ function rl(e) {
2067
2067
  return "";
2068
2068
  }), t;
2069
2069
  }
2070
- var il = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2071
- function al(e) {
2070
+ var al = /[\t-\r \x85\u200E\u200F\u2028\u2029]/i;
2071
+ function ol(e) {
2072
2072
  if (e.length === 0)
2073
2073
  throw new Error("Number skeleton cannot be empty");
2074
- for (var t = e.split(il).filter(function(c) {
2074
+ for (var t = e.split(al).filter(function(c) {
2075
2075
  return c.length > 0;
2076
2076
  }), n = [], r = 0, a = t; r < a.length; r++) {
2077
2077
  var o = a[r], l = o.split("/");
@@ -2086,10 +2086,10 @@ function al(e) {
2086
2086
  }
2087
2087
  return n;
2088
2088
  }
2089
- function ol(e) {
2089
+ function sl(e) {
2090
2090
  return e.replace(/^(.*?)-/, "");
2091
2091
  }
2092
- var Ii = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, so = /^(@+)?(\+|#+)?[rs]?$/g, sl = /(\*)(0+)|(#+)(0+)|(0+)/g, lo = /^(0+)$/;
2092
+ var Ii = /^\.(?:(0+)(\*)?|(#+)|(0+)(#+))$/g, so = /^(@+)?(\+|#+)?[rs]?$/g, ll = /(\*)(0+)|(#+)(0+)|(0+)/g, lo = /^(0+)$/;
2093
2093
  function Li(e) {
2094
2094
  var t = {};
2095
2095
  return e[e.length - 1] === "r" ? t.roundingPriority = "morePrecision" : e[e.length - 1] === "s" && (t.roundingPriority = "lessPrecision"), e.replace(so, function(n, r, a) {
@@ -2136,7 +2136,7 @@ function uo(e) {
2136
2136
  };
2137
2137
  }
2138
2138
  }
2139
- function ll(e) {
2139
+ function ul(e) {
2140
2140
  var t;
2141
2141
  if (e[0] === "E" && e[1] === "E" ? (t = {
2142
2142
  notation: "engineering"
@@ -2154,7 +2154,7 @@ function Ni(e) {
2154
2154
  var t = {}, n = uo(e);
2155
2155
  return n || t;
2156
2156
  }
2157
- function ul(e) {
2157
+ function cl(e) {
2158
2158
  for (var t = {}, n = 0, r = e; n < r.length; n++) {
2159
2159
  var a = r[n];
2160
2160
  switch (a.stem) {
@@ -2178,7 +2178,7 @@ function ul(e) {
2178
2178
  continue;
2179
2179
  case "measure-unit":
2180
2180
  case "unit":
2181
- t.style = "unit", t.unit = ol(a.options[0]);
2181
+ t.style = "unit", t.unit = sl(a.options[0]);
2182
2182
  continue;
2183
2183
  case "compact-short":
2184
2184
  case "K":
@@ -2240,7 +2240,7 @@ function ul(e) {
2240
2240
  case "integer-width":
2241
2241
  if (a.options.length > 1)
2242
2242
  throw new RangeError("integer-width stems only accept a single optional option");
2243
- a.options[0].replace(sl, function(m, g, d, s, c, u) {
2243
+ a.options[0].replace(ll, function(m, g, d, s, c, u) {
2244
2244
  if (g)
2245
2245
  t.minimumIntegerDigits = d.length;
2246
2246
  else {
@@ -2273,7 +2273,7 @@ function ul(e) {
2273
2273
  }
2274
2274
  var l = uo(a.stem);
2275
2275
  l && (t = W(W({}, t), l));
2276
- var i = ll(a.stem);
2276
+ var i = ul(a.stem);
2277
2277
  i && (t = W(W({}, t), i));
2278
2278
  }
2279
2279
  return t;
@@ -3687,13 +3687,13 @@ var cn = {
3687
3687
  "h"
3688
3688
  ]
3689
3689
  };
3690
- function cl(e, t) {
3690
+ function fl(e, t) {
3691
3691
  for (var n = "", r = 0; r < e.length; r++) {
3692
3692
  var a = e.charAt(r);
3693
3693
  if (a === "j") {
3694
3694
  for (var o = 0; r + 1 < e.length && e.charAt(r + 1) === a; )
3695
3695
  o++, r++;
3696
- var l = 1 + (o & 1), i = o < 2 ? 1 : 3 + (o >> 1), m = "a", g = fl(t);
3696
+ var l = 1 + (o & 1), i = o < 2 ? 1 : 3 + (o >> 1), m = "a", g = hl(t);
3697
3697
  for ((g == "H" || g == "k") && (i = 0); i-- > 0; )
3698
3698
  n += m;
3699
3699
  for (; l-- > 0; )
@@ -3702,7 +3702,7 @@ function cl(e, t) {
3702
3702
  }
3703
3703
  return n;
3704
3704
  }
3705
- function fl(e) {
3705
+ function hl(e) {
3706
3706
  var t = e.hourCycle;
3707
3707
  if (t === void 0 && // @ts-ignore hourCycle(s) is not identified yet
3708
3708
  e.hourCycles && // @ts-ignore
@@ -3724,20 +3724,20 @@ function fl(e) {
3724
3724
  var a = cn[r || ""] || cn[n || ""] || cn["".concat(n, "-001")] || cn["001"];
3725
3725
  return a[0];
3726
3726
  }
3727
- var Jn, hl = new RegExp("^".concat(oo.source, "*")), pl = new RegExp("".concat(oo.source, "*$"));
3727
+ var Jn, pl = new RegExp("^".concat(oo.source, "*")), dl = new RegExp("".concat(oo.source, "*$"));
3728
3728
  function ce(e, t) {
3729
3729
  return { start: e, end: t };
3730
3730
  }
3731
- var dl = !!String.prototype.startsWith && "_a".startsWith("a", 1), ml = !!String.fromCodePoint, gl = !!Object.fromEntries, yl = !!String.prototype.codePointAt, bl = !!String.prototype.trimStart, vl = !!String.prototype.trimEnd, xl = !!Number.isSafeInteger, _l = xl ? Number.isSafeInteger : function(e) {
3731
+ var ml = !!String.prototype.startsWith && "_a".startsWith("a", 1), gl = !!String.fromCodePoint, yl = !!Object.fromEntries, bl = !!String.prototype.codePointAt, vl = !!String.prototype.trimStart, xl = !!String.prototype.trimEnd, _l = !!Number.isSafeInteger, wl = _l ? Number.isSafeInteger : function(e) {
3732
3732
  return typeof e == "number" && isFinite(e) && Math.floor(e) === e && Math.abs(e) <= 9007199254740991;
3733
3733
  }, wr = !0;
3734
3734
  try {
3735
- var wl = fo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3736
- wr = ((Jn = wl.exec("a")) === null || Jn === void 0 ? void 0 : Jn[0]) === "a";
3735
+ var El = fo("([^\\p{White_Space}\\p{Pattern_Syntax}]*)", "yu");
3736
+ wr = ((Jn = El.exec("a")) === null || Jn === void 0 ? void 0 : Jn[0]) === "a";
3737
3737
  } catch {
3738
3738
  wr = !1;
3739
3739
  }
3740
- var Di = dl ? (
3740
+ var Di = ml ? (
3741
3741
  // Native
3742
3742
  function(t, n, r) {
3743
3743
  return t.startsWith(n, r);
@@ -3747,7 +3747,7 @@ var Di = dl ? (
3747
3747
  function(t, n, r) {
3748
3748
  return t.slice(r, r + n.length) === n;
3749
3749
  }
3750
- ), Er = ml ? String.fromCodePoint : (
3750
+ ), Er = gl ? String.fromCodePoint : (
3751
3751
  // IE11
3752
3752
  function() {
3753
3753
  for (var t = [], n = 0; n < arguments.length; n++)
@@ -3761,7 +3761,7 @@ var Di = dl ? (
3761
3761
  }
3762
3762
  ), Mi = (
3763
3763
  // native
3764
- gl ? Object.fromEntries : (
3764
+ yl ? Object.fromEntries : (
3765
3765
  // Ponyfill
3766
3766
  function(t) {
3767
3767
  for (var n = {}, r = 0, a = t; r < a.length; r++) {
@@ -3771,7 +3771,7 @@ var Di = dl ? (
3771
3771
  return n;
3772
3772
  }
3773
3773
  )
3774
- ), co = yl ? (
3774
+ ), co = bl ? (
3775
3775
  // Native
3776
3776
  function(t, n) {
3777
3777
  return t.codePointAt(n);
@@ -3785,7 +3785,7 @@ var Di = dl ? (
3785
3785
  return a < 55296 || a > 56319 || n + 1 === r || (o = t.charCodeAt(n + 1)) < 56320 || o > 57343 ? a : (a - 55296 << 10) + (o - 56320) + 65536;
3786
3786
  }
3787
3787
  }
3788
- ), El = bl ? (
3788
+ ), Sl = vl ? (
3789
3789
  // Native
3790
3790
  function(t) {
3791
3791
  return t.trimStart();
@@ -3793,9 +3793,9 @@ var Di = dl ? (
3793
3793
  ) : (
3794
3794
  // Ponyfill
3795
3795
  function(t) {
3796
- return t.replace(hl, "");
3796
+ return t.replace(pl, "");
3797
3797
  }
3798
- ), Sl = vl ? (
3798
+ ), kl = xl ? (
3799
3799
  // Native
3800
3800
  function(t) {
3801
3801
  return t.trimEnd();
@@ -3803,7 +3803,7 @@ var Di = dl ? (
3803
3803
  ) : (
3804
3804
  // Ponyfill
3805
3805
  function(t) {
3806
- return t.replace(pl, "");
3806
+ return t.replace(dl, "");
3807
3807
  }
3808
3808
  );
3809
3809
  function fo(e, t) {
@@ -3822,13 +3822,13 @@ if (wr) {
3822
3822
  Sr = function(t, n) {
3823
3823
  for (var r = []; ; ) {
3824
3824
  var a = co(t, n);
3825
- if (a === void 0 || ho(a) || Rl(a))
3825
+ if (a === void 0 || ho(a) || Al(a))
3826
3826
  break;
3827
3827
  r.push(a), n += a >= 65536 ? 2 : 1;
3828
3828
  }
3829
3829
  return Er.apply(void 0, r);
3830
3830
  };
3831
- var kl = (
3831
+ var Tl = (
3832
3832
  /** @class */
3833
3833
  function() {
3834
3834
  function e(t, n) {
@@ -3910,7 +3910,7 @@ var kl = (
3910
3910
  return this.error(le.INVALID_TAG, ce(r, this.clonePosition()));
3911
3911
  }, e.prototype.parseTagName = function() {
3912
3912
  var t = this.offset();
3913
- for (this.bump(); !this.isEOF() && Cl(this.char()); )
3913
+ for (this.bump(); !this.isEOF() && Rl(this.char()); )
3914
3914
  this.bump();
3915
3915
  return this.message.slice(t, this.offset());
3916
3916
  }, e.prototype.parseLiteral = function(t, n) {
@@ -3939,7 +3939,7 @@ var kl = (
3939
3939
  };
3940
3940
  }, e.prototype.tryParseLeftAngleBracket = function() {
3941
3941
  return !this.isEOF() && this.char() === 60 && (this.ignoreTag || // If at the opening tag or closing tag position, bail.
3942
- !Tl(this.peek() || 0)) ? (this.bump(), "<") : null;
3942
+ !Cl(this.peek() || 0)) ? (this.bump(), "<") : null;
3943
3943
  }, e.prototype.tryParseQuote = function(t) {
3944
3944
  if (this.isEOF() || this.char() !== 39)
3945
3945
  return null;
@@ -4026,7 +4026,7 @@ var kl = (
4026
4026
  var d = this.clonePosition(), s = this.parseSimpleArgStyleIfPossible();
4027
4027
  if (s.err)
4028
4028
  return s;
4029
- var c = Sl(s.val);
4029
+ var c = kl(s.val);
4030
4030
  if (c.length === 0)
4031
4031
  return this.error(le.EXPECT_ARGUMENT_STYLE, ce(this.clonePosition(), this.clonePosition()));
4032
4032
  var u = ce(d, this.clonePosition());
@@ -4037,7 +4037,7 @@ var kl = (
4037
4037
  return h;
4038
4038
  var f = ce(a, this.clonePosition());
4039
4039
  if (g && Di(g == null ? void 0 : g.style, "::", 0)) {
4040
- var b = El(g.style.slice(2));
4040
+ var b = Sl(g.style.slice(2));
4041
4041
  if (i === "number") {
4042
4042
  var s = this.parseNumberSkeletonFromString(b, g.styleLocation);
4043
4043
  return s.err ? s : {
@@ -4048,12 +4048,12 @@ var kl = (
4048
4048
  if (b.length === 0)
4049
4049
  return this.error(le.EXPECT_DATE_TIME_SKELETON, f);
4050
4050
  var p = b;
4051
- this.locale && (p = cl(b, this.locale));
4051
+ this.locale && (p = fl(b, this.locale));
4052
4052
  var c = {
4053
4053
  type: Dt.dateTime,
4054
4054
  pattern: p,
4055
4055
  location: g.styleLocation,
4056
- parsedOptions: this.shouldParseSkeletons ? rl(p) : {}
4056
+ parsedOptions: this.shouldParseSkeletons ? il(p) : {}
4057
4057
  }, y = i === "date" ? xe.date : xe.time;
4058
4058
  return {
4059
4059
  val: { type: y, value: r, location: f, style: c },
@@ -4158,7 +4158,7 @@ var kl = (
4158
4158
  }, e.prototype.parseNumberSkeletonFromString = function(t, n) {
4159
4159
  var r = [];
4160
4160
  try {
4161
- r = al(t);
4161
+ r = ol(t);
4162
4162
  } catch {
4163
4163
  return this.error(le.INVALID_NUMBER_SKELETON, n);
4164
4164
  }
@@ -4167,7 +4167,7 @@ var kl = (
4167
4167
  type: Dt.number,
4168
4168
  tokens: r,
4169
4169
  location: n,
4170
- parsedOptions: this.shouldParseSkeletons ? ul(r) : {}
4170
+ parsedOptions: this.shouldParseSkeletons ? cl(r) : {}
4171
4171
  },
4172
4172
  err: null
4173
4173
  };
@@ -4215,7 +4215,7 @@ var kl = (
4215
4215
  break;
4216
4216
  }
4217
4217
  var m = ce(a, this.clonePosition());
4218
- return o ? (l *= r, _l(l) ? { val: l, err: null } : this.error(n, m)) : this.error(t, m);
4218
+ return o ? (l *= r, wl(l) ? { val: l, err: null } : this.error(n, m)) : this.error(t, m);
4219
4219
  }, e.prototype.offset = function() {
4220
4220
  return this.position.offset;
4221
4221
  }, e.prototype.isEOF = function() {
@@ -4284,16 +4284,16 @@ var kl = (
4284
4284
  function kr(e) {
4285
4285
  return e >= 97 && e <= 122 || e >= 65 && e <= 90;
4286
4286
  }
4287
- function Tl(e) {
4287
+ function Cl(e) {
4288
4288
  return kr(e) || e === 47;
4289
4289
  }
4290
- function Cl(e) {
4290
+ function Rl(e) {
4291
4291
  return e === 45 || e === 46 || e >= 48 && e <= 57 || e === 95 || e >= 97 && e <= 122 || e >= 65 && e <= 90 || e == 183 || e >= 192 && e <= 214 || e >= 216 && e <= 246 || e >= 248 && e <= 893 || e >= 895 && e <= 8191 || e >= 8204 && e <= 8205 || e >= 8255 && e <= 8256 || e >= 8304 && e <= 8591 || e >= 11264 && e <= 12271 || e >= 12289 && e <= 55295 || e >= 63744 && e <= 64975 || e >= 65008 && e <= 65533 || e >= 65536 && e <= 983039;
4292
4292
  }
4293
4293
  function ho(e) {
4294
4294
  return e >= 9 && e <= 13 || e === 32 || e === 133 || e >= 8206 && e <= 8207 || e === 8232 || e === 8233;
4295
4295
  }
4296
- function Rl(e) {
4296
+ function Al(e) {
4297
4297
  return e >= 33 && e <= 35 || e === 36 || e >= 37 && e <= 39 || e === 40 || e === 41 || e === 42 || e === 43 || e === 44 || e === 45 || e >= 46 && e <= 47 || e >= 58 && e <= 59 || e >= 60 && e <= 62 || e >= 63 && e <= 64 || e === 91 || e === 92 || e === 93 || e === 94 || e === 96 || e === 123 || e === 124 || e === 125 || e === 126 || e === 161 || e >= 162 && e <= 165 || e === 166 || e === 167 || e === 169 || e === 171 || e === 172 || e === 174 || e === 176 || e === 177 || e === 182 || e === 187 || e === 191 || e === 215 || e === 247 || e >= 8208 && e <= 8213 || e >= 8214 && e <= 8215 || e === 8216 || e === 8217 || e === 8218 || e >= 8219 && e <= 8220 || e === 8221 || e === 8222 || e === 8223 || e >= 8224 && e <= 8231 || e >= 8240 && e <= 8248 || e === 8249 || e === 8250 || e >= 8251 && e <= 8254 || e >= 8257 && e <= 8259 || e === 8260 || e === 8261 || e === 8262 || e >= 8263 && e <= 8273 || e === 8274 || e === 8275 || e >= 8277 && e <= 8286 || e >= 8592 && e <= 8596 || e >= 8597 && e <= 8601 || e >= 8602 && e <= 8603 || e >= 8604 && e <= 8607 || e === 8608 || e >= 8609 && e <= 8610 || e === 8611 || e >= 8612 && e <= 8613 || e === 8614 || e >= 8615 && e <= 8621 || e === 8622 || e >= 8623 && e <= 8653 || e >= 8654 && e <= 8655 || e >= 8656 && e <= 8657 || e === 8658 || e === 8659 || e === 8660 || e >= 8661 && e <= 8691 || e >= 8692 && e <= 8959 || e >= 8960 && e <= 8967 || e === 8968 || e === 8969 || e === 8970 || e === 8971 || e >= 8972 && e <= 8991 || e >= 8992 && e <= 8993 || e >= 8994 && e <= 9e3 || e === 9001 || e === 9002 || e >= 9003 && e <= 9083 || e === 9084 || e >= 9085 && e <= 9114 || e >= 9115 && e <= 9139 || e >= 9140 && e <= 9179 || e >= 9180 && e <= 9185 || e >= 9186 && e <= 9254 || e >= 9255 && e <= 9279 || e >= 9280 && e <= 9290 || e >= 9291 && e <= 9311 || e >= 9472 && e <= 9654 || e === 9655 || e >= 9656 && e <= 9664 || e === 9665 || e >= 9666 && e <= 9719 || e >= 9720 && e <= 9727 || e >= 9728 && e <= 9838 || e === 9839 || e >= 9840 && e <= 10087 || e === 10088 || e === 10089 || e === 10090 || e === 10091 || e === 10092 || e === 10093 || e === 10094 || e === 10095 || e === 10096 || e === 10097 || e === 10098 || e === 10099 || e === 10100 || e === 10101 || e >= 10132 && e <= 10175 || e >= 10176 && e <= 10180 || e === 10181 || e === 10182 || e >= 10183 && e <= 10213 || e === 10214 || e === 10215 || e === 10216 || e === 10217 || e === 10218 || e === 10219 || e === 10220 || e === 10221 || e === 10222 || e === 10223 || e >= 10224 && e <= 10239 || e >= 10240 && e <= 10495 || e >= 10496 && e <= 10626 || e === 10627 || e === 10628 || e === 10629 || e === 10630 || e === 10631 || e === 10632 || e === 10633 || e === 10634 || e === 10635 || e === 10636 || e === 10637 || e === 10638 || e === 10639 || e === 10640 || e === 10641 || e === 10642 || e === 10643 || e === 10644 || e === 10645 || e === 10646 || e === 10647 || e === 10648 || e >= 10649 && e <= 10711 || e === 10712 || e === 10713 || e === 10714 || e === 10715 || e >= 10716 && e <= 10747 || e === 10748 || e === 10749 || e >= 10750 && e <= 11007 || e >= 11008 && e <= 11055 || e >= 11056 && e <= 11076 || e >= 11077 && e <= 11078 || e >= 11079 && e <= 11084 || e >= 11085 && e <= 11123 || e >= 11124 && e <= 11125 || e >= 11126 && e <= 11157 || e === 11158 || e >= 11159 && e <= 11263 || e >= 11776 && e <= 11777 || e === 11778 || e === 11779 || e === 11780 || e === 11781 || e >= 11782 && e <= 11784 || e === 11785 || e === 11786 || e === 11787 || e === 11788 || e === 11789 || e >= 11790 && e <= 11798 || e === 11799 || e >= 11800 && e <= 11801 || e === 11802 || e === 11803 || e === 11804 || e === 11805 || e >= 11806 && e <= 11807 || e === 11808 || e === 11809 || e === 11810 || e === 11811 || e === 11812 || e === 11813 || e === 11814 || e === 11815 || e === 11816 || e === 11817 || e >= 11818 && e <= 11822 || e === 11823 || e >= 11824 && e <= 11833 || e >= 11834 && e <= 11835 || e >= 11836 && e <= 11839 || e === 11840 || e === 11841 || e === 11842 || e >= 11843 && e <= 11855 || e >= 11856 && e <= 11857 || e === 11858 || e >= 11859 && e <= 11903 || e >= 12289 && e <= 12291 || e === 12296 || e === 12297 || e === 12298 || e === 12299 || e === 12300 || e === 12301 || e === 12302 || e === 12303 || e === 12304 || e === 12305 || e >= 12306 && e <= 12307 || e === 12308 || e === 12309 || e === 12310 || e === 12311 || e === 12312 || e === 12313 || e === 12314 || e === 12315 || e === 12316 || e === 12317 || e >= 12318 && e <= 12319 || e === 12320 || e === 12336 || e === 64830 || e === 64831 || e >= 65093 && e <= 65094;
4298
4298
  }
4299
4299
  function Tr(e) {
@@ -4304,9 +4304,9 @@ function Tr(e) {
4304
4304
  else Qa(t) && ao(t.style) || (eo(t) || to(t)) && _r(t.style) ? delete t.style.location : io(t) && Tr(t.children);
4305
4305
  });
4306
4306
  }
4307
- function Al(e, t) {
4307
+ function $l(e, t) {
4308
4308
  t === void 0 && (t = {}), t = W({ shouldParseSkeletons: !0, requiresOtherClause: !0 }, t);
4309
- var n = new kl(e, t).parse();
4309
+ var n = new Tl(e, t).parse();
4310
4310
  if (n.err) {
4311
4311
  var r = SyntaxError(le[n.err.kind]);
4312
4312
  throw r.location = n.err.location, r.originalMessage = n.err.message, r;
@@ -4314,17 +4314,17 @@ function Al(e, t) {
4314
4314
  return t != null && t.captureLocation || Tr(n.val), n.val;
4315
4315
  }
4316
4316
  function Ke(e, t) {
4317
- var n = t && t.cache ? t.cache : Nl, r = t && t.serializer ? t.serializer : Ll, a = t && t.strategy ? t.strategy : Ol;
4317
+ var n = t && t.cache ? t.cache : Dl, r = t && t.serializer ? t.serializer : Nl, a = t && t.strategy ? t.strategy : Pl;
4318
4318
  return a(e, {
4319
4319
  cache: n,
4320
4320
  serializer: r
4321
4321
  });
4322
4322
  }
4323
- function $l(e) {
4323
+ function Ol(e) {
4324
4324
  return e == null || typeof e == "number" || typeof e == "boolean";
4325
4325
  }
4326
4326
  function po(e, t, n, r) {
4327
- var a = $l(r) ? r : n(r), o = t.get(a);
4327
+ var a = Ol(r) ? r : n(r), o = t.get(a);
4328
4328
  return typeof o > "u" && (o = e.call(this, r), t.set(a, o)), o;
4329
4329
  }
4330
4330
  function mo(e, t, n) {
@@ -4334,17 +4334,17 @@ function mo(e, t, n) {
4334
4334
  function Gr(e, t, n, r, a) {
4335
4335
  return n.bind(t, e, r, a);
4336
4336
  }
4337
- function Ol(e, t) {
4337
+ function Pl(e, t) {
4338
4338
  var n = e.length === 1 ? po : mo;
4339
4339
  return Gr(e, this, n, t.cache.create(), t.serializer);
4340
4340
  }
4341
- function Pl(e, t) {
4341
+ function Il(e, t) {
4342
4342
  return Gr(e, this, mo, t.cache.create(), t.serializer);
4343
4343
  }
4344
- function Il(e, t) {
4344
+ function Ll(e, t) {
4345
4345
  return Gr(e, this, po, t.cache.create(), t.serializer);
4346
4346
  }
4347
- var Ll = function() {
4347
+ var Nl = function() {
4348
4348
  return JSON.stringify(arguments);
4349
4349
  };
4350
4350
  function Wr() {
@@ -4356,13 +4356,13 @@ Wr.prototype.get = function(e) {
4356
4356
  Wr.prototype.set = function(e, t) {
4357
4357
  this.cache[e] = t;
4358
4358
  };
4359
- var Nl = {
4359
+ var Dl = {
4360
4360
  create: function() {
4361
4361
  return new Wr();
4362
4362
  }
4363
4363
  }, Je = {
4364
- variadic: Pl,
4365
- monadic: Il
4364
+ variadic: Il,
4365
+ monadic: Ll
4366
4366
  }, tt;
4367
4367
  (function(e) {
4368
4368
  e.MISSING_VALUE = "MISSING_VALUE", e.INVALID_VALUE = "INVALID_VALUE", e.MISSING_INTL_API = "MISSING_INTL_API";
@@ -4388,7 +4388,7 @@ var ct = (
4388
4388
  }
4389
4389
  return t;
4390
4390
  }(ct)
4391
- ), Dl = (
4391
+ ), Ml = (
4392
4392
  /** @class */
4393
4393
  function(e) {
4394
4394
  Ue(t, e);
@@ -4397,7 +4397,7 @@ var ct = (
4397
4397
  }
4398
4398
  return t;
4399
4399
  }(ct)
4400
- ), Ml = (
4400
+ ), jl = (
4401
4401
  /** @class */
4402
4402
  function(e) {
4403
4403
  Ue(t, e);
@@ -4410,7 +4410,7 @@ var ct = (
4410
4410
  (function(e) {
4411
4411
  e[e.literal = 0] = "literal", e[e.object = 1] = "object";
4412
4412
  })($e || ($e = {}));
4413
- function jl(e) {
4413
+ function Fl(e) {
4414
4414
  return e.length < 2 ? e : e.reduce(function(t, n) {
4415
4415
  var r = t[t.length - 1];
4416
4416
  return !r || r.type !== $e.literal || n.type !== $e.literal ? t.push(n) : r.value += n.value, t;
@@ -4436,7 +4436,7 @@ function gn(e, t, n, r, a, o, l) {
4436
4436
  });
4437
4437
  continue;
4438
4438
  }
4439
- if (tl(d)) {
4439
+ if (nl(d)) {
4440
4440
  typeof o == "number" && i.push({
4441
4441
  type: $e.literal,
4442
4442
  value: n.getNumberFormat(t).format(o)
@@ -4445,9 +4445,9 @@ function gn(e, t, n, r, a, o, l) {
4445
4445
  }
4446
4446
  var s = d.value;
4447
4447
  if (!(a && s in a))
4448
- throw new Ml(s, l);
4448
+ throw new jl(s, l);
4449
4449
  var c = a[s];
4450
- if (el(d)) {
4450
+ if (tl(d)) {
4451
4451
  (!c || typeof c == "string" || typeof c == "number") && (c = typeof c == "string" || typeof c == "number" ? String(c) : ""), i.push({
4452
4452
  type: typeof c == "string" ? $e.literal : $e.object,
4453
4453
  value: c
@@ -4481,7 +4481,7 @@ function gn(e, t, n, r, a, o, l) {
4481
4481
  if (io(d)) {
4482
4482
  var h = d.children, f = d.value, b = a[f];
4483
4483
  if (!go(b))
4484
- throw new Dl(f, "function", l);
4484
+ throw new Ml(f, "function", l);
4485
4485
  var p = gn(h, t, n, r, a, o), y = b(p.map(function(_) {
4486
4486
  return _.value;
4487
4487
  }));
@@ -4515,16 +4515,16 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
4515
4515
  continue;
4516
4516
  }
4517
4517
  }
4518
- return jl(i);
4518
+ return Fl(i);
4519
4519
  }
4520
- function Fl(e, t) {
4520
+ function Bl(e, t) {
4521
4521
  return t ? W(W(W({}, e || {}), t || {}), Object.keys(e).reduce(function(n, r) {
4522
4522
  return n[r] = W(W({}, e[r]), t[r] || {}), n;
4523
4523
  }, {})) : e;
4524
4524
  }
4525
- function Bl(e, t) {
4525
+ function Hl(e, t) {
4526
4526
  return t ? Object.keys(e).reduce(function(n, r) {
4527
- return n[r] = Fl(e[r], t[r]), n;
4527
+ return n[r] = Bl(e[r], t[r]), n;
4528
4528
  }, W({}, e)) : e;
4529
4529
  }
4530
4530
  function Qn(e) {
@@ -4541,7 +4541,7 @@ function Qn(e) {
4541
4541
  }
4542
4542
  };
4543
4543
  }
4544
- function Hl(e) {
4544
+ function zl(e) {
4545
4545
  return e === void 0 && (e = {
4546
4546
  number: {},
4547
4547
  dateTime: {},
@@ -4610,7 +4610,7 @@ var yo = (
4610
4610
  this.ast = t;
4611
4611
  if (!Array.isArray(this.ast))
4612
4612
  throw new TypeError("A message must be provided as a String or AST.");
4613
- this.formats = Bl(e.formats, r), this.formatters = a && a.formatters || Hl(this.formatterCache);
4613
+ this.formats = Hl(e.formats, r), this.formatters = a && a.formatters || zl(this.formatterCache);
4614
4614
  }
4615
4615
  return Object.defineProperty(e, "defaultLocale", {
4616
4616
  get: function() {
@@ -4623,7 +4623,7 @@ var yo = (
4623
4623
  var n = Intl.NumberFormat.supportedLocalesOf(t);
4624
4624
  return n.length > 0 ? new Intl.Locale(n[0]) : new Intl.Locale(typeof t == "string" ? t : t[0]);
4625
4625
  }
4626
- }, e.__parse = Al, e.formats = {
4626
+ }, e.__parse = $l, e.formats = {
4627
4627
  number: {
4628
4628
  integer: {
4629
4629
  maximumFractionDigits: 0
@@ -4700,7 +4700,7 @@ var tn = (
4700
4700
  }
4701
4701
  return t;
4702
4702
  }(Error)
4703
- ), zl = (
4703
+ ), Ul = (
4704
4704
  /** @class */
4705
4705
  function(e) {
4706
4706
  Ue(t, e);
@@ -4709,7 +4709,7 @@ var tn = (
4709
4709
  }
4710
4710
  return t;
4711
4711
  }(tn)
4712
- ), Ul = (
4712
+ ), Vl = (
4713
4713
  /** @class */
4714
4714
  function(e) {
4715
4715
  Ue(t, e);
@@ -4753,7 +4753,7 @@ Description: `).concat(a == null ? void 0 : a.description, `
4753
4753
  }
4754
4754
  return t;
4755
4755
  }(Ve)
4756
- ), Vl = (
4756
+ ), ql = (
4757
4757
  /** @class */
4758
4758
  function(e) {
4759
4759
  Ue(t, e);
@@ -4772,9 +4772,9 @@ function St(e, t, n) {
4772
4772
  return a in e ? r[a] = e[a] : a in n && (r[a] = n[a]), r;
4773
4773
  }, {});
4774
4774
  }
4775
- var ql = function(e) {
4775
+ var Gl = function(e) {
4776
4776
  process.env.NODE_ENV !== "production" && console.error(e);
4777
- }, Gl = function(e) {
4777
+ }, Wl = function(e) {
4778
4778
  process.env.NODE_ENV !== "production" && console.warn(e);
4779
4779
  }, bo = {
4780
4780
  formats: {},
@@ -4783,8 +4783,8 @@ var ql = function(e) {
4783
4783
  defaultLocale: "en",
4784
4784
  defaultFormats: {},
4785
4785
  fallbackOnEmptyString: !0,
4786
- onError: ql,
4787
- onWarn: Gl
4786
+ onError: Gl,
4787
+ onWarn: Wl
4788
4788
  };
4789
4789
  function vo() {
4790
4790
  return {
@@ -4811,7 +4811,7 @@ function gt(e) {
4811
4811
  }
4812
4812
  };
4813
4813
  }
4814
- function Wl(e) {
4814
+ function Yl(e) {
4815
4815
  e === void 0 && (e = vo());
4816
4816
  var t = Intl.RelativeTimeFormat, n = Intl.ListFormat, r = Intl.DisplayNames, a = Ke(function() {
4817
4817
  for (var i, m = [], g = 0; g < arguments.length; g++)
@@ -4879,7 +4879,7 @@ function Yr(e, t, n, r) {
4879
4879
  var a = e && e[t], o;
4880
4880
  if (a && (o = a[n]), o)
4881
4881
  return o;
4882
- r(new zl("No ".concat(t, " format named: ").concat(n)));
4882
+ r(new Ul("No ".concat(t, " format named: ").concat(n)));
4883
4883
  }
4884
4884
  function fn(e, t) {
4885
4885
  return Object.keys(e).reduce(function(n, r) {
@@ -4916,7 +4916,7 @@ var Cr = function(e, t, n, r, a) {
4916
4916
  if (r = W(W({}, u), r || {}), l = zi(l, c), g = zi(g, c), !p) {
4917
4917
  if (d === !1 && p === "")
4918
4918
  return p;
4919
- if ((!f || o && o.toLowerCase() !== m.toLowerCase()) && s(new Vl(n, o)), f)
4919
+ if ((!f || o && o.toLowerCase() !== m.toLowerCase()) && s(new ql(n, o)), f)
4920
4920
  try {
4921
4921
  var y = t.getMessageFormat(f, m, g, a);
4922
4922
  return y.format(r);
@@ -4966,7 +4966,7 @@ function On(e, t, n, r) {
4966
4966
  var m = r.format, g = W(W({}, i && { timeZone: i }), m && Yr(o, t, m, l)), d = St(r, xo, g);
4967
4967
  return t === "time" && !d.hour && !d.minute && !d.second && !d.timeStyle && !d.dateStyle && (d = W(W({}, d), { hour: "numeric", minute: "numeric" })), n(a, d);
4968
4968
  }
4969
- function Yl(e, t) {
4969
+ function Xl(e, t) {
4970
4970
  for (var n = [], r = 2; r < arguments.length; r++)
4971
4971
  n[r - 2] = arguments[r];
4972
4972
  var a = n[0], o = n[1], l = o === void 0 ? {} : o, i = typeof a == "string" ? new Date(a || 0) : a;
@@ -4977,7 +4977,7 @@ function Yl(e, t) {
4977
4977
  }
4978
4978
  return String(i);
4979
4979
  }
4980
- function Xl(e, t) {
4980
+ function Zl(e, t) {
4981
4981
  for (var n = [], r = 2; r < arguments.length; r++)
4982
4982
  n[r - 2] = arguments[r];
4983
4983
  var a = n[0], o = n[1], l = o === void 0 ? {} : o, i = typeof a == "string" ? new Date(a || 0) : a;
@@ -4988,7 +4988,7 @@ function Xl(e, t) {
4988
4988
  }
4989
4989
  return String(i);
4990
4990
  }
4991
- function Zl(e, t) {
4991
+ function Kl(e, t) {
4992
4992
  for (var n = [], r = 2; r < arguments.length; r++)
4993
4993
  n[r - 2] = arguments[r];
4994
4994
  var a = n[0], o = n[1], l = n[2], i = l === void 0 ? {} : l, m = e.timeZone, g = e.locale, d = e.onError, s = St(i, xo, m ? { timeZone: m } : {});
@@ -4999,7 +4999,7 @@ function Zl(e, t) {
4999
4999
  }
5000
5000
  return String(a);
5001
5001
  }
5002
- function Kl(e, t) {
5002
+ function Jl(e, t) {
5003
5003
  for (var n = [], r = 2; r < arguments.length; r++)
5004
5004
  n[r - 2] = arguments[r];
5005
5005
  var a = n[0], o = n[1], l = o === void 0 ? {} : o, i = typeof a == "string" ? new Date(a || 0) : a;
@@ -5010,7 +5010,7 @@ function Kl(e, t) {
5010
5010
  }
5011
5011
  return [];
5012
5012
  }
5013
- function Jl(e, t) {
5013
+ function Ql(e, t) {
5014
5014
  for (var n = [], r = 2; r < arguments.length; r++)
5015
5015
  n[r - 2] = arguments[r];
5016
5016
  var a = n[0], o = n[1], l = o === void 0 ? {} : o, i = typeof a == "string" ? new Date(a || 0) : a;
@@ -5021,32 +5021,32 @@ function Jl(e, t) {
5021
5021
  }
5022
5022
  return [];
5023
5023
  }
5024
- var Ql = [
5024
+ var eu = [
5025
5025
  "style",
5026
5026
  "type",
5027
5027
  "fallback",
5028
5028
  "languageDisplay"
5029
5029
  ];
5030
- function eu(e, t, n, r) {
5030
+ function tu(e, t, n, r) {
5031
5031
  var a = e.locale, o = e.onError, l = Intl.DisplayNames;
5032
5032
  l || o(new ct(`Intl.DisplayNames is not available in this environment.
5033
5033
  Try polyfilling it using "@formatjs/intl-displaynames"
5034
5034
  `, tt.MISSING_INTL_API));
5035
- var i = St(r, Ql);
5035
+ var i = St(r, eu);
5036
5036
  try {
5037
5037
  return t(a, i).of(n);
5038
5038
  } catch (m) {
5039
5039
  o(new Ve("Error formatting display name.", a, m));
5040
5040
  }
5041
5041
  }
5042
- var tu = [
5042
+ var nu = [
5043
5043
  "type",
5044
5044
  "style"
5045
5045
  ], Ui = Date.now();
5046
- function nu(e) {
5046
+ function ru(e) {
5047
5047
  return "".concat(Ui, "_").concat(e, "_").concat(Ui);
5048
5048
  }
5049
- function ru(e, t, n, r) {
5049
+ function iu(e, t, n, r) {
5050
5050
  r === void 0 && (r = {});
5051
5051
  var a = _o(e, t, n, r).reduce(function(o, l) {
5052
5052
  var i = l.value;
@@ -5061,11 +5061,11 @@ function _o(e, t, n, r) {
5061
5061
  l || o(new ct(`Intl.ListFormat is not available in this environment.
5062
5062
  Try polyfilling it using "@formatjs/intl-listformat"
5063
5063
  `, tt.MISSING_INTL_API));
5064
- var i = St(r, tu);
5064
+ var i = St(r, nu);
5065
5065
  try {
5066
5066
  var m = {}, g = n.map(function(d, s) {
5067
5067
  if (typeof d == "object") {
5068
- var c = nu(s);
5068
+ var c = ru(s);
5069
5069
  return m[c] = d, c;
5070
5070
  }
5071
5071
  return String(d);
@@ -5078,13 +5078,13 @@ Try polyfilling it using "@formatjs/intl-listformat"
5078
5078
  }
5079
5079
  return n;
5080
5080
  }
5081
- var iu = ["type"];
5082
- function au(e, t, n, r) {
5081
+ var au = ["type"];
5082
+ function ou(e, t, n, r) {
5083
5083
  var a = e.locale, o = e.onError;
5084
5084
  r === void 0 && (r = {}), Intl.PluralRules || o(new ct(`Intl.PluralRules is not available in this environment.
5085
5085
  Try polyfilling it using "@formatjs/intl-pluralrules"
5086
5086
  `, tt.MISSING_INTL_API));
5087
- var l = St(r, iu);
5087
+ var l = St(r, au);
5088
5088
  try {
5089
5089
  return t(a, l).select(n);
5090
5090
  } catch (i) {
@@ -5092,27 +5092,27 @@ Try polyfilling it using "@formatjs/intl-pluralrules"
5092
5092
  }
5093
5093
  return "other";
5094
5094
  }
5095
- var ou = ["numeric", "style"];
5096
- function su(e, t, n) {
5095
+ var su = ["numeric", "style"];
5096
+ function lu(e, t, n) {
5097
5097
  var r = e.locale, a = e.formats, o = e.onError;
5098
5098
  n === void 0 && (n = {});
5099
- var l = n.format, i = !!l && Yr(a, "relative", l, o) || {}, m = St(n, ou, i);
5099
+ var l = n.format, i = !!l && Yr(a, "relative", l, o) || {}, m = St(n, su, i);
5100
5100
  return t(r, m);
5101
5101
  }
5102
- function lu(e, t, n, r, a) {
5102
+ function uu(e, t, n, r, a) {
5103
5103
  a === void 0 && (a = {}), r || (r = "second");
5104
5104
  var o = Intl.RelativeTimeFormat;
5105
5105
  o || e.onError(new ct(`Intl.RelativeTimeFormat is not available in this environment.
5106
5106
  Try polyfilling it using "@formatjs/intl-relativetimeformat"
5107
5107
  `, tt.MISSING_INTL_API));
5108
5108
  try {
5109
- return su(e, t, a).format(n, r);
5109
+ return lu(e, t, a).format(n, r);
5110
5110
  } catch (l) {
5111
5111
  e.onError(new Ve("Error formatting relative time.", e.locale, l));
5112
5112
  }
5113
5113
  return String(n);
5114
5114
  }
5115
- var uu = [
5115
+ var cu = [
5116
5116
  "style",
5117
5117
  "currency",
5118
5118
  "unit",
@@ -5141,10 +5141,10 @@ var uu = [
5141
5141
  function wo(e, t, n) {
5142
5142
  var r = e.locale, a = e.formats, o = e.onError;
5143
5143
  n === void 0 && (n = {});
5144
- var l = n.format, i = l && Yr(a, "number", l, o) || {}, m = St(n, uu, i);
5144
+ var l = n.format, i = l && Yr(a, "number", l, o) || {}, m = St(n, cu, i);
5145
5145
  return t(r, m);
5146
5146
  }
5147
- function cu(e, t, n, r) {
5147
+ function fu(e, t, n, r) {
5148
5148
  r === void 0 && (r = {});
5149
5149
  try {
5150
5150
  return wo(e, t, r).format(n);
@@ -5153,7 +5153,7 @@ function cu(e, t, n, r) {
5153
5153
  }
5154
5154
  return String(n);
5155
5155
  }
5156
- function fu(e, t, n, r) {
5156
+ function hu(e, t, n, r) {
5157
5157
  r === void 0 && (r = {});
5158
5158
  try {
5159
5159
  return wo(e, t, r).formatToParts(n);
@@ -5162,47 +5162,47 @@ function fu(e, t, n, r) {
5162
5162
  }
5163
5163
  return [];
5164
5164
  }
5165
- function hu(e) {
5165
+ function pu(e) {
5166
5166
  var t = e ? e[Object.keys(e)[0]] : void 0;
5167
5167
  return typeof t == "string";
5168
5168
  }
5169
- function pu(e) {
5170
- e.onWarn && e.defaultRichTextElements && hu(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
5169
+ function du(e) {
5170
+ e.onWarn && e.defaultRichTextElements && pu(e.messages || {}) && e.onWarn(`[@formatjs/intl] "defaultRichTextElements" was specified but "message" was not pre-compiled.
5171
5171
  Please consider using "@formatjs/cli" to pre-compile your messages for performance.
5172
5172
  For more details see https://formatjs.io/docs/getting-started/message-distribution`);
5173
5173
  }
5174
- function du(e, t) {
5175
- var n = Wl(t), r = W(W({}, bo), e), a = r.locale, o = r.defaultLocale, l = r.onError;
5176
- return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && l ? l(new Bi('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && l && l(new Bi('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (l && l(new Ul('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), pu(r), W(W({}, r), {
5174
+ function mu(e, t) {
5175
+ var n = Yl(t), r = W(W({}, bo), e), a = r.locale, o = r.defaultLocale, l = r.onError;
5176
+ return a ? !Intl.NumberFormat.supportedLocalesOf(a).length && l ? l(new Bi('Missing locale data for locale: "'.concat(a, '" in Intl.NumberFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : !Intl.DateTimeFormat.supportedLocalesOf(a).length && l && l(new Bi('Missing locale data for locale: "'.concat(a, '" in Intl.DateTimeFormat. Using default locale: "').concat(o, '" as fallback. See https://formatjs.io/docs/react-intl#runtime-requirements for more details'))) : (l && l(new Vl('"locale" was not configured, using "'.concat(o, '" as fallback. See https://formatjs.io/docs/react-intl/api#intlshape for more details'))), r.locale = r.defaultLocale || "en"), du(r), W(W({}, r), {
5177
5177
  formatters: n,
5178
- formatNumber: cu.bind(null, r, n.getNumberFormat),
5179
- formatNumberToParts: fu.bind(null, r, n.getNumberFormat),
5180
- formatRelativeTime: lu.bind(null, r, n.getRelativeTimeFormat),
5181
- formatDate: Yl.bind(null, r, n.getDateTimeFormat),
5182
- formatDateToParts: Kl.bind(null, r, n.getDateTimeFormat),
5183
- formatTime: Xl.bind(null, r, n.getDateTimeFormat),
5184
- formatDateTimeRange: Zl.bind(null, r, n.getDateTimeFormat),
5185
- formatTimeToParts: Jl.bind(null, r, n.getDateTimeFormat),
5186
- formatPlural: au.bind(null, r, n.getPluralRules),
5178
+ formatNumber: fu.bind(null, r, n.getNumberFormat),
5179
+ formatNumberToParts: hu.bind(null, r, n.getNumberFormat),
5180
+ formatRelativeTime: uu.bind(null, r, n.getRelativeTimeFormat),
5181
+ formatDate: Xl.bind(null, r, n.getDateTimeFormat),
5182
+ formatDateToParts: Jl.bind(null, r, n.getDateTimeFormat),
5183
+ formatTime: Zl.bind(null, r, n.getDateTimeFormat),
5184
+ formatDateTimeRange: Kl.bind(null, r, n.getDateTimeFormat),
5185
+ formatTimeToParts: Ql.bind(null, r, n.getDateTimeFormat),
5186
+ formatPlural: ou.bind(null, r, n.getPluralRules),
5187
5187
  // @ts-expect-error TODO: will get to this later
5188
5188
  formatMessage: Cr.bind(null, r, n),
5189
5189
  // @ts-expect-error TODO: will get to this later
5190
5190
  $t: Cr.bind(null, r, n),
5191
- formatList: ru.bind(null, r, n.getListFormat),
5191
+ formatList: iu.bind(null, r, n.getListFormat),
5192
5192
  formatListToParts: _o.bind(null, r, n.getListFormat),
5193
- formatDisplayName: eu.bind(null, r, n.getDisplayNames)
5193
+ formatDisplayName: tu.bind(null, r, n.getDisplayNames)
5194
5194
  });
5195
5195
  }
5196
5196
  function Eo(e) {
5197
5197
  Ja(e, "[React Intl] Could not find required `intl` object. <IntlProvider> needs to exist in the component ancestry.");
5198
5198
  }
5199
5199
  var So = W(W({}, bo), { textComponent: Te.Fragment });
5200
- function mu(e) {
5200
+ function gu(e) {
5201
5201
  return function(t) {
5202
5202
  return e(Te.Children.toArray(t));
5203
5203
  };
5204
5204
  }
5205
- function gu(e, t) {
5205
+ function yu(e, t) {
5206
5206
  if (e === t)
5207
5207
  return !0;
5208
5208
  if (!e || !t)
@@ -5219,9 +5219,9 @@ function gu(e, t) {
5219
5219
  }
5220
5220
  var Xr = typeof window < "u" && !window.__REACT_INTL_BYPASS_GLOBAL_CONTEXT__ ? window.__REACT_INTL_CONTEXT__ || (window.__REACT_INTL_CONTEXT__ = Te.createContext(null)) : Te.createContext(null);
5221
5221
  Xr.Consumer;
5222
- var yu = Xr.Provider, bu = yu, vu = Xr;
5222
+ var bu = Xr.Provider, vu = bu, xu = Xr;
5223
5223
  function Zr() {
5224
- var e = Te.useContext(vu);
5224
+ var e = Te.useContext(xu);
5225
5225
  return Eo(e), e;
5226
5226
  }
5227
5227
  var Rr;
@@ -5255,7 +5255,7 @@ function nn(e) {
5255
5255
  function To(e) {
5256
5256
  return e && Object.keys(e).reduce(function(t, n) {
5257
5257
  var r = e[n];
5258
- return t[n] = go(r) ? mu(r) : r, t;
5258
+ return t[n] = go(r) ? gu(r) : r, t;
5259
5259
  }, {});
5260
5260
  }
5261
5261
  var Vi = function(e, t, n, r) {
@@ -5269,7 +5269,7 @@ var Vi = function(e, t, n, r) {
5269
5269
  ], a, !1));
5270
5270
  return Array.isArray(i) ? Te.Children.toArray(i) : i;
5271
5271
  }, qi = function(e, t) {
5272
- var n = e.defaultRichTextElements, r = $n(e, ["defaultRichTextElements"]), a = To(n), o = du(W(W(W({}, So), r), { defaultRichTextElements: a }), t), l = {
5272
+ var n = e.defaultRichTextElements, r = $n(e, ["defaultRichTextElements"]), a = To(n), o = mu(W(W(W({}, So), r), { defaultRichTextElements: a }), t), l = {
5273
5273
  locale: o.locale,
5274
5274
  timeZone: o.timeZone,
5275
5275
  fallbackOnEmptyString: o.fallbackOnEmptyString,
@@ -5307,7 +5307,7 @@ function tr(e) {
5307
5307
  defaultRichTextElements: e.defaultRichTextElements
5308
5308
  };
5309
5309
  }
5310
- var xu = (
5310
+ var _u = (
5311
5311
  /** @class */
5312
5312
  function(e) {
5313
5313
  Ue(t, e);
@@ -5321,12 +5321,12 @@ var xu = (
5321
5321
  }
5322
5322
  return t.getDerivedStateFromProps = function(n, r) {
5323
5323
  var a = r.prevConfig, o = r.cache, l = tr(n);
5324
- return gu(a, l) ? null : {
5324
+ return yu(a, l) ? null : {
5325
5325
  intl: qi(l, o),
5326
5326
  prevConfig: l
5327
5327
  };
5328
5328
  }, t.prototype.render = function() {
5329
- return Eo(this.state.intl), Te.createElement(bu, { value: this.state.intl }, this.props.children);
5329
+ return Eo(this.state.intl), Te.createElement(vu, { value: this.state.intl }, this.props.children);
5330
5330
  }, t.displayName = "IntlProvider", t.defaultProps = So, t;
5331
5331
  }(Te.PureComponent)
5332
5332
  );
@@ -5353,23 +5353,23 @@ const Co = () => {
5353
5353
  chatlineLabelUserTranslation: n,
5354
5354
  chatlineLabelAssistantTranslation: r
5355
5355
  };
5356
- }, _u = (e) => /* @__PURE__ */ Te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33A7.95 7.95 0 0 1 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z" })), wu = (e) => /* @__PURE__ */ Te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm7.48 7.16l-5.01-.43l-2-4.71c3.21.19 5.91 2.27 7.01 5.14zm-5.07 6.26L12 13.98l-2.39 1.44l.63-2.72l-2.11-1.83l2.78-.24L12 8.06l1.09 2.56l2.78.24l-2.11 1.83l.64 2.73zm-2.86-11.4l-2 4.72l-5.02.43c1.1-2.88 3.8-4.97 7.02-5.15zM4 12c0-.64.08-1.26.23-1.86l3.79 3.28l-1.11 4.75A7.982 7.982 0 0 1 4 12zm3.84 6.82L12 16.31l4.16 2.5A7.924 7.924 0 0 1 11.99 20c-1.52 0-2.94-.44-4.15-1.18zm9.25-.65l-1.11-4.75l3.79-3.28c.14.59.23 1.22.23 1.86c0 2.48-1.14 4.7-2.91 6.17z" }));
5357
- function Eu(e, t) {
5356
+ }, wu = (e) => /* @__PURE__ */ Te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10s10-4.48 10-10S17.52 2 12 2zM7.07 18.28c.43-.9 3.05-1.78 4.93-1.78s4.51.88 4.93 1.78C15.57 19.36 13.86 20 12 20s-3.57-.64-4.93-1.72zm11.29-1.45c-1.43-1.74-4.9-2.33-6.36-2.33s-4.93.59-6.36 2.33A7.95 7.95 0 0 1 4 12c0-4.41 3.59-8 8-8s8 3.59 8 8c0 1.82-.62 3.49-1.64 4.83zM12 6c-1.94 0-3.5 1.56-3.5 3.5S10.06 13 12 13s3.5-1.56 3.5-3.5S13.94 6 12 6zm0 5c-.83 0-1.5-.67-1.5-1.5S11.17 8 12 8s1.5.67 1.5 1.5S12.83 11 12 11z" })), Eu = (e) => /* @__PURE__ */ Te.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm7.48 7.16l-5.01-.43l-2-4.71c3.21.19 5.91 2.27 7.01 5.14zm-5.07 6.26L12 13.98l-2.39 1.44l.63-2.72l-2.11-1.83l2.78-.24L12 8.06l1.09 2.56l2.78.24l-2.11 1.83l.64 2.73zm-2.86-11.4l-2 4.72l-5.02.43c1.1-2.88 3.8-4.97 7.02-5.15zM4 12c0-.64.08-1.26.23-1.86l3.79 3.28l-1.11 4.75A7.982 7.982 0 0 1 4 12zm3.84 6.82L12 16.31l4.16 2.5A7.924 7.924 0 0 1 11.99 20c-1.52 0-2.94-.44-4.15-1.18zm9.25-.65l-1.11-4.75l3.79-3.28c.14.59.23 1.22.23 1.86c0 2.48-1.14 4.7-2.91 6.17z" }));
5357
+ function Su(e, t) {
5358
5358
  const n = {};
5359
5359
  return (e[e.length - 1] === "" ? [...e, ""] : e).join(
5360
5360
  (n.padRight ? " " : "") + "," + (n.padLeft === !1 ? "" : " ")
5361
5361
  ).trim();
5362
5362
  }
5363
- const Su = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, ku = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Tu = {};
5363
+ const ku = /^[$_\p{ID_Start}][$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Tu = /^[$_\p{ID_Start}][-$_\u{200C}\u{200D}\p{ID_Continue}]*$/u, Cu = {};
5364
5364
  function Gi(e, t) {
5365
- return (Tu.jsx ? ku : Su).test(e);
5365
+ return (Cu.jsx ? Tu : ku).test(e);
5366
5366
  }
5367
- const Cu = /[ \t\n\f\r]/g;
5368
- function Ru(e) {
5367
+ const Ru = /[ \t\n\f\r]/g;
5368
+ function Au(e) {
5369
5369
  return typeof e == "object" ? e.type === "text" ? Wi(e.value) : !1 : Wi(e);
5370
5370
  }
5371
5371
  function Wi(e) {
5372
- return e.replace(Cu, "") === "";
5372
+ return e.replace(Ru, "") === "";
5373
5373
  }
5374
5374
  class rn {
5375
5375
  /**
@@ -5415,10 +5415,10 @@ qe.prototype.spaceSeparated = !1;
5415
5415
  qe.prototype.commaOrSpaceSeparated = !1;
5416
5416
  qe.prototype.mustUseProperty = !1;
5417
5417
  qe.prototype.defined = !1;
5418
- let Au = 0;
5418
+ let $u = 0;
5419
5419
  const ie = kt(), ke = kt(), Ao = kt(), j = kt(), be = kt(), Lt = kt(), De = kt();
5420
5420
  function kt() {
5421
- return 2 ** ++Au;
5421
+ return 2 ** ++$u;
5422
5422
  }
5423
5423
  const Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
5424
5424
  __proto__: null,
@@ -5451,12 +5451,12 @@ Kr.prototype.defined = !0;
5451
5451
  function Yi(e, t, n) {
5452
5452
  n && (e[t] = n);
5453
5453
  }
5454
- const $u = {}.hasOwnProperty;
5454
+ const Ou = {}.hasOwnProperty;
5455
5455
  function jt(e) {
5456
5456
  const t = {}, n = {};
5457
5457
  let r;
5458
5458
  for (r in e.properties)
5459
- if ($u.call(e.properties, r)) {
5459
+ if (Ou.call(e.properties, r)) {
5460
5460
  const a = e.properties[r], o = new Kr(
5461
5461
  r,
5462
5462
  e.transform(e.attributes || {}, r),
@@ -5554,7 +5554,7 @@ const Lo = jt({
5554
5554
  ariaValueText: null,
5555
5555
  role: null
5556
5556
  }
5557
- }), Ou = jt({
5557
+ }), Pu = jt({
5558
5558
  space: "html",
5559
5559
  attributes: {
5560
5560
  acceptcharset: "accept-charset",
@@ -5913,7 +5913,7 @@ const Lo = jt({
5913
5913
  security: null,
5914
5914
  unselectable: null
5915
5915
  }
5916
- }), Pu = jt({
5916
+ }), Iu = jt({
5917
5917
  space: "svg",
5918
5918
  attributes: {
5919
5919
  accentHeight: "accent-height",
@@ -6472,20 +6472,20 @@ const Lo = jt({
6472
6472
  z: null,
6473
6473
  zoomAndPan: null
6474
6474
  }
6475
- }), Iu = /^data[-\w.:]+$/i, Xi = /-[a-z]/g, Lu = /[A-Z]/g;
6476
- function Nu(e, t) {
6475
+ }), Lu = /^data[-\w.:]+$/i, Xi = /-[a-z]/g, Nu = /[A-Z]/g;
6476
+ function Du(e, t) {
6477
6477
  const n = $r(t);
6478
6478
  let r = t, a = qe;
6479
6479
  if (n in e.normal)
6480
6480
  return e.property[e.normal[n]];
6481
- if (n.length > 4 && n.slice(0, 4) === "data" && Iu.test(t)) {
6481
+ if (n.length > 4 && n.slice(0, 4) === "data" && Lu.test(t)) {
6482
6482
  if (t.charAt(4) === "-") {
6483
- const o = t.slice(5).replace(Xi, Mu);
6483
+ const o = t.slice(5).replace(Xi, ju);
6484
6484
  r = "data" + o.charAt(0).toUpperCase() + o.slice(1);
6485
6485
  } else {
6486
6486
  const o = t.slice(4);
6487
6487
  if (!Xi.test(o)) {
6488
- let l = o.replace(Lu, Du);
6488
+ let l = o.replace(Nu, Mu);
6489
6489
  l.charAt(0) !== "-" && (l = "-" + l), t = "data" + l;
6490
6490
  }
6491
6491
  }
@@ -6493,13 +6493,13 @@ function Nu(e, t) {
6493
6493
  }
6494
6494
  return new a(r, t);
6495
6495
  }
6496
- function Du(e) {
6496
+ function Mu(e) {
6497
6497
  return "-" + e.toLowerCase();
6498
6498
  }
6499
- function Mu(e) {
6499
+ function ju(e) {
6500
6500
  return e.charAt(1).toUpperCase();
6501
6501
  }
6502
- const ju = {
6502
+ const Fu = {
6503
6503
  classId: "classID",
6504
6504
  dataType: "datatype",
6505
6505
  itemId: "itemID",
@@ -6517,21 +6517,21 @@ const ju = {
6517
6517
  xLinkTitle: "xlinkTitle",
6518
6518
  xLinkType: "xlinkType",
6519
6519
  xmlnsXLink: "xmlnsXlink"
6520
- }, Fu = Ro([Oo, $o, Lo, No, Ou], "html"), Jr = Ro([Oo, $o, Lo, No, Pu], "svg");
6521
- function Bu(e) {
6520
+ }, Bu = Ro([Oo, $o, Lo, No, Pu], "html"), Jr = Ro([Oo, $o, Lo, No, Iu], "svg");
6521
+ function Hu(e) {
6522
6522
  return e.join(" ").trim();
6523
6523
  }
6524
- var Do = {}, Zi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Hu = /\n/g, zu = /^\s*/, Uu = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, Vu = /^:\s*/, qu = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Gu = /^[;\s]*/, Wu = /^\s+|\s+$/g, Yu = `
6525
- `, Ki = "/", Ji = "*", vt = "", Xu = "comment", Zu = "declaration", Ku = function(e, t) {
6524
+ var Do = {}, Zi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, zu = /\n/g, Uu = /^\s*/, Vu = /^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/, qu = /^:\s*/, Gu = /^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/, Wu = /^[;\s]*/, Yu = /^\s+|\s+$/g, Xu = `
6525
+ `, Ki = "/", Ji = "*", vt = "", Zu = "comment", Ku = "declaration", Ju = function(e, t) {
6526
6526
  if (typeof e != "string")
6527
6527
  throw new TypeError("First argument must be a string");
6528
6528
  if (!e) return [];
6529
6529
  t = t || {};
6530
6530
  var n = 1, r = 1;
6531
6531
  function a(h) {
6532
- var f = h.match(Hu);
6532
+ var f = h.match(zu);
6533
6533
  f && (n += f.length);
6534
- var b = h.lastIndexOf(Yu);
6534
+ var b = h.lastIndexOf(Xu);
6535
6535
  r = ~b ? h.length - b : r + h.length;
6536
6536
  }
6537
6537
  function o() {
@@ -6558,7 +6558,7 @@ var Do = {}, Zi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Hu = /\n/g, zu = /^\s*/, Uu
6558
6558
  }
6559
6559
  }
6560
6560
  function g() {
6561
- m(zu);
6561
+ m(Uu);
6562
6562
  }
6563
6563
  function d(h) {
6564
6564
  var f;
@@ -6575,21 +6575,21 @@ var Do = {}, Zi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Hu = /\n/g, zu = /^\s*/, Uu
6575
6575
  return i("End of comment missing");
6576
6576
  var b = e.slice(2, f - 2);
6577
6577
  return r += 2, a(b), e = e.slice(f), r += 2, h({
6578
- type: Xu,
6578
+ type: Zu,
6579
6579
  comment: b
6580
6580
  });
6581
6581
  }
6582
6582
  }
6583
6583
  function c() {
6584
- var h = o(), f = m(Uu);
6584
+ var h = o(), f = m(Vu);
6585
6585
  if (f) {
6586
- if (s(), !m(Vu)) return i("property missing ':'");
6587
- var b = m(qu), p = h({
6588
- type: Zu,
6586
+ if (s(), !m(qu)) return i("property missing ':'");
6587
+ var b = m(Gu), p = h({
6588
+ type: Ku,
6589
6589
  property: Qi(f[0].replace(Zi, vt)),
6590
6590
  value: b ? Qi(b[0].replace(Zi, vt)) : vt
6591
6591
  });
6592
- return m(Gu), p;
6592
+ return m(Wu), p;
6593
6593
  }
6594
6594
  }
6595
6595
  function u() {
@@ -6602,18 +6602,18 @@ var Do = {}, Zi = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, Hu = /\n/g, zu = /^\s*/, Uu
6602
6602
  return g(), u();
6603
6603
  };
6604
6604
  function Qi(e) {
6605
- return e ? e.replace(Wu, vt) : vt;
6605
+ return e ? e.replace(Yu, vt) : vt;
6606
6606
  }
6607
- var Ju = vi && vi.__importDefault || function(e) {
6607
+ var Qu = vi && vi.__importDefault || function(e) {
6608
6608
  return e && e.__esModule ? e : { default: e };
6609
6609
  };
6610
6610
  Object.defineProperty(Do, "__esModule", { value: !0 });
6611
- var Qu = Ju(Ku);
6612
- function ec(e, t) {
6611
+ var ec = Qu(Ju);
6612
+ function tc(e, t) {
6613
6613
  var n = null;
6614
6614
  if (!e || typeof e != "string")
6615
6615
  return n;
6616
- var r = (0, Qu.default)(e), a = typeof t == "function";
6616
+ var r = (0, ec.default)(e), a = typeof t == "function";
6617
6617
  return r.forEach(function(o) {
6618
6618
  if (o.type === "declaration") {
6619
6619
  var l = o.property, i = o.value;
@@ -6621,8 +6621,8 @@ function ec(e, t) {
6621
6621
  }
6622
6622
  }), n;
6623
6623
  }
6624
- var ea = Do.default = ec;
6625
- const tc = ea.default || ea, Mo = jo("end"), Qr = jo("start");
6624
+ var ea = Do.default = tc;
6625
+ const nc = ea.default || ea, Mo = jo("end"), Qr = jo("start");
6626
6626
  function jo(e) {
6627
6627
  return t;
6628
6628
  function t(n) {
@@ -6635,7 +6635,7 @@ function jo(e) {
6635
6635
  };
6636
6636
  }
6637
6637
  }
6638
- function nc(e) {
6638
+ function rc(e) {
6639
6639
  const t = Qr(e), n = Mo(e);
6640
6640
  if (t && n)
6641
6641
  return { start: t, end: n };
@@ -6739,8 +6739,8 @@ Ce.prototype.fatal = void 0;
6739
6739
  Ce.prototype.place = void 0;
6740
6740
  Ce.prototype.ruleId = void 0;
6741
6741
  Ce.prototype.source = void 0;
6742
- const ei = {}.hasOwnProperty, rc = /* @__PURE__ */ new Map(), ic = /[A-Z]/g, ac = /-([a-z])/g, oc = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), sc = /* @__PURE__ */ new Set(["td", "th"]), Fo = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
6743
- function lc(e, t) {
6742
+ const ei = {}.hasOwnProperty, ic = /* @__PURE__ */ new Map(), ac = /[A-Z]/g, oc = /-([a-z])/g, sc = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), lc = /* @__PURE__ */ new Set(["td", "th"]), Fo = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
6743
+ function uc(e, t) {
6744
6744
  if (!t || t.Fragment === void 0)
6745
6745
  throw new TypeError("Expected `Fragment` in options");
6746
6746
  const n = t.filePath || void 0;
@@ -6750,13 +6750,13 @@ function lc(e, t) {
6750
6750
  throw new TypeError(
6751
6751
  "Expected `jsxDEV` in options when `development: true`"
6752
6752
  );
6753
- r = gc(n, t.jsxDEV);
6753
+ r = yc(n, t.jsxDEV);
6754
6754
  } else {
6755
6755
  if (typeof t.jsx != "function")
6756
6756
  throw new TypeError("Expected `jsx` in production options");
6757
6757
  if (typeof t.jsxs != "function")
6758
6758
  throw new TypeError("Expected `jsxs` in production options");
6759
- r = mc(n, t.jsx, t.jsxs);
6759
+ r = gc(n, t.jsx, t.jsxs);
6760
6760
  }
6761
6761
  const a = {
6762
6762
  Fragment: t.Fragment,
@@ -6769,7 +6769,7 @@ function lc(e, t) {
6769
6769
  ignoreInvalidStyle: t.ignoreInvalidStyle || !1,
6770
6770
  passKeys: t.passKeys !== !1,
6771
6771
  passNode: t.passNode || !1,
6772
- schema: t.space === "svg" ? Jr : Fu,
6772
+ schema: t.space === "svg" ? Jr : Bu,
6773
6773
  stylePropertyNameCase: t.stylePropertyNameCase || "dom",
6774
6774
  tableCellAlignToStyle: t.tableCellAlignToStyle !== !1
6775
6775
  }, o = Bo(a, e, void 0);
@@ -6782,29 +6782,29 @@ function lc(e, t) {
6782
6782
  }
6783
6783
  function Bo(e, t, n) {
6784
6784
  if (t.type === "element")
6785
- return uc(e, t, n);
6785
+ return cc(e, t, n);
6786
6786
  if (t.type === "mdxFlowExpression" || t.type === "mdxTextExpression")
6787
- return cc(e, t);
6787
+ return fc(e, t);
6788
6788
  if (t.type === "mdxJsxFlowElement" || t.type === "mdxJsxTextElement")
6789
- return hc(e, t, n);
6789
+ return pc(e, t, n);
6790
6790
  if (t.type === "mdxjsEsm")
6791
- return fc(e, t);
6791
+ return hc(e, t);
6792
6792
  if (t.type === "root")
6793
- return pc(e, t, n);
6793
+ return dc(e, t, n);
6794
6794
  if (t.type === "text")
6795
- return dc(e, t);
6795
+ return mc(e, t);
6796
6796
  }
6797
- function uc(e, t, n) {
6797
+ function cc(e, t, n) {
6798
6798
  const r = e.schema;
6799
6799
  let a = r;
6800
6800
  t.tagName.toLowerCase() === "svg" && r.space === "html" && (a = Jr, e.schema = a), e.ancestors.push(t);
6801
- const o = zo(e, t.tagName, !1), l = yc(e, t);
6801
+ const o = zo(e, t.tagName, !1), l = bc(e, t);
6802
6802
  let i = ni(e, t);
6803
- return oc.has(t.tagName) && (i = i.filter(function(m) {
6804
- return typeof m == "string" ? !Ru(m) : !0;
6803
+ return sc.has(t.tagName) && (i = i.filter(function(m) {
6804
+ return typeof m == "string" ? !Au(m) : !0;
6805
6805
  })), Ho(e, l, o, t), ti(l, i), e.ancestors.pop(), e.schema = r, e.create(t, o, l, n);
6806
6806
  }
6807
- function cc(e, t) {
6807
+ function fc(e, t) {
6808
6808
  if (t.data && t.data.estree && e.evaluater) {
6809
6809
  const r = t.data.estree.body[0];
6810
6810
  return r.type, /** @type {Child | undefined} */
@@ -6812,7 +6812,7 @@ function cc(e, t) {
6812
6812
  }
6813
6813
  en(e, t.position);
6814
6814
  }
6815
- function fc(e, t) {
6815
+ function hc(e, t) {
6816
6816
  if (t.data && t.data.estree && e.evaluater)
6817
6817
  return (
6818
6818
  /** @type {Child | undefined} */
@@ -6820,18 +6820,18 @@ function fc(e, t) {
6820
6820
  );
6821
6821
  en(e, t.position);
6822
6822
  }
6823
- function hc(e, t, n) {
6823
+ function pc(e, t, n) {
6824
6824
  const r = e.schema;
6825
6825
  let a = r;
6826
6826
  t.name === "svg" && r.space === "html" && (a = Jr, e.schema = a), e.ancestors.push(t);
6827
- const o = t.name === null ? e.Fragment : zo(e, t.name, !0), l = bc(e, t), i = ni(e, t);
6827
+ const o = t.name === null ? e.Fragment : zo(e, t.name, !0), l = vc(e, t), i = ni(e, t);
6828
6828
  return Ho(e, l, o, t), ti(l, i), e.ancestors.pop(), e.schema = r, e.create(t, o, l, n);
6829
6829
  }
6830
- function pc(e, t, n) {
6830
+ function dc(e, t, n) {
6831
6831
  const r = {};
6832
6832
  return ti(r, ni(e, t)), e.create(t, e.Fragment, r, n);
6833
6833
  }
6834
- function dc(e, t) {
6834
+ function mc(e, t) {
6835
6835
  return t.value;
6836
6836
  }
6837
6837
  function Ho(e, t, n, r) {
@@ -6843,14 +6843,14 @@ function ti(e, t) {
6843
6843
  n && (e.children = n);
6844
6844
  }
6845
6845
  }
6846
- function mc(e, t, n) {
6846
+ function gc(e, t, n) {
6847
6847
  return r;
6848
6848
  function r(a, o, l, i) {
6849
6849
  const g = Array.isArray(l.children) ? n : t;
6850
6850
  return i ? g(o, l, i) : g(o, l);
6851
6851
  }
6852
6852
  }
6853
- function gc(e, t) {
6853
+ function yc(e, t) {
6854
6854
  return n;
6855
6855
  function n(r, a, o, l) {
6856
6856
  const i = Array.isArray(o.children), m = Qr(r);
@@ -6868,15 +6868,15 @@ function gc(e, t) {
6868
6868
  );
6869
6869
  }
6870
6870
  }
6871
- function yc(e, t) {
6871
+ function bc(e, t) {
6872
6872
  const n = {};
6873
6873
  let r, a;
6874
6874
  for (a in t.properties)
6875
6875
  if (a !== "children" && ei.call(t.properties, a)) {
6876
- const o = vc(e, a, t.properties[a]);
6876
+ const o = xc(e, a, t.properties[a]);
6877
6877
  if (o) {
6878
6878
  const [l, i] = o;
6879
- e.tableCellAlignToStyle && l === "align" && typeof i == "string" && sc.has(t.tagName) ? r = i : n[l] = i;
6879
+ e.tableCellAlignToStyle && l === "align" && typeof i == "string" && lc.has(t.tagName) ? r = i : n[l] = i;
6880
6880
  }
6881
6881
  }
6882
6882
  if (r) {
@@ -6888,7 +6888,7 @@ function yc(e, t) {
6888
6888
  }
6889
6889
  return n;
6890
6890
  }
6891
- function bc(e, t) {
6891
+ function vc(e, t) {
6892
6892
  const n = {};
6893
6893
  for (const r of t.attributes)
6894
6894
  if (r.type === "mdxJsxExpressionAttribute")
@@ -6923,7 +6923,7 @@ function bc(e, t) {
6923
6923
  function ni(e, t) {
6924
6924
  const n = [];
6925
6925
  let r = -1;
6926
- const a = e.passKeys ? /* @__PURE__ */ new Map() : rc;
6926
+ const a = e.passKeys ? /* @__PURE__ */ new Map() : ic;
6927
6927
  for (; ++r < t.children.length; ) {
6928
6928
  const o = t.children[r];
6929
6929
  let l;
@@ -6939,23 +6939,23 @@ function ni(e, t) {
6939
6939
  }
6940
6940
  return n;
6941
6941
  }
6942
- function vc(e, t, n) {
6943
- const r = Nu(e.schema, t);
6942
+ function xc(e, t, n) {
6943
+ const r = Du(e.schema, t);
6944
6944
  if (!(n == null || typeof n == "number" && Number.isNaN(n))) {
6945
- if (Array.isArray(n) && (n = r.commaSeparated ? Eu(n) : Bu(n)), r.property === "style") {
6946
- let a = typeof n == "object" ? n : xc(e, String(n));
6947
- return e.stylePropertyNameCase === "css" && (a = _c(a)), ["style", a];
6945
+ if (Array.isArray(n) && (n = r.commaSeparated ? Su(n) : Hu(n)), r.property === "style") {
6946
+ let a = typeof n == "object" ? n : _c(e, String(n));
6947
+ return e.stylePropertyNameCase === "css" && (a = wc(a)), ["style", a];
6948
6948
  }
6949
6949
  return [
6950
- e.elementAttributeNameCase === "react" && r.space ? ju[r.property] || r.property : r.attribute,
6950
+ e.elementAttributeNameCase === "react" && r.space ? Fu[r.property] || r.property : r.attribute,
6951
6951
  n
6952
6952
  ];
6953
6953
  }
6954
6954
  }
6955
- function xc(e, t) {
6955
+ function _c(e, t) {
6956
6956
  const n = {};
6957
6957
  try {
6958
- tc(t, r);
6958
+ nc(t, r);
6959
6959
  } catch (a) {
6960
6960
  if (!e.ignoreInvalidStyle) {
6961
6961
  const o = (
@@ -6973,7 +6973,7 @@ function xc(e, t) {
6973
6973
  return n;
6974
6974
  function r(a, o) {
6975
6975
  let l = a;
6976
- l.slice(0, 2) !== "--" && (l.slice(0, 4) === "-ms-" && (l = "ms-" + l.slice(4)), l = l.replace(ac, Ec)), n[l] = o;
6976
+ l.slice(0, 2) !== "--" && (l.slice(0, 4) === "-ms-" && (l = "ms-" + l.slice(4)), l = l.replace(oc, Sc)), n[l] = o;
6977
6977
  }
6978
6978
  }
6979
6979
  function zo(e, t, n) {
@@ -7019,21 +7019,21 @@ function en(e, t) {
7019
7019
  );
7020
7020
  throw n.file = e.filePath || void 0, n.url = Fo + "#cannot-handle-mdx-estrees-without-createevaluater", n;
7021
7021
  }
7022
- function _c(e) {
7022
+ function wc(e) {
7023
7023
  const t = {};
7024
7024
  let n;
7025
7025
  for (n in e)
7026
- ei.call(e, n) && (t[wc(n)] = e[n]);
7026
+ ei.call(e, n) && (t[Ec(n)] = e[n]);
7027
7027
  return t;
7028
7028
  }
7029
- function wc(e) {
7030
- let t = e.replace(ic, Sc);
7029
+ function Ec(e) {
7030
+ let t = e.replace(ac, kc);
7031
7031
  return t.slice(0, 3) === "ms-" && (t = "-" + t), t;
7032
7032
  }
7033
- function Ec(e, t) {
7033
+ function Sc(e, t) {
7034
7034
  return t.toUpperCase();
7035
7035
  }
7036
- function Sc(e) {
7036
+ function kc(e) {
7037
7037
  return "-" + e.toLowerCase();
7038
7038
  }
7039
7039
  const rr = {
@@ -7058,13 +7058,13 @@ const rr = {
7058
7058
  "track",
7059
7059
  "video"
7060
7060
  ]
7061
- }, kc = {};
7062
- function Tc(e, t) {
7063
- const n = kc, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, a = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
7061
+ }, Tc = {};
7062
+ function Cc(e, t) {
7063
+ const n = Tc, r = typeof n.includeImageAlt == "boolean" ? n.includeImageAlt : !0, a = typeof n.includeHtml == "boolean" ? n.includeHtml : !0;
7064
7064
  return Uo(e, r, a);
7065
7065
  }
7066
7066
  function Uo(e, t, n) {
7067
- if (Cc(e)) {
7067
+ if (Rc(e)) {
7068
7068
  if ("value" in e)
7069
7069
  return e.type === "html" && !n ? "" : e.value;
7070
7070
  if (t && "alt" in e && e.alt)
@@ -7081,7 +7081,7 @@ function ra(e, t, n) {
7081
7081
  r[a] = Uo(e[a], t, n);
7082
7082
  return r.join("");
7083
7083
  }
7084
- function Cc(e) {
7084
+ function Rc(e) {
7085
7085
  return !!(e && typeof e == "object");
7086
7086
  }
7087
7087
  const ia = document.createElement("i");
@@ -7104,14 +7104,14 @@ function He(e, t) {
7104
7104
  return e.length > 0 ? (nt(e, e.length, 0, t), e) : t;
7105
7105
  }
7106
7106
  const aa = {}.hasOwnProperty;
7107
- function Rc(e) {
7107
+ function Ac(e) {
7108
7108
  const t = {};
7109
7109
  let n = -1;
7110
7110
  for (; ++n < e.length; )
7111
- Ac(t, e[n]);
7111
+ $c(t, e[n]);
7112
7112
  return t;
7113
7113
  }
7114
- function Ac(e, t) {
7114
+ function $c(e, t) {
7115
7115
  let n;
7116
7116
  for (n in t) {
7117
7117
  const a = (aa.call(e, n) ? e[n] : void 0) || (e[n] = {}), o = t[n];
@@ -7120,7 +7120,7 @@ function Ac(e, t) {
7120
7120
  for (l in o) {
7121
7121
  aa.call(a, l) || (a[l] = []);
7122
7122
  const i = o[l];
7123
- $c(
7123
+ Oc(
7124
7124
  // @ts-expect-error Looks like a list.
7125
7125
  a[l],
7126
7126
  Array.isArray(i) ? i : i ? [i] : []
@@ -7128,7 +7128,7 @@ function Ac(e, t) {
7128
7128
  }
7129
7129
  }
7130
7130
  }
7131
- function $c(e, t) {
7131
+ function Oc(e, t) {
7132
7132
  let n = -1;
7133
7133
  const r = [];
7134
7134
  for (; ++n < t.length; )
@@ -7151,7 +7151,7 @@ function Vo(e, t) {
7151
7151
  function Nt(e) {
7152
7152
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
7153
7153
  }
7154
- const et = ft(/[A-Za-z]/), je = ft(/[\dA-Za-z]/), Oc = ft(/[#-'*+\--9=?A-Z^-~]/);
7154
+ const et = ft(/[A-Za-z]/), je = ft(/[\dA-Za-z]/), Pc = ft(/[#-'*+\--9=?A-Z^-~]/);
7155
7155
  function Ir(e) {
7156
7156
  return (
7157
7157
  // Special whitespace codes (which have negative values), C0 and Control
@@ -7159,7 +7159,7 @@ function Ir(e) {
7159
7159
  e !== null && (e < 32 || e === 127)
7160
7160
  );
7161
7161
  }
7162
- const Lr = ft(/\d/), Pc = ft(/[\dA-Fa-f]/), Ic = ft(/[!-/:-@[-`{-~]/);
7162
+ const Lr = ft(/\d/), Ic = ft(/[\dA-Fa-f]/), Lc = ft(/[!-/:-@[-`{-~]/);
7163
7163
  function J(e) {
7164
7164
  return e !== null && e < -2;
7165
7165
  }
@@ -7169,7 +7169,7 @@ function Ne(e) {
7169
7169
  function he(e) {
7170
7170
  return e === -2 || e === -1 || e === 32;
7171
7171
  }
7172
- const Lc = ft(new RegExp("\\p{P}|\\p{S}", "u")), Nc = ft(/\s/);
7172
+ const Nc = ft(new RegExp("\\p{P}|\\p{S}", "u")), Dc = ft(/\s/);
7173
7173
  function ft(e) {
7174
7174
  return t;
7175
7175
  function t(n) {
@@ -7206,10 +7206,10 @@ function ve(e, t, n, r) {
7206
7206
  return he(m) && o++ < a ? (e.consume(m), i) : (e.exit(n), t(m));
7207
7207
  }
7208
7208
  }
7209
- const Dc = {
7210
- tokenize: Mc
7209
+ const Mc = {
7210
+ tokenize: jc
7211
7211
  };
7212
- function Mc(e) {
7212
+ function jc(e) {
7213
7213
  const t = e.attempt(
7214
7214
  this.parser.constructs.contentInitial,
7215
7215
  r,
@@ -7242,12 +7242,12 @@ function Mc(e) {
7242
7242
  return J(i) ? (e.consume(i), e.exit("chunkText"), o) : (e.consume(i), l);
7243
7243
  }
7244
7244
  }
7245
- const jc = {
7246
- tokenize: Fc
7247
- }, oa = {
7245
+ const Fc = {
7248
7246
  tokenize: Bc
7247
+ }, oa = {
7248
+ tokenize: Hc
7249
7249
  };
7250
- function Fc(e) {
7250
+ function Bc(e) {
7251
7251
  const t = this, n = [];
7252
7252
  let r = 0, a, o, l;
7253
7253
  return i;
@@ -7377,7 +7377,7 @@ function Fc(e) {
7377
7377
  a.write([null]), o = void 0, a = void 0, t.containerState._closeFlow = void 0;
7378
7378
  }
7379
7379
  }
7380
- function Bc(e, t, n) {
7380
+ function Hc(e, t, n) {
7381
7381
  return ve(
7382
7382
  e,
7383
7383
  e.attempt(this.parser.constructs.document, t, n),
@@ -7386,9 +7386,9 @@ function Bc(e, t, n) {
7386
7386
  );
7387
7387
  }
7388
7388
  function sa(e) {
7389
- if (e === null || Ne(e) || Nc(e))
7389
+ if (e === null || Ne(e) || Dc(e))
7390
7390
  return 1;
7391
- if (Lc(e))
7391
+ if (Nc(e))
7392
7392
  return 2;
7393
7393
  }
7394
7394
  function ii(e, t, n) {
@@ -7402,10 +7402,10 @@ function ii(e, t, n) {
7402
7402
  }
7403
7403
  const Nr = {
7404
7404
  name: "attention",
7405
- tokenize: zc,
7406
- resolveAll: Hc
7405
+ tokenize: Uc,
7406
+ resolveAll: zc
7407
7407
  };
7408
- function Hc(e, t) {
7408
+ function zc(e, t) {
7409
7409
  let n = -1, r, a, o, l, i, m, g, d;
7410
7410
  for (; ++n < e.length; )
7411
7411
  if (e[n][0] === "enter" && e[n][1].type === "attentionSequence" && e[n][1]._close) {
@@ -7463,7 +7463,7 @@ function Hc(e, t) {
7463
7463
  e[n][1].type === "attentionSequence" && (e[n][1].type = "data");
7464
7464
  return e;
7465
7465
  }
7466
- function zc(e, t) {
7466
+ function Uc(e, t) {
7467
7467
  const n = this.parser.constructs.attentionMarkers.null, r = this.previous, a = sa(r);
7468
7468
  let o;
7469
7469
  return l;
@@ -7480,11 +7480,11 @@ function zc(e, t) {
7480
7480
  function la(e, t) {
7481
7481
  e.column += t, e.offset += t, e._bufferIndex += t;
7482
7482
  }
7483
- const Uc = {
7483
+ const Vc = {
7484
7484
  name: "autolink",
7485
- tokenize: Vc
7485
+ tokenize: qc
7486
7486
  };
7487
- function Vc(e, t, n) {
7487
+ function qc(e, t, n) {
7488
7488
  let r = 0;
7489
7489
  return a;
7490
7490
  function a(u) {
@@ -7503,7 +7503,7 @@ function Vc(e, t, n) {
7503
7503
  return u === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(u), e.exit("autolinkMarker"), e.exit("autolink"), t) : u === null || u === 32 || u === 60 || Ir(u) ? n(u) : (e.consume(u), m);
7504
7504
  }
7505
7505
  function g(u) {
7506
- return u === 64 ? (e.consume(u), d) : Oc(u) ? (e.consume(u), g) : n(u);
7506
+ return u === 64 ? (e.consume(u), d) : Pc(u) ? (e.consume(u), g) : n(u);
7507
7507
  }
7508
7508
  function d(u) {
7509
7509
  return je(u) ? s(u) : n(u);
@@ -7520,10 +7520,10 @@ function Vc(e, t, n) {
7520
7520
  }
7521
7521
  }
7522
7522
  const Pn = {
7523
- tokenize: qc,
7523
+ tokenize: Gc,
7524
7524
  partial: !0
7525
7525
  };
7526
- function qc(e, t, n) {
7526
+ function Gc(e, t, n) {
7527
7527
  return r;
7528
7528
  function r(o) {
7529
7529
  return he(o) ? ve(e, a, "linePrefix")(o) : a(o);
@@ -7534,13 +7534,13 @@ function qc(e, t, n) {
7534
7534
  }
7535
7535
  const qo = {
7536
7536
  name: "blockQuote",
7537
- tokenize: Gc,
7537
+ tokenize: Wc,
7538
7538
  continuation: {
7539
- tokenize: Wc
7539
+ tokenize: Yc
7540
7540
  },
7541
- exit: Yc
7541
+ exit: Xc
7542
7542
  };
7543
- function Gc(e, t, n) {
7543
+ function Wc(e, t, n) {
7544
7544
  const r = this;
7545
7545
  return a;
7546
7546
  function a(l) {
@@ -7556,7 +7556,7 @@ function Gc(e, t, n) {
7556
7556
  return he(l) ? (e.enter("blockQuotePrefixWhitespace"), e.consume(l), e.exit("blockQuotePrefixWhitespace"), e.exit("blockQuotePrefix"), t) : (e.exit("blockQuotePrefix"), t(l));
7557
7557
  }
7558
7558
  }
7559
- function Wc(e, t, n) {
7559
+ function Yc(e, t, n) {
7560
7560
  const r = this;
7561
7561
  return a;
7562
7562
  function a(l) {
@@ -7571,27 +7571,27 @@ function Wc(e, t, n) {
7571
7571
  return e.attempt(qo, t, n)(l);
7572
7572
  }
7573
7573
  }
7574
- function Yc(e) {
7574
+ function Xc(e) {
7575
7575
  e.exit("blockQuote");
7576
7576
  }
7577
7577
  const Go = {
7578
7578
  name: "characterEscape",
7579
- tokenize: Xc
7579
+ tokenize: Zc
7580
7580
  };
7581
- function Xc(e, t, n) {
7581
+ function Zc(e, t, n) {
7582
7582
  return r;
7583
7583
  function r(o) {
7584
7584
  return e.enter("characterEscape"), e.enter("escapeMarker"), e.consume(o), e.exit("escapeMarker"), a;
7585
7585
  }
7586
7586
  function a(o) {
7587
- return Ic(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o);
7587
+ return Lc(o) ? (e.enter("characterEscapeValue"), e.consume(o), e.exit("characterEscapeValue"), e.exit("characterEscape"), t) : n(o);
7588
7588
  }
7589
7589
  }
7590
7590
  const Wo = {
7591
7591
  name: "characterReference",
7592
- tokenize: Zc
7592
+ tokenize: Kc
7593
7593
  };
7594
- function Zc(e, t, n) {
7594
+ function Kc(e, t, n) {
7595
7595
  const r = this;
7596
7596
  let a = 0, o, l;
7597
7597
  return i;
@@ -7602,7 +7602,7 @@ function Zc(e, t, n) {
7602
7602
  return s === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(s), e.exit("characterReferenceMarkerNumeric"), g) : (e.enter("characterReferenceValue"), o = 31, l = je, d(s));
7603
7603
  }
7604
7604
  function g(s) {
7605
- return s === 88 || s === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(s), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Pc, d) : (e.enter("characterReferenceValue"), o = 7, l = Lr, d(s));
7605
+ return s === 88 || s === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(s), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, l = Ic, d) : (e.enter("characterReferenceValue"), o = 7, l = Lr, d(s));
7606
7606
  }
7607
7607
  function d(s) {
7608
7608
  if (s === 59 && a) {
@@ -7613,14 +7613,14 @@ function Zc(e, t, n) {
7613
7613
  }
7614
7614
  }
7615
7615
  const ua = {
7616
- tokenize: Jc,
7616
+ tokenize: Qc,
7617
7617
  partial: !0
7618
7618
  }, ca = {
7619
7619
  name: "codeFenced",
7620
- tokenize: Kc,
7620
+ tokenize: Jc,
7621
7621
  concrete: !0
7622
7622
  };
7623
- function Kc(e, t, n) {
7623
+ function Jc(e, t, n) {
7624
7624
  const r = this, a = {
7625
7625
  tokenize: _,
7626
7626
  partial: !0
@@ -7701,7 +7701,7 @@ function Kc(e, t, n) {
7701
7701
  }
7702
7702
  }
7703
7703
  }
7704
- function Jc(e, t, n) {
7704
+ function Qc(e, t, n) {
7705
7705
  const r = this;
7706
7706
  return a;
7707
7707
  function a(l) {
@@ -7713,12 +7713,12 @@ function Jc(e, t, n) {
7713
7713
  }
7714
7714
  const ir = {
7715
7715
  name: "codeIndented",
7716
- tokenize: ef
7717
- }, Qc = {
7718
- tokenize: tf,
7716
+ tokenize: tf
7717
+ }, ef = {
7718
+ tokenize: nf,
7719
7719
  partial: !0
7720
7720
  };
7721
- function ef(e, t, n) {
7721
+ function tf(e, t, n) {
7722
7722
  const r = this;
7723
7723
  return a;
7724
7724
  function a(g) {
@@ -7729,7 +7729,7 @@ function ef(e, t, n) {
7729
7729
  return d && d[1].type === "linePrefix" && d[2].sliceSerialize(d[1], !0).length >= 4 ? l(g) : n(g);
7730
7730
  }
7731
7731
  function l(g) {
7732
- return g === null ? m(g) : J(g) ? e.attempt(Qc, l, m)(g) : (e.enter("codeFlowValue"), i(g));
7732
+ return g === null ? m(g) : J(g) ? e.attempt(ef, l, m)(g) : (e.enter("codeFlowValue"), i(g));
7733
7733
  }
7734
7734
  function i(g) {
7735
7735
  return g === null || J(g) ? (e.exit("codeFlowValue"), l(g)) : (e.consume(g), i);
@@ -7738,7 +7738,7 @@ function ef(e, t, n) {
7738
7738
  return e.exit("codeIndented"), t(g);
7739
7739
  }
7740
7740
  }
7741
- function tf(e, t, n) {
7741
+ function nf(e, t, n) {
7742
7742
  const r = this;
7743
7743
  return a;
7744
7744
  function a(l) {
@@ -7749,13 +7749,13 @@ function tf(e, t, n) {
7749
7749
  return i && i[1].type === "linePrefix" && i[2].sliceSerialize(i[1], !0).length >= 4 ? t(l) : J(l) ? a(l) : n(l);
7750
7750
  }
7751
7751
  }
7752
- const nf = {
7752
+ const rf = {
7753
7753
  name: "codeText",
7754
- tokenize: of,
7755
- resolve: rf,
7756
- previous: af
7754
+ tokenize: sf,
7755
+ resolve: af,
7756
+ previous: of
7757
7757
  };
7758
- function rf(e) {
7758
+ function af(e) {
7759
7759
  let t = e.length - 4, n = 3, r, a;
7760
7760
  if ((e[n][1].type === "lineEnding" || e[n][1].type === "space") && (e[t][1].type === "lineEnding" || e[t][1].type === "space")) {
7761
7761
  for (r = n; ++r < t; )
@@ -7768,10 +7768,10 @@ function rf(e) {
7768
7768
  a === void 0 ? r !== t && e[r][1].type !== "lineEnding" && (a = r) : (r === t || e[r][1].type === "lineEnding") && (e[a][1].type = "codeTextData", r !== a + 2 && (e[a][1].end = e[r - 1][1].end, e.splice(a + 2, r - a - 2), t -= r - a - 2, r = a + 2), a = void 0);
7769
7769
  return e;
7770
7770
  }
7771
- function af(e) {
7771
+ function of(e) {
7772
7772
  return e !== 96 || this.events[this.events.length - 1][1].type === "characterEscape";
7773
7773
  }
7774
- function of(e, t, n) {
7774
+ function sf(e, t, n) {
7775
7775
  let r = 0, a, o;
7776
7776
  return l;
7777
7777
  function l(s) {
@@ -7800,7 +7800,7 @@ function Yo(e) {
7800
7800
  for (; ++o < m.length && m[o][1].type !== "content"; )
7801
7801
  m[o][1].type === "chunkText" && (m[o][1]._isInFirstContentOfListItem = !0, o++);
7802
7802
  if (r[0] === "enter")
7803
- r[1].contentType && (Object.assign(t, sf(e, n)), n = t[n], g = !0);
7803
+ r[1].contentType && (Object.assign(t, lf(e, n)), n = t[n], g = !0);
7804
7804
  else if (r[1]._container) {
7805
7805
  for (o = n, a = void 0; o-- && (l = e[o], l[1].type === "lineEnding" || l[1].type === "lineEndingBlank"); )
7806
7806
  l[0] === "enter" && (a && (e[a][1].type = "lineEndingBlank"), l[1].type = "lineEnding", a = o);
@@ -7809,7 +7809,7 @@ function Yo(e) {
7809
7809
  }
7810
7810
  return !g;
7811
7811
  }
7812
- function sf(e, t) {
7812
+ function lf(e, t) {
7813
7813
  const n = e[t][1], r = e[t][2];
7814
7814
  let a = t - 1;
7815
7815
  const o = [], l = n._tokenizer || r.parser[n.contentType](n.start), i = l.events, m = [], g = {};
@@ -7831,17 +7831,17 @@ function sf(e, t) {
7831
7831
  g[h + m[c][0]] = h + m[c][1], h += m[c][1] - m[c][0] - 1;
7832
7832
  return g;
7833
7833
  }
7834
- const lf = {
7835
- tokenize: ff,
7836
- resolve: cf
7837
- }, uf = {
7834
+ const uf = {
7838
7835
  tokenize: hf,
7836
+ resolve: ff
7837
+ }, cf = {
7838
+ tokenize: pf,
7839
7839
  partial: !0
7840
7840
  };
7841
- function cf(e) {
7841
+ function ff(e) {
7842
7842
  return Yo(e), e;
7843
7843
  }
7844
- function ff(e, t) {
7844
+ function hf(e, t) {
7845
7845
  let n;
7846
7846
  return r;
7847
7847
  function r(i) {
@@ -7851,7 +7851,7 @@ function ff(e, t) {
7851
7851
  }
7852
7852
  function a(i) {
7853
7853
  return i === null ? o(i) : J(i) ? e.check(
7854
- uf,
7854
+ cf,
7855
7855
  l,
7856
7856
  o
7857
7857
  )(i) : (e.consume(i), a);
@@ -7866,7 +7866,7 @@ function ff(e, t) {
7866
7866
  }), n = n.next, a;
7867
7867
  }
7868
7868
  }
7869
- function hf(e, t, n) {
7869
+ function pf(e, t, n) {
7870
7870
  const r = this;
7871
7871
  return a;
7872
7872
  function a(l) {
@@ -7962,14 +7962,14 @@ function Jt(e, t) {
7962
7962
  )(a) : t(a);
7963
7963
  }
7964
7964
  }
7965
- const pf = {
7965
+ const df = {
7966
7966
  name: "definition",
7967
- tokenize: mf
7968
- }, df = {
7969
- tokenize: gf,
7967
+ tokenize: gf
7968
+ }, mf = {
7969
+ tokenize: yf,
7970
7970
  partial: !0
7971
7971
  };
7972
- function mf(e, t, n) {
7972
+ function gf(e, t, n) {
7973
7973
  const r = this;
7974
7974
  let a;
7975
7975
  return o;
@@ -8010,7 +8010,7 @@ function mf(e, t, n) {
8010
8010
  )(u);
8011
8011
  }
8012
8012
  function d(u) {
8013
- return e.attempt(df, s, s)(u);
8013
+ return e.attempt(mf, s, s)(u);
8014
8014
  }
8015
8015
  function s(u) {
8016
8016
  return he(u) ? ve(e, c, "whitespace")(u) : c(u);
@@ -8019,7 +8019,7 @@ function mf(e, t, n) {
8019
8019
  return u === null || J(u) ? (e.exit("definition"), r.parser.defined.push(a), t(u)) : n(u);
8020
8020
  }
8021
8021
  }
8022
- function gf(e, t, n) {
8022
+ function yf(e, t, n) {
8023
8023
  return r;
8024
8024
  function r(i) {
8025
8025
  return Ne(i) ? Jt(e, a)(i) : n(i);
@@ -8041,11 +8041,11 @@ function gf(e, t, n) {
8041
8041
  return i === null || J(i) ? t(i) : n(i);
8042
8042
  }
8043
8043
  }
8044
- const yf = {
8044
+ const bf = {
8045
8045
  name: "hardBreakEscape",
8046
- tokenize: bf
8046
+ tokenize: vf
8047
8047
  };
8048
- function bf(e, t, n) {
8048
+ function vf(e, t, n) {
8049
8049
  return r;
8050
8050
  function r(o) {
8051
8051
  return e.enter("hardBreakEscape"), e.consume(o), a;
@@ -8054,12 +8054,12 @@ function bf(e, t, n) {
8054
8054
  return J(o) ? (e.exit("hardBreakEscape"), t(o)) : n(o);
8055
8055
  }
8056
8056
  }
8057
- const vf = {
8057
+ const xf = {
8058
8058
  name: "headingAtx",
8059
- tokenize: _f,
8060
- resolve: xf
8059
+ tokenize: wf,
8060
+ resolve: _f
8061
8061
  };
8062
- function xf(e, t) {
8062
+ function _f(e, t) {
8063
8063
  let n = e.length - 2, r = 3, a, o;
8064
8064
  return e[r][1].type === "whitespace" && (r += 2), n - 2 > r && e[n][1].type === "whitespace" && (n -= 2), e[n][1].type === "atxHeadingSequence" && (r === n - 1 || n - 4 > r && e[n - 2][1].type === "whitespace") && (n -= r + 1 === n ? 2 : 4), n > r && (a = {
8065
8065
  type: "atxHeadingText",
@@ -8077,7 +8077,7 @@ function xf(e, t) {
8077
8077
  ["exit", a, t]
8078
8078
  ])), e;
8079
8079
  }
8080
- function _f(e, t, n) {
8080
+ function wf(e, t, n) {
8081
8081
  let r = 0;
8082
8082
  return a;
8083
8083
  function a(d) {
@@ -8099,7 +8099,7 @@ function _f(e, t, n) {
8099
8099
  return d === null || d === 35 || Ne(d) ? (e.exit("atxHeadingText"), i(d)) : (e.consume(d), g);
8100
8100
  }
8101
8101
  }
8102
- const wf = [
8102
+ const Ef = [
8103
8103
  "address",
8104
8104
  "article",
8105
8105
  "aside",
@@ -8162,25 +8162,25 @@ const wf = [
8162
8162
  "tr",
8163
8163
  "track",
8164
8164
  "ul"
8165
- ], fa = ["pre", "script", "style", "textarea"], Ef = {
8165
+ ], fa = ["pre", "script", "style", "textarea"], Sf = {
8166
8166
  name: "htmlFlow",
8167
- tokenize: Cf,
8168
- resolveTo: Tf,
8167
+ tokenize: Rf,
8168
+ resolveTo: Cf,
8169
8169
  concrete: !0
8170
- }, Sf = {
8171
- tokenize: Af,
8172
- partial: !0
8173
8170
  }, kf = {
8174
- tokenize: Rf,
8171
+ tokenize: $f,
8172
+ partial: !0
8173
+ }, Tf = {
8174
+ tokenize: Af,
8175
8175
  partial: !0
8176
8176
  };
8177
- function Tf(e) {
8177
+ function Cf(e) {
8178
8178
  let t = e.length;
8179
8179
  for (; t-- && !(e[t][0] === "enter" && e[t][1].type === "htmlFlow"); )
8180
8180
  ;
8181
8181
  return t > 1 && e[t - 2][1].type === "linePrefix" && (e[t][1].start = e[t - 2][1].start, e[t + 1][1].start = e[t - 2][1].start, e.splice(t - 2, 2)), e;
8182
8182
  }
8183
- function Cf(e, t, n) {
8183
+ function Rf(e, t, n) {
8184
8184
  const r = this;
8185
8185
  let a, o, l, i, m;
8186
8186
  return g;
@@ -8209,7 +8209,7 @@ function Cf(e, t, n) {
8209
8209
  function b(R) {
8210
8210
  if (R === null || R === 47 || R === 62 || Ne(R)) {
8211
8211
  const V = R === 47, K = l.toLowerCase();
8212
- return !V && !o && fa.includes(K) ? (a = 1, r.interrupt ? t(R) : O(R)) : wf.includes(l.toLowerCase()) ? (a = 6, V ? (e.consume(R), p) : r.interrupt ? t(R) : O(R)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(R) : o ? y(R) : v(R));
8212
+ return !V && !o && fa.includes(K) ? (a = 1, r.interrupt ? t(R) : O(R)) : Ef.includes(l.toLowerCase()) ? (a = 6, V ? (e.consume(R), p) : r.interrupt ? t(R) : O(R)) : (a = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(R) : o ? y(R) : v(R));
8213
8213
  }
8214
8214
  return R === 45 || je(R) ? (e.consume(R), l += String.fromCharCode(R), b) : n(R);
8215
8215
  }
@@ -8248,14 +8248,14 @@ function Cf(e, t, n) {
8248
8248
  }
8249
8249
  function O(R) {
8250
8250
  return R === 45 && a === 2 ? (e.consume(R), z) : R === 60 && a === 1 ? (e.consume(R), G) : R === 62 && a === 4 ? (e.consume(R), N) : R === 63 && a === 3 ? (e.consume(R), T) : R === 93 && a === 5 ? (e.consume(R), pe) : J(R) && (a === 6 || a === 7) ? (e.exit("htmlFlowData"), e.check(
8251
- Sf,
8251
+ kf,
8252
8252
  U,
8253
8253
  P
8254
8254
  )(R)) : R === null || J(R) ? (e.exit("htmlFlowData"), P(R)) : (e.consume(R), O);
8255
8255
  }
8256
8256
  function P(R) {
8257
8257
  return e.check(
8258
- kf,
8258
+ Tf,
8259
8259
  L,
8260
8260
  U
8261
8261
  )(R);
@@ -8292,7 +8292,7 @@ function Cf(e, t, n) {
8292
8292
  return e.exit("htmlFlow"), t(R);
8293
8293
  }
8294
8294
  }
8295
- function Rf(e, t, n) {
8295
+ function Af(e, t, n) {
8296
8296
  const r = this;
8297
8297
  return a;
8298
8298
  function a(l) {
@@ -8302,17 +8302,17 @@ function Rf(e, t, n) {
8302
8302
  return r.parser.lazy[r.now().line] ? n(l) : t(l);
8303
8303
  }
8304
8304
  }
8305
- function Af(e, t, n) {
8305
+ function $f(e, t, n) {
8306
8306
  return r;
8307
8307
  function r(a) {
8308
8308
  return e.enter("lineEnding"), e.consume(a), e.exit("lineEnding"), e.attempt(Pn, t, n);
8309
8309
  }
8310
8310
  }
8311
- const $f = {
8311
+ const Of = {
8312
8312
  name: "htmlText",
8313
- tokenize: Of
8313
+ tokenize: Pf
8314
8314
  };
8315
- function Of(e, t, n) {
8315
+ function Pf(e, t, n) {
8316
8316
  const r = this;
8317
8317
  let a, o, l;
8318
8318
  return i;
@@ -8412,17 +8412,17 @@ function Of(e, t, n) {
8412
8412
  }
8413
8413
  const ai = {
8414
8414
  name: "labelEnd",
8415
- tokenize: Mf,
8416
- resolveTo: Df,
8417
- resolveAll: Nf
8418
- }, Pf = {
8419
- tokenize: jf
8415
+ tokenize: jf,
8416
+ resolveTo: Mf,
8417
+ resolveAll: Df
8420
8418
  }, If = {
8421
8419
  tokenize: Ff
8422
8420
  }, Lf = {
8423
8421
  tokenize: Bf
8422
+ }, Nf = {
8423
+ tokenize: Hf
8424
8424
  };
8425
- function Nf(e) {
8425
+ function Df(e) {
8426
8426
  let t = -1;
8427
8427
  for (; ++t < e.length; ) {
8428
8428
  const n = e[t][1];
@@ -8430,7 +8430,7 @@ function Nf(e) {
8430
8430
  }
8431
8431
  return e;
8432
8432
  }
8433
- function Df(e, t) {
8433
+ function Mf(e, t) {
8434
8434
  let n = e.length, r = 0, a, o, l, i;
8435
8435
  for (; n--; )
8436
8436
  if (a = e[n][1], o) {
@@ -8473,7 +8473,7 @@ function Df(e, t) {
8473
8473
  ["exit", g, t]
8474
8474
  ]), i = He(i, e.slice(l + 1)), i = He(i, [["exit", m, t]]), nt(e, o, e.length, i), e;
8475
8475
  }
8476
- function Mf(e, t, n) {
8476
+ function jf(e, t, n) {
8477
8477
  const r = this;
8478
8478
  let a = r.events.length, o, l;
8479
8479
  for (; a--; )
@@ -8494,18 +8494,18 @@ function Mf(e, t, n) {
8494
8494
  }
8495
8495
  function m(c) {
8496
8496
  return c === 40 ? e.attempt(
8497
- Pf,
8497
+ If,
8498
8498
  d,
8499
8499
  l ? d : s
8500
8500
  )(c) : c === 91 ? e.attempt(
8501
- If,
8501
+ Lf,
8502
8502
  d,
8503
8503
  l ? g : s
8504
8504
  )(c) : l ? d(c) : s(c);
8505
8505
  }
8506
8506
  function g(c) {
8507
8507
  return e.attempt(
8508
- Lf,
8508
+ Nf,
8509
8509
  d,
8510
8510
  s
8511
8511
  )(c);
@@ -8517,7 +8517,7 @@ function Mf(e, t, n) {
8517
8517
  return o._balanced = !0, n(c);
8518
8518
  }
8519
8519
  }
8520
- function jf(e, t, n) {
8520
+ function Ff(e, t, n) {
8521
8521
  return r;
8522
8522
  function r(s) {
8523
8523
  return e.enter("resource"), e.enter("resourceMarker"), e.consume(s), e.exit("resourceMarker"), a;
@@ -8561,7 +8561,7 @@ function jf(e, t, n) {
8561
8561
  return s === 41 ? (e.enter("resourceMarker"), e.consume(s), e.exit("resourceMarker"), e.exit("resource"), t) : n(s);
8562
8562
  }
8563
8563
  }
8564
- function Ff(e, t, n) {
8564
+ function Bf(e, t, n) {
8565
8565
  const r = this;
8566
8566
  return a;
8567
8567
  function a(i) {
@@ -8586,7 +8586,7 @@ function Ff(e, t, n) {
8586
8586
  return n(i);
8587
8587
  }
8588
8588
  }
8589
- function Bf(e, t, n) {
8589
+ function Hf(e, t, n) {
8590
8590
  return r;
8591
8591
  function r(o) {
8592
8592
  return e.enter("reference"), e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), a;
@@ -8595,12 +8595,12 @@ function Bf(e, t, n) {
8595
8595
  return o === 93 ? (e.enter("referenceMarker"), e.consume(o), e.exit("referenceMarker"), e.exit("reference"), t) : n(o);
8596
8596
  }
8597
8597
  }
8598
- const Hf = {
8598
+ const zf = {
8599
8599
  name: "labelStartImage",
8600
- tokenize: zf,
8600
+ tokenize: Uf,
8601
8601
  resolveAll: ai.resolveAll
8602
8602
  };
8603
- function zf(e, t, n) {
8603
+ function Uf(e, t, n) {
8604
8604
  const r = this;
8605
8605
  return a;
8606
8606
  function a(i) {
@@ -8613,12 +8613,12 @@ function zf(e, t, n) {
8613
8613
  return i === 94 && "_hiddenFootnoteSupport" in r.parser.constructs ? n(i) : t(i);
8614
8614
  }
8615
8615
  }
8616
- const Uf = {
8616
+ const Vf = {
8617
8617
  name: "labelStartLink",
8618
- tokenize: Vf,
8618
+ tokenize: qf,
8619
8619
  resolveAll: ai.resolveAll
8620
8620
  };
8621
- function Vf(e, t, n) {
8621
+ function qf(e, t, n) {
8622
8622
  const r = this;
8623
8623
  return a;
8624
8624
  function a(l) {
@@ -8630,9 +8630,9 @@ function Vf(e, t, n) {
8630
8630
  }
8631
8631
  const ar = {
8632
8632
  name: "lineEnding",
8633
- tokenize: qf
8633
+ tokenize: Gf
8634
8634
  };
8635
- function qf(e, t) {
8635
+ function Gf(e, t) {
8636
8636
  return n;
8637
8637
  function n(r) {
8638
8638
  return e.enter("lineEnding"), e.consume(r), e.exit("lineEnding"), ve(e, t, "linePrefix");
@@ -8640,9 +8640,9 @@ function qf(e, t) {
8640
8640
  }
8641
8641
  const yn = {
8642
8642
  name: "thematicBreak",
8643
- tokenize: Gf
8643
+ tokenize: Wf
8644
8644
  };
8645
- function Gf(e, t, n) {
8645
+ function Wf(e, t, n) {
8646
8646
  let r = 0, a;
8647
8647
  return o;
8648
8648
  function o(g) {
@@ -8660,19 +8660,19 @@ function Gf(e, t, n) {
8660
8660
  }
8661
8661
  const Ie = {
8662
8662
  name: "list",
8663
- tokenize: Xf,
8663
+ tokenize: Zf,
8664
8664
  continuation: {
8665
- tokenize: Zf
8665
+ tokenize: Kf
8666
8666
  },
8667
- exit: Jf
8668
- }, Wf = {
8669
- tokenize: Qf,
8670
- partial: !0
8667
+ exit: Qf
8671
8668
  }, Yf = {
8672
- tokenize: Kf,
8669
+ tokenize: eh,
8670
+ partial: !0
8671
+ }, Xf = {
8672
+ tokenize: Jf,
8673
8673
  partial: !0
8674
8674
  };
8675
- function Xf(e, t, n) {
8675
+ function Zf(e, t, n) {
8676
8676
  const r = this, a = r.events[r.events.length - 1];
8677
8677
  let o = a && a[1].type === "linePrefix" ? a[2].sliceSerialize(a[1], !0).length : 0, l = 0;
8678
8678
  return i;
@@ -8697,7 +8697,7 @@ function Xf(e, t, n) {
8697
8697
  // Can’t be empty when interrupting.
8698
8698
  r.interrupt ? n : d,
8699
8699
  e.attempt(
8700
- Wf,
8700
+ Yf,
8701
8701
  c,
8702
8702
  s
8703
8703
  )
@@ -8713,7 +8713,7 @@ function Xf(e, t, n) {
8713
8713
  return r.containerState.size = o + r.sliceSerialize(e.exit("listItemPrefix"), !0).length, t(u);
8714
8714
  }
8715
8715
  }
8716
- function Zf(e, t, n) {
8716
+ function Kf(e, t, n) {
8717
8717
  const r = this;
8718
8718
  return r.containerState._closeFlow = void 0, e.check(Pn, a, o);
8719
8719
  function a(i) {
@@ -8725,7 +8725,7 @@ function Zf(e, t, n) {
8725
8725
  )(i);
8726
8726
  }
8727
8727
  function o(i) {
8728
- return r.containerState.furtherBlankLines || !he(i) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(i)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Yf, t, l)(i));
8728
+ return r.containerState.furtherBlankLines || !he(i) ? (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, l(i)) : (r.containerState.furtherBlankLines = void 0, r.containerState.initialBlankLine = void 0, e.attempt(Xf, t, l)(i));
8729
8729
  }
8730
8730
  function l(i) {
8731
8731
  return r.containerState._closeFlow = !0, r.interrupt = void 0, ve(
@@ -8736,7 +8736,7 @@ function Zf(e, t, n) {
8736
8736
  )(i);
8737
8737
  }
8738
8738
  }
8739
- function Kf(e, t, n) {
8739
+ function Jf(e, t, n) {
8740
8740
  const r = this;
8741
8741
  return ve(
8742
8742
  e,
@@ -8749,10 +8749,10 @@ function Kf(e, t, n) {
8749
8749
  return l && l[1].type === "listItemIndent" && l[2].sliceSerialize(l[1], !0).length === r.containerState.size ? t(o) : n(o);
8750
8750
  }
8751
8751
  }
8752
- function Jf(e) {
8752
+ function Qf(e) {
8753
8753
  e.exit(this.containerState.type);
8754
8754
  }
8755
- function Qf(e, t, n) {
8755
+ function eh(e, t, n) {
8756
8756
  const r = this;
8757
8757
  return ve(
8758
8758
  e,
@@ -8767,10 +8767,10 @@ function Qf(e, t, n) {
8767
8767
  }
8768
8768
  const ha = {
8769
8769
  name: "setextUnderline",
8770
- tokenize: th,
8771
- resolveTo: eh
8770
+ tokenize: nh,
8771
+ resolveTo: th
8772
8772
  };
8773
- function eh(e, t) {
8773
+ function th(e, t) {
8774
8774
  let n = e.length, r, a, o;
8775
8775
  for (; n--; )
8776
8776
  if (e[n][0] === "enter") {
@@ -8788,7 +8788,7 @@ function eh(e, t) {
8788
8788
  };
8789
8789
  return e[a][1].type = "setextHeadingText", o ? (e.splice(a, 0, ["enter", l, t]), e.splice(o + 1, 0, ["exit", e[r][1], t]), e[r][1].end = Object.assign({}, e[o][1].end)) : e[r][1] = l, e.push(["exit", l, t]), e;
8790
8790
  }
8791
- function th(e, t, n) {
8791
+ function nh(e, t, n) {
8792
8792
  const r = this;
8793
8793
  let a;
8794
8794
  return o;
@@ -8811,10 +8811,10 @@ function th(e, t, n) {
8811
8811
  return g === null || J(g) ? (e.exit("setextHeadingLine"), t(g)) : n(g);
8812
8812
  }
8813
8813
  }
8814
- const nh = {
8815
- tokenize: rh
8814
+ const rh = {
8815
+ tokenize: ih
8816
8816
  };
8817
- function rh(e) {
8817
+ function ih(e) {
8818
8818
  const t = this, n = e.attempt(
8819
8819
  // Try to parse a blank line.
8820
8820
  Pn,
@@ -8828,7 +8828,7 @@ function rh(e) {
8828
8828
  e.attempt(
8829
8829
  this.parser.constructs.flow,
8830
8830
  a,
8831
- e.attempt(lf, a)
8831
+ e.attempt(uf, a)
8832
8832
  ),
8833
8833
  "linePrefix"
8834
8834
  )
@@ -8850,14 +8850,14 @@ function rh(e) {
8850
8850
  return e.enter("lineEnding"), e.consume(o), e.exit("lineEnding"), t.currentConstruct = void 0, n;
8851
8851
  }
8852
8852
  }
8853
- const ih = {
8853
+ const ah = {
8854
8854
  resolveAll: Qo()
8855
- }, ah = Jo("string"), oh = Jo("text");
8855
+ }, oh = Jo("string"), sh = Jo("text");
8856
8856
  function Jo(e) {
8857
8857
  return {
8858
8858
  tokenize: t,
8859
8859
  resolveAll: Qo(
8860
- e === "text" ? sh : void 0
8860
+ e === "text" ? lh : void 0
8861
8861
  )
8862
8862
  };
8863
8863
  function t(n) {
@@ -8900,7 +8900,7 @@ function Qo(e) {
8900
8900
  return e ? e(n, r) : n;
8901
8901
  }
8902
8902
  }
8903
- function sh(e, t) {
8903
+ function lh(e, t) {
8904
8904
  let n = 0;
8905
8905
  for (; ++n <= e.length; )
8906
8906
  if ((n === e.length || e[n][1].type === "lineEnding") && e[n - 1][1].type === "data") {
@@ -8943,7 +8943,7 @@ function sh(e, t) {
8943
8943
  }
8944
8944
  return e;
8945
8945
  }
8946
- function lh(e, t, n) {
8946
+ function uh(e, t, n) {
8947
8947
  let r = Object.assign(
8948
8948
  n ? Object.assign({}, n) : {
8949
8949
  line: 1,
@@ -8984,10 +8984,10 @@ function lh(e, t, n) {
8984
8984
  return l = He(l, A), b(), l[l.length - 1] !== null ? [] : (x(t, 0), g.events = ii(o, g.events, g), g.events);
8985
8985
  }
8986
8986
  function c(A, O) {
8987
- return ch(u(A), O);
8987
+ return fh(u(A), O);
8988
8988
  }
8989
8989
  function u(A) {
8990
- return uh(l, A);
8990
+ return ch(l, A);
8991
8991
  }
8992
8992
  function h() {
8993
8993
  const { line: A, column: O, offset: P, _index: L, _bufferIndex: D } = r;
@@ -9100,7 +9100,7 @@ function lh(e, t, n) {
9100
9100
  r.line in a && r.column < 2 && (r.column = a[r.line], r.offset += a[r.line] - 1);
9101
9101
  }
9102
9102
  }
9103
- function uh(e, t) {
9103
+ function ch(e, t) {
9104
9104
  const n = t.start._index, r = t.start._bufferIndex, a = t.end._index, o = t.end._bufferIndex;
9105
9105
  let l;
9106
9106
  if (n === a)
@@ -9114,7 +9114,7 @@ function uh(e, t) {
9114
9114
  }
9115
9115
  return l;
9116
9116
  }
9117
- function ch(e, t) {
9117
+ function fh(e, t) {
9118
9118
  let n = -1;
9119
9119
  const r = [];
9120
9120
  let a;
@@ -9155,7 +9155,7 @@ function ch(e, t) {
9155
9155
  }
9156
9156
  return r.join("");
9157
9157
  }
9158
- const fh = {
9158
+ const hh = {
9159
9159
  42: Ie,
9160
9160
  43: Ie,
9161
9161
  45: Ie,
@@ -9170,84 +9170,84 @@ const fh = {
9170
9170
  56: Ie,
9171
9171
  57: Ie,
9172
9172
  62: qo
9173
- }, hh = {
9174
- 91: pf
9175
9173
  }, ph = {
9174
+ 91: df
9175
+ }, dh = {
9176
9176
  [-2]: ir,
9177
9177
  [-1]: ir,
9178
9178
  32: ir
9179
- }, dh = {
9180
- 35: vf,
9179
+ }, mh = {
9180
+ 35: xf,
9181
9181
  42: yn,
9182
9182
  45: [ha, yn],
9183
- 60: Ef,
9183
+ 60: Sf,
9184
9184
  61: ha,
9185
9185
  95: yn,
9186
9186
  96: ca,
9187
9187
  126: ca
9188
- }, mh = {
9188
+ }, gh = {
9189
9189
  38: Wo,
9190
9190
  92: Go
9191
- }, gh = {
9191
+ }, yh = {
9192
9192
  [-5]: ar,
9193
9193
  [-4]: ar,
9194
9194
  [-3]: ar,
9195
- 33: Hf,
9195
+ 33: zf,
9196
9196
  38: Wo,
9197
9197
  42: Nr,
9198
- 60: [Uc, $f],
9199
- 91: Uf,
9200
- 92: [yf, Go],
9198
+ 60: [Vc, Of],
9199
+ 91: Vf,
9200
+ 92: [bf, Go],
9201
9201
  93: ai,
9202
9202
  95: Nr,
9203
- 96: nf
9204
- }, yh = {
9205
- null: [Nr, ih]
9203
+ 96: rf
9206
9204
  }, bh = {
9207
- null: [42, 95]
9205
+ null: [Nr, ah]
9208
9206
  }, vh = {
9207
+ null: [42, 95]
9208
+ }, xh = {
9209
9209
  null: []
9210
- }, xh = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9210
+ }, _h = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9211
9211
  __proto__: null,
9212
- attentionMarkers: bh,
9213
- contentInitial: hh,
9214
- disable: vh,
9215
- document: fh,
9216
- flow: dh,
9217
- flowInitial: ph,
9218
- insideSpan: yh,
9219
- string: mh,
9220
- text: gh
9212
+ attentionMarkers: vh,
9213
+ contentInitial: ph,
9214
+ disable: xh,
9215
+ document: hh,
9216
+ flow: mh,
9217
+ flowInitial: dh,
9218
+ insideSpan: bh,
9219
+ string: gh,
9220
+ text: yh
9221
9221
  }, Symbol.toStringTag, { value: "Module" }));
9222
- function _h(e) {
9222
+ function wh(e) {
9223
9223
  const n = (
9224
9224
  /** @type {FullNormalizedExtension} */
9225
- Rc([xh, ...(e || {}).extensions || []])
9225
+ Ac([_h, ...(e || {}).extensions || []])
9226
9226
  ), r = {
9227
9227
  defined: [],
9228
9228
  lazy: {},
9229
9229
  constructs: n,
9230
- content: a(Dc),
9231
- document: a(jc),
9232
- flow: a(nh),
9233
- string: a(ah),
9234
- text: a(oh)
9230
+ content: a(Mc),
9231
+ document: a(Fc),
9232
+ flow: a(rh),
9233
+ string: a(oh),
9234
+ text: a(sh)
9235
9235
  };
9236
9236
  return r;
9237
9237
  function a(o) {
9238
9238
  return l;
9239
9239
  function l(i) {
9240
- return lh(r, o, i);
9240
+ return uh(r, o, i);
9241
9241
  }
9242
9242
  }
9243
9243
  }
9244
- function wh(e) {
9244
+ function Eh(e) {
9245
9245
  for (; !Yo(e); )
9246
9246
  ;
9247
9247
  return e;
9248
9248
  }
9249
9249
  const pa = /[\0\t\n\r]/g;
9250
- function Eh() {
9250
+ function Sh() {
9251
9251
  let e = 1, t = "", n = !0, r;
9252
9252
  return a;
9253
9253
  function a(o, l, i) {
@@ -9282,11 +9282,11 @@ function Eh() {
9282
9282
  return i && (r && m.push(-5), t && m.push(t), m.push(null)), m;
9283
9283
  }
9284
9284
  }
9285
- const Sh = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
9286
- function kh(e) {
9287
- return e.replace(Sh, Th);
9285
+ const kh = /\\([!-/:-@[-`{-~])|&(#(?:\d{1,7}|x[\da-f]{1,6})|[\da-z]{1,31});/gi;
9286
+ function Th(e) {
9287
+ return e.replace(kh, Ch);
9288
9288
  }
9289
- function Th(e, t, n) {
9289
+ function Ch(e, t, n) {
9290
9290
  if (t)
9291
9291
  return t;
9292
9292
  if (n.charCodeAt(0) === 35) {
@@ -9296,14 +9296,14 @@ function Th(e, t, n) {
9296
9296
  return ri(n) || e;
9297
9297
  }
9298
9298
  const es = {}.hasOwnProperty;
9299
- function Ch(e, t, n) {
9300
- return typeof t != "string" && (n = t, t = void 0), Rh(n)(
9301
- wh(
9302
- _h(n).document().write(Eh()(e, t, !0))
9299
+ function Rh(e, t, n) {
9300
+ return typeof t != "string" && (n = t, t = void 0), Ah(n)(
9301
+ Eh(
9302
+ wh(n).document().write(Sh()(e, t, !0))
9303
9303
  )
9304
9304
  );
9305
9305
  }
9306
- function Rh(e) {
9306
+ function Ah(e) {
9307
9307
  const t = {
9308
9308
  transforms: [],
9309
9309
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
@@ -9554,7 +9554,7 @@ function Rh(e) {
9554
9554
  Z.position.end = ut(I.end);
9555
9555
  }
9556
9556
  function d() {
9557
- return Tc(this.stack.pop());
9557
+ return Cc(this.stack.pop());
9558
9558
  }
9559
9559
  function s() {
9560
9560
  this.data.expectingFirstListItemValue = !0;
@@ -9672,7 +9672,7 @@ function Rh(e) {
9672
9672
  }
9673
9673
  function re(I) {
9674
9674
  const F = this.sliceSerialize(I), Z = this.stack[this.stack.length - 2];
9675
- Z.label = kh(F), Z.identifier = Nt(F).toLowerCase();
9675
+ Z.label = Th(F), Z.identifier = Nt(F).toLowerCase();
9676
9676
  }
9677
9677
  function pe() {
9678
9678
  const I = this.stack[this.stack.length - 1], F = this.resume(), Z = this.stack[this.stack.length - 1];
@@ -9847,10 +9847,10 @@ function ts(e, t) {
9847
9847
  let n = -1;
9848
9848
  for (; ++n < t.length; ) {
9849
9849
  const r = t[n];
9850
- Array.isArray(r) ? ts(e, r) : Ah(e, r);
9850
+ Array.isArray(r) ? ts(e, r) : $h(e, r);
9851
9851
  }
9852
9852
  }
9853
- function Ah(e, t) {
9853
+ function $h(e, t) {
9854
9854
  let n;
9855
9855
  for (n in t)
9856
9856
  if (es.call(t, n))
@@ -9889,11 +9889,11 @@ function da(e, t) {
9889
9889
  }) + ") is still open"
9890
9890
  );
9891
9891
  }
9892
- function $h(e) {
9892
+ function Oh(e) {
9893
9893
  const t = this;
9894
9894
  t.parser = n;
9895
9895
  function n(r) {
9896
- return Ch(r, {
9896
+ return Rh(r, {
9897
9897
  ...t.data("settings"),
9898
9898
  ...e,
9899
9899
  // Note: these options are not in the readme.
@@ -9904,7 +9904,7 @@ function $h(e) {
9904
9904
  });
9905
9905
  }
9906
9906
  }
9907
- function Oh(e, t) {
9907
+ function Ph(e, t) {
9908
9908
  const n = {
9909
9909
  type: "element",
9910
9910
  tagName: "blockquote",
@@ -9913,12 +9913,12 @@ function Oh(e, t) {
9913
9913
  };
9914
9914
  return e.patch(t, n), e.applyData(t, n);
9915
9915
  }
9916
- function Ph(e, t) {
9916
+ function Ih(e, t) {
9917
9917
  const n = { type: "element", tagName: "br", properties: {}, children: [] };
9918
9918
  return e.patch(t, n), [e.applyData(t, n), { type: "text", value: `
9919
9919
  ` }];
9920
9920
  }
9921
- function Ih(e, t) {
9921
+ function Lh(e, t) {
9922
9922
  const n = t.value ? t.value + `
9923
9923
  ` : "", r = {};
9924
9924
  t.lang && (r.className = ["language-" + t.lang]);
@@ -9930,7 +9930,7 @@ function Ih(e, t) {
9930
9930
  };
9931
9931
  return t.meta && (a.data = { meta: t.meta }), e.patch(t, a), a = e.applyData(t, a), a = { type: "element", tagName: "pre", properties: {}, children: [a] }, e.patch(t, a), a;
9932
9932
  }
9933
- function Lh(e, t) {
9933
+ function Nh(e, t) {
9934
9934
  const n = {
9935
9935
  type: "element",
9936
9936
  tagName: "del",
@@ -9939,7 +9939,7 @@ function Lh(e, t) {
9939
9939
  };
9940
9940
  return e.patch(t, n), e.applyData(t, n);
9941
9941
  }
9942
- function Nh(e, t) {
9942
+ function Dh(e, t) {
9943
9943
  const n = {
9944
9944
  type: "element",
9945
9945
  tagName: "em",
@@ -9948,7 +9948,7 @@ function Nh(e, t) {
9948
9948
  };
9949
9949
  return e.patch(t, n), e.applyData(t, n);
9950
9950
  }
9951
- function Dh(e, t) {
9951
+ function Mh(e, t) {
9952
9952
  const n = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", r = String(t.identifier).toUpperCase(), a = Ft(r.toLowerCase()), o = e.footnoteOrder.indexOf(r);
9953
9953
  let l, i = e.footnoteCounts.get(r);
9954
9954
  i === void 0 ? (i = 0, e.footnoteOrder.push(r), l = e.footnoteOrder.length) : l = o + 1, i += 1, e.footnoteCounts.set(r, i);
@@ -9972,7 +9972,7 @@ function Dh(e, t) {
9972
9972
  };
9973
9973
  return e.patch(t, g), e.applyData(t, g);
9974
9974
  }
9975
- function Mh(e, t) {
9975
+ function jh(e, t) {
9976
9976
  const n = {
9977
9977
  type: "element",
9978
9978
  tagName: "h" + t.depth,
@@ -9981,7 +9981,7 @@ function Mh(e, t) {
9981
9981
  };
9982
9982
  return e.patch(t, n), e.applyData(t, n);
9983
9983
  }
9984
- function jh(e, t) {
9984
+ function Fh(e, t) {
9985
9985
  if (e.options.allowDangerousHtml) {
9986
9986
  const n = { type: "raw", value: t.value };
9987
9987
  return e.patch(t, n), e.applyData(t, n);
@@ -9997,7 +9997,7 @@ function ns(e, t) {
9997
9997
  const l = a[a.length - 1];
9998
9998
  return l && l.type === "text" ? l.value += r : a.push({ type: "text", value: r }), a;
9999
9999
  }
10000
- function Fh(e, t) {
10000
+ function Bh(e, t) {
10001
10001
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
10002
10002
  if (!r)
10003
10003
  return ns(e, t);
@@ -10006,13 +10006,13 @@ function Fh(e, t) {
10006
10006
  const o = { type: "element", tagName: "img", properties: a, children: [] };
10007
10007
  return e.patch(t, o), e.applyData(t, o);
10008
10008
  }
10009
- function Bh(e, t) {
10009
+ function Hh(e, t) {
10010
10010
  const n = { src: Ft(t.url) };
10011
10011
  t.alt !== null && t.alt !== void 0 && (n.alt = t.alt), t.title !== null && t.title !== void 0 && (n.title = t.title);
10012
10012
  const r = { type: "element", tagName: "img", properties: n, children: [] };
10013
10013
  return e.patch(t, r), e.applyData(t, r);
10014
10014
  }
10015
- function Hh(e, t) {
10015
+ function zh(e, t) {
10016
10016
  const n = { type: "text", value: t.value.replace(/\r?\n|\r/g, " ") };
10017
10017
  e.patch(t, n);
10018
10018
  const r = {
@@ -10023,7 +10023,7 @@ function Hh(e, t) {
10023
10023
  };
10024
10024
  return e.patch(t, r), e.applyData(t, r);
10025
10025
  }
10026
- function zh(e, t) {
10026
+ function Uh(e, t) {
10027
10027
  const n = String(t.identifier).toUpperCase(), r = e.definitionById.get(n);
10028
10028
  if (!r)
10029
10029
  return ns(e, t);
@@ -10037,7 +10037,7 @@ function zh(e, t) {
10037
10037
  };
10038
10038
  return e.patch(t, o), e.applyData(t, o);
10039
10039
  }
10040
- function Uh(e, t) {
10040
+ function Vh(e, t) {
10041
10041
  const n = { href: Ft(t.url) };
10042
10042
  t.title !== null && t.title !== void 0 && (n.title = t.title);
10043
10043
  const r = {
@@ -10048,8 +10048,8 @@ function Uh(e, t) {
10048
10048
  };
10049
10049
  return e.patch(t, r), e.applyData(t, r);
10050
10050
  }
10051
- function Vh(e, t, n) {
10052
- const r = e.all(t), a = n ? qh(n) : rs(t), o = {}, l = [];
10051
+ function qh(e, t, n) {
10052
+ const r = e.all(t), a = n ? Gh(n) : rs(t), o = {}, l = [];
10053
10053
  if (typeof t.checked == "boolean") {
10054
10054
  const d = r[0];
10055
10055
  let s;
@@ -10072,7 +10072,7 @@ function Vh(e, t, n) {
10072
10072
  const g = { type: "element", tagName: "li", properties: o, children: l };
10073
10073
  return e.patch(t, g), e.applyData(t, g);
10074
10074
  }
10075
- function qh(e) {
10075
+ function Gh(e) {
10076
10076
  let t = !1;
10077
10077
  if (e.type === "list") {
10078
10078
  t = e.spread || !1;
@@ -10087,7 +10087,7 @@ function rs(e) {
10087
10087
  const t = e.spread;
10088
10088
  return t ?? e.children.length > 1;
10089
10089
  }
10090
- function Gh(e, t) {
10090
+ function Wh(e, t) {
10091
10091
  const n = {}, r = e.all(t);
10092
10092
  let a = -1;
10093
10093
  for (typeof t.start == "number" && t.start !== 1 && (n.start = t.start); ++a < r.length; ) {
@@ -10105,7 +10105,7 @@ function Gh(e, t) {
10105
10105
  };
10106
10106
  return e.patch(t, o), e.applyData(t, o);
10107
10107
  }
10108
- function Wh(e, t) {
10108
+ function Yh(e, t) {
10109
10109
  const n = {
10110
10110
  type: "element",
10111
10111
  tagName: "p",
@@ -10114,11 +10114,11 @@ function Wh(e, t) {
10114
10114
  };
10115
10115
  return e.patch(t, n), e.applyData(t, n);
10116
10116
  }
10117
- function Yh(e, t) {
10117
+ function Xh(e, t) {
10118
10118
  const n = { type: "root", children: e.wrap(e.all(t)) };
10119
10119
  return e.patch(t, n), e.applyData(t, n);
10120
10120
  }
10121
- function Xh(e, t) {
10121
+ function Zh(e, t) {
10122
10122
  const n = {
10123
10123
  type: "element",
10124
10124
  tagName: "strong",
@@ -10127,7 +10127,7 @@ function Xh(e, t) {
10127
10127
  };
10128
10128
  return e.patch(t, n), e.applyData(t, n);
10129
10129
  }
10130
- function Zh(e, t) {
10130
+ function Kh(e, t) {
10131
10131
  const n = e.all(t), r = n.shift(), a = [];
10132
10132
  if (r) {
10133
10133
  const l = {
@@ -10155,7 +10155,7 @@ function Zh(e, t) {
10155
10155
  };
10156
10156
  return e.patch(t, o), e.applyData(t, o);
10157
10157
  }
10158
- function Kh(e, t, n) {
10158
+ function Jh(e, t, n) {
10159
10159
  const r = n ? n.children : void 0, o = (r ? r.indexOf(t) : 1) === 0 ? "th" : "td", l = n && n.type === "table" ? n.align : void 0, i = l ? l.length : t.children.length;
10160
10160
  let m = -1;
10161
10161
  const g = [];
@@ -10173,7 +10173,7 @@ function Kh(e, t, n) {
10173
10173
  };
10174
10174
  return e.patch(t, d), e.applyData(t, d);
10175
10175
  }
10176
- function Jh(e, t) {
10176
+ function Qh(e, t) {
10177
10177
  const n = {
10178
10178
  type: "element",
10179
10179
  tagName: "td",
@@ -10184,7 +10184,7 @@ function Jh(e, t) {
10184
10184
  return e.patch(t, n), e.applyData(t, n);
10185
10185
  }
10186
10186
  const ma = 9, ga = 32;
10187
- function Qh(e) {
10187
+ function ep(e) {
10188
10188
  const t = String(e), n = /\r?\n|\r/g;
10189
10189
  let r = n.exec(t), a = 0;
10190
10190
  const o = [];
@@ -10209,11 +10209,11 @@ function ya(e, t, n) {
10209
10209
  }
10210
10210
  return a > r ? e.slice(r, a) : "";
10211
10211
  }
10212
- function ep(e, t) {
10213
- const n = { type: "text", value: Qh(String(t.value)) };
10212
+ function tp(e, t) {
10213
+ const n = { type: "text", value: ep(String(t.value)) };
10214
10214
  return e.patch(t, n), e.applyData(t, n);
10215
10215
  }
10216
- function tp(e, t) {
10216
+ function np(e, t) {
10217
10217
  const n = {
10218
10218
  type: "element",
10219
10219
  tagName: "hr",
@@ -10222,31 +10222,31 @@ function tp(e, t) {
10222
10222
  };
10223
10223
  return e.patch(t, n), e.applyData(t, n);
10224
10224
  }
10225
- const np = {
10226
- blockquote: Oh,
10227
- break: Ph,
10228
- code: Ih,
10229
- delete: Lh,
10230
- emphasis: Nh,
10231
- footnoteReference: Dh,
10232
- heading: Mh,
10233
- html: jh,
10234
- imageReference: Fh,
10235
- image: Bh,
10236
- inlineCode: Hh,
10237
- linkReference: zh,
10238
- link: Uh,
10239
- listItem: Vh,
10240
- list: Gh,
10241
- paragraph: Wh,
10225
+ const rp = {
10226
+ blockquote: Ph,
10227
+ break: Ih,
10228
+ code: Lh,
10229
+ delete: Nh,
10230
+ emphasis: Dh,
10231
+ footnoteReference: Mh,
10232
+ heading: jh,
10233
+ html: Fh,
10234
+ imageReference: Bh,
10235
+ image: Hh,
10236
+ inlineCode: zh,
10237
+ linkReference: Uh,
10238
+ link: Vh,
10239
+ listItem: qh,
10240
+ list: Wh,
10241
+ paragraph: Yh,
10242
10242
  // @ts-expect-error: root is different, but hard to type.
10243
- root: Yh,
10244
- strong: Xh,
10245
- table: Zh,
10246
- tableCell: Jh,
10247
- tableRow: Kh,
10248
- text: ep,
10249
- thematicBreak: tp,
10243
+ root: Xh,
10244
+ strong: Zh,
10245
+ table: Kh,
10246
+ tableCell: Qh,
10247
+ tableRow: Jh,
10248
+ text: tp,
10249
+ thematicBreak: np,
10250
10250
  toml: hn,
10251
10251
  yaml: hn,
10252
10252
  definition: hn,
@@ -10254,7 +10254,7 @@ const np = {
10254
10254
  };
10255
10255
  function hn() {
10256
10256
  }
10257
- const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, os = 8, ba = typeof self == "object" ? self : globalThis, rp = (e, t) => {
10257
+ const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, os = 8, ba = typeof self == "object" ? self : globalThis, ip = (e, t) => {
10258
10258
  const n = (a, o) => (e.set(o, a), a), r = (a) => {
10259
10259
  if (e.has(a))
10260
10260
  return e.get(a);
@@ -10305,11 +10305,11 @@ const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, o
10305
10305
  return n(new ba[o](l), a);
10306
10306
  };
10307
10307
  return r;
10308
- }, va = (e) => rp(/* @__PURE__ */ new Map(), e)(0), $t = "", { toString: ip } = {}, { keys: ap } = Object, Gt = (e) => {
10308
+ }, va = (e) => ip(/* @__PURE__ */ new Map(), e)(0), $t = "", { toString: ap } = {}, { keys: op } = Object, Gt = (e) => {
10309
10309
  const t = typeof e;
10310
10310
  if (t !== "object" || !e)
10311
10311
  return [In, t];
10312
- const n = ip.call(e).slice(8, -1);
10312
+ const n = ap.call(e).slice(8, -1);
10313
10313
  switch (n) {
10314
10314
  case "Array":
10315
10315
  return [xn, $t];
@@ -10325,7 +10325,7 @@ const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, o
10325
10325
  return [ui, $t];
10326
10326
  }
10327
10327
  return n.includes("Array") ? [xn, n] : n.includes("Error") ? [as, n] : [_n, n];
10328
- }, pn = ([e, t]) => e === In && (t === "function" || t === "symbol"), op = (e, t, n, r) => {
10328
+ }, pn = ([e, t]) => e === In && (t === "function" || t === "symbol"), sp = (e, t, n, r) => {
10329
10329
  const a = (l, i) => {
10330
10330
  const m = r.push(l) - 1;
10331
10331
  return n.set(i, m), m;
@@ -10372,7 +10372,7 @@ const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, o
10372
10372
  if (t && "toJSON" in l)
10373
10373
  return o(l.toJSON());
10374
10374
  const d = [], s = a([i, d], l);
10375
- for (const c of ap(l))
10375
+ for (const c of op(l))
10376
10376
  (e || !pn(Gt(l[c]))) && d.push([o(c), o(l[c])]);
10377
10377
  return s;
10378
10378
  }
@@ -10401,12 +10401,12 @@ const is = -1, In = 0, xn = 1, _n = 2, oi = 3, si = 4, li = 5, ui = 6, as = 7, o
10401
10401
  return o;
10402
10402
  }, xa = (e, { json: t, lossy: n } = {}) => {
10403
10403
  const r = [];
10404
- return op(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
10404
+ return sp(!(t || n), !!t, /* @__PURE__ */ new Map(), r)(e), r;
10405
10405
  }, wn = typeof structuredClone == "function" ? (
10406
10406
  /* c8 ignore start */
10407
10407
  (e, t) => t && ("json" in t || "lossy" in t) ? va(xa(e, t)) : structuredClone(e)
10408
10408
  ) : (e, t) => va(xa(e, t));
10409
- function sp(e, t) {
10409
+ function lp(e, t) {
10410
10410
  const n = [{ type: "text", value: "↩" }];
10411
10411
  return t > 1 && n.push({
10412
10412
  type: "element",
@@ -10415,11 +10415,11 @@ function sp(e, t) {
10415
10415
  children: [{ type: "text", value: String(t) }]
10416
10416
  }), n;
10417
10417
  }
10418
- function lp(e, t) {
10418
+ function up(e, t) {
10419
10419
  return "Back to reference " + (e + 1) + (t > 1 ? "-" + t : "");
10420
10420
  }
10421
- function up(e) {
10422
- const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || sp, r = e.options.footnoteBackLabel || lp, a = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", l = e.options.footnoteLabelProperties || {
10421
+ function cp(e) {
10422
+ const t = typeof e.options.clobberPrefix == "string" ? e.options.clobberPrefix : "user-content-", n = e.options.footnoteBackContent || lp, r = e.options.footnoteBackLabel || up, a = e.options.footnoteLabel || "Footnotes", o = e.options.footnoteLabelTagName || "h2", l = e.options.footnoteLabelProperties || {
10423
10423
  className: ["sr-only"]
10424
10424
  }, i = [];
10425
10425
  let m = -1;
@@ -10504,17 +10504,17 @@ const ss = (
10504
10504
  */
10505
10505
  function(e) {
10506
10506
  if (e == null)
10507
- return pp;
10507
+ return dp;
10508
10508
  if (typeof e == "function")
10509
10509
  return Ln(e);
10510
10510
  if (typeof e == "object")
10511
- return Array.isArray(e) ? cp(e) : fp(e);
10511
+ return Array.isArray(e) ? fp(e) : hp(e);
10512
10512
  if (typeof e == "string")
10513
- return hp(e);
10513
+ return pp(e);
10514
10514
  throw new Error("Expected function, string, or object as test");
10515
10515
  }
10516
10516
  );
10517
- function cp(e) {
10517
+ function fp(e) {
10518
10518
  const t = [];
10519
10519
  let n = -1;
10520
10520
  for (; ++n < e.length; )
@@ -10527,7 +10527,7 @@ function cp(e) {
10527
10527
  return !1;
10528
10528
  }
10529
10529
  }
10530
- function fp(e) {
10530
+ function hp(e) {
10531
10531
  const t = (
10532
10532
  /** @type {Record<string, unknown>} */
10533
10533
  e
@@ -10545,7 +10545,7 @@ function fp(e) {
10545
10545
  return !0;
10546
10546
  }
10547
10547
  }
10548
- function hp(e) {
10548
+ function pp(e) {
10549
10549
  return Ln(t);
10550
10550
  function t(n) {
10551
10551
  return n && n.type === e;
@@ -10554,7 +10554,7 @@ function hp(e) {
10554
10554
  function Ln(e) {
10555
10555
  return t;
10556
10556
  function t(n, r, a) {
10557
- return !!(dp(n) && e.call(
10557
+ return !!(mp(n) && e.call(
10558
10558
  this,
10559
10559
  n,
10560
10560
  typeof r == "number" ? r : void 0,
@@ -10562,14 +10562,14 @@ function Ln(e) {
10562
10562
  ));
10563
10563
  }
10564
10564
  }
10565
- function pp() {
10565
+ function dp() {
10566
10566
  return !0;
10567
10567
  }
10568
- function dp(e) {
10568
+ function mp(e) {
10569
10569
  return e !== null && typeof e == "object" && "type" in e;
10570
10570
  }
10571
- const ls = [], mp = !0, _a = !1, gp = "skip";
10572
- function yp(e, t, n, r) {
10571
+ const ls = [], gp = !0, _a = !1, yp = "skip";
10572
+ function bp(e, t, n, r) {
10573
10573
  let a;
10574
10574
  typeof t == "function" && typeof n != "function" ? (r = n, n = t) : a = t;
10575
10575
  const o = ss(a), l = r ? -1 : 1;
@@ -10594,14 +10594,14 @@ function yp(e, t, n, r) {
10594
10594
  return c;
10595
10595
  function c() {
10596
10596
  let u = ls, h, f, b;
10597
- if ((!t || o(m, g, d[d.length - 1] || void 0)) && (u = bp(n(m, d)), u[0] === _a))
10597
+ if ((!t || o(m, g, d[d.length - 1] || void 0)) && (u = vp(n(m, d)), u[0] === _a))
10598
10598
  return u;
10599
10599
  if ("children" in m && m.children) {
10600
10600
  const p = (
10601
10601
  /** @type {UnistParent} */
10602
10602
  m
10603
10603
  );
10604
- if (p.children && u[0] !== gp)
10604
+ if (p.children && u[0] !== yp)
10605
10605
  for (f = (r ? p.children.length : -1) + l, b = d.concat(p); f > -1 && f < p.children.length; ) {
10606
10606
  const y = p.children[f];
10607
10607
  if (h = i(y, f, b)(), h[0] === _a)
@@ -10613,22 +10613,22 @@ function yp(e, t, n, r) {
10613
10613
  }
10614
10614
  }
10615
10615
  }
10616
- function bp(e) {
10617
- return Array.isArray(e) ? e : typeof e == "number" ? [mp, e] : e == null ? ls : [e];
10616
+ function vp(e) {
10617
+ return Array.isArray(e) ? e : typeof e == "number" ? [gp, e] : e == null ? ls : [e];
10618
10618
  }
10619
10619
  function us(e, t, n, r) {
10620
10620
  let a, o, l;
10621
- typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, a = n) : (o = t, l = n, a = r), yp(e, o, i, a);
10621
+ typeof t == "function" && typeof n != "function" ? (o = void 0, l = t, a = n) : (o = t, l = n, a = r), bp(e, o, i, a);
10622
10622
  function i(m, g) {
10623
10623
  const d = g[g.length - 1], s = d ? d.children.indexOf(m) : void 0;
10624
10624
  return l(m, s, d);
10625
10625
  }
10626
10626
  }
10627
- const Dr = {}.hasOwnProperty, vp = {};
10628
- function xp(e, t) {
10629
- const n = t || vp, r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), l = { ...np, ...n.handlers }, i = {
10627
+ const Dr = {}.hasOwnProperty, xp = {};
10628
+ function _p(e, t) {
10629
+ const n = t || xp, r = /* @__PURE__ */ new Map(), a = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map(), l = { ...rp, ...n.handlers }, i = {
10630
10630
  all: g,
10631
- applyData: wp,
10631
+ applyData: Ep,
10632
10632
  definitionById: r,
10633
10633
  footnoteById: a,
10634
10634
  footnoteCounts: o,
@@ -10636,8 +10636,8 @@ function xp(e, t) {
10636
10636
  handlers: l,
10637
10637
  one: m,
10638
10638
  options: n,
10639
- patch: _p,
10640
- wrap: Sp
10639
+ patch: wp,
10640
+ wrap: kp
10641
10641
  };
10642
10642
  return us(e, function(d) {
10643
10643
  if (d.type === "definition" || d.type === "footnoteDefinition") {
@@ -10656,7 +10656,7 @@ function xp(e, t) {
10656
10656
  }
10657
10657
  return wn(d);
10658
10658
  }
10659
- return (i.options.unknownHandler || Ep)(i, d, s);
10659
+ return (i.options.unknownHandler || Sp)(i, d, s);
10660
10660
  }
10661
10661
  function g(d) {
10662
10662
  const s = [];
@@ -10677,10 +10677,10 @@ function xp(e, t) {
10677
10677
  return s;
10678
10678
  }
10679
10679
  }
10680
- function _p(e, t) {
10681
- e.position && (t.position = nc(e));
10682
- }
10683
10680
  function wp(e, t) {
10681
+ e.position && (t.position = rc(e));
10682
+ }
10683
+ function Ep(e, t) {
10684
10684
  let n = t;
10685
10685
  if (e && e.data) {
10686
10686
  const r = e.data.hName, a = e.data.hChildren, o = e.data.hProperties;
@@ -10695,7 +10695,7 @@ function wp(e, t) {
10695
10695
  }
10696
10696
  return n;
10697
10697
  }
10698
- function Ep(e, t) {
10698
+ function Sp(e, t) {
10699
10699
  const n = t.data || {}, r = "value" in t && !(Dr.call(n, "hProperties") || Dr.call(n, "hChildren")) ? { type: "text", value: t.value } : {
10700
10700
  type: "element",
10701
10701
  tagName: "div",
@@ -10704,7 +10704,7 @@ function Ep(e, t) {
10704
10704
  };
10705
10705
  return e.patch(t, r), e.applyData(t, r);
10706
10706
  }
10707
- function Sp(e, t) {
10707
+ function kp(e, t) {
10708
10708
  const n = [];
10709
10709
  let r = -1;
10710
10710
  for (t && n.push({ type: "text", value: `
@@ -10721,11 +10721,11 @@ function wa(e) {
10721
10721
  return e.slice(t);
10722
10722
  }
10723
10723
  function Ea(e, t) {
10724
- const n = xp(e, t), r = n.one(e, void 0), a = up(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
10724
+ const n = _p(e, t), r = n.one(e, void 0), a = cp(n), o = Array.isArray(r) ? { type: "root", children: r } : r || { type: "root", children: [] };
10725
10725
  return a && o.children.push({ type: "text", value: `
10726
10726
  ` }, a), o;
10727
10727
  }
10728
- function kp(e, t) {
10728
+ function Tp(e, t) {
10729
10729
  return e && "run" in e ? async function(n, r) {
10730
10730
  const a = (
10731
10731
  /** @type {HastRoot} */
@@ -10769,7 +10769,7 @@ var bn = Object.prototype.hasOwnProperty, cs = Object.prototype.toString, ka = O
10769
10769
  return Ta(t, n).value;
10770
10770
  } else return;
10771
10771
  return t[n];
10772
- }, Tp = function e() {
10772
+ }, Cp = function e() {
10773
10773
  var t, n, r, a, o, l, i = arguments[0], m = 1, g = arguments.length, d = !1;
10774
10774
  for (typeof i == "boolean" && (d = i, i = arguments[1] || {}, m = 2), (i == null || typeof i != "object" && typeof i != "function") && (i = {}); m < g; ++m)
10775
10775
  if (t = arguments[m], t != null)
@@ -10777,14 +10777,14 @@ var bn = Object.prototype.hasOwnProperty, cs = Object.prototype.toString, ka = O
10777
10777
  r = $a(i, n), a = $a(t, n), i !== a && (d && a && (Ra(a) || (o = Ca(a))) ? (o ? (o = !1, l = r && Ca(r) ? r : []) : l = r && Ra(r) ? r : {}, Aa(i, { name: n, newValue: e(d, l, a) })) : typeof a < "u" && Aa(i, { name: n, newValue: a }));
10778
10778
  return i;
10779
10779
  };
10780
- const or = /* @__PURE__ */ Va(Tp);
10780
+ const or = /* @__PURE__ */ Va(Cp);
10781
10781
  function Mr(e) {
10782
10782
  if (typeof e != "object" || e === null)
10783
10783
  return !1;
10784
10784
  const t = Object.getPrototypeOf(e);
10785
10785
  return (t === null || t === Object.prototype || Object.getPrototypeOf(t) === null) && !(Symbol.toStringTag in e) && !(Symbol.iterator in e);
10786
10786
  }
10787
- function Cp() {
10787
+ function Rp() {
10788
10788
  const e = [], t = { run: n, use: r };
10789
10789
  return t;
10790
10790
  function n(...a) {
@@ -10802,7 +10802,7 @@ function Cp() {
10802
10802
  }
10803
10803
  for (; ++s < a.length; )
10804
10804
  (g[s] === null || g[s] === void 0) && (g[s] = a[s]);
10805
- a = g, d ? Rp(d, i)(...g) : l(null, ...g);
10805
+ a = g, d ? Ap(d, i)(...g) : l(null, ...g);
10806
10806
  }
10807
10807
  }
10808
10808
  function r(a) {
@@ -10813,7 +10813,7 @@ function Cp() {
10813
10813
  return e.push(a), t;
10814
10814
  }
10815
10815
  }
10816
- function Rp(e, t) {
10816
+ function Ap(e, t) {
10817
10817
  let n;
10818
10818
  return r;
10819
10819
  function r(...l) {
@@ -10840,8 +10840,8 @@ function Rp(e, t) {
10840
10840
  a(null, l);
10841
10841
  }
10842
10842
  }
10843
- const Ze = { basename: Ap, dirname: $p, extname: Op, join: Pp, sep: "/" };
10844
- function Ap(e, t) {
10843
+ const Ze = { basename: $p, dirname: Op, extname: Pp, join: Ip, sep: "/" };
10844
+ function $p(e, t) {
10845
10845
  if (t !== void 0 && typeof t != "string")
10846
10846
  throw new TypeError('"ext" argument must be a string');
10847
10847
  an(e);
@@ -10869,7 +10869,7 @@ function Ap(e, t) {
10869
10869
  l < 0 && (o = !0, l = a + 1), i > -1 && (e.codePointAt(a) === t.codePointAt(i--) ? i < 0 && (r = a) : (i = -1, r = l));
10870
10870
  return n === r ? r = l : r < 0 && (r = e.length), e.slice(n, r);
10871
10871
  }
10872
- function $p(e) {
10872
+ function Op(e) {
10873
10873
  if (an(e), e.length === 0)
10874
10874
  return ".";
10875
10875
  let t = -1, n = e.length, r;
@@ -10882,7 +10882,7 @@ function $p(e) {
10882
10882
  } else r || (r = !0);
10883
10883
  return t < 0 ? e.codePointAt(0) === 47 ? "/" : "." : t === 1 && e.codePointAt(0) === 47 ? "//" : e.slice(0, t);
10884
10884
  }
10885
- function Op(e) {
10885
+ function Pp(e) {
10886
10886
  an(e);
10887
10887
  let t = e.length, n = -1, r = 0, a = -1, o = 0, l;
10888
10888
  for (; t--; ) {
@@ -10900,19 +10900,19 @@ function Op(e) {
10900
10900
  o === 0 || // The (right-most) trimmed path component is exactly `..`.
10901
10901
  o === 1 && a === n - 1 && a === r + 1 ? "" : e.slice(a, n);
10902
10902
  }
10903
- function Pp(...e) {
10903
+ function Ip(...e) {
10904
10904
  let t = -1, n;
10905
10905
  for (; ++t < e.length; )
10906
10906
  an(e[t]), e[t] && (n = n === void 0 ? e[t] : n + "/" + e[t]);
10907
- return n === void 0 ? "." : Ip(n);
10907
+ return n === void 0 ? "." : Lp(n);
10908
10908
  }
10909
- function Ip(e) {
10909
+ function Lp(e) {
10910
10910
  an(e);
10911
10911
  const t = e.codePointAt(0) === 47;
10912
- let n = Lp(e, !t);
10912
+ let n = Np(e, !t);
10913
10913
  return n.length === 0 && !t && (n = "."), n.length > 0 && e.codePointAt(e.length - 1) === 47 && (n += "/"), t ? "/" + n : n;
10914
10914
  }
10915
- function Lp(e, t) {
10915
+ function Np(e, t) {
10916
10916
  let n = "", r = 0, a = -1, o = 0, l = -1, i, m;
10917
10917
  for (; ++l <= e.length; ) {
10918
10918
  if (l < e.length)
@@ -10949,15 +10949,15 @@ function an(e) {
10949
10949
  "Path must be a string. Received " + JSON.stringify(e)
10950
10950
  );
10951
10951
  }
10952
- const Np = { cwd: Dp };
10953
- function Dp() {
10952
+ const Dp = { cwd: Mp };
10953
+ function Mp() {
10954
10954
  return "/";
10955
10955
  }
10956
10956
  function jr(e) {
10957
10957
  return !!(e !== null && typeof e == "object" && "href" in e && e.href && "protocol" in e && e.protocol && // @ts-expect-error: indexing is fine.
10958
10958
  e.auth === void 0);
10959
10959
  }
10960
- function Mp(e) {
10960
+ function jp(e) {
10961
10961
  if (typeof e == "string")
10962
10962
  e = new URL(e);
10963
10963
  else if (!jr(e)) {
@@ -10970,9 +10970,9 @@ function Mp(e) {
10970
10970
  const t = new TypeError("The URL must be of scheme file");
10971
10971
  throw t.code = "ERR_INVALID_URL_SCHEME", t;
10972
10972
  }
10973
- return jp(e);
10973
+ return Fp(e);
10974
10974
  }
10975
- function jp(e) {
10975
+ function Fp(e) {
10976
10976
  if (e.hostname !== "") {
10977
10977
  const r = new TypeError(
10978
10978
  'File URL host must be "localhost" or empty on darwin'
@@ -11029,7 +11029,7 @@ class fs {
11029
11029
  */
11030
11030
  constructor(t) {
11031
11031
  let n;
11032
- t ? jr(t) ? n = { path: t } : typeof t == "string" || Fp(t) ? n = { value: t } : n = t : n = {}, this.cwd = Np.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
11032
+ t ? jr(t) ? n = { path: t } : typeof t == "string" || Bp(t) ? n = { value: t } : n = t : n = {}, this.cwd = Dp.cwd(), this.data = {}, this.history = [], this.messages = [], this.value, this.map, this.result, this.stored;
11033
11033
  let r = -1;
11034
11034
  for (; ++r < sr.length; ) {
11035
11035
  const o = sr[r];
@@ -11137,7 +11137,7 @@ class fs {
11137
11137
  * Nothing.
11138
11138
  */
11139
11139
  set path(t) {
11140
- jr(t) && (t = Mp(t)), ur(t, "path"), this.path !== t && this.history.push(t);
11140
+ jr(t) && (t = jp(t)), ur(t, "path"), this.path !== t && this.history.push(t);
11141
11141
  }
11142
11142
  /**
11143
11143
  * Get the stem (basename w/o extname) (example: `'index.min'`).
@@ -11388,10 +11388,10 @@ function Oa(e, t) {
11388
11388
  if (!e)
11389
11389
  throw new Error("Setting `" + t + "` requires `path` to be set too");
11390
11390
  }
11391
- function Fp(e) {
11391
+ function Bp(e) {
11392
11392
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
11393
11393
  }
11394
- const Bp = (
11394
+ const Hp = (
11395
11395
  /**
11396
11396
  * @type {new <Parameters extends Array<unknown>, Result>(property: string | symbol) => (...parameters: Parameters) => Result}
11397
11397
  */
@@ -11418,13 +11418,13 @@ const Bp = (
11418
11418
  }
11419
11419
  return o;
11420
11420
  }
11421
- ), Hp = {}.hasOwnProperty;
11422
- class ci extends Bp {
11421
+ ), zp = {}.hasOwnProperty;
11422
+ class ci extends Hp {
11423
11423
  /**
11424
11424
  * Create a processor.
11425
11425
  */
11426
11426
  constructor() {
11427
- super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Cp();
11427
+ super("copy"), this.Compiler = void 0, this.Parser = void 0, this.attachers = [], this.compiler = void 0, this.freezeIndex = -1, this.frozen = void 0, this.namespace = {}, this.parser = void 0, this.transformers = Rp();
11428
11428
  }
11429
11429
  /**
11430
11430
  * Copy a processor.
@@ -11509,7 +11509,7 @@ class ci extends Bp {
11509
11509
  * the entire dataset when getting without key.
11510
11510
  */
11511
11511
  data(t, n) {
11512
- return typeof t == "string" ? arguments.length === 2 ? (hr("data", this.frozen), this.namespace[t] = n, this) : Hp.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (hr("data", this.frozen), this.namespace = t, this) : this.namespace;
11512
+ return typeof t == "string" ? arguments.length === 2 ? (hr("data", this.frozen), this.namespace[t] = n, this) : zp.call(this.namespace, t) && this.namespace[t] || void 0 : t ? (hr("data", this.frozen), this.namespace = t, this) : this.namespace;
11513
11513
  }
11514
11514
  /**
11515
11515
  * Freeze a processor.
@@ -11624,7 +11624,7 @@ class ci extends Bp {
11624
11624
  /** @type {unknown} */
11625
11625
  s
11626
11626
  ), h = r.stringify(u, c);
11627
- Vp(h) ? c.value = h : c.result = h, g(
11627
+ qp(h) ? c.value = h : c.result = h, g(
11628
11628
  d,
11629
11629
  /** @type {VFileWithOutput<CompileResult>} */
11630
11630
  c
@@ -11900,7 +11900,7 @@ class ci extends Bp {
11900
11900
  }
11901
11901
  }
11902
11902
  }
11903
- const zp = new ci().freeze();
11903
+ const Up = new ci().freeze();
11904
11904
  function cr(e, t) {
11905
11905
  if (typeof t != "function")
11906
11906
  throw new TypeError("Cannot `" + e + "` without `parser`");
@@ -11926,18 +11926,18 @@ function Ia(e, t, n) {
11926
11926
  );
11927
11927
  }
11928
11928
  function dn(e) {
11929
- return Up(e) ? e : new fs(e);
11930
- }
11931
- function Up(e) {
11932
- return !!(e && typeof e == "object" && "message" in e && "messages" in e);
11929
+ return Vp(e) ? e : new fs(e);
11933
11930
  }
11934
11931
  function Vp(e) {
11935
- return typeof e == "string" || qp(e);
11932
+ return !!(e && typeof e == "object" && "message" in e && "messages" in e);
11936
11933
  }
11937
11934
  function qp(e) {
11935
+ return typeof e == "string" || Gp(e);
11936
+ }
11937
+ function Gp(e) {
11938
11938
  return !!(e && typeof e == "object" && "byteLength" in e && "byteOffset" in e);
11939
11939
  }
11940
- const Gp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", La = [], Na = { allowDangerousHtml: !0 }, Wp = /^(https?|ircs?|mailto|xmpp)$/i, Yp = [
11940
+ const Wp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md", La = [], Na = { allowDangerousHtml: !0 }, Yp = /^(https?|ircs?|mailto|xmpp)$/i, Xp = [
11941
11941
  { from: "astPlugins", id: "remove-buggy-html-in-markdown-parser" },
11942
11942
  { from: "allowDangerousHtml", id: "remove-buggy-html-in-markdown-parser" },
11943
11943
  {
@@ -11970,11 +11970,11 @@ const Gp = "https://github.com/remarkjs/react-markdown/blob/main/changelog.md",
11970
11970
  { from: "transformImageUri", id: "#add-urltransform", to: "urlTransform" },
11971
11971
  { from: "transformLinkUri", id: "#add-urltransform", to: "urlTransform" }
11972
11972
  ];
11973
- function Xp(e) {
11974
- const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, o = e.components, l = e.disallowedElements, i = e.rehypePlugins || La, m = e.remarkPlugins || La, g = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Na } : Na, d = e.skipHtml, s = e.unwrapDisallowed, c = e.urlTransform || Zp, u = zp().use($h).use(m).use(kp, g).use(i), h = new fs();
11973
+ function Zp(e) {
11974
+ const t = e.allowedElements, n = e.allowElement, r = e.children || "", a = e.className, o = e.components, l = e.disallowedElements, i = e.rehypePlugins || La, m = e.remarkPlugins || La, g = e.remarkRehypeOptions ? { ...e.remarkRehypeOptions, ...Na } : Na, d = e.skipHtml, s = e.unwrapDisallowed, c = e.urlTransform || Kp, u = Up().use(Oh).use(m).use(Tp, g).use(i), h = new fs();
11975
11975
  typeof r == "string" && (h.value = r);
11976
- for (const y of Yp)
11977
- Object.hasOwn(e, y.from) && ("" + y.from + (y.to ? "use `" + y.to + "` instead" : "remove it") + Gp + y.id, void 0);
11976
+ for (const y of Xp)
11977
+ Object.hasOwn(e, y.from) && ("" + y.from + (y.to ? "use `" + y.to + "` instead" : "remove it") + Wp + y.id, void 0);
11978
11978
  const f = u.parse(h);
11979
11979
  let b = u.runSync(f, h);
11980
11980
  return a && (b = {
@@ -11986,7 +11986,7 @@ function Xp(e) {
11986
11986
  /** @type {Array<ElementContent>} */
11987
11987
  b.type === "root" ? b.children : [b]
11988
11988
  )
11989
- }), us(b, p), lc(b, {
11989
+ }), us(b, p), uc(b, {
11990
11990
  Fragment: Y.Fragment,
11991
11991
  components: o,
11992
11992
  ignoreInvalidStyle: !0,
@@ -12013,29 +12013,29 @@ function Xp(e) {
12013
12013
  }
12014
12014
  }
12015
12015
  }
12016
- function Zp(e) {
12016
+ function Kp(e) {
12017
12017
  const t = e.indexOf(":"), n = e.indexOf("?"), r = e.indexOf("#"), a = e.indexOf("/");
12018
12018
  return (
12019
12019
  // If there is no protocol, it’s relative.
12020
12020
  t < 0 || // If the first colon is after a `?`, `#`, or `/`, it’s not a protocol.
12021
12021
  a > -1 && t > a || n > -1 && t > n || r > -1 && t > r || // It is a protocol, it should be allowed.
12022
- Wp.test(e.slice(0, t)) ? e : ""
12022
+ Yp.test(e.slice(0, t)) ? e : ""
12023
12023
  );
12024
12024
  }
12025
- const Kp = ({ userType: e, content: t }) => {
12025
+ const Jp = ({ userType: e, content: t }) => {
12026
12026
  const { chatlineLabelAssistantTranslation: n, chatlineLabelUserTranslation: r } = Co(), a = e === "user", o = e === "assistant";
12027
12027
  return /* @__PURE__ */ Y.jsxs("div", { className: "flex justify-between mt-8", children: [
12028
12028
  /* @__PURE__ */ Y.jsxs("div", { className: "w-10 mr-3", children: [
12029
- a && /* @__PURE__ */ Y.jsx(_u, { fill: "#4564d6" }),
12030
- o && /* @__PURE__ */ Y.jsx(wu, { fill: "#32cf56" })
12029
+ a && /* @__PURE__ */ Y.jsx(wu, { fill: "#4564d6" }),
12030
+ o && /* @__PURE__ */ Y.jsx(Eu, { fill: "#32cf56" })
12031
12031
  ] }),
12032
12032
  /* @__PURE__ */ Y.jsxs("div", { className: "w-full", children: [
12033
12033
  /* @__PURE__ */ Y.jsx("p", { className: "font-bold", children: e === "user" ? r : n }),
12034
- /* @__PURE__ */ Y.jsx("div", { children: /* @__PURE__ */ Y.jsx(Xp, { children: t && t }) })
12034
+ /* @__PURE__ */ Y.jsx("div", { children: /* @__PURE__ */ Y.jsx(Zp, { children: t && t }) })
12035
12035
  ] })
12036
12036
  ] });
12037
12037
  };
12038
- function Jp(e, t, n) {
12038
+ function Qp(e, t, n) {
12039
12039
  let [r, a] = Le(e || t), o = Fe(e !== void 0), l = e !== void 0;
12040
12040
  rt(() => {
12041
12041
  let g = o.current;
@@ -12064,9 +12064,9 @@ function Jp(e, t, n) {
12064
12064
  const En = {
12065
12065
  prefix: String(Math.round(Math.random() * 1e10)),
12066
12066
  current: 0
12067
- }, hs = /* @__PURE__ */ we.createContext(En), Qp = /* @__PURE__ */ we.createContext(!1);
12068
- let ed = !!(typeof window < "u" && window.document && window.document.createElement), pr = /* @__PURE__ */ new WeakMap();
12069
- function td(e = !1) {
12067
+ }, hs = /* @__PURE__ */ we.createContext(En), ed = /* @__PURE__ */ we.createContext(!1);
12068
+ let td = !!(typeof window < "u" && window.document && window.document.createElement), pr = /* @__PURE__ */ new WeakMap();
12069
+ function nd(e = !1) {
12070
12070
  let t = Mt(hs), n = Fe(null);
12071
12071
  if (n.current === null && !e) {
12072
12072
  var r, a;
@@ -12082,29 +12082,29 @@ function td(e = !1) {
12082
12082
  }
12083
12083
  return n.current;
12084
12084
  }
12085
- function nd(e) {
12085
+ function rd(e) {
12086
12086
  let t = Mt(hs);
12087
- t === En && !ed && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
12088
- let n = td(!!e), r = t === En && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
12087
+ t === En && !td && console.warn("When server rendering, you must wrap your application in an <SSRProvider> to ensure consistent ids are generated between the client and server.");
12088
+ let n = nd(!!e), r = t === En && process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${t.prefix}`;
12089
12089
  return e || `${r}-${n}`;
12090
12090
  }
12091
- function rd(e) {
12092
- let t = we.useId(), [n] = Le(ld()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${En.prefix}`;
12091
+ function id(e) {
12092
+ let t = we.useId(), [n] = Le(ud()), r = n || process.env.NODE_ENV === "test" ? "react-aria" : `react-aria${En.prefix}`;
12093
12093
  return e || `${r}-${t}`;
12094
12094
  }
12095
- const id = typeof we.useId == "function" ? rd : nd;
12096
- function ad() {
12095
+ const ad = typeof we.useId == "function" ? id : rd;
12096
+ function od() {
12097
12097
  return !1;
12098
12098
  }
12099
- function od() {
12099
+ function sd() {
12100
12100
  return !0;
12101
12101
  }
12102
- function sd(e) {
12102
+ function ld(e) {
12103
12103
  return () => {
12104
12104
  };
12105
12105
  }
12106
- function ld() {
12107
- return typeof we.useSyncExternalStore == "function" ? we.useSyncExternalStore(sd, ad, od) : Mt(Qp);
12106
+ function ud() {
12107
+ return typeof we.useSyncExternalStore == "function" ? we.useSyncExternalStore(ld, od, sd) : Mt(ed);
12108
12108
  }
12109
12109
  function ps(e) {
12110
12110
  var t, n, r = "";
@@ -12115,7 +12115,7 @@ function ps(e) {
12115
12115
  } else for (n in e) e[n] && (r && (r += " "), r += n);
12116
12116
  return r;
12117
12117
  }
12118
- function ud() {
12118
+ function cd() {
12119
12119
  for (var e, t, n = 0, r = "", a = arguments.length; n < a; n++) (e = arguments[n]) && (t = ps(e)) && (r && (r += " "), r += t);
12120
12120
  return r;
12121
12121
  }
@@ -12132,7 +12132,7 @@ function xt(e) {
12132
12132
  return r == null ? void 0 : r(...n);
12133
12133
  }, []);
12134
12134
  }
12135
- function cd(e) {
12135
+ function fd(e) {
12136
12136
  let [t, n] = Le(e), r = Fe(null), a = xt(() => {
12137
12137
  if (!r.current) return;
12138
12138
  let l = r.current.next();
@@ -12153,12 +12153,12 @@ function cd(e) {
12153
12153
  o
12154
12154
  ];
12155
12155
  }
12156
- let fd = !!(typeof window < "u" && window.document && window.document.createElement), Sn = /* @__PURE__ */ new Map();
12156
+ let hd = !!(typeof window < "u" && window.document && window.document.createElement), Sn = /* @__PURE__ */ new Map();
12157
12157
  function kn(e) {
12158
- let [t, n] = Le(e), r = Fe(null), a = id(t), o = _t((l) => {
12158
+ let [t, n] = Le(e), r = Fe(null), a = ad(t), o = _t((l) => {
12159
12159
  r.current = l;
12160
12160
  }, []);
12161
- return fd && Sn.set(a, o), Tt(() => {
12161
+ return hd && Sn.set(a, o), Tt(() => {
12162
12162
  let l = a;
12163
12163
  return () => {
12164
12164
  Sn.delete(l);
@@ -12170,7 +12170,7 @@ function kn(e) {
12170
12170
  l && (r.current = null, n(l));
12171
12171
  }), a;
12172
12172
  }
12173
- function hd(e, t) {
12173
+ function pd(e, t) {
12174
12174
  if (e === t) return e;
12175
12175
  let n = Sn.get(e);
12176
12176
  if (n)
@@ -12179,7 +12179,7 @@ function hd(e, t) {
12179
12179
  return r ? (r(e), e) : t;
12180
12180
  }
12181
12181
  function Da(e = []) {
12182
- let t = kn(), [n, r] = cd(t), a = _t(() => {
12182
+ let t = kn(), [n, r] = fd(t), a = _t(() => {
12183
12183
  r(function* () {
12184
12184
  yield t, yield document.getElementById(t) ? t : void 0;
12185
12185
  });
@@ -12193,7 +12193,7 @@ function Da(e = []) {
12193
12193
  ...e
12194
12194
  ]), n;
12195
12195
  }
12196
- function pd(...e) {
12196
+ function dd(...e) {
12197
12197
  return (...t) => {
12198
12198
  for (let n of e) typeof n == "function" && n(...t);
12199
12199
  };
@@ -12213,42 +12213,42 @@ function Cn(...e) {
12213
12213
  typeof o == "function" && typeof l == "function" && // This is a lot faster than a regex.
12214
12214
  a[0] === "o" && a[1] === "n" && a.charCodeAt(2) >= /* 'A' */
12215
12215
  65 && a.charCodeAt(2) <= /* 'Z' */
12216
- 90 ? t[a] = pd(o, l) : (a === "className" || a === "UNSAFE_className") && typeof o == "string" && typeof l == "string" ? t[a] = ud(o, l) : a === "id" && o && l ? t.id = hd(o, l) : t[a] = l !== void 0 ? l : o;
12216
+ 90 ? t[a] = dd(o, l) : (a === "className" || a === "UNSAFE_className") && typeof o == "string" && typeof l == "string" ? t[a] = cd(o, l) : a === "id" && o && l ? t.id = pd(o, l) : t[a] = l !== void 0 ? l : o;
12217
12217
  }
12218
12218
  }
12219
12219
  return t;
12220
12220
  }
12221
- const dd = /* @__PURE__ */ new Set([
12221
+ const md = /* @__PURE__ */ new Set([
12222
12222
  "id"
12223
- ]), md = /* @__PURE__ */ new Set([
12223
+ ]), gd = /* @__PURE__ */ new Set([
12224
12224
  "aria-label",
12225
12225
  "aria-labelledby",
12226
12226
  "aria-describedby",
12227
12227
  "aria-details"
12228
- ]), gd = /* @__PURE__ */ new Set([
12228
+ ]), yd = /* @__PURE__ */ new Set([
12229
12229
  "href",
12230
12230
  "target",
12231
12231
  "rel",
12232
12232
  "download",
12233
12233
  "ping",
12234
12234
  "referrerPolicy"
12235
- ]), yd = /^(data-.*)$/;
12236
- function bd(e, t = {}) {
12235
+ ]), bd = /^(data-.*)$/;
12236
+ function vd(e, t = {}) {
12237
12237
  let { labelable: n, isLink: r, propNames: a } = t, o = {};
12238
- for (const l in e) Object.prototype.hasOwnProperty.call(e, l) && (dd.has(l) || n && md.has(l) || r && gd.has(l) || a != null && a.has(l) || yd.test(l)) && (o[l] = e[l]);
12238
+ for (const l in e) Object.prototype.hasOwnProperty.call(e, l) && (md.has(l) || n && gd.has(l) || r && yd.has(l) || a != null && a.has(l) || bd.test(l)) && (o[l] = e[l]);
12239
12239
  return o;
12240
12240
  }
12241
12241
  function Ma(e) {
12242
- if (vd()) e.focus({
12242
+ if (xd()) e.focus({
12243
12243
  preventScroll: !0
12244
12244
  });
12245
12245
  else {
12246
- let t = xd(e);
12247
- e.focus(), _d(t);
12246
+ let t = _d(e);
12247
+ e.focus(), wd(t);
12248
12248
  }
12249
12249
  }
12250
12250
  let mn = null;
12251
- function vd() {
12251
+ function xd() {
12252
12252
  if (mn == null) {
12253
12253
  mn = !1;
12254
12254
  try {
@@ -12262,7 +12262,7 @@ function vd() {
12262
12262
  }
12263
12263
  return mn;
12264
12264
  }
12265
- function xd(e) {
12265
+ function _d(e) {
12266
12266
  let t = e.parentNode, n = [], r = document.scrollingElement || document.documentElement;
12267
12267
  for (; t instanceof HTMLElement && t !== r; )
12268
12268
  (t.offsetHeight < t.scrollHeight || t.offsetWidth < t.scrollWidth) && n.push({
@@ -12276,23 +12276,23 @@ function xd(e) {
12276
12276
  scrollLeft: r.scrollLeft
12277
12277
  }), n;
12278
12278
  }
12279
- function _d(e) {
12279
+ function wd(e) {
12280
12280
  for (let { element: t, scrollTop: n, scrollLeft: r } of e)
12281
12281
  t.scrollTop = n, t.scrollLeft = r;
12282
12282
  }
12283
- function wd(e) {
12283
+ function Ed(e) {
12284
12284
  var t;
12285
12285
  return typeof window > "u" || window.navigator == null ? !1 : ((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.brands.some((n) => e.test(n.brand))) || e.test(window.navigator.userAgent);
12286
12286
  }
12287
- function Ed(e) {
12287
+ function Sd(e) {
12288
12288
  var t;
12289
12289
  return typeof window < "u" && window.navigator != null ? e.test(((t = window.navigator.userAgentData) === null || t === void 0 ? void 0 : t.platform) || window.navigator.platform) : !1;
12290
12290
  }
12291
- function Sd() {
12292
- return Ed(/^Mac/i);
12293
- }
12294
12291
  function kd() {
12295
- return wd(/Android/i);
12292
+ return Sd(/^Mac/i);
12293
+ }
12294
+ function Td() {
12295
+ return Ed(/Android/i);
12296
12296
  }
12297
12297
  let Pt = /* @__PURE__ */ new Map(), Fr = /* @__PURE__ */ new Set();
12298
12298
  function ja() {
@@ -12317,12 +12317,12 @@ function ja() {
12317
12317
  document.body.addEventListener("transitionrun", t), document.body.addEventListener("transitionend", n);
12318
12318
  }
12319
12319
  typeof document < "u" && (document.readyState !== "loading" ? ja() : document.addEventListener("DOMContentLoaded", ja));
12320
- function Td(e) {
12320
+ function Cd(e) {
12321
12321
  requestAnimationFrame(() => {
12322
12322
  Pt.size === 0 ? e() : Fr.add(e);
12323
12323
  });
12324
12324
  }
12325
- function Cd(e, t) {
12325
+ function Rd(e, t) {
12326
12326
  let { id: n, "aria-label": r, "aria-labelledby": a } = e;
12327
12327
  return n = kn(n), a && r ? a = [
12328
12328
  .../* @__PURE__ */ new Set([
@@ -12335,7 +12335,7 @@ function Cd(e, t) {
12335
12335
  "aria-labelledby": a
12336
12336
  };
12337
12337
  }
12338
- function Rd(e, t) {
12338
+ function Ad(e, t) {
12339
12339
  Tt(() => {
12340
12340
  if (e && e.ref && t)
12341
12341
  return e.ref.current = t.current, () => {
@@ -12343,10 +12343,10 @@ function Rd(e, t) {
12343
12343
  };
12344
12344
  });
12345
12345
  }
12346
- function Ad(e) {
12347
- return e.mozInputSource === 0 && e.isTrusted ? !0 : kd() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
12346
+ function $d(e) {
12347
+ return e.mozInputSource === 0 && e.isTrusted ? !0 : Td() && e.pointerType ? e.type === "click" && e.buttons === 1 : e.detail === 0 && !e.pointerType;
12348
12348
  }
12349
- function $d(e, t, n) {
12349
+ function Od(e, t, n) {
12350
12350
  let r = Fe(t), a = xt(() => {
12351
12351
  n && n(r.current);
12352
12352
  });
@@ -12361,12 +12361,12 @@ function $d(e, t, n) {
12361
12361
  a
12362
12362
  ]);
12363
12363
  }
12364
- const Od = we.createContext({
12364
+ const Pd = we.createContext({
12365
12365
  register: () => {
12366
12366
  }
12367
12367
  });
12368
- Od.displayName = "PressResponderContext";
12369
- class Pd {
12368
+ Pd.displayName = "PressResponderContext";
12369
+ class Id {
12370
12370
  isDefaultPrevented() {
12371
12371
  return this.nativeEvent.defaultPrevented;
12372
12372
  }
@@ -12385,7 +12385,7 @@ class Pd {
12385
12385
  this.nativeEvent = n, this.target = n.target, this.currentTarget = n.currentTarget, this.relatedTarget = n.relatedTarget, this.bubbles = n.bubbles, this.cancelable = n.cancelable, this.defaultPrevented = n.defaultPrevented, this.eventPhase = n.eventPhase, this.isTrusted = n.isTrusted, this.timeStamp = n.timeStamp, this.type = t;
12386
12386
  }
12387
12387
  }
12388
- function Id(e) {
12388
+ function Ld(e) {
12389
12389
  let t = Fe({
12390
12390
  isFocused: !1,
12391
12391
  observer: null
@@ -12403,7 +12403,7 @@ function Id(e) {
12403
12403
  if (r.target instanceof HTMLButtonElement || r.target instanceof HTMLInputElement || r.target instanceof HTMLTextAreaElement || r.target instanceof HTMLSelectElement) {
12404
12404
  t.current.isFocused = !0;
12405
12405
  let a = r.target, o = (l) => {
12406
- t.current.isFocused = !1, a.disabled && n(new Pd("blur", l)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
12406
+ t.current.isFocused = !1, a.disabled && n(new Id("blur", l)), t.current.observer && (t.current.observer.disconnect(), t.current.observer = null);
12407
12407
  };
12408
12408
  a.addEventListener("focusout", o, {
12409
12409
  once: !0
@@ -12430,7 +12430,7 @@ function Id(e) {
12430
12430
  n
12431
12431
  ]);
12432
12432
  }
12433
- function Ld(e) {
12433
+ function Nd(e) {
12434
12434
  let { isDisabled: t, onFocus: n, onBlur: r, onFocusChange: a } = e;
12435
12435
  const o = _t((m) => {
12436
12436
  if (m.target === m.currentTarget)
@@ -12438,7 +12438,7 @@ function Ld(e) {
12438
12438
  }, [
12439
12439
  r,
12440
12440
  a
12441
- ]), l = Id(o), i = _t((m) => {
12441
+ ]), l = Ld(o), i = _t((m) => {
12442
12442
  m.target === m.currentTarget && document.activeElement === m.target && (n && n(m), a && a(!0), l(m));
12443
12443
  }, [
12444
12444
  a,
@@ -12452,21 +12452,21 @@ function Ld(e) {
12452
12452
  }
12453
12453
  };
12454
12454
  }
12455
- let Bt = null, Nd = /* @__PURE__ */ new Set(), Qt = /* @__PURE__ */ new Map(), Et = !1, Br = !1;
12455
+ let Bt = null, Dd = /* @__PURE__ */ new Set(), Qt = /* @__PURE__ */ new Map(), Et = !1, Br = !1;
12456
12456
  function Nn(e, t) {
12457
- for (let n of Nd) n(e, t);
12457
+ for (let n of Dd) n(e, t);
12458
12458
  }
12459
- function Dd(e) {
12460
- return !(e.metaKey || !Sd() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
12459
+ function Md(e) {
12460
+ return !(e.metaKey || !kd() && e.altKey || e.ctrlKey || e.key === "Control" || e.key === "Shift" || e.key === "Meta");
12461
12461
  }
12462
12462
  function Rn(e) {
12463
- Et = !0, Dd(e) && (Bt = "keyboard", Nn("keyboard", e));
12463
+ Et = !0, Md(e) && (Bt = "keyboard", Nn("keyboard", e));
12464
12464
  }
12465
12465
  function ze(e) {
12466
12466
  Bt = "pointer", (e.type === "mousedown" || e.type === "pointerdown") && (Et = !0, Nn("pointer", e));
12467
12467
  }
12468
12468
  function ds(e) {
12469
- Ad(e) && (Et = !0, Bt = "virtual");
12469
+ $d(e) && (Et = !0, Bt = "virtual");
12470
12470
  }
12471
12471
  function ms(e) {
12472
12472
  e.target === window || e.target === document || (!Et && !Br && (Bt = "virtual", Nn("virtual", e)), Et = !1, Br = !1);
@@ -12492,18 +12492,18 @@ const ys = (e, t) => {
12492
12492
  const n = Tn(e), r = on(e);
12493
12493
  t && r.removeEventListener("DOMContentLoaded", t), Qt.has(n) && (n.HTMLElement.prototype.focus = Qt.get(n).focus, r.removeEventListener("keydown", Rn, !0), r.removeEventListener("keyup", Rn, !0), r.removeEventListener("click", ds, !0), n.removeEventListener("focus", ms, !0), n.removeEventListener("blur", gs, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", ze, !0), r.removeEventListener("pointermove", ze, !0), r.removeEventListener("pointerup", ze, !0)) : (r.removeEventListener("mousedown", ze, !0), r.removeEventListener("mousemove", ze, !0), r.removeEventListener("mouseup", ze, !0)), Qt.delete(n));
12494
12494
  };
12495
- function Md(e) {
12495
+ function jd(e) {
12496
12496
  const t = on(e);
12497
12497
  let n;
12498
12498
  return t.readyState !== "loading" ? Fa(e) : (n = () => {
12499
12499
  Fa(e);
12500
12500
  }, t.addEventListener("DOMContentLoaded", n)), () => ys(e, n);
12501
12501
  }
12502
- typeof document < "u" && Md();
12503
- function jd() {
12502
+ typeof document < "u" && jd();
12503
+ function Fd() {
12504
12504
  return Bt;
12505
12505
  }
12506
- function Fd(e) {
12506
+ function Bd(e) {
12507
12507
  Bt = e, Nn(e, null);
12508
12508
  }
12509
12509
  function Ba(e) {
@@ -12528,7 +12528,7 @@ function Ba(e) {
12528
12528
  e(r), t && n.stopPropagation();
12529
12529
  };
12530
12530
  }
12531
- function Bd(e) {
12531
+ function Hd(e) {
12532
12532
  return {
12533
12533
  keyboardProps: e.isDisabled ? {} : {
12534
12534
  onKeyDown: Ba(e.onKeyDown),
@@ -12536,16 +12536,16 @@ function Bd(e) {
12536
12536
  }
12537
12537
  };
12538
12538
  }
12539
- function Hd(e) {
12539
+ function zd(e) {
12540
12540
  const t = on(e);
12541
- if (jd() === "virtual") {
12541
+ if (Fd() === "virtual") {
12542
12542
  let n = t.activeElement;
12543
- Td(() => {
12543
+ Cd(() => {
12544
12544
  t.activeElement === n && e.isConnected && Ma(e);
12545
12545
  });
12546
12546
  } else Ma(e);
12547
12547
  }
12548
- function zd(e, t) {
12548
+ function Ud(e, t) {
12549
12549
  return !e || !t ? !1 : t.some((n) => n.contains(e));
12550
12550
  }
12551
12551
  class fi {
@@ -12571,7 +12571,7 @@ class fi {
12571
12571
  let n = this.fastMap.get(t);
12572
12572
  if (!n) return;
12573
12573
  let r = n.parent;
12574
- for (let o of this.traverse()) o !== n && n.nodeToRestore && o.nodeToRestore && n.scopeRef && n.scopeRef.current && zd(o.nodeToRestore, n.scopeRef.current) && (o.nodeToRestore = n.nodeToRestore);
12574
+ for (let o of this.traverse()) o !== n && n.nodeToRestore && o.nodeToRestore && n.scopeRef && n.scopeRef.current && Ud(o.nodeToRestore, n.scopeRef.current) && (o.nodeToRestore = n.nodeToRestore);
12575
12575
  let a = n.children;
12576
12576
  r && (r.removeChild(n), a.size > 0 && a.forEach((o) => r && r.addChild(o))), this.fastMap.delete(n.scopeRef);
12577
12577
  }
@@ -12604,17 +12604,17 @@ class Ha {
12604
12604
  }
12605
12605
  }
12606
12606
  new fi();
12607
- let Ud = /* @__PURE__ */ we.createContext(null);
12608
- function Vd(e) {
12609
- let t = Mt(Ud) || {};
12610
- Rd(t, e);
12607
+ let Vd = /* @__PURE__ */ we.createContext(null);
12608
+ function qd(e) {
12609
+ let t = Mt(Vd) || {};
12610
+ Ad(t, e);
12611
12611
  let { ref: n, ...r } = t;
12612
12612
  return r;
12613
12613
  }
12614
- function qd(e, t) {
12615
- let { focusProps: n } = Ld(e), { keyboardProps: r } = Bd(e), a = Cn(n, r), o = Vd(t), l = e.isDisabled ? {} : o, i = Fe(e.autoFocus);
12614
+ function Gd(e, t) {
12615
+ let { focusProps: n } = Nd(e), { keyboardProps: r } = Hd(e), a = Cn(n, r), o = qd(t), l = e.isDisabled ? {} : o, i = Fe(e.autoFocus);
12616
12616
  return rt(() => {
12617
- i.current && t.current && Hd(t.current), i.current = !1;
12617
+ i.current && t.current && zd(t.current), i.current = !1;
12618
12618
  }, [
12619
12619
  t
12620
12620
  ]), {
@@ -12624,12 +12624,12 @@ function qd(e, t) {
12624
12624
  }, l)
12625
12625
  };
12626
12626
  }
12627
- function Gd(e, t, n) {
12627
+ function Wd(e, t, n) {
12628
12628
  let { validationBehavior: r, focus: a } = e;
12629
12629
  Tt(() => {
12630
12630
  if (r === "native" && (n != null && n.current)) {
12631
12631
  let m = t.realtimeValidation.isInvalid ? t.realtimeValidation.validationErrors.join(" ") || "Invalid value." : "";
12632
- n.current.setCustomValidity(m), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Yd(n.current));
12632
+ n.current.setCustomValidity(m), n.current.hasAttribute("title") || (n.current.title = ""), t.realtimeValidation.isInvalid || t.updateValidation(Xd(n.current));
12633
12633
  }
12634
12634
  });
12635
12635
  let o = xt(() => {
@@ -12638,9 +12638,9 @@ function Gd(e, t, n) {
12638
12638
  var g;
12639
12639
  t.displayValidation.isInvalid || t.commitValidation();
12640
12640
  let d = n == null || (g = n.current) === null || g === void 0 ? void 0 : g.form;
12641
- if (!m.defaultPrevented && n && d && Xd(d) === n.current) {
12641
+ if (!m.defaultPrevented && n && d && Zd(d) === n.current) {
12642
12642
  var s;
12643
- a ? a() : (s = n.current) === null || s === void 0 || s.focus(), Fd("keyboard");
12643
+ a ? a() : (s = n.current) === null || s === void 0 || s.focus(), Bd("keyboard");
12644
12644
  }
12645
12645
  m.preventDefault();
12646
12646
  }), i = xt(() => {
@@ -12661,7 +12661,7 @@ function Gd(e, t, n) {
12661
12661
  r
12662
12662
  ]);
12663
12663
  }
12664
- function Wd(e) {
12664
+ function Yd(e) {
12665
12665
  let t = e.validity;
12666
12666
  return {
12667
12667
  badInput: t.badInput,
@@ -12677,16 +12677,16 @@ function Wd(e) {
12677
12677
  valid: t.valid
12678
12678
  };
12679
12679
  }
12680
- function Yd(e) {
12680
+ function Xd(e) {
12681
12681
  return {
12682
12682
  isInvalid: !e.validity.valid,
12683
- validationDetails: Wd(e),
12683
+ validationDetails: Yd(e),
12684
12684
  validationErrors: e.validationMessage ? [
12685
12685
  e.validationMessage
12686
12686
  ] : []
12687
12687
  };
12688
12688
  }
12689
- function Xd(e) {
12689
+ function Zd(e) {
12690
12690
  for (let t = 0; t < e.elements.length; t++) {
12691
12691
  let n = e.elements[t];
12692
12692
  if (!n.validity.valid) return n;
@@ -12713,8 +12713,8 @@ const bs = {
12713
12713
  isInvalid: !1,
12714
12714
  validationDetails: bs,
12715
12715
  validationErrors: []
12716
- }, Zd = Is({}), za = "__formValidationState" + Date.now();
12717
- function Kd(e) {
12716
+ }, Kd = Ls({}), za = "__formValidationState" + Date.now();
12717
+ function Jd(e) {
12718
12718
  if (e[za]) {
12719
12719
  let { realtimeValidation: t, displayValidation: n, updateValidation: r, resetValidation: a, commitValidation: o } = e[za];
12720
12720
  return {
@@ -12725,21 +12725,21 @@ function Kd(e) {
12725
12725
  commitValidation: o
12726
12726
  };
12727
12727
  }
12728
- return Jd(e);
12728
+ return Qd(e);
12729
12729
  }
12730
- function Jd(e) {
12730
+ function Qd(e) {
12731
12731
  let { isInvalid: t, validationState: n, name: r, value: a, builtinValidation: o, validate: l, validationBehavior: i = "aria" } = e;
12732
12732
  n && (t || (t = n === "invalid"));
12733
12733
  let m = t ? {
12734
12734
  isInvalid: !0,
12735
12735
  validationErrors: [],
12736
12736
  validationDetails: vs
12737
- } : null, g = Vn(() => Ua(Qd(l, a)), [
12737
+ } : null, g = Vn(() => Ua(em(l, a)), [
12738
12738
  l,
12739
12739
  a
12740
12740
  ]);
12741
12741
  o != null && o.validationDetails.valid && (o = null);
12742
- let d = Mt(Zd), s = Vn(() => r ? Array.isArray(r) ? r.flatMap((k) => Hr(d[k])) : Hr(d[r]) : [], [
12742
+ let d = Mt(Kd), s = Vn(() => r ? Array.isArray(r) ? r.flatMap((k) => Hr(d[k])) : Hr(d[r]) : [], [
12743
12743
  d,
12744
12744
  r
12745
12745
  ]), [c, u] = Le(d), [h, f] = Le(!1);
@@ -12773,7 +12773,7 @@ function Hr(e) {
12773
12773
  e
12774
12774
  ] : [];
12775
12775
  }
12776
- function Qd(e, t) {
12776
+ function em(e, t) {
12777
12777
  if (typeof e == "function") {
12778
12778
  let n = e(t);
12779
12779
  if (n && typeof n != "boolean") return Hr(n);
@@ -12790,7 +12790,7 @@ function Ua(e) {
12790
12790
  function dr(e, t) {
12791
12791
  return e === t ? !0 : e && t && e.isInvalid === t.isInvalid && e.validationErrors.length === t.validationErrors.length && e.validationErrors.every((n, r) => n === t.validationErrors[r]) && Object.entries(e.validationDetails).every(([n, r]) => t.validationDetails[n] === r);
12792
12792
  }
12793
- function em(e) {
12793
+ function tm(e) {
12794
12794
  let { id: t, label: n, "aria-labelledby": r, "aria-label": a, labelElementType: o = "label" } = e;
12795
12795
  t = kn(t);
12796
12796
  let l = kn(), i = {};
@@ -12798,7 +12798,7 @@ function em(e) {
12798
12798
  id: l,
12799
12799
  htmlFor: o === "label" ? t : void 0
12800
12800
  }) : !r && !a && console.warn("If you do not provide a visible label, you must specify an aria-label or aria-labelledby attribute for accessibility");
12801
- let m = Cd({
12801
+ let m = Rd({
12802
12802
  id: t,
12803
12803
  "aria-label": a,
12804
12804
  "aria-labelledby": r
@@ -12808,8 +12808,8 @@ function em(e) {
12808
12808
  fieldProps: m
12809
12809
  };
12810
12810
  }
12811
- function tm(e) {
12812
- let { description: t, errorMessage: n, isInvalid: r, validationState: a } = e, { labelProps: o, fieldProps: l } = em(e), i = Da([
12811
+ function nm(e) {
12812
+ let { description: t, errorMessage: n, isInvalid: r, validationState: a } = e, { labelProps: o, fieldProps: l } = tm(e), i = Da([
12813
12813
  !!t,
12814
12814
  !!n,
12815
12815
  r,
@@ -12838,22 +12838,22 @@ function tm(e) {
12838
12838
  }
12839
12839
  };
12840
12840
  }
12841
- function nm(e, t) {
12842
- let { inputElementType: n = "input", isDisabled: r = !1, isRequired: a = !1, isReadOnly: o = !1, type: l = "text", validationBehavior: i = "aria" } = e, [m, g] = Jp(e.value, e.defaultValue || "", e.onChange), { focusableProps: d } = qd(e, t), s = Kd({
12841
+ function rm(e, t) {
12842
+ let { inputElementType: n = "input", isDisabled: r = !1, isRequired: a = !1, isReadOnly: o = !1, type: l = "text", validationBehavior: i = "aria" } = e, [m, g] = Qp(e.value, e.defaultValue || "", e.onChange), { focusableProps: d } = Gd(e, t), s = Jd({
12843
12843
  ...e,
12844
12844
  value: m
12845
- }), { isInvalid: c, validationErrors: u, validationDetails: h } = s.displayValidation, { labelProps: f, fieldProps: b, descriptionProps: p, errorMessageProps: y } = tm({
12845
+ }), { isInvalid: c, validationErrors: u, validationDetails: h } = s.displayValidation, { labelProps: f, fieldProps: b, descriptionProps: p, errorMessageProps: y } = nm({
12846
12846
  ...e,
12847
12847
  isInvalid: c,
12848
12848
  errorMessage: e.errorMessage || u
12849
- }), v = bd(e, {
12849
+ }), v = vd(e, {
12850
12850
  labelable: !0
12851
12851
  });
12852
12852
  const w = {
12853
12853
  type: l,
12854
12854
  pattern: e.pattern
12855
12855
  };
12856
- return $d(t, m, g), Gd(e, s, t), rt(() => {
12856
+ return Od(t, m, g), Wd(e, s, t), rt(() => {
12857
12857
  if (t.current instanceof Tn(t.current).HTMLTextAreaElement) {
12858
12858
  let _ = t.current;
12859
12859
  Object.defineProperty(_, "defaultValue", {
@@ -12909,7 +12909,7 @@ function nm(e, t) {
12909
12909
  validationDetails: h
12910
12910
  };
12911
12911
  }
12912
- const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
12912
+ const im = (e) => e.charCodeAt(e.length - 1) === 10, am = (e) => {
12913
12913
  const [t, n] = Le(""), r = () => {
12914
12914
  g.current && (g.current.style.height = g.current.scrollHeight + "px");
12915
12915
  }, a = () => {
@@ -12918,7 +12918,7 @@ const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
12918
12918
  n(b);
12919
12919
  };
12920
12920
  rt(r, [t]);
12921
- let { label: l, SubmitComponent: i, onSubmit: m } = e, g = Fe(null), { labelProps: d, inputProps: s } = nm(
12921
+ let { label: l, SubmitComponent: i, onSubmit: m } = e, g = Fe(null), { labelProps: d, inputProps: s } = rm(
12922
12922
  {
12923
12923
  ...e,
12924
12924
  inputElementType: "textarea"
@@ -12926,7 +12926,7 @@ const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
12926
12926
  g
12927
12927
  );
12928
12928
  const c = (b) => {
12929
- rm(b.target.value) || o(b.target.value);
12929
+ im(b.target.value) || o(b.target.value);
12930
12930
  }, u = (b) => {
12931
12931
  (b.code === "Enter" || b.code === "NumpadEnter") && (b.shiftKey ? o(t + `
12932
12932
  `) : f());
@@ -12969,11 +12969,11 @@ const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
12969
12969
  ]
12970
12970
  }
12971
12971
  );
12972
- }, am = "_dot_spinner_qw18l_1", om = "_dot_spinner__dot_qw18l_13", sm = "_pulse0112_qw18l_1", st = {
12973
- dot_spinner: am,
12974
- dot_spinner__dot: om,
12975
- pulse0112: sm
12976
- }, lm = () => /* @__PURE__ */ Y.jsxs("div", { className: st.dot_spinner, children: [
12972
+ }, om = "_dot_spinner_qw18l_1", sm = "_dot_spinner__dot_qw18l_13", lm = "_pulse0112_qw18l_1", st = {
12973
+ dot_spinner: om,
12974
+ dot_spinner__dot: sm,
12975
+ pulse0112: lm
12976
+ }, um = () => /* @__PURE__ */ Y.jsxs("div", { className: st.dot_spinner, children: [
12977
12977
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot }),
12978
12978
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot }),
12979
12979
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot }),
@@ -12982,7 +12982,7 @@ const rm = (e) => e.charCodeAt(e.length - 1) === 10, im = (e) => {
12982
12982
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot }),
12983
12983
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot }),
12984
12984
  /* @__PURE__ */ Y.jsx("div", { className: st.dot_spinner__dot })
12985
- ] }), um = ({
12985
+ ] }), cm = ({
12986
12986
  onSubmitButton: e,
12987
12987
  isDisabled: t
12988
12988
  }) => /* @__PURE__ */ Y.jsx("div", { children: /* @__PURE__ */ Y.jsx(
@@ -13032,7 +13032,7 @@ ln(It, "getApiUrl", () => process.env.NODE_ENV === "development" ? "http://local
13032
13032
  });
13033
13033
  let An = It;
13034
13034
  var Me = /* @__PURE__ */ ((e) => (e.FRENCH = "fr-FR", e.ENGLISH = "en-US", e))(Me || {});
13035
- const cm = {
13035
+ const fm = {
13036
13036
  "generic.language.english": "English",
13037
13037
  "generic.language.french": "French",
13038
13038
  "generic.connect.google": "Connect with Google",
@@ -13101,7 +13101,7 @@ const cm = {
13101
13101
  "footer.tab.pricing": "Pricing",
13102
13102
  "footer.tab.termsAndConditions": "Terms and conditions",
13103
13103
  "footer.tab.finalCopyright": "Copyright © 2023 Logiciel, Inc. All rights reserved."
13104
- }, fm = {
13104
+ }, hm = {
13105
13105
  "generic.language.english": "Anglais",
13106
13106
  "generic.language.french": "Français",
13107
13107
  "generic.connect.google": "Se connecter avec Google",
@@ -13172,21 +13172,21 @@ const cm = {
13172
13172
  "footer.tab.finalCopyright": "Copyright © 2023 Logiciel, Inc. Tous droits réservés."
13173
13173
  }, Dn = {
13174
13174
  [Me.ENGLISH]: {
13175
- translatedText: cm,
13175
+ translatedText: fm,
13176
13176
  pictureName: Me.ENGLISH,
13177
13177
  langID: 0,
13178
13178
  locale: Me.ENGLISH
13179
13179
  },
13180
13180
  [Me.FRENCH]: {
13181
- translatedText: fm,
13181
+ translatedText: hm,
13182
13182
  pictureName: Me.FRENCH,
13183
13183
  langID: 1,
13184
13184
  locale: Me.FRENCH
13185
13185
  }
13186
- }, hm = Object.keys(
13186
+ }, pm = Object.keys(
13187
13187
  Dn
13188
13188
  );
13189
- hm.reduce(
13189
+ pm.reduce(
13190
13190
  (e, t) => {
13191
13191
  const n = Dn[t];
13192
13192
  return [...e, n];
@@ -13195,16 +13195,18 @@ hm.reduce(
13195
13195
  );
13196
13196
  Me.FRENCH, Me.ENGLISH;
13197
13197
  Me.FRENCH + "", Me.ENGLISH + "";
13198
- const pm = "languageSettings", xs = we.createContext({
13198
+ const dm = "languageSettings", xs = we.createContext({
13199
13199
  appCurrentLang: Dn[Me.ENGLISH],
13200
13200
  setAppCurrentLang: () => {
13201
13201
  }
13202
- }), dm = (e) => /(\[.*|\!\[.*)$/.test(e), mm = (e) => /\)/.test(e), gm = "Bonjour ! Je suis votre assistant de jeux de société. Pour bien vous aider, pouvez-vous me dire quel genre de jeux vous cherchez ? Si c'est pour offrir, quel est l'age de la personne ? Souhaitez-vous un nombre de joueurs minimum ? Quel devrait être le temps max d'une partie ? Plus vous m'en dites, plus je pourrai vous aider !", ym = ({ appToken: e }) => {
13202
+ }), mm = (e) => /(\[.*|\!\[.*)$/.test(e), gm = (e) => /\)/.test(e), ym = "Bonjour ! Je suis votre assistant de jeux de société. Pour bien vous aider, pouvez-vous me dire quel genre de jeux vous cherchez ? Si c'est pour offrir, quel est l'age de la personne ? Souhaitez-vous un nombre de joueurs minimum ? Quel devrait être le temps max d'une partie ? Plus vous m'en dites, plus je pourrai vous aider !";
13203
+ var _s = /* @__PURE__ */ ((e) => (e.GET_SESSIONID = "/id", e))(_s || {});
13204
+ const bm = (e) => !!e.startsWith("/"), vm = (e, t) => e === _s.GET_SESSIONID ? t ? `Votre ID de session est ${t}` : "Votre ID de session n'est pas encore défini. Envoyez un premier message pour que ce soit le cas." : `La commande ${e} n'est pas prise en compte.`, xm = ({ appToken: e }) => {
13203
13205
  e || console.log("Dev - Admin settings");
13204
13206
  const t = Fe(null), { placeholderTranslation: n } = Co(), [r, a] = Le(!1), [o, l] = Le(null), [i, m] = Le([
13205
13207
  {
13206
13208
  userType: "assistant",
13207
- content: gm
13209
+ content: ym
13208
13210
  }
13209
13211
  ]), { appCurrentLang: g } = Mt(xs), d = (u) => {
13210
13212
  m((h) => [
@@ -13250,7 +13252,7 @@ const pm = "languageSettings", xs = we.createContext({
13250
13252
  return;
13251
13253
  }
13252
13254
  const L = v.decode(P);
13253
- return k.enqueue(L), mm(L) ? (_ += L, w += _, _ = "", S = !1) : S || dm(L) ? (_ += L, S = !0) : w += L, m((D) => {
13255
+ return k.enqueue(L), gm(L) ? (_ += L, w += _, _ = "", S = !1) : S || mm(L) ? (_ += L, S = !0) : w += L, m((D) => {
13254
13256
  const z = [...D], G = z.length - 1, re = z[G];
13255
13257
  return z[G] = {
13256
13258
  ...re,
@@ -13268,32 +13270,39 @@ const pm = "languageSettings", xs = we.createContext({
13268
13270
  };
13269
13271
  return /* @__PURE__ */ Y.jsxs("div", { className: "max-w-[90%] mx-auto p-2", ref: t, children: [
13270
13272
  /* @__PURE__ */ Y.jsx("div", { className: "mt-6 mb-6 grow", children: i.map((u, h) => /* @__PURE__ */ Y.jsx(
13271
- Kp,
13273
+ Jp,
13272
13274
  {
13273
13275
  content: u.content,
13274
13276
  userType: u.userType
13275
13277
  },
13276
13278
  h
13277
13279
  )) }),
13278
- r && /* @__PURE__ */ Y.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ Y.jsx(lm, {}) }),
13280
+ r && /* @__PURE__ */ Y.jsx("div", { className: "flex justify-center", children: /* @__PURE__ */ Y.jsx(um, {}) }),
13279
13281
  /* @__PURE__ */ Y.jsx(
13280
- im,
13282
+ am,
13281
13283
  {
13282
13284
  classNameTextarea: "border-slate-400 border-[1px] rounded-lg",
13283
13285
  classNameContainer: "relative mt-6 mt-3",
13284
- SubmitComponent: um,
13286
+ SubmitComponent: cm,
13285
13287
  isDisabled: r,
13286
13288
  shouldDisableIfInputIsEmpty: !0,
13287
13289
  "aria-label": "TextArea For Bot Conversation",
13288
13290
  onSubmit: (u) => {
13289
- d(u), c(u);
13291
+ if (bm(u)) {
13292
+ const h = vm(
13293
+ u,
13294
+ o
13295
+ );
13296
+ d(h);
13297
+ } else
13298
+ d(u), c(u);
13290
13299
  },
13291
13300
  placeholder: n,
13292
13301
  autoFocus: !0
13293
13302
  }
13294
13303
  )
13295
13304
  ] });
13296
- }, bm = Ls(
13305
+ }, _m = Ns(
13297
13306
  ({ props: e }, t) => /* @__PURE__ */ Y.jsxs(
13298
13307
  "div",
13299
13308
  {
@@ -13327,11 +13336,11 @@ const pm = "languageSettings", xs = we.createContext({
13327
13336
  children: "Assistant"
13328
13337
  }
13329
13338
  ),
13330
- /* @__PURE__ */ Y.jsx(ym, { appToken: e.appToken })
13339
+ /* @__PURE__ */ Y.jsx(xm, { appToken: e.appToken })
13331
13340
  ]
13332
13341
  }
13333
13342
  )
13334
- ), vm = ({ isWidgetOpen: e, appToken: t }) => {
13343
+ ), wm = ({ isWidgetOpen: e, appToken: t }) => {
13335
13344
  const n = Fe(null);
13336
13345
  return /* @__PURE__ */ Y.jsx("div", { children: /* @__PURE__ */ Y.jsx(
13337
13346
  qr,
@@ -13341,10 +13350,10 @@ const pm = "languageSettings", xs = we.createContext({
13341
13350
  timeout: 200,
13342
13351
  classNames: "menuTransition",
13343
13352
  unmountOnExit: !0,
13344
- children: /* @__PURE__ */ Y.jsx(bm, { ref: n, props: { appToken: t } })
13353
+ children: /* @__PURE__ */ Y.jsx(_m, { ref: n, props: { appToken: t } })
13345
13354
  }
13346
13355
  ) });
13347
- }, xm = (e) => /* @__PURE__ */ Te.createElement("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M7 9H17M7 13H17M21 20L17.6757 18.3378C17.4237 18.2118 17.2977 18.1488 17.1656 18.1044C17.0484 18.065 16.9277 18.0365 16.8052 18.0193C16.6672 18 16.5263 18 16.2446 18H6.2C5.07989 18 4.51984 18 4.09202 17.782C3.71569 17.5903 3.40973 17.2843 3.21799 16.908C3 16.4802 3 15.9201 3 14.8V7.2C3 6.07989 3 5.51984 3.21799 5.09202C3.40973 4.71569 3.71569 4.40973 4.09202 4.21799C4.51984 4 5.0799 4 6.2 4H17.8C18.9201 4 19.4802 4 19.908 4.21799C20.2843 4.40973 20.5903 4.71569 20.782 5.09202C21 5.51984 21 6.0799 21 7.2V20Z", stroke: "#000000", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), _m = (e) => /* @__PURE__ */ Te.createElement("svg", { fill: "#000000", height: "800px", width: "800px", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 330 330", xmlSpace: "preserve", ...e }, /* @__PURE__ */ Te.createElement("path", { id: "XMLID_102_", d: "M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393 c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393 s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z" })), wm = ({
13356
+ }, Em = (e) => /* @__PURE__ */ Te.createElement("svg", { width: "800px", height: "800px", viewBox: "0 0 24 24", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...e }, /* @__PURE__ */ Te.createElement("path", { d: "M7 9H17M7 13H17M21 20L17.6757 18.3378C17.4237 18.2118 17.2977 18.1488 17.1656 18.1044C17.0484 18.065 16.9277 18.0365 16.8052 18.0193C16.6672 18 16.5263 18 16.2446 18H6.2C5.07989 18 4.51984 18 4.09202 17.782C3.71569 17.5903 3.40973 17.2843 3.21799 16.908C3 16.4802 3 15.9201 3 14.8V7.2C3 6.07989 3 5.51984 3.21799 5.09202C3.40973 4.71569 3.71569 4.40973 4.09202 4.21799C4.51984 4 5.0799 4 6.2 4H17.8C18.9201 4 19.4802 4 19.908 4.21799C20.2843 4.40973 20.5903 4.71569 20.782 5.09202C21 5.51984 21 6.0799 21 7.2V20Z", stroke: "#000000", strokeWidth: 2, strokeLinecap: "round", strokeLinejoin: "round" })), Sm = (e) => /* @__PURE__ */ Te.createElement("svg", { fill: "#000000", height: "800px", width: "800px", id: "Layer_1", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", viewBox: "0 0 330 330", xmlSpace: "preserve", ...e }, /* @__PURE__ */ Te.createElement("path", { id: "XMLID_102_", d: "M325.607,79.393c-5.857-5.857-15.355-5.858-21.213,0.001l-139.39,139.393L25.607,79.393 c-5.857-5.857-15.355-5.858-21.213,0.001c-5.858,5.858-5.858,15.355,0,21.213l150.004,150c2.813,2.813,6.628,4.393,10.606,4.393 s7.794-1.581,10.606-4.394l149.996-150C331.465,94.749,331.465,85.251,325.607,79.393z" })), km = ({
13348
13357
  isWidgetOpen: e,
13349
13358
  setIsWidgetOpen: t
13350
13359
  }) => /* @__PURE__ */ Y.jsxs(
@@ -13371,31 +13380,31 @@ const pm = "languageSettings", xs = we.createContext({
13371
13380
  items-center`,
13372
13381
  onClick: () => t(!e),
13373
13382
  children: [
13374
- !e && /* @__PURE__ */ Y.jsx(xm, { className: "w-8 h-8", fill: "white" }),
13375
- e && /* @__PURE__ */ Y.jsx(_m, { className: "w-6 h-6", fill: "white" })
13383
+ !e && /* @__PURE__ */ Y.jsx(Em, { className: "w-8 h-8", fill: "white" }),
13384
+ e && /* @__PURE__ */ Y.jsx(Sm, { className: "w-6 h-6", fill: "white" })
13376
13385
  ]
13377
13386
  }
13378
- ), Em = (e, t) => {
13387
+ ), Tm = (e, t) => {
13379
13388
  let n, r;
13380
13389
  return typeof window < "u" && (r = window.localStorage.getItem(
13381
- pm
13390
+ dm
13382
13391
  )), r && (e == null ? void 0 : e[r]) !== void 0 ? n = e[r] : (n = e[t], n.isDefault = !0), n;
13383
- }, Sm = (e, t) => {
13392
+ }, Cm = (e, t) => {
13384
13393
  const [n, r] = Le(e[t]), a = (o) => {
13385
13394
  Object.keys(e).includes(o == null ? void 0 : o.locale) ? r(o) : r(e[Me.ENGLISH]);
13386
13395
  };
13387
13396
  return rt(() => {
13388
- let o = Em(e, t);
13397
+ let o = Tm(e, t);
13389
13398
  o.locale !== t && r(e[o.locale]);
13390
13399
  }, []), {
13391
13400
  appCurrentLang: n,
13392
13401
  handleSetContextCurrentLang: a
13393
13402
  };
13394
- }, km = ({
13403
+ }, Rm = ({
13395
13404
  children: e
13396
13405
  }) => {
13397
13406
  var t = navigator.language;
13398
- const { appCurrentLang: n, handleSetContextCurrentLang: r } = Sm(
13407
+ const { appCurrentLang: n, handleSetContextCurrentLang: r } = Cm(
13399
13408
  Dn,
13400
13409
  t
13401
13410
  ), a = {
@@ -13403,7 +13412,7 @@ const pm = "languageSettings", xs = we.createContext({
13403
13412
  setAppCurrentLang: r
13404
13413
  };
13405
13414
  return /* @__PURE__ */ Y.jsx(Y.Fragment, { children: /* @__PURE__ */ Y.jsx(
13406
- xu,
13415
+ _u,
13407
13416
  {
13408
13417
  locale: n == null ? void 0 : n.locale,
13409
13418
  messages: n == null ? void 0 : n.translatedText,
@@ -13411,16 +13420,16 @@ const pm = "languageSettings", xs = we.createContext({
13411
13420
  }
13412
13421
  ) });
13413
13422
  };
13414
- function Tm({ appToken: e }) {
13423
+ function Am({ appToken: e }) {
13415
13424
  const [t, n] = Le(!1);
13416
13425
  return e || console.warn(
13417
13426
  "appToken not defined in ai-client. Please see the documentation at URL_ERROR_IN_DOC"
13418
- ), /* @__PURE__ */ Y.jsxs(km, { children: [
13419
- /* @__PURE__ */ Y.jsx(wm, { isWidgetOpen: t, setIsWidgetOpen: n }),
13420
- /* @__PURE__ */ Y.jsx(vm, { isWidgetOpen: t, appToken: e })
13427
+ ), /* @__PURE__ */ Y.jsxs(Rm, { children: [
13428
+ /* @__PURE__ */ Y.jsx(km, { isWidgetOpen: t, setIsWidgetOpen: n }),
13429
+ /* @__PURE__ */ Y.jsx(wm, { isWidgetOpen: t, appToken: e })
13421
13430
  ] });
13422
13431
  }
13423
- var _s = { exports: {} };
13432
+ var ws = { exports: {} };
13424
13433
  (function(e, t) {
13425
13434
  (function(n, r) {
13426
13435
  e.exports = r();
@@ -16640,23 +16649,23 @@ var _s = { exports: {} };
16640
16649
  }(5107);
16641
16650
  var n, r;
16642
16651
  });
16643
- })(_s);
16644
- var zr = _s.exports;
16645
- const Cm = {
16652
+ })(ws);
16653
+ var zr = ws.exports;
16654
+ const $m = {
16646
16655
  NODE_ENV: zr.string(),
16647
16656
  VITE_APPTOKEN: zr.string()
16648
- }, Rm = zr.object(Cm), Am = () => {
16657
+ }, Om = zr.object($m), Pm = () => {
16649
16658
  var n;
16650
- const e = Rm.validate({
16659
+ const e = Om.validate({
16651
16660
  NODE_ENV: process.env.NODE_ENV
16652
16661
  }), t = e.hasOwnProperty("error");
16653
16662
  if (process.env.NODE_ENV, t)
16654
16663
  throw new Error((n = e == null ? void 0 : e.error) == null ? void 0 : n.message);
16655
16664
  };
16656
- Am();
16665
+ Pm();
16657
16666
  process.env.NODE_ENV === "development" && window && window.location && window.location.href === "http://localhost:5173/" && Xt.createRoot(document.getElementById("root")).render(
16658
- /* @__PURE__ */ Y.jsx(we.StrictMode, { children: /* @__PURE__ */ Y.jsx(Tm, { appToken: "a9c0eb09-54e6-4732-bd9f-f325ee983fe9" }) })
16667
+ /* @__PURE__ */ Y.jsx(we.StrictMode, { children: /* @__PURE__ */ Y.jsx(Am, { appToken: "a9c0eb09-54e6-4732-bd9f-f325ee983fe9" }) })
16659
16668
  );
16660
16669
  export {
16661
- Tm as App
16670
+ Am as App
16662
16671
  };