@pipedream/connect-react 1.2.0 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2,7 +2,7 @@ var Ho = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
4
  var ii = (e, t, n) => t.has(e) || Ho("Cannot " + n);
5
- var x = (e, t, n) => (ii(e, t, "read from private field"), n ? n.call(e) : t.get(e)), $ = (e, t, n) => t.has(e) ? Ho("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), W = (e, t, n, r) => (ii(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), ue = (e, t, n) => (ii(e, t, "access private method"), n);
5
+ var x = (e, t, n) => (ii(e, t, "read from private field"), n ? n.call(e) : t.get(e)), $ = (e, t, n) => t.has(e) ? Ho("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, n), W = (e, t, n, r) => (ii(e, t, "write to private field"), r ? r.call(e, n) : t.set(e, n), n), le = (e, t, n) => (ii(e, t, "access private method"), n);
6
6
  var vr = (e, t, n, r) => ({
7
7
  set _(i) {
8
8
  W(e, t, i, n);
@@ -11,9 +11,9 @@ var vr = (e, t, n, r) => ({
11
11
  return x(e, t, r);
12
12
  }
13
13
  });
14
- import { Fragment as vs, jsx as L, jsxs as Te } from "react/jsx-runtime";
15
- import * as ee from "react";
16
- import { createContext as lr, useContext as Ln, useId as to, useState as me, useEffect as Ye, useCallback as We, useLayoutEffect as rc, useRef as Bt, useMemo as dt, Component as Is, Fragment as Ai, forwardRef as Cs, Suspense as ic } from "react";
14
+ import { Fragment as vs, jsx as M, jsxs as Te } from "react/jsx-runtime";
15
+ import * as te from "react";
16
+ import { createContext as lr, useContext as Ln, useId as to, useState as me, useEffect as We, useMemo as rt, useCallback as Ze, useLayoutEffect as rc, useRef as Bt, Component as Is, Fragment as Ai, forwardRef as Cs, Suspense as ic } from "react";
17
17
  import { keyframes as oc, jsx as j, css as xs } from "@emotion/react";
18
18
  import { createPortal as ac } from "react-dom";
19
19
  function sc(e, t) {
@@ -1319,7 +1319,7 @@ function Qo(e) {
1319
1319
  function $o(e) {
1320
1320
  return e && typeof e == "number" ? e : 1;
1321
1321
  }
1322
- class Ze extends Error {
1322
+ class je extends Error {
1323
1323
  /**
1324
1324
  * Create a message for `reason`.
1325
1325
  *
@@ -1393,19 +1393,19 @@ class Ze extends Error {
1393
1393
  this.ancestors = o.ancestors || void 0, this.cause = o.cause || void 0, this.column = s ? s.column : void 0, this.fatal = void 0, this.file, this.message = i, this.line = s ? s.line : void 0, this.name = $n(o.place) || "1:1", this.place = o.place || void 0, this.reason = this.message, this.ruleId = o.ruleId || void 0, this.source = o.source || void 0, this.stack = a && o.cause && typeof o.cause.stack == "string" ? o.cause.stack : "", this.actual, this.expected, this.note, this.url;
1394
1394
  }
1395
1395
  }
1396
- Ze.prototype.file = "";
1397
- Ze.prototype.name = "";
1398
- Ze.prototype.reason = "";
1399
- Ze.prototype.message = "";
1400
- Ze.prototype.stack = "";
1401
- Ze.prototype.column = void 0;
1402
- Ze.prototype.line = void 0;
1403
- Ze.prototype.ancestors = void 0;
1404
- Ze.prototype.cause = void 0;
1405
- Ze.prototype.fatal = void 0;
1406
- Ze.prototype.place = void 0;
1407
- Ze.prototype.ruleId = void 0;
1408
- Ze.prototype.source = void 0;
1396
+ je.prototype.file = "";
1397
+ je.prototype.name = "";
1398
+ je.prototype.reason = "";
1399
+ je.prototype.message = "";
1400
+ je.prototype.stack = "";
1401
+ je.prototype.column = void 0;
1402
+ je.prototype.line = void 0;
1403
+ je.prototype.ancestors = void 0;
1404
+ je.prototype.cause = void 0;
1405
+ je.prototype.fatal = void 0;
1406
+ je.prototype.place = void 0;
1407
+ je.prototype.ruleId = void 0;
1408
+ je.prototype.source = void 0;
1409
1409
  const oo = {}.hasOwnProperty, Hc = /* @__PURE__ */ new Map(), zc = /[A-Z]/g, Wc = /-([a-z])/g, Zc = /* @__PURE__ */ new Set(["table", "tbody", "thead", "tfoot", "tr"]), jc = /* @__PURE__ */ new Set(["td", "th"]), Vs = "https://github.com/syntax-tree/hast-util-to-jsx-runtime";
1410
1410
  function Jc(e, t) {
1411
1411
  if (!t || t.Fragment === void 0)
@@ -1628,7 +1628,7 @@ function id(e, t) {
1628
1628
  const o = (
1629
1629
  /** @type {Error} */
1630
1630
  i
1631
- ), a = new Ze("Cannot parse `style` attribute", {
1631
+ ), a = new je("Cannot parse `style` attribute", {
1632
1632
  ancestors: e.ancestors,
1633
1633
  cause: o,
1634
1634
  ruleId: "style",
@@ -1675,7 +1675,7 @@ function Ls(e, t, n) {
1675
1675
  tr(e);
1676
1676
  }
1677
1677
  function tr(e, t) {
1678
- const n = new Ze(
1678
+ const n = new je(
1679
1679
  "Cannot handle MDX estrees without `createEvaluater`",
1680
1680
  {
1681
1681
  ancestors: e.ancestors,
@@ -3891,7 +3891,7 @@ function Et(e, t, n, r) {
3891
3891
  for (n && e.splice(t, n); o < r.length; )
3892
3892
  a = r.slice(o, o + 1e4), a.unshift(t, 0), e.splice(...a), o += 1e4, t += 1e4;
3893
3893
  }
3894
- function ct(e, t) {
3894
+ function dt(e, t) {
3895
3895
  return e.length > 0 ? (Et(e, e.length, 0, t), e) : t;
3896
3896
  }
3897
3897
  const ea = {}.hasOwnProperty;
@@ -3942,7 +3942,7 @@ function Hs(e, t) {
3942
3942
  function xn(e) {
3943
3943
  return e.replace(/[\t\n\r ]+/g, " ").replace(/^ | $/g, "").toLowerCase().toUpperCase();
3944
3944
  }
3945
- const St = qt(/[A-Za-z]/), rt = qt(/[\dA-Za-z]/), md = qt(/[#-'*+\--9=?A-Z^-~]/);
3945
+ const St = qt(/[A-Za-z]/), it = qt(/[\dA-Za-z]/), md = qt(/[#-'*+\--9=?A-Z^-~]/);
3946
3946
  function ki(e) {
3947
3947
  return (
3948
3948
  // Special whitespace codes (which have negative values), C0 and Control
@@ -3973,7 +3973,7 @@ function Xn(e) {
3973
3973
  for (; ++n < e.length; ) {
3974
3974
  const o = e.charCodeAt(n);
3975
3975
  let a = "";
3976
- if (o === 37 && rt(e.charCodeAt(n + 1)) && rt(e.charCodeAt(n + 2)))
3976
+ if (o === 37 && it(e.charCodeAt(n + 1)) && it(e.charCodeAt(n + 2)))
3977
3977
  i = 2;
3978
3978
  else if (o < 128)
3979
3979
  /[!#$&-;=?-Z_a-z~]/.test(String.fromCharCode(o)) || (a = String.fromCharCode(o));
@@ -4118,18 +4118,18 @@ function wd(e) {
4118
4118
  )
4119
4119
  return;
4120
4120
  const V = t.events.length;
4121
- let F = V, T, B;
4121
+ let F = V, O, T;
4122
4122
  for (; F--; )
4123
4123
  if (t.events[F][0] === "exit" && t.events[F][1].type === "chunkFlow") {
4124
- if (T) {
4125
- B = t.events[F][1].end;
4124
+ if (O) {
4125
+ T = t.events[F][1].end;
4126
4126
  break;
4127
4127
  }
4128
- T = !0;
4128
+ O = !0;
4129
4129
  }
4130
4130
  for (v(r), C = V; C < t.events.length; )
4131
4131
  t.events[C][1].end = {
4132
- ...B
4132
+ ...T
4133
4133
  }, C++;
4134
4134
  Et(t.events, F + 1, 0, t.events.slice(V)), t.events.length = C;
4135
4135
  }
@@ -4216,7 +4216,7 @@ function Ed(e, t) {
4216
4216
  ...a.start
4217
4217
  }, e[n][1].start = {
4218
4218
  ...s.end
4219
- }, u = [], e[r][1].end.offset - e[r][1].start.offset && (u = ct(u, [["enter", e[r][1], t], ["exit", e[r][1], t]])), u = ct(u, [["enter", i, t], ["enter", a, t], ["exit", a, t], ["enter", o, t]]), u = ct(u, lo(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), u = ct(u, [["exit", o, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = ct(u, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : c = 0, Et(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
4219
+ }, u = [], e[r][1].end.offset - e[r][1].start.offset && (u = dt(u, [["enter", e[r][1], t], ["exit", e[r][1], t]])), u = dt(u, [["enter", i, t], ["enter", a, t], ["exit", a, t], ["enter", o, t]]), u = dt(u, lo(t.parser.constructs.insideSpan.null, e.slice(r + 1, n), t)), u = dt(u, [["exit", o, t], ["enter", s, t], ["exit", s, t], ["exit", i, t]]), e[n][1].end.offset - e[n][1].start.offset ? (c = 2, u = dt(u, [["enter", e[n][1], t], ["exit", e[n][1], t]])) : c = 0, Et(e, r - 1, n - r + 3, u), n = r + u.length - c - 2;
4220
4220
  break;
4221
4221
  }
4222
4222
  }
@@ -4255,10 +4255,10 @@ function Pd(e, t, n) {
4255
4255
  return St(p) ? (e.consume(p), a) : p === 64 ? n(p) : u(p);
4256
4256
  }
4257
4257
  function a(p) {
4258
- return p === 43 || p === 45 || p === 46 || rt(p) ? (r = 1, s(p)) : u(p);
4258
+ return p === 43 || p === 45 || p === 46 || it(p) ? (r = 1, s(p)) : u(p);
4259
4259
  }
4260
4260
  function s(p) {
4261
- return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || rt(p)) && r++ < 32 ? (e.consume(p), s) : (r = 0, u(p));
4261
+ return p === 58 ? (e.consume(p), r = 0, l) : (p === 43 || p === 45 || p === 46 || it(p)) && r++ < 32 ? (e.consume(p), s) : (r = 0, u(p));
4262
4262
  }
4263
4263
  function l(p) {
4264
4264
  return p === 62 ? (e.exit("autolinkProtocol"), e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : p === null || p === 32 || p === 60 || ki(p) ? n(p) : (e.consume(p), l);
@@ -4267,13 +4267,13 @@ function Pd(e, t, n) {
4267
4267
  return p === 64 ? (e.consume(p), c) : md(p) ? (e.consume(p), u) : n(p);
4268
4268
  }
4269
4269
  function c(p) {
4270
- return rt(p) ? d(p) : n(p);
4270
+ return it(p) ? d(p) : n(p);
4271
4271
  }
4272
4272
  function d(p) {
4273
4273
  return p === 46 ? (e.consume(p), r = 0, c) : p === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(p), e.exit("autolinkMarker"), e.exit("autolink"), t) : f(p);
4274
4274
  }
4275
4275
  function f(p) {
4276
- if ((p === 45 || rt(p)) && r++ < 63) {
4276
+ if ((p === 45 || it(p)) && r++ < 63) {
4277
4277
  const b = p === 45 ? f : d;
4278
4278
  return e.consume(p), b;
4279
4279
  }
@@ -4355,7 +4355,7 @@ function Vd(e, t, n) {
4355
4355
  return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), l;
4356
4356
  }
4357
4357
  function l(d) {
4358
- return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = rt, c(d));
4358
+ return d === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(d), e.exit("characterReferenceMarkerNumeric"), u) : (e.enter("characterReferenceValue"), o = 31, a = it, c(d));
4359
4359
  }
4360
4360
  function u(d) {
4361
4361
  return d === 88 || d === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(d), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), o = 6, a = bd, c) : (e.enter("characterReferenceValue"), o = 7, a = Fi, c(d));
@@ -4363,7 +4363,7 @@ function Vd(e, t, n) {
4363
4363
  function c(d) {
4364
4364
  if (d === 59 && i) {
4365
4365
  const f = e.exit("characterReferenceValue");
4366
- return a === rt && !Xs(r.sliceSerialize(f)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4366
+ return a === it && !Xs(r.sliceSerialize(f)) ? n(d) : (e.enter("characterReferenceMarker"), e.consume(d), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
4367
4367
  }
4368
4368
  return a(d) && i++ < o ? (e.consume(d), c) : n(d);
4369
4369
  }
@@ -4428,21 +4428,21 @@ function Dd(e, t, n) {
4428
4428
  return e.exit("codeFenced"), t(C);
4429
4429
  }
4430
4430
  function k(C, V, F) {
4431
- let T = 0;
4432
- return B;
4431
+ let O = 0;
4432
+ return T;
4433
+ function T(X) {
4434
+ return C.enter("lineEnding"), C.consume(X), C.exit("lineEnding"), B;
4435
+ }
4433
4436
  function B(X) {
4434
- return C.enter("lineEnding"), C.consume(X), C.exit("lineEnding"), G;
4437
+ return C.enter("codeFencedFence"), be(X) ? xe(C, G, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(X) : G(X);
4435
4438
  }
4436
4439
  function G(X) {
4437
- return C.enter("codeFencedFence"), be(X) ? xe(C, O, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(X) : O(X);
4438
- }
4439
- function O(X) {
4440
4440
  return X === s ? (C.enter("codeFencedFenceSequence"), _(X)) : F(X);
4441
4441
  }
4442
4442
  function _(X) {
4443
- return X === s ? (T++, C.consume(X), _) : T >= a ? (C.exit("codeFencedFenceSequence"), be(X) ? xe(C, te, "whitespace")(X) : te(X)) : F(X);
4443
+ return X === s ? (O++, C.consume(X), _) : O >= a ? (C.exit("codeFencedFenceSequence"), be(X) ? xe(C, ee, "whitespace")(X) : ee(X)) : F(X);
4444
4444
  }
4445
- function te(X) {
4445
+ function ee(X) {
4446
4446
  return X === null || Q(X) ? (C.exit("codeFencedFence"), V(X)) : F(X);
4447
4447
  }
4448
4448
  }
@@ -5099,30 +5099,30 @@ function pp(e, t, n) {
5099
5099
  return m === 45 ? (e.consume(m), r.interrupt ? t : y) : n(m);
5100
5100
  }
5101
5101
  function b(m) {
5102
- const he = "CDATA[";
5103
- return m === he.charCodeAt(s++) ? (e.consume(m), s === he.length ? r.interrupt ? t : O : b) : n(m);
5102
+ const ge = "CDATA[";
5103
+ return m === ge.charCodeAt(s++) ? (e.consume(m), s === ge.length ? r.interrupt ? t : G : b) : n(m);
5104
5104
  }
5105
5105
  function g(m) {
5106
5106
  return St(m) ? (e.consume(m), a = String.fromCharCode(m), I) : n(m);
5107
5107
  }
5108
5108
  function I(m) {
5109
5109
  if (m === null || m === 47 || m === 62 || Ke(m)) {
5110
- const he = m === 47, K = a.toLowerCase();
5111
- return !he && !o && aa.includes(K) ? (i = 1, r.interrupt ? t(m) : O(m)) : sp.includes(a.toLowerCase()) ? (i = 6, he ? (e.consume(m), v) : r.interrupt ? t(m) : O(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(m) : o ? E(m) : A(m));
5110
+ const ge = m === 47, K = a.toLowerCase();
5111
+ return !ge && !o && aa.includes(K) ? (i = 1, r.interrupt ? t(m) : G(m)) : sp.includes(a.toLowerCase()) ? (i = 6, ge ? (e.consume(m), v) : r.interrupt ? t(m) : G(m)) : (i = 7, r.interrupt && !r.parser.lazy[r.now().line] ? n(m) : o ? E(m) : A(m));
5112
5112
  }
5113
- return m === 45 || rt(m) ? (e.consume(m), a += String.fromCharCode(m), I) : n(m);
5113
+ return m === 45 || it(m) ? (e.consume(m), a += String.fromCharCode(m), I) : n(m);
5114
5114
  }
5115
5115
  function v(m) {
5116
- return m === 62 ? (e.consume(m), r.interrupt ? t : O) : n(m);
5116
+ return m === 62 ? (e.consume(m), r.interrupt ? t : G) : n(m);
5117
5117
  }
5118
5118
  function E(m) {
5119
- return be(m) ? (e.consume(m), E) : B(m);
5119
+ return be(m) ? (e.consume(m), E) : T(m);
5120
5120
  }
5121
5121
  function A(m) {
5122
- return m === 47 ? (e.consume(m), B) : m === 58 || m === 95 || St(m) ? (e.consume(m), S) : be(m) ? (e.consume(m), A) : B(m);
5122
+ return m === 47 ? (e.consume(m), T) : m === 58 || m === 95 || St(m) ? (e.consume(m), S) : be(m) ? (e.consume(m), A) : T(m);
5123
5123
  }
5124
5124
  function S(m) {
5125
- return m === 45 || m === 46 || m === 58 || m === 95 || rt(m) ? (e.consume(m), S) : k(m);
5125
+ return m === 45 || m === 46 || m === 58 || m === 95 || it(m) ? (e.consume(m), S) : k(m);
5126
5126
  }
5127
5127
  function k(m) {
5128
5128
  return m === 61 ? (e.consume(m), C) : be(m) ? (e.consume(m), k) : A(m);
@@ -5131,53 +5131,53 @@ function pp(e, t, n) {
5131
5131
  return m === null || m === 60 || m === 61 || m === 62 || m === 96 ? n(m) : m === 34 || m === 39 ? (e.consume(m), l = m, V) : be(m) ? (e.consume(m), C) : F(m);
5132
5132
  }
5133
5133
  function V(m) {
5134
- return m === l ? (e.consume(m), l = null, T) : m === null || Q(m) ? n(m) : (e.consume(m), V);
5134
+ return m === l ? (e.consume(m), l = null, O) : m === null || Q(m) ? n(m) : (e.consume(m), V);
5135
5135
  }
5136
5136
  function F(m) {
5137
5137
  return m === null || m === 34 || m === 39 || m === 47 || m === 60 || m === 61 || m === 62 || m === 96 || Ke(m) ? k(m) : (e.consume(m), F);
5138
5138
  }
5139
- function T(m) {
5139
+ function O(m) {
5140
5140
  return m === 47 || m === 62 || be(m) ? A(m) : n(m);
5141
5141
  }
5142
+ function T(m) {
5143
+ return m === 62 ? (e.consume(m), B) : n(m);
5144
+ }
5142
5145
  function B(m) {
5143
- return m === 62 ? (e.consume(m), G) : n(m);
5146
+ return m === null || Q(m) ? G(m) : be(m) ? (e.consume(m), B) : n(m);
5144
5147
  }
5145
5148
  function G(m) {
5146
- return m === null || Q(m) ? O(m) : be(m) ? (e.consume(m), G) : n(m);
5147
- }
5148
- function O(m) {
5149
- return m === 45 && i === 2 ? (e.consume(m), J) : m === 60 && i === 1 ? (e.consume(m), se) : m === 62 && i === 4 ? (e.consume(m), le) : m === 63 && i === 3 ? (e.consume(m), y) : m === 93 && i === 5 ? (e.consume(m), ve) : Q(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(up, ie, _)(m)) : m === null || Q(m) ? (e.exit("htmlFlowData"), _(m)) : (e.consume(m), O);
5149
+ return m === 45 && i === 2 ? (e.consume(m), J) : m === 60 && i === 1 ? (e.consume(m), se) : m === 62 && i === 4 ? (e.consume(m), fe) : m === 63 && i === 3 ? (e.consume(m), y) : m === 93 && i === 5 ? (e.consume(m), ve) : Q(m) && (i === 6 || i === 7) ? (e.exit("htmlFlowData"), e.check(up, ie, _)(m)) : m === null || Q(m) ? (e.exit("htmlFlowData"), _(m)) : (e.consume(m), G);
5150
5150
  }
5151
5151
  function _(m) {
5152
- return e.check(cp, te, ie)(m);
5152
+ return e.check(cp, ee, ie)(m);
5153
5153
  }
5154
- function te(m) {
5154
+ function ee(m) {
5155
5155
  return e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), X;
5156
5156
  }
5157
5157
  function X(m) {
5158
- return m === null || Q(m) ? _(m) : (e.enter("htmlFlowData"), O(m));
5158
+ return m === null || Q(m) ? _(m) : (e.enter("htmlFlowData"), G(m));
5159
5159
  }
5160
5160
  function J(m) {
5161
- return m === 45 ? (e.consume(m), y) : O(m);
5161
+ return m === 45 ? (e.consume(m), y) : G(m);
5162
5162
  }
5163
5163
  function se(m) {
5164
- return m === 47 ? (e.consume(m), a = "", de) : O(m);
5164
+ return m === 47 ? (e.consume(m), a = "", ce) : G(m);
5165
5165
  }
5166
- function de(m) {
5166
+ function ce(m) {
5167
5167
  if (m === 62) {
5168
- const he = a.toLowerCase();
5169
- return aa.includes(he) ? (e.consume(m), le) : O(m);
5168
+ const ge = a.toLowerCase();
5169
+ return aa.includes(ge) ? (e.consume(m), fe) : G(m);
5170
5170
  }
5171
- return St(m) && a.length < 8 ? (e.consume(m), a += String.fromCharCode(m), de) : O(m);
5171
+ return St(m) && a.length < 8 ? (e.consume(m), a += String.fromCharCode(m), ce) : G(m);
5172
5172
  }
5173
5173
  function ve(m) {
5174
- return m === 93 ? (e.consume(m), y) : O(m);
5174
+ return m === 93 ? (e.consume(m), y) : G(m);
5175
5175
  }
5176
5176
  function y(m) {
5177
- return m === 62 ? (e.consume(m), le) : m === 45 && i === 2 ? (e.consume(m), y) : O(m);
5177
+ return m === 62 ? (e.consume(m), fe) : m === 45 && i === 2 ? (e.consume(m), y) : G(m);
5178
5178
  }
5179
- function le(m) {
5180
- return m === null || Q(m) ? (e.exit("htmlFlowData"), ie(m)) : (e.consume(m), le);
5179
+ function fe(m) {
5180
+ return m === null || Q(m) ? (e.exit("htmlFlowData"), ie(m)) : (e.consume(m), fe);
5181
5181
  }
5182
5182
  function ie(m) {
5183
5183
  return e.exit("htmlFlow"), t(m);
@@ -5229,8 +5229,8 @@ function mp(e, t, n) {
5229
5229
  return y === 62 ? J(y) : y === 45 ? f(y) : d(y);
5230
5230
  }
5231
5231
  function b(y) {
5232
- const le = "CDATA[";
5233
- return y === le.charCodeAt(o++) ? (e.consume(y), o === le.length ? g : b) : n(y);
5232
+ const fe = "CDATA[";
5233
+ return y === fe.charCodeAt(o++) ? (e.consume(y), o === fe.length ? g : b) : n(y);
5234
5234
  }
5235
5235
  function g(y) {
5236
5236
  return y === null ? n(y) : y === 93 ? (e.consume(y), I) : Q(y) ? (a = g, se(y)) : (e.consume(y), g);
@@ -5254,42 +5254,42 @@ function mp(e, t, n) {
5254
5254
  return St(y) ? (e.consume(y), C) : n(y);
5255
5255
  }
5256
5256
  function C(y) {
5257
- return y === 45 || rt(y) ? (e.consume(y), C) : V(y);
5257
+ return y === 45 || it(y) ? (e.consume(y), C) : V(y);
5258
5258
  }
5259
5259
  function V(y) {
5260
5260
  return Q(y) ? (a = V, se(y)) : be(y) ? (e.consume(y), V) : J(y);
5261
5261
  }
5262
5262
  function F(y) {
5263
- return y === 45 || rt(y) ? (e.consume(y), F) : y === 47 || y === 62 || Ke(y) ? T(y) : n(y);
5263
+ return y === 45 || it(y) ? (e.consume(y), F) : y === 47 || y === 62 || Ke(y) ? O(y) : n(y);
5264
+ }
5265
+ function O(y) {
5266
+ return y === 47 ? (e.consume(y), J) : y === 58 || y === 95 || St(y) ? (e.consume(y), T) : Q(y) ? (a = O, se(y)) : be(y) ? (e.consume(y), O) : J(y);
5264
5267
  }
5265
5268
  function T(y) {
5266
- return y === 47 ? (e.consume(y), J) : y === 58 || y === 95 || St(y) ? (e.consume(y), B) : Q(y) ? (a = T, se(y)) : be(y) ? (e.consume(y), T) : J(y);
5269
+ return y === 45 || y === 46 || y === 58 || y === 95 || it(y) ? (e.consume(y), T) : B(y);
5267
5270
  }
5268
5271
  function B(y) {
5269
- return y === 45 || y === 46 || y === 58 || y === 95 || rt(y) ? (e.consume(y), B) : G(y);
5272
+ return y === 61 ? (e.consume(y), G) : Q(y) ? (a = B, se(y)) : be(y) ? (e.consume(y), B) : O(y);
5270
5273
  }
5271
5274
  function G(y) {
5272
- return y === 61 ? (e.consume(y), O) : Q(y) ? (a = G, se(y)) : be(y) ? (e.consume(y), G) : T(y);
5273
- }
5274
- function O(y) {
5275
- return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), i = y, _) : Q(y) ? (a = O, se(y)) : be(y) ? (e.consume(y), O) : (e.consume(y), te);
5275
+ return y === null || y === 60 || y === 61 || y === 62 || y === 96 ? n(y) : y === 34 || y === 39 ? (e.consume(y), i = y, _) : Q(y) ? (a = G, se(y)) : be(y) ? (e.consume(y), G) : (e.consume(y), ee);
5276
5276
  }
5277
5277
  function _(y) {
5278
5278
  return y === i ? (e.consume(y), i = void 0, X) : y === null ? n(y) : Q(y) ? (a = _, se(y)) : (e.consume(y), _);
5279
5279
  }
5280
- function te(y) {
5281
- return y === null || y === 34 || y === 39 || y === 60 || y === 61 || y === 96 ? n(y) : y === 47 || y === 62 || Ke(y) ? T(y) : (e.consume(y), te);
5280
+ function ee(y) {
5281
+ return y === null || y === 34 || y === 39 || y === 60 || y === 61 || y === 96 ? n(y) : y === 47 || y === 62 || Ke(y) ? O(y) : (e.consume(y), ee);
5282
5282
  }
5283
5283
  function X(y) {
5284
- return y === 47 || y === 62 || Ke(y) ? T(y) : n(y);
5284
+ return y === 47 || y === 62 || Ke(y) ? O(y) : n(y);
5285
5285
  }
5286
5286
  function J(y) {
5287
5287
  return y === 62 ? (e.consume(y), e.exit("htmlTextData"), e.exit("htmlText"), t) : n(y);
5288
5288
  }
5289
5289
  function se(y) {
5290
- return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), de;
5290
+ return e.exit("htmlTextData"), e.enter("lineEnding"), e.consume(y), e.exit("lineEnding"), ce;
5291
5291
  }
5292
- function de(y) {
5292
+ function ce(y) {
5293
5293
  return be(y) ? xe(e, ve, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(y) : ve(y);
5294
5294
  }
5295
5295
  function ve(y) {
@@ -5358,7 +5358,7 @@ function Cp(e, t) {
5358
5358
  ...e[a - 2][1].start
5359
5359
  }
5360
5360
  };
5361
- return s = [["enter", l, t], ["enter", u, t]], s = ct(s, e.slice(o + 1, o + r + 3)), s = ct(s, [["enter", c, t]]), s = ct(s, lo(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, a - 3), t)), s = ct(s, [["exit", c, t], e[a - 2], e[a - 1], ["exit", u, t]]), s = ct(s, e.slice(a + 1)), s = ct(s, [["exit", l, t]]), Et(e, o, e.length, s), e;
5361
+ return s = [["enter", l, t], ["enter", u, t]], s = dt(s, e.slice(o + 1, o + r + 3)), s = dt(s, [["enter", c, t]]), s = dt(s, lo(t.parser.constructs.insideSpan.null, e.slice(o + r + 4, a - 3), t)), s = dt(s, [["exit", c, t], e[a - 2], e[a - 1], ["exit", u, t]]), s = dt(s, e.slice(a + 1)), s = dt(s, [["exit", l, t]]), Et(e, o, e.length, s), e;
5362
5362
  }
5363
5363
  function xp(e, t, n) {
5364
5364
  const r = this;
@@ -5849,133 +5849,133 @@ function rf(e, t, n) {
5849
5849
  };
5850
5850
  let c = t.tokenize.call(u, l);
5851
5851
  return t.resolveAll && o.push(t), u;
5852
- function d(G) {
5853
- return a = ct(a, G), I(), a[a.length - 1] !== null ? [] : (F(t, 0), u.events = lo(o, u.events, u), u.events);
5852
+ function d(B) {
5853
+ return a = dt(a, B), I(), a[a.length - 1] !== null ? [] : (F(t, 0), u.events = lo(o, u.events, u), u.events);
5854
5854
  }
5855
- function f(G, O) {
5856
- return af(p(G), O);
5855
+ function f(B, G) {
5856
+ return af(p(B), G);
5857
5857
  }
5858
- function p(G) {
5859
- return of(a, G);
5858
+ function p(B) {
5859
+ return of(a, B);
5860
5860
  }
5861
5861
  function b() {
5862
5862
  const {
5863
- _bufferIndex: G,
5864
- _index: O,
5863
+ _bufferIndex: B,
5864
+ _index: G,
5865
5865
  line: _,
5866
- column: te,
5866
+ column: ee,
5867
5867
  offset: X
5868
5868
  } = r;
5869
5869
  return {
5870
- _bufferIndex: G,
5871
- _index: O,
5870
+ _bufferIndex: B,
5871
+ _index: G,
5872
5872
  line: _,
5873
- column: te,
5873
+ column: ee,
5874
5874
  offset: X
5875
5875
  };
5876
5876
  }
5877
- function g(G) {
5878
- i[G.line] = G.column, B();
5877
+ function g(B) {
5878
+ i[B.line] = B.column, T();
5879
5879
  }
5880
5880
  function I() {
5881
- let G;
5881
+ let B;
5882
5882
  for (; r._index < a.length; ) {
5883
- const O = a[r._index];
5884
- if (typeof O == "string")
5885
- for (G = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === G && r._bufferIndex < O.length; )
5886
- v(O.charCodeAt(r._bufferIndex));
5883
+ const G = a[r._index];
5884
+ if (typeof G == "string")
5885
+ for (B = r._index, r._bufferIndex < 0 && (r._bufferIndex = 0); r._index === B && r._bufferIndex < G.length; )
5886
+ v(G.charCodeAt(r._bufferIndex));
5887
5887
  else
5888
- v(O);
5888
+ v(G);
5889
5889
  }
5890
5890
  }
5891
- function v(G) {
5892
- c = c(G);
5891
+ function v(B) {
5892
+ c = c(B);
5893
5893
  }
5894
- function E(G) {
5895
- Q(G) ? (r.line++, r.column = 1, r.offset += G === -3 ? 2 : 1, B()) : G !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
5894
+ function E(B) {
5895
+ Q(B) ? (r.line++, r.column = 1, r.offset += B === -3 ? 2 : 1, T()) : B !== -1 && (r.column++, r.offset++), r._bufferIndex < 0 ? r._index++ : (r._bufferIndex++, r._bufferIndex === // Points w/ non-negative `_bufferIndex` reference
5896
5896
  // strings.
5897
5897
  /** @type {string} */
5898
- a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = G;
5898
+ a[r._index].length && (r._bufferIndex = -1, r._index++)), u.previous = B;
5899
5899
  }
5900
- function A(G, O) {
5901
- const _ = O || {};
5902
- return _.type = G, _.start = b(), u.events.push(["enter", _, u]), s.push(_), _;
5900
+ function A(B, G) {
5901
+ const _ = G || {};
5902
+ return _.type = B, _.start = b(), u.events.push(["enter", _, u]), s.push(_), _;
5903
5903
  }
5904
- function S(G) {
5905
- const O = s.pop();
5906
- return O.end = b(), u.events.push(["exit", O, u]), O;
5904
+ function S(B) {
5905
+ const G = s.pop();
5906
+ return G.end = b(), u.events.push(["exit", G, u]), G;
5907
5907
  }
5908
- function k(G, O) {
5909
- F(G, O.from);
5908
+ function k(B, G) {
5909
+ F(B, G.from);
5910
5910
  }
5911
- function C(G, O) {
5912
- O.restore();
5911
+ function C(B, G) {
5912
+ G.restore();
5913
5913
  }
5914
- function V(G, O) {
5914
+ function V(B, G) {
5915
5915
  return _;
5916
- function _(te, X, J) {
5917
- let se, de, ve, y;
5918
- return Array.isArray(te) ? (
5916
+ function _(ee, X, J) {
5917
+ let se, ce, ve, y;
5918
+ return Array.isArray(ee) ? (
5919
5919
  /* c8 ignore next 1 */
5920
- ie(te)
5921
- ) : "tokenize" in te ? (
5920
+ ie(ee)
5921
+ ) : "tokenize" in ee ? (
5922
5922
  // Looks like a construct.
5923
5923
  ie([
5924
5924
  /** @type {Construct} */
5925
- te
5925
+ ee
5926
5926
  ])
5927
- ) : le(te);
5928
- function le(pe) {
5927
+ ) : fe(ee);
5928
+ function fe(de) {
5929
5929
  return Oe;
5930
- function Oe(fe) {
5931
- const Le = fe !== null && pe[fe], Ue = fe !== null && pe.null, it = [
5930
+ function Oe(he) {
5931
+ const Le = he !== null && de[he], Ue = he !== null && de.null, ot = [
5932
5932
  // To do: add more extension tests.
5933
5933
  /* c8 ignore next 2 */
5934
5934
  ...Array.isArray(Le) ? Le : Le ? [Le] : [],
5935
5935
  ...Array.isArray(Ue) ? Ue : Ue ? [Ue] : []
5936
5936
  ];
5937
- return ie(it)(fe);
5937
+ return ie(ot)(he);
5938
5938
  }
5939
5939
  }
5940
- function ie(pe) {
5941
- return se = pe, de = 0, pe.length === 0 ? J : m(pe[de]);
5940
+ function ie(de) {
5941
+ return se = de, ce = 0, de.length === 0 ? J : m(de[ce]);
5942
5942
  }
5943
- function m(pe) {
5943
+ function m(de) {
5944
5944
  return Oe;
5945
- function Oe(fe) {
5946
- return y = T(), ve = pe, pe.partial || (u.currentConstruct = pe), pe.name && u.parser.constructs.disable.null.includes(pe.name) ? K() : pe.tokenize.call(
5945
+ function Oe(he) {
5946
+ return y = O(), ve = de, de.partial || (u.currentConstruct = de), de.name && u.parser.constructs.disable.null.includes(de.name) ? K() : de.tokenize.call(
5947
5947
  // If we do have fields, create an object w/ `context` as its
5948
5948
  // prototype.
5949
5949
  // This allows a “live binding”, which is needed for `interrupt`.
5950
- O ? Object.assign(Object.create(u), O) : u,
5950
+ G ? Object.assign(Object.create(u), G) : u,
5951
5951
  l,
5952
- he,
5952
+ ge,
5953
5953
  K
5954
- )(fe);
5954
+ )(he);
5955
5955
  }
5956
5956
  }
5957
- function he(pe) {
5958
- return G(ve, y), X;
5957
+ function ge(de) {
5958
+ return B(ve, y), X;
5959
5959
  }
5960
- function K(pe) {
5961
- return y.restore(), ++de < se.length ? m(se[de]) : J;
5960
+ function K(de) {
5961
+ return y.restore(), ++ce < se.length ? m(se[ce]) : J;
5962
5962
  }
5963
5963
  }
5964
5964
  }
5965
- function F(G, O) {
5966
- G.resolveAll && !o.includes(G) && o.push(G), G.resolve && Et(u.events, O, u.events.length - O, G.resolve(u.events.slice(O), u)), G.resolveTo && (u.events = G.resolveTo(u.events, u));
5965
+ function F(B, G) {
5966
+ B.resolveAll && !o.includes(B) && o.push(B), B.resolve && Et(u.events, G, u.events.length - G, B.resolve(u.events.slice(G), u)), B.resolveTo && (u.events = B.resolveTo(u.events, u));
5967
5967
  }
5968
- function T() {
5969
- const G = b(), O = u.previous, _ = u.currentConstruct, te = u.events.length, X = Array.from(s);
5968
+ function O() {
5969
+ const B = b(), G = u.previous, _ = u.currentConstruct, ee = u.events.length, X = Array.from(s);
5970
5970
  return {
5971
- from: te,
5971
+ from: ee,
5972
5972
  restore: J
5973
5973
  };
5974
5974
  function J() {
5975
- r = G, u.previous = O, u.currentConstruct = _, u.events.length = te, s = X, B();
5975
+ r = B, u.previous = G, u.currentConstruct = _, u.events.length = ee, s = X, T();
5976
5976
  }
5977
5977
  }
5978
- function B() {
5978
+ function T() {
5979
5979
  r.line in i && r.column < 2 && (r.column = i[r.line], r.offset += i[r.line] - 1);
5980
5980
  }
5981
5981
  }
@@ -6123,31 +6123,31 @@ function mf(e) {
6123
6123
  canContainEols: ["emphasis", "fragment", "heading", "paragraph", "strong"],
6124
6124
  enter: {
6125
6125
  autolink: o(Me),
6126
- autolinkProtocol: T,
6127
- autolinkEmail: T,
6126
+ autolinkProtocol: O,
6127
+ autolinkEmail: O,
6128
6128
  atxHeading: o(z),
6129
6129
  blockQuote: o(Ue),
6130
- characterEscape: T,
6131
- characterReference: T,
6132
- codeFenced: o(it),
6130
+ characterEscape: O,
6131
+ characterReference: O,
6132
+ codeFenced: o(ot),
6133
6133
  codeFencedFenceInfo: a,
6134
6134
  codeFencedFenceMeta: a,
6135
- codeIndented: o(it, a),
6136
- codeText: o(ot, a),
6137
- codeTextData: T,
6138
- data: T,
6139
- codeFlowValue: T,
6135
+ codeIndented: o(ot, a),
6136
+ codeText: o(at, a),
6137
+ codeTextData: O,
6138
+ data: O,
6139
+ codeFlowValue: O,
6140
6140
  definition: o(Dt),
6141
6141
  definitionDestinationString: a,
6142
6142
  definitionLabelString: a,
6143
6143
  definitionTitleString: a,
6144
- emphasis: o(M),
6144
+ emphasis: o(L),
6145
6145
  hardBreakEscape: o(U),
6146
6146
  hardBreakTrailing: o(U),
6147
- htmlFlow: o(ge, a),
6148
- htmlFlowData: T,
6149
- htmlText: o(ge, a),
6150
- htmlTextData: T,
6147
+ htmlFlow: o(pe, a),
6148
+ htmlFlowData: O,
6149
+ htmlText: o(pe, a),
6150
+ htmlTextData: O,
6151
6151
  image: o(Be),
6152
6152
  label: a,
6153
6153
  link: o(Me),
@@ -6169,45 +6169,45 @@ function mf(e) {
6169
6169
  atxHeadingSequence: k,
6170
6170
  autolink: l(),
6171
6171
  autolinkEmail: Le,
6172
- autolinkProtocol: fe,
6172
+ autolinkProtocol: he,
6173
6173
  blockQuote: l(),
6174
- characterEscapeValue: B,
6174
+ characterEscapeValue: T,
6175
6175
  characterReferenceMarkerHexadecimal: K,
6176
6176
  characterReferenceMarkerNumeric: K,
6177
- characterReferenceValue: pe,
6177
+ characterReferenceValue: de,
6178
6178
  characterReference: Oe,
6179
6179
  codeFenced: l(I),
6180
6180
  codeFencedFence: g,
6181
6181
  codeFencedFenceInfo: p,
6182
6182
  codeFencedFenceMeta: b,
6183
- codeFlowValue: B,
6183
+ codeFlowValue: T,
6184
6184
  codeIndented: l(v),
6185
6185
  codeText: l(X),
6186
- codeTextData: B,
6187
- data: B,
6186
+ codeTextData: T,
6187
+ data: T,
6188
6188
  definition: l(),
6189
6189
  definitionDestinationString: S,
6190
6190
  definitionLabelString: E,
6191
6191
  definitionTitleString: A,
6192
6192
  emphasis: l(),
6193
- hardBreakEscape: l(O),
6194
- hardBreakTrailing: l(O),
6193
+ hardBreakEscape: l(G),
6194
+ hardBreakTrailing: l(G),
6195
6195
  htmlFlow: l(_),
6196
- htmlFlowData: B,
6197
- htmlText: l(te),
6198
- htmlTextData: B,
6196
+ htmlFlowData: T,
6197
+ htmlText: l(ee),
6198
+ htmlTextData: T,
6199
6199
  image: l(se),
6200
6200
  label: ve,
6201
- labelText: de,
6202
- lineEnding: G,
6201
+ labelText: ce,
6202
+ lineEnding: B,
6203
6203
  link: l(J),
6204
6204
  listItem: l(),
6205
6205
  listOrdered: l(),
6206
6206
  listUnordered: l(),
6207
6207
  paragraph: l(),
6208
- referenceString: he,
6208
+ referenceString: ge,
6209
6209
  resourceDestinationString: y,
6210
- resourceTitleString: le,
6210
+ resourceTitleString: fe,
6211
6211
  resource: ie,
6212
6212
  setextHeading: l(F),
6213
6213
  setextHeadingLineSequence: V,
@@ -6413,7 +6413,7 @@ function mf(e) {
6413
6413
  function F() {
6414
6414
  this.data.setextHeadingSlurpLineEnding = void 0;
6415
6415
  }
6416
- function T(P) {
6416
+ function O(P) {
6417
6417
  const q = this.stack[this.stack.length - 1].children;
6418
6418
  let oe = q[q.length - 1];
6419
6419
  (!oe || oe.type !== "text") && (oe = we(), oe.position = {
@@ -6422,27 +6422,27 @@ function mf(e) {
6422
6422
  end: void 0
6423
6423
  }, q.push(oe)), this.stack.push(oe);
6424
6424
  }
6425
- function B(P) {
6425
+ function T(P) {
6426
6426
  const N = this.stack.pop();
6427
6427
  N.value += this.sliceSerialize(P), N.position.end = Ht(P.end);
6428
6428
  }
6429
- function G(P) {
6429
+ function B(P) {
6430
6430
  const N = this.stack[this.stack.length - 1];
6431
6431
  if (this.data.atHardBreak) {
6432
6432
  const q = N.children[N.children.length - 1];
6433
6433
  q.position.end = Ht(P.end), this.data.atHardBreak = void 0;
6434
6434
  return;
6435
6435
  }
6436
- !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(N.type) && (T.call(this, P), B.call(this, P));
6436
+ !this.data.setextHeadingSlurpLineEnding && t.canContainEols.includes(N.type) && (O.call(this, P), T.call(this, P));
6437
6437
  }
6438
- function O() {
6438
+ function G() {
6439
6439
  this.data.atHardBreak = !0;
6440
6440
  }
6441
6441
  function _() {
6442
6442
  const P = this.resume(), N = this.stack[this.stack.length - 1];
6443
6443
  N.value = P;
6444
6444
  }
6445
- function te() {
6445
+ function ee() {
6446
6446
  const P = this.resume(), N = this.stack[this.stack.length - 1];
6447
6447
  N.value = P;
6448
6448
  }
@@ -6468,7 +6468,7 @@ function mf(e) {
6468
6468
  delete P.identifier, delete P.label;
6469
6469
  this.data.referenceType = void 0;
6470
6470
  }
6471
- function de(P) {
6471
+ function ce(P) {
6472
6472
  const N = this.sliceSerialize(P), q = this.stack[this.stack.length - 2];
6473
6473
  q.label = ff(N), q.identifier = xn(N).toLowerCase();
6474
6474
  }
@@ -6484,7 +6484,7 @@ function mf(e) {
6484
6484
  const P = this.resume(), N = this.stack[this.stack.length - 1];
6485
6485
  N.url = P;
6486
6486
  }
6487
- function le() {
6487
+ function fe() {
6488
6488
  const P = this.resume(), N = this.stack[this.stack.length - 1];
6489
6489
  N.title = P;
6490
6490
  }
@@ -6494,14 +6494,14 @@ function mf(e) {
6494
6494
  function m() {
6495
6495
  this.data.referenceType = "collapsed";
6496
6496
  }
6497
- function he(P) {
6497
+ function ge(P) {
6498
6498
  const N = this.resume(), q = this.stack[this.stack.length - 1];
6499
6499
  q.label = N, q.identifier = xn(this.sliceSerialize(P)).toLowerCase(), this.data.referenceType = "full";
6500
6500
  }
6501
6501
  function K(P) {
6502
6502
  this.data.characterReferenceType = P.type;
6503
6503
  }
6504
- function pe(P) {
6504
+ function de(P) {
6505
6505
  const N = this.sliceSerialize(P), q = this.data.characterReferenceType;
6506
6506
  let oe;
6507
6507
  q ? (oe = Hs(N, q === "characterReferenceMarkerNumeric" ? 10 : 16), this.data.characterReferenceType = void 0) : oe = Xs(N);
@@ -6512,13 +6512,13 @@ function mf(e) {
6512
6512
  const N = this.stack.pop();
6513
6513
  N.position.end = Ht(P.end);
6514
6514
  }
6515
- function fe(P) {
6516
- B.call(this, P);
6515
+ function he(P) {
6516
+ T.call(this, P);
6517
6517
  const N = this.stack[this.stack.length - 1];
6518
6518
  N.url = this.sliceSerialize(P);
6519
6519
  }
6520
6520
  function Le(P) {
6521
- B.call(this, P);
6521
+ T.call(this, P);
6522
6522
  const N = this.stack[this.stack.length - 1];
6523
6523
  N.url = "mailto:" + this.sliceSerialize(P);
6524
6524
  }
@@ -6528,7 +6528,7 @@ function mf(e) {
6528
6528
  children: []
6529
6529
  };
6530
6530
  }
6531
- function it() {
6531
+ function ot() {
6532
6532
  return {
6533
6533
  type: "code",
6534
6534
  lang: null,
@@ -6536,7 +6536,7 @@ function mf(e) {
6536
6536
  value: ""
6537
6537
  };
6538
6538
  }
6539
- function ot() {
6539
+ function at() {
6540
6540
  return {
6541
6541
  type: "inlineCode",
6542
6542
  value: ""
@@ -6551,7 +6551,7 @@ function mf(e) {
6551
6551
  url: ""
6552
6552
  };
6553
6553
  }
6554
- function M() {
6554
+ function L() {
6555
6555
  return {
6556
6556
  type: "emphasis",
6557
6557
  children: []
@@ -6570,7 +6570,7 @@ function mf(e) {
6570
6570
  type: "break"
6571
6571
  };
6572
6572
  }
6573
- function ge() {
6573
+ function pe() {
6574
6574
  return {
6575
6575
  type: "html",
6576
6576
  value: ""
@@ -8144,7 +8144,7 @@ class ll {
8144
8144
  * Message.
8145
8145
  */
8146
8146
  message(t, n, r) {
8147
- const i = new Ze(
8147
+ const i = new je(
8148
8148
  // @ts-expect-error: the overloads are fine.
8149
8149
  t,
8150
8150
  n,
@@ -8779,7 +8779,7 @@ function ul(e) {
8779
8779
  Fragment: vs,
8780
8780
  components: o,
8781
8781
  ignoreInvalidStyle: !0,
8782
- jsx: L,
8782
+ jsx: M,
8783
8783
  jsxs: Te,
8784
8784
  passKeys: !0,
8785
8785
  passNode: !0
@@ -8850,21 +8850,21 @@ function Ti({ prop: e }) {
8850
8850
  default:
8851
8851
  a = t;
8852
8852
  }
8853
- return /* @__PURE__ */ L("div", { className: `pd-alert-${e.alertType}`, style: a, children: /* @__PURE__ */ L(ul, { components: {
8854
- a: ({ ...s }) => /* @__PURE__ */ L("a", { ...s, target: "_blank", rel: "noopener noreferrer" })
8853
+ return /* @__PURE__ */ M("div", { className: `pd-alert-${e.alertType}`, style: a, children: /* @__PURE__ */ M(ul, { components: {
8854
+ a: ({ ...s }) => /* @__PURE__ */ M("a", { ...s, target: "_blank", rel: "noopener noreferrer" })
8855
8855
  }, children: e.content }) });
8856
8856
  }
8857
8857
  var Vr = { exports: {} };
8858
8858
  Vr.exports;
8859
8859
  (function(e, t) {
8860
- var n = 200, r = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, s = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", b = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", v = "[object Null]", E = "[object Object]", A = "[object Promise]", S = "[object Proxy]", k = "[object RegExp]", C = "[object Set]", V = "[object String]", F = "[object Symbol]", T = "[object Undefined]", B = "[object WeakMap]", G = "[object ArrayBuffer]", O = "[object DataView]", _ = "[object Float32Array]", te = "[object Float64Array]", X = "[object Int8Array]", J = "[object Int16Array]", se = "[object Int32Array]", de = "[object Uint8Array]", ve = "[object Uint8ClampedArray]", y = "[object Uint16Array]", le = "[object Uint32Array]", ie = /[\\^$.*+?()[\]{}|]/g, m = /^\[object .+?Constructor\]$/, he = /^(?:0|[1-9]\d*)$/, K = {};
8861
- K[_] = K[te] = K[X] = K[J] = K[se] = K[de] = K[ve] = K[y] = K[le] = !0, K[s] = K[l] = K[G] = K[c] = K[O] = K[d] = K[f] = K[p] = K[g] = K[I] = K[E] = K[k] = K[C] = K[V] = K[B] = !1;
8862
- var pe = typeof In == "object" && In && In.Object === Object && In, Oe = typeof self == "object" && self && self.Object === Object && self, fe = pe || Oe || Function("return this")(), Le = t && !t.nodeType && t, Ue = Le && !0 && e && !e.nodeType && e, it = Ue && Ue.exports === Le, ot = it && pe.process, Dt = function() {
8860
+ var n = 200, r = "__lodash_hash_undefined__", i = 1, o = 2, a = 9007199254740991, s = "[object Arguments]", l = "[object Array]", u = "[object AsyncFunction]", c = "[object Boolean]", d = "[object Date]", f = "[object Error]", p = "[object Function]", b = "[object GeneratorFunction]", g = "[object Map]", I = "[object Number]", v = "[object Null]", E = "[object Object]", A = "[object Promise]", S = "[object Proxy]", k = "[object RegExp]", C = "[object Set]", V = "[object String]", F = "[object Symbol]", O = "[object Undefined]", T = "[object WeakMap]", B = "[object ArrayBuffer]", G = "[object DataView]", _ = "[object Float32Array]", ee = "[object Float64Array]", X = "[object Int8Array]", J = "[object Int16Array]", se = "[object Int32Array]", ce = "[object Uint8Array]", ve = "[object Uint8ClampedArray]", y = "[object Uint16Array]", fe = "[object Uint32Array]", ie = /[\\^$.*+?()[\]{}|]/g, m = /^\[object .+?Constructor\]$/, ge = /^(?:0|[1-9]\d*)$/, K = {};
8861
+ K[_] = K[ee] = K[X] = K[J] = K[se] = K[ce] = K[ve] = K[y] = K[fe] = !0, K[s] = K[l] = K[B] = K[c] = K[G] = K[d] = K[f] = K[p] = K[g] = K[I] = K[E] = K[k] = K[C] = K[V] = K[T] = !1;
8862
+ var de = typeof In == "object" && In && In.Object === Object && In, Oe = typeof self == "object" && self && self.Object === Object && self, he = de || Oe || Function("return this")(), Le = t && !t.nodeType && t, Ue = Le && !0 && e && !e.nodeType && e, ot = Ue && Ue.exports === Le, at = ot && de.process, Dt = function() {
8863
8863
  try {
8864
- return ot && ot.binding && ot.binding("util");
8864
+ return at && at.binding && at.binding("util");
8865
8865
  } catch {
8866
8866
  }
8867
- }(), M = Dt && Dt.isTypedArray;
8867
+ }(), L = Dt && Dt.isTypedArray;
8868
8868
  function z(h, w) {
8869
8869
  for (var R = -1, H = h == null ? 0 : h.length, Ae = 0, re = []; ++R < H; ) {
8870
8870
  var Fe = h[R];
@@ -8877,7 +8877,7 @@ Vr.exports;
8877
8877
  h[Ae + R] = w[R];
8878
8878
  return h;
8879
8879
  }
8880
- function ge(h, w) {
8880
+ function pe(h, w) {
8881
8881
  for (var R = -1, H = h == null ? 0 : h.length; ++R < H; )
8882
8882
  if (w(h[R], R, h))
8883
8883
  return !0;
@@ -8916,12 +8916,12 @@ Vr.exports;
8916
8916
  R[++w] = H;
8917
8917
  }), R;
8918
8918
  }
8919
- var Se = Array.prototype, P = Function.prototype, N = Object.prototype, q = fe["__core-js_shared__"], oe = P.toString, ae = N.hasOwnProperty, qe = function() {
8919
+ var Se = Array.prototype, P = Function.prototype, N = Object.prototype, q = he["__core-js_shared__"], oe = P.toString, ae = N.hasOwnProperty, qe = function() {
8920
8920
  var h = /[^.]+$/.exec(q && q.keys && q.keys.IE_PROTO || "");
8921
8921
  return h ? "Symbol(src)_1." + h : "";
8922
8922
  }(), yt = N.toString, ft = RegExp(
8923
8923
  "^" + oe.call(ae).replace(ie, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
8924
- ), Nt = it ? fe.Buffer : void 0, vt = fe.Symbol, Xe = fe.Uint8Array, Ft = N.propertyIsEnumerable, ht = Se.splice, $t = vt ? vt.toStringTag : void 0, Po = Object.getOwnPropertySymbols, su = Nt ? Nt.isBuffer : void 0, lu = Ie(Object.keys, Object), $r = bn(fe, "DataView"), zn = bn(fe, "Map"), Kr = bn(fe, "Promise"), ei = bn(fe, "Set"), ti = bn(fe, "WeakMap"), Wn = bn(Object, "create"), uu = tn($r), cu = tn(zn), du = tn(Kr), pu = tn(ei), fu = tn(ti), Ro = vt ? vt.prototype : void 0, ni = Ro ? Ro.valueOf : void 0;
8924
+ ), Nt = ot ? he.Buffer : void 0, vt = he.Symbol, Xe = he.Uint8Array, Ft = N.propertyIsEnumerable, ht = Se.splice, $t = vt ? vt.toStringTag : void 0, Po = Object.getOwnPropertySymbols, su = Nt ? Nt.isBuffer : void 0, lu = Ie(Object.keys, Object), $r = bn(he, "DataView"), zn = bn(he, "Map"), Kr = bn(he, "Promise"), ei = bn(he, "Set"), ti = bn(he, "WeakMap"), Wn = bn(Object, "create"), uu = tn($r), cu = tn(zn), du = tn(Kr), pu = tn(ei), fu = tn(ti), Ro = vt ? vt.prototype : void 0, ni = Ro ? Ro.valueOf : void 0;
8925
8925
  function Kt(h) {
8926
8926
  var w = -1, R = h == null ? 0 : h.length;
8927
8927
  for (this.clear(); ++w < R; ) {
@@ -9072,7 +9072,7 @@ Vr.exports;
9072
9072
  return mr(h) ? H : U(H, R(h));
9073
9073
  }
9074
9074
  function Zn(h) {
9075
- return h == null ? h === void 0 ? T : v : $t && $t in Object(h) ? Zu(h) : qu(h);
9075
+ return h == null ? h === void 0 ? O : v : $t && $t in Object(h) ? Zu(h) : qu(h);
9076
9076
  }
9077
9077
  function Go(h) {
9078
9078
  return jn(h) && Zn(h) == s;
@@ -9092,9 +9092,9 @@ Vr.exports;
9092
9092
  if (He && !et)
9093
9093
  return re || (re = new Lt()), Fe || Mo(h) ? To(h, w, R, H, Ae, re) : zu(h, w, De, R, H, Ae, re);
9094
9094
  if (!(R & i)) {
9095
- var at = et && ae.call(h, "__wrapped__"), st = gt && ae.call(w, "__wrapped__");
9096
- if (at || st) {
9097
- var Xt = at ? h.value() : h, Rt = st ? w.value() : w;
9095
+ var st = et && ae.call(h, "__wrapped__"), lt = gt && ae.call(w, "__wrapped__");
9096
+ if (st || lt) {
9097
+ var Xt = st ? h.value() : h, Rt = lt ? w.value() : w;
9098
9098
  return re || (re = new Lt()), Ae(Xt, Rt, R, H, re);
9099
9099
  }
9100
9100
  }
@@ -9126,9 +9126,9 @@ Vr.exports;
9126
9126
  return ke == w;
9127
9127
  var et = -1, gt = !0, He = R & o ? new fr() : void 0;
9128
9128
  for (re.set(h, w), re.set(w, h); ++et < Ve; ) {
9129
- var at = h[et], st = w[et];
9129
+ var st = h[et], lt = w[et];
9130
9130
  if (H)
9131
- var Xt = Fe ? H(st, at, et, w, h, re) : H(at, st, et, h, w, re);
9131
+ var Xt = Fe ? H(lt, st, et, w, h, re) : H(st, lt, et, h, w, re);
9132
9132
  if (Xt !== void 0) {
9133
9133
  if (Xt)
9134
9134
  continue;
@@ -9136,14 +9136,14 @@ Vr.exports;
9136
9136
  break;
9137
9137
  }
9138
9138
  if (He) {
9139
- if (!ge(w, function(Rt, nn) {
9140
- if (!mn(He, nn) && (at === Rt || Ae(at, Rt, R, H, re)))
9139
+ if (!pe(w, function(Rt, nn) {
9140
+ if (!mn(He, nn) && (st === Rt || Ae(st, Rt, R, H, re)))
9141
9141
  return He.push(nn);
9142
9142
  })) {
9143
9143
  gt = !1;
9144
9144
  break;
9145
9145
  }
9146
- } else if (!(at === st || Ae(at, st, R, H, re))) {
9146
+ } else if (!(st === lt || Ae(st, lt, R, H, re))) {
9147
9147
  gt = !1;
9148
9148
  break;
9149
9149
  }
@@ -9152,11 +9152,11 @@ Vr.exports;
9152
9152
  }
9153
9153
  function zu(h, w, R, H, Ae, re, Fe) {
9154
9154
  switch (R) {
9155
- case O:
9155
+ case G:
9156
9156
  if (h.byteLength != w.byteLength || h.byteOffset != w.byteOffset)
9157
9157
  return !1;
9158
9158
  h = h.buffer, w = w.buffer;
9159
- case G:
9159
+ case B:
9160
9160
  return !(h.byteLength != w.byteLength || !re(new Xe(h), new Xe(w)));
9161
9161
  case c:
9162
9162
  case d:
@@ -9194,10 +9194,10 @@ Vr.exports;
9194
9194
  if (!(Fe ? He in w : ae.call(w, He)))
9195
9195
  return !1;
9196
9196
  }
9197
- var at = re.get(h);
9198
- if (at && re.get(w))
9199
- return at == w;
9200
- var st = !0;
9197
+ var st = re.get(h);
9198
+ if (st && re.get(w))
9199
+ return st == w;
9200
+ var lt = !0;
9201
9201
  re.set(h, w), re.set(w, h);
9202
9202
  for (var Xt = Fe; ++gt < De; ) {
9203
9203
  He = Ve[gt];
@@ -9205,16 +9205,16 @@ Vr.exports;
9205
9205
  if (H)
9206
9206
  var Xo = Fe ? H(nn, Rt, He, w, h, re) : H(Rt, nn, He, h, w, re);
9207
9207
  if (!(Xo === void 0 ? Rt === nn || Ae(Rt, nn, R, H, re) : Xo)) {
9208
- st = !1;
9208
+ lt = !1;
9209
9209
  break;
9210
9210
  }
9211
9211
  Xt || (Xt = He == "constructor");
9212
9212
  }
9213
- if (st && !Xt) {
9213
+ if (lt && !Xt) {
9214
9214
  var br = h.constructor, yr = w.constructor;
9215
- br != yr && "constructor" in h && "constructor" in w && !(typeof br == "function" && br instanceof br && typeof yr == "function" && yr instanceof yr) && (st = !1);
9215
+ br != yr && "constructor" in h && "constructor" in w && !(typeof br == "function" && br instanceof br && typeof yr == "function" && yr instanceof yr) && (lt = !1);
9216
9216
  }
9217
- return re.delete(h), re.delete(w), st;
9217
+ return re.delete(h), re.delete(w), lt;
9218
9218
  }
9219
9219
  function Oo(h) {
9220
9220
  return Nu(h, ec, ju);
@@ -9242,12 +9242,12 @@ Vr.exports;
9242
9242
  return Ft.call(h, w);
9243
9243
  }));
9244
9244
  } : tc, Mt = Zn;
9245
- ($r && Mt(new $r(new ArrayBuffer(1))) != O || zn && Mt(new zn()) != g || Kr && Mt(Kr.resolve()) != A || ei && Mt(new ei()) != C || ti && Mt(new ti()) != B) && (Mt = function(h) {
9245
+ ($r && Mt(new $r(new ArrayBuffer(1))) != G || zn && Mt(new zn()) != g || Kr && Mt(Kr.resolve()) != A || ei && Mt(new ei()) != C || ti && Mt(new ti()) != T) && (Mt = function(h) {
9246
9246
  var w = Zn(h), R = w == E ? h.constructor : void 0, H = R ? tn(R) : "";
9247
9247
  if (H)
9248
9248
  switch (H) {
9249
9249
  case uu:
9250
- return O;
9250
+ return G;
9251
9251
  case cu:
9252
9252
  return g;
9253
9253
  case du:
@@ -9255,12 +9255,12 @@ Vr.exports;
9255
9255
  case pu:
9256
9256
  return C;
9257
9257
  case fu:
9258
- return B;
9258
+ return T;
9259
9259
  }
9260
9260
  return w;
9261
9261
  });
9262
9262
  function Ju(h, w) {
9263
- return w = w ?? a, !!w && (typeof h == "number" || he.test(h)) && h > -1 && h % 1 == 0 && h < w;
9263
+ return w = w ?? a, !!w && (typeof h == "number" || ge.test(h)) && h > -1 && h % 1 == 0 && h < w;
9264
9264
  }
9265
9265
  function Yu(h) {
9266
9266
  var w = typeof h;
@@ -9320,7 +9320,7 @@ Vr.exports;
9320
9320
  function jn(h) {
9321
9321
  return h != null && typeof h == "object";
9322
9322
  }
9323
- var Mo = M ? Me(M) : Xu;
9323
+ var Mo = L ? Me(L) : Xu;
9324
9324
  function ec(h) {
9325
9325
  return $u(h) ? Du(h) : Hu(h);
9326
9326
  }
@@ -9351,7 +9351,7 @@ var dr = class {
9351
9351
  onUnsubscribe() {
9352
9352
  }
9353
9353
  }, pn = typeof window > "u" || "Deno" in globalThis;
9354
- function ut() {
9354
+ function ct() {
9355
9355
  }
9356
9356
  function Mh(e, t) {
9357
9357
  return typeof e == "function" ? e(t) : e;
@@ -9738,17 +9738,17 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9738
9738
  clearGcTimeout() {
9739
9739
  x(this, an) && (clearTimeout(x(this, an)), W(this, an, void 0));
9740
9740
  }
9741
- }, an = new WeakMap(), ps), Fn, Pn, lt, ze, ir, sn, mt, Gt, fs, Yh = (fs = class extends gl {
9741
+ }, an = new WeakMap(), ps), Fn, Pn, ut, ze, ir, sn, mt, Gt, fs, Yh = (fs = class extends gl {
9742
9742
  constructor(t) {
9743
9743
  super();
9744
9744
  $(this, mt);
9745
9745
  $(this, Fn);
9746
9746
  $(this, Pn);
9747
- $(this, lt);
9747
+ $(this, ut);
9748
9748
  $(this, ze);
9749
9749
  $(this, ir);
9750
9750
  $(this, sn);
9751
- W(this, sn, !1), W(this, ir, t.defaultOptions), this.setOptions(t.options), this.observers = [], W(this, lt, t.cache), this.queryKey = t.queryKey, this.queryHash = t.queryHash, W(this, Fn, _h(this.options)), this.state = t.state ?? x(this, Fn), this.scheduleGc();
9751
+ W(this, sn, !1), W(this, ir, t.defaultOptions), this.setOptions(t.options), this.observers = [], W(this, ut, t.cache), this.queryKey = t.queryKey, this.queryHash = t.queryHash, W(this, Fn, _h(this.options)), this.state = t.state ?? x(this, Fn), this.scheduleGc();
9752
9752
  }
9753
9753
  get meta() {
9754
9754
  return this.options.meta;
@@ -9761,11 +9761,11 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9761
9761
  this.options = { ...x(this, ir), ...t }, this.updateGcTime(this.options.gcTime);
9762
9762
  }
9763
9763
  optionalRemove() {
9764
- !this.observers.length && this.state.fetchStatus === "idle" && x(this, lt).remove(this);
9764
+ !this.observers.length && this.state.fetchStatus === "idle" && x(this, ut).remove(this);
9765
9765
  }
9766
9766
  setData(t, n) {
9767
9767
  const r = Li(this.state.data, t, this.options);
9768
- return ue(this, mt, Gt).call(this, {
9768
+ return le(this, mt, Gt).call(this, {
9769
9769
  data: r,
9770
9770
  type: "success",
9771
9771
  dataUpdatedAt: n == null ? void 0 : n.updatedAt,
@@ -9773,12 +9773,12 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9773
9773
  }), r;
9774
9774
  }
9775
9775
  setState(t, n) {
9776
- ue(this, mt, Gt).call(this, { type: "setState", state: t, setStateOptions: n });
9776
+ le(this, mt, Gt).call(this, { type: "setState", state: t, setStateOptions: n });
9777
9777
  }
9778
9778
  cancel(t) {
9779
9779
  var r, i;
9780
9780
  const n = (r = x(this, ze)) == null ? void 0 : r.promise;
9781
- return (i = x(this, ze)) == null || i.cancel(t), n ? n.then(ut).catch(ut) : Promise.resolve();
9781
+ return (i = x(this, ze)) == null || i.cancel(t), n ? n.then(ct).catch(ct) : Promise.resolve();
9782
9782
  }
9783
9783
  destroy() {
9784
9784
  super.destroy(), this.cancel({ silent: !0 });
@@ -9813,16 +9813,16 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9813
9813
  t == null || t.refetch({ cancelRefetch: !1 }), (n = x(this, ze)) == null || n.continue();
9814
9814
  }
9815
9815
  addObserver(t) {
9816
- this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), x(this, lt).notify({ type: "observerAdded", query: this, observer: t }));
9816
+ this.observers.includes(t) || (this.observers.push(t), this.clearGcTimeout(), x(this, ut).notify({ type: "observerAdded", query: this, observer: t }));
9817
9817
  }
9818
9818
  removeObserver(t) {
9819
- this.observers.includes(t) && (this.observers = this.observers.filter((n) => n !== t), this.observers.length || (x(this, ze) && (x(this, sn) ? x(this, ze).cancel({ revert: !0 }) : x(this, ze).cancelRetry()), this.scheduleGc()), x(this, lt).notify({ type: "observerRemoved", query: this, observer: t }));
9819
+ this.observers.includes(t) && (this.observers = this.observers.filter((n) => n !== t), this.observers.length || (x(this, ze) && (x(this, sn) ? x(this, ze).cancel({ revert: !0 }) : x(this, ze).cancelRetry()), this.scheduleGc()), x(this, ut).notify({ type: "observerRemoved", query: this, observer: t }));
9820
9820
  }
9821
9821
  getObserversCount() {
9822
9822
  return this.observers.length;
9823
9823
  }
9824
9824
  invalidate() {
9825
- this.state.isInvalidated || ue(this, mt, Gt).call(this, { type: "invalidate" });
9825
+ this.state.isInvalidated || le(this, mt, Gt).call(this, { type: "invalidate" });
9826
9826
  }
9827
9827
  fetch(t, n) {
9828
9828
  var l, u, c;
@@ -9864,17 +9864,17 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9864
9864
  i(a), (l = this.options.behavior) == null || l.onFetch(
9865
9865
  a,
9866
9866
  this
9867
- ), W(this, Pn, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = a.fetchOptions) == null ? void 0 : u.meta)) && ue(this, mt, Gt).call(this, { type: "fetch", meta: (c = a.fetchOptions) == null ? void 0 : c.meta });
9867
+ ), W(this, Pn, this.state), (this.state.fetchStatus === "idle" || this.state.fetchMeta !== ((u = a.fetchOptions) == null ? void 0 : u.meta)) && le(this, mt, Gt).call(this, { type: "fetch", meta: (c = a.fetchOptions) == null ? void 0 : c.meta });
9868
9868
  const s = (d) => {
9869
9869
  var f, p, b, g;
9870
- mi(d) && d.silent || ue(this, mt, Gt).call(this, {
9870
+ mi(d) && d.silent || le(this, mt, Gt).call(this, {
9871
9871
  type: "error",
9872
9872
  error: d
9873
- }), mi(d) || ((p = (f = x(this, lt).config).onError) == null || p.call(
9873
+ }), mi(d) || ((p = (f = x(this, ut).config).onError) == null || p.call(
9874
9874
  f,
9875
9875
  d,
9876
9876
  this
9877
- ), (g = (b = x(this, lt).config).onSettled) == null || g.call(
9877
+ ), (g = (b = x(this, ut).config).onSettled) == null || g.call(
9878
9878
  b,
9879
9879
  this.state.data,
9880
9880
  d,
@@ -9899,7 +9899,7 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9899
9899
  s(I);
9900
9900
  return;
9901
9901
  }
9902
- (p = (f = x(this, lt).config).onSuccess) == null || p.call(f, d, this), (g = (b = x(this, lt).config).onSettled) == null || g.call(
9902
+ (p = (f = x(this, ut).config).onSuccess) == null || p.call(f, d, this), (g = (b = x(this, ut).config).onSettled) == null || g.call(
9903
9903
  b,
9904
9904
  d,
9905
9905
  this.state.error,
@@ -9908,13 +9908,13 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9908
9908
  },
9909
9909
  onError: s,
9910
9910
  onFail: (d, f) => {
9911
- ue(this, mt, Gt).call(this, { type: "failed", failureCount: d, error: f });
9911
+ le(this, mt, Gt).call(this, { type: "failed", failureCount: d, error: f });
9912
9912
  },
9913
9913
  onPause: () => {
9914
- ue(this, mt, Gt).call(this, { type: "pause" });
9914
+ le(this, mt, Gt).call(this, { type: "pause" });
9915
9915
  },
9916
9916
  onContinue: () => {
9917
- ue(this, mt, Gt).call(this, { type: "continue" });
9917
+ le(this, mt, Gt).call(this, { type: "continue" });
9918
9918
  },
9919
9919
  retry: a.options.retry,
9920
9920
  retryDelay: a.options.retryDelay,
@@ -9922,7 +9922,7 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9922
9922
  canRun: () => !0
9923
9923
  })), x(this, ze).start();
9924
9924
  }
9925
- }, Fn = new WeakMap(), Pn = new WeakMap(), lt = new WeakMap(), ze = new WeakMap(), ir = new WeakMap(), sn = new WeakMap(), mt = new WeakSet(), Gt = function(t) {
9925
+ }, Fn = new WeakMap(), Pn = new WeakMap(), ut = new WeakMap(), ze = new WeakMap(), ir = new WeakMap(), sn = new WeakMap(), mt = new WeakSet(), Gt = function(t) {
9926
9926
  const n = (r) => {
9927
9927
  switch (t.type) {
9928
9928
  case "failed":
@@ -9989,7 +9989,7 @@ var Ne = Jh(), an, ps, gl = (ps = class {
9989
9989
  this.state = n(this.state), Ne.batch(() => {
9990
9990
  this.observers.forEach((r) => {
9991
9991
  r.onQueryUpdate();
9992
- }), x(this, lt).notify({ query: this, type: "updated", action: t });
9992
+ }), x(this, ut).notify({ query: this, type: "updated", action: t });
9993
9993
  });
9994
9994
  }, fs);
9995
9995
  function ml(e, t) {
@@ -10092,14 +10092,14 @@ var Ct, hs, Uh = (hs = class extends dr {
10092
10092
  });
10093
10093
  });
10094
10094
  }
10095
- }, Ct = new WeakMap(), hs), xt, je, ln, At, zt, gs, qh = (gs = class extends gl {
10095
+ }, Ct = new WeakMap(), hs), xt, Je, ln, At, zt, gs, qh = (gs = class extends gl {
10096
10096
  constructor(t) {
10097
10097
  super();
10098
10098
  $(this, At);
10099
10099
  $(this, xt);
10100
- $(this, je);
10100
+ $(this, Je);
10101
10101
  $(this, ln);
10102
- this.mutationId = t.mutationId, W(this, je, t.mutationCache), W(this, xt, []), this.state = t.state || Qh(), this.setOptions(t.options), this.scheduleGc();
10102
+ this.mutationId = t.mutationId, W(this, Je, t.mutationCache), W(this, xt, []), this.state = t.state || Qh(), this.setOptions(t.options), this.scheduleGc();
10103
10103
  }
10104
10104
  setOptions(t) {
10105
10105
  this.options = t, this.updateGcTime(this.options.gcTime);
@@ -10108,21 +10108,21 @@ var Ct, hs, Uh = (hs = class extends dr {
10108
10108
  return this.options.meta;
10109
10109
  }
10110
10110
  addObserver(t) {
10111
- x(this, xt).includes(t) || (x(this, xt).push(t), this.clearGcTimeout(), x(this, je).notify({
10111
+ x(this, xt).includes(t) || (x(this, xt).push(t), this.clearGcTimeout(), x(this, Je).notify({
10112
10112
  type: "observerAdded",
10113
10113
  mutation: this,
10114
10114
  observer: t
10115
10115
  }));
10116
10116
  }
10117
10117
  removeObserver(t) {
10118
- W(this, xt, x(this, xt).filter((n) => n !== t)), this.scheduleGc(), x(this, je).notify({
10118
+ W(this, xt, x(this, xt).filter((n) => n !== t)), this.scheduleGc(), x(this, Je).notify({
10119
10119
  type: "observerRemoved",
10120
10120
  mutation: this,
10121
10121
  observer: t
10122
10122
  });
10123
10123
  }
10124
10124
  optionalRemove() {
10125
- x(this, xt).length || (this.state.status === "pending" ? this.scheduleGc() : x(this, je).remove(this));
10125
+ x(this, xt).length || (this.state.status === "pending" ? this.scheduleGc() : x(this, Je).remove(this));
10126
10126
  }
10127
10127
  continue() {
10128
10128
  var t;
@@ -10133,54 +10133,54 @@ var Ct, hs, Uh = (hs = class extends dr {
10133
10133
  var i, o, a, s, l, u, c, d, f, p, b, g, I, v, E, A, S, k, C, V;
10134
10134
  W(this, ln, hl({
10135
10135
  fn: () => this.options.mutationFn ? this.options.mutationFn(t) : Promise.reject(new Error("No mutationFn found")),
10136
- onFail: (F, T) => {
10137
- ue(this, At, zt).call(this, { type: "failed", failureCount: F, error: T });
10136
+ onFail: (F, O) => {
10137
+ le(this, At, zt).call(this, { type: "failed", failureCount: F, error: O });
10138
10138
  },
10139
10139
  onPause: () => {
10140
- ue(this, At, zt).call(this, { type: "pause" });
10140
+ le(this, At, zt).call(this, { type: "pause" });
10141
10141
  },
10142
10142
  onContinue: () => {
10143
- ue(this, At, zt).call(this, { type: "continue" });
10143
+ le(this, At, zt).call(this, { type: "continue" });
10144
10144
  },
10145
10145
  retry: this.options.retry ?? 0,
10146
10146
  retryDelay: this.options.retryDelay,
10147
10147
  networkMode: this.options.networkMode,
10148
- canRun: () => x(this, je).canRun(this)
10148
+ canRun: () => x(this, Je).canRun(this)
10149
10149
  }));
10150
10150
  const n = this.state.status === "pending", r = !x(this, ln).canStart();
10151
10151
  try {
10152
10152
  if (!n) {
10153
- ue(this, At, zt).call(this, { type: "pending", variables: t, isPaused: r }), await ((o = (i = x(this, je).config).onMutate) == null ? void 0 : o.call(
10153
+ le(this, At, zt).call(this, { type: "pending", variables: t, isPaused: r }), await ((o = (i = x(this, Je).config).onMutate) == null ? void 0 : o.call(
10154
10154
  i,
10155
10155
  t,
10156
10156
  this
10157
10157
  ));
10158
- const T = await ((s = (a = this.options).onMutate) == null ? void 0 : s.call(a, t));
10159
- T !== this.state.context && ue(this, At, zt).call(this, {
10158
+ const O = await ((s = (a = this.options).onMutate) == null ? void 0 : s.call(a, t));
10159
+ O !== this.state.context && le(this, At, zt).call(this, {
10160
10160
  type: "pending",
10161
- context: T,
10161
+ context: O,
10162
10162
  variables: t,
10163
10163
  isPaused: r
10164
10164
  });
10165
10165
  }
10166
10166
  const F = await x(this, ln).start();
10167
- return await ((u = (l = x(this, je).config).onSuccess) == null ? void 0 : u.call(
10167
+ return await ((u = (l = x(this, Je).config).onSuccess) == null ? void 0 : u.call(
10168
10168
  l,
10169
10169
  F,
10170
10170
  t,
10171
10171
  this.state.context,
10172
10172
  this
10173
- )), await ((d = (c = this.options).onSuccess) == null ? void 0 : d.call(c, F, t, this.state.context)), await ((p = (f = x(this, je).config).onSettled) == null ? void 0 : p.call(
10173
+ )), await ((d = (c = this.options).onSuccess) == null ? void 0 : d.call(c, F, t, this.state.context)), await ((p = (f = x(this, Je).config).onSettled) == null ? void 0 : p.call(
10174
10174
  f,
10175
10175
  F,
10176
10176
  null,
10177
10177
  this.state.variables,
10178
10178
  this.state.context,
10179
10179
  this
10180
- )), await ((g = (b = this.options).onSettled) == null ? void 0 : g.call(b, F, null, t, this.state.context)), ue(this, At, zt).call(this, { type: "success", data: F }), F;
10180
+ )), await ((g = (b = this.options).onSettled) == null ? void 0 : g.call(b, F, null, t, this.state.context)), le(this, At, zt).call(this, { type: "success", data: F }), F;
10181
10181
  } catch (F) {
10182
10182
  try {
10183
- throw await ((v = (I = x(this, je).config).onError) == null ? void 0 : v.call(
10183
+ throw await ((v = (I = x(this, Je).config).onError) == null ? void 0 : v.call(
10184
10184
  I,
10185
10185
  F,
10186
10186
  t,
@@ -10191,7 +10191,7 @@ var Ct, hs, Uh = (hs = class extends dr {
10191
10191
  F,
10192
10192
  t,
10193
10193
  this.state.context
10194
- )), await ((k = (S = x(this, je).config).onSettled) == null ? void 0 : k.call(
10194
+ )), await ((k = (S = x(this, Je).config).onSettled) == null ? void 0 : k.call(
10195
10195
  S,
10196
10196
  void 0,
10197
10197
  F,
@@ -10206,13 +10206,13 @@ var Ct, hs, Uh = (hs = class extends dr {
10206
10206
  this.state.context
10207
10207
  )), F;
10208
10208
  } finally {
10209
- ue(this, At, zt).call(this, { type: "error", error: F });
10209
+ le(this, At, zt).call(this, { type: "error", error: F });
10210
10210
  }
10211
10211
  } finally {
10212
- x(this, je).runNext(this);
10212
+ x(this, Je).runNext(this);
10213
10213
  }
10214
10214
  }
10215
- }, xt = new WeakMap(), je = new WeakMap(), ln = new WeakMap(), At = new WeakSet(), zt = function(t) {
10215
+ }, xt = new WeakMap(), Je = new WeakMap(), ln = new WeakMap(), At = new WeakSet(), zt = function(t) {
10216
10216
  const n = (r) => {
10217
10217
  switch (t.type) {
10218
10218
  case "failed":
@@ -10269,7 +10269,7 @@ var Ct, hs, Uh = (hs = class extends dr {
10269
10269
  this.state = n(this.state), Ne.batch(() => {
10270
10270
  x(this, xt).forEach((r) => {
10271
10271
  r.onMutationUpdate(t);
10272
- }), x(this, je).notify({
10272
+ }), x(this, Je).notify({
10273
10273
  mutation: this,
10274
10274
  type: "updated",
10275
10275
  action: t
@@ -10358,7 +10358,7 @@ var nt, or, ms, $h = (ms = class extends dr {
10358
10358
  const t = this.getAll().filter((n) => n.state.isPaused);
10359
10359
  return Ne.batch(
10360
10360
  () => Promise.all(
10361
- t.map((n) => n.continue().catch(ut))
10361
+ t.map((n) => n.continue().catch(ct))
10362
10362
  )
10363
10363
  );
10364
10364
  }
@@ -10396,10 +10396,10 @@ function Da(e) {
10396
10396
  I(C);
10397
10397
  const V = await v(
10398
10398
  C
10399
- ), { maxPages: F } = t.options, T = k ? zh : Hh;
10399
+ ), { maxPages: F } = t.options, O = k ? zh : Hh;
10400
10400
  return {
10401
- pages: T(A.pages, V, F),
10402
- pageParams: T(A.pageParams, S, F)
10401
+ pages: O(A.pages, V, F),
10402
+ pageParams: O(A.pageParams, S, F)
10403
10403
  };
10404
10404
  };
10405
10405
  if (i && o.length) {
@@ -10538,7 +10538,7 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10538
10538
  const n = { revert: !0, ...t }, r = Ne.batch(
10539
10539
  () => x(this, Pe).findAll(e).map((i) => i.cancel(n))
10540
10540
  );
10541
- return Promise.all(r).then(ut).catch(ut);
10541
+ return Promise.all(r).then(ct).catch(ct);
10542
10542
  }
10543
10543
  invalidateQueries(e = {}, t = {}) {
10544
10544
  return Ne.batch(() => {
@@ -10560,10 +10560,10 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10560
10560
  }, r = Ne.batch(
10561
10561
  () => x(this, Pe).findAll(e).filter((i) => !i.isDisabled()).map((i) => {
10562
10562
  let o = i.fetch(void 0, n);
10563
- return n.throwOnError || (o = o.catch(ut)), i.state.fetchStatus === "paused" ? Promise.resolve() : o;
10563
+ return n.throwOnError || (o = o.catch(ct)), i.state.fetchStatus === "paused" ? Promise.resolve() : o;
10564
10564
  })
10565
10565
  );
10566
- return Promise.all(r).then(ut);
10566
+ return Promise.all(r).then(ct);
10567
10567
  }
10568
10568
  fetchQuery(e) {
10569
10569
  const t = this.defaultQueryOptions(e);
@@ -10574,13 +10574,13 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10574
10574
  ) ? n.fetch(t) : Promise.resolve(n.state.data);
10575
10575
  }
10576
10576
  prefetchQuery(e) {
10577
- return this.fetchQuery(e).then(ut).catch(ut);
10577
+ return this.fetchQuery(e).then(ct).catch(ct);
10578
10578
  }
10579
10579
  fetchInfiniteQuery(e) {
10580
10580
  return e.behavior = Da(e.pages), this.fetchQuery(e);
10581
10581
  }
10582
10582
  prefetchInfiniteQuery(e) {
10583
- return this.fetchInfiniteQuery(e).then(ut).catch(ut);
10583
+ return this.fetchInfiniteQuery(e).then(ct).catch(ct);
10584
10584
  }
10585
10585
  ensureInfiniteQueryData(e) {
10586
10586
  return e.behavior = Da(e.pages), this.ensureQueryData(e);
@@ -10651,14 +10651,14 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10651
10651
  clear() {
10652
10652
  x(this, Pe).clear(), x(this, jt).clear();
10653
10653
  }
10654
- }, Pe = new WeakMap(), jt = new WeakMap(), Jt = new WeakMap(), Rn = new WeakMap(), Gn = new WeakMap(), Yt = new WeakMap(), Bn = new WeakMap(), Tn = new WeakMap(), bs), $e, ce, ar, Je, un, On, _t, wt, sr, Vn, Dn, cn, dn, Ut, Nn, ye, Un, Xi, Hi, zi, Wi, Zi, ji, Ji, bl, ys, tg = (ys = class extends dr {
10654
+ }, Pe = new WeakMap(), jt = new WeakMap(), Jt = new WeakMap(), Rn = new WeakMap(), Gn = new WeakMap(), Yt = new WeakMap(), Bn = new WeakMap(), Tn = new WeakMap(), bs), $e, ue, ar, Ye, un, On, _t, wt, sr, Vn, Dn, cn, dn, Ut, Nn, ye, Un, Xi, Hi, zi, Wi, Zi, ji, Ji, bl, ys, tg = (ys = class extends dr {
10655
10655
  constructor(t, n) {
10656
10656
  super();
10657
10657
  $(this, ye);
10658
10658
  $(this, $e);
10659
- $(this, ce);
10659
+ $(this, ue);
10660
10660
  $(this, ar);
10661
- $(this, Je);
10661
+ $(this, Ye);
10662
10662
  $(this, un);
10663
10663
  $(this, On);
10664
10664
  $(this, _t);
@@ -10680,55 +10680,55 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10680
10680
  this.refetch = this.refetch.bind(this);
10681
10681
  }
10682
10682
  onSubscribe() {
10683
- this.listeners.size === 1 && (x(this, ce).addObserver(this), La(x(this, ce), this.options) ? ue(this, ye, Un).call(this) : this.updateResult(), ue(this, ye, Wi).call(this));
10683
+ this.listeners.size === 1 && (x(this, ue).addObserver(this), La(x(this, ue), this.options) ? le(this, ye, Un).call(this) : this.updateResult(), le(this, ye, Wi).call(this));
10684
10684
  }
10685
10685
  onUnsubscribe() {
10686
10686
  this.hasListeners() || this.destroy();
10687
10687
  }
10688
10688
  shouldFetchOnReconnect() {
10689
10689
  return Yi(
10690
- x(this, ce),
10690
+ x(this, ue),
10691
10691
  this.options,
10692
10692
  this.options.refetchOnReconnect
10693
10693
  );
10694
10694
  }
10695
10695
  shouldFetchOnWindowFocus() {
10696
10696
  return Yi(
10697
- x(this, ce),
10697
+ x(this, ue),
10698
10698
  this.options,
10699
10699
  this.options.refetchOnWindowFocus
10700
10700
  );
10701
10701
  }
10702
10702
  destroy() {
10703
- this.listeners = /* @__PURE__ */ new Set(), ue(this, ye, Zi).call(this), ue(this, ye, ji).call(this), x(this, ce).removeObserver(this);
10703
+ this.listeners = /* @__PURE__ */ new Set(), le(this, ye, Zi).call(this), le(this, ye, ji).call(this), x(this, ue).removeObserver(this);
10704
10704
  }
10705
10705
  setOptions(t, n) {
10706
- const r = this.options, i = x(this, ce);
10707
- if (this.options = x(this, $e).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof bt(this.options.enabled, x(this, ce)) != "boolean")
10706
+ const r = this.options, i = x(this, ue);
10707
+ if (this.options = x(this, $e).defaultQueryOptions(t), this.options.enabled !== void 0 && typeof this.options.enabled != "boolean" && typeof this.options.enabled != "function" && typeof bt(this.options.enabled, x(this, ue)) != "boolean")
10708
10708
  throw new Error(
10709
10709
  "Expected enabled to be a boolean or a callback that returns a boolean"
10710
10710
  );
10711
- ue(this, ye, Ji).call(this), x(this, ce).setOptions(this.options), r._defaulted && !Di(this.options, r) && x(this, $e).getQueryCache().notify({
10711
+ le(this, ye, Ji).call(this), x(this, ue).setOptions(this.options), r._defaulted && !Di(this.options, r) && x(this, $e).getQueryCache().notify({
10712
10712
  type: "observerOptionsUpdated",
10713
- query: x(this, ce),
10713
+ query: x(this, ue),
10714
10714
  observer: this
10715
10715
  });
10716
10716
  const o = this.hasListeners();
10717
10717
  o && Ma(
10718
- x(this, ce),
10718
+ x(this, ue),
10719
10719
  i,
10720
10720
  this.options,
10721
10721
  r
10722
- ) && ue(this, ye, Un).call(this), this.updateResult(n), o && (x(this, ce) !== i || bt(this.options.enabled, x(this, ce)) !== bt(r.enabled, x(this, ce)) || An(this.options.staleTime, x(this, ce)) !== An(r.staleTime, x(this, ce))) && ue(this, ye, Xi).call(this);
10723
- const a = ue(this, ye, Hi).call(this);
10724
- o && (x(this, ce) !== i || bt(this.options.enabled, x(this, ce)) !== bt(r.enabled, x(this, ce)) || a !== x(this, Ut)) && ue(this, ye, zi).call(this, a);
10722
+ ) && le(this, ye, Un).call(this), this.updateResult(n), o && (x(this, ue) !== i || bt(this.options.enabled, x(this, ue)) !== bt(r.enabled, x(this, ue)) || An(this.options.staleTime, x(this, ue)) !== An(r.staleTime, x(this, ue))) && le(this, ye, Xi).call(this);
10723
+ const a = le(this, ye, Hi).call(this);
10724
+ o && (x(this, ue) !== i || bt(this.options.enabled, x(this, ue)) !== bt(r.enabled, x(this, ue)) || a !== x(this, Ut)) && le(this, ye, zi).call(this, a);
10725
10725
  }
10726
10726
  getOptimisticResult(t) {
10727
10727
  const n = x(this, $e).getQueryCache().build(x(this, $e), t), r = this.createResult(n, t);
10728
- return rg(this, r) && (W(this, Je, r), W(this, On, this.options), W(this, un, x(this, ce).state)), r;
10728
+ return rg(this, r) && (W(this, Ye, r), W(this, On, this.options), W(this, un, x(this, ue).state)), r;
10729
10729
  }
10730
10730
  getCurrentResult() {
10731
- return x(this, Je);
10731
+ return x(this, Ye);
10732
10732
  }
10733
10733
  trackResult(t, n) {
10734
10734
  const r = {};
@@ -10744,7 +10744,7 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10744
10744
  x(this, Nn).add(t);
10745
10745
  }
10746
10746
  getCurrentQuery() {
10747
- return x(this, ce);
10747
+ return x(this, ue);
10748
10748
  }
10749
10749
  refetch({ ...t } = {}) {
10750
10750
  return this.fetch({
@@ -10756,18 +10756,18 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10756
10756
  return r.fetch().then(() => this.createResult(r, n));
10757
10757
  }
10758
10758
  fetch(t) {
10759
- return ue(this, ye, Un).call(this, {
10759
+ return le(this, ye, Un).call(this, {
10760
10760
  ...t,
10761
10761
  cancelRefetch: t.cancelRefetch ?? !0
10762
- }).then(() => (this.updateResult(), x(this, Je)));
10762
+ }).then(() => (this.updateResult(), x(this, Ye)));
10763
10763
  }
10764
10764
  createResult(t, n) {
10765
10765
  var F;
10766
- const r = x(this, ce), i = this.options, o = x(this, Je), a = x(this, un), s = x(this, On), u = t !== r ? t.state : x(this, ar), { state: c } = t;
10766
+ const r = x(this, ue), i = this.options, o = x(this, Ye), a = x(this, un), s = x(this, On), u = t !== r ? t.state : x(this, ar), { state: c } = t;
10767
10767
  let d = { ...c }, f = !1, p;
10768
10768
  if (n._optimisticResults) {
10769
- const T = this.hasListeners(), B = !T && La(t, n), G = T && Ma(t, r, n, i);
10770
- (B || G) && (d = {
10769
+ const O = this.hasListeners(), T = !O && La(t, n), B = O && Ma(t, r, n, i);
10770
+ (T || B) && (d = {
10771
10771
  ...d,
10772
10772
  ...ml(c.data, t.options)
10773
10773
  }), n._optimisticResults === "isRestoring" && (d.fetchStatus = "idle");
@@ -10779,27 +10779,27 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10779
10779
  else
10780
10780
  try {
10781
10781
  W(this, sr, n.select), p = n.select(d.data), p = Li(o == null ? void 0 : o.data, p, n), W(this, Vn, p), W(this, wt, null);
10782
- } catch (T) {
10783
- W(this, wt, T);
10782
+ } catch (O) {
10783
+ W(this, wt, O);
10784
10784
  }
10785
10785
  else
10786
10786
  p = d.data;
10787
10787
  if (n.placeholderData !== void 0 && p === void 0 && I === "pending") {
10788
- let T;
10788
+ let O;
10789
10789
  if (o != null && o.isPlaceholderData && n.placeholderData === (s == null ? void 0 : s.placeholderData))
10790
- T = o.data;
10791
- else if (T = typeof n.placeholderData == "function" ? n.placeholderData(
10790
+ O = o.data;
10791
+ else if (O = typeof n.placeholderData == "function" ? n.placeholderData(
10792
10792
  (F = x(this, Dn)) == null ? void 0 : F.state.data,
10793
10793
  x(this, Dn)
10794
- ) : n.placeholderData, n.select && T !== void 0)
10794
+ ) : n.placeholderData, n.select && O !== void 0)
10795
10795
  try {
10796
- T = n.select(T), W(this, wt, null);
10797
- } catch (B) {
10798
- W(this, wt, B);
10796
+ O = n.select(O), W(this, wt, null);
10797
+ } catch (T) {
10798
+ W(this, wt, T);
10799
10799
  }
10800
- T !== void 0 && (I = "success", p = Li(
10800
+ O !== void 0 && (I = "success", p = Li(
10801
10801
  o == null ? void 0 : o.data,
10802
- T,
10802
+ O,
10803
10803
  n
10804
10804
  ), f = !0);
10805
10805
  }
@@ -10832,31 +10832,31 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10832
10832
  promise: x(this, _t)
10833
10833
  };
10834
10834
  if (this.options.experimental_prefetchInRender) {
10835
- const T = (O) => {
10836
- V.status === "error" ? O.reject(V.error) : V.data !== void 0 && O.resolve(V.data);
10837
- }, B = () => {
10838
- const O = W(this, _t, V.promise = Mi());
10839
- T(O);
10840
- }, G = x(this, _t);
10841
- switch (G.status) {
10835
+ const O = (G) => {
10836
+ V.status === "error" ? G.reject(V.error) : V.data !== void 0 && G.resolve(V.data);
10837
+ }, T = () => {
10838
+ const G = W(this, _t, V.promise = Mi());
10839
+ O(G);
10840
+ }, B = x(this, _t);
10841
+ switch (B.status) {
10842
10842
  case "pending":
10843
- t.queryHash === r.queryHash && T(G);
10843
+ t.queryHash === r.queryHash && O(B);
10844
10844
  break;
10845
10845
  case "fulfilled":
10846
- (V.status === "error" || V.data !== G.value) && B();
10846
+ (V.status === "error" || V.data !== B.value) && T();
10847
10847
  break;
10848
10848
  case "rejected":
10849
- (V.status !== "error" || V.error !== G.reason) && B();
10849
+ (V.status !== "error" || V.error !== B.reason) && T();
10850
10850
  break;
10851
10851
  }
10852
10852
  }
10853
10853
  return V;
10854
10854
  }
10855
10855
  updateResult(t) {
10856
- const n = x(this, Je), r = this.createResult(x(this, ce), this.options);
10857
- if (W(this, un, x(this, ce).state), W(this, On, this.options), x(this, un).data !== void 0 && W(this, Dn, x(this, ce)), Di(r, n))
10856
+ const n = x(this, Ye), r = this.createResult(x(this, ue), this.options);
10857
+ if (W(this, un, x(this, ue).state), W(this, On, this.options), x(this, un).data !== void 0 && W(this, Dn, x(this, ue)), Di(r, n))
10858
10858
  return;
10859
- W(this, Je, r);
10859
+ W(this, Ye, r);
10860
10860
  const i = {}, o = () => {
10861
10861
  if (!n)
10862
10862
  return !0;
@@ -10866,59 +10866,59 @@ var Pe, jt, Jt, Rn, Gn, Yt, Bn, Tn, bs, eg = (bs = class {
10866
10866
  const l = new Set(
10867
10867
  s ?? x(this, Nn)
10868
10868
  );
10869
- return this.options.throwOnError && l.add("error"), Object.keys(x(this, Je)).some((u) => {
10869
+ return this.options.throwOnError && l.add("error"), Object.keys(x(this, Ye)).some((u) => {
10870
10870
  const c = u;
10871
- return x(this, Je)[c] !== n[c] && l.has(c);
10871
+ return x(this, Ye)[c] !== n[c] && l.has(c);
10872
10872
  });
10873
10873
  };
10874
- (t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), ue(this, ye, bl).call(this, { ...i, ...t });
10874
+ (t == null ? void 0 : t.listeners) !== !1 && o() && (i.listeners = !0), le(this, ye, bl).call(this, { ...i, ...t });
10875
10875
  }
10876
10876
  onQueryUpdate() {
10877
- this.updateResult(), this.hasListeners() && ue(this, ye, Wi).call(this);
10877
+ this.updateResult(), this.hasListeners() && le(this, ye, Wi).call(this);
10878
10878
  }
10879
- }, $e = new WeakMap(), ce = new WeakMap(), ar = new WeakMap(), Je = new WeakMap(), un = new WeakMap(), On = new WeakMap(), _t = new WeakMap(), wt = new WeakMap(), sr = new WeakMap(), Vn = new WeakMap(), Dn = new WeakMap(), cn = new WeakMap(), dn = new WeakMap(), Ut = new WeakMap(), Nn = new WeakMap(), ye = new WeakSet(), Un = function(t) {
10880
- ue(this, ye, Ji).call(this);
10881
- let n = x(this, ce).fetch(
10879
+ }, $e = new WeakMap(), ue = new WeakMap(), ar = new WeakMap(), Ye = new WeakMap(), un = new WeakMap(), On = new WeakMap(), _t = new WeakMap(), wt = new WeakMap(), sr = new WeakMap(), Vn = new WeakMap(), Dn = new WeakMap(), cn = new WeakMap(), dn = new WeakMap(), Ut = new WeakMap(), Nn = new WeakMap(), ye = new WeakSet(), Un = function(t) {
10880
+ le(this, ye, Ji).call(this);
10881
+ let n = x(this, ue).fetch(
10882
10882
  this.options,
10883
10883
  t
10884
10884
  );
10885
- return t != null && t.throwOnError || (n = n.catch(ut)), n;
10885
+ return t != null && t.throwOnError || (n = n.catch(ct)), n;
10886
10886
  }, Xi = function() {
10887
- ue(this, ye, Zi).call(this);
10887
+ le(this, ye, Zi).call(this);
10888
10888
  const t = An(
10889
10889
  this.options.staleTime,
10890
- x(this, ce)
10890
+ x(this, ue)
10891
10891
  );
10892
- if (pn || x(this, Je).isStale || !Oi(t))
10892
+ if (pn || x(this, Ye).isStale || !Oi(t))
10893
10893
  return;
10894
- const r = cl(x(this, Je).dataUpdatedAt, t) + 1;
10894
+ const r = cl(x(this, Ye).dataUpdatedAt, t) + 1;
10895
10895
  W(this, cn, setTimeout(() => {
10896
- x(this, Je).isStale || this.updateResult();
10896
+ x(this, Ye).isStale || this.updateResult();
10897
10897
  }, r));
10898
10898
  }, Hi = function() {
10899
- return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(x(this, ce)) : this.options.refetchInterval) ?? !1;
10899
+ return (typeof this.options.refetchInterval == "function" ? this.options.refetchInterval(x(this, ue)) : this.options.refetchInterval) ?? !1;
10900
10900
  }, zi = function(t) {
10901
- ue(this, ye, ji).call(this), W(this, Ut, t), !(pn || bt(this.options.enabled, x(this, ce)) === !1 || !Oi(x(this, Ut)) || x(this, Ut) === 0) && W(this, dn, setInterval(() => {
10902
- (this.options.refetchIntervalInBackground || bo.isFocused()) && ue(this, ye, Un).call(this);
10901
+ le(this, ye, ji).call(this), W(this, Ut, t), !(pn || bt(this.options.enabled, x(this, ue)) === !1 || !Oi(x(this, Ut)) || x(this, Ut) === 0) && W(this, dn, setInterval(() => {
10902
+ (this.options.refetchIntervalInBackground || bo.isFocused()) && le(this, ye, Un).call(this);
10903
10903
  }, x(this, Ut)));
10904
10904
  }, Wi = function() {
10905
- ue(this, ye, Xi).call(this), ue(this, ye, zi).call(this, ue(this, ye, Hi).call(this));
10905
+ le(this, ye, Xi).call(this), le(this, ye, zi).call(this, le(this, ye, Hi).call(this));
10906
10906
  }, Zi = function() {
10907
10907
  x(this, cn) && (clearTimeout(x(this, cn)), W(this, cn, void 0));
10908
10908
  }, ji = function() {
10909
10909
  x(this, dn) && (clearInterval(x(this, dn)), W(this, dn, void 0));
10910
10910
  }, Ji = function() {
10911
10911
  const t = x(this, $e).getQueryCache().build(x(this, $e), this.options);
10912
- if (t === x(this, ce))
10912
+ if (t === x(this, ue))
10913
10913
  return;
10914
- const n = x(this, ce);
10915
- W(this, ce, t), W(this, ar, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
10914
+ const n = x(this, ue);
10915
+ W(this, ue, t), W(this, ar, t.state), this.hasListeners() && (n == null || n.removeObserver(this), t.addObserver(this));
10916
10916
  }, bl = function(t) {
10917
10917
  Ne.batch(() => {
10918
10918
  t.listeners && this.listeners.forEach((n) => {
10919
- n(x(this, Je));
10919
+ n(x(this, Ye));
10920
10920
  }), x(this, $e).getQueryCache().notify({
10921
- query: x(this, ce),
10921
+ query: x(this, ue),
10922
10922
  type: "observerResultsUpdated"
10923
10923
  });
10924
10924
  });
@@ -10945,19 +10945,19 @@ function yo(e, t) {
10945
10945
  function rg(e, t) {
10946
10946
  return !Di(e.getCurrentResult(), t);
10947
10947
  }
10948
- var yl = ee.createContext(
10948
+ var yl = te.createContext(
10949
10949
  void 0
10950
10950
  ), ig = (e) => {
10951
- const t = ee.useContext(yl);
10951
+ const t = te.useContext(yl);
10952
10952
  if (!t)
10953
10953
  throw new Error("No QueryClient set, use QueryClientProvider to set one");
10954
10954
  return t;
10955
10955
  }, og = ({
10956
10956
  client: e,
10957
10957
  children: t
10958
- }) => (ee.useEffect(() => (e.mount(), () => {
10958
+ }) => (te.useEffect(() => (e.mount(), () => {
10959
10959
  e.unmount();
10960
- }), [e]), /* @__PURE__ */ L(yl.Provider, { value: e, children: t })), vl = ee.createContext(!1), ag = () => ee.useContext(vl);
10960
+ }), [e]), /* @__PURE__ */ M(yl.Provider, { value: e, children: t })), vl = te.createContext(!1), ag = () => te.useContext(vl);
10961
10961
  vl.Provider;
10962
10962
  function sg() {
10963
10963
  let e = !1;
@@ -10971,7 +10971,7 @@ function sg() {
10971
10971
  isReset: () => e
10972
10972
  };
10973
10973
  }
10974
- var lg = ee.createContext(sg()), ug = () => ee.useContext(lg);
10974
+ var lg = te.createContext(sg()), ug = () => te.useContext(lg);
10975
10975
  function cg(e, t) {
10976
10976
  return typeof e == "function" ? e(...t) : !!e;
10977
10977
  }
@@ -10980,7 +10980,7 @@ function Xa() {
10980
10980
  var dg = (e, t) => {
10981
10981
  (e.suspense || e.throwOnError || e.experimental_prefetchInRender) && (t.isReset() || (e.retryOnMount = !1));
10982
10982
  }, pg = (e) => {
10983
- ee.useEffect(() => {
10983
+ te.useEffect(() => {
10984
10984
  e.clearReset();
10985
10985
  }, [e]);
10986
10986
  }, fg = ({
@@ -11004,14 +11004,14 @@ function bg(e, t, n) {
11004
11004
  c,
11005
11005
  a
11006
11006
  ), a._optimisticResults = i ? "isRestoring" : "optimistic", hg(a), dg(a, o), pg(o);
11007
- const s = !r.getQueryCache().get(a.queryHash), [l] = ee.useState(
11007
+ const s = !r.getQueryCache().get(a.queryHash), [l] = te.useState(
11008
11008
  () => new t(
11009
11009
  r,
11010
11010
  a
11011
11011
  )
11012
11012
  ), u = l.getOptimisticResult(a);
11013
- if (ee.useSyncExternalStore(
11014
- ee.useCallback(
11013
+ if (te.useSyncExternalStore(
11014
+ te.useCallback(
11015
11015
  (g) => {
11016
11016
  const I = i ? Xa : l.subscribe(Ne.batchCalls(g));
11017
11017
  return l.updateResult(), I;
@@ -11020,7 +11020,7 @@ function bg(e, t, n) {
11020
11020
  ),
11021
11021
  () => l.getCurrentResult(),
11022
11022
  () => l.getCurrentResult()
11023
- ), ee.useEffect(() => {
11023
+ ), te.useEffect(() => {
11024
11024
  l.setOptions(a, { listeners: !1 });
11025
11025
  }, [a, l]), mg(a, u))
11026
11026
  throw Ha(a, l, o);
@@ -11071,7 +11071,7 @@ const Il = lr(
11071
11071
  }
11072
11072
  }
11073
11073
  });
11074
- return /* @__PURE__ */ L(og, { client: n, children: /* @__PURE__ */ L(Il.Provider, { value: t, children: e }) });
11074
+ return /* @__PURE__ */ M(og, { client: n, children: /* @__PURE__ */ M(Il.Provider, { value: t, children: e }) });
11075
11075
  };
11076
11076
  function Cl(e) {
11077
11077
  return typeof e == "object" && e && "__lv" in e ? e.__lv.value : e;
@@ -11214,33 +11214,33 @@ const Pr = [
11214
11214
  k,
11215
11215
  C
11216
11216
  ] = me({});
11217
- Ye(() => {
11217
+ We(() => {
11218
11218
  C({});
11219
11219
  }, [
11220
11220
  i.key
11221
11221
  ]);
11222
- const V = (M) => k[M.name];
11222
+ const V = (L) => k[L.name];
11223
11223
  let F = o || {};
11224
- const [
11225
- T,
11226
- B
11227
- ] = me(F), G = t.onUpdateConfiguredProps || B;
11228
- t.onUpdateConfiguredProps || (F = T);
11229
11224
  const [
11230
11225
  O,
11226
+ T
11227
+ ] = me(F), B = t.onUpdateConfiguredProps || T;
11228
+ t.onUpdateConfiguredProps || (F = O);
11229
+ const [
11230
+ G,
11231
11231
  _
11232
11232
  ] = me(), [
11233
- te,
11233
+ ee,
11234
11234
  X
11235
11235
  ] = me(), J = {
11236
11236
  userId: s,
11237
11237
  componentId: c,
11238
11238
  configuredProps: F,
11239
- dynamicPropsId: O == null ? void 0 : O.id
11239
+ dynamicPropsId: G == null ? void 0 : G.id
11240
11240
  }, se = {
11241
11241
  ...J
11242
11242
  }, {
11243
- isFetching: de
11243
+ isFetching: ce
11244
11244
  // TODO error
11245
11245
  } = gn({
11246
11246
  queryKey: [
@@ -11249,148 +11249,154 @@ const Pr = [
11249
11249
  ],
11250
11250
  queryFn: async () => {
11251
11251
  var Be;
11252
- const M = await n.reloadComponentProps(J), {
11252
+ const L = await n.reloadComponentProps(J), {
11253
11253
  dynamicProps: z,
11254
11254
  observations: U,
11255
- errors: ge
11256
- } = M;
11257
- return U && U.filter((Me) => Me.k === "error").length > 0 ? ot(U) : ot(ge), z && ((Be = t.onUpdateDynamicProps) == null || Be.call(t, z), _(z)), X(void 0), [];
11255
+ errors: pe
11256
+ } = L;
11257
+ return U && U.filter((Me) => Me.k === "error").length > 0 ? at(U) : at(pe), z && ((Be = t.onUpdateDynamicProps) == null || Be.call(t, z), _(z)), X(void 0), [];
11258
11258
  },
11259
- enabled: te != null
11259
+ enabled: ee != null
11260
11260
  // TODO or props.dynamicPropsId && !dynamicProps
11261
11261
  }), [
11262
11262
  ve,
11263
11263
  y
11264
11264
  ] = me([]);
11265
- Ye(() => {
11265
+ We(() => {
11266
11266
  Ue();
11267
11267
  }, [
11268
11268
  F
11269
11269
  ]);
11270
- let le = (O == null ? void 0 : O.configurableProps) || t.component.configurable_props || [];
11271
- if (a != null && a.length) {
11272
- const M = [];
11273
- for (const z of le)
11274
- a.findIndex((U) => z.name === U) >= 0 && M.push(z);
11275
- le = M;
11276
- }
11277
- te != null && (le = le.slice(0, te + 1));
11278
- const ie = (M, z) => {
11270
+ const fe = rt(() => {
11271
+ let L = (G == null ? void 0 : G.configurableProps) || t.component.configurable_props || [];
11272
+ if (a != null && a.length) {
11273
+ const z = [];
11274
+ for (const U of L)
11275
+ a.findIndex((pe) => U.name === pe) >= 0 && z.push(U);
11276
+ L = z;
11277
+ }
11278
+ return ee != null && (L = Array.isArray(L) ? L.slice(0, ee + 1) : L), L;
11279
+ }, [
11280
+ G == null ? void 0 : G.configurableProps,
11281
+ t.component.configurable_props,
11282
+ a,
11283
+ ee
11284
+ ]), ie = (L, z) => {
11279
11285
  const U = [];
11280
- if (M.optional || M.hidden || M.disabled || Pr.includes(M.type)) return [];
11281
- if (M.type === "app") {
11282
- const ge = p[M.name];
11283
- if (ge) {
11284
- const Be = ge.extra.app;
11286
+ if (L.optional || L.hidden || L.disabled || Pr.includes(L.type)) return [];
11287
+ if (L.type === "app") {
11288
+ const pe = p[L.name];
11289
+ if (pe) {
11290
+ const Be = pe.extra.app;
11285
11291
  U.push(...wg({
11286
- prop: M,
11292
+ prop: L,
11287
11293
  value: z,
11288
11294
  app: Be
11289
11295
  }) ?? []);
11290
11296
  } else
11291
11297
  U.push("field not registered");
11292
- } else M.type === "boolean" ? U.push(...Ig({
11293
- prop: M,
11298
+ } else L.type === "boolean" ? U.push(...Ig({
11299
+ prop: L,
11294
11300
  value: z
11295
- }) ?? []) : M.type === "integer" ? U.push(...Cg({
11296
- prop: M,
11301
+ }) ?? []) : L.type === "integer" ? U.push(...Cg({
11302
+ prop: L,
11297
11303
  value: z
11298
- }) ?? []) : M.type === "string" ? U.push(...xg({
11299
- prop: M,
11304
+ }) ?? []) : L.type === "string" ? U.push(...xg({
11305
+ prop: L,
11300
11306
  value: z
11301
- }) ?? []) : M.type === "string[]" && U.push(...vg({
11302
- prop: M,
11307
+ }) ?? []) : L.type === "string[]" && U.push(...vg({
11308
+ prop: L,
11303
11309
  value: z
11304
11310
  }) ?? []);
11305
11311
  return U;
11306
- }, m = (M) => {
11312
+ }, m = (L) => {
11307
11313
  let z;
11308
- for (let U = 0; U < le.length; U++) {
11309
- const ge = le[U];
11310
- if (ge.hidden || ge.optional && !V(ge))
11314
+ for (let U = 0; U < fe.length; U++) {
11315
+ const pe = fe[U];
11316
+ if (pe.hidden || pe.optional && !V(pe))
11311
11317
  continue;
11312
- if (M[ge.name] === void 0 && z == null && (ge.type === "app" || ge.remoteOptions)) {
11318
+ if (L[pe.name] === void 0 && z == null && (pe.type === "app" || pe.remoteOptions)) {
11313
11319
  z = U;
11314
11320
  break;
11315
11321
  }
11316
11322
  }
11317
11323
  f(z);
11318
- }, he = (M) => {
11319
- G(M), m(M), K(M);
11320
- }, K = (M) => {
11324
+ }, ge = (L) => {
11325
+ B(L), m(L), K(L);
11326
+ }, K = (L) => {
11321
11327
  const z = {};
11322
- for (let U = 0; U < le.length; U++) {
11323
- const ge = le[U], Be = M[ge.name], Me = ie(ge, Be);
11324
- Me.length && (z[ge.name] = Me);
11328
+ for (let U = 0; U < fe.length; U++) {
11329
+ const pe = fe[U], Be = L[pe.name], Me = ie(pe, Be);
11330
+ Me.length && (z[pe.name] = Me);
11325
11331
  }
11326
11332
  E(z);
11327
11333
  };
11328
- Ye(() => {
11329
- m(T);
11334
+ We(() => {
11335
+ m(O);
11330
11336
  }, [
11331
- T
11332
- ]), Ye(() => {
11337
+ O
11338
+ ]), We(() => {
11333
11339
  K(F);
11334
11340
  }, [
11335
11341
  F,
11336
- te,
11342
+ ee,
11337
11343
  d
11338
- ]), Ye(() => {
11339
- ot(l);
11344
+ ]), We(() => {
11345
+ at(l);
11340
11346
  }, [
11341
11347
  l
11342
- ]), Ye(() => {
11343
- const M = {};
11344
- for (const z of le) {
11348
+ ]), We(() => {
11349
+ const L = {};
11350
+ for (const z of fe) {
11345
11351
  if (z.hidden || Pr.includes(z.type) || z.optional && !V(z))
11346
11352
  continue;
11347
11353
  const U = F[z.name];
11348
- U === void 0 ? "default" in z && z.default != null && (M[z.name] = z.default) : z.type === "integer" && typeof U != "number" ? delete M[z.name] : M[z.name] = U;
11354
+ U === void 0 ? "default" in z && z.default != null && (L[z.name] = z.default) : z.type === "integer" && typeof U != "number" ? delete L[z.name] : L[z.name] = U;
11349
11355
  }
11350
- Ga(M, F) || he(M);
11356
+ Ga(L, F) || ge(L);
11351
11357
  }, [
11352
- le
11358
+ fe
11353
11359
  ]);
11354
11360
  const [
11355
- pe,
11361
+ de,
11356
11362
  Oe
11357
11363
  ] = me(s);
11358
- Ye(() => {
11359
- pe !== s && (he({}), Oe(s));
11364
+ We(() => {
11365
+ de !== s && (ge({}), Oe(s));
11360
11366
  }, [
11361
11367
  s
11362
11368
  ]);
11363
- const fe = (M, z) => {
11364
- const U = le[M], ge = {
11369
+ const he = (L, z) => {
11370
+ const U = fe[L], pe = {
11365
11371
  ...F
11366
11372
  };
11367
- z === void 0 ? delete ge[U.name] : ge[U.name] = z, G(ge), U.reloadProps && X(M), (U.type === "app" || U.remoteOptions) && m(ge);
11373
+ z === void 0 ? delete pe[U.name] : pe[U.name] = z, B(pe), U.reloadProps && X(L), (U.type === "app" || U.remoteOptions) && m(pe);
11368
11374
  const Be = ie(U, z), Me = {
11369
11375
  ...v
11370
11376
  };
11371
11377
  Be.length ? Me[U.name] = Be : delete Me[U.name], E(Me);
11372
- }, Le = (M, z) => {
11378
+ }, Le = (L, z) => {
11373
11379
  const U = {
11374
11380
  ...k
11375
11381
  };
11376
- z ? U[M.name] = !0 : delete U[M.name];
11377
- const ge = le.findIndex((Be) => Be.name === M.name);
11378
- z ? (o == null ? void 0 : o[M.name]) !== void 0 ? fe(
11379
- ge,
11380
- o[M.name]
11381
- ) : "default" in M && M.default != null && fe(ge, M.default) : fe(ge, void 0), C(U);
11382
+ z ? U[L.name] = !0 : delete U[L.name];
11383
+ const pe = fe.findIndex((Be) => Be.name === L.name);
11384
+ z ? (o == null ? void 0 : o[L.name]) !== void 0 ? he(
11385
+ pe,
11386
+ o[L.name]
11387
+ ) : "default" in L && L.default != null && he(pe, L.default) : he(pe, void 0), C(U);
11382
11388
  }, Ue = () => {
11383
- const M = [];
11384
- for (const z of le) {
11389
+ const L = [];
11390
+ for (const z of fe) {
11385
11391
  if (!z || z.optional || z.hidden || Pr.includes(z.type)) continue;
11386
11392
  const U = F[z.name];
11387
- ie(z, U).length && M.push(z.name);
11393
+ ie(z, U).length && L.push(z.name);
11388
11394
  }
11389
- M && ve && Ga(M, ve) || y(M);
11390
- }, it = (M) => {
11391
- b((z) => (z[M.prop.name] = M, z)), Ue();
11392
- }, ot = (M) => {
11393
- if (!M) return;
11395
+ L && ve && Ga(L, ve) || y(L);
11396
+ }, ot = (L) => {
11397
+ b((z) => (z[L.prop.name] = L, z)), Ue();
11398
+ }, at = (L) => {
11399
+ if (!L) return;
11394
11400
  let z = [
11395
11401
  ...A
11396
11402
  ];
@@ -11403,7 +11409,7 @@ const Pr = [
11403
11409
  Se.name && Se.message && Ie.push(Se);
11404
11410
  } catch {
11405
11411
  }
11406
- }, ge = (Ee, Ie) => {
11412
+ }, pe = (Ee, Ie) => {
11407
11413
  const we = {
11408
11414
  name: Ee.name,
11409
11415
  message: Ee.message
@@ -11440,12 +11446,12 @@ const Pr = [
11440
11446
  } catch {
11441
11447
  }
11442
11448
  };
11443
- if (Array.isArray(M) && M.length > 0)
11444
- for (let Ee = 0; Ee < M.length; Ee++) {
11445
- const Ie = M[Ee];
11446
- typeof Ie == "string" ? U(Ie, z) : typeof Ie == "object" && "name" in Ie && "message" in Ie ? ge(Ie, z) : typeof Ie == "object" && Ie.k === "error" && Be(Ie, z);
11449
+ if (Array.isArray(L) && L.length > 0)
11450
+ for (let Ee = 0; Ee < L.length; Ee++) {
11451
+ const Ie = L[Ee];
11452
+ typeof Ie == "string" ? U(Ie, z) : typeof Ie == "object" && "name" in Ie && "message" in Ie ? pe(Ie, z) : typeof Ie == "object" && Ie.k === "error" && Be(Ie, z);
11447
11453
  }
11448
- else typeof M == "object" && "os" in M || "observations" in M ? Me(M, z) : typeof M == "object" && "message" in M ? Hn(M, z) : z = [];
11454
+ else typeof L == "object" && "os" in L || "observations" in L ? Me(L, z) : typeof L == "object" && "message" in L ? Hn(L, z) : z = [];
11449
11455
  S(z);
11450
11456
  }, Dt = {
11451
11457
  id: r,
@@ -11454,24 +11460,24 @@ const Pr = [
11454
11460
  props: t,
11455
11461
  userId: s,
11456
11462
  component: i,
11457
- configurableProps: le,
11463
+ configurableProps: fe,
11458
11464
  configuredProps: F,
11459
- dynamicProps: O,
11460
- dynamicPropsQueryIsFetching: de,
11465
+ dynamicProps: G,
11466
+ dynamicPropsQueryIsFetching: ce,
11461
11467
  errors: v,
11462
11468
  fields: p,
11463
11469
  optionalPropIsEnabled: V,
11464
11470
  optionalPropSetEnabled: Le,
11465
11471
  propsNeedConfiguring: ve,
11466
11472
  queryDisabledIdx: d,
11467
- registerField: it,
11468
- setConfiguredProp: fe,
11473
+ registerField: ot,
11474
+ setConfiguredProp: he,
11469
11475
  setSubmitting: I,
11470
11476
  submitting: g,
11471
11477
  sdkErrors: A,
11472
11478
  enableDebugging: u
11473
11479
  };
11474
- return /* @__PURE__ */ L(xl.Provider, { value: Dt, children: e });
11480
+ return /* @__PURE__ */ M(xl.Provider, { value: Dt, children: e });
11475
11481
  };
11476
11482
  function fn(e) {
11477
11483
  "@babel/helpers - typeof";
@@ -11587,22 +11593,22 @@ function kt(e, t) {
11587
11593
  }
11588
11594
  var Gg = ["defaultInputValue", "defaultMenuIsOpen", "defaultValue", "inputValue", "menuIsOpen", "onChange", "onInputChange", "onMenuClose", "onMenuOpen", "value"];
11589
11595
  function Sl(e) {
11590
- var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, s = e.inputValue, l = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = kt(e, Gg), g = me(s !== void 0 ? s : n), I = Tt(g, 2), v = I[0], E = I[1], A = me(l !== void 0 ? l : i), S = Tt(A, 2), k = S[0], C = S[1], V = me(p !== void 0 ? p : a), F = Tt(V, 2), T = F[0], B = F[1], G = We(function(de, ve) {
11591
- typeof u == "function" && u(de, ve), B(de);
11592
- }, [u]), O = We(function(de, ve) {
11596
+ var t = e.defaultInputValue, n = t === void 0 ? "" : t, r = e.defaultMenuIsOpen, i = r === void 0 ? !1 : r, o = e.defaultValue, a = o === void 0 ? null : o, s = e.inputValue, l = e.menuIsOpen, u = e.onChange, c = e.onInputChange, d = e.onMenuClose, f = e.onMenuOpen, p = e.value, b = kt(e, Gg), g = me(s !== void 0 ? s : n), I = Tt(g, 2), v = I[0], E = I[1], A = me(l !== void 0 ? l : i), S = Tt(A, 2), k = S[0], C = S[1], V = me(p !== void 0 ? p : a), F = Tt(V, 2), O = F[0], T = F[1], B = Ze(function(ce, ve) {
11597
+ typeof u == "function" && u(ce, ve), T(ce);
11598
+ }, [u]), G = Ze(function(ce, ve) {
11593
11599
  var y;
11594
- typeof c == "function" && (y = c(de, ve)), E(y !== void 0 ? y : de);
11595
- }, [c]), _ = We(function() {
11600
+ typeof c == "function" && (y = c(ce, ve)), E(y !== void 0 ? y : ce);
11601
+ }, [c]), _ = Ze(function() {
11596
11602
  typeof f == "function" && f(), C(!0);
11597
- }, [f]), te = We(function() {
11603
+ }, [f]), ee = Ze(function() {
11598
11604
  typeof d == "function" && d(), C(!1);
11599
- }, [d]), X = s !== void 0 ? s : v, J = l !== void 0 ? l : k, se = p !== void 0 ? p : T;
11605
+ }, [d]), X = s !== void 0 ? s : v, J = l !== void 0 ? l : k, se = p !== void 0 ? p : O;
11600
11606
  return Z(Z({}, b), {}, {
11601
11607
  inputValue: X,
11602
11608
  menuIsOpen: J,
11603
- onChange: G,
11604
- onInputChange: O,
11605
- onMenuClose: te,
11609
+ onChange: B,
11610
+ onInputChange: G,
11611
+ onMenuClose: ee,
11606
11612
  onMenuOpen: _,
11607
11613
  value: se
11608
11614
  });
@@ -12070,7 +12076,7 @@ function mm(e) {
12070
12076
  maxHeight: t
12071
12077
  };
12072
12078
  if (!n || !n.offsetParent) return u;
12073
- var c = l.getBoundingClientRect(), d = c.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, g = f.top, I = n.offsetParent.getBoundingClientRect(), v = I.top, E = a ? window.innerHeight : im(l), A = Tl(l), S = parseInt(getComputedStyle(n).marginBottom, 10), k = parseInt(getComputedStyle(n).marginTop, 10), C = v - k, V = E - g, F = C + A, T = d - A - g, B = p - E + A + S, G = A + g - k, O = 160;
12079
+ var c = l.getBoundingClientRect(), d = c.height, f = n.getBoundingClientRect(), p = f.bottom, b = f.height, g = f.top, I = n.offsetParent.getBoundingClientRect(), v = I.top, E = a ? window.innerHeight : im(l), A = Tl(l), S = parseInt(getComputedStyle(n).marginBottom, 10), k = parseInt(getComputedStyle(n).marginTop, 10), C = v - k, V = E - g, F = C + A, O = d - A - g, T = p - E + A + S, B = A + g - k, G = 160;
12074
12080
  switch (i) {
12075
12081
  case "auto":
12076
12082
  case "bottom":
@@ -12079,28 +12085,28 @@ function mm(e) {
12079
12085
  placement: "bottom",
12080
12086
  maxHeight: t
12081
12087
  };
12082
- if (T >= b && !a)
12083
- return o && Sr(l, B, O), {
12088
+ if (O >= b && !a)
12089
+ return o && Sr(l, T, G), {
12084
12090
  placement: "bottom",
12085
12091
  maxHeight: t
12086
12092
  };
12087
- if (!a && T >= r || a && V >= r) {
12088
- o && Sr(l, B, O);
12089
- var _ = a ? V - S : T - S;
12093
+ if (!a && O >= r || a && V >= r) {
12094
+ o && Sr(l, T, G);
12095
+ var _ = a ? V - S : O - S;
12090
12096
  return {
12091
12097
  placement: "bottom",
12092
12098
  maxHeight: _
12093
12099
  };
12094
12100
  }
12095
12101
  if (i === "auto" || a) {
12096
- var te = t, X = a ? C : F;
12097
- return X >= r && (te = Math.min(X - S - s, t)), {
12102
+ var ee = t, X = a ? C : F;
12103
+ return X >= r && (ee = Math.min(X - S - s, t)), {
12098
12104
  placement: "top",
12099
- maxHeight: te
12105
+ maxHeight: ee
12100
12106
  };
12101
12107
  }
12102
12108
  if (i === "bottom")
12103
- return o && Zr(l, B), {
12109
+ return o && Zr(l, T), {
12104
12110
  placement: "bottom",
12105
12111
  maxHeight: t
12106
12112
  };
@@ -12112,13 +12118,13 @@ function mm(e) {
12112
12118
  maxHeight: t
12113
12119
  };
12114
12120
  if (F >= b && !a)
12115
- return o && Sr(l, G, O), {
12121
+ return o && Sr(l, B, G), {
12116
12122
  placement: "top",
12117
12123
  maxHeight: t
12118
12124
  };
12119
12125
  if (!a && F >= r || a && C >= r) {
12120
12126
  var J = t;
12121
- return (!a && F >= r || a && C >= r) && (J = a ? C - k : F - k), o && Sr(l, G, O), {
12127
+ return (!a && F >= r || a && C >= r) && (J = a ? C - k : F - k), o && Sr(l, B, G), {
12122
12128
  placement: "top",
12123
12129
  maxHeight: J
12124
12130
  };
@@ -12238,15 +12244,15 @@ var Vl = function(t) {
12238
12244
  zIndex: 1
12239
12245
  };
12240
12246
  }, Pm = function(t) {
12241
- var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, a = t.menuPlacement, s = t.menuPosition, l = Bt(null), u = Bt(null), c = me(Vl(a)), d = Tt(c, 2), f = d[0], p = d[1], b = dt(function() {
12247
+ var n = t.appendTo, r = t.children, i = t.controlElement, o = t.innerProps, a = t.menuPlacement, s = t.menuPosition, l = Bt(null), u = Bt(null), c = me(Vl(a)), d = Tt(c, 2), f = d[0], p = d[1], b = rt(function() {
12242
12248
  return {
12243
12249
  setPortalPlacement: p
12244
12250
  };
12245
- }, []), g = me(null), I = Tt(g, 2), v = I[0], E = I[1], A = We(function() {
12251
+ }, []), g = me(null), I = Tt(g, 2), v = I[0], E = I[1], A = Ze(function() {
12246
12252
  if (i) {
12247
- var V = sm(i), F = s === "fixed" ? 0 : window.pageYOffset, T = V[f] + F;
12248
- (T !== (v == null ? void 0 : v.offset) || V.left !== (v == null ? void 0 : v.rect.left) || V.width !== (v == null ? void 0 : v.rect.width)) && E({
12249
- offset: T,
12253
+ var V = sm(i), F = s === "fixed" ? 0 : window.pageYOffset, O = V[f] + F;
12254
+ (O !== (v == null ? void 0 : v.offset) || V.left !== (v == null ? void 0 : v.rect.left) || V.width !== (v == null ? void 0 : v.rect.width)) && E({
12255
+ offset: O,
12250
12256
  rect: V
12251
12257
  });
12252
12258
  }
@@ -12254,7 +12260,7 @@ var Vl = function(t) {
12254
12260
  Qi(function() {
12255
12261
  A();
12256
12262
  }, [A]);
12257
- var S = We(function() {
12263
+ var S = Ze(function() {
12258
12264
  typeof u.current == "function" && (u.current(), u.current = null), i && l.current && (u.current = em(i, l.current, A, {
12259
12265
  elementResize: "ResizeObserver" in window
12260
12266
  }));
@@ -12262,7 +12268,7 @@ var Vl = function(t) {
12262
12268
  Qi(function() {
12263
12269
  S();
12264
12270
  }, [S]);
12265
- var k = We(function(V) {
12271
+ var k = Ze(function(V) {
12266
12272
  l.current = V, S();
12267
12273
  }, [S]);
12268
12274
  if (!n && s !== "fixed" || !v) return null;
@@ -12844,27 +12850,27 @@ var Bb = process.env.NODE_ENV === "production" ? {
12844
12850
  return "".concat(r).concat(n ? " for search term " + n : "", ".");
12845
12851
  }
12846
12852
  }, Vb = function(t) {
12847
- var n = t.ariaSelection, r = t.focusedOption, i = t.focusedValue, o = t.focusableOptions, a = t.isFocused, s = t.selectValue, l = t.selectProps, u = t.id, c = t.isAppleDevice, d = l.ariaLiveMessages, f = l.getOptionLabel, p = l.inputValue, b = l.isMulti, g = l.isOptionDisabled, I = l.isSearchable, v = l.menuIsOpen, E = l.options, A = l.screenReaderStatus, S = l.tabSelectsValue, k = l.isLoading, C = l["aria-label"], V = l["aria-live"], F = dt(function() {
12853
+ var n = t.ariaSelection, r = t.focusedOption, i = t.focusedValue, o = t.focusableOptions, a = t.isFocused, s = t.selectValue, l = t.selectProps, u = t.id, c = t.isAppleDevice, d = l.ariaLiveMessages, f = l.getOptionLabel, p = l.inputValue, b = l.isMulti, g = l.isOptionDisabled, I = l.isSearchable, v = l.menuIsOpen, E = l.options, A = l.screenReaderStatus, S = l.tabSelectsValue, k = l.isLoading, C = l["aria-label"], V = l["aria-live"], F = rt(function() {
12848
12854
  return Z(Z({}, Ob), d || {});
12849
- }, [d]), T = dt(function() {
12855
+ }, [d]), O = rt(function() {
12850
12856
  var X = "";
12851
12857
  if (n && F.onChange) {
12852
- var J = n.option, se = n.options, de = n.removedValue, ve = n.removedValues, y = n.value, le = function(fe) {
12853
- return Array.isArray(fe) ? null : fe;
12854
- }, ie = de || J || le(y), m = ie ? f(ie) : "", he = se || ve || void 0, K = he ? he.map(f) : [], pe = Z({
12858
+ var J = n.option, se = n.options, ce = n.removedValue, ve = n.removedValues, y = n.value, fe = function(he) {
12859
+ return Array.isArray(he) ? null : he;
12860
+ }, ie = ce || J || fe(y), m = ie ? f(ie) : "", ge = se || ve || void 0, K = ge ? ge.map(f) : [], de = Z({
12855
12861
  // multiSelected items are usually items that have already been selected
12856
12862
  // or set by the user as a default value so we assume they are not disabled
12857
12863
  isDisabled: ie && g(ie, s),
12858
12864
  label: m,
12859
12865
  labels: K
12860
12866
  }, n);
12861
- X = F.onChange(pe);
12867
+ X = F.onChange(de);
12862
12868
  }
12863
12869
  return X;
12864
- }, [n, F, g, s, f]), B = dt(function() {
12870
+ }, [n, F, g, s, f]), T = rt(function() {
12865
12871
  var X = "", J = r || i, se = !!(r && s && s.includes(r));
12866
12872
  if (J && F.onFocus) {
12867
- var de = {
12873
+ var ce = {
12868
12874
  focused: J,
12869
12875
  label: f(J),
12870
12876
  isDisabled: g(J, s),
@@ -12874,10 +12880,10 @@ var Bb = process.env.NODE_ENV === "production" ? {
12874
12880
  selectValue: s,
12875
12881
  isAppleDevice: c
12876
12882
  };
12877
- X = F.onFocus(de);
12883
+ X = F.onFocus(ce);
12878
12884
  }
12879
12885
  return X;
12880
- }, [r, i, f, g, F, o, s, c]), G = dt(function() {
12886
+ }, [r, i, f, g, F, o, s, c]), B = rt(function() {
12881
12887
  var X = "";
12882
12888
  if (v && E.length && !k && F.onFilter) {
12883
12889
  var J = A({
@@ -12889,7 +12895,7 @@ var Bb = process.env.NODE_ENV === "production" ? {
12889
12895
  });
12890
12896
  }
12891
12897
  return X;
12892
- }, [o, p, v, F, E, A, k]), O = (n == null ? void 0 : n.action) === "initial-input-focus", _ = dt(function() {
12898
+ }, [o, p, v, F, E, A, k]), G = (n == null ? void 0 : n.action) === "initial-input-focus", _ = rt(function() {
12893
12899
  var X = "";
12894
12900
  if (F.guidance) {
12895
12901
  var J = i ? "value" : v ? "menu" : "input";
@@ -12900,27 +12906,27 @@ var Bb = process.env.NODE_ENV === "production" ? {
12900
12906
  isMulti: b,
12901
12907
  isSearchable: I,
12902
12908
  tabSelectsValue: S,
12903
- isInitialFocus: O
12909
+ isInitialFocus: G
12904
12910
  });
12905
12911
  }
12906
12912
  return X;
12907
- }, [C, r, i, b, g, I, v, F, s, S, O]), te = j(Ai, null, j("span", {
12913
+ }, [C, r, i, b, g, I, v, F, s, S, G]), ee = j(Ai, null, j("span", {
12908
12914
  id: "aria-selection"
12909
- }, T), j("span", {
12915
+ }, O), j("span", {
12910
12916
  id: "aria-focused"
12911
- }, B), j("span", {
12917
+ }, T), j("span", {
12912
12918
  id: "aria-results"
12913
- }, G), j("span", {
12919
+ }, B), j("span", {
12914
12920
  id: "aria-guidance"
12915
12921
  }, _));
12916
12922
  return j(Ai, null, j(Qa, {
12917
12923
  id: u
12918
- }, O && te), j(Qa, {
12924
+ }, G && ee), j(Qa, {
12919
12925
  "aria-live": V,
12920
12926
  "aria-atomic": "false",
12921
12927
  "aria-relevant": "additions text",
12922
12928
  role: "log"
12923
- }, a && !O && te));
12929
+ }, a && !G && ee));
12924
12930
  }, Db = Vb, $i = [{
12925
12931
  base: "A",
12926
12932
  letters: "AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"
@@ -13232,29 +13238,29 @@ var Wb = function(t) {
13232
13238
  t.cancelable && t.preventDefault(), t.stopPropagation();
13233
13239
  };
13234
13240
  function Zb(e) {
13235
- var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, a = Bt(!1), s = Bt(!1), l = Bt(0), u = Bt(null), c = We(function(I, v) {
13241
+ var t = e.isEnabled, n = e.onBottomArrive, r = e.onBottomLeave, i = e.onTopArrive, o = e.onTopLeave, a = Bt(!1), s = Bt(!1), l = Bt(0), u = Bt(null), c = Ze(function(I, v) {
13236
13242
  if (u.current !== null) {
13237
- var E = u.current, A = E.scrollTop, S = E.scrollHeight, k = E.clientHeight, C = u.current, V = v > 0, F = S - k - A, T = !1;
13238
- F > v && a.current && (r && r(I), a.current = !1), V && s.current && (o && o(I), s.current = !1), V && v > F ? (n && !a.current && n(I), C.scrollTop = S, T = !0, a.current = !0) : !V && -v > A && (i && !s.current && i(I), C.scrollTop = 0, T = !0, s.current = !0), T && Wb(I);
13243
+ var E = u.current, A = E.scrollTop, S = E.scrollHeight, k = E.clientHeight, C = u.current, V = v > 0, F = S - k - A, O = !1;
13244
+ F > v && a.current && (r && r(I), a.current = !1), V && s.current && (o && o(I), s.current = !1), V && v > F ? (n && !a.current && n(I), C.scrollTop = S, O = !0, a.current = !0) : !V && -v > A && (i && !s.current && i(I), C.scrollTop = 0, O = !0, s.current = !0), O && Wb(I);
13239
13245
  }
13240
- }, [n, r, i, o]), d = We(function(I) {
13246
+ }, [n, r, i, o]), d = Ze(function(I) {
13241
13247
  c(I, I.deltaY);
13242
- }, [c]), f = We(function(I) {
13248
+ }, [c]), f = Ze(function(I) {
13243
13249
  l.current = I.changedTouches[0].clientY;
13244
- }, []), p = We(function(I) {
13250
+ }, []), p = Ze(function(I) {
13245
13251
  var v = l.current - I.changedTouches[0].clientY;
13246
13252
  c(I, v);
13247
- }, [c]), b = We(function(I) {
13253
+ }, [c]), b = Ze(function(I) {
13248
13254
  if (I) {
13249
13255
  var v = cm ? {
13250
13256
  passive: !1
13251
13257
  } : !1;
13252
13258
  I.addEventListener("wheel", d, v), I.addEventListener("touchstart", f, v), I.addEventListener("touchmove", p, v);
13253
13259
  }
13254
- }, [p, f, d]), g = We(function(I) {
13260
+ }, [p, f, d]), g = Ze(function(I) {
13255
13261
  I && (I.removeEventListener("wheel", d, !1), I.removeEventListener("touchstart", f, !1), I.removeEventListener("touchmove", p, !1));
13256
13262
  }, [p, f, d]);
13257
- return Ye(function() {
13263
+ return We(function() {
13258
13264
  if (t) {
13259
13265
  var I = u.current;
13260
13266
  return b(I), function() {
@@ -13290,7 +13296,7 @@ var os = !!(typeof window < "u" && window.document && window.document.createElem
13290
13296
  passive: !1
13291
13297
  };
13292
13298
  function jb(e) {
13293
- var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i = Bt({}), o = Bt(null), a = We(function(l) {
13299
+ var t = e.isEnabled, n = e.accountForScrollbars, r = n === void 0 ? !0 : n, i = Bt({}), o = Bt(null), a = Ze(function(l) {
13294
13300
  if (os) {
13295
13301
  var u = document.body, c = u && u.style;
13296
13302
  if (r && Ka.forEach(function(b) {
@@ -13305,7 +13311,7 @@ function jb(e) {
13305
13311
  }
13306
13312
  u && is() && (u.addEventListener("touchmove", ts, vn), l && (l.addEventListener("touchstart", rs, vn), l.addEventListener("touchmove", ns, vn))), _n += 1;
13307
13313
  }
13308
- }, [r]), s = We(function(l) {
13314
+ }, [r]), s = Ze(function(l) {
13309
13315
  if (os) {
13310
13316
  var u = document.body, c = u && u.style;
13311
13317
  _n = Math.max(_n - 1, 0), r && _n < 1 && Ka.forEach(function(d) {
@@ -13314,7 +13320,7 @@ function jb(e) {
13314
13320
  }), u && is() && (u.removeEventListener("touchmove", ts, vn), l && (l.removeEventListener("touchstart", rs, vn), l.removeEventListener("touchmove", ns, vn)));
13315
13321
  }
13316
13322
  }, [r]);
13317
- return Ye(function() {
13323
+ return We(function() {
13318
13324
  if (t) {
13319
13325
  var l = o.current;
13320
13326
  return a(l), function() {
@@ -14167,7 +14173,7 @@ var eu = function(t) {
14167
14173
  } : {
14168
14174
  "aria-describedby": this.getElementId("placeholder")
14169
14175
  });
14170
- return a ? /* @__PURE__ */ ee.createElement(b, Y({}, E, {
14176
+ return a ? /* @__PURE__ */ te.createElement(b, Y({}, E, {
14171
14177
  autoCapitalize: "none",
14172
14178
  autoComplete: "off",
14173
14179
  autoCorrect: "off",
@@ -14183,7 +14189,7 @@ var eu = function(t) {
14183
14189
  form: c,
14184
14190
  type: "text",
14185
14191
  value: l
14186
- }, S)) : /* @__PURE__ */ ee.createElement(zb, Y({
14192
+ }, S)) : /* @__PURE__ */ te.createElement(zb, Y({
14187
14193
  id: A,
14188
14194
  innerRef: this.getInputRef,
14189
14195
  onBlur: this.onInputBlur,
@@ -14202,7 +14208,7 @@ var eu = function(t) {
14202
14208
  value: function() {
14203
14209
  var i = this, o = this.getComponents(), a = o.MultiValue, s = o.MultiValueContainer, l = o.MultiValueLabel, u = o.MultiValueRemove, c = o.SingleValue, d = o.Placeholder, f = this.commonProps, p = this.props, b = p.controlShouldRenderValue, g = p.isDisabled, I = p.isMulti, v = p.inputValue, E = p.placeholder, A = this.state, S = A.selectValue, k = A.focusedValue, C = A.isFocused;
14204
14210
  if (!this.hasValue() || !b)
14205
- return v ? null : /* @__PURE__ */ ee.createElement(d, Y({}, f, {
14211
+ return v ? null : /* @__PURE__ */ te.createElement(d, Y({}, f, {
14206
14212
  key: "placeholder",
14207
14213
  isDisabled: g,
14208
14214
  isFocused: C,
@@ -14211,18 +14217,18 @@ var eu = function(t) {
14211
14217
  }
14212
14218
  }), E);
14213
14219
  if (I)
14214
- return S.map(function(F, T) {
14215
- var B = F === k, G = "".concat(i.getOptionLabel(F), "-").concat(i.getOptionValue(F));
14216
- return /* @__PURE__ */ ee.createElement(a, Y({}, f, {
14220
+ return S.map(function(F, O) {
14221
+ var T = F === k, B = "".concat(i.getOptionLabel(F), "-").concat(i.getOptionValue(F));
14222
+ return /* @__PURE__ */ te.createElement(a, Y({}, f, {
14217
14223
  components: {
14218
14224
  Container: s,
14219
14225
  Label: l,
14220
14226
  Remove: u
14221
14227
  },
14222
- isFocused: B,
14228
+ isFocused: T,
14223
14229
  isDisabled: g,
14224
- key: G,
14225
- index: T,
14230
+ key: B,
14231
+ index: O,
14226
14232
  removeProps: {
14227
14233
  onClick: function() {
14228
14234
  return i.removeValue(F);
@@ -14240,7 +14246,7 @@ var eu = function(t) {
14240
14246
  if (v)
14241
14247
  return null;
14242
14248
  var V = S[0];
14243
- return /* @__PURE__ */ ee.createElement(c, Y({}, f, {
14249
+ return /* @__PURE__ */ te.createElement(c, Y({}, f, {
14244
14250
  data: V,
14245
14251
  isDisabled: g
14246
14252
  }), this.formatOptionLabel(V, "value"));
@@ -14256,7 +14262,7 @@ var eu = function(t) {
14256
14262
  onTouchEnd: this.onClearIndicatorTouchEnd,
14257
14263
  "aria-hidden": "true"
14258
14264
  };
14259
- return /* @__PURE__ */ ee.createElement(o, Y({}, a, {
14265
+ return /* @__PURE__ */ te.createElement(o, Y({}, a, {
14260
14266
  innerProps: d,
14261
14267
  isFocused: c
14262
14268
  }));
@@ -14269,7 +14275,7 @@ var eu = function(t) {
14269
14275
  var d = {
14270
14276
  "aria-hidden": "true"
14271
14277
  };
14272
- return /* @__PURE__ */ ee.createElement(o, Y({}, a, {
14278
+ return /* @__PURE__ */ te.createElement(o, Y({}, a, {
14273
14279
  innerProps: d,
14274
14280
  isDisabled: l,
14275
14281
  isFocused: c
@@ -14281,7 +14287,7 @@ var eu = function(t) {
14281
14287
  var i = this.getComponents(), o = i.DropdownIndicator, a = i.IndicatorSeparator;
14282
14288
  if (!o || !a) return null;
14283
14289
  var s = this.commonProps, l = this.props.isDisabled, u = this.state.isFocused;
14284
- return /* @__PURE__ */ ee.createElement(a, Y({}, s, {
14290
+ return /* @__PURE__ */ te.createElement(a, Y({}, s, {
14285
14291
  isDisabled: l,
14286
14292
  isFocused: u
14287
14293
  }));
@@ -14296,7 +14302,7 @@ var eu = function(t) {
14296
14302
  onTouchEnd: this.onDropdownIndicatorTouchEnd,
14297
14303
  "aria-hidden": "true"
14298
14304
  };
14299
- return /* @__PURE__ */ ee.createElement(o, Y({}, a, {
14305
+ return /* @__PURE__ */ te.createElement(o, Y({}, a, {
14300
14306
  innerProps: u,
14301
14307
  isDisabled: s,
14302
14308
  isFocused: l
@@ -14305,78 +14311,78 @@ var eu = function(t) {
14305
14311
  }, {
14306
14312
  key: "renderMenu",
14307
14313
  value: function() {
14308
- var i = this, o = this.getComponents(), a = o.Group, s = o.GroupHeading, l = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, g = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, E = I.inputValue, A = I.isLoading, S = I.loadingMessage, k = I.minMenuHeight, C = I.maxMenuHeight, V = I.menuIsOpen, F = I.menuPlacement, T = I.menuPosition, B = I.menuPortalTarget, G = I.menuShouldBlockScroll, O = I.menuShouldScrollIntoView, _ = I.noOptionsMessage, te = I.onMenuScrollToTop, X = I.onMenuScrollToBottom;
14314
+ var i = this, o = this.getComponents(), a = o.Group, s = o.GroupHeading, l = o.Menu, u = o.MenuList, c = o.MenuPortal, d = o.LoadingMessage, f = o.NoOptionsMessage, p = o.Option, b = this.commonProps, g = this.state.focusedOption, I = this.props, v = I.captureMenuScroll, E = I.inputValue, A = I.isLoading, S = I.loadingMessage, k = I.minMenuHeight, C = I.maxMenuHeight, V = I.menuIsOpen, F = I.menuPlacement, O = I.menuPosition, T = I.menuPortalTarget, B = I.menuShouldBlockScroll, G = I.menuShouldScrollIntoView, _ = I.noOptionsMessage, ee = I.onMenuScrollToTop, X = I.onMenuScrollToBottom;
14309
14315
  if (!V) return null;
14310
- var J = function(m, he) {
14311
- var K = m.type, pe = m.data, Oe = m.isDisabled, fe = m.isSelected, Le = m.label, Ue = m.value, it = g === pe, ot = Oe ? void 0 : function() {
14312
- return i.onOptionHover(pe);
14316
+ var J = function(m, ge) {
14317
+ var K = m.type, de = m.data, Oe = m.isDisabled, he = m.isSelected, Le = m.label, Ue = m.value, ot = g === de, at = Oe ? void 0 : function() {
14318
+ return i.onOptionHover(de);
14313
14319
  }, Dt = Oe ? void 0 : function() {
14314
- return i.selectOption(pe);
14315
- }, M = "".concat(i.getElementId("option"), "-").concat(he), z = {
14316
- id: M,
14320
+ return i.selectOption(de);
14321
+ }, L = "".concat(i.getElementId("option"), "-").concat(ge), z = {
14322
+ id: L,
14317
14323
  onClick: Dt,
14318
- onMouseMove: ot,
14319
- onMouseOver: ot,
14324
+ onMouseMove: at,
14325
+ onMouseOver: at,
14320
14326
  tabIndex: -1,
14321
14327
  role: "option",
14322
- "aria-selected": i.isAppleDevice ? void 0 : fe
14328
+ "aria-selected": i.isAppleDevice ? void 0 : he
14323
14329
  // is not supported on Apple devices
14324
14330
  };
14325
- return /* @__PURE__ */ ee.createElement(p, Y({}, b, {
14331
+ return /* @__PURE__ */ te.createElement(p, Y({}, b, {
14326
14332
  innerProps: z,
14327
- data: pe,
14333
+ data: de,
14328
14334
  isDisabled: Oe,
14329
- isSelected: fe,
14330
- key: M,
14335
+ isSelected: he,
14336
+ key: L,
14331
14337
  label: Le,
14332
14338
  type: K,
14333
14339
  value: Ue,
14334
- isFocused: it,
14335
- innerRef: it ? i.getFocusedOptionRef : void 0
14340
+ isFocused: ot,
14341
+ innerRef: ot ? i.getFocusedOptionRef : void 0
14336
14342
  }), i.formatOptionLabel(m.data, "menu"));
14337
14343
  }, se;
14338
14344
  if (this.hasOptions())
14339
14345
  se = this.getCategorizedOptions().map(function(ie) {
14340
14346
  if (ie.type === "group") {
14341
- var m = ie.data, he = ie.options, K = ie.index, pe = "".concat(i.getElementId("group"), "-").concat(K), Oe = "".concat(pe, "-heading");
14342
- return /* @__PURE__ */ ee.createElement(a, Y({}, b, {
14343
- key: pe,
14347
+ var m = ie.data, ge = ie.options, K = ie.index, de = "".concat(i.getElementId("group"), "-").concat(K), Oe = "".concat(de, "-heading");
14348
+ return /* @__PURE__ */ te.createElement(a, Y({}, b, {
14349
+ key: de,
14344
14350
  data: m,
14345
- options: he,
14351
+ options: ge,
14346
14352
  Heading: s,
14347
14353
  headingProps: {
14348
14354
  id: Oe,
14349
14355
  data: ie.data
14350
14356
  },
14351
14357
  label: i.formatGroupLabel(ie.data)
14352
- }), ie.options.map(function(fe) {
14353
- return J(fe, "".concat(K, "-").concat(fe.index));
14358
+ }), ie.options.map(function(he) {
14359
+ return J(he, "".concat(K, "-").concat(he.index));
14354
14360
  }));
14355
14361
  } else if (ie.type === "option")
14356
14362
  return J(ie, "".concat(ie.index));
14357
14363
  });
14358
14364
  else if (A) {
14359
- var de = S({
14365
+ var ce = S({
14360
14366
  inputValue: E
14361
14367
  });
14362
- if (de === null) return null;
14363
- se = /* @__PURE__ */ ee.createElement(d, b, de);
14368
+ if (ce === null) return null;
14369
+ se = /* @__PURE__ */ te.createElement(d, b, ce);
14364
14370
  } else {
14365
14371
  var ve = _({
14366
14372
  inputValue: E
14367
14373
  });
14368
14374
  if (ve === null) return null;
14369
- se = /* @__PURE__ */ ee.createElement(f, b, ve);
14375
+ se = /* @__PURE__ */ te.createElement(f, b, ve);
14370
14376
  }
14371
14377
  var y = {
14372
14378
  minMenuHeight: k,
14373
14379
  maxMenuHeight: C,
14374
14380
  menuPlacement: F,
14375
- menuPosition: T,
14376
- menuShouldScrollIntoView: O
14377
- }, le = /* @__PURE__ */ ee.createElement(vm, Y({}, b, y), function(ie) {
14378
- var m = ie.ref, he = ie.placerProps, K = he.placement, pe = he.maxHeight;
14379
- return /* @__PURE__ */ ee.createElement(l, Y({}, b, y, {
14381
+ menuPosition: O,
14382
+ menuShouldScrollIntoView: G
14383
+ }, fe = /* @__PURE__ */ te.createElement(vm, Y({}, b, y), function(ie) {
14384
+ var m = ie.ref, ge = ie.placerProps, K = ge.placement, de = ge.maxHeight;
14385
+ return /* @__PURE__ */ te.createElement(l, Y({}, b, y, {
14380
14386
  innerRef: m,
14381
14387
  innerProps: {
14382
14388
  onMouseDown: i.onMenuMouseDown,
@@ -14384,13 +14390,13 @@ var eu = function(t) {
14384
14390
  },
14385
14391
  isLoading: A,
14386
14392
  placement: K
14387
- }), /* @__PURE__ */ ee.createElement(Ub, {
14393
+ }), /* @__PURE__ */ te.createElement(Ub, {
14388
14394
  captureEnabled: v,
14389
- onTopArrive: te,
14395
+ onTopArrive: ee,
14390
14396
  onBottomArrive: X,
14391
- lockEnabled: G
14397
+ lockEnabled: B
14392
14398
  }, function(Oe) {
14393
- return /* @__PURE__ */ ee.createElement(u, Y({}, b, {
14399
+ return /* @__PURE__ */ te.createElement(u, Y({}, b, {
14394
14400
  innerRef: function(Le) {
14395
14401
  i.getMenuListRef(Le), Oe(Le);
14396
14402
  },
@@ -14400,24 +14406,24 @@ var eu = function(t) {
14400
14406
  id: i.getElementId("listbox")
14401
14407
  },
14402
14408
  isLoading: A,
14403
- maxHeight: pe,
14409
+ maxHeight: de,
14404
14410
  focusedOption: g
14405
14411
  }), se);
14406
14412
  }));
14407
14413
  });
14408
- return B || T === "fixed" ? /* @__PURE__ */ ee.createElement(c, Y({}, b, {
14409
- appendTo: B,
14414
+ return T || O === "fixed" ? /* @__PURE__ */ te.createElement(c, Y({}, b, {
14415
+ appendTo: T,
14410
14416
  controlElement: this.controlRef,
14411
14417
  menuPlacement: F,
14412
- menuPosition: T
14413
- }), le) : le;
14418
+ menuPosition: O
14419
+ }), fe) : fe;
14414
14420
  }
14415
14421
  }, {
14416
14422
  key: "renderFormField",
14417
14423
  value: function() {
14418
14424
  var i = this, o = this.props, a = o.delimiter, s = o.isDisabled, l = o.isMulti, u = o.name, c = o.required, d = this.state.selectValue;
14419
14425
  if (c && !this.hasValue() && !s)
14420
- return /* @__PURE__ */ ee.createElement(Kb, {
14426
+ return /* @__PURE__ */ te.createElement(Kb, {
14421
14427
  name: u,
14422
14428
  onFocus: this.onValueInputFocus
14423
14429
  });
@@ -14427,29 +14433,29 @@ var eu = function(t) {
14427
14433
  var f = d.map(function(g) {
14428
14434
  return i.getOptionValue(g);
14429
14435
  }).join(a);
14430
- return /* @__PURE__ */ ee.createElement("input", {
14436
+ return /* @__PURE__ */ te.createElement("input", {
14431
14437
  name: u,
14432
14438
  type: "hidden",
14433
14439
  value: f
14434
14440
  });
14435
14441
  } else {
14436
14442
  var p = d.length > 0 ? d.map(function(g, I) {
14437
- return /* @__PURE__ */ ee.createElement("input", {
14443
+ return /* @__PURE__ */ te.createElement("input", {
14438
14444
  key: "i-".concat(I),
14439
14445
  name: u,
14440
14446
  type: "hidden",
14441
14447
  value: i.getOptionValue(g)
14442
14448
  });
14443
- }) : /* @__PURE__ */ ee.createElement("input", {
14449
+ }) : /* @__PURE__ */ te.createElement("input", {
14444
14450
  name: u,
14445
14451
  type: "hidden",
14446
14452
  value: ""
14447
14453
  });
14448
- return /* @__PURE__ */ ee.createElement("div", null, p);
14454
+ return /* @__PURE__ */ te.createElement("div", null, p);
14449
14455
  }
14450
14456
  else {
14451
14457
  var b = d[0] ? this.getOptionValue(d[0]) : "";
14452
- return /* @__PURE__ */ ee.createElement("input", {
14458
+ return /* @__PURE__ */ te.createElement("input", {
14453
14459
  name: u,
14454
14460
  type: "hidden",
14455
14461
  value: b
@@ -14460,7 +14466,7 @@ var eu = function(t) {
14460
14466
  key: "renderLiveRegion",
14461
14467
  value: function() {
14462
14468
  var i = this.commonProps, o = this.state, a = o.ariaSelection, s = o.focusedOption, l = o.focusedValue, u = o.isFocused, c = o.selectValue, d = this.getFocusableOptions();
14463
- return /* @__PURE__ */ ee.createElement(Db, Y({}, i, {
14469
+ return /* @__PURE__ */ te.createElement(Db, Y({}, i, {
14464
14470
  id: this.getElementId("live-region"),
14465
14471
  ariaSelection: a,
14466
14472
  focusedOption: s,
@@ -14475,7 +14481,7 @@ var eu = function(t) {
14475
14481
  key: "render",
14476
14482
  value: function() {
14477
14483
  var i = this.getComponents(), o = i.Control, a = i.IndicatorsContainer, s = i.SelectContainer, l = i.ValueContainer, u = this.props, c = u.className, d = u.id, f = u.isDisabled, p = u.menuIsOpen, b = this.state.isFocused, g = this.commonProps = this.getCommonProps();
14478
- return /* @__PURE__ */ ee.createElement(s, Y({}, g, {
14484
+ return /* @__PURE__ */ te.createElement(s, Y({}, g, {
14479
14485
  className: c,
14480
14486
  innerProps: {
14481
14487
  id: d,
@@ -14483,7 +14489,7 @@ var eu = function(t) {
14483
14489
  },
14484
14490
  isDisabled: f,
14485
14491
  isFocused: b
14486
- }), this.renderLiveRegion(), /* @__PURE__ */ ee.createElement(o, Y({}, g, {
14492
+ }), this.renderLiveRegion(), /* @__PURE__ */ te.createElement(o, Y({}, g, {
14487
14493
  innerRef: this.getControlRef,
14488
14494
  innerProps: {
14489
14495
  onMouseDown: this.onControlMouseDown,
@@ -14492,9 +14498,9 @@ var eu = function(t) {
14492
14498
  isDisabled: f,
14493
14499
  isFocused: b,
14494
14500
  menuIsOpen: p
14495
- }), /* @__PURE__ */ ee.createElement(l, Y({}, g, {
14501
+ }), /* @__PURE__ */ te.createElement(l, Y({}, g, {
14496
14502
  isDisabled: f
14497
- }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ ee.createElement(a, Y({}, g, {
14503
+ }), this.renderPlaceholderOrValue(), this.renderInput()), /* @__PURE__ */ te.createElement(a, Y({}, g, {
14498
14504
  isDisabled: f
14499
14505
  }), this.renderClearIndicator(), this.renderLoadingIndicator(), this.renderIndicatorSeparator(), this.renderDropdownIndicator())), this.renderMenu(), this.renderFormField());
14500
14506
  }
@@ -14513,18 +14519,18 @@ var eu = function(t) {
14513
14519
  clearFocusValueOnUpdate: !1
14514
14520
  };
14515
14521
  }
14516
- var T = l != null && i !== a ? {
14522
+ var O = l != null && i !== a ? {
14517
14523
  inputIsHidden: l,
14518
14524
  inputIsHiddenAfterUpdate: void 0
14519
- } : {}, B = u, G = c && d;
14520
- return c && !G && (B = {
14525
+ } : {}, T = u, B = c && d;
14526
+ return c && !B && (T = {
14521
14527
  value: Qn(v, E, E[0] || null),
14522
14528
  options: E,
14523
14529
  action: "initial-input-focus"
14524
- }, G = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (B = null), Z(Z(Z({}, A), T), {}, {
14530
+ }, B = !d), (u == null ? void 0 : u.action) === "initial-input-focus" && (T = null), Z(Z(Z({}, A), O), {}, {
14525
14531
  prevProps: i,
14526
- ariaSelection: B,
14527
- prevWasFocused: G
14532
+ ariaSelection: T,
14533
+ prevWasFocused: B
14528
14534
  });
14529
14535
  }
14530
14536
  }]), n;
@@ -14532,7 +14538,7 @@ var eu = function(t) {
14532
14538
  So.defaultProps = fy;
14533
14539
  var yy = /* @__PURE__ */ Cs(function(e, t) {
14534
14540
  var n = Sl(e);
14535
- return /* @__PURE__ */ ee.createElement(So, Y({
14541
+ return /* @__PURE__ */ te.createElement(So, Y({
14536
14542
  ref: t
14537
14543
  }, n));
14538
14544
  }), Qr = yy;
@@ -14625,7 +14631,7 @@ const xy = ({ ...e }) => {
14625
14631
  alignItems: "center",
14626
14632
  gap: "2px"
14627
14633
  }, children: [
14628
- /* @__PURE__ */ L(
14634
+ /* @__PURE__ */ M(
14629
14635
  "a",
14630
14636
  {
14631
14637
  ...e,
@@ -14642,7 +14648,7 @@ const xy = ({ ...e }) => {
14642
14648
  onMouseLeave: () => n(!1)
14643
14649
  }
14644
14650
  ),
14645
- /* @__PURE__ */ L("span", { style: {
14651
+ /* @__PURE__ */ M("span", { style: {
14646
14652
  fontSize: "0.7em",
14647
14653
  opacity: 0.7
14648
14654
  }, children: "↗" })
@@ -14656,7 +14662,7 @@ function Ay(e) {
14656
14662
  getClassNames: i,
14657
14663
  getStyles: o,
14658
14664
  theme: a
14659
- } = _e(), s = dt(() => ({
14665
+ } = _e(), s = rt(() => ({
14660
14666
  color: a.colors.neutral50,
14661
14667
  fontWeight: 400,
14662
14668
  fontSize: "0.75rem",
@@ -14665,12 +14671,12 @@ function Ay(e) {
14665
14671
  lineHeight: "1.5"
14666
14672
  }), [
14667
14673
  a.colors.neutral50
14668
- ]), l = dt(() => ({
14674
+ ]), l = rt(() => ({
14669
14675
  a: xy
14670
14676
  }), []), u = e;
14671
- return r.type === "app" ? /* @__PURE__ */ L("p", { className: i("description", u), style: o("description", s, u), children: "Credentials are encrypted." }) : r.description ? /* @__PURE__ */ Te("div", { className: i("description", u), style: o("description", s, u), children: [
14677
+ return r.type === "app" ? /* @__PURE__ */ M("p", { className: i("description", u), style: o("description", s, u), children: "Credentials are encrypted." }) : r.description ? /* @__PURE__ */ Te("div", { className: i("description", u), style: o("description", s, u), children: [
14672
14678
  " ",
14673
- /* @__PURE__ */ L(ul, { components: l, children: n })
14679
+ /* @__PURE__ */ M(ul, { components: l, children: n })
14674
14680
  ] }) : null;
14675
14681
  }
14676
14682
  function wy(e) {
@@ -14686,10 +14692,10 @@ function wy(e) {
14686
14692
  alertType: "error",
14687
14693
  content: l
14688
14694
  }));
14689
- return /* @__PURE__ */ L("div", { className: "pd-errors", style: {
14695
+ return /* @__PURE__ */ M("div", { className: "pd-errors", style: {
14690
14696
  display: "grid",
14691
14697
  gridTemplateColumns: "max-content"
14692
- }, children: /* @__PURE__ */ L(() => /* @__PURE__ */ L(vs, { children: o.map((l, u) => /* @__PURE__ */ L(Ti, { prop: l }, u)) }), {}) });
14698
+ }, children: /* @__PURE__ */ M(() => /* @__PURE__ */ M(vs, { children: o.map((l, u) => /* @__PURE__ */ M(Ti, { prop: l }, u)) }), {}) });
14693
14699
  }
14694
14700
  function Sy(e) {
14695
14701
  const {
@@ -14706,7 +14712,7 @@ function Sy(e) {
14706
14712
  };
14707
14713
  return (
14708
14714
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
14709
- /* @__PURE__ */ L("label", { htmlFor: r, ...i("label", a, e), children: t })
14715
+ /* @__PURE__ */ M("label", { htmlFor: r, ...i("label", a, e), children: t })
14710
14716
  );
14711
14717
  }
14712
14718
  const Ey = (e) => {
@@ -14731,8 +14737,8 @@ const Ey = (e) => {
14731
14737
  textWrap: "nowrap"
14732
14738
  };
14733
14739
  return /* @__PURE__ */ Te("button", { onClick: r, type: "button", ...i("optionalFieldButton", a, e), children: [
14734
- /* @__PURE__ */ L("span", { children: n ? "-" : "+" }),
14735
- /* @__PURE__ */ L("span", { style: {
14740
+ /* @__PURE__ */ M("span", { children: n ? "-" : "+" }),
14741
+ /* @__PURE__ */ M("span", { style: {
14736
14742
  marginRight: 8
14737
14743
  }, children: t.label || t.name })
14738
14744
  ] });
@@ -14753,7 +14759,7 @@ const Ey = (e) => {
14753
14759
  cursor: "pointer",
14754
14760
  width: "100%"
14755
14761
  };
14756
- return /* @__PURE__ */ L("button", { onClick: t, type: "button", ...n("loadMoreButton", i, e), children: "Load More" });
14762
+ return /* @__PURE__ */ M("button", { onClick: t, type: "button", ...n("loadMoreButton", i, e), children: "Load More" });
14757
14763
  }, ky = {
14758
14764
  Description: Ay,
14759
14765
  Errors: wy,
@@ -14876,7 +14882,7 @@ function _e() {
14876
14882
  const sv = ({
14877
14883
  children: e,
14878
14884
  ...t
14879
- }) => /* @__PURE__ */ L(ko.Provider, { value: t, children: e }), nu = lr(void 0), Vt = () => {
14885
+ }) => /* @__PURE__ */ M(ko.Provider, { value: t, children: e }), nu = lr(void 0), Vt = () => {
14880
14886
  const e = Ln(nu);
14881
14887
  if (!e)
14882
14888
  throw new Error("Must be used inside FormFieldContext.Provider");
@@ -14895,7 +14901,7 @@ const sv = ({
14895
14901
  ...r,
14896
14902
  accounts: ((i = r.data) == null ? void 0 : i.data) || []
14897
14903
  };
14898
- }, Ry = (e) => /* @__PURE__ */ L(pr.Option, { ...e, children: e.data.name });
14904
+ }, Ry = (e) => /* @__PURE__ */ M(pr.Option, { ...e, children: e.data.name });
14899
14905
  function Gy({ app: e }) {
14900
14906
  const t = Qt(), n = Vt(), {
14901
14907
  id: r,
@@ -14956,7 +14962,7 @@ function Gy({ app: e }) {
14956
14962
  onError: () => {
14957
14963
  }
14958
14964
  });
14959
- }, A = dt(() => {
14965
+ }, A = rt(() => {
14960
14966
  let S = o;
14961
14967
  if (S != null) {
14962
14968
  for (const k of I)
@@ -14970,10 +14976,10 @@ function Gy({ app: e }) {
14970
14976
  I,
14971
14977
  o
14972
14978
  ]);
14973
- return /* @__PURE__ */ L("div", { ...s("controlApp", c, {
14979
+ return /* @__PURE__ */ M("div", { ...s("controlApp", c, {
14974
14980
  app: e,
14975
14981
  ...n
14976
- }), children: g ? `Loading ${e.name} accounts...` : I.length ? /* @__PURE__ */ L(
14982
+ }), children: g ? `Loading ${e.name} accounts...` : I.length ? /* @__PURE__ */ M(
14977
14983
  Qr,
14978
14984
  {
14979
14985
  instanceId: r,
@@ -15064,7 +15070,7 @@ function By() {
15064
15070
  s,
15065
15071
  l
15066
15072
  ] = me(a);
15067
- Ye(() => {
15073
+ We(() => {
15068
15074
  l(a());
15069
15075
  }, [
15070
15076
  r
@@ -15095,7 +15101,7 @@ function By() {
15095
15101
  }, p = ou(), b = au(), g = ru(o), I = Fo(o), v = iu(o), E = ((A = s[s.length - 1]) == null ? void 0 : A.trim()) || s.length > 1;
15096
15102
  return /* @__PURE__ */ Te("div", { ...i("controlArray", p, e), children: [
15097
15103
  s.map((S, k) => /* @__PURE__ */ Te("div", { style: b, children: [
15098
- /* @__PURE__ */ L(
15104
+ /* @__PURE__ */ M(
15099
15105
  "input",
15100
15106
  {
15101
15107
  type: "text",
@@ -15106,7 +15112,7 @@ function By() {
15106
15112
  required: !n.optional && k === 0
15107
15113
  }
15108
15114
  ),
15109
- s.length > 1 && /* @__PURE__ */ L(
15115
+ s.length > 1 && /* @__PURE__ */ M(
15110
15116
  "button",
15111
15117
  {
15112
15118
  type: "button",
@@ -15128,8 +15134,8 @@ function By() {
15128
15134
  paddingRight: `${o.spacing.baseUnit * 2}px`
15129
15135
  },
15130
15136
  children: [
15131
- /* @__PURE__ */ L("span", { children: "+" }),
15132
- /* @__PURE__ */ L("span", { children: "Add more" })
15137
+ /* @__PURE__ */ M("span", { children: "+" }),
15138
+ /* @__PURE__ */ M("span", { children: "Add more" })
15133
15139
  ]
15134
15140
  }
15135
15141
  )
@@ -15141,7 +15147,7 @@ function Ty() {
15141
15147
  value: n,
15142
15148
  onChange: r
15143
15149
  } = e, { getProps: i } = _e();
15144
- return /* @__PURE__ */ L("input", { id: t, type: "checkbox", ...i("controlBoolean", {
15150
+ return /* @__PURE__ */ M("input", { id: t, type: "checkbox", ...i("controlBoolean", {
15145
15151
  width: "16px",
15146
15152
  height: "16px",
15147
15153
  gridArea: "control",
@@ -15178,7 +15184,7 @@ function Oy() {
15178
15184
  default:
15179
15185
  throw new Error("unexpected prop.type for ControlInput: " + r.type);
15180
15186
  }
15181
- return "secret" in r && r.secret && (u = "password", l = "new-password"), /* @__PURE__ */ L(
15187
+ return "secret" in r && r.secret && (u = "password", l = "new-password"), /* @__PURE__ */ M(
15182
15188
  "input",
15183
15189
  {
15184
15190
  id: t,
@@ -15247,7 +15253,7 @@ function Vy() {
15247
15253
  l,
15248
15254
  u
15249
15255
  ] = me(s);
15250
- Ye(() => {
15256
+ We(() => {
15251
15257
  if (!r || typeof r != "object" || Array.isArray(r)) {
15252
15258
  u([
15253
15259
  {
@@ -15331,7 +15337,7 @@ function Vy() {
15331
15337
  }, b = ou(), g = au(), I = ru(o), v = Fo(o), E = iu(o);
15332
15338
  return /* @__PURE__ */ Te("div", { ...i("controlObject", b, e), children: [
15333
15339
  l.map((A, S) => /* @__PURE__ */ Te("div", { style: g, children: [
15334
- /* @__PURE__ */ L(
15340
+ /* @__PURE__ */ M(
15335
15341
  "input",
15336
15342
  {
15337
15343
  type: "text",
@@ -15342,7 +15348,7 @@ function Vy() {
15342
15348
  required: !n.optional && S === 0
15343
15349
  }
15344
15350
  ),
15345
- /* @__PURE__ */ L(
15351
+ /* @__PURE__ */ M(
15346
15352
  "input",
15347
15353
  {
15348
15354
  type: "text",
@@ -15352,7 +15358,7 @@ function Vy() {
15352
15358
  style: I
15353
15359
  }
15354
15360
  ),
15355
- l.length > 1 && /* @__PURE__ */ L(
15361
+ l.length > 1 && /* @__PURE__ */ M(
15356
15362
  "button",
15357
15363
  {
15358
15364
  type: "button",
@@ -15374,8 +15380,8 @@ function Vy() {
15374
15380
  paddingRight: `${o.spacing.baseUnit * 2}px`
15375
15381
  },
15376
15382
  children: [
15377
- /* @__PURE__ */ L("span", { children: "+" }),
15378
- /* @__PURE__ */ L("span", { children: "Add more" })
15383
+ /* @__PURE__ */ M("span", { children: "+" }),
15384
+ /* @__PURE__ */ M("span", { children: "Add more" })
15379
15385
  ]
15380
15386
  }
15381
15387
  )
@@ -15404,18 +15410,18 @@ var Dy = ["allowCreateWhileLoading", "createOptionPosition", "formatCreateLabel"
15404
15410
  }
15405
15411
  };
15406
15412
  function Ny(e) {
15407
- var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, i = r === void 0 ? "last" : r, o = e.formatCreateLabel, a = o === void 0 ? xi.formatCreateLabel : o, s = e.isValidNewOption, l = s === void 0 ? xi.isValidNewOption : s, u = e.getNewOptionData, c = u === void 0 ? xi.getNewOptionData : u, d = e.onCreateOption, f = e.options, p = f === void 0 ? [] : f, b = e.onChange, g = kt(e, Dy), I = g.getOptionValue, v = I === void 0 ? Yl : I, E = g.getOptionLabel, A = E === void 0 ? Jl : E, S = g.inputValue, k = g.isLoading, C = g.isMulti, V = g.value, F = g.name, T = dt(function() {
15413
+ var t = e.allowCreateWhileLoading, n = t === void 0 ? !1 : t, r = e.createOptionPosition, i = r === void 0 ? "last" : r, o = e.formatCreateLabel, a = o === void 0 ? xi.formatCreateLabel : o, s = e.isValidNewOption, l = s === void 0 ? xi.isValidNewOption : s, u = e.getNewOptionData, c = u === void 0 ? xi.getNewOptionData : u, d = e.onCreateOption, f = e.options, p = f === void 0 ? [] : f, b = e.onChange, g = kt(e, Dy), I = g.getOptionValue, v = I === void 0 ? Yl : I, E = g.getOptionLabel, A = E === void 0 ? Jl : E, S = g.inputValue, k = g.isLoading, C = g.isMulti, V = g.value, F = g.name, O = rt(function() {
15408
15414
  return l(S, Wr(V), p, {
15409
15415
  getOptionValue: v,
15410
15416
  getOptionLabel: A
15411
15417
  }) ? c(S, a(S)) : void 0;
15412
- }, [a, c, A, v, S, l, p, V]), B = dt(function() {
15413
- return (n || !k) && T ? i === "first" ? [T].concat(wn(p)) : [].concat(wn(p), [T]) : p;
15414
- }, [n, i, k, T, p]), G = We(function(O, _) {
15418
+ }, [a, c, A, v, S, l, p, V]), T = rt(function() {
15419
+ return (n || !k) && O ? i === "first" ? [O].concat(wn(p)) : [].concat(wn(p), [O]) : p;
15420
+ }, [n, i, k, O, p]), B = Ze(function(G, _) {
15415
15421
  if (_.action !== "select-option")
15416
- return b(O, _);
15417
- var te = Array.isArray(O) ? O : [O];
15418
- if (te[te.length - 1] === T) {
15422
+ return b(G, _);
15423
+ var ee = Array.isArray(G) ? G : [G];
15424
+ if (ee[ee.length - 1] === O) {
15419
15425
  if (d) d(S);
15420
15426
  else {
15421
15427
  var X = c(S, S), J = {
@@ -15427,16 +15433,16 @@ function Ny(e) {
15427
15433
  }
15428
15434
  return;
15429
15435
  }
15430
- b(O, _);
15431
- }, [c, S, C, F, T, d, b, V]);
15436
+ b(G, _);
15437
+ }, [c, S, C, F, O, d, b, V]);
15432
15438
  return Z(Z({}, g), {}, {
15433
- options: B,
15434
- onChange: G
15439
+ options: T,
15440
+ onChange: B
15435
15441
  });
15436
15442
  }
15437
15443
  var Ly = /* @__PURE__ */ Cs(function(e, t) {
15438
15444
  var n = Sl(e), r = Ny(n);
15439
- return /* @__PURE__ */ ee.createElement(So, Y({
15445
+ return /* @__PURE__ */ te.createElement(So, Y({
15440
15446
  ref: t
15441
15447
  }, r));
15442
15448
  }), My = Ly;
@@ -15462,11 +15468,11 @@ function eo({
15462
15468
  b,
15463
15469
  g
15464
15470
  ] = me(l);
15465
- Ye(() => {
15471
+ We(() => {
15466
15472
  p(t);
15467
15473
  }, [
15468
15474
  t
15469
- ]), Ye(() => {
15475
+ ]), We(() => {
15470
15476
  g(l);
15471
15477
  }, [
15472
15478
  l
@@ -15479,31 +15485,31 @@ function eo({
15479
15485
  boxShadow: d.boxShadow.input
15480
15486
  })
15481
15487
  }
15482
- }, v = dt(() => {
15488
+ }, v = rt(() => {
15483
15489
  let F = b;
15484
15490
  if (F != null)
15485
15491
  if (Array.isArray(F)) {
15486
15492
  if (typeof F[0] != "object") {
15487
- const T = [];
15488
- for (const B of F) {
15489
- let G = {
15490
- label: B,
15491
- value: B
15493
+ const O = [];
15494
+ for (const T of F) {
15495
+ let B = {
15496
+ label: T,
15497
+ value: T
15492
15498
  };
15493
- for (const O of f)
15494
- if (O.value === B) {
15495
- G = O;
15499
+ for (const G of f)
15500
+ if (G.value === T) {
15501
+ B = G;
15496
15502
  break;
15497
15503
  }
15498
- T.push(G);
15504
+ O.push(B);
15499
15505
  }
15500
- F = T;
15506
+ F = O;
15501
15507
  }
15502
15508
  } else if (typeof F != "object")
15503
15509
  if ((f == null ? void 0 : f[0]) && typeof f[0] == "object") {
15504
- for (const B of f)
15505
- if (B.value === b) {
15506
- F = B;
15510
+ for (const T of f)
15511
+ if (T.value === b) {
15512
+ F = T;
15507
15513
  break;
15508
15514
  }
15509
15515
  } else
@@ -15519,10 +15525,10 @@ function eo({
15519
15525
  ]), E = ({
15520
15526
  // eslint-disable-next-line react/prop-types
15521
15527
  children: F,
15522
- ...T
15523
- }) => /* @__PURE__ */ Te(pr.MenuList, { ...T, children: [
15528
+ ...O
15529
+ }) => /* @__PURE__ */ Te(pr.MenuList, { ...O, children: [
15524
15530
  F,
15525
- /* @__PURE__ */ L("div", { className: "pt-4", children: /* @__PURE__ */ L(tu, { onChange: i }) })
15531
+ /* @__PURE__ */ M("div", { className: "pt-4", children: /* @__PURE__ */ M(tu, { onChange: i }) })
15526
15532
  ] }), A = c.getProps("controlSelect", I);
15527
15533
  r && (A.components = {
15528
15534
  // eslint-disable-next-line react/prop-types
@@ -15530,23 +15536,23 @@ function eo({
15530
15536
  MenuList: E
15531
15537
  });
15532
15538
  const S = (F) => {
15533
- const T = (_) => typeof _ == "object" ? _ : {
15539
+ const O = (_) => typeof _ == "object" ? _ : {
15534
15540
  label: _,
15535
15541
  value: _
15536
- }, B = T(F);
15537
- let G = B;
15538
- const O = f ? [
15539
- B,
15542
+ }, T = O(F);
15543
+ let B = T;
15544
+ const G = f ? [
15545
+ T,
15540
15546
  ...f
15541
15547
  ] : [
15542
- B
15548
+ T
15543
15549
  ];
15544
- p(O), s.type.endsWith("[]") && (Array.isArray(b) ? G = [
15545
- ...b.map(T),
15546
- B
15547
- ] : G = [
15548
- B
15549
- ]), g(G), k(G);
15550
+ p(G), s.type.endsWith("[]") && (Array.isArray(b) ? B = [
15551
+ ...b.map(O),
15552
+ T
15553
+ ] : B = [
15554
+ T
15555
+ ]), g(B), k(B);
15550
15556
  }, k = (F) => {
15551
15557
  if (F)
15552
15558
  if (Array.isArray(F))
@@ -15564,7 +15570,7 @@ function eo({
15564
15570
  }, C = {
15565
15571
  onCreateOption: s.remoteOptions ? S : void 0
15566
15572
  };
15567
- return /* @__PURE__ */ L(
15573
+ return /* @__PURE__ */ M(
15568
15574
  e ? My : Qr,
15569
15575
  {
15570
15576
  inputId: a,
@@ -15617,7 +15623,7 @@ function Hy() {
15617
15623
  minHeight: "120px",
15618
15624
  resize: "vertical"
15619
15625
  };
15620
- return /* @__PURE__ */ L(
15626
+ return /* @__PURE__ */ M(
15621
15627
  "textarea",
15622
15628
  {
15623
15629
  id: t,
@@ -15683,14 +15689,14 @@ function zy({ queryEnabled: e }) {
15683
15689
  const [
15684
15690
  V,
15685
15691
  F
15686
- ] = me(), T = () => {
15692
+ ] = me(), O = () => {
15687
15693
  p(E.page), v(E.prevContext), A({
15688
15694
  ...E,
15689
15695
  prevContext: {}
15690
15696
  });
15691
15697
  }, {
15692
- isFetching: B,
15693
- refetch: G
15698
+ isFetching: T,
15699
+ refetch: B
15694
15700
  } = gn({
15695
15701
  queryKey: [
15696
15702
  "componentConfigure",
@@ -15701,15 +15707,15 @@ function zy({ queryEnabled: e }) {
15701
15707
  const X = await t.componentConfigure(k), {
15702
15708
  options: J,
15703
15709
  stringOptions: se,
15704
- errors: de
15710
+ errors: ce
15705
15711
  } = X;
15706
- if (de != null && de.length) {
15712
+ if (ce != null && ce.length) {
15707
15713
  try {
15708
- F(JSON.parse(de[0]));
15714
+ F(JSON.parse(ce[0]));
15709
15715
  } catch {
15710
15716
  F({
15711
15717
  name: "Error",
15712
- message: de[0]
15718
+ message: ce[0]
15713
15719
  });
15714
15720
  }
15715
15721
  return [];
@@ -15717,17 +15723,17 @@ function zy({ queryEnabled: e }) {
15717
15723
  let ve = [];
15718
15724
  if (J != null && J.length && (ve = J), se != null && se.length) {
15719
15725
  const m = [];
15720
- for (const he of se)
15726
+ for (const ge of se)
15721
15727
  m.push({
15722
- label: he,
15723
- value: he
15728
+ label: ge,
15729
+ value: ge
15724
15730
  });
15725
15731
  ve = m;
15726
15732
  }
15727
- const y = [], le = new Set(E.values);
15733
+ const y = [], fe = new Set(E.values);
15728
15734
  for (const m of ve || []) {
15729
- const he = typeof m == "string" ? m : m.value;
15730
- le.has(he) || (le.add(he), y.push(m));
15735
+ const ge = typeof m == "string" ? m : m.value;
15736
+ fe.has(ge) || (fe.add(ge), y.push(m));
15731
15737
  }
15732
15738
  let ie = E.data;
15733
15739
  return y.length ? (ie = [
@@ -15737,28 +15743,28 @@ function zy({ queryEnabled: e }) {
15737
15743
  page: f + 1,
15738
15744
  prevContext: X.context,
15739
15745
  data: ie,
15740
- values: le
15746
+ values: fe
15741
15747
  })) : g(!1), ie;
15742
15748
  },
15743
15749
  enabled: !!e
15744
- }), O = () => !B && !V && b, _ = V ? V.message : s ? "Click to configure" : e ? void 0 : "Configure props above first", te = s ? !1 : !e;
15745
- return /* @__PURE__ */ L(
15750
+ }), G = () => !T && !V && b, _ = V ? V.message : s ? "Click to configure" : e ? void 0 : "Configure props above first", ee = s ? !1 : !e;
15751
+ return /* @__PURE__ */ M(
15746
15752
  eo,
15747
15753
  {
15748
15754
  isCreatable: !0,
15749
- showLoadMoreButton: O(),
15750
- onLoadMore: T,
15755
+ showLoadMoreButton: G(),
15756
+ onLoadMore: O,
15751
15757
  options: E.data,
15752
15758
  selectProps: {
15753
- isLoading: B,
15759
+ isLoading: T,
15754
15760
  placeholder: _,
15755
- isDisabled: te,
15761
+ isDisabled: ee,
15756
15762
  inputValue: u.useQuery ? c : void 0,
15757
15763
  onInputChange(X) {
15758
- u.useQuery && (d(X), G());
15764
+ u.useQuery && (d(X), B());
15759
15765
  },
15760
15766
  onMenuOpen() {
15761
- s && !e && G();
15767
+ s && !e && B();
15762
15768
  }
15763
15769
  }
15764
15770
  }
@@ -15773,34 +15779,34 @@ function Wy(e) {
15773
15779
  idx: o
15774
15780
  } = t, a = "app" in t.extra ? t.extra.app : void 0;
15775
15781
  if (i.remoteOptions || i.type === "$.discord.channel")
15776
- return /* @__PURE__ */ L(zy, { queryEnabled: r == null || r >= o });
15782
+ return /* @__PURE__ */ M(zy, { queryEnabled: r == null || r >= o });
15777
15783
  if ("options" in i && i.options) {
15778
15784
  let s = i.options;
15779
15785
  return typeof s[0] != "object" && (s = s.map((l) => ({
15780
15786
  label: l,
15781
15787
  value: l
15782
- }))), /* @__PURE__ */ L(eo, { options: s, components: {
15788
+ }))), /* @__PURE__ */ M(eo, { options: s, components: {
15783
15789
  IndicatorSeparator: () => null
15784
15790
  } });
15785
15791
  }
15786
15792
  if (i.type.endsWith("[][]"))
15787
15793
  throw new Error("Unsupported property type: " + i.type);
15788
15794
  if (i.type.endsWith("[]"))
15789
- return !("options" in i) || !i.options ? /* @__PURE__ */ L(By, {}) : /* @__PURE__ */ L(eo, { isCreatable: !0, options: [], components: {
15795
+ return !("options" in i) || !i.options ? /* @__PURE__ */ M(By, {}) : /* @__PURE__ */ M(eo, { isCreatable: !0, options: [], components: {
15790
15796
  IndicatorSeparator: () => null
15791
15797
  } });
15792
15798
  switch (i.type) {
15793
15799
  case "app":
15794
- return /* @__PURE__ */ L(Gy, { app: a });
15800
+ return /* @__PURE__ */ M(Gy, { app: a });
15795
15801
  case "boolean":
15796
- return /* @__PURE__ */ L(Ty, {});
15802
+ return /* @__PURE__ */ M(Ty, {});
15797
15803
  case "string":
15798
15804
  case "integer":
15799
- return /* @__PURE__ */ L(Oy, {});
15805
+ return /* @__PURE__ */ M(Oy, {});
15800
15806
  case "object":
15801
- return /* @__PURE__ */ L(Vy, {});
15807
+ return /* @__PURE__ */ M(Vy, {});
15802
15808
  case "sql":
15803
- return /* @__PURE__ */ L(Hy, {});
15809
+ return /* @__PURE__ */ M(Hy, {});
15804
15810
  default:
15805
15811
  throw new Error("Unsupported property type: " + i.type);
15806
15812
  }
@@ -15828,10 +15834,10 @@ function Zy(e) {
15828
15834
  return null;
15829
15835
  let d = r.label || r.name;
15830
15836
  return c && (d = `Connect ${c.name} account`), /* @__PURE__ */ Te("div", { ...i("field", a, e), children: [
15831
- /* @__PURE__ */ L(s, { text: d, field: n, form: t }),
15832
- /* @__PURE__ */ L(Wy, { field: n, form: t }),
15833
- /* @__PURE__ */ L(l, { markdown: r.description, field: n, form: t }),
15834
- /* @__PURE__ */ L(u, { field: n, form: t })
15837
+ /* @__PURE__ */ M(s, { text: d, field: n, form: t }),
15838
+ /* @__PURE__ */ M(Wy, { field: n, form: t }),
15839
+ /* @__PURE__ */ M(l, { markdown: r.description, field: n, form: t }),
15840
+ /* @__PURE__ */ M(u, { field: n, form: t })
15835
15841
  ] });
15836
15842
  }
15837
15843
  const jy = (e, t) => {
@@ -15884,9 +15890,9 @@ function Jy({
15884
15890
  errors: s,
15885
15891
  enableDebugging: l
15886
15892
  };
15887
- return Ye(() => o(f), [
15893
+ return We(() => o(f), [
15888
15894
  f
15889
- ]), /* @__PURE__ */ L(nu.Provider, { value: f, children: /* @__PURE__ */ L(Zy, { field: f, form: n }) });
15895
+ ]), /* @__PURE__ */ M(nu.Provider, { value: f, children: /* @__PURE__ */ M(Zy, { field: f, form: n }) });
15890
15896
  }
15891
15897
  class Yy extends Is {
15892
15898
  constructor() {
@@ -15912,7 +15918,7 @@ function _y(e) {
15912
15918
  getProps: i,
15913
15919
  theme: o
15914
15920
  } = _e();
15915
- return /* @__PURE__ */ L("input", { type: "submit", value: r ? "Submitting..." : "Submit", ...i("controlSubmit", ((s) => {
15921
+ return /* @__PURE__ */ M("input", { type: "submit", value: r ? "Submitting..." : "Submit", ...i("controlSubmit", ((s) => {
15916
15922
  var l;
15917
15923
  return {
15918
15924
  width: "fit-content",
@@ -15944,19 +15950,19 @@ function qy() {
15944
15950
  sdkErrors: l,
15945
15951
  submitting: u,
15946
15952
  enableDebugging: c
15947
- } = e, d = c || l.filter((B) => Uy.includes(B.name)).length > 0, {
15953
+ } = e, d = c || l.filter((T) => Uy.includes(T.name)).length > 0, {
15948
15954
  hideOptionalProps: f,
15949
15955
  onSubmit: p
15950
15956
  } = a, [
15951
15957
  b,
15952
15958
  g
15953
15959
  ] = me([]);
15954
- Ye(() => {
15955
- u ? g([]) : l && l.length && g(l.map((B) => ({
15960
+ We(() => {
15961
+ u ? g([]) : l && l.length && g(l.map((T) => ({
15956
15962
  type: "alert",
15957
15963
  alertType: "error",
15958
- content: `# ${B.name}
15959
- ${B.message}`
15964
+ content: `# ${T.name}
15965
+ ${T.message}`
15960
15966
  })));
15961
15967
  }, [
15962
15968
  l,
@@ -15981,8 +15987,8 @@ ${B.message}`
15981
15987
  fontSize: "0.875rem",
15982
15988
  lineHeight: "1.375",
15983
15989
  margin: "0 0 0.5rem 0"
15984
- }, V = async (B) => {
15985
- if (p && (B.preventDefault(), r)) {
15990
+ }, V = async (T) => {
15991
+ if (p && (T.preventDefault(), r)) {
15986
15992
  s(!0);
15987
15993
  try {
15988
15994
  await p(e);
@@ -15990,56 +15996,56 @@ ${B.message}`
15990
15996
  s(!1);
15991
15997
  }
15992
15998
  }
15993
- }, F = [], T = [];
15994
- for (let B = 0; B < t.length; B++) {
15995
- const G = t[B];
15996
- if (!G.hidden && !Pr.includes(G.type)) {
15997
- if (G.optional) {
15998
- const O = i(G);
15999
- if (T.push([
16000
- G,
16001
- O
16002
- ]), !O)
15999
+ }, F = [], O = [];
16000
+ for (let T = 0; T < t.length; T++) {
16001
+ const B = t[T];
16002
+ if (!B.hidden && !Pr.includes(B.type)) {
16003
+ if (B.optional) {
16004
+ const G = i(B);
16005
+ if (O.push([
16006
+ B,
16007
+ G
16008
+ ]), !G)
16003
16009
  continue;
16004
16010
  }
16005
16011
  F.push([
16006
- G,
16007
- B
16012
+ B,
16013
+ T
16008
16014
  ]);
16009
16015
  }
16010
16016
  }
16011
- return /* @__PURE__ */ L(Yy, { fallback: (B) => /* @__PURE__ */ Te("p", { style: {
16017
+ return /* @__PURE__ */ M(Yy, { fallback: (T) => /* @__PURE__ */ Te("p", { style: {
16012
16018
  color: "red"
16013
16019
  }, children: [
16014
16020
  "Error: ",
16015
- B && typeof B == "object" && "message" in B && typeof B.message == "string" ? B.message : "Unknown"
16016
- ] }), children: /* @__PURE__ */ L(ic, { fallback: /* @__PURE__ */ L("p", { children: "Loading form..." }), children: /* @__PURE__ */ Te("form", { ...v("componentForm", S, a), onSubmit: V, children: [
16021
+ T && typeof T == "object" && "message" in T && typeof T.message == "string" ? T.message : "Unknown"
16022
+ ] }), children: /* @__PURE__ */ M(ic, { fallback: /* @__PURE__ */ M("p", { children: "Loading form..." }), children: /* @__PURE__ */ Te("form", { ...v("componentForm", S, a), onSubmit: V, children: [
16017
16023
  F.map(([
16018
- B,
16019
- G
16020
- ]) => B.type === "alert" ? /* @__PURE__ */ L(Ti, { prop: B }, B.name) : /* @__PURE__ */ L(Jy, { prop: B, idx: G }, B.name)),
16021
- n && /* @__PURE__ */ L("p", { children: "Loading dynamic props..." }),
16022
- !f && T.length ? /* @__PURE__ */ Te("div", { children: [
16023
- /* @__PURE__ */ L("div", { ...v("heading", C, a), children: "Optional Props" }),
16024
- /* @__PURE__ */ L("div", { ...v("optionalFields", k, a), children: T.map(([
16025
- B,
16026
- G
16027
- ]) => /* @__PURE__ */ L(
16024
+ T,
16025
+ B
16026
+ ]) => T.type === "alert" ? /* @__PURE__ */ M(Ti, { prop: T }, T.name) : /* @__PURE__ */ M(Jy, { prop: T, idx: B }, T.name)),
16027
+ n && /* @__PURE__ */ M("p", { children: "Loading dynamic props..." }),
16028
+ !f && O.length ? /* @__PURE__ */ Te("div", { children: [
16029
+ /* @__PURE__ */ M("div", { ...v("heading", C, a), children: "Optional Props" }),
16030
+ /* @__PURE__ */ M("div", { ...v("optionalFields", k, a), children: O.map(([
16031
+ T,
16032
+ B
16033
+ ]) => /* @__PURE__ */ M(
16028
16034
  A,
16029
16035
  {
16030
- prop: B,
16031
- enabled: G,
16032
- onClick: () => o(B, !G)
16036
+ prop: T,
16037
+ enabled: B,
16038
+ onClick: () => o(T, !B)
16033
16039
  },
16034
- B.name
16040
+ T.name
16035
16041
  )) })
16036
16042
  ] }) : null,
16037
- d && (b == null ? void 0 : b.map((B, G) => /* @__PURE__ */ L(Ti, { prop: B }, G))),
16038
- p && /* @__PURE__ */ L(_y, { form: e })
16043
+ d && (b == null ? void 0 : b.map((T, B) => /* @__PURE__ */ M(Ti, { prop: T }, B))),
16044
+ p && /* @__PURE__ */ M(_y, { form: e })
16039
16045
  ] }) }) });
16040
16046
  }
16041
16047
  function Qy(e) {
16042
- return /* @__PURE__ */ L(Sg, { props: e, children: /* @__PURE__ */ L(qy, {}) });
16048
+ return /* @__PURE__ */ M(Sg, { props: e, children: /* @__PURE__ */ M(qy, {}) });
16043
16049
  }
16044
16050
  const $y = ({ key: e }, t) => {
16045
16051
  var i;
@@ -16069,10 +16075,10 @@ function lv(e) {
16069
16075
  });
16070
16076
  if (!e.componentKey)
16071
16077
  throw new Error("componentKey required");
16072
- return t ? /* @__PURE__ */ L("p", { children: "Loading..." }) : n ? /* @__PURE__ */ Te("p", { children: [
16078
+ return t ? /* @__PURE__ */ M("p", { children: "Loading..." }) : n ? /* @__PURE__ */ Te("p", { children: [
16073
16079
  "Error: ",
16074
16080
  n.message
16075
- ] }) : r ? /* @__PURE__ */ L(Qy, { component: r, ...e }) : /* @__PURE__ */ L("p", { children: "Component not found" });
16081
+ ] }) : r ? /* @__PURE__ */ M(Qy, { component: r, ...e }) : /* @__PURE__ */ M("p", { children: "Component not found" });
16076
16082
  }
16077
16083
  function uv() {
16078
16084
  const e = Vt(), {
@@ -16090,7 +16096,7 @@ function uv() {
16090
16096
  boxShadow: o.boxShadow.input
16091
16097
  };
16092
16098
  let s = r;
16093
- return typeof s == "object" && (s = JSON.stringify(s)), /* @__PURE__ */ L(
16099
+ return typeof s == "object" && (s = JSON.stringify(s)), /* @__PURE__ */ M(
16094
16100
  "textarea",
16095
16101
  {
16096
16102
  id: t,
@@ -16121,73 +16127,85 @@ function cv({
16121
16127
  const [
16122
16128
  n,
16123
16129
  r
16124
- ] = me(""), i = to(), {
16125
- isLoading: o,
16130
+ ] = me(""), [
16131
+ i,
16132
+ o
16133
+ ] = me(""), a = to();
16134
+ We(() => {
16135
+ const f = setTimeout(() => {
16136
+ o(n);
16137
+ }, 300);
16138
+ return () => clearTimeout(f);
16139
+ }, [
16140
+ n
16141
+ ]);
16142
+ const {
16143
+ isLoading: s,
16126
16144
  // TODO error
16127
- apps: a
16145
+ apps: l
16128
16146
  } = Ky({
16129
- q: n
16147
+ q: i
16130
16148
  }), {
16131
- Option: s,
16132
- SingleValue: l
16133
- } = pr, u = (a == null ? void 0 : a.find((c) => c.name_slug === (e == null ? void 0 : e.name_slug))) || null;
16134
- return /* @__PURE__ */ L(
16149
+ Option: u,
16150
+ SingleValue: c
16151
+ } = pr, d = (l == null ? void 0 : l.find((f) => f.name_slug === (e == null ? void 0 : e.name_slug))) || (e != null && e.name_slug ? e : null);
16152
+ return /* @__PURE__ */ M(
16135
16153
  Qr,
16136
16154
  {
16137
- instanceId: i,
16155
+ instanceId: a,
16138
16156
  className: "react-select-container text-sm",
16139
16157
  classNamePrefix: "react-select",
16140
16158
  components: {
16141
- Option: (c) => /* @__PURE__ */ L(s, { ...c, children: /* @__PURE__ */ Te("div", { style: {
16159
+ Option: (f) => /* @__PURE__ */ M(u, { ...f, children: /* @__PURE__ */ Te("div", { style: {
16142
16160
  display: "flex",
16143
16161
  gap: 10
16144
16162
  }, children: [
16145
- /* @__PURE__ */ L(
16163
+ /* @__PURE__ */ M(
16146
16164
  "img",
16147
16165
  {
16148
- src: `https://pipedream.com/s.v0/${c.data.id}/logo/48`,
16166
+ src: `https://pipedream.com/s.v0/${f.data.id}/logo/48`,
16149
16167
  style: {
16150
16168
  height: 24,
16151
16169
  width: 24
16152
16170
  },
16153
- alt: c.data.name
16171
+ alt: f.data.name
16154
16172
  }
16155
16173
  ),
16156
- /* @__PURE__ */ L("span", { style: {
16174
+ /* @__PURE__ */ M("span", { style: {
16157
16175
  whiteSpace: "nowrap"
16158
- }, children: c.data.name })
16176
+ }, children: f.data.name })
16159
16177
  ] }) }),
16160
- SingleValue: (c) => /* @__PURE__ */ L(l, { ...c, children: /* @__PURE__ */ Te("div", { style: {
16178
+ SingleValue: (f) => /* @__PURE__ */ M(c, { ...f, children: /* @__PURE__ */ Te("div", { style: {
16161
16179
  display: "flex",
16162
16180
  gap: 10,
16163
16181
  alignItems: "center"
16164
16182
  }, children: [
16165
- /* @__PURE__ */ L(
16183
+ /* @__PURE__ */ M(
16166
16184
  "img",
16167
16185
  {
16168
- src: `https://pipedream.com/s.v0/${c.data.id}/logo/48`,
16186
+ src: `https://pipedream.com/s.v0/${f.data.id}/logo/48`,
16169
16187
  style: {
16170
16188
  height: 24,
16171
16189
  width: 24
16172
16190
  },
16173
- alt: c.data.name
16191
+ alt: f.data.name
16174
16192
  }
16175
16193
  ),
16176
- /* @__PURE__ */ L("span", { style: {
16194
+ /* @__PURE__ */ M("span", { style: {
16177
16195
  whiteSpace: "nowrap"
16178
- }, children: c.data.name })
16196
+ }, children: f.data.name })
16179
16197
  ] }) }),
16180
16198
  IndicatorSeparator: () => null
16181
16199
  },
16182
- options: a || [],
16183
- getOptionLabel: (c) => c.name || c.name_slug,
16184
- getOptionValue: (c) => c.name_slug,
16185
- value: u,
16186
- onChange: (c) => t == null ? void 0 : t(c || void 0),
16187
- onInputChange: (c) => {
16188
- c && r(c);
16200
+ options: l || [],
16201
+ getOptionLabel: (f) => f.name || f.name_slug,
16202
+ getOptionValue: (f) => f.name_slug,
16203
+ value: d,
16204
+ onChange: (f) => t == null ? void 0 : t(f || void 0),
16205
+ onInputChange: (f, { action: p }) => {
16206
+ p === "input-change" && r(f);
16189
16207
  },
16190
- isLoading: o
16208
+ isLoading: s
16191
16209
  }
16192
16210
  );
16193
16211
  }
@@ -16218,7 +16236,7 @@ function dv({
16218
16236
  app: e == null ? void 0 : e.name_slug,
16219
16237
  componentType: t
16220
16238
  }), s = (a == null ? void 0 : a.find((l) => l.key === (n == null ? void 0 : n.key))) || null;
16221
- return /* @__PURE__ */ L(
16239
+ return /* @__PURE__ */ M(
16222
16240
  Qr,
16223
16241
  {
16224
16242
  instanceId: i,