@inploi/plugin-job-search 3.0.2 → 3.0.3

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 nc = Object.defineProperty;
2
2
  var rc = (e, t, n) => t in e ? nc(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var Po = (e, t, n) => (rc(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import { endpoint as eo, typed as to } from "@inploi/sdk";
5
- var _t = (e) => {
5
+ var mt = (e) => {
6
6
  throw new Error(`Unhandled discriminated union member: ${JSON.stringify(e)}`);
7
7
  };
8
8
  function oc(e, t) {
@@ -44,7 +44,7 @@ var Do = {
44
44
  months: Math.round(i / 1e3 / 60 / 60 / 24 / 30)
45
45
  };
46
46
  return a.days === 0 ? r("today") : Math.abs(a.days) < 30 ? n.format(a.days, "days") : Math.abs(a.days) < 3 ? n.format(a.months, "months") : a.months < 0 ? r("over_30_days_ago") : r("in_over_30_days");
47
- }, Zt, A, ta, it, Ro, na, Tr, ra, yt = {}, oa = [], lc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, jn = Array.isArray;
47
+ }, Zt, A, ta, it, Ro, na, Tr, ra, _t = {}, oa = [], lc = /acit|ex(?:s|g|n|p|$)|rph|grid|ows|mnc|ntw|ine[ch]|zoo|^ord|itera/i, jn = Array.isArray;
48
48
  function Me(e, t) {
49
49
  for (var n in t)
50
50
  e[n] = t[n];
@@ -105,9 +105,9 @@ function Sn() {
105
105
  Sn.__r = 0;
106
106
  }
107
107
  function ca(e, t, n, r, o, i, a, s, l, d, f) {
108
- var c, h, p, g, v, y, m, b, w, _, x = 0, $ = r && r.__k || oa, E = $.length, C = E, S = t.length;
108
+ var c, h, p, g, v, y, m, w, b, _, x = 0, $ = r && r.__k || oa, E = $.length, C = E, S = t.length;
109
109
  for (n.__k = [], c = 0; c < S; c++)
110
- (g = n.__k[c] = (g = t[c]) == null || typeof g == "boolean" || typeof g == "function" ? null : typeof g == "string" || typeof g == "number" || typeof g == "bigint" ? Vt(null, g, null, null, g) : jn(g) ? Vt(M, { children: g }, null, null, null) : g.__b > 0 ? Vt(g.type, g.props, g.key, g.ref ? g.ref : null, g.__v) : g) != null && (g.__ = n, g.__b = n.__b + 1, (b = uc(g, $, m = c + x, C)) === -1 ? p = yt : (p = $[b] || yt, $[b] = void 0, C--), no(e, g, p, o, i, a, s, l, d, f), v = g.__e, (h = g.ref) && p.ref != h && (p.ref && ro(p.ref, null, g), f.push(h, g.__c || v, g)), v != null && (y == null && (y = v), _ = !(w = p === yt || p.__v === null) && b === m, w ? b == -1 && x-- : b !== m && (b === m + 1 ? (x++, _ = !0) : b > m ? C > S - m ? (x += b - m, _ = !0) : x-- : x = b < m && b == m - 1 ? b - m : 0), m = c + x, _ = _ || b == c && !w, typeof g.type != "function" || b === m && p.__k !== g.__k ? typeof g.type == "function" || _ ? g.__d !== void 0 ? (l = g.__d, g.__d = void 0) : l = v.nextSibling : l = ua(e, v, l) : l = la(g, l, e), typeof n.type == "function" && (n.__d = l)));
110
+ (g = n.__k[c] = (g = t[c]) == null || typeof g == "boolean" || typeof g == "function" ? null : typeof g == "string" || typeof g == "number" || typeof g == "bigint" ? Vt(null, g, null, null, g) : jn(g) ? Vt(M, { children: g }, null, null, null) : g.__b > 0 ? Vt(g.type, g.props, g.key, g.ref ? g.ref : null, g.__v) : g) != null && (g.__ = n, g.__b = n.__b + 1, (w = uc(g, $, m = c + x, C)) === -1 ? p = _t : (p = $[w] || _t, $[w] = void 0, C--), no(e, g, p, o, i, a, s, l, d, f), v = g.__e, (h = g.ref) && p.ref != h && (p.ref && ro(p.ref, null, g), f.push(h, g.__c || v, g)), v != null && (y == null && (y = v), _ = !(b = p === _t || p.__v === null) && w === m, b ? w == -1 && x-- : w !== m && (w === m + 1 ? (x++, _ = !0) : w > m ? C > S - m ? (x += w - m, _ = !0) : x-- : x = w < m && w == m - 1 ? w - m : 0), m = c + x, _ = _ || w == c && !b, typeof g.type != "function" || w === m && p.__k !== g.__k ? typeof g.type == "function" || _ ? g.__d !== void 0 ? (l = g.__d, g.__d = void 0) : l = v.nextSibling : l = ua(e, v, l) : l = la(g, l, e), typeof n.type == "function" && (n.__d = l)));
111
111
  for (n.__e = y, c = E; c--; )
112
112
  $[c] != null && (typeof n.type == "function" && $[c].__e != null && $[c].__e == n.__d && (n.__d = $[c].__e.nextSibling), fa($[c], $[c]));
113
113
  }
@@ -188,17 +188,17 @@ function Mo(e) {
188
188
  return this.l[e.type + !0](A.event ? A.event(e) : e);
189
189
  }
190
190
  function no(e, t, n, r, o, i, a, s, l, d) {
191
- var f, c, h, p, g, v, y, m, b, w, _, x, $, E, C, S = t.type;
191
+ var f, c, h, p, g, v, y, m, w, b, _, x, $, E, C, S = t.type;
192
192
  if (t.constructor !== void 0)
193
193
  return null;
194
194
  n.__h != null && (l = n.__h, s = t.__e = n.__e, t.__h = null, i = [s]), (f = A.__b) && f(t);
195
195
  try {
196
196
  e:
197
197
  if (typeof S == "function") {
198
- if (m = t.props, b = (f = S.contextType) && r[f.__c], w = f ? b ? b.props.value : f.__ : r, n.__c ? y = (c = t.__c = n.__c).__ = c.__E : ("prototype" in S && S.prototype.render ? t.__c = c = new S(m, w) : (t.__c = c = new fe(m, w), c.constructor = S, c.render = pc), b && b.sub(c), c.props = m, c.state || (c.state = {}), c.context = w, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), S.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Me({}, c.__s)), Me(c.__s, S.getDerivedStateFromProps(m, c.__s))), p = c.props, g = c.state, c.__v = t, h)
198
+ if (m = t.props, w = (f = S.contextType) && r[f.__c], b = f ? w ? w.props.value : f.__ : r, n.__c ? y = (c = t.__c = n.__c).__ = c.__E : ("prototype" in S && S.prototype.render ? t.__c = c = new S(m, b) : (t.__c = c = new fe(m, b), c.constructor = S, c.render = pc), w && w.sub(c), c.props = m, c.state || (c.state = {}), c.context = b, c.__n = r, h = c.__d = !0, c.__h = [], c._sb = []), c.__s == null && (c.__s = c.state), S.getDerivedStateFromProps != null && (c.__s == c.state && (c.__s = Me({}, c.__s)), Me(c.__s, S.getDerivedStateFromProps(m, c.__s))), p = c.props, g = c.state, c.__v = t, h)
199
199
  S.getDerivedStateFromProps == null && c.componentWillMount != null && c.componentWillMount(), c.componentDidMount != null && c.__h.push(c.componentDidMount);
200
200
  else {
201
- if (S.getDerivedStateFromProps == null && m !== p && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, w), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, w) === !1 || t.__v === n.__v)) {
201
+ if (S.getDerivedStateFromProps == null && m !== p && c.componentWillReceiveProps != null && c.componentWillReceiveProps(m, b), !c.__e && (c.shouldComponentUpdate != null && c.shouldComponentUpdate(m, c.__s, b) === !1 || t.__v === n.__v)) {
202
202
  for (t.__v !== n.__v && (c.props = m, c.state = c.__s, c.__d = !1), t.__e = n.__e, t.__k = n.__k, t.__k.forEach(function(R) {
203
203
  R && (R.__ = t);
204
204
  }), _ = 0; _ < c._sb.length; _++)
@@ -206,11 +206,11 @@ function no(e, t, n, r, o, i, a, s, l, d) {
206
206
  c._sb = [], c.__h.length && a.push(c);
207
207
  break e;
208
208
  }
209
- c.componentWillUpdate != null && c.componentWillUpdate(m, c.__s, w), c.componentDidUpdate != null && c.__h.push(function() {
209
+ c.componentWillUpdate != null && c.componentWillUpdate(m, c.__s, b), c.componentDidUpdate != null && c.__h.push(function() {
210
210
  c.componentDidUpdate(p, g, v);
211
211
  });
212
212
  }
213
- if (c.context = w, c.props = m, c.__P = e, c.__e = !1, x = A.__r, $ = 0, "prototype" in S && S.prototype.render) {
213
+ if (c.context = b, c.props = m, c.__P = e, c.__e = !1, x = A.__r, $ = 0, "prototype" in S && S.prototype.render) {
214
214
  for (c.state = c.__s, c.__d = !1, x && x(t), f = c.render(c.props, c.state, c.context), E = 0; E < c._sb.length; E++)
215
215
  c.__h.push(c._sb[E]);
216
216
  c._sb = [];
@@ -256,7 +256,7 @@ function fc(e, t, n, r, o, i, a, s, l) {
256
256
  if (g === null)
257
257
  h === p || s && e.data === p || (e.data = p);
258
258
  else {
259
- if (i = i && Zt.call(e.childNodes), f = (h = n.props || yt).dangerouslySetInnerHTML, c = p.dangerouslySetInnerHTML, !s) {
259
+ if (i = i && Zt.call(e.childNodes), f = (h = n.props || _t).dangerouslySetInnerHTML, c = p.dangerouslySetInnerHTML, !s) {
260
260
  if (i != null)
261
261
  for (h = {}, v = 0; v < e.attributes.length; v++)
262
262
  h[e.attributes[v].name] = e.attributes[v].value;
@@ -299,7 +299,7 @@ function pc(e, t, n) {
299
299
  }
300
300
  function Wt(e, t, n) {
301
301
  var r, o, i, a;
302
- A.__ && A.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], no(t, e = (!r && n || t).__k = O(M, null, [e]), o || yt, yt, t.ownerSVGElement !== void 0, !r && n ? [n] : o ? null : t.firstChild ? Zt.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), da(i, e, a);
302
+ A.__ && A.__(e, t), o = (r = typeof n == "function") ? null : n && n.__k || t.__k, i = [], a = [], no(t, e = (!r && n || t).__k = O(M, null, [e]), o || _t, _t, t.ownerSVGElement !== void 0, !r && n ? [n] : o ? null : t.firstChild ? Zt.call(t.childNodes) : null, i, !r && n ? n : o ? o.__e : t.firstChild, r, a), da(i, e, a);
303
303
  }
304
304
  function pa(e, t) {
305
305
  Wt(e, t, pa);
@@ -310,7 +310,7 @@ function hc(e, t, n) {
310
310
  i == "key" ? r = t[i] : i == "ref" ? o = t[i] : s[i] = t[i] === void 0 && a !== void 0 ? a[i] : t[i];
311
311
  return arguments.length > 2 && (s.children = arguments.length > 3 ? Zt.call(arguments, 2) : n), Vt(e.type, s, r || e.key, o || e.ref, null);
312
312
  }
313
- function ct(e, t) {
313
+ function st(e, t) {
314
314
  var n = { __c: t = "__cC" + ra++, __: e, Consumer: function(r, o) {
315
315
  return r.children(o);
316
316
  }, Provider: function(r) {
@@ -670,11 +670,11 @@ function ce(e, t) {
670
670
  };
671
671
  }
672
672
  // @__NO_SIDE_EFFECTS__
673
- function lt(e, t) {
673
+ function ct(e, t) {
674
674
  return {
675
675
  kind: "schema",
676
676
  type: "optional",
677
- reference: lt,
677
+ reference: ct,
678
678
  expects: `(${e.expects} | undefined)`,
679
679
  async: !1,
680
680
  wrapped: e,
@@ -880,7 +880,7 @@ const Dm = "inploi-job-search", at = 10, jo = /* @__PURE__ */ _e(/* @__PURE__ */
880
880
  current_page: /* @__PURE__ */ me(),
881
881
  per_page: /* @__PURE__ */ me(),
882
882
  last_page: /* @__PURE__ */ me()
883
- }), an = /* @__PURE__ */ lt(/* @__PURE__ */ oe(/* @__PURE__ */ B()), null), Cc = /* @__PURE__ */ ce({
883
+ }), an = /* @__PURE__ */ ct(/* @__PURE__ */ oe(/* @__PURE__ */ B()), null), Cc = /* @__PURE__ */ ce({
884
884
  id: /* @__PURE__ */ me(),
885
885
  company_name: /* @__PURE__ */ B(),
886
886
  company_logo: an,
@@ -914,7 +914,7 @@ const Dm = "inploi-job-search", at = 10, jo = /* @__PURE__ */ _e(/* @__PURE__ */
914
914
  city: /* @__PURE__ */ oe(/* @__PURE__ */ B()),
915
915
  country: /* @__PURE__ */ oe(/* @__PURE__ */ B()),
916
916
  vector_distance: an,
917
- coordinates: /* @__PURE__ */ lt(/* @__PURE__ */ oe(/* @__PURE__ */ ce({ lat: /* @__PURE__ */ me(), lng: /* @__PURE__ */ me() })))
917
+ coordinates: /* @__PURE__ */ ct(/* @__PURE__ */ oe(/* @__PURE__ */ ce({ lat: /* @__PURE__ */ me(), lng: /* @__PURE__ */ me() })))
918
918
  }), _a = (e) => /* @__PURE__ */ _e(
919
919
  Cc,
920
920
  /* @__PURE__ */ ge((t) => {
@@ -1118,7 +1118,7 @@ var Dc = ["other", "few", "many", "two", "one", "zero"], Vo = ({
1118
1118
  }
1119
1119
  return o;
1120
1120
  }, je, z, or, Ho, Ct = 0, ba = [], _n = [], Wo = A.__b, Uo = A.__r, zo = A.diffed, Bo = A.__c, qo = A.unmount;
1121
- function ft(e, t) {
1121
+ function dt(e, t) {
1122
1122
  A.__h && A.__h(z, e, Ct || t), Ct = 0;
1123
1123
  var n = z.__H || (z.__H = { __: [], __h: [] });
1124
1124
  return e >= n.__.length && n.__.push({ __V: _n }), n.__[e];
@@ -1127,7 +1127,7 @@ function D(e) {
1127
1127
  return Ct = 1, Vn(xa, e);
1128
1128
  }
1129
1129
  function Vn(e, t, n) {
1130
- var r = ft(je++, 2);
1130
+ var r = dt(je++, 2);
1131
1131
  if (r.t = e, !r.__c && (r.__ = [n ? n(t) : xa(void 0, t), function(s) {
1132
1132
  var l = r.__N ? r.__N[0] : r.__[0], d = r.t(l, s);
1133
1133
  l !== d && (r.__N = [d, r.__[1]], r.__c.setState({}));
@@ -1163,11 +1163,11 @@ function Vn(e, t, n) {
1163
1163
  return r.__N || r.__;
1164
1164
  }
1165
1165
  function L(e, t) {
1166
- var n = ft(je++, 3);
1166
+ var n = dt(je++, 3);
1167
1167
  !A.__s && lo(n.__H, t) && (n.__ = e, n.i = t, z.__H.__h.push(n));
1168
1168
  }
1169
- function Ue(e, t) {
1170
- var n = ft(je++, 4);
1169
+ function We(e, t) {
1170
+ var n = dt(je++, 4);
1171
1171
  !A.__s && lo(n.__H, t) && (n.__ = e, n.i = t, z.__h.push(n));
1172
1172
  }
1173
1173
  function N(e) {
@@ -1176,7 +1176,7 @@ function N(e) {
1176
1176
  }, []);
1177
1177
  }
1178
1178
  function wa(e, t, n) {
1179
- Ct = 6, Ue(function() {
1179
+ Ct = 6, We(function() {
1180
1180
  return typeof e == "function" ? (e(t()), function() {
1181
1181
  return e(null);
1182
1182
  }) : e ? (e.current = t(), function() {
@@ -1185,7 +1185,7 @@ function wa(e, t, n) {
1185
1185
  }, n == null ? n : n.concat(e));
1186
1186
  }
1187
1187
  function ee(e, t) {
1188
- var n = ft(je++, 7);
1188
+ var n = dt(je++, 7);
1189
1189
  return lo(n.__H, t) ? (n.__V = e(), n.i = t, n.__h = e, n.__V) : n.__;
1190
1190
  }
1191
1191
  function V(e, t) {
@@ -1194,14 +1194,14 @@ function V(e, t) {
1194
1194
  }, t);
1195
1195
  }
1196
1196
  function Ot(e) {
1197
- var t = z.context[e.__c], n = ft(je++, 9);
1197
+ var t = z.context[e.__c], n = dt(je++, 9);
1198
1198
  return n.c = e, t ? (n.__ == null && (n.__ = !0, t.sub(z)), t.props.value) : e.__;
1199
1199
  }
1200
1200
  function so(e, t) {
1201
1201
  A.useDebugValue && A.useDebugValue(t ? t(e) : e);
1202
1202
  }
1203
1203
  function Rc(e) {
1204
- var t = ft(je++, 10), n = D();
1204
+ var t = dt(je++, 10), n = D();
1205
1205
  return t.__ = e, z.componentDidCatch || (z.componentDidCatch = function(r, o) {
1206
1206
  t.__ && t.__(r, o), n[1](r);
1207
1207
  }), [n[0], function() {
@@ -1209,7 +1209,7 @@ function Rc(e) {
1209
1209
  }];
1210
1210
  }
1211
1211
  function co() {
1212
- var e = ft(je++, 11);
1212
+ var e = dt(je++, 11);
1213
1213
  if (!e.__) {
1214
1214
  for (var t = z.__v; t !== null && !t.__m && t.__ !== null; )
1215
1215
  t = t.__;
@@ -1287,7 +1287,7 @@ function lo(e, t) {
1287
1287
  function xa(e, t) {
1288
1288
  return typeof t == "function" ? t(e) : t;
1289
1289
  }
1290
- var Go = ct(null), Mc = (e) => ({
1290
+ var Go = st(null), Mc = (e) => ({
1291
1291
  TranslationProvider: ({ terms: t, children: n, locale: r }) => {
1292
1292
  const o = ee(() => Vo({ locale: r, terms: e, overrides: t }), [t, r]);
1293
1293
  return /* @__PURE__ */ u(Go.Provider, { value: { t: o, locale: r }, children: n });
@@ -1405,9 +1405,9 @@ const Yo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ic =
1405
1405
  }, {}) }, c = o == null || (a = o.compoundVariants) === null || a === void 0 ? void 0 : a.reduce((h, p) => {
1406
1406
  let { class: g, className: v, ...y } = p;
1407
1407
  return Object.entries(y).every((m) => {
1408
- let [b, w] = m;
1409
- const _ = f[b];
1410
- return Array.isArray(w) ? w.includes(_) : _ === w;
1408
+ let [w, b] = m;
1409
+ const _ = f[w];
1410
+ return Array.isArray(b) ? b.includes(_) : _ === b;
1411
1411
  }) ? [...h, g, v] : h;
1412
1412
  }, []);
1413
1413
  return t(o == null ? void 0 : o.base, d, c, i == null ? void 0 : i.class, i == null ? void 0 : i.className);
@@ -1486,7 +1486,7 @@ const Yo = (e) => typeof e == "boolean" ? "".concat(e) : e === 0 ? "0" : e, Ic =
1486
1486
  ]
1487
1487
  }
1488
1488
  );
1489
- }, Ve = ({ error: e, resetError: t, class: n, ...r }) => {
1489
+ }, Ge = ({ error: e, resetError: t, class: n, ...r }) => {
1490
1490
  const { t: o } = re();
1491
1491
  return /* @__PURE__ */ u(
1492
1492
  "div",
@@ -1825,7 +1825,7 @@ const $e = (e) => {
1825
1825
  }
1826
1826
  };
1827
1827
  }).semantic(({ core: e, theme: t, raw: n }) => {
1828
- var s, l, d, f, c, h, p, g, v, y, m, b, w, _, x, $, E, C, S, R, j;
1828
+ var s, l, d, f, c, h, p, g, v, y, m, w, b, _, x, $, E, C, S, R, j;
1829
1829
  const r = (T, P) => n.core.color[T].replace(")", ` / ${P})`), { typography: o, highlights: i } = t, a = ((s = t.accessibility) == null ? void 0 : s.highContrast) ?? !1;
1830
1830
  return {
1831
1831
  font: o.fontFamily ?? "inherit",
@@ -1838,7 +1838,7 @@ const $e = (e) => {
1838
1838
  "weight-filter": ((g = (p = o.filter) == null ? void 0 : p.weight) == null ? void 0 : g.toString()) ?? ((v = o.weight) == null ? void 0 : v.toString()) ?? "inherit",
1839
1839
  "style-tag": ((y = o.tag) == null ? void 0 : y.style) ?? o.style ?? "inherit",
1840
1840
  "style-job-heading": ((m = o.jobHeading) == null ? void 0 : m.style) ?? o.style ?? "inherit",
1841
- "weight-tag": ((w = (b = o.tag) == null ? void 0 : b.weight) == null ? void 0 : w.toString()) ?? ((_ = o.weight) == null ? void 0 : _.toString()) ?? "inherit",
1841
+ "weight-tag": ((b = (w = o.tag) == null ? void 0 : w.weight) == null ? void 0 : b.toString()) ?? ((_ = o.weight) == null ? void 0 : _.toString()) ?? "inherit",
1842
1842
  "weight-job-heading": (($ = (x = o.jobHeading) == null ? void 0 : x.weight) == null ? void 0 : $.toString()) ?? ((E = o.weight) == null ? void 0 : E.toString()) ?? "inherit",
1843
1843
  "style-input": ((C = o.input) == null ? void 0 : C.style) ?? o.style ?? "inherit",
1844
1844
  "weight-input": ((R = (S = o.input) == null ? void 0 : S.weight) == null ? void 0 : R.toString()) ?? ((j = o.weight) == null ? void 0 : j.toString()) ?? "inherit",
@@ -1976,7 +1976,7 @@ function Aa(e, t, n) {
1976
1976
  return Aa(r, t, n);
1977
1977
  }), e.__c && e.__c.__P === t && (e.__e && n.insertBefore(e.__e, e.__d), e.__c.__e = !0, e.__c.__P = n)), e;
1978
1978
  }
1979
- function bt() {
1979
+ function yt() {
1980
1980
  this.__u = 0, this.t = null, this.__b = null;
1981
1981
  }
1982
1982
  function ka(e) {
@@ -1998,13 +1998,13 @@ function uo(e) {
1998
1998
  }
1999
1999
  return o.displayName = "Lazy", o.__f = !0, o;
2000
2000
  }
2001
- function mt() {
2001
+ function gt() {
2002
2002
  this.u = null, this.o = null;
2003
2003
  }
2004
2004
  A.unmount = function(e) {
2005
2005
  var t = e.__c;
2006
2006
  t && t.__R && t.__R(), t && e.__h === !0 && (e.type = null), Jo && Jo(e);
2007
- }, (bt.prototype = new fe()).__c = function(e, t) {
2007
+ }, (yt.prototype = new fe()).__c = function(e, t) {
2008
2008
  var n = t.__c, r = this;
2009
2009
  r.t == null && (r.t = []), r.t.push(n);
2010
2010
  var o = ka(r.__v), i = !1, a = function() {
@@ -2023,9 +2023,9 @@ A.unmount = function(e) {
2023
2023
  }
2024
2024
  }, l = t.__h === !0;
2025
2025
  r.__u++ || l || r.setState({ __a: r.__b = r.__v.__k[0] }), e.then(a, a);
2026
- }, bt.prototype.componentWillUnmount = function() {
2026
+ }, yt.prototype.componentWillUnmount = function() {
2027
2027
  this.t = [];
2028
- }, bt.prototype.render = function(e, t) {
2028
+ }, yt.prototype.render = function(e, t) {
2029
2029
  if (this.__b) {
2030
2030
  if (this.__v.__k) {
2031
2031
  var n = document.createElement("div"), r = this.__v.__k[0].__c;
@@ -2067,7 +2067,7 @@ function Ta(e, t) {
2067
2067
  var n = O(Xc, { __v: e, i: t });
2068
2068
  return n.containerInfo = t, n;
2069
2069
  }
2070
- (mt.prototype = new fe()).__a = function(e) {
2070
+ (gt.prototype = new fe()).__a = function(e) {
2071
2071
  var t = this, n = ka(t.__v), r = t.o.get(e);
2072
2072
  return r[0]++, function(o) {
2073
2073
  var i = function() {
@@ -2075,14 +2075,14 @@ function Ta(e, t) {
2075
2075
  };
2076
2076
  n ? n(i) : i();
2077
2077
  };
2078
- }, mt.prototype.render = function(e) {
2078
+ }, gt.prototype.render = function(e) {
2079
2079
  this.u = null, this.o = /* @__PURE__ */ new Map();
2080
2080
  var t = Ie(e.children);
2081
2081
  e.revealOrder && e.revealOrder[0] === "b" && t.reverse();
2082
2082
  for (var n = t.length; n--; )
2083
2083
  this.o.set(t[n], this.u = [1, 0, this.u]);
2084
2084
  return e.children;
2085
- }, mt.prototype.componentDidUpdate = mt.prototype.componentDidMount = function() {
2085
+ }, gt.prototype.componentDidUpdate = gt.prototype.componentDidMount = function() {
2086
2086
  var e = this;
2087
2087
  this.o.forEach(function(t, n) {
2088
2088
  Qo(e, n, t);
@@ -2152,11 +2152,11 @@ var Na = { ReactCurrentDispatcher: { current: { readContext: function(e) {
2152
2152
  function La(e) {
2153
2153
  return O.bind(null, e);
2154
2154
  }
2155
- function ut(e) {
2155
+ function lt(e) {
2156
2156
  return !!e && e.$$typeof === Pa;
2157
2157
  }
2158
2158
  function At(e) {
2159
- return ut(e) ? hc.apply(null, arguments) : e;
2159
+ return lt(e) ? hc.apply(null, arguments) : e;
2160
2160
  }
2161
2161
  function Ma(e) {
2162
2162
  return !!e.__k && (Wt(null, e), !0);
@@ -2178,10 +2178,10 @@ function Va(e) {
2178
2178
  function Ha() {
2179
2179
  return [!1, po];
2180
2180
  }
2181
- var Wa = Ue;
2181
+ var Wa = We;
2182
2182
  function Ua(e, t) {
2183
2183
  var n = t(), r = D({ h: { __: n, v: t } }), o = r[0].h, i = r[1];
2184
- return Ue(function() {
2184
+ return We(function() {
2185
2185
  o.__ = n, o.v = t, ur(o.__, t()) || i({ h: o });
2186
2186
  }, [e, n, t]), L(function() {
2187
2187
  return ur(o.__, o.v()) || i({ h: o }), e(function() {
@@ -2189,7 +2189,7 @@ function Ua(e, t) {
2189
2189
  });
2190
2190
  }, [e]), n;
2191
2191
  }
2192
- var en = { useState: D, useId: co, useReducer: Vn, useEffect: L, useLayoutEffect: Ue, useInsertionEffect: Wa, useTransition: Ha, useDeferredValue: Va, useSyncExternalStore: Ua, startTransition: po, useRef: N, useImperativeHandle: wa, useMemo: ee, useCallback: V, useContext: Ot, useDebugValue: so, version: "17.0.2", Children: Ae, render: Da, hydrate: Ra, unmountComponentAtNode: Ma, createPortal: Ta, createElement: O, createContext: ct, createFactory: La, cloneElement: At, createRef: aa, Fragment: M, isValidElement: ut, findDOMNode: Ia, Component: fe, PureComponent: Pn, memo: Sa, forwardRef: K, flushSync: Qt, unstable_batchedUpdates: ja, StrictMode: Fa, Suspense: bt, SuspenseList: mt, lazy: uo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Na };
2192
+ var en = { useState: D, useId: co, useReducer: Vn, useEffect: L, useLayoutEffect: We, useInsertionEffect: Wa, useTransition: Ha, useDeferredValue: Va, useSyncExternalStore: Ua, startTransition: po, useRef: N, useImperativeHandle: wa, useMemo: ee, useCallback: V, useContext: Ot, useDebugValue: so, version: "17.0.2", Children: Ae, render: Da, hydrate: Ra, unmountComponentAtNode: Ma, createPortal: Ta, createElement: O, createContext: st, createFactory: La, cloneElement: At, createRef: aa, Fragment: M, isValidElement: lt, findDOMNode: Ia, Component: fe, PureComponent: Pn, memo: Sa, forwardRef: K, flushSync: Qt, unstable_batchedUpdates: ja, StrictMode: Fa, Suspense: yt, SuspenseList: gt, lazy: uo, __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Na };
2193
2193
  const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2194
2194
  __proto__: null,
2195
2195
  Children: Ae,
@@ -2197,11 +2197,11 @@ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2197
2197
  Fragment: M,
2198
2198
  PureComponent: Pn,
2199
2199
  StrictMode: Fa,
2200
- Suspense: bt,
2201
- SuspenseList: mt,
2200
+ Suspense: yt,
2201
+ SuspenseList: gt,
2202
2202
  __SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED: Na,
2203
2203
  cloneElement: At,
2204
- createContext: ct,
2204
+ createContext: st,
2205
2205
  createElement: O,
2206
2206
  createFactory: La,
2207
2207
  createPortal: Ta,
@@ -2211,7 +2211,7 @@ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2211
2211
  flushSync: Qt,
2212
2212
  forwardRef: K,
2213
2213
  hydrate: Ra,
2214
- isValidElement: ut,
2214
+ isValidElement: lt,
2215
2215
  lazy: uo,
2216
2216
  memo: Sa,
2217
2217
  render: Da,
@@ -2227,7 +2227,7 @@ const za = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2227
2227
  useId: co,
2228
2228
  useImperativeHandle: wa,
2229
2229
  useInsertionEffect: Wa,
2230
- useLayoutEffect: Ue,
2230
+ useLayoutEffect: We,
2231
2231
  useMemo: ee,
2232
2232
  useReducer: Vn,
2233
2233
  useRef: N,
@@ -2323,28 +2323,28 @@ function ul() {
2323
2323
  return ii || (ii = 1, process.env.NODE_ENV !== "production" && function() {
2324
2324
  typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
2325
2325
  var e = qa, t = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
2326
- function n(w) {
2326
+ function n(b) {
2327
2327
  {
2328
2328
  for (var _ = arguments.length, x = new Array(_ > 1 ? _ - 1 : 0), $ = 1; $ < _; $++)
2329
2329
  x[$ - 1] = arguments[$];
2330
- r("error", w, x);
2330
+ r("error", b, x);
2331
2331
  }
2332
2332
  }
2333
- function r(w, _, x) {
2333
+ function r(b, _, x) {
2334
2334
  {
2335
2335
  var $ = t.ReactDebugCurrentFrame, E = $.getStackAddendum();
2336
2336
  E !== "" && (_ += "%s", x = x.concat([E]));
2337
2337
  var C = x.map(function(S) {
2338
2338
  return String(S);
2339
2339
  });
2340
- C.unshift("Warning: " + _), Function.prototype.apply.call(console[w], console, C);
2340
+ C.unshift("Warning: " + _), Function.prototype.apply.call(console[b], console, C);
2341
2341
  }
2342
2342
  }
2343
- function o(w, _) {
2344
- return w === _ && (w !== 0 || 1 / w === 1 / _) || w !== w && _ !== _;
2343
+ function o(b, _) {
2344
+ return b === _ && (b !== 0 || 1 / b === 1 / _) || b !== b && _ !== _;
2345
2345
  }
2346
2346
  var i = typeof Object.is == "function" ? Object.is : o, a = e.useState, s = e.useEffect, l = e.useLayoutEffect, d = e.useDebugValue, f = !1, c = !1;
2347
- function h(w, _, x) {
2347
+ function h(b, _, x) {
2348
2348
  f || e.startTransition !== void 0 && (f = !0, n("You are using an outdated, pre-release alpha of React 18 that does not support useSyncExternalStore. The use-sync-external-store shim will not work correctly. Upgrade to a newer pre-release."));
2349
2349
  var $ = _();
2350
2350
  if (!c) {
@@ -2361,7 +2361,7 @@ function ul() {
2361
2361
  S.value = $, S.getSnapshot = _, p(S) && R({
2362
2362
  inst: S
2363
2363
  });
2364
- }, [w, $, _]), s(function() {
2364
+ }, [b, $, _]), s(function() {
2365
2365
  p(S) && R({
2366
2366
  inst: S
2367
2367
  });
@@ -2370,11 +2370,11 @@ function ul() {
2370
2370
  inst: S
2371
2371
  });
2372
2372
  };
2373
- return w(j);
2374
- }, [w]), d($), $;
2373
+ return b(j);
2374
+ }, [b]), d($), $;
2375
2375
  }
2376
- function p(w) {
2377
- var _ = w.getSnapshot, x = w.value;
2376
+ function p(b) {
2377
+ var _ = b.getSnapshot, x = b.value;
2378
2378
  try {
2379
2379
  var $ = _();
2380
2380
  return !i(x, $);
@@ -2382,19 +2382,19 @@ function ul() {
2382
2382
  return !0;
2383
2383
  }
2384
2384
  }
2385
- function g(w, _, x) {
2385
+ function g(b, _, x) {
2386
2386
  return _();
2387
2387
  }
2388
- var v = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !v, m = y ? g : h, b = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : m;
2389
- fr.useSyncExternalStore = b, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2388
+ var v = typeof window < "u" && typeof window.document < "u" && typeof window.document.createElement < "u", y = !v, m = y ? g : h, w = e.useSyncExternalStore !== void 0 ? e.useSyncExternalStore : m;
2389
+ fr.useSyncExternalStore = w, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
2390
2390
  }()), fr;
2391
2391
  }
2392
2392
  process.env.NODE_ENV === "production" ? jr.exports = ll() : jr.exports = ul();
2393
2393
  var dl = jr.exports;
2394
- const Ge = () => {
2394
+ const Ke = () => {
2395
2395
  }, ie = (
2396
2396
  /*#__NOINLINE__*/
2397
- Ge()
2397
+ Ke()
2398
2398
  ), pr = Object, F = (e) => e === ie, Ee = (e) => typeof e == "function", Ye = (e, t) => ({
2399
2399
  ...e,
2400
2400
  ...t
@@ -2444,8 +2444,8 @@ const vl = () => Vr, [Hr, Wr] = Hn && window.addEventListener ? [
2444
2444
  window.addEventListener.bind(window),
2445
2445
  window.removeEventListener.bind(window)
2446
2446
  ] : [
2447
- Ge,
2448
- Ge
2447
+ Ke,
2448
+ Ke
2449
2449
  ], gl = () => {
2450
2450
  const e = Fr && document.visibilityState;
2451
2451
  return F(e) || e !== "hidden";
@@ -2466,7 +2466,7 @@ const vl = () => Vr, [Hr, Wr] = Hn && window.addEventListener ? [
2466
2466
  }, bl = {
2467
2467
  initFocus: ml,
2468
2468
  initReconnect: _l
2469
- }, ai = !en.useId, zt = !Hn || "Deno" in window, wl = (e) => hl() ? window.requestAnimationFrame(e) : setTimeout(e, 1), vr = zt ? L : Ue, gr = typeof navigator < "u" && navigator.connection, si = !zt && gr && ([
2469
+ }, ai = !en.useId, zt = !Hn || "Deno" in window, wl = (e) => hl() ? window.requestAnimationFrame(e) : setTimeout(e, 1), vr = zt ? L : We, gr = typeof navigator < "u" && navigator.connection, si = !zt && gr && ([
2470
2470
  "slow-2g",
2471
2471
  "2g"
2472
2472
  ].includes(gr.effectiveType) || gr.saveData), vo = (e) => {
@@ -2514,9 +2514,9 @@ async function Xa(...e) {
2514
2514
  const [p] = vo(h);
2515
2515
  if (!p)
2516
2516
  return;
2517
- const [g, v] = Ka(t, p), [y, m, b, w] = Le.get(t), _ = () => {
2517
+ const [g, v] = Ka(t, p), [y, m, w, b] = Le.get(t), _ = () => {
2518
2518
  const P = y[p];
2519
- return (Ee(i.revalidate) ? i.revalidate(g().data, h) : i.revalidate !== !1) && (delete b[p], delete w[p], P && P[0]) ? P[0](Za).then(() => g().data) : g().data;
2519
+ return (Ee(i.revalidate) ? i.revalidate(g().data, h) : i.revalidate !== !1) && (delete w[p], delete b[p], P && P[0]) ? P[0](Za).then(() => g().data) : g().data;
2520
2520
  };
2521
2521
  if (e.length < 3)
2522
2522
  return _();
@@ -2580,7 +2580,7 @@ const ci = (e, t) => {
2580
2580
  }, Cl = (e, t) => {
2581
2581
  if (!Le.has(e)) {
2582
2582
  const n = Ye(bl, t), r = {}, o = Xa.bind(ie, e);
2583
- let i = Ge;
2583
+ let i = Ke;
2584
2584
  const a = {}, s = (f, c) => {
2585
2585
  const h = a[f] || [];
2586
2586
  return a[f] = h, h.push(c), () => h.splice(h.indexOf(c), 1);
@@ -2623,11 +2623,11 @@ const ci = (e, t) => {
2623
2623
  }, Sl = (e, t) => Ut(e) == Ut(t), [Ja, Ol] = Cl(/* @__PURE__ */ new Map()), Al = Ye(
2624
2624
  {
2625
2625
  // events
2626
- onLoadingSlow: Ge,
2627
- onSuccess: Ge,
2628
- onError: Ge,
2626
+ onLoadingSlow: Ke,
2627
+ onSuccess: Ke,
2628
+ onError: Ke,
2629
2629
  onErrorRetry: El,
2630
- onDiscarded: Ge,
2630
+ onDiscarded: Ke,
2631
2631
  // switches
2632
2632
  revalidateOnFocus: !0,
2633
2633
  revalidateOnReconnect: !0,
@@ -2654,7 +2654,7 @@ const ci = (e, t) => {
2654
2654
  r && i && (n.use = r.concat(i)), o && a && (n.fallback = Ye(o, a));
2655
2655
  }
2656
2656
  return n;
2657
- }, Tl = ct({}), Pl = "$inf$", Qa = Hn && window.__SWR_DEVTOOLS_USE__, Dl = Qa ? window.__SWR_DEVTOOLS_USE__ : [], Rl = () => {
2657
+ }, Tl = st({}), Pl = "$inf$", Qa = Hn && window.__SWR_DEVTOOLS_USE__, Dl = Qa ? window.__SWR_DEVTOOLS_USE__ : [], Rl = () => {
2658
2658
  Qa && (window.__SWR_DEVTOOLS_REACT__ = en);
2659
2659
  }, Nl = (e) => Ee(e[1]) ? [
2660
2660
  e[0],
@@ -2698,7 +2698,7 @@ const li = en.use || ((e) => {
2698
2698
  }), mr = {
2699
2699
  dedupe: !0
2700
2700
  }, Vl = (e, t, n) => {
2701
- const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: c, keepPreviousData: h } = n, [p, g, v, y] = Le.get(r), [m, b] = vo(e), w = N(!1), _ = N(!1), x = N(m), $ = N(t), E = N(n), C = () => E.current, S = () => C().isVisible() && C().isOnline(), [R, j, T, P] = Ka(r, m), k = N({}).current, G = F(a) ? n.fallback[m] : a, Y = (H, W) => {
2701
+ const { cache: r, compare: o, suspense: i, fallbackData: a, revalidateOnMount: s, revalidateIfStale: l, refreshInterval: d, refreshWhenHidden: f, refreshWhenOffline: c, keepPreviousData: h } = n, [p, g, v, y] = Le.get(r), [m, w] = vo(e), b = N(!1), _ = N(!1), x = N(m), $ = N(t), E = N(n), C = () => E.current, S = () => C().isVisible() && C().isOnline(), [R, j, T, P] = Ka(r, m), k = N({}).current, G = F(a) ? n.fallback[m] : a, Y = (H, W) => {
2702
2702
  for (const te in k) {
2703
2703
  const U = te;
2704
2704
  if (U === "data") {
@@ -2716,14 +2716,14 @@ const li = en.use || ((e) => {
2716
2716
  isLoading: !0,
2717
2717
  ...ve
2718
2718
  } : ve;
2719
- }, te = R(), U = P(), ae = W(te), qe = te === U ? ae : W(U);
2719
+ }, te = R(), U = P(), ae = W(te), Be = te === U ? ae : W(U);
2720
2720
  let Q = ae;
2721
2721
  return [
2722
2722
  () => {
2723
2723
  const ne = W(R());
2724
2724
  return Y(ne, Q) ? (Q.data = ne.data, Q.isLoading = ne.isLoading, Q.isValidating = ne.isValidating, Q.error = ne.error, Q) : (Q = ne, ne);
2725
2725
  },
2726
- () => qe
2726
+ () => Be
2727
2727
  ];
2728
2728
  }, [
2729
2729
  r,
@@ -2737,13 +2737,13 @@ const li = en.use || ((e) => {
2737
2737
  r,
2738
2738
  m
2739
2739
  ]
2740
- ), I[0], I[1]), X = !w.current, Mt = p[m] && p[m].length > 0, he = Z.data, Be = F(he) ? G : he, nt = Z.error, rn = N(Be), Pe = h ? F(he) ? rn.current : he : Be, De = (() => Mt && !F(nt) ? !1 : X && !F(s) ? s : C().isPaused() ? !1 : i ? F(Be) ? !1 : l : F(Be) || l)(), It = !!(m && t && X && De), Jn = F(Z.isValidating) ? It : Z.isValidating, pt = F(Z.isLoading) ? It : Z.isLoading, rt = V(
2740
+ ), I[0], I[1]), X = !b.current, Mt = p[m] && p[m].length > 0, he = Z.data, ze = F(he) ? G : he, nt = Z.error, rn = N(ze), Pe = h ? F(he) ? rn.current : he : ze, De = (() => Mt && !F(nt) ? !1 : X && !F(s) ? s : C().isPaused() ? !1 : i ? F(ze) ? !1 : l : F(ze) || l)(), It = !!(m && t && X && De), Jn = F(Z.isValidating) ? It : Z.isValidating, ft = F(Z.isLoading) ? It : Z.isLoading, rt = V(
2741
2741
  async (H) => {
2742
2742
  const W = $.current;
2743
2743
  if (!m || !W || _.current || C().isPaused())
2744
2744
  return !1;
2745
2745
  let te, U, ae = !0;
2746
- const qe = H || {}, Q = !v[m] || !qe.dedupe, ne = () => ai ? !_.current && m === x.current && w.current : m === x.current, ve = {
2746
+ const Be = H || {}, Q = !v[m] || !Be.dedupe, ne = () => ai ? !_.current && m === x.current && b.current : m === x.current, ve = {
2747
2747
  isValidating: !1,
2748
2748
  isLoading: !1
2749
2749
  }, ot = () => {
@@ -2759,7 +2759,7 @@ const li = en.use || ((e) => {
2759
2759
  if (Q && (j(To), n.loadingTimeout && F(R().data) && setTimeout(() => {
2760
2760
  ae && ne() && C().onLoadingSlow(m, n);
2761
2761
  }, n.loadingTimeout), v[m] = [
2762
- W(b),
2762
+ W(w),
2763
2763
  Ur()
2764
2764
  ]), [te, U] = v[m], te = await te, Q && setTimeout(ko, n.dedupingInterval), !v[m] || v[m][1] !== U)
2765
2765
  return Q && ne() && C().onDiscarded(m), !1;
@@ -2779,7 +2779,7 @@ const li = en.use || ((e) => {
2779
2779
  const er = p[m];
2780
2780
  er && er[0] && er[0](jt.ERROR_REVALIDATE_EVENT, tc);
2781
2781
  }, {
2782
- retryCount: (qe.retryCount || 0) + 1,
2782
+ retryCount: (Be.retryCount || 0) + 1,
2783
2783
  dedupe: !0
2784
2784
  })));
2785
2785
  }
@@ -2813,7 +2813,7 @@ const li = en.use || ((e) => {
2813
2813
  return;
2814
2814
  const H = rt.bind(ie, mr);
2815
2815
  let W = 0;
2816
- const U = Fl(m, p, (ae, qe = {}) => {
2816
+ const U = Fl(m, p, (ae, Be = {}) => {
2817
2817
  if (ae == jt.FOCUS_EVENT) {
2818
2818
  const Q = Date.now();
2819
2819
  C().revalidateOnFocus && Q > W && S() && (W = Q + C().focusThrottleInterval, H());
@@ -2823,12 +2823,12 @@ const li = en.use || ((e) => {
2823
2823
  if (ae == jt.MUTATE_EVENT)
2824
2824
  return rt();
2825
2825
  if (ae == jt.ERROR_REVALIDATE_EVENT)
2826
- return rt(qe);
2826
+ return rt(Be);
2827
2827
  }
2828
2828
  });
2829
- return _.current = !1, x.current = m, w.current = !0, j({
2830
- _k: b
2831
- }), De && (F(Be) || zt ? H() : wl(H)), () => {
2829
+ return _.current = !1, x.current = m, b.current = !0, j({
2830
+ _k: w
2831
+ }), De && (F(ze) || zt ? H() : wl(H)), () => {
2832
2832
  _.current = !0, U();
2833
2833
  };
2834
2834
  }, [
@@ -2850,7 +2850,7 @@ const li = en.use || ((e) => {
2850
2850
  f,
2851
2851
  c,
2852
2852
  m
2853
- ]), so(Pe), i && F(Be) && m) {
2853
+ ]), so(Pe), i && F(ze) && m) {
2854
2854
  if (!ai && zt)
2855
2855
  throw new Error("Fallback data is required when using suspense in SSR.");
2856
2856
  $.current = t, E.current = n, _.current = !1;
@@ -2877,7 +2877,7 @@ const li = en.use || ((e) => {
2877
2877
  return k.isValidating = !0, Jn;
2878
2878
  },
2879
2879
  get isLoading() {
2880
- return k.isLoading = !0, pt;
2880
+ return k.isLoading = !0, ft;
2881
2881
  }
2882
2882
  };
2883
2883
  }, Bt = jl(Vl), zr = (e) => {
@@ -2923,7 +2923,7 @@ function Te(...e) {
2923
2923
  function go(e, t = []) {
2924
2924
  let n = [];
2925
2925
  function r(i, a) {
2926
- const s = /* @__PURE__ */ ct(a), l = n.length;
2926
+ const s = /* @__PURE__ */ st(a), l = n.length;
2927
2927
  n = [
2928
2928
  ...n,
2929
2929
  a
@@ -2951,7 +2951,7 @@ function go(e, t = []) {
2951
2951
  ];
2952
2952
  }
2953
2953
  const o = () => {
2954
- const i = n.map((a) => /* @__PURE__ */ ct(a));
2954
+ const i = n.map((a) => /* @__PURE__ */ st(a));
2955
2955
  return function(s) {
2956
2956
  const l = (s == null ? void 0 : s[e]) || i;
2957
2957
  return ee(
@@ -3004,7 +3004,7 @@ function Wl(...e) {
3004
3004
  };
3005
3005
  return n.scopeName = t.scopeName, n;
3006
3006
  }
3007
- const Et = globalThis != null && globalThis.document ? Ue : () => {
3007
+ const Et = globalThis != null && globalThis.document ? We : () => {
3008
3008
  }, Ul = za["useId".toString()] || (() => {
3009
3009
  });
3010
3010
  let zl = 0;
@@ -3065,10 +3065,10 @@ function Bl({ defaultProp: e, onChange: t }) {
3065
3065
  const Wn = /* @__PURE__ */ K((e, t) => {
3066
3066
  const { children: n, ...r } = e, o = Ae.toArray(n), i = o.find(Kl);
3067
3067
  if (i) {
3068
- const a = i.props.children, s = o.map((l) => l === i ? Ae.count(a) > 1 ? Ae.only(null) : /* @__PURE__ */ ut(a) ? a.props.children : null : l);
3068
+ const a = i.props.children, s = o.map((l) => l === i ? Ae.count(a) > 1 ? Ae.only(null) : /* @__PURE__ */ lt(a) ? a.props.children : null : l);
3069
3069
  return /* @__PURE__ */ O(Br, q({}, r, {
3070
3070
  ref: t
3071
- }), /* @__PURE__ */ ut(a) ? /* @__PURE__ */ At(a, void 0, s) : null);
3071
+ }), /* @__PURE__ */ lt(a) ? /* @__PURE__ */ At(a, void 0, s) : null);
3072
3072
  }
3073
3073
  return /* @__PURE__ */ O(Br, q({}, r, {
3074
3074
  ref: t
@@ -3077,7 +3077,7 @@ const Wn = /* @__PURE__ */ K((e, t) => {
3077
3077
  Wn.displayName = "Slot";
3078
3078
  const Br = /* @__PURE__ */ K((e, t) => {
3079
3079
  const { children: n, ...r } = e;
3080
- return /* @__PURE__ */ ut(n) ? /* @__PURE__ */ At(n, {
3080
+ return /* @__PURE__ */ lt(n) ? /* @__PURE__ */ At(n, {
3081
3081
  ...Gl(r, n.props),
3082
3082
  ref: t ? es(t, n.ref) : n.ref
3083
3083
  }) : Ae.count(n) > 1 ? Ae.only(null) : null;
@@ -3085,7 +3085,7 @@ const Br = /* @__PURE__ */ K((e, t) => {
3085
3085
  Br.displayName = "SlotClone";
3086
3086
  const ql = ({ children: e }) => /* @__PURE__ */ O(M, null, e);
3087
3087
  function Kl(e) {
3088
- return /* @__PURE__ */ ut(e) && e.type === ql;
3088
+ return /* @__PURE__ */ lt(e) && e.type === ql;
3089
3089
  }
3090
3090
  function Gl(e, t) {
3091
3091
  const n = {
@@ -3158,7 +3158,7 @@ function Xl(e, t = globalThis == null ? void 0 : globalThis.document) {
3158
3158
  }
3159
3159
  const qr = "dismissableLayer.update", Jl = "dismissableLayer.pointerDownOutside", Ql = "dismissableLayer.focusOutside";
3160
3160
  let ui;
3161
- const eu = /* @__PURE__ */ ct({
3161
+ const eu = /* @__PURE__ */ st({
3162
3162
  layers: /* @__PURE__ */ new Set(),
3163
3163
  layersWithOutsidePointerEventsDisabled: /* @__PURE__ */ new Set(),
3164
3164
  branches: /* @__PURE__ */ new Set()
@@ -3169,7 +3169,7 @@ const eu = /* @__PURE__ */ ct({
3169
3169
  (C) => h(C)
3170
3170
  ), y = Array.from(f.layers), [m] = [
3171
3171
  ...f.layersWithOutsidePointerEventsDisabled
3172
- ].slice(-1), b = y.indexOf(m), w = c ? y.indexOf(c) : -1, _ = f.layersWithOutsidePointerEventsDisabled.size > 0, x = w >= b, $ = tu((C) => {
3172
+ ].slice(-1), w = y.indexOf(m), b = c ? y.indexOf(c) : -1, _ = f.layersWithOutsidePointerEventsDisabled.size > 0, x = b >= w, $ = tu((C) => {
3173
3173
  const S = C.target, R = [
3174
3174
  ...f.branches
3175
3175
  ].some(
@@ -3185,7 +3185,7 @@ const eu = /* @__PURE__ */ ct({
3185
3185
  ) || (a == null || a(C), s == null || s(C), C.defaultPrevented || l == null || l());
3186
3186
  }, p);
3187
3187
  return Xl((C) => {
3188
- w === f.layers.size - 1 && (o == null || o(C), !C.defaultPrevented && l && (C.preventDefault(), l()));
3188
+ b === f.layers.size - 1 && (o == null || o(C), !C.defaultPrevented && l && (C.preventDefault(), l()));
3189
3189
  }, p), L(() => {
3190
3190
  if (c)
3191
3191
  return r && (f.layersWithOutsidePointerEventsDisabled.size === 0 && (ui = p.body.style.pointerEvents, p.body.style.pointerEvents = "none"), f.layersWithOutsidePointerEventsDisabled.add(c)), f.layers.add(c), di(), () => {
@@ -3300,32 +3300,32 @@ const _r = "focusScope.autoFocusOnMount", yr = "focusScope.autoFocusOnUnmount",
3300
3300
  }).current;
3301
3301
  L(() => {
3302
3302
  if (r) {
3303
- let v = function(w) {
3303
+ let v = function(b) {
3304
3304
  if (p.paused || !s)
3305
3305
  return;
3306
- const _ = w.target;
3307
- s.contains(_) ? c.current = _ : Ke(c.current, {
3306
+ const _ = b.target;
3307
+ s.contains(_) ? c.current = _ : qe(c.current, {
3308
3308
  select: !0
3309
3309
  });
3310
- }, y = function(w) {
3310
+ }, y = function(b) {
3311
3311
  if (p.paused || !s)
3312
3312
  return;
3313
- const _ = w.relatedTarget;
3314
- _ !== null && (s.contains(_) || Ke(c.current, {
3313
+ const _ = b.relatedTarget;
3314
+ _ !== null && (s.contains(_) || qe(c.current, {
3315
3315
  select: !0
3316
3316
  }));
3317
- }, m = function(w) {
3317
+ }, m = function(b) {
3318
3318
  if (document.activeElement === document.body)
3319
- for (const x of w)
3320
- x.removedNodes.length > 0 && Ke(s);
3319
+ for (const x of b)
3320
+ x.removedNodes.length > 0 && qe(s);
3321
3321
  };
3322
3322
  document.addEventListener("focusin", v), document.addEventListener("focusout", y);
3323
- const b = new MutationObserver(m);
3324
- return s && b.observe(s, {
3323
+ const w = new MutationObserver(m);
3324
+ return s && w.observe(s, {
3325
3325
  childList: !0,
3326
3326
  subtree: !0
3327
3327
  }), () => {
3328
- document.removeEventListener("focusin", v), document.removeEventListener("focusout", y), b.disconnect();
3328
+ document.removeEventListener("focusin", v), document.removeEventListener("focusout", y), w.disconnect();
3329
3329
  };
3330
3330
  }
3331
3331
  }, [
@@ -3340,12 +3340,12 @@ const _r = "focusScope.autoFocusOnMount", yr = "focusScope.autoFocusOnUnmount",
3340
3340
  const m = new CustomEvent(_r, fi);
3341
3341
  s.addEventListener(_r, d), s.dispatchEvent(m), m.defaultPrevented || (ru(cu(is(s)), {
3342
3342
  select: !0
3343
- }), document.activeElement === v && Ke(s));
3343
+ }), document.activeElement === v && qe(s));
3344
3344
  }
3345
3345
  return () => {
3346
3346
  s.removeEventListener(_r, d), setTimeout(() => {
3347
3347
  const m = new CustomEvent(yr, fi);
3348
- s.addEventListener(yr, f), s.dispatchEvent(m), m.defaultPrevented || Ke(v ?? document.body, {
3348
+ s.addEventListener(yr, f), s.dispatchEvent(m), m.defaultPrevented || qe(v ?? document.body, {
3349
3349
  select: !0
3350
3350
  }), s.removeEventListener(yr, f), hi.remove(p);
3351
3351
  }, 0);
@@ -3362,12 +3362,12 @@ const _r = "focusScope.autoFocusOnMount", yr = "focusScope.autoFocusOnUnmount",
3362
3362
  return;
3363
3363
  const y = v.key === "Tab" && !v.altKey && !v.ctrlKey && !v.metaKey, m = document.activeElement;
3364
3364
  if (y && m) {
3365
- const b = v.currentTarget, [w, _] = ou(b);
3366
- w && _ ? !v.shiftKey && m === _ ? (v.preventDefault(), n && Ke(w, {
3365
+ const w = v.currentTarget, [b, _] = ou(w);
3366
+ b && _ ? !v.shiftKey && m === _ ? (v.preventDefault(), n && qe(b, {
3367
3367
  select: !0
3368
- })) : v.shiftKey && m === w && (v.preventDefault(), n && Ke(_, {
3368
+ })) : v.shiftKey && m === b && (v.preventDefault(), n && qe(_, {
3369
3369
  select: !0
3370
- })) : m === b && v.preventDefault();
3370
+ })) : m === w && v.preventDefault();
3371
3371
  }
3372
3372
  }, [
3373
3373
  n,
@@ -3384,7 +3384,7 @@ const _r = "focusScope.autoFocusOnMount", yr = "focusScope.autoFocusOnUnmount",
3384
3384
  function ru(e, { select: t = !1 } = {}) {
3385
3385
  const n = document.activeElement;
3386
3386
  for (const r of e)
3387
- if (Ke(r, {
3387
+ if (qe(r, {
3388
3388
  select: t
3389
3389
  }), document.activeElement !== n)
3390
3390
  return;
@@ -3429,7 +3429,7 @@ function iu(e, { upTo: t }) {
3429
3429
  function au(e) {
3430
3430
  return e instanceof HTMLInputElement && "select" in e;
3431
3431
  }
3432
- function Ke(e, { select: t = !1 } = {}) {
3432
+ function qe(e, { select: t = !1 } = {}) {
3433
3433
  if (e && e.focus) {
3434
3434
  const n = document.activeElement;
3435
3435
  e.focus({
@@ -3609,7 +3609,7 @@ function hu(e, t) {
3609
3609
  })[0];
3610
3610
  return n.callback = t, n.facade;
3611
3611
  }
3612
- var vu = typeof window < "u" ? Ue : L, mi = /* @__PURE__ */ new WeakMap();
3612
+ var vu = typeof window < "u" ? We : L, mi = /* @__PURE__ */ new WeakMap();
3613
3613
  function gu(e, t) {
3614
3614
  var n = hu(t || null, function(r) {
3615
3615
  return e.forEach(function(o) {
@@ -3711,11 +3711,11 @@ var us = yu(), xr = function() {
3711
3711
  onScrollCapture: xr,
3712
3712
  onWheelCapture: xr,
3713
3713
  onTouchMoveCapture: xr
3714
- }), o = r[0], i = r[1], a = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, f = e.enabled, c = e.shards, h = e.sideCar, p = e.noIsolation, g = e.inert, v = e.allowPinchZoom, y = e.as, m = y === void 0 ? "div" : y, b = cs(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), w = h, _ = gu([n, t]), x = Se(Se({}, b), o);
3714
+ }), o = r[0], i = r[1], a = e.forwardProps, s = e.children, l = e.className, d = e.removeScrollBar, f = e.enabled, c = e.shards, h = e.sideCar, p = e.noIsolation, g = e.inert, v = e.allowPinchZoom, y = e.as, m = y === void 0 ? "div" : y, w = cs(e, ["forwardProps", "children", "className", "removeScrollBar", "enabled", "shards", "sideCar", "noIsolation", "inert", "allowPinchZoom", "as"]), b = h, _ = gu([n, t]), x = Se(Se({}, w), o);
3715
3715
  return O(
3716
3716
  M,
3717
3717
  null,
3718
- f && O(w, { sideCar: us, removeScrollBar: d, shards: c, noIsolation: p, inert: g, setCallbacks: i, allowPinchZoom: !!v, lockRef: n }),
3718
+ f && O(b, { sideCar: us, removeScrollBar: d, shards: c, noIsolation: p, inert: g, setCallbacks: i, allowPinchZoom: !!v, lockRef: n }),
3719
3719
  a ? At(Ae.only(s), Se(Se({}, x), { ref: _ })) : O(m, Se({}, x, { className: l, ref: _ }), s)
3720
3720
  );
3721
3721
  });
@@ -3794,14 +3794,14 @@ var Eu = function() {
3794
3794
  right: t[2],
3795
3795
  gap: Math.max(0, r - n + t[2] - t[0])
3796
3796
  };
3797
- }, Tu = ds(), wt = "data-scroll-locked", Pu = function(e, t, n, r) {
3797
+ }, Tu = ds(), bt = "data-scroll-locked", Pu = function(e, t, n, r) {
3798
3798
  var o = e.left, i = e.top, a = e.right, s = e.gap;
3799
3799
  return n === void 0 && (n = "margin"), `
3800
3800
  .`.concat(fu, ` {
3801
3801
  overflow: hidden `).concat(r, `;
3802
3802
  padding-right: `).concat(s, "px ").concat(r, `;
3803
3803
  }
3804
- body[`).concat(wt, `] {
3804
+ body[`).concat(bt, `] {
3805
3805
  overflow: hidden `).concat(r, `;
3806
3806
  overscroll-behavior: contain;
3807
3807
  `).concat([
@@ -3834,18 +3834,18 @@ var Eu = function() {
3834
3834
  margin-right: 0 `).concat(r, `;
3835
3835
  }
3836
3836
 
3837
- body[`).concat(wt, `] {
3837
+ body[`).concat(bt, `] {
3838
3838
  `).concat(pu, ": ").concat(s, `px;
3839
3839
  }
3840
3840
  `);
3841
3841
  }, yi = function() {
3842
- var e = parseInt(document.body.getAttribute(wt) || "0", 10);
3842
+ var e = parseInt(document.body.getAttribute(bt) || "0", 10);
3843
3843
  return isFinite(e) ? e : 0;
3844
3844
  }, Du = function() {
3845
3845
  L(function() {
3846
- return document.body.setAttribute(wt, (yi() + 1).toString()), function() {
3846
+ return document.body.setAttribute(bt, (yi() + 1).toString()), function() {
3847
3847
  var e = yi() - 1;
3848
- e <= 0 ? document.body.removeAttribute(wt) : document.body.setAttribute(wt, e.toString());
3848
+ e <= 0 ? document.body.removeAttribute(bt) : document.body.setAttribute(bt, e.toString());
3849
3849
  };
3850
3850
  }, []);
3851
3851
  }, Ru = function(e) {
@@ -3867,7 +3867,7 @@ if (typeof window < "u")
3867
3867
  } catch {
3868
3868
  Kr = !1;
3869
3869
  }
3870
- var ht = Kr ? { passive: !1 } : !1, Nu = function(e) {
3870
+ var pt = Kr ? { passive: !1 } : !1, Nu = function(e) {
3871
3871
  return e.tagName === "TEXTAREA";
3872
3872
  }, fs = function(e, t) {
3873
3873
  var n = window.getComputedStyle(e);
@@ -3937,7 +3937,7 @@ var ht = Kr ? { passive: !1 } : !1, Nu = function(e) {
3937
3937
  .block-interactivity-`.concat(e, ` {pointer-events: none;}
3938
3938
  .allow-interactivity-`).concat(e, ` {pointer-events: all;}
3939
3939
  `);
3940
- }, Uu = 0, vt = [];
3940
+ }, Uu = 0, ht = [];
3941
3941
  function zu(e) {
3942
3942
  var t = N([]), n = N([0, 0]), r = N(), o = D(Uu++)[0], i = D(function() {
3943
3943
  return ds();
@@ -3960,7 +3960,7 @@ function zu(e) {
3960
3960
  var s = V(function(v, y) {
3961
3961
  if ("touches" in v && v.touches.length === 2)
3962
3962
  return !a.current.allowPinchZoom;
3963
- var m = hn(v), b = n.current, w = "deltaX" in v ? v.deltaX : b[0] - m[0], _ = "deltaY" in v ? v.deltaY : b[1] - m[1], x, $ = v.target, E = Math.abs(w) > Math.abs(_) ? "h" : "v";
3963
+ var m = hn(v), w = n.current, b = "deltaX" in v ? v.deltaX : w[0] - m[0], _ = "deltaY" in v ? v.deltaY : w[1] - m[1], x, $ = v.target, E = Math.abs(b) > Math.abs(_) ? "h" : "v";
3964
3964
  if ("touches" in v && E === "h" && $.type === "range")
3965
3965
  return !1;
3966
3966
  var C = bi(E, $);
@@ -3968,32 +3968,32 @@ function zu(e) {
3968
3968
  return !0;
3969
3969
  if (C ? x = E : (x = E === "v" ? "h" : "v", C = bi(E, $)), !C)
3970
3970
  return !1;
3971
- if (!r.current && "changedTouches" in v && (w || _) && (r.current = x), !x)
3971
+ if (!r.current && "changedTouches" in v && (b || _) && (r.current = x), !x)
3972
3972
  return !0;
3973
3973
  var S = r.current || x;
3974
- return Vu(S, y, v, S === "h" ? w : _, !0);
3974
+ return Vu(S, y, v, S === "h" ? b : _, !0);
3975
3975
  }, []), l = V(function(v) {
3976
3976
  var y = v;
3977
- if (!(!vt.length || vt[vt.length - 1] !== i)) {
3978
- var m = "deltaY" in y ? wi(y) : hn(y), b = t.current.filter(function(x) {
3977
+ if (!(!ht.length || ht[ht.length - 1] !== i)) {
3978
+ var m = "deltaY" in y ? wi(y) : hn(y), w = t.current.filter(function(x) {
3979
3979
  return x.name === y.type && x.target === y.target && Hu(x.delta, m);
3980
3980
  })[0];
3981
- if (b && b.should) {
3981
+ if (w && w.should) {
3982
3982
  y.cancelable && y.preventDefault();
3983
3983
  return;
3984
3984
  }
3985
- if (!b) {
3986
- var w = (a.current.shards || []).map(xi).filter(Boolean).filter(function(x) {
3985
+ if (!w) {
3986
+ var b = (a.current.shards || []).map(xi).filter(Boolean).filter(function(x) {
3987
3987
  return x.contains(y.target);
3988
- }), _ = w.length > 0 ? s(y, w[0]) : !a.current.noIsolation;
3988
+ }), _ = b.length > 0 ? s(y, b[0]) : !a.current.noIsolation;
3989
3989
  _ && y.cancelable && y.preventDefault();
3990
3990
  }
3991
3991
  }
3992
- }, []), d = V(function(v, y, m, b) {
3993
- var w = { name: v, delta: y, target: m, should: b };
3994
- t.current.push(w), setTimeout(function() {
3992
+ }, []), d = V(function(v, y, m, w) {
3993
+ var b = { name: v, delta: y, target: m, should: w };
3994
+ t.current.push(b), setTimeout(function() {
3995
3995
  t.current = t.current.filter(function(_) {
3996
- return _ !== w;
3996
+ return _ !== b;
3997
3997
  });
3998
3998
  }, 1);
3999
3999
  }, []), f = V(function(v) {
@@ -4004,14 +4004,14 @@ function zu(e) {
4004
4004
  d(v.type, hn(v), v.target, s(v, e.lockRef.current));
4005
4005
  }, []);
4006
4006
  L(function() {
4007
- return vt.push(i), e.setCallbacks({
4007
+ return ht.push(i), e.setCallbacks({
4008
4008
  onScrollCapture: c,
4009
4009
  onWheelCapture: c,
4010
4010
  onTouchMoveCapture: h
4011
- }), document.addEventListener("wheel", l, ht), document.addEventListener("touchmove", l, ht), document.addEventListener("touchstart", f, ht), function() {
4012
- vt = vt.filter(function(v) {
4011
+ }), document.addEventListener("wheel", l, pt), document.addEventListener("touchmove", l, pt), document.addEventListener("touchstart", f, pt), function() {
4012
+ ht = ht.filter(function(v) {
4013
4013
  return v !== i;
4014
- }), document.removeEventListener("wheel", l, ht), document.removeEventListener("touchmove", l, ht), document.removeEventListener("touchstart", f, ht);
4014
+ }), document.removeEventListener("wheel", l, pt), document.removeEventListener("touchmove", l, pt), document.removeEventListener("touchstart", f, pt);
4015
4015
  };
4016
4016
  }, []);
4017
4017
  var p = e.removeScrollBar, g = e.inert;
@@ -4033,7 +4033,7 @@ var qu = function(e) {
4033
4033
  return null;
4034
4034
  var t = Array.isArray(e) ? e[0] : e;
4035
4035
  return t.ownerDocument.body;
4036
- }, gt = /* @__PURE__ */ new WeakMap(), vn = /* @__PURE__ */ new WeakMap(), gn = {}, Cr = 0, ms = function(e) {
4036
+ }, vt = /* @__PURE__ */ new WeakMap(), vn = /* @__PURE__ */ new WeakMap(), gn = {}, Cr = 0, ms = function(e) {
4037
4037
  return e && (e.host || ms(e.parentNode));
4038
4038
  }, Ku = function(e, t) {
4039
4039
  return t.map(function(n) {
@@ -4057,8 +4057,8 @@ var qu = function(e) {
4057
4057
  f(h);
4058
4058
  else
4059
4059
  try {
4060
- var p = h.getAttribute(r), g = p !== null && p !== "false", v = (gt.get(h) || 0) + 1, y = (i.get(h) || 0) + 1;
4061
- gt.set(h, v), i.set(h, y), a.push(h), v === 1 && g && vn.set(h, !0), y === 1 && h.setAttribute(n, "true"), g || h.setAttribute(r, "true");
4060
+ var p = h.getAttribute(r), g = p !== null && p !== "false", v = (vt.get(h) || 0) + 1, y = (i.get(h) || 0) + 1;
4061
+ vt.set(h, v), i.set(h, y), a.push(h), v === 1 && g && vn.set(h, !0), y === 1 && h.setAttribute(n, "true"), g || h.setAttribute(r, "true");
4062
4062
  } catch (m) {
4063
4063
  console.error("aria-hidden: cannot operate on ", h, m);
4064
4064
  }
@@ -4066,9 +4066,9 @@ var qu = function(e) {
4066
4066
  };
4067
4067
  return f(t), s.clear(), Cr++, function() {
4068
4068
  a.forEach(function(c) {
4069
- var h = gt.get(c) - 1, p = i.get(c) - 1;
4070
- gt.set(c, h), i.set(c, p), h || (vn.has(c) || c.removeAttribute(r), vn.delete(c)), p || c.removeAttribute(n);
4071
- }), Cr--, Cr || (gt = /* @__PURE__ */ new WeakMap(), gt = /* @__PURE__ */ new WeakMap(), vn = /* @__PURE__ */ new WeakMap(), gn = {});
4069
+ var h = vt.get(c) - 1, p = i.get(c) - 1;
4070
+ vt.set(c, h), i.set(c, p), h || (vn.has(c) || c.removeAttribute(r), vn.delete(c)), p || c.removeAttribute(n);
4071
+ }), Cr--, Cr || (vt = /* @__PURE__ */ new WeakMap(), vt = /* @__PURE__ */ new WeakMap(), vn = /* @__PURE__ */ new WeakMap(), gn = {});
4072
4072
  };
4073
4073
  }, _s = function(e, t, n) {
4074
4074
  n === void 0 && (n = "data-aria-hidden");
@@ -4248,10 +4248,10 @@ const ad = Zu, sd = Ju, cd = ed, ld = td, ud = rd, dd = ["top", "right", "bottom
4248
4248
  function Yr(e, t, n) {
4249
4249
  return se(e, Oe(t, n));
4250
4250
  }
4251
- function He(e, t) {
4251
+ function Ve(e, t) {
4252
4252
  return typeof e == "function" ? e(t) : e;
4253
4253
  }
4254
- function We(e) {
4254
+ function He(e) {
4255
4255
  return e.split("-")[0];
4256
4256
  }
4257
4257
  function Tt(e) {
@@ -4264,7 +4264,7 @@ function yo(e) {
4264
4264
  return e === "y" ? "height" : "width";
4265
4265
  }
4266
4266
  function Je(e) {
4267
- return ["top", "bottom"].includes(We(e)) ? "y" : "x";
4267
+ return ["top", "bottom"].includes(He(e)) ? "y" : "x";
4268
4268
  }
4269
4269
  function bo(e) {
4270
4270
  return _o(Je(e));
@@ -4297,7 +4297,7 @@ function gd(e, t, n) {
4297
4297
  }
4298
4298
  function md(e, t, n, r) {
4299
4299
  const o = Tt(e);
4300
- let i = gd(We(e), n === "start", r);
4300
+ let i = gd(He(e), n === "start", r);
4301
4301
  return o && (i = i.map((a) => a + "-" + o), t && (i = i.concat(i.map(Zr)))), i;
4302
4302
  }
4303
4303
  function Rn(e) {
@@ -4343,7 +4343,7 @@ function $i(e, t, n) {
4343
4343
  reference: r,
4344
4344
  floating: o
4345
4345
  } = e;
4346
- const i = Je(t), a = bo(t), s = yo(a), l = We(t), d = i === "y", f = r.x + r.width / 2 - o.width / 2, c = r.y + r.height / 2 - o.height / 2, h = r[s] / 2 - o[s] / 2;
4346
+ const i = Je(t), a = bo(t), s = yo(a), l = He(t), d = i === "y", f = r.x + r.width / 2 - o.width / 2, c = r.y + r.height / 2 - o.height / 2, h = r[s] / 2 - o[s] / 2;
4347
4347
  let p;
4348
4348
  switch (l) {
4349
4349
  case "top":
@@ -4406,8 +4406,8 @@ const yd = async (e, t, n) => {
4406
4406
  name: y,
4407
4407
  fn: m
4408
4408
  } = s[v], {
4409
- x: b,
4410
- y: w,
4409
+ x: w,
4410
+ y: b,
4411
4411
  data: _,
4412
4412
  reset: x
4413
4413
  } = await m({
@@ -4424,7 +4424,7 @@ const yd = async (e, t, n) => {
4424
4424
  floating: t
4425
4425
  }
4426
4426
  });
4427
- f = b ?? f, c = w ?? c, p = {
4427
+ f = w ?? f, c = b ?? c, p = {
4428
4428
  ...p,
4429
4429
  [y]: {
4430
4430
  ...p[y],
@@ -4463,17 +4463,17 @@ async function Kt(e, t) {
4463
4463
  elementContext: c = "floating",
4464
4464
  altBoundary: h = !1,
4465
4465
  padding: p = 0
4466
- } = He(t, e), g = Cs(p), y = s[h ? c === "floating" ? "reference" : "floating" : c], m = Nn(await i.getClippingRect({
4466
+ } = Ve(t, e), g = Cs(p), y = s[h ? c === "floating" ? "reference" : "floating" : c], m = Nn(await i.getClippingRect({
4467
4467
  element: (n = await (i.isElement == null ? void 0 : i.isElement(y))) == null || n ? y : y.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(s.floating)),
4468
4468
  boundary: d,
4469
4469
  rootBoundary: f,
4470
4470
  strategy: l
4471
- })), b = c === "floating" ? {
4471
+ })), w = c === "floating" ? {
4472
4472
  x: r,
4473
4473
  y: o,
4474
4474
  width: a.floating.width,
4475
4475
  height: a.floating.height
4476
- } : a.reference, w = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), _ = await (i.isElement == null ? void 0 : i.isElement(w)) ? await (i.getScale == null ? void 0 : i.getScale(w)) || {
4476
+ } : a.reference, b = await (i.getOffsetParent == null ? void 0 : i.getOffsetParent(s.floating)), _ = await (i.isElement == null ? void 0 : i.isElement(b)) ? await (i.getScale == null ? void 0 : i.getScale(b)) || {
4477
4477
  x: 1,
4478
4478
  y: 1
4479
4479
  } : {
@@ -4481,10 +4481,10 @@ async function Kt(e, t) {
4481
4481
  y: 1
4482
4482
  }, x = Nn(i.convertOffsetParentRelativeRectToViewportRelativeRect ? await i.convertOffsetParentRelativeRectToViewportRelativeRect({
4483
4483
  elements: s,
4484
- rect: b,
4485
- offsetParent: w,
4484
+ rect: w,
4485
+ offsetParent: b,
4486
4486
  strategy: l
4487
- }) : b);
4487
+ }) : w);
4488
4488
  return {
4489
4489
  top: (m.top - x.top + g.top) / _.y,
4490
4490
  bottom: (x.bottom - m.bottom + g.bottom) / _.y,
@@ -4507,16 +4507,16 @@ const bd = (e) => ({
4507
4507
  } = t, {
4508
4508
  element: d,
4509
4509
  padding: f = 0
4510
- } = He(e, t) || {};
4510
+ } = Ve(e, t) || {};
4511
4511
  if (d == null)
4512
4512
  return {};
4513
4513
  const c = Cs(f), h = {
4514
4514
  x: n,
4515
4515
  y: r
4516
- }, p = bo(o), g = yo(p), v = await a.getDimensions(d), y = p === "y", m = y ? "top" : "left", b = y ? "bottom" : "right", w = y ? "clientHeight" : "clientWidth", _ = i.reference[g] + i.reference[p] - h[p] - i.floating[g], x = h[p] - i.reference[p], $ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
4517
- let E = $ ? $[w] : 0;
4518
- (!E || !await (a.isElement == null ? void 0 : a.isElement($))) && (E = s.floating[w] || i.floating[g]);
4519
- const C = _ / 2 - x / 2, S = E / 2 - v[g] / 2 - 1, R = Oe(c[m], S), j = Oe(c[b], S), T = R, P = E - v[g] - j, k = E / 2 - v[g] / 2 + C, G = Yr(T, k, P), Y = !l.arrow && Tt(o) != null && k !== G && i.reference[g] / 2 - (k < T ? R : j) - v[g] / 2 < 0, I = Y ? k < T ? k - T : k - P : 0;
4516
+ }, p = bo(o), g = yo(p), v = await a.getDimensions(d), y = p === "y", m = y ? "top" : "left", w = y ? "bottom" : "right", b = y ? "clientHeight" : "clientWidth", _ = i.reference[g] + i.reference[p] - h[p] - i.floating[g], x = h[p] - i.reference[p], $ = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(d));
4517
+ let E = $ ? $[b] : 0;
4518
+ (!E || !await (a.isElement == null ? void 0 : a.isElement($))) && (E = s.floating[b] || i.floating[g]);
4519
+ const C = _ / 2 - x / 2, S = E / 2 - v[g] / 2 - 1, R = Oe(c[m], S), j = Oe(c[w], S), T = R, P = E - v[g] - j, k = E / 2 - v[g] / 2 + C, G = Yr(T, k, P), Y = !l.arrow && Tt(o) != null && k !== G && i.reference[g] / 2 - (k < T ? R : j) - v[g] / 2 < 0, I = Y ? k < T ? k - T : k - P : 0;
4520
4520
  return {
4521
4521
  [p]: h[p] + I,
4522
4522
  data: {
@@ -4550,10 +4550,10 @@ const bd = (e) => ({
4550
4550
  fallbackAxisSideDirection: g = "none",
4551
4551
  flipAlignment: v = !0,
4552
4552
  ...y
4553
- } = He(e, t);
4553
+ } = Ve(e, t);
4554
4554
  if ((n = i.arrow) != null && n.alignmentOffset)
4555
4555
  return {};
4556
- const m = We(o), b = Je(s), w = We(s) === s, _ = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), x = h || (w || !v ? [Rn(s)] : vd(s)), $ = g !== "none";
4556
+ const m = He(o), w = Je(s), b = He(s) === s, _ = await (l.isRTL == null ? void 0 : l.isRTL(d.floating)), x = h || (b || !v ? [Rn(s)] : vd(s)), $ = g !== "none";
4557
4557
  !h && $ && x.push(...md(s, v, g, _));
4558
4558
  const E = [s, ...x], C = await Kt(t, y), S = [];
4559
4559
  let R = ((r = i.flip) == null ? void 0 : r.overflows) || [];
@@ -4585,7 +4585,7 @@ const bd = (e) => ({
4585
4585
  const I = (P = R.filter((Z) => {
4586
4586
  if ($) {
4587
4587
  const X = Je(Z.placement);
4588
- return X === b || // Create a bias to the `y` side axis due to horizontal
4588
+ return X === w || // Create a bias to the `y` side axis due to horizontal
4589
4589
  // reading directions favoring greater width.
4590
4590
  X === "y";
4591
4591
  }
@@ -4630,7 +4630,7 @@ const xd = function(e) {
4630
4630
  } = t, {
4631
4631
  strategy: r = "referenceHidden",
4632
4632
  ...o
4633
- } = He(e, t);
4633
+ } = Ve(e, t);
4634
4634
  switch (r) {
4635
4635
  case "referenceHidden": {
4636
4636
  const i = await Kt(t, {
@@ -4667,7 +4667,7 @@ async function $d(e, t) {
4667
4667
  placement: n,
4668
4668
  platform: r,
4669
4669
  elements: o
4670
- } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = We(n), s = Tt(n), l = Je(n) === "y", d = ["left", "top"].includes(a) ? -1 : 1, f = i && l ? -1 : 1, c = He(t, e);
4670
+ } = e, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = He(n), s = Tt(n), l = Je(n) === "y", d = ["left", "top"].includes(a) ? -1 : 1, f = i && l ? -1 : 1, c = Ve(t, e);
4671
4671
  let {
4672
4672
  mainAxis: h,
4673
4673
  crossAxis: p,
@@ -4728,27 +4728,27 @@ const Cd = function(e) {
4728
4728
  fn: (y) => {
4729
4729
  let {
4730
4730
  x: m,
4731
- y: b
4731
+ y: w
4732
4732
  } = y;
4733
4733
  return {
4734
4734
  x: m,
4735
- y: b
4735
+ y: w
4736
4736
  };
4737
4737
  }
4738
4738
  },
4739
4739
  ...l
4740
- } = He(e, t), d = {
4740
+ } = Ve(e, t), d = {
4741
4741
  x: n,
4742
4742
  y: r
4743
- }, f = await Kt(t, l), c = Je(We(o)), h = _o(c);
4743
+ }, f = await Kt(t, l), c = Je(He(o)), h = _o(c);
4744
4744
  let p = d[h], g = d[c];
4745
4745
  if (i) {
4746
- const y = h === "y" ? "top" : "left", m = h === "y" ? "bottom" : "right", b = p + f[y], w = p - f[m];
4747
- p = Yr(b, p, w);
4746
+ const y = h === "y" ? "top" : "left", m = h === "y" ? "bottom" : "right", w = p + f[y], b = p - f[m];
4747
+ p = Yr(w, p, b);
4748
4748
  }
4749
4749
  if (a) {
4750
- const y = c === "y" ? "top" : "left", m = c === "y" ? "bottom" : "right", b = g + f[y], w = g - f[m];
4751
- g = Yr(b, g, w);
4750
+ const y = c === "y" ? "top" : "left", m = c === "y" ? "bottom" : "right", w = g + f[y], b = g - f[m];
4751
+ g = Yr(w, g, b);
4752
4752
  }
4753
4753
  const v = s.fn({
4754
4754
  ...t,
@@ -4778,12 +4778,12 @@ const Cd = function(e) {
4778
4778
  offset: s = 0,
4779
4779
  mainAxis: l = !0,
4780
4780
  crossAxis: d = !0
4781
- } = He(e, t), f = {
4781
+ } = Ve(e, t), f = {
4782
4782
  x: n,
4783
4783
  y: r
4784
4784
  }, c = Je(o), h = _o(c);
4785
4785
  let p = f[h], g = f[c];
4786
- const v = He(s, t), y = typeof v == "number" ? {
4786
+ const v = Ve(s, t), y = typeof v == "number" ? {
4787
4787
  mainAxis: v,
4788
4788
  crossAxis: 0
4789
4789
  } : {
@@ -4792,12 +4792,12 @@ const Cd = function(e) {
4792
4792
  ...v
4793
4793
  };
4794
4794
  if (l) {
4795
- const w = h === "y" ? "height" : "width", _ = i.reference[h] - i.floating[w] + y.mainAxis, x = i.reference[h] + i.reference[w] - y.mainAxis;
4795
+ const b = h === "y" ? "height" : "width", _ = i.reference[h] - i.floating[b] + y.mainAxis, x = i.reference[h] + i.reference[b] - y.mainAxis;
4796
4796
  p < _ ? p = _ : p > x && (p = x);
4797
4797
  }
4798
4798
  if (d) {
4799
- var m, b;
4800
- const w = h === "y" ? "width" : "height", _ = ["top", "left"].includes(We(o)), x = i.reference[c] - i.floating[w] + (_ && ((m = a.offset) == null ? void 0 : m[c]) || 0) + (_ ? 0 : y.crossAxis), $ = i.reference[c] + i.reference[w] + (_ ? 0 : ((b = a.offset) == null ? void 0 : b[c]) || 0) - (_ ? y.crossAxis : 0);
4799
+ var m, w;
4800
+ const b = h === "y" ? "width" : "height", _ = ["top", "left"].includes(He(o)), x = i.reference[c] - i.floating[b] + (_ && ((m = a.offset) == null ? void 0 : m[c]) || 0) + (_ ? 0 : y.crossAxis), $ = i.reference[c] + i.reference[b] + (_ ? 0 : ((w = a.offset) == null ? void 0 : w[c]) || 0) - (_ ? y.crossAxis : 0);
4801
4801
  g < x ? g = x : g > $ && (g = $);
4802
4802
  }
4803
4803
  return {
@@ -4820,15 +4820,15 @@ const Cd = function(e) {
4820
4820
  apply: a = () => {
4821
4821
  },
4822
4822
  ...s
4823
- } = He(e, t), l = await Kt(t, s), d = We(n), f = Tt(n), c = Je(n) === "y", {
4823
+ } = Ve(e, t), l = await Kt(t, s), d = He(n), f = Tt(n), c = Je(n) === "y", {
4824
4824
  width: h,
4825
4825
  height: p
4826
4826
  } = r.floating;
4827
4827
  let g, v;
4828
4828
  d === "top" || d === "bottom" ? (g = d, v = f === (await (o.isRTL == null ? void 0 : o.isRTL(i.floating)) ? "start" : "end") ? "left" : "right") : (v = d, g = f === "end" ? "top" : "bottom");
4829
- const y = p - l.top - l.bottom, m = h - l.left - l.right, b = Oe(p - l[g], y), w = Oe(h - l[v], m), _ = !t.middlewareData.shift;
4830
- let x = b, $ = w;
4831
- if (c ? $ = f || _ ? Oe(w, m) : m : x = f || _ ? Oe(b, y) : y, _ && !f) {
4829
+ const y = p - l.top - l.bottom, m = h - l.left - l.right, w = Oe(p - l[g], y), b = Oe(h - l[v], m), _ = !t.middlewareData.shift;
4830
+ let x = w, $ = b;
4831
+ if (c ? $ = f || _ ? Oe(b, m) : m : x = f || _ ? Oe(w, y) : y, _ && !f) {
4832
4832
  const C = se(l.left, 0), S = se(l.right, 0), R = se(l.top, 0), j = se(l.bottom, 0);
4833
4833
  c ? $ = h - 2 * (C !== 0 || S !== 0 ? C + S : se(l.left, l.right)) : x = p - 2 * (R !== 0 || j !== 0 ? R + j : se(l.top, l.bottom));
4834
4834
  }
@@ -4853,7 +4853,7 @@ function le(e) {
4853
4853
  var t;
4854
4854
  return (e == null || (t = e.ownerDocument) == null ? void 0 : t.defaultView) || window;
4855
4855
  }
4856
- function ze(e) {
4856
+ function Ue(e) {
4857
4857
  var t;
4858
4858
  return (t = (Es(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : t.documentElement;
4859
4859
  }
@@ -4931,7 +4931,7 @@ function Qe(e) {
4931
4931
  e.assignedSlot || // DOM Element detected.
4932
4932
  e.parentNode || // ShadowRoot detected.
4933
4933
  Si(e) && e.host || // Fallback.
4934
- ze(e)
4934
+ Ue(e)
4935
4935
  );
4936
4936
  return Si(t) ? t.host : t;
4937
4937
  }
@@ -4965,7 +4965,7 @@ function Os(e) {
4965
4965
  function $o(e) {
4966
4966
  return we(e) ? e : e.contextElement;
4967
4967
  }
4968
- function xt(e) {
4968
+ function wt(e) {
4969
4969
  const t = $o(e);
4970
4970
  if (!ke(t))
4971
4971
  return Xe(1);
@@ -4991,19 +4991,19 @@ function As(e) {
4991
4991
  function Pd(e, t, n) {
4992
4992
  return t === void 0 && (t = !1), !n || t && n !== le(e) ? !1 : t;
4993
4993
  }
4994
- function dt(e, t, n, r) {
4994
+ function ut(e, t, n, r) {
4995
4995
  t === void 0 && (t = !1), n === void 0 && (n = !1);
4996
4996
  const o = e.getBoundingClientRect(), i = $o(e);
4997
4997
  let a = Xe(1);
4998
- t && (r ? we(r) && (a = xt(r)) : a = xt(e));
4998
+ t && (r ? we(r) && (a = wt(r)) : a = wt(e));
4999
4999
  const s = Pd(i, n, r) ? As(i) : Xe(0);
5000
5000
  let l = (o.left + s.x) / a.x, d = (o.top + s.y) / a.y, f = o.width / a.x, c = o.height / a.y;
5001
5001
  if (i) {
5002
5002
  const h = le(i), p = r && we(r) ? le(r) : r;
5003
5003
  let g = h, v = Xr(g);
5004
5004
  for (; v && r && p !== g; ) {
5005
- const y = xt(v), m = v.getBoundingClientRect(), b = xe(v), w = m.left + (v.clientLeft + parseFloat(b.paddingLeft)) * y.x, _ = m.top + (v.clientTop + parseFloat(b.paddingTop)) * y.y;
5006
- l *= y.x, d *= y.y, f *= y.x, c *= y.y, l += w, d += _, g = le(v), v = Xr(g);
5005
+ const y = wt(v), m = v.getBoundingClientRect(), w = xe(v), b = m.left + (v.clientLeft + parseFloat(w.paddingLeft)) * y.x, _ = m.top + (v.clientTop + parseFloat(w.paddingTop)) * y.y;
5006
+ l *= y.x, d *= y.y, f *= y.x, c *= y.y, l += b, d += _, g = le(v), v = Xr(g);
5007
5007
  }
5008
5008
  }
5009
5009
  return Nn({
@@ -5020,7 +5020,7 @@ function Dd(e) {
5020
5020
  offsetParent: r,
5021
5021
  strategy: o
5022
5022
  } = e;
5023
- const i = o === "fixed", a = ze(r), s = t ? zn(t.floating) : !1;
5023
+ const i = o === "fixed", a = Ue(r), s = t ? zn(t.floating) : !1;
5024
5024
  if (r === a || s && i)
5025
5025
  return n;
5026
5026
  let l = {
@@ -5029,8 +5029,8 @@ function Dd(e) {
5029
5029
  }, d = Xe(1);
5030
5030
  const f = Xe(0), c = ke(r);
5031
5031
  if ((c || !c && !i) && ((Pt(r) !== "body" || tn(a)) && (l = Bn(r)), ke(r))) {
5032
- const h = dt(r);
5033
- d = xt(r), f.x = h.x + r.clientLeft, f.y = h.y + r.clientTop;
5032
+ const h = ut(r);
5033
+ d = wt(r), f.x = h.x + r.clientLeft, f.y = h.y + r.clientTop;
5034
5034
  }
5035
5035
  return {
5036
5036
  width: n.width * d.x,
@@ -5043,10 +5043,10 @@ function Rd(e) {
5043
5043
  return Array.from(e.getClientRects());
5044
5044
  }
5045
5045
  function ks(e) {
5046
- return dt(ze(e)).left + Bn(e).scrollLeft;
5046
+ return ut(Ue(e)).left + Bn(e).scrollLeft;
5047
5047
  }
5048
5048
  function Nd(e) {
5049
- const t = ze(e), n = Bn(e), r = e.ownerDocument.body, o = se(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = se(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5049
+ const t = Ue(e), n = Bn(e), r = e.ownerDocument.body, o = se(t.scrollWidth, t.clientWidth, r.scrollWidth, r.clientWidth), i = se(t.scrollHeight, t.clientHeight, r.scrollHeight, r.clientHeight);
5050
5050
  let a = -n.scrollLeft + ks(e);
5051
5051
  const s = -n.scrollTop;
5052
5052
  return xe(r).direction === "rtl" && (a += se(t.clientWidth, r.clientWidth) - o), {
@@ -5057,7 +5057,7 @@ function Nd(e) {
5057
5057
  };
5058
5058
  }
5059
5059
  function Ld(e, t) {
5060
- const n = le(e), r = ze(e), o = n.visualViewport;
5060
+ const n = le(e), r = Ue(e), o = n.visualViewport;
5061
5061
  let i = r.clientWidth, a = r.clientHeight, s = 0, l = 0;
5062
5062
  if (o) {
5063
5063
  i = o.width, a = o.height;
@@ -5072,7 +5072,7 @@ function Ld(e, t) {
5072
5072
  };
5073
5073
  }
5074
5074
  function Md(e, t) {
5075
- const n = dt(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = ke(e) ? xt(e) : Xe(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, l = o * i.x, d = r * i.y;
5075
+ const n = ut(e, !0, t === "fixed"), r = n.top + e.clientTop, o = n.left + e.clientLeft, i = ke(e) ? wt(e) : Xe(1), a = e.clientWidth * i.x, s = e.clientHeight * i.y, l = o * i.x, d = r * i.y;
5076
5076
  return {
5077
5077
  width: a,
5078
5078
  height: s,
@@ -5085,7 +5085,7 @@ function Oi(e, t, n) {
5085
5085
  if (t === "viewport")
5086
5086
  r = Ld(e, n);
5087
5087
  else if (t === "document")
5088
- r = Nd(ze(e));
5088
+ r = Nd(Ue(e));
5089
5089
  else if (we(t))
5090
5090
  r = Md(t, n);
5091
5091
  else {
@@ -5144,7 +5144,7 @@ function Fd(e) {
5144
5144
  };
5145
5145
  }
5146
5146
  function Vd(e, t, n) {
5147
- const r = ke(t), o = ze(t), i = n === "fixed", a = dt(e, !0, i, t);
5147
+ const r = ke(t), o = Ue(t), i = n === "fixed", a = ut(e, !0, i, t);
5148
5148
  let s = {
5149
5149
  scrollLeft: 0,
5150
5150
  scrollTop: 0
@@ -5152,7 +5152,7 @@ function Vd(e, t, n) {
5152
5152
  const l = Xe(0);
5153
5153
  if (r || !r && !i)
5154
5154
  if ((Pt(t) !== "body" || tn(o)) && (s = Bn(t)), r) {
5155
- const c = dt(t, !0, i, t);
5155
+ const c = ut(t, !0, i, t);
5156
5156
  l.x = c.x + t.clientLeft, l.y = c.y + t.clientTop;
5157
5157
  } else
5158
5158
  o && (l.x = ks(o));
@@ -5205,19 +5205,19 @@ function Wd(e) {
5205
5205
  }
5206
5206
  const Ud = {
5207
5207
  convertOffsetParentRelativeRectToViewportRelativeRect: Dd,
5208
- getDocumentElement: ze,
5208
+ getDocumentElement: Ue,
5209
5209
  getClippingRect: jd,
5210
5210
  getOffsetParent: Ps,
5211
5211
  getElementRects: Hd,
5212
5212
  getClientRects: Rd,
5213
5213
  getDimensions: Fd,
5214
- getScale: xt,
5214
+ getScale: wt,
5215
5215
  isElement: we,
5216
5216
  isRTL: Wd
5217
5217
  };
5218
5218
  function zd(e, t) {
5219
5219
  let n = null, r;
5220
- const o = ze(e);
5220
+ const o = Ue(e);
5221
5221
  function i() {
5222
5222
  var s;
5223
5223
  clearTimeout(r), (s = n) == null || s.disconnect(), n = null;
@@ -5232,30 +5232,30 @@ function zd(e, t) {
5232
5232
  } = e.getBoundingClientRect();
5233
5233
  if (s || t(), !c || !h)
5234
5234
  return;
5235
- const p = mn(f), g = mn(o.clientWidth - (d + c)), v = mn(o.clientHeight - (f + h)), y = mn(d), b = {
5235
+ const p = mn(f), g = mn(o.clientWidth - (d + c)), v = mn(o.clientHeight - (f + h)), y = mn(d), w = {
5236
5236
  rootMargin: -p + "px " + -g + "px " + -v + "px " + -y + "px",
5237
5237
  threshold: se(0, Oe(1, l)) || 1
5238
5238
  };
5239
- let w = !0;
5239
+ let b = !0;
5240
5240
  function _(x) {
5241
5241
  const $ = x[0].intersectionRatio;
5242
5242
  if ($ !== l) {
5243
- if (!w)
5243
+ if (!b)
5244
5244
  return a();
5245
5245
  $ ? a(!1, $) : r = setTimeout(() => {
5246
5246
  a(!1, 1e-7);
5247
5247
  }, 1e3);
5248
5248
  }
5249
- w = !1;
5249
+ b = !1;
5250
5250
  }
5251
5251
  try {
5252
5252
  n = new IntersectionObserver(_, {
5253
- ...b,
5253
+ ...w,
5254
5254
  // Handle <iframe>s
5255
5255
  root: o.ownerDocument
5256
5256
  });
5257
5257
  } catch {
5258
- n = new IntersectionObserver(_, b);
5258
+ n = new IntersectionObserver(_, w);
5259
5259
  }
5260
5260
  n.observe(e);
5261
5261
  }
@@ -5278,22 +5278,22 @@ function Bd(e, t, n, r) {
5278
5278
  const c = d && s ? zd(d, n) : null;
5279
5279
  let h = -1, p = null;
5280
5280
  a && (p = new ResizeObserver((m) => {
5281
- let [b] = m;
5282
- b && b.target === d && p && (p.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
5283
- var w;
5284
- (w = p) == null || w.observe(t);
5281
+ let [w] = m;
5282
+ w && w.target === d && p && (p.unobserve(t), cancelAnimationFrame(h), h = requestAnimationFrame(() => {
5283
+ var b;
5284
+ (b = p) == null || b.observe(t);
5285
5285
  })), n();
5286
5286
  }), d && !l && p.observe(d), p.observe(t));
5287
- let g, v = l ? dt(e) : null;
5287
+ let g, v = l ? ut(e) : null;
5288
5288
  l && y();
5289
5289
  function y() {
5290
- const m = dt(e);
5290
+ const m = ut(e);
5291
5291
  v && (m.x !== v.x || m.y !== v.y || m.width !== v.width || m.height !== v.height) && n(), v = m, g = requestAnimationFrame(y);
5292
5292
  }
5293
5293
  return n(), () => {
5294
5294
  var m;
5295
- f.forEach((b) => {
5296
- o && b.removeEventListener("scroll", n), i && b.removeEventListener("resize", n);
5295
+ f.forEach((w) => {
5296
+ o && w.removeEventListener("scroll", n), i && w.removeEventListener("resize", n);
5297
5297
  }), c == null || c(), (m = p) == null || m.disconnect(), p = null, l && cancelAnimationFrame(g);
5298
5298
  };
5299
5299
  }
@@ -5310,7 +5310,7 @@ const qd = Cd, Kd = Ed, Gd = wd, Yd = Od, Zd = xd, ki = bd, Xd = Sd, Jd = (e, t,
5310
5310
  platform: i
5311
5311
  });
5312
5312
  };
5313
- var $n = typeof document < "u" ? Ue : L;
5313
+ var $n = typeof document < "u" ? We : L;
5314
5314
  function Ln(e, t) {
5315
5315
  if (e === t)
5316
5316
  return !0;
@@ -5378,9 +5378,9 @@ function Qd(e) {
5378
5378
  isPositioned: !1
5379
5379
  }), [h, p] = D(r);
5380
5380
  Ln(h, r) || p(r);
5381
- const [g, v] = D(null), [y, m] = D(null), b = V((I) => {
5381
+ const [g, v] = D(null), [y, m] = D(null), w = V((I) => {
5382
5382
  I !== $.current && ($.current = I, v(I));
5383
- }, []), w = V((I) => {
5383
+ }, []), b = V((I) => {
5384
5384
  I !== E.current && (E.current = I, m(I));
5385
5385
  }, []), _ = i || g, x = a || y, $ = N(null), E = N(null), C = N(f), S = l != null, R = Pi(l), j = Pi(o), T = V(() => {
5386
5386
  if (!$.current || !E.current)
@@ -5419,9 +5419,9 @@ function Qd(e) {
5419
5419
  const k = ee(() => ({
5420
5420
  reference: $,
5421
5421
  floating: E,
5422
- setReference: b,
5423
- setFloating: w
5424
- }), [b, w]), G = ee(() => ({
5422
+ setReference: w,
5423
+ setFloating: b
5424
+ }), [w, b]), G = ee(() => ({
5425
5425
  reference: _,
5426
5426
  floating: x
5427
5427
  }), [_, x]), Y = ee(() => {
@@ -5544,15 +5544,15 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5544
5544
  }));
5545
5545
  }), Is = "PopperContent", [hf, Hm] = Ns(Is), vf = /* @__PURE__ */ K((e, t) => {
5546
5546
  var n, r, o, i, a, s, l, d;
5547
- const { __scopePopper: f, side: c = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: g = 0, arrowPadding: v = 0, avoidCollisions: y = !0, collisionBoundary: m = [], collisionPadding: b = 0, sticky: w = "partial", hideWhenDetached: _ = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...E } = e, C = Ms(Is, f), [S, R] = D(null), j = Te(
5547
+ const { __scopePopper: f, side: c = "bottom", sideOffset: h = 0, align: p = "center", alignOffset: g = 0, arrowPadding: v = 0, avoidCollisions: y = !0, collisionBoundary: m = [], collisionPadding: w = 0, sticky: b = "partial", hideWhenDetached: _ = !1, updatePositionStrategy: x = "optimized", onPlaced: $, ...E } = e, C = Ms(Is, f), [S, R] = D(null), j = Te(
5548
5548
  t,
5549
5549
  (U) => R(U)
5550
- ), [T, P] = D(null), k = lf(T), G = (n = k == null ? void 0 : k.width) !== null && n !== void 0 ? n : 0, Y = (r = k == null ? void 0 : k.height) !== null && r !== void 0 ? r : 0, I = c + (p !== "center" ? "-" + p : ""), Z = typeof b == "number" ? b : {
5550
+ ), [T, P] = D(null), k = lf(T), G = (n = k == null ? void 0 : k.width) !== null && n !== void 0 ? n : 0, Y = (r = k == null ? void 0 : k.height) !== null && r !== void 0 ? r : 0, I = c + (p !== "center" ? "-" + p : ""), Z = typeof w == "number" ? w : {
5551
5551
  top: 0,
5552
5552
  right: 0,
5553
5553
  bottom: 0,
5554
5554
  left: 0,
5555
- ...b
5555
+ ...w
5556
5556
  }, X = Array.isArray(m) ? m : [
5557
5557
  m
5558
5558
  ], Mt = X.length > 0, he = {
@@ -5560,7 +5560,7 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5560
5560
  boundary: X.filter(gf),
5561
5561
  // with `strategy: 'fixed'`, this is the only way to get it to respect boundaries
5562
5562
  altBoundary: Mt
5563
- }, { refs: Be, floatingStyles: nt, placement: rn, isPositioned: Pe, middlewareData: De } = Qd({
5563
+ }, { refs: ze, floatingStyles: nt, placement: rn, isPositioned: Pe, middlewareData: De } = Qd({
5564
5564
  // default to `fixed` strategy so users don't have to pick and we also avoid focus scroll issues
5565
5565
  strategy: "fixed",
5566
5566
  placement: I,
@@ -5578,7 +5578,7 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5578
5578
  y && nf({
5579
5579
  mainAxis: !0,
5580
5580
  crossAxis: !1,
5581
- limiter: w === "partial" ? rf() : void 0,
5581
+ limiter: b === "partial" ? rf() : void 0,
5582
5582
  ...he
5583
5583
  }),
5584
5584
  y && of({
@@ -5586,9 +5586,9 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5586
5586
  }),
5587
5587
  af({
5588
5588
  ...he,
5589
- apply: ({ elements: U, rects: ae, availableWidth: qe, availableHeight: Q }) => {
5589
+ apply: ({ elements: U, rects: ae, availableWidth: Be, availableHeight: Q }) => {
5590
5590
  const { width: ne, height: ve } = ae.reference, ot = U.floating.style;
5591
- ot.setProperty("--radix-popper-available-width", `${qe}px`), ot.setProperty("--radix-popper-available-height", `${Q}px`), ot.setProperty("--radix-popper-anchor-width", `${ne}px`), ot.setProperty("--radix-popper-anchor-height", `${ve}px`);
5591
+ ot.setProperty("--radix-popper-available-width", `${Be}px`), ot.setProperty("--radix-popper-available-height", `${Q}px`), ot.setProperty("--radix-popper-anchor-width", `${ne}px`), ot.setProperty("--radix-popper-anchor-height", `${ve}px`);
5592
5592
  }
5593
5593
  }),
5594
5594
  T && cf({
@@ -5604,12 +5604,12 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5604
5604
  ...he
5605
5605
  })
5606
5606
  ]
5607
- }), [It, Jn] = js(rn), pt = Ze($);
5607
+ }), [It, Jn] = js(rn), ft = Ze($);
5608
5608
  Et(() => {
5609
- Pe && (pt == null || pt());
5609
+ Pe && (ft == null || ft());
5610
5610
  }, [
5611
5611
  Pe,
5612
- pt
5612
+ ft
5613
5613
  ]);
5614
5614
  const rt = (o = De.arrow) === null || o === void 0 ? void 0 : o.x, on = (i = De.arrow) === null || i === void 0 ? void 0 : i.y, H = ((a = De.arrow) === null || a === void 0 ? void 0 : a.centerOffset) !== 0, [W, te] = D();
5615
5615
  return Et(() => {
@@ -5617,7 +5617,7 @@ const Rs = "Popper", [Ns, Ls] = go(Rs), [uf, Ms] = Ns(Rs), df = (e) => {
5617
5617
  }, [
5618
5618
  S
5619
5619
  ]), /* @__PURE__ */ O("div", {
5620
- ref: Be.setFloating,
5620
+ ref: ze.setFloating,
5621
5621
  "data-radix-popper-content-wrapper": "",
5622
5622
  style: {
5623
5623
  ...nt,
@@ -5665,11 +5665,11 @@ const mf = (e) => ({
5665
5665
  start: "0%",
5666
5666
  center: "50%",
5667
5667
  end: "100%"
5668
- }[v], m = ((r = (o = d.arrow) === null || o === void 0 ? void 0 : o.x) !== null && r !== void 0 ? r : 0) + h / 2, b = ((i = (a = d.arrow) === null || a === void 0 ? void 0 : a.y) !== null && i !== void 0 ? i : 0) + p / 2;
5669
- let w = "", _ = "";
5670
- return g === "bottom" ? (w = c ? y : `${m}px`, _ = `${-p}px`) : g === "top" ? (w = c ? y : `${m}px`, _ = `${l.floating.height + p}px`) : g === "right" ? (w = `${-p}px`, _ = c ? y : `${b}px`) : g === "left" && (w = `${l.floating.width + p}px`, _ = c ? y : `${b}px`), {
5668
+ }[v], m = ((r = (o = d.arrow) === null || o === void 0 ? void 0 : o.x) !== null && r !== void 0 ? r : 0) + h / 2, w = ((i = (a = d.arrow) === null || a === void 0 ? void 0 : a.y) !== null && i !== void 0 ? i : 0) + p / 2;
5669
+ let b = "", _ = "";
5670
+ return g === "bottom" ? (b = c ? y : `${m}px`, _ = `${-p}px`) : g === "top" ? (b = c ? y : `${m}px`, _ = `${l.floating.height + p}px`) : g === "right" ? (b = `${-p}px`, _ = c ? y : `${w}px`) : g === "left" && (b = `${l.floating.width + p}px`, _ = c ? y : `${w}px`), {
5671
5671
  data: {
5672
- x: w,
5672
+ x: b,
5673
5673
  y: _
5674
5674
  }
5675
5675
  };
@@ -5838,38 +5838,31 @@ const _f = df, yf = pf, bf = vf, Fs = "Popover", [Vs, Wm] = go(Fs, [
5838
5838
  function Us(e) {
5839
5839
  return e ? "open" : "closed";
5840
5840
  }
5841
- const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
5842
- base: "block fr font-style-tag font-family-tag font-weight-tag",
5843
- variants: {
5844
- variant: {
5845
- neutralWeak: "text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",
5846
- neutralStrong: "text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",
5847
- accentStrong: "text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",
5848
- monetaryWeak: "text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"
5849
- },
5850
- interactive: {
5851
- true: "ease-expo-out rounded-interactive transition-all duration-snappy",
5852
- false: "rounded-tag"
5853
- },
5854
- size: {
5855
- xs: "px-2 py-0.5 text-style-tag",
5856
- sm: "px-3 py-1.5 text-style-tag",
5857
- lg: "px-5 py-2.5 text-style-tag",
5858
- unsized: ""
5859
- },
5860
- disabled: {
5861
- true: "opacity-25 pointer-events-none",
5862
- false: ""
5863
- }
5864
- },
5865
- compoundVariants: [{ disabled: !1, interactive: !0, class: "cursor-pointer active:scale-[0.975]" }],
5866
- defaultVariants: {
5867
- variant: "neutralWeak",
5868
- size: "sm",
5869
- disabled: !1,
5870
- interactive: !1
5841
+ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, Di = (e) => {
5842
+ var n;
5843
+ const t = Number((n = e.match(/\d/g)) == null ? void 0 : n.join(""));
5844
+ return Number.isNaN(t) ? 0 : t;
5845
+ }, Lf = (e, t = {
5846
+ by: "results-count",
5847
+ order: "descending"
5848
+ }) => {
5849
+ const n = [...e];
5850
+ switch (t.by) {
5851
+ case "results-count":
5852
+ n.sort((r, o) => r.jobs - o.jobs);
5853
+ break;
5854
+ case "alphabetically":
5855
+ n.sort((r, o) => r.label.localeCompare(o.label));
5856
+ break;
5857
+ case "numerically":
5858
+ n.sort((r, o) => {
5859
+ const i = Di(r.value), a = Di(o.value);
5860
+ return i - a;
5861
+ });
5862
+ break;
5871
5863
  }
5872
- }), nn = pe({
5864
+ return t.order === "descending" && n.reverse(), n;
5865
+ }, nn = pe({
5873
5866
  base: "fr bg-lowest caret-accent-11 selection:bg-accent-4 selection:text-accent-12 placeholder:text-copy-neutral placeholder:opacity-30 ring-width-section ease-expo-out duration-snappy transition-all disabled:opacity-50 rounded-input font-style-input text-style-input font-weight-input",
5874
5867
  variants: {
5875
5868
  hasValue: {
@@ -5927,7 +5920,7 @@ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
5927
5920
  disabled: !1,
5928
5921
  active: !1
5929
5922
  }
5930
- }), Lf = pe({
5923
+ }), Mf = pe({
5931
5924
  base: "rounded-job-tag inline-block px-1 border-solid border-px ease-expo-out transition-all duration-snappy",
5932
5925
  variants: {
5933
5926
  colorScheme: {
@@ -5935,36 +5928,12 @@ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
5935
5928
  neutralStrong: "text-neutral-11 bg-neutral-2 border-tag-neutral-strong-stroke"
5936
5929
  }
5937
5930
  }
5938
- }), Mf = ({
5931
+ }), If = ({
5939
5932
  children: e,
5940
5933
  colorScheme: t
5941
- }) => /* @__PURE__ */ u("span", { class: Lf({ colorScheme: t }), children: /* @__PURE__ */ u("span", { class: "block w-[3ch] text-center tabular-nums", children: e }) }), If = (e, t) => {
5934
+ }) => /* @__PURE__ */ u("span", { class: Mf({ colorScheme: t }), children: /* @__PURE__ */ u("span", { class: "block w-[3ch] text-center tabular-nums", children: e }) }), jf = (e, t) => {
5942
5935
  const n = e.indexOf(t);
5943
5936
  return n === -1 ? [...e, t] : e.filter((r, o) => o !== n);
5944
- }, Di = (e) => {
5945
- var n;
5946
- const t = Number((n = e.match(/\d/g)) == null ? void 0 : n.join(""));
5947
- return Number.isNaN(t) ? 0 : t;
5948
- }, jf = (e, t = {
5949
- by: "results-count",
5950
- order: "descending"
5951
- }) => {
5952
- const n = [...e];
5953
- switch (t.by) {
5954
- case "results-count":
5955
- n.sort((r, o) => r.jobs - o.jobs);
5956
- break;
5957
- case "alphabetically":
5958
- n.sort((r, o) => r.label.localeCompare(o.label));
5959
- break;
5960
- case "numerically":
5961
- n.sort((r, o) => {
5962
- const i = Di(r.value), a = Di(o.value);
5963
- return i - a;
5964
- });
5965
- break;
5966
- }
5967
- return t.order === "descending" && n.reverse(), n;
5968
5937
  }, Ff = (e, t) => {
5969
5938
  if (e === null)
5970
5939
  return !1;
@@ -5979,90 +5948,78 @@ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
5979
5948
  useQuery: n,
5980
5949
  isMobile: r,
5981
5950
  onValueChange: o,
5982
- unfilteredQuery: i,
5983
- onClose: a
5951
+ onClose: i
5984
5952
  }) => {
5985
- const { t: s } = re(), l = Jt(n()), d = ee(() => {
5986
- switch (l.queryState) {
5953
+ const { t: a } = re(), s = Jt(n()), l = ee(() => {
5954
+ switch (s.queryState) {
5987
5955
  case "error":
5988
5956
  case "idle":
5989
5957
  case "loading":
5990
5958
  return null;
5991
5959
  case "loaded":
5992
5960
  case "revalidating": {
5993
- const g = l.data[t.key] ?? [];
5994
- return Object.fromEntries(g.map((v) => [v.value, v.jobs]));
5961
+ const p = s.data[t.key] ?? [];
5962
+ return Object.fromEntries(p.map((g) => [g.value, g.jobs]));
5995
5963
  }
5996
5964
  default:
5997
- _t(l);
5998
- }
5999
- }, [l, t.key]), f = Ks(e), c = f.length > 0, [h, p] = D();
6000
- return l.queryState === "error" ? /* @__PURE__ */ u(
6001
- Ve,
6002
- {
6003
- error: new Error(s("filters_loading_error"), { cause: l.error }),
6004
- resetError: () => l.swr.mutate()
5965
+ mt(s);
6005
5966
  }
6006
- ) : /* @__PURE__ */ u("div", { class: "theme-fill:bg-neutral-1 flex min-h-0 w-full flex-1 flex-col", children: [
5967
+ }, [s, t.key]), d = Ks(e), f = d.length > 0, [c, h] = D();
5968
+ return /* @__PURE__ */ u("div", { class: "theme-fill:bg-neutral-1 flex min-h-0 w-full flex-1 flex-col", children: [
6007
5969
  t.searchable && /* @__PURE__ */ u("div", { class: "border-b-px border-neutral-4", children: /* @__PURE__ */ u(
6008
5970
  "input",
6009
5971
  {
6010
5972
  type: "search",
6011
5973
  class: "theme-fill:bg-neutral-2 theme-stroke:bg-neutral-1 theme-fill:focus:bg-neutral-1 theme-stroke:focus:bg-lowest focus:ring-px focus:ring-neutral-6 pointer-fine:theme-soft:rounded-t-lg pointer-fine:theme-rounded:rounded-t-lg caret-accent-11 selection:bg-accent-4 selection:text-accent-12 placeholder:text-copy-neutral ease-expo-out duration-snappy font-style-input text-style-input font-weight-input bg-transparent px-4 py-2.5 outline-none transition-all placeholder:opacity-30 disabled:opacity-50",
6012
- value: h,
6013
- onInput: (g) => p(g.currentTarget.value),
6014
- placeholder: s("type_to_search")
5974
+ value: c,
5975
+ onInput: (p) => h(p.currentTarget.value),
5976
+ placeholder: a("type_to_search")
6015
5977
  }
6016
5978
  ) }),
6017
5979
  (() => {
6018
- switch (i.queryState) {
5980
+ switch (s.queryState) {
6019
5981
  case "error":
6020
5982
  return /* @__PURE__ */ u(
6021
- Ve,
5983
+ Ge,
6022
5984
  {
6023
- error: new Error(s("filters_loading_error"), {
6024
- cause: i.error
5985
+ error: new Error(a("filters_loading_error"), {
5986
+ cause: s.error
6025
5987
  }),
6026
5988
  class: "flex-1",
6027
- resetError: () => i.swr.mutate()
5989
+ resetError: () => s.swr.mutate()
6028
5990
  }
6029
5991
  );
6030
5992
  case "idle":
6031
5993
  case "loading":
6032
- return /* @__PURE__ */ u("div", { class: "flex px-4", children: /* @__PURE__ */ u(
5994
+ return /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "flex flex-col p-2", children: Array.from({ length: 10 }).map((p, g) => /* @__PURE__ */ u(
6033
5995
  "div",
6034
5996
  {
6035
- "aria-hidden": !0,
6036
- class: st({
6037
- size: "lg",
6038
- variant: "neutralStrong",
6039
- interactive: !0,
6040
- class: "animate-skeleton flex-1 cursor-default opacity-20 active:-scale-100"
6041
- }),
6042
- children: /* @__PURE__ */ u("span", { class: "inline-block w-[10ch]" })
6043
- }
6044
- ) });
5997
+ style: { animationDelay: g * -0.1 + "s" },
5998
+ class: "bg-neutral-3 animate-skeleton h-12 w-full"
5999
+ },
6000
+ g
6001
+ )) });
6045
6002
  case "revalidating":
6046
6003
  case "loaded": {
6047
- const g = i.data[t.key] ?? [], v = h && h.length > 1 ? g.filter((b) => b.label.toLowerCase().includes(h.toLowerCase())) : g, y = [];
6048
- for (const b of v) {
6049
- if (b.label.length < 1)
6004
+ const p = s.data[t.key] ?? [], g = c && c.length > 1 ? p.filter((m) => m.label.toLowerCase().includes(c.toLowerCase())) : p, v = [];
6005
+ for (const m of g) {
6006
+ if (m.label.length < 1)
6050
6007
  continue;
6051
6008
  const w = {
6052
- ...b,
6053
- results: Vf(d, b),
6054
- disabled: Ff(d, b)
6009
+ ...m,
6010
+ results: Vf(l, m),
6011
+ disabled: Ff(l, m)
6055
6012
  };
6056
6013
  switch (t.results) {
6057
6014
  case "only-available":
6058
- w.disabled === !1 && y.push(w);
6015
+ w.disabled === !1 && v.push(w);
6059
6016
  break;
6060
6017
  default:
6061
- y.push(w);
6018
+ v.push(w);
6062
6019
  }
6063
6020
  }
6064
- return y.find((b) => !b.disabled) ? /* @__PURE__ */ u("ul", { class: zs(), children: jf(y, t.sortSuggestions).map((b) => {
6065
- const w = f.includes(b.value);
6021
+ return v.find((m) => !m.disabled) ? /* @__PURE__ */ u("ul", { class: zs(), children: Lf(v, t.sortSuggestions).map((m) => {
6022
+ const w = d.includes(m.value);
6066
6023
  return /* @__PURE__ */ u(
6067
6024
  "li",
6068
6025
  {
@@ -6073,51 +6030,51 @@ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
6073
6030
  "button",
6074
6031
  {
6075
6032
  type: "button",
6076
- disabled: b.disabled,
6033
+ disabled: m.disabled,
6077
6034
  "data-filter": !0,
6078
6035
  "data-current-value": w ? "true" : void 0,
6079
6036
  onClick: () => {
6080
6037
  switch (e.select) {
6081
6038
  case "many": {
6082
- const _ = If(f, b.value);
6039
+ const b = jf(d, m.value);
6083
6040
  o({
6084
6041
  select: "many",
6085
- value: _
6042
+ value: b
6086
6043
  });
6087
6044
  break;
6088
6045
  }
6089
6046
  case "one":
6090
6047
  o({
6091
6048
  select: "one",
6092
- value: w ? void 0 : b.value
6049
+ value: w ? void 0 : m.value
6093
6050
  });
6094
6051
  break;
6095
6052
  default:
6096
- _t(e);
6053
+ mt(e);
6097
6054
  }
6098
6055
  },
6099
6056
  class: qs({
6100
6057
  active: w,
6101
- disabled: b.disabled
6058
+ disabled: m.disabled
6102
6059
  }),
6103
6060
  children: [
6104
- /* @__PURE__ */ u("span", { class: "max-w-full truncate", children: b.label }),
6061
+ /* @__PURE__ */ u("span", { class: "max-w-full truncate", children: m.label }),
6105
6062
  " ",
6106
- /* @__PURE__ */ u(Mf, { colorScheme: w ? "accentStrong" : "neutralStrong", children: b.results })
6063
+ /* @__PURE__ */ u(If, { colorScheme: w ? "accentStrong" : "neutralStrong", children: m.results })
6107
6064
  ]
6108
6065
  }
6109
6066
  )
6110
6067
  },
6111
- b.value
6068
+ m.value
6112
6069
  );
6113
- }) }) : /* @__PURE__ */ u("p", { class: "font-style-tag text-style-tag font-weight-tag w-full flex-1 px-4 pb-1 pt-4 text-center", children: s("no_filter_options_available") });
6070
+ }) }) : /* @__PURE__ */ u("p", { class: "font-style-tag text-style-tag font-weight-tag w-full flex-1 px-4 pb-1 pt-4 text-center", children: a("no_filter_options_available") });
6114
6071
  }
6115
6072
  default:
6116
- _t(i);
6073
+ mt(s);
6117
6074
  }
6118
6075
  })(),
6119
6076
  /* @__PURE__ */ u("footer", { class: "flex flex-none justify-end p-2", children: [
6120
- /* @__PURE__ */ u("div", { class: "flex-1", children: c && /* @__PURE__ */ u(
6077
+ /* @__PURE__ */ u("div", { class: "flex-1", children: f && /* @__PURE__ */ u(
6121
6078
  "button",
6122
6079
  {
6123
6080
  type: "button",
@@ -6128,27 +6085,27 @@ const Pf = xf, Df = Cf, Rf = Of, Nf = Af, st = pe({
6128
6085
  children: [
6129
6086
  /* @__PURE__ */ u(J, { "aria-hidden": !0, name: "x" }),
6130
6087
  " ",
6131
- s("clear")
6088
+ a("clear")
6132
6089
  ]
6133
6090
  }
6134
6091
  ) }),
6135
6092
  e.select === "many" && r && /* @__PURE__ */ u("div", { class: "flex items-center overflow-hidden", children: /* @__PURE__ */ u("p", { class: "theme-light:text-neutral-11 theme-dark:text-neutral-12 font-style-default text-style-tag font-weight-default flex-grow select-none truncate text-center", children: [
6136
- f.length,
6093
+ d.length,
6137
6094
  " ",
6138
- s("selected")
6095
+ a("selected")
6139
6096
  ] }) }),
6140
6097
  /* @__PURE__ */ u("div", { class: "flex-1", children: /* @__PURE__ */ u(
6141
6098
  "button",
6142
6099
  {
6143
6100
  type: "button",
6144
6101
  class: Fe({
6145
- variant: c ? "accent" : "neutral",
6102
+ variant: f ? "accent" : "neutral",
6146
6103
  class: "ml-auto"
6147
6104
  }),
6148
- onClick: a,
6149
- children: s(c ? "done" : "close")
6105
+ onClick: i,
6106
+ children: a(f ? "done" : "close")
6150
6107
  },
6151
- c ? "done" : "close"
6108
+ f ? "done" : "close"
6152
6109
  ) })
6153
6110
  ] })
6154
6111
  ] });
@@ -6317,7 +6274,7 @@ const Bf = (e, t) => {
6317
6274
  case "many":
6318
6275
  return { newValue: e, newActiveKey: t };
6319
6276
  default:
6320
- _t(e);
6277
+ mt(e);
6321
6278
  }
6322
6279
  }, Kf = ({
6323
6280
  properties: e,
@@ -6360,7 +6317,7 @@ const Bf = (e, t) => {
6360
6317
  [o, c.filters, t]
6361
6318
  );
6362
6319
  return h.queryState === "error" ? /* @__PURE__ */ u(
6363
- Ve,
6320
+ Ge,
6364
6321
  {
6365
6322
  error: new Error(l("filters_loading_error"), { cause: h.error }),
6366
6323
  resetError: () => h.swr.mutate()
@@ -6369,7 +6326,7 @@ const Bf = (e, t) => {
6369
6326
  e.filter((g) => g.hidden !== !0).map((g) => {
6370
6327
  const v = d === g.key, y = t.filters[g.key] ?? { select: g.select, value: void 0 }, m = c.filters[g.key];
6371
6328
  m && Bf(y, m);
6372
- const b = (x) => {
6329
+ const w = (x) => {
6373
6330
  const { newActiveKey: $, newValue: E } = qf({
6374
6331
  property: g,
6375
6332
  activeKey: d,
@@ -6378,17 +6335,17 @@ const Bf = (e, t) => {
6378
6335
  appliedFilters: t.filters
6379
6336
  });
6380
6337
  return f($), n(g.key, E);
6381
- }, w = (x) => f(x ? g.key : void 0), _ = p(g.key);
6382
- return /* @__PURE__ */ u(Tn, { Fallback: Ve, children: /* @__PURE__ */ u(
6338
+ }, b = (x) => f(x ? g.key : void 0), _ = p(g.key);
6339
+ return /* @__PURE__ */ u(Tn, { Fallback: Ge, children: /* @__PURE__ */ u(
6383
6340
  Uf,
6384
6341
  {
6385
6342
  unfilteredQuery: h,
6386
6343
  active: v,
6387
6344
  property: g,
6388
- onActiveChange: w,
6345
+ onActiveChange: b,
6389
6346
  value: y,
6390
6347
  useQuery: _,
6391
- onValueChange: b,
6348
+ onValueChange: w,
6392
6349
  theme: i,
6393
6350
  widgetId: s
6394
6351
  }
@@ -6484,17 +6441,17 @@ function Up(e, t, n) {
6484
6441
  function m() {
6485
6442
  var $ = Sr();
6486
6443
  if (y($))
6487
- return b($);
6444
+ return w($);
6488
6445
  s = setTimeout(m, v($));
6489
6446
  }
6490
- function b($) {
6447
+ function w($) {
6491
6448
  return s = void 0, h && r ? p($) : (r = o = void 0, a);
6492
6449
  }
6493
- function w() {
6450
+ function b() {
6494
6451
  s !== void 0 && clearTimeout(s), d = 0, r = l = o = s = void 0;
6495
6452
  }
6496
6453
  function _() {
6497
- return s === void 0 ? a : b(Sr());
6454
+ return s === void 0 ? a : w(Sr());
6498
6455
  }
6499
6456
  function x() {
6500
6457
  var $ = Sr(), E = y($);
@@ -6506,7 +6463,7 @@ function Up(e, t, n) {
6506
6463
  }
6507
6464
  return s === void 0 && (s = setTimeout(m, t)), a;
6508
6465
  }
6509
- return x.cancel = w, x.flush = _, x;
6466
+ return x.cancel = b, x.flush = _, x;
6510
6467
  }
6511
6468
  var zp = Up;
6512
6469
  const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
@@ -6596,12 +6553,12 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6596
6553
  menuProps: f,
6597
6554
  query: c
6598
6555
  }, h) => {
6599
- const [p, g] = D(!1), [v, y] = D(), { t: m } = re(), b = N();
6556
+ const [p, g] = D(!1), [v, y] = D(), { t: m } = re(), w = N();
6600
6557
  L(() => {
6601
6558
  var _;
6602
6559
  y((_ = o[0]) == null ? void 0 : _.id);
6603
6560
  }, [o]);
6604
- const w = (_) => {
6561
+ const b = (_) => {
6605
6562
  i(_), g(!1);
6606
6563
  };
6607
6564
  return /* @__PURE__ */ u("div", { class: "relative h-full", children: [
@@ -6619,7 +6576,7 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6619
6576
  l == null || l(), g(!0);
6620
6577
  },
6621
6578
  onBlur: () => {
6622
- b.current = window.setTimeout(() => {
6579
+ w.current = window.setTimeout(() => {
6623
6580
  s == null || s(), g(!1);
6624
6581
  }, 100);
6625
6582
  },
@@ -6659,7 +6616,7 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6659
6616
  }),
6660
6617
  id: `ijs-${n}-menu`,
6661
6618
  onMouseDown: () => {
6662
- b.current && clearTimeout(b.current);
6619
+ w.current && clearTimeout(w.current);
6663
6620
  },
6664
6621
  ...f,
6665
6622
  children: t ? /* @__PURE__ */ u("div", { role: "alert", children: m("geo_suggestions_error") }) : o.map((_) => /* @__PURE__ */ u(
@@ -6678,9 +6635,9 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6678
6635
  active: _.id === v,
6679
6636
  className: "line-clamp-1 overflow-hidden truncate"
6680
6637
  }),
6681
- onClick: () => w(_.id),
6638
+ onClick: () => b(_.id),
6682
6639
  onKeyDown: (x) => {
6683
- x.key === "Enter" && w(_.id);
6640
+ x.key === "Enter" && b(_.id);
6684
6641
  },
6685
6642
  children: _.label
6686
6643
  }
@@ -6756,14 +6713,45 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6756
6713
  children: /* @__PURE__ */ u(J, { name: "target-location" })
6757
6714
  }
6758
6715
  );
6759
- }, th = "https://api.mapbox.com/search/geocode/v6/forward", nh = "ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==", rh = (e) => atob(e).split("").reverse().join(""), oh = /* @__PURE__ */ ce({
6716
+ }, xt = pe({
6717
+ base: "block fr font-style-tag font-family-tag font-weight-tag",
6718
+ variants: {
6719
+ variant: {
6720
+ neutralWeak: "text-tag-neutral-weak-copy bg-tag-neutral-weak-bg border-solid border-px border-tag-neutral-weak-stroke",
6721
+ neutralStrong: "text-tag-neutral-strong-copy bg-tag-neutral-strong-bg border-solid border-px border-tag-neutral-strong-stroke",
6722
+ accentStrong: "text-tag-accent-strong-copy bg-tag-accent-strong-bg border-solid border-px border-tag-accent-strong-stroke",
6723
+ monetaryWeak: "text-tag-monetary-weak-copy bg-tag-monetary-weak-bg border-solid border-px border-tag-monetary-weak-stroke"
6724
+ },
6725
+ interactive: {
6726
+ true: "ease-expo-out rounded-interactive transition-all duration-snappy",
6727
+ false: "rounded-tag"
6728
+ },
6729
+ size: {
6730
+ xs: "px-2 py-0.5 text-style-tag",
6731
+ sm: "px-3 py-1.5 text-style-tag",
6732
+ lg: "px-5 py-2.5 text-style-tag",
6733
+ unsized: ""
6734
+ },
6735
+ disabled: {
6736
+ true: "opacity-25 pointer-events-none",
6737
+ false: ""
6738
+ }
6739
+ },
6740
+ compoundVariants: [{ disabled: !1, interactive: !0, class: "cursor-pointer active:scale-[0.975]" }],
6741
+ defaultVariants: {
6742
+ variant: "neutralWeak",
6743
+ size: "sm",
6744
+ disabled: !1,
6745
+ interactive: !1
6746
+ }
6747
+ }), th = "https://api.mapbox.com/search/geocode/v6/forward", nh = "ZzRDWFU0dTZ3SF9aWk9RNGl6QzZaWS5RZmlFak13a0hPbGxXZXlNSGN5RUhObUJ6TXpSV08yUW5OdE5tSTZJU1lpd2lJb1JYYXRObmJ2Tm5iaGhHZWx4V1lpb2pJMUp5ZS5rcA==", rh = (e) => atob(e).split("").reverse().join(""), oh = /* @__PURE__ */ ce({
6760
6748
  features: /* @__PURE__ */ Xt(
6761
6749
  /* @__PURE__ */ _e(
6762
6750
  /* @__PURE__ */ ce({
6763
6751
  properties: /* @__PURE__ */ ce({
6764
6752
  mapbox_id: /* @__PURE__ */ B(),
6765
- place_formatted: /* @__PURE__ */ lt(/* @__PURE__ */ B()),
6766
- name_preferred: /* @__PURE__ */ lt(/* @__PURE__ */ B(), "Untitled location"),
6753
+ place_formatted: /* @__PURE__ */ ct(/* @__PURE__ */ B()),
6754
+ name_preferred: /* @__PURE__ */ ct(/* @__PURE__ */ B(), "Untitled location"),
6767
6755
  coordinates: /* @__PURE__ */ _e(
6768
6756
  /* @__PURE__ */ ce({
6769
6757
  latitude: /* @__PURE__ */ me(),
@@ -6800,12 +6788,12 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6800
6788
  keepPreviousData: !1,
6801
6789
  revalidateIfStale: !1,
6802
6790
  revalidateOnFocus: !1
6803
- }), { data: g, queryState: v, error: y } = Jt(p), [m, b] = D("view"), w = N(null);
6791
+ }), { data: g, queryState: v, error: y } = Jt(p), [m, w] = D("view"), b = N(null);
6804
6792
  return L(() => {
6805
6793
  if (m === "edit") {
6806
- if (!w.current)
6794
+ if (!b.current)
6807
6795
  return;
6808
- w.current.focus();
6796
+ b.current.focus();
6809
6797
  }
6810
6798
  }, [m]), /* @__PURE__ */ u("div", { class: "relative flex-1", children: [
6811
6799
  m === "view" && n ? /* @__PURE__ */ u(
@@ -6818,14 +6806,14 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6818
6806
  className: "flex h-10 w-full cursor-text items-stretch px-1 py-1"
6819
6807
  }),
6820
6808
  onClick: () => {
6821
- b("edit");
6809
+ w("edit");
6822
6810
  },
6823
- children: /* @__PURE__ */ u("div", { class: st({ size: "sm", variant: "accentStrong", interactive: !0, class: "truncate" }), children: l ?? i("location_provided") })
6811
+ children: /* @__PURE__ */ u("div", { class: xt({ size: "sm", variant: "accentStrong", interactive: !0, class: "truncate" }), children: l ?? i("location_provided") })
6824
6812
  }
6825
6813
  ) : /* @__PURE__ */ u(
6826
6814
  Xp,
6827
6815
  {
6828
- ref: w,
6816
+ ref: b,
6829
6817
  error: y,
6830
6818
  query: a,
6831
6819
  name: "location-search",
@@ -6834,13 +6822,13 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6834
6822
  c.abort(), h(new AbortController());
6835
6823
  },
6836
6824
  onBlur: () => {
6837
- b("view"), s("");
6825
+ w("view"), s("");
6838
6826
  },
6839
6827
  onItemSelect: (_) => {
6840
6828
  if (v !== "loaded")
6841
6829
  return;
6842
6830
  const x = g.find(($) => $.mapbox_id === _);
6843
- x && (e(x.coordinates), b("view"), d(x.name_preferred));
6831
+ x && (e(x.coordinates), w("view"), d(x.name_preferred));
6844
6832
  },
6845
6833
  inputPlaceholder: i("geo_search_placeholder"),
6846
6834
  items: (g == null ? void 0 : g.map((_) => ({
@@ -6857,7 +6845,7 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6857
6845
  eh,
6858
6846
  {
6859
6847
  onLocate: (_) => {
6860
- b("view"), d(i("geo_my_location")), t({
6848
+ w("view"), d(i("geo_my_location")), t({
6861
6849
  type: "provided",
6862
6850
  coords: _,
6863
6851
  radius: r
@@ -6872,7 +6860,7 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6872
6860
  type: "button",
6873
6861
  "aria-label": i("geo_clear_search"),
6874
6862
  onClick: () => {
6875
- s(""), d(void 0), t({ radius: r, type: "provided" }), b("edit"), w.current && (w.current.value = "", w.current.focus());
6863
+ s(""), d(void 0), t({ radius: r, type: "provided" }), w("edit"), b.current && (b.current.value = "", b.current.focus());
6876
6864
  },
6877
6865
  class: Fe({
6878
6866
  variant: "neutral",
@@ -6893,8 +6881,8 @@ const Bp = /* @__PURE__ */ Ba(zp), Jr = "|", qp = (e, t) => {
6893
6881
  }), uh = /* @__PURE__ */ _e(
6894
6882
  /* @__PURE__ */ ce({
6895
6883
  type: /* @__PURE__ */ Ce("provided"),
6896
- lat: /* @__PURE__ */ lt(/* @__PURE__ */ _e(/* @__PURE__ */ B(), /* @__PURE__ */ ge(Number))),
6897
- lng: /* @__PURE__ */ lt(/* @__PURE__ */ _e(/* @__PURE__ */ B(), /* @__PURE__ */ ge(Number))),
6884
+ lat: /* @__PURE__ */ ct(/* @__PURE__ */ _e(/* @__PURE__ */ B(), /* @__PURE__ */ ge(Number))),
6885
+ lng: /* @__PURE__ */ ct(/* @__PURE__ */ _e(/* @__PURE__ */ B(), /* @__PURE__ */ ge(Number))),
6898
6886
  radius: /* @__PURE__ */ _e(/* @__PURE__ */ B(), /* @__PURE__ */ ge(Number))
6899
6887
  }),
6900
6888
  /* @__PURE__ */ ge(
@@ -7515,8 +7503,8 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7515
7503
  const { t: o } = re(), i = t.subheading ? Ar({ job: e, property: t.subheading }) : null, a = t.infoTags.flatMap((y) => Xi(Ar({ job: e, property: y }))).filter(Boolean), s = Xi(
7516
7504
  (p = t.overrides) != null && p.salary ? Ar({ job: e, property: t.overrides.salary }) : e.pay
7517
7505
  ).filter(Boolean), l = t.postedDate ?? "show", d = (g = t.overrides) != null && g.baseUrl ? t.overrides.baseUrl(e.id.toString()) : e.href, f = t.newUnderDays ?? 7, c = e.createdAt ? new Date(e.createdAt).getTime() > Date.now() - f * wm : !1, h = (y) => {
7518
- var m, b;
7519
- n == null || n(e), (b = (m = t.overrides) == null ? void 0 : m.onClick) == null || b.call(m, y);
7506
+ var m, w;
7507
+ n == null || n(e), (w = (m = t.overrides) == null ? void 0 : m.onClick) == null || w.call(m, y);
7520
7508
  };
7521
7509
  return /* @__PURE__ */ u(
7522
7510
  "a",
@@ -7560,8 +7548,8 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7560
7548
  ] })
7561
7549
  ] }),
7562
7550
  /* @__PURE__ */ u("div", { class: "flex min-w-0 flex-col items-start gap-2", children: [
7563
- /* @__PURE__ */ u("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: s.map((y, m) => /* @__PURE__ */ u("span", { class: st({ variant: "monetaryWeak", size: "xs" }), children: y }, m)) }),
7564
- a.length > 0 && /* @__PURE__ */ u("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: a.map((y) => /* @__PURE__ */ u("li", { class: st({ size: "xs", class: "max-w-full truncate" }), children: y }, y)) })
7551
+ /* @__PURE__ */ u("div", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: s.map((y, m) => /* @__PURE__ */ u("span", { class: xt({ variant: "monetaryWeak", size: "xs" }), children: y }, m)) }),
7552
+ a.length > 0 && /* @__PURE__ */ u("ul", { class: "flex min-w-0 max-w-full flex-wrap items-center gap-2", children: a.map((y) => /* @__PURE__ */ u("li", { class: xt({ size: "xs", class: "max-w-full truncate" }), children: y }, y)) })
7565
7553
  ] })
7566
7554
  ] }),
7567
7555
  r === "sm" ? /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "absolute right-1 top-1/2 -translate-y-1/2 transform", children: /* @__PURE__ */ u(J, { name: "chevron-right", class: "size-5 text-copy-neutral-icon" }) }) : /* @__PURE__ */ u("div", { "aria-hidden": !0, class: "flex items-center", children: /* @__PURE__ */ u(J, { name: "chevron-right", class: "text-copy-neutral-icon" }) })
@@ -7596,12 +7584,12 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7596
7584
  n % 2 === 0 && /* @__PURE__ */ u(
7597
7585
  "span",
7598
7586
  {
7599
- class: st({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
7587
+ class: xt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[10ch]" })
7600
7588
  }
7601
7589
  ),
7602
7590
  /* @__PURE__ */ u("div", { class: "flex items-center gap-2", children: [
7603
- /* @__PURE__ */ u("span", { class: st({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
7604
- /* @__PURE__ */ u("span", { class: st({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
7591
+ /* @__PURE__ */ u("span", { class: xt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[6ch]" }) }),
7592
+ /* @__PURE__ */ u("span", { class: xt({ variant: "neutralWeak", size: "xs", class: "h-[1lh] min-h-[1em] w-[8ch]" }) })
7605
7593
  ] })
7606
7594
  ] })
7607
7595
  ] }),
@@ -7639,7 +7627,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7639
7627
  afterResults: l
7640
7628
  }) => /* @__PURE__ */ u(M, { children: Array.from({ length: e.page }).map((d, f) => {
7641
7629
  const c = f === e.page - 1;
7642
- return /* @__PURE__ */ u(Tn, { Fallback: Ve, children: /* @__PURE__ */ u(
7630
+ return /* @__PURE__ */ u(Tn, { Fallback: Ge, children: /* @__PURE__ */ u(
7643
7631
  Cm,
7644
7632
  {
7645
7633
  state: e,
@@ -7719,10 +7707,10 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7719
7707
  /* @__PURE__ */ u("p", { class: "animate-skeleton text-copy-neutral-lowcontrast text-style-tag m-0 justify-center p-0 text-center", children: /* @__PURE__ */ u(Ht, { chars: 8 }) }),
7720
7708
  /* @__PURE__ */ u("div", { class: "flex flex-1 justify-end", children: f })
7721
7709
  ] }) : /* @__PURE__ */ u(Ji, { page: n }),
7722
- /* @__PURE__ */ u("ul", { class: "flex w-full max-w-[45rem] flex-col gap-3 self-center", "aria-hidden": !0, children: Array.from({ length: at }).map((m, b) => /* @__PURE__ */ u("li", { children: /* @__PURE__ */ u(Ao, { seed: b, animationDelay: (b - at) * 0.1, config: a }) }, b)) })
7710
+ /* @__PURE__ */ u("ul", { class: "flex w-full max-w-[45rem] flex-col gap-3 self-center", "aria-hidden": !0, children: Array.from({ length: at }).map((m, w) => /* @__PURE__ */ u("li", { children: /* @__PURE__ */ u(Ao, { seed: w, animationDelay: (w - at) * 0.1, config: a }) }, w)) })
7723
7711
  ] });
7724
7712
  case "error":
7725
- return /* @__PURE__ */ u(Ve, { error: new Error(c("jobs_loading_error"), { cause: g }), resetError: () => y.mutate() });
7713
+ return /* @__PURE__ */ u(Ge, { error: new Error(c("jobs_loading_error"), { cause: g }), resetError: () => y.mutate() });
7726
7714
  case "revalidating":
7727
7715
  case "loaded": {
7728
7716
  if (oc(p.pagination.current_page === n, "Received wrong page from server"), p.pagination.total === 0)
@@ -7733,7 +7721,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7733
7721
  /* @__PURE__ */ u("p", { class: "text-copy-neutral-lowcontrast text-style-tag [text-wrap:pretty]", children: c("no_jobs_found_description") })
7734
7722
  ] })
7735
7723
  ] });
7736
- const m = p.pagination.last_page !== p.pagination.current_page, b = n * at, w = Math.max(p.pagination.total - b, 0), _ = (x) => {
7724
+ const m = p.pagination.last_page !== p.pagination.current_page, w = n * at, b = Math.max(p.pagination.total - w, 0), _ = (x) => {
7737
7725
  d(x, n);
7738
7726
  };
7739
7727
  return /* @__PURE__ */ u(M, { children: [
@@ -7757,15 +7745,15 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7757
7745
  state: v,
7758
7746
  fetchNextPage: i,
7759
7747
  config: a,
7760
- remainingItems: w
7748
+ remainingItems: b
7761
7749
  }
7762
7750
  )
7763
7751
  ] });
7764
7752
  }
7765
7753
  default:
7766
- _t(v);
7754
+ mt(v);
7767
7755
  }
7768
- }, Em = uo(() => import("./map-b78f5e89.js").then((e) => e.Map)), Sm = ({
7756
+ }, Em = uo(() => import("./map-e44a5532.js").then((e) => e.Map)), Sm = ({
7769
7757
  state: e,
7770
7758
  rpcClient: t,
7771
7759
  mapConfig: n,
@@ -7789,7 +7777,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7789
7777
  );
7790
7778
  if (h.queryState === "error")
7791
7779
  return /* @__PURE__ */ u(
7792
- Ve,
7780
+ Ge,
7793
7781
  {
7794
7782
  error: new Error(s("jobs_loading_error"), { cause: h.error }),
7795
7783
  resetError: () => h.swr.mutate()
@@ -7803,7 +7791,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7803
7791
  /* @__PURE__ */ u("div", { class: "flex flex-1 justify-end", children: o })
7804
7792
  ] }),
7805
7793
  /* @__PURE__ */ u("div", { class: "theme-fill:bg-neutral-2 theme-stroke:bg-lowest ring-px theme-fill:ring-neutral-3 theme-stroke:ring-neutral-3 theme-soft:rounded-lg theme-rounded:rounded-xl relative flex h-auto flex-col items-stretch overflow-hidden md:h-[70svh] md:flex-row", children: [
7806
- /* @__PURE__ */ u("div", { class: "md:min-w-80 aspect-square flex-1 md:order-2 md:aspect-auto", children: p ? /* @__PURE__ */ u(bt, { fallback: /* @__PURE__ */ u("div", { class: "animate-skeleton bg-neutral-6 h-full w-full" }), children: /* @__PURE__ */ u(
7794
+ /* @__PURE__ */ u("div", { class: "md:min-w-80 aspect-square flex-1 md:order-2 md:aspect-auto", children: p ? /* @__PURE__ */ u(yt, { fallback: /* @__PURE__ */ u("div", { class: "animate-skeleton bg-neutral-6 h-full w-full" }), children: /* @__PURE__ */ u(
7807
7795
  Em,
7808
7796
  {
7809
7797
  config: n,
@@ -7901,7 +7889,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7901
7889
  break;
7902
7890
  }
7903
7891
  default:
7904
- _t(r.select);
7892
+ mt(r.select);
7905
7893
  }
7906
7894
  return n;
7907
7895
  },
@@ -7933,7 +7921,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7933
7921
  hasInteracted: !f,
7934
7922
  totalCount: g,
7935
7923
  defaultFilters: d
7936
- }), b = V(
7924
+ }), w = V(
7937
7925
  (T) => {
7938
7926
  p((P) => {
7939
7927
  if (P.page === T)
@@ -7943,7 +7931,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7943
7931
  }), m(T);
7944
7932
  },
7945
7933
  [m, i]
7946
- ), w = V(
7934
+ ), b = V(
7947
7935
  (T) => {
7948
7936
  p((P) => {
7949
7937
  const k = { ...P, view: T };
@@ -7999,7 +7987,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
7999
7987
  Mr(a.theme)
8000
7988
  ),
8001
7989
  children: [
8002
- /* @__PURE__ */ u(Tn, { Fallback: Ve, children: /* @__PURE__ */ u("div", { class: "flex flex-col gap-2", children: [
7990
+ /* @__PURE__ */ u(Tn, { Fallback: Ge, children: /* @__PURE__ */ u("div", { class: "flex flex-col gap-2", children: [
8003
7991
  /* @__PURE__ */ u("div", { class: "px-4", children: /* @__PURE__ */ u("div", { class: "bg-section-strong-bg ring-section-weak-stroke rounded-section ring-px lg:ring-width-section flex flex-col gap-4 p-4 md:flex-row", children: [
8004
7992
  /* @__PURE__ */ u("section", { class: "flex flex-1 flex-col gap-1", children: [
8005
7993
  /* @__PURE__ */ u("p", { class: "text-style-filter text-copy-neutral font-style-filter font-weight-filter", children: s("search_label") }),
@@ -8049,7 +8037,7 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
8049
8037
  )
8050
8038
  ] }) }),
8051
8039
  /* @__PURE__ */ u("section", { class: "flex flex-col gap-4 overflow-hidden px-4 py-4", children: [
8052
- /* @__PURE__ */ u(Tn, { Fallback: Ve, children: /* @__PURE__ */ u(
8040
+ /* @__PURE__ */ u(Tn, { Fallback: Ge, children: /* @__PURE__ */ u(
8053
8041
  Am,
8054
8042
  {
8055
8043
  state: h,
@@ -8061,10 +8049,10 @@ const _m = /* @__PURE__ */ Ba(mm), Ht = ({ chars: e }) => /* @__PURE__ */ u(
8061
8049
  v(T.totalCount);
8062
8050
  },
8063
8051
  onJobClick: y,
8064
- onPaginate: b,
8052
+ onPaginate: w,
8065
8053
  mode: (j = a.naturalLanguageSearch) != null && j.enabled ? "vector" : "query",
8066
8054
  onGeoChange: x,
8067
- onViewChange: w
8055
+ onViewChange: b
8068
8056
  }
8069
8057
  ) }),
8070
8058
  a.feedback ? /* @__PURE__ */ u("div", { class: "flex flex-wrap items-center justify-center gap-2", children: [