@fileverse-dev/ddoc 2.1.0-patch-9 → 2.1.0-patch-11

Sign up to get free protection for your applications and to get access to all the features.
package/dist/index.es.js CHANGED
@@ -4,10 +4,10 @@ var WN = (t) => {
4
4
  };
5
5
  var Qse = (t, e, n) => e in t ? Jse(t, e, { enumerable: !0, configurable: !0, writable: !0, value: n }) : t[e] = n;
6
6
  var pe = (t, e, n) => Qse(t, typeof e != "symbol" ? e + "" : e, n), u7 = (t, e, n) => e.has(t) || WN("Cannot " + n);
7
- var z = (t, e, n) => (u7(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ke = (t, e, n) => e.has(t) ? WN("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), Y = (t, e, n, r) => (u7(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ze = (t, e, n) => (u7(t, e, "access private method"), n);
7
+ var z = (t, e, n) => (u7(t, e, "read from private field"), n ? n.call(t) : e.get(t)), ke = (t, e, n) => e.has(t) ? WN("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, n), K = (t, e, n, r) => (u7(t, e, "write to private field"), r ? r.call(t, n) : e.set(t, n), n), Ze = (t, e, n) => (u7(t, e, "access private method"), n);
8
8
  var op = (t, e, n, r) => ({
9
9
  set _(i) {
10
- Y(t, e, i, n);
10
+ K(t, e, i, n);
11
11
  },
12
12
  get _() {
13
13
  return z(t, e, r);
@@ -102,7 +102,7 @@ function noe() {
102
102
  function H(O) {
103
103
  return O.displayName || "Context";
104
104
  }
105
- function W(O) {
105
+ function G(O) {
106
106
  if (O == null)
107
107
  return null;
108
108
  if (typeof O.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
@@ -135,11 +135,11 @@ function noe() {
135
135
  return R(O, O.render, "ForwardRef");
136
136
  case f:
137
137
  var He = O.displayName || null;
138
- return He !== null ? He : W(O.type) || "Memo";
138
+ return He !== null ? He : G(O.type) || "Memo";
139
139
  case d: {
140
140
  var ut = O, ht = ut._payload, it = ut._init;
141
141
  try {
142
- return W(it(ht));
142
+ return G(it(ht));
143
143
  } catch {
144
144
  return null;
145
145
  }
@@ -147,14 +147,14 @@ function noe() {
147
147
  }
148
148
  return null;
149
149
  }
150
- var U = Object.assign, V = 0, K, Z, te, G, re, he, ie;
150
+ var U = Object.assign, V = 0, Z, Y, te, W, re, he, ie;
151
151
  function me() {
152
152
  }
153
153
  me.__reactDisabledLog = !0;
154
154
  function be() {
155
155
  {
156
156
  if (V === 0) {
157
- K = console.log, Z = console.info, te = console.warn, G = console.error, re = console.group, he = console.groupCollapsed, ie = console.groupEnd;
157
+ Z = console.log, Y = console.info, te = console.warn, W = console.error, re = console.group, he = console.groupCollapsed, ie = console.groupEnd;
158
158
  var O = {
159
159
  configurable: !0,
160
160
  enumerable: !0,
@@ -184,16 +184,16 @@ function noe() {
184
184
  };
185
185
  Object.defineProperties(console, {
186
186
  log: U({}, O, {
187
- value: K
187
+ value: Z
188
188
  }),
189
189
  info: U({}, O, {
190
- value: Z
190
+ value: Y
191
191
  }),
192
192
  warn: U({}, O, {
193
193
  value: te
194
194
  }),
195
195
  error: U({}, O, {
196
- value: G
196
+ value: W
197
197
  }),
198
198
  group: U({}, O, {
199
199
  value: re
@@ -411,8 +411,8 @@ function noe() {
411
411
  }
412
412
  function Me(O, ae) {
413
413
  if (typeof O.ref == "string" && Fe.current && ae && Fe.current.stateNode !== ae) {
414
- var Ae = W(Fe.current.type);
415
- en[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(Fe.current.type), O.ref), en[Ae] = !0);
414
+ var Ae = G(Fe.current.type);
415
+ en[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Fe.current.type), O.ref), en[Ae] = !0);
416
416
  }
417
417
  }
418
418
  function Je(O, ae) {
@@ -500,7 +500,7 @@ function noe() {
500
500
  function bn() {
501
501
  {
502
502
  if ($e.current) {
503
- var O = W($e.current.type);
503
+ var O = G($e.current.type);
504
504
  if (O)
505
505
  return `
506
506
 
@@ -535,7 +535,7 @@ Check the top-level render call using <` + Ae + ">.");
535
535
  return;
536
536
  kn[Ae] = !0;
537
537
  var He = "";
538
- O && O._owner && O._owner !== $e.current && (He = " It was passed a child from " + W(O._owner.type) + "."), St(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, He), St(null);
538
+ O && O._owner && O._owner !== $e.current && (He = " It was passed a child from " + G(O._owner.type) + "."), St(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, He), St(null);
539
539
  }
540
540
  }
541
541
  function Xn(O, ae) {
@@ -572,11 +572,11 @@ Check the top-level render call using <` + Ae + ">.");
572
572
  else
573
573
  return;
574
574
  if (Ae) {
575
- var He = W(ae);
575
+ var He = G(ae);
576
576
  M(Ae, O.props, "prop", He, O);
577
577
  } else if (ae.PropTypes !== void 0 && !Mt) {
578
578
  Mt = !0;
579
- var ut = W(ae);
579
+ var ut = G(ae);
580
580
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
581
581
  }
582
582
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -604,7 +604,7 @@ Check the top-level render call using <` + Ae + ">.");
604
604
  var ne = Ot();
605
605
  ne ? Le += ne : Le += bn();
606
606
  var Se;
607
- O === null ? Se = "null" : B(O) ? Se = "array" : O !== void 0 && O.$$typeof === e ? (Se = "<" + (W(O.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
607
+ O === null ? Se = "null" : B(O) ? Se = "array" : O !== void 0 && O.$$typeof === e ? (Se = "<" + (G(O.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
608
608
  }
609
609
  var Oe = Rt(O, ae, Ae, ut, ht);
610
610
  if (Oe == null)
@@ -623,7 +623,7 @@ Check the top-level render call using <` + Ae + ">.");
623
623
  Xn(Nt, O);
624
624
  }
625
625
  if (le.call(ae, "key")) {
626
- var ln = W(O), zt = Object.keys(ae).filter(function(Mr) {
626
+ var ln = G(O), zt = Object.keys(ae).filter(function(Mr) {
627
627
  return Mr !== "key";
628
628
  }), Nr = zt.length > 0 ? "{key: someKey, " + zt.join(": ..., ") + ": ...}" : "{key: someKey}";
629
629
  if (!aa[ln + Nr]) {
@@ -13058,8 +13058,8 @@ function nj(t) {
13058
13058
  y: m
13059
13059
  };
13060
13060
  if (h = H.x, m = H.y, l) {
13061
- var W;
13062
- return Object.assign({}, R, (W = {}, W[w] = k ? "0" : "", W[b] = v ? "0" : "", W.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", W));
13061
+ var G;
13062
+ return Object.assign({}, R, (G = {}, G[w] = k ? "0" : "", G[b] = v ? "0" : "", G.transform = (x.devicePixelRatio || 1) <= 1 ? "translate(" + h + "px, " + m + "px)" : "translate3d(" + h + "px, " + m + "px, 0)", G));
13063
13063
  }
13064
13064
  return Object.assign({}, R, (e = {}, e[w] = k ? m + "px" : "", e[b] = v ? h + "px" : "", e.transform = "", e));
13065
13065
  }
@@ -13274,9 +13274,9 @@ function Rm(t, e) {
13274
13274
  }, R = t.modifiersData.offset;
13275
13275
  if (d === up && R) {
13276
13276
  var H = R[i];
13277
- Object.keys(D).forEach(function(W) {
13278
- var U = [yo, mo].indexOf(W) >= 0 ? 1 : -1, V = [ts, mo].indexOf(W) >= 0 ? "y" : "x";
13279
- D[W] += H[V] * U;
13277
+ Object.keys(D).forEach(function(G) {
13278
+ var U = [yo, mo].indexOf(G) >= 0 ? 1 : -1, V = [ts, mo].indexOf(G) >= 0 ? "y" : "x";
13279
+ D[G] += H[V] * U;
13280
13280
  });
13281
13281
  }
13282
13282
  return D;
@@ -13320,22 +13320,22 @@ function j0e(t) {
13320
13320
  allowedAutoPlacements: m
13321
13321
  }) : ye);
13322
13322
  }, []), x = e.rects.reference, A = e.rects.popper, E = /* @__PURE__ */ new Map(), L = !0, N = w[0], D = 0; D < w.length; D++) {
13323
- var R = w[D], H = Oa(R), W = Wh(R) === qh, U = [ts, mo].indexOf(H) >= 0, V = U ? "width" : "height", K = Rm(e, {
13323
+ var R = w[D], H = Oa(R), G = Wh(R) === qh, U = [ts, mo].indexOf(H) >= 0, V = U ? "width" : "height", Z = Rm(e, {
13324
13324
  placement: R,
13325
13325
  boundary: u,
13326
13326
  rootBoundary: f,
13327
13327
  altBoundary: d,
13328
13328
  padding: c
13329
- }), Z = U ? W ? yo : ns : W ? mo : ts;
13330
- x[V] > A[V] && (Z = B3(Z));
13331
- var te = B3(Z), G = [];
13332
- if (s && G.push(K[H] <= 0), a && G.push(K[Z] <= 0, K[te] <= 0), G.every(function(be) {
13329
+ }), Y = U ? G ? yo : ns : G ? mo : ts;
13330
+ x[V] > A[V] && (Y = B3(Y));
13331
+ var te = B3(Y), W = [];
13332
+ if (s && W.push(Z[H] <= 0), a && W.push(Z[Y] <= 0, Z[te] <= 0), W.every(function(be) {
13333
13333
  return be;
13334
13334
  })) {
13335
13335
  N = R, L = !1;
13336
13336
  break;
13337
13337
  }
13338
- E.set(R, G);
13338
+ E.set(R, W);
13339
13339
  }
13340
13340
  if (L)
13341
13341
  for (var re = p ? 3 : 1, he = function(ye) {
@@ -13468,11 +13468,11 @@ function V0e(t) {
13468
13468
  };
13469
13469
  if (A) {
13470
13470
  if (s) {
13471
- var W, U = w === "y" ? ts : ns, V = w === "y" ? mo : yo, K = w === "y" ? "height" : "width", Z = A[w], te = Z + y[U], G = Z - y[V], re = h ? -L[K] / 2 : 0, he = k === qh ? E[K] : L[K], ie = k === qh ? -L[K] : -E[K], me = e.elements.arrow, be = h && me ? HA(me) : {
13471
+ var G, U = w === "y" ? ts : ns, V = w === "y" ? mo : yo, Z = w === "y" ? "height" : "width", Y = A[w], te = Y + y[U], W = Y - y[V], re = h ? -L[Z] / 2 : 0, he = k === qh ? E[Z] : L[Z], ie = k === qh ? -L[Z] : -E[Z], me = e.elements.arrow, be = h && me ? HA(me) : {
13472
13472
  width: 0,
13473
13473
  height: 0
13474
- }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qV(), J = ye[U], ge = ye[V], we = Xp(0, E[K], be[K]), Ve = b ? E[K] / 2 - re - we - J - D.mainAxis : he - we - J - D.mainAxis, Re = b ? -E[K] / 2 + re + we + ge + D.mainAxis : ie + we + ge + D.mainAxis, Ce = e.elements.arrow && dy(e.elements.arrow), Ee = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, Te = (W = R == null ? void 0 : R[w]) != null ? W : 0, ce = Z + Ve - Te - Ee, X = Z + Re - Te, le = Xp(h ? B6(te, ce) : te, Z, h ? H1(G, X) : G);
13475
- A[w] = le, H[w] = le - Z;
13474
+ }, ye = e.modifiersData["arrow#persistent"] ? e.modifiersData["arrow#persistent"].padding : qV(), J = ye[U], ge = ye[V], we = Xp(0, E[Z], be[Z]), Ve = b ? E[Z] / 2 - re - we - J - D.mainAxis : he - we - J - D.mainAxis, Re = b ? -E[Z] / 2 + re + we + ge + D.mainAxis : ie + we + ge + D.mainAxis, Ce = e.elements.arrow && dy(e.elements.arrow), Ee = Ce ? w === "y" ? Ce.clientTop || 0 : Ce.clientLeft || 0 : 0, Te = (G = R == null ? void 0 : R[w]) != null ? G : 0, ce = Y + Ve - Te - Ee, X = Y + Re - Te, le = Xp(h ? B6(te, ce) : te, Y, h ? H1(W, X) : W);
13475
+ A[w] = le, H[w] = le - Y;
13476
13476
  }
13477
13477
  if (a) {
13478
13478
  var se, De = w === "x" ? ts : ns, q = w === "x" ? mo : yo, M = A[x], I = x === "y" ? "height" : "width", B = M + y[De], ee = M - y[q], de = [ts, ns].indexOf(v) !== -1, oe = (se = R == null ? void 0 : R[x]) != null ? se : 0, Ie = de ? B : M - E[I] - L[I] - oe + D.altAxis, Fe = de ? M + E[I] + L[I] - oe - D.altAxis : ee, We = h && de ? d0e(Ie, M, Fe) : Xp(h ? Ie : B, M, h ? Fe : ee);
@@ -14082,7 +14082,7 @@ function E1e(t, e) {
14082
14082
  var L = k.map(function(Me) {
14083
14083
  return Me.fn(w);
14084
14084
  }), N = t.hasAttribute("aria-expanded");
14085
- return Ce(), re(), Z(), te("onCreate", [w]), n.showOnCreate && B(), A.addEventListener("mouseenter", function() {
14085
+ return Ce(), re(), Y(), te("onCreate", [w]), n.showOnCreate && B(), A.addEventListener("mouseenter", function() {
14086
14086
  w.props.interactive && w.state.isVisible && w.clearDelayTimeouts();
14087
14087
  }), A.addEventListener("mouseleave", function() {
14088
14088
  w.props.interactive && w.props.trigger.indexOf("mouseenter") >= 0 && U().addEventListener("mousemove", p);
@@ -14098,20 +14098,20 @@ function E1e(t, e) {
14098
14098
  var Me;
14099
14099
  return !!((Me = w.props.render) != null && Me.$$tippy);
14100
14100
  }
14101
- function W() {
14101
+ function G() {
14102
14102
  return m || t;
14103
14103
  }
14104
14104
  function U() {
14105
- var Me = W().parentNode;
14105
+ var Me = G().parentNode;
14106
14106
  return Me ? d1e(Me) : document;
14107
14107
  }
14108
14108
  function V() {
14109
14109
  return rx(A);
14110
14110
  }
14111
- function K(Me) {
14111
+ function Z(Me) {
14112
14112
  return w.state.isMounted && !w.state.isVisible || Ma.isTouch || u && u.type === "focus" ? 0 : E7(w.props.delay, Me ? 0 : 1, Ss.delay);
14113
14113
  }
14114
- function Z(Me) {
14114
+ function Y(Me) {
14115
14115
  Me === void 0 && (Me = !1), A.style.pointerEvents = w.props.interactive && !Me ? "" : "none", A.style.zIndex = "" + w.props.zIndex;
14116
14116
  }
14117
14117
  function te(Me, Je, at) {
@@ -14122,7 +14122,7 @@ function E1e(t, e) {
14122
14122
  (Vt = w.props)[Me].apply(Vt, Je);
14123
14123
  }
14124
14124
  }
14125
- function G() {
14125
+ function W() {
14126
14126
  var Me = w.props.aria;
14127
14127
  if (Me.content) {
14128
14128
  var Je = "aria-" + Me.content, at = A.id, Vt = id(w.props.triggerTarget || t);
@@ -14141,7 +14141,7 @@ function E1e(t, e) {
14141
14141
  if (!(N || !w.props.aria.expanded)) {
14142
14142
  var Me = id(w.props.triggerTarget || t);
14143
14143
  Me.forEach(function(Je) {
14144
- w.props.interactive ? Je.setAttribute("aria-expanded", w.state.isVisible && Je === W() ? "true" : "false") : Je.removeAttribute("aria-expanded");
14144
+ w.props.interactive ? Je.setAttribute("aria-expanded", w.state.isVisible && Je === G() ? "true" : "false") : Je.removeAttribute("aria-expanded");
14145
14145
  });
14146
14146
  }
14147
14147
  }
@@ -14246,7 +14246,7 @@ function E1e(t, e) {
14246
14246
  }
14247
14247
  }
14248
14248
  function ce(Me) {
14249
- var Je = Me.target, at = W().contains(Je) || A.contains(Je);
14249
+ var Je = Me.target, at = G().contains(Je) || A.contains(Je);
14250
14250
  if (!(Me.type === "mousemove" && at)) {
14251
14251
  var Vt = I().concat(A).map(function(Rt) {
14252
14252
  var $e, yt = Rt._tippy, St = ($e = yt.popperInstance) == null ? void 0 : $e.state;
@@ -14270,7 +14270,7 @@ function E1e(t, e) {
14270
14270
  }
14271
14271
  }
14272
14272
  function le(Me) {
14273
- w.props.trigger.indexOf("focusin") < 0 && Me.target !== W() || w.props.interactive && Me.relatedTarget && A.contains(Me.relatedTarget) || ee(Me);
14273
+ w.props.trigger.indexOf("focusin") < 0 && Me.target !== G() || w.props.interactive && Me.relatedTarget && A.contains(Me.relatedTarget) || ee(Me);
14274
14274
  }
14275
14275
  function se(Me) {
14276
14276
  return Ma.isTouch ? R() !== Me.type.indexOf("touch") >= 0 : !1;
@@ -14279,7 +14279,7 @@ function E1e(t, e) {
14279
14279
  q();
14280
14280
  var Me = w.props, Je = Me.popperOptions, at = Me.placement, Vt = Me.offset, Rt = Me.getReferenceClientRect, $e = Me.moveTransition, yt = H() ? rx(A).arrow : null, St = Rt ? {
14281
14281
  getBoundingClientRect: Rt,
14282
- contextElement: Rt.contextElement || W()
14282
+ contextElement: Rt.contextElement || G()
14283
14283
  } : t, Mt = {
14284
14284
  name: "$$tippy",
14285
14285
  enabled: !0,
@@ -14336,7 +14336,7 @@ function E1e(t, e) {
14336
14336
  w.popperInstance && (w.popperInstance.destroy(), w.popperInstance = null);
14337
14337
  }
14338
14338
  function M() {
14339
- var Me = w.props.appendTo, Je, at = W();
14339
+ var Me = w.props.appendTo, Je, at = G();
14340
14340
  w.props.interactive && Me === QV || Me === "parent" ? Je = at.parentNode : Je = XV(Me, [at]), Je.contains(A) || Je.appendChild(A), w.state.isMounted = !0, De(), process.env.NODE_ENV !== "production" && gl(w.props.interactive && Me === Ss.appendTo && at.nextElementSibling !== A, ["Interactive tippy element may not be accessible via keyboard", "navigation because it is not directly after the reference element", "in the DOM source order.", `
14341
14341
 
14342
14342
  `, "Using a wrapper <div> or <span> tag around the reference element", "solves this by creating a new parentNode context.", `
@@ -14350,7 +14350,7 @@ function E1e(t, e) {
14350
14350
  }
14351
14351
  function B(Me) {
14352
14352
  w.clearDelayTimeouts(), Me && te("onTrigger", [w, Me]), ye();
14353
- var Je = K(!0), at = D(), Vt = at[0], Rt = at[1];
14353
+ var Je = Z(!0), at = D(), Vt = at[0], Rt = at[1];
14354
14354
  Ma.isTouch && Vt === "hold" && Rt && (Je = Rt), Je ? r = setTimeout(function() {
14355
14355
  w.show();
14356
14356
  }, Je) : w.show();
@@ -14361,7 +14361,7 @@ function E1e(t, e) {
14361
14361
  return;
14362
14362
  }
14363
14363
  if (!(w.props.trigger.indexOf("mouseenter") >= 0 && w.props.trigger.indexOf("click") >= 0 && ["mouseleave", "mousemove"].indexOf(Me.type) >= 0 && o)) {
14364
- var Je = K(!1);
14364
+ var Je = Z(!1);
14365
14365
  Je ? i = setTimeout(function() {
14366
14366
  w.state.isVisible && w.hide();
14367
14367
  }, Je) : s = requestAnimationFrame(function() {
@@ -14386,7 +14386,7 @@ function E1e(t, e) {
14386
14386
  }));
14387
14387
  w.props = at, Ce(), Je.interactiveDebounce !== at.interactiveDebounce && (he(), p = cj(ce, at.interactiveDebounce)), Je.triggerTarget && !at.triggerTarget ? id(Je.triggerTarget).forEach(function(Vt) {
14388
14388
  Vt.removeAttribute("aria-expanded");
14389
- }) : at.triggerTarget && t.removeAttribute("aria-expanded"), re(), Z(), E && E(Je, at), w.popperInstance && (De(), I().forEach(function(Vt) {
14389
+ }) : at.triggerTarget && t.removeAttribute("aria-expanded"), re(), Y(), E && E(Je, at), w.popperInstance && (De(), I().forEach(function(Vt) {
14390
14390
  requestAnimationFrame(Vt._tippy.popperInstance.forceUpdate);
14391
14391
  })), te("onAfterUpdate", [w, Me]);
14392
14392
  }
@@ -14399,8 +14399,8 @@ function E1e(t, e) {
14399
14399
  function rt() {
14400
14400
  process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Bf("show"));
14401
14401
  var Me = w.state.isVisible, Je = w.state.isDestroyed, at = !w.state.isEnabled, Vt = Ma.isTouch && !w.props.touch, Rt = E7(w.props.duration, 0, Ss.duration);
14402
- if (!(Me || Je || at || Vt) && !W().hasAttribute("disabled") && (te("onShow", [w], !1), w.props.onShow(w) !== !1)) {
14403
- if (w.state.isVisible = !0, H() && (A.style.visibility = "visible"), Z(), ye(), w.state.isMounted || (A.style.transition = "none"), H()) {
14402
+ if (!(Me || Je || at || Vt) && !G().hasAttribute("disabled") && (te("onShow", [w], !1), w.props.onShow(w) !== !1)) {
14403
+ if (w.state.isVisible = !0, H() && (A.style.visibility = "visible"), Y(), ye(), w.state.isMounted || (A.style.transition = "none"), H()) {
14404
14404
  var $e = V(), yt = $e.box, St = $e.content;
14405
14405
  T7([yt, St], 0);
14406
14406
  }
@@ -14411,7 +14411,7 @@ function E1e(t, e) {
14411
14411
  var bn = V(), Ot = bn.box, kn = bn.content;
14412
14412
  T7([Ot, kn], Rt), dj([Ot, kn], "visible");
14413
14413
  }
14414
- G(), re(), uj(D7, w), (qt = w.popperInstance) == null || qt.forceUpdate(), te("onMount", [w]), w.props.animation && H() && we(Rt, function() {
14414
+ W(), re(), uj(D7, w), (qt = w.popperInstance) == null || qt.forceUpdate(), te("onMount", [w]), w.props.animation && H() && we(Rt, function() {
14415
14415
  w.state.isShown = !0, te("onShown", [w]);
14416
14416
  });
14417
14417
  }
@@ -14422,11 +14422,11 @@ function E1e(t, e) {
14422
14422
  process.env.NODE_ENV !== "production" && gl(w.state.isDestroyed, Bf("hide"));
14423
14423
  var Me = !w.state.isVisible, Je = w.state.isDestroyed, at = !w.state.isEnabled, Vt = E7(w.props.duration, 1, Ss.duration);
14424
14424
  if (!(Me || Je || at) && (te("onHide", [w], !1), w.props.onHide(w) !== !1)) {
14425
- if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, o = !1, H() && (A.style.visibility = "hidden"), he(), J(), Z(!0), H()) {
14425
+ if (w.state.isVisible = !1, w.state.isShown = !1, c = !1, o = !1, H() && (A.style.visibility = "hidden"), he(), J(), Y(!0), H()) {
14426
14426
  var Rt = V(), $e = Rt.box, yt = Rt.content;
14427
14427
  w.props.animation && (T7([$e, yt], Vt), dj([$e, yt], "hidden"));
14428
14428
  }
14429
- G(), re(), w.props.animation ? H() && ge(Vt, w.unmount) : w.unmount();
14429
+ W(), re(), w.props.animation ? H() && ge(Vt, w.unmount) : w.unmount();
14430
14430
  }
14431
14431
  }
14432
14432
  function en(Me) {
@@ -14990,19 +14990,19 @@ function V1e() {
14990
14990
  var x = !1, A, E, L = function(H) {
14991
14991
  if (!x) {
14992
14992
  x = !0, A = H;
14993
- var W = h(H);
14993
+ var G = h(H);
14994
14994
  if (p !== void 0 && y.hasValue) {
14995
14995
  var U = y.value;
14996
- if (p(U, W))
14996
+ if (p(U, G))
14997
14997
  return E = U, U;
14998
14998
  }
14999
- return E = W, W;
14999
+ return E = G, G;
15000
15000
  }
15001
- var V = A, K = E;
15001
+ var V = A, Z = E;
15002
15002
  if (r(V, H))
15003
- return K;
15004
- var Z = h(H);
15005
- return p !== void 0 && p(K, Z) ? K : (A = H, E = Z, Z);
15003
+ return Z;
15004
+ var Y = h(H);
15005
+ return p !== void 0 && p(Z, Y) ? Z : (A = H, E = Y, Y);
15006
15006
  }, N = d === void 0 ? null : d, D = function() {
15007
15007
  return L(f());
15008
15008
  }, R = N === null ? void 0 : function() {
@@ -15561,7 +15561,7 @@ function tfe() {
15561
15561
  function H(O) {
15562
15562
  return O.displayName || "Context";
15563
15563
  }
15564
- function W(O) {
15564
+ function G(O) {
15565
15565
  if (O == null)
15566
15566
  return null;
15567
15567
  if (typeof O.tag == "number" && k("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof O == "function")
@@ -15594,11 +15594,11 @@ function tfe() {
15594
15594
  return R(O, O.render, "ForwardRef");
15595
15595
  case f:
15596
15596
  var He = O.displayName || null;
15597
- return He !== null ? He : W(O.type) || "Memo";
15597
+ return He !== null ? He : G(O.type) || "Memo";
15598
15598
  case d: {
15599
15599
  var ut = O, ht = ut._payload, it = ut._init;
15600
15600
  try {
15601
- return W(it(ht));
15601
+ return G(it(ht));
15602
15602
  } catch {
15603
15603
  return null;
15604
15604
  }
@@ -15606,14 +15606,14 @@ function tfe() {
15606
15606
  }
15607
15607
  return null;
15608
15608
  }
15609
- var U = Object.assign, V = 0, K, Z, te, G, re, he, ie;
15609
+ var U = Object.assign, V = 0, Z, Y, te, W, re, he, ie;
15610
15610
  function me() {
15611
15611
  }
15612
15612
  me.__reactDisabledLog = !0;
15613
15613
  function be() {
15614
15614
  {
15615
15615
  if (V === 0) {
15616
- K = console.log, Z = console.info, te = console.warn, G = console.error, re = console.group, he = console.groupCollapsed, ie = console.groupEnd;
15616
+ Z = console.log, Y = console.info, te = console.warn, W = console.error, re = console.group, he = console.groupCollapsed, ie = console.groupEnd;
15617
15617
  var O = {
15618
15618
  configurable: !0,
15619
15619
  enumerable: !0,
@@ -15643,16 +15643,16 @@ function tfe() {
15643
15643
  };
15644
15644
  Object.defineProperties(console, {
15645
15645
  log: U({}, O, {
15646
- value: K
15646
+ value: Z
15647
15647
  }),
15648
15648
  info: U({}, O, {
15649
- value: Z
15649
+ value: Y
15650
15650
  }),
15651
15651
  warn: U({}, O, {
15652
15652
  value: te
15653
15653
  }),
15654
15654
  error: U({}, O, {
15655
- value: G
15655
+ value: W
15656
15656
  }),
15657
15657
  group: U({}, O, {
15658
15658
  value: re
@@ -15870,8 +15870,8 @@ function tfe() {
15870
15870
  }
15871
15871
  function Me(O, ae) {
15872
15872
  if (typeof O.ref == "string" && Fe.current && ae && Fe.current.stateNode !== ae) {
15873
- var Ae = W(Fe.current.type);
15874
- en[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', W(Fe.current.type), O.ref), en[Ae] = !0);
15873
+ var Ae = G(Fe.current.type);
15874
+ en[Ae] || (k('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', G(Fe.current.type), O.ref), en[Ae] = !0);
15875
15875
  }
15876
15876
  }
15877
15877
  function Je(O, ae) {
@@ -15959,7 +15959,7 @@ function tfe() {
15959
15959
  function bn() {
15960
15960
  {
15961
15961
  if ($e.current) {
15962
- var O = W($e.current.type);
15962
+ var O = G($e.current.type);
15963
15963
  if (O)
15964
15964
  return `
15965
15965
 
@@ -15994,7 +15994,7 @@ Check the top-level render call using <` + Ae + ">.");
15994
15994
  return;
15995
15995
  kn[Ae] = !0;
15996
15996
  var He = "";
15997
- O && O._owner && O._owner !== $e.current && (He = " It was passed a child from " + W(O._owner.type) + "."), St(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, He), St(null);
15997
+ O && O._owner && O._owner !== $e.current && (He = " It was passed a child from " + G(O._owner.type) + "."), St(O), k('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', Ae, He), St(null);
15998
15998
  }
15999
15999
  }
16000
16000
  function Xn(O, ae) {
@@ -16031,11 +16031,11 @@ Check the top-level render call using <` + Ae + ">.");
16031
16031
  else
16032
16032
  return;
16033
16033
  if (Ae) {
16034
- var He = W(ae);
16034
+ var He = G(ae);
16035
16035
  M(Ae, O.props, "prop", He, O);
16036
16036
  } else if (ae.PropTypes !== void 0 && !Mt) {
16037
16037
  Mt = !0;
16038
- var ut = W(ae);
16038
+ var ut = G(ae);
16039
16039
  k("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", ut || "Unknown");
16040
16040
  }
16041
16041
  typeof ae.getDefaultProps == "function" && !ae.getDefaultProps.isReactClassApproved && k("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
@@ -16063,7 +16063,7 @@ Check the top-level render call using <` + Ae + ">.");
16063
16063
  var ne = Ot();
16064
16064
  ne ? Le += ne : Le += bn();
16065
16065
  var Se;
16066
- O === null ? Se = "null" : B(O) ? Se = "array" : O !== void 0 && O.$$typeof === e ? (Se = "<" + (W(O.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
16066
+ O === null ? Se = "null" : B(O) ? Se = "array" : O !== void 0 && O.$$typeof === e ? (Se = "<" + (G(O.type) || "Unknown") + " />", Le = " Did you accidentally export a JSX literal instead of a component?") : Se = typeof O, k("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", Se, Le);
16067
16067
  }
16068
16068
  var Oe = Rt(O, ae, Ae, ut, ht);
16069
16069
  if (Oe == null)
@@ -16082,7 +16082,7 @@ Check the top-level render call using <` + Ae + ">.");
16082
16082
  Xn(Nt, O);
16083
16083
  }
16084
16084
  if (le.call(ae, "key")) {
16085
- var ln = W(O), zt = Object.keys(ae).filter(function(Mr) {
16085
+ var ln = G(O), zt = Object.keys(ae).filter(function(Mr) {
16086
16086
  return Mr !== "key";
16087
16087
  }), Nr = zt.length > 0 ? "{key: someKey, " + zt.join(": ..., ") + ": ...}" : "{key: someKey}";
16088
16088
  if (!aa[ln + Nr]) {
@@ -16437,7 +16437,7 @@ function Dfe(t) {
16437
16437
  return kfe.test(t);
16438
16438
  }
16439
16439
  function jfe() {
16440
- const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), y = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), A = In("skew"), E = In("space"), L = In("translate"), N = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", Ut, e], H = () => [Ut, e], W = () => ["", dl, Dc], U = () => ["auto", n1, Ut], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], K = () => ["solid", "dashed", "dotted", "double", "none"], Z = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], G = () => ["", "0", Ut], re = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], he = () => [n1, pg], ie = () => [n1, Ut];
16440
+ const t = In("colors"), e = In("spacing"), n = In("blur"), r = In("brightness"), i = In("borderColor"), s = In("borderRadius"), o = In("borderSpacing"), a = In("borderWidth"), l = In("contrast"), c = In("grayscale"), u = In("hueRotate"), f = In("invert"), d = In("gap"), h = In("gradientColorStops"), p = In("gradientColorStopPositions"), m = In("inset"), y = In("margin"), v = In("opacity"), k = In("padding"), b = In("saturate"), w = In("scale"), x = In("sepia"), A = In("skew"), E = In("space"), L = In("translate"), N = () => ["auto", "contain", "none"], D = () => ["auto", "hidden", "clip", "visible", "scroll"], R = () => ["auto", Ut, e], H = () => [Ut, e], G = () => ["", dl, Dc], U = () => ["auto", n1, Ut], V = () => ["bottom", "center", "left", "left-bottom", "left-top", "right", "right-bottom", "right-top", "top"], Z = () => ["solid", "dashed", "dotted", "double", "none"], Y = () => ["normal", "multiply", "screen", "overlay", "darken", "lighten", "color-dodge", "color-burn", "hard-light", "soft-light", "difference", "exclusion", "hue", "saturation", "color", "luminosity"], te = () => ["start", "end", "center", "between", "around", "evenly", "stretch"], W = () => ["", "0", Ut], re = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"], he = () => [n1, pg], ie = () => [n1, Ut];
16441
16441
  return {
16442
16442
  cacheSize: 500,
16443
16443
  separator: ":",
@@ -16449,11 +16449,11 @@ function jfe() {
16449
16449
  borderColor: [t],
16450
16450
  borderRadius: ["none", "", "full", jc, Ut],
16451
16451
  borderSpacing: H(),
16452
- borderWidth: W(),
16452
+ borderWidth: G(),
16453
16453
  contrast: he(),
16454
- grayscale: G(),
16454
+ grayscale: W(),
16455
16455
  hueRotate: ie(),
16456
- invert: G(),
16456
+ invert: W(),
16457
16457
  gap: H(),
16458
16458
  gradientColorStops: [t],
16459
16459
  gradientColorStopPositions: [xfe, Dc],
@@ -16463,7 +16463,7 @@ function jfe() {
16463
16463
  padding: H(),
16464
16464
  saturate: he(),
16465
16465
  scale: he(),
16466
- sepia: G(),
16466
+ sepia: W(),
16467
16467
  skew: ie(),
16468
16468
  space: H(),
16469
16469
  translate: H()
@@ -16718,14 +16718,14 @@ function jfe() {
16718
16718
  * @see https://tailwindcss.com/docs/flex-grow
16719
16719
  */
16720
16720
  grow: [{
16721
- grow: G()
16721
+ grow: W()
16722
16722
  }],
16723
16723
  /**
16724
16724
  * Flex Shrink
16725
16725
  * @see https://tailwindcss.com/docs/flex-shrink
16726
16726
  */
16727
16727
  shrink: [{
16728
- shrink: G()
16728
+ shrink: W()
16729
16729
  }],
16730
16730
  /**
16731
16731
  * Order
@@ -17252,7 +17252,7 @@ function jfe() {
17252
17252
  * @see https://tailwindcss.com/docs/text-decoration-style
17253
17253
  */
17254
17254
  "text-decoration-style": [{
17255
- decoration: [...K(), "wavy"]
17255
+ decoration: [...Z(), "wavy"]
17256
17256
  }],
17257
17257
  /**
17258
17258
  * Text Decoration Thickness
@@ -17626,7 +17626,7 @@ function jfe() {
17626
17626
  * @see https://tailwindcss.com/docs/border-style
17627
17627
  */
17628
17628
  "border-style": [{
17629
- border: [...K(), "hidden"]
17629
+ border: [...Z(), "hidden"]
17630
17630
  }],
17631
17631
  /**
17632
17632
  * Divide Width X
@@ -17664,7 +17664,7 @@ function jfe() {
17664
17664
  * @see https://tailwindcss.com/docs/divide-style
17665
17665
  */
17666
17666
  "divide-style": [{
17667
- divide: K()
17667
+ divide: Z()
17668
17668
  }],
17669
17669
  /**
17670
17670
  * Border Color
@@ -17727,7 +17727,7 @@ function jfe() {
17727
17727
  * @see https://tailwindcss.com/docs/outline-style
17728
17728
  */
17729
17729
  "outline-style": [{
17730
- outline: ["", ...K()]
17730
+ outline: ["", ...Z()]
17731
17731
  }],
17732
17732
  /**
17733
17733
  * Outline Offset
@@ -17755,7 +17755,7 @@ function jfe() {
17755
17755
  * @see https://tailwindcss.com/docs/ring-width
17756
17756
  */
17757
17757
  "ring-w": [{
17758
- ring: W()
17758
+ ring: G()
17759
17759
  }],
17760
17760
  /**
17761
17761
  * Ring Width Inset
@@ -17817,14 +17817,14 @@ function jfe() {
17817
17817
  * @see https://tailwindcss.com/docs/mix-blend-mode
17818
17818
  */
17819
17819
  "mix-blend": [{
17820
- "mix-blend": [...Z(), "plus-lighter", "plus-darker"]
17820
+ "mix-blend": [...Y(), "plus-lighter", "plus-darker"]
17821
17821
  }],
17822
17822
  /**
17823
17823
  * Background Blend Mode
17824
17824
  * @see https://tailwindcss.com/docs/background-blend-mode
17825
17825
  */
17826
17826
  "bg-blend": [{
17827
- "bg-blend": Z()
17827
+ "bg-blend": Y()
17828
17828
  }],
17829
17829
  // Filters
17830
17830
  /**
@@ -41963,17 +41963,17 @@ const fDe = (t) => ({
41963
41963
  }, h = eS(i), p = $A(h), m = await o.getDimensions(c), y = h === "y", v = y ? "top" : "left", k = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
41964
41964
  let E = A ? A[b] : 0;
41965
41965
  (!E || !await (o.isElement == null ? void 0 : o.isElement(A))) && (E = a.floating[b] || s.floating[p]);
41966
- const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, D = Da(f[v], N), R = Da(f[k], N), H = D, W = E - m[p] - R, U = E / 2 - m[p] / 2 + L, V = dx(H, U, W), K = !l.arrow && P2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? D : R) - m[p] / 2 < 0, Z = K ? U < H ? U - H : U - W : 0;
41966
+ const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, D = Da(f[v], N), R = Da(f[k], N), H = D, G = E - m[p] - R, U = E / 2 - m[p] / 2 + L, V = dx(H, U, G), Z = !l.arrow && P2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? D : R) - m[p] / 2 < 0, Y = Z ? U < H ? U - H : U - G : 0;
41967
41967
  return {
41968
- [h]: d[h] + Z,
41968
+ [h]: d[h] + Y,
41969
41969
  data: {
41970
41970
  [h]: V,
41971
- centerOffset: U - V - Z,
41972
- ...K && {
41973
- alignmentOffset: Z
41971
+ centerOffset: U - V - Y,
41972
+ ...Z && {
41973
+ alignmentOffset: Y
41974
41974
  }
41975
41975
  },
41976
- reset: K
41976
+ reset: Z
41977
41977
  };
41978
41978
  }
41979
41979
  }), dDe = function(t) {
@@ -42024,31 +42024,31 @@ const fDe = (t) => ({
42024
42024
  placement: V
42025
42025
  }
42026
42026
  };
42027
- let K = (H = D.filter((Z) => Z.overflows[0] <= 0).sort((Z, te) => Z.overflows[1] - te.overflows[1])[0]) == null ? void 0 : H.placement;
42028
- if (!K)
42027
+ let Z = (H = D.filter((Y) => Y.overflows[0] <= 0).sort((Y, te) => Y.overflows[1] - te.overflows[1])[0]) == null ? void 0 : H.placement;
42028
+ if (!Z)
42029
42029
  switch (h) {
42030
42030
  case "bestFit": {
42031
- var W;
42032
- const Z = (W = D.filter((te) => {
42031
+ var G;
42032
+ const Y = (G = D.filter((te) => {
42033
42033
  if (A) {
42034
- const G = Fu(te.placement);
42035
- return G === k || // Create a bias to the `y` side axis due to horizontal
42034
+ const W = Fu(te.placement);
42035
+ return W === k || // Create a bias to the `y` side axis due to horizontal
42036
42036
  // reading directions favoring greater width.
42037
- G === "y";
42037
+ W === "y";
42038
42038
  }
42039
42039
  return !0;
42040
- }).map((te) => [te.placement, te.overflows.filter((G) => G > 0).reduce((G, re) => G + re, 0)]).sort((te, G) => te[1] - G[1])[0]) == null ? void 0 : W[0];
42041
- Z && (K = Z);
42040
+ }).map((te) => [te.placement, te.overflows.filter((W) => W > 0).reduce((W, re) => W + re, 0)]).sort((te, W) => te[1] - W[1])[0]) == null ? void 0 : G[0];
42041
+ Y && (Z = Y);
42042
42042
  break;
42043
42043
  }
42044
42044
  case "initialPlacement":
42045
- K = a;
42045
+ Z = a;
42046
42046
  break;
42047
42047
  }
42048
- if (i !== K)
42048
+ if (i !== Z)
42049
42049
  return {
42050
42050
  reset: {
42051
- placement: K
42051
+ placement: Z
42052
42052
  }
42053
42053
  };
42054
42054
  }
@@ -42816,37 +42816,37 @@ function UDe(t) {
42816
42816
  isPositioned: !1
42817
42817
  }), [d, h] = C.useState(r);
42818
42818
  q6(d, r) || h(r);
42819
- const [p, m] = C.useState(null), [y, v] = C.useState(null), k = C.useCallback((Z) => {
42820
- Z !== A.current && (A.current = Z, m(Z));
42821
- }, []), b = C.useCallback((Z) => {
42822
- Z !== E.current && (E.current = Z, v(Z));
42819
+ const [p, m] = C.useState(null), [y, v] = C.useState(null), k = C.useCallback((Y) => {
42820
+ Y !== A.current && (A.current = Y, m(Y));
42821
+ }, []), b = C.useCallback((Y) => {
42822
+ Y !== E.current && (E.current = Y, v(Y));
42823
42823
  }, []), w = s || p, x = o || y, A = C.useRef(null), E = C.useRef(null), L = C.useRef(u), N = l != null, D = Vj(l), R = Vj(i), H = C.useCallback(() => {
42824
42824
  if (!A.current || !E.current)
42825
42825
  return;
42826
- const Z = {
42826
+ const Y = {
42827
42827
  placement: e,
42828
42828
  strategy: n,
42829
42829
  middleware: d
42830
42830
  };
42831
- R.current && (Z.platform = R.current), qDe(A.current, E.current, Z).then((te) => {
42832
- const G = {
42831
+ R.current && (Y.platform = R.current), qDe(A.current, E.current, Y).then((te) => {
42832
+ const W = {
42833
42833
  ...te,
42834
42834
  isPositioned: !0
42835
42835
  };
42836
- W.current && !q6(L.current, G) && (L.current = G, o0.flushSync(() => {
42837
- f(G);
42836
+ G.current && !q6(L.current, W) && (L.current = W, o0.flushSync(() => {
42837
+ f(W);
42838
42838
  }));
42839
42839
  });
42840
42840
  }, [d, e, n, R]);
42841
42841
  F3(() => {
42842
- c === !1 && L.current.isPositioned && (L.current.isPositioned = !1, f((Z) => ({
42843
- ...Z,
42842
+ c === !1 && L.current.isPositioned && (L.current.isPositioned = !1, f((Y) => ({
42843
+ ...Y,
42844
42844
  isPositioned: !1
42845
42845
  })));
42846
42846
  }, [c]);
42847
- const W = C.useRef(!1);
42848
- F3(() => (W.current = !0, () => {
42849
- W.current = !1;
42847
+ const G = C.useRef(!1);
42848
+ F3(() => (G.current = !0, () => {
42849
+ G.current = !1;
42850
42850
  }), []), F3(() => {
42851
42851
  if (w && (A.current = w), x && (E.current = x), w && x) {
42852
42852
  if (D.current)
@@ -42862,25 +42862,25 @@ function UDe(t) {
42862
42862
  }), [k, b]), V = C.useMemo(() => ({
42863
42863
  reference: w,
42864
42864
  floating: x
42865
- }), [w, x]), K = C.useMemo(() => {
42866
- const Z = {
42865
+ }), [w, x]), Z = C.useMemo(() => {
42866
+ const Y = {
42867
42867
  position: n,
42868
42868
  left: 0,
42869
42869
  top: 0
42870
42870
  };
42871
42871
  if (!V.floating)
42872
- return Z;
42873
- const te = _j(V.floating, u.x), G = _j(V.floating, u.y);
42872
+ return Y;
42873
+ const te = _j(V.floating, u.x), W = _j(V.floating, u.y);
42874
42874
  return a ? {
42875
- ...Z,
42876
- transform: "translate(" + te + "px, " + G + "px)",
42875
+ ...Y,
42876
+ transform: "translate(" + te + "px, " + W + "px)",
42877
42877
  ...Yq(V.floating) >= 1.5 && {
42878
42878
  willChange: "transform"
42879
42879
  }
42880
42880
  } : {
42881
42881
  position: n,
42882
42882
  left: te,
42883
- top: G
42883
+ top: W
42884
42884
  };
42885
42885
  }, [n, a, V.floating, u.x, u.y]);
42886
42886
  return C.useMemo(() => ({
@@ -42888,8 +42888,8 @@ function UDe(t) {
42888
42888
  update: H,
42889
42889
  refs: U,
42890
42890
  elements: V,
42891
- floatingStyles: K
42892
- }), [u, H, U, V, K]);
42891
+ floatingStyles: Z
42892
+ }), [u, H, U, V, Z]);
42893
42893
  }
42894
42894
  const GDe = (t) => {
42895
42895
  function e(n) {
@@ -42982,9 +42982,9 @@ var sS = "PopperContent", [nje, rje] = Jq(sS), tU = C.forwardRef(
42982
42982
  updatePositionStrategy: b = "optimized",
42983
42983
  onPlaced: w,
42984
42984
  ...x
42985
- } = t, A = Qq(sS, l), [E, L] = C.useState(null), N = $t(e, (Te) => L(Te)), [D, R] = C.useState(null), H = JA(D), W = (H == null ? void 0 : H.width) ?? 0, U = (H == null ? void 0 : H.height) ?? 0, V = c + (f !== "center" ? "-" + f : ""), K = typeof y == "number" ? y : { top: 0, right: 0, bottom: 0, left: 0, ...y }, Z = Array.isArray(m) ? m : [m], te = Z.length > 0, G = {
42986
- padding: K,
42987
- boundary: Z.filter(sje),
42985
+ } = t, A = Qq(sS, l), [E, L] = C.useState(null), N = $t(e, (Te) => L(Te)), [D, R] = C.useState(null), H = JA(D), G = (H == null ? void 0 : H.width) ?? 0, U = (H == null ? void 0 : H.height) ?? 0, V = c + (f !== "center" ? "-" + f : ""), Z = typeof y == "number" ? y : { top: 0, right: 0, bottom: 0, left: 0, ...y }, Y = Array.isArray(m) ? m : [m], te = Y.length > 0, W = {
42986
+ padding: Z,
42987
+ boundary: Y.filter(sje),
42988
42988
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
42989
42989
  altBoundary: te
42990
42990
  }, { refs: re, floatingStyles: he, placement: ie, isPositioned: me, middlewareData: be } = UDe({
@@ -43003,19 +43003,19 @@ var sS = "PopperContent", [nje, rje] = Jq(sS), tU = C.forwardRef(
43003
43003
  mainAxis: !0,
43004
43004
  crossAxis: !1,
43005
43005
  limiter: v === "partial" ? YDe() : void 0,
43006
- ...G
43006
+ ...W
43007
43007
  }),
43008
- p && KDe({ ...G }),
43008
+ p && KDe({ ...W }),
43009
43009
  JDe({
43010
- ...G,
43010
+ ...W,
43011
43011
  apply: ({ elements: Te, rects: ce, availableWidth: X, availableHeight: le }) => {
43012
43012
  const { width: se, height: De } = ce.reference, q = Te.floating.style;
43013
43013
  q.setProperty("--radix-popper-available-width", `${X}px`), q.setProperty("--radix-popper-available-height", `${le}px`), q.setProperty("--radix-popper-anchor-width", `${se}px`), q.setProperty("--radix-popper-anchor-height", `${De}px`);
43014
43014
  }
43015
43015
  }),
43016
43016
  D && XDe({ element: D, padding: h }),
43017
- oje({ arrowWidth: W, arrowHeight: U }),
43018
- k && QDe({ strategy: "referenceHidden", ...G })
43017
+ oje({ arrowWidth: G, arrowHeight: U }),
43018
+ k && QDe({ strategy: "referenceHidden", ...W })
43019
43019
  ]
43020
43020
  }), [ye, J] = iU(ie), ge = rs(w);
43021
43021
  ri(() => {
@@ -46243,17 +46243,17 @@ function ARe(t) {
46243
46243
  const { prevResolvedValues: R = {} } = k, H = {
46244
46244
  ...R,
46245
46245
  ...D
46246
- }, W = (U) => {
46246
+ }, G = (U) => {
46247
46247
  E = !0, d.has(U) && (L = !0, d.delete(U)), k.needsAnimating[U] = !0;
46248
46248
  const V = t.getValue(U);
46249
46249
  V && (V.liveStyle = !1);
46250
46250
  };
46251
46251
  for (const U in H) {
46252
- const V = D[U], K = R[U];
46252
+ const V = D[U], Z = R[U];
46253
46253
  if (h.hasOwnProperty(U))
46254
46254
  continue;
46255
- let Z = !1;
46256
- yx(V) && yx(K) ? Z = !VU(V, K) : Z = V !== K, Z ? V != null ? W(U) : d.add(U) : V !== void 0 && d.has(U) ? W(U) : k.protectedKeys[U] = !0;
46255
+ let Y = !1;
46256
+ yx(V) && yx(Z) ? Y = !VU(V, Z) : Y = V !== Z, Y ? V != null ? G(U) : d.add(U) : V !== void 0 && d.has(U) ? G(U) : k.protectedKeys[U] = !0;
46257
46257
  }
46258
46258
  k.prevProp = b, k.prevResolvedValues = D, k.isActive && (h = { ...h, ...D }), r && t.blockInitialAnimation && (E = !1), E && (!A || L) && f.push(...N.map((U) => ({
46259
46259
  animation: U,
@@ -49893,7 +49893,7 @@ var xze = C.forwardRef((t, e) => {
49893
49893
  if (L.target === L.currentTarget && N && !v) {
49894
49894
  const D = new CustomEvent(X7, gze);
49895
49895
  if (L.currentTarget.dispatchEvent(D), !D.defaultPrevented) {
49896
- const R = w().filter((V) => V.focusable), H = R.find((V) => V.active), W = R.find((V) => V.id === m), U = [H, W, ...R].filter(
49896
+ const R = w().filter((V) => V.focusable), H = R.find((V) => V.active), G = R.find((V) => V.id === m), U = [H, G, ...R].filter(
49897
49897
  Boolean
49898
49898
  ).map((V) => V.ref.current);
49899
49899
  KG(U, u);
@@ -52219,42 +52219,42 @@ var vl = 10, [zZ, v0] = _2(nf), lHe = "SelectContentImpl", BZ = C.forwardRef(
52219
52219
  ...v
52220
52220
  } = t, k = g0(nf, n), [b, w] = C.useState(null), [x, A] = C.useState(null), E = $t(e, (ge) => w(ge)), [L, N] = C.useState(null), [D, R] = C.useState(
52221
52221
  null
52222
- ), H = Bb(n), [W, U] = C.useState(!1), V = C.useRef(!1);
52222
+ ), H = Bb(n), [G, U] = C.useState(!1), V = C.useRef(!1);
52223
52223
  C.useEffect(() => {
52224
52224
  if (b) return Pb(b);
52225
52225
  }, [b]), BS();
52226
- const K = C.useCallback(
52226
+ const Z = C.useCallback(
52227
52227
  (ge) => {
52228
52228
  const [we, ...Ve] = H().map((Ee) => Ee.ref.current), [Re] = Ve.slice(-1), Ce = document.activeElement;
52229
52229
  for (const Ee of ge)
52230
52230
  if (Ee === Ce || (Ee == null || Ee.scrollIntoView({ block: "nearest" }), Ee === we && x && (x.scrollTop = 0), Ee === Re && x && (x.scrollTop = x.scrollHeight), Ee == null || Ee.focus(), document.activeElement !== Ce)) return;
52231
52231
  },
52232
52232
  [H, x]
52233
- ), Z = C.useCallback(
52234
- () => K([L, b]),
52235
- [K, L, b]
52233
+ ), Y = C.useCallback(
52234
+ () => Z([L, b]),
52235
+ [Z, L, b]
52236
52236
  );
52237
52237
  C.useEffect(() => {
52238
- W && Z();
52239
- }, [W, Z]);
52240
- const { onOpenChange: te, triggerPointerDownPosRef: G } = k;
52238
+ G && Y();
52239
+ }, [G, Y]);
52240
+ const { onOpenChange: te, triggerPointerDownPosRef: W } = k;
52241
52241
  C.useEffect(() => {
52242
52242
  if (b) {
52243
52243
  let ge = { x: 0, y: 0 };
52244
52244
  const we = (Re) => {
52245
52245
  var Ce, Ee;
52246
52246
  ge = {
52247
- x: Math.abs(Math.round(Re.pageX) - (((Ce = G.current) == null ? void 0 : Ce.x) ?? 0)),
52248
- y: Math.abs(Math.round(Re.pageY) - (((Ee = G.current) == null ? void 0 : Ee.y) ?? 0))
52247
+ x: Math.abs(Math.round(Re.pageX) - (((Ce = W.current) == null ? void 0 : Ce.x) ?? 0)),
52248
+ y: Math.abs(Math.round(Re.pageY) - (((Ee = W.current) == null ? void 0 : Ee.y) ?? 0))
52249
52249
  };
52250
52250
  }, Ve = (Re) => {
52251
- ge.x <= 10 && ge.y <= 10 ? Re.preventDefault() : b.contains(Re.target) || te(!1), document.removeEventListener("pointermove", we), G.current = null;
52251
+ ge.x <= 10 && ge.y <= 10 ? Re.preventDefault() : b.contains(Re.target) || te(!1), document.removeEventListener("pointermove", we), W.current = null;
52252
52252
  };
52253
- return G.current !== null && (document.addEventListener("pointermove", we), document.addEventListener("pointerup", Ve, { capture: !0, once: !0 })), () => {
52253
+ return W.current !== null && (document.addEventListener("pointermove", we), document.addEventListener("pointerup", Ve, { capture: !0, once: !0 })), () => {
52254
52254
  document.removeEventListener("pointermove", we), document.removeEventListener("pointerup", Ve, { capture: !0 });
52255
52255
  };
52256
52256
  }
52257
- }, [b, te, G]), C.useEffect(() => {
52257
+ }, [b, te, W]), C.useEffect(() => {
52258
52258
  const ge = () => te(!1);
52259
52259
  return window.addEventListener("blur", ge), window.addEventListener("resize", ge), () => {
52260
52260
  window.removeEventListener("blur", ge), window.removeEventListener("resize", ge);
@@ -52298,10 +52298,10 @@ var vl = 10, [zZ, v0] = _2(nf), lHe = "SelectContentImpl", BZ = C.forwardRef(
52298
52298
  selectedItem: L,
52299
52299
  onItemLeave: me,
52300
52300
  itemTextRefCallback: be,
52301
- focusSelectedItem: Z,
52301
+ focusSelectedItem: Y,
52302
52302
  selectedItemText: D,
52303
52303
  position: r,
52304
- isPositioned: W,
52304
+ isPositioned: G,
52305
52305
  searchRef: re,
52306
52306
  children: /* @__PURE__ */ S.jsx(Ib, { as: Za, allowPinchZoom: !0, children: /* @__PURE__ */ S.jsx(
52307
52307
  H2,
@@ -52352,7 +52352,7 @@ var vl = 10, [zZ, v0] = _2(nf), lHe = "SelectContentImpl", BZ = C.forwardRef(
52352
52352
  const Re = ge.target, Ce = Ve.indexOf(Re);
52353
52353
  Ve = Ve.slice(Ce + 1);
52354
52354
  }
52355
- setTimeout(() => K(Ve)), ge.preventDefault();
52355
+ setTimeout(() => Z(Ve)), ge.preventDefault();
52356
52356
  }
52357
52357
  })
52358
52358
  }
@@ -52377,14 +52377,14 @@ var cHe = "SelectItemAlignedPosition", FZ = C.forwardRef((t, e) => {
52377
52377
  const Re = L.right - D.right, Ce = window.innerWidth - N.right - Re, Ee = window.innerWidth - E.right - Ce, Te = E.width + Ee, ce = Math.max(Te, L.width), X = window.innerWidth - vl, le = vP(Ce, [vl, X - ce]);
52378
52378
  a.style.minWidth = Te + "px", a.style.right = le + "px";
52379
52379
  }
52380
- const R = d(), H = window.innerHeight - vl * 2, W = m.scrollHeight, U = window.getComputedStyle(c), V = parseInt(U.borderTopWidth, 10), K = parseInt(U.paddingTop, 10), Z = parseInt(U.borderBottomWidth, 10), te = parseInt(U.paddingBottom, 10), G = V + K + W + te + Z, re = Math.min(y.offsetHeight * 5, G), he = window.getComputedStyle(m), ie = parseInt(he.paddingTop, 10), me = parseInt(he.paddingBottom, 10), be = E.top + E.height / 2 - vl, ye = H - be, J = y.offsetHeight / 2, ge = y.offsetTop + J, we = V + K + ge, Ve = G - we;
52380
+ const R = d(), H = window.innerHeight - vl * 2, G = m.scrollHeight, U = window.getComputedStyle(c), V = parseInt(U.borderTopWidth, 10), Z = parseInt(U.paddingTop, 10), Y = parseInt(U.borderBottomWidth, 10), te = parseInt(U.paddingBottom, 10), W = V + Z + G + te + Y, re = Math.min(y.offsetHeight * 5, W), he = window.getComputedStyle(m), ie = parseInt(he.paddingTop, 10), me = parseInt(he.paddingBottom, 10), be = E.top + E.height / 2 - vl, ye = H - be, J = y.offsetHeight / 2, ge = y.offsetTop + J, we = V + Z + ge, Ve = W - we;
52381
52381
  if (we <= be) {
52382
52382
  const Re = y === R[R.length - 1].ref.current;
52383
52383
  a.style.bottom = "0px";
52384
52384
  const Ce = c.clientHeight - m.offsetTop - m.offsetHeight, Ee = Math.max(
52385
52385
  ye,
52386
52386
  J + // viewport might have padding bottom, include it to avoid a scrollable viewport
52387
- (Re ? me : 0) + Ce + Z
52387
+ (Re ? me : 0) + Ce + Y
52388
52388
  ), Te = we + Ee;
52389
52389
  a.style.height = Te + "px";
52390
52390
  } else {
@@ -53557,8 +53557,8 @@ function i_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
53557
53557
  const D = typeof N == "string";
53558
53558
  let R = 0;
53559
53559
  if (D && (R = parseInt(N, 10)), Ar(a)) {
53560
- const W = D ? R : d ? N * E.height : 0;
53561
- return d ? a === "bottom" ? E.height - W : -E.height + W : W;
53560
+ const G = D ? R : d ? N * E.height : 0;
53561
+ return d ? a === "bottom" ? E.height - G : -E.height + G : G;
53562
53562
  }
53563
53563
  const H = D ? R : d ? N * E.width : 0;
53564
53564
  return d ? a === "right" ? E.width - H : -E.width + H : H;
@@ -53606,7 +53606,7 @@ function i_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
53606
53606
  ]);
53607
53607
  function w({ draggedDistance: E, closeDrawer: L, velocity: N, dismissible: D }) {
53608
53608
  if (s === void 0) return;
53609
- const R = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1, W = m === 0, U = E > 0;
53609
+ const R = a === "bottom" || a === "right" ? (k ?? 0) - E : (k ?? 0) + E, H = m === s - 1, G = m === 0, U = E > 0;
53610
53610
  if (H && Cr(i.current, {
53611
53611
  transition: `opacity ${_n.DURATION}s cubic-bezier(${_n.EASE.join(",")})`
53612
53612
  }), !c && N > 2 && !U) {
@@ -53617,15 +53617,15 @@ function i_e({ activeSnapPointProp: t, setActiveSnapPointProp: e, snapPoints: n,
53617
53617
  b(v[n.length - 1]);
53618
53618
  return;
53619
53619
  }
53620
- const V = v == null ? void 0 : v.reduce((Z, te) => typeof Z != "number" || typeof te != "number" ? Z : Math.abs(te - R) < Math.abs(Z - R) ? te : Z), K = Ar(a) ? window.innerHeight : window.innerWidth;
53621
- if (N > pY && Math.abs(E) < K * 0.4) {
53622
- const Z = U ? 1 : -1;
53623
- if (Z > 0 && p && n) {
53620
+ const V = v == null ? void 0 : v.reduce((Y, te) => typeof Y != "number" || typeof te != "number" ? Y : Math.abs(te - R) < Math.abs(Y - R) ? te : Y), Z = Ar(a) ? window.innerHeight : window.innerWidth;
53621
+ if (N > pY && Math.abs(E) < Z * 0.4) {
53622
+ const Y = U ? 1 : -1;
53623
+ if (Y > 0 && p && n) {
53624
53624
  b(v[n.length - 1]);
53625
53625
  return;
53626
53626
  }
53627
- if (W && Z < 0 && D && L(), m === null) return;
53628
- b(v[m + Z]);
53627
+ if (G && Y < 0 && D && L(), m === null) return;
53628
+ b(v[m + Y]);
53629
53629
  return;
53630
53630
  }
53631
53631
  b(V);
@@ -53770,8 +53770,8 @@ function a_e({ isOpen: t, modal: e, nested: n, hasBeenOpened: r, preventScrollRe
53770
53770
  };
53771
53771
  }
53772
53772
  function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, snapPoints: s, shouldScaleBackground: o = !1, setBackgroundColorOnScale: a = !0, closeThreshold: l = t_e, scrollLockTimeout: c = n_e, dismissible: u = !0, handleOnly: f = !1, fadeFromIndex: d = s && s.length - 1, activeSnapPoint: h, setActiveSnapPoint: p, fixed: m, modal: y = !0, onClose: v, nested: k, noBodyStyles: b = !1, direction: w = "bottom", defaultOpen: x = !1, disablePreventScroll: A = !0, snapToSequentialPoint: E = !1, preventScrollRestoration: L = !1, repositionInputs: N = !0, onAnimationEnd: D, container: R, autoFocus: H = !1 }) {
53773
- var W, U;
53774
- const [V = !1, K] = gY({
53773
+ var G, U;
53774
+ const [V = !1, Z] = gY({
53775
53775
  defaultProp: x,
53776
53776
  prop: t,
53777
53777
  onChange: ($e) => {
@@ -53781,7 +53781,7 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53781
53781
  document.body.style.pointerEvents = "auto";
53782
53782
  }), $e || (document.body.style.pointerEvents = "auto");
53783
53783
  }
53784
- }), [Z, te] = xe.useState(!1), [G, re] = xe.useState(!1), [he, ie] = xe.useState(!1), me = xe.useRef(null), be = xe.useRef(null), ye = xe.useRef(null), J = xe.useRef(null), ge = xe.useRef(null), we = xe.useRef(!1), Ve = xe.useRef(null), Re = xe.useRef(0), Ce = xe.useRef(!1), Ee = xe.useRef(!x), Te = xe.useRef(0), ce = xe.useRef(null), X = xe.useRef(((W = ce.current) == null ? void 0 : W.getBoundingClientRect().height) || 0), le = xe.useRef(((U = ce.current) == null ? void 0 : U.getBoundingClientRect().width) || 0), se = xe.useRef(0), De = xe.useCallback(($e) => {
53784
+ }), [Y, te] = xe.useState(!1), [W, re] = xe.useState(!1), [he, ie] = xe.useState(!1), me = xe.useRef(null), be = xe.useRef(null), ye = xe.useRef(null), J = xe.useRef(null), ge = xe.useRef(null), we = xe.useRef(!1), Ve = xe.useRef(null), Re = xe.useRef(0), Ce = xe.useRef(!1), Ee = xe.useRef(!x), Te = xe.useRef(0), ce = xe.useRef(null), X = xe.useRef(((G = ce.current) == null ? void 0 : G.getBoundingClientRect().height) || 0), le = xe.useRef(((U = ce.current) == null ? void 0 : U.getBoundingClientRect().width) || 0), se = xe.useRef(0), De = xe.useCallback(($e) => {
53785
53785
  s && $e === ee.length - 1 && (be.current = /* @__PURE__ */ new Date());
53786
53786
  }, []), { activeSnapPoint: q, activeSnapPointIndex: M, setActiveSnapPoint: I, onRelease: B, snapPointsOffset: ee, onDrag: de, shouldFade: oe, getPercentageDragged: Ie } = i_e({
53787
53787
  snapPoints: s,
@@ -53796,13 +53796,13 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53796
53796
  snapToSequentialPoint: E
53797
53797
  });
53798
53798
  ZHe({
53799
- isDisabled: !V || G || !y || he || !Z || !N || !A
53799
+ isDisabled: !V || W || !y || he || !Y || !N || !A
53800
53800
  });
53801
53801
  const { restorePositionSetting: Fe } = a_e({
53802
53802
  isOpen: V,
53803
53803
  modal: y,
53804
53804
  nested: k ?? !1,
53805
- hasBeenOpened: Z,
53805
+ hasBeenOpened: Y,
53806
53806
  preventScrollRestoration: L,
53807
53807
  noBodyStyles: b
53808
53808
  });
@@ -53843,7 +53843,7 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53843
53843
  return !0;
53844
53844
  }
53845
53845
  function en($e) {
53846
- if (ce.current && G) {
53846
+ if (ce.current && W) {
53847
53847
  const yt = w === "bottom" || w === "right" ? 1 : -1, St = (Re.current - (Ar(w) ? $e.pageY : $e.pageX)) * yt, Mt = St > 0, qt = s && !u && !Mt;
53848
53848
  if (qt && M === 0) return;
53849
53849
  const bn = Math.abs(St), Ot = document.querySelector("[data-vaul-drawer-wrapper]"), kn = w === "bottom" || w === "top" ? X.current : le.current;
@@ -53921,7 +53921,7 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53921
53921
  ee
53922
53922
  ]);
53923
53923
  function hn($e) {
53924
- Me(), v == null || v(), $e || K(!1), setTimeout(() => {
53924
+ Me(), v == null || v(), $e || Z(!1), setTimeout(() => {
53925
53925
  s && I(s[0]);
53926
53926
  }, _n.DURATION * 1e3);
53927
53927
  }
@@ -53950,10 +53950,10 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
53950
53950
  }, !0);
53951
53951
  }
53952
53952
  function Me() {
53953
- !G || !ce.current || (ce.current.classList.remove(hw), we.current = !1, re(!1), J.current = /* @__PURE__ */ new Date());
53953
+ !W || !ce.current || (ce.current.classList.remove(hw), we.current = !1, re(!1), J.current = /* @__PURE__ */ new Date());
53954
53954
  }
53955
53955
  function Je($e) {
53956
- if (!G || !ce.current) return;
53956
+ if (!W || !ce.current) return;
53957
53957
  ce.current.classList.remove(hw), we.current = !1, re(!1), J.current = /* @__PURE__ */ new Date();
53958
53958
  const yt = Sg(ce.current, w);
53959
53959
  if (!$e || !ot($e.target, !1) || !yt || Number.isNaN(yt) || ye.current === null) return;
@@ -54031,7 +54031,7 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
54031
54031
  ]), /* @__PURE__ */ xe.createElement(VW, {
54032
54032
  defaultOpen: x,
54033
54033
  onOpenChange: ($e) => {
54034
- !u && !$e || ($e ? te(!0) : hn(!0), K($e));
54034
+ !u && !$e || ($e ? te(!0) : hn(!0), Z($e));
54035
54035
  },
54036
54036
  open: V
54037
54037
  }, /* @__PURE__ */ xe.createElement(cY.Provider, {
@@ -54049,7 +54049,7 @@ function vY({ open: t, onOpenChange: e, children: n, onDrag: r, onRelease: i, sn
54049
54049
  shouldAnimate: Ee,
54050
54050
  handleOnly: f,
54051
54051
  isOpen: V,
54052
- isDragging: G,
54052
+ isDragging: W,
54053
54053
  shouldFade: oe,
54054
54054
  closeDrawer: hn,
54055
54055
  onNestedDrag: Vt,
@@ -54089,16 +54089,16 @@ bY.displayName = "Drawer.Overlay";
54089
54089
  const wY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, style: e, onOpenAutoFocus: n, ...r }, i) {
54090
54090
  const { drawerRef: s, onPress: o, onRelease: a, onDrag: l, keyboardIsOpen: c, snapPointsOffset: u, activeSnapPointIndex: f, modal: d, isOpen: h, direction: p, snapPoints: m, container: y, handleOnly: v, shouldAnimate: k, autoFocus: b } = V2(), [w, x] = xe.useState(!1), A = dY(i, s), E = xe.useRef(null), L = xe.useRef(null), N = xe.useRef(!1), D = m && m.length > 0;
54091
54091
  o_e();
54092
- const R = (W, U, V = 0) => {
54092
+ const R = (G, U, V = 0) => {
54093
54093
  if (N.current) return !0;
54094
- const K = Math.abs(W.y), Z = Math.abs(W.x), te = Z > K, G = [
54094
+ const Z = Math.abs(G.y), Y = Math.abs(G.x), te = Y > Z, W = [
54095
54095
  "bottom",
54096
54096
  "right"
54097
54097
  ].includes(U) ? 1 : -1;
54098
54098
  if (U === "left" || U === "right") {
54099
- if (!(W.x * G < 0) && Z >= 0 && Z <= V)
54099
+ if (!(G.x * W < 0) && Y >= 0 && Y <= V)
54100
54100
  return te;
54101
- } else if (!(W.y * G < 0) && K >= 0 && K <= V)
54101
+ } else if (!(G.y * W < 0) && Z >= 0 && Z <= V)
54102
54102
  return !te;
54103
54103
  return N.current = !0, !0;
54104
54104
  };
@@ -54107,8 +54107,8 @@ const wY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, sty
54107
54107
  x(!0);
54108
54108
  });
54109
54109
  }, []);
54110
- function H(W) {
54111
- E.current = null, N.current = !1, a(W);
54110
+ function H(G) {
54111
+ E.current = null, N.current = !1, a(G);
54112
54112
  }
54113
54113
  return /* @__PURE__ */ xe.createElement(My, {
54114
54114
  "data-vaul-drawer-direction": p,
@@ -54123,44 +54123,44 @@ const wY = /* @__PURE__ */ xe.forwardRef(function({ onPointerDownOutside: t, sty
54123
54123
  "--snap-point-height": `${u[f ?? 0]}px`,
54124
54124
  ...e
54125
54125
  } : e,
54126
- onPointerDown: (W) => {
54127
- v || (r.onPointerDown == null || r.onPointerDown.call(r, W), E.current = {
54128
- x: W.pageX,
54129
- y: W.pageY
54130
- }, o(W));
54126
+ onPointerDown: (G) => {
54127
+ v || (r.onPointerDown == null || r.onPointerDown.call(r, G), E.current = {
54128
+ x: G.pageX,
54129
+ y: G.pageY
54130
+ }, o(G));
54131
54131
  },
54132
- onOpenAutoFocus: (W) => {
54133
- n == null || n(W), b || W.preventDefault();
54132
+ onOpenAutoFocus: (G) => {
54133
+ n == null || n(G), b || G.preventDefault();
54134
54134
  },
54135
- onPointerDownOutside: (W) => {
54136
- if (t == null || t(W), !d || W.defaultPrevented) {
54137
- W.preventDefault();
54135
+ onPointerDownOutside: (G) => {
54136
+ if (t == null || t(G), !d || G.defaultPrevented) {
54137
+ G.preventDefault();
54138
54138
  return;
54139
54139
  }
54140
54140
  c.current && (c.current = !1);
54141
54141
  },
54142
- onFocusOutside: (W) => {
54142
+ onFocusOutside: (G) => {
54143
54143
  if (!d) {
54144
- W.preventDefault();
54144
+ G.preventDefault();
54145
54145
  return;
54146
54146
  }
54147
54147
  },
54148
- onPointerMove: (W) => {
54149
- if (L.current = W, v || (r.onPointerMove == null || r.onPointerMove.call(r, W), !E.current)) return;
54150
- const U = W.pageY - E.current.y, V = W.pageX - E.current.x, K = W.pointerType === "touch" ? 10 : 2;
54148
+ onPointerMove: (G) => {
54149
+ if (L.current = G, v || (r.onPointerMove == null || r.onPointerMove.call(r, G), !E.current)) return;
54150
+ const U = G.pageY - E.current.y, V = G.pageX - E.current.x, Z = G.pointerType === "touch" ? 10 : 2;
54151
54151
  R({
54152
54152
  x: V,
54153
54153
  y: U
54154
- }, p, K) ? l(W) : (Math.abs(V) > K || Math.abs(U) > K) && (E.current = null);
54154
+ }, p, Z) ? l(G) : (Math.abs(V) > Z || Math.abs(U) > Z) && (E.current = null);
54155
54155
  },
54156
- onPointerUp: (W) => {
54157
- r.onPointerUp == null || r.onPointerUp.call(r, W), E.current = null, N.current = !1, a(W);
54156
+ onPointerUp: (G) => {
54157
+ r.onPointerUp == null || r.onPointerUp.call(r, G), E.current = null, N.current = !1, a(G);
54158
54158
  },
54159
- onPointerOut: (W) => {
54160
- r.onPointerOut == null || r.onPointerOut.call(r, W), H(L.current);
54159
+ onPointerOut: (G) => {
54160
+ r.onPointerOut == null || r.onPointerOut.call(r, G), H(L.current);
54161
54161
  },
54162
- onContextMenu: (W) => {
54163
- r.onContextMenu == null || r.onContextMenu.call(r, W), L.current && H(L.current);
54162
+ onContextMenu: (G) => {
54163
+ r.onContextMenu == null || r.onContextMenu.call(r, G), L.current && H(L.current);
54164
54164
  }
54165
54165
  });
54166
54166
  });
@@ -76318,13 +76318,13 @@ var wp = '[cmdk-group=""]', Sw = '[cmdk-group-items=""]', HWe = '[cmdk-group-hea
76318
76318
  n.current.value = ie, E.emit();
76319
76319
  }
76320
76320
  }, [u]), sf(() => {
76321
- A(6, W);
76321
+ A(6, G);
76322
76322
  }, []);
76323
76323
  let E = C.useMemo(() => ({ subscribe: (ie) => (o.current.add(ie), () => o.current.delete(ie)), snapshot: () => n.current, setState: (ie, me, be) => {
76324
76324
  var ye, J, ge;
76325
76325
  if (!Object.is(n.current[ie], me)) {
76326
76326
  if (n.current[ie] = me, ie === "search") H(), D(), A(1, R);
76327
- else if (ie === "value" && (be || A(5, W), ((ye = a.current) == null ? void 0 : ye.value) !== void 0)) {
76327
+ else if (ie === "value" && (be || A(5, G), ((ye = a.current) == null ? void 0 : ye.value) !== void 0)) {
76328
76328
  let we = me ?? "";
76329
76329
  (ge = (J = a.current).onValueChange) == null || ge.call(J, we);
76330
76330
  return;
@@ -76399,7 +76399,7 @@ var wp = '[cmdk-group=""]', Sw = '[cmdk-group-items=""]', HWe = '[cmdk-group-hea
76399
76399
  }
76400
76400
  n.current.filtered.count = J;
76401
76401
  }
76402
- function W() {
76402
+ function G() {
76403
76403
  var ie, me, be;
76404
76404
  let ye = U();
76405
76405
  ye && (((ie = ye.parentElement) == null ? void 0 : ie.firstChild) === ye && ((be = (me = ye.closest(wp)) == null ? void 0 : me.querySelector(HWe)) == null || be.scrollIntoView({ block: "nearest" })), ye.scrollIntoView({ block: "nearest" }));
@@ -76412,11 +76412,11 @@ var wp = '[cmdk-group=""]', Sw = '[cmdk-group-items=""]', HWe = '[cmdk-group-hea
76412
76412
  var ie;
76413
76413
  return Array.from((ie = x.current) == null ? void 0 : ie.querySelectorAll(nR));
76414
76414
  }
76415
- function K(ie) {
76415
+ function Z(ie) {
76416
76416
  let me = V()[ie];
76417
76417
  me && E.setState("value", me.getAttribute(Z0));
76418
76418
  }
76419
- function Z(ie) {
76419
+ function Y(ie) {
76420
76420
  var me;
76421
76421
  let be = U(), ye = V(), J = ye.findIndex((we) => we === be), ge = ye[J + ie];
76422
76422
  (me = a.current) != null && me.loop && (ge = J + ie < 0 ? ye[ye.length - 1] : J + ie === ye.length ? ye[0] : ye[J + ie]), ge && E.setState("value", ge.getAttribute(Z0));
@@ -76424,12 +76424,12 @@ var wp = '[cmdk-group=""]', Sw = '[cmdk-group-items=""]', HWe = '[cmdk-group-hea
76424
76424
  function te(ie) {
76425
76425
  let me = U(), be = me == null ? void 0 : me.closest(wp), ye;
76426
76426
  for (; be && !ye; ) be = ie > 0 ? JWe(be, wp) : QWe(be, wp), ye = be == null ? void 0 : be.querySelector(nR);
76427
- ye ? E.setState("value", ye.getAttribute(Z0)) : Z(ie);
76427
+ ye ? E.setState("value", ye.getAttribute(Z0)) : Y(ie);
76428
76428
  }
76429
- let G = () => K(V().length - 1), re = (ie) => {
76430
- ie.preventDefault(), ie.metaKey ? G() : ie.altKey ? te(1) : Z(1);
76429
+ let W = () => Z(V().length - 1), re = (ie) => {
76430
+ ie.preventDefault(), ie.metaKey ? W() : ie.altKey ? te(1) : Y(1);
76431
76431
  }, he = (ie) => {
76432
- ie.preventDefault(), ie.metaKey ? K(0) : ie.altKey ? te(-1) : Z(-1);
76432
+ ie.preventDefault(), ie.metaKey ? Z(0) : ie.altKey ? te(-1) : Y(-1);
76433
76433
  };
76434
76434
  return C.createElement(Mo.div, { ref: e, tabIndex: -1, ...v, "cmdk-root": "", onKeyDown: (ie) => {
76435
76435
  var me;
@@ -76453,11 +76453,11 @@ var wp = '[cmdk-group=""]', Sw = '[cmdk-group-items=""]', HWe = '[cmdk-group-hea
76453
76453
  break;
76454
76454
  }
76455
76455
  case "Home": {
76456
- ie.preventDefault(), K(0);
76456
+ ie.preventDefault(), Z(0);
76457
76457
  break;
76458
76458
  }
76459
76459
  case "End": {
76460
- ie.preventDefault(), G();
76460
+ ie.preventDefault(), W();
76461
76461
  break;
76462
76462
  }
76463
76463
  case "Enter":
@@ -76909,27 +76909,27 @@ var [fZe, dZe] = ZJ(s8, {
76909
76909
  if (U) {
76910
76910
  const V = () => {
76911
76911
  H(E.current), c == null || c();
76912
- }, K = () => {
76913
- const Z = (/* @__PURE__ */ new Date()).getTime() - A.current;
76914
- E.current = E.current - Z, window.clearTimeout(L.current), l == null || l();
76912
+ }, Z = () => {
76913
+ const Y = (/* @__PURE__ */ new Date()).getTime() - A.current;
76914
+ E.current = E.current - Y, window.clearTimeout(L.current), l == null || l();
76915
76915
  };
76916
- return U.addEventListener(nM, K), U.addEventListener(rM, V), () => {
76917
- U.removeEventListener(nM, K), U.removeEventListener(rM, V);
76916
+ return U.addEventListener(nM, Z), U.addEventListener(rM, V), () => {
76917
+ U.removeEventListener(nM, Z), U.removeEventListener(rM, V);
76918
76918
  };
76919
76919
  }
76920
76920
  }, [m.viewport, x, l, c, H]), C.useEffect(() => {
76921
76921
  s && !m.isClosePausedRef.current && H(x);
76922
76922
  }, [s, x, m.isClosePausedRef, H]), C.useEffect(() => (N(), () => D()), [N, D]);
76923
- const W = C.useMemo(() => y ? iQ(y) : null, [y]);
76923
+ const G = C.useMemo(() => y ? iQ(y) : null, [y]);
76924
76924
  return m.viewport ? /* @__PURE__ */ S.jsxs(S.Fragment, { children: [
76925
- W && /* @__PURE__ */ S.jsx(
76925
+ G && /* @__PURE__ */ S.jsx(
76926
76926
  pZe,
76927
76927
  {
76928
76928
  __scopeToast: n,
76929
76929
  role: "status",
76930
76930
  "aria-live": r === "foreground" ? "assertive" : "polite",
76931
76931
  "aria-atomic": !0,
76932
- children: W
76932
+ children: G
76933
76933
  }
76934
76934
  ),
76935
76935
  /* @__PURE__ */ S.jsx(fZe, { scope: n, onClose: R, children: o0.createPortal(
@@ -76960,17 +76960,17 @@ var [fZe, dZe] = ZJ(s8, {
76960
76960
  }),
76961
76961
  onPointerMove: tt(t.onPointerMove, (U) => {
76962
76962
  if (!b.current) return;
76963
- const V = U.clientX - b.current.x, K = U.clientY - b.current.y, Z = !!w.current, te = ["left", "right"].includes(m.swipeDirection), G = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, re = te ? G(0, V) : 0, he = te ? 0 : G(0, K), ie = U.pointerType === "touch" ? 10 : 2, me = { x: re, y: he }, be = { originalEvent: U, delta: me };
76964
- Z ? (w.current = me, Ig(lZe, f, be, {
76963
+ const V = U.clientX - b.current.x, Z = U.clientY - b.current.y, Y = !!w.current, te = ["left", "right"].includes(m.swipeDirection), W = ["left", "up"].includes(m.swipeDirection) ? Math.min : Math.max, re = te ? W(0, V) : 0, he = te ? 0 : W(0, Z), ie = U.pointerType === "touch" ? 10 : 2, me = { x: re, y: he }, be = { originalEvent: U, delta: me };
76964
+ Y ? (w.current = me, Ig(lZe, f, be, {
76965
76965
  discrete: !1
76966
76966
  })) : rR(me, m.swipeDirection, ie) ? (w.current = me, Ig(aZe, u, be, {
76967
76967
  discrete: !1
76968
- }), U.target.setPointerCapture(U.pointerId)) : (Math.abs(V) > ie || Math.abs(K) > ie) && (b.current = null);
76968
+ }), U.target.setPointerCapture(U.pointerId)) : (Math.abs(V) > ie || Math.abs(Z) > ie) && (b.current = null);
76969
76969
  }),
76970
76970
  onPointerUp: tt(t.onPointerUp, (U) => {
76971
- const V = w.current, K = U.target;
76972
- if (K.hasPointerCapture(U.pointerId) && K.releasePointerCapture(U.pointerId), w.current = null, b.current = null, V) {
76973
- const Z = U.currentTarget, te = { originalEvent: U, delta: V };
76971
+ const V = w.current, Z = U.target;
76972
+ if (Z.hasPointerCapture(U.pointerId) && Z.releasePointerCapture(U.pointerId), w.current = null, b.current = null, V) {
76973
+ const Y = U.currentTarget, te = { originalEvent: U, delta: V };
76974
76974
  rR(V, m.swipeDirection, m.swipeThreshold) ? Ig(uZe, h, te, {
76975
76975
  discrete: !0
76976
76976
  }) : Ig(
@@ -76980,7 +76980,7 @@ var [fZe, dZe] = ZJ(s8, {
76980
76980
  {
76981
76981
  discrete: !0
76982
76982
  }
76983
- ), Z.addEventListener("click", (G) => G.preventDefault(), {
76983
+ ), Y.addEventListener("click", (W) => W.preventDefault(), {
76984
76984
  once: !0
76985
76985
  });
76986
76986
  }
@@ -78010,7 +78010,7 @@ function oYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, y, v, k) {
78010
78010
  mouse: 500,
78011
78011
  touch: 600
78012
78012
  }, H = p ? 43 : 25;
78013
- let W = !1, U = 0, V = 0, K = !1, Z = !1, te = !1, G = !1;
78013
+ let G = !1, U = 0, V = 0, Z = !1, Y = !1, te = !1, W = !1;
78014
78014
  function re(Ee) {
78015
78015
  if (!k) return;
78016
78016
  function Te(X) {
@@ -78025,7 +78025,7 @@ function oYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, y, v, k) {
78025
78025
  E.clear(), L.clear();
78026
78026
  }
78027
78027
  function ie() {
78028
- const Ee = G ? n : e;
78028
+ const Ee = W ? n : e;
78029
78029
  L.add(Ee, "touchmove", ge, A).add(Ee, "touchend", we).add(Ee, "mousemove", ge, A).add(Ee, "mouseup", we);
78030
78030
  }
78031
78031
  function me(Ee) {
@@ -78033,7 +78033,7 @@ function oYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, y, v, k) {
78033
78033
  return x.includes(Te);
78034
78034
  }
78035
78035
  function be() {
78036
- return (p ? R : D)[G ? "mouse" : "touch"];
78036
+ return (p ? R : D)[W ? "mouse" : "touch"];
78037
78037
  }
78038
78038
  function ye(Ee, Te) {
78039
78039
  const ce = f.add(JL(Ee) * -1), X = u.byDistance(Ee, !p).distance;
@@ -78041,25 +78041,25 @@ function oYe(t, e, n, r, i, s, o, a, l, c, u, f, d, h, p, m, y, v, k) {
78041
78041
  }
78042
78042
  function J(Ee) {
78043
78043
  const Te = lM(Ee, r);
78044
- G = Te, te = p && Te && !Ee.buttons && W, W = um(i.get(), o.get()) >= 2, !(Te && Ee.button !== 0) && (me(Ee.target) || (K = !0, s.pointerDown(Ee), c.useFriction(0).useDuration(0), i.set(o), ie(), U = s.readPoint(Ee), V = s.readPoint(Ee, b), d.emit("pointerDown")));
78044
+ W = Te, te = p && Te && !Ee.buttons && G, G = um(i.get(), o.get()) >= 2, !(Te && Ee.button !== 0) && (me(Ee.target) || (Z = !0, s.pointerDown(Ee), c.useFriction(0).useDuration(0), i.set(o), ie(), U = s.readPoint(Ee), V = s.readPoint(Ee, b), d.emit("pointerDown")));
78045
78045
  }
78046
78046
  function ge(Ee) {
78047
78047
  if (!lM(Ee, r) && Ee.touches.length >= 2) return we(Ee);
78048
78048
  const ce = s.readPoint(Ee), X = s.readPoint(Ee, b), le = um(ce, U), se = um(X, V);
78049
- if (!Z && !G && (!Ee.cancelable || (Z = le > se, !Z)))
78049
+ if (!Y && !W && (!Ee.cancelable || (Y = le > se, !Y)))
78050
78050
  return we(Ee);
78051
78051
  const De = s.pointerMove(Ee);
78052
78052
  le > m && (te = !0), c.useFriction(0.3).useDuration(0.75), a.start(), i.add(w(De)), Ee.preventDefault();
78053
78053
  }
78054
78054
  function we(Ee) {
78055
78055
  const ce = u.byDistance(0, !1).index !== f.get(), X = s.pointerUp(Ee) * be(), le = ye(w(X), ce), se = nYe(X, le), De = H - 10 * se, q = v + se / 50;
78056
- Z = !1, K = !1, L.clear(), c.useDuration(De).useFriction(q), l.distance(le, !p), G = !1, d.emit("pointerUp");
78056
+ Y = !1, Z = !1, L.clear(), c.useDuration(De).useFriction(q), l.distance(le, !p), W = !1, d.emit("pointerUp");
78057
78057
  }
78058
78058
  function Ve(Ee) {
78059
78059
  te && (Ee.stopPropagation(), Ee.preventDefault(), te = !1);
78060
78060
  }
78061
78061
  function Re() {
78062
- return K;
78062
+ return Z;
78063
78063
  }
78064
78064
  return {
78065
78065
  init: re,
@@ -78503,13 +78503,13 @@ function xYe(t, e, n, r, i, s, o, a, l) {
78503
78503
  function y(E, L, N) {
78504
78504
  const D = m(L);
78505
78505
  return E.map((R) => {
78506
- const H = N ? 0 : -n, W = N ? n : 0, U = N ? "end" : "start", V = D[R][U];
78506
+ const H = N ? 0 : -n, G = N ? n : 0, U = N ? "end" : "start", V = D[R][U];
78507
78507
  return {
78508
78508
  index: R,
78509
78509
  loopPoint: V,
78510
78510
  slideLocation: zp(-1),
78511
78511
  translate: yQ(t, l[R]),
78512
- target: () => a.get() > V ? H : W
78512
+ target: () => a.get() > V ? H : G
78513
78513
  };
78514
78514
  });
78515
78515
  }
@@ -78683,12 +78683,12 @@ function LYe(t, e, n, r, i, s, o) {
78683
78683
  watchSlides: w,
78684
78684
  watchDrag: x,
78685
78685
  watchFocus: A
78686
- } = s, E = 2, L = lYe(), N = L.measure(e), D = n.map(L.measure), R = sYe(l, c), H = R.measureSize(N), W = cYe(H), U = rYe(a, H), V = !f && !!k, K = f || !!k, {
78687
- slideSizes: Z,
78686
+ } = s, E = 2, L = lYe(), N = L.measure(e), D = n.map(L.measure), R = sYe(l, c), H = R.measureSize(N), G = cYe(H), U = rYe(a, H), V = !f && !!k, Z = f || !!k, {
78687
+ slideSizes: Y,
78688
78688
  slideSizesWithGaps: te,
78689
- startGap: G,
78689
+ startGap: W,
78690
78690
  endGap: re
78691
- } = AYe(R, N, D, n, K, i), he = SYe(R, H, y, f, N, D, G, re, E), {
78691
+ } = AYe(R, N, D, n, Z, i), he = SYe(R, H, y, f, N, D, W, re, E), {
78692
78692
  snaps: ie,
78693
78693
  snapsAligned: me
78694
78694
  } = gYe(R, U, N, D, he), be = -Vo(ie) + Vo(te), {
@@ -78734,9 +78734,9 @@ function LYe(t, e, n, r, i, s, o) {
78734
78734
  slideRects: D,
78735
78735
  animation: ce,
78736
78736
  axis: R,
78737
- dragHandler: oYe(R, t, r, i, M, aYe(R, i), se, ce, ee, I, B, Ve, o, W, h, p, v, X, x),
78737
+ dragHandler: oYe(R, t, r, i, M, aYe(R, i), se, ce, ee, I, B, Ve, o, G, h, p, v, X, x),
78738
78738
  eventStore: oe,
78739
- percentOfView: W,
78739
+ percentOfView: G,
78740
78740
  index: Ve,
78741
78741
  indexPrevious: Re,
78742
78742
  limit: we,
@@ -78746,14 +78746,14 @@ function LYe(t, e, n, r, i, s, o) {
78746
78746
  options: s,
78747
78747
  resizeHandler: uYe(e, o, i, n, R, b, L),
78748
78748
  scrollBody: I,
78749
- scrollBounds: dYe(we, q, M, I, W),
78749
+ scrollBounds: dYe(we, q, M, I, G),
78750
78750
  scrollLooper: mYe(be, we, q, [se, q, De, M]),
78751
78751
  scrollProgress: de,
78752
78752
  scrollSnapList: ge.map(de.get),
78753
78753
  scrollSnaps: ge,
78754
78754
  scrollTarget: B,
78755
78755
  scrollTo: ee,
78756
- slideLooper: xYe(R, H, be, Z, te, ie, ge, q, n),
78756
+ slideLooper: xYe(R, H, be, Y, te, ie, ge, q, n),
78757
78757
  slideFocus: We,
78758
78758
  slidesHandler: MYe(e, o, w),
78759
78759
  slidesInView: Ie,
@@ -78894,7 +78894,7 @@ function o5(t, e, n) {
78894
78894
  function H() {
78895
78895
  v.dragHandler.destroy(), v.eventStore.clear(), v.translate.clear(), v.slideLooper.clear(), v.resizeHandler.destroy(), v.slidesHandler.destroy(), v.slidesInView.destroy(), v.animation.destroy(), o.destroy(), a.clear();
78896
78896
  }
78897
- function W() {
78897
+ function G() {
78898
78898
  y || (y = !0, a.clear(), H(), l.emit("destroy"), l.clear());
78899
78899
  }
78900
78900
  function U(Ce, Ee, Te) {
@@ -78904,17 +78904,17 @@ function o5(t, e, n) {
78904
78904
  const Ee = v.index.add(1).get();
78905
78905
  U(Ee, Ce, -1);
78906
78906
  }
78907
- function K(Ce) {
78907
+ function Z(Ce) {
78908
78908
  const Ee = v.index.add(-1).get();
78909
78909
  U(Ee, Ce, 1);
78910
78910
  }
78911
- function Z() {
78911
+ function Y() {
78912
78912
  return v.index.add(1).get() !== he();
78913
78913
  }
78914
78914
  function te() {
78915
78915
  return v.index.add(-1).get() !== he();
78916
78916
  }
78917
- function G() {
78917
+ function W() {
78918
78918
  return v.scrollSnapList;
78919
78919
  }
78920
78920
  function re() {
@@ -78948,11 +78948,11 @@ function o5(t, e, n) {
78948
78948
  return E;
78949
78949
  }
78950
78950
  const Re = {
78951
- canScrollNext: Z,
78951
+ canScrollNext: Y,
78952
78952
  canScrollPrev: te,
78953
78953
  containerNode: we,
78954
78954
  internalEngine: J,
78955
- destroy: W,
78955
+ destroy: G,
78956
78956
  off: h,
78957
78957
  on: d,
78958
78958
  emit: p,
@@ -78961,9 +78961,9 @@ function o5(t, e, n) {
78961
78961
  reInit: m,
78962
78962
  rootNode: ge,
78963
78963
  scrollNext: V,
78964
- scrollPrev: K,
78964
+ scrollPrev: Z,
78965
78965
  scrollProgress: re,
78966
- scrollSnapList: G,
78966
+ scrollSnapList: W,
78967
78967
  scrollTo: U,
78968
78968
  selectedScrollSnap: he,
78969
78969
  slideNodes: Ve,
@@ -80498,7 +80498,7 @@ l5.exports;
80498
80498
  D && (N = L, L = null);
80499
80499
  var R = N.navigator || {}, H = R.userAgent || "";
80500
80500
  L || (L = H);
80501
- var W = D ? !!R.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(f.toString()), U = "Object", V = D ? U : "ScriptBridgingProxyObject", K = D ? U : "Environment", Z = D && N.java ? "JavaPackage" : v(N.java), te = D ? U : "RuntimeObject", G = /\bJava/.test(Z) && N.java, re = G && v(N.environment) == K, he = G ? "a" : "α", ie = G ? "b" : "β", me = N.document || {}, be = N.operamini || N.opera, ye = l.test(ye = D && be ? be["[[Class]]"] : v(be)) ? ye : be = null, J, ge = L, we = [], Ve = null, Re = L == H, Ce = Re && be && typeof be.version == "function" && be.version(), Ee, Te = De([
80501
+ var G = D ? !!R.likeChrome : /\bChrome\b/.test(L) && !/internal|\n/i.test(f.toString()), U = "Object", V = D ? U : "ScriptBridgingProxyObject", Z = D ? U : "Environment", Y = D && N.java ? "JavaPackage" : v(N.java), te = D ? U : "RuntimeObject", W = /\bJava/.test(Y) && N.java, re = W && v(N.environment) == Z, he = W ? "a" : "α", ie = W ? "b" : "β", me = N.document || {}, be = N.operamini || N.opera, ye = l.test(ye = D && be ? be["[[Class]]"] : v(be)) ? ye : be = null, J, ge = L, we = [], Ve = null, Re = L == H, Ce = Re && be && typeof be.version == "function" && be.version(), Ee, Te = De([
80502
80502
  { label: "EdgeHTML", pattern: "Edge" },
80503
80503
  "Trident",
80504
80504
  { label: "WebKit", pattern: "AppleWebKit" },
@@ -80688,7 +80688,7 @@ l5.exports;
80688
80688
  "(?:Firefox|Minefield|NetFront)"
80689
80689
  ])), (J = Te == "iCab" && parseFloat(Ce) > 3 && "WebKit" || /\bOpera\b/.test(ce) && (/\bOPR\b/.test(L) ? "Blink" : "Presto") || /\b(?:Midori|Nook|Safari)\b/i.test(L) && !/^(?:Trident|EdgeHTML)$/.test(Te) && "WebKit" || !Te && /\bMSIE\b/i.test(L) && (se == "Mac OS" ? "Tasman" : "Trident") || Te == "WebKit" && /\bPlayStation\b(?! Vita\b)/i.test(ce) && "NetFront") && (Te = [J]), ce == "IE" && (J = (/; *(?:XBLWP|ZuneWP)(\d+)/i.exec(L) || 0)[1]) ? (ce += " Mobile", se = "Windows Phone " + (/\+$/.test(J) ? J : J + ".x"), we.unshift("desktop mode")) : /\bWPDesktop\b/i.test(L) ? (ce = "IE Mobile", se = "Windows Phone 8.x", we.unshift("desktop mode"), Ce || (Ce = (/\brv:([\d.]+)/.exec(L) || 0)[1])) : ce != "IE" && Te == "Trident" && (J = /\brv:([\d.]+)/.exec(L)) && (ce && we.push("identifying as " + ce + (Ce ? " " + Ce : "")), ce = "IE", Ce = J[1]), Re) {
80690
80690
  if (k(N, "global"))
80691
- if (G && (J = G.lang.System, ge = J.getProperty("os.arch"), se = se || J.getProperty("os.name") + " " + J.getProperty("os.version")), re) {
80691
+ if (W && (J = W.lang.System, ge = J.getProperty("os.arch"), se = se || J.getProperty("os.name") + " " + J.getProperty("os.version")), re) {
80692
80692
  try {
80693
80693
  Ce = N.require("ringo/engine").version.join("."), ce = "RingoJS";
80694
80694
  } catch {
@@ -80714,7 +80714,7 @@ l5.exports;
80714
80714
  we.unshift("embedded");
80715
80715
  }
80716
80716
  else (/\bBlackBerry\b/.test(X) || /\bBB10\b/.test(L)) && (J = (RegExp(X.replace(/ +/g, " *") + "/([.\\d]+)", "i").exec(L) || 0)[1] || Ce) ? (J = [J, /BB10/.test(L)], se = (J[1] ? (X = null, le = "BlackBerry") : "Device Software") + " " + J[0], Ce = null) : this != y && X != "Wii" && (Re && be || /Opera/.test(ce) && /\b(?:MSIE|Firefox)\b/i.test(L) || ce == "Firefox" && /\bOS X (?:\d+\.){2,}/.test(se) || ce == "IE" && (se && !/^Win/.test(se) && Ce > 5.5 || /\bWindows XP\b/.test(se) && Ce > 8 || Ce == 8 && !/\bTrident\b/.test(L))) && !l.test(J = A.call(y, L.replace(l, "") + ";")) && J.name && (J = "ing as " + J.name + ((J = J.version) ? " " + J : ""), l.test(ce) ? (/\bIE\b/.test(J) && se == "Mac OS" && (se = null), J = "identify" + J) : (J = "mask" + J, ye ? ce = m(ye.replace(/([a-z])([A-Z])/g, "$1 $2")) : ce = "Opera", /\bIE\b/.test(J) && (se = null), Re || (Ce = null)), Te = ["Presto"], we.push(J));
80717
- (J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ce == "Safari" && J[1].slice(-1) == "+" ? (ce = "WebKit Nightly", Ve = "alpha", Ce = J[1].slice(0, -1)) : (Ce == J[1] || Ce == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ce = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !Re || !W && !J[1] ? (Te && (Te[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (Te && (Te[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : Te != "Blink" ? "27" : "28")), Te && (Te[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), ce == "Safari" && (!Ce || parseInt(Ce) > 45) ? Ce = J : ce == "Chrome" && /\bHeadlessChrome/i.test(L) && we.unshift("headless")), ce == "Opera" && (J = /\bzbov|zvav$/.exec(se)) ? (ce += " ", we.unshift("desktop mode"), J == "zvav" ? (ce += "Mini", Ce = null) : ce += "Mobile", se = se.replace(RegExp(" *" + J + "$"), "")) : ce == "Safari" && /\bChrome\b/.exec(Te && Te[1]) ? (we.unshift("desktop mode"), ce = "Chrome Mobile", Ce = null, /\bOS X\b/.test(se) ? (le = "Apple", se = "iOS 4.3+") : se = null) : /\bSRWare Iron\b/.test(ce) && !Ce && (Ce = ee("Chrome")), Ce && Ce.indexOf(J = /[\d.]+$/.exec(se)) == 0 && L.indexOf("/" + J + "-") > -1 && (se = x(se.replace(J, ""))), se && se.indexOf(ce) != -1 && !RegExp(ce + " OS").test(se) && (se = se.replace(RegExp(" *" + b(ce) + " *"), "")), Te && !/\b(?:Avant|Nook)\b/.test(ce) && (/Browser|Lunascape|Maxthon/.test(ce) || ce != "Safari" && /^iOS/.test(se) && /\bSafari\b/.test(Te[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ce) && Te[1]) && (J = Te[Te.length - 1]) && we.push(J), we.length && (we = ["(" + we.join("; ") + ")"]), le && X && X.indexOf(le) < 0 && we.push("on " + le), X && we.push((/^on /.test(we[we.length - 1]) ? "" : "on ") + X), se && (J = / ([\d.+]+)$/.exec(se), Ee = J && se.charAt(se.length - J[0].length - 1) == "/", se = {
80717
+ (J = (/\bAppleWebKit\/([\d.]+\+?)/i.exec(L) || 0)[1]) && (J = [parseFloat(J.replace(/\.(\d)$/, ".0$1")), J], ce == "Safari" && J[1].slice(-1) == "+" ? (ce = "WebKit Nightly", Ve = "alpha", Ce = J[1].slice(0, -1)) : (Ce == J[1] || Ce == (J[2] = (/\bSafari\/([\d.]+\+?)/i.exec(L) || 0)[1])) && (Ce = null), J[1] = (/\b(?:Headless)?Chrome\/([\d.]+)/i.exec(L) || 0)[1], J[0] == 537.36 && J[2] == 537.36 && parseFloat(J[1]) >= 28 && Te == "WebKit" && (Te = ["Blink"]), !Re || !G && !J[1] ? (Te && (Te[1] = "like Safari"), J = (J = J[0], J < 400 ? 1 : J < 500 ? 2 : J < 526 ? 3 : J < 533 ? 4 : J < 534 ? "4+" : J < 535 ? 5 : J < 537 ? 6 : J < 538 ? 7 : J < 601 ? 8 : J < 602 ? 9 : J < 604 ? 10 : J < 606 ? 11 : J < 608 ? 12 : "12")) : (Te && (Te[1] = "like Chrome"), J = J[1] || (J = J[0], J < 530 ? 1 : J < 532 ? 2 : J < 532.05 ? 3 : J < 533 ? 4 : J < 534.03 ? 5 : J < 534.07 ? 6 : J < 534.1 ? 7 : J < 534.13 ? 8 : J < 534.16 ? 9 : J < 534.24 ? 10 : J < 534.3 ? 11 : J < 535.01 ? 12 : J < 535.02 ? "13+" : J < 535.07 ? 15 : J < 535.11 ? 16 : J < 535.19 ? 17 : J < 536.05 ? 18 : J < 536.1 ? 19 : J < 537.01 ? 20 : J < 537.11 ? "21+" : J < 537.13 ? 23 : J < 537.18 ? 24 : J < 537.24 ? 25 : J < 537.36 ? 26 : Te != "Blink" ? "27" : "28")), Te && (Te[1] += " " + (J += typeof J == "number" ? ".x" : /[.+]/.test(J) ? "" : "+")), ce == "Safari" && (!Ce || parseInt(Ce) > 45) ? Ce = J : ce == "Chrome" && /\bHeadlessChrome/i.test(L) && we.unshift("headless")), ce == "Opera" && (J = /\bzbov|zvav$/.exec(se)) ? (ce += " ", we.unshift("desktop mode"), J == "zvav" ? (ce += "Mini", Ce = null) : ce += "Mobile", se = se.replace(RegExp(" *" + J + "$"), "")) : ce == "Safari" && /\bChrome\b/.exec(Te && Te[1]) ? (we.unshift("desktop mode"), ce = "Chrome Mobile", Ce = null, /\bOS X\b/.test(se) ? (le = "Apple", se = "iOS 4.3+") : se = null) : /\bSRWare Iron\b/.test(ce) && !Ce && (Ce = ee("Chrome")), Ce && Ce.indexOf(J = /[\d.]+$/.exec(se)) == 0 && L.indexOf("/" + J + "-") > -1 && (se = x(se.replace(J, ""))), se && se.indexOf(ce) != -1 && !RegExp(ce + " OS").test(se) && (se = se.replace(RegExp(" *" + b(ce) + " *"), "")), Te && !/\b(?:Avant|Nook)\b/.test(ce) && (/Browser|Lunascape|Maxthon/.test(ce) || ce != "Safari" && /^iOS/.test(se) && /\bSafari\b/.test(Te[1]) || /^(?:Adobe|Arora|Breach|Midori|Opera|Phantom|Rekonq|Rock|Samsung Internet|Sleipnir|SRWare Iron|Vivaldi|Web)/.test(ce) && Te[1]) && (J = Te[Te.length - 1]) && we.push(J), we.length && (we = ["(" + we.join("; ") + ")"]), le && X && X.indexOf(le) < 0 && we.push("on " + le), X && we.push((/^on /.test(we[we.length - 1]) ? "" : "on ") + X), se && (J = / ([\d.+]+)$/.exec(se), Ee = J && se.charAt(se.length - J[0].length - 1) == "/", se = {
80718
80718
  architecture: 32,
80719
80719
  family: J && !Ee ? se.replace(J[0], "") : se,
80720
80720
  version: J ? J[1] : null,
@@ -88026,14 +88026,14 @@ var WX = { exports: {} };
88026
88026
  return he(this, I, B);
88027
88027
  case "utf8":
88028
88028
  case "utf-8":
88029
- return Z(this, I, B);
88029
+ return Y(this, I, B);
88030
88030
  case "ascii":
88031
- return G(this, I, B);
88031
+ return W(this, I, B);
88032
88032
  case "latin1":
88033
88033
  case "binary":
88034
88034
  return re(this, I, B);
88035
88035
  case "base64":
88036
- return K(this, I, B);
88036
+ return Z(this, I, B);
88037
88037
  case "ucs2":
88038
88038
  case "ucs-2":
88039
88039
  case "utf16le":
@@ -88100,7 +88100,7 @@ var WX = { exports: {} };
88100
88100
  function H(M, I, B, ee) {
88101
88101
  return ce(Ce(I), M, B, ee);
88102
88102
  }
88103
- function W(M, I, B, ee) {
88103
+ function G(M, I, B, ee) {
88104
88104
  return H(M, I, B, ee);
88105
88105
  }
88106
88106
  function U(M, I, B, ee) {
@@ -88109,10 +88109,10 @@ var WX = { exports: {} };
88109
88109
  function V(M, I, B, ee) {
88110
88110
  return ce(Ee(I, M.length - B), M, B, ee);
88111
88111
  }
88112
- function K(M, I, B) {
88112
+ function Z(M, I, B) {
88113
88113
  return I === 0 && B === M.length ? se.fromByteArray(M) : se.fromByteArray(M.slice(I, B));
88114
88114
  }
88115
- function Z(M, I, B) {
88115
+ function Y(M, I, B) {
88116
88116
  B = c(M.length, B);
88117
88117
  for (var ee = [], de = I; de < B; ) {
88118
88118
  var oe = M[de], Ie = null, Fe = 239 < oe ? 4 : 223 < oe ? 3 : 191 < oe ? 2 : 1;
@@ -88130,7 +88130,7 @@ var WX = { exports: {} };
88130
88130
  for (var B = "", ee = 0; ee < I; ) B += l.apply(String, M.slice(ee, ee += 4096));
88131
88131
  return B;
88132
88132
  }
88133
- function G(M, I, B) {
88133
+ function W(M, I, B) {
88134
88134
  var ee = "";
88135
88135
  B = c(M.length, B);
88136
88136
  for (var de = I; de < B; ++de) ee += l(127 & M[de]);
@@ -88317,7 +88317,7 @@ var WX = { exports: {} };
88317
88317
  return this;
88318
88318
  }, f.prototype.toString = function() {
88319
88319
  var M = this.length;
88320
- return M === 0 ? "" : arguments.length === 0 ? Z(this, 0, M) : A.apply(this, arguments);
88320
+ return M === 0 ? "" : arguments.length === 0 ? Y(this, 0, M) : A.apply(this, arguments);
88321
88321
  }, f.prototype.toLocaleString = f.prototype.toString, f.prototype.equals = function(M) {
88322
88322
  if (!f.isBuffer(M)) throw new TypeError("Argument must be a Buffer");
88323
88323
  return this === M || f.compare(this, M) === 0;
@@ -88360,7 +88360,7 @@ var WX = { exports: {} };
88360
88360
  return H(this, M, I, B);
88361
88361
  case "latin1":
88362
88362
  case "binary":
88363
- return W(this, M, I, B);
88363
+ return G(this, M, I, B);
88364
88364
  case "base64":
88365
88365
  return U(this, M, I, B);
88366
88366
  case "ucs2":
@@ -88658,13 +88658,13 @@ var WX = { exports: {} };
88658
88658
  function u(D) {
88659
88659
  return D._maxListeners === void 0 ? l.defaultMaxListeners : D._maxListeners;
88660
88660
  }
88661
- function f(D, R, H, W) {
88662
- var U, V, K;
88663
- if (c(H), V = D._events, V === void 0 ? (V = D._events = /* @__PURE__ */ Object.create(null), D._eventsCount = 0) : (V.newListener !== void 0 && (D.emit("newListener", R, H.listener ? H.listener : H), V = D._events), K = V[R]), K === void 0) K = V[R] = H, ++D._eventsCount;
88664
- else if (typeof K == "function" ? K = V[R] = W ? [H, K] : [K, H] : W ? K.unshift(H) : K.push(H), U = u(D), 0 < U && K.length > U && !K.warned) {
88665
- K.warned = !0;
88666
- var Z = new Error("Possible EventEmitter memory leak detected. " + K.length + " " + (R + " listeners added. Use emitter.setMaxListeners() to increase limit"));
88667
- Z.name = "MaxListenersExceededWarning", Z.emitter = D, Z.type = R, Z.count = K.length, a(Z);
88661
+ function f(D, R, H, G) {
88662
+ var U, V, Z;
88663
+ if (c(H), V = D._events, V === void 0 ? (V = D._events = /* @__PURE__ */ Object.create(null), D._eventsCount = 0) : (V.newListener !== void 0 && (D.emit("newListener", R, H.listener ? H.listener : H), V = D._events), Z = V[R]), Z === void 0) Z = V[R] = H, ++D._eventsCount;
88664
+ else if (typeof Z == "function" ? Z = V[R] = G ? [H, Z] : [Z, H] : G ? Z.unshift(H) : Z.push(H), U = u(D), 0 < U && Z.length > U && !Z.warned) {
88665
+ Z.warned = !0;
88666
+ var Y = new Error("Possible EventEmitter memory leak detected. " + Z.length + " " + (R + " listeners added. Use emitter.setMaxListeners() to increase limit"));
88667
+ Y.name = "MaxListenersExceededWarning", Y.emitter = D, Y.type = R, Y.count = Z.length, a(Y);
88668
88668
  }
88669
88669
  return D;
88670
88670
  }
@@ -88672,13 +88672,13 @@ var WX = { exports: {} };
88672
88672
  if (!this.fired) return this.target.removeListener(this.type, this.wrapFn), this.fired = !0, arguments.length === 0 ? this.listener.call(this.target) : this.listener.apply(this.target, arguments);
88673
88673
  }
88674
88674
  function h(D, R, H) {
88675
- var W = { fired: !1, wrapFn: void 0, target: D, type: R, listener: H }, U = d.bind(W);
88676
- return U.listener = H, W.wrapFn = U, U;
88675
+ var G = { fired: !1, wrapFn: void 0, target: D, type: R, listener: H }, U = d.bind(G);
88676
+ return U.listener = H, G.wrapFn = U, U;
88677
88677
  }
88678
88678
  function p(D, R, H) {
88679
- var W = D._events;
88680
- if (W === void 0) return [];
88681
- var U = W[R];
88679
+ var G = D._events;
88680
+ if (G === void 0) return [];
88681
+ var U = G[R];
88682
88682
  return U === void 0 ? [] : typeof U == "function" ? H ? [U.listener || U] : [U] : H ? k(U) : y(U, U.length);
88683
88683
  }
88684
88684
  function m(D) {
@@ -88691,7 +88691,7 @@ var WX = { exports: {} };
88691
88691
  return 0;
88692
88692
  }
88693
88693
  function y(D, R) {
88694
- for (var H = Array(R), W = 0; W < R; ++W) H[W] = D[W];
88694
+ for (var H = Array(R), G = 0; G < R; ++G) H[G] = D[G];
88695
88695
  return H;
88696
88696
  }
88697
88697
  function v(D, R) {
@@ -88705,10 +88705,10 @@ var WX = { exports: {} };
88705
88705
  function b(D, R, H) {
88706
88706
  typeof D.on == "function" && w(D, "error", R, H);
88707
88707
  }
88708
- function w(D, R, H, W) {
88709
- if (typeof D.on == "function") W.once ? D.once(R, H) : D.on(R, H);
88708
+ function w(D, R, H, G) {
88709
+ if (typeof D.on == "function") G.once ? D.once(R, H) : D.on(R, H);
88710
88710
  else if (typeof D.addEventListener == "function") D.addEventListener(R, function U(V) {
88711
- W.once && D.removeEventListener(R, U), H(V);
88711
+ G.once && D.removeEventListener(R, U), H(V);
88712
88712
  });
88713
88713
  else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type ' + typeof D);
88714
88714
  }
@@ -88724,9 +88724,9 @@ var WX = { exports: {} };
88724
88724
  return D !== D;
88725
88725
  };
88726
88726
  o.exports = l, o.exports.once = function(D, R) {
88727
- return new Promise(function(H, W) {
88728
- function U(K) {
88729
- D.removeListener(R, V), W(K);
88727
+ return new Promise(function(H, G) {
88728
+ function U(Z) {
88729
+ D.removeListener(R, V), G(Z);
88730
88730
  }
88731
88731
  function V() {
88732
88732
  typeof D.removeListener == "function" && D.removeListener("error", U), H([].slice.call(arguments));
@@ -88749,19 +88749,19 @@ var WX = { exports: {} };
88749
88749
  return u(this);
88750
88750
  }, l.prototype.emit = function(D) {
88751
88751
  for (var R = [], H = 1; H < arguments.length; H++) R.push(arguments[H]);
88752
- var W = D === "error", U = this._events;
88753
- if (U !== void 0) W = W && U.error === void 0;
88754
- else if (!W) return !1;
88755
- if (W) {
88752
+ var G = D === "error", U = this._events;
88753
+ if (U !== void 0) G = G && U.error === void 0;
88754
+ else if (!G) return !1;
88755
+ if (G) {
88756
88756
  var V;
88757
88757
  if (0 < R.length && (V = R[0]), V instanceof Error) throw V;
88758
- var K = new Error("Unhandled error." + (V ? " (" + V.message + ")" : ""));
88759
- throw K.context = V, K;
88758
+ var Z = new Error("Unhandled error." + (V ? " (" + V.message + ")" : ""));
88759
+ throw Z.context = V, Z;
88760
88760
  }
88761
- var Z = U[D];
88762
- if (Z === void 0) return !1;
88763
- if (typeof Z == "function") E(Z, this, R);
88764
- else for (var te = Z.length, G = y(Z, te), H = 0; H < te; ++H) E(G[H], this, R);
88761
+ var Y = U[D];
88762
+ if (Y === void 0) return !1;
88763
+ if (typeof Y == "function") E(Y, this, R);
88764
+ else for (var te = Y.length, W = y(Y, te), H = 0; H < te; ++H) E(W[H], this, R);
88765
88765
  return !0;
88766
88766
  }, l.prototype.addListener = function(D, R) {
88767
88767
  return f(this, D, R, !1);
@@ -88772,30 +88772,30 @@ var WX = { exports: {} };
88772
88772
  }, l.prototype.prependOnceListener = function(D, R) {
88773
88773
  return c(R), this.prependListener(D, h(this, D, R)), this;
88774
88774
  }, l.prototype.removeListener = function(D, R) {
88775
- var H, W, U, V, K;
88776
- if (c(R), W = this._events, W === void 0) return this;
88777
- if (H = W[D], H === void 0) return this;
88778
- if (H === R || H.listener === R) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete W[D], W.removeListener && this.emit("removeListener", D, H.listener || R));
88775
+ var H, G, U, V, Z;
88776
+ if (c(R), G = this._events, G === void 0) return this;
88777
+ if (H = G[D], H === void 0) return this;
88778
+ if (H === R || H.listener === R) --this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : (delete G[D], G.removeListener && this.emit("removeListener", D, H.listener || R));
88779
88779
  else if (typeof H != "function") {
88780
88780
  for (U = -1, V = H.length - 1; 0 <= V; V--) if (H[V] === R || H[V].listener === R) {
88781
- K = H[V].listener, U = V;
88781
+ Z = H[V].listener, U = V;
88782
88782
  break;
88783
88783
  }
88784
88784
  if (0 > U) return this;
88785
- U === 0 ? H.shift() : v(H, U), H.length === 1 && (W[D] = H[0]), W.removeListener !== void 0 && this.emit("removeListener", D, K || R);
88785
+ U === 0 ? H.shift() : v(H, U), H.length === 1 && (G[D] = H[0]), G.removeListener !== void 0 && this.emit("removeListener", D, Z || R);
88786
88786
  }
88787
88787
  return this;
88788
88788
  }, l.prototype.off = l.prototype.removeListener, l.prototype.removeAllListeners = function(D) {
88789
- var R, H, W;
88789
+ var R, H, G;
88790
88790
  if (H = this._events, H === void 0) return this;
88791
88791
  if (H.removeListener === void 0) return arguments.length === 0 ? (this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0) : H[D] !== void 0 && (--this._eventsCount == 0 ? this._events = /* @__PURE__ */ Object.create(null) : delete H[D]), this;
88792
88792
  if (arguments.length === 0) {
88793
88793
  var U, V = Object.keys(H);
88794
- for (W = 0; W < V.length; ++W) U = V[W], U !== "removeListener" && this.removeAllListeners(U);
88794
+ for (G = 0; G < V.length; ++G) U = V[G], U !== "removeListener" && this.removeAllListeners(U);
88795
88795
  return this.removeAllListeners("removeListener"), this._events = /* @__PURE__ */ Object.create(null), this._eventsCount = 0, this;
88796
88796
  }
88797
88797
  if (R = H[D], typeof R == "function") this.removeListener(D, R);
88798
- else if (R !== void 0) for (W = R.length - 1; 0 <= W; W--) this.removeListener(D, R[W]);
88798
+ else if (R !== void 0) for (G = R.length - 1; 0 <= G; G--) this.removeListener(D, R[G]);
88799
88799
  return this;
88800
88800
  }, l.prototype.listeners = function(D) {
88801
88801
  return p(this, D, !0);
@@ -89100,7 +89100,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89100
89100
  this._readableState = new d(q, this, M), this.readable = !0, q && (typeof q.read == "function" && (this._read = q.read), typeof q.destroy == "function" && (this._destroy = q.destroy)), he.call(this);
89101
89101
  }
89102
89102
  function p(q, M, I, B, ee) {
89103
- G("readableAddChunk", M);
89103
+ W("readableAddChunk", M);
89104
89104
  var de = q._readableState;
89105
89105
  if (M === null) de.reading = !1, b(q, de);
89106
89106
  else {
@@ -89130,7 +89130,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89130
89130
  return 0 >= q || M.length === 0 && M.ended ? 0 : M.objectMode ? 1 : q === q ? (q > M.highWaterMark && (M.highWaterMark = v(q)), q <= M.length ? q : M.ended ? M.length : (M.needReadable = !0, 0)) : M.flowing && M.length ? M.buffer.head.data.length : M.length;
89131
89131
  }
89132
89132
  function b(q, M) {
89133
- if (G("onEofChunk"), !M.ended) {
89133
+ if (W("onEofChunk"), !M.ended) {
89134
89134
  if (M.decoder) {
89135
89135
  var I = M.decoder.end();
89136
89136
  I && I.length && (M.buffer.push(I), M.length += M.objectMode ? 1 : I.length);
@@ -89140,11 +89140,11 @@ Use Chrome, Firefox or Internet Explorer 11`);
89140
89140
  }
89141
89141
  function w(q) {
89142
89142
  var M = q._readableState;
89143
- G("emitReadable", M.needReadable, M.emittedReadable), M.needReadable = !1, M.emittedReadable || (G("emitReadable", M.flowing), M.emittedReadable = !0, a.nextTick(x, q));
89143
+ W("emitReadable", M.needReadable, M.emittedReadable), M.needReadable = !1, M.emittedReadable || (W("emitReadable", M.flowing), M.emittedReadable = !0, a.nextTick(x, q));
89144
89144
  }
89145
89145
  function x(q) {
89146
89146
  var M = q._readableState;
89147
- G("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (q.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark, W(q);
89147
+ W("emitReadable_", M.destroyed, M.length, M.ended), !M.destroyed && (M.length || M.ended) && (q.emit("readable"), M.emittedReadable = !1), M.needReadable = !M.flowing && !M.ended && M.length <= M.highWaterMark, G(q);
89148
89148
  }
89149
89149
  function A(q, M) {
89150
89150
  M.readingMore || (M.readingMore = !0, a.nextTick(E, q, M));
@@ -89152,14 +89152,14 @@ Use Chrome, Firefox or Internet Explorer 11`);
89152
89152
  function E(q, M) {
89153
89153
  for (; !M.reading && !M.ended && (M.length < M.highWaterMark || M.flowing && M.length === 0); ) {
89154
89154
  var I = M.length;
89155
- if (G("maybeReadMore read 0"), q.read(0), I === M.length) break;
89155
+ if (W("maybeReadMore read 0"), q.read(0), I === M.length) break;
89156
89156
  }
89157
89157
  M.readingMore = !1;
89158
89158
  }
89159
89159
  function L(q) {
89160
89160
  return function() {
89161
89161
  var M = q._readableState;
89162
- G("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && re(q, "data") && (M.flowing = !0, W(q));
89162
+ W("pipeOnDrain", M.awaitDrain), M.awaitDrain && M.awaitDrain--, M.awaitDrain === 0 && re(q, "data") && (M.flowing = !0, G(q));
89163
89163
  };
89164
89164
  }
89165
89165
  function N(q) {
@@ -89167,17 +89167,17 @@ Use Chrome, Firefox or Internet Explorer 11`);
89167
89167
  M.readableListening = 0 < q.listenerCount("readable"), M.resumeScheduled && !M.paused ? M.flowing = !0 : 0 < q.listenerCount("data") && q.resume();
89168
89168
  }
89169
89169
  function D(q) {
89170
- G("readable nexttick read 0"), q.read(0);
89170
+ W("readable nexttick read 0"), q.read(0);
89171
89171
  }
89172
89172
  function R(q, M) {
89173
89173
  M.resumeScheduled || (M.resumeScheduled = !0, a.nextTick(H, q, M));
89174
89174
  }
89175
89175
  function H(q, M) {
89176
- G("resume", M.reading), M.reading || q.read(0), M.resumeScheduled = !1, q.emit("resume"), W(q), M.flowing && !M.reading && q.read(0);
89176
+ W("resume", M.reading), M.reading || q.read(0), M.resumeScheduled = !1, q.emit("resume"), G(q), M.flowing && !M.reading && q.read(0);
89177
89177
  }
89178
- function W(q) {
89178
+ function G(q) {
89179
89179
  var M = q._readableState;
89180
- for (G("flow", M.flowing); M.flowing && q.read() !== null; ) ;
89180
+ for (W("flow", M.flowing); M.flowing && q.read() !== null; ) ;
89181
89181
  }
89182
89182
  function U(q, M) {
89183
89183
  if (M.length === 0) return null;
@@ -89186,28 +89186,28 @@ Use Chrome, Firefox or Internet Explorer 11`);
89186
89186
  }
89187
89187
  function V(q) {
89188
89188
  var M = q._readableState;
89189
- G("endReadable", M.endEmitted), M.endEmitted || (M.ended = !0, a.nextTick(K, M, q));
89189
+ W("endReadable", M.endEmitted), M.endEmitted || (M.ended = !0, a.nextTick(Z, M, q));
89190
89190
  }
89191
- function K(q, M) {
89192
- if (G("endReadableNT", q.endEmitted, q.length), !q.endEmitted && q.length === 0 && (q.endEmitted = !0, M.readable = !1, M.emit("end"), q.autoDestroy)) {
89191
+ function Z(q, M) {
89192
+ if (W("endReadableNT", q.endEmitted, q.length), !q.endEmitted && q.length === 0 && (q.endEmitted = !0, M.readable = !1, M.emit("end"), q.autoDestroy)) {
89193
89193
  var I = M._writableState;
89194
89194
  (!I || I.autoDestroy && I.finished) && M.destroy();
89195
89195
  }
89196
89196
  }
89197
- function Z(q, M) {
89197
+ function Y(q, M) {
89198
89198
  for (var I = 0, B = q.length; I < B; I++) if (q[I] === M) return I;
89199
89199
  return -1;
89200
89200
  }
89201
89201
  o.exports = h;
89202
89202
  var te;
89203
89203
  h.ReadableState = d;
89204
- var G;
89204
+ var W;
89205
89205
  s("events").EventEmitter;
89206
89206
  var re = function(q, M) {
89207
89207
  return q.listeners(M).length;
89208
89208
  }, he = s("./internal/streams/stream"), ie = s("buffer").Buffer, me = l.Uint8Array || function() {
89209
89209
  }, be = s("util");
89210
- G = be && be.debuglog ? be.debuglog("stream") : function() {
89210
+ W = be && be.debuglog ? be.debuglog("stream") : function() {
89211
89211
  };
89212
89212
  var ye, J, ge, we = s("./internal/streams/buffer_list"), Ve = s("./internal/streams/destroy"), Re = s("./internal/streams/state"), Ce = Re.getHighWaterMark, Ee = s("../errors").codes, Te = Ee.ERR_INVALID_ARG_TYPE, ce = Ee.ERR_STREAM_PUSH_AFTER_EOF, X = Ee.ERR_METHOD_NOT_IMPLEMENTED, le = Ee.ERR_STREAM_UNSHIFT_AFTER_END_EVENT;
89213
89213
  s("inherits")(h, he);
@@ -89232,42 +89232,42 @@ Use Chrome, Firefox or Internet Explorer 11`);
89232
89232
  for (var I = this._readableState.buffer.head, B = ""; I !== null; ) B += M.write(I.data), I = I.next;
89233
89233
  return this._readableState.buffer.clear(), B !== "" && this._readableState.buffer.push(B), this._readableState.length = B.length, this;
89234
89234
  }, h.prototype.read = function(q) {
89235
- G("read", q), q = parseInt(q, 10);
89235
+ W("read", q), q = parseInt(q, 10);
89236
89236
  var M = this._readableState, I = q;
89237
- if (q !== 0 && (M.emittedReadable = !1), q === 0 && M.needReadable && ((M.highWaterMark === 0 ? 0 < M.length : M.length >= M.highWaterMark) || M.ended)) return G("read: emitReadable", M.length, M.ended), M.length === 0 && M.ended ? V(this) : w(this), null;
89237
+ if (q !== 0 && (M.emittedReadable = !1), q === 0 && M.needReadable && ((M.highWaterMark === 0 ? 0 < M.length : M.length >= M.highWaterMark) || M.ended)) return W("read: emitReadable", M.length, M.ended), M.length === 0 && M.ended ? V(this) : w(this), null;
89238
89238
  if (q = k(q, M), q === 0 && M.ended) return M.length === 0 && V(this), null;
89239
89239
  var B = M.needReadable;
89240
- G("need readable", B), (M.length === 0 || M.length - q < M.highWaterMark) && (B = !0, G("length less than watermark", B)), M.ended || M.reading ? (B = !1, G("reading or ended", B)) : B && (G("do read"), M.reading = !0, M.sync = !0, M.length === 0 && (M.needReadable = !0), this._read(M.highWaterMark), M.sync = !1, !M.reading && (q = k(I, M)));
89240
+ W("need readable", B), (M.length === 0 || M.length - q < M.highWaterMark) && (B = !0, W("length less than watermark", B)), M.ended || M.reading ? (B = !1, W("reading or ended", B)) : B && (W("do read"), M.reading = !0, M.sync = !0, M.length === 0 && (M.needReadable = !0), this._read(M.highWaterMark), M.sync = !1, !M.reading && (q = k(I, M)));
89241
89241
  var ee;
89242
89242
  return ee = 0 < q ? U(q, M) : null, ee === null ? (M.needReadable = M.length <= M.highWaterMark, q = 0) : (M.length -= q, M.awaitDrain = 0), M.length === 0 && (!M.ended && (M.needReadable = !0), I !== q && M.ended && V(this)), ee !== null && this.emit("data", ee), ee;
89243
89243
  }, h.prototype._read = function() {
89244
89244
  se(this, new X("_read()"));
89245
89245
  }, h.prototype.pipe = function(q, M) {
89246
89246
  function I(Je, at) {
89247
- G("onunpipe"), Je === rt && at && at.hasUnpiped === !1 && (at.hasUnpiped = !0, ee());
89247
+ W("onunpipe"), Je === rt && at && at.hasUnpiped === !1 && (at.hasUnpiped = !0, ee());
89248
89248
  }
89249
89249
  function B() {
89250
- G("onend"), q.end();
89250
+ W("onend"), q.end();
89251
89251
  }
89252
89252
  function ee() {
89253
- G("cleanup"), q.removeListener("close", Ie), q.removeListener("finish", Fe), q.removeListener("drain", jn), q.removeListener("error", oe), q.removeListener("unpipe", I), rt.removeListener("end", B), rt.removeListener("end", We), rt.removeListener("data", de), Me = !0, ot.awaitDrain && (!q._writableState || q._writableState.needDrain) && jn();
89253
+ W("cleanup"), q.removeListener("close", Ie), q.removeListener("finish", Fe), q.removeListener("drain", jn), q.removeListener("error", oe), q.removeListener("unpipe", I), rt.removeListener("end", B), rt.removeListener("end", We), rt.removeListener("data", de), Me = !0, ot.awaitDrain && (!q._writableState || q._writableState.needDrain) && jn();
89254
89254
  }
89255
89255
  function de(Je) {
89256
- G("ondata");
89256
+ W("ondata");
89257
89257
  var at = q.write(Je);
89258
- G("dest.write", at), at === !1 && ((ot.pipesCount === 1 && ot.pipes === q || 1 < ot.pipesCount && Z(ot.pipes, q) !== -1) && !Me && (G("false write response, pause", ot.awaitDrain), ot.awaitDrain++), rt.pause());
89258
+ W("dest.write", at), at === !1 && ((ot.pipesCount === 1 && ot.pipes === q || 1 < ot.pipesCount && Y(ot.pipes, q) !== -1) && !Me && (W("false write response, pause", ot.awaitDrain), ot.awaitDrain++), rt.pause());
89259
89259
  }
89260
89260
  function oe(Je) {
89261
- G("onerror", Je), We(), q.removeListener("error", oe), re(q, "error") === 0 && se(q, Je);
89261
+ W("onerror", Je), We(), q.removeListener("error", oe), re(q, "error") === 0 && se(q, Je);
89262
89262
  }
89263
89263
  function Ie() {
89264
89264
  q.removeListener("finish", Fe), We();
89265
89265
  }
89266
89266
  function Fe() {
89267
- G("onfinish"), q.removeListener("close", Ie), We();
89267
+ W("onfinish"), q.removeListener("close", Ie), We();
89268
89268
  }
89269
89269
  function We() {
89270
- G("unpipe"), rt.unpipe(q);
89270
+ W("unpipe"), rt.unpipe(q);
89271
89271
  }
89272
89272
  var rt = this, ot = this._readableState;
89273
89273
  switch (ot.pipesCount) {
@@ -89280,13 +89280,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
89280
89280
  default:
89281
89281
  ot.pipes.push(q);
89282
89282
  }
89283
- ot.pipesCount += 1, G("pipe count=%d opts=%j", ot.pipesCount, M);
89283
+ ot.pipesCount += 1, W("pipe count=%d opts=%j", ot.pipesCount, M);
89284
89284
  var en = (!M || M.end !== !1) && q !== a.stdout && q !== a.stderr, hn = en ? B : We;
89285
89285
  ot.endEmitted ? a.nextTick(hn) : rt.once("end", hn), q.on("unpipe", I);
89286
89286
  var jn = L(rt);
89287
89287
  q.on("drain", jn);
89288
89288
  var Me = !1;
89289
- return rt.on("data", de), f(q, "error", oe), q.once("close", Ie), q.once("finish", Fe), q.emit("pipe", rt), ot.flowing || (G("pipe resume"), rt.resume()), q;
89289
+ return rt.on("data", de), f(q, "error", oe), q.once("close", Ie), q.once("finish", Fe), q.emit("pipe", rt), ot.flowing || (W("pipe resume"), rt.resume()), q;
89290
89290
  }, h.prototype.unpipe = function(q) {
89291
89291
  var M = this._readableState, I = { hasUnpiped: !1 };
89292
89292
  if (M.pipesCount === 0) return this;
@@ -89297,11 +89297,11 @@ Use Chrome, Firefox or Internet Explorer 11`);
89297
89297
  for (var de = 0; de < ee; de++) B[de].emit("unpipe", this, { hasUnpiped: !1 });
89298
89298
  return this;
89299
89299
  }
89300
- var oe = Z(M.pipes, q);
89300
+ var oe = Y(M.pipes, q);
89301
89301
  return oe === -1 ? this : (M.pipes.splice(oe, 1), M.pipesCount -= 1, M.pipesCount === 1 && (M.pipes = M.pipes[0]), q.emit("unpipe", this, I), this);
89302
89302
  }, h.prototype.on = function(q, M) {
89303
89303
  var I = he.prototype.on.call(this, q, M), B = this._readableState;
89304
- return q === "data" ? (B.readableListening = 0 < this.listenerCount("readable"), B.flowing !== !1 && this.resume()) : q == "readable" && !B.endEmitted && !B.readableListening && (B.readableListening = B.needReadable = !0, B.flowing = !1, B.emittedReadable = !1, G("on readable", B.length, B.reading), B.length ? w(this) : !B.reading && a.nextTick(D, this)), I;
89304
+ return q === "data" ? (B.readableListening = 0 < this.listenerCount("readable"), B.flowing !== !1 && this.resume()) : q == "readable" && !B.endEmitted && !B.readableListening && (B.readableListening = B.needReadable = !0, B.flowing = !1, B.emittedReadable = !1, W("on readable", B.length, B.reading), B.length ? w(this) : !B.reading && a.nextTick(D, this)), I;
89305
89305
  }, h.prototype.addListener = h.prototype.on, h.prototype.removeListener = function(q, M) {
89306
89306
  var I = he.prototype.removeListener.call(this, q, M);
89307
89307
  return q === "readable" && a.nextTick(N, this), I;
@@ -89310,19 +89310,19 @@ Use Chrome, Firefox or Internet Explorer 11`);
89310
89310
  return (q === "readable" || q === void 0) && a.nextTick(N, this), M;
89311
89311
  }, h.prototype.resume = function() {
89312
89312
  var q = this._readableState;
89313
- return q.flowing || (G("resume"), q.flowing = !q.readableListening, R(this, q)), q.paused = !1, this;
89313
+ return q.flowing || (W("resume"), q.flowing = !q.readableListening, R(this, q)), q.paused = !1, this;
89314
89314
  }, h.prototype.pause = function() {
89315
- return G("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (G("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this;
89315
+ return W("call pause flowing=%j", this._readableState.flowing), this._readableState.flowing !== !1 && (W("pause"), this._readableState.flowing = !1, this.emit("pause")), this._readableState.paused = !0, this;
89316
89316
  }, h.prototype.wrap = function(q) {
89317
89317
  var M = this, I = this._readableState, B = !1;
89318
89318
  for (var ee in q.on("end", function() {
89319
- if (G("wrapped end"), I.decoder && !I.ended) {
89319
+ if (W("wrapped end"), I.decoder && !I.ended) {
89320
89320
  var oe = I.decoder.end();
89321
89321
  oe && oe.length && M.push(oe);
89322
89322
  }
89323
89323
  M.push(null);
89324
89324
  }), q.on("data", function(oe) {
89325
- if (G("wrapped data"), I.decoder && (oe = I.decoder.write(oe)), !(I.objectMode && oe == null) && (I.objectMode || oe && oe.length)) {
89325
+ if (W("wrapped data"), I.decoder && (oe = I.decoder.write(oe)), !(I.objectMode && oe == null) && (I.objectMode || oe && oe.length)) {
89326
89326
  var Ie = M.push(oe);
89327
89327
  Ie || (B = !0, q.pause());
89328
89328
  }
@@ -89333,7 +89333,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89333
89333
  }(ee));
89334
89334
  for (var de = 0; de < De.length; de++) q.on(De[de], this.emit.bind(this, De[de]));
89335
89335
  return this._read = function(oe) {
89336
- G("wrapped _read", oe), B && (B = !1, q.resume());
89336
+ W("wrapped _read", oe), B && (B = !1, q.resume());
89337
89337
  }, this;
89338
89338
  }, typeof Symbol == "function" && (h.prototype[Symbol.asyncIterator] = function() {
89339
89339
  return J === void 0 && (J = s("./internal/streams/async_iterator")), J(this);
@@ -89407,23 +89407,23 @@ Use Chrome, Firefox or Internet Explorer 11`);
89407
89407
  };
89408
89408
  }
89409
89409
  function u(X) {
89410
- return G.from(X);
89410
+ return W.from(X);
89411
89411
  }
89412
89412
  function f(X) {
89413
- return G.isBuffer(X) || X instanceof re;
89413
+ return W.isBuffer(X) || X instanceof re;
89414
89414
  }
89415
89415
  function d() {
89416
89416
  }
89417
89417
  function h(X, le, se) {
89418
- K = K || s("./_stream_duplex"), X = X || {}, typeof se != "boolean" && (se = le instanceof K), this.objectMode = !!X.objectMode, se && (this.objectMode = this.objectMode || !!X.writableObjectMode), this.highWaterMark = me(this, X, "writableHighWaterMark", se), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
89418
+ Z = Z || s("./_stream_duplex"), X = X || {}, typeof se != "boolean" && (se = le instanceof Z), this.objectMode = !!X.objectMode, se && (this.objectMode = this.objectMode || !!X.writableObjectMode), this.highWaterMark = me(this, X, "writableHighWaterMark", se), this.finalCalled = !1, this.needDrain = !1, this.ending = !1, this.ended = !1, this.finished = !1, this.destroyed = !1;
89419
89419
  var De = X.decodeStrings === !1;
89420
89420
  this.decodeStrings = !De, this.defaultEncoding = X.defaultEncoding || "utf8", this.length = 0, this.writing = !1, this.corked = 0, this.sync = !0, this.bufferProcessing = !1, this.onwrite = function(q) {
89421
89421
  A(le, q);
89422
89422
  }, this.writecb = null, this.writelen = 0, this.bufferedRequest = null, this.lastBufferedRequest = null, this.pendingcb = 0, this.prefinished = !1, this.errorEmitted = !1, this.emitClose = X.emitClose !== !1, this.autoDestroy = !!X.autoDestroy, this.bufferedRequestCount = 0, this.corkedRequestsFree = new c(this);
89423
89423
  }
89424
89424
  function p(X) {
89425
- K = K || s("./_stream_duplex");
89426
- var le = this instanceof K;
89425
+ Z = Z || s("./_stream_duplex");
89426
+ var le = this instanceof Z;
89427
89427
  return le || ce.call(p, this) ? (this._writableState = new h(X, this, le), this.writable = !0, X && (typeof X.write == "function" && (this._write = X.write), typeof X.writev == "function" && (this._writev = X.writev), typeof X.destroy == "function" && (this._destroy = X.destroy), typeof X.final == "function" && (this._final = X.final)), void te.call(this)) : new p(X);
89428
89428
  }
89429
89429
  function m(X, le) {
@@ -89435,7 +89435,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89435
89435
  return se === null ? q = new Re() : typeof se != "string" && !le.objectMode && (q = new ye("chunk", ["string", "Buffer"], se)), !q || (Te(X, q), a.nextTick(De, q), !1);
89436
89436
  }
89437
89437
  function v(X, le, se) {
89438
- return X.objectMode || X.decodeStrings === !1 || typeof le != "string" || (le = G.from(le, se)), le;
89438
+ return X.objectMode || X.decodeStrings === !1 || typeof le != "string" || (le = W.from(le, se)), le;
89439
89439
  }
89440
89440
  function k(X, le, se, De, q, M) {
89441
89441
  if (!se) {
@@ -89455,7 +89455,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89455
89455
  le.writelen = De, le.writecb = I, le.writing = !0, le.sync = !0, le.destroyed ? le.onwrite(new Ve("write")) : se ? X._writev(q, le.onwrite) : X._write(q, M, le.onwrite), le.sync = !1;
89456
89456
  }
89457
89457
  function w(X, le, se, De, q) {
89458
- --le.pendingcb, se ? (a.nextTick(q, De), a.nextTick(W, X, le), X._writableState.errorEmitted = !0, Te(X, De)) : (q(De), X._writableState.errorEmitted = !0, Te(X, De), W(X, le));
89458
+ --le.pendingcb, se ? (a.nextTick(q, De), a.nextTick(G, X, le), X._writableState.errorEmitted = !0, Te(X, De)) : (q(De), X._writableState.errorEmitted = !0, Te(X, De), G(X, le));
89459
89459
  }
89460
89460
  function x(X) {
89461
89461
  X.writing = !1, X.writecb = null, X.length -= X.writelen, X.writelen = 0;
@@ -89470,7 +89470,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89470
89470
  }
89471
89471
  }
89472
89472
  function E(X, le, se, De) {
89473
- se || L(X, le), le.pendingcb--, De(), W(X, le);
89473
+ se || L(X, le), le.pendingcb--, De(), G(X, le);
89474
89474
  }
89475
89475
  function L(X, le) {
89476
89476
  le.length === 0 && le.needDrain && (le.needDrain = !1, X.emit("drain"));
@@ -89497,13 +89497,13 @@ Use Chrome, Firefox or Internet Explorer 11`);
89497
89497
  }
89498
89498
  function R(X, le) {
89499
89499
  X._final(function(se) {
89500
- le.pendingcb--, se && Te(X, se), le.prefinished = !0, X.emit("prefinish"), W(X, le);
89500
+ le.pendingcb--, se && Te(X, se), le.prefinished = !0, X.emit("prefinish"), G(X, le);
89501
89501
  });
89502
89502
  }
89503
89503
  function H(X, le) {
89504
89504
  le.prefinished || le.finalCalled || (typeof X._final != "function" || le.destroyed ? (le.prefinished = !0, X.emit("prefinish")) : (le.pendingcb++, le.finalCalled = !0, a.nextTick(R, X, le)));
89505
89505
  }
89506
- function W(X, le) {
89506
+ function G(X, le) {
89507
89507
  var se = D(le);
89508
89508
  if (se && (H(X, le), le.pendingcb === 0 && (le.finished = !0, X.emit("finish"), le.autoDestroy))) {
89509
89509
  var De = X._readableState;
@@ -89512,7 +89512,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89512
89512
  return se;
89513
89513
  }
89514
89514
  function U(X, le, se) {
89515
- le.ending = !0, W(X, le), se && (le.finished ? a.nextTick(se) : X.once("finish", se)), le.ended = !0, X.writable = !1;
89515
+ le.ending = !0, G(X, le), se && (le.finished ? a.nextTick(se) : X.once("finish", se)), le.ended = !0, X.writable = !1;
89516
89516
  }
89517
89517
  function V(X, le, se) {
89518
89518
  var De = X.entry;
@@ -89523,16 +89523,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
89523
89523
  le.corkedRequestsFree.next = X;
89524
89524
  }
89525
89525
  o.exports = p;
89526
- var K;
89526
+ var Z;
89527
89527
  p.WritableState = h;
89528
- var Z = { deprecate: s("util-deprecate") }, te = s("./internal/streams/stream"), G = s("buffer").Buffer, re = l.Uint8Array || function() {
89528
+ var Y = { deprecate: s("util-deprecate") }, te = s("./internal/streams/stream"), W = s("buffer").Buffer, re = l.Uint8Array || function() {
89529
89529
  }, he = s("./internal/streams/destroy"), ie = s("./internal/streams/state"), me = ie.getHighWaterMark, be = s("../errors").codes, ye = be.ERR_INVALID_ARG_TYPE, J = be.ERR_METHOD_NOT_IMPLEMENTED, ge = be.ERR_MULTIPLE_CALLBACK, we = be.ERR_STREAM_CANNOT_PIPE, Ve = be.ERR_STREAM_DESTROYED, Re = be.ERR_STREAM_NULL_VALUES, Ce = be.ERR_STREAM_WRITE_AFTER_END, Ee = be.ERR_UNKNOWN_ENCODING, Te = he.errorOrDestroy;
89530
89530
  s("inherits")(p, te), h.prototype.getBuffer = function() {
89531
89531
  for (var X = this.bufferedRequest, le = []; X; ) le.push(X), X = X.next;
89532
89532
  return le;
89533
89533
  }, function() {
89534
89534
  try {
89535
- Object.defineProperty(h.prototype, "buffer", { get: Z.deprecate(function() {
89535
+ Object.defineProperty(h.prototype, "buffer", { get: Y.deprecate(function() {
89536
89536
  return this.getBuffer();
89537
89537
  }, "_writableState.buffer is deprecated. Use _writableState.getBuffer instead.", "DEP0003") });
89538
89538
  } catch {
@@ -89547,7 +89547,7 @@ Use Chrome, Firefox or Internet Explorer 11`);
89547
89547
  Te(this, new we());
89548
89548
  }, p.prototype.write = function(X, le, se) {
89549
89549
  var De = this._writableState, q = !1, M = !De.objectMode && f(X);
89550
- return M && !G.isBuffer(X) && (X = u(X)), typeof le == "function" && (se = le, le = null), M ? le = "buffer" : !le && (le = De.defaultEncoding), typeof se != "function" && (se = d), De.ending ? m(this, se) : (M || y(this, De, X, se)) && (De.pendingcb++, q = k(this, De, M, X, le, se)), q;
89550
+ return M && !W.isBuffer(X) && (X = u(X)), typeof le == "function" && (se = le, le = null), M ? le = "buffer" : !le && (le = De.defaultEncoding), typeof se != "function" && (se = d), De.ending ? m(this, se) : (M || y(this, De, X, se)) && (De.pendingcb++, q = k(this, De, M, X, le, se)), q;
89551
89551
  }, p.prototype.cork = function() {
89552
89552
  this._writableState.corked++;
89553
89553
  }, p.prototype.uncork = function() {
@@ -89609,9 +89609,9 @@ Use Chrome, Firefox or Internet Explorer 11`);
89609
89609
  var L = this, N = this[v];
89610
89610
  if (N !== null) return Promise.reject(N);
89611
89611
  if (this[k]) return Promise.resolve(c(void 0, !0));
89612
- if (this[x].destroyed) return new Promise(function(W, U) {
89612
+ if (this[x].destroyed) return new Promise(function(G, U) {
89613
89613
  a.nextTick(function() {
89614
- L[v] ? U(L[v]) : W(c(void 0, !0));
89614
+ L[v] ? U(L[v]) : G(c(void 0, !0));
89615
89615
  });
89616
89616
  });
89617
89617
  var D, R = this[b];
@@ -89634,16 +89634,16 @@ Use Chrome, Firefox or Internet Explorer 11`);
89634
89634
  }), h), A);
89635
89635
  o.exports = function(L) {
89636
89636
  var N, D = Object.create(E, (N = {}, l(N, x, { value: L, writable: !0 }), l(N, m, { value: null, writable: !0 }), l(N, y, { value: null, writable: !0 }), l(N, v, { value: null, writable: !0 }), l(N, k, { value: L._readableState.endEmitted, writable: !0 }), l(N, w, { value: function(R, H) {
89637
- var W = D[x].read();
89638
- W ? (D[b] = null, D[m] = null, D[y] = null, R(c(W, !1))) : (D[m] = R, D[y] = H);
89637
+ var G = D[x].read();
89638
+ G ? (D[b] = null, D[m] = null, D[y] = null, R(c(G, !1))) : (D[m] = R, D[y] = H);
89639
89639
  }, writable: !0 }), N));
89640
89640
  return D[b] = null, p(L, function(R) {
89641
89641
  if (R && R.code !== "ERR_STREAM_PREMATURE_CLOSE") {
89642
89642
  var H = D[y];
89643
89643
  return H !== null && (D[b] = null, D[m] = null, D[y] = null, H(R)), void (D[v] = R);
89644
89644
  }
89645
- var W = D[m];
89646
- W !== null && (D[b] = null, D[m] = null, D[y] = null, W(c(void 0, !0))), D[k] = !0;
89645
+ var G = D[m];
89646
+ G !== null && (D[b] = null, D[m] = null, D[y] = null, G(c(void 0, !0))), D[k] = !0;
89647
89647
  }), L.on("readable", f.bind(null, D)), D;
89648
89648
  };
89649
89649
  }).call(this);
@@ -90365,8 +90365,8 @@ Use Chrome, Firefox or Internet Explorer 11`);
90365
90365
  N = !0;
90366
90366
  let H = E[R.localCandidateId];
90367
90367
  H && (H.ip || H.address) ? (this.localAddress = H.ip || H.address, this.localPort = +H.port) : H && H.ipAddress ? (this.localAddress = H.ipAddress, this.localPort = +H.portNumber) : typeof R.googLocalAddress == "string" && (H = R.googLocalAddress.split(":"), this.localAddress = H[0], this.localPort = +H[1]), this.localAddress && (this.localFamily = this.localAddress.includes(":") ? "IPv6" : "IPv4");
90368
- let W = A[R.remoteCandidateId];
90369
- W && (W.ip || W.address) ? (this.remoteAddress = W.ip || W.address, this.remotePort = +W.port) : W && W.ipAddress ? (this.remoteAddress = W.ipAddress, this.remotePort = +W.portNumber) : typeof R.googRemoteAddress == "string" && (W = R.googRemoteAddress.split(":"), this.remoteAddress = W[0], this.remotePort = +W[1]), this.remoteAddress && (this.remoteFamily = this.remoteAddress.includes(":") ? "IPv6" : "IPv4"), this._debug("connect local: %s:%s remote: %s:%s", this.localAddress, this.localPort, this.remoteAddress, this.remotePort);
90368
+ let G = A[R.remoteCandidateId];
90369
+ G && (G.ip || G.address) ? (this.remoteAddress = G.ip || G.address, this.remotePort = +G.port) : G && G.ipAddress ? (this.remoteAddress = G.ipAddress, this.remotePort = +G.portNumber) : typeof R.googRemoteAddress == "string" && (G = R.googRemoteAddress.split(":"), this.remoteAddress = G[0], this.remotePort = +G[1]), this.remoteAddress && (this.remoteFamily = this.remoteAddress.includes(":") ? "IPv6" : "IPv4"), this._debug("connect local: %s:%s remote: %s:%s", this.localAddress, this.localPort, this.remoteAddress, this.remotePort);
90370
90370
  };
90371
90371
  if (x.forEach((R) => {
90372
90372
  R.type === "transport" && R.selectedCandidatePairId && D(L[R.selectedCandidatePairId]), (R.type === "googCandidatePair" && R.googActiveConnection === "true" || (R.type === "candidatepair" || R.type === "candidate-pair") && R.selected) && D(R);
@@ -94028,13 +94028,13 @@ function _$e(t) {
94028
94028
  [z5, B5]
94029
94029
  // <>
94030
94030
  ];
94031
- for (let W = 0; W < H.length; W++) {
94032
- const [U, V] = H[W], K = Xe(A, U);
94033
- Xe(E, U, K), Xe(K, V, A);
94034
- const Z = qs(qg);
94035
- Zt(K, n, Z);
94031
+ for (let G = 0; G < H.length; G++) {
94032
+ const [U, V] = H[G], Z = Xe(A, U);
94033
+ Xe(E, U, Z), Xe(Z, V, A);
94034
+ const Y = qs(qg);
94035
+ Zt(Z, n, Y);
94036
94036
  const te = qs();
94037
- Zt(K, r), Zt(Z, n, Z), Zt(Z, r, te), Zt(te, n, Z), Zt(te, r, te), Xe(Z, V, A), Xe(te, V, A);
94037
+ Zt(Z, r), Zt(Y, n, Y), Zt(Y, r, te), Zt(te, n, Y), Zt(te, r, te), Xe(Y, V, A), Xe(te, V, A);
94038
94038
  }
94039
94039
  return Xe(s, k4, b), Xe(s, RE, H$e), {
94040
94040
  start: s,
@@ -94815,11 +94815,11 @@ const C$ = ({
94815
94815
  setTimeout(() => {
94816
94816
  R(ie, Math.abs(he)), Zf = re;
94817
94817
  });
94818
- }, [W, U] = qe(), [V, K] = qe();
94818
+ }, [G, U] = qe(), [V, Z] = qe();
94819
94819
  Ue(() => {
94820
- s(t.attrs["media-type"]), w(), U(t.attrs.dataFloat), K(t.attrs.dataAlign);
94820
+ s(t.attrs["media-type"]), w(), U(t.attrs.dataFloat), Z(t.attrs.dataAlign);
94821
94821
  }, [t.attrs]);
94822
- const Z = (re) => {
94822
+ const Y = (re) => {
94823
94823
  re.stopPropagation(), b.current = {
94824
94824
  x: re.touches[0].clientX,
94825
94825
  y: re.touches[0].clientY
@@ -94834,7 +94834,7 @@ const C$ = ({
94834
94834
  return;
94835
94835
  }
94836
94836
  re.preventDefault(), re.stopPropagation();
94837
- }, G = () => {
94837
+ }, W = () => {
94838
94838
  v && (clearTimeout(v), k(null)), y(!1), b.current = null;
94839
94839
  };
94840
94840
  return Ue(() => () => {
@@ -94845,7 +94845,7 @@ const C$ = ({
94845
94845
  as: "article",
94846
94846
  className: Pt(
94847
94847
  "media-node-view not-prose transition-all ease-in-out w-full",
94848
- W && `f-${t.attrs.dataFloat}`,
94848
+ G && `f-${t.attrs.dataFloat}`,
94849
94849
  V && `justify-${t.attrs.dataAlign}`
94850
94850
  ),
94851
94851
  children: /* @__PURE__ */ P.jsxs(
@@ -94857,10 +94857,10 @@ const C$ = ({
94857
94857
  "w-fit flex flex-col gap-2 relative group transition-all ease-in-out",
94858
94858
  m && "opacity-50"
94859
94859
  ),
94860
- onTouchStart: Z,
94860
+ onTouchStart: Y,
94861
94861
  onTouchMove: te,
94862
- onTouchEnd: G,
94863
- onTouchCancel: G,
94862
+ onTouchEnd: W,
94863
+ onTouchCancel: W,
94864
94864
  children: [
94865
94865
  i === "img" && /* @__PURE__ */ P.jsx(
94866
94866
  "img",
@@ -95834,17 +95834,17 @@ const ntt = (t) => ({
95834
95834
  }, h = GE(i), p = UE(h), m = await o.getDimensions(c), y = h === "y", v = y ? "top" : "left", k = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", w = s.reference[p] + s.reference[h] - d[h] - s.floating[p], x = d[h] - s.reference[h], A = await (o.getOffsetParent == null ? void 0 : o.getOffsetParent(c));
95835
95835
  let E = A ? A[b] : 0;
95836
95836
  (!E || !await (o.isElement == null ? void 0 : o.isElement(A))) && (E = a.floating[b] || s.floating[p]);
95837
- const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, D = Zu(f[v], N), R = Zu(f[k], N), H = D, W = E - m[p] - R, U = E / 2 - m[p] / 2 + L, V = BM(H, U, W), K = !l.arrow && J2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? D : R) - m[p] / 2 < 0, Z = K ? U < H ? U - H : U - W : 0;
95837
+ const L = w / 2 - x / 2, N = E / 2 - m[p] / 2 - 1, D = Zu(f[v], N), R = Zu(f[k], N), H = D, G = E - m[p] - R, U = E / 2 - m[p] / 2 + L, V = BM(H, U, G), Z = !l.arrow && J2(i) != null && U !== V && s.reference[p] / 2 - (U < H ? D : R) - m[p] / 2 < 0, Y = Z ? U < H ? U - H : U - G : 0;
95838
95838
  return {
95839
- [h]: d[h] + Z,
95839
+ [h]: d[h] + Y,
95840
95840
  data: {
95841
95841
  [h]: V,
95842
- centerOffset: U - V - Z,
95843
- ...K && {
95844
- alignmentOffset: Z
95842
+ centerOffset: U - V - Y,
95843
+ ...Z && {
95844
+ alignmentOffset: Y
95845
95845
  }
95846
95846
  },
95847
- reset: K
95847
+ reset: Z
95848
95848
  };
95849
95849
  }
95850
95850
  }), rtt = function(t) {
@@ -95895,31 +95895,31 @@ const ntt = (t) => ({
95895
95895
  placement: V
95896
95896
  }
95897
95897
  };
95898
- let K = (H = D.filter((Z) => Z.overflows[0] <= 0).sort((Z, te) => Z.overflows[1] - te.overflows[1])[0]) == null ? void 0 : H.placement;
95899
- if (!K)
95898
+ let Z = (H = D.filter((Y) => Y.overflows[0] <= 0).sort((Y, te) => Y.overflows[1] - te.overflows[1])[0]) == null ? void 0 : H.placement;
95899
+ if (!Z)
95900
95900
  switch (h) {
95901
95901
  case "bestFit": {
95902
- var W;
95903
- const Z = (W = D.filter((te) => {
95902
+ var G;
95903
+ const Y = (G = D.filter((te) => {
95904
95904
  if (A) {
95905
- const G = Ku(te.placement);
95906
- return G === k || // Create a bias to the `y` side axis due to horizontal
95905
+ const W = Ku(te.placement);
95906
+ return W === k || // Create a bias to the `y` side axis due to horizontal
95907
95907
  // reading directions favoring greater width.
95908
- G === "y";
95908
+ W === "y";
95909
95909
  }
95910
95910
  return !0;
95911
- }).map((te) => [te.placement, te.overflows.filter((G) => G > 0).reduce((G, re) => G + re, 0)]).sort((te, G) => te[1] - G[1])[0]) == null ? void 0 : W[0];
95912
- Z && (K = Z);
95911
+ }).map((te) => [te.placement, te.overflows.filter((W) => W > 0).reduce((W, re) => W + re, 0)]).sort((te, W) => te[1] - W[1])[0]) == null ? void 0 : G[0];
95912
+ Y && (Z = Y);
95913
95913
  break;
95914
95914
  }
95915
95915
  case "initialPlacement":
95916
- K = a;
95916
+ Z = a;
95917
95917
  break;
95918
95918
  }
95919
- if (i !== K)
95919
+ if (i !== Z)
95920
95920
  return {
95921
95921
  reset: {
95922
- placement: K
95922
+ placement: Z
95923
95923
  }
95924
95924
  };
95925
95925
  }
@@ -96151,8 +96151,8 @@ const ott = function(t) {
96151
96151
  const k = m - u.top - u.bottom, b = p - u.left - u.right, w = Zu(m - u[y], k), x = Zu(p - u[v], b), A = !e.middlewareData.shift;
96152
96152
  let E = w, L = x;
96153
96153
  if ((n = e.middlewareData.shift) != null && n.enabled.x && (L = b), (r = e.middlewareData.shift) != null && r.enabled.y && (E = k), A && !d) {
96154
- const D = Cs(u.left, 0), R = Cs(u.right, 0), H = Cs(u.top, 0), W = Cs(u.bottom, 0);
96155
- h ? L = p - 2 * (D !== 0 || R !== 0 ? D + R : Cs(u.left, u.right)) : E = m - 2 * (H !== 0 || W !== 0 ? H + W : Cs(u.top, u.bottom));
96154
+ const D = Cs(u.left, 0), R = Cs(u.right, 0), H = Cs(u.top, 0), G = Cs(u.bottom, 0);
96155
+ h ? L = p - 2 * (D !== 0 || R !== 0 ? D + R : Cs(u.left, u.right)) : E = m - 2 * (H !== 0 || G !== 0 ? H + G : Cs(u.top, u.bottom));
96156
96156
  }
96157
96157
  await l({
96158
96158
  ...e,
@@ -96717,7 +96717,7 @@ function Rtt(t) {
96717
96717
  te !== A.current && (A.current = te, m(te));
96718
96718
  }, []), b = C.useCallback((te) => {
96719
96719
  te !== E.current && (E.current = te, v(te));
96720
- }, []), w = s || p, x = o || y, A = C.useRef(null), E = C.useRef(null), L = C.useRef(u), N = l != null, D = r9(l), R = r9(i), H = r9(c), W = C.useCallback(() => {
96720
+ }, []), w = s || p, x = o || y, A = C.useRef(null), E = C.useRef(null), L = C.useRef(u), N = l != null, D = r9(l), R = r9(i), H = r9(c), G = C.useCallback(() => {
96721
96721
  if (!A.current || !E.current)
96722
96722
  return;
96723
96723
  const te = {
@@ -96725,9 +96725,9 @@ function Rtt(t) {
96725
96725
  strategy: n,
96726
96726
  middleware: d
96727
96727
  };
96728
- R.current && (te.platform = R.current), Ptt(A.current, E.current, te).then((G) => {
96728
+ R.current && (te.platform = R.current), Ptt(A.current, E.current, te).then((W) => {
96729
96729
  const re = {
96730
- ...G,
96730
+ ...W,
96731
96731
  // The floating element's position may be recomputed while it's closed
96732
96732
  // but still mounted (such as when transitioning out). To ensure
96733
96733
  // `isPositioned` will be `false` initially on the next open, avoid
@@ -96751,46 +96751,46 @@ function Rtt(t) {
96751
96751
  }), []), n6(() => {
96752
96752
  if (w && (A.current = w), x && (E.current = x), w && x) {
96753
96753
  if (D.current)
96754
- return D.current(w, x, W);
96755
- W();
96754
+ return D.current(w, x, G);
96755
+ G();
96756
96756
  }
96757
- }, [w, x, W, D, N]);
96757
+ }, [w, x, G, D, N]);
96758
96758
  const V = C.useMemo(() => ({
96759
96759
  reference: A,
96760
96760
  floating: E,
96761
96761
  setReference: k,
96762
96762
  setFloating: b
96763
- }), [k, b]), K = C.useMemo(() => ({
96763
+ }), [k, b]), Z = C.useMemo(() => ({
96764
96764
  reference: w,
96765
96765
  floating: x
96766
- }), [w, x]), Z = C.useMemo(() => {
96766
+ }), [w, x]), Y = C.useMemo(() => {
96767
96767
  const te = {
96768
96768
  position: n,
96769
96769
  left: 0,
96770
96770
  top: 0
96771
96771
  };
96772
- if (!K.floating)
96772
+ if (!Z.floating)
96773
96773
  return te;
96774
- const G = CO(K.floating, u.x), re = CO(K.floating, u.y);
96774
+ const W = CO(Z.floating, u.x), re = CO(Z.floating, u.y);
96775
96775
  return a ? {
96776
96776
  ...te,
96777
- transform: "translate(" + G + "px, " + re + "px)",
96778
- ...B$(K.floating) >= 1.5 && {
96777
+ transform: "translate(" + W + "px, " + re + "px)",
96778
+ ...B$(Z.floating) >= 1.5 && {
96779
96779
  willChange: "transform"
96780
96780
  }
96781
96781
  } : {
96782
96782
  position: n,
96783
- left: G,
96783
+ left: W,
96784
96784
  top: re
96785
96785
  };
96786
- }, [n, a, K.floating, u.x, u.y]);
96786
+ }, [n, a, Z.floating, u.x, u.y]);
96787
96787
  return C.useMemo(() => ({
96788
96788
  ...u,
96789
- update: W,
96789
+ update: G,
96790
96790
  refs: V,
96791
- elements: K,
96792
- floatingStyles: Z
96793
- }), [u, W, V, K, Z]);
96791
+ elements: Z,
96792
+ floatingStyles: Y
96793
+ }), [u, G, V, Z, Y]);
96794
96794
  }
96795
96795
  const Ott = (t) => {
96796
96796
  function e(n) {
@@ -96953,12 +96953,12 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
96953
96953
  updatePositionStrategy: h = "optimized",
96954
96954
  onPlaced: p,
96955
96955
  ...m
96956
- } = t, y = V$(JE, n), [v, k] = C.useState(null), b = x0(e, (Te) => k(Te)), [w, x] = C.useState(null), A = Ytt(w), E = (A == null ? void 0 : A.width) ?? 0, L = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), D = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, R = Array.isArray(c) ? c : [c], H = R.length > 0, W = {
96956
+ } = t, y = V$(JE, n), [v, k] = C.useState(null), b = x0(e, (Te) => k(Te)), [w, x] = C.useState(null), A = Ytt(w), E = (A == null ? void 0 : A.width) ?? 0, L = (A == null ? void 0 : A.height) ?? 0, N = r + (s !== "center" ? "-" + s : ""), D = typeof u == "number" ? u : { top: 0, right: 0, bottom: 0, left: 0, ...u }, R = Array.isArray(c) ? c : [c], H = R.length > 0, G = {
96957
96957
  padding: D,
96958
96958
  boundary: R.filter($tt),
96959
96959
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
96960
96960
  altBoundary: H
96961
- }, { refs: U, floatingStyles: V, placement: K, isPositioned: Z, middlewareData: te } = Rtt({
96961
+ }, { refs: U, floatingStyles: V, placement: Z, isPositioned: Y, middlewareData: te } = Rtt({
96962
96962
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
96963
96963
  strategy: "fixed",
96964
96964
  placement: N,
@@ -96974,11 +96974,11 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
96974
96974
  mainAxis: !0,
96975
96975
  crossAxis: !1,
96976
96976
  limiter: f === "partial" ? Ftt() : void 0,
96977
- ...W
96977
+ ...G
96978
96978
  }),
96979
- l && Htt({ ...W }),
96979
+ l && Htt({ ...G }),
96980
96980
  _tt({
96981
- ...W,
96981
+ ...G,
96982
96982
  apply: ({ elements: Te, rects: ce, availableWidth: X, availableHeight: le }) => {
96983
96983
  const { width: se, height: De } = ce.reference, q = Te.floating.style;
96984
96984
  q.setProperty("--radix-popper-available-width", `${X}px`), q.setProperty("--radix-popper-available-height", `${le}px`), q.setProperty("--radix-popper-anchor-width", `${se}px`), q.setProperty("--radix-popper-anchor-height", `${De}px`);
@@ -96986,12 +96986,12 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
96986
96986
  }),
96987
96987
  w && qtt({ element: w, padding: a }),
96988
96988
  ent({ arrowWidth: E, arrowHeight: L }),
96989
- d && Vtt({ strategy: "referenceHidden", ...W })
96989
+ d && Vtt({ strategy: "referenceHidden", ...G })
96990
96990
  ]
96991
- }), [G, re] = K$(K), he = Wu(p);
96991
+ }), [W, re] = K$(Z), he = Wu(p);
96992
96992
  l2(() => {
96993
- Z && (he == null || he());
96994
- }, [Z, he]);
96993
+ Y && (he == null || he());
96994
+ }, [Y, he]);
96995
96995
  const ie = (ge = te.arrow) == null ? void 0 : ge.x, me = (we = te.arrow) == null ? void 0 : we.y, be = ((Ve = te.arrow) == null ? void 0 : Ve.centerOffset) !== 0, [ye, J] = C.useState();
96996
96996
  return l2(() => {
96997
96997
  v && J(window.getComputedStyle(v).zIndex);
@@ -97002,7 +97002,7 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
97002
97002
  "data-radix-popper-content-wrapper": "",
97003
97003
  style: {
97004
97004
  ...V,
97005
- transform: Z ? V.transform : "translate(0, -200%)",
97005
+ transform: Y ? V.transform : "translate(0, -200%)",
97006
97006
  // keep off the page when measuring
97007
97007
  minWidth: "max-content",
97008
97008
  zIndex: ye,
@@ -97023,7 +97023,7 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
97023
97023
  Jtt,
97024
97024
  {
97025
97025
  scope: n,
97026
- placedSide: G,
97026
+ placedSide: W,
97027
97027
  onArrowChange: x,
97028
97028
  arrowX: ie,
97029
97029
  arrowY: me,
@@ -97031,7 +97031,7 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
97031
97031
  children: /* @__PURE__ */ P.jsx(
97032
97032
  M0.div,
97033
97033
  {
97034
- "data-side": G,
97034
+ "data-side": W,
97035
97035
  "data-align": re,
97036
97036
  ...m,
97037
97037
  ref: b,
@@ -97039,7 +97039,7 @@ var JE = "PopperContent", [Jtt, Qtt] = H$(JE), W$ = C.forwardRef(
97039
97039
  ...m.style,
97040
97040
  // if the PopperContent hasn't been placed yet (not all measurements done)
97041
97041
  // we prevent animations so that users's animation don't kick in too early referring wrong sides
97042
- animation: Z ? void 0 : "none"
97042
+ animation: Y ? void 0 : "none"
97043
97043
  }
97044
97044
  }
97045
97045
  )
@@ -99431,29 +99431,29 @@ const Qg = ({
99431
99431
  )
99432
99432
  ] }), frt = ({ node: t, getPos: e, editor: n, deleteNode: r, secureImageUploadUrl: i }) => {
99433
99433
  const [s, o] = qe(!1), a = ort(n, t, e()), l = u8(), c = yn(() => {
99434
- const { content: G } = t.content;
99435
- return G[0].type.name === "table";
99434
+ const { content: W } = t.content;
99435
+ return W[0].type.name === "table";
99436
99436
  }, [t.content]), u = yn(() => {
99437
99437
  var re;
99438
- const { content: G } = t.content;
99439
- return (re = G[0].content.content[0]) == null ? void 0 : re.text;
99438
+ const { content: W } = t.content;
99439
+ return (re = W[0].content.content[0]) == null ? void 0 : re.text;
99440
99440
  }, [t.content]), f = yn(() => {
99441
99441
  var re;
99442
- const { content: G } = t.content;
99443
- return (re = G[0].content.content[1]) == null ? void 0 : re.text;
99442
+ const { content: W } = t.content;
99443
+ return (re = W[0].content.content[1]) == null ? void 0 : re.text;
99444
99444
  }, [t.content]), d = yn(() => {
99445
- const { content: G } = t.content;
99446
- return G[0].content.content.find(
99445
+ const { content: W } = t.content;
99446
+ return W[0].content.content.find(
99447
99447
  (re) => {
99448
99448
  var he;
99449
99449
  return (he = re == null ? void 0 : re.text) == null ? void 0 : he.match(/\/status\/([0-9]*)/);
99450
99450
  }
99451
99451
  );
99452
99452
  }, [t.content]), h = () => {
99453
- var G, re, he, ie, me;
99453
+ var W, re, he, ie, me;
99454
99454
  if (u)
99455
99455
  try {
99456
- const { content: be } = t.content, ye = (me = (ie = (he = (re = (G = be[0]) == null ? void 0 : G.content) == null ? void 0 : re.content[0]) == null ? void 0 : he.marks[0]) == null ? void 0 : ie.attrs) == null ? void 0 : me.href;
99456
+ const { content: be } = t.content, ye = (me = (ie = (he = (re = (W = be[0]) == null ? void 0 : W.content) == null ? void 0 : re.content[0]) == null ? void 0 : he.marks[0]) == null ? void 0 : ie.attrs) == null ? void 0 : me.href;
99457
99457
  if (!ye)
99458
99458
  return;
99459
99459
  if (ye && /\.(jpeg|jpg|gif|png)$/i.test(ye)) {
@@ -99484,26 +99484,26 @@ const Qg = ({
99484
99484
  } catch (be) {
99485
99485
  console.error("Error in mediaRender:", be);
99486
99486
  }
99487
- }, p = (G, re) => {
99487
+ }, p = (W, re) => {
99488
99488
  const he = e(), ie = he + t.nodeSize;
99489
- G === "img" ? n == null || n.chain().focus(he).deleteRange({ from: he === 0 ? he : he + 1, to: ie }).setMedia({ src: re, "media-type": "img" }).run() : G === "secure-img" ? console.log("secureImageUploadUrl", i) : n == null || n.chain().focus(he).deleteRange({ from: he === 0 ? he : he + 1, to: ie }).setIframe({ src: re, width: 640, height: 360 }).run();
99490
- }, m = (G) => {
99491
- const re = G.match(
99489
+ W === "img" ? n == null || n.chain().focus(he).deleteRange({ from: he === 0 ? he : he + 1, to: ie }).setMedia({ src: re, "media-type": "img" }).run() : W === "secure-img" ? console.log("secureImageUploadUrl", i) : n == null || n.chain().focus(he).deleteRange({ from: he === 0 ? he : he + 1, to: ie }).setIframe({ src: re, width: 640, height: 360 }).run();
99490
+ }, m = (W) => {
99491
+ const re = W.match(
99492
99492
  /(?:https?:\/\/)?(?:www\.)?(?:twitter\.com|x\.com)\/(?:#!\/)?(\w+)\/status\/(\d+)/
99493
99493
  );
99494
99494
  return re && re[2] ? re[2] : null;
99495
99495
  }, y = () => {
99496
99496
  if (!u)
99497
99497
  return;
99498
- let G = null;
99498
+ let W = null;
99499
99499
  const re = m(u);
99500
- if (re ? G = re : d && (G = m(d.text)), G) {
99500
+ if (re ? W = re : d && (W = m(d.text)), W) {
99501
99501
  const he = e(), ie = he + t.nodeSize;
99502
- n == null || n.chain().focus(he).deleteRange({ from: he === 2 ? he : he + 1, to: ie }).setTweetEmbed({ tweetId: G }).run();
99502
+ n == null || n.chain().focus(he).deleteRange({ from: he === 2 ? he : he + 1, to: ie }).setTweetEmbed({ tweetId: W }).run();
99503
99503
  }
99504
99504
  }, v = () => {
99505
- const G = e() + t.nodeSize;
99506
- n.commands.insertContentAt(G, {
99505
+ const W = e() + t.nodeSize;
99506
+ n.commands.insertContentAt(W, {
99507
99507
  type: "dBlock",
99508
99508
  content: [
99509
99509
  {
@@ -99512,8 +99512,8 @@ const Qg = ({
99512
99512
  ]
99513
99513
  });
99514
99514
  }, k = () => {
99515
- const G = e();
99516
- n.commands.insertContentAt(G, {
99515
+ const W = e();
99516
+ n.commands.insertContentAt(W, {
99517
99517
  type: "dBlock",
99518
99518
  content: [
99519
99519
  {
@@ -99523,14 +99523,14 @@ const Qg = ({
99523
99523
  });
99524
99524
  }, b = () => {
99525
99525
  r();
99526
- }, w = (G) => {
99527
- G.altKey ? A() : x();
99526
+ }, w = (W) => {
99527
+ W.altKey ? A() : x();
99528
99528
  }, x = () => {
99529
99529
  v();
99530
99530
  }, A = () => {
99531
99531
  k();
99532
- }, E = (G) => {
99533
- G.altKey && b();
99532
+ }, E = (W) => {
99533
+ W.altKey && b();
99534
99534
  }, N = A$(() => {
99535
99535
  m(u) || d && m(d.text) ? y() : h();
99536
99536
  }, 1e3);
@@ -99539,13 +99539,13 @@ const Qg = ({
99539
99539
  }, [u]);
99540
99540
  const D = yn(() => {
99541
99541
  var ye, J, ge, we;
99542
- const { doc: G, selection: re } = n.state, he = e(), ie = G.nodeAt(he) === G.firstChild, me = ((ye = G.nodeAt(he)) == null ? void 0 : ye.type.name) === "dBlock" && ((ge = (J = G.nodeAt(he)) == null ? void 0 : J.content.firstChild) == null ? void 0 : ge.type.name) === "paragraph", be = re.$anchor.pos >= he && re.$anchor.pos <= he + (((we = G.nodeAt(he)) == null ? void 0 : we.nodeSize) || 0);
99543
- return G.textContent === "" && ie && me && be;
99544
- }, [e, n.state]), R = (G) => {
99542
+ const { doc: W, selection: re } = n.state, he = e(), ie = W.nodeAt(he) === W.firstChild, me = ((ye = W.nodeAt(he)) == null ? void 0 : ye.type.name) === "dBlock" && ((ge = (J = W.nodeAt(he)) == null ? void 0 : J.content.firstChild) == null ? void 0 : ge.type.name) === "paragraph", be = re.$anchor.pos >= he && re.$anchor.pos <= he + (((we = W.nodeAt(he)) == null ? void 0 : we.nodeSize) || 0);
99543
+ return W.textContent === "" && ie && me && be;
99544
+ }, [e, n.state]), R = (W) => {
99545
99545
  const re = e() + t.nodeSize;
99546
- n.commands.insertContentAt(re - 4, G);
99547
- }, H = lrt(R), W = crt(R), [U, V] = qe(!1), [K, Z] = qe(2), te = () => {
99548
- V(!U), Z(U ? 2 : W.length);
99546
+ n.commands.insertContentAt(re - 4, W);
99547
+ }, H = lrt(R), G = crt(R), [U, V] = qe(!1), [Z, Y] = qe(2), te = () => {
99548
+ V(!U), Y(U ? 2 : G.length);
99549
99549
  };
99550
99550
  return /* @__PURE__ */ P.jsxs(
99551
99551
  j2,
@@ -99584,7 +99584,7 @@ const Qg = ({
99584
99584
  /* @__PURE__ */ P.jsx(
99585
99585
  VE,
99586
99586
  {
99587
- onMountAutoFocus: (G) => G.preventDefault(),
99587
+ onMountAutoFocus: (W) => W.preventDefault(),
99588
99588
  trapped: !1,
99589
99589
  children: /* @__PURE__ */ P.jsxs(rrt, { open: s, onOpenChange: o, children: [
99590
99590
  /* @__PURE__ */ P.jsx(irt, { asChild: !0, children: /* @__PURE__ */ P.jsx(
@@ -99647,8 +99647,8 @@ const Qg = ({
99647
99647
  }),
99648
99648
  children: D && !l && urt(
99649
99649
  H,
99650
- W,
99651
- K,
99650
+ G,
99651
+ Z,
99652
99652
  te,
99653
99653
  U
99654
99654
  )
@@ -101503,12 +101503,12 @@ function bit(t) {
101503
101503
  plugins: m && o.data != null ? [].concat(H, [{
101504
101504
  fn: function() {
101505
101505
  return {
101506
- onTrigger: function(K, Z) {
101507
- var te = o.data.children.find(function(G) {
101508
- var re = G.instance;
101509
- return re.reference === Z.currentTarget;
101506
+ onTrigger: function(Z, Y) {
101507
+ var te = o.data.children.find(function(W) {
101508
+ var re = W.instance;
101509
+ return re.reference === Y.currentTarget;
101510
101510
  });
101511
- K.state.$$activeSingletonInstance = te.instance, L(te.content);
101511
+ Z.state.$$activeSingletonInstance = te.instance, L(te.content);
101512
101512
  }
101513
101513
  };
101514
101514
  }
@@ -101519,7 +101519,7 @@ function bit(t) {
101519
101519
  };
101520
101520
  }
101521
101521
  }));
101522
- var W = [l].concat(r ? [r.type] : []);
101522
+ var G = [l].concat(r ? [r.type] : []);
101523
101523
  return c9(function() {
101524
101524
  var U = l;
101525
101525
  l && l.hasOwnProperty("current") && (U = l.current);
@@ -101534,7 +101534,7 @@ function bit(t) {
101534
101534
  }), k(!0), function() {
101535
101535
  V.destroy(), o == null || o.cleanup(V);
101536
101536
  };
101537
- }, W), c9(function() {
101537
+ }, G), c9(function() {
101538
101538
  var U;
101539
101539
  if (N.renders === 1) {
101540
101540
  N.renders++;
@@ -101553,27 +101553,27 @@ function bit(t) {
101553
101553
  var V = N.instance;
101554
101554
  V.setProps({
101555
101555
  popperOptions: Object.assign({}, V.props.popperOptions, {
101556
- modifiers: [].concat((((U = V.props.popperOptions) == null ? void 0 : U.modifiers) || []).filter(function(K) {
101557
- var Z = K.name;
101558
- return Z !== "$$tippyReact";
101556
+ modifiers: [].concat((((U = V.props.popperOptions) == null ? void 0 : U.modifiers) || []).filter(function(Z) {
101557
+ var Y = Z.name;
101558
+ return Y !== "$$tippyReact";
101559
101559
  }), [{
101560
101560
  name: "$$tippyReact",
101561
101561
  enabled: !0,
101562
101562
  phase: "beforeWrite",
101563
101563
  requires: ["computeStyles"],
101564
- fn: function(Z) {
101565
- var te, G = Z.state, re = (te = G.modifiersData) == null ? void 0 : te.hide;
101566
- (w.placement !== G.placement || w.referenceHidden !== (re == null ? void 0 : re.isReferenceHidden) || w.escaped !== (re == null ? void 0 : re.hasPopperEscaped)) && x({
101567
- placement: G.placement,
101564
+ fn: function(Y) {
101565
+ var te, W = Y.state, re = (te = W.modifiersData) == null ? void 0 : te.hide;
101566
+ (w.placement !== W.placement || w.referenceHidden !== (re == null ? void 0 : re.isReferenceHidden) || w.escaped !== (re == null ? void 0 : re.hasPopperEscaped)) && x({
101567
+ placement: W.placement,
101568
101568
  referenceHidden: re == null ? void 0 : re.isReferenceHidden,
101569
101569
  escaped: re == null ? void 0 : re.hasPopperEscaped
101570
- }), G.attributes.popper = {};
101570
+ }), W.attributes.popper = {};
101571
101571
  }
101572
101572
  }])
101573
101573
  })
101574
101574
  });
101575
101575
  }
101576
- }, [w.placement, w.referenceHidden, w.escaped].concat(W)), /* @__PURE__ */ xe.createElement(xe.Fragment, null, r ? /* @__PURE__ */ E2(r, {
101576
+ }, [w.placement, w.referenceHidden, w.escaped].concat(G)), /* @__PURE__ */ xe.createElement(xe.Fragment, null, r ? /* @__PURE__ */ E2(r, {
101577
101577
  ref: function(V) {
101578
101578
  N.ref = V, YM(r.ref, V);
101579
101579
  }
@@ -103833,11 +103833,11 @@ function Kst(t, e, n, r) {
103833
103833
  a = t.push("list_item_open", "li", 1), a.markup = String.fromCharCode(p);
103834
103834
  const N = [l, 0];
103835
103835
  a.map = N, f && (a.info = t.src.slice(o, h - 1));
103836
- const D = t.tight, R = t.tShift[l], H = t.sCount[l], W = t.listIndent;
103837
- if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = A - t.bMarks[l], t.sCount[l] = x, A >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = W, t.tShift[l] = R, t.sCount[l] = H, t.tight = D, a = t.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), l = t.line, N[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
103836
+ const D = t.tight, R = t.tShift[l], H = t.sCount[l], G = t.listIndent;
103837
+ if (t.listIndent = t.blkIndent, t.blkIndent = L, t.tight = !0, t.tShift[l] = A - t.bMarks[l], t.sCount[l] = x, A >= i && t.isEmpty(l + 1) ? t.line = Math.min(t.line + 2, n) : t.md.block.tokenize(t, l, n, !0), (!t.tight || v) && (c = !1), v = t.line - l > 1 && t.isEmpty(t.line - 1), t.blkIndent = t.listIndent, t.listIndent = G, t.tShift[l] = R, t.sCount[l] = H, t.tight = D, a = t.push("list_item_close", "li", -1), a.markup = String.fromCharCode(p), l = t.line, N[1] = l, l >= n || t.sCount[l] < t.blkIndent || t.sCount[l] - t.blkIndent >= 4)
103838
103838
  break;
103839
103839
  let U = !1;
103840
- for (let V = 0, K = k.length; V < K; V++)
103840
+ for (let V = 0, Z = k.length; V < Z; V++)
103841
103841
  if (k[V](t, l, n, !0)) {
103842
103842
  U = !0;
103843
103843
  break;
@@ -107118,13 +107118,13 @@ function hte() {
107118
107118
  e.isSupported = typeof cte == "function" && typeof b == "function" && A && A.createHTMLDocument !== void 0;
107119
107119
  const {
107120
107120
  MUSTACHE_EXPR: H,
107121
- ERB_EXPR: W,
107121
+ ERB_EXPR: G,
107122
107122
  TMPLIT_EXPR: U,
107123
107123
  DATA_ATTR: V,
107124
- ARIA_ATTR: K,
107125
- IS_SCRIPT_OR_DATA: Z,
107124
+ ARIA_ATTR: Z,
107125
+ IS_SCRIPT_OR_DATA: Y,
107126
107126
  ATTR_WHITESPACE: te,
107127
- CUSTOM_ELEMENT: G
107127
+ CUSTOM_ELEMENT: W
107128
107128
  } = Sz;
107129
107129
  let {
107130
107130
  IS_ALLOWED_URI: re
@@ -107289,7 +107289,7 @@ function hte() {
107289
107289
  }
107290
107290
  return si(ne), !0;
107291
107291
  }
107292
- return ne instanceof l && !aa(ne) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && Ci(/<\/no(script|embed|frames)/i, ne.innerHTML) ? (si(ne), !0) : (Ee && ne.nodeType === Sp.text && (Se = ne.textContent, i3([H, W, U], (Nt) => {
107292
+ return ne instanceof l && !aa(ne) || (Oe === "noscript" || Oe === "noembed" || Oe === "noframes") && Ci(/<\/no(script|embed|frames)/i, ne.innerHTML) ? (si(ne), !0) : (Ee && ne.nodeType === Sp.text && (Se = ne.textContent, i3([H, G, U], (Nt) => {
107293
107293
  Se = Mp(Se, Nt, " ");
107294
107294
  }), ne.textContent !== Se && (xp(e.removed, {
107295
107295
  element: ne.cloneNode()
@@ -107298,7 +107298,7 @@ function hte() {
107298
107298
  if (M && (Se === "id" || Se === "name") && (Oe in n || Oe in xr))
107299
107299
  return !1;
107300
107300
  if (!(Ve && !ge[Se] && Ci(V, Se))) {
107301
- if (!(we && Ci(K, Se))) {
107301
+ if (!(we && Ci(Z, Se))) {
107302
107302
  if (!me[Se] || ge[Se]) {
107303
107303
  if (
107304
107304
  // First condition does a very basic check if a) it's basically a valid custom element tagname AND
@@ -107311,7 +107311,7 @@ function hte() {
107311
107311
  } else if (!ot[Se]) {
107312
107312
  if (!Ci(re, Mp(Oe, te, ""))) {
107313
107313
  if (!((Se === "src" || Se === "xlink:href" || Se === "href") && ne !== "script" && fct(Oe, "data:") === 0 && We[ne])) {
107314
- if (!(Re && !Ci(Z, Mp(Oe, te, "")))) {
107314
+ if (!(Re && !Ci(Y, Mp(Oe, te, "")))) {
107315
107315
  if (Oe)
107316
107316
  return !1;
107317
107317
  }
@@ -107322,7 +107322,7 @@ function hte() {
107322
107322
  }
107323
107323
  return !0;
107324
107324
  }, ut = function(ne) {
107325
- return ne !== "annotation-xml" && kz(ne, G);
107325
+ return ne !== "annotation-xml" && kz(ne, W);
107326
107326
  }, ht = function(ne) {
107327
107327
  ae(R.beforeSanitizeAttributes, ne, null);
107328
107328
  const {
@@ -107355,7 +107355,7 @@ function hte() {
107355
107355
  Tc(ln, ne);
107356
107356
  continue;
107357
107357
  }
107358
- Ee && i3([H, W, U], (GN) => {
107358
+ Ee && i3([H, G, U], (GN) => {
107359
107359
  Mr = Mp(Mr, GN, " ");
107360
107360
  });
107361
107361
  const UN = Ot(ne.nodeName);
@@ -107426,7 +107426,7 @@ function hte() {
107426
107426
  }
107427
107427
  let zt = ce ? Se.outerHTML : Se.innerHTML;
107428
107428
  return ce && he["!doctype"] && Se.ownerDocument && Se.ownerDocument.doctype && Se.ownerDocument.doctype.name && Ci(dte, Se.ownerDocument.doctype.name) && (zt = "<!DOCTYPE " + Se.ownerDocument.doctype.name + `>
107429
- ` + zt), Ee && i3([H, W, U], (Nr) => {
107429
+ ` + zt), Ee && i3([H, G, U], (Nr) => {
107430
107430
  zt = Mp(zt, Nr, " ");
107431
107431
  }), w && q ? w.createHTML(zt) : zt;
107432
107432
  }, e.setConfig = function() {
@@ -108542,8 +108542,8 @@ function Nz(t, e) {
108542
108542
  const D = E[N], H = (D.textContent || "").match(/^\[([ x])\]\s*(.*)/i);
108543
108543
  if (H) {
108544
108544
  L = !0;
108545
- const W = H[1].toLowerCase() === "x", U = H[2];
108546
- D.setAttribute("data-type", "taskItem"), D.setAttribute("data-checked", W.toString()), D.textContent = U;
108545
+ const G = H[1].toLowerCase() === "x", U = H[2];
108546
+ D.setAttribute("data-type", "taskItem"), D.setAttribute("data-checked", G.toString()), D.textContent = U;
108547
108547
  }
108548
108548
  }
108549
108549
  L && A.setAttribute("data-type", "taskList");
@@ -113850,12 +113850,12 @@ var Bte = function(e) {
113850
113850
  throw new Error(`Correct katexImagesData or update code here to support
113851
113851
  ` + E + " children.");
113852
113852
  for (var R = 0; R < E; R++) {
113853
- var H = new $u(b[R]), W = new gc([H], {
113853
+ var H = new $u(b[R]), G = new gc([H], {
113854
113854
  width: "400em",
113855
113855
  height: Ye(A),
113856
113856
  viewBox: "0 0 " + a + " " + x,
113857
113857
  preserveAspectRatio: N[R] + " slice"
113858
- }), U = ve.makeSvgSpan([L[R]], [W], n);
113858
+ }), U = ve.makeSvgSpan([L[R]], [G], n);
113859
113859
  if (E === 1)
113860
113860
  return {
113861
113861
  span: U,
@@ -114790,12 +114790,12 @@ var Bp = function(e, n, r) {
114790
114790
  r && (D *= i.sizeMultiplier);
114791
114791
  var R = N / 2 - D, H = [];
114792
114792
  if (f.length > 0) {
114793
- var W = N - m - b, U = Math.round(N * 1e3), V = But(f, Math.round(W * 1e3)), K = new $u(f, V), Z = (d / 1e3).toFixed(3) + "em", te = (U / 1e3).toFixed(3) + "em", G = new gc([K], {
114794
- width: Z,
114793
+ var G = N - m - b, U = Math.round(N * 1e3), V = But(f, Math.round(G * 1e3)), Z = new $u(f, V), Y = (d / 1e3).toFixed(3) + "em", te = (U / 1e3).toFixed(3) + "em", W = new gc([Z], {
114794
+ width: Y,
114795
114795
  height: te,
114796
114796
  viewBox: "0 0 " + d + " " + U
114797
- }), re = ve.makeSvgSpan([], [G], i);
114798
- re.height = U / 1e3, re.style.width = Z, re.style.height = te, H.push({
114797
+ }), re = ve.makeSvgSpan([], [W], i);
114798
+ re.height = U / 1e3, re.style.width = Y, re.style.height = te, H.push({
114799
114799
  type: "elem",
114800
114800
  elem: re
114801
114801
  });
@@ -115526,24 +115526,24 @@ var ll = function(e, n) {
115526
115526
  var D = e.rowGaps[r], R = 0;
115527
115527
  D && (R = Gn(D, n), R > 0 && (R += k, E < R && (E = R), R = 0)), e.addJot && (E += m), L.height = A, L.depth = E, b += A, L.pos = b, b += E + R, l[r] = L, w(o[r + 1]);
115528
115528
  }
115529
- var H = b / 2 + n.fontMetrics().axisHeight, W = e.cols || [], U = [], V, K, Z = [];
115529
+ var H = b / 2 + n.fontMetrics().axisHeight, G = e.cols || [], U = [], V, Z, Y = [];
115530
115530
  if (e.tags && e.tags.some((De) => De))
115531
115531
  for (r = 0; r < s; ++r) {
115532
- var te = l[r], G = te.pos - H, re = e.tags[r], he = void 0;
115533
- re === !0 ? he = ve.makeSpan(["eqn-num"], [], n) : re === !1 ? he = ve.makeSpan([], [], n) : he = ve.makeSpan([], Tr(re, n, !0), n), he.depth = te.depth, he.height = te.height, Z.push({
115532
+ var te = l[r], W = te.pos - H, re = e.tags[r], he = void 0;
115533
+ re === !0 ? he = ve.makeSpan(["eqn-num"], [], n) : re === !1 ? he = ve.makeSpan([], [], n) : he = ve.makeSpan([], Tr(re, n, !0), n), he.depth = te.depth, he.height = te.height, Y.push({
115534
115534
  type: "elem",
115535
115535
  elem: he,
115536
- shift: G
115536
+ shift: W
115537
115537
  });
115538
115538
  }
115539
115539
  for (
115540
- i = 0, K = 0;
115540
+ i = 0, Z = 0;
115541
115541
  // Continue while either there are more columns or more column
115542
115542
  // descriptions, so trailing separators don't get lost.
115543
- i < a || K < W.length;
115544
- ++i, ++K
115543
+ i < a || Z < G.length;
115544
+ ++i, ++Z
115545
115545
  ) {
115546
- for (var ie = W[K] || {}, me = !0; ie.type === "separator"; ) {
115546
+ for (var ie = G[Z] || {}, me = !0; ie.type === "separator"; ) {
115547
115547
  if (me || (V = ve.makeSpan(["arraycolsep"], []), V.style.width = Ye(n.fontMetrics().doubleRuleSep), U.push(V)), ie.separator === "|" || ie.separator === ":") {
115548
115548
  var be = ie.separator === "|" ? "solid" : "dashed", ye = ve.makeSpan(["vertical-separator"], [], n);
115549
115549
  ye.style.height = Ye(b), ye.style.borderRightWidth = Ye(u), ye.style.borderRightStyle = be, ye.style.margin = "0 " + Ye(-u / 2);
@@ -115551,7 +115551,7 @@ var ll = function(e, n) {
115551
115551
  J && (ye.style.verticalAlign = Ye(-J)), U.push(ye);
115552
115552
  } else
115553
115553
  throw new Ge("Invalid separator type: " + ie.separator);
115554
- K++, ie = W[K] || {}, me = !1;
115554
+ Z++, ie = G[Z] || {}, me = !1;
115555
115555
  }
115556
115556
  if (!(i >= a)) {
115557
115557
  var ge = void 0;
@@ -115596,11 +115596,11 @@ var ll = function(e, n) {
115596
115596
  children: ce
115597
115597
  }, n);
115598
115598
  }
115599
- if (Z.length === 0)
115599
+ if (Y.length === 0)
115600
115600
  return ve.makeSpan(["mord"], [l], n);
115601
115601
  var se = ve.makeVList({
115602
115602
  positionType: "individualShift",
115603
- children: Z
115603
+ children: Y
115604
115604
  }, n);
115605
115605
  return se = ve.makeSpan(["tag"], [se], n), ve.makeFragment([l, se]);
115606
115606
  }, V0t = {
@@ -122162,7 +122162,7 @@ class Dne {
122162
122162
  */
122163
122163
  pe(this, "emitter");
122164
122164
  ke(this, Kd);
122165
- Y(this, Kd, n), mt(this, { emitter: e, filter: r });
122165
+ K(this, Kd, n), mt(this, { emitter: e, filter: r });
122166
122166
  }
122167
122167
  /**
122168
122168
  * Unregister the triggered listener for future events.
@@ -122352,14 +122352,14 @@ class Bft {
122352
122352
  constructor(e) {
122353
122353
  ke(this, f1);
122354
122354
  ke(this, ru);
122355
- Y(this, f1, []), Y(this, ru, !1), One.set(e, () => {
122355
+ K(this, f1, []), K(this, ru, !1), One.set(e, () => {
122356
122356
  if (!z(this, ru)) {
122357
- Y(this, ru, !0);
122357
+ K(this, ru, !0);
122358
122358
  for (const n of z(this, f1))
122359
122359
  setTimeout(() => {
122360
122360
  n();
122361
122361
  }, 0);
122362
- Y(this, f1, []);
122362
+ K(this, f1, []);
122363
122363
  }
122364
122364
  });
122365
122365
  }
@@ -122407,10 +122407,10 @@ const Fv = class Fv {
122407
122407
  ke(this, pa);
122408
122408
  ke(this, No);
122409
122409
  ke(this, iu);
122410
- Y(this, $d, String(e)), Y(this, Jd, !1), Y(this, Qd, !0), Y(this, To, {}), Y(this, Cl, ""), Y(this, Xd, 3e5), Y(this, No, {
122410
+ K(this, $d, String(e)), K(this, Jd, !1), K(this, Qd, !0), K(this, To, {}), K(this, Cl, ""), K(this, Xd, 3e5), K(this, No, {
122411
122411
  slotInterval: Rft,
122412
122412
  maxAttempts: Pft
122413
- }), Y(this, iu, null);
122413
+ }), K(this, iu, null);
122414
122414
  }
122415
122415
  /**
122416
122416
  * The fetch URL to request.
@@ -122419,7 +122419,7 @@ const Fv = class Fv {
122419
122419
  return z(this, $d);
122420
122420
  }
122421
122421
  set url(e) {
122422
- Y(this, $d, String(e));
122422
+ K(this, $d, String(e));
122423
122423
  }
122424
122424
  /**
122425
122425
  * The fetch body, if any, to send as the request body. //(default: null)//
@@ -122445,13 +122445,13 @@ const Fv = class Fv {
122445
122445
  }
122446
122446
  set body(e) {
122447
122447
  if (e == null)
122448
- Y(this, jr, void 0), Y(this, ps, void 0);
122448
+ K(this, jr, void 0), K(this, ps, void 0);
122449
122449
  else if (typeof e == "string")
122450
- Y(this, jr, tc(e)), Y(this, ps, "text/plain");
122450
+ K(this, jr, tc(e)), K(this, ps, "text/plain");
122451
122451
  else if (e instanceof Uint8Array)
122452
- Y(this, jr, e), Y(this, ps, "application/octet-stream");
122452
+ K(this, jr, e), K(this, ps, "application/octet-stream");
122453
122453
  else if (typeof e == "object")
122454
- Y(this, jr, tc(JSON.stringify(e))), Y(this, ps, "application/json");
122454
+ K(this, jr, tc(JSON.stringify(e))), K(this, ps, "application/json");
122455
122455
  else
122456
122456
  throw new Error("invalid body");
122457
122457
  }
@@ -122470,7 +122470,7 @@ const Fv = class Fv {
122470
122470
  return z(this, Cl) ? z(this, Cl) : this.hasBody() ? "POST" : "GET";
122471
122471
  }
122472
122472
  set method(e) {
122473
- e == null && (e = ""), Y(this, Cl, String(e).toUpperCase());
122473
+ e == null && (e = ""), K(this, Cl, String(e).toUpperCase());
122474
122474
  }
122475
122475
  /**
122476
122476
  * The headers that will be used when requesting the URI. All
@@ -122502,7 +122502,7 @@ const Fv = class Fv {
122502
122502
  * Clear all headers, resetting all intrinsic headers.
122503
122503
  */
122504
122504
  clearHeaders() {
122505
- Y(this, To, {});
122505
+ K(this, To, {});
122506
122506
  }
122507
122507
  [Symbol.iterator]() {
122508
122508
  const e = this.headers, n = Object.keys(e);
@@ -122532,7 +122532,7 @@ const Fv = class Fv {
122532
122532
  * Sets an ``Authorization`` for %%username%% with %%password%%.
122533
122533
  */
122534
122534
  setCredentials(e, n) {
122535
- fe(!e.match(/:/), "invalid basic authentication username", "username", "[REDACTED]"), Y(this, Al, `${e}:${n}`);
122535
+ fe(!e.match(/:/), "invalid basic authentication username", "username", "[REDACTED]"), K(this, Al, `${e}:${n}`);
122536
122536
  }
122537
122537
  /**
122538
122538
  * Enable and request gzip-encoded responses. The response will
@@ -122542,7 +122542,7 @@ const Fv = class Fv {
122542
122542
  return z(this, Qd);
122543
122543
  }
122544
122544
  set allowGzip(e) {
122545
- Y(this, Qd, !!e);
122545
+ K(this, Qd, !!e);
122546
122546
  }
122547
122547
  /**
122548
122548
  * Allow ``Authentication`` credentials to be sent over insecure
@@ -122552,7 +122552,7 @@ const Fv = class Fv {
122552
122552
  return !!z(this, Jd);
122553
122553
  }
122554
122554
  set allowInsecureAuthentication(e) {
122555
- Y(this, Jd, !!e);
122555
+ K(this, Jd, !!e);
122556
122556
  }
122557
122557
  /**
122558
122558
  * The timeout (in milliseconds) to wait for a complete response.
@@ -122562,7 +122562,7 @@ const Fv = class Fv {
122562
122562
  return z(this, Xd);
122563
122563
  }
122564
122564
  set timeout(e) {
122565
- fe(e >= 0, "timeout must be non-zero", "timeout", e), Y(this, Xd, e);
122565
+ fe(e >= 0, "timeout must be non-zero", "timeout", e), K(this, Xd, e);
122566
122566
  }
122567
122567
  /**
122568
122568
  * This function is called prior to each request, for example
@@ -122575,7 +122575,7 @@ const Fv = class Fv {
122575
122575
  return z(this, d1) || null;
122576
122576
  }
122577
122577
  set preflightFunc(e) {
122578
- Y(this, d1, e);
122578
+ K(this, d1, e);
122579
122579
  }
122580
122580
  /**
122581
122581
  * This function is called after each response, offering an
@@ -122591,7 +122591,7 @@ const Fv = class Fv {
122591
122591
  return z(this, h1) || null;
122592
122592
  }
122593
122593
  set processFunc(e) {
122594
- Y(this, h1, e);
122594
+ K(this, h1, e);
122595
122595
  }
122596
122596
  /**
122597
122597
  * This function is called on each retry attempt.
@@ -122600,7 +122600,7 @@ const Fv = class Fv {
122600
122600
  return z(this, p1) || null;
122601
122601
  }
122602
122602
  set retryFunc(e) {
122603
- Y(this, p1, e);
122603
+ K(this, p1, e);
122604
122604
  }
122605
122605
  /**
122606
122606
  * This function is called to fetch content from HTTP and
@@ -122621,7 +122621,7 @@ const Fv = class Fv {
122621
122621
  return z(this, iu) || wB;
122622
122622
  }
122623
122623
  set getUrlFunc(e) {
122624
- Y(this, iu, e);
122624
+ K(this, iu, e);
122625
122625
  }
122626
122626
  toString() {
122627
122627
  return `<FetchRequest method=${JSON.stringify(this.method)} url=${JSON.stringify(this.url)} headers=${JSON.stringify(this.headers)} body=${z(this, jr) ? ct(z(this, jr)) : "null"}>`;
@@ -122637,7 +122637,7 @@ const Fv = class Fv {
122637
122637
  * Resolves to the response by sending the request.
122638
122638
  */
122639
122639
  send() {
122640
- return je(z(this, pa) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), Y(this, pa, new Bft(this)), Ze(this, m1, Hp).call(this, 0, kB() + this.timeout, 0, this, new Ru(0, "", {}, null, this));
122640
+ return je(z(this, pa) == null, "request already sent", "UNSUPPORTED_OPERATION", { operation: "fetchRequest.send" }), K(this, pa, new Bft(this)), Ze(this, m1, Hp).call(this, 0, kB() + this.timeout, 0, this, new Ru(0, "", {}, null, this));
122641
122641
  }
122642
122642
  /**
122643
122643
  * Cancels the inflight response, causing a ``CANCELLED``
@@ -122660,14 +122660,14 @@ const Fv = class Fv {
122660
122660
  operation: `redirect(${this.method} ${JSON.stringify(this.url)} => ${JSON.stringify(e)})`
122661
122661
  });
122662
122662
  const i = new Fv(e);
122663
- return i.method = "GET", i.allowGzip = this.allowGzip, i.timeout = this.timeout, Y(i, To, Object.assign({}, z(this, To))), z(this, jr) && Y(i, jr, new Uint8Array(z(this, jr))), Y(i, ps, z(this, ps)), i;
122663
+ return i.method = "GET", i.allowGzip = this.allowGzip, i.timeout = this.timeout, K(i, To, Object.assign({}, z(this, To))), z(this, jr) && K(i, jr, new Uint8Array(z(this, jr))), K(i, ps, z(this, ps)), i;
122664
122664
  }
122665
122665
  /**
122666
122666
  * Create a new copy of this request.
122667
122667
  */
122668
122668
  clone() {
122669
122669
  const e = new Fv(this.url);
122670
- return Y(e, Cl, z(this, Cl)), z(this, jr) && Y(e, jr, z(this, jr)), Y(e, ps, z(this, ps)), Y(e, To, Object.assign({}, z(this, To))), Y(e, Al, z(this, Al)), this.allowGzip && (e.allowGzip = !0), e.timeout = this.timeout, this.allowInsecureAuthentication && (e.allowInsecureAuthentication = !0), Y(e, d1, z(this, d1)), Y(e, h1, z(this, h1)), Y(e, p1, z(this, p1)), Y(e, No, Object.assign({}, z(this, No))), Y(e, iu, z(this, iu)), e;
122670
+ return K(e, Cl, z(this, Cl)), z(this, jr) && K(e, jr, z(this, jr)), K(e, ps, z(this, ps)), K(e, To, Object.assign({}, z(this, To))), K(e, Al, z(this, Al)), this.allowGzip && (e.allowGzip = !0), e.timeout = this.timeout, this.allowInsecureAuthentication && (e.allowInsecureAuthentication = !0), K(e, d1, z(this, d1)), K(e, h1, z(this, h1)), K(e, p1, z(this, p1)), K(e, No, Object.assign({}, z(this, No))), K(e, iu, z(this, iu)), e;
122671
122671
  }
122672
122672
  /**
122673
122673
  * Locks all static configuration for gateways and FetchGetUrlFunc
@@ -122811,7 +122811,7 @@ const _N = class _N {
122811
122811
  ke(this, ms);
122812
122812
  ke(this, eh);
122813
122813
  ke(this, y1);
122814
- Y(this, Y4, e), Y(this, K4, n), Y(this, J4, Object.keys(r).reduce((o, a) => (o[a.toLowerCase()] = String(r[a]), o), {})), Y(this, ms, i == null ? null : new Uint8Array(i)), Y(this, eh, s || null), Y(this, y1, { message: "" });
122814
+ K(this, Y4, e), K(this, K4, n), K(this, J4, Object.keys(r).reduce((o, a) => (o[a.toLowerCase()] = String(r[a]), o), {})), K(this, ms, i == null ? null : new Uint8Array(i)), K(this, eh, s || null), K(this, y1, { message: "" });
122815
122815
  }
122816
122816
  toString() {
122817
122817
  return `<FetchResponse status=${this.statusCode} body=${z(this, ms) ? ct(z(this, ms)) : "null"}>`;
@@ -122897,7 +122897,7 @@ const _N = class _N {
122897
122897
  let r;
122898
122898
  e ? r = `CLIENT ESCALATED SERVER ERROR (${this.statusCode} ${this.statusMessage}; ${e})` : (e = `${this.statusCode} ${this.statusMessage}`, r = `CLIENT ESCALATED SERVER ERROR (${e})`);
122899
122899
  const i = new _N(599, r, this.headers, this.body, z(this, eh) || void 0);
122900
- return Y(i, y1, { message: e, error: n }), i;
122900
+ return K(i, y1, { message: e, error: n }), i;
122901
122901
  }
122902
122902
  /**
122903
122903
  * If called within a [request.processFunc](FetchRequest-processFunc)
@@ -123104,7 +123104,7 @@ const Ad = class Ad extends Array {
123104
123104
  if (SB(this, Object.freeze(i.map((c, u) => {
123105
123105
  const f = s[u];
123106
123106
  return f != null && a.get(f) === 1 ? f : null;
123107
- }))), Y(this, th, []), z(this, th) == null && z(this, th), !o)
123107
+ }))), K(this, th, []), z(this, th) == null && z(this, th), !o)
123108
123108
  return;
123109
123109
  Object.freeze(this);
123110
123110
  const l = new Proxy(this, {
@@ -123253,7 +123253,7 @@ class hC {
123253
123253
  // An array of WordSize lengthed objects to concatenation
123254
123254
  ke(this, Sl);
123255
123255
  ke(this, g1);
123256
- Y(this, Sl, []), Y(this, g1, 0);
123256
+ K(this, Sl, []), K(this, g1, 0);
123257
123257
  }
123258
123258
  get data() {
123259
123259
  return pr(z(this, Sl));
@@ -123278,13 +123278,13 @@ class hC {
123278
123278
  // be used to asjust the value later
123279
123279
  writeUpdatableValue() {
123280
123280
  const e = z(this, Sl).length;
123281
- return z(this, Sl).push(fC), Y(this, g1, z(this, g1) + Ii), (n) => {
123281
+ return z(this, Sl).push(fC), K(this, g1, z(this, g1) + Ii), (n) => {
123282
123282
  z(this, Sl)[e] = LB(n);
123283
123283
  };
123284
123284
  }
123285
123285
  }
123286
123286
  Sl = new WeakMap(), g1 = new WeakMap(), nh = new WeakSet(), c6 = function(e) {
123287
- return z(this, Sl).push(e), Y(this, g1, z(this, g1) + e.length), e.length;
123287
+ return z(this, Sl).push(e), K(this, g1, z(this, g1) + e.length), e.length;
123288
123288
  };
123289
123289
  var Gi, ys, v1, b1, su, kf, mC, Hne;
123290
123290
  const VN = class VN {
@@ -123300,7 +123300,7 @@ const VN = class VN {
123300
123300
  ke(this, v1);
123301
123301
  ke(this, b1);
123302
123302
  ke(this, su);
123303
- mt(this, { allowLoose: !!n }), Y(this, Gi, Ti(e)), Y(this, v1, 0), Y(this, b1, null), Y(this, su, r ?? 1024), Y(this, ys, 0);
123303
+ mt(this, { allowLoose: !!n }), K(this, Gi, Ti(e)), K(this, v1, 0), K(this, b1, null), K(this, su, r ?? 1024), K(this, ys, 0);
123304
123304
  }
123305
123305
  get data() {
123306
123306
  return ct(z(this, Gi));
@@ -123317,12 +123317,12 @@ const VN = class VN {
123317
123317
  // Create a sub-reader with the same underlying data, but offset
123318
123318
  subReader(e) {
123319
123319
  const n = new VN(z(this, Gi).slice(z(this, ys) + e), this.allowLoose, z(this, su));
123320
- return Y(n, b1, this), n;
123320
+ return K(n, b1, this), n;
123321
123321
  }
123322
123322
  // Read bytes
123323
123323
  readBytes(e, n) {
123324
123324
  let r = Ze(this, kf, Hne).call(this, 0, e, !!n);
123325
- return Ze(this, kf, mC).call(this, e), Y(this, ys, z(this, ys) + r.length), r.slice(0, e);
123325
+ return Ze(this, kf, mC).call(this, e), K(this, ys, z(this, ys) + r.length), r.slice(0, e);
123326
123326
  }
123327
123327
  // Read a numeric values
123328
123328
  readValue() {
@@ -123336,7 +123336,7 @@ Gi = new WeakMap(), ys = new WeakMap(), v1 = new WeakMap(), b1 = new WeakMap(),
123336
123336
  var n;
123337
123337
  if (z(this, b1))
123338
123338
  return Ze(n = z(this, b1), kf, mC).call(n, e);
123339
- Y(this, v1, z(this, v1) + e), je(z(this, su) < 1 || z(this, v1) <= z(this, su) * this.dataLength, `compressed ABI data exceeds inflation ratio of ${z(this, su)} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`, "BUFFER_OVERRUN", {
123339
+ K(this, v1, z(this, v1) + e), je(z(this, su) < 1 || z(this, v1) <= z(this, su) * this.dataLength, `compressed ABI data exceeds inflation ratio of ${z(this, su)} ( see: https://github.com/ethers-io/ethers.js/issues/4537 )`, "BUFFER_OVERRUN", {
123340
123340
  buffer: Ti(z(this, Gi)),
123341
123341
  offset: z(this, ys),
123342
123342
  length: e,
@@ -123760,15 +123760,15 @@ class vdt extends Gne {
123760
123760
  for (let b = 0; b < 16; b++, n += 4)
123761
123761
  Bc[b] = e.getUint32(n), Fc[b] = e.getUint32(n += 4);
123762
123762
  for (let b = 16; b < 80; b++) {
123763
- const w = Bc[b - 15] | 0, x = Fc[b - 15] | 0, A = Yt.rotrSH(w, x, 1) ^ Yt.rotrSH(w, x, 8) ^ Yt.shrSH(w, x, 7), E = Yt.rotrSL(w, x, 1) ^ Yt.rotrSL(w, x, 8) ^ Yt.shrSL(w, x, 7), L = Bc[b - 2] | 0, N = Fc[b - 2] | 0, D = Yt.rotrSH(L, N, 19) ^ Yt.rotrBH(L, N, 61) ^ Yt.shrSH(L, N, 6), R = Yt.rotrSL(L, N, 19) ^ Yt.rotrBL(L, N, 61) ^ Yt.shrSL(L, N, 6), H = Yt.add4L(E, R, Fc[b - 7], Fc[b - 16]), W = Yt.add4H(H, A, D, Bc[b - 7], Bc[b - 16]);
123764
- Bc[b] = W | 0, Fc[b] = H | 0;
123763
+ const w = Bc[b - 15] | 0, x = Fc[b - 15] | 0, A = Yt.rotrSH(w, x, 1) ^ Yt.rotrSH(w, x, 8) ^ Yt.shrSH(w, x, 7), E = Yt.rotrSL(w, x, 1) ^ Yt.rotrSL(w, x, 8) ^ Yt.shrSL(w, x, 7), L = Bc[b - 2] | 0, N = Fc[b - 2] | 0, D = Yt.rotrSH(L, N, 19) ^ Yt.rotrBH(L, N, 61) ^ Yt.shrSH(L, N, 6), R = Yt.rotrSL(L, N, 19) ^ Yt.rotrBL(L, N, 61) ^ Yt.shrSL(L, N, 6), H = Yt.add4L(E, R, Fc[b - 7], Fc[b - 16]), G = Yt.add4H(H, A, D, Bc[b - 7], Bc[b - 16]);
123764
+ Bc[b] = G | 0, Fc[b] = H | 0;
123765
123765
  }
123766
123766
  let { Ah: r, Al: i, Bh: s, Bl: o, Ch: a, Cl: l, Dh: c, Dl: u, Eh: f, El: d, Fh: h, Fl: p, Gh: m, Gl: y, Hh: v, Hl: k } = this;
123767
123767
  for (let b = 0; b < 80; b++) {
123768
- const w = Yt.rotrSH(f, d, 14) ^ Yt.rotrSH(f, d, 18) ^ Yt.rotrBH(f, d, 41), x = Yt.rotrSL(f, d, 14) ^ Yt.rotrSL(f, d, 18) ^ Yt.rotrBL(f, d, 41), A = f & h ^ ~f & m, E = d & p ^ ~d & y, L = Yt.add5L(k, x, E, gdt[b], Fc[b]), N = Yt.add5H(L, v, w, A, ydt[b], Bc[b]), D = L | 0, R = Yt.rotrSH(r, i, 28) ^ Yt.rotrBH(r, i, 34) ^ Yt.rotrBH(r, i, 39), H = Yt.rotrSL(r, i, 28) ^ Yt.rotrBL(r, i, 34) ^ Yt.rotrBL(r, i, 39), W = r & s ^ r & a ^ s & a, U = i & o ^ i & l ^ o & l;
123768
+ const w = Yt.rotrSH(f, d, 14) ^ Yt.rotrSH(f, d, 18) ^ Yt.rotrBH(f, d, 41), x = Yt.rotrSL(f, d, 14) ^ Yt.rotrSL(f, d, 18) ^ Yt.rotrBL(f, d, 41), A = f & h ^ ~f & m, E = d & p ^ ~d & y, L = Yt.add5L(k, x, E, gdt[b], Fc[b]), N = Yt.add5H(L, v, w, A, ydt[b], Bc[b]), D = L | 0, R = Yt.rotrSH(r, i, 28) ^ Yt.rotrBH(r, i, 34) ^ Yt.rotrBH(r, i, 39), H = Yt.rotrSL(r, i, 28) ^ Yt.rotrBL(r, i, 34) ^ Yt.rotrBL(r, i, 39), G = r & s ^ r & a ^ s & a, U = i & o ^ i & l ^ o & l;
123769
123769
  v = m | 0, k = y | 0, m = h | 0, y = p | 0, h = f | 0, p = d | 0, { h: f, l: d } = Yt.add(c | 0, u | 0, N | 0, D | 0), c = a | 0, u = l | 0, a = s | 0, l = o | 0, s = r | 0, o = i | 0;
123770
123770
  const V = Yt.add3L(D, H, U);
123771
- r = Yt.add3H(V, N, R, W), i = V | 0;
123771
+ r = Yt.add3H(V, N, R, G), i = V | 0;
123772
123772
  }
123773
123773
  ({ h: r, l: i } = Yt.add(this.Ah | 0, this.Al | 0, r | 0, i | 0)), { h: s, l: o } = Yt.add(this.Bh | 0, this.Bl | 0, s | 0, o | 0), { h: a, l } = Yt.add(this.Ch | 0, this.Cl | 0, a | 0, l | 0), { h: c, l: u } = Yt.add(this.Dh | 0, this.Dl | 0, c | 0, u | 0), { h: f, l: d } = Yt.add(this.Eh | 0, this.El | 0, f | 0, d | 0), { h, l: p } = Yt.add(this.Fh | 0, this.Fl | 0, h | 0, p | 0), { h: m, l: y } = Yt.add(this.Gh | 0, this.Gl | 0, m | 0, y | 0), { h: v, l: k } = Yt.add(this.Hh | 0, this.Hl | 0, v | 0, k | 0), this.set(r, i, s, o, a, l, c, u, f, d, h, p, m, y, v, k);
123774
123774
  }
@@ -124619,10 +124619,10 @@ function rht(t) {
124619
124619
  const { px: y, py: v, pz: k } = this, { px: b, py: w, pz: x } = m;
124620
124620
  let A = n.ZERO, E = n.ZERO, L = n.ZERO;
124621
124621
  const N = e.a, D = n.mul(e.b, PB);
124622
- let R = n.mul(y, b), H = n.mul(v, w), W = n.mul(k, x), U = n.add(y, v), V = n.add(b, w);
124622
+ let R = n.mul(y, b), H = n.mul(v, w), G = n.mul(k, x), U = n.add(y, v), V = n.add(b, w);
124623
124623
  U = n.mul(U, V), V = n.add(R, H), U = n.sub(U, V), V = n.add(y, k);
124624
- let K = n.add(b, x);
124625
- return V = n.mul(V, K), K = n.add(R, W), V = n.sub(V, K), K = n.add(v, k), A = n.add(w, x), K = n.mul(K, A), A = n.add(H, W), K = n.sub(K, A), L = n.mul(N, V), A = n.mul(D, W), L = n.add(A, L), A = n.sub(H, L), L = n.add(H, L), E = n.mul(A, L), H = n.add(R, R), H = n.add(H, R), W = n.mul(N, W), V = n.mul(D, V), H = n.add(H, W), W = n.sub(R, W), W = n.mul(N, W), V = n.add(V, W), R = n.mul(H, V), E = n.add(E, R), R = n.mul(K, V), A = n.mul(U, A), A = n.sub(A, R), R = n.mul(U, H), L = n.mul(K, L), L = n.add(L, R), new f(A, E, L);
124624
+ let Z = n.add(b, x);
124625
+ return V = n.mul(V, Z), Z = n.add(R, G), V = n.sub(V, Z), Z = n.add(v, k), A = n.add(w, x), Z = n.mul(Z, A), A = n.add(H, G), Z = n.sub(Z, A), L = n.mul(N, V), A = n.mul(D, G), L = n.add(A, L), A = n.sub(H, L), L = n.add(H, L), E = n.mul(A, L), H = n.add(R, R), H = n.add(H, R), G = n.mul(N, G), V = n.mul(D, V), H = n.add(H, G), G = n.sub(R, G), G = n.mul(N, G), V = n.add(V, G), R = n.mul(H, V), E = n.add(E, R), R = n.mul(Z, V), A = n.mul(U, A), A = n.sub(A, R), R = n.mul(U, H), L = n.mul(Z, L), L = n.add(L, R), new f(A, E, L);
124626
124626
  }
124627
124627
  subtract(m) {
124628
124628
  return this.add(m.negate());
@@ -124755,49 +124755,49 @@ function sht(t) {
124755
124755
  }
124756
124756
  const { ProjectivePoint: c, normPrivateKeyToScalar: u, weierstrassEquation: f, isWithinCurveOrder: d } = rht({
124757
124757
  ...e,
124758
- toBytes(V, K, Z) {
124759
- const te = K.toAffine(), G = n.toBytes(te.x), re = j4;
124760
- return Z ? re(Uint8Array.from([K.hasEvenY() ? 2 : 3]), G) : re(Uint8Array.from([4]), G, n.toBytes(te.y));
124758
+ toBytes(V, Z, Y) {
124759
+ const te = Z.toAffine(), W = n.toBytes(te.x), re = j4;
124760
+ return Y ? re(Uint8Array.from([Z.hasEvenY() ? 2 : 3]), W) : re(Uint8Array.from([4]), W, n.toBytes(te.y));
124761
124761
  },
124762
124762
  fromBytes(V) {
124763
- const K = V.length, Z = V[0], te = V.subarray(1);
124764
- if (K === i && (Z === 2 || Z === 3)) {
124765
- const G = W1(te);
124766
- if (!o(G))
124763
+ const Z = V.length, Y = V[0], te = V.subarray(1);
124764
+ if (Z === i && (Y === 2 || Y === 3)) {
124765
+ const W = W1(te);
124766
+ if (!o(W))
124767
124767
  throw new Error("Point is not on curve");
124768
- const re = f(G);
124768
+ const re = f(W);
124769
124769
  let he = n.sqrt(re);
124770
124770
  const ie = (he & no) === no;
124771
- return (Z & 1) === 1 !== ie && (he = n.neg(he)), { x: G, y: he };
124772
- } else if (K === s && Z === 4) {
124773
- const G = n.fromBytes(te.subarray(0, n.BYTES)), re = n.fromBytes(te.subarray(n.BYTES, 2 * n.BYTES));
124774
- return { x: G, y: re };
124771
+ return (Y & 1) === 1 !== ie && (he = n.neg(he)), { x: W, y: he };
124772
+ } else if (Z === s && Y === 4) {
124773
+ const W = n.fromBytes(te.subarray(0, n.BYTES)), re = n.fromBytes(te.subarray(n.BYTES, 2 * n.BYTES));
124774
+ return { x: W, y: re };
124775
124775
  } else
124776
- throw new Error(`Point of length ${K} was invalid. Expected ${i} compressed bytes or ${s} uncompressed bytes`);
124776
+ throw new Error(`Point of length ${Z} was invalid. Expected ${i} compressed bytes or ${s} uncompressed bytes`);
124777
124777
  }
124778
124778
  }), h = (V) => v2(w2(V, e.nByteLength));
124779
124779
  function p(V) {
124780
- const K = r >> no;
124781
- return V > K;
124780
+ const Z = r >> no;
124781
+ return V > Z;
124782
124782
  }
124783
124783
  function m(V) {
124784
124784
  return p(V) ? a(-V) : V;
124785
124785
  }
124786
- const y = (V, K, Z) => W1(V.slice(K, Z));
124786
+ const y = (V, Z, Y) => W1(V.slice(Z, Y));
124787
124787
  class v {
124788
- constructor(K, Z, te) {
124789
- this.r = K, this.s = Z, this.recovery = te, this.assertValidity();
124788
+ constructor(Z, Y, te) {
124789
+ this.r = Z, this.s = Y, this.recovery = te, this.assertValidity();
124790
124790
  }
124791
124791
  // pair (bytes of r, bytes of s)
124792
- static fromCompact(K) {
124793
- const Z = e.nByteLength;
124794
- return K = Eo("compactSignature", K, Z * 2), new v(y(K, 0, Z), y(K, Z, 2 * Z));
124792
+ static fromCompact(Z) {
124793
+ const Y = e.nByteLength;
124794
+ return Z = Eo("compactSignature", Z, Y * 2), new v(y(Z, 0, Y), y(Z, Y, 2 * Y));
124795
124795
  }
124796
124796
  // DER encoded ECDSA signature
124797
124797
  // https://bitcoin.stackexchange.com/questions/57644/what-are-the-parts-of-a-bitcoin-transaction-input-script
124798
- static fromDER(K) {
124799
- const { r: Z, s: te } = a1.toSig(Eo("DER", K));
124800
- return new v(Z, te);
124798
+ static fromDER(Z) {
124799
+ const { r: Y, s: te } = a1.toSig(Eo("DER", Z));
124800
+ return new v(Y, te);
124801
124801
  }
124802
124802
  assertValidity() {
124803
124803
  if (!d(this.r))
@@ -124805,17 +124805,17 @@ function sht(t) {
124805
124805
  if (!d(this.s))
124806
124806
  throw new Error("s must be 0 < s < CURVE.n");
124807
124807
  }
124808
- addRecoveryBit(K) {
124809
- return new v(this.r, this.s, K);
124808
+ addRecoveryBit(Z) {
124809
+ return new v(this.r, this.s, Z);
124810
124810
  }
124811
- recoverPublicKey(K) {
124812
- const { r: Z, s: te, recovery: G } = this, re = E(Eo("msgHash", K));
124813
- if (G == null || ![0, 1, 2, 3].includes(G))
124811
+ recoverPublicKey(Z) {
124812
+ const { r: Y, s: te, recovery: W } = this, re = E(Eo("msgHash", Z));
124813
+ if (W == null || ![0, 1, 2, 3].includes(W))
124814
124814
  throw new Error("recovery id invalid");
124815
- const he = G === 2 || G === 3 ? Z + e.n : Z;
124815
+ const he = W === 2 || W === 3 ? Y + e.n : Y;
124816
124816
  if (he >= n.ORDER)
124817
124817
  throw new Error("recovery id 2 or 3 invalid");
124818
- const ie = G & 1 ? "03" : "02", me = c.fromHex(ie + h(he)), be = l(he), ye = a(-re * be), J = a(te * be), ge = c.BASE.multiplyAndAddUnsafe(me, ye, J);
124818
+ const ie = W & 1 ? "03" : "02", me = c.fromHex(ie + h(he)), be = l(he), ye = a(-re * be), J = a(te * be), ge = c.BASE.multiplyAndAddUnsafe(me, ye, J);
124819
124819
  if (!ge)
124820
124820
  throw new Error("point at infinify");
124821
124821
  return ge.assertValidity(), ge;
@@ -124867,27 +124867,27 @@ function sht(t) {
124867
124867
  * const fast = utils.precompute(8, ProjectivePoint.fromHex(someonesPubKey));
124868
124868
  * fast.multiply(privKey); // much faster ECDH now
124869
124869
  */
124870
- precompute(V = 8, K = c.BASE) {
124871
- return K._setWindowSize(V), K.multiply(BigInt(3)), K;
124870
+ precompute(V = 8, Z = c.BASE) {
124871
+ return Z._setWindowSize(V), Z.multiply(BigInt(3)), Z;
124872
124872
  }
124873
124873
  };
124874
- function b(V, K = !0) {
124875
- return c.fromPrivateKey(V).toRawBytes(K);
124874
+ function b(V, Z = !0) {
124875
+ return c.fromPrivateKey(V).toRawBytes(Z);
124876
124876
  }
124877
124877
  function w(V) {
124878
- const K = V instanceof Uint8Array, Z = typeof V == "string", te = (K || Z) && V.length;
124879
- return K ? te === i || te === s : Z ? te === 2 * i || te === 2 * s : V instanceof c;
124878
+ const Z = V instanceof Uint8Array, Y = typeof V == "string", te = (Z || Y) && V.length;
124879
+ return Z ? te === i || te === s : Y ? te === 2 * i || te === 2 * s : V instanceof c;
124880
124880
  }
124881
- function x(V, K, Z = !0) {
124881
+ function x(V, Z, Y = !0) {
124882
124882
  if (w(V))
124883
124883
  throw new Error("first arg must be private key");
124884
- if (!w(K))
124884
+ if (!w(Z))
124885
124885
  throw new Error("second arg must be public key");
124886
- return c.fromHex(K).multiply(u(V)).toRawBytes(Z);
124886
+ return c.fromHex(Z).multiply(u(V)).toRawBytes(Y);
124887
124887
  }
124888
124888
  const A = e.bits2int || function(V) {
124889
- const K = W1(V), Z = V.length * 8 - e.nBitLength;
124890
- return Z > 0 ? K >> BigInt(Z) : K;
124889
+ const Z = W1(V), Y = V.length * 8 - e.nBitLength;
124890
+ return Y > 0 ? Z >> BigInt(Y) : Z;
124891
124891
  }, E = e.bits2int_modN || function(V) {
124892
124892
  return a(A(V));
124893
124893
  }, L = ZT(e.nBitLength);
@@ -124898,15 +124898,15 @@ function sht(t) {
124898
124898
  throw new Error(`bigint expected < 2^${e.nBitLength}`);
124899
124899
  return w2(V, e.nByteLength);
124900
124900
  }
124901
- function D(V, K, Z = R) {
124902
- if (["recovered", "canonical"].some((Ve) => Ve in Z))
124901
+ function D(V, Z, Y = R) {
124902
+ if (["recovered", "canonical"].some((Ve) => Ve in Y))
124903
124903
  throw new Error("sign() legacy options not supported");
124904
- const { hash: te, randomBytes: G } = e;
124905
- let { lowS: re, prehash: he, extraEntropy: ie } = Z;
124904
+ const { hash: te, randomBytes: W } = e;
124905
+ let { lowS: re, prehash: he, extraEntropy: ie } = Y;
124906
124906
  re == null && (re = !0), V = Eo("msgHash", V), he && (V = Eo("prehashed msgHash", te(V)));
124907
- const me = E(V), be = u(K), ye = [N(be), N(me)];
124907
+ const me = E(V), be = u(Z), ye = [N(be), N(me)];
124908
124908
  if (ie != null) {
124909
- const Ve = ie === !0 ? G(n.BYTES) : ie;
124909
+ const Ve = ie === !0 ? W(n.BYTES) : ie;
124910
124910
  ye.push(Eo("extraEntropy", Ve));
124911
124911
  }
124912
124912
  const J = j4(...ye), ge = me;
@@ -124926,33 +124926,33 @@ function sht(t) {
124926
124926
  return { seed: J, k2sig: we };
124927
124927
  }
124928
124928
  const R = { lowS: e.lowS, prehash: !1 }, H = { lowS: e.lowS, prehash: !1 };
124929
- function W(V, K, Z = R) {
124930
- const { seed: te, k2sig: G } = D(V, K, Z), re = e;
124931
- return ure(re.hash.outputLen, re.nByteLength, re.hmac)(te, G);
124929
+ function G(V, Z, Y = R) {
124930
+ const { seed: te, k2sig: W } = D(V, Z, Y), re = e;
124931
+ return ure(re.hash.outputLen, re.nByteLength, re.hmac)(te, W);
124932
124932
  }
124933
124933
  c.BASE._setWindowSize(8);
124934
- function U(V, K, Z, te = H) {
124934
+ function U(V, Z, Y, te = H) {
124935
124935
  var Ee;
124936
- const G = V;
124937
- if (K = Eo("msgHash", K), Z = Eo("publicKey", Z), "strict" in te)
124936
+ const W = V;
124937
+ if (Z = Eo("msgHash", Z), Y = Eo("publicKey", Y), "strict" in te)
124938
124938
  throw new Error("options.strict was renamed to lowS");
124939
124939
  const { lowS: re, prehash: he } = te;
124940
124940
  let ie, me;
124941
124941
  try {
124942
- if (typeof G == "string" || G instanceof Uint8Array)
124942
+ if (typeof W == "string" || W instanceof Uint8Array)
124943
124943
  try {
124944
- ie = v.fromDER(G);
124944
+ ie = v.fromDER(W);
124945
124945
  } catch (Te) {
124946
124946
  if (!(Te instanceof a1.Err))
124947
124947
  throw Te;
124948
- ie = v.fromCompact(G);
124948
+ ie = v.fromCompact(W);
124949
124949
  }
124950
- else if (typeof G == "object" && typeof G.r == "bigint" && typeof G.s == "bigint") {
124951
- const { r: Te, s: ce } = G;
124950
+ else if (typeof W == "object" && typeof W.r == "bigint" && typeof W.s == "bigint") {
124951
+ const { r: Te, s: ce } = W;
124952
124952
  ie = new v(Te, ce);
124953
124953
  } else
124954
124954
  throw new Error("PARSE");
124955
- me = c.fromHex(Z);
124955
+ me = c.fromHex(Y);
124956
124956
  } catch (Te) {
124957
124957
  if (Te.message === "PARSE")
124958
124958
  throw new Error("signature must be Signature instance, Uint8Array or hex string");
@@ -124960,15 +124960,15 @@ function sht(t) {
124960
124960
  }
124961
124961
  if (re && ie.hasHighS())
124962
124962
  return !1;
124963
- he && (K = e.hash(K));
124964
- const { r: be, s: ye } = ie, J = E(K), ge = l(ye), we = a(J * ge), Ve = a(be * ge), Re = (Ee = c.BASE.multiplyAndAddUnsafe(me, we, Ve)) == null ? void 0 : Ee.toAffine();
124963
+ he && (Z = e.hash(Z));
124964
+ const { r: be, s: ye } = ie, J = E(Z), ge = l(ye), we = a(J * ge), Ve = a(be * ge), Re = (Ee = c.BASE.multiplyAndAddUnsafe(me, we, Ve)) == null ? void 0 : Ee.toAffine();
124965
124965
  return Re ? a(Re.x) === be : !1;
124966
124966
  }
124967
124967
  return {
124968
124968
  CURVE: e,
124969
124969
  getPublicKey: b,
124970
124970
  getSharedSecret: x,
124971
- sign: W,
124971
+ sign: G,
124972
124972
  verify: U,
124973
124973
  ProjectivePoint: c,
124974
124974
  Signature: v,
@@ -125039,7 +125039,7 @@ const Lo = class Lo {
125039
125039
  ke(this, ih);
125040
125040
  ke(this, sh);
125041
125041
  ke(this, w1);
125042
- _8(e, $f, "Signature"), Y(this, rh, n), Y(this, ih, r), Y(this, sh, i), Y(this, w1, null);
125042
+ _8(e, $f, "Signature"), K(this, rh, n), K(this, ih, r), K(this, sh, i), K(this, w1, null);
125043
125043
  }
125044
125044
  /**
125045
125045
  * The ``r`` value for a signautre.
@@ -125051,7 +125051,7 @@ const Lo = class Lo {
125051
125051
  return z(this, rh);
125052
125052
  }
125053
125053
  set r(e) {
125054
- fe(Gd(e) === 32, "invalid r", "value", e), Y(this, rh, ct(e));
125054
+ fe(Gd(e) === 32, "invalid r", "value", e), K(this, rh, ct(e));
125055
125055
  }
125056
125056
  /**
125057
125057
  * The ``s`` value for a signature.
@@ -125062,7 +125062,7 @@ const Lo = class Lo {
125062
125062
  set s(e) {
125063
125063
  fe(Gd(e) === 32, "invalid s", "value", e);
125064
125064
  const n = ct(e);
125065
- fe(parseInt(n.substring(0, 3)) < 8, "non-canonical s", "value", n), Y(this, ih, n);
125065
+ fe(parseInt(n.substring(0, 3)) < 8, "non-canonical s", "value", n), K(this, ih, n);
125066
125066
  }
125067
125067
  /**
125068
125068
  * The ``v`` value for a signature.
@@ -125079,7 +125079,7 @@ const Lo = class Lo {
125079
125079
  }
125080
125080
  set v(e) {
125081
125081
  const n = _t(e, "value");
125082
- fe(n === 27 || n === 28, "invalid v", "v", e), Y(this, sh, n);
125082
+ fe(n === 27 || n === 28, "invalid v", "v", e), K(this, sh, n);
125083
125083
  }
125084
125084
  /**
125085
125085
  * The EIP-155 ``v`` for legacy transactions. For non-legacy
@@ -125132,7 +125132,7 @@ const Lo = class Lo {
125132
125132
  */
125133
125133
  clone() {
125134
125134
  const e = new Lo($f, this.r, this.s, this.v);
125135
- return this.networkV && Y(e, w1, this.networkV), e;
125135
+ return this.networkV && K(e, w1, this.networkV), e;
125136
125136
  }
125137
125137
  /**
125138
125138
  * Returns a representation that is compatible with ``JSON.stringify``.
@@ -125267,7 +125267,7 @@ const Lo = class Lo {
125267
125267
  }
125268
125268
  n(!1, "missing v");
125269
125269
  }(e.v, e.yParityAndS, e.yParity), l = new Lo($f, i, s, a);
125270
- return o && Y(l, w1, o), n(e.yParity == null || _t(e.yParity, "sig.yParity") === l.yParity, "yParity mismatch"), n(e.yParityAndS == null || e.yParityAndS === l.yParityAndS, "yParityAndS mismatch"), l;
125270
+ return o && K(l, w1, o), n(e.yParity == null || _t(e.yParity, "sig.yParity") === l.yParity, "yParity mismatch"), n(e.yParityAndS == null || e.yParityAndS === l.yParityAndS, "yParityAndS mismatch"), l;
125271
125271
  }
125272
125272
  };
125273
125273
  rh = new WeakMap(), ih = new WeakMap(), sh = new WeakMap(), w1 = new WeakMap();
@@ -125279,7 +125279,7 @@ const Q0 = class Q0 {
125279
125279
  */
125280
125280
  constructor(e) {
125281
125281
  ke(this, Ll);
125282
- fe(Gd(e) === 32, "invalid private key", "privateKey", "[REDACTED]"), Y(this, Ll, ct(e));
125282
+ fe(Gd(e) === 32, "invalid private key", "privateKey", "[REDACTED]"), K(this, Ll, ct(e));
125283
125283
  }
125284
125284
  /**
125285
125285
  * The private key.
@@ -125542,7 +125542,7 @@ const wl = class wl {
125542
125542
  * @_ignore:
125543
125543
  */
125544
125544
  pe(this, "_typedSymbol");
125545
- i == null && (i = null), _8(bl, e, "Typed"), mt(this, { _typedSymbol: WB, type: n, value: r }), Y(this, k1, i), this.format();
125545
+ i == null && (i = null), _8(bl, e, "Typed"), mt(this, { _typedSymbol: WB, type: n, value: r }), K(this, k1, i), this.format();
125546
125546
  }
125547
125547
  /**
125548
125548
  * Format the type as a Human-Readable type.
@@ -127379,7 +127379,7 @@ const kl = class kl {
127379
127379
  ke(this, ou);
127380
127380
  ke(this, El);
127381
127381
  ke(this, au);
127382
- Y(this, ma, null), Y(this, oh, null), Y(this, lh, 0), Y(this, ch, Or), Y(this, uh, null), Y(this, fh, null), Y(this, dh, null), Y(this, ah, "0x"), Y(this, hh, Or), Y(this, ph, Or), Y(this, mh, null), Y(this, yh, null), Y(this, x1, null), Y(this, ou, null), Y(this, au, null), Y(this, El, null);
127382
+ K(this, ma, null), K(this, oh, null), K(this, lh, 0), K(this, ch, Or), K(this, uh, null), K(this, fh, null), K(this, dh, null), K(this, ah, "0x"), K(this, hh, Or), K(this, ph, Or), K(this, mh, null), K(this, yh, null), K(this, x1, null), K(this, ou, null), K(this, au, null), K(this, El, null);
127383
127383
  }
127384
127384
  /**
127385
127385
  * The transaction type.
@@ -127393,26 +127393,26 @@ const kl = class kl {
127393
127393
  set type(e) {
127394
127394
  switch (e) {
127395
127395
  case null:
127396
- Y(this, ma, null);
127396
+ K(this, ma, null);
127397
127397
  break;
127398
127398
  case 0:
127399
127399
  case "legacy":
127400
- Y(this, ma, 0);
127400
+ K(this, ma, 0);
127401
127401
  break;
127402
127402
  case 1:
127403
127403
  case "berlin":
127404
127404
  case "eip-2930":
127405
- Y(this, ma, 1);
127405
+ K(this, ma, 1);
127406
127406
  break;
127407
127407
  case 2:
127408
127408
  case "london":
127409
127409
  case "eip-1559":
127410
- Y(this, ma, 2);
127410
+ K(this, ma, 2);
127411
127411
  break;
127412
127412
  case 3:
127413
127413
  case "cancun":
127414
127414
  case "eip-4844":
127415
- Y(this, ma, 3);
127415
+ K(this, ma, 3);
127416
127416
  break;
127417
127417
  default:
127418
127418
  fe(!1, "unsupported transaction type", "type", e);
@@ -127443,7 +127443,7 @@ const kl = class kl {
127443
127443
  return e == null && this.type === 3 ? I4 : e;
127444
127444
  }
127445
127445
  set to(e) {
127446
- Y(this, oh, e == null ? null : wn(e));
127446
+ K(this, oh, e == null ? null : wn(e));
127447
127447
  }
127448
127448
  /**
127449
127449
  * The transaction nonce.
@@ -127452,7 +127452,7 @@ const kl = class kl {
127452
127452
  return z(this, lh);
127453
127453
  }
127454
127454
  set nonce(e) {
127455
- Y(this, lh, _t(e, "value"));
127455
+ K(this, lh, _t(e, "value"));
127456
127456
  }
127457
127457
  /**
127458
127458
  * The gas limit.
@@ -127461,7 +127461,7 @@ const kl = class kl {
127461
127461
  return z(this, ch);
127462
127462
  }
127463
127463
  set gasLimit(e) {
127464
- Y(this, ch, dt(e));
127464
+ K(this, ch, dt(e));
127465
127465
  }
127466
127466
  /**
127467
127467
  * The gas price.
@@ -127474,7 +127474,7 @@ const kl = class kl {
127474
127474
  return e == null && (this.type === 0 || this.type === 1) ? Or : e;
127475
127475
  }
127476
127476
  set gasPrice(e) {
127477
- Y(this, uh, e == null ? null : dt(e, "gasPrice"));
127477
+ K(this, uh, e == null ? null : dt(e, "gasPrice"));
127478
127478
  }
127479
127479
  /**
127480
127480
  * The maximum priority fee per unit of gas to pay. On legacy
@@ -127485,7 +127485,7 @@ const kl = class kl {
127485
127485
  return e ?? (this.type === 2 || this.type === 3 ? Or : null);
127486
127486
  }
127487
127487
  set maxPriorityFeePerGas(e) {
127488
- Y(this, fh, e == null ? null : dt(e, "maxPriorityFeePerGas"));
127488
+ K(this, fh, e == null ? null : dt(e, "maxPriorityFeePerGas"));
127489
127489
  }
127490
127490
  /**
127491
127491
  * The maximum total fee per unit of gas to pay. On legacy
@@ -127496,7 +127496,7 @@ const kl = class kl {
127496
127496
  return e ?? (this.type === 2 || this.type === 3 ? Or : null);
127497
127497
  }
127498
127498
  set maxFeePerGas(e) {
127499
- Y(this, dh, e == null ? null : dt(e, "maxFeePerGas"));
127499
+ K(this, dh, e == null ? null : dt(e, "maxFeePerGas"));
127500
127500
  }
127501
127501
  /**
127502
127502
  * The transaction data. For ``init`` transactions this is the
@@ -127506,7 +127506,7 @@ const kl = class kl {
127506
127506
  return z(this, ah);
127507
127507
  }
127508
127508
  set data(e) {
127509
- Y(this, ah, ct(e));
127509
+ K(this, ah, ct(e));
127510
127510
  }
127511
127511
  /**
127512
127512
  * The amount of ether (in wei) to send in this transactions.
@@ -127515,7 +127515,7 @@ const kl = class kl {
127515
127515
  return z(this, hh);
127516
127516
  }
127517
127517
  set value(e) {
127518
- Y(this, hh, dt(e, "value"));
127518
+ K(this, hh, dt(e, "value"));
127519
127519
  }
127520
127520
  /**
127521
127521
  * The chain ID this transaction is valid on.
@@ -127524,7 +127524,7 @@ const kl = class kl {
127524
127524
  return z(this, ph);
127525
127525
  }
127526
127526
  set chainId(e) {
127527
- Y(this, ph, dt(e));
127527
+ K(this, ph, dt(e));
127528
127528
  }
127529
127529
  /**
127530
127530
  * If signed, the signature for this transaction.
@@ -127533,7 +127533,7 @@ const kl = class kl {
127533
127533
  return z(this, mh) || null;
127534
127534
  }
127535
127535
  set signature(e) {
127536
- Y(this, mh, e == null ? null : Qo.from(e));
127536
+ K(this, mh, e == null ? null : Qo.from(e));
127537
127537
  }
127538
127538
  /**
127539
127539
  * The access list.
@@ -127546,7 +127546,7 @@ const kl = class kl {
127546
127546
  return e ?? (this.type === 1 || this.type === 2 || this.type === 3 ? [] : null);
127547
127547
  }
127548
127548
  set accessList(e) {
127549
- Y(this, yh, e == null ? null : A0(e));
127549
+ K(this, yh, e == null ? null : A0(e));
127550
127550
  }
127551
127551
  /**
127552
127552
  * The max fee per blob gas for Cancun transactions.
@@ -127556,7 +127556,7 @@ const kl = class kl {
127556
127556
  return e == null && this.type === 3 ? Or : e;
127557
127557
  }
127558
127558
  set maxFeePerBlobGas(e) {
127559
- Y(this, x1, e == null ? null : dt(e, "maxFeePerBlobGas"));
127559
+ K(this, x1, e == null ? null : dt(e, "maxFeePerBlobGas"));
127560
127560
  }
127561
127561
  /**
127562
127562
  * The BLOb versioned hashes for Cancun transactions.
@@ -127571,7 +127571,7 @@ const kl = class kl {
127571
127571
  for (let n = 0; n < e.length; n++)
127572
127572
  fe(Nn(e[n], 32), "invalid blobVersionedHash", `value[${n}]`, e[n]);
127573
127573
  }
127574
- Y(this, ou, e);
127574
+ K(this, ou, e);
127575
127575
  }
127576
127576
  /**
127577
127577
  * The BLObs for the Transaction, if any.
@@ -127606,7 +127606,7 @@ const kl = class kl {
127606
127606
  }
127607
127607
  set blobs(e) {
127608
127608
  if (e == null) {
127609
- Y(this, au, null);
127609
+ K(this, au, null);
127610
127610
  return;
127611
127611
  }
127612
127612
  const n = [], r = [];
@@ -127636,13 +127636,13 @@ const kl = class kl {
127636
127636
  }), r.push($B(1, o));
127637
127637
  }
127638
127638
  }
127639
- Y(this, au, n), Y(this, ou, r);
127639
+ K(this, au, n), K(this, ou, r);
127640
127640
  }
127641
127641
  get kzg() {
127642
127642
  return z(this, El);
127643
127643
  }
127644
127644
  set kzg(e) {
127645
- Y(this, El, e);
127645
+ K(this, El, e);
127646
127646
  }
127647
127647
  /**
127648
127648
  * The transaction hash, if signed. Otherwise, ``null``.
@@ -127949,14 +127949,14 @@ const Ys = class Ys {
127949
127949
  ke(this, Q4);
127950
127950
  ke(this, Tl);
127951
127951
  ke(this, vh);
127952
- Y(this, Tl, /* @__PURE__ */ new Map()), Y(this, vh, /* @__PURE__ */ new Map());
127952
+ K(this, Tl, /* @__PURE__ */ new Map()), K(this, vh, /* @__PURE__ */ new Map());
127953
127953
  const n = /* @__PURE__ */ new Map(), r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map(), s = {};
127954
127954
  Object.keys(e).forEach((l) => {
127955
127955
  s[l] = e[l].map(({ name: c, type: u }) => {
127956
127956
  let { base: f, index: d } = M3(u);
127957
127957
  return f === "int" && !e.int && (f = "int256"), f === "uint" && !e.uint && (f = "uint256"), { name: c, type: f + (d || "") };
127958
127958
  }), n.set(l, /* @__PURE__ */ new Set()), r.set(l, []), i.set(l, /* @__PURE__ */ new Set());
127959
- }), Y(this, Q4, JSON.stringify(s));
127959
+ }), K(this, Q4, JSON.stringify(s));
127960
127960
  for (const l in s) {
127961
127961
  const c = /* @__PURE__ */ new Set();
127962
127962
  for (const u of s[l]) {
@@ -128198,7 +128198,7 @@ const _v = class _v {
128198
128198
  ke(this, X4);
128199
128199
  ke(this, Gr);
128200
128200
  ke(this, Do);
128201
- Y(this, Gr, 0), Y(this, Do, e.slice());
128201
+ K(this, Gr, 0), K(this, Do, e.slice());
128202
128202
  }
128203
128203
  get offset() {
128204
128204
  return z(this, Gr);
@@ -128210,7 +128210,7 @@ const _v = class _v {
128210
128210
  return new _v(z(this, Do));
128211
128211
  }
128212
128212
  reset() {
128213
- Y(this, Gr, 0);
128213
+ K(this, Gr, 0);
128214
128214
  }
128215
128215
  // Pops and returns the value of the next token, if it is a keyword in allowed; throws if out of tokens
128216
128216
  popKeyword(e) {
@@ -128233,7 +128233,7 @@ const _v = class _v {
128233
128233
  if (e.type !== "OPEN_PAREN")
128234
128234
  throw new Error("bad start");
128235
128235
  const n = Ze(this, X4, LC).call(this, z(this, Gr) + 1, e.match + 1);
128236
- return Y(this, Gr, e.match + 1), n;
128236
+ return K(this, Gr, e.match + 1), n;
128237
128237
  }
128238
128238
  // Pops and returns the items within "(" ITEM1 "," ITEM2 "," ... ")"
128239
128239
  popParams() {
@@ -128243,9 +128243,9 @@ const _v = class _v {
128243
128243
  const n = [];
128244
128244
  for (; z(this, Gr) < e.match - 1; ) {
128245
128245
  const r = this.peek().linkNext;
128246
- n.push(Ze(this, X4, LC).call(this, z(this, Gr) + 1, r)), Y(this, Gr, r);
128246
+ n.push(Ze(this, X4, LC).call(this, z(this, Gr) + 1, r)), K(this, Gr, r);
128247
128247
  }
128248
- return Y(this, Gr, e.match + 1), n;
128248
+ return K(this, Gr, e.match + 1), n;
128249
128249
  }
128250
128250
  // Returns the top Token, throwing if out of tokens
128251
128251
  peek() {
@@ -129478,7 +129478,7 @@ const X0 = class X0 {
129478
129478
  // #structs: Map<string, StructFragment>;
129479
129479
  ke(this, oi);
129480
129480
  let n = [];
129481
- typeof e == "string" ? n = JSON.parse(e) : n = e, Y(this, va, /* @__PURE__ */ new Map()), Y(this, ya, /* @__PURE__ */ new Map()), Y(this, ga, /* @__PURE__ */ new Map());
129481
+ typeof e == "string" ? n = JSON.parse(e) : n = e, K(this, va, /* @__PURE__ */ new Map()), K(this, ya, /* @__PURE__ */ new Map()), K(this, ga, /* @__PURE__ */ new Map());
129482
129482
  const r = [];
129483
129483
  for (const o of n)
129484
129484
  try {
@@ -129490,7 +129490,7 @@ const X0 = class X0 {
129490
129490
  fragments: Object.freeze(r)
129491
129491
  });
129492
129492
  let i = null, s = !1;
129493
- Y(this, oi, this.getAbiCoder()), this.fragments.forEach((o, a) => {
129493
+ K(this, oi, this.getAbiCoder()), this.fragments.forEach((o, a) => {
129494
129494
  let l;
129495
129495
  switch (o.type) {
129496
129496
  case "constructor":
@@ -130287,7 +130287,7 @@ class ept {
130287
130287
  */
130288
130288
  pe(this, "baseFeePerGas");
130289
130289
  ke(this, Nl);
130290
- Y(this, Nl, e.transactions.map((r) => typeof r != "string" ? new _4(r, n) : r)), mt(this, {
130290
+ K(this, Nl, e.transactions.map((r) => typeof r != "string" ? new _4(r, n) : r)), mt(this, {
130291
130291
  provider: n,
130292
130292
  hash: Zd(e.hash),
130293
130293
  number: e.number,
@@ -130665,7 +130665,7 @@ class eie {
130665
130665
  */
130666
130666
  pe(this, "root");
130667
130667
  ke(this, $4);
130668
- Y(this, $4, Object.freeze(e.logs.map((i) => new Xy(i, n))));
130668
+ K(this, $4, Object.freeze(e.logs.map((i) => new Xy(i, n))));
130669
130669
  let r = $re;
130670
130670
  e.effectiveGasPrice != null ? r = e.effectiveGasPrice : e.gasPrice != null && (r = e.gasPrice), mt(this, {
130671
130671
  provider: n,
@@ -130919,7 +130919,7 @@ const qN = class qN {
130919
130919
  */
130920
130920
  pe(this, "blobVersionedHashes");
130921
130921
  ke(this, cu);
130922
- this.provider = n, this.blockNumber = e.blockNumber != null ? e.blockNumber : null, this.blockHash = e.blockHash != null ? e.blockHash : null, this.hash = e.hash, this.index = e.index, this.type = e.type, this.from = e.from, this.to = e.to || null, this.gasLimit = e.gasLimit, this.nonce = e.nonce, this.data = e.data, this.value = e.value, this.gasPrice = e.gasPrice, this.maxPriorityFeePerGas = e.maxPriorityFeePerGas != null ? e.maxPriorityFeePerGas : null, this.maxFeePerGas = e.maxFeePerGas != null ? e.maxFeePerGas : null, this.maxFeePerBlobGas = e.maxFeePerBlobGas != null ? e.maxFeePerBlobGas : null, this.chainId = e.chainId, this.signature = e.signature, this.accessList = e.accessList != null ? e.accessList : null, this.blobVersionedHashes = e.blobVersionedHashes != null ? e.blobVersionedHashes : null, Y(this, cu, -1);
130922
+ this.provider = n, this.blockNumber = e.blockNumber != null ? e.blockNumber : null, this.blockHash = e.blockHash != null ? e.blockHash : null, this.hash = e.hash, this.index = e.index, this.type = e.type, this.from = e.from, this.to = e.to || null, this.gasLimit = e.gasLimit, this.nonce = e.nonce, this.data = e.data, this.value = e.value, this.gasPrice = e.gasPrice, this.maxPriorityFeePerGas = e.maxPriorityFeePerGas != null ? e.maxPriorityFeePerGas : null, this.maxFeePerGas = e.maxFeePerGas != null ? e.maxFeePerGas : null, this.maxFeePerBlobGas = e.maxFeePerBlobGas != null ? e.maxFeePerBlobGas : null, this.chainId = e.chainId, this.signature = e.signature, this.accessList = e.accessList != null ? e.accessList : null, this.blobVersionedHashes = e.blobVersionedHashes != null ? e.blobVersionedHashes : null, K(this, cu, -1);
130923
130923
  }
130924
130924
  /**
130925
130925
  * Returns a JSON-compatible representation of this transaction.
@@ -131190,7 +131190,7 @@ const qN = class qN {
131190
131190
  replaceableTransaction(e) {
131191
131191
  fe(Number.isInteger(e) && e >= 0, "invalid startBlock", "startBlock", e);
131192
131192
  const n = new qN(this, this.provider);
131193
- return Y(n, cu, e), n;
131193
+ return K(n, cu, e), n;
131194
131194
  }
131195
131195
  };
131196
131196
  cu = new WeakMap();
@@ -131270,7 +131270,7 @@ class rpt extends eie {
131270
131270
  constructor(n, r, i) {
131271
131271
  super(i, r);
131272
131272
  ke(this, wh);
131273
- Y(this, wh, n);
131273
+ K(this, wh, n);
131274
131274
  }
131275
131275
  /**
131276
131276
  * The parsed logs for any [[Log]] which has a matching event in the
@@ -131298,7 +131298,7 @@ class nN extends _4 {
131298
131298
  constructor(n, r, i) {
131299
131299
  super(i, r);
131300
131300
  ke(this, ey);
131301
- Y(this, ey, n);
131301
+ K(this, ey, n);
131302
131302
  }
131303
131303
  /**
131304
131304
  * Resolves once this transaction has been mined and has
@@ -131397,7 +131397,7 @@ class spt {
131397
131397
  if (mt(this, { fragment: n }), n.inputs.length < r.length)
131398
131398
  throw new Error("too many arguments");
131399
131399
  const i = wf(e.runner, "resolveName"), s = X8(i) ? i : null;
131400
- Y(this, ty, async function() {
131400
+ K(this, ty, async function() {
131401
131401
  const o = await Promise.all(n.inputs.map((a, l) => r[l] == null ? null : a.walkAsync(r[l], (u, f) => u === "address" ? Array.isArray(f) ? Promise.all(f.map((d) => Pi(d, s))) : Pi(f, s) : f)));
131402
131402
  return e.interface.encodeFilterTopics(n, o);
131403
131403
  }());
@@ -132048,7 +132048,7 @@ const Sd = class Sd {
132048
132048
  // For EIP-2544 names, the ancestor that provided the resolver
132049
132049
  ke(this, uu);
132050
132050
  ke(this, M1);
132051
- mt(this, { provider: e, address: n, name: r }), Y(this, uu, null), Y(this, M1, new Yd(n, [
132051
+ mt(this, { provider: e, address: n, name: r }), K(this, uu, null), K(this, M1, new Yd(n, [
132052
132052
  "function supportsInterface(bytes4) view returns (bool)",
132053
132053
  "function resolve(bytes, bytes) view returns (bytes)",
132054
132054
  "function addr(bytes32) view returns (address)",
@@ -132061,13 +132061,13 @@ const Sd = class Sd {
132061
132061
  * Resolves to true if the resolver supports wildcard resolution.
132062
132062
  */
132063
132063
  async supportsWildcard() {
132064
- return z(this, uu) == null && Y(this, uu, (async () => {
132064
+ return z(this, uu) == null && K(this, uu, (async () => {
132065
132065
  try {
132066
132066
  return await z(this, M1).supportsInterface("0x9061b923");
132067
132067
  } catch (e) {
132068
132068
  if (Sr(e, "CALL_EXCEPTION"))
132069
132069
  return !1;
132070
- throw Y(this, uu, null), e;
132070
+ throw K(this, uu, null), e;
132071
132071
  }
132072
132072
  })()), await z(this, uu);
132073
132073
  }
@@ -132589,7 +132589,7 @@ class Apt extends eg {
132589
132589
  super("org.ethers.plugins.network.FetchUrlFeeDataPlugin");
132590
132590
  ke(this, ny);
132591
132591
  ke(this, ry);
132592
- Y(this, ny, n), Y(this, ry, r);
132592
+ K(this, ny, n), K(this, ry, r);
132593
132593
  }
132594
132594
  /**
132595
132595
  * The URL to initialize the FetchRequest with in %%processFunc%%.
@@ -132619,7 +132619,7 @@ const Ld = class Ld {
132619
132619
  ke(this, kh);
132620
132620
  ke(this, xh);
132621
132621
  ke(this, du);
132622
- Y(this, kh, e), Y(this, xh, dt(n)), Y(this, du, /* @__PURE__ */ new Map());
132622
+ K(this, kh, e), K(this, xh, dt(n)), K(this, du, /* @__PURE__ */ new Map());
132623
132623
  }
132624
132624
  /**
132625
132625
  * Returns a JSON-compatible representation of a Network.
@@ -132637,7 +132637,7 @@ const Ld = class Ld {
132637
132637
  return z(this, kh);
132638
132638
  }
132639
132639
  set name(e) {
132640
- Y(this, kh, e);
132640
+ K(this, kh, e);
132641
132641
  }
132642
132642
  /**
132643
132643
  * The network chain ID.
@@ -132646,7 +132646,7 @@ const Ld = class Ld {
132646
132646
  return z(this, xh);
132647
132647
  }
132648
132648
  set chainId(e) {
132649
- Y(this, xh, dt(e, "chainId"));
132649
+ K(this, xh, dt(e, "chainId"));
132650
132650
  }
132651
132651
  /**
132652
132652
  * Returns true if %%other%% matches this network. Any chain ID
@@ -132862,7 +132862,7 @@ class Lpt {
132862
132862
  // The most recent block we have scanned for events. The value -2
132863
132863
  // indicates we still need to fetch an initial block number
132864
132864
  ke(this, ba);
132865
- Y(this, Dl, e), Y(this, Qs, null), Y(this, hu, 4e3), Y(this, ba, -2);
132865
+ K(this, Dl, e), K(this, Qs, null), K(this, hu, 4e3), K(this, ba, -2);
132866
132866
  }
132867
132867
  /**
132868
132868
  * The polling interval.
@@ -132871,16 +132871,16 @@ class Lpt {
132871
132871
  return z(this, hu);
132872
132872
  }
132873
132873
  set pollingInterval(e) {
132874
- Y(this, hu, e);
132874
+ K(this, hu, e);
132875
132875
  }
132876
132876
  start() {
132877
- z(this, Qs) || (Y(this, Qs, z(this, Dl)._setTimeout(Ze(this, Mh, m6).bind(this), z(this, hu))), Ze(this, Mh, m6).call(this));
132877
+ z(this, Qs) || (K(this, Qs, z(this, Dl)._setTimeout(Ze(this, Mh, m6).bind(this), z(this, hu))), Ze(this, Mh, m6).call(this));
132878
132878
  }
132879
132879
  stop() {
132880
- z(this, Qs) && (z(this, Dl)._clearTimeout(z(this, Qs)), Y(this, Qs, null));
132880
+ z(this, Qs) && (z(this, Dl)._clearTimeout(z(this, Qs)), K(this, Qs, null));
132881
132881
  }
132882
132882
  pause(e) {
132883
- this.stop(), e && Y(this, ba, -2);
132883
+ this.stop(), e && K(this, ba, -2);
132884
132884
  }
132885
132885
  resume() {
132886
132886
  this.start();
@@ -132890,7 +132890,7 @@ Dl = new WeakMap(), Qs = new WeakMap(), hu = new WeakMap(), ba = new WeakMap(),
132890
132890
  try {
132891
132891
  const e = await z(this, Dl).getBlockNumber();
132892
132892
  if (z(this, ba) === -2) {
132893
- Y(this, ba, e);
132893
+ K(this, ba, e);
132894
132894
  return;
132895
132895
  }
132896
132896
  if (e !== z(this, ba)) {
@@ -132899,11 +132899,11 @@ Dl = new WeakMap(), Qs = new WeakMap(), hu = new WeakMap(), ba = new WeakMap(),
132899
132899
  return;
132900
132900
  await z(this, Dl).emit("block", n);
132901
132901
  }
132902
- Y(this, ba, e);
132902
+ K(this, ba, e);
132903
132903
  }
132904
132904
  } catch {
132905
132905
  }
132906
- z(this, Qs) != null && Y(this, Qs, z(this, Dl)._setTimeout(Ze(this, Mh, m6).bind(this), z(this, hu)));
132906
+ z(this, Qs) != null && K(this, Qs, z(this, Dl)._setTimeout(Ze(this, Mh, m6).bind(this), z(this, hu)));
132907
132907
  };
132908
132908
  var C1, A1, pu;
132909
132909
  class iN {
@@ -132914,7 +132914,7 @@ class iN {
132914
132914
  ke(this, C1);
132915
132915
  ke(this, A1);
132916
132916
  ke(this, pu);
132917
- Y(this, C1, e), Y(this, pu, !1), Y(this, A1, (n) => {
132917
+ K(this, C1, e), K(this, pu, !1), K(this, A1, (n) => {
132918
132918
  this._poll(n, z(this, C1));
132919
132919
  });
132920
132920
  }
@@ -132925,10 +132925,10 @@ class iN {
132925
132925
  throw new Error("sub-classes must override this");
132926
132926
  }
132927
132927
  start() {
132928
- z(this, pu) || (Y(this, pu, !0), z(this, A1).call(this, -2), z(this, C1).on("block", z(this, A1)));
132928
+ z(this, pu) || (K(this, pu, !0), z(this, A1).call(this, -2), z(this, C1).on("block", z(this, A1)));
132929
132929
  }
132930
132930
  stop() {
132931
- z(this, pu) && (Y(this, pu, !1), z(this, C1).off("block", z(this, A1)));
132931
+ z(this, pu) && (K(this, pu, !1), z(this, C1).off("block", z(this, A1)));
132932
132932
  }
132933
132933
  pause(e) {
132934
132934
  this.stop();
@@ -132944,14 +132944,14 @@ class Ept extends iN {
132944
132944
  super(n);
132945
132945
  ke(this, Ch);
132946
132946
  ke(this, jl);
132947
- Y(this, Ch, r), Y(this, jl, -2);
132947
+ K(this, Ch, r), K(this, jl, -2);
132948
132948
  }
132949
132949
  pause(n) {
132950
- n && Y(this, jl, -2), super.pause(n);
132950
+ n && K(this, jl, -2), super.pause(n);
132951
132951
  }
132952
132952
  async _poll(n, r) {
132953
132953
  const i = await r.getBlock(z(this, Ch));
132954
- i != null && (z(this, jl) === -2 ? Y(this, jl, i.number) : i.number > z(this, jl) && (r.emit(z(this, Ch), i.number), Y(this, jl, i.number)));
132954
+ i != null && (z(this, jl) === -2 ? K(this, jl, i.number) : i.number > z(this, jl) && (r.emit(z(this, Ch), i.number), K(this, jl, i.number)));
132955
132955
  }
132956
132956
  }
132957
132957
  Ch = new WeakMap(), jl = new WeakMap();
@@ -132960,7 +132960,7 @@ class Tpt extends iN {
132960
132960
  constructor(n, r) {
132961
132961
  super(n);
132962
132962
  ke(this, Uv);
132963
- Y(this, Uv, jC(r));
132963
+ K(this, Uv, jC(r));
132964
132964
  }
132965
132965
  async _poll(n, r) {
132966
132966
  throw new Error("@TODO");
@@ -132976,7 +132976,7 @@ class Npt extends iN {
132976
132976
  constructor(n, r) {
132977
132977
  super(n);
132978
132978
  ke(this, Ah);
132979
- Y(this, Ah, r);
132979
+ K(this, Ah, r);
132980
132980
  }
132981
132981
  async _poll(n, r) {
132982
132982
  const i = await r.getTransactionReceipt(z(this, Ah));
@@ -132999,18 +132999,18 @@ class sN {
132999
132999
  // The most recent block we have scanned for events. The value -2
133000
133000
  // indicates we still need to fetch an initial block number
133001
133001
  ke(this, Xs);
133002
- Y(this, Il, e), Y(this, Sh, jC(n)), Y(this, Lh, Ze(this, Gv, pie).bind(this)), Y(this, mu, !1), Y(this, Xs, -2);
133002
+ K(this, Il, e), K(this, Sh, jC(n)), K(this, Lh, Ze(this, Gv, pie).bind(this)), K(this, mu, !1), K(this, Xs, -2);
133003
133003
  }
133004
133004
  start() {
133005
- z(this, mu) || (Y(this, mu, !0), z(this, Xs) === -2 && z(this, Il).getBlockNumber().then((e) => {
133006
- Y(this, Xs, e);
133005
+ z(this, mu) || (K(this, mu, !0), z(this, Xs) === -2 && z(this, Il).getBlockNumber().then((e) => {
133006
+ K(this, Xs, e);
133007
133007
  }), z(this, Il).on("block", z(this, Lh)));
133008
133008
  }
133009
133009
  stop() {
133010
- z(this, mu) && (Y(this, mu, !1), z(this, Il).off("block", z(this, Lh)));
133010
+ z(this, mu) && (K(this, mu, !1), z(this, Il).off("block", z(this, Lh)));
133011
133011
  }
133012
133012
  pause(e) {
133013
- this.stop(), e && Y(this, Xs, -2);
133013
+ this.stop(), e && K(this, Xs, -2);
133014
133014
  }
133015
133015
  resume() {
133016
133016
  this.start();
@@ -133023,11 +133023,11 @@ Il = new WeakMap(), Sh = new WeakMap(), Lh = new WeakMap(), mu = new WeakMap(),
133023
133023
  n.fromBlock = z(this, Xs) + 1, n.toBlock = e;
133024
133024
  const r = await z(this, Il).getLogs(n);
133025
133025
  if (r.length === 0) {
133026
- z(this, Xs) < e - 60 && Y(this, Xs, e - 60);
133026
+ z(this, Xs) < e - 60 && K(this, Xs, e - 60);
133027
133027
  return;
133028
133028
  }
133029
133029
  for (const i of r)
133030
- z(this, Il).emit(z(this, Sh), i), Y(this, Xs, i.blockNumber);
133030
+ z(this, Il).emit(z(this, Sh), i), K(this, Xs, i.blockNumber);
133031
133031
  };
133032
133032
  const Dpt = BigInt(2), jpt = 10;
133033
133033
  function A3(t) {
@@ -133142,16 +133142,16 @@ class Lv {
133142
133142
  ke(this, $s);
133143
133143
  ke(this, Th);
133144
133144
  ke(this, Nh);
133145
- if (Y(this, Nh, Object.assign({}, Ppt, n || {})), e === "any")
133146
- Y(this, S1, !0), Y(this, gs, null);
133145
+ if (K(this, Nh, Object.assign({}, Ppt, n || {})), e === "any")
133146
+ K(this, S1, !0), K(this, gs, null);
133147
133147
  else if (e) {
133148
133148
  const r = Er.from(e);
133149
- Y(this, S1, !1), Y(this, gs, Promise.resolve(r)), setTimeout(() => {
133149
+ K(this, S1, !1), K(this, gs, Promise.resolve(r)), setTimeout(() => {
133150
133150
  this.emit("network", r, null);
133151
133151
  }, 0);
133152
133152
  } else
133153
- Y(this, S1, !1), Y(this, gs, null);
133154
- Y(this, Pl, -1), Y(this, gu, /* @__PURE__ */ new Map()), Y(this, ai, /* @__PURE__ */ new Map()), Y(this, yu, /* @__PURE__ */ new Map()), Y(this, li, null), Y(this, Eh, !1), Y(this, iy, 1), Y(this, $s, /* @__PURE__ */ new Map()), Y(this, Th, !1);
133153
+ K(this, S1, !1), K(this, gs, null);
133154
+ K(this, Pl, -1), K(this, gu, /* @__PURE__ */ new Map()), K(this, ai, /* @__PURE__ */ new Map()), K(this, yu, /* @__PURE__ */ new Map()), K(this, li, null), K(this, Eh, !1), K(this, iy, 1), K(this, $s, /* @__PURE__ */ new Map()), K(this, Th, !1);
133155
133155
  }
133156
133156
  get pollingInterval() {
133157
133157
  return z(this, Nh).pollingInterval;
@@ -133191,7 +133191,7 @@ class Lv {
133191
133191
  return z(this, Th);
133192
133192
  }
133193
133193
  set disableCcipRead(e) {
133194
- Y(this, Th, !!e);
133194
+ K(this, Th, !!e);
133195
133195
  }
133196
133196
  /**
133197
133197
  * Resolves to the data for executing the CCIP-read operations.
@@ -133283,7 +133283,7 @@ class Lv {
133283
133283
  // State
133284
133284
  async getBlockNumber() {
133285
133285
  const e = _t(await Ze(this, Qt, ds).call(this, { method: "getBlockNumber" }), "%response");
133286
- return z(this, Pl) >= 0 && Y(this, Pl, e), e;
133286
+ return z(this, Pl) >= 0 && K(this, Pl, e), e;
133287
133287
  }
133288
133288
  /**
133289
133289
  * Returns or resolves to the address for %%address%%, resolving ENS
@@ -133380,17 +133380,17 @@ class Lv {
133380
133380
  const s = await this._detectNetwork();
133381
133381
  return this.emit("network", s, null), s;
133382
133382
  } catch (s) {
133383
- throw z(this, gs) === i && Y(this, gs, null), s;
133383
+ throw z(this, gs) === i && K(this, gs, null), s;
133384
133384
  }
133385
133385
  })();
133386
- return Y(this, gs, i), (await i).clone();
133386
+ return K(this, gs, i), (await i).clone();
133387
133387
  }
133388
133388
  const e = z(this, gs), [n, r] = await Promise.all([
133389
133389
  e,
133390
133390
  this._detectNetwork()
133391
133391
  // The actual connected network
133392
133392
  ]);
133393
- return n.chainId !== r.chainId && (z(this, S1) ? (this.emit("network", r, n), z(this, gs) === e && Y(this, gs, Promise.resolve(r))) : je(!1, `network changed: ${n.chainId} => ${r.chainId} `, "NETWORK_ERROR", {
133393
+ return n.chainId !== r.chainId && (z(this, S1) ? (this.emit("network", r, n), z(this, gs) === e && K(this, gs, Promise.resolve(r))) : je(!1, `network changed: ${n.chainId} => ${r.chainId} `, "NETWORK_ERROR", {
133394
133394
  event: "changed"
133395
133395
  })), n.clone();
133396
133396
  }
@@ -133742,7 +133742,7 @@ class Lv {
133742
133742
  this.removeAllListeners();
133743
133743
  for (const e of z(this, $s).keys())
133744
133744
  this._clearTimeout(e);
133745
- Y(this, Eh, !0);
133745
+ K(this, Eh, !0);
133746
133746
  }
133747
133747
  /**
133748
133748
  * Whether the provider is currently paused.
@@ -133767,14 +133767,14 @@ class Lv {
133767
133767
  * the provider is unpaused.
133768
133768
  */
133769
133769
  pause(e) {
133770
- if (Y(this, Pl, -1), z(this, li) != null) {
133770
+ if (K(this, Pl, -1), z(this, li) != null) {
133771
133771
  if (z(this, li) == !!e)
133772
133772
  return;
133773
133773
  je(!1, "cannot change pause type; resume first", "UNSUPPORTED_OPERATION", {
133774
133774
  operation: "pause"
133775
133775
  });
133776
133776
  }
133777
- this._forEachSubscriber((n) => n.pause(e)), Y(this, li, !!e);
133777
+ this._forEachSubscriber((n) => n.pause(e)), K(this, li, !!e);
133778
133778
  for (const n of z(this, $s).values())
133779
133779
  n.timer && clearTimeout(n.timer), n.time = ak() - n.time;
133780
133780
  }
@@ -133783,7 +133783,7 @@ class Lv {
133783
133783
  */
133784
133784
  resume() {
133785
133785
  if (z(this, li) != null) {
133786
- this._forEachSubscriber((e) => e.resume()), Y(this, li, null);
133786
+ this._forEachSubscriber((e) => e.resume()), K(this, li, null);
133787
133787
  for (const e of z(this, $s).values()) {
133788
133788
  let n = e.time;
133789
133789
  n < 0 && (n = 0), e.time = ak(), setTimeout(e.func, n);
@@ -134090,7 +134090,7 @@ class mie {
134090
134090
  ke(this, vu);
134091
134091
  ke(this, E1);
134092
134092
  ke(this, Dh);
134093
- Y(this, Li, e), Y(this, wa, null), Y(this, L1, Ze(this, s0, BC).bind(this)), Y(this, vu, !1), Y(this, E1, null), Y(this, Dh, !1);
134093
+ K(this, Li, e), K(this, wa, null), K(this, L1, Ze(this, s0, BC).bind(this)), K(this, vu, !1), K(this, E1, null), K(this, Dh, !1);
134094
134094
  }
134095
134095
  /**
134096
134096
  * Sub-classes **must** override this to begin the subscription.
@@ -134111,10 +134111,10 @@ class mie {
134111
134111
  throw new Error("subclasses must override this");
134112
134112
  }
134113
134113
  start() {
134114
- z(this, vu) || (Y(this, vu, !0), Ze(this, s0, BC).call(this, -2));
134114
+ z(this, vu) || (K(this, vu, !0), Ze(this, s0, BC).call(this, -2));
134115
134115
  }
134116
134116
  stop() {
134117
- z(this, vu) && (Y(this, vu, !1), Y(this, Dh, !0), Ze(this, s0, FC).call(this), z(this, Li).off("block", z(this, L1)));
134117
+ z(this, vu) && (K(this, vu, !1), K(this, Dh, !0), Ze(this, s0, FC).call(this), z(this, Li).off("block", z(this, L1)));
134118
134118
  }
134119
134119
  pause(e) {
134120
134120
  e && Ze(this, s0, FC).call(this), z(this, Li).off("block", z(this, L1));
@@ -134125,7 +134125,7 @@ class mie {
134125
134125
  }
134126
134126
  Li = new WeakMap(), wa = new WeakMap(), L1 = new WeakMap(), vu = new WeakMap(), E1 = new WeakMap(), Dh = new WeakMap(), s0 = new WeakSet(), BC = async function(e) {
134127
134127
  try {
134128
- z(this, wa) == null && Y(this, wa, this._subscribe(z(this, Li)));
134128
+ z(this, wa) == null && K(this, wa, this._subscribe(z(this, Li)));
134129
134129
  let n = null;
134130
134130
  try {
134131
134131
  n = await z(this, wa);
@@ -134134,11 +134134,11 @@ Li = new WeakMap(), wa = new WeakMap(), L1 = new WeakMap(), vu = new WeakMap(),
134134
134134
  throw s;
134135
134135
  }
134136
134136
  if (n == null) {
134137
- Y(this, wa, null), z(this, Li)._recoverSubscriber(this, this._recover(z(this, Li)));
134137
+ K(this, wa, null), z(this, Li)._recoverSubscriber(this, this._recover(z(this, Li)));
134138
134138
  return;
134139
134139
  }
134140
134140
  const r = await z(this, Li).getNetwork();
134141
- if (z(this, E1) || Y(this, E1, r), z(this, E1).chainId !== r.chainId)
134141
+ if (z(this, E1) || K(this, E1, r), z(this, E1).chainId !== r.chainId)
134142
134142
  throw new Error("chaid changed");
134143
134143
  if (z(this, Dh))
134144
134144
  return;
@@ -134150,7 +134150,7 @@ Li = new WeakMap(), wa = new WeakMap(), L1 = new WeakMap(), vu = new WeakMap(),
134150
134150
  z(this, Li).once("block", z(this, L1));
134151
134151
  }, FC = function() {
134152
134152
  const e = z(this, wa);
134153
- e && (Y(this, wa, null), e.then((n) => {
134153
+ e && (K(this, wa, null), e.then((n) => {
134154
134154
  z(this, Li).destroyed || z(this, Li).send("eth_uninstallFilter", [n]);
134155
134155
  }));
134156
134156
  };
@@ -134163,7 +134163,7 @@ class Vpt extends mie {
134163
134163
  constructor(n, r) {
134164
134164
  super(n);
134165
134165
  ke(this, T1);
134166
- Y(this, T1, _pt(r));
134166
+ K(this, T1, _pt(r));
134167
134167
  }
134168
134168
  _recover(n) {
134169
134169
  return new sN(n, z(this, T1));
@@ -134345,16 +134345,16 @@ class gie extends Lv {
134345
134345
  ke(this, jo);
134346
134346
  ke(this, eo);
134347
134347
  ke(this, Wi);
134348
- Y(this, jh, 1), Y(this, N1, Object.assign({}, yie, r || {})), Y(this, Rl, []), Y(this, ka, null), Y(this, eo, null), Y(this, Wi, null);
134348
+ K(this, jh, 1), K(this, N1, Object.assign({}, yie, r || {})), K(this, Rl, []), K(this, ka, null), K(this, eo, null), K(this, Wi, null);
134349
134349
  {
134350
134350
  let s = null;
134351
134351
  const o = new Promise((a) => {
134352
134352
  s = a;
134353
134353
  });
134354
- Y(this, jo, { promise: o, resolve: s });
134354
+ K(this, jo, { promise: o, resolve: s });
134355
134355
  }
134356
134356
  const i = this._getOption("staticNetwork");
134357
- typeof i == "boolean" ? (fe(!i || n !== "any", "staticNetwork cannot be used on special network 'any'", "options", r), i && n != null && Y(this, eo, Er.from(n))) : i && (fe(n == null || i.matches(n), "staticNetwork MUST match network object", "options", r), Y(this, eo, i));
134357
+ typeof i == "boolean" ? (fe(!i || n !== "any", "staticNetwork cannot be used on special network 'any'", "options", r), i && n != null && K(this, eo, Er.from(n))) : i && (fe(n == null || i.matches(n), "staticNetwork MUST match network object", "options", r), K(this, eo, i));
134358
134358
  }
134359
134359
  /**
134360
134360
  * Returns the value associated with the option %%key%%.
@@ -134405,14 +134405,14 @@ class gie extends Lv {
134405
134405
  return z(this, eo);
134406
134406
  } else
134407
134407
  return n;
134408
- return z(this, Wi) ? await z(this, Wi) : this.ready ? (Y(this, Wi, (async () => {
134408
+ return z(this, Wi) ? await z(this, Wi) : this.ready ? (K(this, Wi, (async () => {
134409
134409
  try {
134410
134410
  const r = Er.from(dt(await this.send("eth_chainId", [])));
134411
- return Y(this, Wi, null), r;
134411
+ return K(this, Wi, null), r;
134412
134412
  } catch (r) {
134413
- throw Y(this, Wi, null), r;
134413
+ throw K(this, Wi, null), r;
134414
134414
  }
134415
- })()), await z(this, Wi)) : (Y(this, Wi, (async () => {
134415
+ })()), await z(this, Wi)) : (K(this, Wi, (async () => {
134416
134416
  const r = {
134417
134417
  id: op(this, jh)._++,
134418
134418
  method: "eth_chainId",
@@ -134422,9 +134422,9 @@ class gie extends Lv {
134422
134422
  this.emit("debug", { action: "sendRpcPayload", payload: r });
134423
134423
  let i;
134424
134424
  try {
134425
- i = (await this._send(r))[0], Y(this, Wi, null);
134425
+ i = (await this._send(r))[0], K(this, Wi, null);
134426
134426
  } catch (s) {
134427
- throw Y(this, Wi, null), this.emit("debug", { action: "receiveRpcError", error: s }), s;
134427
+ throw K(this, Wi, null), this.emit("debug", { action: "receiveRpcError", error: s }), s;
134428
134428
  }
134429
134429
  if (this.emit("debug", { action: "receiveRpcResult", result: i }), "result" in i)
134430
134430
  return Er.from(dt(i.result));
@@ -134439,10 +134439,10 @@ class gie extends Lv {
134439
134439
  * Calling it multiple times is safe and has no effect.
134440
134440
  */
134441
134441
  _start() {
134442
- z(this, jo) == null || z(this, jo).resolve == null || (z(this, jo).resolve(), Y(this, jo, null), (async () => {
134442
+ z(this, jo) == null || z(this, jo).resolve == null || (z(this, jo).resolve(), K(this, jo, null), (async () => {
134443
134443
  for (; z(this, eo) == null && !this.destroyed; )
134444
134444
  try {
134445
- Y(this, eo, await this._detectNetwork());
134445
+ K(this, eo, await this._detectNetwork());
134446
134446
  } catch (n) {
134447
134447
  if (this.destroyed)
134448
134448
  break;
@@ -134689,20 +134689,20 @@ class gie extends Lv {
134689
134689
  return (await this.send("eth_accounts", [])).map((r) => new lk(this, r));
134690
134690
  }
134691
134691
  destroy() {
134692
- z(this, ka) && (clearTimeout(z(this, ka)), Y(this, ka, null));
134692
+ z(this, ka) && (clearTimeout(z(this, ka)), K(this, ka, null));
134693
134693
  for (const { payload: n, reject: r } of z(this, Rl))
134694
134694
  r(On("provider destroyed; cancelled request", "UNSUPPORTED_OPERATION", { operation: n.method }));
134695
- Y(this, Rl, []), super.destroy();
134695
+ K(this, Rl, []), super.destroy();
134696
134696
  }
134697
134697
  }
134698
134698
  N1 = new WeakMap(), jh = new WeakMap(), Rl = new WeakMap(), ka = new WeakMap(), jo = new WeakMap(), eo = new WeakMap(), Wi = new WeakMap(), sy = new WeakSet(), HC = function() {
134699
134699
  if (z(this, ka))
134700
134700
  return;
134701
134701
  const n = this._getOption("batchMaxCount") === 1 ? 0 : this._getOption("batchStallTime");
134702
- Y(this, ka, setTimeout(() => {
134703
- Y(this, ka, null);
134702
+ K(this, ka, setTimeout(() => {
134703
+ K(this, ka, null);
134704
134704
  const r = z(this, Rl);
134705
- for (Y(this, Rl, []); r.length; ) {
134705
+ for (K(this, Rl, []); r.length; ) {
134706
134706
  const i = [r.shift()];
134707
134707
  for (; r.length && i.length !== z(this, N1).batchMaxCount; )
134708
134708
  if (i.push(r.shift()), JSON.stringify(i.map((o) => o.payload)).length > z(this, N1).batchMaxSize) {
@@ -134750,7 +134750,7 @@ class Wpt extends gie {
134750
134750
  super(n, r);
134751
134751
  ke(this, bu);
134752
134752
  let i = this._getOption("pollingInterval");
134753
- i == null && (i = yie.pollingInterval), Y(this, bu, i);
134753
+ i == null && (i = yie.pollingInterval), K(this, bu, i);
134754
134754
  }
134755
134755
  _getSubscriber(n) {
134756
134756
  const r = super._getSubscriber(n);
@@ -134765,7 +134765,7 @@ class Wpt extends gie {
134765
134765
  set pollingInterval(n) {
134766
134766
  if (!Number.isInteger(n) || n < 0)
134767
134767
  throw new Error("invalid interval");
134768
- Y(this, bu, n), this._forEachSubscriber((r) => {
134768
+ K(this, bu, n), this._forEachSubscriber((r) => {
134769
134769
  EF(r) && (r.pollingInterval = z(this, bu));
134770
134770
  });
134771
134771
  }
@@ -134777,7 +134777,7 @@ class rc extends Wpt {
134777
134777
  n == null && (n = "http://localhost:8545");
134778
134778
  super(r, i);
134779
134779
  ke(this, Ih);
134780
- typeof n == "string" ? Y(this, Ih, new qi(n)) : Y(this, Ih, n.clone());
134780
+ typeof n == "string" ? K(this, Ih, new qi(n)) : K(this, Ih, n.clone());
134781
134781
  }
134782
134782
  _getConnection() {
134783
134783
  return z(this, Ih).clone();
@@ -135089,7 +135089,7 @@ class nmt extends Lv {
135089
135089
  pe(this, "apiKey");
135090
135090
  ke(this, Ph);
135091
135091
  const s = Er.from(n);
135092
- Y(this, Ph, s.getPlugin($pt)), mt(this, { apiKey: i, network: s }), this.getBaseUrl();
135092
+ K(this, Ph, s.getPlugin($pt)), mt(this, { apiKey: i, network: s }), this.getBaseUrl();
135093
135093
  }
135094
135094
  /**
135095
135095
  * Returns the base URL.
@@ -135395,7 +135395,7 @@ class oN {
135395
135395
  ke(this, wu);
135396
135396
  ke(this, D1);
135397
135397
  ke(this, ku);
135398
- Y(this, xa, e), Y(this, oy, JSON.stringify(n)), Y(this, wu, null), Y(this, D1, null), Y(this, ku, null);
135398
+ K(this, xa, e), K(this, oy, JSON.stringify(n)), K(this, wu, null), K(this, D1, null), K(this, ku, null);
135399
135399
  }
135400
135400
  /**
135401
135401
  * The filter.
@@ -135404,20 +135404,20 @@ class oN {
135404
135404
  return JSON.parse(z(this, oy));
135405
135405
  }
135406
135406
  start() {
135407
- Y(this, wu, z(this, xa).send("eth_subscribe", this.filter).then((e) => (z(this, xa)._register(e, this), e)));
135407
+ K(this, wu, z(this, xa).send("eth_subscribe", this.filter).then((e) => (z(this, xa)._register(e, this), e)));
135408
135408
  }
135409
135409
  stop() {
135410
135410
  z(this, wu).then((e) => {
135411
135411
  z(this, xa).destroyed || z(this, xa).send("eth_unsubscribe", [e]);
135412
- }), Y(this, wu, null);
135412
+ }), K(this, wu, null);
135413
135413
  }
135414
135414
  // @TODO: pause should trap the current blockNumber, unsub, and on resume use getLogs
135415
135415
  // and resume
135416
135416
  pause(e) {
135417
- je(e, "preserve logs while paused not supported by SocketSubscriber yet", "UNSUPPORTED_OPERATION", { operation: "pause(false)" }), Y(this, D1, !!e);
135417
+ je(e, "preserve logs while paused not supported by SocketSubscriber yet", "UNSUPPORTED_OPERATION", { operation: "pause(false)" }), K(this, D1, !!e);
135418
135418
  }
135419
135419
  resume() {
135420
- Y(this, D1, null);
135420
+ K(this, D1, null);
135421
135421
  }
135422
135422
  /**
135423
135423
  * @_ignore:
@@ -135427,8 +135427,8 @@ class oN {
135427
135427
  let n = z(this, ku);
135428
135428
  n == null ? n = this._emit(z(this, xa), e) : n = n.then(async () => {
135429
135429
  await this._emit(z(this, xa), e);
135430
- }), Y(this, ku, n.then(() => {
135431
- z(this, ku) === n && Y(this, ku, null);
135430
+ }), K(this, ku, n.then(() => {
135431
+ z(this, ku) === n && K(this, ku, null);
135432
135432
  }));
135433
135433
  }
135434
135434
  }
@@ -135471,7 +135471,7 @@ class amt extends oN {
135471
135471
  constructor(n, r) {
135472
135472
  super(n, ["logs", r]);
135473
135473
  ke(this, ay);
135474
- Y(this, ay, JSON.stringify(r));
135474
+ K(this, ay, JSON.stringify(r));
135475
135475
  }
135476
135476
  /**
135477
135477
  * The filter.
@@ -135501,7 +135501,7 @@ class lmt extends gie {
135501
135501
  // If any events come in before a subscriber has finished
135502
135502
  // registering, queue them
135503
135503
  ke(this, xu);
135504
- Y(this, j1, /* @__PURE__ */ new Map()), Y(this, Rh, /* @__PURE__ */ new Map()), Y(this, xu, /* @__PURE__ */ new Map());
135504
+ K(this, j1, /* @__PURE__ */ new Map()), K(this, Rh, /* @__PURE__ */ new Map()), K(this, xu, /* @__PURE__ */ new Map());
135505
135505
  }
135506
135506
  // This value is only valid after _start has been called
135507
135507
  /*
@@ -135609,7 +135609,7 @@ class vie extends lmt {
135609
135609
  super(r, i);
135610
135610
  ke(this, I1);
135611
135611
  ke(this, Io);
135612
- typeof n == "string" ? (Y(this, I1, () => new imt(n)), Y(this, Io, z(this, I1).call(this))) : typeof n == "function" ? (Y(this, I1, n), Y(this, Io, n())) : (Y(this, I1, null), Y(this, Io, n)), this.websocket.onopen = async () => {
135612
+ typeof n == "string" ? (K(this, I1, () => new imt(n)), K(this, Io, z(this, I1).call(this))) : typeof n == "function" ? (K(this, I1, n), K(this, Io, n())) : (K(this, I1, null), K(this, Io, n)), this.websocket.onopen = async () => {
135613
135613
  try {
135614
135614
  await this._start(), this.resume();
135615
135615
  } catch (s) {
@@ -135628,7 +135628,7 @@ class vie extends lmt {
135628
135628
  this.websocket.send(n);
135629
135629
  }
135630
135630
  async destroy() {
135631
- z(this, Io) != null && (z(this, Io).close(), Y(this, Io, null)), super.destroy();
135631
+ z(this, Io) != null && (z(this, Io).close(), K(this, Io, null)), super.destroy();
135632
135632
  }
135633
135633
  }
135634
135634
  I1 = new WeakMap(), Io = new WeakMap();
@@ -135991,7 +135991,7 @@ class vmt extends Lv {
135991
135991
  ke(this, Zi);
135992
135992
  ke(this, Ol);
135993
135993
  ke(this, Oh);
135994
- Y(this, Zi, n.map((s) => s instanceof Lv ? Object.assign({ provider: s }, NF, DF) : Object.assign({}, NF, s, DF))), Y(this, Ol, -2), Y(this, Oh, null), i && i.quorum != null ? this.quorum = i.quorum : this.quorum = Math.ceil(z(this, Zi).reduce((s, o) => (s += o.weight, s), 0) / 2), this.eventQuorum = 1, this.eventWorkers = 1, fe(this.quorum <= z(this, Zi).reduce((s, o) => s + o.weight, 0), "quorum exceed provider weight", "quorum", this.quorum);
135994
+ K(this, Zi, n.map((s) => s instanceof Lv ? Object.assign({ provider: s }, NF, DF) : Object.assign({}, NF, s, DF))), K(this, Ol, -2), K(this, Oh, null), i && i.quorum != null ? this.quorum = i.quorum : this.quorum = Math.ceil(z(this, Zi).reduce((s, o) => (s += o.weight, s), 0) / 2), this.eventQuorum = 1, this.eventWorkers = 1, fe(this.quorum <= z(this, Zi).reduce((s, o) => s + o.weight, 0), "quorum exceed provider weight", "quorum", this.quorum);
135995
135995
  }
135996
135996
  get providerConfigs() {
135997
135997
  return z(this, Zi).map((n) => {
@@ -136141,7 +136141,7 @@ GC = function(n, r) {
136141
136141
  r.push((async () => {
136142
136142
  await ymt(i, 0), i._lastFatalError || (i._network = await i.provider.getNetwork());
136143
136143
  })());
136144
- }), Y(this, Oh, n = (async () => {
136144
+ }), K(this, Oh, n = (async () => {
136145
136145
  await Promise.all(r);
136146
136146
  let i = null;
136147
136147
  for (const s of z(this, Zi)) {
@@ -136165,13 +136165,13 @@ GC = function(n, r) {
136165
136165
  if (!(i.reduce((s, o) => s + o.weight, 0) < this.quorum)) {
136166
136166
  switch (r.method) {
136167
136167
  case "getBlockNumber": {
136168
- z(this, Ol) === -2 && Y(this, Ol, Math.ceil(_t(UC(this.quorum, z(this, Zi).filter((o) => !o._lastFatalError).map((o) => ({
136168
+ z(this, Ol) === -2 && K(this, Ol, Math.ceil(_t(UC(this.quorum, z(this, Zi).filter((o) => !o._lastFatalError).map((o) => ({
136169
136169
  value: o.blockNumber,
136170
136170
  tag: _t(o.blockNumber).toString(),
136171
136171
  weight: o.weight
136172
136172
  }))))));
136173
136173
  const s = gmt(this.quorum, i);
136174
- return s === void 0 ? void 0 : (s > z(this, Ol) && Y(this, Ol, s), z(this, Ol));
136174
+ return s === void 0 ? void 0 : (s > z(this, Ol) && K(this, Ol, s), z(this, Ol));
136175
136175
  }
136176
136176
  case "getGasPrice":
136177
136177
  case "getPriorityFee":
@@ -136335,10 +136335,10 @@ function Emt({ pluginKey: t = Lmt, editor: e, char: n = "@", allowSpaces: r = !1
136335
136335
  return {
136336
136336
  update: async (y, v) => {
136337
136337
  var k, b, w, x, A, E, L;
136338
- const N = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), D = (b = this.key) === null || b === void 0 ? void 0 : b.getState(y.state), R = N.active && D.active && N.range.from !== D.range.from, H = !N.active && D.active, W = N.active && !D.active, U = !H && !W && N.query !== D.query, V = H || R && U, K = U || R, Z = W || R && U;
136339
- if (!V && !K && !Z)
136338
+ const N = (k = this.key) === null || k === void 0 ? void 0 : k.getState(v), D = (b = this.key) === null || b === void 0 ? void 0 : b.getState(y.state), R = N.active && D.active && N.range.from !== D.range.from, H = !N.active && D.active, G = N.active && !D.active, U = !H && !G && N.query !== D.query, V = H || R && U, Z = U || R, Y = G || R && U;
136339
+ if (!V && !Z && !Y)
136340
136340
  return;
136341
- const te = Z && !V ? N : D, G = y.dom.querySelector(`[data-decoration-id="${te.decorationId}"]`);
136341
+ const te = Y && !V ? N : D, W = y.dom.querySelector(`[data-decoration-id="${te.decorationId}"]`);
136342
136342
  h = {
136343
136343
  editor: e,
136344
136344
  range: te.range,
@@ -136350,18 +136350,18 @@ function Emt({ pluginKey: t = Lmt, editor: e, char: n = "@", allowSpaces: r = !1
136350
136350
  range: te.range,
136351
136351
  props: re
136352
136352
  }),
136353
- decorationNode: G,
136353
+ decorationNode: W,
136354
136354
  // virtual node for popper.js or tippy.js
136355
136355
  // this can be used for building popups without a DOM node
136356
- clientRect: G ? () => {
136356
+ clientRect: W ? () => {
136357
136357
  var re;
136358
136358
  const { decorationId: he } = (re = this.key) === null || re === void 0 ? void 0 : re.getState(e.state), ie = y.dom.querySelector(`[data-decoration-id="${he}"]`);
136359
136359
  return (ie == null ? void 0 : ie.getBoundingClientRect()) || null;
136360
136360
  } : null
136361
- }, V && ((w = p == null ? void 0 : p.onBeforeStart) === null || w === void 0 || w.call(p, h)), K && ((x = p == null ? void 0 : p.onBeforeUpdate) === null || x === void 0 || x.call(p, h)), (K || V) && (h.items = await c({
136361
+ }, V && ((w = p == null ? void 0 : p.onBeforeStart) === null || w === void 0 || w.call(p, h)), Z && ((x = p == null ? void 0 : p.onBeforeUpdate) === null || x === void 0 || x.call(p, h)), (Z || V) && (h.items = await c({
136362
136362
  editor: e,
136363
136363
  query: te.query
136364
- })), Z && ((A = p == null ? void 0 : p.onExit) === null || A === void 0 || A.call(p, h)), K && ((E = p == null ? void 0 : p.onUpdate) === null || E === void 0 || E.call(p, h)), V && ((L = p == null ? void 0 : p.onStart) === null || L === void 0 || L.call(p, h));
136364
+ })), Y && ((A = p == null ? void 0 : p.onExit) === null || A === void 0 || A.call(p, h)), Z && ((E = p == null ? void 0 : p.onUpdate) === null || E === void 0 || E.call(p, h)), V && ((L = p == null ? void 0 : p.onStart) === null || L === void 0 || L.call(p, h));
136365
136365
  },
136366
136366
  destroy: () => {
136367
136367
  var y;
@@ -137167,29 +137167,29 @@ const dk = ZC.getInstance(), jF = [
137167
137167
  unFocused: m,
137168
137168
  zoomLevel: y
137169
137169
  }) => {
137170
- var V, K;
137170
+ var V, Z;
137171
137171
  const [v] = qe(new Tf()), [k, b] = qe([
137172
137172
  ...mft(
137173
- (Z) => u == null ? void 0 : u(Z),
137173
+ (Y) => u == null ? void 0 : u(Y),
137174
137174
  h
137175
137175
  ),
137176
- Pmt((Z) => u == null ? void 0 : u(Z), h),
137176
+ Pmt((Y) => u == null ? void 0 : u(Y), h),
137177
137177
  Rmt,
137178
137178
  zmt
137179
- ]), w = et(!1), [x, A] = qe(!0), E = (Z, te, G) => {
137179
+ ]), w = et(!1), [x, A] = qe(!0), E = (Y, te, W) => {
137180
137180
  let re = !1;
137181
- return Z.doc.nodesBetween(te, G, (he) => {
137181
+ return Y.doc.nodesBetween(te, W, (he) => {
137182
137182
  he.marks && he.marks.some(
137183
137183
  (ie) => ie.type.name === "highlight" && ie.attrs.color === "yellow"
137184
137184
  ) && (re = !0);
137185
137185
  }), re;
137186
- }, L = (Z, te) => {
137186
+ }, L = (Y, te) => {
137187
137187
  var re;
137188
- const G = te.target;
137189
- if (G && G.nodeName === "MARK" && G.dataset.color && ((re = G == null ? void 0 : G.dataset) == null ? void 0 : re.color) === "yellow") {
137190
- const he = G.textContent, ie = Z.posAtCoords({ left: te.clientX, top: te.clientY });
137188
+ const W = te.target;
137189
+ if (W && W.nodeName === "MARK" && W.dataset.color && ((re = W == null ? void 0 : W.dataset) == null ? void 0 : re.color) === "yellow") {
137190
+ const he = W.textContent, ie = Y.posAtCoords({ left: te.clientX, top: te.clientY });
137191
137191
  if (ie) {
137192
- const { state: me } = Z;
137192
+ const { state: me } = Y;
137193
137193
  let be = ie.pos, ye = ie.pos;
137194
137194
  if (me.doc.nodesBetween(be, ye, (J, ge) => {
137195
137195
  J.marks && J.marks.length && J.marks.forEach((we) => {
@@ -137213,18 +137213,18 @@ const dk = ZC.getInstance(), jF = [
137213
137213
  ...aXe,
137214
137214
  handleDOMEvents: {
137215
137215
  mouseover: L,
137216
- keydown: (Z, te) => {
137216
+ keydown: (Y, te) => {
137217
137217
  if (["ArrowUp", "ArrowDown", "Enter"].includes(te.key) && document.querySelector("#slash-command"))
137218
137218
  return !0;
137219
137219
  }
137220
137220
  },
137221
- handleClick: (Z, te, G) => {
137222
- L(Z, G);
137221
+ handleClick: (Y, te, W) => {
137222
+ L(Y, W);
137223
137223
  }
137224
137224
  },
137225
137225
  autofocus: m ? !1 : "start",
137226
- onTransaction: ({ editor: Z, transaction: te }) => {
137227
- Z != null && Z.isEmpty || te.docChanged && (o == null || o(Z.getJSON()));
137226
+ onTransaction: ({ editor: Y, transaction: te }) => {
137227
+ Y != null && Y.isEmpty || te.docChanged && (o == null || o(Y.getJSON()));
137228
137228
  },
137229
137229
  shouldRerenderOnTransaction: !0,
137230
137230
  immediatelyRender: !1
@@ -137234,17 +137234,17 @@ const dk = ZC.getInstance(), jF = [
137234
137234
  Ue(() => {
137235
137235
  if (y) {
137236
137236
  dk.setZoom(y);
137237
- const Z = setTimeout(() => {
137237
+ const Y = setTimeout(() => {
137238
137238
  dk.setZoom(y);
137239
137239
  }, 100);
137240
- return () => clearTimeout(Z);
137240
+ return () => clearTimeout(Y);
137241
137241
  }
137242
137242
  }, [y, x, e, D == null ? void 0 : D.isEmpty]);
137243
137243
  const R = et(() => {
137244
- }), H = (Z, te = !1) => {
137244
+ }), H = (Y, te = !1) => {
137245
137245
  if (!n || !r)
137246
137246
  throw new Error("docId or username is not provided");
137247
- const G = new oXe(r, v, {
137247
+ const W = new oXe(r, v, {
137248
137248
  signaling: [
137249
137249
  "wss://fileverse-signaling-server-0529292ff51c.herokuapp.com/"
137250
137250
  ]
@@ -137255,57 +137255,57 @@ const dk = ZC.getInstance(), jF = [
137255
137255
  document: v
137256
137256
  }),
137257
137257
  RXe.configure({
137258
- provider: G,
137258
+ provider: W,
137259
137259
  user: {
137260
- name: Z && Z.length > 20 ? Amt(Z, 7, 15) : Z,
137260
+ name: Y && Y.length > 20 ? Amt(Y, 7, 15) : Y,
137261
137261
  color: jF[Math.floor(Math.random() * jF.length)],
137262
137262
  isEns: te
137263
137263
  },
137264
137264
  render: wft
137265
137265
  })
137266
137266
  ]), R.current = () => {
137267
- G.destroy(), v.destroy();
137267
+ W.destroy(), v.destroy();
137268
137268
  }, R.current;
137269
- }, W = et(null);
137269
+ }, G = et(null);
137270
137270
  Ue(() => {
137271
137271
  D == null || D.setEditable(!t);
137272
137272
  }, [t, D]), Ue(() => {
137273
137273
  e && D && !w.current && (A(!0), queueMicrotask(() => {
137274
137274
  D.commands.setContent(e), A(!1), y && dk.setZoom(y);
137275
137275
  }), w.current = !0);
137276
- const Z = setTimeout(() => {
137277
- if (W.current && p && D) {
137278
- const te = D.view.coordsAtPos(p), G = W.current;
137279
- G.scrollTo({
137280
- top: G.scrollTop + te.top - 500,
137276
+ const Y = setTimeout(() => {
137277
+ if (G.current && p && D) {
137278
+ const te = D.view.coordsAtPos(p), W = G.current;
137279
+ W.scrollTo({
137280
+ top: W.scrollTop + te.top - 500,
137281
137281
  behavior: "smooth"
137282
137282
  });
137283
137283
  }
137284
137284
  w.current = !1, D && e === void 0 && A(!1);
137285
137285
  });
137286
137286
  return () => {
137287
- clearTimeout(Z);
137287
+ clearTimeout(Y);
137288
137288
  };
137289
137289
  }, [e, D]);
137290
137290
  const U = async () => {
137291
- let Z = s, te = !1;
137291
+ let Y = s, te = !1;
137292
137292
  if (i && c) {
137293
- const { name: G, isEns: re } = await xmt(
137293
+ const { name: W, isEns: re } = await xmt(
137294
137294
  i,
137295
137295
  c
137296
137296
  );
137297
- Z = G, te = re;
137297
+ Y = W, te = re;
137298
137298
  }
137299
- if (!Z)
137299
+ if (!Y)
137300
137300
  throw new Error("Cannot start collaboration without a username");
137301
- H(Z, te);
137301
+ H(Y, te);
137302
137302
  };
137303
137303
  return Ue(() => {
137304
137304
  n ? U() : R.current();
137305
137305
  }, [n]), Ue(() => {
137306
- var Z, te;
137307
- a == null || a((te = (Z = D == null ? void 0 : D.storage) == null ? void 0 : Z.collaborationCursor) == null ? void 0 : te.users);
137308
- }, [(K = (V = D == null ? void 0 : D.storage) == null ? void 0 : V.collaborationCursor) == null ? void 0 : K.users]), Ue(() => {
137306
+ var Y, te;
137307
+ a == null || a((te = (Y = D == null ? void 0 : D.storage) == null ? void 0 : Y.collaborationCursor) == null ? void 0 : te.users);
137308
+ }, [(Z = (V = D == null ? void 0 : D.storage) == null ? void 0 : V.collaborationCursor) == null ? void 0 : Z.users]), Ue(() => {
137309
137309
  f && f(D == null ? void 0 : D.storage.characterCount.characters()), d && d(D == null ? void 0 : D.storage.characterCount.words());
137310
137310
  }, [
137311
137311
  D == null ? void 0 : D.storage.characterCount.characters(),
@@ -137315,7 +137315,7 @@ const dk = ZC.getInstance(), jF = [
137315
137315
  }, [D]), {
137316
137316
  editor: D,
137317
137317
  isContentLoading: x,
137318
- ref: W,
137318
+ ref: G,
137319
137319
  connect: H,
137320
137320
  ydoc: v
137321
137321
  };
@@ -139255,23 +139255,23 @@ function _yt(t) {
139255
139255
  const D = Array.isArray(b) ? b : [b];
139256
139256
  let R = D.reduce(i(v), {});
139257
139257
  x === !1 && (R = {});
139258
- const { prevResolvedValues: H = {} } = k, W = {
139258
+ const { prevResolvedValues: H = {} } = k, G = {
139259
139259
  ...H,
139260
139260
  ...R
139261
- }, U = (Z) => {
139262
- L = !0, d.has(Z) && (N = !0, d.delete(Z)), k.needsAnimating[Z] = !0;
139263
- const te = t.getValue(Z);
139261
+ }, U = (Y) => {
139262
+ L = !0, d.has(Y) && (N = !0, d.delete(Y)), k.needsAnimating[Y] = !0;
139263
+ const te = t.getValue(Y);
139264
139264
  te && (te.liveStyle = !1);
139265
139265
  };
139266
- for (const Z in W) {
139267
- const te = R[Z], G = H[Z];
139268
- if (h.hasOwnProperty(Z))
139266
+ for (const Y in G) {
139267
+ const te = R[Y], W = H[Y];
139268
+ if (h.hasOwnProperty(Y))
139269
139269
  continue;
139270
139270
  let re = !1;
139271
- YC(te) && YC(G) ? re = !Mie(te, G) : re = te !== G, re ? te != null ? U(Z) : d.add(Z) : te !== void 0 && d.has(Z) ? U(Z) : k.protectedKeys[Z] = !0;
139271
+ YC(te) && YC(W) ? re = !Mie(te, W) : re = te !== W, re ? te != null ? U(Y) : d.add(Y) : te !== void 0 && d.has(Y) ? U(Y) : k.protectedKeys[Y] = !0;
139272
139272
  }
139273
- k.prevProp = b, k.prevResolvedValues = R, k.isActive && (h = { ...h, ...R }), r && t.blockInitialAnimation && (L = !1), L && (!(A && E) || N) && f.push(...D.map((Z) => ({
139274
- animation: Z,
139273
+ k.prevProp = b, k.prevResolvedValues = R, k.isActive && (h = { ...h, ...R }), r && t.blockInitialAnimation && (L = !1), L && (!(A && E) || N) && f.push(...D.map((Y) => ({
139274
+ animation: Y,
139275
139275
  options: { type: v }
139276
139276
  })));
139277
139277
  }
@@ -142402,9 +142402,9 @@ const f6t = (t) => {
142402
142402
 
142403
142403
  /* Images */
142404
142404
  .ProseMirror img {
142405
- max-width: 100%;
142405
+ max-width: 720px;
142406
142406
  height: auto;
142407
- margin: 16px 0;
142407
+ margin: 16px auto;
142408
142408
  }
142409
142409
 
142410
142410
  /* Code blocks */
@@ -142824,10 +142824,17 @@ function M6t(t, e = {}) {
142824
142824
  if (w.match(/!\[.*\]\(.*\)/)) {
142825
142825
  const x = w.match(/!\[(.*)\]\((.*)\)/);
142826
142826
  if (x) {
142827
- const A = l.length > 0 && l[0].type === "h2" && l.length > 1, L = l.reduce(
142828
- (N, D) => N + D.content.length,
142829
- 0
142830
- ) > i / 2;
142827
+ const A = l.length > 0 && l[0].type === "h2" && l.length > 1, L = l.reduce((N, D) => {
142828
+ if (D.type === "content") {
142829
+ const H = D.content.split(`
142830
+ `).filter((G) => G.trim().length > 0).reduce((G, U) => {
142831
+ const V = U.replace(/<[^>]+>/g, ""), Z = Math.ceil(V.length / 200);
142832
+ return G + Math.max(1, Z);
142833
+ }, 0);
142834
+ return N + H;
142835
+ }
142836
+ return N + 1;
142837
+ }, 0) > o - 3;
142831
142838
  (L || !A && l.some((N) => N.type === "image") || l.length === 0 && d(w, l)) && p(), l.push({ type: "image", content: x[2] }), (!A || L) && p();
142832
142839
  }
142833
142840
  continue;
@@ -142958,20 +142965,20 @@ const Lk = () => {
142958
142965
  }, 3e3);
142959
142966
  return () => clearTimeout(J);
142960
142967
  }, [t]), Ue(() => {
142961
- const G = {};
142968
+ const W = {};
142962
142969
  return f.forEach((re, he) => {
142963
- G[he] = new zV({
142970
+ W[he] = new zV({
142964
142971
  extensions: t.extensionManager.extensions,
142965
142972
  editable: !1
142966
142973
  }), setTimeout(() => {
142967
- G[he].commands.setContent(f[he]);
142974
+ W[he].commands.setContent(f[he]);
142968
142975
  });
142969
- }), y(G), () => {
142970
- Object.values(G).forEach((re) => re.destroy());
142976
+ }), y(W), () => {
142977
+ Object.values(W).forEach((re) => re.destroy());
142971
142978
  };
142972
142979
  }, [f]);
142973
- const W = kt(() => {
142974
- w ? r((G) => !G) : document.fullscreenElement ? document.exitFullscreen().then(() => {
142980
+ const G = kt(() => {
142981
+ w ? r((W) => !W) : document.fullscreenElement ? document.exitFullscreen().then(() => {
142975
142982
  r(!1);
142976
142983
  }).catch(() => {
142977
142984
  r(!1);
@@ -142981,36 +142988,36 @@ const Lk = () => {
142981
142988
  r(!0);
142982
142989
  });
142983
142990
  }, [w]), U = kt(
142984
- (G) => {
142985
- G.key === "ArrowRight" || G.key === "ArrowDown" || G.code === "Space" ? (G.preventDefault(), G.stopPropagation(), R("forward"), p((re) => Math.min(re + 1, f.length - 1))) : G.key === "ArrowLeft" || G.key === "ArrowUp" ? (R("backward"), p((re) => Math.max(re - 1, 0))) : G.key === "Escape" ? !a && e() : (G.key === "f" || G.key === "F") && W();
142991
+ (W) => {
142992
+ W.key === "ArrowRight" || W.key === "ArrowDown" || W.code === "Space" ? (W.preventDefault(), W.stopPropagation(), R("forward"), p((re) => Math.min(re + 1, f.length - 1))) : W.key === "ArrowLeft" || W.key === "ArrowUp" ? (R("backward"), p((re) => Math.max(re - 1, 0))) : W.key === "Escape" ? !a && e() : (W.key === "f" || W.key === "F") && G();
142986
142993
  },
142987
- [f.length, e, W]
142994
+ [f.length, e, G]
142988
142995
  );
142989
142996
  Ue(() => (window.addEventListener("keydown", U), () => window.removeEventListener("keydown", U)), [f.length, h]), Ue(() => () => {
142990
142997
  H && H.destroy();
142991
142998
  }, [H]), Ue(() => {
142992
- const G = () => {
142999
+ const W = () => {
142993
143000
  !w && !document.fullscreenElement && r(!1);
142994
143001
  };
142995
- return document.addEventListener("fullscreenchange", G), () => {
142996
- document.removeEventListener("fullscreenchange", G);
143002
+ return document.addEventListener("fullscreenchange", W), () => {
143003
+ document.removeEventListener("fullscreenchange", W);
142997
143004
  };
142998
143005
  }, [w]);
142999
- const V = (G) => {
143000
- L(null), A(G.targetTouches[0].clientX);
143001
- }, K = (G) => {
143002
- L(G.targetTouches[0].clientX);
143003
- }, Z = kt(() => {
143006
+ const V = (W) => {
143007
+ L(null), A(W.targetTouches[0].clientX);
143008
+ }, Z = (W) => {
143009
+ L(W.targetTouches[0].clientX);
143010
+ }, Y = kt(() => {
143004
143011
  if (!x || !E) return;
143005
- const G = x - E, re = G > N, he = G < -N;
143012
+ const W = x - E, re = W > N, he = W < -N;
143006
143013
  re && (R("forward"), p((ie) => Math.min(ie + 1, f.length - 1))), he && (R("backward"), p((ie) => Math.max(ie - 1, 0)));
143007
143014
  }, [x, E, f.length, N]), te = () => {
143008
143015
  if (o) {
143009
143016
  w6t(o), u(!0);
143010
- const G = setTimeout(() => {
143017
+ const W = setTimeout(() => {
143011
143018
  u(!1);
143012
143019
  }, 2e3);
143013
- return () => clearTimeout(G);
143020
+ return () => clearTimeout(W);
143014
143021
  }
143015
143022
  };
143016
143023
  return v ? /* @__PURE__ */ P.jsx("div", { className: "fixed inset-0 color-bg-default flex flex-col items-center justify-center w-screen h-screen z-50", children: /* @__PURE__ */ P.jsx("div", { className: "flex flex-col items-center gap-4", children: /* @__PURE__ */ P.jsx(
@@ -143075,7 +143082,7 @@ const Lk = () => {
143075
143082
  variant: "ghost",
143076
143083
  icon: "MessageSquareText",
143077
143084
  size: "md",
143078
- onClick: () => s == null ? void 0 : s((G) => !G)
143085
+ onClick: () => s == null ? void 0 : s((W) => !W)
143079
143086
  }
143080
143087
  ) }),
143081
143088
  !a && /* @__PURE__ */ P.jsxs(
@@ -143114,7 +143121,7 @@ const Lk = () => {
143114
143121
  xs,
143115
143122
  {
143116
143123
  variant: "ghost",
143117
- onClick: W,
143124
+ onClick: G,
143118
143125
  icon: n ? "Minimize2" : "Play",
143119
143126
  size: "md"
143120
143127
  }
@@ -143157,8 +143164,8 @@ const Lk = () => {
143157
143164
  content: f[h],
143158
143165
  editor: H,
143159
143166
  onTouchStart: V,
143160
- onTouchMove: K,
143161
- onTouchEnd: Z,
143167
+ onTouchMove: Z,
143168
+ onTouchEnd: Y,
143162
143169
  isFullscreen: n
143163
143170
  }
143164
143171
  )
@@ -143170,8 +143177,8 @@ const Lk = () => {
143170
143177
  content: f[h],
143171
143178
  editor: H,
143172
143179
  onTouchStart: V,
143173
- onTouchMove: K,
143174
- onTouchEnd: Z,
143180
+ onTouchMove: Z,
143181
+ onTouchEnd: Y,
143175
143182
  isFullscreen: n
143176
143183
  }
143177
143184
  ) })
@@ -143189,7 +143196,7 @@ const Lk = () => {
143189
143196
  xs,
143190
143197
  {
143191
143198
  variant: "ghost",
143192
- onClick: W,
143199
+ onClick: G,
143193
143200
  icon: "X",
143194
143201
  size: "md"
143195
143202
  }
@@ -143240,13 +143247,13 @@ const Lk = () => {
143240
143247
  zoomLevel: D,
143241
143248
  setZoomLevel: R,
143242
143249
  isPresentationMode: H,
143243
- setIsPresentationMode: W,
143250
+ setIsPresentationMode: G,
143244
143251
  isNavbarVisible: U,
143245
143252
  setIsNavbarVisible: V,
143246
- onInlineComment: K,
143247
- onMarkdownExport: Z,
143253
+ onInlineComment: Z,
143254
+ onMarkdownExport: Y,
143248
143255
  onMarkdownImport: te,
143249
- editorCanvasClassNames: G,
143256
+ editorCanvasClassNames: W,
143250
143257
  sharedSlidesLink: re,
143251
143258
  documentName: he
143252
143259
  }, ie) => {
@@ -143315,7 +143322,7 @@ const Lk = () => {
143315
143322
  (Ie) => Ie.filter((Fe) => Fe.name !== oe)
143316
143323
  );
143317
143324
  }, de = () => {
143318
- W == null || W(!1);
143325
+ G == null || G(!1);
143319
143326
  const oe = new URL(window.location.href), Ie = oe.hash, [Fe, We] = Ie.split("&");
143320
143327
  We && We.startsWith("slides=") && (oe.hash = Fe, window.history.replaceState({}, "", oe.toString()));
143321
143328
  };
@@ -143360,7 +143367,7 @@ const Lk = () => {
143360
143367
  "overflow-x-auto scroll-container": D === "2"
143361
143368
  },
143362
143369
  H ? "bg-[#ffffff]" : "bg-[#f8f9fa]",
143363
- G
143370
+ W
143364
143371
  ),
143365
143372
  children: [
143366
143373
  /* @__PURE__ */ P.jsx(
@@ -143398,7 +143405,7 @@ const Lk = () => {
143398
143405
  isNavbarVisible: U,
143399
143406
  setIsNavbarVisible: V,
143400
143407
  secureImageUploadUrl: p,
143401
- onMarkdownExport: Z,
143408
+ onMarkdownExport: Y,
143402
143409
  onMarkdownImport: te
143403
143410
  }
143404
143411
  ) })
@@ -143477,7 +143484,7 @@ const Lk = () => {
143477
143484
  isPreviewMode: t,
143478
143485
  username: i,
143479
143486
  walletAddress: o,
143480
- onInlineComment: K
143487
+ onInlineComment: Z
143481
143488
  }
143482
143489
  ),
143483
143490
  /* @__PURE__ */ P.jsx(QYe, { editor: De, appendTo: q })
@@ -143635,7 +143642,7 @@ const Lk = () => {
143635
143642
  editor: D,
143636
143643
  ref: R,
143637
143644
  isContentLoading: H,
143638
- ydoc: W
143645
+ ydoc: G
143639
143646
  } = xie({
143640
143647
  isPreviewMode: t,
143641
143648
  initialContent: e,
@@ -143658,28 +143665,28 @@ const Lk = () => {
143658
143665
  w,
143659
143666
  () => ({
143660
143667
  getEditor: () => D,
143661
- getYdoc: () => W
143668
+ getYdoc: () => G
143662
143669
  }),
143663
- [D, W]
143670
+ [D, G]
143664
143671
  );
143665
- const U = (K) => {
143666
- const Z = K.name.split(",").map((te) => {
143667
- const G = te.trim();
143672
+ const U = (Z) => {
143673
+ const Y = Z.name.split(",").map((te) => {
143674
+ const W = te.trim();
143668
143675
  return (m == null ? void 0 : m.find(
143669
- (he) => he.name.toLowerCase() === G.toLowerCase()
143670
- )) || { name: G, color: K.color };
143676
+ (he) => he.name.toLowerCase() === W.toLowerCase()
143677
+ )) || { name: W, color: Z.color };
143671
143678
  });
143672
143679
  v == null || v((te) => {
143673
- const G = [...te];
143674
- return Z.forEach((re) => {
143675
- G.some(
143680
+ const W = [...te];
143681
+ return Y.forEach((re) => {
143682
+ W.some(
143676
143683
  (he) => he.name.toLowerCase() === re.name.toLowerCase()
143677
- ) || G.push(re);
143678
- }), G;
143684
+ ) || W.push(re);
143685
+ }), W;
143679
143686
  });
143680
- }, V = (K) => {
143687
+ }, V = (Z) => {
143681
143688
  v == null || v(
143682
- (Z) => Z.filter((te) => te.name !== K)
143689
+ (Y) => Y.filter((te) => te.name !== Z)
143683
143690
  );
143684
143691
  };
143685
143692
  return !D || H ? /* @__PURE__ */ P.jsxs("div", { className: "w-auto h-auto flex flex-col gap-4 justify-center items-center", children: [
@@ -143692,16 +143699,16 @@ const Lk = () => {
143692
143699
  ref: E,
143693
143700
  className: "flex flex-wrap px-4 md:px-[80px] lg:!px-[124px] items-center gap-1 mb-4 mt-4 lg:!mt-0",
143694
143701
  children: [
143695
- L.map((K, Z) => /* @__PURE__ */ P.jsx(
143702
+ L.map((Z, Y) => /* @__PURE__ */ P.jsx(
143696
143703
  Wm,
143697
143704
  {
143698
- style: { backgroundColor: K == null ? void 0 : K.color },
143699
- onRemove: () => V(K == null ? void 0 : K.name),
143705
+ style: { backgroundColor: Z == null ? void 0 : Z.color },
143706
+ onRemove: () => V(Z == null ? void 0 : Z.name),
143700
143707
  isRemovable: !t,
143701
143708
  className: "!h-6 rounded",
143702
- children: K == null ? void 0 : K.name
143709
+ children: Z == null ? void 0 : Z.name
143703
143710
  },
143704
- Z
143711
+ Y
143705
143712
  )),
143706
143713
  N > 0 && !x && /* @__PURE__ */ P.jsxs(
143707
143714
  zn,
@@ -143723,16 +143730,16 @@ const Lk = () => {
143723
143730
  exit: { opacity: 0, height: 0 },
143724
143731
  transition: { duration: 0.3 },
143725
143732
  className: "flex flex-wrap items-center gap-1",
143726
- children: y == null ? void 0 : y.slice(4).map((K, Z) => /* @__PURE__ */ P.jsx(
143733
+ children: y == null ? void 0 : y.slice(4).map((Z, Y) => /* @__PURE__ */ P.jsx(
143727
143734
  Wm,
143728
143735
  {
143729
- style: { backgroundColor: K == null ? void 0 : K.color },
143730
- onRemove: () => V(K == null ? void 0 : K.name),
143736
+ style: { backgroundColor: Z == null ? void 0 : Z.color },
143737
+ onRemove: () => V(Z == null ? void 0 : Z.name),
143731
143738
  isRemovable: !t,
143732
143739
  className: "!h-6 rounded",
143733
- children: K == null ? void 0 : K.name
143740
+ children: Z == null ? void 0 : Z.name
143734
143741
  },
143735
- Z + 4
143742
+ Y + 4
143736
143743
  ))
143737
143744
  }
143738
143745
  ) }),