randmarcomps 1.174.0 → 1.175.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -68,8 +68,8 @@ var jt = React.createContext({}), Lt = React.forwardRef((e, t) => {
68
68
  l == null || l(oe), L(oe);
69
69
  }, [l]), H = React.useMemo(() => f ? typeof f == "string" ? new RegExp(f) : f : null, [f]), U = React.useRef(null), G = React.useRef(null), J = React.useRef({ value: j, onChange: F, isIOS: typeof window < "u" && ((O = (N = window == null ? void 0 : window.CSS) == null ? void 0 : N.supports) == null ? void 0 : O.call(N, "-webkit-touch-callout", "none")) }), ee = React.useRef({ prev: [(V = U.current) == null ? void 0 : V.selectionStart, (M = U.current) == null ? void 0 : M.selectionEnd, (I = U.current) == null ? void 0 : I.selectionDirection] });
70
70
  React.useImperativeHandle(t, () => U.current, []), React.useEffect(() => {
71
- let oe = U.current, xe = G.current;
72
- if (!oe || !xe) return;
71
+ let oe = U.current, be = G.current;
72
+ if (!oe || !be) return;
73
73
  J.current.value !== oe.value && J.current.onChange(oe.value), ee.current.prev = [oe.selectionStart, oe.selectionEnd, oe.selectionDirection];
74
74
  function _e() {
75
75
  if (document.activeElement !== oe) {
@@ -78,8 +78,8 @@ var jt = React.createContext({}), Lt = React.forwardRef((e, t) => {
78
78
  }
79
79
  let we = oe.selectionStart, ke = oe.selectionEnd, Be = oe.selectionDirection, Me = oe.maxLength, Fe = oe.value, He = ee.current.prev, Le = -1, Ne = -1, qe;
80
80
  if (Fe.length !== 0 && we !== null && ke !== null) {
81
- let Te = we === ke, ut = we === Fe.length && Fe.length < Me;
82
- if (Te && !ut) {
81
+ let Ae = we === ke, ut = we === Fe.length && Fe.length < Me;
82
+ if (Ae && !ut) {
83
83
  let Ze = we;
84
84
  if (Ze === 0) Le = 0, Ne = 1, qe = "forward";
85
85
  else if (Ze === Me) Le = Ze - 1, Ne = Ze, qe = "backward";
@@ -106,71 +106,71 @@ var jt = React.createContext({}), Lt = React.forwardRef((e, t) => {
106
106
  }
107
107
  }
108
108
  let Pe = () => {
109
- xe && xe.style.setProperty("--root-height", `${oe.clientHeight}px`);
109
+ be && be.style.setProperty("--root-height", `${oe.clientHeight}px`);
110
110
  };
111
111
  Pe();
112
- let Ae = new ResizeObserver(Pe);
113
- return Ae.observe(oe), () => {
114
- document.removeEventListener("selectionchange", _e, { capture: !0 }), Ae.disconnect();
112
+ let Ee = new ResizeObserver(Pe);
113
+ return Ee.observe(oe), () => {
114
+ document.removeEventListener("selectionchange", _e, { capture: !0 }), Ee.disconnect();
115
115
  };
116
116
  }, []);
117
- let [ie, W] = React.useState(!1), [Q, Z] = React.useState(!1), [ae, se] = React.useState(null), [he, pe] = React.useState(null);
117
+ let [ie, W] = React.useState(!1), [Q, Z] = React.useState(!1), [ne, se] = React.useState(null), [he, pe] = React.useState(null);
118
118
  React.useEffect(() => {
119
119
  ht(() => {
120
- var oe, xe, _e, Pe;
120
+ var oe, be, _e, Pe;
121
121
  (oe = U.current) == null || oe.dispatchEvent(new Event("input"));
122
- let Ae = (xe = U.current) == null ? void 0 : xe.selectionStart, we = (_e = U.current) == null ? void 0 : _e.selectionEnd, ke = (Pe = U.current) == null ? void 0 : Pe.selectionDirection;
123
- Ae !== null && we !== null && (se(Ae), pe(we), ee.current.prev = [Ae, we, ke]);
122
+ let Ee = (be = U.current) == null ? void 0 : be.selectionStart, we = (_e = U.current) == null ? void 0 : _e.selectionEnd, ke = (Pe = U.current) == null ? void 0 : Pe.selectionDirection;
123
+ Ee !== null && we !== null && (se(Ee), pe(we), ee.current.prev = [Ee, we, ke]);
124
124
  });
125
125
  }, [j, Q]), React.useEffect(() => {
126
126
  q !== void 0 && j !== q && q.length < u && j.length === u && (g == null || g(j));
127
127
  }, [u, g, q, j]);
128
- let ue = Tt({ containerRef: G, inputRef: U, pushPasswordManagerStrategy: b, isFocused: Q }), ve = React.useCallback((oe) => {
129
- let xe = oe.currentTarget.value.slice(0, u);
130
- if (xe.length > 0 && H && !H.test(xe)) {
128
+ let ue = Tt({ containerRef: G, inputRef: U, pushPasswordManagerStrategy: b, isFocused: Q }), xe = React.useCallback((oe) => {
129
+ let be = oe.currentTarget.value.slice(0, u);
130
+ if (be.length > 0 && H && !H.test(be)) {
131
131
  oe.preventDefault();
132
132
  return;
133
133
  }
134
- typeof q == "string" && xe.length < q.length && document.dispatchEvent(new Event("selectionchange")), F(xe);
134
+ typeof q == "string" && be.length < q.length && document.dispatchEvent(new Event("selectionchange")), F(be);
135
135
  }, [u, F, q, H]), de = React.useCallback(() => {
136
136
  var oe;
137
137
  if (U.current) {
138
- let xe = Math.min(U.current.value.length, u - 1), _e = U.current.value.length;
139
- (oe = U.current) == null || oe.setSelectionRange(xe, _e), se(xe), pe(_e);
138
+ let be = Math.min(U.current.value.length, u - 1), _e = U.current.value.length;
139
+ (oe = U.current) == null || oe.setSelectionRange(be, _e), se(be), pe(_e);
140
140
  }
141
141
  Z(!0);
142
142
  }, [u]), ye = React.useCallback((oe) => {
143
- var xe, _e;
143
+ var be, _e;
144
144
  let Pe = U.current;
145
145
  if (!_ && (!J.current.isIOS || !oe.clipboardData || !Pe)) return;
146
- let Ae = oe.clipboardData.getData("text/plain"), we = _ ? _(Ae) : Ae;
146
+ let Ee = oe.clipboardData.getData("text/plain"), we = _ ? _(Ee) : Ee;
147
147
  oe.preventDefault();
148
- let ke = (xe = U.current) == null ? void 0 : xe.selectionStart, Be = (_e = U.current) == null ? void 0 : _e.selectionEnd, Me = (ke !== Be ? j.slice(0, ke) + we + j.slice(Be) : j.slice(0, ke) + we + j.slice(ke)).slice(0, u);
148
+ let ke = (be = U.current) == null ? void 0 : be.selectionStart, Be = (_e = U.current) == null ? void 0 : _e.selectionEnd, Me = (ke !== Be ? j.slice(0, ke) + we + j.slice(Be) : j.slice(0, ke) + we + j.slice(ke)).slice(0, u);
149
149
  if (Me.length > 0 && H && !H.test(Me)) return;
150
150
  Pe.value = Me, F(Me);
151
151
  let Fe = Math.min(Me.length, u - 1), He = Me.length;
152
152
  Pe.setSelectionRange(Fe, He), se(Fe), pe(He);
153
- }, [u, F, H, j]), fe = React.useMemo(() => ({ position: "relative", cursor: R.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [R.disabled]), le = React.useMemo(() => ({ position: "absolute", inset: 0, width: ue.willPushPWMBadge ? `calc(100% + ${ue.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: ue.willPushPWMBadge ? `inset(0 ${ue.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: d, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [ue.PWM_BADGE_SPACE_WIDTH, ue.willPushPWMBadge, d]), ce = React.useMemo(() => React.createElement("input", bt(St({ autoComplete: R.autoComplete || "one-time-code" }, R), { "data-input-otp": !0, "data-input-otp-placeholder-shown": j.length === 0 || void 0, "data-input-otp-mss": ae, "data-input-otp-mse": he, inputMode: m, pattern: H == null ? void 0 : H.source, "aria-placeholder": p, style: le, maxLength: u, value: j, ref: U, onPaste: (oe) => {
154
- var xe;
155
- ye(oe), (xe = R.onPaste) == null || xe.call(R, oe);
156
- }, onChange: ve, onMouseOver: (oe) => {
157
- var xe;
158
- W(!0), (xe = R.onMouseOver) == null || xe.call(R, oe);
153
+ }, [u, F, H, j]), fe = React.useMemo(() => ({ position: "relative", cursor: R.disabled ? "default" : "text", userSelect: "none", WebkitUserSelect: "none", pointerEvents: "none" }), [R.disabled]), le = React.useMemo(() => ({ position: "absolute", inset: 0, width: ue.willPushPWMBadge ? `calc(100% + ${ue.PWM_BADGE_SPACE_WIDTH})` : "100%", clipPath: ue.willPushPWMBadge ? `inset(0 ${ue.PWM_BADGE_SPACE_WIDTH} 0 0)` : void 0, height: "100%", display: "flex", textAlign: d, opacity: "1", color: "transparent", pointerEvents: "all", background: "transparent", caretColor: "transparent", border: "0 solid transparent", outline: "0 solid transparent", boxShadow: "none", lineHeight: "1", letterSpacing: "-.5em", fontSize: "var(--root-height)", fontFamily: "monospace", fontVariantNumeric: "tabular-nums" }), [ue.PWM_BADGE_SPACE_WIDTH, ue.willPushPWMBadge, d]), ce = React.useMemo(() => React.createElement("input", bt(St({ autoComplete: R.autoComplete || "one-time-code" }, R), { "data-input-otp": !0, "data-input-otp-placeholder-shown": j.length === 0 || void 0, "data-input-otp-mss": ne, "data-input-otp-mse": he, inputMode: m, pattern: H == null ? void 0 : H.source, "aria-placeholder": p, style: le, maxLength: u, value: j, ref: U, onPaste: (oe) => {
154
+ var be;
155
+ ye(oe), (be = R.onPaste) == null || be.call(R, oe);
156
+ }, onChange: xe, onMouseOver: (oe) => {
157
+ var be;
158
+ W(!0), (be = R.onMouseOver) == null || be.call(R, oe);
159
159
  }, onMouseLeave: (oe) => {
160
- var xe;
161
- W(!1), (xe = R.onMouseLeave) == null || xe.call(R, oe);
160
+ var be;
161
+ W(!1), (be = R.onMouseLeave) == null || be.call(R, oe);
162
162
  }, onFocus: (oe) => {
163
- var xe;
164
- de(), (xe = R.onFocus) == null || xe.call(R, oe);
163
+ var be;
164
+ de(), (be = R.onFocus) == null || be.call(R, oe);
165
165
  }, onBlur: (oe) => {
166
- var xe;
167
- Z(!1), (xe = R.onBlur) == null || xe.call(R, oe);
168
- } })), [ve, de, ye, m, le, u, he, ae, R, H == null ? void 0 : H.source, j]), te = React.useMemo(() => ({ slots: Array.from({ length: u }).map((oe, xe) => {
166
+ var be;
167
+ Z(!1), (be = R.onBlur) == null || be.call(R, oe);
168
+ } })), [xe, de, ye, m, le, u, he, ne, R, H == null ? void 0 : H.source, j]), ae = React.useMemo(() => ({ slots: Array.from({ length: u }).map((oe, be) => {
169
169
  var _e;
170
- let Pe = Q && ae !== null && he !== null && (ae === he && xe === ae || xe >= ae && xe < he), Ae = j[xe] !== void 0 ? j[xe] : null, we = j[0] !== void 0 ? null : (_e = p == null ? void 0 : p[xe]) != null ? _e : null;
171
- return { char: Ae, placeholderChar: we, isActive: Pe, hasFakeCaret: Pe && Ae === null };
172
- }), isFocused: Q, isHovering: !R.disabled && ie }), [Q, ie, u, he, ae, R.disabled, j]), be = React.useMemo(() => E ? E(te) : React.createElement(jt.Provider, { value: te }, C), [C, te, E]);
173
- return React.createElement(React.Fragment, null, T !== null && React.createElement("noscript", null, React.createElement("style", null, T)), React.createElement("div", { ref: G, "data-input-otp-container": !0, style: fe, className: S }, be, React.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, ce)));
170
+ let Pe = Q && ne !== null && he !== null && (ne === he && be === ne || be >= ne && be < he), Ee = j[be] !== void 0 ? j[be] : null, we = j[0] !== void 0 ? null : (_e = p == null ? void 0 : p[be]) != null ? _e : null;
171
+ return { char: Ee, placeholderChar: we, isActive: Pe, hasFakeCaret: Pe && Ee === null };
172
+ }), isFocused: Q, isHovering: !R.disabled && ie }), [Q, ie, u, he, ne, R.disabled, j]), ve = React.useMemo(() => E ? E(ae) : React.createElement(jt.Provider, { value: ae }, C), [C, ae, E]);
173
+ return React.createElement(React.Fragment, null, T !== null && React.createElement("noscript", null, React.createElement("style", null, T)), React.createElement("div", { ref: G, "data-input-otp-container": !0, style: fe, className: S }, ve, React.createElement("div", { style: { position: "absolute", inset: 0, pointerEvents: "none" } }, ce)));
174
174
  });
175
175
  Lt.displayName = "Input";
176
176
  function $(e, t) {
@@ -1134,7 +1134,7 @@ const fromTheme = (e) => {
1134
1134
  position: [isArbitraryVariable, isArbitraryValue]
1135
1135
  }], Z = () => ["no-repeat", {
1136
1136
  repeat: ["", "x", "y", "space", "round"]
1137
- }], ae = () => ["auto", "cover", "contain", isArbitraryVariableSize, isArbitrarySize, {
1137
+ }], ne = () => ["auto", "cover", "contain", isArbitraryVariableSize, isArbitrarySize, {
1138
1138
  size: [isArbitraryVariable, isArbitraryValue]
1139
1139
  }], se = () => [isPercent$1, isArbitraryVariableLength, isArbitraryLength], he = () => [
1140
1140
  // Deprecated since Tailwind CSS v4.0.0
@@ -1144,14 +1144,14 @@ const fromTheme = (e) => {
1144
1144
  m,
1145
1145
  isArbitraryVariable,
1146
1146
  isArbitraryValue
1147
- ], pe = () => ["", isNumber$2, isArbitraryVariableLength, isArbitraryLength], ue = () => ["solid", "dashed", "dotted", "double"], ve = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], de = () => [isNumber$2, isPercent$1, isArbitraryVariablePosition, isArbitraryPosition], ye = () => [
1147
+ ], pe = () => ["", isNumber$2, isArbitraryVariableLength, isArbitraryLength], ue = () => ["solid", "dashed", "dotted", "double"], xe = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], de = () => [isNumber$2, isPercent$1, isArbitraryVariablePosition, isArbitraryPosition], ye = () => [
1148
1148
  // Deprecated since Tailwind CSS v4.0.0
1149
1149
  "",
1150
1150
  "none",
1151
1151
  T,
1152
1152
  isArbitraryVariable,
1153
1153
  isArbitraryValue
1154
- ], fe = () => ["none", isNumber$2, isArbitraryVariable, isArbitraryValue], le = () => ["none", isNumber$2, isArbitraryVariable, isArbitraryValue], ce = () => [isNumber$2, isArbitraryVariable, isArbitraryValue], te = () => [isFraction, "full", ...L()];
1154
+ ], fe = () => ["none", isNumber$2, isArbitraryVariable, isArbitraryValue], le = () => ["none", isNumber$2, isArbitraryVariable, isArbitraryValue], ce = () => [isNumber$2, isArbitraryVariable, isArbitraryValue], ae = () => [isFraction, "full", ...L()];
1155
1155
  return {
1156
1156
  cacheSize: 500,
1157
1157
  theme: {
@@ -2117,7 +2117,7 @@ const fromTheme = (e) => {
2117
2117
  * @see https://tailwindcss.com/docs/background-size
2118
2118
  */
2119
2119
  "bg-size": [{
2120
- bg: ae()
2120
+ bg: ne()
2121
2121
  }],
2122
2122
  /**
2123
2123
  * Background Image
@@ -2605,14 +2605,14 @@ const fromTheme = (e) => {
2605
2605
  * @see https://tailwindcss.com/docs/mix-blend-mode
2606
2606
  */
2607
2607
  "mix-blend": [{
2608
- "mix-blend": [...ve(), "plus-darker", "plus-lighter"]
2608
+ "mix-blend": [...xe(), "plus-darker", "plus-lighter"]
2609
2609
  }],
2610
2610
  /**
2611
2611
  * Background Blend Mode
2612
2612
  * @see https://tailwindcss.com/docs/background-blend-mode
2613
2613
  */
2614
2614
  "bg-blend": [{
2615
- "bg-blend": ve()
2615
+ "bg-blend": xe()
2616
2616
  }],
2617
2617
  /**
2618
2618
  * Mask Clip
@@ -2794,7 +2794,7 @@ const fromTheme = (e) => {
2794
2794
  * @see https://tailwindcss.com/docs/mask-size
2795
2795
  */
2796
2796
  "mask-size": [{
2797
- mask: ae()
2797
+ mask: ne()
2798
2798
  }],
2799
2799
  /**
2800
2800
  * Mask Type
@@ -3201,28 +3201,28 @@ const fromTheme = (e) => {
3201
3201
  * @see https://tailwindcss.com/docs/translate
3202
3202
  */
3203
3203
  translate: [{
3204
- translate: te()
3204
+ translate: ae()
3205
3205
  }],
3206
3206
  /**
3207
3207
  * Translate X
3208
3208
  * @see https://tailwindcss.com/docs/translate
3209
3209
  */
3210
3210
  "translate-x": [{
3211
- "translate-x": te()
3211
+ "translate-x": ae()
3212
3212
  }],
3213
3213
  /**
3214
3214
  * Translate Y
3215
3215
  * @see https://tailwindcss.com/docs/translate
3216
3216
  */
3217
3217
  "translate-y": [{
3218
- "translate-y": te()
3218
+ "translate-y": ae()
3219
3219
  }],
3220
3220
  /**
3221
3221
  * Translate Z
3222
3222
  * @see https://tailwindcss.com/docs/translate
3223
3223
  */
3224
3224
  "translate-z": [{
3225
- "translate-z": te()
3225
+ "translate-z": ae()
3226
3226
  }],
3227
3227
  /**
3228
3228
  * Translate None
@@ -6438,7 +6438,7 @@ var ANCHOR_NAME$1 = "PopperAnchor", PopperAnchor = React.forwardRef(
6438
6438
  PopperAnchor.displayName = ANCHOR_NAME$1;
6439
6439
  var CONTENT_NAME$5 = "PopperContent", [PopperContentProvider, useContentContext] = createPopperContext(CONTENT_NAME$5), PopperContent = React.forwardRef(
6440
6440
  (e, t) => {
6441
- var de, ye, fe, le, ce, te;
6441
+ var de, ye, fe, le, ce, ae;
6442
6442
  const {
6443
6443
  __scopePopper: n,
6444
6444
  side: o = "bottom",
@@ -6454,7 +6454,7 @@ var CONTENT_NAME$5 = "PopperContent", [PopperContentProvider, useContentContext]
6454
6454
  updatePositionStrategy: S = "optimized",
6455
6455
  onPlaced: T,
6456
6456
  ...E
6457
- } = e, C = usePopperContext(CONTENT_NAME$5, n), [R, N] = React.useState(null), O = useComposedRefs(t, (be) => N(be)), [V, M] = React.useState(null), I = useSize(V), D = (I == null ? void 0 : I.width) ?? 0, L = (I == null ? void 0 : I.height) ?? 0, j = o + (u !== "center" ? "-" + u : ""), q = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, F = Array.isArray(m) ? m : [m], H = F.length > 0, U = {
6457
+ } = e, C = usePopperContext(CONTENT_NAME$5, n), [R, N] = React.useState(null), O = useComposedRefs(t, (ve) => N(ve)), [V, M] = React.useState(null), I = useSize(V), D = (I == null ? void 0 : I.width) ?? 0, L = (I == null ? void 0 : I.height) ?? 0, j = o + (u !== "center" ? "-" + u : ""), q = typeof g == "number" ? g : { top: 0, right: 0, bottom: 0, left: 0, ...g }, F = Array.isArray(m) ? m : [m], H = F.length > 0, U = {
6458
6458
  padding: q,
6459
6459
  boundary: F.filter(isNotNull),
6460
6460
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
@@ -6463,7 +6463,7 @@ var CONTENT_NAME$5 = "PopperContent", [PopperContentProvider, useContentContext]
6463
6463
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
6464
6464
  strategy: "fixed",
6465
6465
  placement: j,
6466
- whileElementsMounted: (...be) => autoUpdate(...be, {
6466
+ whileElementsMounted: (...ve) => autoUpdate(...ve, {
6467
6467
  animationFrame: S === "always"
6468
6468
  }),
6469
6469
  elements: {
@@ -6480,22 +6480,22 @@ var CONTENT_NAME$5 = "PopperContent", [PopperContentProvider, useContentContext]
6480
6480
  p && flip({ ...U }),
6481
6481
  size({
6482
6482
  ...U,
6483
- apply: ({ elements: be, rects: oe, availableWidth: xe, availableHeight: _e }) => {
6484
- const { width: Pe, height: Ae } = oe.reference, we = be.floating.style;
6485
- we.setProperty("--radix-popper-available-width", `${xe}px`), we.setProperty("--radix-popper-available-height", `${_e}px`), we.setProperty("--radix-popper-anchor-width", `${Pe}px`), we.setProperty("--radix-popper-anchor-height", `${Ae}px`);
6483
+ apply: ({ elements: ve, rects: oe, availableWidth: be, availableHeight: _e }) => {
6484
+ const { width: Pe, height: Ee } = oe.reference, we = ve.floating.style;
6485
+ we.setProperty("--radix-popper-available-width", `${be}px`), we.setProperty("--radix-popper-available-height", `${_e}px`), we.setProperty("--radix-popper-anchor-width", `${Pe}px`), we.setProperty("--radix-popper-anchor-height", `${Ee}px`);
6486
6486
  }
6487
6487
  }),
6488
6488
  V && arrow({ element: V, padding: f }),
6489
6489
  transformOrigin({ arrowWidth: D, arrowHeight: L }),
6490
6490
  _ && hide({ strategy: "referenceHidden", ...U })
6491
6491
  ]
6492
- }), [Q, Z] = getSideAndAlignFromPlacement(ee), ae = useCallbackRef$1(T);
6492
+ }), [Q, Z] = getSideAndAlignFromPlacement(ee), ne = useCallbackRef$1(T);
6493
6493
  useLayoutEffect2(() => {
6494
- ie && (ae == null || ae());
6495
- }, [ie, ae]);
6496
- const se = (de = W.arrow) == null ? void 0 : de.x, he = (ye = W.arrow) == null ? void 0 : ye.y, pe = ((fe = W.arrow) == null ? void 0 : fe.centerOffset) !== 0, [ue, ve] = React.useState();
6494
+ ie && (ne == null || ne());
6495
+ }, [ie, ne]);
6496
+ const se = (de = W.arrow) == null ? void 0 : de.x, he = (ye = W.arrow) == null ? void 0 : ye.y, pe = ((fe = W.arrow) == null ? void 0 : fe.centerOffset) !== 0, [ue, xe] = React.useState();
6497
6497
  return useLayoutEffect2(() => {
6498
- R && ve(window.getComputedStyle(R).zIndex);
6498
+ R && xe(window.getComputedStyle(R).zIndex);
6499
6499
  }, [R]), /* @__PURE__ */ jsx(
6500
6500
  "div",
6501
6501
  {
@@ -6514,7 +6514,7 @@ var CONTENT_NAME$5 = "PopperContent", [PopperContentProvider, useContentContext]
6514
6514
  // hide the content if using the hide middleware and should be hidden
6515
6515
  // set visibility to hidden and disable pointer events so the UI behaves
6516
6516
  // as if the PopperContent isn't there at all
6517
- ...((te = W.hide) == null ? void 0 : te.referenceHidden) && {
6517
+ ...((ae = W.hide) == null ? void 0 : ae.referenceHidden) && {
6518
6518
  visibility: "hidden",
6519
6519
  pointerEvents: "none"
6520
6520
  }
@@ -6899,15 +6899,15 @@ var CONTENT_NAME$4 = "MenuContent", [MenuContentProvider, useMenuContentContext]
6899
6899
  ...E
6900
6900
  } = e, C = useMenuContext(CONTENT_NAME$4, n), R = useMenuRootContext(CONTENT_NAME$4, n), N = usePopperScope$2(n), O = useRovingFocusGroupScope$1(n), V = useCollection$2(n), [M, I] = React.useState(null), D = React.useRef(null), L = useComposedRefs(t, D, C.onContentChange), j = React.useRef(0), q = React.useRef(""), F = React.useRef(0), H = React.useRef(null), U = React.useRef("right"), G = React.useRef(0), J = T ? ReactRemoveScroll : React.Fragment, ee = T ? { as: Slot$1, allowPinchZoom: !0 } : void 0, ie = (Q) => {
6901
6901
  var de, ye;
6902
- const Z = q.current + Q, ae = V().filter((fe) => !fe.disabled), se = document.activeElement, he = (de = ae.find((fe) => fe.ref.current === se)) == null ? void 0 : de.textValue, pe = ae.map((fe) => fe.textValue), ue = getNextMatch(pe, Z, he), ve = (ye = ae.find((fe) => fe.textValue === ue)) == null ? void 0 : ye.ref.current;
6902
+ const Z = q.current + Q, ne = V().filter((fe) => !fe.disabled), se = document.activeElement, he = (de = ne.find((fe) => fe.ref.current === se)) == null ? void 0 : de.textValue, pe = ne.map((fe) => fe.textValue), ue = getNextMatch(pe, Z, he), xe = (ye = ne.find((fe) => fe.textValue === ue)) == null ? void 0 : ye.ref.current;
6903
6903
  (function fe(le) {
6904
6904
  q.current = le, window.clearTimeout(j.current), le !== "" && (j.current = window.setTimeout(() => fe(""), 1e3));
6905
- })(Z), ve && setTimeout(() => ve.focus());
6905
+ })(Z), xe && setTimeout(() => xe.focus());
6906
6906
  };
6907
6907
  React.useEffect(() => () => window.clearTimeout(j.current), []), useFocusGuards();
6908
6908
  const W = React.useCallback((Q) => {
6909
- var ae, se;
6910
- return U.current === ((ae = H.current) == null ? void 0 : ae.side) && isPointerInGraceArea(Q, (se = H.current) == null ? void 0 : se.area);
6909
+ var ne, se;
6910
+ return U.current === ((ne = H.current) == null ? void 0 : ne.side) && isPointerInGraceArea(Q, (se = H.current) == null ? void 0 : se.area);
6911
6911
  }, []);
6912
6912
  return /* @__PURE__ */ jsx(
6913
6913
  MenuContentProvider,
@@ -6984,13 +6984,13 @@ var CONTENT_NAME$4 = "MenuContent", [MenuContentProvider, useMenuContentContext]
6984
6984
  ref: L,
6985
6985
  style: { outline: "none", ...E.style },
6986
6986
  onKeyDown: composeEventHandlers(E.onKeyDown, (Q) => {
6987
- const ae = Q.target.closest("[data-radix-menu-content]") === Q.currentTarget, se = Q.ctrlKey || Q.altKey || Q.metaKey, he = Q.key.length === 1;
6988
- ae && (Q.key === "Tab" && Q.preventDefault(), !se && he && ie(Q.key));
6987
+ const ne = Q.target.closest("[data-radix-menu-content]") === Q.currentTarget, se = Q.ctrlKey || Q.altKey || Q.metaKey, he = Q.key.length === 1;
6988
+ ne && (Q.key === "Tab" && Q.preventDefault(), !se && he && ie(Q.key));
6989
6989
  const pe = D.current;
6990
6990
  if (Q.target !== pe || !FIRST_LAST_KEYS.includes(Q.key)) return;
6991
6991
  Q.preventDefault();
6992
- const ve = V().filter((de) => !de.disabled).map((de) => de.ref.current);
6993
- LAST_KEYS.includes(Q.key) && ve.reverse(), focusFirst$1(ve);
6992
+ const xe = V().filter((de) => !de.disabled).map((de) => de.ref.current);
6993
+ LAST_KEYS.includes(Q.key) && xe.reverse(), focusFirst$1(xe);
6994
6994
  }),
6995
6995
  onBlur: composeEventHandlers(e.onBlur, (Q) => {
6996
6996
  Q.currentTarget.contains(Q.target) || (window.clearTimeout(j.current), q.current = "");
@@ -6998,8 +6998,8 @@ var CONTENT_NAME$4 = "MenuContent", [MenuContentProvider, useMenuContentContext]
6998
6998
  onPointerMove: composeEventHandlers(
6999
6999
  e.onPointerMove,
7000
7000
  whenMouse((Q) => {
7001
- const Z = Q.target, ae = G.current !== Q.clientX;
7002
- if (Q.currentTarget.contains(Z) && ae) {
7001
+ const Z = Q.target, ne = G.current !== Q.clientX;
7002
+ if (Q.currentTarget.contains(Z) && ne) {
7003
7003
  const se = Q.clientX > G.current ? "right" : "left";
7004
7004
  U.current = se, G.current = Q.clientX;
7005
7005
  }
@@ -9226,7 +9226,7 @@ var [ToastInteractiveProvider, useToastInteractiveContext] = createToastContext(
9226
9226
  }),
9227
9227
  onPointerMove: composeEventHandlers(e.onPointerMove, (G) => {
9228
9228
  if (!O.current) return;
9229
- const J = G.clientX - O.current.x, ee = G.clientY - O.current.y, ie = !!V.current, W = ["left", "right"].includes(E.swipeDirection), Q = ["left", "up"].includes(E.swipeDirection) ? Math.min : Math.max, Z = W ? Q(0, J) : 0, ae = W ? 0 : Q(0, ee), se = G.pointerType === "touch" ? 10 : 2, he = { x: Z, y: ae }, pe = { originalEvent: G, delta: he };
9229
+ const J = G.clientX - O.current.x, ee = G.clientY - O.current.y, ie = !!V.current, W = ["left", "right"].includes(E.swipeDirection), Q = ["left", "up"].includes(E.swipeDirection) ? Math.min : Math.max, Z = W ? Q(0, J) : 0, ne = W ? 0 : Q(0, ee), se = G.pointerType === "touch" ? 10 : 2, he = { x: Z, y: ne }, pe = { originalEvent: G, delta: he };
9230
9230
  ie ? (V.current = he, handleAndDispatchCustomEvent(TOAST_SWIPE_MOVE, b, pe, {
9231
9231
  discrete: !1
9232
9232
  })) : isDeltaInDirection(he, E.swipeDirection, se) ? (V.current = he, handleAndDispatchCustomEvent(TOAST_SWIPE_START, g, pe, {
@@ -10255,8 +10255,8 @@ function requireReactIs_development$1() {
10255
10255
  }
10256
10256
  function M(oe) {
10257
10257
  if (typeof oe == "object" && oe !== null) {
10258
- var xe = oe.$$typeof;
10259
- switch (xe) {
10258
+ var be = oe.$$typeof;
10259
+ switch (be) {
10260
10260
  case e:
10261
10261
  var _e = oe.type;
10262
10262
  switch (_e) {
@@ -10277,11 +10277,11 @@ function requireReactIs_development$1() {
10277
10277
  case u:
10278
10278
  return Pe;
10279
10279
  default:
10280
- return xe;
10280
+ return be;
10281
10281
  }
10282
10282
  }
10283
10283
  case t:
10284
- return xe;
10284
+ return be;
10285
10285
  }
10286
10286
  }
10287
10287
  }
@@ -10289,7 +10289,7 @@ function requireReactIs_development$1() {
10289
10289
  function Z(oe) {
10290
10290
  return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")), !1;
10291
10291
  }
10292
- function ae(oe) {
10292
+ function ne(oe) {
10293
10293
  return Q || (Q = !0, console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")), !1;
10294
10294
  }
10295
10295
  function se(oe) {
@@ -10304,7 +10304,7 @@ function requireReactIs_development$1() {
10304
10304
  function ue(oe) {
10305
10305
  return M(oe) === p;
10306
10306
  }
10307
- function ve(oe) {
10307
+ function xe(oe) {
10308
10308
  return M(oe) === n;
10309
10309
  }
10310
10310
  function de(oe) {
@@ -10322,13 +10322,13 @@ function requireReactIs_development$1() {
10322
10322
  function ce(oe) {
10323
10323
  return M(oe) === o;
10324
10324
  }
10325
- function te(oe) {
10325
+ function ae(oe) {
10326
10326
  return M(oe) === m;
10327
10327
  }
10328
- function be(oe) {
10328
+ function ve(oe) {
10329
10329
  return M(oe) === g;
10330
10330
  }
10331
- reactIs_development$1.ContextConsumer = I, reactIs_development$1.ContextProvider = D, reactIs_development$1.Element = L, reactIs_development$1.ForwardRef = j, reactIs_development$1.Fragment = q, reactIs_development$1.Lazy = F, reactIs_development$1.Memo = H, reactIs_development$1.Portal = U, reactIs_development$1.Profiler = G, reactIs_development$1.StrictMode = J, reactIs_development$1.Suspense = ee, reactIs_development$1.SuspenseList = ie, reactIs_development$1.isAsyncMode = Z, reactIs_development$1.isConcurrentMode = ae, reactIs_development$1.isContextConsumer = se, reactIs_development$1.isContextProvider = he, reactIs_development$1.isElement = pe, reactIs_development$1.isForwardRef = ue, reactIs_development$1.isFragment = ve, reactIs_development$1.isLazy = de, reactIs_development$1.isMemo = ye, reactIs_development$1.isPortal = fe, reactIs_development$1.isProfiler = le, reactIs_development$1.isStrictMode = ce, reactIs_development$1.isSuspense = te, reactIs_development$1.isSuspenseList = be, reactIs_development$1.isValidElementType = V, reactIs_development$1.typeOf = M;
10331
+ reactIs_development$1.ContextConsumer = I, reactIs_development$1.ContextProvider = D, reactIs_development$1.Element = L, reactIs_development$1.ForwardRef = j, reactIs_development$1.Fragment = q, reactIs_development$1.Lazy = F, reactIs_development$1.Memo = H, reactIs_development$1.Portal = U, reactIs_development$1.Profiler = G, reactIs_development$1.StrictMode = J, reactIs_development$1.Suspense = ee, reactIs_development$1.SuspenseList = ie, reactIs_development$1.isAsyncMode = Z, reactIs_development$1.isConcurrentMode = ne, reactIs_development$1.isContextConsumer = se, reactIs_development$1.isContextProvider = he, reactIs_development$1.isElement = pe, reactIs_development$1.isForwardRef = ue, reactIs_development$1.isFragment = xe, reactIs_development$1.isLazy = de, reactIs_development$1.isMemo = ye, reactIs_development$1.isPortal = fe, reactIs_development$1.isProfiler = le, reactIs_development$1.isStrictMode = ce, reactIs_development$1.isSuspense = ae, reactIs_development$1.isSuspenseList = ve, reactIs_development$1.isValidElementType = V, reactIs_development$1.typeOf = M;
10332
10332
  }()), reactIs_development$1;
10333
10333
  }
10334
10334
  var hasRequiredReactIs$1;
@@ -13733,12 +13733,12 @@ var DefaultTooltipContent = function(t) {
13733
13733
  paddingTop: 4,
13734
13734
  paddingBottom: 4,
13735
13735
  color: G.color || "#000"
13736
- }, f), ie = G.formatter || b || defaultFormatter, W = G.value, Q = G.name, Z = W, ae = Q;
13737
- if (ie && Z != null && ae != null) {
13736
+ }, f), ie = G.formatter || b || defaultFormatter, W = G.value, Q = G.name, Z = W, ne = Q;
13737
+ if (ie && Z != null && ne != null) {
13738
13738
  var se = ie(W, Q, G, J, g);
13739
13739
  if (Array.isArray(se)) {
13740
13740
  var he = _slicedToArray$b(se, 2);
13741
- Z = he[0], ae = he[1];
13741
+ Z = he[0], ne = he[1];
13742
13742
  } else
13743
13743
  Z = se;
13744
13744
  }
@@ -13748,9 +13748,9 @@ var DefaultTooltipContent = function(t) {
13748
13748
  className: "recharts-tooltip-item",
13749
13749
  key: "tooltip-item-".concat(J),
13750
13750
  style: ee
13751
- }, isNumOrStr(ae) ? /* @__PURE__ */ React__default.createElement("span", {
13751
+ }, isNumOrStr(ne) ? /* @__PURE__ */ React__default.createElement("span", {
13752
13752
  className: "recharts-tooltip-item-name"
13753
- }, ae) : null, isNumOrStr(ae) ? /* @__PURE__ */ React__default.createElement("span", {
13753
+ }, ne) : null, isNumOrStr(ne) ? /* @__PURE__ */ React__default.createElement("span", {
13754
13754
  className: "recharts-tooltip-item-separator"
13755
13755
  }, o) : null, /* @__PURE__ */ React__default.createElement("span", {
13756
13756
  className: "recharts-tooltip-item-value"
@@ -14489,7 +14489,7 @@ var ResponsiveContainer = /* @__PURE__ */ forwardRef(function(e, t) {
14489
14489
  }, []);
14490
14490
  useEffect(function() {
14491
14491
  var U = function(Q) {
14492
- var Z, ae = Q[0].contentRect, se = ae.width, he = ae.height;
14492
+ var Z, ne = Q[0].contentRect, se = ne.width, he = ne.height;
14493
14493
  F(se, he), (Z = I.current) === null || Z === void 0 || Z.call(I, se, he);
14494
14494
  };
14495
14495
  E > 0 && (U = throttle(U, E, {
@@ -14916,11 +14916,11 @@ var BREAKING_SPACES = /[ \f\n\r\t\v\u2028\u2029]+/, calculateWordWidths = functi
14916
14916
  if (Z && (l == null || u || Z.width + Q + o < Number(l)))
14917
14917
  Z.words.push(W), Z.width += Q + o;
14918
14918
  else {
14919
- var ae = {
14919
+ var ne = {
14920
14920
  words: [W],
14921
14921
  width: Q
14922
14922
  };
14923
- ee.push(ae);
14923
+ ee.push(ne);
14924
14924
  }
14925
14925
  return ee;
14926
14926
  }, []);
@@ -16471,7 +16471,7 @@ function formatLocale(e) {
16471
16471
  L: formatMilliseconds,
16472
16472
  m: formatMonthNumber,
16473
16473
  M: formatMinutes,
16474
- p: ae,
16474
+ p: ne,
16475
16475
  q: se,
16476
16476
  Q: formatUnixTimestamp,
16477
16477
  s: formatUnixTimestampSeconds,
@@ -16491,7 +16491,7 @@ function formatLocale(e) {
16491
16491
  a: he,
16492
16492
  A: pe,
16493
16493
  b: ue,
16494
- B: ve,
16494
+ B: xe,
16495
16495
  c: null,
16496
16496
  d: formatUTCDayOfMonth,
16497
16497
  e: formatUTCDayOfMonth,
@@ -16557,54 +16557,54 @@ function formatLocale(e) {
16557
16557
  O.x = I(n, O), O.X = I(o, O), O.c = I(t, O), V.x = I(n, V), V.X = I(o, V), V.c = I(t, V);
16558
16558
  function I(fe, le) {
16559
16559
  return function(ce) {
16560
- var te = [], be = -1, oe = 0, xe = fe.length, _e, Pe, Ae;
16561
- for (ce instanceof Date || (ce = /* @__PURE__ */ new Date(+ce)); ++be < xe; )
16562
- fe.charCodeAt(be) === 37 && (te.push(fe.slice(oe, be)), (Pe = pads[_e = fe.charAt(++be)]) != null ? _e = fe.charAt(++be) : Pe = _e === "e" ? " " : "0", (Ae = le[_e]) && (_e = Ae(ce, Pe)), te.push(_e), oe = be + 1);
16563
- return te.push(fe.slice(oe, be)), te.join("");
16560
+ var ae = [], ve = -1, oe = 0, be = fe.length, _e, Pe, Ee;
16561
+ for (ce instanceof Date || (ce = /* @__PURE__ */ new Date(+ce)); ++ve < be; )
16562
+ fe.charCodeAt(ve) === 37 && (ae.push(fe.slice(oe, ve)), (Pe = pads[_e = fe.charAt(++ve)]) != null ? _e = fe.charAt(++ve) : Pe = _e === "e" ? " " : "0", (Ee = le[_e]) && (_e = Ee(ce, Pe)), ae.push(_e), oe = ve + 1);
16563
+ return ae.push(fe.slice(oe, ve)), ae.join("");
16564
16564
  };
16565
16565
  }
16566
16566
  function D(fe, le) {
16567
16567
  return function(ce) {
16568
- var te = newDate(1900, void 0, 1), be = L(te, fe, ce += "", 0), oe, xe;
16569
- if (be != ce.length) return null;
16570
- if ("Q" in te) return new Date(te.Q);
16571
- if ("s" in te) return new Date(te.s * 1e3 + ("L" in te ? te.L : 0));
16572
- if (le && !("Z" in te) && (te.Z = 0), "p" in te && (te.H = te.H % 12 + te.p * 12), te.m === void 0 && (te.m = "q" in te ? te.q : 0), "V" in te) {
16573
- if (te.V < 1 || te.V > 53) return null;
16574
- "w" in te || (te.w = 1), "Z" in te ? (oe = utcDate(newDate(te.y, 0, 1)), xe = oe.getUTCDay(), oe = xe > 4 || xe === 0 ? utcMonday.ceil(oe) : utcMonday(oe), oe = utcDay.offset(oe, (te.V - 1) * 7), te.y = oe.getUTCFullYear(), te.m = oe.getUTCMonth(), te.d = oe.getUTCDate() + (te.w + 6) % 7) : (oe = localDate(newDate(te.y, 0, 1)), xe = oe.getDay(), oe = xe > 4 || xe === 0 ? timeMonday.ceil(oe) : timeMonday(oe), oe = timeDay.offset(oe, (te.V - 1) * 7), te.y = oe.getFullYear(), te.m = oe.getMonth(), te.d = oe.getDate() + (te.w + 6) % 7);
16575
- } else ("W" in te || "U" in te) && ("w" in te || (te.w = "u" in te ? te.u % 7 : "W" in te ? 1 : 0), xe = "Z" in te ? utcDate(newDate(te.y, 0, 1)).getUTCDay() : localDate(newDate(te.y, 0, 1)).getDay(), te.m = 0, te.d = "W" in te ? (te.w + 6) % 7 + te.W * 7 - (xe + 5) % 7 : te.w + te.U * 7 - (xe + 6) % 7);
16576
- return "Z" in te ? (te.H += te.Z / 100 | 0, te.M += te.Z % 100, utcDate(te)) : localDate(te);
16568
+ var ae = newDate(1900, void 0, 1), ve = L(ae, fe, ce += "", 0), oe, be;
16569
+ if (ve != ce.length) return null;
16570
+ if ("Q" in ae) return new Date(ae.Q);
16571
+ if ("s" in ae) return new Date(ae.s * 1e3 + ("L" in ae ? ae.L : 0));
16572
+ if (le && !("Z" in ae) && (ae.Z = 0), "p" in ae && (ae.H = ae.H % 12 + ae.p * 12), ae.m === void 0 && (ae.m = "q" in ae ? ae.q : 0), "V" in ae) {
16573
+ if (ae.V < 1 || ae.V > 53) return null;
16574
+ "w" in ae || (ae.w = 1), "Z" in ae ? (oe = utcDate(newDate(ae.y, 0, 1)), be = oe.getUTCDay(), oe = be > 4 || be === 0 ? utcMonday.ceil(oe) : utcMonday(oe), oe = utcDay.offset(oe, (ae.V - 1) * 7), ae.y = oe.getUTCFullYear(), ae.m = oe.getUTCMonth(), ae.d = oe.getUTCDate() + (ae.w + 6) % 7) : (oe = localDate(newDate(ae.y, 0, 1)), be = oe.getDay(), oe = be > 4 || be === 0 ? timeMonday.ceil(oe) : timeMonday(oe), oe = timeDay.offset(oe, (ae.V - 1) * 7), ae.y = oe.getFullYear(), ae.m = oe.getMonth(), ae.d = oe.getDate() + (ae.w + 6) % 7);
16575
+ } else ("W" in ae || "U" in ae) && ("w" in ae || (ae.w = "u" in ae ? ae.u % 7 : "W" in ae ? 1 : 0), be = "Z" in ae ? utcDate(newDate(ae.y, 0, 1)).getUTCDay() : localDate(newDate(ae.y, 0, 1)).getDay(), ae.m = 0, ae.d = "W" in ae ? (ae.w + 6) % 7 + ae.W * 7 - (be + 5) % 7 : ae.w + ae.U * 7 - (be + 6) % 7);
16576
+ return "Z" in ae ? (ae.H += ae.Z / 100 | 0, ae.M += ae.Z % 100, utcDate(ae)) : localDate(ae);
16577
16577
  };
16578
16578
  }
16579
- function L(fe, le, ce, te) {
16580
- for (var be = 0, oe = le.length, xe = ce.length, _e, Pe; be < oe; ) {
16581
- if (te >= xe) return -1;
16582
- if (_e = le.charCodeAt(be++), _e === 37) {
16583
- if (_e = le.charAt(be++), Pe = M[_e in pads ? le.charAt(be++) : _e], !Pe || (te = Pe(fe, ce, te)) < 0) return -1;
16584
- } else if (_e != ce.charCodeAt(te++))
16579
+ function L(fe, le, ce, ae) {
16580
+ for (var ve = 0, oe = le.length, be = ce.length, _e, Pe; ve < oe; ) {
16581
+ if (ae >= be) return -1;
16582
+ if (_e = le.charCodeAt(ve++), _e === 37) {
16583
+ if (_e = le.charAt(ve++), Pe = M[_e in pads ? le.charAt(ve++) : _e], !Pe || (ae = Pe(fe, ce, ae)) < 0) return -1;
16584
+ } else if (_e != ce.charCodeAt(ae++))
16585
16585
  return -1;
16586
16586
  }
16587
- return te;
16587
+ return ae;
16588
16588
  }
16589
16589
  function j(fe, le, ce) {
16590
- var te = m.exec(le.slice(ce));
16591
- return te ? (fe.p = g.get(te[0].toLowerCase()), ce + te[0].length) : -1;
16590
+ var ae = m.exec(le.slice(ce));
16591
+ return ae ? (fe.p = g.get(ae[0].toLowerCase()), ce + ae[0].length) : -1;
16592
16592
  }
16593
16593
  function q(fe, le, ce) {
16594
- var te = S.exec(le.slice(ce));
16595
- return te ? (fe.w = T.get(te[0].toLowerCase()), ce + te[0].length) : -1;
16594
+ var ae = S.exec(le.slice(ce));
16595
+ return ae ? (fe.w = T.get(ae[0].toLowerCase()), ce + ae[0].length) : -1;
16596
16596
  }
16597
16597
  function F(fe, le, ce) {
16598
- var te = b.exec(le.slice(ce));
16599
- return te ? (fe.w = _.get(te[0].toLowerCase()), ce + te[0].length) : -1;
16598
+ var ae = b.exec(le.slice(ce));
16599
+ return ae ? (fe.w = _.get(ae[0].toLowerCase()), ce + ae[0].length) : -1;
16600
16600
  }
16601
16601
  function H(fe, le, ce) {
16602
- var te = R.exec(le.slice(ce));
16603
- return te ? (fe.m = N.get(te[0].toLowerCase()), ce + te[0].length) : -1;
16602
+ var ae = R.exec(le.slice(ce));
16603
+ return ae ? (fe.m = N.get(ae[0].toLowerCase()), ce + ae[0].length) : -1;
16604
16604
  }
16605
16605
  function U(fe, le, ce) {
16606
- var te = E.exec(le.slice(ce));
16607
- return te ? (fe.m = C.get(te[0].toLowerCase()), ce + te[0].length) : -1;
16606
+ var ae = E.exec(le.slice(ce));
16607
+ return ae ? (fe.m = C.get(ae[0].toLowerCase()), ce + ae[0].length) : -1;
16608
16608
  }
16609
16609
  function G(fe, le, ce) {
16610
16610
  return L(fe, t, le, ce);
@@ -16627,7 +16627,7 @@ function formatLocale(e) {
16627
16627
  function Z(fe) {
16628
16628
  return f[fe.getMonth()];
16629
16629
  }
16630
- function ae(fe) {
16630
+ function ne(fe) {
16631
16631
  return l[+(fe.getHours() >= 12)];
16632
16632
  }
16633
16633
  function se(fe) {
@@ -16642,7 +16642,7 @@ function formatLocale(e) {
16642
16642
  function ue(fe) {
16643
16643
  return p[fe.getUTCMonth()];
16644
16644
  }
16645
- function ve(fe) {
16645
+ function xe(fe) {
16646
16646
  return f[fe.getUTCMonth()];
16647
16647
  }
16648
16648
  function de(fe) {
@@ -18113,12 +18113,12 @@ var ErrorBar = /* @__PURE__ */ function(e) {
18113
18113
  }
18114
18114
  return /* @__PURE__ */ React__default.createElement(Layer, _extends$k({
18115
18115
  className: "recharts-errorBar",
18116
- key: "bar-".concat(M.map(function(ae) {
18117
- return "".concat(ae.x1, "-").concat(ae.x2, "-").concat(ae.y1, "-").concat(ae.y2);
18116
+ key: "bar-".concat(M.map(function(ne) {
18117
+ return "".concat(ne.x1, "-").concat(ne.x2, "-").concat(ne.y1, "-").concat(ne.y2);
18118
18118
  }))
18119
- }, S), M.map(function(ae) {
18120
- return /* @__PURE__ */ React__default.createElement("line", _extends$k({}, ae, {
18121
- key: "line-".concat(ae.x1, "-").concat(ae.x2, "-").concat(ae.y1, "-").concat(ae.y2)
18119
+ }, S), M.map(function(ne) {
18120
+ return /* @__PURE__ */ React__default.createElement("line", _extends$k({}, ne, {
18121
+ key: "line-".concat(ne.x1, "-").concat(ne.x2, "-").concat(ne.y1, "-").concat(ne.y2)
18122
18122
  }));
18123
18123
  }));
18124
18124
  });
@@ -19839,16 +19839,16 @@ var hasRequiredReactIs_development;
19839
19839
  function requireReactIs_development() {
19840
19840
  return hasRequiredReactIs_development || (hasRequiredReactIs_development = 1, process.env.NODE_ENV !== "production" && function() {
19841
19841
  var e = typeof Symbol == "function" && Symbol.for, t = e ? Symbol.for("react.element") : 60103, n = e ? Symbol.for("react.portal") : 60106, o = e ? Symbol.for("react.fragment") : 60107, l = e ? Symbol.for("react.strict_mode") : 60108, u = e ? Symbol.for("react.profiler") : 60114, d = e ? Symbol.for("react.provider") : 60109, f = e ? Symbol.for("react.context") : 60110, p = e ? Symbol.for("react.async_mode") : 60111, m = e ? Symbol.for("react.concurrent_mode") : 60111, g = e ? Symbol.for("react.forward_ref") : 60112, b = e ? Symbol.for("react.suspense") : 60113, _ = e ? Symbol.for("react.suspense_list") : 60120, S = e ? Symbol.for("react.memo") : 60115, T = e ? Symbol.for("react.lazy") : 60116, E = e ? Symbol.for("react.block") : 60121, C = e ? Symbol.for("react.fundamental") : 60117, R = e ? Symbol.for("react.responder") : 60118, N = e ? Symbol.for("react.scope") : 60119;
19842
- function O(te) {
19843
- return typeof te == "string" || typeof te == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
19844
- te === o || te === m || te === u || te === l || te === b || te === _ || typeof te == "object" && te !== null && (te.$$typeof === T || te.$$typeof === S || te.$$typeof === d || te.$$typeof === f || te.$$typeof === g || te.$$typeof === C || te.$$typeof === R || te.$$typeof === N || te.$$typeof === E);
19845
- }
19846
- function V(te) {
19847
- if (typeof te == "object" && te !== null) {
19848
- var be = te.$$typeof;
19849
- switch (be) {
19842
+ function O(ae) {
19843
+ return typeof ae == "string" || typeof ae == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
19844
+ ae === o || ae === m || ae === u || ae === l || ae === b || ae === _ || typeof ae == "object" && ae !== null && (ae.$$typeof === T || ae.$$typeof === S || ae.$$typeof === d || ae.$$typeof === f || ae.$$typeof === g || ae.$$typeof === C || ae.$$typeof === R || ae.$$typeof === N || ae.$$typeof === E);
19845
+ }
19846
+ function V(ae) {
19847
+ if (typeof ae == "object" && ae !== null) {
19848
+ var ve = ae.$$typeof;
19849
+ switch (ve) {
19850
19850
  case t:
19851
- var oe = te.type;
19851
+ var oe = ae.type;
19852
19852
  switch (oe) {
19853
19853
  case p:
19854
19854
  case m:
@@ -19858,64 +19858,64 @@ function requireReactIs_development() {
19858
19858
  case b:
19859
19859
  return oe;
19860
19860
  default:
19861
- var xe = oe && oe.$$typeof;
19862
- switch (xe) {
19861
+ var be = oe && oe.$$typeof;
19862
+ switch (be) {
19863
19863
  case f:
19864
19864
  case g:
19865
19865
  case T:
19866
19866
  case S:
19867
19867
  case d:
19868
- return xe;
19869
- default:
19870
19868
  return be;
19869
+ default:
19870
+ return ve;
19871
19871
  }
19872
19872
  }
19873
19873
  case n:
19874
- return be;
19874
+ return ve;
19875
19875
  }
19876
19876
  }
19877
19877
  }
19878
19878
  var M = p, I = m, D = f, L = d, j = t, q = g, F = o, H = T, U = S, G = n, J = u, ee = l, ie = b, W = !1;
19879
- function Q(te) {
19880
- return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Z(te) || V(te) === p;
19879
+ function Q(ae) {
19880
+ return W || (W = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), Z(ae) || V(ae) === p;
19881
19881
  }
19882
- function Z(te) {
19883
- return V(te) === m;
19882
+ function Z(ae) {
19883
+ return V(ae) === m;
19884
19884
  }
19885
- function ae(te) {
19886
- return V(te) === f;
19885
+ function ne(ae) {
19886
+ return V(ae) === f;
19887
19887
  }
19888
- function se(te) {
19889
- return V(te) === d;
19888
+ function se(ae) {
19889
+ return V(ae) === d;
19890
19890
  }
19891
- function he(te) {
19892
- return typeof te == "object" && te !== null && te.$$typeof === t;
19891
+ function he(ae) {
19892
+ return typeof ae == "object" && ae !== null && ae.$$typeof === t;
19893
19893
  }
19894
- function pe(te) {
19895
- return V(te) === g;
19894
+ function pe(ae) {
19895
+ return V(ae) === g;
19896
19896
  }
19897
- function ue(te) {
19898
- return V(te) === o;
19897
+ function ue(ae) {
19898
+ return V(ae) === o;
19899
19899
  }
19900
- function ve(te) {
19901
- return V(te) === T;
19900
+ function xe(ae) {
19901
+ return V(ae) === T;
19902
19902
  }
19903
- function de(te) {
19904
- return V(te) === S;
19903
+ function de(ae) {
19904
+ return V(ae) === S;
19905
19905
  }
19906
- function ye(te) {
19907
- return V(te) === n;
19906
+ function ye(ae) {
19907
+ return V(ae) === n;
19908
19908
  }
19909
- function fe(te) {
19910
- return V(te) === u;
19909
+ function fe(ae) {
19910
+ return V(ae) === u;
19911
19911
  }
19912
- function le(te) {
19913
- return V(te) === l;
19912
+ function le(ae) {
19913
+ return V(ae) === l;
19914
19914
  }
19915
- function ce(te) {
19916
- return V(te) === b;
19915
+ function ce(ae) {
19916
+ return V(ae) === b;
19917
19917
  }
19918
- reactIs_development.AsyncMode = M, reactIs_development.ConcurrentMode = I, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = L, reactIs_development.Element = j, reactIs_development.ForwardRef = q, reactIs_development.Fragment = F, reactIs_development.Lazy = H, reactIs_development.Memo = U, reactIs_development.Portal = G, reactIs_development.Profiler = J, reactIs_development.StrictMode = ee, reactIs_development.Suspense = ie, reactIs_development.isAsyncMode = Q, reactIs_development.isConcurrentMode = Z, reactIs_development.isContextConsumer = ae, reactIs_development.isContextProvider = se, reactIs_development.isElement = he, reactIs_development.isForwardRef = pe, reactIs_development.isFragment = ue, reactIs_development.isLazy = ve, reactIs_development.isMemo = de, reactIs_development.isPortal = ye, reactIs_development.isProfiler = fe, reactIs_development.isStrictMode = le, reactIs_development.isSuspense = ce, reactIs_development.isValidElementType = O, reactIs_development.typeOf = V;
19918
+ reactIs_development.AsyncMode = M, reactIs_development.ConcurrentMode = I, reactIs_development.ContextConsumer = D, reactIs_development.ContextProvider = L, reactIs_development.Element = j, reactIs_development.ForwardRef = q, reactIs_development.Fragment = F, reactIs_development.Lazy = H, reactIs_development.Memo = U, reactIs_development.Portal = G, reactIs_development.Profiler = J, reactIs_development.StrictMode = ee, reactIs_development.Suspense = ie, reactIs_development.isAsyncMode = Q, reactIs_development.isConcurrentMode = Z, reactIs_development.isContextConsumer = ne, reactIs_development.isContextProvider = se, reactIs_development.isElement = he, reactIs_development.isForwardRef = pe, reactIs_development.isFragment = ue, reactIs_development.isLazy = xe, reactIs_development.isMemo = de, reactIs_development.isPortal = ye, reactIs_development.isProfiler = fe, reactIs_development.isStrictMode = le, reactIs_development.isSuspense = ce, reactIs_development.isValidElementType = O, reactIs_development.typeOf = V;
19919
19919
  }()), reactIs_development;
19920
19920
  }
19921
19921
  var hasRequiredReactIs;
@@ -20053,9 +20053,9 @@ function requireFactoryWithTypeCheckers() {
20053
20053
  return factoryWithTypeCheckers = function(f, p) {
20054
20054
  var m = typeof Symbol == "function" && Symbol.iterator, g = "@@iterator";
20055
20055
  function b(Z) {
20056
- var ae = Z && (m && Z[m] || Z[g]);
20057
- if (typeof ae == "function")
20058
- return ae;
20056
+ var ne = Z && (m && Z[m] || Z[g]);
20057
+ if (typeof ne == "function")
20058
+ return ne;
20059
20059
  }
20060
20060
  var _ = "<<anonymous>>", S = {
20061
20061
  array: R("array"),
@@ -20078,76 +20078,76 @@ function requireFactoryWithTypeCheckers() {
20078
20078
  shape: H,
20079
20079
  exact: U
20080
20080
  };
20081
- function T(Z, ae) {
20082
- return Z === ae ? Z !== 0 || 1 / Z === 1 / ae : Z !== Z && ae !== ae;
20081
+ function T(Z, ne) {
20082
+ return Z === ne ? Z !== 0 || 1 / Z === 1 / ne : Z !== Z && ne !== ne;
20083
20083
  }
20084
- function E(Z, ae) {
20085
- this.message = Z, this.data = ae && typeof ae == "object" ? ae : {}, this.stack = "";
20084
+ function E(Z, ne) {
20085
+ this.message = Z, this.data = ne && typeof ne == "object" ? ne : {}, this.stack = "";
20086
20086
  }
20087
20087
  E.prototype = Error.prototype;
20088
20088
  function C(Z) {
20089
20089
  if (process.env.NODE_ENV !== "production")
20090
- var ae = {}, se = 0;
20091
- function he(ue, ve, de, ye, fe, le, ce) {
20090
+ var ne = {}, se = 0;
20091
+ function he(ue, xe, de, ye, fe, le, ce) {
20092
20092
  if (ye = ye || _, le = le || de, ce !== n) {
20093
20093
  if (p) {
20094
- var te = new Error(
20094
+ var ae = new Error(
20095
20095
  "Calling PropTypes validators directly is not supported by the `prop-types` package. Use `PropTypes.checkPropTypes()` to call them. Read more at http://fb.me/use-check-prop-types"
20096
20096
  );
20097
- throw te.name = "Invariant Violation", te;
20097
+ throw ae.name = "Invariant Violation", ae;
20098
20098
  } else if (process.env.NODE_ENV !== "production" && typeof console < "u") {
20099
- var be = ye + ":" + de;
20100
- !ae[be] && // Avoid spamming the console because they are often not actionable except for lib authors
20099
+ var ve = ye + ":" + de;
20100
+ !ne[ve] && // Avoid spamming the console because they are often not actionable except for lib authors
20101
20101
  se < 3 && (u(
20102
20102
  "You are manually calling a React.PropTypes validation function for the `" + le + "` prop on `" + ye + "`. This is deprecated and will throw in the standalone `prop-types` package. You may be seeing this warning due to a third-party PropTypes library. See https://fb.me/react-warning-dont-call-proptypes for details."
20103
- ), ae[be] = !0, se++);
20103
+ ), ne[ve] = !0, se++);
20104
20104
  }
20105
20105
  }
20106
- return ve[de] == null ? ue ? ve[de] === null ? new E("The " + fe + " `" + le + "` is marked as required " + ("in `" + ye + "`, but its value is `null`.")) : new E("The " + fe + " `" + le + "` is marked as required in " + ("`" + ye + "`, but its value is `undefined`.")) : null : Z(ve, de, ye, fe, le);
20106
+ return xe[de] == null ? ue ? xe[de] === null ? new E("The " + fe + " `" + le + "` is marked as required " + ("in `" + ye + "`, but its value is `null`.")) : new E("The " + fe + " `" + le + "` is marked as required in " + ("`" + ye + "`, but its value is `undefined`.")) : null : Z(xe, de, ye, fe, le);
20107
20107
  }
20108
20108
  var pe = he.bind(null, !1);
20109
20109
  return pe.isRequired = he.bind(null, !0), pe;
20110
20110
  }
20111
20111
  function R(Z) {
20112
- function ae(se, he, pe, ue, ve, de) {
20112
+ function ne(se, he, pe, ue, xe, de) {
20113
20113
  var ye = se[he], fe = ee(ye);
20114
20114
  if (fe !== Z) {
20115
20115
  var le = ie(ye);
20116
20116
  return new E(
20117
- "Invalid " + ue + " `" + ve + "` of type " + ("`" + le + "` supplied to `" + pe + "`, expected ") + ("`" + Z + "`."),
20117
+ "Invalid " + ue + " `" + xe + "` of type " + ("`" + le + "` supplied to `" + pe + "`, expected ") + ("`" + Z + "`."),
20118
20118
  { expectedType: Z }
20119
20119
  );
20120
20120
  }
20121
20121
  return null;
20122
20122
  }
20123
- return C(ae);
20123
+ return C(ne);
20124
20124
  }
20125
20125
  function N() {
20126
20126
  return C(d);
20127
20127
  }
20128
20128
  function O(Z) {
20129
- function ae(se, he, pe, ue, ve) {
20129
+ function ne(se, he, pe, ue, xe) {
20130
20130
  if (typeof Z != "function")
20131
- return new E("Property `" + ve + "` of component `" + pe + "` has invalid PropType notation inside arrayOf.");
20131
+ return new E("Property `" + xe + "` of component `" + pe + "` has invalid PropType notation inside arrayOf.");
20132
20132
  var de = se[he];
20133
20133
  if (!Array.isArray(de)) {
20134
20134
  var ye = ee(de);
20135
- return new E("Invalid " + ue + " `" + ve + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected an array."));
20135
+ return new E("Invalid " + ue + " `" + xe + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected an array."));
20136
20136
  }
20137
20137
  for (var fe = 0; fe < de.length; fe++) {
20138
- var le = Z(de, fe, pe, ue, ve + "[" + fe + "]", n);
20138
+ var le = Z(de, fe, pe, ue, xe + "[" + fe + "]", n);
20139
20139
  if (le instanceof Error)
20140
20140
  return le;
20141
20141
  }
20142
20142
  return null;
20143
20143
  }
20144
- return C(ae);
20144
+ return C(ne);
20145
20145
  }
20146
20146
  function V() {
20147
- function Z(ae, se, he, pe, ue) {
20148
- var ve = ae[se];
20149
- if (!f(ve)) {
20150
- var de = ee(ve);
20147
+ function Z(ne, se, he, pe, ue) {
20148
+ var xe = ne[se];
20149
+ if (!f(xe)) {
20150
+ var de = ee(xe);
20151
20151
  return new E("Invalid " + pe + " `" + ue + "` of type " + ("`" + de + "` supplied to `" + he + "`, expected a single ReactElement."));
20152
20152
  }
20153
20153
  return null;
@@ -20155,10 +20155,10 @@ function requireFactoryWithTypeCheckers() {
20155
20155
  return C(Z);
20156
20156
  }
20157
20157
  function M() {
20158
- function Z(ae, se, he, pe, ue) {
20159
- var ve = ae[se];
20160
- if (!e.isValidElementType(ve)) {
20161
- var de = ee(ve);
20158
+ function Z(ne, se, he, pe, ue) {
20159
+ var xe = ne[se];
20160
+ if (!e.isValidElementType(xe)) {
20161
+ var de = ee(xe);
20162
20162
  return new E("Invalid " + pe + " `" + ue + "` of type " + ("`" + de + "` supplied to `" + he + "`, expected a single ReactElement type."));
20163
20163
  }
20164
20164
  return null;
@@ -20166,121 +20166,121 @@ function requireFactoryWithTypeCheckers() {
20166
20166
  return C(Z);
20167
20167
  }
20168
20168
  function I(Z) {
20169
- function ae(se, he, pe, ue, ve) {
20169
+ function ne(se, he, pe, ue, xe) {
20170
20170
  if (!(se[he] instanceof Z)) {
20171
20171
  var de = Z.name || _, ye = Q(se[he]);
20172
- return new E("Invalid " + ue + " `" + ve + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected ") + ("instance of `" + de + "`."));
20172
+ return new E("Invalid " + ue + " `" + xe + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected ") + ("instance of `" + de + "`."));
20173
20173
  }
20174
20174
  return null;
20175
20175
  }
20176
- return C(ae);
20176
+ return C(ne);
20177
20177
  }
20178
20178
  function D(Z) {
20179
20179
  if (!Array.isArray(Z))
20180
20180
  return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? u(
20181
20181
  "Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
20182
20182
  ) : u("Invalid argument supplied to oneOf, expected an array.")), d;
20183
- function ae(se, he, pe, ue, ve) {
20183
+ function ne(se, he, pe, ue, xe) {
20184
20184
  for (var de = se[he], ye = 0; ye < Z.length; ye++)
20185
20185
  if (T(de, Z[ye]))
20186
20186
  return null;
20187
- var fe = JSON.stringify(Z, function(ce, te) {
20188
- var be = ie(te);
20189
- return be === "symbol" ? String(te) : te;
20187
+ var fe = JSON.stringify(Z, function(ce, ae) {
20188
+ var ve = ie(ae);
20189
+ return ve === "symbol" ? String(ae) : ae;
20190
20190
  });
20191
- return new E("Invalid " + ue + " `" + ve + "` of value `" + String(de) + "` " + ("supplied to `" + pe + "`, expected one of " + fe + "."));
20191
+ return new E("Invalid " + ue + " `" + xe + "` of value `" + String(de) + "` " + ("supplied to `" + pe + "`, expected one of " + fe + "."));
20192
20192
  }
20193
- return C(ae);
20193
+ return C(ne);
20194
20194
  }
20195
20195
  function L(Z) {
20196
- function ae(se, he, pe, ue, ve) {
20196
+ function ne(se, he, pe, ue, xe) {
20197
20197
  if (typeof Z != "function")
20198
- return new E("Property `" + ve + "` of component `" + pe + "` has invalid PropType notation inside objectOf.");
20198
+ return new E("Property `" + xe + "` of component `" + pe + "` has invalid PropType notation inside objectOf.");
20199
20199
  var de = se[he], ye = ee(de);
20200
20200
  if (ye !== "object")
20201
- return new E("Invalid " + ue + " `" + ve + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected an object."));
20201
+ return new E("Invalid " + ue + " `" + xe + "` of type " + ("`" + ye + "` supplied to `" + pe + "`, expected an object."));
20202
20202
  for (var fe in de)
20203
20203
  if (o(de, fe)) {
20204
- var le = Z(de, fe, pe, ue, ve + "." + fe, n);
20204
+ var le = Z(de, fe, pe, ue, xe + "." + fe, n);
20205
20205
  if (le instanceof Error)
20206
20206
  return le;
20207
20207
  }
20208
20208
  return null;
20209
20209
  }
20210
- return C(ae);
20210
+ return C(ne);
20211
20211
  }
20212
20212
  function j(Z) {
20213
20213
  if (!Array.isArray(Z))
20214
20214
  return process.env.NODE_ENV !== "production" && u("Invalid argument supplied to oneOfType, expected an instance of array."), d;
20215
- for (var ae = 0; ae < Z.length; ae++) {
20216
- var se = Z[ae];
20215
+ for (var ne = 0; ne < Z.length; ne++) {
20216
+ var se = Z[ne];
20217
20217
  if (typeof se != "function")
20218
20218
  return u(
20219
- "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(se) + " at index " + ae + "."
20219
+ "Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + W(se) + " at index " + ne + "."
20220
20220
  ), d;
20221
20221
  }
20222
- function he(pe, ue, ve, de, ye) {
20222
+ function he(pe, ue, xe, de, ye) {
20223
20223
  for (var fe = [], le = 0; le < Z.length; le++) {
20224
- var ce = Z[le], te = ce(pe, ue, ve, de, ye, n);
20225
- if (te == null)
20224
+ var ce = Z[le], ae = ce(pe, ue, xe, de, ye, n);
20225
+ if (ae == null)
20226
20226
  return null;
20227
- te.data && o(te.data, "expectedType") && fe.push(te.data.expectedType);
20227
+ ae.data && o(ae.data, "expectedType") && fe.push(ae.data.expectedType);
20228
20228
  }
20229
- var be = fe.length > 0 ? ", expected one of type [" + fe.join(", ") + "]" : "";
20230
- return new E("Invalid " + de + " `" + ye + "` supplied to " + ("`" + ve + "`" + be + "."));
20229
+ var ve = fe.length > 0 ? ", expected one of type [" + fe.join(", ") + "]" : "";
20230
+ return new E("Invalid " + de + " `" + ye + "` supplied to " + ("`" + xe + "`" + ve + "."));
20231
20231
  }
20232
20232
  return C(he);
20233
20233
  }
20234
20234
  function q() {
20235
- function Z(ae, se, he, pe, ue) {
20236
- return G(ae[se]) ? null : new E("Invalid " + pe + " `" + ue + "` supplied to " + ("`" + he + "`, expected a ReactNode."));
20235
+ function Z(ne, se, he, pe, ue) {
20236
+ return G(ne[se]) ? null : new E("Invalid " + pe + " `" + ue + "` supplied to " + ("`" + he + "`, expected a ReactNode."));
20237
20237
  }
20238
20238
  return C(Z);
20239
20239
  }
20240
- function F(Z, ae, se, he, pe) {
20240
+ function F(Z, ne, se, he, pe) {
20241
20241
  return new E(
20242
- (Z || "React class") + ": " + ae + " type `" + se + "." + he + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + pe + "`."
20242
+ (Z || "React class") + ": " + ne + " type `" + se + "." + he + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + pe + "`."
20243
20243
  );
20244
20244
  }
20245
20245
  function H(Z) {
20246
- function ae(se, he, pe, ue, ve) {
20246
+ function ne(se, he, pe, ue, xe) {
20247
20247
  var de = se[he], ye = ee(de);
20248
20248
  if (ye !== "object")
20249
- return new E("Invalid " + ue + " `" + ve + "` of type `" + ye + "` " + ("supplied to `" + pe + "`, expected `object`."));
20249
+ return new E("Invalid " + ue + " `" + xe + "` of type `" + ye + "` " + ("supplied to `" + pe + "`, expected `object`."));
20250
20250
  for (var fe in Z) {
20251
20251
  var le = Z[fe];
20252
20252
  if (typeof le != "function")
20253
- return F(pe, ue, ve, fe, ie(le));
20254
- var ce = le(de, fe, pe, ue, ve + "." + fe, n);
20253
+ return F(pe, ue, xe, fe, ie(le));
20254
+ var ce = le(de, fe, pe, ue, xe + "." + fe, n);
20255
20255
  if (ce)
20256
20256
  return ce;
20257
20257
  }
20258
20258
  return null;
20259
20259
  }
20260
- return C(ae);
20260
+ return C(ne);
20261
20261
  }
20262
20262
  function U(Z) {
20263
- function ae(se, he, pe, ue, ve) {
20263
+ function ne(se, he, pe, ue, xe) {
20264
20264
  var de = se[he], ye = ee(de);
20265
20265
  if (ye !== "object")
20266
- return new E("Invalid " + ue + " `" + ve + "` of type `" + ye + "` " + ("supplied to `" + pe + "`, expected `object`."));
20266
+ return new E("Invalid " + ue + " `" + xe + "` of type `" + ye + "` " + ("supplied to `" + pe + "`, expected `object`."));
20267
20267
  var fe = t({}, se[he], Z);
20268
20268
  for (var le in fe) {
20269
20269
  var ce = Z[le];
20270
20270
  if (o(Z, le) && typeof ce != "function")
20271
- return F(pe, ue, ve, le, ie(ce));
20271
+ return F(pe, ue, xe, le, ie(ce));
20272
20272
  if (!ce)
20273
20273
  return new E(
20274
- "Invalid " + ue + " `" + ve + "` key `" + le + "` supplied to `" + pe + "`.\nBad object: " + JSON.stringify(se[he], null, " ") + `
20274
+ "Invalid " + ue + " `" + xe + "` key `" + le + "` supplied to `" + pe + "`.\nBad object: " + JSON.stringify(se[he], null, " ") + `
20275
20275
  Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
20276
20276
  );
20277
- var te = ce(de, le, pe, ue, ve + "." + le, n);
20278
- if (te)
20279
- return te;
20277
+ var ae = ce(de, le, pe, ue, xe + "." + le, n);
20278
+ if (ae)
20279
+ return ae;
20280
20280
  }
20281
20281
  return null;
20282
20282
  }
20283
- return C(ae);
20283
+ return C(ne);
20284
20284
  }
20285
20285
  function G(Z) {
20286
20286
  switch (typeof Z) {
@@ -20295,10 +20295,10 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
20295
20295
  return Z.every(G);
20296
20296
  if (Z === null || f(Z))
20297
20297
  return !0;
20298
- var ae = b(Z);
20299
- if (ae) {
20300
- var se = ae.call(Z), he;
20301
- if (ae !== Z.entries) {
20298
+ var ne = b(Z);
20299
+ if (ne) {
20300
+ var se = ne.call(Z), he;
20301
+ if (ne !== Z.entries) {
20302
20302
  for (; !(he = se.next()).done; )
20303
20303
  if (!G(he.value))
20304
20304
  return !1;
@@ -20315,37 +20315,37 @@ Valid keys: ` + JSON.stringify(Object.keys(Z), null, " ")
20315
20315
  return !1;
20316
20316
  }
20317
20317
  }
20318
- function J(Z, ae) {
20319
- return Z === "symbol" ? !0 : ae ? ae["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && ae instanceof Symbol : !1;
20318
+ function J(Z, ne) {
20319
+ return Z === "symbol" ? !0 : ne ? ne["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && ne instanceof Symbol : !1;
20320
20320
  }
20321
20321
  function ee(Z) {
20322
- var ae = typeof Z;
20323
- return Array.isArray(Z) ? "array" : Z instanceof RegExp ? "object" : J(ae, Z) ? "symbol" : ae;
20322
+ var ne = typeof Z;
20323
+ return Array.isArray(Z) ? "array" : Z instanceof RegExp ? "object" : J(ne, Z) ? "symbol" : ne;
20324
20324
  }
20325
20325
  function ie(Z) {
20326
20326
  if (typeof Z > "u" || Z === null)
20327
20327
  return "" + Z;
20328
- var ae = ee(Z);
20329
- if (ae === "object") {
20328
+ var ne = ee(Z);
20329
+ if (ne === "object") {
20330
20330
  if (Z instanceof Date)
20331
20331
  return "date";
20332
20332
  if (Z instanceof RegExp)
20333
20333
  return "regexp";
20334
20334
  }
20335
- return ae;
20335
+ return ne;
20336
20336
  }
20337
20337
  function W(Z) {
20338
- var ae = ie(Z);
20339
- switch (ae) {
20338
+ var ne = ie(Z);
20339
+ switch (ne) {
20340
20340
  case "array":
20341
20341
  case "object":
20342
- return "an " + ae;
20342
+ return "an " + ne;
20343
20343
  case "boolean":
20344
20344
  case "date":
20345
20345
  case "regexp":
20346
- return "a " + ae;
20346
+ return "a " + ne;
20347
20347
  default:
20348
- return ae;
20348
+ return ne;
20349
20349
  }
20350
20350
  }
20351
20351
  function Q(Z) {
@@ -23287,7 +23287,7 @@ _defineProperty$d(Bar, "getComposedData", function(e) {
23287
23287
  m ? F = truncateByDomain(m[g + q], M) : (F = getValueByDataKey(j, R), Array.isArray(F) || (F = [I, F]));
23288
23288
  var ie = minPointSizeCallback(O, _Bar.defaultProps.minPointSize)(F[1], q);
23289
23289
  if (T === "horizontal") {
23290
- var W, Q = [d.scale(F[0]), d.scale(F[1])], Z = Q[0], ae = Q[1];
23290
+ var W, Q = [d.scale(F[0]), d.scale(F[1])], Z = Q[0], ne = Q[1];
23291
23291
  H = getCateCoordinateOfBar({
23292
23292
  axis: u,
23293
23293
  ticks: f,
@@ -23295,8 +23295,8 @@ _defineProperty$d(Bar, "getComposedData", function(e) {
23295
23295
  offset: S.offset,
23296
23296
  entry: j,
23297
23297
  index: q
23298
- }), U = (W = ae ?? Z) !== null && W !== void 0 ? W : void 0, G = S.size;
23299
- var se = Z - ae;
23298
+ }), U = (W = ne ?? Z) !== null && W !== void 0 ? W : void 0, G = S.size;
23299
+ var se = Z - ne;
23300
23300
  if (J = Number.isNaN(se) ? 0 : se, ee = {
23301
23301
  x: H,
23302
23302
  y: d.y,
@@ -23307,7 +23307,7 @@ _defineProperty$d(Bar, "getComposedData", function(e) {
23307
23307
  U -= he, J += he;
23308
23308
  }
23309
23309
  } else {
23310
- var pe = [u.scale(F[0]), u.scale(F[1])], ue = pe[0], ve = pe[1];
23310
+ var pe = [u.scale(F[0]), u.scale(F[1])], ue = pe[0], xe = pe[1];
23311
23311
  if (H = ue, U = getCateCoordinateOfBar({
23312
23312
  axis: d,
23313
23313
  ticks: p,
@@ -23315,7 +23315,7 @@ _defineProperty$d(Bar, "getComposedData", function(e) {
23315
23315
  offset: S.offset,
23316
23316
  entry: j,
23317
23317
  index: q
23318
- }), G = ve - ue, J = S.size, ee = {
23318
+ }), G = xe - ue, J = S.size, ee = {
23319
23319
  x: u.x,
23320
23320
  y: U,
23321
23321
  width: u.width,
@@ -23431,14 +23431,14 @@ var formatAxisMap = function(t, n, o, l, u) {
23431
23431
  }
23432
23432
  }
23433
23433
  l === "xAxis" ? L = [o.left + (O.left || 0) + (D || 0), o.left + o.width - (O.right || 0) - (D || 0)] : l === "yAxis" ? L = p === "horizontal" ? [o.top + o.height - (O.bottom || 0), o.top + (O.top || 0)] : [o.top + (O.top || 0) + (D || 0), o.top + o.height - (O.bottom || 0) - (D || 0)] : L = E.range, M && (L = [L[1], L[0]]);
23434
- var Q = parseScale(E, u, _), Z = Q.scale, ae = Q.realScaleType;
23434
+ var Q = parseScale(E, u, _), Z = Q.scale, ne = Q.realScaleType;
23435
23435
  Z.domain(R).range(L), checkDomainOfScale(Z);
23436
23436
  var se = getTicksOfScale(Z, _objectSpread$9(_objectSpread$9({}, E), {}, {
23437
- realScaleType: ae
23437
+ realScaleType: ne
23438
23438
  }));
23439
23439
  l === "xAxis" ? (F = C === "top" && !V || C === "bottom" && V, j = o.left, q = b[I] - F * E.height) : l === "yAxis" && (F = C === "left" && !V || C === "right" && V, j = b[I] - F * E.width, q = o.top);
23440
23440
  var he = _objectSpread$9(_objectSpread$9(_objectSpread$9({}, E), se), {}, {
23441
- realScaleType: ae,
23441
+ realScaleType: ne,
23442
23442
  x: j,
23443
23443
  y: q,
23444
23444
  scale: Z,
@@ -26511,8 +26511,8 @@ var getTooltipContent = function(t, n, o, l) {
26511
26511
  }, []);
26512
26512
  else if (N === "number") {
26513
26513
  var Q = parseErrorBarsOfAxis(q, l.filter(function(se) {
26514
- var he, pe, ue = d in se.props ? se.props[d] : (he = se.type.defaultProps) === null || he === void 0 ? void 0 : he[d], ve = "hide" in se.props ? se.props.hide : (pe = se.type.defaultProps) === null || pe === void 0 ? void 0 : pe.hide;
26515
- return ue === j && (L || !ve);
26514
+ var he, pe, ue = d in se.props ? se.props[d] : (he = se.type.defaultProps) === null || he === void 0 ? void 0 : he[d], xe = "hide" in se.props ? se.props.hide : (pe = se.type.defaultProps) === null || pe === void 0 ? void 0 : pe.hide;
26515
+ return ue === j && (L || !xe);
26516
26516
  }), O, u, g);
26517
26517
  Q && (H = Q);
26518
26518
  }
@@ -26524,10 +26524,10 @@ var getTooltipContent = function(t, n, o, l) {
26524
26524
  if (N === "number")
26525
26525
  H = detectReferenceElementsDomain(b, H, j, u, D), ie && (H = parseSpecifiedDomain(ie, H, V));
26526
26526
  else if (N === "category" && ie) {
26527
- var Z = ie, ae = H.every(function(se) {
26527
+ var Z = ie, ne = H.every(function(se) {
26528
26528
  return Z.indexOf(se) >= 0;
26529
26529
  });
26530
- ae && (H = Z);
26530
+ ne && (H = Z);
26531
26531
  }
26532
26532
  }
26533
26533
  return _objectSpread(_objectSpread({}, T), {}, _defineProperty({}, j, _objectSpread(_objectSpread({}, R), {}, {
@@ -26659,11 +26659,11 @@ var getTooltipContent = function(t, n, o, l) {
26659
26659
  var n = t.chartName, o = t.GraphicalChild, l = t.defaultTooltipEventType, u = l === void 0 ? "axis" : l, d = t.validateTooltipEventTypes, f = d === void 0 ? ["axis"] : d, p = t.axisComponents, m = t.legendContent, g = t.formatAxisMap, b = t.defaultProps, _ = function(R, N) {
26660
26660
  var O = N.graphicalItems, V = N.stackGroups, M = N.offset, I = N.updateId, D = N.dataStartIndex, L = N.dataEndIndex, j = R.barSize, q = R.layout, F = R.barGap, H = R.barCategoryGap, U = R.maxBarSize, G = getAxisNameByLayout(q), J = G.numericAxisName, ee = G.cateAxisName, ie = hasGraphicalBarItem(O), W = [];
26661
26661
  return O.forEach(function(Q, Z) {
26662
- var ae = getDisplayedData(R.data, {
26662
+ var ne = getDisplayedData(R.data, {
26663
26663
  graphicalItems: [Q],
26664
26664
  dataStartIndex: D,
26665
26665
  dataEndIndex: L
26666
- }), se = Q.type.defaultProps !== void 0 ? _objectSpread(_objectSpread({}, Q.type.defaultProps), Q.props) : Q.props, he = se.dataKey, pe = se.maxBarSize, ue = se["".concat(J, "Id")], ve = se["".concat(ee, "Id")], de = {}, ye = p.reduce(function(Be, Me) {
26666
+ }), se = Q.type.defaultProps !== void 0 ? _objectSpread(_objectSpread({}, Q.type.defaultProps), Q.props) : Q.props, he = se.dataKey, pe = se.maxBarSize, ue = se["".concat(J, "Id")], xe = se["".concat(ee, "Id")], de = {}, ye = p.reduce(function(Be, Me) {
26667
26667
  var Fe, He, Le = N["".concat(Me.axisType, "Map")], Ne = se["".concat(Me.axisType, "Id")];
26668
26668
  Le && Le[Ne] || Me.axisType === "zAxis" || (process.env.NODE_ENV !== "production" ? invariant(!1, "Specifying a(n) ".concat(Me.axisType, "Id requires a corresponding ").concat(
26669
26669
  Me.axisType,
@@ -26671,20 +26671,20 @@ var getTooltipContent = function(t, n, o, l) {
26671
26671
  ).concat((Fe = Q == null || (He = Q.type) === null || He === void 0 ? void 0 : He.displayName) !== null && Fe !== void 0 ? Fe : "")) : invariant());
26672
26672
  var qe = Le[Ne];
26673
26673
  return _objectSpread(_objectSpread({}, Be), {}, _defineProperty(_defineProperty({}, Me.axisType, qe), "".concat(Me.axisType, "Ticks"), getTicksOfAxis(qe)));
26674
- }, de), fe = ye[ee], le = ye["".concat(ee, "Ticks")], ce = V && V[ue] && V[ue].hasStack && getStackedDataOfItem(Q, V[ue].stackGroups), te = getDisplayName(Q.type).indexOf("Bar") >= 0, be = getBandSizeOfAxis(fe, le), oe = [], xe = ie && getBarSizeList({
26674
+ }, de), fe = ye[ee], le = ye["".concat(ee, "Ticks")], ce = V && V[ue] && V[ue].hasStack && getStackedDataOfItem(Q, V[ue].stackGroups), ae = getDisplayName(Q.type).indexOf("Bar") >= 0, ve = getBandSizeOfAxis(fe, le), oe = [], be = ie && getBarSizeList({
26675
26675
  barSize: j,
26676
26676
  stackGroups: V,
26677
26677
  totalSize: getCartesianAxisSize(ye, ee)
26678
26678
  });
26679
- if (te) {
26680
- var _e, Pe, Ae = isNil(pe) ? U : pe, we = (_e = (Pe = getBandSizeOfAxis(fe, le, !0)) !== null && Pe !== void 0 ? Pe : Ae) !== null && _e !== void 0 ? _e : 0;
26679
+ if (ae) {
26680
+ var _e, Pe, Ee = isNil(pe) ? U : pe, we = (_e = (Pe = getBandSizeOfAxis(fe, le, !0)) !== null && Pe !== void 0 ? Pe : Ee) !== null && _e !== void 0 ? _e : 0;
26681
26681
  oe = getBarPosition({
26682
26682
  barGap: F,
26683
26683
  barCategoryGap: H,
26684
- bandSize: we !== be ? we : be,
26685
- sizeList: xe[ve],
26686
- maxBarSize: Ae
26687
- }), we !== be && (oe = oe.map(function(Be) {
26684
+ bandSize: we !== ve ? we : ve,
26685
+ sizeList: be[xe],
26686
+ maxBarSize: Ee
26687
+ }), we !== ve && (oe = oe.map(function(Be) {
26688
26688
  return _objectSpread(_objectSpread({}, Be), {}, {
26689
26689
  position: _objectSpread(_objectSpread({}, Be.position), {}, {
26690
26690
  offset: Be.position.offset - we / 2
@@ -26695,11 +26695,11 @@ var getTooltipContent = function(t, n, o, l) {
26695
26695
  var ke = Q && Q.type && Q.type.getComposedData;
26696
26696
  ke && W.push({
26697
26697
  props: _objectSpread(_objectSpread({}, ke(_objectSpread(_objectSpread({}, ye), {}, {
26698
- displayedData: ae,
26698
+ displayedData: ne,
26699
26699
  props: R,
26700
26700
  dataKey: he,
26701
26701
  item: Q,
26702
- bandSize: be,
26702
+ bandSize: ve,
26703
26703
  barPosition: oe,
26704
26704
  offset: M,
26705
26705
  stackedData: ce,
@@ -26734,7 +26734,7 @@ var getTooltipContent = function(t, n, o, l) {
26734
26734
  Object.keys(ie).forEach(function(se) {
26735
26735
  ie[se] = g(O, ie[se], W, se.replace("Map", ""), n);
26736
26736
  });
26737
- var Q = ie["".concat(G, "Map")], Z = tooltipTicksGenerator(Q), ae = _(O, _objectSpread(_objectSpread({}, ie), {}, {
26737
+ var Q = ie["".concat(G, "Map")], Z = tooltipTicksGenerator(Q), ne = _(O, _objectSpread(_objectSpread({}, ie), {}, {
26738
26738
  dataStartIndex: V,
26739
26739
  dataEndIndex: M,
26740
26740
  updateId: I,
@@ -26743,7 +26743,7 @@ var getTooltipContent = function(t, n, o, l) {
26743
26743
  offset: W
26744
26744
  }));
26745
26745
  return _objectSpread(_objectSpread({
26746
- formattedGraphicalItems: ae,
26746
+ formattedGraphicalItems: ne,
26747
26747
  graphicalItems: J,
26748
26748
  offset: W,
26749
26749
  stackGroups: ee
@@ -26914,8 +26914,8 @@ var getTooltipContent = function(t, n, o, l) {
26914
26914
  var Z = _objectSpread(_objectSpread({}, ie), {}, {
26915
26915
  x: ie.left,
26916
26916
  y: ie.top
26917
- }), ae = Math.min(U, Z.x + Z.width), se = Math.min(G, Z.y + Z.height), he = W[J] && W[J].value, pe = getTooltipContent(M.state, M.props.data, J), ue = W[J] ? {
26918
- x: L === "horizontal" ? W[J].coordinate : ae,
26917
+ }), ne = Math.min(U, Z.x + Z.width), se = Math.min(G, Z.y + Z.height), he = W[J] && W[J].value, pe = getTooltipContent(M.state, M.props.data, J), ue = W[J] ? {
26918
+ x: L === "horizontal" ? W[J].coordinate : ne,
26919
26919
  y: L === "horizontal" ? se : W[J].coordinate
26920
26920
  } : originCoordinate;
26921
26921
  M.setState(_objectSpread(_objectSpread({}, I), {}, {
@@ -27046,7 +27046,7 @@ var getTooltipContent = function(t, n, o, l) {
27046
27046
  var j = M.filterFormatItem(I, D, L);
27047
27047
  if (!j)
27048
27048
  return null;
27049
- var q = M.getTooltipEventType(), F = M.state, H = F.isTooltipActive, U = F.tooltipAxis, G = F.activeTooltipIndex, J = F.activeLabel, ee = M.props.children, ie = findChildByType(ee, Tooltip), W = j.props, Q = W.points, Z = W.isRange, ae = W.baseLine, se = j.item.type.defaultProps !== void 0 ? _objectSpread(_objectSpread({}, j.item.type.defaultProps), j.item.props) : j.item.props, he = se.activeDot, pe = se.hide, ue = se.activeBar, ve = se.activeShape, de = !!(!pe && H && ie && (he || ue || ve)), ye = {};
27049
+ var q = M.getTooltipEventType(), F = M.state, H = F.isTooltipActive, U = F.tooltipAxis, G = F.activeTooltipIndex, J = F.activeLabel, ee = M.props.children, ie = findChildByType(ee, Tooltip), W = j.props, Q = W.points, Z = W.isRange, ne = W.baseLine, se = j.item.type.defaultProps !== void 0 ? _objectSpread(_objectSpread({}, j.item.type.defaultProps), j.item.props) : j.item.props, he = se.activeDot, pe = se.hide, ue = se.activeBar, xe = se.activeShape, de = !!(!pe && H && ie && (he || ue || xe)), ye = {};
27050
27050
  q !== "axis" && ie && ie.props.trigger === "click" ? ye = {
27051
27051
  onClick: combineEventHandlers(M.handleItemMouseEnter, I.props.onClick)
27052
27052
  } : q !== "axis" && (ye = {
@@ -27059,13 +27059,13 @@ var getTooltipContent = function(t, n, o, l) {
27059
27059
  }
27060
27060
  if (de)
27061
27061
  if (G >= 0) {
27062
- var ce, te;
27062
+ var ce, ae;
27063
27063
  if (U.dataKey && !U.allowDuplicatedCategory) {
27064
- var be = typeof U.dataKey == "function" ? le : "payload.".concat(U.dataKey.toString());
27065
- ce = findEntryInArray(Q, be, J), te = Z && ae && findEntryInArray(ae, be, J);
27064
+ var ve = typeof U.dataKey == "function" ? le : "payload.".concat(U.dataKey.toString());
27065
+ ce = findEntryInArray(Q, ve, J), ae = Z && ne && findEntryInArray(ne, ve, J);
27066
27066
  } else
27067
- ce = Q == null ? void 0 : Q[G], te = Z && ae && ae[G];
27068
- if (ve || ue) {
27067
+ ce = Q == null ? void 0 : Q[G], ae = Z && ne && ne[G];
27068
+ if (xe || ue) {
27069
27069
  var oe = I.props.activeIndex !== void 0 ? I.props.activeIndex : G;
27070
27070
  return [/* @__PURE__ */ cloneElement(I, _objectSpread(_objectSpread(_objectSpread({}, j.props), ye), {}, {
27071
27071
  activeIndex: oe
@@ -27075,14 +27075,14 @@ var getTooltipContent = function(t, n, o, l) {
27075
27075
  return [fe].concat(_toConsumableArray(M.renderActivePoints({
27076
27076
  item: j,
27077
27077
  activePoint: ce,
27078
- basePoint: te,
27078
+ basePoint: ae,
27079
27079
  childIndex: G,
27080
27080
  isRange: Z
27081
27081
  })));
27082
27082
  } else {
27083
- var xe, _e = (xe = M.getItemByXY(M.state.activeCoordinate)) !== null && xe !== void 0 ? xe : {
27083
+ var be, _e = (be = M.getItemByXY(M.state.activeCoordinate)) !== null && be !== void 0 ? be : {
27084
27084
  graphicalItem: fe
27085
- }, Pe = _e.graphicalItem, Ae = Pe.item, we = Ae === void 0 ? I : Ae, ke = Pe.childIndex, Be = _objectSpread(_objectSpread(_objectSpread({}, j.props), ye), {}, {
27085
+ }, Pe = _e.graphicalItem, Ee = Pe.item, we = Ee === void 0 ? I : Ee, ke = Pe.childIndex, Be = _objectSpread(_objectSpread(_objectSpread({}, j.props), ye), {}, {
27086
27086
  activeIndex: ke
27087
27087
  });
27088
27088
  return [/* @__PURE__ */ cloneElement(we, Be), null, null];
@@ -27528,13 +27528,13 @@ var getTooltipContent = function(t, n, o, l) {
27528
27528
  });
27529
27529
  }
27530
27530
  if (!isChildrenEqual(V, R.prevChildren)) {
27531
- var ie, W, Q, Z, ae = findChildByType(V, Brush), se = ae && (ie = (W = ae.props) === null || W === void 0 ? void 0 : W.startIndex) !== null && ie !== void 0 ? ie : q, he = ae && (Q = (Z = ae.props) === null || Z === void 0 ? void 0 : Z.endIndex) !== null && Q !== void 0 ? Q : F, pe = se !== q || he !== F, ue = !isNil(O), ve = ue && !pe ? R.updateId : R.updateId + 1;
27531
+ var ie, W, Q, Z, ne = findChildByType(V, Brush), se = ne && (ie = (W = ne.props) === null || W === void 0 ? void 0 : W.startIndex) !== null && ie !== void 0 ? ie : q, he = ne && (Q = (Z = ne.props) === null || Z === void 0 ? void 0 : Z.endIndex) !== null && Q !== void 0 ? Q : F, pe = se !== q || he !== F, ue = !isNil(O), xe = ue && !pe ? R.updateId : R.updateId + 1;
27532
27532
  return _objectSpread(_objectSpread({
27533
- updateId: ve
27533
+ updateId: xe
27534
27534
  }, S(_objectSpread(_objectSpread({
27535
27535
  props: C
27536
27536
  }, R), {}, {
27537
- updateId: ve,
27537
+ updateId: xe,
27538
27538
  dataStartIndex: se,
27539
27539
  dataEndIndex: he
27540
27540
  }), R)), {}, {
@@ -28767,8 +28767,8 @@ var lottie = createCommonjsModule(function(module, exports) {
28767
28767
  return _ && C && (R[g] = n(S[g], S[0], T[g], E[0]), N += R[g].addedLength), b.totalLength = N, b;
28768
28768
  }, getNewSegment: function(m, g, b, _, S, T, E) {
28769
28769
  S < 0 ? S = 0 : S > 1 && (S = 1);
28770
- var C, R = f(S, E), N = f(T = T > 1 ? 1 : T, E), O = m.length, V = 1 - R, M = 1 - N, I = V * V * V, D = R * V * V * 3, L = R * R * V * 3, j = R * R * R, q = V * V * M, F = R * V * M + V * R * M + V * V * N, H = R * R * M + V * R * N + R * V * N, U = R * R * N, G = V * M * M, J = R * M * M + V * N * M + V * M * N, ee = R * N * M + V * N * N + R * M * N, ie = R * N * N, W = M * M * M, Q = N * M * M + M * N * M + M * M * N, Z = N * N * M + M * N * N + N * M * N, ae = N * N * N;
28771
- for (C = 0; C < O; C += 1) p[4 * C] = e.round(1e3 * (I * m[C] + D * b[C] + L * _[C] + j * g[C])) / 1e3, p[4 * C + 1] = e.round(1e3 * (q * m[C] + F * b[C] + H * _[C] + U * g[C])) / 1e3, p[4 * C + 2] = e.round(1e3 * (G * m[C] + J * b[C] + ee * _[C] + ie * g[C])) / 1e3, p[4 * C + 3] = e.round(1e3 * (W * m[C] + Q * b[C] + Z * _[C] + ae * g[C])) / 1e3;
28770
+ var C, R = f(S, E), N = f(T = T > 1 ? 1 : T, E), O = m.length, V = 1 - R, M = 1 - N, I = V * V * V, D = R * V * V * 3, L = R * R * V * 3, j = R * R * R, q = V * V * M, F = R * V * M + V * R * M + V * V * N, H = R * R * M + V * R * N + R * V * N, U = R * R * N, G = V * M * M, J = R * M * M + V * N * M + V * M * N, ee = R * N * M + V * N * N + R * M * N, ie = R * N * N, W = M * M * M, Q = N * M * M + M * N * M + M * M * N, Z = N * N * M + M * N * N + N * M * N, ne = N * N * N;
28771
+ for (C = 0; C < O; C += 1) p[4 * C] = e.round(1e3 * (I * m[C] + D * b[C] + L * _[C] + j * g[C])) / 1e3, p[4 * C + 1] = e.round(1e3 * (q * m[C] + F * b[C] + H * _[C] + U * g[C])) / 1e3, p[4 * C + 2] = e.round(1e3 * (G * m[C] + J * b[C] + ee * _[C] + ie * g[C])) / 1e3, p[4 * C + 3] = e.round(1e3 * (W * m[C] + Q * b[C] + Z * _[C] + ne * g[C])) / 1e3;
28772
28772
  return p;
28773
28773
  }, getPointInSegment: function(m, g, b, _, S, T) {
28774
28774
  var E = f(S, T), C = 1 - E;
@@ -29127,23 +29127,23 @@ var lottie = createCommonjsModule(function(module, exports) {
29127
29127
  return this.shear(n(W), n(Q));
29128
29128
  }
29129
29129
  function b(W, Q) {
29130
- var Z = e(Q), ae = t(Q);
29131
- return this._t(Z, ae, 0, 0, -ae, Z, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, n(W), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Z, -ae, 0, 0, ae, Z, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
29130
+ var Z = e(Q), ne = t(Q);
29131
+ return this._t(Z, ne, 0, 0, -ne, Z, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(1, 0, 0, 0, n(W), 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1)._t(Z, -ne, 0, 0, ne, Z, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1);
29132
29132
  }
29133
29133
  function _(W, Q, Z) {
29134
29134
  return Z || Z === 0 || (Z = 1), W === 1 && Q === 1 && Z === 1 ? this : this._t(W, 0, 0, 0, 0, Q, 0, 0, 0, 0, Z, 0, 0, 0, 0, 1);
29135
29135
  }
29136
- function S(W, Q, Z, ae, se, he, pe, ue, ve, de, ye, fe, le, ce, te, be) {
29137
- return this.props[0] = W, this.props[1] = Q, this.props[2] = Z, this.props[3] = ae, this.props[4] = se, this.props[5] = he, this.props[6] = pe, this.props[7] = ue, this.props[8] = ve, this.props[9] = de, this.props[10] = ye, this.props[11] = fe, this.props[12] = le, this.props[13] = ce, this.props[14] = te, this.props[15] = be, this;
29136
+ function S(W, Q, Z, ne, se, he, pe, ue, xe, de, ye, fe, le, ce, ae, ve) {
29137
+ return this.props[0] = W, this.props[1] = Q, this.props[2] = Z, this.props[3] = ne, this.props[4] = se, this.props[5] = he, this.props[6] = pe, this.props[7] = ue, this.props[8] = xe, this.props[9] = de, this.props[10] = ye, this.props[11] = fe, this.props[12] = le, this.props[13] = ce, this.props[14] = ae, this.props[15] = ve, this;
29138
29138
  }
29139
29139
  function T(W, Q, Z) {
29140
29140
  return Z = Z || 0, W !== 0 || Q !== 0 || Z !== 0 ? this._t(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, W, Q, Z, 1) : this;
29141
29141
  }
29142
- function E(W, Q, Z, ae, se, he, pe, ue, ve, de, ye, fe, le, ce, te, be) {
29142
+ function E(W, Q, Z, ne, se, he, pe, ue, xe, de, ye, fe, le, ce, ae, ve) {
29143
29143
  var oe = this.props;
29144
- if (W === 1 && Q === 0 && Z === 0 && ae === 0 && se === 0 && he === 1 && pe === 0 && ue === 0 && ve === 0 && de === 0 && ye === 1 && fe === 0) return oe[12] = oe[12] * W + oe[15] * le, oe[13] = oe[13] * he + oe[15] * ce, oe[14] = oe[14] * ye + oe[15] * te, oe[15] *= be, this._identityCalculated = !1, this;
29145
- var xe = oe[0], _e = oe[1], Pe = oe[2], Ae = oe[3], we = oe[4], ke = oe[5], Be = oe[6], Me = oe[7], Fe = oe[8], He = oe[9], Le = oe[10], Ne = oe[11], qe = oe[12], Ge = oe[13], Je = oe[14], Xe = oe[15];
29146
- return oe[0] = xe * W + _e * se + Pe * ve + Ae * le, oe[1] = xe * Q + _e * he + Pe * de + Ae * ce, oe[2] = xe * Z + _e * pe + Pe * ye + Ae * te, oe[3] = xe * ae + _e * ue + Pe * fe + Ae * be, oe[4] = we * W + ke * se + Be * ve + Me * le, oe[5] = we * Q + ke * he + Be * de + Me * ce, oe[6] = we * Z + ke * pe + Be * ye + Me * te, oe[7] = we * ae + ke * ue + Be * fe + Me * be, oe[8] = Fe * W + He * se + Le * ve + Ne * le, oe[9] = Fe * Q + He * he + Le * de + Ne * ce, oe[10] = Fe * Z + He * pe + Le * ye + Ne * te, oe[11] = Fe * ae + He * ue + Le * fe + Ne * be, oe[12] = qe * W + Ge * se + Je * ve + Xe * le, oe[13] = qe * Q + Ge * he + Je * de + Xe * ce, oe[14] = qe * Z + Ge * pe + Je * ye + Xe * te, oe[15] = qe * ae + Ge * ue + Je * fe + Xe * be, this._identityCalculated = !1, this;
29144
+ if (W === 1 && Q === 0 && Z === 0 && ne === 0 && se === 0 && he === 1 && pe === 0 && ue === 0 && xe === 0 && de === 0 && ye === 1 && fe === 0) return oe[12] = oe[12] * W + oe[15] * le, oe[13] = oe[13] * he + oe[15] * ce, oe[14] = oe[14] * ye + oe[15] * ae, oe[15] *= ve, this._identityCalculated = !1, this;
29145
+ var be = oe[0], _e = oe[1], Pe = oe[2], Ee = oe[3], we = oe[4], ke = oe[5], Be = oe[6], Me = oe[7], Fe = oe[8], He = oe[9], Le = oe[10], Ne = oe[11], qe = oe[12], Ge = oe[13], Je = oe[14], Xe = oe[15];
29146
+ return oe[0] = be * W + _e * se + Pe * xe + Ee * le, oe[1] = be * Q + _e * he + Pe * de + Ee * ce, oe[2] = be * Z + _e * pe + Pe * ye + Ee * ae, oe[3] = be * ne + _e * ue + Pe * fe + Ee * ve, oe[4] = we * W + ke * se + Be * xe + Me * le, oe[5] = we * Q + ke * he + Be * de + Me * ce, oe[6] = we * Z + ke * pe + Be * ye + Me * ae, oe[7] = we * ne + ke * ue + Be * fe + Me * ve, oe[8] = Fe * W + He * se + Le * xe + Ne * le, oe[9] = Fe * Q + He * he + Le * de + Ne * ce, oe[10] = Fe * Z + He * pe + Le * ye + Ne * ae, oe[11] = Fe * ne + He * ue + Le * fe + Ne * ve, oe[12] = qe * W + Ge * se + Je * xe + Xe * le, oe[13] = qe * Q + Ge * he + Je * de + Xe * ce, oe[14] = qe * Z + Ge * pe + Je * ye + Xe * ae, oe[15] = qe * ne + Ge * ue + Je * fe + Xe * ve, this._identityCalculated = !1, this;
29147
29147
  }
29148
29148
  function C(W) {
29149
29149
  var Q = W.props;
@@ -29181,25 +29181,25 @@ var lottie = createCommonjsModule(function(module, exports) {
29181
29181
  return W * this.props[2] + Q * this.props[6] + Z * this.props[10] + this.props[14];
29182
29182
  }
29183
29183
  function j() {
29184
- var W = this.props[0] * this.props[5] - this.props[1] * this.props[4], Q = this.props[5] / W, Z = -this.props[1] / W, ae = -this.props[4] / W, se = this.props[0] / W, he = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / W, pe = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / W, ue = new Matrix();
29185
- return ue.props[0] = Q, ue.props[1] = Z, ue.props[4] = ae, ue.props[5] = se, ue.props[12] = he, ue.props[13] = pe, ue;
29184
+ var W = this.props[0] * this.props[5] - this.props[1] * this.props[4], Q = this.props[5] / W, Z = -this.props[1] / W, ne = -this.props[4] / W, se = this.props[0] / W, he = (this.props[4] * this.props[13] - this.props[5] * this.props[12]) / W, pe = -(this.props[0] * this.props[13] - this.props[1] * this.props[12]) / W, ue = new Matrix();
29185
+ return ue.props[0] = Q, ue.props[1] = Z, ue.props[4] = ne, ue.props[5] = se, ue.props[12] = he, ue.props[13] = pe, ue;
29186
29186
  }
29187
29187
  function q(W) {
29188
29188
  return this.getInverseMatrix().applyToPointArray(W[0], W[1], W[2] || 0);
29189
29189
  }
29190
29190
  function F(W) {
29191
- var Q, Z = W.length, ae = [];
29192
- for (Q = 0; Q < Z; Q += 1) ae[Q] = q(W[Q]);
29193
- return ae;
29191
+ var Q, Z = W.length, ne = [];
29192
+ for (Q = 0; Q < Z; Q += 1) ne[Q] = q(W[Q]);
29193
+ return ne;
29194
29194
  }
29195
29195
  function H(W, Q, Z) {
29196
- var ae = createTypedArray("float32", 6);
29197
- if (this.isIdentity()) ae[0] = W[0], ae[1] = W[1], ae[2] = Q[0], ae[3] = Q[1], ae[4] = Z[0], ae[5] = Z[1];
29196
+ var ne = createTypedArray("float32", 6);
29197
+ if (this.isIdentity()) ne[0] = W[0], ne[1] = W[1], ne[2] = Q[0], ne[3] = Q[1], ne[4] = Z[0], ne[5] = Z[1];
29198
29198
  else {
29199
- var se = this.props[0], he = this.props[1], pe = this.props[4], ue = this.props[5], ve = this.props[12], de = this.props[13];
29200
- ae[0] = W[0] * se + W[1] * pe + ve, ae[1] = W[0] * he + W[1] * ue + de, ae[2] = Q[0] * se + Q[1] * pe + ve, ae[3] = Q[0] * he + Q[1] * ue + de, ae[4] = Z[0] * se + Z[1] * pe + ve, ae[5] = Z[0] * he + Z[1] * ue + de;
29199
+ var se = this.props[0], he = this.props[1], pe = this.props[4], ue = this.props[5], xe = this.props[12], de = this.props[13];
29200
+ ne[0] = W[0] * se + W[1] * pe + xe, ne[1] = W[0] * he + W[1] * ue + de, ne[2] = Q[0] * se + Q[1] * pe + xe, ne[3] = Q[0] * he + Q[1] * ue + de, ne[4] = Z[0] * se + Z[1] * pe + xe, ne[5] = Z[0] * he + Z[1] * ue + de;
29201
29201
  }
29202
- return ae;
29202
+ return ne;
29203
29203
  }
29204
29204
  function U(W, Q, Z) {
29205
29205
  return this.isIdentity() ? [W, Q, Z] : [W * this.props[0] + Q * this.props[4] + Z * this.props[8] + this.props[12], W * this.props[1] + Q * this.props[5] + Z * this.props[9] + this.props[13], W * this.props[2] + Q * this.props[6] + Z * this.props[10] + this.props[14]];
@@ -30784,12 +30784,12 @@ var lottie = createCommonjsModule(function(module, exports) {
30784
30784
  e.lineWidths = C;
30785
30785
  var ee, ie, W, Q, Z = m.a;
30786
30786
  d = Z.length;
30787
- var ae = [];
30787
+ var ne = [];
30788
30788
  for (u = 0; u < d; u += 1) {
30789
- for ((ee = Z[u]).a.sc && (e.strokeColorAnim = !0), ee.a.sw && (e.strokeWidthAnim = !0), (ee.a.fc || ee.a.fh || ee.a.fs || ee.a.fb) && (e.fillColorAnim = !0), Q = 0, W = ee.s.b, t = 0; t < n; t += 1) (ie = g[t]).anIndexes[u] = Q, (W == 1 && ie.val !== "" || W == 2 && ie.val !== "" && ie.val !== " " || W == 3 && (ie.n || ie.val == " " || t == n - 1) || W == 4 && (ie.n || t == n - 1)) && (ee.s.rn === 1 && ae.push(Q), Q += 1);
30789
+ for ((ee = Z[u]).a.sc && (e.strokeColorAnim = !0), ee.a.sw && (e.strokeWidthAnim = !0), (ee.a.fc || ee.a.fh || ee.a.fs || ee.a.fb) && (e.fillColorAnim = !0), Q = 0, W = ee.s.b, t = 0; t < n; t += 1) (ie = g[t]).anIndexes[u] = Q, (W == 1 && ie.val !== "" || W == 2 && ie.val !== "" && ie.val !== " " || W == 3 && (ie.n || ie.val == " " || t == n - 1) || W == 4 && (ie.n || t == n - 1)) && (ee.s.rn === 1 && ne.push(Q), Q += 1);
30790
30790
  m.a[u].s.totalChars = Q;
30791
30791
  var se, he = -1;
30792
- if (ee.s.rn === 1) for (t = 0; t < n; t += 1) he != (ie = g[t]).anIndexes[u] && (he = ie.anIndexes[u], se = ae.splice(Math.floor(Math.random() * ae.length), 1)[0]), ie.anIndexes[u] = se;
30792
+ if (ee.s.rn === 1) for (t = 0; t < n; t += 1) he != (ie = g[t]).anIndexes[u] && (he = ie.anIndexes[u], se = ne.splice(Math.floor(Math.random() * ne.length), 1)[0]), ie.anIndexes[u] = se;
30793
30793
  }
30794
30794
  e.yOffset = e.finalLineHeight || 1.2 * e.finalSize, e.ls = e.ls || 0, e.ascent = O.ascent * e.finalSize / 100;
30795
30795
  }, TextProperty.prototype.updateDocumentData = function(e, t) {
@@ -30873,7 +30873,7 @@ var lottie = createCommonjsModule(function(module, exports) {
30873
30873
  u = F.length, n = 0, o = 0;
30874
30874
  var G, J, ee, ie, W, Q = 1.2 * e.finalSize * 0.714, Z = !0;
30875
30875
  ee = I.length;
30876
- var ae, se, he, pe, ue, ve, de, ye, fe, le, ce, te, be = -1, oe = f, xe = _, _e = b, Pe = -1, Ae = "", we = this.defaultPropsArray;
30876
+ var ne, se, he, pe, ue, xe, de, ye, fe, le, ce, ae, ve = -1, oe = f, be = _, _e = b, Pe = -1, Ee = "", we = this.defaultPropsArray;
30877
30877
  if (e.j === 2 || e.j === 1) {
30878
30878
  var ke = 0, Be = 0, Me = e.j === 2 ? -0.5 : -1, Fe = 0, He = !0;
30879
30879
  for (l = 0; l < u; l += 1) if (F[l].n) {
@@ -30886,7 +30886,7 @@ var lottie = createCommonjsModule(function(module, exports) {
30886
30886
  for (ke && (ke += Be); Fe < l; ) F[Fe].animatorJustifyOffset = ke, Fe += 1;
30887
30887
  }
30888
30888
  for (l = 0; l < u; l += 1) {
30889
- if (L.reset(), pe = 1, F[l].n) n = 0, o += e.yOffset, o += Z ? 1 : 0, f = oe, Z = !1, this._hasMaskedPath && (b = _e, S = (T = E[_ = xe].points)[b - 1], C = (p = T[b]).partialLength, m = 0), Ae = "", ce = "", fe = "", te = "", we = this.defaultPropsArray;
30889
+ if (L.reset(), pe = 1, F[l].n) n = 0, o += e.yOffset, o += Z ? 1 : 0, f = oe, Z = !1, this._hasMaskedPath && (b = _e, S = (T = E[_ = be].points)[b - 1], C = (p = T[b]).partialLength, m = 0), Ee = "", ce = "", fe = "", ae = "", we = this.defaultPropsArray;
30890
30890
  else {
30891
30891
  if (this._hasMaskedPath) {
30892
30892
  if (Pe !== F[l].line) {
@@ -30899,30 +30899,30 @@ var lottie = createCommonjsModule(function(module, exports) {
30899
30899
  }
30900
30900
  Pe = F[l].line;
30901
30901
  }
30902
- be !== F[l].ind && (F[be] && (f += F[be].extra), f += F[l].an / 2, be = F[l].ind), f += M[0] * F[l].an * 5e-3;
30902
+ ve !== F[l].ind && (F[ve] && (f += F[ve].extra), f += F[l].an / 2, ve = F[l].ind), f += M[0] * F[l].an * 5e-3;
30903
30903
  var Le = 0;
30904
30904
  for (J = 0; J < ee; J += 1) (G = I[J].a).p.propType && ((W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars)).length ? Le += G.p.v[0] * W[0] : Le += G.p.v[0] * W), G.a.propType && ((W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars)).length ? Le += G.a.v[0] * W[0] : Le += G.a.v[0] * W);
30905
- for (g = !0, this._pathData.a.v && (f = 0.5 * F[0].an + (R - this._pathData.f.v - 0.5 * F[0].an - 0.5 * F[F.length - 1].an) * be / (u - 1), f += this._pathData.f.v); g; ) m + C >= f + Le || !T ? (N = (f + Le - m) / p.partialLength, se = S.point[0] + (p.point[0] - S.point[0]) * N, he = S.point[1] + (p.point[1] - S.point[1]) * N, L.translate(-M[0] * F[l].an * 5e-3, -M[1] * Q * 0.01), g = !1) : T && (m += p.partialLength, (b += 1) >= T.length && (b = 0, E[_ += 1] ? T = E[_].points : V.v.c ? (b = 0, T = E[_ = 0].points) : (m -= p.partialLength, T = null)), T && (S = p, C = (p = T[b]).partialLength));
30906
- ae = F[l].an / 2 - F[l].add, L.translate(-ae, 0, 0);
30907
- } else ae = F[l].an / 2 - F[l].add, L.translate(-ae, 0, 0), L.translate(-M[0] * F[l].an * 5e-3, -M[1] * Q * 0.01, 0);
30905
+ for (g = !0, this._pathData.a.v && (f = 0.5 * F[0].an + (R - this._pathData.f.v - 0.5 * F[0].an - 0.5 * F[F.length - 1].an) * ve / (u - 1), f += this._pathData.f.v); g; ) m + C >= f + Le || !T ? (N = (f + Le - m) / p.partialLength, se = S.point[0] + (p.point[0] - S.point[0]) * N, he = S.point[1] + (p.point[1] - S.point[1]) * N, L.translate(-M[0] * F[l].an * 5e-3, -M[1] * Q * 0.01), g = !1) : T && (m += p.partialLength, (b += 1) >= T.length && (b = 0, E[_ += 1] ? T = E[_].points : V.v.c ? (b = 0, T = E[_ = 0].points) : (m -= p.partialLength, T = null)), T && (S = p, C = (p = T[b]).partialLength));
30906
+ ne = F[l].an / 2 - F[l].add, L.translate(-ne, 0, 0);
30907
+ } else ne = F[l].an / 2 - F[l].add, L.translate(-ne, 0, 0), L.translate(-M[0] * F[l].an * 5e-3, -M[1] * Q * 0.01, 0);
30908
30908
  for (J = 0; J < ee; J += 1) (G = I[J].a).t.propType && (W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars), n === 0 && e.j === 0 || (this._hasMaskedPath ? W.length ? f += G.t.v * W[0] : f += G.t.v * W : W.length ? n += G.t.v * W[0] : n += G.t.v * W));
30909
- for (e.strokeWidthAnim && (ve = e.sw || 0), e.strokeColorAnim && (ue = e.sc ? [e.sc[0], e.sc[1], e.sc[2]] : [0, 0, 0]), e.fillColorAnim && e.fc && (de = [e.fc[0], e.fc[1], e.fc[2]]), J = 0; J < ee; J += 1) (G = I[J].a).a.propType && ((W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars)).length ? L.translate(-G.a.v[0] * W[0], -G.a.v[1] * W[1], G.a.v[2] * W[2]) : L.translate(-G.a.v[0] * W, -G.a.v[1] * W, G.a.v[2] * W));
30909
+ for (e.strokeWidthAnim && (xe = e.sw || 0), e.strokeColorAnim && (ue = e.sc ? [e.sc[0], e.sc[1], e.sc[2]] : [0, 0, 0]), e.fillColorAnim && e.fc && (de = [e.fc[0], e.fc[1], e.fc[2]]), J = 0; J < ee; J += 1) (G = I[J].a).a.propType && ((W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars)).length ? L.translate(-G.a.v[0] * W[0], -G.a.v[1] * W[1], G.a.v[2] * W[2]) : L.translate(-G.a.v[0] * W, -G.a.v[1] * W, G.a.v[2] * W));
30910
30910
  for (J = 0; J < ee; J += 1) (G = I[J].a).s.propType && ((W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars)).length ? L.scale(1 + (G.s.v[0] - 1) * W[0], 1 + (G.s.v[1] - 1) * W[1], 1) : L.scale(1 + (G.s.v[0] - 1) * W, 1 + (G.s.v[1] - 1) * W, 1));
30911
30911
  for (J = 0; J < ee; J += 1) {
30912
- if (G = I[J].a, W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars), G.sk.propType && (W.length ? L.skewFromAxis(-G.sk.v * W[0], G.sa.v * W[1]) : L.skewFromAxis(-G.sk.v * W, G.sa.v * W)), G.r.propType && (W.length ? L.rotateZ(-G.r.v * W[2]) : L.rotateZ(-G.r.v * W)), G.ry.propType && (W.length ? L.rotateY(G.ry.v * W[1]) : L.rotateY(G.ry.v * W)), G.rx.propType && (W.length ? L.rotateX(G.rx.v * W[0]) : L.rotateX(G.rx.v * W)), G.o.propType && (W.length ? pe += (G.o.v * W[0] - pe) * W[0] : pe += (G.o.v * W - pe) * W), e.strokeWidthAnim && G.sw.propType && (W.length ? ve += G.sw.v * W[0] : ve += G.sw.v * W), e.strokeColorAnim && G.sc.propType) for (ye = 0; ye < 3; ye += 1) W.length ? ue[ye] += (G.sc.v[ye] - ue[ye]) * W[0] : ue[ye] += (G.sc.v[ye] - ue[ye]) * W;
30912
+ if (G = I[J].a, W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars), G.sk.propType && (W.length ? L.skewFromAxis(-G.sk.v * W[0], G.sa.v * W[1]) : L.skewFromAxis(-G.sk.v * W, G.sa.v * W)), G.r.propType && (W.length ? L.rotateZ(-G.r.v * W[2]) : L.rotateZ(-G.r.v * W)), G.ry.propType && (W.length ? L.rotateY(G.ry.v * W[1]) : L.rotateY(G.ry.v * W)), G.rx.propType && (W.length ? L.rotateX(G.rx.v * W[0]) : L.rotateX(G.rx.v * W)), G.o.propType && (W.length ? pe += (G.o.v * W[0] - pe) * W[0] : pe += (G.o.v * W - pe) * W), e.strokeWidthAnim && G.sw.propType && (W.length ? xe += G.sw.v * W[0] : xe += G.sw.v * W), e.strokeColorAnim && G.sc.propType) for (ye = 0; ye < 3; ye += 1) W.length ? ue[ye] += (G.sc.v[ye] - ue[ye]) * W[0] : ue[ye] += (G.sc.v[ye] - ue[ye]) * W;
30913
30913
  if (e.fillColorAnim && e.fc) {
30914
30914
  if (G.fc.propType) for (ye = 0; ye < 3; ye += 1) W.length ? de[ye] += (G.fc.v[ye] - de[ye]) * W[0] : de[ye] += (G.fc.v[ye] - de[ye]) * W;
30915
30915
  G.fh.propType && (de = W.length ? addHueToRGB(de, G.fh.v * W[0]) : addHueToRGB(de, G.fh.v * W)), G.fs.propType && (de = W.length ? addSaturationToRGB(de, G.fs.v * W[0]) : addSaturationToRGB(de, G.fs.v * W)), G.fb.propType && (de = W.length ? addBrightnessToRGB(de, G.fb.v * W[0]) : addBrightnessToRGB(de, G.fb.v * W));
30916
30916
  }
30917
30917
  }
30918
30918
  for (J = 0; J < ee; J += 1) (G = I[J].a).p.propType && (W = I[J].s.getMult(F[l].anIndexes[J], D.a[J].s.totalChars), this._hasMaskedPath ? W.length ? L.translate(0, G.p.v[1] * W[0], -G.p.v[2] * W[1]) : L.translate(0, G.p.v[1] * W, -G.p.v[2] * W) : W.length ? L.translate(G.p.v[0] * W[0], G.p.v[1] * W[1], -G.p.v[2] * W[2]) : L.translate(G.p.v[0] * W, G.p.v[1] * W, -G.p.v[2] * W));
30919
- if (e.strokeWidthAnim && (fe = ve < 0 ? 0 : ve), e.strokeColorAnim && (le = "rgb(" + Math.round(255 * ue[0]) + "," + Math.round(255 * ue[1]) + "," + Math.round(255 * ue[2]) + ")"), e.fillColorAnim && e.fc && (ce = "rgb(" + Math.round(255 * de[0]) + "," + Math.round(255 * de[1]) + "," + Math.round(255 * de[2]) + ")"), this._hasMaskedPath) {
30919
+ if (e.strokeWidthAnim && (fe = xe < 0 ? 0 : xe), e.strokeColorAnim && (le = "rgb(" + Math.round(255 * ue[0]) + "," + Math.round(255 * ue[1]) + "," + Math.round(255 * ue[2]) + ")"), e.fillColorAnim && e.fc && (ce = "rgb(" + Math.round(255 * de[0]) + "," + Math.round(255 * de[1]) + "," + Math.round(255 * de[2]) + ")"), this._hasMaskedPath) {
30920
30920
  if (L.translate(0, -e.ls), L.translate(0, M[1] * Q * 0.01 + o, 0), this._pathData.p.v) {
30921
30921
  O = (p.point[1] - S.point[1]) / (p.point[0] - S.point[0]);
30922
30922
  var Ne = 180 * Math.atan(O) / Math.PI;
30923
30923
  p.point[0] < S.point[0] && (Ne += 180), L.rotate(-Ne * Math.PI / 180);
30924
30924
  }
30925
- L.translate(se, he, 0), f -= M[0] * F[l].an * 5e-3, F[l + 1] && be !== F[l + 1].ind && (f += F[l].an / 2, f += 1e-3 * e.tr * e.finalSize);
30925
+ L.translate(se, he, 0), f -= M[0] * F[l].an * 5e-3, F[l + 1] && ve !== F[l + 1].ind && (f += F[l].an / 2, f += 1e-3 * e.tr * e.finalSize);
30926
30926
  } else {
30927
30927
  switch (L.translate(n, o, 0), e.ps && L.translate(e.ps[0], e.ps[1] + e.ascent, 0), e.j) {
30928
30928
  case 1:
@@ -30931,11 +30931,11 @@ var lottie = createCommonjsModule(function(module, exports) {
30931
30931
  case 2:
30932
30932
  L.translate(F[l].animatorJustifyOffset + e.justifyOffset + (e.boxWidth - e.lineWidths[F[l].line]) / 2, 0, 0);
30933
30933
  }
30934
- L.translate(0, -e.ls), L.translate(ae, 0, 0), L.translate(M[0] * F[l].an * 5e-3, M[1] * Q * 0.01, 0), n += F[l].l + 1e-3 * e.tr * e.finalSize;
30934
+ L.translate(0, -e.ls), L.translate(ne, 0, 0), L.translate(M[0] * F[l].an * 5e-3, M[1] * Q * 0.01, 0), n += F[l].l + 1e-3 * e.tr * e.finalSize;
30935
30935
  }
30936
- j === "html" ? Ae = L.toCSS() : j === "svg" ? Ae = L.to2dCSS() : we = [L.props[0], L.props[1], L.props[2], L.props[3], L.props[4], L.props[5], L.props[6], L.props[7], L.props[8], L.props[9], L.props[10], L.props[11], L.props[12], L.props[13], L.props[14], L.props[15]], te = pe;
30936
+ j === "html" ? Ee = L.toCSS() : j === "svg" ? Ee = L.to2dCSS() : we = [L.props[0], L.props[1], L.props[2], L.props[3], L.props[4], L.props[5], L.props[6], L.props[7], L.props[8], L.props[9], L.props[10], L.props[11], L.props[12], L.props[13], L.props[14], L.props[15]], ae = pe;
30937
30937
  }
30938
- q <= l ? (ie = new LetterProps(te, fe, le, ce, Ae, we), this.renderedLetters.push(ie), q += 1, this.lettersChangedFlag = !0) : (ie = this.renderedLetters[l], this.lettersChangedFlag = ie.update(te, fe, le, ce, Ae, we) || this.lettersChangedFlag);
30938
+ q <= l ? (ie = new LetterProps(ae, fe, le, ce, Ee, we), this.renderedLetters.push(ie), q += 1, this.lettersChangedFlag = !0) : (ie = this.renderedLetters[l], this.lettersChangedFlag = ie.update(ae, fe, le, ce, Ee, we) || this.lettersChangedFlag);
30939
30939
  }
30940
30940
  }
30941
30941
  }, TextAnimatorProperty.prototype.getValue = function() {
@@ -41364,8 +41364,8 @@ function fetchBaseQuery({
41364
41364
  } finally {
41365
41365
  Z && clearTimeout(Z), H == null || H.signal.removeEventListener("abort", H.abort);
41366
41366
  }
41367
- const ae = W.clone();
41368
- V.response = ae;
41367
+ const ne = W.clone();
41368
+ V.response = ne;
41369
41369
  let se, he = "";
41370
41370
  try {
41371
41371
  let pe;
@@ -41373,7 +41373,7 @@ function fetchBaseQuery({
41373
41373
  b(W, L).then((ue) => se = ue, (ue) => pe = ue),
41374
41374
  // see https://github.com/node-fetch/node-fetch/issues/665#issuecomment-538995182
41375
41375
  // we *have* to "use up" both streams at the same time or they will stop running in node-fetch scenarios
41376
- ae.text().then((ue) => he = ue, () => {
41376
+ ne.text().then((ue) => he = ue, () => {
41377
41377
  })
41378
41378
  ]), pe) throw pe;
41379
41379
  } catch (pe) {
@@ -41538,9 +41538,9 @@ You must add the middleware for RTK-Query to function correctly!`);
41538
41538
  const W = l.endpoints[V].select(D), Q = U(ee), Z = W(G());
41539
41539
  E(U);
41540
41540
  const {
41541
- requestId: ae,
41541
+ requestId: ne,
41542
41542
  abort: se
41543
- } = Q, he = Z.requestId !== ae, pe = (de = d.get(U)) == null ? void 0 : de[J], ue = () => W(G()), ve = Object.assign(F ? (
41543
+ } = Q, he = Z.requestId !== ne, pe = (de = d.get(U)) == null ? void 0 : de[J], ue = () => W(G()), xe = Object.assign(F ? (
41544
41544
  // a query has been forced (upsertQueryData)
41545
41545
  // -> we want to resolve it once data has been written with the data that will be written
41546
41546
  Q.then(ue)
@@ -41554,12 +41554,12 @@ You must add the middleware for RTK-Query to function correctly!`);
41554
41554
  Promise.all([pe, Q]).then(ue)
41555
41555
  ), {
41556
41556
  arg: D,
41557
- requestId: ae,
41557
+ requestId: ne,
41558
41558
  subscriptionOptions: q,
41559
41559
  queryCacheKey: J,
41560
41560
  abort: se,
41561
41561
  async unwrap() {
41562
- const ye = await ve;
41562
+ const ye = await xe;
41563
41563
  if (ye.isError)
41564
41564
  throw ye.error;
41565
41565
  return ye.data;
@@ -41571,13 +41571,13 @@ You must add the middleware for RTK-Query to function correctly!`);
41571
41571
  unsubscribe() {
41572
41572
  L && U(p({
41573
41573
  queryCacheKey: J,
41574
- requestId: ae
41574
+ requestId: ne
41575
41575
  }));
41576
41576
  },
41577
41577
  updateSubscriptionOptions(ye) {
41578
- ve.subscriptionOptions = ye, U(g({
41578
+ xe.subscriptionOptions = ye, U(g({
41579
41579
  endpointName: V,
41580
- requestId: ae,
41580
+ requestId: ne,
41581
41581
  queryCacheKey: J,
41582
41582
  options: ye
41583
41583
  }));
@@ -41585,11 +41585,11 @@ You must add the middleware for RTK-Query to function correctly!`);
41585
41585
  });
41586
41586
  if (!pe && !he && !F) {
41587
41587
  const ye = getOrInsert(d, U, {});
41588
- ye[J] = ve, ve.then(() => {
41588
+ ye[J] = xe, xe.then(() => {
41589
41589
  delete ye[J], countObjectKeys$1(ye) || d.delete(U);
41590
41590
  });
41591
41591
  }
41592
- return ve;
41592
+ return xe;
41593
41593
  };
41594
41594
  return I;
41595
41595
  }
@@ -41714,8 +41714,8 @@ function buildThunks({
41714
41714
  let Z;
41715
41715
  if ("data" in W)
41716
41716
  if (isDraftable(W.data)) {
41717
- const [ae, se, he] = produceWithPatches(W.data, U);
41718
- Q.patches.push(...se), Q.inversePatches.push(...he), Z = ae;
41717
+ const [ne, se, he] = produceWithPatches(W.data, U);
41718
+ Q.patches.push(...se), Q.inversePatches.push(...he), Z = ne;
41719
41719
  } else
41720
41720
  Z = U(W.data), Q.patches.push({
41721
41721
  op: "replace",
@@ -41745,7 +41745,7 @@ function buildThunks({
41745
41745
  var se, he;
41746
41746
  const Q = n[F.endpointName], {
41747
41747
  metaSchema: Z,
41748
- skipSchemaValidation: ae = m
41748
+ skipSchemaValidation: ne = m
41749
41749
  } = Q;
41750
41750
  try {
41751
41751
  let pe = E(Q, "transformResponse");
@@ -41759,9 +41759,9 @@ function buildThunks({
41759
41759
  type: F.type,
41760
41760
  forced: F.type === "query" ? R(F, ie()) : void 0,
41761
41761
  queryCacheKey: F.type === "query" ? F.queryCacheKey : void 0
41762
- }, ve = F.type === "query" ? F[forceQueryFnSymbol] : void 0;
41762
+ }, xe = F.type === "query" ? F[forceQueryFnSymbol] : void 0;
41763
41763
  let de;
41764
- const ye = async (le, ce, te, be) => {
41764
+ const ye = async (le, ce, ae, ve) => {
41765
41765
  if (ce == null && le.pages.length)
41766
41766
  return Promise.resolve({
41767
41767
  data: le
@@ -41769,44 +41769,44 @@ function buildThunks({
41769
41769
  const oe = {
41770
41770
  queryArg: F.originalArgs,
41771
41771
  pageParam: ce
41772
- }, xe = await fe(oe), _e = be ? b : _;
41772
+ }, be = await fe(oe), _e = ve ? b : _;
41773
41773
  return {
41774
41774
  data: {
41775
- pages: _e(le.pages, xe.data, te),
41776
- pageParams: _e(le.pageParams, ce, te)
41775
+ pages: _e(le.pages, be.data, ae),
41776
+ pageParams: _e(le.pageParams, ce, ae)
41777
41777
  },
41778
- meta: xe.meta
41778
+ meta: be.meta
41779
41779
  };
41780
41780
  };
41781
41781
  async function fe(le) {
41782
41782
  let ce;
41783
41783
  const {
41784
- extraOptions: te,
41785
- argSchema: be,
41784
+ extraOptions: ae,
41785
+ argSchema: ve,
41786
41786
  rawResponseSchema: oe,
41787
- responseSchema: xe
41787
+ responseSchema: be
41788
41788
  } = Q;
41789
- if (be && !ae && (le = await parseWithSchema(
41790
- be,
41789
+ if (ve && !ne && (le = await parseWithSchema(
41790
+ ve,
41791
41791
  le,
41792
41792
  "argSchema",
41793
41793
  {}
41794
41794
  // we don't have a meta yet, so we can't pass it
41795
- )), ve ? ce = ve() : Q.query ? ce = await t(Q.query(le), ue, te) : ce = await Q.queryFn(le, ue, te, (Ae) => t(Ae, ue, te)), typeof process < "u" && process.env.NODE_ENV === "development") {
41796
- const Ae = Q.query ? "`baseQuery`" : "`queryFn`";
41795
+ )), xe ? ce = xe() : Q.query ? ce = await t(Q.query(le), ue, ae) : ce = await Q.queryFn(le, ue, ae, (Ee) => t(Ee, ue, ae)), typeof process < "u" && process.env.NODE_ENV === "development") {
41796
+ const Ee = Q.query ? "`baseQuery`" : "`queryFn`";
41797
41797
  let we;
41798
41798
  if (!ce)
41799
- we = `${Ae} did not return anything.`;
41799
+ we = `${Ee} did not return anything.`;
41800
41800
  else if (typeof ce != "object")
41801
- we = `${Ae} did not return an object.`;
41801
+ we = `${Ee} did not return an object.`;
41802
41802
  else if (ce.error && ce.data)
41803
- we = `${Ae} returned an object containing both \`error\` and \`result\`.`;
41803
+ we = `${Ee} returned an object containing both \`error\` and \`result\`.`;
41804
41804
  else if (ce.error === void 0 && ce.data === void 0)
41805
- we = `${Ae} returned an object containing neither a valid \`error\` and \`result\`. At least one of them should not be \`undefined\``;
41805
+ we = `${Ee} returned an object containing neither a valid \`error\` and \`result\`. At least one of them should not be \`undefined\``;
41806
41806
  else
41807
41807
  for (const ke of Object.keys(ce))
41808
41808
  if (ke !== "error" && ke !== "data" && ke !== "meta") {
41809
- we = `The object returned by ${Ae} has the unknown property ${ke}.`;
41809
+ we = `The object returned by ${Ee} has the unknown property ${ke}.`;
41810
41810
  break;
41811
41811
  }
41812
41812
  we && console.error(`Error encountered handling the endpoint ${F.endpointName}.
@@ -41818,9 +41818,9 @@ function buildThunks({
41818
41818
  let {
41819
41819
  data: _e
41820
41820
  } = ce;
41821
- oe && !ae && (_e = await parseWithSchema(oe, ce.data, "rawResponseSchema", ce.meta));
41821
+ oe && !ne && (_e = await parseWithSchema(oe, ce.data, "rawResponseSchema", ce.meta));
41822
41822
  let Pe = await pe(_e, ce.meta, le);
41823
- return xe && !ae && (Pe = await parseWithSchema(xe, Pe, "responseSchema", ce.meta)), {
41823
+ return be && !ne && (Pe = await parseWithSchema(be, Pe, "responseSchema", ce.meta)), {
41824
41824
  ...ce,
41825
41825
  data: Pe
41826
41826
  };
@@ -41831,37 +41831,37 @@ function buildThunks({
41831
41831
  } = Q, {
41832
41832
  maxPages: ce = 1 / 0
41833
41833
  } = le;
41834
- let te;
41835
- const be = {
41834
+ let ae;
41835
+ const ve = {
41836
41836
  pages: [],
41837
41837
  pageParams: []
41838
- }, oe = (se = d.selectQueryEntry(ie(), F.queryCacheKey)) == null ? void 0 : se.data, _e = /* arg.forceRefetch */ R(F, ie()) && !F.direction || !oe ? be : oe;
41838
+ }, oe = (se = d.selectQueryEntry(ie(), F.queryCacheKey)) == null ? void 0 : se.data, _e = /* arg.forceRefetch */ R(F, ie()) && !F.direction || !oe ? ve : oe;
41839
41839
  if ("direction" in F && F.direction && _e.pages.length) {
41840
41840
  const Pe = F.direction === "backward", we = (Pe ? getPreviousPageParam : getNextPageParam)(le, _e);
41841
- te = await ye(_e, we, ce, Pe);
41841
+ ae = await ye(_e, we, ce, Pe);
41842
41842
  } else {
41843
41843
  const {
41844
41844
  initialPageParam: Pe = le.initialPageParam
41845
- } = F, Ae = (oe == null ? void 0 : oe.pageParams) ?? [], we = Ae[0] ?? Pe, ke = Ae.length;
41846
- te = await ye(_e, we, ce), ve && (te = {
41847
- data: te.data.pages[0]
41845
+ } = F, Ee = (oe == null ? void 0 : oe.pageParams) ?? [], we = Ee[0] ?? Pe, ke = Ee.length;
41846
+ ae = await ye(_e, we, ce), xe && (ae = {
41847
+ data: ae.data.pages[0]
41848
41848
  });
41849
41849
  for (let Be = 1; Be < ke; Be++) {
41850
- const Me = getNextPageParam(le, te.data);
41851
- te = await ye(te.data, Me, ce);
41850
+ const Me = getNextPageParam(le, ae.data);
41851
+ ae = await ye(ae.data, Me, ce);
41852
41852
  }
41853
41853
  }
41854
- de = te;
41854
+ de = ae;
41855
41855
  } else
41856
41856
  de = await fe(F.originalArgs);
41857
- return Z && !ae && de.meta && (de.meta = await parseWithSchema(Z, de.meta, "metaSchema", de.meta)), J(de.data, addShouldAutoBatch({
41857
+ return Z && !ne && de.meta && (de.meta = await parseWithSchema(Z, de.meta, "metaSchema", de.meta)), J(de.data, addShouldAutoBatch({
41858
41858
  fulfilledTimeStamp: Date.now(),
41859
41859
  baseQueryMeta: de.meta
41860
41860
  }));
41861
41861
  } catch (pe) {
41862
41862
  let ue = pe;
41863
41863
  if (ue instanceof HandledError) {
41864
- let ve = E(Q, "transformErrorResponse");
41864
+ let xe = E(Q, "transformErrorResponse");
41865
41865
  const {
41866
41866
  rawErrorResponseSchema: de,
41867
41867
  errorResponseSchema: ye
@@ -41871,9 +41871,9 @@ function buildThunks({
41871
41871
  meta: le
41872
41872
  } = ue;
41873
41873
  try {
41874
- de && !ae && (fe = await parseWithSchema(de, fe, "rawErrorResponseSchema", le)), Z && !ae && (le = await parseWithSchema(Z, le, "metaSchema", le));
41875
- let ce = await ve(fe, le, F.originalArgs);
41876
- return ye && !ae && (ce = await parseWithSchema(ye, ce, "errorResponseSchema", le)), G(ce, addShouldAutoBatch({
41874
+ de && !ne && (fe = await parseWithSchema(de, fe, "rawErrorResponseSchema", le)), Z && !ne && (le = await parseWithSchema(Z, le, "metaSchema", le));
41875
+ let ce = await xe(fe, le, F.originalArgs);
41876
+ return ye && !ne && (ce = await parseWithSchema(ye, ce, "errorResponseSchema", le)), G(ce, addShouldAutoBatch({
41877
41877
  baseQueryMeta: le
41878
41878
  }));
41879
41879
  } catch (ce) {
@@ -41882,23 +41882,23 @@ function buildThunks({
41882
41882
  }
41883
41883
  try {
41884
41884
  if (ue instanceof NamedSchemaError) {
41885
- const ve = {
41885
+ const xe = {
41886
41886
  endpoint: F.endpointName,
41887
41887
  arg: F.originalArgs,
41888
41888
  type: F.type,
41889
41889
  queryCacheKey: F.type === "query" ? F.queryCacheKey : void 0
41890
41890
  };
41891
- (he = Q.onSchemaFailure) == null || he.call(Q, ue, ve), f == null || f(ue, ve);
41891
+ (he = Q.onSchemaFailure) == null || he.call(Q, ue, xe), f == null || f(ue, xe);
41892
41892
  const {
41893
41893
  catchSchemaFailure: de = p
41894
41894
  } = Q;
41895
41895
  if (de)
41896
- return G(de(ue, ve), addShouldAutoBatch({
41896
+ return G(de(ue, xe), addShouldAutoBatch({
41897
41897
  baseQueryMeta: ue._bqMeta
41898
41898
  }));
41899
41899
  }
41900
- } catch (ve) {
41901
- ue = ve;
41900
+ } catch (xe) {
41901
+ ue = xe;
41902
41902
  }
41903
41903
  throw typeof process < "u" && process.env.NODE_ENV !== "production" ? console.error(`An unhandled error occurred processing a request for the endpoint "${F.endpointName}".
41904
41904
  In the case of an unhandled error, no tags will be "provided" or "invalidated".`, ue) : console.error(ue), ue;
@@ -41923,9 +41923,9 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
41923
41923
  condition(H, {
41924
41924
  getState: U
41925
41925
  }) {
41926
- var ae;
41926
+ var ne;
41927
41927
  const G = U(), J = d.selectQueryEntry(G, H.queryCacheKey), ee = J == null ? void 0 : J.fulfilledTimeStamp, ie = H.originalArgs, W = J == null ? void 0 : J.originalArgs, Q = n[H.endpointName], Z = H.direction;
41928
- return isUpsertQuery(H) ? !0 : (J == null ? void 0 : J.status) === "pending" ? !1 : R(H, G) || isQueryDefinition$1(Q) && ((ae = Q == null ? void 0 : Q.forceRefetch) != null && ae.call(Q, {
41928
+ return isUpsertQuery(H) ? !0 : (J == null ? void 0 : J.status) === "pending" ? !1 : R(H, G) || isQueryDefinition$1(Q) && ((ne = Q == null ? void 0 : Q.forceRefetch) != null && ne.call(Q, {
41929
41929
  currentArg: ie,
41930
41930
  previousArg: W,
41931
41931
  endpointState: J,
@@ -41941,11 +41941,11 @@ In the case of an unhandled error, no tags will be "provided" or "invalidated".`
41941
41941
  }
41942
41942
  }), I = (F) => "force" in F, D = (F) => "ifOlderThan" in F, L = (F, H, U) => (G, J) => {
41943
41943
  const ee = I(U) && U.force, ie = D(U) && U.ifOlderThan, W = (Z = !0) => {
41944
- const ae = {
41944
+ const ne = {
41945
41945
  forceRefetch: Z,
41946
41946
  isPrefetch: !0
41947
41947
  };
41948
- return l.endpoints[F].initiate(H, ae);
41948
+ return l.endpoints[F].initiate(H, ne);
41949
41949
  }, Q = l.endpoints[F].select(H)(J());
41950
41950
  if (ee)
41951
41951
  G(W());
@@ -42289,8 +42289,8 @@ function buildSlice({
42289
42289
  for (const [ee, ie] of Object.entries(H))
42290
42290
  for (const [W, Q] of Object.entries(ie)) {
42291
42291
  const Z = (G = (U = q.tags)[ee] ?? (U[ee] = {}))[J = W || "__internal_without_id"] ?? (G[J] = []);
42292
- for (const ae of Q)
42293
- Z.includes(ae) || Z.push(ae);
42292
+ for (const ne of Q)
42293
+ Z.includes(ne) || Z.push(ne);
42294
42294
  }
42295
42295
  }).addMatcher(isAnyOf(isFulfilled(t), isRejectedWithValue(t)), (q, F) => {
42296
42296
  N(q, [F]);
@@ -43280,7 +43280,7 @@ var coreModuleName = /* @__PURE__ */ Symbol(), coreModule = ({
43280
43280
  buildInitiateQuery: W,
43281
43281
  buildInitiateInfiniteQuery: Q,
43282
43282
  buildInitiateMutation: Z,
43283
- getRunningMutationThunk: ae,
43283
+ getRunningMutationThunk: ne,
43284
43284
  getRunningMutationsThunk: se,
43285
43285
  getRunningQueriesThunk: he,
43286
43286
  getRunningQueryThunk: pe
@@ -43293,27 +43293,27 @@ var coreModuleName = /* @__PURE__ */ Symbol(), coreModule = ({
43293
43293
  context: T
43294
43294
  });
43295
43295
  return safeAssign$1(t.util, {
43296
- getRunningMutationThunk: ae,
43296
+ getRunningMutationThunk: ne,
43297
43297
  getRunningMutationsThunk: se,
43298
43298
  getRunningQueryThunk: pe,
43299
43299
  getRunningQueriesThunk: he
43300
43300
  }), {
43301
43301
  name: coreModuleName,
43302
- injectEndpoint(ue, ve) {
43302
+ injectEndpoint(ue, xe) {
43303
43303
  var fe;
43304
43304
  const ye = (fe = t.endpoints)[ue] ?? (fe[ue] = {});
43305
- isQueryDefinition$1(ve) && safeAssign$1(ye, {
43305
+ isQueryDefinition$1(xe) && safeAssign$1(ye, {
43306
43306
  name: ue,
43307
- select: O(ue, ve),
43308
- initiate: W(ue, ve)
43309
- }, U(I, ue)), isMutationDefinition$1(ve) && safeAssign$1(ye, {
43307
+ select: O(ue, xe),
43308
+ initiate: W(ue, xe)
43309
+ }, U(I, ue)), isMutationDefinition$1(xe) && safeAssign$1(ye, {
43310
43310
  name: ue,
43311
43311
  select: M(),
43312
43312
  initiate: Z(ue)
43313
- }, U(L, ue)), isInfiniteQueryDefinition$1(ve) && safeAssign$1(ye, {
43313
+ }, U(L, ue)), isInfiniteQueryDefinition$1(xe) && safeAssign$1(ye, {
43314
43314
  name: ue,
43315
- select: V(ue, ve),
43316
- initiate: Q(ue, ve)
43315
+ select: V(ue, xe),
43316
+ initiate: Q(ue, xe)
43317
43317
  }, U(I, ue));
43318
43318
  }
43319
43319
  };
@@ -43763,10 +43763,10 @@ function buildHooks({
43763
43763
  skipPollingIfUnfocused: F
43764
43764
  }), W = H.initialPageParam, Q = useShallowStableValue(W), Z = useRef(void 0);
43765
43765
  let {
43766
- queryCacheKey: ae,
43766
+ queryCacheKey: ne,
43767
43767
  requestId: se
43768
43768
  } = Z.current || {}, he = !1;
43769
- ae && se && (he = J.current.isRequestSubscribed(ae, se));
43769
+ ne && se && (he = J.current.isRequestSubscribed(ne, se));
43770
43770
  const pe = !he && Z.current !== void 0;
43771
43771
  return m(() => {
43772
43772
  pe && (Z.current = void 0);
@@ -43777,7 +43777,7 @@ function buildHooks({
43777
43777
  ue == null || ue.unsubscribe(), Z.current = void 0;
43778
43778
  return;
43779
43779
  }
43780
- const ve = (de = Z.current) == null ? void 0 : de.subscriptionOptions;
43780
+ const xe = (de = Z.current) == null ? void 0 : de.subscriptionOptions;
43781
43781
  if (!ue || ue.arg !== ee) {
43782
43782
  ue == null || ue.unsubscribe();
43783
43783
  const ye = G(U(ee, {
@@ -43788,7 +43788,7 @@ function buildHooks({
43788
43788
  } : {}
43789
43789
  }));
43790
43790
  Z.current = ye;
43791
- } else ie !== ve && ue.updateSubscriptionOptions(ie);
43791
+ } else ie !== xe && ue.updateSubscriptionOptions(ie);
43792
43792
  }, [G, U, L, ee, ie, pe, Q, V]), [Z, G, U, ie];
43793
43793
  }
43794
43794
  function T(V, M) {
@@ -43858,31 +43858,31 @@ function buildHooks({
43858
43858
  });
43859
43859
  m(() => {
43860
43860
  var se, he;
43861
- const ae = (se = ee.current) == null ? void 0 : se.subscriptionOptions;
43862
- ie !== ae && ((he = ee.current) == null || he.updateSubscriptionOptions(ie));
43861
+ const ne = (se = ee.current) == null ? void 0 : se.subscriptionOptions;
43862
+ ie !== ne && ((he = ee.current) == null || he.updateSubscriptionOptions(ie));
43863
43863
  }, [ie]);
43864
43864
  const W = useRef(ie);
43865
43865
  m(() => {
43866
43866
  W.current = ie;
43867
43867
  }, [ie]);
43868
- const Q = useCallback(function(ae, se = !1) {
43868
+ const Q = useCallback(function(ne, se = !1) {
43869
43869
  let he;
43870
43870
  return t(() => {
43871
43871
  var pe;
43872
- (pe = ee.current) == null || pe.unsubscribe(), ee.current = he = U(H(ae, {
43872
+ (pe = ee.current) == null || pe.unsubscribe(), ee.current = he = U(H(ne, {
43873
43873
  subscriptionOptions: W.current,
43874
43874
  forceRefetch: !se
43875
- })), J(ae);
43875
+ })), J(ne);
43876
43876
  }), he;
43877
43877
  }, [U, H]), Z = useCallback(() => {
43878
- var ae, se;
43879
- (ae = ee.current) != null && ae.queryCacheKey && U(e.internalActions.removeQueryResult({
43878
+ var ne, se;
43879
+ (ne = ee.current) != null && ne.queryCacheKey && U(e.internalActions.removeQueryResult({
43880
43880
  queryCacheKey: (se = ee.current) == null ? void 0 : se.queryCacheKey
43881
43881
  }));
43882
43882
  }, [U]);
43883
43883
  return useEffect(() => () => {
43884
- var ae;
43885
- (ae = ee == null ? void 0 : ee.current) == null || ae.unsubscribe();
43884
+ var ne;
43885
+ (ne = ee == null ? void 0 : ee.current) == null || ne.unsubscribe();
43886
43886
  }, []), useEffect(() => {
43887
43887
  G !== UNINITIALIZED_VALUE && !ee.current && Q(G, !0);
43888
43888
  }, [G, Q]), useMemo(() => [Q, G, {
@@ -43990,8 +43990,8 @@ function buildHooks({
43990
43990
  useEffect(() => () => {
43991
43991
  q != null && q.arg.fixedCacheKey || q == null || q.reset();
43992
43992
  }, [q]);
43993
- const H = useCallback(function(ae) {
43994
- const se = j(L(ae, {
43993
+ const H = useCallback(function(ne) {
43994
+ const se = j(L(ne, {
43995
43995
  fixedCacheKey: I
43996
43996
  }));
43997
43997
  return F(se), se;
@@ -52378,7 +52378,7 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52378
52378
  } = useAIAssistant({ userId: e, apiKey: n });
52379
52379
  useEffect(() => {
52380
52380
  if (!u) return;
52381
- const te = {
52381
+ const ve = {
52382
52382
  partner1: e,
52383
52383
  partner2: ASSISTANT_ID,
52384
52384
  name: "Randmar Assistant",
@@ -52387,118 +52387,118 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52387
52387
  historyFetched: !0,
52388
52388
  messages: [],
52389
52389
  conversationID: -1
52390
- }, be = u.map((oe) => {
52391
- var xe;
52390
+ }, oe = u.map((be) => {
52391
+ var _e;
52392
52392
  return {
52393
- partner1: oe.Participant1,
52394
- partner2: oe.Participant2,
52395
- name: ((xe = oe.Participant) == null ? void 0 : xe.PublicName) ?? "missing public name",
52393
+ partner1: be.Participant1,
52394
+ partner2: be.Participant2,
52395
+ name: ((_e = be.Participant) == null ? void 0 : _e.PublicName) ?? "missing public name",
52396
52396
  unread: 0,
52397
- pending: oe.Status != "Approved",
52397
+ pending: be.Status != "Approved",
52398
52398
  historyFetched: !1,
52399
52399
  messages: [],
52400
- conversationID: oe.ConversationId
52400
+ conversationID: be.ConversationId
52401
52401
  };
52402
52402
  });
52403
52403
  setTimeout(() => {
52404
- var oe;
52405
- return (oe = se.current) == null ? void 0 : oe.focus();
52406
- }, 50), F([te, ...be]);
52404
+ var be;
52405
+ return (be = se.current) == null ? void 0 : be.focus();
52406
+ }, 50), F([ve, ...oe]);
52407
52407
  }, [u]);
52408
- const [N, O] = useState("approved"), [V, M] = useState([e, ASSISTANT_ID]), [I, D] = useState(""), [L, j] = useState(null), [q, F] = useState([]), [H, U] = useState(""), [G, J] = useState(null), [ee, ie] = useState([]), [W, Q] = useState(0), Z = useRef(null), ae = useRef(null), se = o || ae, he = q.filter((te) => {
52409
- const be = te.name.toLowerCase().includes(H.toLowerCase());
52410
- return N === "approved" ? be && !te.pending : N === "pending" ? be && te.pending : be;
52408
+ const [N, O] = useState("approved"), [V, M] = useState([e, ASSISTANT_ID]), [I, D] = useState(""), [L, j] = useState(null), [q, F] = useState([]), [H, U] = useState(""), [G, J] = useState(null), [ee, ie] = useState([]), [W, Q] = useState(0), Z = useRef(null), ne = useRef(null), se = o || ne, he = q.filter((ve) => {
52409
+ const oe = ve.name.toLowerCase().includes(H.toLowerCase());
52410
+ return N === "approved" ? oe && !ve.pending : N === "pending" ? oe && ve.pending : oe;
52411
52411
  });
52412
52412
  useEffect(() => {
52413
- _.length !== 0 && (_.forEach((te) => {
52414
- if (!te || te.role != "assistant") return;
52415
- if (te.isComponent) {
52416
- ie((oe) => [...oe, te.content]), Q(0);
52413
+ _.length !== 0 && (_.forEach((ve) => {
52414
+ if (!ve || ve.role != "assistant") return;
52415
+ if (ve.isComponent) {
52416
+ ie((be) => [...be, ve.content]), Q(0);
52417
52417
  return;
52418
52418
  }
52419
- const be = {
52420
- id: te.timestamp.toString(),
52419
+ const oe = {
52420
+ id: ve.timestamp.toString(),
52421
52421
  fromPartnerID: ASSISTANT_ID,
52422
52422
  toPartnerID: e,
52423
52423
  senderName: "Assistant",
52424
- timestamp: te.timestamp.getTime(),
52425
- content: te.content
52424
+ timestamp: ve.timestamp.getTime(),
52425
+ content: ve.content
52426
52426
  };
52427
- be.content = marked(be.content ?? "Please ask again.", { async: !1 }), pe(be);
52427
+ oe.content = marked(oe.content ?? "Please ask again.", { async: !1 }), pe(oe);
52428
52428
  }), S());
52429
52429
  }, [_]);
52430
- function pe(te) {
52431
- const be = [te.fromPartnerID, te.toPartnerID];
52432
- be.sort(), F((oe) => {
52433
- let xe = !1;
52434
- const _e = oe.map((Pe) => Pe.partner1 !== be[0] || Pe.partner2 !== be[1] || Pe.messages.findIndex((Ae) => Ae.id == te.id) !== -1 ? Pe : (xe = !0, { ...Pe, unread: Pe.unread + 1, messages: [...Pe.messages, te] }));
52435
- return xe && j([be[0], be[1]]), _e;
52430
+ function pe(ve) {
52431
+ const oe = [ve.fromPartnerID, ve.toPartnerID];
52432
+ oe.sort(), F((be) => {
52433
+ let _e = !1;
52434
+ const Pe = be.map((Ee) => Ee.partner1 !== oe[0] || Ee.partner2 !== oe[1] || Ee.messages.findIndex((we) => we.id == ve.id) !== -1 ? Ee : (_e = !0, { ...Ee, unread: Ee.unread + 1, messages: [...Ee.messages, ve] }));
52435
+ return _e && j([oe[0], oe[1]]), Pe;
52436
52436
  });
52437
52437
  }
52438
52438
  useEffect(() => {
52439
- const te = new HubConnectionBuilder().withUrl("https://api.randmar.io/hub", {
52439
+ const ve = new HubConnectionBuilder().withUrl("https://api.randmar.io/hub", {
52440
52440
  accessTokenFactory: () => localStorage.getItem("access_token"),
52441
52441
  headers: { "X-Impersonated-Id": e }
52442
52442
  }).configureLogging(LogLevel.Information).withAutomaticReconnect().withHubProtocol(new JsonHubProtocol()).build();
52443
- return te.on("ReceiveMessage", pe), te.start().catch((be) => console.error("Error connecting to SignalR hub:", be)), J(te), () => {
52444
- te && te.stop();
52443
+ return ve.on("ReceiveMessage", pe), ve.start().catch((oe) => console.error("Error connecting to SignalR hub:", oe)), J(ve), () => {
52444
+ ve && ve.stop();
52445
52445
  };
52446
52446
  }, [e]), useEffect(() => {
52447
- (L == null ? void 0 : L[0]) !== (V == null ? void 0 : V[0]) || (L == null ? void 0 : L[1]) !== (V == null ? void 0 : V[1]) || (F((te) => te.map((be) => be.partner1 === (V == null ? void 0 : V[0]) && be.partner2 === (V == null ? void 0 : V[1]) ? { ...be, unread: 0 } : be)), setTimeout(() => {
52448
- var te;
52449
- return (te = Z.current) == null ? void 0 : te.scrollIntoView({ behavior: "smooth" });
52447
+ (L == null ? void 0 : L[0]) !== (V == null ? void 0 : V[0]) || (L == null ? void 0 : L[1]) !== (V == null ? void 0 : V[1]) || (F((ve) => ve.map((oe) => oe.partner1 === (V == null ? void 0 : V[0]) && oe.partner2 === (V == null ? void 0 : V[1]) ? { ...oe, unread: 0 } : oe)), setTimeout(() => {
52448
+ var ve;
52449
+ return (ve = Z.current) == null ? void 0 : ve.scrollIntoView({ behavior: "smooth" });
52450
52450
  }, 50));
52451
52451
  }, [L, V]), useEffect(() => {
52452
- var be;
52452
+ var oe;
52453
52453
  if (!V)
52454
52454
  return;
52455
- const te = getActiveChatObject(q, V);
52456
- te && ((be = se.current) == null || be.focus(), Q(ee.length), d({ applicationId: te.partner1 === e ? te.partner2 : te.partner1 }).then((oe) => {
52457
- oe.data && (ie((xe) => [...xe, /* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(PartnerCard, { account: oe.data, action: /* @__PURE__ */ jsx(Fragment, {}), withVoice: !1 }) })]), Q(0));
52458
- }), te.historyFetched ? (F((oe) => oe.map((xe) => xe.partner1 === V[0] && xe.partner2 === V[1] ? { ...xe, unread: 0 } : xe)), setTimeout(() => {
52459
- var oe;
52460
- return (oe = Z.current) == null ? void 0 : oe.scrollIntoView({ behavior: "smooth" });
52455
+ const ve = getActiveChatObject(q, V);
52456
+ ve && ((oe = se.current) == null || oe.focus(), Q(ee.length), d({ applicationId: ve.partner1 === e ? ve.partner2 : ve.partner1 }).then((be) => {
52457
+ be.data && (ie((_e) => [..._e, /* @__PURE__ */ jsx("div", { className: "mt-2", children: /* @__PURE__ */ jsx(PartnerCard, { account: be.data, action: /* @__PURE__ */ jsx(Fragment, {}), withVoice: !1 }) })]), Q(0));
52458
+ }), ve.historyFetched ? (ve.unread > 0 && F((be) => be.map((_e) => _e.partner1 === V[0] && _e.partner2 === V[1] ? { ..._e, unread: 0 } : _e)), setTimeout(() => {
52459
+ var be;
52460
+ return (be = Z.current) == null ? void 0 : be.scrollIntoView({ behavior: "smooth" });
52461
52461
  }, 50)) : g({
52462
52462
  applicationId: e,
52463
- conversationId: te.conversationID
52464
- }).unwrap().then((oe) => {
52465
- const xe = oe.map((_e) => ({
52466
- id: "history" + _e.MessageId,
52467
- fromPartnerID: _e.SenderId,
52468
- toPartnerID: _e.SenderId == V[0] ? V[1] : V[0],
52469
- senderName: _e.SenderName ?? "missing name",
52470
- timestamp: (/* @__PURE__ */ new Date(_e.SentDate + "Z")).getTime(),
52471
- content: _e.Content ?? "no content"
52463
+ conversationId: ve.conversationID
52464
+ }).unwrap().then((be) => {
52465
+ const _e = be.map((Pe) => ({
52466
+ id: "history" + Pe.MessageId,
52467
+ fromPartnerID: Pe.SenderId,
52468
+ toPartnerID: Pe.SenderId == V[0] ? V[1] : V[0],
52469
+ senderName: Pe.SenderName ?? "missing name",
52470
+ timestamp: (/* @__PURE__ */ new Date(Pe.SentDate + "Z")).getTime(),
52471
+ content: Pe.Content ?? "no content"
52472
52472
  }));
52473
- F((_e) => _e.map((Pe) => Pe.partner1 === V[0] && Pe.partner2 === V[1] ? {
52474
- ...Pe,
52475
- messages: xe,
52473
+ F((Pe) => Pe.map((Ee) => Ee.partner1 === V[0] && Ee.partner2 === V[1] ? {
52474
+ ...Ee,
52475
+ messages: _e,
52476
52476
  historyFetched: !0
52477
- } : Pe)), setTimeout(() => {
52478
- var _e;
52479
- return (_e = Z.current) == null ? void 0 : _e.scrollIntoView({ behavior: "smooth" });
52477
+ } : Ee)), setTimeout(() => {
52478
+ var Pe;
52479
+ return (Pe = Z.current) == null ? void 0 : Pe.scrollIntoView({ behavior: "smooth" });
52480
52480
  }, 100);
52481
- }).catch((oe) => {
52482
- console.error("Error fetching conversation messages:", oe);
52481
+ }).catch((be) => {
52482
+ console.error("Error fetching conversation messages:", be);
52483
52483
  }));
52484
- }, [V, g, e]);
52485
- const ue = (te, be, oe) => {
52486
- const xe = {
52484
+ }, [q, V, g, e]);
52485
+ const ue = (ve, oe, be) => {
52486
+ const _e = {
52487
52487
  id: crypto.randomUUID(),
52488
52488
  senderName: t,
52489
52489
  fromPartnerID: e,
52490
- toPartnerID: be[0] === e ? be[1] : be[0],
52491
- content: te,
52490
+ toPartnerID: oe[0] === e ? oe[1] : oe[0],
52491
+ content: ve,
52492
52492
  timestamp: Date.now()
52493
52493
  };
52494
- F((_e) => _e.map((Pe) => Pe.partner1 === be[0] && Pe.partner2 === be[1] ? { ...Pe, messages: [...Pe.messages, xe] } : Pe)), j([be[0], be[1]]), xe.toPartnerID == ASSISTANT_ID ? b(xe.content) : oe.invoke("NewMessage", xe).catch((_e) => console.error("Error sending message:", _e)), D("");
52495
- }, ve = (te, be) => {
52494
+ F((Pe) => Pe.map((Ee) => Ee.partner1 === oe[0] && Ee.partner2 === oe[1] ? { ...Ee, messages: [...Ee.messages, _e] } : Ee)), j([oe[0], oe[1]]), _e.toPartnerID == ASSISTANT_ID ? b(_e.content) : be.invoke("NewMessage", _e).catch((Pe) => console.error("Error sending message:", Pe)), D("");
52495
+ }, xe = (ve, oe) => {
52496
52496
  if (!q.length || !G || !T) return !1;
52497
- const oe = q.find((xe) => xe.conversationID === te);
52498
- return oe ? (M([oe.partner1, oe.partner2]), be && setTimeout(() => ue(be, [oe.partner1, oe.partner2], G), 100), !0) : !1;
52497
+ const be = q.find((_e) => _e.conversationID === ve);
52498
+ return be ? (be.pending && setTimeout(() => O("pending"), 200), M([be.partner1, be.partner2]), oe && setTimeout(() => ue(oe, [be.partner1, be.partner2], G), 200), !0) : !1;
52499
52499
  };
52500
52500
  if (useImperativeHandle(l, () => ({
52501
- setActiveChatAndSendMessage: ve
52501
+ setActiveChatAndSendMessage: xe
52502
52502
  })), !T)
52503
52503
  return /* @__PURE__ */ jsx(Fragment, { children: /* @__PURE__ */ jsx("div", { className: "flex items-center justify-center p-8", children: /* @__PURE__ */ jsxs("div", { className: "text-center", children: [
52504
52504
  /* @__PURE__ */ jsx("div", { className: "animate-spin rounded-full h-12 w-12 border-b-2 border-primary mx-auto mb-4" }),
@@ -52507,20 +52507,22 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52507
52507
  const de = () => {
52508
52508
  !I.trim() || !V || !G || (Q(ee.length), ue(I, V, G));
52509
52509
  }, ye = () => {
52510
- const be = {
52511
- messages: q.find((oe) => oe.partner1 === ASSISTANT_ID || oe.partner2 === ASSISTANT_ID),
52510
+ const oe = {
52511
+ messages: q.find((be) => be.partner1 === ASSISTANT_ID || be.partner2 === ASSISTANT_ID),
52512
52512
  debug: E
52513
52513
  };
52514
52514
  f({
52515
52515
  applicationId: e,
52516
52516
  emailAddress: t,
52517
- body: be
52517
+ body: oe
52518
52518
  });
52519
52519
  }, fe = () => {
52520
- F((te) => te.map((oe) => oe.partner1 !== ASSISTANT_ID && oe.partner2 !== ASSISTANT_ID ? oe : { ...oe, messages: [] })), R();
52520
+ F((ve) => ve.map((be) => be.partner1 !== ASSISTANT_ID && be.partner2 !== ASSISTANT_ID ? be : { ...be, messages: [] })), R();
52521
52521
  }, le = () => {
52522
- V && p({ applicationId: e, partnerId: V[0] == e ? V[1] : V[0] });
52523
- }, ce = getActiveChatObject(q, V);
52522
+ V && p({ applicationId: e, partnerId: V[0] == e ? V[1] : V[0] }).then(() => {
52523
+ O("approved");
52524
+ });
52525
+ }, ce = getActiveChatObject(q, V), ae = q.filter((ve) => ve.pending).length;
52524
52526
  return /* @__PURE__ */ jsxs("div", { className: "flex h-[85vh] overflow-hidden", children: [
52525
52527
  /* @__PURE__ */ jsxs("div", { className: "w-[260px] p-4 pt-3 flex flex-col border-r", children: [
52526
52528
  /* @__PURE__ */ jsx("div", { className: "p-4 font-semibold border-b", children: "Communications" }),
@@ -52533,16 +52535,19 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52533
52535
  placeholder: "Search chats...",
52534
52536
  className: "pl-8 h-9",
52535
52537
  value: H,
52536
- onChange: (te) => U(te.target.value)
52538
+ onChange: (ve) => U(ve.target.value)
52537
52539
  }
52538
52540
  )
52539
52541
  ] }) }),
52540
52542
  /* @__PURE__ */ jsx(Tabs, { value: N, onValueChange: O, className: "w-full mb-1", children: /* @__PURE__ */ jsxs(TabsList, { className: "grid grid-cols-6 h-9 mx-2", children: [
52541
52543
  /* @__PURE__ */ jsx(TabsTrigger, { value: "approved", className: "text-xs col-span-3", children: "Approved" }),
52542
- /* @__PURE__ */ jsx(TabsTrigger, { value: "pending", className: "text-xs col-span-3", children: "Pending" })
52544
+ /* @__PURE__ */ jsxs(TabsTrigger, { value: "pending", className: "text-xs col-span-3", children: [
52545
+ "Pending ",
52546
+ ae > 0 && `(${ae})`
52547
+ ] })
52543
52548
  ] }) })
52544
52549
  ] }),
52545
- /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1", children: q.length && /* @__PURE__ */ jsx(ChatList, { userId: e, chats: he.filter((te) => te.partner1 != ASSISTANT_ID && te.partner2 != ASSISTANT_ID), activeChat: ce ?? null, onSelectChat: M, assistantChat: q.find((te) => te.partner1 == ASSISTANT_ID || te.partner2 == ASSISTANT_ID) }) })
52550
+ /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1", children: q.length && /* @__PURE__ */ jsx(ChatList, { userId: e, chats: he.filter((ve) => ve.partner1 != ASSISTANT_ID && ve.partner2 != ASSISTANT_ID), activeChat: ce ?? null, onSelectChat: M, assistantChat: q.find((ve) => ve.partner1 == ASSISTANT_ID || ve.partner2 == ASSISTANT_ID) }) })
52546
52551
  ] }),
52547
52552
  /* @__PURE__ */ jsx("div", { className: "flex-1 flex flex-col", children: V ? /* @__PURE__ */ jsxs(Fragment, { children: [
52548
52553
  /* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: V[0] == ASSISTANT_ID || V[1] == ASSISTANT_ID ? /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -52587,9 +52592,9 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52587
52592
  ref: se,
52588
52593
  placeholder: "Type a message...",
52589
52594
  value: I,
52590
- onChange: (te) => D(te.target.value),
52591
- onKeyDown: (te) => {
52592
- te.key !== "Enter" || te.shiftKey || (te.preventDefault(), de());
52595
+ onChange: (ve) => D(ve.target.value),
52596
+ onKeyDown: (ve) => {
52597
+ ve.key !== "Enter" || ve.shiftKey || (ve.preventDefault(), de());
52593
52598
  },
52594
52599
  className: ce != null && ce.pending ? "collapse" : "flex-1 resize-none"
52595
52600
  }
@@ -52612,10 +52617,10 @@ const ASSISTANT_ID = "RandmarAIChatAssistant", ChatLayout = forwardRef(
52612
52617
  /* @__PURE__ */ jsx("div", { className: "flex items-center p-4 border-b", children: /* @__PURE__ */ jsx("p", { className: "h-9 text-base/9", children: "Visuals and System Info" }) }),
52613
52618
  /* @__PURE__ */ jsx(ScrollArea, { className: "flex-4 pl-2 pr-2 bg-slate-50", children: W >= 0 && ee.length > W && ee[ee.length - (1 + W)] }),
52614
52619
  /* @__PURE__ */ jsxs("div", { className: "flex bg-slate-50 border-t pt-1 pb-1 justify-center gap-4", children: [
52615
- /* @__PURE__ */ jsx(Button, { size: "icon", onClick: () => Q((te) => te + 1), children: /* @__PURE__ */ jsx(ChevronLeft, {}) }),
52616
- /* @__PURE__ */ jsx(Button, { size: "icon", onClick: () => Q((te) => te - 1), children: /* @__PURE__ */ jsx(ChevronRight, {}) })
52620
+ /* @__PURE__ */ jsx(Button, { size: "icon", onClick: () => Q((ve) => ve + 1), children: /* @__PURE__ */ jsx(ChevronLeft, {}) }),
52621
+ /* @__PURE__ */ jsx(Button, { size: "icon", onClick: () => Q((ve) => ve - 1), children: /* @__PURE__ */ jsx(ChevronRight, {}) })
52617
52622
  ] }),
52618
- /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 border-t pl-2 pr-2 bg-slate-50", children: /* @__PURE__ */ jsx("div", { className: "space-y-2", children: E.map((te) => /* @__PURE__ */ jsx("p", { className: "text-slate-600", children: te })) }) })
52623
+ /* @__PURE__ */ jsx(ScrollArea, { className: "flex-1 border-t pl-2 pr-2 bg-slate-50", children: /* @__PURE__ */ jsx("div", { className: "space-y-2", children: E.map((ve) => /* @__PURE__ */ jsx("p", { className: "text-slate-600", children: ve })) }) })
52619
52624
  ] })
52620
52625
  ] });
52621
52626
  }
@@ -53475,9 +53480,9 @@ var __create = Object.create, __getProtoOf = Object.getPrototypeOf, __defProp =
53475
53480
  function q(A, B, z) {
53476
53481
  z === void 0 && (z = A.length);
53477
53482
  for (var K = B; K < z; K++) {
53478
- var ne = A.charCodeAt(K);
53479
- if (j(ne))
53480
- return K < z - 1 && ne === 13 && A.charCodeAt(K + 1) === 10 ? K + 2 : K + 1;
53483
+ var te = A.charCodeAt(K);
53484
+ if (j(te))
53485
+ return K < z - 1 && te === 13 && A.charCodeAt(K + 1) === 10 ? K + 2 : K + 1;
53481
53486
  }
53482
53487
  return -1;
53483
53488
  }
@@ -53492,7 +53497,7 @@ var __create = Object.create, __getProtoOf = Object.getPrototypeOf, __defProp =
53492
53497
  function Z(A) {
53493
53498
  return A <= 65535 ? String.fromCharCode(A) : (A -= 65536, String.fromCharCode((A >> 10) + 55296, (A & 1023) + 56320));
53494
53499
  }
53495
- var ae = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, se = function(B, z) {
53500
+ var ne = /(?:[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/, se = function(B, z) {
53496
53501
  this.line = B, this.column = z;
53497
53502
  };
53498
53503
  se.prototype.offset = function(B) {
@@ -53503,10 +53508,10 @@ var __create = Object.create, __getProtoOf = Object.getPrototypeOf, __defProp =
53503
53508
  };
53504
53509
  function pe(A, B) {
53505
53510
  for (var z = 1, K = 0; ; ) {
53506
- var ne = q(A, K, B);
53507
- if (ne < 0)
53511
+ var te = q(A, K, B);
53512
+ if (te < 0)
53508
53513
  return new se(z, B - K);
53509
- ++z, K = ne;
53514
+ ++z, K = te;
53510
53515
  }
53511
53516
  }
53512
53517
  var ue = {
@@ -53529,40 +53534,40 @@ var __create = Object.create, __getProtoOf = Object.getPrototypeOf, __defProp =
53529
53534
  sourceFile: null,
53530
53535
  directSourceFile: null,
53531
53536
  preserveParens: !1
53532
- }, ve = !1;
53537
+ }, xe = !1;
53533
53538
  function de(A) {
53534
53539
  var B = {};
53535
53540
  for (var z in ue)
53536
53541
  B[z] = A && ee(A, z) ? A[z] : ue[z];
53537
- if (B.ecmaVersion === "latest" ? B.ecmaVersion = 1e8 : B.ecmaVersion == null ? (!ve && typeof console == "object" && console.warn && (ve = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
53542
+ if (B.ecmaVersion === "latest" ? B.ecmaVersion = 1e8 : B.ecmaVersion == null ? (!xe && typeof console == "object" && console.warn && (xe = !0, console.warn(`Since Acorn 8.0.0, options.ecmaVersion is required.
53538
53543
  Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion = 11) : B.ecmaVersion >= 2015 && (B.ecmaVersion -= 2009), B.allowReserved == null && (B.allowReserved = B.ecmaVersion < 5), (!A || A.allowHashBang == null) && (B.allowHashBang = B.ecmaVersion >= 14), ie(B.onToken)) {
53539
53544
  var K = B.onToken;
53540
- B.onToken = function(ne) {
53541
- return K.push(ne);
53545
+ B.onToken = function(te) {
53546
+ return K.push(te);
53542
53547
  };
53543
53548
  }
53544
53549
  return ie(B.onComment) && (B.onComment = ye(B, B.onComment)), B;
53545
53550
  }
53546
53551
  function ye(A, B) {
53547
- return function(z, K, ne, me, ge, Se) {
53552
+ return function(z, K, te, me, ge, Se) {
53548
53553
  var Ce = {
53549
53554
  type: z ? "Block" : "Line",
53550
53555
  value: K,
53551
- start: ne,
53556
+ start: te,
53552
53557
  end: me
53553
53558
  };
53554
- A.locations && (Ce.loc = new he(this, ge, Se)), A.ranges && (Ce.range = [ne, me]), B.push(Ce);
53559
+ A.locations && (Ce.loc = new he(this, ge, Se)), A.ranges && (Ce.range = [te, me]), B.push(Ce);
53555
53560
  };
53556
53561
  }
53557
- var fe = 1, le = 2, ce = 4, te = 8, be = 16, oe = 32, xe = 64, _e = 128, Pe = 256, Ae = fe | le | Pe;
53562
+ var fe = 1, le = 2, ce = 4, ae = 8, ve = 16, oe = 32, be = 64, _e = 128, Pe = 256, Ee = fe | le | Pe;
53558
53563
  function we(A, B) {
53559
- return le | (A ? ce : 0) | (B ? te : 0);
53564
+ return le | (A ? ce : 0) | (B ? ae : 0);
53560
53565
  }
53561
53566
  var ke = 0, Be = 1, Me = 2, Fe = 3, He = 4, Le = 5, Ne = function(B, z, K) {
53562
53567
  this.options = B = de(B), this.sourceFile = B.sourceFile, this.keywords = Q(m[B.ecmaVersion >= 6 ? 6 : B.sourceType === "module" ? "5module" : 5]);
53563
- var ne = "";
53564
- B.allowReserved !== !0 && (ne = f[B.ecmaVersion >= 6 ? 6 : B.ecmaVersion === 5 ? 5 : 3], B.sourceType === "module" && (ne += " await")), this.reservedWords = Q(ne);
53565
- var me = (ne ? ne + " " : "") + f.strict;
53568
+ var te = "";
53569
+ B.allowReserved !== !0 && (te = f[B.ecmaVersion >= 6 ? 6 : B.ecmaVersion === 5 ? 5 : 3], B.sourceType === "module" && (te += " await")), this.reservedWords = Q(te);
53570
+ var me = (te ? te + " " : "") + f.strict;
53566
53571
  this.reservedWordsStrict = Q(me), this.reservedWordsStrictBind = Q(me + " " + f.strictBind), this.input = String(z), this.containsEsc = !1, K ? (this.pos = K, this.lineStart = this.input.lastIndexOf(`
53567
53572
  `, K - 1) + 1, this.curLine = this.input.slice(0, this.lineStart).split(D).length) : (this.pos = this.lineStart = 0, this.curLine = 1), this.type = I.eof, this.value = null, this.start = this.end = this.pos, this.startLoc = this.endLoc = this.curPosition(), this.lastTokEndLoc = this.lastTokStartLoc = null, this.lastTokStart = this.lastTokEnd = this.pos, this.context = this.initialContext(), this.exprAllowed = !0, this.inModule = B.sourceType === "module", this.strict = this.inModule || this.strictDirective(this.pos), this.potentialArrowAt = -1, this.potentialArrowInForAwait = !1, this.yieldPos = this.awaitPos = this.awaitIdentPos = 0, this.labels = [], this.undefinedExports = /* @__PURE__ */ Object.create(null), this.pos === 0 && B.allowHashBang && this.input.slice(0, 2) === "#!" && this.skipLineComment(2), this.scopeStack = [], this.enterScope(fe), this.regexpState = null, this.privateNameStack = [];
53568
53573
  }, qe = { inFunction: { configurable: !0 }, inGenerator: { configurable: !0 }, inAsync: { configurable: !0 }, canAwait: { configurable: !0 }, allowSuper: { configurable: !0 }, allowDirectSuper: { configurable: !0 }, treatFunctionsAsVar: { configurable: !0 }, allowNewDotTarget: { configurable: !0 }, inClassStaticBlock: { configurable: !0 } };
@@ -53572,7 +53577,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53572
53577
  }, qe.inFunction.get = function() {
53573
53578
  return (this.currentVarScope().flags & le) > 0;
53574
53579
  }, qe.inGenerator.get = function() {
53575
- return (this.currentVarScope().flags & te) > 0 && !this.currentVarScope().inClassFieldInit;
53580
+ return (this.currentVarScope().flags & ae) > 0 && !this.currentVarScope().inClassFieldInit;
53576
53581
  }, qe.inAsync.get = function() {
53577
53582
  return (this.currentVarScope().flags & ce) > 0 && !this.currentVarScope().inClassFieldInit;
53578
53583
  }, qe.canAwait.get = function() {
@@ -53586,7 +53591,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53586
53591
  return this.inModule && this.options.ecmaVersion >= 13 || this.options.allowAwaitOutsideFunction;
53587
53592
  }, qe.allowSuper.get = function() {
53588
53593
  var A = this.currentThisScope(), B = A.flags, z = A.inClassFieldInit;
53589
- return (B & xe) > 0 || z || this.options.allowSuperOutsideMethod;
53594
+ return (B & be) > 0 || z || this.options.allowSuperOutsideMethod;
53590
53595
  }, qe.allowDirectSuper.get = function() {
53591
53596
  return (this.currentThisScope().flags & _e) > 0;
53592
53597
  }, qe.treatFunctionsAsVar.get = function() {
@@ -53599,14 +53604,14 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53599
53604
  }, Ne.extend = function() {
53600
53605
  for (var B = [], z = arguments.length; z--; )
53601
53606
  B[z] = arguments[z];
53602
- for (var K = this, ne = 0; ne < B.length; ne++)
53603
- K = B[ne](K);
53607
+ for (var K = this, te = 0; te < B.length; te++)
53608
+ K = B[te](K);
53604
53609
  return K;
53605
53610
  }, Ne.parse = function(B, z) {
53606
53611
  return new this(z, B).parse();
53607
53612
  }, Ne.parseExpressionAt = function(B, z, K) {
53608
- var ne = new this(K, B, z);
53609
- return ne.nextToken(), ne.parseExpression();
53613
+ var te = new this(K, B, z);
53614
+ return te.nextToken(), te.parseExpression();
53610
53615
  }, Ne.tokenizer = function(B, z) {
53611
53616
  return new this(z, B);
53612
53617
  }, Object.defineProperties(Ne.prototype, qe);
@@ -53621,8 +53626,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53621
53626
  return !1;
53622
53627
  if ((B[1] || B[2]) === "use strict") {
53623
53628
  H.lastIndex = A + B[0].length;
53624
- var z = H.exec(this.input), K = z.index + z[0].length, ne = this.input.charAt(K);
53625
- return ne === ";" || ne === "}" || D.test(z[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(ne) || ne === "!" && this.input.charAt(K + 1) === "=");
53629
+ var z = H.exec(this.input), K = z.index + z[0].length, te = this.input.charAt(K);
53630
+ return te === ";" || te === "}" || D.test(z[0]) && !(/[(`.[+\-/*%<>=,?^&]/.test(te) || te === "!" && this.input.charAt(K + 1) === "=");
53626
53631
  }
53627
53632
  A += B[0].length, H.lastIndex = A, A += H.exec(this.input)[0].length, this.input[A] === ";" && A++;
53628
53633
  }
@@ -53670,22 +53675,22 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53670
53675
  }, Ge.isSimpleAssignTarget = function(A) {
53671
53676
  return A.type === "ParenthesizedExpression" ? this.isSimpleAssignTarget(A.expression) : A.type === "Identifier" || A.type === "MemberExpression";
53672
53677
  };
53673
- var Te = Ne.prototype;
53674
- Te.parseTopLevel = function(A) {
53678
+ var Ae = Ne.prototype;
53679
+ Ae.parseTopLevel = function(A) {
53675
53680
  var B = /* @__PURE__ */ Object.create(null);
53676
53681
  for (A.body || (A.body = []); this.type !== I.eof; ) {
53677
53682
  var z = this.parseStatement(null, !0, B);
53678
53683
  A.body.push(z);
53679
53684
  }
53680
53685
  if (this.inModule)
53681
- for (var K = 0, ne = Object.keys(this.undefinedExports); K < ne.length; K += 1) {
53682
- var me = ne[K];
53686
+ for (var K = 0, te = Object.keys(this.undefinedExports); K < te.length; K += 1) {
53687
+ var me = te[K];
53683
53688
  this.raiseRecoverable(this.undefinedExports[me].start, "Export '" + me + "' is not defined");
53684
53689
  }
53685
53690
  return this.adaptDirectivePrologue(A.body), this.next(), A.sourceType = this.options.sourceType, this.finishNode(A, "Program");
53686
53691
  };
53687
53692
  var ut = { kind: "loop" }, Ze = { kind: "switch" };
53688
- Te.isLet = function(A) {
53693
+ Ae.isLet = function(A) {
53689
53694
  if (this.options.ecmaVersion < 6 || !this.isContextual("let"))
53690
53695
  return !1;
53691
53696
  H.lastIndex = this.pos;
@@ -53697,105 +53702,105 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53697
53702
  if (K === 123 || K > 55295 && K < 56320)
53698
53703
  return !0;
53699
53704
  if (T(K, !0)) {
53700
- for (var ne = z + 1; E(K = this.input.charCodeAt(ne), !0); )
53701
- ++ne;
53705
+ for (var te = z + 1; E(K = this.input.charCodeAt(te), !0); )
53706
+ ++te;
53702
53707
  if (K === 92 || K > 55295 && K < 56320)
53703
53708
  return !0;
53704
- var me = this.input.slice(z, ne);
53709
+ var me = this.input.slice(z, te);
53705
53710
  if (!g.test(me))
53706
53711
  return !0;
53707
53712
  }
53708
53713
  return !1;
53709
- }, Te.isAsyncFunction = function() {
53714
+ }, Ae.isAsyncFunction = function() {
53710
53715
  if (this.options.ecmaVersion < 8 || !this.isContextual("async"))
53711
53716
  return !1;
53712
53717
  H.lastIndex = this.pos;
53713
53718
  var A = H.exec(this.input), B = this.pos + A[0].length, z;
53714
53719
  return !D.test(this.input.slice(this.pos, B)) && this.input.slice(B, B + 8) === "function" && (B + 8 === this.input.length || !(E(z = this.input.charCodeAt(B + 8)) || z > 55295 && z < 56320));
53715
- }, Te.parseStatement = function(A, B, z) {
53716
- var K = this.type, ne = this.startNode(), me;
53720
+ }, Ae.parseStatement = function(A, B, z) {
53721
+ var K = this.type, te = this.startNode(), me;
53717
53722
  switch (this.isLet(A) && (K = I._var, me = "let"), K) {
53718
53723
  case I._break:
53719
53724
  case I._continue:
53720
- return this.parseBreakContinueStatement(ne, K.keyword);
53725
+ return this.parseBreakContinueStatement(te, K.keyword);
53721
53726
  case I._debugger:
53722
- return this.parseDebuggerStatement(ne);
53727
+ return this.parseDebuggerStatement(te);
53723
53728
  case I._do:
53724
- return this.parseDoStatement(ne);
53729
+ return this.parseDoStatement(te);
53725
53730
  case I._for:
53726
- return this.parseForStatement(ne);
53731
+ return this.parseForStatement(te);
53727
53732
  case I._function:
53728
- return A && (this.strict || A !== "if" && A !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(ne, !1, !A);
53733
+ return A && (this.strict || A !== "if" && A !== "label") && this.options.ecmaVersion >= 6 && this.unexpected(), this.parseFunctionStatement(te, !1, !A);
53729
53734
  case I._class:
53730
- return A && this.unexpected(), this.parseClass(ne, !0);
53735
+ return A && this.unexpected(), this.parseClass(te, !0);
53731
53736
  case I._if:
53732
- return this.parseIfStatement(ne);
53737
+ return this.parseIfStatement(te);
53733
53738
  case I._return:
53734
- return this.parseReturnStatement(ne);
53739
+ return this.parseReturnStatement(te);
53735
53740
  case I._switch:
53736
- return this.parseSwitchStatement(ne);
53741
+ return this.parseSwitchStatement(te);
53737
53742
  case I._throw:
53738
- return this.parseThrowStatement(ne);
53743
+ return this.parseThrowStatement(te);
53739
53744
  case I._try:
53740
- return this.parseTryStatement(ne);
53745
+ return this.parseTryStatement(te);
53741
53746
  case I._const:
53742
53747
  case I._var:
53743
- return me = me || this.value, A && me !== "var" && this.unexpected(), this.parseVarStatement(ne, me);
53748
+ return me = me || this.value, A && me !== "var" && this.unexpected(), this.parseVarStatement(te, me);
53744
53749
  case I._while:
53745
- return this.parseWhileStatement(ne);
53750
+ return this.parseWhileStatement(te);
53746
53751
  case I._with:
53747
- return this.parseWithStatement(ne);
53752
+ return this.parseWithStatement(te);
53748
53753
  case I.braceL:
53749
- return this.parseBlock(!0, ne);
53754
+ return this.parseBlock(!0, te);
53750
53755
  case I.semi:
53751
- return this.parseEmptyStatement(ne);
53756
+ return this.parseEmptyStatement(te);
53752
53757
  case I._export:
53753
53758
  case I._import:
53754
53759
  if (this.options.ecmaVersion > 10 && K === I._import) {
53755
53760
  H.lastIndex = this.pos;
53756
53761
  var ge = H.exec(this.input), Se = this.pos + ge[0].length, Ce = this.input.charCodeAt(Se);
53757
53762
  if (Ce === 40 || Ce === 46)
53758
- return this.parseExpressionStatement(ne, this.parseExpression());
53763
+ return this.parseExpressionStatement(te, this.parseExpression());
53759
53764
  }
53760
- return this.options.allowImportExportEverywhere || (B || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), K === I._import ? this.parseImport(ne) : this.parseExport(ne, z);
53765
+ return this.options.allowImportExportEverywhere || (B || this.raise(this.start, "'import' and 'export' may only appear at the top level"), this.inModule || this.raise(this.start, "'import' and 'export' may appear only with 'sourceType: module'")), K === I._import ? this.parseImport(te) : this.parseExport(te, z);
53761
53766
  default:
53762
53767
  if (this.isAsyncFunction())
53763
- return A && this.unexpected(), this.next(), this.parseFunctionStatement(ne, !0, !A);
53768
+ return A && this.unexpected(), this.next(), this.parseFunctionStatement(te, !0, !A);
53764
53769
  var $e = this.value, Ie = this.parseExpression();
53765
- return K === I.name && Ie.type === "Identifier" && this.eat(I.colon) ? this.parseLabeledStatement(ne, $e, Ie, A) : this.parseExpressionStatement(ne, Ie);
53770
+ return K === I.name && Ie.type === "Identifier" && this.eat(I.colon) ? this.parseLabeledStatement(te, $e, Ie, A) : this.parseExpressionStatement(te, Ie);
53766
53771
  }
53767
- }, Te.parseBreakContinueStatement = function(A, B) {
53772
+ }, Ae.parseBreakContinueStatement = function(A, B) {
53768
53773
  var z = B === "break";
53769
53774
  this.next(), this.eat(I.semi) || this.insertSemicolon() ? A.label = null : this.type !== I.name ? this.unexpected() : (A.label = this.parseIdent(), this.semicolon());
53770
53775
  for (var K = 0; K < this.labels.length; ++K) {
53771
- var ne = this.labels[K];
53772
- if ((A.label == null || ne.name === A.label.name) && (ne.kind != null && (z || ne.kind === "loop") || A.label && z))
53776
+ var te = this.labels[K];
53777
+ if ((A.label == null || te.name === A.label.name) && (te.kind != null && (z || te.kind === "loop") || A.label && z))
53773
53778
  break;
53774
53779
  }
53775
53780
  return K === this.labels.length && this.raise(A.start, "Unsyntactic " + B), this.finishNode(A, z ? "BreakStatement" : "ContinueStatement");
53776
- }, Te.parseDebuggerStatement = function(A) {
53781
+ }, Ae.parseDebuggerStatement = function(A) {
53777
53782
  return this.next(), this.semicolon(), this.finishNode(A, "DebuggerStatement");
53778
- }, Te.parseDoStatement = function(A) {
53783
+ }, Ae.parseDoStatement = function(A) {
53779
53784
  return this.next(), this.labels.push(ut), A.body = this.parseStatement("do"), this.labels.pop(), this.expect(I._while), A.test = this.parseParenExpression(), this.options.ecmaVersion >= 6 ? this.eat(I.semi) : this.semicolon(), this.finishNode(A, "DoWhileStatement");
53780
- }, Te.parseForStatement = function(A) {
53785
+ }, Ae.parseForStatement = function(A) {
53781
53786
  this.next();
53782
53787
  var B = this.options.ecmaVersion >= 9 && this.canAwait && this.eatContextual("await") ? this.lastTokStart : -1;
53783
53788
  if (this.labels.push(ut), this.enterScope(0), this.expect(I.parenL), this.type === I.semi)
53784
53789
  return B > -1 && this.unexpected(B), this.parseFor(A, null);
53785
53790
  var z = this.isLet();
53786
53791
  if (this.type === I._var || this.type === I._const || z) {
53787
- var K = this.startNode(), ne = z ? "let" : this.value;
53788
- return this.next(), this.parseVar(K, !0, ne), this.finishNode(K, "VariableDeclaration"), (this.type === I._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && K.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === I._in ? B > -1 && this.unexpected(B) : A.await = B > -1), this.parseForIn(A, K)) : (B > -1 && this.unexpected(B), this.parseFor(A, K));
53792
+ var K = this.startNode(), te = z ? "let" : this.value;
53793
+ return this.next(), this.parseVar(K, !0, te), this.finishNode(K, "VariableDeclaration"), (this.type === I._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && K.declarations.length === 1 ? (this.options.ecmaVersion >= 9 && (this.type === I._in ? B > -1 && this.unexpected(B) : A.await = B > -1), this.parseForIn(A, K)) : (B > -1 && this.unexpected(B), this.parseFor(A, K));
53789
53794
  }
53790
53795
  var me = this.isContextual("let"), ge = !1, Se = this.containsEsc, Ce = new Xe(), $e = this.start, Ie = B > -1 ? this.parseExprSubscripts(Ce, "await") : this.parseExpression(!0, Ce);
53791
53796
  return this.type === I._in || (ge = this.options.ecmaVersion >= 6 && this.isContextual("of")) ? (B > -1 ? (this.type === I._in && this.unexpected(B), A.await = !0) : ge && this.options.ecmaVersion >= 8 && (Ie.start === $e && !Se && Ie.type === "Identifier" && Ie.name === "async" ? this.unexpected() : this.options.ecmaVersion >= 9 && (A.await = !1)), me && ge && this.raise(Ie.start, "The left-hand side of a for-of loop may not start with 'let'."), this.toAssignable(Ie, !1, Ce), this.checkLValPattern(Ie), this.parseForIn(A, Ie)) : (this.checkExpressionErrors(Ce, !0), B > -1 && this.unexpected(B), this.parseFor(A, Ie));
53792
- }, Te.parseFunctionStatement = function(A, B, z) {
53797
+ }, Ae.parseFunctionStatement = function(A, B, z) {
53793
53798
  return this.next(), this.parseFunction(A, rt | (z ? 0 : Ht), !1, B);
53794
- }, Te.parseIfStatement = function(A) {
53799
+ }, Ae.parseIfStatement = function(A) {
53795
53800
  return this.next(), A.test = this.parseParenExpression(), A.consequent = this.parseStatement("if"), A.alternate = this.eat(I._else) ? this.parseStatement("if") : null, this.finishNode(A, "IfStatement");
53796
- }, Te.parseReturnStatement = function(A) {
53801
+ }, Ae.parseReturnStatement = function(A) {
53797
53802
  return !this.inFunction && !this.options.allowReturnOutsideFunction && this.raise(this.start, "'return' outside of function"), this.next(), this.eat(I.semi) || this.insertSemicolon() ? A.argument = null : (A.argument = this.parseExpression(), this.semicolon()), this.finishNode(A, "ReturnStatement");
53798
- }, Te.parseSwitchStatement = function(A) {
53803
+ }, Ae.parseSwitchStatement = function(A) {
53799
53804
  this.next(), A.discriminant = this.parseParenExpression(), A.cases = [], this.expect(I.braceL), this.labels.push(Ze), this.enterScope(0);
53800
53805
  for (var B, z = !1; this.type !== I.braceR; )
53801
53806
  if (this.type === I._case || this.type === I._default) {
@@ -53804,30 +53809,30 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53804
53809
  } else
53805
53810
  B || this.unexpected(), B.consequent.push(this.parseStatement(null));
53806
53811
  return this.exitScope(), B && this.finishNode(B, "SwitchCase"), this.next(), this.labels.pop(), this.finishNode(A, "SwitchStatement");
53807
- }, Te.parseThrowStatement = function(A) {
53812
+ }, Ae.parseThrowStatement = function(A) {
53808
53813
  return this.next(), D.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), A.argument = this.parseExpression(), this.semicolon(), this.finishNode(A, "ThrowStatement");
53809
53814
  };
53810
53815
  var dt = [];
53811
- Te.parseCatchClauseParam = function() {
53816
+ Ae.parseCatchClauseParam = function() {
53812
53817
  var A = this.parseBindingAtom(), B = A.type === "Identifier";
53813
53818
  return this.enterScope(B ? oe : 0), this.checkLValPattern(A, B ? He : Me), this.expect(I.parenR), A;
53814
- }, Te.parseTryStatement = function(A) {
53819
+ }, Ae.parseTryStatement = function(A) {
53815
53820
  if (this.next(), A.block = this.parseBlock(), A.handler = null, this.type === I._catch) {
53816
53821
  var B = this.startNode();
53817
53822
  this.next(), this.eat(I.parenL) ? B.param = this.parseCatchClauseParam() : (this.options.ecmaVersion < 10 && this.unexpected(), B.param = null, this.enterScope(0)), B.body = this.parseBlock(!1), this.exitScope(), A.handler = this.finishNode(B, "CatchClause");
53818
53823
  }
53819
53824
  return A.finalizer = this.eat(I._finally) ? this.parseBlock() : null, !A.handler && !A.finalizer && this.raise(A.start, "Missing catch or finally clause"), this.finishNode(A, "TryStatement");
53820
- }, Te.parseVarStatement = function(A, B, z) {
53825
+ }, Ae.parseVarStatement = function(A, B, z) {
53821
53826
  return this.next(), this.parseVar(A, !1, B, z), this.semicolon(), this.finishNode(A, "VariableDeclaration");
53822
- }, Te.parseWhileStatement = function(A) {
53827
+ }, Ae.parseWhileStatement = function(A) {
53823
53828
  return this.next(), A.test = this.parseParenExpression(), this.labels.push(ut), A.body = this.parseStatement("while"), this.labels.pop(), this.finishNode(A, "WhileStatement");
53824
- }, Te.parseWithStatement = function(A) {
53829
+ }, Ae.parseWithStatement = function(A) {
53825
53830
  return this.strict && this.raise(this.start, "'with' in strict mode"), this.next(), A.object = this.parseParenExpression(), A.body = this.parseStatement("with"), this.finishNode(A, "WithStatement");
53826
- }, Te.parseEmptyStatement = function(A) {
53831
+ }, Ae.parseEmptyStatement = function(A) {
53827
53832
  return this.next(), this.finishNode(A, "EmptyStatement");
53828
- }, Te.parseLabeledStatement = function(A, B, z, K) {
53829
- for (var ne = 0, me = this.labels; ne < me.length; ne += 1) {
53830
- var ge = me[ne];
53833
+ }, Ae.parseLabeledStatement = function(A, B, z, K) {
53834
+ for (var te = 0, me = this.labels; te < me.length; te += 1) {
53835
+ var ge = me[te];
53831
53836
  ge.name === B && this.raise(z.start, "Label '" + B + "' is already declared");
53832
53837
  }
53833
53838
  for (var Se = this.type.isLoop ? "loop" : this.type === I._switch ? "switch" : null, Ce = this.labels.length - 1; Ce >= 0; Ce--) {
@@ -53838,115 +53843,115 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53838
53843
  break;
53839
53844
  }
53840
53845
  return this.labels.push({ name: B, kind: Se, statementStart: this.start }), A.body = this.parseStatement(K ? K.indexOf("label") === -1 ? K + "label" : K : "label"), this.labels.pop(), A.label = z, this.finishNode(A, "LabeledStatement");
53841
- }, Te.parseExpressionStatement = function(A, B) {
53846
+ }, Ae.parseExpressionStatement = function(A, B) {
53842
53847
  return A.expression = B, this.semicolon(), this.finishNode(A, "ExpressionStatement");
53843
- }, Te.parseBlock = function(A, B, z) {
53848
+ }, Ae.parseBlock = function(A, B, z) {
53844
53849
  for (A === void 0 && (A = !0), B === void 0 && (B = this.startNode()), B.body = [], this.expect(I.braceL), A && this.enterScope(0); this.type !== I.braceR; ) {
53845
53850
  var K = this.parseStatement(null);
53846
53851
  B.body.push(K);
53847
53852
  }
53848
53853
  return z && (this.strict = !1), this.next(), A && this.exitScope(), this.finishNode(B, "BlockStatement");
53849
- }, Te.parseFor = function(A, B) {
53854
+ }, Ae.parseFor = function(A, B) {
53850
53855
  return A.init = B, this.expect(I.semi), A.test = this.type === I.semi ? null : this.parseExpression(), this.expect(I.semi), A.update = this.type === I.parenR ? null : this.parseExpression(), this.expect(I.parenR), A.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(A, "ForStatement");
53851
- }, Te.parseForIn = function(A, B) {
53856
+ }, Ae.parseForIn = function(A, B) {
53852
53857
  var z = this.type === I._in;
53853
53858
  return this.next(), B.type === "VariableDeclaration" && B.declarations[0].init != null && (!z || this.options.ecmaVersion < 8 || this.strict || B.kind !== "var" || B.declarations[0].id.type !== "Identifier") && this.raise(B.start, (z ? "for-in" : "for-of") + " loop variable declaration may not have an initializer"), A.left = B, A.right = z ? this.parseExpression() : this.parseMaybeAssign(), this.expect(I.parenR), A.body = this.parseStatement("for"), this.exitScope(), this.labels.pop(), this.finishNode(A, z ? "ForInStatement" : "ForOfStatement");
53854
- }, Te.parseVar = function(A, B, z, K) {
53859
+ }, Ae.parseVar = function(A, B, z, K) {
53855
53860
  for (A.declarations = [], A.kind = z; ; ) {
53856
- var ne = this.startNode();
53857
- if (this.parseVarId(ne, z), this.eat(I.eq) ? ne.init = this.parseMaybeAssign(B) : !K && z === "const" && !(this.type === I._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !K && ne.id.type !== "Identifier" && !(B && (this.type === I._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : ne.init = null, A.declarations.push(this.finishNode(ne, "VariableDeclarator")), !this.eat(I.comma))
53861
+ var te = this.startNode();
53862
+ if (this.parseVarId(te, z), this.eat(I.eq) ? te.init = this.parseMaybeAssign(B) : !K && z === "const" && !(this.type === I._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) ? this.unexpected() : !K && te.id.type !== "Identifier" && !(B && (this.type === I._in || this.isContextual("of"))) ? this.raise(this.lastTokEnd, "Complex binding patterns require an initialization value") : te.init = null, A.declarations.push(this.finishNode(te, "VariableDeclarator")), !this.eat(I.comma))
53858
53863
  break;
53859
53864
  }
53860
53865
  return A;
53861
- }, Te.parseVarId = function(A, B) {
53866
+ }, Ae.parseVarId = function(A, B) {
53862
53867
  A.id = this.parseBindingAtom(), this.checkLValPattern(A.id, B === "var" ? Be : Me, !1);
53863
53868
  };
53864
53869
  var rt = 1, Ht = 2, Wt = 4;
53865
- Te.parseFunction = function(A, B, z, K, ne) {
53870
+ Ae.parseFunction = function(A, B, z, K, te) {
53866
53871
  this.initFunction(A), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !K) && (this.type === I.star && B & Ht && this.unexpected(), A.generator = this.eat(I.star)), this.options.ecmaVersion >= 8 && (A.async = !!K), B & rt && (A.id = B & Wt && this.type !== I.name ? null : this.parseIdent(), A.id && !(B & Ht) && this.checkLValSimple(A.id, this.strict || A.generator || A.async ? this.treatFunctionsAsVar ? Be : Me : Fe));
53867
53872
  var me = this.yieldPos, ge = this.awaitPos, Se = this.awaitIdentPos;
53868
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(we(A.async, A.generator)), B & rt || (A.id = this.type === I.name ? this.parseIdent() : null), this.parseFunctionParams(A), this.parseFunctionBody(A, z, !1, ne), this.yieldPos = me, this.awaitPos = ge, this.awaitIdentPos = Se, this.finishNode(A, B & rt ? "FunctionDeclaration" : "FunctionExpression");
53869
- }, Te.parseFunctionParams = function(A) {
53873
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(we(A.async, A.generator)), B & rt || (A.id = this.type === I.name ? this.parseIdent() : null), this.parseFunctionParams(A), this.parseFunctionBody(A, z, !1, te), this.yieldPos = me, this.awaitPos = ge, this.awaitIdentPos = Se, this.finishNode(A, B & rt ? "FunctionDeclaration" : "FunctionExpression");
53874
+ }, Ae.parseFunctionParams = function(A) {
53870
53875
  this.expect(I.parenL), A.params = this.parseBindingList(I.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
53871
- }, Te.parseClass = function(A, B) {
53876
+ }, Ae.parseClass = function(A, B) {
53872
53877
  this.next();
53873
53878
  var z = this.strict;
53874
53879
  this.strict = !0, this.parseClassId(A, B), this.parseClassSuper(A);
53875
- var K = this.enterClassBody(), ne = this.startNode(), me = !1;
53876
- for (ne.body = [], this.expect(I.braceL); this.type !== I.braceR; ) {
53880
+ var K = this.enterClassBody(), te = this.startNode(), me = !1;
53881
+ for (te.body = [], this.expect(I.braceL); this.type !== I.braceR; ) {
53877
53882
  var ge = this.parseClassElement(A.superClass !== null);
53878
- ge && (ne.body.push(ge), ge.type === "MethodDefinition" && ge.kind === "constructor" ? (me && this.raiseRecoverable(ge.start, "Duplicate constructor in the same class"), me = !0) : ge.key && ge.key.type === "PrivateIdentifier" && Pr(K, ge) && this.raiseRecoverable(ge.key.start, "Identifier '#" + ge.key.name + "' has already been declared"));
53883
+ ge && (te.body.push(ge), ge.type === "MethodDefinition" && ge.kind === "constructor" ? (me && this.raiseRecoverable(ge.start, "Duplicate constructor in the same class"), me = !0) : ge.key && ge.key.type === "PrivateIdentifier" && Pr(K, ge) && this.raiseRecoverable(ge.key.start, "Identifier '#" + ge.key.name + "' has already been declared"));
53879
53884
  }
53880
- return this.strict = z, this.next(), A.body = this.finishNode(ne, "ClassBody"), this.exitClassBody(), this.finishNode(A, B ? "ClassDeclaration" : "ClassExpression");
53881
- }, Te.parseClassElement = function(A) {
53885
+ return this.strict = z, this.next(), A.body = this.finishNode(te, "ClassBody"), this.exitClassBody(), this.finishNode(A, B ? "ClassDeclaration" : "ClassExpression");
53886
+ }, Ae.parseClassElement = function(A) {
53882
53887
  if (this.eat(I.semi))
53883
53888
  return null;
53884
- var B = this.options.ecmaVersion, z = this.startNode(), K = "", ne = !1, me = !1, ge = "method", Se = !1;
53889
+ var B = this.options.ecmaVersion, z = this.startNode(), K = "", te = !1, me = !1, ge = "method", Se = !1;
53885
53890
  if (this.eatContextual("static")) {
53886
53891
  if (B >= 13 && this.eat(I.braceL))
53887
53892
  return this.parseClassStaticBlock(z), z;
53888
53893
  this.isClassElementNameStart() || this.type === I.star ? Se = !0 : K = "static";
53889
53894
  }
53890
- if (z.static = Se, !K && B >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === I.star) && !this.canInsertSemicolon() ? me = !0 : K = "async"), !K && (B >= 9 || !me) && this.eat(I.star) && (ne = !0), !K && !me && !ne) {
53895
+ if (z.static = Se, !K && B >= 8 && this.eatContextual("async") && ((this.isClassElementNameStart() || this.type === I.star) && !this.canInsertSemicolon() ? me = !0 : K = "async"), !K && (B >= 9 || !me) && this.eat(I.star) && (te = !0), !K && !me && !te) {
53891
53896
  var Ce = this.value;
53892
53897
  (this.eatContextual("get") || this.eatContextual("set")) && (this.isClassElementNameStart() ? ge = Ce : K = Ce);
53893
53898
  }
53894
- if (K ? (z.computed = !1, z.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), z.key.name = K, this.finishNode(z.key, "Identifier")) : this.parseClassElementName(z), B < 13 || this.type === I.parenL || ge !== "method" || ne || me) {
53899
+ if (K ? (z.computed = !1, z.key = this.startNodeAt(this.lastTokStart, this.lastTokStartLoc), z.key.name = K, this.finishNode(z.key, "Identifier")) : this.parseClassElementName(z), B < 13 || this.type === I.parenL || ge !== "method" || te || me) {
53895
53900
  var $e = !z.static && Ct(z, "constructor"), Ie = $e && A;
53896
- $e && ge !== "method" && this.raise(z.key.start, "Constructor can't have get/set modifier"), z.kind = $e ? "constructor" : ge, this.parseClassMethod(z, ne, me, Ie);
53901
+ $e && ge !== "method" && this.raise(z.key.start, "Constructor can't have get/set modifier"), z.kind = $e ? "constructor" : ge, this.parseClassMethod(z, te, me, Ie);
53897
53902
  } else
53898
53903
  this.parseClassField(z);
53899
53904
  return z;
53900
- }, Te.isClassElementNameStart = function() {
53905
+ }, Ae.isClassElementNameStart = function() {
53901
53906
  return this.type === I.name || this.type === I.privateId || this.type === I.num || this.type === I.string || this.type === I.bracketL || this.type.keyword;
53902
- }, Te.parseClassElementName = function(A) {
53907
+ }, Ae.parseClassElementName = function(A) {
53903
53908
  this.type === I.privateId ? (this.value === "constructor" && this.raise(this.start, "Classes can't have an element named '#constructor'"), A.computed = !1, A.key = this.parsePrivateIdent()) : this.parsePropertyName(A);
53904
- }, Te.parseClassMethod = function(A, B, z, K) {
53905
- var ne = A.key;
53906
- A.kind === "constructor" ? (B && this.raise(ne.start, "Constructor can't be a generator"), z && this.raise(ne.start, "Constructor can't be an async method")) : A.static && Ct(A, "prototype") && this.raise(ne.start, "Classes may not have a static property named prototype");
53909
+ }, Ae.parseClassMethod = function(A, B, z, K) {
53910
+ var te = A.key;
53911
+ A.kind === "constructor" ? (B && this.raise(te.start, "Constructor can't be a generator"), z && this.raise(te.start, "Constructor can't be an async method")) : A.static && Ct(A, "prototype") && this.raise(te.start, "Classes may not have a static property named prototype");
53907
53912
  var me = A.value = this.parseMethod(B, z, K);
53908
53913
  return A.kind === "get" && me.params.length !== 0 && this.raiseRecoverable(me.start, "getter should have no params"), A.kind === "set" && me.params.length !== 1 && this.raiseRecoverable(me.start, "setter should have exactly one param"), A.kind === "set" && me.params[0].type === "RestElement" && this.raiseRecoverable(me.params[0].start, "Setter cannot use rest params"), this.finishNode(A, "MethodDefinition");
53909
- }, Te.parseClassField = function(A) {
53914
+ }, Ae.parseClassField = function(A) {
53910
53915
  if (Ct(A, "constructor") ? this.raise(A.key.start, "Classes can't have a field named 'constructor'") : A.static && Ct(A, "prototype") && this.raise(A.key.start, "Classes can't have a static field named 'prototype'"), this.eat(I.eq)) {
53911
53916
  var B = this.currentThisScope(), z = B.inClassFieldInit;
53912
53917
  B.inClassFieldInit = !0, A.value = this.parseMaybeAssign(), B.inClassFieldInit = z;
53913
53918
  } else
53914
53919
  A.value = null;
53915
53920
  return this.semicolon(), this.finishNode(A, "PropertyDefinition");
53916
- }, Te.parseClassStaticBlock = function(A) {
53921
+ }, Ae.parseClassStaticBlock = function(A) {
53917
53922
  A.body = [];
53918
53923
  var B = this.labels;
53919
- for (this.labels = [], this.enterScope(Pe | xe); this.type !== I.braceR; ) {
53924
+ for (this.labels = [], this.enterScope(Pe | be); this.type !== I.braceR; ) {
53920
53925
  var z = this.parseStatement(null);
53921
53926
  A.body.push(z);
53922
53927
  }
53923
53928
  return this.next(), this.exitScope(), this.labels = B, this.finishNode(A, "StaticBlock");
53924
- }, Te.parseClassId = function(A, B) {
53929
+ }, Ae.parseClassId = function(A, B) {
53925
53930
  this.type === I.name ? (A.id = this.parseIdent(), B && this.checkLValSimple(A.id, Me, !1)) : (B === !0 && this.unexpected(), A.id = null);
53926
- }, Te.parseClassSuper = function(A) {
53931
+ }, Ae.parseClassSuper = function(A) {
53927
53932
  A.superClass = this.eat(I._extends) ? this.parseExprSubscripts(null, !1) : null;
53928
- }, Te.enterClassBody = function() {
53933
+ }, Ae.enterClassBody = function() {
53929
53934
  var A = { declared: /* @__PURE__ */ Object.create(null), used: [] };
53930
53935
  return this.privateNameStack.push(A), A.declared;
53931
- }, Te.exitClassBody = function() {
53936
+ }, Ae.exitClassBody = function() {
53932
53937
  var A = this.privateNameStack.pop(), B = A.declared, z = A.used;
53933
53938
  if (this.options.checkPrivateFields)
53934
- for (var K = this.privateNameStack.length, ne = K === 0 ? null : this.privateNameStack[K - 1], me = 0; me < z.length; ++me) {
53939
+ for (var K = this.privateNameStack.length, te = K === 0 ? null : this.privateNameStack[K - 1], me = 0; me < z.length; ++me) {
53935
53940
  var ge = z[me];
53936
- ee(B, ge.name) || (ne ? ne.used.push(ge) : this.raiseRecoverable(ge.start, "Private field '#" + ge.name + "' must be declared in an enclosing class"));
53941
+ ee(B, ge.name) || (te ? te.used.push(ge) : this.raiseRecoverable(ge.start, "Private field '#" + ge.name + "' must be declared in an enclosing class"));
53937
53942
  }
53938
53943
  };
53939
53944
  function Pr(A, B) {
53940
- var z = B.key.name, K = A[z], ne = "true";
53941
- return B.type === "MethodDefinition" && (B.kind === "get" || B.kind === "set") && (ne = (B.static ? "s" : "i") + B.kind), K === "iget" && ne === "iset" || K === "iset" && ne === "iget" || K === "sget" && ne === "sset" || K === "sset" && ne === "sget" ? (A[z] = "true", !1) : K ? !0 : (A[z] = ne, !1);
53945
+ var z = B.key.name, K = A[z], te = "true";
53946
+ return B.type === "MethodDefinition" && (B.kind === "get" || B.kind === "set") && (te = (B.static ? "s" : "i") + B.kind), K === "iget" && te === "iset" || K === "iset" && te === "iget" || K === "sget" && te === "sset" || K === "sset" && te === "sget" ? (A[z] = "true", !1) : K ? !0 : (A[z] = te, !1);
53942
53947
  }
53943
53948
  function Ct(A, B) {
53944
53949
  var z = A.computed, K = A.key;
53945
53950
  return !z && (K.type === "Identifier" && K.name === B || K.type === "Literal" && K.value === B);
53946
53951
  }
53947
- Te.parseExportAllDeclaration = function(A, B) {
53952
+ Ae.parseExportAllDeclaration = function(A, B) {
53948
53953
  return this.options.ecmaVersion >= 11 && (this.eatContextual("as") ? (A.exported = this.parseModuleExportName(), this.checkExport(B, A.exported, this.lastTokStart)) : A.exported = null), this.expectContextual("from"), this.type !== I.string && this.unexpected(), A.source = this.parseExprAtom(), this.semicolon(), this.finishNode(A, "ExportAllDeclaration");
53949
- }, Te.parseExport = function(A, B) {
53954
+ }, Ae.parseExport = function(A, B) {
53950
53955
  if (this.next(), this.eat(I.star))
53951
53956
  return this.parseExportAllDeclaration(A, B);
53952
53957
  if (this.eat(I._default))
@@ -53958,17 +53963,17 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53958
53963
  this.type !== I.string && this.unexpected(), A.source = this.parseExprAtom();
53959
53964
  else {
53960
53965
  for (var z = 0, K = A.specifiers; z < K.length; z += 1) {
53961
- var ne = K[z];
53962
- this.checkUnreserved(ne.local), this.checkLocalExport(ne.local), ne.local.type === "Literal" && this.raise(ne.local.start, "A string literal cannot be used as an exported binding without `from`.");
53966
+ var te = K[z];
53967
+ this.checkUnreserved(te.local), this.checkLocalExport(te.local), te.local.type === "Literal" && this.raise(te.local.start, "A string literal cannot be used as an exported binding without `from`.");
53963
53968
  }
53964
53969
  A.source = null;
53965
53970
  }
53966
53971
  this.semicolon();
53967
53972
  }
53968
53973
  return this.finishNode(A, "ExportNamedDeclaration");
53969
- }, Te.parseExportDeclaration = function(A) {
53974
+ }, Ae.parseExportDeclaration = function(A) {
53970
53975
  return this.parseStatement(null);
53971
- }, Te.parseExportDefaultDeclaration = function() {
53976
+ }, Ae.parseExportDefaultDeclaration = function() {
53972
53977
  var A;
53973
53978
  if (this.type === I._function || (A = this.isAsyncFunction())) {
53974
53979
  var B = this.startNode();
@@ -53980,15 +53985,15 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53980
53985
  var K = this.parseMaybeAssign();
53981
53986
  return this.semicolon(), K;
53982
53987
  }
53983
- }, Te.checkExport = function(A, B, z) {
53988
+ }, Ae.checkExport = function(A, B, z) {
53984
53989
  A && (typeof B != "string" && (B = B.type === "Identifier" ? B.name : B.value), ee(A, B) && this.raiseRecoverable(z, "Duplicate export '" + B + "'"), A[B] = !0);
53985
- }, Te.checkPatternExport = function(A, B) {
53990
+ }, Ae.checkPatternExport = function(A, B) {
53986
53991
  var z = B.type;
53987
53992
  if (z === "Identifier")
53988
53993
  this.checkExport(A, B, B.start);
53989
53994
  else if (z === "ObjectPattern")
53990
- for (var K = 0, ne = B.properties; K < ne.length; K += 1) {
53991
- var me = ne[K];
53995
+ for (var K = 0, te = B.properties; K < te.length; K += 1) {
53996
+ var me = te[K];
53992
53997
  this.checkPatternExport(A, me);
53993
53998
  }
53994
53999
  else if (z === "ArrayPattern")
@@ -53997,18 +54002,18 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
53997
54002
  Ce && this.checkPatternExport(A, Ce);
53998
54003
  }
53999
54004
  else z === "Property" ? this.checkPatternExport(A, B.value) : z === "AssignmentPattern" ? this.checkPatternExport(A, B.left) : z === "RestElement" && this.checkPatternExport(A, B.argument);
54000
- }, Te.checkVariableExport = function(A, B) {
54005
+ }, Ae.checkVariableExport = function(A, B) {
54001
54006
  if (A)
54002
54007
  for (var z = 0, K = B; z < K.length; z += 1) {
54003
- var ne = K[z];
54004
- this.checkPatternExport(A, ne.id);
54008
+ var te = K[z];
54009
+ this.checkPatternExport(A, te.id);
54005
54010
  }
54006
- }, Te.shouldParseExportStatement = function() {
54011
+ }, Ae.shouldParseExportStatement = function() {
54007
54012
  return this.type.keyword === "var" || this.type.keyword === "const" || this.type.keyword === "class" || this.type.keyword === "function" || this.isLet() || this.isAsyncFunction();
54008
- }, Te.parseExportSpecifier = function(A) {
54013
+ }, Ae.parseExportSpecifier = function(A) {
54009
54014
  var B = this.startNode();
54010
54015
  return B.local = this.parseModuleExportName(), B.exported = this.eatContextual("as") ? this.parseModuleExportName() : B.local, this.checkExport(A, B.exported, B.exported.start), this.finishNode(B, "ExportSpecifier");
54011
- }, Te.parseExportSpecifiers = function(A) {
54016
+ }, Ae.parseExportSpecifiers = function(A) {
54012
54017
  var B = [], z = !0;
54013
54018
  for (this.expect(I.braceL); !this.eat(I.braceR); ) {
54014
54019
  if (z)
@@ -54018,18 +54023,18 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54018
54023
  B.push(this.parseExportSpecifier(A));
54019
54024
  }
54020
54025
  return B;
54021
- }, Te.parseImport = function(A) {
54026
+ }, Ae.parseImport = function(A) {
54022
54027
  return this.next(), this.type === I.string ? (A.specifiers = dt, A.source = this.parseExprAtom()) : (A.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), A.source = this.type === I.string ? this.parseExprAtom() : this.unexpected()), this.semicolon(), this.finishNode(A, "ImportDeclaration");
54023
- }, Te.parseImportSpecifier = function() {
54028
+ }, Ae.parseImportSpecifier = function() {
54024
54029
  var A = this.startNode();
54025
54030
  return A.imported = this.parseModuleExportName(), this.eatContextual("as") ? A.local = this.parseIdent() : (this.checkUnreserved(A.imported), A.local = A.imported), this.checkLValSimple(A.local, Me), this.finishNode(A, "ImportSpecifier");
54026
- }, Te.parseImportDefaultSpecifier = function() {
54031
+ }, Ae.parseImportDefaultSpecifier = function() {
54027
54032
  var A = this.startNode();
54028
54033
  return A.local = this.parseIdent(), this.checkLValSimple(A.local, Me), this.finishNode(A, "ImportDefaultSpecifier");
54029
- }, Te.parseImportNamespaceSpecifier = function() {
54034
+ }, Ae.parseImportNamespaceSpecifier = function() {
54030
54035
  var A = this.startNode();
54031
54036
  return this.next(), this.expectContextual("as"), A.local = this.parseIdent(), this.checkLValSimple(A.local, Me), this.finishNode(A, "ImportNamespaceSpecifier");
54032
- }, Te.parseImportSpecifiers = function() {
54037
+ }, Ae.parseImportSpecifiers = function() {
54033
54038
  var A = [], B = !0;
54034
54039
  if (this.type === I.name && (A.push(this.parseImportDefaultSpecifier()), !this.eat(I.comma)))
54035
54040
  return A;
@@ -54043,16 +54048,16 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54043
54048
  A.push(this.parseImportSpecifier());
54044
54049
  }
54045
54050
  return A;
54046
- }, Te.parseModuleExportName = function() {
54051
+ }, Ae.parseModuleExportName = function() {
54047
54052
  if (this.options.ecmaVersion >= 13 && this.type === I.string) {
54048
54053
  var A = this.parseLiteral(this.value);
54049
- return ae.test(A.value) && this.raise(A.start, "An export name cannot include a lone surrogate."), A;
54054
+ return ne.test(A.value) && this.raise(A.start, "An export name cannot include a lone surrogate."), A;
54050
54055
  }
54051
54056
  return this.parseIdent(!0);
54052
- }, Te.adaptDirectivePrologue = function(A) {
54057
+ }, Ae.adaptDirectivePrologue = function(A) {
54053
54058
  for (var B = 0; B < A.length && this.isDirectiveCandidate(A[B]); ++B)
54054
54059
  A[B].directive = A[B].expression.raw.slice(1, -1);
54055
- }, Te.isDirectiveCandidate = function(A) {
54060
+ }, Ae.isDirectiveCandidate = function(A) {
54056
54061
  return this.options.ecmaVersion >= 5 && A.type === "ExpressionStatement" && A.expression.type === "Literal" && typeof A.expression.value == "string" && (this.input[A.start] === '"' || this.input[A.start] === "'");
54057
54062
  };
54058
54063
  var We = Ne.prototype;
@@ -54069,8 +54074,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54069
54074
  break;
54070
54075
  case "ObjectExpression":
54071
54076
  A.type = "ObjectPattern", z && this.checkPatternErrors(z, !0);
54072
- for (var K = 0, ne = A.properties; K < ne.length; K += 1) {
54073
- var me = ne[K];
54077
+ for (var K = 0, te = A.properties; K < te.length; K += 1) {
54078
+ var me = te[K];
54074
54079
  this.toAssignable(me, B), me.type === "RestElement" && (me.argument.type === "ArrayPattern" || me.argument.type === "ObjectPattern") && this.raise(me.argument.start, "Unexpected token");
54075
54080
  }
54076
54081
  break;
@@ -54102,8 +54107,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54102
54107
  return A;
54103
54108
  }, We.toAssignableList = function(A, B) {
54104
54109
  for (var z = A.length, K = 0; K < z; K++) {
54105
- var ne = A[K];
54106
- ne && this.toAssignable(ne, B);
54110
+ var te = A[K];
54111
+ te && this.toAssignable(te, B);
54107
54112
  }
54108
54113
  if (z) {
54109
54114
  var me = A[z - 1];
@@ -54127,20 +54132,20 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54127
54132
  }
54128
54133
  return this.parseIdent();
54129
54134
  }, We.parseBindingList = function(A, B, z, K) {
54130
- for (var ne = [], me = !0; !this.eat(A); )
54135
+ for (var te = [], me = !0; !this.eat(A); )
54131
54136
  if (me ? me = !1 : this.expect(I.comma), B && this.type === I.comma)
54132
- ne.push(null);
54137
+ te.push(null);
54133
54138
  else {
54134
54139
  if (z && this.afterTrailingComma(A))
54135
54140
  break;
54136
54141
  if (this.type === I.ellipsis) {
54137
54142
  var ge = this.parseRestBinding();
54138
- this.parseBindingListItem(ge), ne.push(ge), this.type === I.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(A);
54143
+ this.parseBindingListItem(ge), te.push(ge), this.type === I.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.expect(A);
54139
54144
  break;
54140
54145
  } else
54141
- ne.push(this.parseAssignableListItem(K));
54146
+ te.push(this.parseAssignableListItem(K));
54142
54147
  }
54143
- return ne;
54148
+ return te;
54144
54149
  }, We.parseAssignableListItem = function(A) {
54145
54150
  var B = this.parseMaybeDefault(this.start, this.startLoc);
54146
54151
  return this.parseBindingListItem(B), B;
@@ -54172,8 +54177,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54172
54177
  }, We.checkLValPattern = function(A, B, z) {
54173
54178
  switch (B === void 0 && (B = ke), A.type) {
54174
54179
  case "ObjectPattern":
54175
- for (var K = 0, ne = A.properties; K < ne.length; K += 1) {
54176
- var me = ne[K];
54180
+ for (var K = 0, te = A.properties; K < te.length; K += 1) {
54181
+ var me = te[K];
54177
54182
  this.checkLValInnerPattern(me, B, z);
54178
54183
  }
54179
54184
  break;
@@ -54201,8 +54206,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54201
54206
  this.checkLValPattern(A, B, z);
54202
54207
  }
54203
54208
  };
54204
- var Ke = function(B, z, K, ne, me) {
54205
- this.token = B, this.isExpr = !!z, this.preserveSpace = !!K, this.override = ne, this.generator = !!me;
54209
+ var Ke = function(B, z, K, te, me) {
54210
+ this.token = B, this.isExpr = !!z, this.preserveSpace = !!K, this.override = te, this.generator = !!me;
54206
54211
  }, Ue = {
54207
54212
  b_stat: new Ke("{", !1),
54208
54213
  b_expr: new Ke("{", !0),
@@ -54270,29 +54275,29 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54270
54275
  var Re = Ne.prototype;
54271
54276
  Re.checkPropClash = function(A, B, z) {
54272
54277
  if (!(this.options.ecmaVersion >= 9 && A.type === "SpreadElement") && !(this.options.ecmaVersion >= 6 && (A.computed || A.method || A.shorthand))) {
54273
- var K = A.key, ne;
54278
+ var K = A.key, te;
54274
54279
  switch (K.type) {
54275
54280
  case "Identifier":
54276
- ne = K.name;
54281
+ te = K.name;
54277
54282
  break;
54278
54283
  case "Literal":
54279
- ne = String(K.value);
54284
+ te = String(K.value);
54280
54285
  break;
54281
54286
  default:
54282
54287
  return;
54283
54288
  }
54284
54289
  var me = A.kind;
54285
54290
  if (this.options.ecmaVersion >= 6) {
54286
- ne === "__proto__" && me === "init" && (B.proto && (z ? z.doubleProto < 0 && (z.doubleProto = K.start) : this.raiseRecoverable(K.start, "Redefinition of __proto__ property")), B.proto = !0);
54291
+ te === "__proto__" && me === "init" && (B.proto && (z ? z.doubleProto < 0 && (z.doubleProto = K.start) : this.raiseRecoverable(K.start, "Redefinition of __proto__ property")), B.proto = !0);
54287
54292
  return;
54288
54293
  }
54289
- ne = "$" + ne;
54290
- var ge = B[ne];
54294
+ te = "$" + te;
54295
+ var ge = B[te];
54291
54296
  if (ge) {
54292
54297
  var Se;
54293
54298
  me === "init" ? Se = this.strict && ge.init || ge.get || ge.set : Se = ge.init || ge[me], Se && this.raiseRecoverable(K.start, "Redefinition of property");
54294
54299
  } else
54295
- ge = B[ne] = {
54300
+ ge = B[te] = {
54296
54301
  init: !1,
54297
54302
  get: !1,
54298
54303
  set: !1
@@ -54300,22 +54305,22 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54300
54305
  ge[me] = !0;
54301
54306
  }
54302
54307
  }, Re.parseExpression = function(A, B) {
54303
- var z = this.start, K = this.startLoc, ne = this.parseMaybeAssign(A, B);
54308
+ var z = this.start, K = this.startLoc, te = this.parseMaybeAssign(A, B);
54304
54309
  if (this.type === I.comma) {
54305
54310
  var me = this.startNodeAt(z, K);
54306
- for (me.expressions = [ne]; this.eat(I.comma); )
54311
+ for (me.expressions = [te]; this.eat(I.comma); )
54307
54312
  me.expressions.push(this.parseMaybeAssign(A, B));
54308
54313
  return this.finishNode(me, "SequenceExpression");
54309
54314
  }
54310
- return ne;
54315
+ return te;
54311
54316
  }, Re.parseMaybeAssign = function(A, B, z) {
54312
54317
  if (this.isContextual("yield")) {
54313
54318
  if (this.inGenerator)
54314
54319
  return this.parseYield(A);
54315
54320
  this.exprAllowed = !1;
54316
54321
  }
54317
- var K = !1, ne = -1, me = -1, ge = -1;
54318
- B ? (ne = B.parenthesizedAssign, me = B.trailingComma, ge = B.doubleProto, B.parenthesizedAssign = B.trailingComma = -1) : (B = new Xe(), K = !0);
54322
+ var K = !1, te = -1, me = -1, ge = -1;
54323
+ B ? (te = B.parenthesizedAssign, me = B.trailingComma, ge = B.doubleProto, B.parenthesizedAssign = B.trailingComma = -1) : (B = new Xe(), K = !0);
54319
54324
  var Se = this.start, Ce = this.startLoc;
54320
54325
  (this.type === I.parenL || this.type === I.name) && (this.potentialArrowAt = this.start, this.potentialArrowInForAwait = A === "await");
54321
54326
  var $e = this.parseMaybeConditional(A, B);
@@ -54324,36 +54329,36 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54324
54329
  return Ie.operator = this.value, this.type === I.eq && ($e = this.toAssignable($e, !1, B)), K || (B.parenthesizedAssign = B.trailingComma = B.doubleProto = -1), B.shorthandAssign >= $e.start && (B.shorthandAssign = -1), this.type === I.eq ? this.checkLValPattern($e) : this.checkLValSimple($e), Ie.left = $e, this.next(), Ie.right = this.parseMaybeAssign(A), ge > -1 && (B.doubleProto = ge), this.finishNode(Ie, "AssignmentExpression");
54325
54330
  } else
54326
54331
  K && this.checkExpressionErrors(B, !0);
54327
- return ne > -1 && (B.parenthesizedAssign = ne), me > -1 && (B.trailingComma = me), $e;
54332
+ return te > -1 && (B.parenthesizedAssign = te), me > -1 && (B.trailingComma = me), $e;
54328
54333
  }, Re.parseMaybeConditional = function(A, B) {
54329
- var z = this.start, K = this.startLoc, ne = this.parseExprOps(A, B);
54334
+ var z = this.start, K = this.startLoc, te = this.parseExprOps(A, B);
54330
54335
  if (this.checkExpressionErrors(B))
54331
- return ne;
54336
+ return te;
54332
54337
  if (this.eat(I.question)) {
54333
54338
  var me = this.startNodeAt(z, K);
54334
- return me.test = ne, me.consequent = this.parseMaybeAssign(), this.expect(I.colon), me.alternate = this.parseMaybeAssign(A), this.finishNode(me, "ConditionalExpression");
54339
+ return me.test = te, me.consequent = this.parseMaybeAssign(), this.expect(I.colon), me.alternate = this.parseMaybeAssign(A), this.finishNode(me, "ConditionalExpression");
54335
54340
  }
54336
- return ne;
54341
+ return te;
54337
54342
  }, Re.parseExprOps = function(A, B) {
54338
- var z = this.start, K = this.startLoc, ne = this.parseMaybeUnary(B, !1, !1, A);
54339
- return this.checkExpressionErrors(B) || ne.start === z && ne.type === "ArrowFunctionExpression" ? ne : this.parseExprOp(ne, z, K, -1, A);
54340
- }, Re.parseExprOp = function(A, B, z, K, ne) {
54343
+ var z = this.start, K = this.startLoc, te = this.parseMaybeUnary(B, !1, !1, A);
54344
+ return this.checkExpressionErrors(B) || te.start === z && te.type === "ArrowFunctionExpression" ? te : this.parseExprOp(te, z, K, -1, A);
54345
+ }, Re.parseExprOp = function(A, B, z, K, te) {
54341
54346
  var me = this.type.binop;
54342
- if (me != null && (!ne || this.type !== I._in) && me > K) {
54347
+ if (me != null && (!te || this.type !== I._in) && me > K) {
54343
54348
  var ge = this.type === I.logicalOR || this.type === I.logicalAND, Se = this.type === I.coalesce;
54344
54349
  Se && (me = I.logicalAND.binop);
54345
54350
  var Ce = this.value;
54346
54351
  this.next();
54347
- var $e = this.start, Ie = this.startLoc, ze = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, ne), $e, Ie, me, ne), nt = this.buildBinary(B, z, A, ze, Ce, ge || Se);
54348
- return (ge && this.type === I.coalesce || Se && (this.type === I.logicalOR || this.type === I.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(nt, B, z, K, ne);
54352
+ var $e = this.start, Ie = this.startLoc, ze = this.parseExprOp(this.parseMaybeUnary(null, !1, !1, te), $e, Ie, me, te), nt = this.buildBinary(B, z, A, ze, Ce, ge || Se);
54353
+ return (ge && this.type === I.coalesce || Se && (this.type === I.logicalOR || this.type === I.logicalAND)) && this.raiseRecoverable(this.start, "Logical expressions and coalesce expressions cannot be mixed. Wrap either by parentheses"), this.parseExprOp(nt, B, z, K, te);
54349
54354
  }
54350
54355
  return A;
54351
- }, Re.buildBinary = function(A, B, z, K, ne, me) {
54356
+ }, Re.buildBinary = function(A, B, z, K, te, me) {
54352
54357
  K.type === "PrivateIdentifier" && this.raise(K.start, "Private identifier can only be left side of binary expression");
54353
54358
  var ge = this.startNodeAt(A, B);
54354
- return ge.left = z, ge.operator = ne, ge.right = K, this.finishNode(ge, me ? "LogicalExpression" : "BinaryExpression");
54359
+ return ge.left = z, ge.operator = te, ge.right = K, this.finishNode(ge, me ? "LogicalExpression" : "BinaryExpression");
54355
54360
  }, Re.parseMaybeUnary = function(A, B, z, K) {
54356
- var ne = this.start, me = this.startLoc, ge;
54361
+ var te = this.start, me = this.startLoc, ge;
54357
54362
  if (this.isContextual("await") && this.canAwait)
54358
54363
  ge = this.parseAwait(K), B = !0;
54359
54364
  else if (this.type.prefix) {
@@ -54365,7 +54370,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54365
54370
  if (ge = this.parseExprSubscripts(A, K), this.checkExpressionErrors(A))
54366
54371
  return ge;
54367
54372
  for (; this.type.postfix && !this.canInsertSemicolon(); ) {
54368
- var $e = this.startNodeAt(ne, me);
54373
+ var $e = this.startNodeAt(te, me);
54369
54374
  $e.operator = this.value, $e.prefix = !1, $e.argument = ge, this.checkLValSimple(ge), this.next(), ge = this.finishNode($e, "UpdateExpression");
54370
54375
  }
54371
54376
  }
@@ -54373,7 +54378,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54373
54378
  if (B)
54374
54379
  this.unexpected(this.lastTokStart);
54375
54380
  else
54376
- return this.buildBinary(ne, me, ge, this.parseMaybeUnary(null, !1, !1, K), "**", !1);
54381
+ return this.buildBinary(te, me, ge, this.parseMaybeUnary(null, !1, !1, K), "**", !1);
54377
54382
  else
54378
54383
  return ge;
54379
54384
  };
@@ -54384,14 +54389,14 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54384
54389
  return A.type === "MemberExpression" && A.property.type === "PrivateIdentifier" || A.type === "ChainExpression" && Ut(A.expression) || A.type === "ParenthesizedExpression" && Ut(A.expression);
54385
54390
  }
54386
54391
  Re.parseExprSubscripts = function(A, B) {
54387
- var z = this.start, K = this.startLoc, ne = this.parseExprAtom(A, B);
54388
- if (ne.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
54389
- return ne;
54390
- var me = this.parseSubscripts(ne, z, K, !1, B);
54392
+ var z = this.start, K = this.startLoc, te = this.parseExprAtom(A, B);
54393
+ if (te.type === "ArrowFunctionExpression" && this.input.slice(this.lastTokStart, this.lastTokEnd) !== ")")
54394
+ return te;
54395
+ var me = this.parseSubscripts(te, z, K, !1, B);
54391
54396
  return A && me.type === "MemberExpression" && (A.parenthesizedAssign >= me.start && (A.parenthesizedAssign = -1), A.parenthesizedBind >= me.start && (A.parenthesizedBind = -1), A.trailingComma >= me.start && (A.trailingComma = -1)), me;
54392
- }, Re.parseSubscripts = function(A, B, z, K, ne) {
54397
+ }, Re.parseSubscripts = function(A, B, z, K, te) {
54393
54398
  for (var me = this.options.ecmaVersion >= 8 && A.type === "Identifier" && A.name === "async" && this.lastTokEnd === A.end && !this.canInsertSemicolon() && A.end - A.start === 5 && this.potentialArrowAt === A.start, ge = !1; ; ) {
54394
- var Se = this.parseSubscript(A, B, z, K, me, ge, ne);
54399
+ var Se = this.parseSubscript(A, B, z, K, me, ge, te);
54395
54400
  if (Se.optional && (ge = !0), Se === A || Se.type === "ArrowFunctionExpression") {
54396
54401
  if (ge) {
54397
54402
  var Ce = this.startNodeAt(B, z);
@@ -54405,7 +54410,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54405
54410
  return !this.canInsertSemicolon() && this.eat(I.arrow);
54406
54411
  }, Re.parseSubscriptAsyncArrow = function(A, B, z, K) {
54407
54412
  return this.parseArrowExpression(this.startNodeAt(A, B), z, !0, K);
54408
- }, Re.parseSubscript = function(A, B, z, K, ne, me, ge) {
54413
+ }, Re.parseSubscript = function(A, B, z, K, te, me, ge) {
54409
54414
  var Se = this.options.ecmaVersion >= 11, Ce = Se && this.eat(I.questionDot);
54410
54415
  K && Ce && this.raise(this.lastTokStart, "Optional chaining cannot appear in the callee of new expressions");
54411
54416
  var $e = this.eat(I.bracketL);
@@ -54416,7 +54421,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54416
54421
  var ze = new Xe(), nt = this.yieldPos, mt = this.awaitPos, ot = this.awaitIdentPos;
54417
54422
  this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0;
54418
54423
  var Vt = this.parseExprList(I.parenR, this.options.ecmaVersion >= 8, !1, ze);
54419
- if (ne && !Ce && this.shouldParseAsyncArrow())
54424
+ if (te && !Ce && this.shouldParseAsyncArrow())
54420
54425
  return this.checkPatternErrors(ze, !1), this.checkYieldAwaitInDefaultParams(), this.awaitIdentPos > 0 && this.raise(this.awaitIdentPos, "Cannot use 'await' as identifier inside an async function"), this.yieldPos = nt, this.awaitPos = mt, this.awaitIdentPos = ot, this.parseSubscriptAsyncArrow(B, z, Vt, ge);
54421
54426
  this.checkExpressionErrors(ze, !0), this.yieldPos = nt || this.yieldPos, this.awaitPos = mt || this.awaitPos, this.awaitIdentPos = ot || this.awaitIdentPos;
54422
54427
  var st = this.startNodeAt(B, z);
@@ -54429,7 +54434,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54429
54434
  return A;
54430
54435
  }, Re.parseExprAtom = function(A, B, z) {
54431
54436
  this.type === I.slash && this.readRegexp();
54432
- var K, ne = this.potentialArrowAt === this.start;
54437
+ var K, te = this.potentialArrowAt === this.start;
54433
54438
  switch (this.type) {
54434
54439
  case I._super:
54435
54440
  return this.allowSuper || this.raise(this.start, "'super' keyword outside a method"), K = this.startNode(), this.next(), this.type === I.parenL && !this.allowDirectSuper && this.raise(K.start, "super() call outside constructor of a subclass"), this.type !== I.dot && this.type !== I.bracketL && this.type !== I.parenL && this.unexpected(), this.finishNode(K, "Super");
@@ -54439,7 +54444,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54439
54444
  var me = this.start, ge = this.startLoc, Se = this.containsEsc, Ce = this.parseIdent(!1);
54440
54445
  if (this.options.ecmaVersion >= 8 && !Se && Ce.name === "async" && !this.canInsertSemicolon() && this.eat(I._function))
54441
54446
  return this.overrideContext(Ue.f_expr), this.parseFunction(this.startNodeAt(me, ge), 0, !1, !0, B);
54442
- if (ne && !this.canInsertSemicolon()) {
54447
+ if (te && !this.canInsertSemicolon()) {
54443
54448
  if (this.eat(I.arrow))
54444
54449
  return this.parseArrowExpression(this.startNodeAt(me, ge), [Ce], !1, B);
54445
54450
  if (this.options.ecmaVersion >= 8 && Ce.name === "async" && this.type === I.name && !Se && (!this.potentialArrowInForAwait || this.value !== "of" || this.containsEsc))
@@ -54457,7 +54462,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54457
54462
  case I._false:
54458
54463
  return K = this.startNode(), K.value = this.type === I._null ? null : this.type === I._true, K.raw = this.type.keyword, this.next(), this.finishNode(K, "Literal");
54459
54464
  case I.parenL:
54460
- var Ie = this.start, ze = this.parseParenAndDistinguishExpression(ne, B);
54465
+ var Ie = this.start, ze = this.parseParenAndDistinguishExpression(te, B);
54461
54466
  return A && (A.parenthesizedAssign < 0 && !this.isSimpleAssignTarget(ze) && (A.parenthesizedAssign = Ie), A.parenthesizedBind < 0 && (A.parenthesizedBind = Ie)), ze;
54462
54467
  case I.bracketL:
54463
54468
  return K = this.startNode(), this.next(), K.elements = this.parseExprList(I.bracketR, !0, !0, A), this.finishNode(K, "ArrayExpression");
@@ -54507,7 +54512,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54507
54512
  }, Re.shouldParseArrow = function(A) {
54508
54513
  return !this.canInsertSemicolon();
54509
54514
  }, Re.parseParenAndDistinguishExpression = function(A, B) {
54510
- var z = this.start, K = this.startLoc, ne, me = this.options.ecmaVersion >= 8;
54515
+ var z = this.start, K = this.startLoc, te, me = this.options.ecmaVersion >= 8;
54511
54516
  if (this.options.ecmaVersion >= 6) {
54512
54517
  this.next();
54513
54518
  var ge = this.start, Se = this.startLoc, Ce = [], $e = !0, Ie = !1, ze = new Xe(), nt = this.yieldPos, mt = this.awaitPos, ot;
@@ -54523,14 +54528,14 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54523
54528
  var Vt = this.lastTokEnd, st = this.lastTokEndLoc;
54524
54529
  if (this.expect(I.parenR), A && this.shouldParseArrow(Ce) && this.eat(I.arrow))
54525
54530
  return this.checkPatternErrors(ze, !1), this.checkYieldAwaitInDefaultParams(), this.yieldPos = nt, this.awaitPos = mt, this.parseParenArrowList(z, K, Ce, B);
54526
- (!Ce.length || Ie) && this.unexpected(this.lastTokStart), ot && this.unexpected(ot), this.checkExpressionErrors(ze, !0), this.yieldPos = nt || this.yieldPos, this.awaitPos = mt || this.awaitPos, Ce.length > 1 ? (ne = this.startNodeAt(ge, Se), ne.expressions = Ce, this.finishNodeAt(ne, "SequenceExpression", Vt, st)) : ne = Ce[0];
54531
+ (!Ce.length || Ie) && this.unexpected(this.lastTokStart), ot && this.unexpected(ot), this.checkExpressionErrors(ze, !0), this.yieldPos = nt || this.yieldPos, this.awaitPos = mt || this.awaitPos, Ce.length > 1 ? (te = this.startNodeAt(ge, Se), te.expressions = Ce, this.finishNodeAt(te, "SequenceExpression", Vt, st)) : te = Ce[0];
54527
54532
  } else
54528
- ne = this.parseParenExpression();
54533
+ te = this.parseParenExpression();
54529
54534
  if (this.options.preserveParens) {
54530
54535
  var lt = this.startNodeAt(z, K);
54531
- return lt.expression = ne, this.finishNode(lt, "ParenthesizedExpression");
54536
+ return lt.expression = te, this.finishNode(lt, "ParenthesizedExpression");
54532
54537
  } else
54533
- return ne;
54538
+ return te;
54534
54539
  }, Re.parseParenItem = function(A) {
54535
54540
  return A;
54536
54541
  }, Re.parseParenArrowList = function(A, B, z, K) {
@@ -54546,8 +54551,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54546
54551
  var z = this.containsEsc;
54547
54552
  return A.property = this.parseIdent(!0), A.property.name !== "target" && this.raiseRecoverable(A.property.start, "The only valid meta property for new is 'new.target'"), z && this.raiseRecoverable(A.start, "'new.target' must not contain escaped characters"), this.allowNewDotTarget || this.raiseRecoverable(A.start, "'new.target' can only be used in functions and class static block"), this.finishNode(A, "MetaProperty");
54548
54553
  }
54549
- var K = this.start, ne = this.startLoc;
54550
- return A.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), K, ne, !0, !1), this.eat(I.parenL) ? A.arguments = this.parseExprList(I.parenR, this.options.ecmaVersion >= 8, !1) : A.arguments = Cr, this.finishNode(A, "NewExpression");
54554
+ var K = this.start, te = this.startLoc;
54555
+ return A.callee = this.parseSubscripts(this.parseExprAtom(null, !1, !0), K, te, !0, !1), this.eat(I.parenL) ? A.arguments = this.parseExprList(I.parenR, this.options.ecmaVersion >= 8, !1) : A.arguments = Cr, this.finishNode(A, "NewExpression");
54551
54556
  }, Re.parseTemplateElement = function(A) {
54552
54557
  var B = A.isTagged, z = this.startNode();
54553
54558
  return this.type === I.invalidTemplate ? (B || this.raiseRecoverable(this.start, "Bad escape sequence in untagged template literal"), z.value = {
@@ -54572,23 +54577,23 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54572
54577
  }, Re.isAsyncProp = function(A) {
54573
54578
  return !A.computed && A.key.type === "Identifier" && A.key.name === "async" && (this.type === I.name || this.type === I.num || this.type === I.string || this.type === I.bracketL || this.type.keyword || this.options.ecmaVersion >= 9 && this.type === I.star) && !D.test(this.input.slice(this.lastTokEnd, this.start));
54574
54579
  }, Re.parseObj = function(A, B) {
54575
- var z = this.startNode(), K = !0, ne = {};
54580
+ var z = this.startNode(), K = !0, te = {};
54576
54581
  for (z.properties = [], this.next(); !this.eat(I.braceR); ) {
54577
54582
  if (K)
54578
54583
  K = !1;
54579
54584
  else if (this.expect(I.comma), this.options.ecmaVersion >= 5 && this.afterTrailingComma(I.braceR))
54580
54585
  break;
54581
54586
  var me = this.parseProperty(A, B);
54582
- A || this.checkPropClash(me, ne, B), z.properties.push(me);
54587
+ A || this.checkPropClash(me, te, B), z.properties.push(me);
54583
54588
  }
54584
54589
  return this.finishNode(z, A ? "ObjectPattern" : "ObjectExpression");
54585
54590
  }, Re.parseProperty = function(A, B) {
54586
- var z = this.startNode(), K, ne, me, ge;
54591
+ var z = this.startNode(), K, te, me, ge;
54587
54592
  if (this.options.ecmaVersion >= 9 && this.eat(I.ellipsis))
54588
54593
  return A ? (z.argument = this.parseIdent(!1), this.type === I.comma && this.raiseRecoverable(this.start, "Comma is not permitted after the rest element"), this.finishNode(z, "RestElement")) : (z.argument = this.parseMaybeAssign(!1, B), this.type === I.comma && B && B.trailingComma < 0 && (B.trailingComma = this.start), this.finishNode(z, "SpreadElement"));
54589
54594
  this.options.ecmaVersion >= 6 && (z.method = !1, z.shorthand = !1, (A || B) && (me = this.start, ge = this.startLoc), A || (K = this.eat(I.star)));
54590
54595
  var Se = this.containsEsc;
54591
- return this.parsePropertyName(z), !A && !Se && this.options.ecmaVersion >= 8 && !K && this.isAsyncProp(z) ? (ne = !0, K = this.options.ecmaVersion >= 9 && this.eat(I.star), this.parsePropertyName(z)) : ne = !1, this.parsePropertyValue(z, A, K, ne, me, ge, B, Se), this.finishNode(z, "Property");
54596
+ return this.parsePropertyName(z), !A && !Se && this.options.ecmaVersion >= 8 && !K && this.isAsyncProp(z) ? (te = !0, K = this.options.ecmaVersion >= 9 && this.eat(I.star), this.parsePropertyName(z)) : te = !1, this.parsePropertyValue(z, A, K, te, me, ge, B, Se), this.finishNode(z, "Property");
54592
54597
  }, Re.parseGetterSetter = function(A) {
54593
54598
  A.kind = A.key.name, this.parsePropertyName(A), A.value = this.parseMethod(!1);
54594
54599
  var B = A.kind === "get" ? 0 : 1;
@@ -54597,8 +54602,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54597
54602
  A.kind === "get" ? this.raiseRecoverable(z, "getter should have no params") : this.raiseRecoverable(z, "setter should have exactly one param");
54598
54603
  } else
54599
54604
  A.kind === "set" && A.value.params[0].type === "RestElement" && this.raiseRecoverable(A.value.params[0].start, "Setter cannot use rest params");
54600
- }, Re.parsePropertyValue = function(A, B, z, K, ne, me, ge, Se) {
54601
- (z || K) && this.type === I.colon && this.unexpected(), this.eat(I.colon) ? (A.value = B ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, ge), A.kind = "init") : this.options.ecmaVersion >= 6 && this.type === I.parenL ? (B && this.unexpected(), A.kind = "init", A.method = !0, A.value = this.parseMethod(z, K)) : !B && !Se && this.options.ecmaVersion >= 5 && !A.computed && A.key.type === "Identifier" && (A.key.name === "get" || A.key.name === "set") && this.type !== I.comma && this.type !== I.braceR && this.type !== I.eq ? ((z || K) && this.unexpected(), this.parseGetterSetter(A)) : this.options.ecmaVersion >= 6 && !A.computed && A.key.type === "Identifier" ? ((z || K) && this.unexpected(), this.checkUnreserved(A.key), A.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = ne), A.kind = "init", B ? A.value = this.parseMaybeDefault(ne, me, this.copyNode(A.key)) : this.type === I.eq && ge ? (ge.shorthandAssign < 0 && (ge.shorthandAssign = this.start), A.value = this.parseMaybeDefault(ne, me, this.copyNode(A.key))) : A.value = this.copyNode(A.key), A.shorthand = !0) : this.unexpected();
54605
+ }, Re.parsePropertyValue = function(A, B, z, K, te, me, ge, Se) {
54606
+ (z || K) && this.type === I.colon && this.unexpected(), this.eat(I.colon) ? (A.value = B ? this.parseMaybeDefault(this.start, this.startLoc) : this.parseMaybeAssign(!1, ge), A.kind = "init") : this.options.ecmaVersion >= 6 && this.type === I.parenL ? (B && this.unexpected(), A.kind = "init", A.method = !0, A.value = this.parseMethod(z, K)) : !B && !Se && this.options.ecmaVersion >= 5 && !A.computed && A.key.type === "Identifier" && (A.key.name === "get" || A.key.name === "set") && this.type !== I.comma && this.type !== I.braceR && this.type !== I.eq ? ((z || K) && this.unexpected(), this.parseGetterSetter(A)) : this.options.ecmaVersion >= 6 && !A.computed && A.key.type === "Identifier" ? ((z || K) && this.unexpected(), this.checkUnreserved(A.key), A.key.name === "await" && !this.awaitIdentPos && (this.awaitIdentPos = te), A.kind = "init", B ? A.value = this.parseMaybeDefault(te, me, this.copyNode(A.key)) : this.type === I.eq && ge ? (ge.shorthandAssign < 0 && (ge.shorthandAssign = this.start), A.value = this.parseMaybeDefault(te, me, this.copyNode(A.key))) : A.value = this.copyNode(A.key), A.shorthand = !0) : this.unexpected();
54602
54607
  }, Re.parsePropertyName = function(A) {
54603
54608
  if (this.options.ecmaVersion >= 6) {
54604
54609
  if (this.eat(I.bracketL))
@@ -54609,14 +54614,14 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54609
54614
  }, Re.initFunction = function(A) {
54610
54615
  A.id = null, this.options.ecmaVersion >= 6 && (A.generator = A.expression = !1), this.options.ecmaVersion >= 8 && (A.async = !1);
54611
54616
  }, Re.parseMethod = function(A, B, z) {
54612
- var K = this.startNode(), ne = this.yieldPos, me = this.awaitPos, ge = this.awaitIdentPos;
54613
- return this.initFunction(K), this.options.ecmaVersion >= 6 && (K.generator = A), this.options.ecmaVersion >= 8 && (K.async = !!B), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(we(B, K.generator) | xe | (z ? _e : 0)), this.expect(I.parenL), K.params = this.parseBindingList(I.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(K, !1, !0, !1), this.yieldPos = ne, this.awaitPos = me, this.awaitIdentPos = ge, this.finishNode(K, "FunctionExpression");
54617
+ var K = this.startNode(), te = this.yieldPos, me = this.awaitPos, ge = this.awaitIdentPos;
54618
+ return this.initFunction(K), this.options.ecmaVersion >= 6 && (K.generator = A), this.options.ecmaVersion >= 8 && (K.async = !!B), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(we(B, K.generator) | be | (z ? _e : 0)), this.expect(I.parenL), K.params = this.parseBindingList(I.parenR, !1, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams(), this.parseFunctionBody(K, !1, !0, !1), this.yieldPos = te, this.awaitPos = me, this.awaitIdentPos = ge, this.finishNode(K, "FunctionExpression");
54614
54619
  }, Re.parseArrowExpression = function(A, B, z, K) {
54615
- var ne = this.yieldPos, me = this.awaitPos, ge = this.awaitIdentPos;
54616
- return this.enterScope(we(z, !1) | be), this.initFunction(A), this.options.ecmaVersion >= 8 && (A.async = !!z), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, A.params = this.toAssignableList(B, !0), this.parseFunctionBody(A, !0, !1, K), this.yieldPos = ne, this.awaitPos = me, this.awaitIdentPos = ge, this.finishNode(A, "ArrowFunctionExpression");
54620
+ var te = this.yieldPos, me = this.awaitPos, ge = this.awaitIdentPos;
54621
+ return this.enterScope(we(z, !1) | ve), this.initFunction(A), this.options.ecmaVersion >= 8 && (A.async = !!z), this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, A.params = this.toAssignableList(B, !0), this.parseFunctionBody(A, !0, !1, K), this.yieldPos = te, this.awaitPos = me, this.awaitIdentPos = ge, this.finishNode(A, "ArrowFunctionExpression");
54617
54622
  }, Re.parseFunctionBody = function(A, B, z, K) {
54618
- var ne = B && this.type !== I.braceL, me = this.strict, ge = !1;
54619
- if (ne)
54623
+ var te = B && this.type !== I.braceL, me = this.strict, ge = !1;
54624
+ if (te)
54620
54625
  A.body = this.parseMaybeAssign(K), A.expression = !0, this.checkParams(A, !1);
54621
54626
  else {
54622
54627
  var Se = this.options.ecmaVersion >= 7 && !this.isSimpleParamList(A.params);
@@ -54633,25 +54638,25 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54633
54638
  }
54634
54639
  return !0;
54635
54640
  }, Re.checkParams = function(A, B) {
54636
- for (var z = /* @__PURE__ */ Object.create(null), K = 0, ne = A.params; K < ne.length; K += 1) {
54637
- var me = ne[K];
54641
+ for (var z = /* @__PURE__ */ Object.create(null), K = 0, te = A.params; K < te.length; K += 1) {
54642
+ var me = te[K];
54638
54643
  this.checkLValInnerPattern(me, Be, B ? null : z);
54639
54644
  }
54640
54645
  }, Re.parseExprList = function(A, B, z, K) {
54641
- for (var ne = [], me = !0; !this.eat(A); ) {
54646
+ for (var te = [], me = !0; !this.eat(A); ) {
54642
54647
  if (me)
54643
54648
  me = !1;
54644
54649
  else if (this.expect(I.comma), B && this.afterTrailingComma(A))
54645
54650
  break;
54646
54651
  var ge = void 0;
54647
- z && this.type === I.comma ? ge = null : this.type === I.ellipsis ? (ge = this.parseSpread(K), K && this.type === I.comma && K.trailingComma < 0 && (K.trailingComma = this.start)) : ge = this.parseMaybeAssign(!1, K), ne.push(ge);
54652
+ z && this.type === I.comma ? ge = null : this.type === I.ellipsis ? (ge = this.parseSpread(K), K && this.type === I.comma && K.trailingComma < 0 && (K.trailingComma = this.start)) : ge = this.parseMaybeAssign(!1, K), te.push(ge);
54648
54653
  }
54649
- return ne;
54654
+ return te;
54650
54655
  }, Re.checkUnreserved = function(A) {
54651
54656
  var B = A.start, z = A.end, K = A.name;
54652
54657
  if (this.inGenerator && K === "yield" && this.raiseRecoverable(B, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && K === "await" && this.raiseRecoverable(B, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().inClassFieldInit && K === "arguments" && this.raiseRecoverable(B, "Cannot use 'arguments' in class field initializer"), this.inClassStaticBlock && (K === "arguments" || K === "await") && this.raise(B, "Cannot use " + K + " in class static initialization block"), this.keywords.test(K) && this.raise(B, "Unexpected keyword '" + K + "'"), !(this.options.ecmaVersion < 6 && this.input.slice(B, z).indexOf("\\") !== -1)) {
54653
- var ne = this.strict ? this.reservedWordsStrict : this.reservedWords;
54654
- ne.test(K) && (!this.inAsync && K === "await" && this.raiseRecoverable(B, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(B, "The keyword '" + K + "' is reserved"));
54658
+ var te = this.strict ? this.reservedWordsStrict : this.reservedWords;
54659
+ te.test(K) && (!this.inAsync && K === "await" && this.raiseRecoverable(B, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(B, "The keyword '" + K + "' is reserved"));
54655
54660
  }
54656
54661
  }, Re.parseIdent = function(A) {
54657
54662
  var B = this.parseIdentNode();
@@ -54693,8 +54698,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54693
54698
  }, tt.declareName = function(A, B, z) {
54694
54699
  var K = !1;
54695
54700
  if (B === Me) {
54696
- var ne = this.currentScope();
54697
- K = ne.lexical.indexOf(A) > -1 || ne.functions.indexOf(A) > -1 || ne.var.indexOf(A) > -1, ne.lexical.push(A), this.inModule && ne.flags & fe && delete this.undefinedExports[A];
54701
+ var te = this.currentScope();
54702
+ K = te.lexical.indexOf(A) > -1 || te.functions.indexOf(A) > -1 || te.var.indexOf(A) > -1, te.lexical.push(A), this.inModule && te.flags & fe && delete this.undefinedExports[A];
54698
54703
  } else if (B === He) {
54699
54704
  var me = this.currentScope();
54700
54705
  me.lexical.push(A);
@@ -54708,7 +54713,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54708
54713
  K = !0;
54709
54714
  break;
54710
54715
  }
54711
- if (Ce.var.push(A), this.inModule && Ce.flags & fe && delete this.undefinedExports[A], Ce.flags & Ae)
54716
+ if (Ce.var.push(A), this.inModule && Ce.flags & fe && delete this.undefinedExports[A], Ce.flags & Ee)
54712
54717
  break;
54713
54718
  }
54714
54719
  K && this.raiseRecoverable(z, "Identifier '" + A + "' has already been declared");
@@ -54719,13 +54724,13 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54719
54724
  }, tt.currentVarScope = function() {
54720
54725
  for (var A = this.scopeStack.length - 1; ; A--) {
54721
54726
  var B = this.scopeStack[A];
54722
- if (B.flags & Ae)
54727
+ if (B.flags & Ee)
54723
54728
  return B;
54724
54729
  }
54725
54730
  }, tt.currentThisScope = function() {
54726
54731
  for (var A = this.scopeStack.length - 1; ; A--) {
54727
54732
  var B = this.scopeStack[A];
54728
- if (B.flags & Ae && !(B.flags & be))
54733
+ if (B.flags & Ee && !(B.flags & ve))
54729
54734
  return B;
54730
54735
  }
54731
54736
  };
@@ -54787,7 +54792,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54787
54792
  var $r = lr[zt];
54788
54793
  Nr($r);
54789
54794
  }
54790
- var Ee = Ne.prototype, It = function(B, z) {
54795
+ var Te = Ne.prototype, It = function(B, z) {
54791
54796
  this.parent = B, this.base = z || this;
54792
54797
  };
54793
54798
  It.prototype.separatedFrom = function(B) {
@@ -54803,27 +54808,27 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54803
54808
  this.parser = B, this.validFlags = "gim" + (B.options.ecmaVersion >= 6 ? "uy" : "") + (B.options.ecmaVersion >= 9 ? "s" : "") + (B.options.ecmaVersion >= 13 ? "d" : "") + (B.options.ecmaVersion >= 15 ? "v" : ""), this.unicodeProperties = sr[B.options.ecmaVersion >= 14 ? 14 : B.options.ecmaVersion], this.source = "", this.flags = "", this.start = 0, this.switchU = !1, this.switchV = !1, this.switchN = !1, this.pos = 0, this.lastIntValue = 0, this.lastStringValue = "", this.lastAssertionIsQuantifiable = !1, this.numCapturingParens = 0, this.maxBackReference = 0, this.groupNames = /* @__PURE__ */ Object.create(null), this.backReferenceNames = [], this.branchID = null;
54804
54809
  };
54805
54810
  Qe.prototype.reset = function(B, z, K) {
54806
- var ne = K.indexOf("v") !== -1, me = K.indexOf("u") !== -1;
54807
- this.start = B | 0, this.source = z + "", this.flags = K, ne && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = me && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = me && this.parser.options.ecmaVersion >= 9);
54811
+ var te = K.indexOf("v") !== -1, me = K.indexOf("u") !== -1;
54812
+ this.start = B | 0, this.source = z + "", this.flags = K, te && this.parser.options.ecmaVersion >= 15 ? (this.switchU = !0, this.switchV = !0, this.switchN = !0) : (this.switchU = me && this.parser.options.ecmaVersion >= 6, this.switchV = !1, this.switchN = me && this.parser.options.ecmaVersion >= 9);
54808
54813
  }, Qe.prototype.raise = function(B) {
54809
54814
  this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + B);
54810
54815
  }, Qe.prototype.at = function(B, z) {
54811
54816
  z === void 0 && (z = !1);
54812
- var K = this.source, ne = K.length;
54813
- if (B >= ne)
54817
+ var K = this.source, te = K.length;
54818
+ if (B >= te)
54814
54819
  return -1;
54815
54820
  var me = K.charCodeAt(B);
54816
- if (!(z || this.switchU) || me <= 55295 || me >= 57344 || B + 1 >= ne)
54821
+ if (!(z || this.switchU) || me <= 55295 || me >= 57344 || B + 1 >= te)
54817
54822
  return me;
54818
54823
  var ge = K.charCodeAt(B + 1);
54819
54824
  return ge >= 56320 && ge <= 57343 ? (me << 10) + ge - 56613888 : me;
54820
54825
  }, Qe.prototype.nextIndex = function(B, z) {
54821
54826
  z === void 0 && (z = !1);
54822
- var K = this.source, ne = K.length;
54823
- if (B >= ne)
54824
- return ne;
54827
+ var K = this.source, te = K.length;
54828
+ if (B >= te)
54829
+ return te;
54825
54830
  var me = K.charCodeAt(B), ge;
54826
- return !(z || this.switchU) || me <= 55295 || me >= 57344 || B + 1 >= ne || (ge = K.charCodeAt(B + 1)) < 56320 || ge > 57343 ? B + 1 : B + 2;
54831
+ return !(z || this.switchU) || me <= 55295 || me >= 57344 || B + 1 >= te || (ge = K.charCodeAt(B + 1)) < 56320 || ge > 57343 ? B + 1 : B + 2;
54827
54832
  }, Qe.prototype.current = function(B) {
54828
54833
  return B === void 0 && (B = !1), this.at(this.pos, B);
54829
54834
  }, Qe.prototype.lookahead = function(B) {
@@ -54834,44 +54839,44 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54834
54839
  return z === void 0 && (z = !1), this.current(z) === B ? (this.advance(z), !0) : !1;
54835
54840
  }, Qe.prototype.eatChars = function(B, z) {
54836
54841
  z === void 0 && (z = !1);
54837
- for (var K = this.pos, ne = 0, me = B; ne < me.length; ne += 1) {
54838
- var ge = me[ne], Se = this.at(K, z);
54842
+ for (var K = this.pos, te = 0, me = B; te < me.length; te += 1) {
54843
+ var ge = me[te], Se = this.at(K, z);
54839
54844
  if (Se === -1 || Se !== ge)
54840
54845
  return !1;
54841
54846
  K = this.nextIndex(K, z);
54842
54847
  }
54843
54848
  return this.pos = K, !0;
54844
- }, Ee.validateRegExpFlags = function(A) {
54845
- for (var B = A.validFlags, z = A.flags, K = !1, ne = !1, me = 0; me < z.length; me++) {
54849
+ }, Te.validateRegExpFlags = function(A) {
54850
+ for (var B = A.validFlags, z = A.flags, K = !1, te = !1, me = 0; me < z.length; me++) {
54846
54851
  var ge = z.charAt(me);
54847
- B.indexOf(ge) === -1 && this.raise(A.start, "Invalid regular expression flag"), z.indexOf(ge, me + 1) > -1 && this.raise(A.start, "Duplicate regular expression flag"), ge === "u" && (K = !0), ge === "v" && (ne = !0);
54852
+ B.indexOf(ge) === -1 && this.raise(A.start, "Invalid regular expression flag"), z.indexOf(ge, me + 1) > -1 && this.raise(A.start, "Duplicate regular expression flag"), ge === "u" && (K = !0), ge === "v" && (te = !0);
54848
54853
  }
54849
- this.options.ecmaVersion >= 15 && K && ne && this.raise(A.start, "Invalid regular expression flag");
54854
+ this.options.ecmaVersion >= 15 && K && te && this.raise(A.start, "Invalid regular expression flag");
54850
54855
  };
54851
54856
  function Or(A) {
54852
54857
  for (var B in A)
54853
54858
  return !0;
54854
54859
  return !1;
54855
54860
  }
54856
- Ee.validateRegExpPattern = function(A) {
54861
+ Te.validateRegExpPattern = function(A) {
54857
54862
  this.regexp_pattern(A), !A.switchN && this.options.ecmaVersion >= 9 && Or(A.groupNames) && (A.switchN = !0, this.regexp_pattern(A));
54858
- }, Ee.regexp_pattern = function(A) {
54863
+ }, Te.regexp_pattern = function(A) {
54859
54864
  A.pos = 0, A.lastIntValue = 0, A.lastStringValue = "", A.lastAssertionIsQuantifiable = !1, A.numCapturingParens = 0, A.maxBackReference = 0, A.groupNames = /* @__PURE__ */ Object.create(null), A.backReferenceNames.length = 0, A.branchID = null, this.regexp_disjunction(A), A.pos !== A.source.length && (A.eat(41) && A.raise("Unmatched ')'"), (A.eat(93) || A.eat(125)) && A.raise("Lone quantifier brackets")), A.maxBackReference > A.numCapturingParens && A.raise("Invalid escape");
54860
54865
  for (var B = 0, z = A.backReferenceNames; B < z.length; B += 1) {
54861
54866
  var K = z[B];
54862
54867
  A.groupNames[K] || A.raise("Invalid named capture referenced");
54863
54868
  }
54864
- }, Ee.regexp_disjunction = function(A) {
54869
+ }, Te.regexp_disjunction = function(A) {
54865
54870
  var B = this.options.ecmaVersion >= 16;
54866
54871
  for (B && (A.branchID = new It(A.branchID, null)), this.regexp_alternative(A); A.eat(124); )
54867
54872
  B && (A.branchID = A.branchID.sibling()), this.regexp_alternative(A);
54868
54873
  B && (A.branchID = A.branchID.parent), this.regexp_eatQuantifier(A, !0) && A.raise("Nothing to repeat"), A.eat(123) && A.raise("Lone quantifier brackets");
54869
- }, Ee.regexp_alternative = function(A) {
54874
+ }, Te.regexp_alternative = function(A) {
54870
54875
  for (; A.pos < A.source.length && this.regexp_eatTerm(A); )
54871
54876
  ;
54872
- }, Ee.regexp_eatTerm = function(A) {
54877
+ }, Te.regexp_eatTerm = function(A) {
54873
54878
  return this.regexp_eatAssertion(A) ? (A.lastAssertionIsQuantifiable && this.regexp_eatQuantifier(A) && A.switchU && A.raise("Invalid quantifier"), !0) : (A.switchU ? this.regexp_eatAtom(A) : this.regexp_eatExtendedAtom(A)) ? (this.regexp_eatQuantifier(A), !0) : !1;
54874
- }, Ee.regexp_eatAssertion = function(A) {
54879
+ }, Te.regexp_eatAssertion = function(A) {
54875
54880
  var B = A.pos;
54876
54881
  if (A.lastAssertionIsQuantifiable = !1, A.eat(94) || A.eat(36))
54877
54882
  return !0;
@@ -54886,22 +54891,22 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54886
54891
  return this.regexp_disjunction(A), A.eat(41) || A.raise("Unterminated group"), A.lastAssertionIsQuantifiable = !z, !0;
54887
54892
  }
54888
54893
  return A.pos = B, !1;
54889
- }, Ee.regexp_eatQuantifier = function(A, B) {
54894
+ }, Te.regexp_eatQuantifier = function(A, B) {
54890
54895
  return B === void 0 && (B = !1), this.regexp_eatQuantifierPrefix(A, B) ? (A.eat(63), !0) : !1;
54891
- }, Ee.regexp_eatQuantifierPrefix = function(A, B) {
54896
+ }, Te.regexp_eatQuantifierPrefix = function(A, B) {
54892
54897
  return A.eat(42) || A.eat(43) || A.eat(63) || this.regexp_eatBracedQuantifier(A, B);
54893
- }, Ee.regexp_eatBracedQuantifier = function(A, B) {
54898
+ }, Te.regexp_eatBracedQuantifier = function(A, B) {
54894
54899
  var z = A.pos;
54895
54900
  if (A.eat(123)) {
54896
- var K = 0, ne = -1;
54897
- if (this.regexp_eatDecimalDigits(A) && (K = A.lastIntValue, A.eat(44) && this.regexp_eatDecimalDigits(A) && (ne = A.lastIntValue), A.eat(125)))
54898
- return ne !== -1 && ne < K && !B && A.raise("numbers out of order in {} quantifier"), !0;
54901
+ var K = 0, te = -1;
54902
+ if (this.regexp_eatDecimalDigits(A) && (K = A.lastIntValue, A.eat(44) && this.regexp_eatDecimalDigits(A) && (te = A.lastIntValue), A.eat(125)))
54903
+ return te !== -1 && te < K && !B && A.raise("numbers out of order in {} quantifier"), !0;
54899
54904
  A.switchU && !B && A.raise("Incomplete quantifier"), A.pos = z;
54900
54905
  }
54901
54906
  return !1;
54902
- }, Ee.regexp_eatAtom = function(A) {
54907
+ }, Te.regexp_eatAtom = function(A) {
54903
54908
  return this.regexp_eatPatternCharacters(A) || A.eat(46) || this.regexp_eatReverseSolidusAtomEscape(A) || this.regexp_eatCharacterClass(A) || this.regexp_eatUncapturingGroup(A) || this.regexp_eatCapturingGroup(A);
54904
- }, Ee.regexp_eatReverseSolidusAtomEscape = function(A) {
54909
+ }, Te.regexp_eatReverseSolidusAtomEscape = function(A) {
54905
54910
  var B = A.pos;
54906
54911
  if (A.eat(92)) {
54907
54912
  if (this.regexp_eatAtomEscape(A))
@@ -54909,7 +54914,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54909
54914
  A.pos = B;
54910
54915
  }
54911
54916
  return !1;
54912
- }, Ee.regexp_eatUncapturingGroup = function(A) {
54917
+ }, Te.regexp_eatUncapturingGroup = function(A) {
54913
54918
  var B = A.pos;
54914
54919
  if (A.eat(40)) {
54915
54920
  if (A.eat(63) && A.eat(58)) {
@@ -54920,76 +54925,76 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
54920
54925
  A.pos = B;
54921
54926
  }
54922
54927
  return !1;
54923
- }, Ee.regexp_eatCapturingGroup = function(A) {
54928
+ }, Te.regexp_eatCapturingGroup = function(A) {
54924
54929
  if (A.eat(40)) {
54925
54930
  if (this.options.ecmaVersion >= 9 ? this.regexp_groupSpecifier(A) : A.current() === 63 && A.raise("Invalid group"), this.regexp_disjunction(A), A.eat(41))
54926
54931
  return A.numCapturingParens += 1, !0;
54927
54932
  A.raise("Unterminated group");
54928
54933
  }
54929
54934
  return !1;
54930
- }, Ee.regexp_eatExtendedAtom = function(A) {
54935
+ }, Te.regexp_eatExtendedAtom = function(A) {
54931
54936
  return A.eat(46) || this.regexp_eatReverseSolidusAtomEscape(A) || this.regexp_eatCharacterClass(A) || this.regexp_eatUncapturingGroup(A) || this.regexp_eatCapturingGroup(A) || this.regexp_eatInvalidBracedQuantifier(A) || this.regexp_eatExtendedPatternCharacter(A);
54932
- }, Ee.regexp_eatInvalidBracedQuantifier = function(A) {
54937
+ }, Te.regexp_eatInvalidBracedQuantifier = function(A) {
54933
54938
  return this.regexp_eatBracedQuantifier(A, !0) && A.raise("Nothing to repeat"), !1;
54934
- }, Ee.regexp_eatSyntaxCharacter = function(A) {
54939
+ }, Te.regexp_eatSyntaxCharacter = function(A) {
54935
54940
  var B = A.current();
54936
54941
  return cr(B) ? (A.lastIntValue = B, A.advance(), !0) : !1;
54937
54942
  };
54938
54943
  function cr(A) {
54939
54944
  return A === 36 || A >= 40 && A <= 43 || A === 46 || A === 63 || A >= 91 && A <= 94 || A >= 123 && A <= 125;
54940
54945
  }
54941
- Ee.regexp_eatPatternCharacters = function(A) {
54946
+ Te.regexp_eatPatternCharacters = function(A) {
54942
54947
  for (var B = A.pos, z = 0; (z = A.current()) !== -1 && !cr(z); )
54943
54948
  A.advance();
54944
54949
  return A.pos !== B;
54945
- }, Ee.regexp_eatExtendedPatternCharacter = function(A) {
54950
+ }, Te.regexp_eatExtendedPatternCharacter = function(A) {
54946
54951
  var B = A.current();
54947
54952
  return B !== -1 && B !== 36 && !(B >= 40 && B <= 43) && B !== 46 && B !== 63 && B !== 91 && B !== 94 && B !== 124 ? (A.advance(), !0) : !1;
54948
- }, Ee.regexp_groupSpecifier = function(A) {
54953
+ }, Te.regexp_groupSpecifier = function(A) {
54949
54954
  if (A.eat(63)) {
54950
54955
  this.regexp_eatGroupName(A) || A.raise("Invalid group");
54951
54956
  var B = this.options.ecmaVersion >= 16, z = A.groupNames[A.lastStringValue];
54952
54957
  if (z)
54953
54958
  if (B)
54954
- for (var K = 0, ne = z; K < ne.length; K += 1) {
54955
- var me = ne[K];
54959
+ for (var K = 0, te = z; K < te.length; K += 1) {
54960
+ var me = te[K];
54956
54961
  me.separatedFrom(A.branchID) || A.raise("Duplicate capture group name");
54957
54962
  }
54958
54963
  else
54959
54964
  A.raise("Duplicate capture group name");
54960
54965
  B ? (z || (A.groupNames[A.lastStringValue] = [])).push(A.branchID) : A.groupNames[A.lastStringValue] = !0;
54961
54966
  }
54962
- }, Ee.regexp_eatGroupName = function(A) {
54967
+ }, Te.regexp_eatGroupName = function(A) {
54963
54968
  if (A.lastStringValue = "", A.eat(60)) {
54964
54969
  if (this.regexp_eatRegExpIdentifierName(A) && A.eat(62))
54965
54970
  return !0;
54966
54971
  A.raise("Invalid capture group name");
54967
54972
  }
54968
54973
  return !1;
54969
- }, Ee.regexp_eatRegExpIdentifierName = function(A) {
54974
+ }, Te.regexp_eatRegExpIdentifierName = function(A) {
54970
54975
  if (A.lastStringValue = "", this.regexp_eatRegExpIdentifierStart(A)) {
54971
54976
  for (A.lastStringValue += Z(A.lastIntValue); this.regexp_eatRegExpIdentifierPart(A); )
54972
54977
  A.lastStringValue += Z(A.lastIntValue);
54973
54978
  return !0;
54974
54979
  }
54975
54980
  return !1;
54976
- }, Ee.regexp_eatRegExpIdentifierStart = function(A) {
54981
+ }, Te.regexp_eatRegExpIdentifierStart = function(A) {
54977
54982
  var B = A.pos, z = this.options.ecmaVersion >= 11, K = A.current(z);
54978
54983
  return A.advance(z), K === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(A, z) && (K = A.lastIntValue), Vr(K) ? (A.lastIntValue = K, !0) : (A.pos = B, !1);
54979
54984
  };
54980
54985
  function Vr(A) {
54981
54986
  return T(A, !0) || A === 36 || A === 95;
54982
54987
  }
54983
- Ee.regexp_eatRegExpIdentifierPart = function(A) {
54988
+ Te.regexp_eatRegExpIdentifierPart = function(A) {
54984
54989
  var B = A.pos, z = this.options.ecmaVersion >= 11, K = A.current(z);
54985
54990
  return A.advance(z), K === 92 && this.regexp_eatRegExpUnicodeEscapeSequence(A, z) && (K = A.lastIntValue), Dr(K) ? (A.lastIntValue = K, !0) : (A.pos = B, !1);
54986
54991
  };
54987
54992
  function Dr(A) {
54988
54993
  return E(A, !0) || A === 36 || A === 95 || A === 8204 || A === 8205;
54989
54994
  }
54990
- Ee.regexp_eatAtomEscape = function(A) {
54995
+ Te.regexp_eatAtomEscape = function(A) {
54991
54996
  return this.regexp_eatBackReference(A) || this.regexp_eatCharacterClassEscape(A) || this.regexp_eatCharacterEscape(A) || A.switchN && this.regexp_eatKGroupName(A) ? !0 : (A.switchU && (A.current() === 99 && A.raise("Invalid unicode escape"), A.raise("Invalid escape")), !1);
54992
- }, Ee.regexp_eatBackReference = function(A) {
54997
+ }, Te.regexp_eatBackReference = function(A) {
54993
54998
  var B = A.pos;
54994
54999
  if (this.regexp_eatDecimalEscape(A)) {
54995
55000
  var z = A.lastIntValue;
@@ -55000,16 +55005,16 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55000
55005
  A.pos = B;
55001
55006
  }
55002
55007
  return !1;
55003
- }, Ee.regexp_eatKGroupName = function(A) {
55008
+ }, Te.regexp_eatKGroupName = function(A) {
55004
55009
  if (A.eat(107)) {
55005
55010
  if (this.regexp_eatGroupName(A))
55006
55011
  return A.backReferenceNames.push(A.lastStringValue), !0;
55007
55012
  A.raise("Invalid named reference");
55008
55013
  }
55009
55014
  return !1;
55010
- }, Ee.regexp_eatCharacterEscape = function(A) {
55015
+ }, Te.regexp_eatCharacterEscape = function(A) {
55011
55016
  return this.regexp_eatControlEscape(A) || this.regexp_eatCControlLetter(A) || this.regexp_eatZero(A) || this.regexp_eatHexEscapeSequence(A) || this.regexp_eatRegExpUnicodeEscapeSequence(A, !1) || !A.switchU && this.regexp_eatLegacyOctalEscapeSequence(A) || this.regexp_eatIdentityEscape(A);
55012
- }, Ee.regexp_eatCControlLetter = function(A) {
55017
+ }, Te.regexp_eatCControlLetter = function(A) {
55013
55018
  var B = A.pos;
55014
55019
  if (A.eat(99)) {
55015
55020
  if (this.regexp_eatControlLetter(A))
@@ -55017,32 +55022,32 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55017
55022
  A.pos = B;
55018
55023
  }
55019
55024
  return !1;
55020
- }, Ee.regexp_eatZero = function(A) {
55025
+ }, Te.regexp_eatZero = function(A) {
55021
55026
  return A.current() === 48 && !Mt(A.lookahead()) ? (A.lastIntValue = 0, A.advance(), !0) : !1;
55022
- }, Ee.regexp_eatControlEscape = function(A) {
55027
+ }, Te.regexp_eatControlEscape = function(A) {
55023
55028
  var B = A.current();
55024
55029
  return B === 116 ? (A.lastIntValue = 9, A.advance(), !0) : B === 110 ? (A.lastIntValue = 10, A.advance(), !0) : B === 118 ? (A.lastIntValue = 11, A.advance(), !0) : B === 102 ? (A.lastIntValue = 12, A.advance(), !0) : B === 114 ? (A.lastIntValue = 13, A.advance(), !0) : !1;
55025
- }, Ee.regexp_eatControlLetter = function(A) {
55030
+ }, Te.regexp_eatControlLetter = function(A) {
55026
55031
  var B = A.current();
55027
55032
  return ur(B) ? (A.lastIntValue = B % 32, A.advance(), !0) : !1;
55028
55033
  };
55029
55034
  function ur(A) {
55030
55035
  return A >= 65 && A <= 90 || A >= 97 && A <= 122;
55031
55036
  }
55032
- Ee.regexp_eatRegExpUnicodeEscapeSequence = function(A, B) {
55037
+ Te.regexp_eatRegExpUnicodeEscapeSequence = function(A, B) {
55033
55038
  B === void 0 && (B = !1);
55034
55039
  var z = A.pos, K = B || A.switchU;
55035
55040
  if (A.eat(117)) {
55036
55041
  if (this.regexp_eatFixedHexDigits(A, 4)) {
55037
- var ne = A.lastIntValue;
55038
- if (K && ne >= 55296 && ne <= 56319) {
55042
+ var te = A.lastIntValue;
55043
+ if (K && te >= 55296 && te <= 56319) {
55039
55044
  var me = A.pos;
55040
55045
  if (A.eat(92) && A.eat(117) && this.regexp_eatFixedHexDigits(A, 4)) {
55041
55046
  var ge = A.lastIntValue;
55042
55047
  if (ge >= 56320 && ge <= 57343)
55043
- return A.lastIntValue = (ne - 55296) * 1024 + (ge - 56320) + 65536, !0;
55048
+ return A.lastIntValue = (te - 55296) * 1024 + (ge - 56320) + 65536, !0;
55044
55049
  }
55045
- A.pos = me, A.lastIntValue = ne;
55050
+ A.pos = me, A.lastIntValue = te;
55046
55051
  }
55047
55052
  return !0;
55048
55053
  }
@@ -55055,12 +55060,12 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55055
55060
  function Br(A) {
55056
55061
  return A >= 0 && A <= 1114111;
55057
55062
  }
55058
- Ee.regexp_eatIdentityEscape = function(A) {
55063
+ Te.regexp_eatIdentityEscape = function(A) {
55059
55064
  if (A.switchU)
55060
55065
  return this.regexp_eatSyntaxCharacter(A) ? !0 : A.eat(47) ? (A.lastIntValue = 47, !0) : !1;
55061
55066
  var B = A.current();
55062
55067
  return B !== 99 && (!A.switchN || B !== 107) ? (A.lastIntValue = B, A.advance(), !0) : !1;
55063
- }, Ee.regexp_eatDecimalEscape = function(A) {
55068
+ }, Te.regexp_eatDecimalEscape = function(A) {
55064
55069
  A.lastIntValue = 0;
55065
55070
  var B = A.current();
55066
55071
  if (B >= 49 && B <= 57) {
@@ -55072,7 +55077,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55072
55077
  return !1;
55073
55078
  };
55074
55079
  var dr = 0, et = 1, Ye = 2;
55075
- Ee.regexp_eatCharacterClassEscape = function(A) {
55080
+ Te.regexp_eatCharacterClassEscape = function(A) {
55076
55081
  var B = A.current();
55077
55082
  if (Lr(B))
55078
55083
  return A.lastIntValue = -1, A.advance(), et;
@@ -55089,7 +55094,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55089
55094
  function Lr(A) {
55090
55095
  return A === 100 || A === 68 || A === 115 || A === 83 || A === 119 || A === 87;
55091
55096
  }
55092
- Ee.regexp_eatUnicodePropertyValueExpression = function(A) {
55097
+ Te.regexp_eatUnicodePropertyValueExpression = function(A) {
55093
55098
  var B = A.pos;
55094
55099
  if (this.regexp_eatUnicodePropertyName(A) && A.eat(61)) {
55095
55100
  var z = A.lastStringValue;
@@ -55099,19 +55104,19 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55099
55104
  }
55100
55105
  }
55101
55106
  if (A.pos = B, this.regexp_eatLoneUnicodePropertyNameOrValue(A)) {
55102
- var ne = A.lastStringValue;
55103
- return this.regexp_validateUnicodePropertyNameOrValue(A, ne);
55107
+ var te = A.lastStringValue;
55108
+ return this.regexp_validateUnicodePropertyNameOrValue(A, te);
55104
55109
  }
55105
55110
  return dr;
55106
- }, Ee.regexp_validateUnicodePropertyNameAndValue = function(A, B, z) {
55111
+ }, Te.regexp_validateUnicodePropertyNameAndValue = function(A, B, z) {
55107
55112
  ee(A.unicodeProperties.nonBinary, B) || A.raise("Invalid property name"), A.unicodeProperties.nonBinary[B].test(z) || A.raise("Invalid property value");
55108
- }, Ee.regexp_validateUnicodePropertyNameOrValue = function(A, B) {
55113
+ }, Te.regexp_validateUnicodePropertyNameOrValue = function(A, B) {
55109
55114
  if (A.unicodeProperties.binary.test(B))
55110
55115
  return et;
55111
55116
  if (A.switchV && A.unicodeProperties.binaryOfStrings.test(B))
55112
55117
  return Ye;
55113
55118
  A.raise("Invalid property name");
55114
- }, Ee.regexp_eatUnicodePropertyName = function(A) {
55119
+ }, Te.regexp_eatUnicodePropertyName = function(A) {
55115
55120
  var B = 0;
55116
55121
  for (A.lastStringValue = ""; pr(B = A.current()); )
55117
55122
  A.lastStringValue += Z(B), A.advance();
@@ -55120,7 +55125,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55120
55125
  function pr(A) {
55121
55126
  return ur(A) || A === 95;
55122
55127
  }
55123
- Ee.regexp_eatUnicodePropertyValue = function(A) {
55128
+ Te.regexp_eatUnicodePropertyValue = function(A) {
55124
55129
  var B = 0;
55125
55130
  for (A.lastStringValue = ""; jr(B = A.current()); )
55126
55131
  A.lastStringValue += Z(B), A.advance();
@@ -55129,17 +55134,17 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55129
55134
  function jr(A) {
55130
55135
  return pr(A) || Mt(A);
55131
55136
  }
55132
- Ee.regexp_eatLoneUnicodePropertyNameOrValue = function(A) {
55137
+ Te.regexp_eatLoneUnicodePropertyNameOrValue = function(A) {
55133
55138
  return this.regexp_eatUnicodePropertyValue(A);
55134
- }, Ee.regexp_eatCharacterClass = function(A) {
55139
+ }, Te.regexp_eatCharacterClass = function(A) {
55135
55140
  if (A.eat(91)) {
55136
55141
  var B = A.eat(94), z = this.regexp_classContents(A);
55137
55142
  return A.eat(93) || A.raise("Unterminated character class"), B && z === Ye && A.raise("Negated character class may contain strings"), !0;
55138
55143
  }
55139
55144
  return !1;
55140
- }, Ee.regexp_classContents = function(A) {
55145
+ }, Te.regexp_classContents = function(A) {
55141
55146
  return A.current() === 93 ? et : A.switchV ? this.regexp_classSetExpression(A) : (this.regexp_nonEmptyClassRanges(A), et);
55142
- }, Ee.regexp_nonEmptyClassRanges = function(A) {
55147
+ }, Te.regexp_nonEmptyClassRanges = function(A) {
55143
55148
  for (; this.regexp_eatClassAtom(A); ) {
55144
55149
  var B = A.lastIntValue;
55145
55150
  if (A.eat(45) && this.regexp_eatClassAtom(A)) {
@@ -55147,7 +55152,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55147
55152
  A.switchU && (B === -1 || z === -1) && A.raise("Invalid character class"), B !== -1 && z !== -1 && B > z && A.raise("Range out of order in character class");
55148
55153
  }
55149
55154
  }
55150
- }, Ee.regexp_eatClassAtom = function(A) {
55155
+ }, Te.regexp_eatClassAtom = function(A) {
55151
55156
  var B = A.pos;
55152
55157
  if (A.eat(92)) {
55153
55158
  if (this.regexp_eatClassEscape(A))
@@ -55160,7 +55165,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55160
55165
  }
55161
55166
  var K = A.current();
55162
55167
  return K !== 93 ? (A.lastIntValue = K, A.advance(), !0) : !1;
55163
- }, Ee.regexp_eatClassEscape = function(A) {
55168
+ }, Te.regexp_eatClassEscape = function(A) {
55164
55169
  var B = A.pos;
55165
55170
  if (A.eat(98))
55166
55171
  return A.lastIntValue = 8, !0;
@@ -55172,7 +55177,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55172
55177
  A.pos = B;
55173
55178
  }
55174
55179
  return this.regexp_eatCharacterClassEscape(A) || this.regexp_eatCharacterEscape(A);
55175
- }, Ee.regexp_classSetExpression = function(A) {
55180
+ }, Te.regexp_classSetExpression = function(A) {
55176
55181
  var B = et, z;
55177
55182
  if (!this.regexp_eatClassSetRange(A))
55178
55183
  if (z = this.regexp_eatClassSetOperand(A)) {
@@ -55198,7 +55203,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55198
55203
  return B;
55199
55204
  z === Ye && (B = Ye);
55200
55205
  }
55201
- }, Ee.regexp_eatClassSetRange = function(A) {
55206
+ }, Te.regexp_eatClassSetRange = function(A) {
55202
55207
  var B = A.pos;
55203
55208
  if (this.regexp_eatClassSetCharacter(A)) {
55204
55209
  var z = A.lastIntValue;
@@ -55209,9 +55214,9 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55209
55214
  A.pos = B;
55210
55215
  }
55211
55216
  return !1;
55212
- }, Ee.regexp_eatClassSetOperand = function(A) {
55217
+ }, Te.regexp_eatClassSetOperand = function(A) {
55213
55218
  return this.regexp_eatClassSetCharacter(A) ? et : this.regexp_eatClassStringDisjunction(A) || this.regexp_eatNestedClass(A);
55214
- }, Ee.regexp_eatNestedClass = function(A) {
55219
+ }, Te.regexp_eatNestedClass = function(A) {
55215
55220
  var B = A.pos;
55216
55221
  if (A.eat(91)) {
55217
55222
  var z = A.eat(94), K = this.regexp_classContents(A);
@@ -55220,13 +55225,13 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55220
55225
  A.pos = B;
55221
55226
  }
55222
55227
  if (A.eat(92)) {
55223
- var ne = this.regexp_eatCharacterClassEscape(A);
55224
- if (ne)
55225
- return ne;
55228
+ var te = this.regexp_eatCharacterClassEscape(A);
55229
+ if (te)
55230
+ return te;
55226
55231
  A.pos = B;
55227
55232
  }
55228
55233
  return null;
55229
- }, Ee.regexp_eatClassStringDisjunction = function(A) {
55234
+ }, Te.regexp_eatClassStringDisjunction = function(A) {
55230
55235
  var B = A.pos;
55231
55236
  if (A.eatChars([92, 113])) {
55232
55237
  if (A.eat(123)) {
@@ -55238,15 +55243,15 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55238
55243
  A.pos = B;
55239
55244
  }
55240
55245
  return null;
55241
- }, Ee.regexp_classStringDisjunctionContents = function(A) {
55246
+ }, Te.regexp_classStringDisjunctionContents = function(A) {
55242
55247
  for (var B = this.regexp_classString(A); A.eat(124); )
55243
55248
  this.regexp_classString(A) === Ye && (B = Ye);
55244
55249
  return B;
55245
- }, Ee.regexp_classString = function(A) {
55250
+ }, Te.regexp_classString = function(A) {
55246
55251
  for (var B = 0; this.regexp_eatClassSetCharacter(A); )
55247
55252
  B++;
55248
55253
  return B === 1 ? et : Ye;
55249
- }, Ee.regexp_eatClassSetCharacter = function(A) {
55254
+ }, Te.regexp_eatClassSetCharacter = function(A) {
55250
55255
  var B = A.pos;
55251
55256
  if (A.eat(92))
55252
55257
  return this.regexp_eatCharacterEscape(A) || this.regexp_eatClassSetReservedPunctuator(A) ? !0 : A.eat(98) ? (A.lastIntValue = 8, !0) : (A.pos = B, !1);
@@ -55259,17 +55264,17 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55259
55264
  function qr(A) {
55260
55265
  return A === 40 || A === 41 || A === 45 || A === 47 || A >= 91 && A <= 93 || A >= 123 && A <= 125;
55261
55266
  }
55262
- Ee.regexp_eatClassSetReservedPunctuator = function(A) {
55267
+ Te.regexp_eatClassSetReservedPunctuator = function(A) {
55263
55268
  var B = A.current();
55264
55269
  return Hr(B) ? (A.lastIntValue = B, A.advance(), !0) : !1;
55265
55270
  };
55266
55271
  function Hr(A) {
55267
55272
  return A === 33 || A === 35 || A === 37 || A === 38 || A === 44 || A === 45 || A >= 58 && A <= 62 || A === 64 || A === 96 || A === 126;
55268
55273
  }
55269
- Ee.regexp_eatClassControlLetter = function(A) {
55274
+ Te.regexp_eatClassControlLetter = function(A) {
55270
55275
  var B = A.current();
55271
55276
  return Mt(B) || B === 95 ? (A.lastIntValue = B % 32, A.advance(), !0) : !1;
55272
- }, Ee.regexp_eatHexEscapeSequence = function(A) {
55277
+ }, Te.regexp_eatHexEscapeSequence = function(A) {
55273
55278
  var B = A.pos;
55274
55279
  if (A.eat(120)) {
55275
55280
  if (this.regexp_eatFixedHexDigits(A, 2))
@@ -55277,7 +55282,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55277
55282
  A.switchU && A.raise("Invalid escape"), A.pos = B;
55278
55283
  }
55279
55284
  return !1;
55280
- }, Ee.regexp_eatDecimalDigits = function(A) {
55285
+ }, Te.regexp_eatDecimalDigits = function(A) {
55281
55286
  var B = A.pos, z = 0;
55282
55287
  for (A.lastIntValue = 0; Mt(z = A.current()); )
55283
55288
  A.lastIntValue = 10 * A.lastIntValue + (z - 48), A.advance();
@@ -55286,7 +55291,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55286
55291
  function Mt(A) {
55287
55292
  return A >= 48 && A <= 57;
55288
55293
  }
55289
- Ee.regexp_eatHexDigits = function(A) {
55294
+ Te.regexp_eatHexDigits = function(A) {
55290
55295
  var B = A.pos, z = 0;
55291
55296
  for (A.lastIntValue = 0; mr(z = A.current()); )
55292
55297
  A.lastIntValue = 16 * A.lastIntValue + yr(z), A.advance();
@@ -55298,7 +55303,7 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55298
55303
  function yr(A) {
55299
55304
  return A >= 65 && A <= 70 ? 10 + (A - 65) : A >= 97 && A <= 102 ? 10 + (A - 97) : A - 48;
55300
55305
  }
55301
- Ee.regexp_eatLegacyOctalEscapeSequence = function(A) {
55306
+ Te.regexp_eatLegacyOctalEscapeSequence = function(A) {
55302
55307
  if (this.regexp_eatOctalDigit(A)) {
55303
55308
  var B = A.lastIntValue;
55304
55309
  if (this.regexp_eatOctalDigit(A)) {
@@ -55309,21 +55314,21 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55309
55314
  return !0;
55310
55315
  }
55311
55316
  return !1;
55312
- }, Ee.regexp_eatOctalDigit = function(A) {
55317
+ }, Te.regexp_eatOctalDigit = function(A) {
55313
55318
  var B = A.current();
55314
55319
  return gr(B) ? (A.lastIntValue = B - 48, A.advance(), !0) : (A.lastIntValue = 0, !1);
55315
55320
  };
55316
55321
  function gr(A) {
55317
55322
  return A >= 48 && A <= 55;
55318
55323
  }
55319
- Ee.regexp_eatFixedHexDigits = function(A, B) {
55324
+ Te.regexp_eatFixedHexDigits = function(A, B) {
55320
55325
  var z = A.pos;
55321
55326
  A.lastIntValue = 0;
55322
55327
  for (var K = 0; K < B; ++K) {
55323
- var ne = A.current();
55324
- if (!mr(ne))
55328
+ var te = A.current();
55329
+ if (!mr(te))
55325
55330
  return A.pos = z, !1;
55326
- A.lastIntValue = 16 * A.lastIntValue + yr(ne), A.advance();
55331
+ A.lastIntValue = 16 * A.lastIntValue + yr(te), A.advance();
55327
55332
  }
55328
55333
  return !0;
55329
55334
  };
@@ -55363,8 +55368,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55363
55368
  }, Oe.skipBlockComment = function() {
55364
55369
  var A = this.options.onComment && this.curPosition(), B = this.pos, z = this.input.indexOf("*/", this.pos += 2);
55365
55370
  if (z === -1 && this.raise(this.pos - 2, "Unterminated comment"), this.pos = z + 2, this.options.locations)
55366
- for (var K = void 0, ne = B; (K = q(this.input, ne, this.pos)) > -1; )
55367
- ++this.curLine, ne = this.lineStart = K;
55371
+ for (var K = void 0, te = B; (K = q(this.input, te, this.pos)) > -1; )
55372
+ ++this.curLine, te = this.lineStart = K;
55368
55373
  this.options.onComment && this.options.onComment(!0, this.input.slice(B + 2, z), B, this.pos, A, this.curPosition());
55369
55374
  }, Oe.skipLineComment = function(A) {
55370
55375
  for (var B = this.pos, z = this.options.onComment && this.curPosition(), K = this.input.charCodeAt(this.pos += A); this.pos < this.input.length && !j(K); )
@@ -55564,23 +55569,23 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55564
55569
  }
55565
55570
  ++this.pos;
55566
55571
  }
55567
- var ne = this.input.slice(z, this.pos);
55572
+ var te = this.input.slice(z, this.pos);
55568
55573
  ++this.pos;
55569
55574
  var me = this.pos, ge = this.readWord1();
55570
55575
  this.containsEsc && this.unexpected(me);
55571
55576
  var Se = this.regexpState || (this.regexpState = new Qe(this));
55572
- Se.reset(z, ne, ge), this.validateRegExpFlags(Se), this.validateRegExpPattern(Se);
55577
+ Se.reset(z, te, ge), this.validateRegExpFlags(Se), this.validateRegExpPattern(Se);
55573
55578
  var Ce = null;
55574
55579
  try {
55575
- Ce = new RegExp(ne, ge);
55580
+ Ce = new RegExp(te, ge);
55576
55581
  } catch {
55577
55582
  }
55578
- return this.finishToken(I.regexp, { pattern: ne, flags: ge, value: Ce });
55583
+ return this.finishToken(I.regexp, { pattern: te, flags: ge, value: Ce });
55579
55584
  }, Oe.readInt = function(A, B, z) {
55580
- for (var K = this.options.ecmaVersion >= 12 && B === void 0, ne = z && this.input.charCodeAt(this.pos) === 48, me = this.pos, ge = 0, Se = 0, Ce = 0, $e = B ?? 1 / 0; Ce < $e; ++Ce, ++this.pos) {
55585
+ for (var K = this.options.ecmaVersion >= 12 && B === void 0, te = z && this.input.charCodeAt(this.pos) === 48, me = this.pos, ge = 0, Se = 0, Ce = 0, $e = B ?? 1 / 0; Ce < $e; ++Ce, ++this.pos) {
55581
55586
  var Ie = this.input.charCodeAt(this.pos), ze = void 0;
55582
55587
  if (K && Ie === 95) {
55583
- ne && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), Se === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), Ce === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), Se = Ie;
55588
+ te && this.raiseRecoverable(this.pos, "Numeric separator is not allowed in legacy octal numeric literals"), Se === 95 && this.raiseRecoverable(this.pos, "Numeric separator must be exactly one underscore"), Ce === 0 && this.raiseRecoverable(this.pos, "Numeric separator is not allowed at the first of digits"), Se = Ie;
55584
55589
  continue;
55585
55590
  }
55586
55591
  if (Ie >= 97 ? ze = Ie - 97 + 10 : Ie >= 65 ? ze = Ie - 65 + 10 : Ie >= 48 && Ie <= 57 ? ze = Ie - 48 : ze = 1 / 0, ze >= A)
@@ -55607,8 +55612,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55607
55612
  z && this.strict && this.raise(B, "Invalid number");
55608
55613
  var K = this.input.charCodeAt(this.pos);
55609
55614
  if (!z && !A && this.options.ecmaVersion >= 11 && K === 110) {
55610
- var ne = vr(this.input.slice(B, this.pos));
55611
- return ++this.pos, T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(I.num, ne);
55615
+ var te = vr(this.input.slice(B, this.pos));
55616
+ return ++this.pos, T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number"), this.finishToken(I.num, te);
55612
55617
  }
55613
55618
  z && /[89]/.test(this.input.slice(B, this.pos)) && (z = !1), K === 46 && !z && (++this.pos, this.readInt(10), K = this.input.charCodeAt(this.pos)), (K === 69 || K === 101) && !z && (K = this.input.charCodeAt(++this.pos), (K === 43 || K === 45) && ++this.pos, this.readInt(10) === null && this.raise(B, "Invalid number")), T(this.fullCharCodeAtPos()) && this.raise(this.pos, "Identifier directly after number");
55614
55619
  var me = Ur(this.input.slice(B, this.pos), z);
@@ -55726,8 +55731,8 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55726
55731
  }
55727
55732
  default:
55728
55733
  if (B >= 48 && B <= 55) {
55729
- var K = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], ne = parseInt(K, 8);
55730
- return ne > 255 && (K = K.slice(0, -1), ne = parseInt(K, 8)), this.pos += K.length - 1, B = this.input.charCodeAt(this.pos), (K !== "0" || B === 56 || B === 57) && (this.strict || A) && this.invalidStringToken(this.pos - 1 - K.length, A ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(ne);
55734
+ var K = this.input.substr(this.pos - 1, 3).match(/^[0-7]+/)[0], te = parseInt(K, 8);
55735
+ return te > 255 && (K = K.slice(0, -1), te = parseInt(K, 8)), this.pos += K.length - 1, B = this.input.charCodeAt(this.pos), (K !== "0" || B === 56 || B === 57) && (this.strict || A) && this.invalidStringToken(this.pos - 1 - K.length, A ? "Octal literal in template string" : "Octal literal in strict mode"), String.fromCharCode(te);
55731
55736
  }
55732
55737
  return j(B) ? (this.options.locations && (this.lineStart = this.pos, ++this.curLine), "") : String.fromCharCode(B);
55733
55738
  }
@@ -55737,10 +55742,10 @@ Defaulting to 2020, but this will stop working in the future.`)), B.ecmaVersion
55737
55742
  }, Oe.readWord1 = function() {
55738
55743
  this.containsEsc = !1;
55739
55744
  for (var A = "", B = !0, z = this.pos, K = this.options.ecmaVersion >= 6; this.pos < this.input.length; ) {
55740
- var ne = this.fullCharCodeAtPos();
55741
- if (E(ne, K))
55742
- this.pos += ne <= 65535 ? 1 : 2;
55743
- else if (ne === 92) {
55745
+ var te = this.fullCharCodeAtPos();
55746
+ if (E(te, K))
55747
+ this.pos += te <= 65535 ? 1 : 2;
55748
+ else if (te === 92) {
55744
55749
  this.containsEsc = !0, A += this.input.slice(z, this.pos);
55745
55750
  var me = this.pos;
55746
55751
  this.input.charCodeAt(++this.pos) !== 117 && this.invalidStringToken(this.pos, "Expecting Unicode escape sequence \\uXXXX"), ++this.pos;
@@ -59214,8 +59219,8 @@ function ProductCard({
59214
59219
  syncToShopifyAction: p,
59215
59220
  isSyncToShopifyActionLoading: m = !1
59216
59221
  }) {
59217
- var Q, Z, ae, se, he, pe, ue, ve, de, ye, fe;
59218
- const [g, b] = useState(1), [_, S] = useState(null), [T, E] = useState(0), [C, R] = useState(!1), N = ((Q = e == null ? void 0 : e.Distribution) == null ? void 0 : Q.Cost) || 0, O = ((Z = e == null ? void 0 : e.Distribution) == null ? void 0 : Z.RegularPrice) || 0, V = ((ae = e == null ? void 0 : e.Distribution) == null ? void 0 : ae.Price) || 0;
59222
+ var Q, Z, ne, se, he, pe, ue, xe, de, ye, fe;
59223
+ const [g, b] = useState(1), [_, S] = useState(null), [T, E] = useState(0), [C, R] = useState(!1), N = ((Q = e == null ? void 0 : e.Distribution) == null ? void 0 : Q.Cost) || 0, O = ((Z = e == null ? void 0 : e.Distribution) == null ? void 0 : Z.RegularPrice) || 0, V = ((ne = e == null ? void 0 : e.Distribution) == null ? void 0 : ne.Price) || 0;
59219
59224
  useEffect(() => {
59220
59225
  b(1), S(null), E(0), R(!1);
59221
59226
  }, [e == null ? void 0 : e.RandmarSKU]);
@@ -59229,8 +59234,8 @@ function ProductCard({
59229
59234
  `https://api.randmar.io/V4/Partner/${e.ManufacturerId}/Account/Logo?width=60&height=40`
59230
59235
  );
59231
59236
  if (ce.ok) {
59232
- const te = await ce.blob();
59233
- I(URL.createObjectURL(te));
59237
+ const ae = await ce.blob();
59238
+ I(URL.createObjectURL(ae));
59234
59239
  }
59235
59240
  } catch (ce) {
59236
59241
  console.error("Failed to load logo:", ce);
@@ -59243,7 +59248,7 @@ function ProductCard({
59243
59248
  }, [e == null ? void 0 : e.ManufacturerId]), useEffect(() => {
59244
59249
  var le;
59245
59250
  if (e && l) {
59246
- const ce = (le = e.Opportunities) == null ? void 0 : le.find((te) => te.BidNumber == l);
59251
+ const ce = (le = e.Opportunities) == null ? void 0 : le.find((ae) => ae.BidNumber == l);
59247
59252
  ce && S(ce);
59248
59253
  }
59249
59254
  }, [e, l]), useEffect(() => {
@@ -59471,7 +59476,7 @@ function ProductCard({
59471
59476
  /* @__PURE__ */ jsx("div", { className: "flex flex-1", children: F && e.Distribution && /* @__PURE__ */ jsxs("div", { className: "w-full", children: [
59472
59477
  /* @__PURE__ */ jsx("div", { className: "flex items-center", children: "You have " + q.length + (q.length > 1 ? " opportunities" : " opportunity") + " for this product:" }),
59473
59478
  /* @__PURE__ */ jsx("div", { className: "space-y-2 max-h-[200px] overflow-y-auto p-2 mt-1", children: q.map((le, ce) => {
59474
- var te;
59479
+ var ae;
59475
59480
  return /* @__PURE__ */ jsxs(
59476
59481
  "div",
59477
59482
  {
@@ -59495,7 +59500,7 @@ function ProductCard({
59495
59500
  /* @__PURE__ */ jsxs("div", { className: "flex flex-col items-end", children: [
59496
59501
  /* @__PURE__ */ jsxs("span", { className: "font-semibold", children: [
59497
59502
  "$",
59498
- (te = le.Price) == null ? void 0 : te.toFixed(2)
59503
+ (ae = le.Price) == null ? void 0 : ae.toFixed(2)
59499
59504
  ] }),
59500
59505
  le.Rebate && le.Rebate > 0 && /* @__PURE__ */ jsxs("span", { className: "text-xs text-green-600", children: [
59501
59506
  "Rebate: $",
@@ -59517,7 +59522,7 @@ function ProductCard({
59517
59522
  /* @__PURE__ */ jsx(Eye, { className: "mr-2" }),
59518
59523
  "View Product"
59519
59524
  ] }) }),
59520
- ((ve = e.Distribution) == null ? void 0 : ve.Inventory) && /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsxs(Dialog, { open: C, onOpenChange: R, children: [
59525
+ ((xe = e.Distribution) == null ? void 0 : xe.Inventory) && /* @__PURE__ */ jsx("div", { className: "mt-4", children: /* @__PURE__ */ jsxs(Dialog, { open: C, onOpenChange: R, children: [
59521
59526
  /* @__PURE__ */ jsx(DialogTrigger, { asChild: !0, children: /* @__PURE__ */ jsxs(
59522
59527
  Button,
59523
59528
  {
@@ -60040,9 +60045,9 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60040
60045
  }, [O]), useFocusGuards();
60041
60046
  const ee = React.useCallback(
60042
60047
  (de) => {
60043
- const [ye, ...fe] = H().map((te) => te.ref.current), [le] = fe.slice(-1), ce = document.activeElement;
60044
- for (const te of de)
60045
- if (te === ce || (te == null || te.scrollIntoView({ block: "nearest" }), te === ye && M && (M.scrollTop = 0), te === le && M && (M.scrollTop = M.scrollHeight), te == null || te.focus(), document.activeElement !== ce)) return;
60048
+ const [ye, ...fe] = H().map((ae) => ae.ref.current), [le] = fe.slice(-1), ce = document.activeElement;
60049
+ for (const ae of de)
60050
+ if (ae === ce || (ae == null || ae.scrollIntoView({ block: "nearest" }), ae === ye && M && (M.scrollTop = 0), ae === le && M && (M.scrollTop = M.scrollHeight), ae == null || ae.focus(), document.activeElement !== ce)) return;
60046
60051
  },
60047
60052
  [H, M]
60048
60053
  ), ie = React.useCallback(
@@ -60057,10 +60062,10 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60057
60062
  if (O) {
60058
60063
  let de = { x: 0, y: 0 };
60059
60064
  const ye = (le) => {
60060
- var ce, te;
60065
+ var ce, ae;
60061
60066
  de = {
60062
60067
  x: Math.abs(Math.round(le.pageX) - (((ce = Q.current) == null ? void 0 : ce.x) ?? 0)),
60063
- y: Math.abs(Math.round(le.pageY) - (((te = Q.current) == null ? void 0 : te.y) ?? 0))
60068
+ y: Math.abs(Math.round(le.pageY) - (((ae = Q.current) == null ? void 0 : ae.y) ?? 0))
60064
60069
  };
60065
60070
  }, fe = (le) => {
60066
60071
  de.x <= 10 && de.y <= 10 ? le.preventDefault() : O.contains(le.target) || W(!1), document.removeEventListener("pointermove", ye), Q.current = null;
@@ -60075,7 +60080,7 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60075
60080
  window.removeEventListener("blur", de), window.removeEventListener("resize", de);
60076
60081
  };
60077
60082
  }, [W]);
60078
- const [Z, ae] = useTypeaheadSearch((de) => {
60083
+ const [Z, ne] = useTypeaheadSearch((de) => {
60079
60084
  const ye = H().filter((ce) => !ce.disabled), fe = ye.find((ce) => ce.ref.current === document.activeElement), le = findNextItem(ye, de, fe);
60080
60085
  le && setTimeout(() => le.ref.current.focus());
60081
60086
  }), se = React.useCallback(
@@ -60090,7 +60095,7 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60090
60095
  (N.value !== void 0 && N.value === ye || le) && F(de);
60091
60096
  },
60092
60097
  [N.value]
60093
- ), ue = o === "popper" ? SelectPopperPosition : SelectItemAlignedPosition, ve = ue === SelectPopperPosition ? {
60098
+ ), ue = o === "popper" ? SelectPopperPosition : SelectItemAlignedPosition, xe = ue === SelectPopperPosition ? {
60094
60099
  side: f,
60095
60100
  sideOffset: p,
60096
60101
  align: m,
@@ -60148,7 +60153,7 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60148
60153
  dir: N.dir,
60149
60154
  onContextMenu: (de) => de.preventDefault(),
60150
60155
  ...R,
60151
- ...ve,
60156
+ ...xe,
60152
60157
  onPlaced: () => G(!0),
60153
60158
  ref: D,
60154
60159
  style: {
@@ -60161,11 +60166,11 @@ var CONTENT_MARGIN = 10, [SelectContentProvider, useSelectContentContext] = crea
60161
60166
  },
60162
60167
  onKeyDown: composeEventHandlers(R.onKeyDown, (de) => {
60163
60168
  const ye = de.ctrlKey || de.altKey || de.metaKey;
60164
- if (de.key === "Tab" && de.preventDefault(), !ye && de.key.length === 1 && ae(de.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(de.key)) {
60169
+ if (de.key === "Tab" && de.preventDefault(), !ye && de.key.length === 1 && ne(de.key), ["ArrowUp", "ArrowDown", "Home", "End"].includes(de.key)) {
60165
60170
  let le = H().filter((ce) => !ce.disabled).map((ce) => ce.ref.current);
60166
60171
  if (["ArrowUp", "End"].includes(de.key) && (le = le.slice().reverse()), ["ArrowUp", "ArrowDown"].includes(de.key)) {
60167
- const ce = de.target, te = le.indexOf(ce);
60168
- le = le.slice(te + 1);
60172
+ const ce = de.target, ae = le.indexOf(ce);
60173
+ le = le.slice(ae + 1);
60169
60174
  }
60170
60175
  setTimeout(() => ee(le)), de.preventDefault();
60171
60176
  }
@@ -60186,42 +60191,42 @@ var ITEM_ALIGNED_POSITION_NAME = "SelectItemAlignedPosition", SelectItemAlignedP
60186
60191
  if (u.trigger && u.valueNode && f && m && E && C && R) {
60187
60192
  const D = u.trigger.getBoundingClientRect(), L = m.getBoundingClientRect(), j = u.valueNode.getBoundingClientRect(), q = R.getBoundingClientRect();
60188
60193
  if (u.dir !== "rtl") {
60189
- const ce = q.left - L.left, te = j.left - ce, be = D.left - te, oe = D.width + be, xe = Math.max(oe, L.width), _e = window.innerWidth - CONTENT_MARGIN, Pe = clamp(te, [
60194
+ const ce = q.left - L.left, ae = j.left - ce, ve = D.left - ae, oe = D.width + ve, be = Math.max(oe, L.width), _e = window.innerWidth - CONTENT_MARGIN, Pe = clamp(ae, [
60190
60195
  CONTENT_MARGIN,
60191
60196
  // Prevents the content from going off the starting edge of the
60192
60197
  // viewport. It may still go off the ending edge, but this can be
60193
60198
  // controlled by the user since they may want to manage overflow in a
60194
60199
  // specific way.
60195
60200
  // https://github.com/radix-ui/primitives/issues/2049
60196
- Math.max(CONTENT_MARGIN, _e - xe)
60201
+ Math.max(CONTENT_MARGIN, _e - be)
60197
60202
  ]);
60198
60203
  f.style.minWidth = oe + "px", f.style.left = Pe + "px";
60199
60204
  } else {
60200
- const ce = L.right - q.right, te = window.innerWidth - j.right - ce, be = window.innerWidth - D.right - te, oe = D.width + be, xe = Math.max(oe, L.width), _e = window.innerWidth - CONTENT_MARGIN, Pe = clamp(te, [
60205
+ const ce = L.right - q.right, ae = window.innerWidth - j.right - ce, ve = window.innerWidth - D.right - ae, oe = D.width + ve, be = Math.max(oe, L.width), _e = window.innerWidth - CONTENT_MARGIN, Pe = clamp(ae, [
60201
60206
  CONTENT_MARGIN,
60202
- Math.max(CONTENT_MARGIN, _e - xe)
60207
+ Math.max(CONTENT_MARGIN, _e - be)
60203
60208
  ]);
60204
60209
  f.style.minWidth = oe + "px", f.style.right = Pe + "px";
60205
60210
  }
60206
- const F = _(), H = window.innerHeight - CONTENT_MARGIN * 2, U = E.scrollHeight, G = window.getComputedStyle(m), J = parseInt(G.borderTopWidth, 10), ee = parseInt(G.paddingTop, 10), ie = parseInt(G.borderBottomWidth, 10), W = parseInt(G.paddingBottom, 10), Q = J + ee + U + W + ie, Z = Math.min(C.offsetHeight * 5, Q), ae = window.getComputedStyle(E), se = parseInt(ae.paddingTop, 10), he = parseInt(ae.paddingBottom, 10), pe = D.top + D.height / 2 - CONTENT_MARGIN, ue = H - pe, ve = C.offsetHeight / 2, de = C.offsetTop + ve, ye = J + ee + de, fe = Q - ye;
60211
+ const F = _(), H = window.innerHeight - CONTENT_MARGIN * 2, U = E.scrollHeight, G = window.getComputedStyle(m), J = parseInt(G.borderTopWidth, 10), ee = parseInt(G.paddingTop, 10), ie = parseInt(G.borderBottomWidth, 10), W = parseInt(G.paddingBottom, 10), Q = J + ee + U + W + ie, Z = Math.min(C.offsetHeight * 5, Q), ne = window.getComputedStyle(E), se = parseInt(ne.paddingTop, 10), he = parseInt(ne.paddingBottom, 10), pe = D.top + D.height / 2 - CONTENT_MARGIN, ue = H - pe, xe = C.offsetHeight / 2, de = C.offsetTop + xe, ye = J + ee + de, fe = Q - ye;
60207
60212
  if (ye <= pe) {
60208
60213
  const ce = F.length > 0 && C === F[F.length - 1].ref.current;
60209
60214
  f.style.bottom = "0px";
60210
- const te = m.clientHeight - E.offsetTop - E.offsetHeight, be = Math.max(
60215
+ const ae = m.clientHeight - E.offsetTop - E.offsetHeight, ve = Math.max(
60211
60216
  ue,
60212
- ve + // viewport might have padding bottom, include it to avoid a scrollable viewport
60213
- (ce ? he : 0) + te + ie
60214
- ), oe = ye + be;
60217
+ xe + // viewport might have padding bottom, include it to avoid a scrollable viewport
60218
+ (ce ? he : 0) + ae + ie
60219
+ ), oe = ye + ve;
60215
60220
  f.style.height = oe + "px";
60216
60221
  } else {
60217
60222
  const ce = F.length > 0 && C === F[0].ref.current;
60218
60223
  f.style.top = "0px";
60219
- const be = Math.max(
60224
+ const ve = Math.max(
60220
60225
  pe,
60221
60226
  J + E.offsetTop + // viewport might have padding top, include it to avoid a scrollable viewport
60222
- (ce ? se : 0) + ve
60227
+ (ce ? se : 0) + xe
60223
60228
  ) + fe;
60224
- f.style.height = be + "px", E.scrollTop = ye - pe + E.offsetTop;
60229
+ f.style.height = ve + "px", E.scrollTop = ye - pe + E.offsetTop;
60225
60230
  }
60226
60231
  f.style.margin = `${CONTENT_MARGIN}px 0`, f.style.minHeight = Z + "px", f.style.maxHeight = H + "px", o == null || o(), requestAnimationFrame(() => S.current = !0);
60227
60232
  }
@@ -61517,18 +61522,18 @@ function ManufacturerGetStartedButton({
61517
61522
  n && n(e, { qualificationId: p });
61518
61523
  }, J = (Z) => {
61519
61524
  Z.preventDefault(), E(""), O(""), j("");
61520
- let ae = !1;
61521
- _.trim().length < 10 && (E("Please provide a brief description of your business (minimum 10 characters)"), ae = !0), C.length === 0 && (O("Please select at least one sales channel"), ae = !0), I.length === 0 && (j("Please select at least one market"), ae = !0), !ae && o && o(e, {
61525
+ let ne = !1;
61526
+ _.trim().length < 10 && (E("Please provide a brief description of your business (minimum 10 characters)"), ne = !0), C.length === 0 && (O("Please select at least one sales channel"), ne = !0), I.length === 0 && (j("Please select at least one market"), ne = !0), !ne && o && o(e, {
61522
61527
  businessDescription: _,
61523
61528
  salesChannels: C,
61524
61529
  otherSalesChannel: V,
61525
61530
  markets: I,
61526
61531
  otherMarket: q
61527
61532
  });
61528
- }, ee = (Z, ae) => {
61529
- R(ae ? [...C, Z] : C.filter((se) => se !== Z));
61530
- }, ie = (Z, ae) => {
61531
- D(ae ? [...I, Z] : I.filter((se) => se !== Z));
61533
+ }, ee = (Z, ne) => {
61534
+ R(ne ? [...C, Z] : C.filter((se) => se !== Z));
61535
+ }, ie = (Z, ne) => {
61536
+ D(ne ? [...I, Z] : I.filter((se) => se !== Z));
61532
61537
  };
61533
61538
  useEffect(() => {
61534
61539
  H.current === !0 && t === !1 && (l && (u(!1), m(""), b("")), d && (f(!1), S(""), E(""), R([]), O(""), M(""), D([]), j(""), F(""))), H.current = t;
@@ -61611,8 +61616,8 @@ function ManufacturerGetStartedButton({
61611
61616
  {
61612
61617
  id: `channel-${Z.id}`,
61613
61618
  checked: C.includes(Z.id),
61614
- onCheckedChange: (ae) => {
61615
- ee(Z.id, ae === !0), O("");
61619
+ onCheckedChange: (ne) => {
61620
+ ee(Z.id, ne === !0), O("");
61616
61621
  }
61617
61622
  }
61618
61623
  ),
@@ -61640,8 +61645,8 @@ function ManufacturerGetStartedButton({
61640
61645
  {
61641
61646
  id: `market-${Z.id}`,
61642
61647
  checked: I.includes(Z.id),
61643
- onCheckedChange: (ae) => {
61644
- ie(Z.id, ae === !0), j("");
61648
+ onCheckedChange: (ne) => {
61649
+ ie(Z.id, ne === !0), j("");
61645
61650
  }
61646
61651
  }
61647
61652
  ),