@cloudoperators/juno-messages-provider 0.2.26 → 0.2.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/build/index.js +838 -846
  2. package/package.json +8 -8
package/build/index.js CHANGED
@@ -3,14 +3,14 @@ import V, { createContext as me, useContext as ye, forwardRef as K, cloneElement
3
3
  import { createStore as gs, useStore as vs } from "zustand";
4
4
  import * as Pn from "react-dom";
5
5
  import { createPortal as oo, flushSync as ze } from "react-dom";
6
- const Xo = (t) => `${t}-${(+/* @__PURE__ */ new Date() + Math.random()).toString(36).slice(-5)}}`, bs = (t, n) => ({
7
- storeId: Xo("store-"),
6
+ const Jo = (t) => `${t}-${(+/* @__PURE__ */ new Date() + Math.random()).toString(36).slice(-5)}}`, bs = (t, n) => ({
7
+ storeId: Jo("store-"),
8
8
  messages: [],
9
9
  // this is the messages state
10
10
  actions: {
11
11
  addMessage: (e) => {
12
12
  if (n().messages.findIndex((a) => a.text === e.text && a.variant === e.variant) >= 0) return;
13
- const o = n().messages.slice(), i = Xo("message-");
13
+ const o = n().messages.slice(), i = Jo("message-");
14
14
  return o.push({ id: i, ...e }), t((a) => ({ ...a, messages: o })), i;
15
15
  },
16
16
  removeMessage: (e) => {
@@ -21,7 +21,7 @@ const Xo = (t) => `${t}-${(+/* @__PURE__ */ new Date() + Math.random()).toString
21
21
  t((e) => ({ ...e, messages: [] }));
22
22
  }
23
23
  }
24
- }), pa = me(void 0), bv = ({ children: t }) => /* @__PURE__ */ V.createElement(pa.Provider, { value: gs(bs) }, t), ma = (t) => {
24
+ }), pa = me(void 0), yv = ({ children: t }) => /* @__PURE__ */ V.createElement(pa.Provider, { value: gs(bs) }, t), ma = (t) => {
25
25
  const n = ye(pa);
26
26
  if (!n)
27
27
  throw new Error("StoreContext not provided");
@@ -51,11 +51,11 @@ function ha(t) {
51
51
  });
52
52
  }), e;
53
53
  }
54
- var Er = { exports: {} }, Kt = {}, Jo;
54
+ var Er = { exports: {} }, Kt = {}, Xo;
55
55
  function xs() {
56
- if (Jo) return Kt;
57
- Jo = 1;
58
- var t = Symbol.for("react.transitional.element"), n = Symbol.for("react.fragment");
56
+ if (Xo) return Kt;
57
+ Xo = 1;
58
+ var t = /* @__PURE__ */ Symbol.for("react.transitional.element"), n = /* @__PURE__ */ Symbol.for("react.fragment");
59
59
  function e(r, o, i) {
60
60
  var a = null;
61
61
  if (i !== void 0 && (a = "" + i), o.key !== void 0 && (a = "" + o.key), "key" in o) {
@@ -131,11 +131,11 @@ function Es() {
131
131
  }
132
132
  if (k) {
133
133
  k = console;
134
- var ne = k.error, J = typeof Symbol == "function" && Symbol.toStringTag && D[Symbol.toStringTag] || D.constructor.name || "Object";
134
+ var ne = k.error, X = typeof Symbol == "function" && Symbol.toStringTag && D[Symbol.toStringTag] || D.constructor.name || "Object";
135
135
  return ne.call(
136
136
  k,
137
137
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
138
- J
138
+ X
139
139
  ), n(D);
140
140
  }
141
141
  }
@@ -182,14 +182,14 @@ function Es() {
182
182
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
183
183
  )), D = this.props.ref, D !== void 0 ? D : null;
184
184
  }
185
- function u(D, k, ne, J, fe, $) {
185
+ function u(D, k, ne, X, fe, $) {
186
186
  var ee = ne.ref;
187
187
  return D = {
188
188
  $$typeof: g,
189
189
  type: D,
190
190
  key: k,
191
191
  props: ne,
192
- _owner: J
192
+ _owner: X
193
193
  }, (ee !== void 0 ? ee : null) !== null ? Object.defineProperty(D, "ref", {
194
194
  enumerable: !1,
195
195
  get: s
@@ -215,13 +215,13 @@ function Es() {
215
215
  value: $
216
216
  }), Object.freeze && (Object.freeze(D.props), Object.freeze(D)), D;
217
217
  }
218
- function c(D, k, ne, J, fe, $) {
218
+ function c(D, k, ne, X, fe, $) {
219
219
  var ee = k.children;
220
220
  if (ee !== void 0)
221
- if (J)
221
+ if (X)
222
222
  if (B(ee)) {
223
- for (J = 0; J < ee.length; J++)
224
- v(ee[J]);
223
+ for (X = 0; X < ee.length; X++)
224
+ v(ee[X]);
225
225
  Object.freeze && Object.freeze(ee);
226
226
  } else
227
227
  console.error(
@@ -233,18 +233,18 @@ function Es() {
233
233
  var ie = Object.keys(k).filter(function(Yt) {
234
234
  return Yt !== "key";
235
235
  });
236
- J = 0 < ie.length ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}", oe[ee + J] || (ie = 0 < ie.length ? "{" + ie.join(": ..., ") + ": ...}" : "{}", console.error(
236
+ X = 0 < ie.length ? "{key: someKey, " + ie.join(": ..., ") + ": ...}" : "{key: someKey}", oe[ee + X] || (ie = 0 < ie.length ? "{" + ie.join(": ..., ") + ": ...}" : "{}", console.error(
237
237
  `A props object containing a "key" prop is being spread into JSX:
238
238
  let props = %s;
239
239
  <%s {...props} />
240
240
  React keys must be passed directly to JSX without using spread:
241
241
  let props = %s;
242
242
  <%s key={someKey} {...props} />`,
243
- J,
243
+ X,
244
244
  ee,
245
245
  ie,
246
246
  ee
247
- ), oe[ee + J] = !0);
247
+ ), oe[ee + X] = !0);
248
248
  }
249
249
  if (ee = null, ne !== void 0 && (e(ne), ee = "" + ne), a(k) && (e(k.key), ee = "" + k.key), "key" in k) {
250
250
  ne = {};
@@ -269,7 +269,7 @@ React keys must be passed directly to JSX without using spread:
269
269
  function m(D) {
270
270
  return typeof D == "object" && D !== null && D.$$typeof === g;
271
271
  }
272
- var p = V, g = Symbol.for("react.transitional.element"), b = Symbol.for("react.portal"), x = Symbol.for("react.fragment"), C = Symbol.for("react.strict_mode"), O = Symbol.for("react.profiler"), I = Symbol.for("react.consumer"), F = Symbol.for("react.context"), R = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), j = Symbol.for("react.suspense_list"), T = Symbol.for("react.memo"), N = Symbol.for("react.lazy"), S = Symbol.for("react.activity"), y = Symbol.for("react.client.reference"), E = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, B = Array.isArray, A = console.createTask ? console.createTask : function() {
272
+ var p = V, g = /* @__PURE__ */ Symbol.for("react.transitional.element"), b = /* @__PURE__ */ Symbol.for("react.portal"), x = /* @__PURE__ */ Symbol.for("react.fragment"), C = /* @__PURE__ */ Symbol.for("react.strict_mode"), O = /* @__PURE__ */ Symbol.for("react.profiler"), I = /* @__PURE__ */ Symbol.for("react.consumer"), F = /* @__PURE__ */ Symbol.for("react.context"), R = /* @__PURE__ */ Symbol.for("react.forward_ref"), _ = /* @__PURE__ */ Symbol.for("react.suspense"), j = /* @__PURE__ */ Symbol.for("react.suspense_list"), T = /* @__PURE__ */ Symbol.for("react.memo"), N = /* @__PURE__ */ Symbol.for("react.lazy"), S = /* @__PURE__ */ Symbol.for("react.activity"), y = /* @__PURE__ */ Symbol.for("react.client.reference"), E = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, L = Object.prototype.hasOwnProperty, B = Array.isArray, A = console.createTask ? console.createTask : function() {
273
273
  return null;
274
274
  };
275
275
  p = {
@@ -282,24 +282,24 @@ React keys must be passed directly to JSX without using spread:
282
282
  i
283
283
  )(), U = A(r(i)), oe = {};
284
284
  xn.Fragment = x, xn.jsx = function(D, k, ne) {
285
- var J = 1e4 > E.recentlyCreatedOwnerStacks++;
285
+ var X = 1e4 > E.recentlyCreatedOwnerStacks++;
286
286
  return c(
287
287
  D,
288
288
  k,
289
289
  ne,
290
290
  !1,
291
- J ? Error("react-stack-top-frame") : P,
292
- J ? A(r(D)) : U
291
+ X ? Error("react-stack-top-frame") : P,
292
+ X ? A(r(D)) : U
293
293
  );
294
294
  }, xn.jsxs = function(D, k, ne) {
295
- var J = 1e4 > E.recentlyCreatedOwnerStacks++;
295
+ var X = 1e4 > E.recentlyCreatedOwnerStacks++;
296
296
  return c(
297
297
  D,
298
298
  k,
299
299
  ne,
300
300
  !0,
301
- J ? Error("react-stack-top-frame") : P,
302
- J ? A(r(D)) : U
301
+ X ? Error("react-stack-top-frame") : P,
302
+ X ? A(r(D)) : U
303
303
  );
304
304
  };
305
305
  })()), xn;
@@ -315,244 +315,242 @@ const Cs = ({
315
315
  ...e
316
316
  }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 49, height: 41, fill: "none", viewBox: "0 0 49 41", alt: "Juno UI", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "M11.093 16 4 20.095l7.093 4.105 7.093-4.105L11.093 16Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#000", fillRule: "evenodd", d: "m11.093 16.346 6.793 3.922v7.844l-6.793 3.922L4.3 28.112v-7.844l6.793-3.922ZM4 20.095 11.093 16l7.093 4.095v8.19l-7.093 4.095L4 28.285v-8.19Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M11.093 24.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M11.093 24.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M11.093 24.19v8.19L4 28.285v-8.19l7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", fillRule: "evenodd", d: "M18.186 20.095 11.093 16 4 20.095v8.19l7.093 4.095 7.093-4.095v-8.19Zm-7.093-3.749 6.493 3.75-6.493 3.757L4.6 20.095l6.494-3.749Zm-.3 8.017L4.3 20.614v7.498l6.493 3.748v-7.497Zm7.093-3.749-6.493 3.749v7.497l6.492-3.748v-7.498Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M24.402 36.76V20.38l-14.185-8.19v8.226l7.065 4.079v8.155l7.12 4.11Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "m38.587 20.388-7.08 4.087v-8.19l7.08-4.087v-.008l-14.185 8.19v16.38l14.185-8.19v-8.182Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#05646D", d: "M31.591 16.337v.064-8.254l-7.093 4.095 7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#02454B", d: "M31.51 16.285v8.19l7.092-4.095-7.093-4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", d: "M37.092 8 30 12.095v8.19l7.092 4.095 7.093-4.095v-8.19L37.092 8Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "M37.092 16.19v8.19l7.093-4.095v-8.19l-7.093 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#098590", d: "M37.092 16.19v8.19L30 20.285v-8.19l7.092 4.095Z" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#a)", fillRule: "evenodd", d: "M44.185 12.095 37.092 8 30 12.095v8.19l7.092 4.095 7.093-4.095v-8.19Zm-7.093-3.749 6.493 3.75-6.493 3.757-6.493-3.758 6.493-3.749Zm-.3 8.017-6.493-3.749v7.497l6.493 3.75v-7.498Zm7.093-3.749-6.493 3.749v7.497l6.493-3.748v-7.498Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "#0FA7B4", d: "m31.502 32.65-7.1 4.15V20.4l7.1-4.11v16.36Z" }), /* @__PURE__ */ d.createElement("path", { fill: "#15D0E0", d: "m24.502 12.25 7 4.04-7.1 4.11-14.2-8.2 14.2-8.2 7.2 4.15-7.1 4.1Z" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#b)", fillRule: "evenodd", d: "M31.602 8.15 24.402 4l-14.184 8.191h-.001v.001l-.014.008.013.008v8.147l7.066 4.08v8.19l7.12 4.135V28.7v8.1l5.52-3.226 8.665-5.003v-5.054l-.3.173v4.707l-6.77 3.91.033-7.51 3.133-1.808-.3-.173-2.831 1.634v-.011h-.044v-8.154l1.19-.687v-.008l-1.203.695-6.773-3.908.006-.01-.214-.124 7.088-4.093Zm-6.9 28.127v-7.576l6.506-3.717v.011l.042-.024-.034 7.509-1.446.835-5.068 2.962Zm0-7.921 6.506-3.718v-7.84l-6.506 3.756v7.802Zm6.3-20.206-6.787 3.92-6.577-3.817 6.764-3.907 6.6 3.804Zm-7.096 4.087-6.568-3.811-6.535 3.774 6.199 3.58 6.904-3.543Zm.294.185-6.889 3.537 7.09 4.095 6.501-3.764-6.702-3.868Zm-6.618 20.055V24.26l-7.066-4.08v-7.47l13.586 7.844V36.24l-6.52-3.764Z", clipRule: "evenodd" }), /* @__PURE__ */ d.createElement("path", { fill: "url(#c)", d: "m34.376 14.622.007.004 4.204-2.428v-.008l-4.21 2.432Z" }), /* @__PURE__ */ d.createElement("defs", null, /* @__PURE__ */ d.createElement("linearGradient", { id: "a", x1: 24.093, x2: 23.823, y1: 36.799, y2: 3.998, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#05646D" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.613, stopColor: "#15D0E0" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#098590" })), /* @__PURE__ */ d.createElement("linearGradient", { id: "b", x1: 26.402, x2: 15.344, y1: -1, y2: 32.206, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#127E88" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.539, stopColor: "#44F0FF" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#0B717A" })), /* @__PURE__ */ d.createElement("linearGradient", { id: "c", x1: 26.402, x2: 15.344, y1: -1, y2: 32.206, gradientUnits: "userSpaceOnUse" }, /* @__PURE__ */ d.createElement("stop", { stopColor: "#127E88" }), /* @__PURE__ */ d.createElement("stop", { offset: 0.539, stopColor: "#44F0FF" }), /* @__PURE__ */ d.createElement("stop", { offset: 1, stopColor: "#0B717A" }))));
317
317
  K(Cs);
318
- const Os = ({
319
- title: t,
320
- titleId: n,
321
- ...e
322
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 59, height: 42, viewBox: "0 0 59 42", fill: "none", xmlns: "http://www.w3.org/2000/svg", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M59.3825 11.1608C59.3545 11.1402 59.3267 11.1209 59.299 11.1029C56.8161 9.48915 53.8572 8.55235 50.6806 8.55235C49.5105 8.55235 48.3701 8.67944 47.272 8.92064C44.3685 3.66326 38.8166 0.108856 32.4447 0.108856C23.4894 0.108856 16.1537 7.12988 15.514 16.032L15.3487 16.0309L15.1066 16.0329C7.13468 16.1633 0.712036 22.728 0.712036 30.807C0.712036 35.0932 2.69502 38.9531 5.7492 41.6521H10.3029C6.42919 39.7347 3.75866 35.6852 3.75866 30.9998C3.75866 24.4639 8.95513 19.1655 15.3653 19.1655C16.2819 19.1655 17.1736 19.2738 18.0286 19.4792C17.9603 18.8925 17.9251 18.2952 17.9251 17.6896C17.9251 9.4705 24.4057 2.80763 32.4 2.80763C38.5297 2.80763 43.7695 6.72481 45.8801 12.2573C47.317 11.7139 48.8714 11.417 50.4937 11.417C53.699 11.417 56.6389 12.5758 58.9323 14.505C59.0819 14.6309 59.2321 14.8185 59.3825 15.0614V11.1608Z", fill: "#F0AB00" }));
323
- K(Os);
324
318
  me(void 0);
325
- const Ms = {
319
+ const Os = {
326
320
  position: "relative",
327
321
  zIndex: "1"
328
- }, Ds = ({ children: t }) => {
329
- const n = ye(Ts), [e, r] = be(!1);
322
+ }, Ms = ({ children: t }) => {
323
+ const n = ye(Ds), [e, r] = be(!1);
330
324
  return we(() => {
331
325
  n?.current && r(!0);
332
- }, [n]), e ? oo(/* @__PURE__ */ H.jsx("div", { className: "juno-portal", style: Ms, children: t }), n.current || document.body) : null;
326
+ }, [n]), e ? oo(/* @__PURE__ */ H.jsx("div", { className: "juno-portal", style: Os, children: t }), n.current || document.body) : null;
333
327
  };
334
- Ds.displayName = "PortalProvider.Portal";
335
- const Ts = me(void 0), ks = ({
328
+ Ms.displayName = "PortalProvider.Portal";
329
+ const Ds = me(void 0), Ts = ({
330
+ title: t,
331
+ titleId: n,
332
+ ...e
333
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), /* @__PURE__ */ d.createElement("path", { d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" })), ks = K(Ts), Is = ({
336
334
  title: t,
337
335
  titleId: n,
338
336
  ...e
339
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" }), /* @__PURE__ */ d.createElement("path", { d: "M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z" })), Is = K(ks), As = ({
337
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88a9.947 9.947 0 0 1 12.28 0C16.43 19.18 14.03 20 12 20z" })), As = K(Is), Ps = ({
340
338
  title: t,
341
339
  titleId: n,
342
340
  ...e
343
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 4c1.93 0 3.5 1.57 3.5 3.5S13.93 13 12 13s-3.5-1.57-3.5-3.5S10.07 6 12 6zm0 14c-2.03 0-4.43-.82-6.14-2.88a9.947 9.947 0 0 1 12.28 0C16.43 19.18 14.03 20 12 20z" })), Ps = K(As), js = ({
341
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" })), js = K(Ps), Ns = ({
344
342
  title: t,
345
343
  titleId: n,
346
344
  ...e
347
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm5 11h-4v4h-2v-4H7v-2h4V7h2v4h4v2z" })), Ns = K(js), Ls = ({
345
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 5v14a2 2 0 0 0 2 2h6V3H5a2 2 0 0 0-2 2zm16-2h-6v8h8V5c0-1.1-.9-2-2-2zm-6 18h6c1.1 0 2-.9 2-2v-6h-8v8z" })), Ls = K(Ns), _s = ({
348
346
  title: t,
349
347
  titleId: n,
350
348
  ...e
351
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 5v14a2 2 0 0 0 2 2h6V3H5a2 2 0 0 0-2 2zm16-2h-6v8h8V5c0-1.1-.9-2-2-2zm-6 18h6c1.1 0 2-.9 2-2v-6h-8v8z" })), _s = K(Ls), Rs = ({
349
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H4a2 2 0 0 0-2 2v10h2V4h10V2zm4 4H8a2 2 0 0 0-2 2v10h2V8h10V6zm2 4h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z" })), Rs = K(_s), Fs = ({
352
350
  title: t,
353
351
  titleId: n,
354
352
  ...e
355
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H4a2 2 0 0 0-2 2v10h2V4h10V2zm4 4H8a2 2 0 0 0-2 2v10h2V8h10V6zm2 4h-8a2 2 0 0 0-2 2v8a2 2 0 0 0 2 2h8c1.1 0 2-.9 2-2v-8c0-1.1-.9-2-2-2z" })), Fs = K(Rs), Hs = ({
353
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z" })), Hs = K(Fs), zs = ({
356
354
  title: t,
357
355
  titleId: n,
358
356
  ...e
359
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 21h-1l1-7H7.5c-.58 0-.57-.32-.38-.66.19-.34.05-.08.07-.12C8.48 10.94 10.42 7.54 13 3h1l-1 7h3.5c.49 0 .56.33.47.51l-.07.15C12.96 17.55 11 21 11 21z" })), zs = K(Hs), Bs = ({
357
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z" })), Bs = K(zs), Vs = ({
360
358
  title: t,
361
359
  titleId: n,
362
360
  ...e
363
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm0 18H4V8h16v13z" })), Vs = K(Bs), $s = ({
361
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), $s = K(Vs), Ws = ({
364
362
  title: t,
365
363
  titleId: n,
366
364
  ...e
367
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.47 2 2 6.47 2 12s4.47 10 10 10 10-4.47 10-10S17.53 2 12 2zm5 13.59L15.59 17 12 13.41 8.41 17 7 15.59 10.59 12 7 8.41 8.41 7 12 10.59 15.59 7 17 8.41 13.41 12 17 15.59z" })), Ws = K($s), Us = ({
365
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })), Us = K(Ws), Ys = ({
368
366
  title: t,
369
367
  titleId: n,
370
368
  ...e
371
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z" })), Ys = K(Us), Gs = ({
369
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), Gs = K(Ys), Ks = ({
372
370
  title: t,
373
371
  titleId: n,
374
372
  ...e
375
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), Ks = K(Gs), Zs = ({
373
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" })), Zs = K(Ks), Qs = ({
376
374
  title: t,
377
375
  titleId: n,
378
376
  ...e
379
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12l4.58-4.59z" })), Qs = K(Zs), qs = ({
377
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" })), qs = K(Qs), Js = ({
380
378
  title: t,
381
379
  titleId: n,
382
380
  ...e
383
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6-6-6z" })), Xs = K(qs), Js = ({
381
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), Xs = K(Js), ec = ({
384
382
  title: t,
385
383
  titleId: n,
386
384
  ...e
387
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z" })), ec = K(Js), tc = ({
385
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" })), tc = K(ec), nc = ({
388
386
  title: t,
389
387
  titleId: n,
390
388
  ...e
391
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })), nc = K(tc), rc = ({
389
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z" })), rc = K(nc), oc = ({
392
390
  title: t,
393
391
  titleId: n,
394
392
  ...e
395
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: "24px", height: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M22,17.9999996 L22,19.9999996 L2,19.9999996 L2,17.9999996 L22,17.9999996 Z M12,6.428571 C14.7642857,6.428571 17.0146825,8.23991359 17.1375716,10.5179164 L17.1428571,10.7142853 L17.1428571,16.7142853 L6.85714286,16.7142853 L6.85714286,10.7142853 L6.86242835,10.5179164 C6.98531746,8.23991359 9.23571429,6.428571 12,6.428571 Z M12,7.71428529 L12,15.428571 L15.8571429,15.428571 L15.8571429,11.1428567 L15.851803,10.960591 C15.745448,9.15003461 14.0636603,7.71428529 12,7.71428529 Z M19.075912,3.96838198 L20.490712,5.38218198 L18.370012,7.50438202 L16.955212,6.09058202 L19.075912,3.96838198 Z M4.956739,3.939208 L7.078039,6.060508 L5.663839,7.474708 L3.542539,5.353408 L4.956739,3.939208 Z M13,1.428571 L13,4.428571 L11,4.428571 L11,1.428571 L13,1.428571 Z" })), oc = K(rc), ic = ({
393
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: "24px", height: "24px", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", xmlnsXlink: "http://www.w3.org/1999/xlink", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M22,17.9999996 L22,19.9999996 L2,19.9999996 L2,17.9999996 L22,17.9999996 Z M12,6.428571 C14.7642857,6.428571 17.0146825,8.23991359 17.1375716,10.5179164 L17.1428571,10.7142853 L17.1428571,16.7142853 L6.85714286,16.7142853 L6.85714286,10.7142853 L6.86242835,10.5179164 C6.98531746,8.23991359 9.23571429,6.428571 12,6.428571 Z M12,7.71428529 L12,15.428571 L15.8571429,15.428571 L15.8571429,11.1428567 L15.851803,10.960591 C15.745448,9.15003461 14.0636603,7.71428529 12,7.71428529 Z M19.075912,3.96838198 L20.490712,5.38218198 L18.370012,7.50438202 L16.955212,6.09058202 L19.075912,3.96838198 Z M4.956739,3.939208 L7.078039,6.060508 L5.663839,7.474708 L3.542539,5.353408 L4.956739,3.939208 Z M13,1.428571 L13,4.428571 L11,4.428571 L11,1.428571 L13,1.428571 Z" })), ic = K(oc), ac = ({
396
394
  title: t,
397
395
  titleId: n,
398
396
  ...e
399
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74 15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z" })), ni = K(ic), ac = ({
397
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.73 3H8.27L3 8.27v7.46L8.27 21h7.46L21 15.73V8.27L15.73 3zM17 15.74 15.74 17 12 13.26 8.26 17 7 15.74 10.74 12 7 8.26 8.26 7 12 10.74 15.74 7 17 8.26 13.26 12 17 15.74z" })), ni = K(ac), lc = ({
400
398
  title: t,
401
399
  titleId: n,
402
400
  ...e
403
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z" })), lc = K(ac), sc = ({
401
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z" })), sc = K(lc), cc = ({
404
402
  title: t,
405
403
  titleId: n,
406
404
  ...e
407
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" })), cc = K(sc), uc = ({
405
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12zm2.46-7.12 1.41-1.41L12 12.59l2.12-2.12 1.41 1.41L13.41 14l2.12 2.12-1.41 1.41L12 15.41l-2.12 2.12-1.41-1.41L10.59 14l-2.13-2.12zM15.5 4l-1-1h-5l-1 1H5v2h14V4z" })), uc = K(cc), dc = ({
408
406
  title: t,
409
407
  titleId: n,
410
408
  ...e
411
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" })), dc = K(uc), fc = ({
409
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M14 2H6c-1.1 0-1.99.9-1.99 2L4 20c0 1.1.89 2 1.99 2H18c1.1 0 2-.9 2-2V8l-6-6zm2 16H8v-2h8v2zm0-4H8v-2h8v2zm-3-5V3.5L18.5 9H13z" })), fc = K(dc), pc = ({
412
410
  title: t,
413
411
  titleId: n,
414
412
  ...e
415
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), pc = K(fc), mc = ({
413
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1zM7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zM20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1zM7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), mc = K(pc), hc = ({
416
414
  title: t,
417
415
  titleId: n,
418
416
  ...e
419
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })), hc = K(mc), gc = ({
417
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04a.996.996 0 0 0 0-1.41l-2.34-2.34a.996.996 0 0 0-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z" })), gc = K(hc), vc = ({
420
418
  title: t,
421
419
  titleId: n,
422
420
  ...e
423
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })), vc = K(gc), bc = ({
421
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11 15h2v2h-2v-2zm0-8h2v6h-2V7zm.99-5C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zM12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z" })), bc = K(vc), yc = ({
424
422
  title: t,
425
423
  titleId: n,
426
424
  ...e
427
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" })), yc = K(bc), wc = ({
425
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M10.09 15.59 11.5 17l5-5-5-5-1.41 1.41L12.67 11H3v2h9.67l-2.58 2.59zM19 3H5a2 2 0 0 0-2 2v4h2V5h14v14H5v-4H3v4a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z" })), wc = K(yc), xc = ({
428
426
  title: t,
429
427
  titleId: n,
430
428
  ...e
431
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" })), xc = K(wc), Ec = ({
429
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" })), Ec = K(xc), Sc = ({
432
430
  title: t,
433
431
  titleId: n,
434
432
  ...e
435
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" })), Sc = K(Ec), Cc = ({
433
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" })), Cc = K(Sc), Oc = ({
436
434
  title: t,
437
435
  titleId: n,
438
436
  ...e
439
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z" })), Oc = K(Cc), Mc = ({
437
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.25 5.61C6.27 8.2 10 13 10 13v6c0 .55.45 1 1 1h2c.55 0 1-.45 1-1v-6s3.72-4.8 5.74-7.39A.998.998 0 0 0 18.95 4H5.04c-.83 0-1.3.95-.79 1.61z" })), Mc = K(Oc), Dc = ({
440
438
  title: t,
441
439
  titleId: n,
442
440
  ...e
443
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z" })), Dc = K(Mc), Tc = ({
441
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21 6h-2v9H6v2c0 .55.45 1 1 1h11l4 4V7c0-.55-.45-1-1-1zm-4 6V3c0-.55-.45-1-1-1H3c-.55 0-1 .45-1 1v14l4-4h10c.55 0 1-.45 1-1z" })), Tc = K(Dc), kc = ({
444
442
  title: t,
445
443
  titleId: n,
446
444
  ...e
447
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" })), Sr = K(Tc), kc = ({
445
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 17h-2v-2h2v2zm2.07-7.75-.9.92C13.45 12.9 13 13.5 13 15h-2v-.5c0-1.1.45-2.1 1.17-2.83l1.24-1.26c.37-.36.59-.86.59-1.41 0-1.1-.9-2-2-2s-2 .9-2 2H8c0-2.21 1.79-4 4-4s4 1.79 4 4c0 .88-.36 1.68-.93 2.25z" })), Sr = K(kc), Ic = ({
448
446
  title: t,
449
447
  titleId: n,
450
448
  ...e
451
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z" })), Ic = K(kc), Ac = ({
449
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0V0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8h5z" })), Ac = K(Ic), Pc = ({
452
450
  title: t,
453
451
  titleId: n,
454
452
  ...e
455
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })), Pc = K(Ac), jc = ({
453
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-6h2v6zm0-8h-2V7h2v2z" })), jc = K(Pc), Nc = ({
456
454
  title: t,
457
455
  titleId: n,
458
456
  ...e
459
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M21.99 4c0-1.1-.89-2-1.99-2H4c-1.1 0-2 .9-2 2v12c0 1.1.9 2 2 2h14l4 4-.01-18zM18 14H6v-2h12v2zm0-3H6V9h12v2zm0-3H6V6h12v2z" })), Nc = K(jc), Lc = ({
457
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2zm6.93 6h-2.95a15.65 15.65 0 0 0-1.38-3.56A8.03 8.03 0 0 1 18.92 8zM12 4.04c.83 1.2 1.48 2.53 1.91 3.96h-3.82c.43-1.43 1.08-2.76 1.91-3.96zM4.26 14C4.1 13.36 4 12.69 4 12s.1-1.36.26-2h3.38c-.08.66-.14 1.32-.14 2 0 .68.06 1.34.14 2H4.26zm.82 2h2.95c.32 1.25.78 2.45 1.38 3.56A7.987 7.987 0 0 1 5.08 16zm2.95-8H5.08a7.987 7.987 0 0 1 4.33-3.56A15.65 15.65 0 0 0 8.03 8zM12 19.96c-.83-1.2-1.48-2.53-1.91-3.96h3.82c-.43 1.43-1.08 2.76-1.91 3.96zM14.34 14H9.66c-.09-.66-.16-1.32-.16-2 0-.68.07-1.35.16-2h4.68c.09.65.16 1.32.16 2 0 .68-.07 1.34-.16 2zm.25 5.56c.6-1.11 1.06-2.31 1.38-3.56h2.95a8.03 8.03 0 0 1-4.33 3.56zM16.36 14c.08-.66.14-1.32.14-2 0-.68-.06-1.34-.14-2h3.38c.16.64.26 1.31.26 2s-.1 1.36-.26 2h-3.38z" })), Lc = K(Nc), _c = ({
460
458
  title: t,
461
459
  titleId: n,
462
460
  ...e
463
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("circle", { cx: 10, cy: 8, r: 4 }), /* @__PURE__ */ d.createElement("path", { d: "M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26a6.963 6.963 0 0 1-.59-6.98zM20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49c-.32-.27-.68-.48-1.08-.63L18 11h-2l-.3 1.49c-.4.15-.76.36-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49c.32.27.68.48 1.08.63L16 21h2l.3-1.49c.4-.15.76-.36 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63zM17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), _c = K(Lc), Rc = ({
461
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("circle", { cx: 10, cy: 8, r: 4 }), /* @__PURE__ */ d.createElement("path", { d: "M10.67 13.02c-.22-.01-.44-.02-.67-.02-2.42 0-4.68.67-6.61 1.82-.88.52-1.39 1.5-1.39 2.53V20h9.26a6.963 6.963 0 0 1-.59-6.98zM20.75 16c0-.22-.03-.42-.06-.63l1.14-1.01-1-1.73-1.45.49c-.32-.27-.68-.48-1.08-.63L18 11h-2l-.3 1.49c-.4.15-.76.36-1.08.63l-1.45-.49-1 1.73 1.14 1.01c-.03.21-.06.41-.06.63s.03.42.06.63l-1.14 1.01 1 1.73 1.45-.49c.32.27.68.48 1.08.63L16 21h2l.3-1.49c.4-.15.76-.36 1.08-.63l1.45.49 1-1.73-1.14-1.01c.03-.21.06-.41.06-.63zM17 18c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2z" })), Rc = K(_c), Fc = ({
464
462
  title: t,
465
463
  titleId: n,
466
464
  ...e
467
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v3h2V6h16v3h2V6c0-1.1-.9-2-2-2zm0 14H4v-3H2v3c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-3h-2v3z" }), /* @__PURE__ */ d.createElement("path", { d: "M14.89 7.55c-.34-.68-1.45-.68-1.79 0L10 13.76l-1.11-2.21A.988.988 0 0 0 8 11H2v2h5.38l1.72 3.45c.18.34.52.55.9.55s.72-.21.89-.55L14 10.24l1.11 2.21c.17.34.51.55.89.55h6v-2h-5.38l-1.73-3.45z" })), Fc = K(Rc), Hc = ({
465
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M20 4H4c-1.1 0-2 .9-2 2v3h2V6h16v3h2V6c0-1.1-.9-2-2-2zm0 14H4v-3H2v3c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2v-3h-2v3z" }), /* @__PURE__ */ d.createElement("path", { d: "M14.89 7.55c-.34-.68-1.45-.68-1.79 0L10 13.76l-1.11-2.21A.988.988 0 0 0 8 11H2v2h5.38l1.72 3.45c.18.34.52.55.9.55s.72-.21.89-.55L14 10.24l1.11 2.21c.17.34.51.55.89.55h6v-2h-5.38l-1.73-3.45z" })), Hc = K(Fc), zc = ({
468
466
  title: t,
469
467
  titleId: n,
470
468
  ...e
471
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })), zc = K(Hc), Bc = ({
469
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 8c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm0 2c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm0 6c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z" })), Bc = K(zc), Vc = ({
472
470
  title: t,
473
471
  titleId: n,
474
472
  ...e
475
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19.78 17.51c-2.47 0-6.57-1.33-8.68-5.43-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.61-.26 1.28-.42 1.98-.42 0-3.09 1.73-5.77 4.3-7.1-.5 2.19-.54 5.04 1.04 8.1 1.57 3.04 4.18 4.95 6.8 5.86a8 8 0 0 1-5.61 1.01c-.37.7-.94 1.27-1.64 1.64.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-.17.01-.37.02-.57.02z" }), /* @__PURE__ */ d.createElement("path", { d: "M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z" })), Vc = K(Bc), $c = ({
473
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19.78 17.51c-2.47 0-6.57-1.33-8.68-5.43-2.33-4.51-.5-8.48.53-10.07C6.27 2.2 1.98 6.59 1.98 12c0 .14.02.28.02.42.61-.26 1.28-.42 1.98-.42 0-3.09 1.73-5.77 4.3-7.1-.5 2.19-.54 5.04 1.04 8.1 1.57 3.04 4.18 4.95 6.8 5.86a8 8 0 0 1-5.61 1.01c-.37.7-.94 1.27-1.64 1.64.98.32 2.03.5 3.11.5 3.5 0 6.58-1.8 8.37-4.52-.17.01-.37.02-.57.02z" }), /* @__PURE__ */ d.createElement("path", { d: "M7 16h-.18C6.4 14.84 5.3 14 4 14c-1.66 0-3 1.34-3 3s1.34 3 3 3h3c1.1 0 2-.9 2-2s-.9-2-2-2z" })), $c = K(Vc), Wc = ({
476
474
  title: t,
477
475
  titleId: n,
478
476
  ...e
479
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm0-15.5c2.49 0 4 2.02 4 4.5v.1l2 2V11c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l1.64 1.64c.18-.02.36-.05.55-.05zM5.41 3.35 4 4.76l2.81 2.81C6.29 8.57 6 9.74 6 11v5l-2 2v1h14.24l1.74 1.74 1.41-1.41L5.41 3.35zM16 17H8v-6c0-.68.12-1.32.34-1.9L16 16.76V17z" })), Wc = K($c), Uc = ({
477
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm0-15.5c2.49 0 4 2.02 4 4.5v.1l2 2V11c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68c-.24.06-.47.15-.69.23l1.64 1.64c.18-.02.36-.05.55-.05zM5.41 3.35 4 4.76l2.81 2.81C6.29 8.57 6 9.74 6 11v5l-2 2v1h14.24l1.74 1.74 1.41-1.41L5.41 3.35zM16 17H8v-6c0-.68.12-1.32.34-1.9L16 16.76V17z" })), Uc = K(Wc), Yc = ({
480
478
  title: t,
481
479
  titleId: n,
482
480
  ...e
483
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z" })), Yc = K(Uc), Gc = ({
481
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 4H5a2 2 0 0 0-2 2v12a2 2 0 0 0 2 2h4v-2H5V8h14v10h-4v2h4c1.1 0 2-.9 2-2V6a2 2 0 0 0-2-2zm-7 6-4 4h3v6h2v-6h3l-4-4z" })), Gc = K(Yc), Kc = ({
484
482
  title: t,
485
483
  titleId: n,
486
484
  ...e
487
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })), Kc = K(Gc), Zc = ({
485
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 19H5V5h7V3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z" })), Zc = K(Kc), Qc = ({
488
486
  title: t,
489
487
  titleId: n,
490
488
  ...e
491
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })), Qc = K(Zc), qc = ({
489
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", height: 24, viewBox: "0 0 24 24", width: 24, ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M0 0h24v24H0z", fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 2C8.13 2 5 5.13 5 9c0 5.25 7 13 7 13s7-7.75 7-13c0-3.87-3.13-7-7-7zm0 9.5c-1.38 0-2.5-1.12-2.5-2.5s1.12-2.5 2.5-2.5 2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5z" })), qc = K(Qc), Jc = ({
492
490
  title: t,
493
491
  titleId: n,
494
492
  ...e
495
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), Xc = K(qc), Jc = ({
493
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 3H5a2 2 0 0 0-2 2v14a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V5a2 2 0 0 0-2-2zm-9 14-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z" })), Xc = K(Jc), eu = ({
496
494
  title: t,
497
495
  titleId: n,
498
496
  ...e
499
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" })), eu = K(Jc), tu = ({
497
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M15.5 14h-.79l-.28-.27A6.471 6.471 0 0 0 16 9.5 6.5 6.5 0 1 0 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19l-4.99-5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z" })), tu = K(eu), nu = ({
500
498
  title: t,
501
499
  titleId: n,
502
500
  ...e
503
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-low", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 20L20 5H4L12 20Z" })), nu = K(tu), ru = ({
501
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-low", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 20L20 5H4L12 20Z" })), ru = K(nu), ou = ({
504
502
  title: t,
505
503
  titleId: n,
506
504
  ...e
507
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-medium", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 5L20 20H4L12 5Z" })), ou = K(ru), iu = ({
505
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-medium", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 5L20 20H4L12 5Z" })), iu = K(ou), au = ({
508
506
  title: t,
509
507
  titleId: n,
510
508
  ...e
511
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 5H5V19H19V5Z" })), au = K(iu), lu = ({
509
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 5H5V19H19V5Z" })), lu = K(au), su = ({
512
510
  title: t,
513
511
  titleId: n,
514
512
  ...e
515
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-very-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 3L21 12L12 21L3 12L12 3Z" })), su = K(lu), cu = ({
513
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-very-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M12 3L21 12L12 21L3 12L12 3Z" })), cu = K(su), uu = ({
516
514
  title: t,
517
515
  titleId: n,
518
516
  ...e
519
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-critical", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.5 4L18.8612 8.25V16.75L11.5 21L4.13878 16.75V8.25L11.5 4Z" })), uu = K(cu), du = ({
517
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-critical", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M11.5 4L18.8612 8.25V16.75L11.5 21L4.13878 16.75V8.25L11.5 4Z" })), du = K(uu), fu = ({
520
518
  title: t,
521
519
  titleId: n,
522
520
  ...e
523
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-unknown", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.5 12C4.5 7.86 7.86 4.5 12 4.5C16.14 4.5 19.5 7.86 19.5 12C19.5 16.14 16.14 19.5 12 19.5C7.86 19.5 4.5 16.14 4.5 12ZM12 16.5C14.4825 16.5 16.5 14.4825 16.5 12C16.5 9.5175 14.4825 7.5 12 7.5C9.5175 7.5 7.5 9.5175 7.5 12C7.5 14.4825 9.5175 16.5 12 16.5Z" })), fu = K(du), pu = ({
521
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "severity-unknown", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M4.5 12C4.5 7.86 7.86 4.5 12 4.5C16.14 4.5 19.5 7.86 19.5 12C19.5 16.14 16.14 19.5 12 19.5C7.86 19.5 4.5 16.14 4.5 12ZM12 16.5C14.4825 16.5 16.5 14.4825 16.5 12C16.5 9.5175 14.4825 7.5 12 7.5C9.5175 7.5 7.5 9.5175 7.5 12C7.5 14.4825 9.5175 16.5 12 16.5Z" })), pu = K(fu), mu = ({
524
522
  title: t,
525
523
  titleId: n,
526
524
  ...e
527
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), mu = K(pu), hu = ({
525
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), hu = K(mu), gu = ({
528
526
  title: t,
529
527
  titleId: n,
530
528
  ...e
531
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), gu = K(hu), vu = ({
529
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_short-wide_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H23V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 16H20V13H12V16Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 11H17V8H12V11Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H15V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), vu = K(gu), bu = ({
532
530
  title: t,
533
531
  titleId: n,
534
532
  ...e
535
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), bu = K(vu), yu = ({
533
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-up", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 21H7V8H4V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 8H1L5.5 3L10 8Z" })), yu = K(bu), wu = ({
536
534
  title: t,
537
535
  titleId: n,
538
536
  ...e
539
- }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), wu = K(yu), xu = ({
537
+ }, r) => /* @__PURE__ */ d.createElement("svg", { width: 24, height: 24, viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg", "data-icon": "sort_wide-short_arrow-down", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("rect", { width: 24, height: 24, fill: "none" }), /* @__PURE__ */ d.createElement("path", { d: "M12 3H23V6H12V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 8H20V11H12V8Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 13H17V16H12V13Z" }), /* @__PURE__ */ d.createElement("path", { d: "M12 21H15V18H12V21Z" }), /* @__PURE__ */ d.createElement("path", { d: "M4 3H7V16H4V3Z" }), /* @__PURE__ */ d.createElement("path", { d: "M10 16H1L5.5 21L10 16Z" })), xu = K(wu), Eu = ({
540
538
  title: t,
541
539
  titleId: n,
542
540
  ...e
543
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z" })), Eu = K(xu), Su = ({
541
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z" })), Su = K(Eu), Cu = ({
544
542
  title: t,
545
543
  titleId: n,
546
544
  ...e
547
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })), Cu = K(Su), Ou = ({
545
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })), Ou = K(Cu), Mu = ({
548
546
  title: t,
549
547
  titleId: n,
550
548
  ...e
551
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495 1.408 1.407-1.79 1.79-1.407-1.408zm-1.8 15.115 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm-1 4h2v2.95h-2zm-7.45-.96 1.41 1.41 1.79-1.8-1.41-1.41z" })), Mu = K(Ou), Du = ({
549
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "m6.76 4.84-1.8-1.79-1.41 1.41 1.79 1.79zM1 10.5h3v2H1zM11 .55h2V3.5h-2zm8.04 2.495 1.408 1.407-1.79 1.79-1.407-1.408zm-1.8 15.115 1.79 1.8 1.41-1.41-1.8-1.79zM20 10.5h3v2h-3zm-8-5c-3.31 0-6 2.69-6 6s2.69 6 6 6 6-2.69 6-6-2.69-6-6-6zm0 10c-2.21 0-4-1.79-4-4s1.79-4 4-4 4 1.79 4 4-1.79 4-4 4zm-1 4h2v2.95h-2zm-7.45-.96 1.41 1.41 1.79-1.8-1.41-1.41z" })), Du = K(Mu), Tu = ({
552
550
  title: t,
553
551
  titleId: n,
554
552
  ...e
555
- }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z" })), Tu = K(Du), ku = `
553
+ }, r) => /* @__PURE__ */ d.createElement("svg", { xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, viewBox: "0 0 24 24", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M13 13v8h8v-8h-8zM3 21h8v-8H3v8zM3 3v8h8V3H3zm13.66-1.31L11 7.34 16.66 13l5.66-5.66-5.66-5.65z" })), ku = K(Tu), Iu = `
556
554
  jn:text-current
557
555
  jn:hover:text-theme-high
558
556
  jn:focus:outline-hidden
@@ -562,7 +560,7 @@ const Ts = me(void 0), ks = ({
562
560
  jn:focus-visible:ring-offset-theme-focus
563
561
  jn:disabled:opacity-50
564
562
  jn:disabled:cursor-not-allowed
565
- `, Iu = `
563
+ `, Au = `
566
564
  jn:hover:text-theme-high
567
565
  jn:focus:outline-hidden
568
566
  jn:focus-visible:ring-2
@@ -572,13 +570,13 @@ const Ts = me(void 0), ks = ({
572
570
  jn:disabled:opacity-50
573
571
  jn:disabled:cursor-not-allowed
574
572
  `;
575
- var io = /* @__PURE__ */ ((t) => (t.accessTime = "accessTime", t.accountCircle = "accountCircle", t.addCircle = "addCircle", t.autoAwesomeMosaic = "autoAwesomeMosaic", t.autoAwesomeMotion = "autoAwesomeMotion", t.bolt = "bolt", t.calendarToday = "calendarToday", t.cancel = "cancel", t.check = "check", t.checkCircle = "checkCircle", t.chevronLeft = "chevronLeft", t.chevronRight = "chevronRight", t.close = "close", t.comment = "comment", t.contentCopy = "contentCopy", t.danger = "danger", t.dangerous = "dangerous", t.default = "default", t.deleteForever = "deleteForever", t.description = "description", t.dns = "dns", t.download = "download", t.edit = "edit", t.error = "error", t.errorOutline = "errorOutline", t.exitToApp = "exitToApp", t.expandLess = "expandLess", t.expandMore = "expandMore", t.filterAlt = "filterAlt", t.forum = "forum", t.help = "help", t.home = "home", t.info = "info", t.manageAccounts = "manageAccounts", t.monitorHeart = "monitorHeart", t.moreVert = "moreVert", t.nightsStay = "nightsStay", t.notificationsOff = "notificationsOff", t.openInBrowser = "openInBrowser", t.openInNew = "openInNew", t.place = "place", t.search = "search", t.severityLow = "severityLow", t.severityMedium = "severityMedium", t.severityHigh = "severityHigh", t.severityVeryHigh = "severityVeryHigh", t.severityCritical = "severityCritical", t.severityUnknown = "severityUnknown", t.sortShortWideArrowUp = "sortShortWideArrowUp", t.sortShortWideArrowDown = "sortShortWideArrowDown", t.sortWideShortArrowUp = "sortWideShortArrowUp", t.sortWideShortArrowDown = "sortWideShortArrowDown", t.success = "success", t.upload = "upload", t.warning = "warning", t.wbSunny = "wbSunny", t.widgets = "widgets", t))(io || {});
576
- const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) => {
573
+ var io = /* @__PURE__ */ ((t) => (t.accessTime = "accessTime", t.accountCircle = "accountCircle", t.addCircle = "addCircle", t.autoAwesomeMosaic = "autoAwesomeMosaic", t.autoAwesomeMotion = "autoAwesomeMotion", t.bolt = "bolt", t.calendarToday = "calendarToday", t.cancel = "cancel", t.check = "check", t.checkCircle = "checkCircle", t.chevronLeft = "chevronLeft", t.chevronRight = "chevronRight", t.close = "close", t.comment = "comment", t.contentCopy = "contentCopy", t.danger = "danger", t.dangerous = "dangerous", t.default = "default", t.deleteForever = "deleteForever", t.description = "description", t.dns = "dns", t.download = "download", t.edit = "edit", t.error = "error", t.errorOutline = "errorOutline", t.exitToApp = "exitToApp", t.expandLess = "expandLess", t.expandMore = "expandMore", t.filterAlt = "filterAlt", t.forum = "forum", t.help = "help", t.home = "home", t.info = "info", t.language = "language", t.manageAccounts = "manageAccounts", t.monitorHeart = "monitorHeart", t.moreVert = "moreVert", t.nightsStay = "nightsStay", t.notificationsOff = "notificationsOff", t.openInBrowser = "openInBrowser", t.openInNew = "openInNew", t.place = "place", t.search = "search", t.severityLow = "severityLow", t.severityMedium = "severityMedium", t.severityHigh = "severityHigh", t.severityVeryHigh = "severityVeryHigh", t.severityCritical = "severityCritical", t.severityUnknown = "severityUnknown", t.sortShortWideArrowUp = "sortShortWideArrowUp", t.sortShortWideArrowDown = "sortShortWideArrowDown", t.sortWideShortArrowUp = "sortWideShortArrowUp", t.sortWideShortArrowDown = "sortWideShortArrowDown", t.success = "success", t.upload = "upload", t.warning = "warning", t.wbSunny = "wbSunny", t.widgets = "widgets", t))(io || {});
574
+ const Pu = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) => {
577
575
  const a = `juno-icon juno-icon-${t} jn:fill-current ${n} ${o}`;
578
576
  switch (io[t || "default"]) {
579
577
  case "accessTime":
580
578
  return /* @__PURE__ */ H.jsx(
581
- Is,
579
+ ks,
582
580
  {
583
581
  width: e,
584
582
  height: e,
@@ -591,7 +589,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
591
589
  );
592
590
  case "accountCircle":
593
591
  return /* @__PURE__ */ H.jsx(
594
- Ps,
592
+ As,
595
593
  {
596
594
  width: e,
597
595
  height: e,
@@ -604,7 +602,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
604
602
  );
605
603
  case "addCircle":
606
604
  return /* @__PURE__ */ H.jsx(
607
- Ns,
605
+ js,
608
606
  {
609
607
  width: e,
610
608
  height: e,
@@ -617,7 +615,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
617
615
  );
618
616
  case "autoAwesomeMosaic":
619
617
  return /* @__PURE__ */ H.jsx(
620
- _s,
618
+ Ls,
621
619
  {
622
620
  width: e,
623
621
  height: e,
@@ -630,7 +628,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
630
628
  );
631
629
  case "autoAwesomeMotion":
632
630
  return /* @__PURE__ */ H.jsx(
633
- Fs,
631
+ Rs,
634
632
  {
635
633
  width: e,
636
634
  height: e,
@@ -643,7 +641,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
643
641
  );
644
642
  case "bolt":
645
643
  return /* @__PURE__ */ H.jsx(
646
- zs,
644
+ Hs,
647
645
  {
648
646
  width: e,
649
647
  height: e,
@@ -656,7 +654,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
656
654
  );
657
655
  case "calendarToday":
658
656
  return /* @__PURE__ */ H.jsx(
659
- Vs,
657
+ Bs,
660
658
  {
661
659
  width: e,
662
660
  height: e,
@@ -669,7 +667,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
669
667
  );
670
668
  case "cancel":
671
669
  return /* @__PURE__ */ H.jsx(
672
- Ws,
670
+ $s,
673
671
  {
674
672
  width: e,
675
673
  height: e,
@@ -682,7 +680,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
682
680
  );
683
681
  case "check":
684
682
  return /* @__PURE__ */ H.jsx(
685
- Ys,
683
+ Us,
686
684
  {
687
685
  width: e,
688
686
  height: e,
@@ -695,7 +693,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
695
693
  );
696
694
  case "checkCircle":
697
695
  return /* @__PURE__ */ H.jsx(
698
- Ks,
696
+ Gs,
699
697
  {
700
698
  width: e,
701
699
  height: e,
@@ -708,7 +706,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
708
706
  );
709
707
  case "chevronLeft":
710
708
  return /* @__PURE__ */ H.jsx(
711
- Qs,
709
+ Zs,
712
710
  {
713
711
  width: e,
714
712
  height: e,
@@ -721,7 +719,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
721
719
  );
722
720
  case "chevronRight":
723
721
  return /* @__PURE__ */ H.jsx(
724
- Xs,
722
+ qs,
725
723
  {
726
724
  width: e,
727
725
  height: e,
@@ -734,7 +732,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
734
732
  );
735
733
  case "close":
736
734
  return /* @__PURE__ */ H.jsx(
737
- ec,
735
+ Xs,
738
736
  {
739
737
  width: e,
740
738
  height: e,
@@ -747,7 +745,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
747
745
  );
748
746
  case "comment":
749
747
  return /* @__PURE__ */ H.jsx(
750
- Nc,
748
+ tc,
751
749
  {
752
750
  width: e,
753
751
  height: e,
@@ -760,7 +758,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
760
758
  );
761
759
  case "contentCopy":
762
760
  return /* @__PURE__ */ H.jsx(
763
- nc,
761
+ rc,
764
762
  {
765
763
  width: e,
766
764
  height: e,
@@ -773,7 +771,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
773
771
  );
774
772
  case "danger":
775
773
  return /* @__PURE__ */ H.jsx(
776
- oc,
774
+ ic,
777
775
  {
778
776
  width: e,
779
777
  height: e,
@@ -799,7 +797,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
799
797
  );
800
798
  case "deleteForever":
801
799
  return /* @__PURE__ */ H.jsx(
802
- cc,
800
+ uc,
803
801
  {
804
802
  width: e,
805
803
  height: e,
@@ -812,7 +810,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
812
810
  );
813
811
  case "description":
814
812
  return /* @__PURE__ */ H.jsx(
815
- dc,
813
+ fc,
816
814
  {
817
815
  width: e,
818
816
  height: e,
@@ -825,7 +823,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
825
823
  );
826
824
  case "dns":
827
825
  return /* @__PURE__ */ H.jsx(
828
- pc,
826
+ mc,
829
827
  {
830
828
  width: e,
831
829
  height: e,
@@ -838,7 +836,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
838
836
  );
839
837
  case "download":
840
838
  return /* @__PURE__ */ H.jsx(
841
- lc,
839
+ sc,
842
840
  {
843
841
  width: e,
844
842
  height: e,
@@ -851,7 +849,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
851
849
  );
852
850
  case "edit":
853
851
  return /* @__PURE__ */ H.jsx(
854
- hc,
852
+ gc,
855
853
  {
856
854
  width: e,
857
855
  height: e,
@@ -877,7 +875,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
877
875
  );
878
876
  case "errorOutline":
879
877
  return /* @__PURE__ */ H.jsx(
880
- vc,
878
+ bc,
881
879
  {
882
880
  width: e,
883
881
  height: e,
@@ -890,7 +888,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
890
888
  );
891
889
  case "exitToApp":
892
890
  return /* @__PURE__ */ H.jsx(
893
- yc,
891
+ wc,
894
892
  {
895
893
  width: e,
896
894
  height: e,
@@ -903,7 +901,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
903
901
  );
904
902
  case "expandLess":
905
903
  return /* @__PURE__ */ H.jsx(
906
- xc,
904
+ Ec,
907
905
  {
908
906
  width: e,
909
907
  height: e,
@@ -916,7 +914,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
916
914
  );
917
915
  case "expandMore":
918
916
  return /* @__PURE__ */ H.jsx(
919
- Sc,
917
+ Cc,
920
918
  {
921
919
  width: e,
922
920
  height: e,
@@ -929,7 +927,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
929
927
  );
930
928
  case "filterAlt":
931
929
  return /* @__PURE__ */ H.jsx(
932
- Oc,
930
+ Mc,
933
931
  {
934
932
  width: e,
935
933
  height: e,
@@ -942,7 +940,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
942
940
  );
943
941
  case "forum":
944
942
  return /* @__PURE__ */ H.jsx(
945
- Dc,
943
+ Tc,
946
944
  {
947
945
  width: e,
948
946
  height: e,
@@ -968,7 +966,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
968
966
  );
969
967
  case "home":
970
968
  return /* @__PURE__ */ H.jsx(
971
- Ic,
969
+ Ac,
972
970
  {
973
971
  width: e,
974
972
  height: e,
@@ -981,7 +979,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
981
979
  );
982
980
  case "info":
983
981
  return /* @__PURE__ */ H.jsx(
984
- Pc,
982
+ jc,
985
983
  {
986
984
  width: e,
987
985
  height: e,
@@ -992,9 +990,22 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
992
990
  ...i
993
991
  }
994
992
  );
993
+ case "language":
994
+ return /* @__PURE__ */ H.jsx(
995
+ Lc,
996
+ {
997
+ width: e,
998
+ height: e,
999
+ className: a,
1000
+ alt: "language",
1001
+ title: r || "Language",
1002
+ role: "img",
1003
+ ...i
1004
+ }
1005
+ );
995
1006
  case "manageAccounts":
996
1007
  return /* @__PURE__ */ H.jsx(
997
- _c,
1008
+ Rc,
998
1009
  {
999
1010
  width: e,
1000
1011
  height: e,
@@ -1007,7 +1018,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1007
1018
  );
1008
1019
  case "monitorHeart":
1009
1020
  return /* @__PURE__ */ H.jsx(
1010
- Fc,
1021
+ Hc,
1011
1022
  {
1012
1023
  width: e,
1013
1024
  height: e,
@@ -1020,7 +1031,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1020
1031
  );
1021
1032
  case "moreVert":
1022
1033
  return /* @__PURE__ */ H.jsx(
1023
- zc,
1034
+ Bc,
1024
1035
  {
1025
1036
  width: e,
1026
1037
  height: e,
@@ -1033,7 +1044,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1033
1044
  );
1034
1045
  case "nightsStay":
1035
1046
  return /* @__PURE__ */ H.jsx(
1036
- Vc,
1047
+ $c,
1037
1048
  {
1038
1049
  width: e,
1039
1050
  height: e,
@@ -1046,7 +1057,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1046
1057
  );
1047
1058
  case "notificationsOff":
1048
1059
  return /* @__PURE__ */ H.jsx(
1049
- Wc,
1060
+ Uc,
1050
1061
  {
1051
1062
  width: e,
1052
1063
  height: e,
@@ -1059,7 +1070,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1059
1070
  );
1060
1071
  case "openInBrowser":
1061
1072
  return /* @__PURE__ */ H.jsx(
1062
- Yc,
1073
+ Gc,
1063
1074
  {
1064
1075
  width: e,
1065
1076
  height: e,
@@ -1072,7 +1083,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1072
1083
  );
1073
1084
  case "openInNew":
1074
1085
  return /* @__PURE__ */ H.jsx(
1075
- Kc,
1086
+ Zc,
1076
1087
  {
1077
1088
  width: e,
1078
1089
  height: e,
@@ -1085,7 +1096,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1085
1096
  );
1086
1097
  case "place":
1087
1098
  return /* @__PURE__ */ H.jsx(
1088
- Qc,
1099
+ qc,
1089
1100
  {
1090
1101
  width: e,
1091
1102
  height: e,
@@ -1098,7 +1109,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1098
1109
  );
1099
1110
  case "search":
1100
1111
  return /* @__PURE__ */ H.jsx(
1101
- eu,
1112
+ tu,
1102
1113
  {
1103
1114
  width: e,
1104
1115
  height: e,
@@ -1111,7 +1122,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1111
1122
  );
1112
1123
  case "severityLow":
1113
1124
  return /* @__PURE__ */ H.jsx(
1114
- nu,
1125
+ ru,
1115
1126
  {
1116
1127
  width: e,
1117
1128
  height: e,
@@ -1124,7 +1135,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1124
1135
  );
1125
1136
  case "severityMedium":
1126
1137
  return /* @__PURE__ */ H.jsx(
1127
- ou,
1138
+ iu,
1128
1139
  {
1129
1140
  width: e,
1130
1141
  height: e,
@@ -1137,7 +1148,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1137
1148
  );
1138
1149
  case "severityHigh":
1139
1150
  return /* @__PURE__ */ H.jsx(
1140
- au,
1151
+ lu,
1141
1152
  {
1142
1153
  width: e,
1143
1154
  height: e,
@@ -1150,7 +1161,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1150
1161
  );
1151
1162
  case "severityVeryHigh":
1152
1163
  return /* @__PURE__ */ H.jsx(
1153
- su,
1164
+ cu,
1154
1165
  {
1155
1166
  width: e,
1156
1167
  height: e,
@@ -1163,7 +1174,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1163
1174
  );
1164
1175
  case "severityCritical":
1165
1176
  return /* @__PURE__ */ H.jsx(
1166
- uu,
1177
+ du,
1167
1178
  {
1168
1179
  width: e,
1169
1180
  height: e,
@@ -1176,7 +1187,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1176
1187
  );
1177
1188
  case "severityUnknown":
1178
1189
  return /* @__PURE__ */ H.jsx(
1179
- fu,
1190
+ pu,
1180
1191
  {
1181
1192
  width: e,
1182
1193
  height: e,
@@ -1202,7 +1213,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1202
1213
  );
1203
1214
  case "sortShortWideArrowUp":
1204
1215
  return /* @__PURE__ */ H.jsx(
1205
- mu,
1216
+ hu,
1206
1217
  {
1207
1218
  width: e,
1208
1219
  height: e,
@@ -1215,7 +1226,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1215
1226
  );
1216
1227
  case "sortShortWideArrowDown":
1217
1228
  return /* @__PURE__ */ H.jsx(
1218
- gu,
1229
+ vu,
1219
1230
  {
1220
1231
  width: e,
1221
1232
  height: e,
@@ -1228,7 +1239,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1228
1239
  );
1229
1240
  case "sortWideShortArrowUp":
1230
1241
  return /* @__PURE__ */ H.jsx(
1231
- bu,
1242
+ yu,
1232
1243
  {
1233
1244
  width: e,
1234
1245
  height: e,
@@ -1241,7 +1252,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1241
1252
  );
1242
1253
  case "sortWideShortArrowDown":
1243
1254
  return /* @__PURE__ */ H.jsx(
1244
- wu,
1255
+ xu,
1245
1256
  {
1246
1257
  width: e,
1247
1258
  height: e,
@@ -1254,7 +1265,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1254
1265
  );
1255
1266
  case "upload":
1256
1267
  return /* @__PURE__ */ H.jsx(
1257
- Eu,
1268
+ Su,
1258
1269
  {
1259
1270
  width: e,
1260
1271
  height: e,
@@ -1267,7 +1278,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1267
1278
  );
1268
1279
  case "widgets":
1269
1280
  return /* @__PURE__ */ H.jsx(
1270
- Tu,
1281
+ ku,
1271
1282
  {
1272
1283
  width: e,
1273
1284
  height: e,
@@ -1280,7 +1291,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1280
1291
  );
1281
1292
  case "warning":
1282
1293
  return /* @__PURE__ */ H.jsx(
1283
- Cu,
1294
+ Ou,
1284
1295
  {
1285
1296
  width: e,
1286
1297
  height: e,
@@ -1293,7 +1304,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1293
1304
  );
1294
1305
  case "wbSunny":
1295
1306
  return /* @__PURE__ */ H.jsx(
1296
- Mu,
1307
+ Du,
1297
1308
  {
1298
1309
  width: e,
1299
1310
  height: e,
@@ -1332,7 +1343,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1332
1343
  );
1333
1344
  }
1334
1345
  }, jn = K(function({ icon: t, color: n = "", size: e = 24, title: r = "", className: o = "", href: i = "", disabled: a = !1, onClick: l, ...s }, u) {
1335
- const c = Au({
1346
+ const c = Pu({
1336
1347
  icon: t || void 0,
1337
1348
  color: n,
1338
1349
  size: e,
@@ -1347,7 +1358,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1347
1358
  ...s,
1348
1359
  type: "button",
1349
1360
  onClick: v,
1350
- className: `juno-icon-button ${Iu} ${o}`,
1361
+ className: `juno-icon-button ${Au} ${o}`,
1351
1362
  "aria-label": r || t || void 0,
1352
1363
  disabled: a,
1353
1364
  ref: u,
@@ -1359,28 +1370,28 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1359
1370
  ...s,
1360
1371
  "aria-label": r || t || void 0,
1361
1372
  href: i,
1362
- className: `juno-icon-link ${ku} ${o}`,
1373
+ className: `juno-icon-link ${Iu} ${o}`,
1363
1374
  ref: u,
1364
1375
  children: c
1365
1376
  }
1366
1377
  );
1367
1378
  return i ? p : l ? m : /* @__PURE__ */ H.jsx("span", { ref: u, children: c });
1368
- }), Pu = `
1379
+ }), ju = `
1369
1380
  jn:animate-spin
1370
1381
  jn:mr-3
1371
1382
  jn:h-5
1372
1383
  jn:w-5
1373
- `, ju = `
1374
- jn:text-theme-accent
1375
1384
  `, Nu = `
1376
- jn:text-theme-danger
1385
+ jn:text-theme-accent
1377
1386
  `, Lu = `
1378
- jn:text-theme-success
1387
+ jn:text-theme-danger
1379
1388
  `, _u = `
1380
- jn:text-theme-warning
1389
+ jn:text-theme-success
1381
1390
  `, Ru = `
1391
+ jn:text-theme-warning
1392
+ `, Fu = `
1382
1393
  jn:text-theme-on-default
1383
- `, Fu = ({
1394
+ `, Hu = ({
1384
1395
  variant: t = "default",
1385
1396
  size: n,
1386
1397
  className: e = "",
@@ -1390,15 +1401,15 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1390
1401
  const i = () => {
1391
1402
  switch (t) {
1392
1403
  case "primary":
1393
- return ju;
1394
- case "danger":
1395
1404
  return Nu;
1396
- case "success":
1405
+ case "danger":
1397
1406
  return Lu;
1398
- case "warning":
1407
+ case "success":
1399
1408
  return _u;
1400
- default:
1409
+ case "warning":
1401
1410
  return Ru;
1411
+ default:
1412
+ return Fu;
1402
1413
  }
1403
1414
  }, a = (s) => {
1404
1415
  switch (s) {
@@ -1413,7 +1424,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1413
1424
  return /* @__PURE__ */ H.jsxs(
1414
1425
  "svg",
1415
1426
  {
1416
- className: `juno-spinner ${Pu} ${r || i()} ${e}`,
1427
+ className: `juno-spinner ${ju} ${r || i()} ${e}`,
1417
1428
  xmlns: "http://www.w3.org/2000/svg",
1418
1429
  fill: "none",
1419
1430
  viewBox: "0 0 24 24",
@@ -1455,16 +1466,16 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1455
1466
  `, ii = `
1456
1467
  jn:text-base
1457
1468
  jn:leading-6
1458
- `, Hu = `
1469
+ `, zu = `
1459
1470
  jn:py-[0.3125rem]
1460
1471
  jn:px-[0.5rem]
1461
- `, zu = `
1472
+ `, Bu = `
1462
1473
  jn:py-[0.25rem]
1463
1474
  jn:px-[0.4375rem]
1464
- `, Bu = `
1475
+ `, Vu = `
1465
1476
  jn:py-[0.4375rem]
1466
1477
  jn:px-[0.625rem]
1467
- `, Vu = `
1478
+ `, $u = `
1468
1479
  jn:py-[0.375rem]
1469
1480
  jn:px-[0.5625rem]
1470
1481
  `, ai = `
@@ -1474,45 +1485,45 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1474
1485
  jn:hover:text-theme-button-default-hover
1475
1486
  jn:active:bg-theme-button-default-active
1476
1487
  jn:active:text-theme-button-default-active
1477
- `, $u = `
1488
+ `, Wu = `
1478
1489
  jn:bg-theme-button-primary
1479
1490
  jn:text-theme-button-primary
1480
1491
  jn:hover:bg-theme-button-primary-hover
1481
1492
  jn:hover:text-theme-button-primary-hover
1482
1493
  jn:active:bg-theme-button-primary-active
1483
1494
  jn_active:text-theme-button-primary-active
1484
- `, Wu = `
1495
+ `, Uu = `
1485
1496
  jn:bg-theme-button-primary-danger
1486
1497
  jn:text-theme-button-primary-danger
1487
1498
  jn:hover:bg-theme-button-primary-danger-hover
1488
1499
  jn:hover:text-theme-button-primary-danger-hover
1489
1500
  jn:active:bg-theme-button-primary-danger-active
1490
1501
  jn:active:text-theme-button-primary-danger-active
1491
- `, Uu = `
1502
+ `, Yu = `
1492
1503
  jn:bg-theme-button-subdued
1493
1504
  jn:text-theme-button-subdued
1494
1505
  jn:hover:bg-theme-button-subdued-hover
1495
1506
  jn:hover:text-theme-button-subdued-hover
1496
1507
  jn:active:bg-theme-button-subdued-active
1497
1508
  jn:active:text-theme-button-subdued-active
1498
- `, li = (t, n) => t === "small" ? n === "subdued" ? `${zu}` : `${Hu}` : n === "subdued" ? `${Vu}` : `${Bu}`, si = (t) => {
1509
+ `, li = (t, n) => t === "small" ? n === "subdued" ? `${Bu}` : `${zu}` : n === "subdued" ? `${$u}` : `${Vu}`, si = (t) => {
1499
1510
  switch (t) {
1500
1511
  case "default":
1501
1512
  return ai;
1502
1513
  case "primary":
1503
- return $u;
1504
- case "primary-danger":
1505
1514
  return Wu;
1506
- case "subdued":
1515
+ case "primary-danger":
1507
1516
  return Uu;
1517
+ case "subdued":
1518
+ return Yu;
1508
1519
  default:
1509
1520
  return ai;
1510
1521
  }
1511
- }, Yu = `
1522
+ }, Gu = `
1512
1523
  jn:mr-2
1513
- `, Gu = `
1524
+ `, Ku = `
1514
1525
  jn:mr-2
1515
- `, Ku = (t) => t === "small" ? `${Yu}` : `${Gu}`, ci = (t) => t ? "in-progress" : "", Zu = (t) => {
1526
+ `, Zu = (t) => t === "small" ? `${Gu}` : `${Ku}`, ci = (t) => t ? "in-progress" : "", Qu = (t) => {
1516
1527
  switch (t) {
1517
1528
  case "default":
1518
1529
  return "jn:text-theme-accent";
@@ -1523,7 +1534,7 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1523
1534
  default:
1524
1535
  return "";
1525
1536
  }
1526
- }, Qu = V.forwardRef(
1537
+ }, qu = V.forwardRef(
1527
1538
  ({
1528
1539
  label: t,
1529
1540
  title: n,
@@ -1539,12 +1550,12 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1539
1550
  progressLabel: v = "",
1540
1551
  ...m
1541
1552
  }, p) => {
1542
- const g = n || t || "", b = c ? /* @__PURE__ */ H.jsx(Fu, { size: r === "small" ? "1.125rem" : "1.5rem", color: `${Zu(e)}` }) : a ? /* @__PURE__ */ H.jsx(
1553
+ const g = n || t || "", b = c ? /* @__PURE__ */ H.jsx(Hu, { size: r === "small" ? "1.125rem" : "1.5rem", color: `${Qu(e)}` }) : a ? /* @__PURE__ */ H.jsx(
1543
1554
  jn,
1544
1555
  {
1545
1556
  icon: a,
1546
1557
  title: g,
1547
- className: `juno-button-icon ${t || u ? Ku(r) : ""} `,
1558
+ className: `juno-button-icon ${t || u ? Zu(r) : ""} `,
1548
1559
  size: r === "small" ? "1.125rem" : "1.5rem"
1549
1560
  }
1550
1561
  ) : null, x = c && v ? v : t || u, C = (F) => {
@@ -1603,8 +1614,8 @@ const Au = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
1603
1614
  return i ? I : O;
1604
1615
  }
1605
1616
  );
1606
- Qu.displayName = "Button";
1607
- const qu = `
1617
+ qu.displayName = "Button";
1618
+ const Ju = `
1608
1619
  jn:text-theme-high
1609
1620
  jn:text-base
1610
1621
  jn:transform
@@ -1615,10 +1626,10 @@ const qu = `
1615
1626
  jn:z-10
1616
1627
  `, Xu = `
1617
1628
  jn:absolute
1618
- `, Ju = `
1629
+ `, ed = `
1619
1630
  jn:scale-75
1620
1631
  jn:-translate-y-[0.4375rem]
1621
- `, ed = `
1632
+ `, td = `
1622
1633
  jn:inline-block
1623
1634
  jn:w-1
1624
1635
  jn:h-1
@@ -1627,10 +1638,10 @@ const qu = `
1627
1638
  jn:ml-1
1628
1639
  jn:mt-2
1629
1640
  jn:bg-theme-required
1630
- `, td = `
1641
+ `, nd = `
1631
1642
  jn:opacity-50
1632
1643
  jn:cursor-not-allowed
1633
- `, nd = V.forwardRef(
1644
+ `, rd = V.forwardRef(
1634
1645
  ({
1635
1646
  text: t = "",
1636
1647
  htmlFor: n,
@@ -1645,10 +1656,10 @@ const qu = `
1645
1656
  {
1646
1657
  className: `
1647
1658
  juno-label
1648
- ${qu}
1659
+ ${Ju}
1649
1660
  ${i ? "juno-label-floating " + Xu : ""}
1650
- ${a ? "juno-label-minimized " + Ju : ""}
1651
- ${o ? "juno-label-disabled " + td : ""}
1661
+ ${a ? "juno-label-minimized " + ed : ""}
1662
+ ${o ? "juno-label-disabled " + nd : ""}
1652
1663
  ${r}
1653
1664
  `,
1654
1665
  htmlFor: n,
@@ -1661,7 +1672,7 @@ const qu = `
1661
1672
  {
1662
1673
  className: `
1663
1674
  juno-required
1664
- ${ed}
1675
+ ${td}
1665
1676
  `
1666
1677
  }
1667
1678
  ) : ""
@@ -1669,9 +1680,9 @@ const qu = `
1669
1680
  }
1670
1681
  )
1671
1682
  );
1672
- nd.displayName = "Label";
1683
+ rd.displayName = "Label";
1673
1684
  me(void 0);
1674
- const rd = 4, od = 1, id = {
1685
+ const od = 4, id = 1, ad = {
1675
1686
  base00: "var(--color-syntax-highlight-base00)",
1676
1687
  // background
1677
1688
  base01: "var(--color-syntax-highlight-base01)",
@@ -1702,7 +1713,7 @@ const rd = 4, od = 1, id = {
1702
1713
  // collapsed icon, types: "boolean"
1703
1714
  base0F: "var(--color-syntax-highlight-base0F)"
1704
1715
  // copy icon, types: "integer"
1705
- }, ad = (t) => ({
1716
+ }, ld = (t) => ({
1706
1717
  background: t.base00,
1707
1718
  ellipsis: t.base09,
1708
1719
  brace: t.base07,
@@ -1739,13 +1750,13 @@ const rd = 4, od = 1, id = {
1739
1750
  }
1740
1751
  });
1741
1752
  V.createContext({
1742
- colors: ad(id),
1743
- indentWidth: rd,
1744
- expanded: od
1753
+ colors: ld(ad),
1754
+ indentWidth: od,
1755
+ expanded: id
1745
1756
  });
1746
1757
  const ga = typeof document < "u" ? V.useLayoutEffect : () => {
1747
1758
  };
1748
- function ld(t) {
1759
+ function sd(t) {
1749
1760
  const n = ae(null);
1750
1761
  return ga(() => {
1751
1762
  n.current = t;
@@ -1782,23 +1793,23 @@ function dt(t) {
1782
1793
  }
1783
1794
  const lo = dt(function() {
1784
1795
  return ao(/^Mac/i);
1785
- }), sd = dt(function() {
1786
- return ao(/^iPhone/i);
1787
1796
  }), cd = dt(function() {
1797
+ return ao(/^iPhone/i);
1798
+ }), ud = dt(function() {
1788
1799
  return ao(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
1789
1800
  lo() && navigator.maxTouchPoints > 1;
1790
- }), ud = dt(function() {
1791
- return sd() || cd();
1801
+ }), dd = dt(function() {
1802
+ return cd() || ud();
1792
1803
  });
1793
1804
  dt(function() {
1794
- return lo() || ud();
1805
+ return lo() || dd();
1795
1806
  });
1796
1807
  dt(function() {
1797
- return Qn(/AppleWebKit/i) && !dd();
1808
+ return Qn(/AppleWebKit/i) && !fd();
1798
1809
  });
1799
- const dd = dt(function() {
1810
+ const fd = dt(function() {
1800
1811
  return Qn(/Chrome/i);
1801
- }), fd = dt(function() {
1812
+ }), pd = dt(function() {
1802
1813
  return Qn(/Android/i);
1803
1814
  });
1804
1815
  dt(function() {
@@ -1834,15 +1845,15 @@ function ya() {
1834
1845
  removeAllGlobalListeners: r
1835
1846
  };
1836
1847
  }
1837
- function pd(t) {
1838
- return t.mozInputSource === 0 && t.isTrusted ? !0 : fd() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
1848
+ function md(t) {
1849
+ return t.mozInputSource === 0 && t.isTrusted ? !0 : pd() && t.pointerType ? t.type === "click" && t.buttons === 1 : t.detail === 0 && !t.pointerType;
1839
1850
  }
1840
1851
  function wa(t) {
1841
1852
  let n = t;
1842
1853
  return n.nativeEvent = t, n.isDefaultPrevented = () => n.defaultPrevented, n.isPropagationStopped = () => n.cancelBubble, n.persist = () => {
1843
1854
  }, n;
1844
1855
  }
1845
- function md(t, n) {
1856
+ function hd(t, n) {
1846
1857
  Object.defineProperty(t, "target", {
1847
1858
  value: n
1848
1859
  }), Object.defineProperty(t, "currentTarget", {
@@ -1860,7 +1871,7 @@ function xa(t) {
1860
1871
  r.observer && (r.observer.disconnect(), r.observer = null);
1861
1872
  };
1862
1873
  }, []);
1863
- let e = ld((r) => {
1874
+ let e = sd((r) => {
1864
1875
  t?.(r);
1865
1876
  });
1866
1877
  return ce((r) => {
@@ -1898,34 +1909,34 @@ function xa(t) {
1898
1909
  e
1899
1910
  ]);
1900
1911
  }
1901
- let hd = !1, un = null, $r = /* @__PURE__ */ new Set(), Xt = /* @__PURE__ */ new Map(), Dt = !1, Wr = !1;
1902
- const gd = {
1912
+ let gd = !1, un = null, $r = /* @__PURE__ */ new Set(), Jt = /* @__PURE__ */ new Map(), Dt = !1, Wr = !1;
1913
+ const vd = {
1903
1914
  Tab: !0,
1904
1915
  Escape: !0
1905
1916
  };
1906
1917
  function so(t, n) {
1907
1918
  for (let e of $r) e(t, n);
1908
1919
  }
1909
- function vd(t) {
1920
+ function bd(t) {
1910
1921
  return !(t.metaKey || !lo() && t.altKey || t.ctrlKey || t.key === "Control" || t.key === "Shift" || t.key === "Meta");
1911
1922
  }
1912
1923
  function Nn(t) {
1913
- Dt = !0, vd(t) && (un = "keyboard", so("keyboard", t));
1924
+ Dt = !0, bd(t) && (un = "keyboard", so("keyboard", t));
1914
1925
  }
1915
1926
  function Qe(t) {
1916
1927
  un = "pointer", (t.type === "mousedown" || t.type === "pointerdown") && (Dt = !0, so("pointer", t));
1917
1928
  }
1918
1929
  function Ea(t) {
1919
- pd(t) && (Dt = !0, un = "virtual");
1930
+ md(t) && (Dt = !0, un = "virtual");
1920
1931
  }
1921
1932
  function Sa(t) {
1922
- t.target === window || t.target === document || hd || !t.isTrusted || (!Dt && !Wr && (un = "virtual", so("virtual", t)), Dt = !1, Wr = !1);
1933
+ t.target === window || t.target === document || gd || !t.isTrusted || (!Dt && !Wr && (un = "virtual", so("virtual", t)), Dt = !1, Wr = !1);
1923
1934
  }
1924
1935
  function Ca() {
1925
1936
  Dt = !1, Wr = !0;
1926
1937
  }
1927
1938
  function Ur(t) {
1928
- if (typeof window > "u" || Xt.get(Ct(t))) return;
1939
+ if (typeof window > "u" || Jt.get(Ct(t))) return;
1929
1940
  const n = Ct(t), e = vt(t);
1930
1941
  let r = n.HTMLElement.prototype.focus;
1931
1942
  n.HTMLElement.prototype.focus = function() {
@@ -1934,26 +1945,26 @@ function Ur(t) {
1934
1945
  Oa(t);
1935
1946
  }, {
1936
1947
  once: !0
1937
- }), Xt.set(n, {
1948
+ }), Jt.set(n, {
1938
1949
  focus: r
1939
1950
  });
1940
1951
  }
1941
1952
  const Oa = (t, n) => {
1942
1953
  const e = Ct(t), r = vt(t);
1943
- n && r.removeEventListener("DOMContentLoaded", n), Xt.has(e) && (e.HTMLElement.prototype.focus = Xt.get(e).focus, r.removeEventListener("keydown", Nn, !0), r.removeEventListener("keyup", Nn, !0), r.removeEventListener("click", Ea, !0), e.removeEventListener("focus", Sa, !0), e.removeEventListener("blur", Ca, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Qe, !0), r.removeEventListener("pointermove", Qe, !0), r.removeEventListener("pointerup", Qe, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", Qe, !0), r.removeEventListener("mousemove", Qe, !0), r.removeEventListener("mouseup", Qe, !0)), Xt.delete(e));
1954
+ n && r.removeEventListener("DOMContentLoaded", n), Jt.has(e) && (e.HTMLElement.prototype.focus = Jt.get(e).focus, r.removeEventListener("keydown", Nn, !0), r.removeEventListener("keyup", Nn, !0), r.removeEventListener("click", Ea, !0), e.removeEventListener("focus", Sa, !0), e.removeEventListener("blur", Ca, !1), typeof PointerEvent < "u" ? (r.removeEventListener("pointerdown", Qe, !0), r.removeEventListener("pointermove", Qe, !0), r.removeEventListener("pointerup", Qe, !0)) : process.env.NODE_ENV === "test" && (r.removeEventListener("mousedown", Qe, !0), r.removeEventListener("mousemove", Qe, !0), r.removeEventListener("mouseup", Qe, !0)), Jt.delete(e));
1944
1955
  };
1945
- function bd(t) {
1956
+ function yd(t) {
1946
1957
  const n = vt(t);
1947
1958
  let e;
1948
1959
  return n.readyState !== "loading" ? Ur(t) : (e = () => {
1949
1960
  Ur(t);
1950
1961
  }, n.addEventListener("DOMContentLoaded", e)), () => Oa(t, e);
1951
1962
  }
1952
- typeof document < "u" && bd();
1963
+ typeof document < "u" && yd();
1953
1964
  function Ma() {
1954
1965
  return un !== "pointer";
1955
1966
  }
1956
- const yd = /* @__PURE__ */ new Set([
1967
+ const wd = /* @__PURE__ */ new Set([
1957
1968
  "checkbox",
1958
1969
  "radio",
1959
1970
  "range",
@@ -1964,22 +1975,22 @@ const yd = /* @__PURE__ */ new Set([
1964
1975
  "submit",
1965
1976
  "reset"
1966
1977
  ]);
1967
- function wd(t, n, e) {
1978
+ function xd(t, n, e) {
1968
1979
  let r = vt(e?.target);
1969
1980
  const o = typeof window < "u" ? Ct(e?.target).HTMLInputElement : HTMLInputElement, i = typeof window < "u" ? Ct(e?.target).HTMLTextAreaElement : HTMLTextAreaElement, a = typeof window < "u" ? Ct(e?.target).HTMLElement : HTMLElement, l = typeof window < "u" ? Ct(e?.target).KeyboardEvent : KeyboardEvent;
1970
- return t = t || r.activeElement instanceof o && !yd.has(r.activeElement.type) || r.activeElement instanceof i || r.activeElement instanceof a && r.activeElement.isContentEditable, !(t && n === "keyboard" && e instanceof l && !gd[e.key]);
1981
+ return t = t || r.activeElement instanceof o && !wd.has(r.activeElement.type) || r.activeElement instanceof i || r.activeElement instanceof a && r.activeElement.isContentEditable, !(t && n === "keyboard" && e instanceof l && !vd[e.key]);
1971
1982
  }
1972
- function xd(t, n, e) {
1983
+ function Ed(t, n, e) {
1973
1984
  Ur(), we(() => {
1974
1985
  let r = (o, i) => {
1975
- wd(!!e?.isTextInput, o, i) && t(Ma());
1986
+ xd(!!e?.isTextInput, o, i) && t(Ma());
1976
1987
  };
1977
1988
  return $r.add(r), () => {
1978
1989
  $r.delete(r);
1979
1990
  };
1980
1991
  }, n);
1981
1992
  }
1982
- function Ed(t) {
1993
+ function Sd(t) {
1983
1994
  let { isDisabled: n, onFocus: e, onBlur: r, onFocusChange: o } = t;
1984
1995
  const i = ce((s) => {
1985
1996
  if (s.target === s.currentTarget)
@@ -2002,7 +2013,7 @@ function Ed(t) {
2002
2013
  }
2003
2014
  };
2004
2015
  }
2005
- function Sd(t) {
2016
+ function Cd(t) {
2006
2017
  let { isDisabled: n, onBlurWithin: e, onFocusWithin: r, onFocusWithinChange: o } = t, i = ae({
2007
2018
  isFocusWithin: !1
2008
2019
  }), { addGlobalListener: a, removeAllGlobalListeners: l } = ya(), s = ce((v) => {
@@ -2023,7 +2034,7 @@ function Sd(t) {
2023
2034
  let x = new m.defaultView.FocusEvent("blur", {
2024
2035
  relatedTarget: b.target
2025
2036
  });
2026
- md(x, g);
2037
+ hd(x, g);
2027
2038
  let C = wa(x);
2028
2039
  s(C);
2029
2040
  }
@@ -2060,7 +2071,7 @@ function Yr() {
2060
2071
  function ui(t) {
2061
2072
  t.pointerType === "touch" && Yr();
2062
2073
  }
2063
- function Cd() {
2074
+ function Od() {
2064
2075
  if (!(typeof document > "u"))
2065
2076
  return typeof PointerEvent < "u" ? document.addEventListener("pointerup", ui) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", Yr), Cr++, () => {
2066
2077
  Cr--, !(Cr > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", ui) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", Yr));
@@ -2073,7 +2084,7 @@ function qn(t) {
2073
2084
  pointerType: "",
2074
2085
  target: null
2075
2086
  }).current;
2076
- we(Cd, []);
2087
+ we(Od, []);
2077
2088
  let { addGlobalListener: s, removeAllGlobalListeners: u } = ya(), { hoverProps: c, triggerHoverEnd: v } = Ce(() => {
2078
2089
  let m = (b, x) => {
2079
2090
  if (l.pointerType = x, o || x === "touch" || l.isHovered || !b.currentTarget.contains(b.target)) return;
@@ -2130,7 +2141,7 @@ function qn(t) {
2130
2141
  isHovered: i
2131
2142
  };
2132
2143
  }
2133
- function Xn(t = {}) {
2144
+ function Jn(t = {}) {
2134
2145
  let { autoFocus: n = !1, isTextInput: e, within: r } = t, o = ae({
2135
2146
  isFocused: !1,
2136
2147
  isFocusVisible: n || Ma()
@@ -2139,15 +2150,15 @@ function Xn(t = {}) {
2139
2150
  }, [
2140
2151
  u
2141
2152
  ]);
2142
- xd((p) => {
2153
+ Ed((p) => {
2143
2154
  o.current.isFocusVisible = p, u();
2144
2155
  }, [], {
2145
2156
  isTextInput: e
2146
2157
  });
2147
- let { focusProps: v } = Ed({
2158
+ let { focusProps: v } = Sd({
2148
2159
  isDisabled: r,
2149
2160
  onFocusChange: c
2150
- }), { focusWithinProps: m } = Sd({
2161
+ }), { focusWithinProps: m } = Cd({
2151
2162
  isDisabled: !r,
2152
2163
  onFocusWithinChange: c
2153
2164
  });
@@ -2157,8 +2168,8 @@ function Xn(t = {}) {
2157
2168
  focusProps: r ? m : v
2158
2169
  };
2159
2170
  }
2160
- var Od = Object.defineProperty, Md = (t, n, e) => n in t ? Od(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Or = (t, n, e) => (Md(t, typeof n != "symbol" ? n + "" : n, e), e);
2161
- let Dd = class {
2171
+ var Md = Object.defineProperty, Dd = (t, n, e) => n in t ? Md(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Or = (t, n, e) => (Dd(t, typeof n != "symbol" ? n + "" : n, e), e);
2172
+ let Td = class {
2162
2173
  constructor() {
2163
2174
  Or(this, "current", this.detect()), Or(this, "handoffState", "pending"), Or(this, "currentId", 0);
2164
2175
  }
@@ -2186,7 +2197,7 @@ let Dd = class {
2186
2197
  get isHandoffComplete() {
2187
2198
  return this.handoffState === "complete";
2188
2199
  }
2189
- }, Mt = new Dd();
2200
+ }, Mt = new Td();
2190
2201
  function dn(t) {
2191
2202
  var n;
2192
2203
  return Mt.isServer ? null : t == null ? document : (n = t?.ownerDocument) != null ? n : document;
@@ -2199,7 +2210,7 @@ function co(t) {
2199
2210
  var n, e;
2200
2211
  return (e = (n = _n(t)) == null ? void 0 : n.activeElement) != null ? e : null;
2201
2212
  }
2202
- function Jn(t) {
2213
+ function Xn(t) {
2203
2214
  return co(t) === t;
2204
2215
  }
2205
2216
  function Da(t) {
@@ -2260,11 +2271,11 @@ let q = function(t) {
2260
2271
  let n = yt(t);
2261
2272
  return V.useCallback((...e) => n.current(...e), [n]);
2262
2273
  };
2263
- function Td(t) {
2274
+ function kd(t) {
2264
2275
  let n = t.width / 2, e = t.height / 2;
2265
2276
  return { top: t.clientY - e, right: t.clientX + n, bottom: t.clientY + e, left: t.clientX - n };
2266
2277
  }
2267
- function kd(t, n) {
2278
+ function Id(t, n) {
2268
2279
  return !(!t || !n || t.right < n.left || t.left > n.right || t.bottom < n.top || t.top > n.bottom);
2269
2280
  }
2270
2281
  function uo({ disabled: t = !1 } = {}) {
@@ -2277,8 +2288,8 @@ function uo({ disabled: t = !1 } = {}) {
2277
2288
  let s = dn(l.currentTarget);
2278
2289
  o.addEventListener(s, "pointerup", i, !1), o.addEventListener(s, "pointermove", (u) => {
2279
2290
  if (n.current) {
2280
- let c = Td(u);
2281
- r(kd(c, n.current.getBoundingClientRect()));
2291
+ let c = kd(u);
2292
+ r(Id(c, n.current.getBoundingClientRect()));
2282
2293
  }
2283
2294
  }, !1), o.addEventListener(s, "pointercancel", i, !1);
2284
2295
  }
@@ -2289,9 +2300,9 @@ function uo({ disabled: t = !1 } = {}) {
2289
2300
  function Ie(t) {
2290
2301
  return Ce(() => t, Object.values(t));
2291
2302
  }
2292
- let Id = me(void 0);
2303
+ let Ad = me(void 0);
2293
2304
  function er() {
2294
- return ye(Id);
2305
+ return ye(Ad);
2295
2306
  }
2296
2307
  function di(...t) {
2297
2308
  return Array.from(new Set(t.flatMap((n) => typeof n == "string" ? n.split(" ") : []))).filter(Boolean).join(" ");
@@ -2304,13 +2315,13 @@ function Te(t, n, ...e) {
2304
2315
  let r = new Error(`Tried to handle "${t}" but there is no handler defined. Only defined handlers are: ${Object.keys(n).map((o) => `"${o}"`).join(", ")}.`);
2305
2316
  throw Error.captureStackTrace && Error.captureStackTrace(r, Te), r;
2306
2317
  }
2307
- var Tt = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(Tt || {}), Ad = ((t) => (t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(Ad || {});
2318
+ var Tt = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(Tt || {}), Pd = ((t) => (t[t.Unmount = 0] = "Unmount", t[t.Hidden = 1] = "Hidden", t))(Pd || {});
2308
2319
  function Ee() {
2309
- let t = jd();
2310
- return ce((n) => Pd({ mergeRefs: t, ...n }), [t]);
2320
+ let t = Nd();
2321
+ return ce((n) => jd({ mergeRefs: t, ...n }), [t]);
2311
2322
  }
2312
- function Pd({ ourProps: t, theirProps: n, slot: e, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: l }) {
2313
- l = l ?? Nd;
2323
+ function jd({ ourProps: t, theirProps: n, slot: e, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: l }) {
2324
+ l = l ?? Ld;
2314
2325
  let s = Ta(n, t);
2315
2326
  if (i) return En(s, e, r, a, l);
2316
2327
  let u = o ?? 0;
@@ -2340,7 +2351,7 @@ function En(t, n = {}, e, r, o) {
2340
2351
  for (let g of p) v[`data-${g}`] = "";
2341
2352
  }
2342
2353
  }
2343
- if (Tn(i) && (Object.keys(wt(s)).length > 0 || Object.keys(wt(v)).length > 0)) if (!no(c) || Array.isArray(c) && c.length > 1 || _d(c)) {
2354
+ if (Tn(i) && (Object.keys(wt(s)).length > 0 || Object.keys(wt(v)).length > 0)) if (!no(c) || Array.isArray(c) && c.length > 1 || Rd(c)) {
2344
2355
  if (Object.keys(wt(s)).length > 0) throw new Error(['Passing props on "Fragment"!', "", `The current component <${r} /> is rendering a "Fragment".`, "However we need to passthrough the following props:", Object.keys(wt(s)).concat(Object.keys(wt(v))).map((m) => ` - ${m}`).join(`
2345
2356
  `), "", "You can apply a few solutions:", ['Add an `as="..."` prop, to ensure that we render an actual element instead of a "Fragment".', "Render a single element as the child so that we can forward the props onto that element."].map((m) => ` - ${m}`).join(`
2346
2357
  `)].join(`
@@ -2348,11 +2359,11 @@ function En(t, n = {}, e, r, o) {
2348
2359
  } else {
2349
2360
  let m = c.props, p = m?.className, g = typeof p == "function" ? (...C) => di(p(...C), s.className) : di(p, s.className), b = g ? { className: g } : {}, x = Ta(c.props, wt(Mr(s, ["ref"])));
2350
2361
  for (let C in v) C in x && delete v[C];
2351
- return fa(c, Object.assign({}, x, v, u, { ref: o(Ld(c), u.ref) }, b));
2362
+ return fa(c, Object.assign({}, x, v, u, { ref: o(_d(c), u.ref) }, b));
2352
2363
  }
2353
2364
  return ms(i, Object.assign({}, Mr(s, ["ref"]), !Tn(i) && u, !Tn(i) && v), c);
2354
2365
  }
2355
- function jd() {
2366
+ function Nd() {
2356
2367
  let t = ae([]), n = ce((e) => {
2357
2368
  for (let r of t.current) r != null && (typeof r == "function" ? r(e) : r.current = e);
2358
2369
  }, []);
@@ -2360,7 +2371,7 @@ function jd() {
2360
2371
  if (!e.every((r) => r == null)) return t.current = e, n;
2361
2372
  };
2362
2373
  }
2363
- function Nd(...t) {
2374
+ function Ld(...t) {
2364
2375
  return t.every((n) => n == null) ? void 0 : (n) => {
2365
2376
  for (let e of t) e != null && (typeof e == "function" ? e(n) : e.current = n);
2366
2377
  };
@@ -2408,13 +2419,13 @@ function Mr(t, n = []) {
2408
2419
  for (let r of n) r in e && delete e[r];
2409
2420
  return e;
2410
2421
  }
2411
- function Ld(t) {
2422
+ function _d(t) {
2412
2423
  return V.version.split(".")[0] >= "19" ? t.props.ref : t.ref;
2413
2424
  }
2414
2425
  function Tn(t) {
2415
- return t === ut || t === Symbol.for("react.fragment");
2426
+ return t === ut || t === /* @__PURE__ */ Symbol.for("react.fragment");
2416
2427
  }
2417
- function _d(t) {
2428
+ function Rd(t) {
2418
2429
  return Tn(t.type);
2419
2430
  }
2420
2431
  function ka(t, n, e) {
@@ -2434,9 +2445,9 @@ function Pa(t, n) {
2434
2445
  }
2435
2446
  function ja(t, n, e) {
2436
2447
  if (Array.isArray(e)) for (let [r, o] of e.entries()) ja(t, Pa(n, r.toString()), o);
2437
- else e instanceof Date ? t.push([n, e.toISOString()]) : typeof e == "boolean" ? t.push([n, e ? "1" : "0"]) : typeof e == "string" ? t.push([n, e]) : typeof e == "number" ? t.push([n, `${e}`]) : e == null ? t.push([n, ""]) : Fd(e) && !no(e) && Aa(e, n, t);
2448
+ else e instanceof Date ? t.push([n, e.toISOString()]) : typeof e == "boolean" ? t.push([n, e ? "1" : "0"]) : typeof e == "string" ? t.push([n, e]) : typeof e == "number" ? t.push([n, `${e}`]) : e == null ? t.push([n, ""]) : Hd(e) && !no(e) && Aa(e, n, t);
2438
2449
  }
2439
- function Rd(t) {
2450
+ function Fd(t) {
2440
2451
  var n, e;
2441
2452
  let r = (n = t?.form) != null ? n : t.closest("form");
2442
2453
  if (r) {
@@ -2447,21 +2458,21 @@ function Rd(t) {
2447
2458
  (e = r.requestSubmit) == null || e.call(r);
2448
2459
  }
2449
2460
  }
2450
- function Fd(t) {
2461
+ function Hd(t) {
2451
2462
  if (Object.prototype.toString.call(t) !== "[object Object]") return !1;
2452
2463
  let n = Object.getPrototypeOf(t);
2453
2464
  return n === null || Object.getPrototypeOf(n) === null;
2454
2465
  }
2455
- let Hd = "span";
2466
+ let zd = "span";
2456
2467
  var fo = ((t) => (t[t.None = 1] = "None", t[t.Focusable = 2] = "Focusable", t[t.Hidden = 4] = "Hidden", t))(fo || {});
2457
- function zd(t, n) {
2468
+ function Bd(t, n) {
2458
2469
  var e;
2459
2470
  let { features: r = 1, ...o } = t, i = { ref: n, "aria-hidden": (r & 2) === 2 ? !0 : (e = o["aria-hidden"]) != null ? e : void 0, hidden: (r & 4) === 4 ? !0 : void 0, style: { position: "fixed", top: 1, left: 1, width: 1, height: 0, padding: 0, margin: -1, overflow: "hidden", clip: "rect(0, 0, 0, 0)", whiteSpace: "nowrap", borderWidth: "0", ...(r & 4) === 4 && (r & 2) !== 2 && { display: "none" } } };
2460
- return Ee()({ ourProps: i, theirProps: o, slot: {}, defaultTag: Hd, name: "Hidden" });
2471
+ return Ee()({ ourProps: i, theirProps: o, slot: {}, defaultTag: zd, name: "Hidden" });
2461
2472
  }
2462
- let Na = Se(zd), Bd = me(null);
2463
- function Vd({ children: t }) {
2464
- let n = ye(Bd);
2473
+ let Na = Se(Bd), Vd = me(null);
2474
+ function $d({ children: t }) {
2475
+ let n = ye(Vd);
2465
2476
  if (!n) return V.createElement(V.Fragment, null, t);
2466
2477
  let { target: e } = n;
2467
2478
  return e ? oo(V.createElement(V.Fragment, null, t), e) : null;
@@ -2470,9 +2481,9 @@ function La({ data: t, form: n, disabled: e, onReset: r, overrides: o }) {
2470
2481
  let [i, a] = be(null), l = bt();
2471
2482
  return we(() => {
2472
2483
  if (r && i) return l.addEventListener(i, "reset", r);
2473
- }, [i, n, r]), V.createElement(Vd, null, V.createElement($d, { setForm: a, formId: n }), Aa(t).map(([s, u]) => V.createElement(Na, { features: fo.Hidden, ...wt({ key: s, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: n, disabled: e, name: s, value: u, ...o }) })));
2484
+ }, [i, n, r]), V.createElement($d, null, V.createElement(Wd, { setForm: a, formId: n }), Aa(t).map(([s, u]) => V.createElement(Na, { features: fo.Hidden, ...wt({ key: s, as: "input", type: "hidden", hidden: !0, readOnly: !0, form: n, disabled: e, name: s, value: u, ...o }) })));
2474
2485
  }
2475
- function $d({ setForm: t, formId: n }) {
2486
+ function Wd({ setForm: t, formId: n }) {
2476
2487
  return we(() => {
2477
2488
  if (n) {
2478
2489
  let e = document.getElementById(n);
@@ -2484,9 +2495,9 @@ function $d({ setForm: t, formId: n }) {
2484
2495
  r && t(r);
2485
2496
  } });
2486
2497
  }
2487
- let Wd = me(void 0);
2498
+ let Ud = me(void 0);
2488
2499
  function po() {
2489
- return ye(Wd);
2500
+ return ye(Ud);
2490
2501
  }
2491
2502
  function _a(t) {
2492
2503
  return typeof t != "object" || t === null ? !1 : "nodeType" in t;
@@ -2500,10 +2511,10 @@ function et(t) {
2500
2511
  function pt(t) {
2501
2512
  return tr(t) && "tabIndex" in t;
2502
2513
  }
2503
- function Ud(t) {
2514
+ function Yd(t) {
2504
2515
  return tr(t) && "style" in t;
2505
2516
  }
2506
- function Yd(t) {
2517
+ function Gd(t) {
2507
2518
  return et(t) && t.nodeName === "IFRAME";
2508
2519
  }
2509
2520
  function Rn(t) {
@@ -2512,22 +2523,22 @@ function Rn(t) {
2512
2523
  function fi(t) {
2513
2524
  return et(t) && t.nodeName === "LABEL";
2514
2525
  }
2515
- function Gd(t) {
2526
+ function Kd(t) {
2516
2527
  return et(t) && t.nodeName === "FIELDSET";
2517
2528
  }
2518
2529
  function Ra(t) {
2519
2530
  return et(t) && t.nodeName === "LEGEND";
2520
2531
  }
2521
- function Kd(t) {
2532
+ function Zd(t) {
2522
2533
  return tr(t) ? t.matches('a[href],audio[controls],button,details,embed,iframe,img[usemap],input:not([type="hidden"]),label,select,textarea,video[controls]') : !1;
2523
2534
  }
2524
2535
  function pi(t) {
2525
2536
  let n = t.parentElement, e = null;
2526
- for (; n && !Gd(n); ) Ra(n) && (e = n), n = n.parentElement;
2537
+ for (; n && !Kd(n); ) Ra(n) && (e = n), n = n.parentElement;
2527
2538
  let r = n?.getAttribute("disabled") === "";
2528
- return r && Zd(e) ? !1 : r;
2539
+ return r && Qd(e) ? !1 : r;
2529
2540
  }
2530
- function Zd(t) {
2541
+ function Qd(t) {
2531
2542
  if (!t) return !1;
2532
2543
  let n = t.previousElementSibling;
2533
2544
  for (; n !== null; ) {
@@ -2536,8 +2547,8 @@ function Zd(t) {
2536
2547
  }
2537
2548
  return !0;
2538
2549
  }
2539
- let Fa = Symbol();
2540
- function Qd(t, n = !0) {
2550
+ let Fa = /* @__PURE__ */ Symbol();
2551
+ function qd(t, n = !0) {
2541
2552
  return Object.assign(t, { [Fa]: n });
2542
2553
  }
2543
2554
  function ke(...t) {
@@ -2564,7 +2575,7 @@ function za() {
2564
2575
  var t, n;
2565
2576
  return (n = (t = ye(nr)) == null ? void 0 : t.value) != null ? n : void 0;
2566
2577
  }
2567
- function qd() {
2578
+ function Jd() {
2568
2579
  let [t, n] = be([]);
2569
2580
  return [t.length > 0 ? t.join(" ") : void 0, Ce(() => function(e) {
2570
2581
  let r = q((i) => (n((a) => [...a, i]), () => n((a) => {
@@ -2575,14 +2586,14 @@ function qd() {
2575
2586
  }, [n])];
2576
2587
  }
2577
2588
  let Xd = "p";
2578
- function Jd(t, n) {
2589
+ function ef(t, n) {
2579
2590
  let e = Ae(), r = er(), { id: o = `headlessui-description-${e}`, ...i } = t, a = Ha(), l = ke(n);
2580
2591
  ve(() => a.register(o), [o, a.register]);
2581
2592
  let s = Ie({ ...a.slot, disabled: r || !1 }), u = { ref: l, ...a.props, id: o };
2582
2593
  return Ee()({ ourProps: u, theirProps: i, slot: s, defaultTag: Xd, name: a.name || "Description" });
2583
2594
  }
2584
- let ef = Se(Jd);
2585
- Object.assign(ef, {});
2595
+ let tf = Se(ef);
2596
+ Object.assign(tf, {});
2586
2597
  var te = ((t) => (t.Space = " ", t.Enter = "Enter", t.Escape = "Escape", t.Backspace = "Backspace", t.Delete = "Delete", t.ArrowLeft = "ArrowLeft", t.ArrowUp = "ArrowUp", t.ArrowRight = "ArrowRight", t.ArrowDown = "ArrowDown", t.Home = "Home", t.End = "End", t.PageUp = "PageUp", t.PageDown = "PageDown", t.Tab = "Tab", t))(te || {});
2587
2598
  let rr = me(null);
2588
2599
  rr.displayName = "LabelContext";
@@ -2609,14 +2620,14 @@ function or({ inherit: t = !1 } = {}) {
2609
2620
  return V.createElement(rr.Provider, { value: l }, i.children);
2610
2621
  }, [r])];
2611
2622
  }
2612
- let tf = "label";
2613
- function nf(t, n) {
2623
+ let nf = "label";
2624
+ function rf(t, n) {
2614
2625
  var e;
2615
2626
  let r = Ae(), o = mo(), i = po(), a = er(), { id: l = `headlessui-label-${r}`, htmlFor: s = i ?? ((e = o.props) == null ? void 0 : e.htmlFor), passive: u = !1, ...c } = t, v = ke(n);
2616
2627
  ve(() => o.register(l), [l, o.register]);
2617
2628
  let m = q((b) => {
2618
2629
  let x = b.currentTarget;
2619
- if (!(b.target !== b.currentTarget && Kd(b.target)) && (fi(x) && b.preventDefault(), o.props && "onClick" in o.props && typeof o.props.onClick == "function" && o.props.onClick(b), fi(x))) {
2630
+ if (!(b.target !== b.currentTarget && Zd(b.target)) && (fi(x) && b.preventDefault(), o.props && "onClick" in o.props && typeof o.props.onClick == "function" && o.props.onClick(b), fi(x))) {
2620
2631
  let C = document.getElementById(x.htmlFor);
2621
2632
  if (C) {
2622
2633
  let O = C.getAttribute("disabled");
@@ -2627,9 +2638,9 @@ function nf(t, n) {
2627
2638
  }
2628
2639
  }
2629
2640
  }), p = Ie({ ...o.slot, disabled: a || !1 }), g = { ref: v, ...o.props, id: l, htmlFor: s, onClick: m };
2630
- return u && ("onClick" in g && (delete g.htmlFor, delete g.onClick), "onClick" in c && delete c.onClick), Ee()({ ourProps: g, theirProps: c, slot: p, defaultTag: s ? tf : "div", name: o.name || "Label" });
2641
+ return u && ("onClick" in g && (delete g.htmlFor, delete g.onClick), "onClick" in c && delete c.onClick), Ee()({ ourProps: g, theirProps: c, slot: p, defaultTag: s ? nf : "div", name: o.name || "Label" });
2631
2642
  }
2632
- let rf = Se(nf), Ba = Object.assign(rf, {});
2643
+ let of = Se(rf), Ba = Object.assign(of, {});
2633
2644
  function _t(t, n, e) {
2634
2645
  let r = e.initialDeps ?? [], o;
2635
2646
  function i() {
@@ -2670,7 +2681,7 @@ function mi(t, n) {
2670
2681
  throw new Error("Unexpected undefined");
2671
2682
  return t;
2672
2683
  }
2673
- const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2684
+ const af = (t, n) => Math.abs(t - n) < 1.01, lf = (t, n, e) => {
2674
2685
  let r;
2675
2686
  return function(...o) {
2676
2687
  t.clearTimeout(r), r = t.setTimeout(() => n.apply(this, o), e);
@@ -2678,12 +2689,12 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2678
2689
  }, hi = (t) => {
2679
2690
  const { offsetWidth: n, offsetHeight: e } = t;
2680
2691
  return { width: n, height: e };
2681
- }, lf = (t) => t, sf = (t) => {
2692
+ }, sf = (t) => t, cf = (t) => {
2682
2693
  const n = Math.max(t.startIndex - t.overscan, 0), e = Math.min(t.endIndex + t.overscan, t.count - 1), r = [];
2683
2694
  for (let o = n; o <= e; o++)
2684
2695
  r.push(o);
2685
2696
  return r;
2686
- }, cf = (t, n) => {
2697
+ }, uf = (t, n) => {
2687
2698
  const e = t.scrollElement;
2688
2699
  if (!e)
2689
2700
  return;
@@ -2716,7 +2727,7 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2716
2727
  };
2717
2728
  }, gi = {
2718
2729
  passive: !0
2719
- }, vi = typeof window > "u" ? !0 : "onscrollend" in window, uf = (t, n) => {
2730
+ }, vi = typeof window > "u" ? !0 : "onscrollend" in window, df = (t, n) => {
2720
2731
  const e = t.scrollElement;
2721
2732
  if (!e)
2722
2733
  return;
@@ -2725,7 +2736,7 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2725
2736
  return;
2726
2737
  let o = 0;
2727
2738
  const i = t.options.useScrollendEvent && vi ? () => {
2728
- } : af(
2739
+ } : lf(
2729
2740
  r,
2730
2741
  () => {
2731
2742
  n(o, !1);
@@ -2740,7 +2751,7 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2740
2751
  return u && e.addEventListener("scrollend", s, gi), () => {
2741
2752
  e.removeEventListener("scroll", l), u && e.removeEventListener("scrollend", s);
2742
2753
  };
2743
- }, df = (t, n, e) => {
2754
+ }, ff = (t, n, e) => {
2744
2755
  if (n?.borderBoxSize) {
2745
2756
  const r = n.borderBoxSize[0];
2746
2757
  if (r)
@@ -2749,7 +2760,7 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2749
2760
  );
2750
2761
  }
2751
2762
  return t[e.options.horizontal ? "offsetWidth" : "offsetHeight"];
2752
- }, ff = (t, {
2763
+ }, pf = (t, {
2753
2764
  adjustments: n = 0,
2754
2765
  behavior: e
2755
2766
  }, r) => {
@@ -2760,7 +2771,7 @@ const of = (t, n) => Math.abs(t - n) < 1.01, af = (t, n, e) => {
2760
2771
  behavior: e
2761
2772
  });
2762
2773
  };
2763
- class pf {
2774
+ class mf {
2764
2775
  constructor(n) {
2765
2776
  this.unsubs = [], this.scrollElement = null, this.targetWindow = null, this.isScrolling = !1, this.measurementsCache = [], this.itemSizeCache = /* @__PURE__ */ new Map(), this.pendingMeasuredCacheIndexes = [], this.scrollRect = null, this.scrollOffset = null, this.scrollDirection = null, this.scrollAdjustments = 0, this.elementsCache = /* @__PURE__ */ new Map(), this.observer = /* @__PURE__ */ (() => {
2766
2777
  let e = null;
@@ -2798,11 +2809,11 @@ class pf {
2798
2809
  scrollPaddingStart: 0,
2799
2810
  scrollPaddingEnd: 0,
2800
2811
  horizontal: !1,
2801
- getItemKey: lf,
2802
- rangeExtractor: sf,
2812
+ getItemKey: sf,
2813
+ rangeExtractor: cf,
2803
2814
  onChange: () => {
2804
2815
  },
2805
- measureElement: df,
2816
+ measureElement: ff,
2806
2817
  initialRect: { width: 0, height: 0 },
2807
2818
  scrollMargin: 0,
2808
2819
  gap: 0,
@@ -2930,7 +2941,7 @@ class pf {
2930
2941
  this.getScrollOffset(),
2931
2942
  this.options.lanes
2932
2943
  ],
2933
- (e, r, o, i) => this.range = e.length > 0 && r > 0 ? mf({
2944
+ (e, r, o, i) => this.range = e.length > 0 && r > 0 ? hf({
2934
2945
  measurements: e,
2935
2946
  outerSize: r,
2936
2947
  scrollOffset: o,
@@ -3064,7 +3075,7 @@ class pf {
3064
3075
  console.warn("Failed to get offset for index:", e);
3065
3076
  return;
3066
3077
  }
3067
- of(g[0], p) || s(m);
3078
+ af(g[0], p) || s(m);
3068
3079
  });
3069
3080
  }, s = (u) => {
3070
3081
  this.targetWindow && (i++, i < a ? (process.env.NODE_ENV !== "production" && this.options.debug && console.info("Schedule retry", i, a), this.targetWindow.requestAnimationFrame(() => l(u))) : console.warn(
@@ -3122,7 +3133,7 @@ const Va = (t, n, e, r) => {
3122
3133
  }
3123
3134
  return t > 0 ? t - 1 : 0;
3124
3135
  };
3125
- function mf({
3136
+ function hf({
3126
3137
  measurements: t,
3127
3138
  outerSize: n,
3128
3139
  scrollOffset: e,
@@ -3159,7 +3170,7 @@ function mf({
3159
3170
  return { startIndex: a, endIndex: l };
3160
3171
  }
3161
3172
  const bi = typeof document < "u" ? d.useLayoutEffect : d.useEffect;
3162
- function hf(t) {
3173
+ function gf(t) {
3163
3174
  const n = d.useReducer(() => ({}), {})[1], e = {
3164
3175
  ...t,
3165
3176
  onChange: (o, i) => {
@@ -3167,22 +3178,22 @@ function hf(t) {
3167
3178
  i ? ze(n) : n(), (a = t.onChange) == null || a.call(t, o, i);
3168
3179
  }
3169
3180
  }, [r] = d.useState(
3170
- () => new pf(e)
3181
+ () => new mf(e)
3171
3182
  );
3172
3183
  return r.setOptions(e), bi(() => r._didMount(), []), bi(() => r._willUpdate()), r;
3173
3184
  }
3174
- function gf(t) {
3175
- return hf({
3176
- observeElementRect: cf,
3177
- observeElementOffset: uf,
3178
- scrollToFn: ff,
3185
+ function vf(t) {
3186
+ return gf({
3187
+ observeElementRect: uf,
3188
+ observeElementOffset: df,
3189
+ scrollToFn: pf,
3179
3190
  ...t
3180
3191
  });
3181
3192
  }
3182
- function vf(t, n) {
3193
+ function bf(t, n) {
3183
3194
  return t !== null && n !== null && typeof t == "object" && typeof n == "object" && "id" in t && "id" in n ? t.id === n.id : t === n;
3184
3195
  }
3185
- function $a(t = vf) {
3196
+ function $a(t = bf) {
3186
3197
  return ce((n, e) => {
3187
3198
  if (typeof t == "string") {
3188
3199
  let r = t;
@@ -3229,7 +3240,7 @@ let Wa = class extends Map {
3229
3240
  return n === void 0 && (n = this.factory(t), this.set(t, n)), n;
3230
3241
  }
3231
3242
  };
3232
- var bf = Object.defineProperty, yf = (t, n, e) => n in t ? bf(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, wf = (t, n, e) => (yf(t, n + "", e), e), Ua = (t, n, e) => {
3243
+ var yf = Object.defineProperty, wf = (t, n, e) => n in t ? yf(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, xf = (t, n, e) => (wf(t, n + "", e), e), Ua = (t, n, e) => {
3233
3244
  if (!n.has(t)) throw TypeError("Cannot " + e);
3234
3245
  }, Ke = (t, n, e) => (Ua(t, n, "read from private field"), e ? e.call(t) : n.get(t)), Dr = (t, n, e) => {
3235
3246
  if (n.has(t)) throw TypeError("Cannot add the same private member more than once");
@@ -3237,7 +3248,7 @@ var bf = Object.defineProperty, yf = (t, n, e) => n in t ? bf(t, n, { enumerable
3237
3248
  }, wi = (t, n, e, r) => (Ua(t, n, "write to private field"), n.set(t, e), e), nt, Qt, qt;
3238
3249
  let ir = class {
3239
3250
  constructor(t) {
3240
- Dr(this, nt, {}), Dr(this, Qt, new Wa(() => /* @__PURE__ */ new Set())), Dr(this, qt, /* @__PURE__ */ new Set()), wf(this, "disposables", Re()), wi(this, nt, t), Mt.isServer && this.disposables.microTask(() => {
3251
+ Dr(this, nt, {}), Dr(this, Qt, new Wa(() => /* @__PURE__ */ new Set())), Dr(this, qt, /* @__PURE__ */ new Set()), xf(this, "disposables", Re()), wi(this, nt, t), Mt.isServer && this.disposables.microTask(() => {
3241
3252
  this.dispose();
3242
3253
  });
3243
3254
  }
@@ -3289,14 +3300,14 @@ function xi(t) {
3289
3300
  let n = Object.getPrototypeOf(t);
3290
3301
  return n === null || Object.getPrototypeOf(n) === null;
3291
3302
  }
3292
- function Jt(t) {
3303
+ function Xt(t) {
3293
3304
  let [n, e] = t(), r = Re();
3294
3305
  return (...o) => {
3295
3306
  n(...o), r.dispose(), r.microTask(e);
3296
3307
  };
3297
3308
  }
3298
- var xf = Object.defineProperty, Ef = (t, n, e) => n in t ? xf(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Ei = (t, n, e) => (Ef(t, typeof n != "symbol" ? n + "" : n, e), e), ar = ((t) => (t[t.Push = 0] = "Push", t[t.Pop = 1] = "Pop", t))(ar || {});
3299
- let Sf = { 0(t, n) {
3309
+ var Ef = Object.defineProperty, Sf = (t, n, e) => n in t ? Ef(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Ei = (t, n, e) => (Sf(t, typeof n != "symbol" ? n + "" : n, e), e), ar = ((t) => (t[t.Push = 0] = "Push", t[t.Pop = 1] = "Pop", t))(ar || {});
3310
+ let Cf = { 0(t, n) {
3300
3311
  let e = n.id, r = t.stack, o = t.stack.indexOf(e);
3301
3312
  if (o !== -1) {
3302
3313
  let i = t.stack.slice();
@@ -3308,7 +3319,7 @@ let Sf = { 0(t, n) {
3308
3319
  if (r === -1) return t;
3309
3320
  let o = t.stack.slice();
3310
3321
  return o.splice(r, 1), { ...t, stack: o };
3311
- } }, Cf = class Ga extends ir {
3322
+ } }, Of = class Ga extends ir {
3312
3323
  constructor() {
3313
3324
  super(...arguments), Ei(this, "actions", { push: (n) => this.send({ type: 0, id: n }), pop: (n) => this.send({ type: 1, id: n }) }), Ei(this, "selectors", { isTop: (n, e) => n.stack[n.stack.length - 1] === e, inStack: (n, e) => n.stack.includes(e) });
3314
3325
  }
@@ -3316,12 +3327,12 @@ let Sf = { 0(t, n) {
3316
3327
  return new Ga({ stack: [] });
3317
3328
  }
3318
3329
  reduce(n, e) {
3319
- return Te(e.type, Sf, n, e);
3330
+ return Te(e.type, Cf, n, e);
3320
3331
  }
3321
3332
  };
3322
- const Nt = new Wa(() => Cf.new());
3333
+ const Nt = new Wa(() => Of.new());
3323
3334
  var kr = { exports: {} }, Ir = {}, Si;
3324
- function Of() {
3335
+ function Mf() {
3325
3336
  if (Si) return Ir;
3326
3337
  Si = 1;
3327
3338
  var t = V;
@@ -3372,7 +3383,7 @@ function Of() {
3372
3383
  }, Ir;
3373
3384
  }
3374
3385
  var Ci = {}, Oi;
3375
- function Mf() {
3386
+ function Df() {
3376
3387
  return Oi || (Oi = 1, process.env.NODE_ENV !== "production" && (function() {
3377
3388
  function t(s, u) {
3378
3389
  return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
@@ -3424,14 +3435,14 @@ function Mf() {
3424
3435
  })()), Ci;
3425
3436
  }
3426
3437
  var Mi;
3427
- function Df() {
3428
- return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? kr.exports = Of() : kr.exports = Mf()), kr.exports;
3438
+ function Tf() {
3439
+ return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? kr.exports = Mf() : kr.exports = Df()), kr.exports;
3429
3440
  }
3430
- var Tf = Df();
3441
+ var kf = Tf();
3431
3442
  function se(t, n, e = Ya) {
3432
- return Tf.useSyncExternalStoreWithSelector(q((r) => t.subscribe(kf, r)), q(() => t.state), q(() => t.state), q(n), e);
3443
+ return kf.useSyncExternalStoreWithSelector(q((r) => t.subscribe(If, r)), q(() => t.state), q(() => t.state), q(n), e);
3433
3444
  }
3434
- function kf(t) {
3445
+ function If(t) {
3435
3446
  return t;
3436
3447
  }
3437
3448
  function Ka(t, n) {
@@ -3495,13 +3506,13 @@ function bo(t, n, e) {
3495
3506
  return () => i.dispose();
3496
3507
  }, [n, r, t]);
3497
3508
  }
3498
- let Hn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(","), If = ["[data-autofocus]"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
3499
- var rn = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t[t.AutoFocus = 64] = "AutoFocus", t))(rn || {}), Af = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Af || {}), Pf = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(Pf || {});
3509
+ let Hn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "details>summary", "textarea:not([disabled])"].map((t) => `${t}:not([tabindex='-1'])`).join(","), Af = ["[data-autofocus]"].map((t) => `${t}:not([tabindex='-1'])`).join(",");
3510
+ var rn = ((t) => (t[t.First = 1] = "First", t[t.Previous = 2] = "Previous", t[t.Next = 4] = "Next", t[t.Last = 8] = "Last", t[t.WrapAround = 16] = "WrapAround", t[t.NoScroll = 32] = "NoScroll", t[t.AutoFocus = 64] = "AutoFocus", t))(rn || {}), Pf = ((t) => (t[t.Error = 0] = "Error", t[t.Overflow = 1] = "Overflow", t[t.Success = 2] = "Success", t[t.Underflow = 3] = "Underflow", t))(Pf || {}), jf = ((t) => (t[t.Previous = -1] = "Previous", t[t.Next = 1] = "Next", t))(jf || {});
3500
3511
  function Za(t = document.body) {
3501
3512
  return t == null ? [] : Array.from(t.querySelectorAll(Hn)).sort((n, e) => Math.sign((n.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
3502
3513
  }
3503
- function jf(t = document.body) {
3504
- return t == null ? [] : Array.from(t.querySelectorAll(If)).sort((n, e) => Math.sign((n.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
3514
+ function Nf(t = document.body) {
3515
+ return t == null ? [] : Array.from(t.querySelectorAll(Af)).sort((n, e) => Math.sign((n.tabIndex || Number.MAX_SAFE_INTEGER) - (e.tabIndex || Number.MAX_SAFE_INTEGER)));
3505
3516
  }
3506
3517
  var lr = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(lr || {});
3507
3518
  function sr(t, n = 0) {
@@ -3520,22 +3531,22 @@ function sr(t, n = 0) {
3520
3531
  function Qa(t) {
3521
3532
  Re().nextFrame(() => {
3522
3533
  let n = co(t);
3523
- n && pt(n) && !sr(n, 0) && Lf(t);
3534
+ n && pt(n) && !sr(n, 0) && _f(t);
3524
3535
  });
3525
3536
  }
3526
- var Nf = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(Nf || {});
3537
+ var Lf = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(Lf || {});
3527
3538
  typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (t) => {
3528
3539
  t.metaKey || t.altKey || t.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
3529
3540
  }, !0), document.addEventListener("click", (t) => {
3530
3541
  t.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : t.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
3531
3542
  }, !0));
3532
- function Lf(t) {
3543
+ function _f(t) {
3533
3544
  t?.focus({ preventScroll: !0 });
3534
3545
  }
3535
- let _f = ["textarea", "input"].join(",");
3536
- function Rf(t) {
3546
+ let Rf = ["textarea", "input"].join(",");
3547
+ function Ff(t) {
3537
3548
  var n, e;
3538
- return (e = (n = t?.matches) == null ? void 0 : n.call(t, _f)) != null ? e : !1;
3549
+ return (e = (n = t?.matches) == null ? void 0 : n.call(t, Rf)) != null ? e : !1;
3539
3550
  }
3540
3551
  function cr(t, n = (e) => e) {
3541
3552
  return t.slice().sort((e, r) => {
@@ -3546,10 +3557,10 @@ function cr(t, n = (e) => e) {
3546
3557
  });
3547
3558
  }
3548
3559
  function qa(t, n, e = t === null ? document.body : _n(t)) {
3549
- return Ff(Za(e), n, { relativeTo: t });
3560
+ return Hf(Za(e), n, { relativeTo: t });
3550
3561
  }
3551
- function Ff(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
3552
- let i = Array.isArray(t) ? t.length > 0 ? _n(t[0]) : document : _n(t), a = Array.isArray(t) ? e ? cr(t) : t : n & 64 ? jf(t) : Za(t);
3562
+ function Hf(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: o = [] } = {}) {
3563
+ let i = Array.isArray(t) ? t.length > 0 ? _n(t[0]) : document : _n(t), a = Array.isArray(t) ? e ? cr(t) : t : n & 64 ? Nf(t) : Za(t);
3553
3564
  o.length > 0 && a.length > 1 && (a = a.filter((p) => !o.some((g) => g != null && "current" in g ? g?.current === p : g === p))), r = r ?? i?.activeElement;
3554
3565
  let l = (() => {
3555
3566
  if (n & 5) return 1;
@@ -3572,16 +3583,16 @@ function Ff(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: o = [] }
3572
3583
  }
3573
3584
  m = a[p], m?.focus(u), c += l;
3574
3585
  } while (m !== co(m));
3575
- return n & 6 && Rf(m) && m.select(), 2;
3586
+ return n & 6 && Ff(m) && m.select(), 2;
3576
3587
  }
3577
- function Xa() {
3588
+ function Ja() {
3578
3589
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
3579
3590
  }
3580
- function Hf() {
3591
+ function zf() {
3581
3592
  return /Android/gi.test(window.navigator.userAgent);
3582
3593
  }
3583
3594
  function Kr() {
3584
- return Xa() || Hf();
3595
+ return Ja() || zf();
3585
3596
  }
3586
3597
  function Rt(t, n, e, r) {
3587
3598
  let o = yt(e);
@@ -3593,7 +3604,7 @@ function Rt(t, n, e, r) {
3593
3604
  return document.addEventListener(n, i, r), () => document.removeEventListener(n, i, r);
3594
3605
  }, [t, n, r]);
3595
3606
  }
3596
- function zf(t, n, e, r) {
3607
+ function Bf(t, n, e, r) {
3597
3608
  let o = yt(e);
3598
3609
  we(() => {
3599
3610
  if (!t) return;
@@ -3629,13 +3640,13 @@ function yo(t, n, e) {
3629
3640
  }, !0), Rt(t, "touchend", (l) => {
3630
3641
  let s = { x: l.changedTouches[0].clientX, y: l.changedTouches[0].clientY };
3631
3642
  if (!(Math.abs(s.x - a.current.x) >= ki || Math.abs(s.y - a.current.y) >= ki)) return o(l, () => pt(l.target) ? l.target : null);
3632
- }, !0), zf(t, "blur", (l) => o(l, () => Yd(window.document.activeElement) ? window.document.activeElement : null), !0);
3643
+ }, !0), Bf(t, "blur", (l) => o(l, () => Gd(window.document.activeElement) ? window.document.activeElement : null), !0);
3633
3644
  }
3634
3645
  function kt(...t) {
3635
3646
  return Ce(() => dn(...t), [...t]);
3636
3647
  }
3637
- var Bf = ((t) => (t[t.Ignore = 0] = "Ignore", t[t.Select = 1] = "Select", t[t.Close = 2] = "Close", t))(Bf || {});
3638
- const Xe = { Ignore: { kind: 0 }, Select: (t) => ({ kind: 1, target: t }), Close: { kind: 2 } }, Vf = 200, Ii = 5;
3648
+ var Vf = ((t) => (t[t.Ignore = 0] = "Ignore", t[t.Select = 1] = "Select", t[t.Close = 2] = "Close", t))(Vf || {});
3649
+ const Je = { Ignore: { kind: 0 }, Select: (t) => ({ kind: 1, target: t }), Close: { kind: 2 } }, $f = 200, Ii = 5;
3639
3650
  function wo(t, { trigger: n, action: e, close: r, select: o }) {
3640
3651
  let i = ae(null), a = ae(null), l = ae(null);
3641
3652
  Rt(t && n !== null, "pointerdown", (s) => {
@@ -3649,7 +3660,7 @@ function wo(t, { trigger: n, action: e, close: r, select: o }) {
3649
3660
  case 0:
3650
3661
  return;
3651
3662
  case 1: {
3652
- s.timeStamp - v > Vf && (o(m.target), r());
3663
+ s.timeStamp - v > $f && (o(m.target), r());
3653
3664
  break;
3654
3665
  }
3655
3666
  case 2: {
@@ -3659,7 +3670,7 @@ function wo(t, { trigger: n, action: e, close: r, select: o }) {
3659
3670
  }
3660
3671
  }, { capture: !0 });
3661
3672
  }
3662
- function $f(t, n, e, r) {
3673
+ function Wf(t, n, e, r) {
3663
3674
  let o = yt(e);
3664
3675
  we(() => {
3665
3676
  t = t ?? window;
@@ -3669,13 +3680,13 @@ function $f(t, n, e, r) {
3669
3680
  return t.addEventListener(n, i, r), () => t.removeEventListener(n, i, r);
3670
3681
  }, [t, n, r]);
3671
3682
  }
3672
- function Ja(t) {
3683
+ function Xa(t) {
3673
3684
  let n = ae({ value: "", selectionStart: null, selectionEnd: null });
3674
- return $f(t, "blur", (e) => {
3685
+ return Wf(t, "blur", (e) => {
3675
3686
  let r = e.target;
3676
3687
  Rn(r) && (n.current = { value: r.value, selectionStart: r.selectionStart, selectionEnd: r.selectionEnd });
3677
3688
  }), q(() => {
3678
- if (!Jn(t) && Rn(t) && t.isConnected) {
3689
+ if (!Xn(t) && Rn(t) && t.isConnected) {
3679
3690
  if (t.focus({ preventScroll: !0 }), t.value !== n.current.value) t.setSelectionRange(t.value.length, t.value.length);
3680
3691
  else {
3681
3692
  let { selectionStart: e, selectionEnd: r } = n.current;
@@ -3693,10 +3704,10 @@ function xo(t, n) {
3693
3704
  if (typeof r == "string" && r.toLowerCase() === "button" || n?.tagName === "BUTTON" && !n.hasAttribute("type")) return "button";
3694
3705
  }, [t.type, t.as, n]);
3695
3706
  }
3696
- function Wf(t) {
3707
+ function Uf(t) {
3697
3708
  return hs(t.subscribe, t.getSnapshot, t.getSnapshot);
3698
3709
  }
3699
- function Uf(t, n) {
3710
+ function Yf(t, n) {
3700
3711
  let e = t(), r = /* @__PURE__ */ new Set();
3701
3712
  return { getSnapshot() {
3702
3713
  return e;
@@ -3707,7 +3718,7 @@ function Uf(t, n) {
3707
3718
  a && (e = a, r.forEach((l) => l()));
3708
3719
  } };
3709
3720
  }
3710
- function Yf() {
3721
+ function Gf() {
3711
3722
  let t;
3712
3723
  return { before({ doc: n }) {
3713
3724
  var e;
@@ -3718,8 +3729,8 @@ function Yf() {
3718
3729
  e.style(r, "paddingRight", `${i}px`);
3719
3730
  } };
3720
3731
  }
3721
- function Gf() {
3722
- return Xa() ? { before({ doc: t, d: n, meta: e }) {
3732
+ function Kf() {
3733
+ return Ja() ? { before({ doc: t, d: n, meta: e }) {
3723
3734
  function r(o) {
3724
3735
  for (let i of e().containers) for (let a of i()) if (a.contains(o)) return !0;
3725
3736
  return !1;
@@ -3741,7 +3752,7 @@ function Gf() {
3741
3752
  }
3742
3753
  }, !0), n.group((l) => {
3743
3754
  n.addEventListener(t, "touchstart", (s) => {
3744
- if (l.dispose(), pt(s.target) && Ud(s.target)) if (r(s.target)) {
3755
+ if (l.dispose(), pt(s.target) && Yd(s.target)) if (r(s.target)) {
3745
3756
  let u = s.target;
3746
3757
  for (; u.parentElement && r(u.parentElement); ) u = u.parentElement;
3747
3758
  l.style(u, "overscrollBehavior", "contain");
@@ -3764,7 +3775,7 @@ function Gf() {
3764
3775
  });
3765
3776
  } } : {};
3766
3777
  }
3767
- function Kf() {
3778
+ function Zf() {
3768
3779
  return { before({ doc: t, d: n }) {
3769
3780
  n.style(t.documentElement, "overflow", "hidden");
3770
3781
  } };
@@ -3774,7 +3785,7 @@ function Ai(t) {
3774
3785
  for (let e of t) Object.assign(n, e(n));
3775
3786
  return n;
3776
3787
  }
3777
- let Ot = Uf(() => /* @__PURE__ */ new Map(), { PUSH(t, n) {
3788
+ let Ot = Yf(() => /* @__PURE__ */ new Map(), { PUSH(t, n) {
3778
3789
  var e;
3779
3790
  let r = (e = this.get(t)) != null ? e : { doc: t, count: 0, d: Re(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
3780
3791
  return r.count++, r.meta.add(n), r.computedMeta = Ai(r.meta), this.set(t, r), this;
@@ -3784,7 +3795,7 @@ let Ot = Uf(() => /* @__PURE__ */ new Map(), { PUSH(t, n) {
3784
3795
  }, SCROLL_PREVENT(t) {
3785
3796
  let n = { doc: t.doc, d: t.d, meta() {
3786
3797
  return t.computedMeta;
3787
- } }, e = [Gf(), Yf(), Kf()];
3798
+ } }, e = [Kf(), Gf(), Zf()];
3788
3799
  e.forEach(({ before: r }) => r?.(n)), e.forEach(({ after: r }) => r?.(n));
3789
3800
  }, SCROLL_ALLOW({ d: t }) {
3790
3801
  t.dispose();
@@ -3799,15 +3810,15 @@ Ot.subscribe(() => {
3799
3810
  (o && !r || !o && r) && Ot.dispatch(e.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", e), e.count === 0 && Ot.dispatch("TEARDOWN", e);
3800
3811
  }
3801
3812
  });
3802
- function Zf(t, n, e = () => ({ containers: [] })) {
3803
- let r = Wf(Ot), o = n ? r.get(n) : void 0, i = o ? o.count > 0 : !1;
3813
+ function Qf(t, n, e = () => ({ containers: [] })) {
3814
+ let r = Uf(Ot), o = n ? r.get(n) : void 0, i = o ? o.count > 0 : !1;
3804
3815
  return ve(() => {
3805
3816
  if (!(!n || !t)) return Ot.dispatch("PUSH", n, e), () => Ot.dispatch("POP", n, e);
3806
3817
  }, [t, n]), i;
3807
3818
  }
3808
3819
  function Eo(t, n, e = () => [document.body]) {
3809
3820
  let r = Ka(t, "scroll-lock");
3810
- Zf(r, n, (o) => {
3821
+ Qf(r, n, (o) => {
3811
3822
  var i;
3812
3823
  return { containers: [...(i = o.containers) != null ? i : [], e] };
3813
3824
  });
@@ -3824,7 +3835,7 @@ function So() {
3824
3835
  t.current = Pi(n);
3825
3836
  } };
3826
3837
  }
3827
- function Qf(t = 0) {
3838
+ function qf(t = 0) {
3828
3839
  let [n, e] = be(t), r = ce((s) => e(s), []), o = ce((s) => e((u) => u | s), []), i = ce((s) => (n & s) === s, [n]), a = ce((s) => e((u) => u & ~s), []), l = ce((s) => e((u) => u ^ s), []);
3829
3840
  return { flags: n, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: l };
3830
3841
  }
@@ -3833,14 +3844,14 @@ typeof process < "u" && typeof globalThis < "u" && typeof Element < "u" && ((ji
3833
3844
  return console.warn(["Headless UI has polyfilled `Element.prototype.getAnimations` for your tests.", "Please install a proper polyfill e.g. `jsdom-testing-mocks`, to silence these warnings.", "", "Example usage:", "```js", "import { mockAnimationsApi } from 'jsdom-testing-mocks'", "mockAnimationsApi()", "```"].join(`
3834
3845
  `)), [];
3835
3846
  });
3836
- var qf = ((t) => (t[t.None = 0] = "None", t[t.Closed = 1] = "Closed", t[t.Enter = 2] = "Enter", t[t.Leave = 4] = "Leave", t))(qf || {});
3847
+ var Jf = ((t) => (t[t.None = 0] = "None", t[t.Closed = 1] = "Closed", t[t.Enter = 2] = "Enter", t[t.Leave = 4] = "Leave", t))(Jf || {});
3837
3848
  function Co(t) {
3838
3849
  let n = {};
3839
3850
  for (let e in t) t[e] === !0 && (n[`data-${e}`] = "");
3840
3851
  return n;
3841
3852
  }
3842
3853
  function Oo(t, n, e, r) {
3843
- let [o, i] = be(e), { hasFlag: a, addFlag: l, removeFlag: s } = Qf(t && o ? 3 : 0), u = ae(!1), c = ae(!1), v = bt();
3854
+ let [o, i] = be(e), { hasFlag: a, addFlag: l, removeFlag: s } = qf(t && o ? 3 : 0), u = ae(!1), c = ae(!1), v = bt();
3844
3855
  return ve(() => {
3845
3856
  var m;
3846
3857
  if (t) {
@@ -3854,20 +3865,20 @@ function Oo(t, n, e, r) {
3854
3865
  c.current ? e ? (s(3), l(4)) : (s(4), l(3)) : e ? s(1) : l(1);
3855
3866
  }, done() {
3856
3867
  var p;
3857
- c.current && tp(n) || (u.current = !1, s(7), e || i(!1), (p = void 0) == null || p.call(r, e));
3868
+ c.current && np(n) || (u.current = !1, s(7), e || i(!1), (p = void 0) == null || p.call(r, e));
3858
3869
  } });
3859
3870
  }
3860
3871
  }, [t, e, n, v]), t ? [o, { closed: a(1), enter: a(2), leave: a(4), transition: a(2) || a(4) }] : [e, { closed: void 0, enter: void 0, leave: void 0, transition: void 0 }];
3861
3872
  }
3862
3873
  function Xf(t, { prepare: n, run: e, done: r, inFlight: o }) {
3863
3874
  let i = Re();
3864
- return ep(t, { prepare: n, inFlight: o }), i.nextFrame(() => {
3875
+ return tp(t, { prepare: n, inFlight: o }), i.nextFrame(() => {
3865
3876
  e(), i.requestAnimationFrame(() => {
3866
- i.add(Jf(t, r));
3877
+ i.add(ep(t, r));
3867
3878
  });
3868
3879
  }), i.dispose;
3869
3880
  }
3870
- function Jf(t, n) {
3881
+ function ep(t, n) {
3871
3882
  var e, r;
3872
3883
  let o = Re();
3873
3884
  if (!t) return o.dispose;
@@ -3880,7 +3891,7 @@ function Jf(t, n) {
3880
3891
  i || n();
3881
3892
  }), o.dispose);
3882
3893
  }
3883
- function ep(t, { inFlight: n, prepare: e }) {
3894
+ function tp(t, { inFlight: n, prepare: e }) {
3884
3895
  if (n != null && n.current) {
3885
3896
  e();
3886
3897
  return;
@@ -3888,7 +3899,7 @@ function ep(t, { inFlight: n, prepare: e }) {
3888
3899
  let r = t.style.transition;
3889
3900
  t.style.transition = "none", e(), t.offsetHeight, t.style.transition = r;
3890
3901
  }
3891
- function tp(t) {
3902
+ function np(t) {
3892
3903
  var n, e;
3893
3904
  return ((e = (n = t.getAnimations) == null ? void 0 : n.call(t)) != null ? e : []).some((r) => r instanceof CSSTransition && r.playState !== "finished");
3894
3905
  }
@@ -3940,23 +3951,23 @@ function at(t) {
3940
3951
  function _i(t) {
3941
3952
  return !ur() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Ye(t).ShadowRoot;
3942
3953
  }
3943
- const np = /* @__PURE__ */ new Set(["inline", "contents"]);
3954
+ const rp = /* @__PURE__ */ new Set(["inline", "contents"]);
3944
3955
  function pn(t) {
3945
3956
  const {
3946
3957
  overflow: n,
3947
3958
  overflowX: e,
3948
3959
  overflowY: r,
3949
3960
  display: o
3950
- } = Je(t);
3951
- return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && !np.has(o);
3961
+ } = Xe(t);
3962
+ return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && !rp.has(o);
3952
3963
  }
3953
- const rp = /* @__PURE__ */ new Set(["table", "td", "th"]);
3954
- function op(t) {
3955
- return rp.has(Vt(t));
3964
+ const op = /* @__PURE__ */ new Set(["table", "td", "th"]);
3965
+ function ip(t) {
3966
+ return op.has(Vt(t));
3956
3967
  }
3957
- const ip = [":popover-open", ":modal"];
3968
+ const ap = [":popover-open", ":modal"];
3958
3969
  function dr(t) {
3959
- return ip.some((n) => {
3970
+ return ap.some((n) => {
3960
3971
  try {
3961
3972
  return t.matches(n);
3962
3973
  } catch {
@@ -3964,12 +3975,12 @@ function dr(t) {
3964
3975
  }
3965
3976
  });
3966
3977
  }
3967
- const ap = ["transform", "translate", "scale", "rotate", "perspective"], lp = ["transform", "translate", "scale", "rotate", "perspective", "filter"], sp = ["paint", "layout", "strict", "content"];
3978
+ const lp = ["transform", "translate", "scale", "rotate", "perspective"], sp = ["transform", "translate", "scale", "rotate", "perspective", "filter"], cp = ["paint", "layout", "strict", "content"];
3968
3979
  function Mo(t) {
3969
- const n = Do(), e = _e(t) ? Je(t) : t;
3970
- return ap.some((r) => e[r] ? e[r] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !n && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !n && (e.filter ? e.filter !== "none" : !1) || lp.some((r) => (e.willChange || "").includes(r)) || sp.some((r) => (e.contain || "").includes(r));
3980
+ const n = Do(), e = _e(t) ? Xe(t) : t;
3981
+ return lp.some((r) => e[r] ? e[r] !== "none" : !1) || (e.containerType ? e.containerType !== "normal" : !1) || !n && (e.backdropFilter ? e.backdropFilter !== "none" : !1) || !n && (e.filter ? e.filter !== "none" : !1) || sp.some((r) => (e.willChange || "").includes(r)) || cp.some((r) => (e.contain || "").includes(r));
3971
3982
  }
3972
- function cp(t) {
3983
+ function up(t) {
3973
3984
  let n = ht(t);
3974
3985
  for (; at(n) && !Bt(n); ) {
3975
3986
  if (Mo(n))
@@ -3983,11 +3994,11 @@ function cp(t) {
3983
3994
  function Do() {
3984
3995
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
3985
3996
  }
3986
- const up = /* @__PURE__ */ new Set(["html", "body", "#document"]);
3997
+ const dp = /* @__PURE__ */ new Set(["html", "body", "#document"]);
3987
3998
  function Bt(t) {
3988
- return up.has(Vt(t));
3999
+ return dp.has(Vt(t));
3989
4000
  }
3990
- function Je(t) {
4001
+ function Xe(t) {
3991
4002
  return Ye(t).getComputedStyle(t);
3992
4003
  }
3993
4004
  function fr(t) {
@@ -4028,7 +4039,7 @@ function on(t, n, e) {
4028
4039
  function Zr(t) {
4029
4040
  return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
4030
4041
  }
4031
- function dp() {
4042
+ function fp() {
4032
4043
  const t = navigator.userAgentData;
4033
4044
  return t && Array.isArray(t.brands) ? t.brands.map((n) => {
4034
4045
  let {
@@ -4041,12 +4052,12 @@ function dp() {
4041
4052
  const It = Math.min, Ne = Math.max, an = Math.round, Sn = Math.floor, ot = (t) => ({
4042
4053
  x: t,
4043
4054
  y: t
4044
- }), fp = {
4055
+ }), pp = {
4045
4056
  left: "right",
4046
4057
  right: "left",
4047
4058
  bottom: "top",
4048
4059
  top: "bottom"
4049
- }, pp = {
4060
+ }, mp = {
4050
4061
  start: "end",
4051
4062
  end: "start"
4052
4063
  };
@@ -4068,48 +4079,48 @@ function rl(t) {
4068
4079
  function ol(t) {
4069
4080
  return t === "y" ? "height" : "width";
4070
4081
  }
4071
- const mp = /* @__PURE__ */ new Set(["top", "bottom"]);
4082
+ const hp = /* @__PURE__ */ new Set(["top", "bottom"]);
4072
4083
  function ct(t) {
4073
- return mp.has(gt(t)) ? "y" : "x";
4084
+ return hp.has(gt(t)) ? "y" : "x";
4074
4085
  }
4075
4086
  function il(t) {
4076
4087
  return rl(ct(t));
4077
4088
  }
4078
- function hp(t, n, e) {
4089
+ function gp(t, n, e) {
4079
4090
  e === void 0 && (e = !1);
4080
4091
  const r = mn(t), o = il(t), i = ol(o);
4081
4092
  let a = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
4082
4093
  return n.reference[i] > n.floating[i] && (a = zn(a)), [a, zn(a)];
4083
4094
  }
4084
- function gp(t) {
4095
+ function vp(t) {
4085
4096
  const n = zn(t);
4086
4097
  return [Qr(t), n, Qr(n)];
4087
4098
  }
4088
4099
  function Qr(t) {
4089
- return t.replace(/start|end/g, (n) => pp[n]);
4100
+ return t.replace(/start|end/g, (n) => mp[n]);
4090
4101
  }
4091
- const Fi = ["left", "right"], Hi = ["right", "left"], vp = ["top", "bottom"], bp = ["bottom", "top"];
4092
- function yp(t, n, e) {
4102
+ const Fi = ["left", "right"], Hi = ["right", "left"], bp = ["top", "bottom"], yp = ["bottom", "top"];
4103
+ function wp(t, n, e) {
4093
4104
  switch (t) {
4094
4105
  case "top":
4095
4106
  case "bottom":
4096
4107
  return e ? n ? Hi : Fi : n ? Fi : Hi;
4097
4108
  case "left":
4098
4109
  case "right":
4099
- return n ? vp : bp;
4110
+ return n ? bp : yp;
4100
4111
  default:
4101
4112
  return [];
4102
4113
  }
4103
4114
  }
4104
- function wp(t, n, e, r) {
4115
+ function xp(t, n, e, r) {
4105
4116
  const o = mn(t);
4106
- let i = yp(gt(t), e === "start", r);
4117
+ let i = wp(gt(t), e === "start", r);
4107
4118
  return o && (i = i.map((a) => a + "-" + o), n && (i = i.concat(i.map(Qr)))), i;
4108
4119
  }
4109
4120
  function zn(t) {
4110
- return t.replace(/left|right|bottom|top/g, (n) => fp[n]);
4121
+ return t.replace(/left|right|bottom|top/g, (n) => pp[n]);
4111
4122
  }
4112
- function xp(t) {
4123
+ function Ep(t) {
4113
4124
  return {
4114
4125
  top: 0,
4115
4126
  right: 0,
@@ -4118,8 +4129,8 @@ function xp(t) {
4118
4129
  ...t
4119
4130
  };
4120
4131
  }
4121
- function Ep(t) {
4122
- return typeof t != "number" ? xp(t) : {
4132
+ function Sp(t) {
4133
+ return typeof t != "number" ? Ep(t) : {
4123
4134
  top: t,
4124
4135
  right: t,
4125
4136
  bottom: t,
@@ -4155,7 +4166,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4155
4166
  e === void 0 && (e = !0);
4156
4167
  var o = n == null || (r = n.getAttribute) === null || r === void 0 ? void 0 : r.call(n, "inert"), i = o === "" || o === "true", a = i || e && n && t(n.parentNode);
4157
4168
  return a;
4158
- }, Sp = function(t) {
4169
+ }, Cp = function(t) {
4159
4170
  var n, e = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
4160
4171
  return e === "" || e === "true";
4161
4172
  }, sl = function(t, n, e) {
@@ -4194,26 +4205,26 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4194
4205
  }, ft = function(t) {
4195
4206
  if (!t)
4196
4207
  throw new Error("No node provided");
4197
- return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Sp(t)) && !ul(t) ? 0 : t.tabIndex;
4198
- }, Cp = function(t, n) {
4208
+ return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Cp(t)) && !ul(t) ? 0 : t.tabIndex;
4209
+ }, Op = function(t, n) {
4199
4210
  var e = ft(t);
4200
4211
  return e < 0 && n && !ul(t) ? 0 : e;
4201
- }, Op = function(t, n) {
4212
+ }, Mp = function(t, n) {
4202
4213
  return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
4203
4214
  }, dl = function(t) {
4204
4215
  return t.tagName === "INPUT";
4205
- }, Mp = function(t) {
4206
- return dl(t) && t.type === "hidden";
4207
4216
  }, Dp = function(t) {
4217
+ return dl(t) && t.type === "hidden";
4218
+ }, Tp = function(t) {
4208
4219
  var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(e) {
4209
4220
  return e.tagName === "SUMMARY";
4210
4221
  });
4211
4222
  return n;
4212
- }, Tp = function(t, n) {
4223
+ }, kp = function(t, n) {
4213
4224
  for (var e = 0; e < t.length; e++)
4214
4225
  if (t[e].checked && t[e].form === n)
4215
4226
  return t[e];
4216
- }, kp = function(t) {
4227
+ }, Ip = function(t) {
4217
4228
  if (!t.name)
4218
4229
  return !0;
4219
4230
  var n = t.form || $n(t), e = function(i) {
@@ -4227,13 +4238,13 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4227
4238
  } catch (i) {
4228
4239
  return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s", i.message), !1;
4229
4240
  }
4230
- var o = Tp(r, t.form);
4241
+ var o = kp(r, t.form);
4231
4242
  return !o || o === t;
4232
- }, Ip = function(t) {
4233
- return dl(t) && t.type === "radio";
4234
4243
  }, Ap = function(t) {
4235
- return Ip(t) && !kp(t);
4244
+ return dl(t) && t.type === "radio";
4236
4245
  }, Pp = function(t) {
4246
+ return Ap(t) && !Ip(t);
4247
+ }, jp = function(t) {
4237
4248
  var n, e = t && $n(t), r = (n = e) === null || n === void 0 ? void 0 : n.host, o = !1;
4238
4249
  if (e && e !== t) {
4239
4250
  var i, a, l;
@@ -4246,7 +4257,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4246
4257
  }, zi = function(t) {
4247
4258
  var n = t.getBoundingClientRect(), e = n.width, r = n.height;
4248
4259
  return e === 0 && r === 0;
4249
- }, jp = function(t, n) {
4260
+ }, Np = function(t, n) {
4250
4261
  var e = n.displayCheck, r = n.getShadowRoot;
4251
4262
  if (getComputedStyle(t).visibility === "hidden")
4252
4263
  return !0;
@@ -4263,14 +4274,14 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4263
4274
  }
4264
4275
  t = a;
4265
4276
  }
4266
- if (Pp(t))
4277
+ if (jp(t))
4267
4278
  return !t.getClientRects().length;
4268
4279
  if (e !== "legacy-full")
4269
4280
  return !0;
4270
4281
  } else if (e === "non-zero-area")
4271
4282
  return zi(t);
4272
4283
  return !1;
4273
- }, Np = function(t) {
4284
+ }, Lp = function(t) {
4274
4285
  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
4275
4286
  for (var n = t.parentElement; n; ) {
4276
4287
  if (n.tagName === "FIELDSET" && n.disabled) {
@@ -4288,17 +4299,17 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4288
4299
  return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
4289
4300
  // because we're limited in the type of selectors we can use in JSDom (see related
4290
4301
  // note related to `candidateSelectors`)
4291
- Wn(n) || Mp(n) || jp(n, t) || // For a details element with a summary, the summary element gets the focus
4292
- Dp(n) || Np(n));
4302
+ Wn(n) || Dp(n) || Np(n, t) || // For a details element with a summary, the summary element gets the focus
4303
+ Tp(n) || Lp(n));
4293
4304
  }, qr = function(t, n) {
4294
- return !(Ap(n) || ft(n) < 0 || !Un(t, n));
4295
- }, Lp = function(t) {
4305
+ return !(Pp(n) || ft(n) < 0 || !Un(t, n));
4306
+ }, _p = function(t) {
4296
4307
  var n = parseInt(t.getAttribute("tabindex"), 10);
4297
4308
  return !!(isNaN(n) || n >= 0);
4298
- }, _p = function t(n) {
4309
+ }, Rp = function t(n) {
4299
4310
  var e = [], r = [];
4300
4311
  return n.forEach(function(o, i) {
4301
- var a = !!o.scopeParent, l = a ? o.scopeParent : o, s = Cp(l, a), u = a ? t(o.candidates) : l;
4312
+ var a = !!o.scopeParent, l = a ? o.scopeParent : o, s = Op(l, a), u = a ? t(o.candidates) : l;
4302
4313
  s === 0 ? a ? e.push.apply(e, u) : e.push(l) : r.push({
4303
4314
  documentOrder: i,
4304
4315
  tabIndex: s,
@@ -4306,7 +4317,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4306
4317
  isScope: a,
4307
4318
  content: u
4308
4319
  });
4309
- }), r.sort(Op).reduce(function(o, i) {
4320
+ }), r.sort(Mp).reduce(function(o, i) {
4310
4321
  return i.isScope ? o.push.apply(o, i.content) : o.push(i.content), o;
4311
4322
  }, []).concat(e);
4312
4323
  }, fl = function(t, n) {
@@ -4316,8 +4327,8 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4316
4327
  filter: qr.bind(null, n),
4317
4328
  flatten: !1,
4318
4329
  getShadowRoot: n.getShadowRoot,
4319
- shadowRootFilter: Lp
4320
- }) : e = sl(t, n.includeContainer, qr.bind(null, n)), _p(e);
4330
+ shadowRootFilter: _p
4331
+ }) : e = sl(t, n.includeContainer, qr.bind(null, n)), Rp(e);
4321
4332
  }, pl = function(t, n) {
4322
4333
  n = n || {};
4323
4334
  var e;
@@ -4330,12 +4341,12 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
4330
4341
  if (n = n || {}, !t)
4331
4342
  throw new Error("No node provided");
4332
4343
  return At.call(t, Vn) === !1 ? !1 : qr(n, t);
4333
- }, Rp = /* @__PURE__ */ al.concat("iframe").join(","), kn = function(t, n) {
4344
+ }, Fp = /* @__PURE__ */ al.concat("iframe").join(","), kn = function(t, n) {
4334
4345
  if (n = n || {}, !t)
4335
4346
  throw new Error("No node provided");
4336
- return At.call(t, Rp) === !1 ? !1 : Un(n, t);
4347
+ return At.call(t, Fp) === !1 ? !1 : Un(n, t);
4337
4348
  };
4338
- const Fp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4349
+ const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4339
4350
  __proto__: null,
4340
4351
  focusable: pl,
4341
4352
  getTabIndex: ft,
@@ -4391,7 +4402,7 @@ function Bi(t, n, e) {
4391
4402
  }
4392
4403
  return p;
4393
4404
  }
4394
- const Hp = async (t, n, e) => {
4405
+ const zp = async (t, n, e) => {
4395
4406
  const {
4396
4407
  placement: r = "bottom",
4397
4408
  strategy: o = "absolute",
@@ -4468,7 +4479,7 @@ async function pr(t, n) {
4468
4479
  elementContext: v = "floating",
4469
4480
  altBoundary: m = !1,
4470
4481
  padding: p = 0
4471
- } = $t(n, t), g = Ep(p), b = l[m ? v === "floating" ? "reference" : "floating" : v], x = Bn(await i.getClippingRect({
4482
+ } = $t(n, t), g = Sp(p), b = l[m ? v === "floating" ? "reference" : "floating" : v], x = Bn(await i.getClippingRect({
4472
4483
  element: (e = await (i.isElement == null ? void 0 : i.isElement(b))) == null || e ? b : b.contextElement || await (i.getDocumentElement == null ? void 0 : i.getDocumentElement(l.floating)),
4473
4484
  boundary: u,
4474
4485
  rootBoundary: c,
@@ -4497,7 +4508,7 @@ async function pr(t, n) {
4497
4508
  right: (F.right - x.right + g.right) / I.x
4498
4509
  };
4499
4510
  }
4500
- const zp = function(t) {
4511
+ const Bp = function(t) {
4501
4512
  return t === void 0 && (t = {}), {
4502
4513
  name: "flip",
4503
4514
  options: t,
@@ -4521,12 +4532,12 @@ const zp = function(t) {
4521
4532
  } = $t(t, n);
4522
4533
  if ((e = i.arrow) != null && e.alignmentOffset)
4523
4534
  return {};
4524
- const C = gt(o), O = ct(l), I = gt(l) === l, F = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), R = m || (I || !b ? [zn(l)] : gp(l)), _ = g !== "none";
4525
- !m && _ && R.push(...wp(l, b, g, F));
4535
+ const C = gt(o), O = ct(l), I = gt(l) === l, F = await (s.isRTL == null ? void 0 : s.isRTL(u.floating)), R = m || (I || !b ? [zn(l)] : vp(l)), _ = g !== "none";
4536
+ !m && _ && R.push(...xp(l, b, g, F));
4526
4537
  const j = [l, ...R], T = await pr(n, x), N = [];
4527
4538
  let S = ((r = i.flip) == null ? void 0 : r.overflows) || [];
4528
4539
  if (c && N.push(T[C]), v) {
4529
- const B = hp(o, a, F);
4540
+ const B = gp(o, a, F);
4530
4541
  N.push(T[B[0]], T[B[1]]);
4531
4542
  }
4532
4543
  if (S = [...S, {
@@ -4578,13 +4589,13 @@ const zp = function(t) {
4578
4589
  return {};
4579
4590
  }
4580
4591
  };
4581
- }, Bp = /* @__PURE__ */ new Set(["left", "top"]);
4582
- async function Vp(t, n) {
4592
+ }, Vp = /* @__PURE__ */ new Set(["left", "top"]);
4593
+ async function $p(t, n) {
4583
4594
  const {
4584
4595
  placement: e,
4585
4596
  platform: r,
4586
4597
  elements: o
4587
- } = t, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = gt(e), l = mn(e), s = ct(e) === "y", u = Bp.has(a) ? -1 : 1, c = i && s ? -1 : 1, v = $t(n, t);
4598
+ } = t, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = gt(e), l = mn(e), s = ct(e) === "y", u = Vp.has(a) ? -1 : 1, c = i && s ? -1 : 1, v = $t(n, t);
4588
4599
  let {
4589
4600
  mainAxis: m,
4590
4601
  crossAxis: p,
@@ -4606,7 +4617,7 @@ async function Vp(t, n) {
4606
4617
  y: p * c
4607
4618
  };
4608
4619
  }
4609
- const $p = function(t) {
4620
+ const Wp = function(t) {
4610
4621
  return t === void 0 && (t = 0), {
4611
4622
  name: "offset",
4612
4623
  options: t,
@@ -4617,7 +4628,7 @@ const $p = function(t) {
4617
4628
  y: i,
4618
4629
  placement: a,
4619
4630
  middlewareData: l
4620
- } = n, s = await Vp(n, t);
4631
+ } = n, s = await $p(n, t);
4621
4632
  return a === ((e = l.offset) == null ? void 0 : e.placement) && (r = l.arrow) != null && r.alignmentOffset ? {} : {
4622
4633
  x: o + s.x,
4623
4634
  y: i + s.y,
@@ -4628,7 +4639,7 @@ const $p = function(t) {
4628
4639
  };
4629
4640
  }
4630
4641
  };
4631
- }, Wp = function(t) {
4642
+ }, Up = function(t) {
4632
4643
  return t === void 0 && (t = {}), {
4633
4644
  name: "shift",
4634
4645
  options: t,
@@ -4684,7 +4695,7 @@ const $p = function(t) {
4684
4695
  };
4685
4696
  }
4686
4697
  };
4687
- }, Up = function(t) {
4698
+ }, Yp = function(t) {
4688
4699
  return t === void 0 && (t = {}), {
4689
4700
  name: "size",
4690
4701
  options: t,
@@ -4726,7 +4737,7 @@ const $p = function(t) {
4726
4737
  };
4727
4738
  };
4728
4739
  function ml(t) {
4729
- const n = Je(t);
4740
+ const n = Xe(t);
4730
4741
  let e = parseFloat(n.width) || 0, r = parseFloat(n.height) || 0;
4731
4742
  const o = at(t), i = o ? t.offsetWidth : e, a = o ? t.offsetHeight : r, l = an(e) !== i || an(r) !== a;
4732
4743
  return l && (e = i, r = a), {
@@ -4753,15 +4764,15 @@ function Ft(t) {
4753
4764
  y: l
4754
4765
  };
4755
4766
  }
4756
- const Yp = /* @__PURE__ */ ot(0);
4767
+ const Gp = /* @__PURE__ */ ot(0);
4757
4768
  function hl(t) {
4758
4769
  const n = Ye(t);
4759
- return !Do() || !n.visualViewport ? Yp : {
4770
+ return !Do() || !n.visualViewport ? Gp : {
4760
4771
  x: n.visualViewport.offsetLeft,
4761
4772
  y: n.visualViewport.offsetTop
4762
4773
  };
4763
4774
  }
4764
- function Gp(t, n, e) {
4775
+ function Kp(t, n, e) {
4765
4776
  return n === void 0 && (n = !1), !e || n && e !== Ye(t) ? !1 : n;
4766
4777
  }
4767
4778
  function Pt(t, n, e, r) {
@@ -4769,13 +4780,13 @@ function Pt(t, n, e, r) {
4769
4780
  const o = t.getBoundingClientRect(), i = To(t);
4770
4781
  let a = ot(1);
4771
4782
  n && (r ? _e(r) && (a = Ft(r)) : a = Ft(t));
4772
- const l = Gp(i, e, r) ? hl(i) : ot(0);
4783
+ const l = Kp(i, e, r) ? hl(i) : ot(0);
4773
4784
  let s = (o.left + l.x) / a.x, u = (o.top + l.y) / a.y, c = o.width / a.x, v = o.height / a.y;
4774
4785
  if (i) {
4775
4786
  const m = Ye(i), p = r && _e(r) ? Ye(r) : r;
4776
4787
  let g = m, b = Zr(g);
4777
4788
  for (; b && r && p !== g; ) {
4778
- const x = Ft(b), C = b.getBoundingClientRect(), O = Je(b), I = C.left + (b.clientLeft + parseFloat(O.paddingLeft)) * x.x, F = C.top + (b.clientTop + parseFloat(O.paddingTop)) * x.y;
4789
+ const x = Ft(b), C = b.getBoundingClientRect(), O = Xe(b), I = C.left + (b.clientLeft + parseFloat(O.paddingLeft)) * x.x, F = C.top + (b.clientTop + parseFloat(O.paddingTop)) * x.y;
4779
4790
  s *= x.x, u *= x.y, c *= x.x, v *= x.y, s += I, u += F, g = Ye(b), b = Zr(g);
4780
4791
  }
4781
4792
  }
@@ -4801,7 +4812,7 @@ function gl(t, n, e) {
4801
4812
  y: i
4802
4813
  };
4803
4814
  }
4804
- function Kp(t) {
4815
+ function Zp(t) {
4805
4816
  let {
4806
4817
  elements: n,
4807
4818
  rect: e,
@@ -4828,21 +4839,21 @@ function Kp(t) {
4828
4839
  y: e.y * u.y - s.scrollTop * u.y + c.y + m.y
4829
4840
  };
4830
4841
  }
4831
- function Zp(t) {
4842
+ function Qp(t) {
4832
4843
  return Array.from(t.getClientRects());
4833
4844
  }
4834
- function Qp(t) {
4845
+ function qp(t) {
4835
4846
  const n = lt(t), e = fr(t), r = t.ownerDocument.body, o = Ne(n.scrollWidth, n.clientWidth, r.scrollWidth, r.clientWidth), i = Ne(n.scrollHeight, n.clientHeight, r.scrollHeight, r.clientHeight);
4836
4847
  let a = -e.scrollLeft + ko(t);
4837
4848
  const l = -e.scrollTop;
4838
- return Je(r).direction === "rtl" && (a += Ne(n.clientWidth, r.clientWidth) - o), {
4849
+ return Xe(r).direction === "rtl" && (a += Ne(n.clientWidth, r.clientWidth) - o), {
4839
4850
  width: o,
4840
4851
  height: i,
4841
4852
  x: a,
4842
4853
  y: l
4843
4854
  };
4844
4855
  }
4845
- function qp(t, n) {
4856
+ function Jp(t, n) {
4846
4857
  const e = Ye(t), r = lt(t), o = e.visualViewport;
4847
4858
  let i = r.clientWidth, a = r.clientHeight, l = 0, s = 0;
4848
4859
  if (o) {
@@ -4858,7 +4869,7 @@ function qp(t, n) {
4858
4869
  };
4859
4870
  }
4860
4871
  const Xp = /* @__PURE__ */ new Set(["absolute", "fixed"]);
4861
- function Jp(t, n) {
4872
+ function em(t, n) {
4862
4873
  const e = Pt(t, !0, n === "fixed"), r = e.top + t.clientTop, o = e.left + t.clientLeft, i = at(t) ? Ft(t) : ot(1), a = t.clientWidth * i.x, l = t.clientHeight * i.y, s = o * i.x, u = r * i.y;
4863
4874
  return {
4864
4875
  width: a,
@@ -4870,11 +4881,11 @@ function Jp(t, n) {
4870
4881
  function Vi(t, n, e) {
4871
4882
  let r;
4872
4883
  if (n === "viewport")
4873
- r = qp(t, e);
4884
+ r = Jp(t, e);
4874
4885
  else if (n === "document")
4875
- r = Qp(lt(t));
4886
+ r = qp(lt(t));
4876
4887
  else if (_e(n))
4877
- r = Jp(n, e);
4888
+ r = em(n, e);
4878
4889
  else {
4879
4890
  const o = hl(t);
4880
4891
  r = {
@@ -4888,29 +4899,29 @@ function Vi(t, n, e) {
4888
4899
  }
4889
4900
  function vl(t, n) {
4890
4901
  const e = ht(t);
4891
- return e === n || !_e(e) || Bt(e) ? !1 : Je(e).position === "fixed" || vl(e, n);
4902
+ return e === n || !_e(e) || Bt(e) ? !1 : Xe(e).position === "fixed" || vl(e, n);
4892
4903
  }
4893
- function em(t, n) {
4904
+ function tm(t, n) {
4894
4905
  const e = n.get(t);
4895
4906
  if (e)
4896
4907
  return e;
4897
4908
  let r = on(t, [], !1).filter((l) => _e(l) && Vt(l) !== "body"), o = null;
4898
- const i = Je(t).position === "fixed";
4909
+ const i = Xe(t).position === "fixed";
4899
4910
  let a = i ? ht(t) : t;
4900
4911
  for (; _e(a) && !Bt(a); ) {
4901
- const l = Je(a), s = Mo(a);
4912
+ const l = Xe(a), s = Mo(a);
4902
4913
  !s && l.position === "fixed" && (o = null), (i ? !s && !o : !s && l.position === "static" && o && Xp.has(o.position) || pn(a) && !s && vl(t, a)) ? r = r.filter((u) => u !== a) : o = l, a = ht(a);
4903
4914
  }
4904
4915
  return n.set(t, r), r;
4905
4916
  }
4906
- function tm(t) {
4917
+ function nm(t) {
4907
4918
  let {
4908
4919
  element: n,
4909
4920
  boundary: e,
4910
4921
  rootBoundary: r,
4911
4922
  strategy: o
4912
4923
  } = t;
4913
- const i = [...e === "clippingAncestors" ? dr(n) ? [] : em(n, this._c) : [].concat(e), r], a = i[0], l = i.reduce((s, u) => {
4924
+ const i = [...e === "clippingAncestors" ? dr(n) ? [] : tm(n, this._c) : [].concat(e), r], a = i[0], l = i.reduce((s, u) => {
4914
4925
  const c = Vi(n, u, o);
4915
4926
  return s.top = Ne(c.top, s.top), s.right = It(c.right, s.right), s.bottom = It(c.bottom, s.bottom), s.left = Ne(c.left, s.left), s;
4916
4927
  }, Vi(n, a, o));
@@ -4921,7 +4932,7 @@ function tm(t) {
4921
4932
  y: l.top
4922
4933
  };
4923
4934
  }
4924
- function nm(t) {
4935
+ function rm(t) {
4925
4936
  const {
4926
4937
  width: n,
4927
4938
  height: e
@@ -4931,7 +4942,7 @@ function nm(t) {
4931
4942
  height: e
4932
4943
  };
4933
4944
  }
4934
- function rm(t, n, e) {
4945
+ function om(t, n, e) {
4935
4946
  const r = at(n), o = lt(n), i = e === "fixed", a = Pt(t, !0, i, n);
4936
4947
  let l = {
4937
4948
  scrollLeft: 0,
@@ -4956,10 +4967,10 @@ function rm(t, n, e) {
4956
4967
  };
4957
4968
  }
4958
4969
  function Ar(t) {
4959
- return Je(t).position === "static";
4970
+ return Xe(t).position === "static";
4960
4971
  }
4961
4972
  function $i(t, n) {
4962
- if (!at(t) || Je(t).position === "fixed")
4973
+ if (!at(t) || Xe(t).position === "fixed")
4963
4974
  return null;
4964
4975
  if (n)
4965
4976
  return n(t);
@@ -4980,14 +4991,14 @@ function bl(t, n) {
4980
4991
  return e;
4981
4992
  }
4982
4993
  let r = $i(t, n);
4983
- for (; r && op(r) && Ar(r); )
4994
+ for (; r && ip(r) && Ar(r); )
4984
4995
  r = $i(r, n);
4985
- return r && Bt(r) && Ar(r) && !Mo(r) ? e : r || cp(t) || e;
4996
+ return r && Bt(r) && Ar(r) && !Mo(r) ? e : r || up(t) || e;
4986
4997
  }
4987
- const om = async function(t) {
4998
+ const im = async function(t) {
4988
4999
  const n = this.getOffsetParent || bl, e = this.getDimensions, r = await e(t.floating);
4989
5000
  return {
4990
- reference: rm(t.reference, await n(t.floating), t.strategy),
5001
+ reference: om(t.reference, await n(t.floating), t.strategy),
4991
5002
  floating: {
4992
5003
  x: 0,
4993
5004
  y: 0,
@@ -4996,25 +5007,25 @@ const om = async function(t) {
4996
5007
  }
4997
5008
  };
4998
5009
  };
4999
- function im(t) {
5000
- return Je(t).direction === "rtl";
5010
+ function am(t) {
5011
+ return Xe(t).direction === "rtl";
5001
5012
  }
5002
- const am = {
5003
- convertOffsetParentRelativeRectToViewportRelativeRect: Kp,
5013
+ const lm = {
5014
+ convertOffsetParentRelativeRectToViewportRelativeRect: Zp,
5004
5015
  getDocumentElement: lt,
5005
- getClippingRect: tm,
5016
+ getClippingRect: nm,
5006
5017
  getOffsetParent: bl,
5007
- getElementRects: om,
5008
- getClientRects: Zp,
5009
- getDimensions: nm,
5018
+ getElementRects: im,
5019
+ getClientRects: Qp,
5020
+ getDimensions: rm,
5010
5021
  getScale: Ft,
5011
5022
  isElement: _e,
5012
- isRTL: im
5023
+ isRTL: am
5013
5024
  };
5014
5025
  function yl(t, n) {
5015
5026
  return t.x === n.x && t.y === n.y && t.width === n.width && t.height === n.height;
5016
5027
  }
5017
- function lm(t, n) {
5028
+ function sm(t, n) {
5018
5029
  let e = null, r;
5019
5030
  const o = lt(t);
5020
5031
  function i() {
@@ -5060,7 +5071,7 @@ function lm(t, n) {
5060
5071
  }
5061
5072
  return a(!0), i;
5062
5073
  }
5063
- function sm(t, n, e, r) {
5074
+ function cm(t, n, e, r) {
5064
5075
  r === void 0 && (r = {});
5065
5076
  const {
5066
5077
  ancestorScroll: o = !0,
@@ -5074,7 +5085,7 @@ function sm(t, n, e, r) {
5074
5085
  passive: !0
5075
5086
  }), i && C.addEventListener("resize", e);
5076
5087
  });
5077
- const v = u && l ? lm(u, e) : null;
5088
+ const v = u && l ? sm(u, e) : null;
5078
5089
  let m = -1, p = null;
5079
5090
  a && (p = new ResizeObserver((C) => {
5080
5091
  let [O] = C;
@@ -5096,21 +5107,21 @@ function sm(t, n, e, r) {
5096
5107
  }), v?.(), (C = p) == null || C.disconnect(), p = null, s && cancelAnimationFrame(g);
5097
5108
  };
5098
5109
  }
5099
- const Pr = pr, cm = $p, um = Wp, dm = zp, fm = Up, pm = (t, n, e) => {
5110
+ const Pr = pr, um = Wp, dm = Up, fm = Bp, pm = Yp, mm = (t, n, e) => {
5100
5111
  const r = /* @__PURE__ */ new Map(), o = {
5101
- platform: am,
5112
+ platform: lm,
5102
5113
  ...e
5103
5114
  }, i = {
5104
5115
  ...o.platform,
5105
5116
  _c: r
5106
5117
  };
5107
- return Hp(t, n, {
5118
+ return zp(t, n, {
5108
5119
  ...o,
5109
5120
  platform: i
5110
5121
  });
5111
5122
  };
5112
- var mm = typeof document < "u", hm = function() {
5113
- }, In = mm ? ro : hm;
5123
+ var hm = typeof document < "u", gm = function() {
5124
+ }, In = hm ? ro : gm;
5114
5125
  function Yn(t, n) {
5115
5126
  if (t === n)
5116
5127
  return !0;
@@ -5154,7 +5165,7 @@ function jr(t) {
5154
5165
  n.current = t;
5155
5166
  }), n;
5156
5167
  }
5157
- function gm(t) {
5168
+ function vm(t) {
5158
5169
  t === void 0 && (t = {});
5159
5170
  const {
5160
5171
  placement: n = "bottom",
@@ -5189,7 +5200,7 @@ function gm(t) {
5189
5200
  strategy: e,
5190
5201
  middleware: m
5191
5202
  };
5192
- y.current && (P.platform = y.current), pm(_.current, j.current, P).then((U) => {
5203
+ y.current && (P.platform = y.current), mm(_.current, j.current, P).then((U) => {
5193
5204
  const oe = {
5194
5205
  ...U,
5195
5206
  // The floating element's position may be recomputed while it's closed
@@ -5257,9 +5268,6 @@ function gm(t) {
5257
5268
  }), [c, L, A, W, G]);
5258
5269
  }
5259
5270
  const xl = (t, n) => ({
5260
- ...cm(t),
5261
- options: [t, n]
5262
- }), vm = (t, n) => ({
5263
5271
  ...um(t),
5264
5272
  options: [t, n]
5265
5273
  }), bm = (t, n) => ({
@@ -5268,15 +5276,18 @@ const xl = (t, n) => ({
5268
5276
  }), ym = (t, n) => ({
5269
5277
  ...fm(t),
5270
5278
  options: [t, n]
5279
+ }), wm = (t, n) => ({
5280
+ ...pm(t),
5281
+ options: [t, n]
5271
5282
  }), El = {
5272
5283
  ...d
5273
- }, wm = El.useInsertionEffect, xm = wm || ((t) => t());
5284
+ }, xm = El.useInsertionEffect, Em = xm || ((t) => t());
5274
5285
  function Sl(t) {
5275
5286
  const n = d.useRef(() => {
5276
5287
  if (process.env.NODE_ENV !== "production")
5277
5288
  throw new Error("Cannot call an event handler while rendering.");
5278
5289
  });
5279
- return xm(() => {
5290
+ return Em(() => {
5280
5291
  n.current = t;
5281
5292
  }), d.useCallback(function() {
5282
5293
  for (var e = arguments.length, r = new Array(e), o = 0; o < e; o++)
@@ -5284,25 +5295,25 @@ function Sl(t) {
5284
5295
  return n.current == null ? void 0 : n.current(...r);
5285
5296
  }, []);
5286
5297
  }
5287
- var Xr = typeof document < "u" ? ro : we;
5288
- let Ui = !1, Em = 0;
5298
+ var Jr = typeof document < "u" ? ro : we;
5299
+ let Ui = !1, Sm = 0;
5289
5300
  const Yi = () => (
5290
5301
  // Ensure the id is unique with multiple independent versions of Floating UI
5291
5302
  // on <React 18
5292
- "floating-ui-" + Math.random().toString(36).slice(2, 6) + Em++
5303
+ "floating-ui-" + Math.random().toString(36).slice(2, 6) + Sm++
5293
5304
  );
5294
- function Sm() {
5305
+ function Cm() {
5295
5306
  const [t, n] = d.useState(() => Ui ? Yi() : void 0);
5296
- return Xr(() => {
5307
+ return Jr(() => {
5297
5308
  t == null && n(Yi());
5298
5309
  }, []), d.useEffect(() => {
5299
5310
  Ui = !0;
5300
5311
  }, []), t;
5301
5312
  }
5302
- const Cm = El.useId, Om = Cm || Sm;
5313
+ const Om = El.useId, Mm = Om || Cm;
5303
5314
  let ln;
5304
5315
  process.env.NODE_ENV !== "production" && (ln = /* @__PURE__ */ new Set());
5305
- function Mm() {
5316
+ function Dm() {
5306
5317
  for (var t, n = arguments.length, e = new Array(n), r = 0; r < n; r++)
5307
5318
  e[r] = arguments[r];
5308
5319
  const o = "Floating UI: " + e.join(" ");
@@ -5311,7 +5322,7 @@ function Mm() {
5311
5322
  (i = ln) == null || i.add(o), console.warn(o);
5312
5323
  }
5313
5324
  }
5314
- function Dm() {
5325
+ function Tm() {
5315
5326
  for (var t, n = arguments.length, e = new Array(n), r = 0; r < n; r++)
5316
5327
  e[r] = arguments[r];
5317
5328
  const o = "Floating UI: " + e.join(" ");
@@ -5320,7 +5331,7 @@ function Dm() {
5320
5331
  (i = ln) == null || i.add(o), console.error(o);
5321
5332
  }
5322
5333
  }
5323
- function Tm() {
5334
+ function km() {
5324
5335
  const t = /* @__PURE__ */ new Map();
5325
5336
  return {
5326
5337
  emit(n, e) {
@@ -5336,19 +5347,19 @@ function Tm() {
5336
5347
  }
5337
5348
  };
5338
5349
  }
5339
- const km = /* @__PURE__ */ d.createContext(null), Im = /* @__PURE__ */ d.createContext(null), Am = () => {
5350
+ const Im = /* @__PURE__ */ d.createContext(null), Am = /* @__PURE__ */ d.createContext(null), Pm = () => {
5340
5351
  var t;
5341
- return ((t = d.useContext(km)) == null ? void 0 : t.id) || null;
5342
- }, Pm = () => d.useContext(Im), jm = "data-floating-ui-focusable";
5343
- function Nm(t) {
5352
+ return ((t = d.useContext(Im)) == null ? void 0 : t.id) || null;
5353
+ }, jm = () => d.useContext(Am), Nm = "data-floating-ui-focusable";
5354
+ function Lm(t) {
5344
5355
  const {
5345
5356
  open: n = !1,
5346
5357
  onOpenChange: e,
5347
5358
  elements: r
5348
- } = t, o = Om(), i = d.useRef({}), [a] = d.useState(() => Tm()), l = Am() != null;
5359
+ } = t, o = Mm(), i = d.useRef({}), [a] = d.useState(() => km()), l = Pm() != null;
5349
5360
  if (process.env.NODE_ENV !== "production") {
5350
5361
  const p = r.reference;
5351
- p && !_e(p) && Dm("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
5362
+ p && !_e(p) && Tm("Cannot pass a virtual element to the `elements.reference` option,", "as it must be a real DOM element. Use `refs.setPositionReference()`", "instead.");
5352
5363
  }
5353
5364
  const [s, u] = d.useState(r.reference), c = Sl((p, g, b) => {
5354
5365
  i.current.openEvent = p ? g : void 0, a.emit("openchange", {
@@ -5374,22 +5385,22 @@ function Nm(t) {
5374
5385
  refs: v
5375
5386
  }), [n, c, m, a, o, v]);
5376
5387
  }
5377
- function Lm(t) {
5388
+ function _m(t) {
5378
5389
  t === void 0 && (t = {});
5379
5390
  const {
5380
5391
  nodeId: n
5381
- } = t, e = Nm({
5392
+ } = t, e = Lm({
5382
5393
  ...t,
5383
5394
  elements: {
5384
5395
  reference: null,
5385
5396
  floating: null,
5386
5397
  ...t.elements
5387
5398
  }
5388
- }), r = t.rootContext || e, o = r.elements, [i, a] = d.useState(null), [l, s] = d.useState(null), u = o?.domReference || i, c = d.useRef(null), v = Pm();
5389
- Xr(() => {
5399
+ }), r = t.rootContext || e, o = r.elements, [i, a] = d.useState(null), [l, s] = d.useState(null), u = o?.domReference || i, c = d.useRef(null), v = jm();
5400
+ Jr(() => {
5390
5401
  u && (c.current = u);
5391
5402
  }, [u]);
5392
- const m = gm({
5403
+ const m = vm({
5393
5404
  ...t,
5394
5405
  elements: {
5395
5406
  ...o,
@@ -5423,7 +5434,7 @@ function Lm(t) {
5423
5434
  elements: x,
5424
5435
  nodeId: n
5425
5436
  }), [m, b, x, n, r]);
5426
- return Xr(() => {
5437
+ return Jr(() => {
5427
5438
  r.dataRef.current.floatingContext = C;
5428
5439
  const O = v?.nodesRef.current.find((I) => I.id === n);
5429
5440
  O && (O.context = C);
@@ -5449,7 +5460,7 @@ function Nr(t, n, e) {
5449
5460
  return {
5450
5461
  ...e === "floating" && {
5451
5462
  tabIndex: -1,
5452
- [jm]: ""
5463
+ [Nm]: ""
5453
5464
  },
5454
5465
  ...i,
5455
5466
  ...n.map((a) => {
@@ -5472,7 +5483,7 @@ function Nr(t, n, e) {
5472
5483
  }), a), {})
5473
5484
  };
5474
5485
  }
5475
- function _m(t) {
5486
+ function Rm(t) {
5476
5487
  t === void 0 && (t = []);
5477
5488
  const n = t.map((l) => l?.reference), e = t.map((l) => l?.floating), r = t.map((l) => l?.item), o = d.useCallback(
5478
5489
  (l) => Nr(l, t, "reference"),
@@ -5505,7 +5516,7 @@ function Zi(t, n) {
5505
5516
  }
5506
5517
  };
5507
5518
  }
5508
- const Rm = (t) => ({
5519
+ const Fm = (t) => ({
5509
5520
  name: "inner",
5510
5521
  options: t,
5511
5522
  async fn(n) {
@@ -5525,7 +5536,7 @@ const Rm = (t) => ({
5525
5536
  floating: m
5526
5537
  }
5527
5538
  } = n, p = e.current[a], g = u?.current || m, b = m.clientTop || g.clientTop, x = m.clientTop !== 0, C = g.clientTop !== 0, O = m === g;
5528
- if (process.env.NODE_ENV !== "production" && (n.placement.startsWith("bottom") || Mm('`placement` side must be "bottom" when using the `inner`', "middleware.")), !p)
5539
+ if (process.env.NODE_ENV !== "production" && (n.placement.startsWith("bottom") || Dm('`placement` side must be "bottom" when using the `inner`', "middleware.")), !p)
5529
5540
  return {};
5530
5541
  const I = {
5531
5542
  ...n,
@@ -5546,7 +5557,7 @@ const Rm = (t) => ({
5546
5557
  };
5547
5558
  }
5548
5559
  });
5549
- function Fm(t, n) {
5560
+ function Hm(t, n) {
5550
5561
  const {
5551
5562
  open: e,
5552
5563
  elements: r
@@ -5564,7 +5575,7 @@ function Fm(t, n) {
5564
5575
  const x = b.deltaY, C = i.current.top >= -0.5, O = i.current.bottom >= -0.5, I = g.scrollHeight - g.clientHeight, F = x < 0 ? -1 : 1, R = x < 0 ? "max" : "min";
5565
5576
  g.scrollHeight <= g.clientHeight || (!C && x > 0 || !O && x < 0 ? (b.preventDefault(), Pn.flushSync(() => {
5566
5577
  s((_) => _ + Math[R](x, I * F));
5567
- })) : /firefox/i.test(dp()) && (g.scrollTop += x));
5578
+ })) : /firefox/i.test(fp()) && (g.scrollTop += x));
5568
5579
  }
5569
5580
  const g = a?.current || r.floating;
5570
5581
  if (e && g)
@@ -5637,12 +5648,12 @@ function No(t = null) {
5637
5648
  let Qi = 4;
5638
5649
  function Lo({ children: t, enabled: n = !0 }) {
5639
5650
  let [e, r] = be(null), [o, i] = be(0), a = ae(null), [l, s] = be(null);
5640
- Hm(l);
5641
- let u = n && e !== null && l !== null, { to: c = "bottom", gap: v = 0, offset: m = 0, padding: p = 0, inner: g } = zm(e, l), [b, x = "center"] = c.split(" ");
5651
+ zm(l);
5652
+ let u = n && e !== null && l !== null, { to: c = "bottom", gap: v = 0, offset: m = 0, padding: p = 0, inner: g } = Bm(e, l), [b, x = "center"] = c.split(" ");
5642
5653
  ve(() => {
5643
5654
  u && i(0);
5644
5655
  }, [u]);
5645
- let { refs: C, floatingStyles: O, context: I } = Lm({ open: u, placement: b === "selection" ? x === "center" ? "bottom" : `bottom-${x}` : x === "center" ? `${b}` : `${b}-${x}`, strategy: "absolute", transform: !1, middleware: [xl({ mainAxis: b === "selection" ? 0 : v, crossAxis: m }), vm({ padding: p }), b !== "selection" && bm({ padding: p }), b === "selection" && g ? Rm({ ...g, padding: p, overflowRef: a, offset: o, minItemsVisible: Qi, referenceOverflowThreshold: p, onFallbackChange(y) {
5656
+ let { refs: C, floatingStyles: O, context: I } = _m({ open: u, placement: b === "selection" ? x === "center" ? "bottom" : `bottom-${x}` : x === "center" ? `${b}` : `${b}-${x}`, strategy: "absolute", transform: !1, middleware: [xl({ mainAxis: b === "selection" ? 0 : v, crossAxis: m }), bm({ padding: p }), b !== "selection" && ym({ padding: p }), b === "selection" && g ? Fm({ ...g, padding: p, overflowRef: a, offset: o, minItemsVisible: Qi, referenceOverflowThreshold: p, onFallbackChange(y) {
5646
5657
  var E, L;
5647
5658
  if (!y) return;
5648
5659
  let B = I.elements.floating;
@@ -5660,16 +5671,16 @@ function Lo({ children: t, enabled: n = !0 }) {
5660
5671
  let oe = G * W - P + A;
5661
5672
  return U >= oe ? U : oe;
5662
5673
  });
5663
- } }) : null, ym({ padding: p, apply({ availableWidth: y, availableHeight: E, elements: L }) {
5674
+ } }) : null, wm({ padding: p, apply({ availableWidth: y, availableHeight: E, elements: L }) {
5664
5675
  Object.assign(L.floating.style, { overflow: "auto", maxWidth: `${y}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${E}px)` });
5665
- } })].filter(Boolean), whileElementsMounted: sm }), [F = b, R = x] = I.placement.split("-");
5676
+ } })].filter(Boolean), whileElementsMounted: cm }), [F = b, R = x] = I.placement.split("-");
5666
5677
  b === "selection" && (F = "selection");
5667
- let _ = Ce(() => ({ anchor: [F, R].filter(Boolean).join(" ") }), [F, R]), j = Fm(I, { overflowRef: a, onChange: i }), { getReferenceProps: T, getFloatingProps: N } = _m([j]), S = q((y) => {
5678
+ let _ = Ce(() => ({ anchor: [F, R].filter(Boolean).join(" ") }), [F, R]), j = Hm(I, { overflowRef: a, onChange: i }), { getReferenceProps: T, getFloatingProps: N } = Rm([j]), S = q((y) => {
5668
5679
  s(y), C.setFloating(y);
5669
5680
  });
5670
5681
  return d.createElement(Io.Provider, { value: r }, d.createElement(Wt.Provider, { value: { setFloating: S, setReference: C.setReference, styles: O, getReferenceProps: T, getFloatingProps: N, slot: _ } }, t));
5671
5682
  }
5672
- function Hm(t) {
5683
+ function zm(t) {
5673
5684
  ve(() => {
5674
5685
  if (!t) return;
5675
5686
  let n = new MutationObserver(() => {
@@ -5683,7 +5694,7 @@ function Hm(t) {
5683
5694
  };
5684
5695
  }, [t]);
5685
5696
  }
5686
- function zm(t, n) {
5697
+ function Bm(t, n) {
5687
5698
  var e, r, o;
5688
5699
  let i = Lr((e = t?.gap) != null ? e : "var(--anchor-gap, 0)", n), a = Lr((r = t?.offset) != null ? r : "var(--anchor-offset, 0)", n), l = Lr((o = t?.padding) != null ? o : "var(--anchor-padding, 0)", n);
5689
5700
  return { ...t, gap: i, offset: a, padding: l };
@@ -5740,11 +5751,11 @@ function qi(t, n) {
5740
5751
  let r = parseFloat(window.getComputedStyle(e).marginTop) || 0;
5741
5752
  return n.removeChild(e), r;
5742
5753
  }
5743
- function Bm({ children: t, freeze: n }, e) {
5754
+ function Vm({ children: t, freeze: n }, e) {
5744
5755
  let r = Gn(n, t);
5745
5756
  return no(r) ? fa(r, { ref: e }) : V.createElement(V.Fragment, null, r);
5746
5757
  }
5747
- const Vm = V.forwardRef(Bm);
5758
+ const $m = V.forwardRef(Vm);
5748
5759
  function Gn(t, n) {
5749
5760
  let [e, r] = be(n);
5750
5761
  return !t && e !== n && r(n), t ? e : n;
@@ -5758,14 +5769,14 @@ function Ro() {
5758
5769
  function Fo({ value: t, children: n }) {
5759
5770
  return V.createElement(_o.Provider, { value: t }, n);
5760
5771
  }
5761
- function $m(t) {
5772
+ function Wm(t) {
5762
5773
  function n() {
5763
5774
  document.readyState !== "loading" && (t(), document.removeEventListener("DOMContentLoaded", n));
5764
5775
  }
5765
5776
  typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", n), n());
5766
5777
  }
5767
5778
  let Et = [];
5768
- $m(() => {
5779
+ Wm(() => {
5769
5780
  function t(n) {
5770
5781
  if (!pt(n.target) || n.target === document.body || Et[0] === n.target) return;
5771
5782
  let e = n.target;
@@ -5773,10 +5784,10 @@ $m(() => {
5773
5784
  }
5774
5785
  window.addEventListener("click", t, { capture: !0 }), window.addEventListener("mousedown", t, { capture: !0 }), window.addEventListener("focus", t, { capture: !0 }), document.body.addEventListener("click", t, { capture: !0 }), document.body.addEventListener("mousedown", t, { capture: !0 }), document.body.addEventListener("focus", t, { capture: !0 });
5775
5786
  });
5776
- function Wm(t) {
5787
+ function Um(t) {
5777
5788
  throw new Error("Unexpected object: " + t);
5778
5789
  }
5779
- var X = ((t) => (t[t.First = 0] = "First", t[t.Previous = 1] = "Previous", t[t.Next = 2] = "Next", t[t.Last = 3] = "Last", t[t.Specific = 4] = "Specific", t[t.Nothing = 5] = "Nothing", t))(X || {});
5790
+ var J = ((t) => (t[t.First = 0] = "First", t[t.Previous = 1] = "Previous", t[t.Next = 2] = "Next", t[t.Last = 3] = "Last", t[t.Specific = 4] = "Specific", t[t.Nothing = 5] = "Nothing", t))(J || {});
5780
5791
  function rt(t, n) {
5781
5792
  let e = n.resolveItems();
5782
5793
  if (e.length <= 0) return null;
@@ -5806,7 +5817,7 @@ function rt(t, n) {
5806
5817
  case 5:
5807
5818
  return null;
5808
5819
  default:
5809
- Wm(t);
5820
+ Um(t);
5810
5821
  }
5811
5822
  }
5812
5823
  function mr(t) {
@@ -5817,12 +5828,12 @@ function mr(t) {
5817
5828
  });
5818
5829
  }), [n]);
5819
5830
  }
5820
- let Um = me(!1);
5821
- function Ym() {
5822
- return ye(Um);
5831
+ let Ym = me(!1);
5832
+ function Gm() {
5833
+ return ye(Ym);
5823
5834
  }
5824
- function Gm(t) {
5825
- let n = Ym(), e = ye(Dl), [r, o] = be(() => {
5835
+ function Km(t) {
5836
+ let n = Gm(), e = ye(Dl), [r, o] = be(() => {
5826
5837
  var i;
5827
5838
  if (!n && e !== null) return (i = e.current) != null ? i : null;
5828
5839
  if (Mt.isServer) return null;
@@ -5838,10 +5849,10 @@ function Gm(t) {
5838
5849
  n || e !== null && o(e.current);
5839
5850
  }, [e, o, n]), r;
5840
5851
  }
5841
- let Ml = ut, Km = Se(function(t, n) {
5842
- let { ownerDocument: e = null, ...r } = t, o = ae(null), i = ke(Qd((m) => {
5852
+ let Ml = ut, Zm = Se(function(t, n) {
5853
+ let { ownerDocument: e = null, ...r } = t, o = ae(null), i = ke(qd((m) => {
5843
5854
  o.current = m;
5844
- }), n), a = kt(o.current), l = e ?? a, s = Gm(l), u = ye(Xm), c = bt(), v = Ee();
5855
+ }), n), a = kt(o.current), l = e ?? a, s = Km(l), u = ye(Xm), c = bt(), v = Ee();
5845
5856
  return mr(() => {
5846
5857
  var m;
5847
5858
  s && s.childNodes.length <= 0 && ((m = s.parentElement) == null || m.removeChild(s));
@@ -5849,16 +5860,16 @@ let Ml = ut, Km = Se(function(t, n) {
5849
5860
  c.dispose(), u && m && c.add(u.register(m));
5850
5861
  } }, v({ ourProps: { ref: i }, theirProps: r, slot: {}, defaultTag: Ml, name: "Portal" })), s) : null;
5851
5862
  });
5852
- function Zm(t, n) {
5863
+ function Qm(t, n) {
5853
5864
  let e = ke(n), { enabled: r = !0, ownerDocument: o, ...i } = t, a = Ee();
5854
- return r ? V.createElement(Km, { ...i, ownerDocument: o, ref: e }) : a({ ourProps: { ref: e }, theirProps: i, slot: {}, defaultTag: Ml, name: "Portal" });
5865
+ return r ? V.createElement(Zm, { ...i, ownerDocument: o, ref: e }) : a({ ourProps: { ref: e }, theirProps: i, slot: {}, defaultTag: Ml, name: "Portal" });
5855
5866
  }
5856
- let Qm = ut, Dl = me(null);
5857
- function qm(t, n) {
5867
+ let qm = ut, Dl = me(null);
5868
+ function Jm(t, n) {
5858
5869
  let { target: e, ...r } = t, o = { ref: ke(n) }, i = Ee();
5859
- return V.createElement(Dl.Provider, { value: e }, i({ ourProps: o, theirProps: r, defaultTag: Qm, name: "Popover.Group" }));
5870
+ return V.createElement(Dl.Provider, { value: e }, i({ ourProps: o, theirProps: r, defaultTag: qm, name: "Popover.Group" }));
5860
5871
  }
5861
- let Xm = me(null), Jm = Se(Zm), eh = Se(qm), Ho = Object.assign(Jm, { Group: eh });
5872
+ let Xm = me(null), eh = Se(Qm), th = Se(Jm), Ho = Object.assign(eh, { Group: th });
5862
5873
  const Ue = { Idle: { kind: "Idle" }, Tracked: (t) => ({ kind: "Tracked", position: t }), Moved: { kind: "Moved" } };
5863
5874
  function hr(t) {
5864
5875
  let n = t.getBoundingClientRect();
@@ -5874,12 +5885,12 @@ function zo(t, n, e) {
5874
5885
  }
5875
5886
  return () => r.dispose();
5876
5887
  }
5877
- var th = Object.defineProperty, nh = (t, n, e) => n in t ? th(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Xi = (t, n, e) => (nh(t, typeof n != "symbol" ? n + "" : n, e), e), de = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(de || {}), We = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(We || {}), it = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Focus = 1] = "Focus", t[t.Other = 2] = "Other", t))(it || {}), Tl = ((t) => (t[t.OpenCombobox = 0] = "OpenCombobox", t[t.CloseCombobox = 1] = "CloseCombobox", t[t.GoToOption = 2] = "GoToOption", t[t.SetTyping = 3] = "SetTyping", t[t.RegisterOption = 4] = "RegisterOption", t[t.UnregisterOption = 5] = "UnregisterOption", t[t.DefaultToFirstOption = 6] = "DefaultToFirstOption", t[t.SetActivationTrigger = 7] = "SetActivationTrigger", t[t.UpdateVirtualConfiguration = 8] = "UpdateVirtualConfiguration", t[t.SetInputElement = 9] = "SetInputElement", t[t.SetButtonElement = 10] = "SetButtonElement", t[t.SetOptionsElement = 11] = "SetOptionsElement", t[t.MarkInputAsMoved = 12] = "MarkInputAsMoved", t))(Tl || {});
5888
+ var nh = Object.defineProperty, rh = (t, n, e) => n in t ? nh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, Ji = (t, n, e) => (rh(t, typeof n != "symbol" ? n + "" : n, e), e), de = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(de || {}), We = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(We || {}), it = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Focus = 1] = "Focus", t[t.Other = 2] = "Other", t))(it || {}), Tl = ((t) => (t[t.OpenCombobox = 0] = "OpenCombobox", t[t.CloseCombobox = 1] = "CloseCombobox", t[t.GoToOption = 2] = "GoToOption", t[t.SetTyping = 3] = "SetTyping", t[t.RegisterOption = 4] = "RegisterOption", t[t.UnregisterOption = 5] = "UnregisterOption", t[t.DefaultToFirstOption = 6] = "DefaultToFirstOption", t[t.SetActivationTrigger = 7] = "SetActivationTrigger", t[t.UpdateVirtualConfiguration = 8] = "UpdateVirtualConfiguration", t[t.SetInputElement = 9] = "SetInputElement", t[t.SetButtonElement = 10] = "SetButtonElement", t[t.SetOptionsElement = 11] = "SetOptionsElement", t[t.MarkInputAsMoved = 12] = "MarkInputAsMoved", t))(Tl || {});
5878
5889
  function _r(t, n = (e) => e) {
5879
5890
  let e = t.activeOptionIndex !== null ? t.options[t.activeOptionIndex] : null, r = n(t.options.slice()), o = r.length > 0 && r[0].dataRef.current.order !== null ? r.sort((a, l) => a.dataRef.current.order - l.dataRef.current.order) : cr(r, (a) => a.dataRef.current.domRef.current), i = e ? o.indexOf(e) : null;
5880
5891
  return i === -1 && (i = null), { options: o, activeOptionIndex: i };
5881
5892
  }
5882
- let rh = { 1(t) {
5893
+ let oh = { 1(t) {
5883
5894
  var n;
5884
5895
  if ((n = t.dataRef.current) != null && n.disabled || t.comboboxState === 1) return t;
5885
5896
  let e = t.inputElement ? Ue.Tracked(hr(t.inputElement)) : t.inputPositionState;
@@ -5898,7 +5909,7 @@ let rh = { 1(t) {
5898
5909
  var e, r, o, i;
5899
5910
  if ((e = t.dataRef.current) != null && e.disabled || t.optionsElement && !((r = t.dataRef.current) != null && r.optionsPropsRef.current.static) && t.comboboxState === 1) return t;
5900
5911
  if (t.virtual) {
5901
- let { options: u, disabled: c } = t.virtual, v = n.focus === X.Specific ? n.idx : rt(n, { resolveItems: () => u, resolveActiveIndex: () => {
5912
+ let { options: u, disabled: c } = t.virtual, v = n.focus === J.Specific ? n.idx : rt(n, { resolveItems: () => u, resolveActiveIndex: () => {
5902
5913
  var p, g;
5903
5914
  return (g = (p = t.activeOptionIndex) != null ? p : u.findIndex((b) => !c(b))) != null ? g : null;
5904
5915
  }, resolveDisabled: c, resolveId() {
@@ -5911,7 +5922,7 @@ let rh = { 1(t) {
5911
5922
  let u = a.options.findIndex((c) => !c.dataRef.current.disabled);
5912
5923
  u !== -1 && (a.activeOptionIndex = u);
5913
5924
  }
5914
- let l = n.focus === X.Specific ? n.idx : rt(n, { resolveItems: () => a.options, resolveActiveIndex: () => a.activeOptionIndex, resolveId: (u) => u.id, resolveDisabled: (u) => u.dataRef.current.disabled }), s = (i = n.trigger) != null ? i : 2;
5925
+ let l = n.focus === J.Specific ? n.idx : rt(n, { resolveItems: () => a.options, resolveActiveIndex: () => a.activeOptionIndex, resolveId: (u) => u.id, resolveDisabled: (u) => u.dataRef.current.disabled }), s = (i = n.trigger) != null ? i : 2;
5915
5926
  return t.activeOptionIndex === l && t.activationTrigger === s ? t : { ...t, ...a, isTyping: !1, activeOptionIndex: l, activationTrigger: s, __demoMode: !1 };
5916
5927
  }, 4: (t, n) => {
5917
5928
  var e, r, o, i;
@@ -5940,9 +5951,9 @@ let rh = { 1(t) {
5940
5951
  return { ...t, activeOptionIndex: o, virtual: { options: n.options, disabled: (r = n.disabled) != null ? r : () => !1 } };
5941
5952
  }, 9: (t, n) => t.inputElement === n.element ? t : { ...t, inputElement: n.element }, 10: (t, n) => t.buttonElement === n.element ? t : { ...t, buttonElement: n.element }, 11: (t, n) => t.optionsElement === n.element ? t : { ...t, optionsElement: n.element }, 12(t) {
5942
5953
  return t.inputPositionState.kind !== "Tracked" ? t : { ...t, inputPositionState: Ue.Moved };
5943
- } }, oh = class kl extends ir {
5954
+ } }, ih = class kl extends ir {
5944
5955
  constructor(n) {
5945
- super(n), Xi(this, "actions", { onChange: (e) => {
5956
+ super(n), Ji(this, "actions", { onChange: (e) => {
5946
5957
  let { onChange: r, compare: o, mode: i, value: a } = this.state.dataRef.current;
5947
5958
  return Te(i, { 0: () => r?.(e), 1: () => {
5948
5959
  let l = a.slice(), s = l.findIndex((u) => o(u, e));
@@ -5967,7 +5978,7 @@ let rh = { 1(t) {
5967
5978
  let { dataRef: r } = this.state.options[e];
5968
5979
  this.actions.onChange(r.current.value);
5969
5980
  }
5970
- this.actions.goToOption({ focus: X.Specific, idx: e });
5981
+ this.actions.goToOption({ focus: J.Specific, idx: e });
5971
5982
  }
5972
5983
  }, setInputElement: (e) => {
5973
5984
  this.send({ type: 9, element: e });
@@ -5975,7 +5986,7 @@ let rh = { 1(t) {
5975
5986
  this.send({ type: 10, element: e });
5976
5987
  }, setOptionsElement: (e) => {
5977
5988
  this.send({ type: 11, element: e });
5978
- } }), Xi(this, "selectors", { activeDescendantId: (e) => {
5989
+ } }), Ji(this, "selectors", { activeDescendantId: (e) => {
5979
5990
  var r, o;
5980
5991
  let i = this.selectors.activeOptionIndex(e);
5981
5992
  if (i !== null) return e.virtual ? (o = e.options.find((a) => !a.dataRef.current.disabled && e.dataRef.current.compare(a.dataRef.current.value, e.virtual.options[i]))) == null ? void 0 : o.id : (r = e.options[i]) == null ? void 0 : r.id;
@@ -6022,7 +6033,7 @@ let rh = { 1(t) {
6022
6033
  return new kl({ id: n, dataRef: { current: {} }, comboboxState: r ? 0 : 1, isTyping: !1, options: [], virtual: e ? { options: e.options, disabled: (o = e.disabled) != null ? o : () => !1 } : null, activeOptionIndex: null, activationTrigger: 2, inputElement: null, buttonElement: null, optionsElement: null, __demoMode: r, inputPositionState: Ue.Idle });
6023
6034
  }
6024
6035
  reduce(n, e) {
6025
- return Te(e.type, rh, n, e);
6036
+ return Te(e.type, oh, n, e);
6026
6037
  }
6027
6038
  };
6028
6039
  const Il = me(null);
@@ -6035,7 +6046,7 @@ function hn(t) {
6035
6046
  return n;
6036
6047
  }
6037
6048
  function Al({ id: t, virtual: n = null, __demoMode: e = !1 }) {
6038
- let r = Ce(() => oh.new({ id: t, virtual: n, __demoMode: e }), []);
6049
+ let r = Ce(() => ih.new({ id: t, virtual: n, __demoMode: e }), []);
6039
6050
  return mr(() => r.dispose()), r;
6040
6051
  }
6041
6052
  let sn = me(null);
@@ -6049,13 +6060,13 @@ function Ut(t) {
6049
6060
  return n;
6050
6061
  }
6051
6062
  let Pl = me(null);
6052
- function ih(t) {
6063
+ function ah(t) {
6053
6064
  let n = hn("VirtualProvider"), e = Ut("VirtualProvider"), { options: r } = e.virtual, o = se(n, (p) => p.optionsElement), [i, a] = Ce(() => {
6054
6065
  let p = o;
6055
6066
  if (!p) return [0, 0];
6056
6067
  let g = window.getComputedStyle(p);
6057
6068
  return [parseFloat(g.paddingBlockStart || g.paddingTop), parseFloat(g.paddingBlockEnd || g.paddingBottom)];
6058
- }, [o]), l = gf({ enabled: r.length !== 0, scrollPaddingStart: i, scrollPaddingEnd: a, count: r.length, estimateSize() {
6069
+ }, [o]), l = vf({ enabled: r.length !== 0, scrollPaddingStart: i, scrollPaddingEnd: a, count: r.length, estimateSize() {
6059
6070
  return 40;
6060
6071
  }, getScrollElement() {
6061
6072
  return n.state.optionsElement;
@@ -6071,8 +6082,8 @@ function ih(t) {
6071
6082
  return V.createElement(ut, { key: p.key }, V.cloneElement((g = t.children) == null ? void 0 : g.call(t, { ...t.slot, option: r[p.index] }), { key: `${s}-${p.key}`, "data-index": p.index, "aria-setsize": r.length, "aria-posinset": p.index + 1, style: { position: "absolute", top: 0, left: 0, transform: `translateY(${p.start}px)`, overflowAnchor: "none" } }));
6072
6083
  })));
6073
6084
  }
6074
- let ah = ut;
6075
- function lh(t, n) {
6085
+ let lh = ut;
6086
+ function sh(t, n) {
6076
6087
  let e = Ae(), r = er(), { value: o, defaultValue: i, onChange: a, form: l, name: s, by: u, invalid: c = !1, disabled: v = r || !1, onClose: m, __demoMode: p = !1, multiple: g = !1, immediate: b = !1, virtual: x = null, nullable: C, ...O } = t, I = Ia(i), [F = g ? [] : void 0, R] = ka(o, a, I), _ = Al({ id: e, virtual: x, __demoMode: p }), j = ae({ static: !1, hold: !1 }), T = $a(u), N = q((ie) => x ? u === null ? x.options.indexOf(ie) : x.options.findIndex((De) => T(De, ie)) : _.state.options.findIndex((De) => T(De.dataRef.current.value, ie))), S = ce((ie) => Te(L.mode, { [We.Multi]: () => F.some((De) => T(De, ie)), [We.Single]: () => T(F, ie) }), [F]), y = se(_, (ie) => ie.virtual), E = q(() => m?.()), L = Ce(() => ({ __demoMode: p, immediate: b, optionsPropsRef: j, value: F, defaultValue: I, disabled: v, invalid: c, mode: g ? We.Multi : We.Single, virtual: x ? y : null, onChange: R, isSelected: S, calculateIndex: N, compare: T, onClose: E }), [p, b, j, F, I, v, c, g, x, y, R, S, N, T, E]);
6077
6088
  ve(() => {
6078
6089
  var ie;
@@ -6082,35 +6093,35 @@ function lh(t, n) {
6082
6093
  }, [L]);
6083
6094
  let [B, A, W, G] = se(_, (ie) => [ie.comboboxState, ie.buttonElement, ie.inputElement, ie.optionsElement]), P = Nt.get(null), U = se(P, ce((ie) => P.selectors.isTop(ie, e), [P, e]));
6084
6095
  yo(U, [A, W, G], () => _.actions.closeCombobox());
6085
- let oe = se(_, _.selectors.activeOptionIndex), D = se(_, _.selectors.activeOption), k = Ie({ open: B === de.Open, disabled: v, invalid: c, activeIndex: oe, activeOption: D, value: F }), [ne, J] = or(), fe = n === null ? {} : { ref: n }, $ = ce(() => {
6096
+ let oe = se(_, _.selectors.activeOptionIndex), D = se(_, _.selectors.activeOption), k = Ie({ open: B === de.Open, disabled: v, invalid: c, activeIndex: oe, activeOption: D, value: F }), [ne, X] = or(), fe = n === null ? {} : { ref: n }, $ = ce(() => {
6086
6097
  if (I !== void 0) return R?.(I);
6087
6098
  }, [R, I]), ee = Ee();
6088
- return V.createElement(J, { value: ne, props: { htmlFor: W?.id }, slot: { open: B === de.Open, disabled: v } }, V.createElement(Lo, null, V.createElement(sn.Provider, { value: L }, V.createElement(Il.Provider, { value: _ }, V.createElement(Fo, { value: Te(B, { [de.Open]: Ge.Open, [de.Closed]: Ge.Closed }) }, s != null && V.createElement(La, { disabled: v, data: F != null ? { [s]: F } : {}, form: l, onReset: $ }), ee({ ourProps: fe, theirProps: O, slot: k, defaultTag: ah, name: "Combobox" }))))));
6099
+ return V.createElement(X, { value: ne, props: { htmlFor: W?.id }, slot: { open: B === de.Open, disabled: v } }, V.createElement(Lo, null, V.createElement(sn.Provider, { value: L }, V.createElement(Il.Provider, { value: _ }, V.createElement(Fo, { value: Te(B, { [de.Open]: Ge.Open, [de.Closed]: Ge.Closed }) }, s != null && V.createElement(La, { disabled: v, data: F != null ? { [s]: F } : {}, form: l, onReset: $ }), ee({ ourProps: fe, theirProps: O, slot: k, defaultTag: lh, name: "Combobox" }))))));
6089
6100
  }
6090
- let sh = "input";
6091
- function ch(t, n) {
6101
+ let ch = "input";
6102
+ function uh(t, n) {
6092
6103
  var e, r;
6093
6104
  let o = hn("Combobox.Input"), i = Ut("Combobox.Input"), a = Ae(), l = po(), { id: s = l || `headlessui-combobox-input-${a}`, onChange: u, displayValue: c, disabled: v = i.disabled || !1, autoFocus: m = !1, type: p = "text", ...g } = t, b = ae(null), x = ke(b, n, Po(), o.actions.setInputElement), [C, O] = se(o, (k) => [k.comboboxState, k.isTyping]), I = bt(), F = q(() => {
6094
- o.actions.onChange(null), o.state.optionsElement && (o.state.optionsElement.scrollTop = 0), o.actions.goToOption({ focus: X.Nothing });
6105
+ o.actions.onChange(null), o.state.optionsElement && (o.state.optionsElement.scrollTop = 0), o.actions.goToOption({ focus: J.Nothing });
6095
6106
  }), R = Ce(() => {
6096
6107
  var k;
6097
6108
  return typeof c == "function" && i.value !== void 0 ? (k = c(i.value)) != null ? k : "" : typeof i.value == "string" ? i.value : "";
6098
6109
  }, [i.value, c]);
6099
- Li(([k, ne], [J, fe]) => {
6110
+ Li(([k, ne], [X, fe]) => {
6100
6111
  if (o.state.isTyping) return;
6101
6112
  let $ = b.current;
6102
- $ && ((fe === de.Open && ne === de.Closed || k !== J) && ($.value = k), requestAnimationFrame(() => {
6103
- if (o.state.isTyping || !$ || Jn($)) return;
6113
+ $ && ((fe === de.Open && ne === de.Closed || k !== X) && ($.value = k), requestAnimationFrame(() => {
6114
+ if (o.state.isTyping || !$ || Xn($)) return;
6104
6115
  let { selectionStart: ee, selectionEnd: ie } = $;
6105
6116
  Math.abs((ie ?? 0) - (ee ?? 0)) === 0 && ee === 0 && $.setSelectionRange($.value.length, $.value.length);
6106
6117
  }));
6107
6118
  }, [R, C, O]), Li(([k], [ne]) => {
6108
6119
  if (k === de.Open && ne === de.Closed) {
6109
6120
  if (o.state.isTyping) return;
6110
- let J = b.current;
6111
- if (!J) return;
6112
- let fe = J.value, { selectionStart: $, selectionEnd: ee, selectionDirection: ie } = J;
6113
- J.value = "", J.value = fe, ie !== null ? J.setSelectionRange($, ee, ie) : J.setSelectionRange($, ee);
6121
+ let X = b.current;
6122
+ if (!X) return;
6123
+ let fe = X.value, { selectionStart: $, selectionEnd: ee, selectionDirection: ie } = X;
6124
+ X.value = "", X.value = fe, ie !== null ? X.setSelectionRange($, ee, ie) : X.setSelectionRange($, ee);
6114
6125
  }
6115
6126
  }, [C]);
6116
6127
  let _ = ae(!1), j = q(() => {
@@ -6130,21 +6141,21 @@ function ch(t, n) {
6130
6141
  o.actions.selectActiveOption(), i.mode === We.Single && o.actions.closeCombobox();
6131
6142
  break;
6132
6143
  case te.ArrowDown:
6133
- return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus: X.Next }), [de.Closed]: () => o.actions.openCombobox() });
6144
+ return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus: J.Next }), [de.Closed]: () => o.actions.openCombobox() });
6134
6145
  case te.ArrowUp:
6135
- return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus: X.Previous }), [de.Closed]: () => {
6136
- ze(() => o.actions.openCombobox()), i.value || o.actions.goToOption({ focus: X.Last });
6146
+ return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus: J.Previous }), [de.Closed]: () => {
6147
+ ze(() => o.actions.openCombobox()), i.value || o.actions.goToOption({ focus: J.Last });
6137
6148
  } });
6138
6149
  case te.Home:
6139
6150
  if (o.state.comboboxState === de.Closed || k.shiftKey) break;
6140
- return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: X.First });
6151
+ return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.First });
6141
6152
  case te.PageUp:
6142
- return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: X.First });
6153
+ return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.First });
6143
6154
  case te.End:
6144
6155
  if (o.state.comboboxState === de.Closed || k.shiftKey) break;
6145
- return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: X.Last });
6156
+ return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.Last });
6146
6157
  case te.PageDown:
6147
- return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: X.Last });
6158
+ return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.Last });
6148
6159
  case te.Escape:
6149
6160
  return o.state.comboboxState !== de.Open ? void 0 : (k.preventDefault(), o.state.optionsElement && !i.optionsPropsRef.current.static && k.stopPropagation(), i.mode === We.Single && i.value === null && F(), o.actions.closeCombobox());
6150
6161
  case te.Tab:
@@ -6155,25 +6166,25 @@ function ch(t, n) {
6155
6166
  }), S = q((k) => {
6156
6167
  u?.(k), i.mode === We.Single && k.target.value === "" && F(), o.actions.openCombobox();
6157
6168
  }), y = q((k) => {
6158
- var ne, J, fe;
6169
+ var ne, X, fe;
6159
6170
  let $ = (ne = k.relatedTarget) != null ? ne : Et.find((ee) => ee !== k.currentTarget);
6160
- if (!((J = o.state.optionsElement) != null && J.contains($)) && !((fe = o.state.buttonElement) != null && fe.contains($)) && o.state.comboboxState === de.Open) return k.preventDefault(), i.mode === We.Single && i.value === null && F(), o.actions.closeCombobox();
6171
+ if (!((X = o.state.optionsElement) != null && X.contains($)) && !((fe = o.state.buttonElement) != null && fe.contains($)) && o.state.comboboxState === de.Open) return k.preventDefault(), i.mode === We.Single && i.value === null && F(), o.actions.closeCombobox();
6161
6172
  }), E = q((k) => {
6162
- var ne, J, fe;
6173
+ var ne, X, fe;
6163
6174
  let $ = (ne = k.relatedTarget) != null ? ne : Et.find((ee) => ee !== k.currentTarget);
6164
- (J = o.state.buttonElement) != null && J.contains($) || (fe = o.state.optionsElement) != null && fe.contains($) || i.disabled || i.immediate && o.state.comboboxState !== de.Open && I.microTask(() => {
6175
+ (X = o.state.buttonElement) != null && X.contains($) || (fe = o.state.optionsElement) != null && fe.contains($) || i.disabled || i.immediate && o.state.comboboxState !== de.Open && I.microTask(() => {
6165
6176
  ze(() => o.actions.openCombobox()), o.actions.setActivationTrigger(it.Focus);
6166
6177
  });
6167
- }), L = fn(), B = za(), { isFocused: A, focusProps: W } = Xn({ autoFocus: m }), { isHovered: G, hoverProps: P } = qn({ isDisabled: v }), U = se(o, (k) => k.optionsElement), oe = Ie({ open: C === de.Open, disabled: v, invalid: i.invalid, hover: G, focus: A, autofocus: m }), D = jt({ ref: x, id: s, role: "combobox", type: p, "aria-controls": U?.id, "aria-expanded": C === de.Open, "aria-activedescendant": se(o, o.selectors.activeDescendantId), "aria-labelledby": L, "aria-describedby": B, "aria-autocomplete": "list", defaultValue: (r = (e = t.defaultValue) != null ? e : i.defaultValue !== void 0 ? c?.(i.defaultValue) : null) != null ? r : i.defaultValue, disabled: v || void 0, autoFocus: m, onCompositionStart: j, onCompositionEnd: T, onKeyDown: N, onChange: S, onFocus: E, onBlur: y }, W, P);
6168
- return Ee()({ ourProps: D, theirProps: g, slot: oe, defaultTag: sh, name: "Combobox.Input" });
6178
+ }), L = fn(), B = za(), { isFocused: A, focusProps: W } = Jn({ autoFocus: m }), { isHovered: G, hoverProps: P } = qn({ isDisabled: v }), U = se(o, (k) => k.optionsElement), oe = Ie({ open: C === de.Open, disabled: v, invalid: i.invalid, hover: G, focus: A, autofocus: m }), D = jt({ ref: x, id: s, role: "combobox", type: p, "aria-controls": U?.id, "aria-expanded": C === de.Open, "aria-activedescendant": se(o, o.selectors.activeDescendantId), "aria-labelledby": L, "aria-describedby": B, "aria-autocomplete": "list", defaultValue: (r = (e = t.defaultValue) != null ? e : i.defaultValue !== void 0 ? c?.(i.defaultValue) : null) != null ? r : i.defaultValue, disabled: v || void 0, autoFocus: m, onCompositionStart: j, onCompositionEnd: T, onKeyDown: N, onChange: S, onFocus: E, onBlur: y }, W, P);
6179
+ return Ee()({ ourProps: D, theirProps: g, slot: oe, defaultTag: ch, name: "Combobox.Input" });
6169
6180
  }
6170
- let uh = "button";
6171
- function dh(t, n) {
6172
- let e = hn("Combobox.Button"), r = Ut("Combobox.Button"), [o, i] = be(null), a = ke(n, i, e.actions.setButtonElement), l = Ae(), { id: s = `headlessui-combobox-button-${l}`, disabled: u = r.disabled || !1, autoFocus: c = !1, ...v } = t, [m, p, g] = se(e, (E) => [E.comboboxState, E.inputElement, E.optionsElement]), b = Ja(p), x = m === de.Open;
6181
+ let dh = "button";
6182
+ function fh(t, n) {
6183
+ let e = hn("Combobox.Button"), r = Ut("Combobox.Button"), [o, i] = be(null), a = ke(n, i, e.actions.setButtonElement), l = Ae(), { id: s = `headlessui-combobox-button-${l}`, disabled: u = r.disabled || !1, autoFocus: c = !1, ...v } = t, [m, p, g] = se(e, (E) => [E.comboboxState, E.inputElement, E.optionsElement]), b = Xa(p), x = m === de.Open;
6173
6184
  wo(x, { trigger: o, action: ce((E) => {
6174
- if (o != null && o.contains(E.target) || p != null && p.contains(E.target)) return Xe.Ignore;
6185
+ if (o != null && o.contains(E.target) || p != null && p.contains(E.target)) return Je.Ignore;
6175
6186
  let L = E.target.closest('[role="option"]:not([data-disabled])');
6176
- return et(L) ? Xe.Select(L) : g != null && g.contains(E.target) ? Xe.Ignore : Xe.Close;
6187
+ return et(L) ? Je.Select(L) : g != null && g.contains(E.target) ? Je.Ignore : Je.Close;
6177
6188
  }, [o, p, g]), close: e.actions.closeCombobox, select: e.actions.selectActiveOption });
6178
6189
  let C = q((E) => {
6179
6190
  switch (E.key) {
@@ -6182,10 +6193,10 @@ function dh(t, n) {
6182
6193
  E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && ze(() => e.actions.openCombobox()), b();
6183
6194
  return;
6184
6195
  case te.ArrowDown:
6185
- E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus: X.First })), b();
6196
+ E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus: J.First })), b();
6186
6197
  return;
6187
6198
  case te.ArrowUp:
6188
- E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus: X.Last })), b();
6199
+ E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus: J.Last })), b();
6189
6200
  return;
6190
6201
  case te.Escape:
6191
6202
  if (e.state.comboboxState !== de.Open) return;
@@ -6196,11 +6207,11 @@ function dh(t, n) {
6196
6207
  }
6197
6208
  }), O = go(() => {
6198
6209
  e.state.comboboxState === de.Open ? e.actions.closeCombobox() : e.actions.openCombobox(), b();
6199
- }), I = fn([s]), { isFocusVisible: F, focusProps: R } = Xn({ autoFocus: c }), { isHovered: _, hoverProps: j } = qn({ isDisabled: u }), { pressed: T, pressProps: N } = uo({ disabled: u }), S = Ie({ open: m === de.Open, active: T || m === de.Open, disabled: u, invalid: r.invalid, value: r.value, hover: _, focus: F }), y = jt({ ref: a, id: s, type: xo(t, o), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": m === de.Open, "aria-labelledby": I, disabled: u || void 0, autoFocus: c, onKeyDown: C }, O, R, j, N);
6200
- return Ee()({ ourProps: y, theirProps: v, slot: S, defaultTag: uh, name: "Combobox.Button" });
6210
+ }), I = fn([s]), { isFocusVisible: F, focusProps: R } = Jn({ autoFocus: c }), { isHovered: _, hoverProps: j } = qn({ isDisabled: u }), { pressed: T, pressProps: N } = uo({ disabled: u }), S = Ie({ open: m === de.Open, active: T || m === de.Open, disabled: u, invalid: r.invalid, value: r.value, hover: _, focus: F }), y = jt({ ref: a, id: s, type: xo(t, o), tabIndex: -1, "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": m === de.Open, "aria-labelledby": I, disabled: u || void 0, autoFocus: c, onKeyDown: C }, O, R, j, N);
6211
+ return Ee()({ ourProps: y, theirProps: v, slot: S, defaultTag: dh, name: "Combobox.Button" });
6201
6212
  }
6202
- let fh = "div", ph = Tt.RenderStrategy | Tt.Static;
6203
- function mh(t, n) {
6213
+ let ph = "div", mh = Tt.RenderStrategy | Tt.Static;
6214
+ function hh(t, n) {
6204
6215
  var e, r, o;
6205
6216
  let i = Ae(), { id: a = `headlessui-combobox-options-${i}`, hold: l = !1, anchor: s, portal: u = !1, modal: c = !0, transition: v = !1, ...m } = t, p = hn("Combobox.Options"), g = Ut("Combobox.Options"), b = Ao(s);
6206
6217
  b && (u = !0);
@@ -6225,19 +6236,19 @@ function mh(t, n) {
6225
6236
  p.actions.setActivationTrigger(it.Pointer);
6226
6237
  }), k = q((Oe) => {
6227
6238
  Oe.preventDefault(), p.actions.setActivationTrigger(it.Pointer);
6228
- }), ne = jt(b ? F() : {}, { "aria-labelledby": U, role: "listbox", "aria-multiselectable": g.mode === We.Multi ? !0 : void 0, id: a, ref: R, style: { ...m.style, ...C, "--input-width": Fn(B, j, !0).width, "--button-width": Fn(B, T, !0).width }, onWheel: S === it.Pointer ? void 0 : D, onMouseDown: k, ...Co(A) }), J = B && _ === de.Closed && !t.static, fe = Gn(J, (e = g.virtual) == null ? void 0 : e.options), $ = Gn(J, g.value), ee = ce((Oe) => g.compare($, Oe), [g.compare, $]), ie = Ce(() => {
6239
+ }), ne = jt(b ? F() : {}, { "aria-labelledby": U, role: "listbox", "aria-multiselectable": g.mode === We.Multi ? !0 : void 0, id: a, ref: R, style: { ...m.style, ...C, "--input-width": Fn(B, j, !0).width, "--button-width": Fn(B, T, !0).width }, onWheel: S === it.Pointer ? void 0 : D, onMouseDown: k, ...Co(A) }), X = B && _ === de.Closed && !t.static, fe = Gn(X, (e = g.virtual) == null ? void 0 : e.options), $ = Gn(X, g.value), ee = ce((Oe) => g.compare($, Oe), [g.compare, $]), ie = Ce(() => {
6229
6240
  if (!g.virtual) return g;
6230
6241
  if (fe === void 0) throw new Error("Missing `options` in virtual mode");
6231
6242
  return fe !== g.virtual.options ? { ...g, virtual: { ...g.virtual, options: fe } } : g;
6232
6243
  }, [g, fe, (r = g.virtual) == null ? void 0 : r.options]);
6233
- g.virtual && Object.assign(m, { children: V.createElement(sn.Provider, { value: ie }, V.createElement(ih, { slot: oe }, m.children)) });
6244
+ g.virtual && Object.assign(m, { children: V.createElement(sn.Provider, { value: ie }, V.createElement(ah, { slot: oe }, m.children)) });
6234
6245
  let De = Ee(), Yt = Ce(() => g.mode === We.Multi ? g : { ...g, isSelected: ee }, [g, ee]);
6235
- return V.createElement(Ho, { enabled: u ? t.static || B : !1, ownerDocument: y }, V.createElement(sn.Provider, { value: Yt }, De({ ourProps: ne, theirProps: { ...m, children: V.createElement(Vm, { freeze: J }, typeof m.children == "function" ? (o = m.children) == null ? void 0 : o.call(m, oe) : m.children) }, slot: oe, defaultTag: fh, features: ph, visible: P, name: "Combobox.Options" })));
6246
+ return V.createElement(Ho, { enabled: u ? t.static || B : !1, ownerDocument: y }, V.createElement(sn.Provider, { value: Yt }, De({ ourProps: ne, theirProps: { ...m, children: V.createElement($m, { freeze: X }, typeof m.children == "function" ? (o = m.children) == null ? void 0 : o.call(m, oe) : m.children) }, slot: oe, defaultTag: ph, features: mh, visible: P, name: "Combobox.Options" })));
6236
6247
  }
6237
- let hh = "div";
6238
- function gh(t, n) {
6248
+ let gh = "div";
6249
+ function vh(t, n) {
6239
6250
  var e, r, o;
6240
- let i = Ut("Combobox.Option"), a = hn("Combobox.Option"), l = Ae(), { id: s = `headlessui-combobox-option-${l}`, value: u, disabled: c = (o = (r = (e = i.virtual) == null ? void 0 : e.disabled) == null ? void 0 : r.call(e, u)) != null ? o : !1, order: v = null, ...m } = t, [p] = se(a, (A) => [A.inputElement]), g = Ja(p), b = se(a, ce((A) => a.selectors.isActive(A, u, s), [u, s])), x = i.isSelected(u), C = ae(null), O = yt({ disabled: c, value: u, domRef: C, order: v }), I = ye(Pl), F = ke(n, C, I ? I.measureElement : null), R = q(() => {
6251
+ let i = Ut("Combobox.Option"), a = hn("Combobox.Option"), l = Ae(), { id: s = `headlessui-combobox-option-${l}`, value: u, disabled: c = (o = (r = (e = i.virtual) == null ? void 0 : e.disabled) == null ? void 0 : r.call(e, u)) != null ? o : !1, order: v = null, ...m } = t, [p] = se(a, (A) => [A.inputElement]), g = Xa(p), b = se(a, ce((A) => a.selectors.isActive(A, u, s), [u, s])), x = i.isSelected(u), C = ae(null), O = yt({ disabled: c, value: u, domRef: C, order: v }), I = ye(Pl), F = ke(n, C, I ? I.measureElement : null), R = q(() => {
6241
6252
  a.actions.setIsTyping(!1), a.actions.onChange(u);
6242
6253
  });
6243
6254
  ve(() => a.actions.registerOption(s, O), [O, s]);
@@ -6251,21 +6262,21 @@ function gh(t, n) {
6251
6262
  let j = q((A) => {
6252
6263
  A.preventDefault(), A.button === ho.Left && (c || (R(), Kr() || requestAnimationFrame(() => g()), i.mode === We.Single && a.actions.closeCombobox()));
6253
6264
  }), T = q(() => {
6254
- if (c) return a.actions.goToOption({ focus: X.Nothing });
6265
+ if (c) return a.actions.goToOption({ focus: J.Nothing });
6255
6266
  let A = i.calculateIndex(u);
6256
- a.actions.goToOption({ focus: X.Specific, idx: A });
6267
+ a.actions.goToOption({ focus: J.Specific, idx: A });
6257
6268
  }), N = So(), S = q((A) => N.update(A)), y = q((A) => {
6258
6269
  if (!N.wasMoved(A) || c || b && a.state.activationTrigger === it.Pointer) return;
6259
6270
  let W = i.calculateIndex(u);
6260
- a.actions.goToOption({ focus: X.Specific, idx: W }, it.Pointer);
6271
+ a.actions.goToOption({ focus: J.Specific, idx: W }, it.Pointer);
6261
6272
  }), E = q((A) => {
6262
- N.wasMoved(A) && (c || b && (i.optionsPropsRef.current.hold || a.state.activationTrigger === it.Pointer && a.actions.goToOption({ focus: X.Nothing })));
6273
+ N.wasMoved(A) && (c || b && (i.optionsPropsRef.current.hold || a.state.activationTrigger === it.Pointer && a.actions.goToOption({ focus: J.Nothing })));
6263
6274
  }), L = Ie({ active: b, focus: b, selected: x, disabled: c }), B = { id: s, ref: F, role: "option", tabIndex: c === !0 ? void 0 : -1, "aria-disabled": c === !0 ? !0 : void 0, "aria-selected": x, disabled: void 0, onMouseDown: j, onFocus: T, onPointerEnter: S, onMouseEnter: S, onPointerMove: y, onMouseMove: y, onPointerLeave: E, onMouseLeave: E };
6264
- return Ee()({ ourProps: B, theirProps: m, slot: L, defaultTag: hh, name: "Combobox.Option" });
6275
+ return Ee()({ ourProps: B, theirProps: m, slot: L, defaultTag: gh, name: "Combobox.Option" });
6265
6276
  }
6266
- let vh = Se(lh), bh = Se(dh), yh = Se(ch), wh = Ba, xh = Se(mh), Eh = Se(gh);
6267
- Object.assign(vh, { Input: yh, Button: bh, Label: wh, Options: xh, Option: Eh });
6268
- let Ji = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
6277
+ let bh = Se(sh), yh = Se(fh), wh = Se(uh), xh = Ba, Eh = Se(hh), Sh = Se(vh);
6278
+ Object.assign(bh, { Input: wh, Button: yh, Label: xh, Options: Eh, Option: Sh });
6279
+ let Xi = /([\u2700-\u27BF]|[\uE000-\uF8FF]|\uD83C[\uDC00-\uDFFF]|\uD83D[\uDC00-\uDFFF]|[\u2011-\u26FF]|\uD83E[\uDD10-\uDDFF])/g;
6269
6280
  function ea(t) {
6270
6281
  var n, e;
6271
6282
  let r = (n = t.innerText) != null ? n : "", o = t.cloneNode(!0);
@@ -6273,9 +6284,9 @@ function ea(t) {
6273
6284
  let i = !1;
6274
6285
  for (let l of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) l.remove(), i = !0;
6275
6286
  let a = i ? (e = o.innerText) != null ? e : "" : r;
6276
- return Ji.test(a) && (a = a.replace(Ji, "")), a;
6287
+ return Xi.test(a) && (a = a.replace(Xi, "")), a;
6277
6288
  }
6278
- function Sh(t) {
6289
+ function Ch(t) {
6279
6290
  let n = t.getAttribute("aria-label");
6280
6291
  if (typeof n == "string") return n.trim();
6281
6292
  let e = t.getAttribute("aria-labelledby");
@@ -6299,19 +6310,19 @@ function jl(t) {
6299
6310
  if (!r) return "";
6300
6311
  let o = r.innerText;
6301
6312
  if (n.current === o) return e.current;
6302
- let i = Sh(r).trim().toLowerCase();
6313
+ let i = Ch(r).trim().toLowerCase();
6303
6314
  return n.current = o, e.current = i, i;
6304
6315
  });
6305
6316
  }
6306
- var Ch = Object.defineProperty, Oh = (t, n, e) => n in t ? Ch(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, ta = (t, n, e) => (Oh(t, typeof n != "symbol" ? n + "" : n, e), e), Le = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(Le || {}), mt = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(mt || {}), An = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(An || {}), Nl = ((t) => (t[t.OpenListbox = 0] = "OpenListbox", t[t.CloseListbox = 1] = "CloseListbox", t[t.GoToOption = 2] = "GoToOption", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.SelectOption = 5] = "SelectOption", t[t.RegisterOptions = 6] = "RegisterOptions", t[t.UnregisterOptions = 7] = "UnregisterOptions", t[t.SetButtonElement = 8] = "SetButtonElement", t[t.SetOptionsElement = 9] = "SetOptionsElement", t[t.SortOptions = 10] = "SortOptions", t[t.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", t))(Nl || {});
6317
+ var Oh = Object.defineProperty, Mh = (t, n, e) => n in t ? Oh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, ta = (t, n, e) => (Mh(t, typeof n != "symbol" ? n + "" : n, e), e), Le = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(Le || {}), mt = ((t) => (t[t.Single = 0] = "Single", t[t.Multi = 1] = "Multi", t))(mt || {}), An = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(An || {}), Nl = ((t) => (t[t.OpenListbox = 0] = "OpenListbox", t[t.CloseListbox = 1] = "CloseListbox", t[t.GoToOption = 2] = "GoToOption", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.SelectOption = 5] = "SelectOption", t[t.RegisterOptions = 6] = "RegisterOptions", t[t.UnregisterOptions = 7] = "UnregisterOptions", t[t.SetButtonElement = 8] = "SetButtonElement", t[t.SetOptionsElement = 9] = "SetOptionsElement", t[t.SortOptions = 10] = "SortOptions", t[t.MarkButtonAsMoved = 11] = "MarkButtonAsMoved", t))(Nl || {});
6307
6318
  function na(t, n = (e) => e) {
6308
6319
  let e = t.activeOptionIndex !== null ? t.options[t.activeOptionIndex] : null, r = cr(n(t.options.slice()), (i) => i.dataRef.current.domRef.current), o = e ? r.indexOf(e) : null;
6309
6320
  return o === -1 && (o = null), { options: r, activeOptionIndex: o };
6310
6321
  }
6311
- let Mh = { 1(t) {
6322
+ let Dh = { 1(t) {
6312
6323
  if (t.dataRef.current.disabled || t.listboxState === 1) return t;
6313
6324
  let n = t.buttonElement ? Ue.Tracked(hr(t.buttonElement)) : t.buttonPositionState;
6314
- return { ...t, activeOptionIndex: null, pendingFocus: { focus: X.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: n };
6325
+ return { ...t, activeOptionIndex: null, pendingFocus: { focus: J.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: n };
6315
6326
  }, 0(t, n) {
6316
6327
  if (t.dataRef.current.disabled || t.listboxState === 0) return t;
6317
6328
  let e = t.activeOptionIndex, { isSelected: r } = t.dataRef.current, o = t.options.findIndex((i) => r(i.dataRef.current.value));
@@ -6320,9 +6331,9 @@ let Mh = { 1(t) {
6320
6331
  var e, r, o, i, a;
6321
6332
  if (t.dataRef.current.disabled || t.listboxState === 1) return t;
6322
6333
  let l = { ...t, searchQuery: "", activationTrigger: (e = n.trigger) != null ? e : 1, __demoMode: !1 };
6323
- if (n.focus === X.Nothing) return { ...l, activeOptionIndex: null };
6324
- if (n.focus === X.Specific) return { ...l, activeOptionIndex: t.options.findIndex((c) => c.id === n.id) };
6325
- if (n.focus === X.Previous) {
6334
+ if (n.focus === J.Nothing) return { ...l, activeOptionIndex: null };
6335
+ if (n.focus === J.Specific) return { ...l, activeOptionIndex: t.options.findIndex((c) => c.id === n.id) };
6336
+ if (n.focus === J.Previous) {
6326
6337
  let c = t.activeOptionIndex;
6327
6338
  if (c !== null) {
6328
6339
  let v = t.options[c].dataRef.current.domRef, m = rt(n, { resolveItems: () => t.options, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
@@ -6331,7 +6342,7 @@ let Mh = { 1(t) {
6331
6342
  if (((r = v.current) == null ? void 0 : r.previousElementSibling) === p.current || ((o = p.current) == null ? void 0 : o.previousElementSibling) === null) return { ...l, activeOptionIndex: m };
6332
6343
  }
6333
6344
  }
6334
- } else if (n.focus === X.Next) {
6345
+ } else if (n.focus === J.Next) {
6335
6346
  let c = t.activeOptionIndex;
6336
6347
  if (c !== null) {
6337
6348
  let v = t.options[c].dataRef.current.domRef, m = rt(n, { resolveItems: () => t.options, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
@@ -6356,14 +6367,14 @@ let Mh = { 1(t) {
6356
6367
  return t.dataRef.current.mode === 0 ? { ...t, frozenValue: !0 } : { ...t };
6357
6368
  }, 6: (t, n) => {
6358
6369
  let e = t.options.concat(n.options), r = t.activeOptionIndex;
6359
- if (t.pendingFocus.focus !== X.Nothing && (r = rt(t.pendingFocus, { resolveItems: () => e, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), t.activeOptionIndex === null) {
6370
+ if (t.pendingFocus.focus !== J.Nothing && (r = rt(t.pendingFocus, { resolveItems: () => e, resolveActiveIndex: () => t.activeOptionIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), t.activeOptionIndex === null) {
6360
6371
  let { isSelected: o } = t.dataRef.current;
6361
6372
  if (o) {
6362
6373
  let i = e.findIndex((a) => o?.(a.dataRef.current.value));
6363
6374
  i !== -1 && (r = i);
6364
6375
  }
6365
6376
  }
6366
- return { ...t, options: e, activeOptionIndex: r, pendingFocus: { focus: X.Nothing }, pendingShouldSort: !0 };
6377
+ return { ...t, options: e, activeOptionIndex: r, pendingFocus: { focus: J.Nothing }, pendingShouldSort: !0 };
6367
6378
  }, 7: (t, n) => {
6368
6379
  let e = t.options, r = [], o = new Set(n.options);
6369
6380
  for (let [i, a] of e.entries()) if (o.has(a.id) && (r.push(i), o.delete(a.id), o.size === 0)) break;
@@ -6374,7 +6385,7 @@ let Mh = { 1(t) {
6374
6385
  return { ...t, options: e, activationTrigger: 1 };
6375
6386
  }, 8: (t, n) => t.buttonElement === n.element ? t : { ...t, buttonElement: n.element }, 9: (t, n) => t.optionsElement === n.element ? t : { ...t, optionsElement: n.element }, 10: (t) => t.pendingShouldSort ? { ...t, ...na(t), pendingShouldSort: !1 } : t, 11(t) {
6376
6387
  return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: Ue.Moved };
6377
- } }, Dh = class Ll extends ir {
6388
+ } }, Th = class Ll extends ir {
6378
6389
  constructor(n) {
6379
6390
  super(n), ta(this, "actions", { onChange: (e) => {
6380
6391
  let { onChange: r, compare: o, mode: i, value: a } = this.state.dataRef.current;
@@ -6382,17 +6393,17 @@ let Mh = { 1(t) {
6382
6393
  let l = a.slice(), s = l.findIndex((u) => o(u, e));
6383
6394
  return s === -1 ? l.push(e) : l.splice(s, 1), r?.(l);
6384
6395
  } });
6385
- }, registerOption: Jt(() => {
6396
+ }, registerOption: Xt(() => {
6386
6397
  let e = [], r = /* @__PURE__ */ new Set();
6387
6398
  return [(o, i) => {
6388
6399
  r.has(i) || (r.add(i), e.push({ id: o, dataRef: i }));
6389
6400
  }, () => (r.clear(), this.send({ type: 6, options: e.splice(0) }))];
6390
- }), unregisterOption: Jt(() => {
6401
+ }), unregisterOption: Xt(() => {
6391
6402
  let e = [];
6392
6403
  return [(r) => e.push(r), () => {
6393
6404
  this.send({ type: 7, options: e.splice(0) });
6394
6405
  }];
6395
- }), goToOption: Jt(() => {
6406
+ }), goToOption: Xt(() => {
6396
6407
  let e = null;
6397
6408
  return [(r, o) => {
6398
6409
  e = { type: 2, ...r, trigger: o };
@@ -6454,10 +6465,10 @@ let Mh = { 1(t) {
6454
6465
  });
6455
6466
  }
6456
6467
  static new({ id: n, __demoMode: e = !1 }) {
6457
- return new Ll({ id: n, dataRef: { current: {} }, listboxState: e ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: X.Nothing }, frozenValue: !1, __demoMode: e, buttonPositionState: Ue.Idle });
6468
+ return new Ll({ id: n, dataRef: { current: {} }, listboxState: e ? 0 : 1, options: [], searchQuery: "", activeOptionIndex: null, activationTrigger: 1, buttonElement: null, optionsElement: null, pendingShouldSort: !1, pendingFocus: { focus: J.Nothing }, frozenValue: !1, __demoMode: e, buttonPositionState: Ue.Idle });
6458
6469
  }
6459
6470
  reduce(n, e) {
6460
- return Te(e.type, Mh, n, e);
6471
+ return Te(e.type, Dh, n, e);
6461
6472
  }
6462
6473
  };
6463
6474
  const _l = me(null);
@@ -6470,7 +6481,7 @@ function Bo(t) {
6470
6481
  return n;
6471
6482
  }
6472
6483
  function Rl({ id: t, __demoMode: n = !1 }) {
6473
- let e = Ce(() => Dh.new({ id: t, __demoMode: n }), []);
6484
+ let e = Ce(() => Th.new({ id: t, __demoMode: n }), []);
6474
6485
  return mr(() => e.dispose()), e;
6475
6486
  }
6476
6487
  let gr = me(null);
@@ -6483,8 +6494,8 @@ function gn(t) {
6483
6494
  }
6484
6495
  return n;
6485
6496
  }
6486
- let Th = ut;
6487
- function kh(t, n) {
6497
+ let kh = ut;
6498
+ function Ih(t, n) {
6488
6499
  let e = Ae(), r = er(), { value: o, defaultValue: i, form: a, name: l, onChange: s, by: u, invalid: c = !1, disabled: v = r || !1, horizontal: m = !1, multiple: p = !1, __demoMode: g = !1, ...b } = t;
6489
6500
  const x = m ? "horizontal" : "vertical";
6490
6501
  let C = ke(n), O = Ia(i), [I = p ? [] : void 0, F] = ka(o, s, O), R = Rl({ id: e, __demoMode: g }), _ = ae({ static: !1, hold: !1 }), j = ae(/* @__PURE__ */ new Map()), T = $a(u), N = ce((k) => Te(S.mode, { [mt.Multi]: () => I.some((ne) => T(ne, k)), [mt.Single]: () => T(I, k) }), [I]), S = Ie({ value: I, disabled: v, invalid: c, mode: p ? mt.Multi : mt.Single, orientation: x, onChange: F, compare: T, isSelected: N, optionsPropsRef: _, listRef: j });
@@ -6498,43 +6509,39 @@ function kh(t, n) {
6498
6509
  let W = Ie({ open: y === Le.Open, disabled: v, invalid: c, value: I }), [G, P] = or({ inherit: !0 }), U = { ref: C }, oe = ce(() => {
6499
6510
  if (O !== void 0) return F?.(O);
6500
6511
  }, [F, O]), D = Ee();
6501
- return V.createElement(P, { value: G, props: { htmlFor: B?.id }, slot: { open: y === Le.Open, disabled: v } }, V.createElement(Lo, null, V.createElement(_l.Provider, { value: R }, V.createElement(gr.Provider, { value: S }, V.createElement(Fo, { value: Te(y, { [Le.Open]: Ge.Open, [Le.Closed]: Ge.Closed }) }, l != null && I != null && V.createElement(La, { disabled: v, data: { [l]: I }, form: a, onReset: oe }), D({ ourProps: U, theirProps: b, slot: W, defaultTag: Th, name: "Listbox" }))))));
6512
+ return V.createElement(P, { value: G, props: { htmlFor: B?.id }, slot: { open: y === Le.Open, disabled: v } }, V.createElement(Lo, null, V.createElement(_l.Provider, { value: R }, V.createElement(gr.Provider, { value: S }, V.createElement(Fo, { value: Te(y, { [Le.Open]: Ge.Open, [Le.Closed]: Ge.Closed }) }, l != null && I != null && V.createElement(La, { disabled: v, data: { [l]: I }, form: a, onReset: oe }), D({ ourProps: U, theirProps: b, slot: W, defaultTag: kh, name: "Listbox" }))))));
6502
6513
  }
6503
- let Ih = "button";
6504
- function Ah(t, n) {
6514
+ let Ah = "button";
6515
+ function Ph(t, n) {
6505
6516
  let e = Ae(), r = po(), o = gn("Listbox.Button"), i = Bo("Listbox.Button"), { id: a = r || `headlessui-listbox-button-${e}`, disabled: l = o.disabled || !1, autoFocus: s = !1, ...u } = t, c = ke(n, Po(), i.actions.setButtonElement), v = Cl(), [m, p, g] = se(i, (A) => [A.listboxState, A.buttonElement, A.optionsElement]), b = m === Le.Open;
6506
6517
  wo(b, { trigger: p, action: ce((A) => {
6507
- if (p != null && p.contains(A.target)) return Xe.Ignore;
6518
+ if (p != null && p.contains(A.target)) return Je.Ignore;
6508
6519
  let W = A.target.closest('[role="option"]:not([data-disabled])');
6509
- return et(W) ? Xe.Select(W) : g != null && g.contains(A.target) ? Xe.Ignore : Xe.Close;
6520
+ return et(W) ? Je.Select(W) : g != null && g.contains(A.target) ? Je.Ignore : Je.Close;
6510
6521
  }, [p, g]), close: i.actions.closeListbox, select: i.actions.selectActiveOption });
6511
6522
  let x = q((A) => {
6512
6523
  switch (A.key) {
6513
6524
  case te.Enter:
6514
- Rd(A.currentTarget);
6525
+ Fd(A.currentTarget);
6515
6526
  break;
6516
6527
  case te.Space:
6517
6528
  case te.ArrowDown:
6518
- A.preventDefault(), i.actions.openListbox({ focus: o.value ? X.Nothing : X.First });
6529
+ A.preventDefault(), i.actions.openListbox({ focus: o.value ? J.Nothing : J.First });
6519
6530
  break;
6520
6531
  case te.ArrowUp:
6521
- A.preventDefault(), i.actions.openListbox({ focus: o.value ? X.Nothing : X.Last });
6532
+ A.preventDefault(), i.actions.openListbox({ focus: o.value ? J.Nothing : J.Last });
6522
6533
  break;
6523
6534
  }
6524
6535
  }), C = q((A) => {
6525
- switch (A.key) {
6526
- case te.Space:
6527
- A.preventDefault();
6528
- break;
6529
- }
6536
+ A.key === te.Space && A.preventDefault();
6530
6537
  }), O = go((A) => {
6531
6538
  var W;
6532
- i.state.listboxState === Le.Open ? (ze(() => i.actions.closeListbox()), (W = i.state.buttonElement) == null || W.focus({ preventScroll: !0 })) : (A.preventDefault(), i.actions.openListbox({ focus: X.Nothing }));
6533
- }), I = q((A) => A.preventDefault()), F = fn([a]), R = za(), { isFocusVisible: _, focusProps: j } = Xn({ autoFocus: s }), { isHovered: T, hoverProps: N } = qn({ isDisabled: l }), { pressed: S, pressProps: y } = uo({ disabled: l }), E = Ie({ open: m === Le.Open, active: S || m === Le.Open, disabled: l, invalid: o.invalid, value: o.value, hover: T, focus: _, autofocus: s }), L = se(i, (A) => A.listboxState === Le.Open), B = jt(v(), { ref: c, id: a, type: xo(t, p), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": L, "aria-labelledby": F, "aria-describedby": R, disabled: l || void 0, autoFocus: s, onKeyDown: x, onKeyUp: C, onKeyPress: I }, O, j, N, y);
6534
- return Ee()({ ourProps: B, theirProps: u, slot: E, defaultTag: Ih, name: "Listbox.Button" });
6539
+ i.state.listboxState === Le.Open ? (ze(() => i.actions.closeListbox()), (W = i.state.buttonElement) == null || W.focus({ preventScroll: !0 })) : (A.preventDefault(), i.actions.openListbox({ focus: J.Nothing }));
6540
+ }), I = q((A) => A.preventDefault()), F = fn([a]), R = za(), { isFocusVisible: _, focusProps: j } = Jn({ autoFocus: s }), { isHovered: T, hoverProps: N } = qn({ isDisabled: l }), { pressed: S, pressProps: y } = uo({ disabled: l }), E = Ie({ open: m === Le.Open, active: S || m === Le.Open, disabled: l, invalid: o.invalid, value: o.value, hover: T, focus: _, autofocus: s }), L = se(i, (A) => A.listboxState === Le.Open), B = jt(v(), { ref: c, id: a, type: xo(t, p), "aria-haspopup": "listbox", "aria-controls": g?.id, "aria-expanded": L, "aria-labelledby": F, "aria-describedby": R, disabled: l || void 0, autoFocus: s, onKeyDown: x, onKeyUp: C, onKeyPress: I }, O, j, N, y);
6541
+ return Ee()({ ourProps: B, theirProps: u, slot: E, defaultTag: Ah, name: "Listbox.Button" });
6535
6542
  }
6536
- let Fl = me(!1), Ph = "div", jh = Tt.RenderStrategy | Tt.Static;
6537
- function Nh(t, n) {
6543
+ let Fl = me(!1), jh = "div", Nh = Tt.RenderStrategy | Tt.Static;
6544
+ function Lh(t, n) {
6538
6545
  let e = Ae(), { id: r = `headlessui-listbox-options-${e}`, anchor: o, portal: i = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Ao(o), [c, v] = be(null);
6539
6546
  u && (i = !0);
6540
6547
  let m = gn("Listbox.Options"), p = Bo("Listbox.Options"), [g, b, x, C] = se(p, ($) => [$.listboxState, $.buttonElement, $.optionsElement, $.__demoMode]), O = kt(b), I = kt(x), F = Ro(), [R, _] = Oo(l, c, F !== null ? (F & Ge.Open) === Ge.Open : g === Le.Open);
@@ -6556,7 +6563,7 @@ function Nh(t, n) {
6556
6563
  })(), [A, W] = No(B), G = jo(), P = ke(n, u ? A : null, p.actions.setOptionsElement, v), U = bt();
6557
6564
  we(() => {
6558
6565
  let $ = x;
6559
- $ && g === Le.Open && (Jn($) || $ == null || $.focus({ preventScroll: !0 }));
6566
+ $ && g === Le.Open && (Xn($) || $ == null || $.focus({ preventScroll: !0 }));
6560
6567
  }, [g, x]);
6561
6568
  let oe = q(($) => {
6562
6569
  var ee;
@@ -6567,15 +6574,15 @@ function Nh(t, n) {
6567
6574
  $.preventDefault(), $.stopPropagation(), p.actions.selectActiveOption();
6568
6575
  break;
6569
6576
  case Te(m.orientation, { vertical: te.ArrowDown, horizontal: te.ArrowRight }):
6570
- return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: X.Next });
6577
+ return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Next });
6571
6578
  case Te(m.orientation, { vertical: te.ArrowUp, horizontal: te.ArrowLeft }):
6572
- return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: X.Previous });
6579
+ return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Previous });
6573
6580
  case te.Home:
6574
6581
  case te.PageUp:
6575
- return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: X.First });
6582
+ return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.First });
6576
6583
  case te.End:
6577
6584
  case te.PageDown:
6578
- return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: X.Last });
6585
+ return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Last });
6579
6586
  case te.Escape:
6580
6587
  $.preventDefault(), $.stopPropagation(), ze(() => p.actions.closeListbox()), (ee = p.state.buttonElement) == null || ee.focus({ preventScroll: !0 });
6581
6588
  return;
@@ -6589,11 +6596,11 @@ function Nh(t, n) {
6589
6596
  }), D = se(p, ($) => {
6590
6597
  var ee;
6591
6598
  return (ee = $.buttonElement) == null ? void 0 : ee.id;
6592
- }), k = Ie({ open: g === Le.Open }), ne = jt(u ? G() : {}, { id: r, ref: P, "aria-activedescendant": se(p, p.selectors.activeDescendantId), "aria-multiselectable": m.mode === mt.Multi ? !0 : void 0, "aria-labelledby": D, "aria-orientation": m.orientation, onKeyDown: oe, role: "listbox", tabIndex: g === Le.Open ? 0 : void 0, style: { ...s.style, ...W, "--button-width": Fn(R, b, !0).width }, ...Co(_) }), J = Ee(), fe = Ce(() => m.mode === mt.Multi ? m : { ...m, isSelected: E }, [m, E]);
6593
- return V.createElement(Ho, { enabled: i ? t.static || R : !1, ownerDocument: O }, V.createElement(gr.Provider, { value: fe }, J({ ourProps: ne, theirProps: s, slot: k, defaultTag: Ph, features: jh, visible: N, name: "Listbox.Options" })));
6599
+ }), k = Ie({ open: g === Le.Open }), ne = jt(u ? G() : {}, { id: r, ref: P, "aria-activedescendant": se(p, p.selectors.activeDescendantId), "aria-multiselectable": m.mode === mt.Multi ? !0 : void 0, "aria-labelledby": D, "aria-orientation": m.orientation, onKeyDown: oe, role: "listbox", tabIndex: g === Le.Open ? 0 : void 0, style: { ...s.style, ...W, "--button-width": Fn(R, b, !0).width }, ...Co(_) }), X = Ee(), fe = Ce(() => m.mode === mt.Multi ? m : { ...m, isSelected: E }, [m, E]);
6600
+ return V.createElement(Ho, { enabled: i ? t.static || R : !1, ownerDocument: O }, V.createElement(gr.Provider, { value: fe }, X({ ourProps: ne, theirProps: s, slot: k, defaultTag: jh, features: Nh, visible: N, name: "Listbox.Options" })));
6594
6601
  }
6595
- let Lh = "div";
6596
- function _h(t, n) {
6602
+ let _h = "div";
6603
+ function Rh(t, n) {
6597
6604
  let e = Ae(), { id: r = `headlessui-listbox-option-${e}`, disabled: o = !1, value: i, ...a } = t, l = ye(Fl) === !0, s = gn("Listbox.Option"), u = Bo("Listbox.Option"), c = se(u, (S) => u.selectors.isActive(S, r)), v = s.isSelected(i), m = ae(null), p = jl(m), g = yt({ disabled: o, value: i, domRef: m, get textValue() {
6598
6605
  return p();
6599
6606
  } }), b = ke(n, m, (S) => {
@@ -6611,40 +6618,40 @@ function _h(t, n) {
6611
6618
  if (o) return S.preventDefault();
6612
6619
  u.actions.selectOption(i);
6613
6620
  }), O = q(() => {
6614
- if (o) return u.actions.goToOption({ focus: X.Nothing });
6615
- u.actions.goToOption({ focus: X.Specific, id: r });
6621
+ if (o) return u.actions.goToOption({ focus: J.Nothing });
6622
+ u.actions.goToOption({ focus: J.Specific, id: r });
6616
6623
  }), I = So(), F = q((S) => I.update(S)), R = q((S) => {
6617
- I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer || u.actions.goToOption({ focus: X.Specific, id: r }, An.Pointer));
6624
+ I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer || u.actions.goToOption({ focus: J.Specific, id: r }, An.Pointer));
6618
6625
  }), _ = q((S) => {
6619
- I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer && u.actions.goToOption({ focus: X.Nothing }));
6626
+ I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer && u.actions.goToOption({ focus: J.Nothing }));
6620
6627
  }), j = Ie({ active: c, focus: c, selected: v, disabled: o, selectedOption: v && l }), T = l ? {} : { id: r, ref: b, role: "option", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-selected": v, disabled: void 0, onClick: C, onFocus: O, onPointerEnter: F, onMouseEnter: F, onPointerMove: R, onMouseMove: R, onPointerLeave: _, onMouseLeave: _ }, N = Ee();
6621
- return !v && l ? null : N({ ourProps: T, theirProps: a, slot: j, defaultTag: Lh, name: "Listbox.Option" });
6628
+ return !v && l ? null : N({ ourProps: T, theirProps: a, slot: j, defaultTag: _h, name: "Listbox.Option" });
6622
6629
  }
6623
- let Rh = ut;
6624
- function Fh(t, n) {
6630
+ let Fh = ut;
6631
+ function Hh(t, n) {
6625
6632
  let { options: e, placeholder: r, ...o } = t, i = { ref: ke(n) }, a = gn("ListboxSelectedOption"), l = Ie({}), s = a.value === void 0 || a.value === null || a.mode === mt.Multi && Array.isArray(a.value) && a.value.length === 0, u = Ee();
6626
- return V.createElement(Fl.Provider, { value: !0 }, u({ ourProps: i, theirProps: { ...o, children: V.createElement(V.Fragment, null, r && s ? r : e) }, slot: l, defaultTag: Rh, name: "ListboxSelectedOption" }));
6633
+ return V.createElement(Fl.Provider, { value: !0 }, u({ ourProps: i, theirProps: { ...o, children: V.createElement(V.Fragment, null, r && s ? r : e) }, slot: l, defaultTag: Fh, name: "ListboxSelectedOption" }));
6627
6634
  }
6628
- let Hh = Se(kh), zh = Se(Ah), Bh = Ba, Vh = Se(Nh), $h = Se(_h), Wh = Se(Fh);
6629
- Object.assign(Hh, { Button: zh, Label: Bh, Options: Vh, Option: $h, SelectedOption: Wh });
6630
- var Uh = Object.defineProperty, Yh = (t, n, e) => n in t ? Uh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, ra = (t, n, e) => (Yh(t, typeof n != "symbol" ? n + "" : n, e), e), je = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(je || {}), Kn = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(Kn || {}), ge = ((t) => (t[t.OpenMenu = 0] = "OpenMenu", t[t.CloseMenu = 1] = "CloseMenu", t[t.GoToItem = 2] = "GoToItem", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.RegisterItems = 5] = "RegisterItems", t[t.UnregisterItems = 6] = "UnregisterItems", t[t.SetButtonElement = 7] = "SetButtonElement", t[t.SetItemsElement = 8] = "SetItemsElement", t[t.SortItems = 9] = "SortItems", t[t.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", t))(ge || {});
6635
+ let zh = Se(Ih), Bh = Se(Ph), Vh = Ba, $h = Se(Lh), Wh = Se(Rh), Uh = Se(Hh);
6636
+ Object.assign(zh, { Button: Bh, Label: Vh, Options: $h, Option: Wh, SelectedOption: Uh });
6637
+ var Yh = Object.defineProperty, Gh = (t, n, e) => n in t ? Yh(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, ra = (t, n, e) => (Gh(t, typeof n != "symbol" ? n + "" : n, e), e), je = ((t) => (t[t.Open = 0] = "Open", t[t.Closed = 1] = "Closed", t))(je || {}), Kn = ((t) => (t[t.Pointer = 0] = "Pointer", t[t.Other = 1] = "Other", t))(Kn || {}), ge = ((t) => (t[t.OpenMenu = 0] = "OpenMenu", t[t.CloseMenu = 1] = "CloseMenu", t[t.GoToItem = 2] = "GoToItem", t[t.Search = 3] = "Search", t[t.ClearSearch = 4] = "ClearSearch", t[t.RegisterItems = 5] = "RegisterItems", t[t.UnregisterItems = 6] = "UnregisterItems", t[t.SetButtonElement = 7] = "SetButtonElement", t[t.SetItemsElement = 8] = "SetItemsElement", t[t.SortItems = 9] = "SortItems", t[t.MarkButtonAsMoved = 10] = "MarkButtonAsMoved", t))(ge || {});
6631
6638
  function oa(t, n = (e) => e) {
6632
6639
  let e = t.activeItemIndex !== null ? t.items[t.activeItemIndex] : null, r = cr(n(t.items.slice()), (i) => i.dataRef.current.domRef.current), o = e ? r.indexOf(e) : null;
6633
6640
  return o === -1 && (o = null), { items: r, activeItemIndex: o };
6634
6641
  }
6635
- let Gh = { 1(t) {
6642
+ let Kh = { 1(t) {
6636
6643
  if (t.menuState === 1) return t;
6637
6644
  let n = t.buttonElement ? Ue.Tracked(hr(t.buttonElement)) : t.buttonPositionState;
6638
- return { ...t, activeItemIndex: null, pendingFocus: { focus: X.Nothing }, menuState: 1, buttonPositionState: n };
6645
+ return { ...t, activeItemIndex: null, pendingFocus: { focus: J.Nothing }, menuState: 1, buttonPositionState: n };
6639
6646
  }, 0(t, n) {
6640
6647
  return t.menuState === 0 ? t : { ...t, __demoMode: !1, pendingFocus: n.focus, menuState: 0, buttonPositionState: Ue.Idle };
6641
6648
  }, 2: (t, n) => {
6642
6649
  var e, r, o, i, a;
6643
6650
  if (t.menuState === 1) return t;
6644
6651
  let l = { ...t, searchQuery: "", activationTrigger: (e = n.trigger) != null ? e : 1, __demoMode: !1 };
6645
- if (n.focus === X.Nothing) return { ...l, activeItemIndex: null };
6646
- if (n.focus === X.Specific) return { ...l, activeItemIndex: t.items.findIndex((c) => c.id === n.id) };
6647
- if (n.focus === X.Previous) {
6652
+ if (n.focus === J.Nothing) return { ...l, activeItemIndex: null };
6653
+ if (n.focus === J.Specific) return { ...l, activeItemIndex: t.items.findIndex((c) => c.id === n.id) };
6654
+ if (n.focus === J.Previous) {
6648
6655
  let c = t.activeItemIndex;
6649
6656
  if (c !== null) {
6650
6657
  let v = t.items[c].dataRef.current.domRef, m = rt(n, { resolveItems: () => t.items, resolveActiveIndex: () => t.activeItemIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
@@ -6653,7 +6660,7 @@ let Gh = { 1(t) {
6653
6660
  if (((r = v.current) == null ? void 0 : r.previousElementSibling) === p.current || ((o = p.current) == null ? void 0 : o.previousElementSibling) === null) return { ...l, activeItemIndex: m };
6654
6661
  }
6655
6662
  }
6656
- } else if (n.focus === X.Next) {
6663
+ } else if (n.focus === J.Next) {
6657
6664
  let c = t.activeItemIndex;
6658
6665
  if (c !== null) {
6659
6666
  let v = t.items[c].dataRef.current.domRef, m = rt(n, { resolveItems: () => t.items, resolveActiveIndex: () => t.activeItemIndex, resolveId: (p) => p.id, resolveDisabled: (p) => p.dataRef.current.disabled });
@@ -6675,7 +6682,7 @@ let Gh = { 1(t) {
6675
6682
  return t.searchQuery === "" ? t : { ...t, searchQuery: "", searchActiveItemIndex: null };
6676
6683
  }, 5: (t, n) => {
6677
6684
  let e = t.items.concat(n.items.map((o) => o)), r = t.activeItemIndex;
6678
- return t.pendingFocus.focus !== X.Nothing && (r = rt(t.pendingFocus, { resolveItems: () => e, resolveActiveIndex: () => t.activeItemIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), { ...t, items: e, activeItemIndex: r, pendingFocus: { focus: X.Nothing }, pendingShouldSort: !0 };
6685
+ return t.pendingFocus.focus !== J.Nothing && (r = rt(t.pendingFocus, { resolveItems: () => e, resolveActiveIndex: () => t.activeItemIndex, resolveId: (o) => o.id, resolveDisabled: (o) => o.dataRef.current.disabled })), { ...t, items: e, activeItemIndex: r, pendingFocus: { focus: J.Nothing }, pendingShouldSort: !0 };
6679
6686
  }, 6: (t, n) => {
6680
6687
  let e = t.items, r = [], o = new Set(n.items);
6681
6688
  for (let [i, a] of e.entries()) if (o.has(a.id) && (r.push(i), o.delete(a.id), o.size === 0)) break;
@@ -6689,12 +6696,12 @@ let Gh = { 1(t) {
6689
6696
  } };
6690
6697
  class Vo extends ir {
6691
6698
  constructor(n) {
6692
- super(n), ra(this, "actions", { registerItem: Jt(() => {
6699
+ super(n), ra(this, "actions", { registerItem: Xt(() => {
6693
6700
  let e = [], r = /* @__PURE__ */ new Set();
6694
6701
  return [(o, i) => {
6695
6702
  r.has(i) || (r.add(i), e.push({ id: o, dataRef: i }));
6696
6703
  }, () => (r.clear(), this.send({ type: 5, items: e.splice(0) }))];
6697
- }), unregisterItem: Jt(() => {
6704
+ }), unregisterItem: Xt(() => {
6698
6705
  let e = [];
6699
6706
  return [(r) => e.push(r), () => this.send({ type: 6, items: e.splice(0) })];
6700
6707
  }) }), ra(this, "selectors", { activeDescendantId(e) {
@@ -6729,10 +6736,10 @@ class Vo extends ir {
6729
6736
  });
6730
6737
  }
6731
6738
  static new({ id: n, __demoMode: e = !1 }) {
6732
- return new Vo({ id: n, __demoMode: e, menuState: e ? 0 : 1, buttonElement: null, itemsElement: null, items: [], searchQuery: "", activeItemIndex: null, activationTrigger: 1, pendingShouldSort: !1, pendingFocus: { focus: X.Nothing }, buttonPositionState: Ue.Idle });
6739
+ return new Vo({ id: n, __demoMode: e, menuState: e ? 0 : 1, buttonElement: null, itemsElement: null, items: [], searchQuery: "", activeItemIndex: null, activationTrigger: 1, pendingShouldSort: !1, pendingFocus: { focus: J.Nothing }, buttonPositionState: Ue.Idle });
6733
6740
  }
6734
6741
  reduce(n, e) {
6735
- return Te(e.type, Gh, n, e);
6742
+ return Te(e.type, Kh, n, e);
6736
6743
  }
6737
6744
  }
6738
6745
  const Hl = me(null);
@@ -6748,8 +6755,8 @@ function zl({ id: t, __demoMode: n = !1 }) {
6748
6755
  let e = Ce(() => Vo.new({ id: t, __demoMode: n }), []);
6749
6756
  return mr(() => e.dispose()), e;
6750
6757
  }
6751
- let Kh = ut;
6752
- function Zh(t, n) {
6758
+ let Zh = ut;
6759
+ function Qh(t, n) {
6753
6760
  let e = Ae(), { __demoMode: r = !1, ...o } = t, i = zl({ id: e, __demoMode: r }), [a, l, s] = se(i, (x) => [x.menuState, x.itemsElement, x.buttonElement]), u = ke(n), c = Nt.get(null), v = se(c, ce((x) => c.selectors.isTop(x, e), [c, e]));
6754
6761
  yo(v, [s, l], (x, C) => {
6755
6762
  var O;
@@ -6758,41 +6765,37 @@ function Zh(t, n) {
6758
6765
  let m = q(() => {
6759
6766
  i.send({ type: ge.CloseMenu });
6760
6767
  }), p = Ie({ open: a === je.Open, close: m }), g = { ref: u }, b = Ee();
6761
- return V.createElement(Lo, null, V.createElement(Hl.Provider, { value: i }, V.createElement(Fo, { value: Te(a, { [je.Open]: Ge.Open, [je.Closed]: Ge.Closed }) }, b({ ourProps: g, theirProps: o, slot: p, defaultTag: Kh, name: "Menu" }))));
6768
+ return V.createElement(Lo, null, V.createElement(Hl.Provider, { value: i }, V.createElement(Fo, { value: Te(a, { [je.Open]: Ge.Open, [je.Closed]: Ge.Closed }) }, b({ ourProps: g, theirProps: o, slot: p, defaultTag: Zh, name: "Menu" }))));
6762
6769
  }
6763
- let Qh = "button";
6764
- function qh(t, n) {
6770
+ let qh = "button";
6771
+ function Jh(t, n) {
6765
6772
  let e = $o("Menu.Button"), r = Ae(), { id: o = `headlessui-menu-button-${r}`, disabled: i = !1, autoFocus: a = !1, ...l } = t, s = ae(null), u = Cl(), c = ke(n, s, Po(), q((S) => e.send({ type: ge.SetButtonElement, element: S }))), v = q((S) => {
6766
6773
  switch (S.key) {
6767
6774
  case te.Space:
6768
6775
  case te.Enter:
6769
6776
  case te.ArrowDown:
6770
- S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: X.First } });
6777
+ S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: J.First } });
6771
6778
  break;
6772
6779
  case te.ArrowUp:
6773
- S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: X.Last } });
6780
+ S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: J.Last } });
6774
6781
  break;
6775
6782
  }
6776
6783
  }), m = q((S) => {
6777
- switch (S.key) {
6778
- case te.Space:
6779
- S.preventDefault();
6780
- break;
6781
- }
6784
+ S.key === te.Space && S.preventDefault();
6782
6785
  }), [p, g, b] = se(e, (S) => [S.menuState, S.buttonElement, S.itemsElement]), x = p === je.Open;
6783
6786
  wo(x, { trigger: g, action: ce((S) => {
6784
- if (g != null && g.contains(S.target)) return Xe.Ignore;
6787
+ if (g != null && g.contains(S.target)) return Je.Ignore;
6785
6788
  let y = S.target.closest('[role="menuitem"]:not([data-disabled])');
6786
- return et(y) ? Xe.Select(y) : b != null && b.contains(S.target) ? Xe.Ignore : Xe.Close;
6789
+ return et(y) ? Je.Select(y) : b != null && b.contains(S.target) ? Je.Ignore : Je.Close;
6787
6790
  }, [g, b]), close: ce(() => e.send({ type: ge.CloseMenu }), []), select: ce((S) => S.click(), []) });
6788
6791
  let C = go((S) => {
6789
6792
  var y;
6790
- i || (p === je.Open ? (ze(() => e.send({ type: ge.CloseMenu })), (y = s.current) == null || y.focus({ preventScroll: !0 })) : (S.preventDefault(), e.send({ type: ge.OpenMenu, focus: { focus: X.Nothing }, trigger: Kn.Pointer })));
6791
- }), { isFocusVisible: O, focusProps: I } = Xn({ autoFocus: a }), { isHovered: F, hoverProps: R } = qn({ isDisabled: i }), { pressed: _, pressProps: j } = uo({ disabled: i }), T = Ie({ open: p === je.Open, active: _ || p === je.Open, disabled: i, hover: F, focus: O, autofocus: a }), N = jt(u(), { ref: c, id: o, type: xo(t, s.current), "aria-haspopup": "menu", "aria-controls": b?.id, "aria-expanded": p === je.Open, disabled: i || void 0, autoFocus: a, onKeyDown: v, onKeyUp: m }, C, I, R, j);
6792
- return Ee()({ ourProps: N, theirProps: l, slot: T, defaultTag: Qh, name: "Menu.Button" });
6793
+ i || (p === je.Open ? (ze(() => e.send({ type: ge.CloseMenu })), (y = s.current) == null || y.focus({ preventScroll: !0 })) : (S.preventDefault(), e.send({ type: ge.OpenMenu, focus: { focus: J.Nothing }, trigger: Kn.Pointer })));
6794
+ }), { isFocusVisible: O, focusProps: I } = Jn({ autoFocus: a }), { isHovered: F, hoverProps: R } = qn({ isDisabled: i }), { pressed: _, pressProps: j } = uo({ disabled: i }), T = Ie({ open: p === je.Open, active: _ || p === je.Open, disabled: i, hover: F, focus: O, autofocus: a }), N = jt(u(), { ref: c, id: o, type: xo(t, s.current), "aria-haspopup": "menu", "aria-controls": b?.id, "aria-expanded": p === je.Open, disabled: i || void 0, autoFocus: a, onKeyDown: v, onKeyUp: m }, C, I, R, j);
6795
+ return Ee()({ ourProps: N, theirProps: l, slot: T, defaultTag: qh, name: "Menu.Button" });
6793
6796
  }
6794
- let Xh = "div", Jh = Tt.RenderStrategy | Tt.Static;
6795
- function eg(t, n) {
6797
+ let Xh = "div", eg = Tt.RenderStrategy | Tt.Static;
6798
+ function tg(t, n) {
6796
6799
  let e = Ae(), { id: r = `headlessui-menu-items-${e}`, anchor: o, portal: i = !1, modal: a = !0, transition: l = !1, ...s } = t, u = Ao(o), c = $o("Menu.Items"), [v, m] = No(u), p = jo(), [g, b] = be(null), x = ke(n, u ? v : null, q((P) => c.send({ type: ge.SetItemsElement, element: P })), b), [C, O] = se(c, (P) => [P.menuState, P.buttonElement]), I = kt(O), F = kt(g);
6797
6800
  u && (i = !0);
6798
6801
  let R = Ro(), [_, j] = Oo(l, g, R !== null ? (R & Ge.Open) === Ge.Open : C === je.Open);
@@ -6806,7 +6809,7 @@ function eg(t, n) {
6806
6809
  let y = se(c, c.selectors.didButtonMove) ? !1 : _;
6807
6810
  we(() => {
6808
6811
  let P = g;
6809
- P && C === je.Open && (Jn(P) || P.focus({ preventScroll: !0 }));
6812
+ P && C === je.Open && (Xn(P) || P.focus({ preventScroll: !0 }));
6810
6813
  }, [C, g]), el(C === je.Open, { container: g, accept(P) {
6811
6814
  return P.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : P.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
6812
6815
  }, walk(P) {
@@ -6825,15 +6828,15 @@ function eg(t, n) {
6825
6828
  c.send({ type: ge.CloseMenu }), Qa(c.state.buttonElement);
6826
6829
  break;
6827
6830
  case te.ArrowDown:
6828
- return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: X.Next });
6831
+ return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Next });
6829
6832
  case te.ArrowUp:
6830
- return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: X.Previous });
6833
+ return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Previous });
6831
6834
  case te.Home:
6832
6835
  case te.PageUp:
6833
- return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: X.First });
6836
+ return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.First });
6834
6837
  case te.End:
6835
6838
  case te.PageDown:
6836
- return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: X.Last });
6839
+ return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Last });
6837
6840
  case te.Escape:
6838
6841
  P.preventDefault(), P.stopPropagation(), ze(() => c.send({ type: ge.CloseMenu })), (D = c.state.buttonElement) == null || D.focus({ preventScroll: !0 });
6839
6842
  break;
@@ -6845,19 +6848,15 @@ function eg(t, n) {
6845
6848
  break;
6846
6849
  }
6847
6850
  }), B = q((P) => {
6848
- switch (P.key) {
6849
- case te.Space:
6850
- P.preventDefault();
6851
- break;
6852
- }
6851
+ P.key === te.Space && P.preventDefault();
6853
6852
  }), A = Ie({ open: C === je.Open }), W = jt(u ? p() : {}, { "aria-activedescendant": se(c, c.selectors.activeDescendantId), "aria-labelledby": se(c, (P) => {
6854
6853
  var U;
6855
6854
  return (U = P.buttonElement) == null ? void 0 : U.id;
6856
6855
  }), id: r, onKeyDown: L, onKeyUp: B, role: "menu", tabIndex: C === je.Open ? 0 : void 0, ref: x, style: { ...s.style, ...m, "--button-width": Fn(_, O, !0).width }, ...Co(j) }), G = Ee();
6857
- return V.createElement(Ho, { enabled: i ? t.static || _ : !1, ownerDocument: I }, G({ ourProps: W, theirProps: s, slot: A, defaultTag: Xh, features: Jh, visible: y, name: "Menu.Items" }));
6856
+ return V.createElement(Ho, { enabled: i ? t.static || _ : !1, ownerDocument: I }, G({ ourProps: W, theirProps: s, slot: A, defaultTag: Xh, features: eg, visible: y, name: "Menu.Items" }));
6858
6857
  }
6859
- let tg = ut;
6860
- function ng(t, n) {
6858
+ let ng = ut;
6859
+ function rg(t, n) {
6861
6860
  let e = Ae(), { id: r = `headlessui-menu-item-${e}`, disabled: o = !1, ...i } = t, a = $o("Menu.Item"), l = se(a, (y) => a.selectors.isActive(y, r)), s = ae(null), u = ke(n, s), c = se(a, (y) => a.selectors.shouldScrollIntoView(y, r));
6862
6861
  ve(() => {
6863
6862
  if (c) return Re().requestAnimationFrame(() => {
@@ -6877,35 +6876,35 @@ function ng(t, n) {
6877
6876
  if (o) return y.preventDefault();
6878
6877
  a.send({ type: ge.CloseMenu }), Qa(a.state.buttonElement);
6879
6878
  }), b = q(() => {
6880
- if (o) return a.send({ type: ge.GoToItem, focus: X.Nothing });
6881
- a.send({ type: ge.GoToItem, focus: X.Specific, id: r });
6879
+ if (o) return a.send({ type: ge.GoToItem, focus: J.Nothing });
6880
+ a.send({ type: ge.GoToItem, focus: J.Specific, id: r });
6882
6881
  }), x = So(), C = q((y) => x.update(y)), O = q((y) => {
6883
- x.wasMoved(y) && (o || l || a.send({ type: ge.GoToItem, focus: X.Specific, id: r, trigger: Kn.Pointer }));
6882
+ x.wasMoved(y) && (o || l || a.send({ type: ge.GoToItem, focus: J.Specific, id: r, trigger: Kn.Pointer }));
6884
6883
  }), I = q((y) => {
6885
- x.wasMoved(y) && (o || l && a.state.activationTrigger === Kn.Pointer && a.send({ type: ge.GoToItem, focus: X.Nothing }));
6886
- }), [F, R] = or(), [_, j] = qd(), T = Ie({ active: l, focus: l, disabled: o, close: p }), N = { id: r, ref: u, role: "menuitem", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-labelledby": F, "aria-describedby": _, disabled: void 0, onClick: g, onFocus: b, onPointerEnter: C, onMouseEnter: C, onPointerMove: O, onMouseMove: O, onPointerLeave: I, onMouseLeave: I }, S = Ee();
6887
- return V.createElement(R, null, V.createElement(j, null, S({ ourProps: N, theirProps: i, slot: T, defaultTag: tg, name: "Menu.Item" })));
6884
+ x.wasMoved(y) && (o || l && a.state.activationTrigger === Kn.Pointer && a.send({ type: ge.GoToItem, focus: J.Nothing }));
6885
+ }), [F, R] = or(), [_, j] = Jd(), T = Ie({ active: l, focus: l, disabled: o, close: p }), N = { id: r, ref: u, role: "menuitem", tabIndex: o === !0 ? void 0 : -1, "aria-disabled": o === !0 ? !0 : void 0, "aria-labelledby": F, "aria-describedby": _, disabled: void 0, onClick: g, onFocus: b, onPointerEnter: C, onMouseEnter: C, onPointerMove: O, onMouseMove: O, onPointerLeave: I, onMouseLeave: I }, S = Ee();
6886
+ return V.createElement(R, null, V.createElement(j, null, S({ ourProps: N, theirProps: i, slot: T, defaultTag: ng, name: "Menu.Item" })));
6888
6887
  }
6889
- let rg = "div";
6890
- function og(t, n) {
6888
+ let og = "div";
6889
+ function ig(t, n) {
6891
6890
  let [e, r] = or(), o = t, i = { ref: n, "aria-labelledby": e, role: "group" }, a = Ee();
6892
- return V.createElement(r, null, a({ ourProps: i, theirProps: o, slot: {}, defaultTag: rg, name: "Menu.Section" }));
6891
+ return V.createElement(r, null, a({ ourProps: i, theirProps: o, slot: {}, defaultTag: og, name: "Menu.Section" }));
6893
6892
  }
6894
- let ig = "header";
6895
- function ag(t, n) {
6893
+ let ag = "header";
6894
+ function lg(t, n) {
6896
6895
  let e = Ae(), { id: r = `headlessui-menu-heading-${e}`, ...o } = t, i = mo();
6897
6896
  ve(() => i.register(r), [r, i.register]);
6898
6897
  let a = { id: r, ref: n, role: "presentation", ...i.props };
6899
- return Ee()({ ourProps: a, theirProps: o, slot: {}, defaultTag: ig, name: "Menu.Heading" });
6898
+ return Ee()({ ourProps: a, theirProps: o, slot: {}, defaultTag: ag, name: "Menu.Heading" });
6900
6899
  }
6901
- let lg = "div";
6902
- function sg(t, n) {
6900
+ let sg = "div";
6901
+ function cg(t, n) {
6903
6902
  let e = t, r = { ref: n, role: "separator" };
6904
- return Ee()({ ourProps: r, theirProps: e, slot: {}, defaultTag: lg, name: "Menu.Separator" });
6903
+ return Ee()({ ourProps: r, theirProps: e, slot: {}, defaultTag: sg, name: "Menu.Separator" });
6905
6904
  }
6906
- let cg = Se(Zh), ug = Se(qh), dg = Se(eg), fg = Se(ng), pg = Se(og), mg = Se(ag), hg = Se(sg);
6907
- Object.assign(cg, { Button: ug, Items: dg, Item: fg, Section: pg, Heading: mg, Separator: hg });
6908
- function Jr(t) {
6905
+ let ug = Se(Qh), dg = Se(Jh), fg = Se(tg), pg = Se(rg), mg = Se(ig), hg = Se(lg), gg = Se(cg);
6906
+ Object.assign(ug, { Button: dg, Items: fg, Item: pg, Section: mg, Heading: hg, Separator: gg });
6907
+ function Xr(t) {
6909
6908
  const n = d.useRef(void 0), e = d.useCallback((r) => {
6910
6909
  const o = t.map((i) => {
6911
6910
  if (i != null) {
@@ -6930,7 +6929,7 @@ function Jr(t) {
6930
6929
  }
6931
6930
  process.env.NODE_ENV;
6932
6931
  me(void 0);
6933
- const gg = V.createContext({}), vg = () => V.useContext(gg), bg = (t, n) => `
6932
+ const vg = V.createContext({}), bg = () => V.useContext(vg), yg = (t, n) => `
6934
6933
  ${t ? "jn:whitespace-nowrap" : ""}
6935
6934
  ${n === "center" ? `
6936
6935
  jn:justify-center
@@ -6942,17 +6941,17 @@ const gg = V.createContext({}), vg = () => V.useContext(gg), bg = (t, n) => `
6942
6941
  jn:border-b
6943
6942
  jn:border-theme-background-lvl-2
6944
6943
  jn:h-full
6945
- `, yg = (t) => {
6944
+ `, wg = (t) => {
6946
6945
  let n;
6947
6946
  return t && (n = { gridColumn: `span ${t} / span ${t}` }), n;
6948
6947
  }, Bl = K(
6949
6948
  ({ colSpan: t, nowrap: n = !1, className: e = "", children: r, ...o }, i) => {
6950
- const a = (vg() || {}).cellVerticalAlignment;
6949
+ const a = (bg() || {}).cellVerticalAlignment;
6951
6950
  return /* @__PURE__ */ H.jsx(
6952
6951
  "div",
6953
6952
  {
6954
- className: `juno-datagrid-cell ${bg(n, a)} ${e}`,
6955
- style: yg(t),
6953
+ className: `juno-datagrid-cell ${yg(n, a)} ${e}`,
6954
+ style: wg(t),
6956
6955
  role: "gridcell",
6957
6956
  ref: i,
6958
6957
  ...o,
@@ -6962,12 +6961,12 @@ const gg = V.createContext({}), vg = () => V.useContext(gg), bg = (t, n) => `
6962
6961
  }
6963
6962
  );
6964
6963
  Bl.displayName = "DataGridCell";
6965
- const wg = `
6964
+ const xg = `
6966
6965
  jn:font-bold
6967
6966
  jn:text-theme-high
6968
6967
  jn:bg-theme-background-lvl-1
6969
6968
  jn:border-theme-background-lvl-0
6970
- `, xg = K(
6969
+ `, Eg = K(
6971
6970
  ({
6972
6971
  // sortable,
6973
6972
  colSpan: t,
@@ -6980,7 +6979,7 @@ const wg = `
6980
6979
  {
6981
6980
  colSpan: t,
6982
6981
  nowrap: n,
6983
- className: `juno-datagrid-head-cell ${wg} ${e}`,
6982
+ className: `juno-datagrid-head-cell ${xg} ${e}`,
6984
6983
  role: "columnheader",
6985
6984
  ref: i,
6986
6985
  ...o,
@@ -6988,8 +6987,8 @@ const wg = `
6988
6987
  }
6989
6988
  )
6990
6989
  );
6991
- xg.displayName = "DataGridHeadCell";
6992
- const Eg = K(
6990
+ Eg.displayName = "DataGridHeadCell";
6991
+ const Sg = K(
6993
6992
  ({ isSelected: t = !1, onClick: n, className: e = "", children: r, ...o }, i) => {
6994
6993
  const a = (s) => {
6995
6994
  n && n(s);
@@ -7002,7 +7001,7 @@ const Eg = K(
7002
7001
  return /* @__PURE__ */ H.jsx("div", { className: l, role: "row", ref: i, onClick: a, ...o, children: r });
7003
7002
  }
7004
7003
  );
7005
- Eg.displayName = "DataGridRow";
7004
+ Sg.displayName = "DataGridRow";
7006
7005
  var Rr = [
7007
7006
  "onChange",
7008
7007
  "onClose",
@@ -7205,7 +7204,7 @@ function Ve(t) {
7205
7204
  var Hr = function() {
7206
7205
  }, Zn = function(t, n, e) {
7207
7206
  return e.months[n ? "shorthand" : "longhand"][t];
7208
- }, Sg = {
7207
+ }, Cg = {
7209
7208
  D: Hr,
7210
7209
  F: function(t, n, e) {
7211
7210
  t.setMonth(e.months.longhand.indexOf(n));
@@ -7396,7 +7395,7 @@ var Hr = function() {
7396
7395
  O += St[I];
7397
7396
  var _ = new RegExp(O).exec(i);
7398
7397
  _ && (g = !0) && b[I !== "Y" ? "push" : "unshift"]({
7399
- fn: Sg[I],
7398
+ fn: Cg[I],
7400
7399
  val: _[++C]
7401
7400
  });
7402
7401
  } else F || (O += ".");
@@ -7418,14 +7417,14 @@ var Hr = function() {
7418
7417
  function $e(t, n, e) {
7419
7418
  return e === void 0 && (e = !0), e !== !1 ? new Date(t.getTime()).setHours(0, 0, 0, 0) - new Date(n.getTime()).setHours(0, 0, 0, 0) : t.getTime() - n.getTime();
7420
7419
  }
7421
- var Cg = function(t, n, e) {
7420
+ var Og = function(t, n, e) {
7422
7421
  return t > Math.min(n, e) && t < Math.max(n, e);
7423
7422
  }, zr = function(t, n, e) {
7424
7423
  return t * 3600 + n * 60 + e;
7425
- }, Og = function(t) {
7424
+ }, Mg = function(t) {
7426
7425
  var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
7427
7426
  return [n, e, t - n * 3600 - e * 60];
7428
- }, Mg = {
7427
+ }, Dg = {
7429
7428
  DAY: 864e5
7430
7429
  };
7431
7430
  function Br(t) {
@@ -7469,13 +7468,13 @@ var Pe = function() {
7469
7468
  for (var i = arguments[n], a = 0, l = i.length; a < l; a++, o++)
7470
7469
  r[o] = i[a];
7471
7470
  return r;
7472
- }, Dg = 300;
7473
- function Tg(t, n) {
7471
+ }, Tg = 300;
7472
+ function kg(t, n) {
7474
7473
  var e = {
7475
7474
  config: Pe(Pe({}, Ht), Me.defaultConfig),
7476
7475
  l10n: cn
7477
7476
  };
7478
- e.parseDate = eo({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = b, e._setHoursFromDate = m, e._positionCalendar = bn, e.changeMonth = D, e.changeYear = ee, e.clear = k, e.close = ne, e.onMouseOver = vn, e._createElement = pe, e.createDay = _, e.destroy = J, e.isEnabled = ie, e.jumpToDate = O, e.updateValue = st, e.open = Yl, e.redraw = Go, e.set = Ql, e.setDate = ql, e.toggle = ts;
7477
+ e.parseDate = eo({ config: e.config, l10n: e.l10n }), e._handlers = [], e.pluginElements = [], e.loadedPlugins = [], e._bind = b, e._setHoursFromDate = m, e._positionCalendar = bn, e.changeMonth = D, e.changeYear = ee, e.clear = k, e.close = ne, e.onMouseOver = vn, e._createElement = pe, e.createDay = _, e.destroy = X, e.isEnabled = ie, e.jumpToDate = O, e.updateValue = st, e.open = Yl, e.redraw = Go, e.set = Ql, e.setDate = ql, e.toggle = ts;
7479
7478
  function r() {
7480
7479
  e.utils = {
7481
7480
  getDaysInMonth: function(f, h) {
@@ -7484,7 +7483,7 @@ function Tg(t, n) {
7484
7483
  };
7485
7484
  }
7486
7485
  function o() {
7487
- e.element = e.input = t, e.isOpen = !1, Gl(), Yo(), Jl(), Xl(), r(), e.isMobile || R(), C(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && m(e.config.noCalendar ? e.latestSelectedDateObj : void 0), st(!1)), l();
7486
+ e.element = e.input = t, e.isOpen = !1, Gl(), Yo(), Xl(), Jl(), r(), e.isMobile || R(), C(), (e.selectedDates.length || e.config.noCalendar) && (e.config.enableTime && m(e.config.noCalendar ? e.latestSelectedDateObj : void 0), st(!1)), l();
7488
7487
  var f = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
7489
7488
  !e.isMobile && f && bn(), xe("onReady");
7490
7489
  }
@@ -7533,7 +7532,7 @@ function Tg(t, n) {
7533
7532
  if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
7534
7533
  var Y = zr(e.config.minTime.getHours(), e.config.minTime.getMinutes(), e.config.minTime.getSeconds()), le = zr(e.config.maxTime.getHours(), e.config.maxTime.getMinutes(), e.config.maxTime.getSeconds()), Q = zr(f, h, w);
7535
7534
  if (Q > le && Q < Y) {
7536
- var ue = Og(Y);
7535
+ var ue = Mg(Y);
7537
7536
  f = ue[0], h = ue[1], w = ue[2];
7538
7537
  }
7539
7538
  } else {
@@ -7588,7 +7587,7 @@ function Tg(t, n) {
7588
7587
  return;
7589
7588
  }
7590
7589
  var f = ia(Ul, 50);
7591
- if (e._debouncedChange = ia(x, Dg), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(w) {
7590
+ if (e._debouncedChange = ia(x, Tg), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(w) {
7592
7591
  e.config.mode === "range" && vn(Ve(w));
7593
7592
  }), b(e._input, "keydown", Oe), e.calendarContainer !== void 0 && b(e.calendarContainer, "keydown", Oe), !e.config.inline && !e.config.static && b(window, "resize", f), window.ontouchstart !== void 0 ? b(window.document, "touchstart", $) : b(window.document, "mousedown", $), b(window.document, "focus", $, { capture: !0 }), e.config.clickOpens === !0 && (b(e._input, "focus", e.open), b(e._input, "click", e.open)), e.daysContainer !== void 0 && (b(e.monthNav, "click", rs), b(e.monthNav, ["keyup", "increment"], g), b(e.daysContainer, "click", Ko)), e.timeContainer !== void 0 && e.minuteElement !== void 0 && e.hourElement !== void 0) {
7594
7593
  var h = function(w) {
@@ -7800,7 +7799,7 @@ function Tg(t, n) {
7800
7799
  function ne() {
7801
7800
  e.isOpen = !1, e.isMobile || (e.calendarContainer !== void 0 && e.calendarContainer.classList.remove("open"), e._input !== void 0 && e._input.classList.remove("active")), xe("onClose");
7802
7801
  }
7803
- function J() {
7802
+ function X() {
7804
7803
  e.config !== void 0 && xe("onDestroy");
7805
7804
  for (var f = e._handlers.length; f--; )
7806
7805
  e._handlers[f].remove();
@@ -7967,7 +7966,7 @@ function Tg(t, n) {
7967
7966
  }
7968
7967
  function vn(f, h) {
7969
7968
  if (h === void 0 && (h = "flatpickr-day"), !(e.selectedDates.length !== 1 || f && (!f.classList.contains(h) || f.classList.contains("flatpickr-disabled")))) {
7970
- for (var w = f ? f.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), M = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), z = Math.min(w, e.selectedDates[0].getTime()), Y = Math.max(w, e.selectedDates[0].getTime()), le = !1, Q = 0, ue = 0, Z = z; Z < Y; Z += Mg.DAY)
7969
+ for (var w = f ? f.dateObj.getTime() : e.days.firstElementChild.dateObj.getTime(), M = e.parseDate(e.selectedDates[0], void 0, !0).getTime(), z = Math.min(w, e.selectedDates[0].getTime()), Y = Math.max(w, e.selectedDates[0].getTime()), le = !1, Q = 0, ue = 0, Z = z; Z < Y; Z += Dg.DAY)
7971
7970
  ie(new Date(Z), !0) || (le = le || Z > z && Z < Y, Z < M && (!Q || Z > Q) ? Q = Z : Z > M && (!ue || Z < ue) && (ue = Z));
7972
7971
  var re = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + h));
7973
7972
  re.forEach(function(he) {
@@ -7981,7 +7980,7 @@ function Tg(t, n) {
7981
7980
  return;
7982
7981
  ["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Lt) {
7983
7982
  he.classList.remove(Lt);
7984
- }), f !== void 0 && (f.classList.add(w <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), M < w && Be === M ? he.classList.add("startRange") : M > w && Be === M && he.classList.add("endRange"), Be >= Q && (ue === 0 || Be <= ue) && Cg(Be, M, w) && he.classList.add("inRange"));
7983
+ }), f !== void 0 && (f.classList.add(w <= e.selectedDates[0].getTime() ? "startRange" : "endRange"), M < w && Be === M ? he.classList.add("startRange") : M > w && Be === M && he.classList.add("endRange"), Be >= Q && (ue === 0 || Be <= ue) && Og(Be, M, w) && he.classList.add("inRange"));
7985
7984
  });
7986
7985
  }
7987
7986
  }
@@ -8253,12 +8252,12 @@ function Tg(t, n) {
8253
8252
  return h;
8254
8253
  });
8255
8254
  }
8256
- function Xl() {
8255
+ function Jl() {
8257
8256
  e.selectedDates = [], e.now = e.parseDate(e.config.now) || /* @__PURE__ */ new Date();
8258
8257
  var f = e.config.defaultDate || ((e.input.nodeName === "INPUT" || e.input.nodeName === "TEXTAREA") && e.input.placeholder && e.input.value === e.input.placeholder ? null : e.input.value);
8259
8258
  f && Zo(f, e.config.dateFormat), e._initialDate = e.selectedDates.length > 0 ? e.selectedDates[0] : e.config.minDate && e.config.minDate.getTime() > e.now.getTime() ? e.config.minDate : e.config.maxDate && e.config.maxDate.getTime() < e.now.getTime() ? e.config.maxDate : e.now, e.currentYear = e._initialDate.getFullYear(), e.currentMonth = e._initialDate.getMonth(), e.selectedDates.length > 0 && (e.latestSelectedDateObj = e.selectedDates[0]), e.config.minTime !== void 0 && (e.config.minTime = e.parseDate(e.config.minTime, "H:i")), e.config.maxTime !== void 0 && (e.config.maxTime = e.parseDate(e.config.maxTime, "H:i")), e.minDateHasTime = !!e.config.minDate && (e.config.minDate.getHours() > 0 || e.config.minDate.getMinutes() > 0 || e.config.minDate.getSeconds() > 0), e.maxDateHasTime = !!e.config.maxDate && (e.config.maxDate.getHours() > 0 || e.config.maxDate.getMinutes() > 0 || e.config.maxDate.getSeconds() > 0);
8260
8259
  }
8261
- function Jl() {
8260
+ function Xl() {
8262
8261
  if (e.input = Uo(), !e.input) {
8263
8262
  e.config.errorHandler(new Error("Invalid input element specified"));
8264
8263
  return;
@@ -8349,7 +8348,7 @@ function zt(t, n) {
8349
8348
  try {
8350
8349
  if (i.getAttribute("data-fp-omit") !== null)
8351
8350
  continue;
8352
- i._flatpickr !== void 0 && (i._flatpickr.destroy(), i._flatpickr = void 0), i._flatpickr = Tg(i, n || {}), r.push(i._flatpickr);
8351
+ i._flatpickr !== void 0 && (i._flatpickr.destroy(), i._flatpickr = void 0), i._flatpickr = kg(i, n || {}), r.push(i._flatpickr);
8353
8352
  } catch (a) {
8354
8353
  console.error(a);
8355
8354
  }
@@ -8385,7 +8384,7 @@ Date.prototype.fp_incr = function(t) {
8385
8384
  return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
8386
8385
  };
8387
8386
  typeof window < "u" && (window.flatpickr = Me);
8388
- const kg = ({
8387
+ const Ig = ({
8389
8388
  title: t,
8390
8389
  titleId: n,
8391
8390
  ...e
@@ -8449,28 +8448,28 @@ const kg = ({
8449
8448
  } })))), /* @__PURE__ */ d.createElement("path", { fill: "none", stroke: "currentcolor", d: "M123.3-21.9c1.6 4.3 2.5 8.9 2.5 13.8c0 21.4-16.9 38.8-38.1 39.7v.1h-1.7h-11.4h-75.2c-17.2-0.4-31.1-14.4-31.1-31.7c0-17.5 14.2-31.7 31.7-31.7c1.7 0 3.4 .2 5 .4c0-0.1 0-0.2 0-0.4c0-20.8 16.9-37.7 37.7-37.7c15.5 0 28.7 9.2 34.6 22.5c2.8-0.6 5.7-0.9 8.7-0.9c17.1 0 31.7 10.7 37.3 25.9Z", strokeDasharray: "427 427", strokeDashoffset: 427, strokeWidth: 6, strokeLinecap: "round", visibility: "hidden", transform: "translate(51.4,122.3)", style: {
8450
8449
  animation: "5s linear infinite both a14_t, 5s linear infinite forwards a14_v, 5s linear infinite both a14_o, 5s linear infinite both a14_do"
8451
8450
  } }));
8452
- K(kg);
8451
+ K(Ig);
8453
8452
  V.createContext({});
8454
- const Ig = `
8453
+ const Ag = `
8455
8454
  jn:text-theme-high
8456
8455
  jn:flex
8457
8456
  jn:rounded
8458
8457
  jn:leading-5
8459
8458
  jn:overflow-hidden
8460
8459
  jn:items-center
8461
- `, Ag = `
8462
- jn:font-bold
8463
8460
  `, Pg = `
8461
+ jn:font-bold
8462
+ `, jg = `
8464
8463
  jn:py-3
8465
8464
  jn:pr-4
8466
8465
  jn:ml-7
8467
- `, jg = `
8466
+ `, Ng = `
8468
8467
  jn:w-[4px]
8469
8468
  jn:self-stretch
8470
8469
  jn:border-l-4
8471
8470
  jn:mr-6
8472
8471
  jn:shrink-0
8473
- `, Ng = `
8472
+ `, Lg = `
8474
8473
  jn:ml-auto
8475
8474
  jn:self-stretch
8476
8475
  jn:flex
@@ -8488,7 +8487,7 @@ const Ig = `
8488
8487
  dangerBg: "jn:bg-theme-message-danger",
8489
8488
  success: "jn:border-theme-message-success",
8490
8489
  successBg: "jn:bg-theme-message-success"
8491
- }, Lg = (t) => {
8490
+ }, _g = (t) => {
8492
8491
  switch (t) {
8493
8492
  case "error":
8494
8493
  return qe.errorBg;
@@ -8503,7 +8502,7 @@ const Ig = `
8503
8502
  default:
8504
8503
  return qe.defaultBg;
8505
8504
  }
8506
- }, _g = (t) => {
8505
+ }, Rg = (t) => {
8507
8506
  switch (t) {
8508
8507
  case "error":
8509
8508
  return qe.error;
@@ -8518,7 +8517,7 @@ const Ig = `
8518
8517
  default:
8519
8518
  return qe.default;
8520
8519
  }
8521
- }, Rg = (t) => new Set(Object.values(io)).has(t), Fg = (t) => t === "error" ? "dangerous" : Rg(t) ? t : "default", Hg = (t) => {
8520
+ }, Fg = (t) => new Set(Object.values(io)).has(t), Hg = (t) => t === "error" ? "dangerous" : Fg(t) ? t : "default", zg = (t) => {
8522
8521
  switch (t) {
8523
8522
  case "info":
8524
8523
  return "jn:text-theme-info jn:shrink-0";
@@ -8533,13 +8532,13 @@ const Ig = `
8533
8532
  default:
8534
8533
  return "jn:text-theme-info jn:shrink-0";
8535
8534
  }
8536
- }, zg = (t, n, e, r) => {
8535
+ }, Bg = (t, n, e, r) => {
8537
8536
  !t || n < 1 || (r.current !== null && clearTimeout(r.current), r.current = window.setTimeout(() => {
8538
8537
  e();
8539
8538
  }, n));
8540
- }, Bg = (t) => {
8539
+ }, Vg = (t) => {
8541
8540
  t.current !== null && (clearTimeout(t.current), t.current = null);
8542
- }, Vg = ({
8541
+ }, $g = ({
8543
8542
  title: t,
8544
8543
  variant: n = "info",
8545
8544
  dismissible: e = !1,
@@ -8553,24 +8552,24 @@ const Ig = `
8553
8552
  u(!1), i && i();
8554
8553
  };
8555
8554
  if (we(() => () => {
8556
- Bg(c);
8555
+ Vg(c);
8557
8556
  }, []), we(() => {
8558
- zg(r, o, p, c);
8557
+ Bg(r, o, p, c);
8559
8558
  }, [r, o]), !s) return null;
8560
- const g = Fg(n), b = Lg(n), x = _g(n);
8559
+ const g = Hg(n), b = _g(n), x = Rg(n);
8561
8560
  return /* @__PURE__ */ H.jsxs(
8562
8561
  "div",
8563
8562
  {
8564
- className: `juno-message juno-message-${n} ${Ig} ${b} ${a}`,
8563
+ className: `juno-message juno-message-${n} ${Ag} ${b} ${a}`,
8565
8564
  ...l,
8566
8565
  children: [
8567
- /* @__PURE__ */ H.jsx("div", { className: `juno-message-border ${jg} ${x}` }),
8568
- /* @__PURE__ */ H.jsx(jn, { icon: g, className: `${Hg(n)}` }),
8569
- /* @__PURE__ */ H.jsxs("div", { className: `juno-message-content ${Pg}`, children: [
8570
- t && /* @__PURE__ */ H.jsx("h1", { className: Ag, children: t }),
8566
+ /* @__PURE__ */ H.jsx("div", { className: `juno-message-border ${Ng} ${x}` }),
8567
+ /* @__PURE__ */ H.jsx(jn, { icon: g, className: `${zg(n)}` }),
8568
+ /* @__PURE__ */ H.jsxs("div", { className: `juno-message-content ${jg}`, children: [
8569
+ t && /* @__PURE__ */ H.jsx("h1", { className: Pg, children: t }),
8571
8570
  /* @__PURE__ */ H.jsx("div", { children: m || v })
8572
8571
  ] }),
8573
- e && /* @__PURE__ */ H.jsx("div", { className: Ng, children: /* @__PURE__ */ H.jsx(
8572
+ e && /* @__PURE__ */ H.jsx("div", { className: Lg, children: /* @__PURE__ */ H.jsx(
8574
8573
  jn,
8575
8574
  {
8576
8575
  icon: "close",
@@ -8588,21 +8587,21 @@ function to(t, n) {
8588
8587
  for (var e = 0, r = Array(n); e < n; e++) r[e] = t[e];
8589
8588
  return r;
8590
8589
  }
8591
- function $g(t) {
8590
+ function Wg(t) {
8592
8591
  if (Array.isArray(t)) return to(t);
8593
8592
  }
8594
- function Wg(t, n, e) {
8595
- return (n = Zg(n)) in t ? Object.defineProperty(t, n, {
8593
+ function Ug(t, n, e) {
8594
+ return (n = Qg(n)) in t ? Object.defineProperty(t, n, {
8596
8595
  value: e,
8597
8596
  enumerable: !0,
8598
8597
  configurable: !0,
8599
8598
  writable: !0
8600
8599
  }) : t[n] = e, t;
8601
8600
  }
8602
- function Ug(t) {
8601
+ function Yg(t) {
8603
8602
  if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
8604
8603
  }
8605
- function Yg() {
8604
+ function Gg() {
8606
8605
  throw new TypeError(`Invalid attempt to spread non-iterable instance.
8607
8606
  In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
8608
8607
  }
@@ -8620,17 +8619,17 @@ function sa(t) {
8620
8619
  for (var n = 1; n < arguments.length; n++) {
8621
8620
  var e = arguments[n] != null ? arguments[n] : {};
8622
8621
  n % 2 ? la(Object(e), !0).forEach(function(r) {
8623
- Wg(t, r, e[r]);
8622
+ Ug(t, r, e[r]);
8624
8623
  }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : la(Object(e)).forEach(function(r) {
8625
8624
  Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
8626
8625
  });
8627
8626
  }
8628
8627
  return t;
8629
8628
  }
8630
- function Gg(t) {
8631
- return $g(t) || Ug(t) || Qg(t) || Yg();
8629
+ function Kg(t) {
8630
+ return Wg(t) || Yg(t) || qg(t) || Gg();
8632
8631
  }
8633
- function Kg(t, n) {
8632
+ function Zg(t, n) {
8634
8633
  if (typeof t != "object" || !t) return t;
8635
8634
  var e = t[Symbol.toPrimitive];
8636
8635
  if (e !== void 0) {
@@ -8640,11 +8639,11 @@ function Kg(t, n) {
8640
8639
  }
8641
8640
  return (n === "string" ? String : Number)(t);
8642
8641
  }
8643
- function Zg(t) {
8644
- var n = Kg(t, "string");
8642
+ function Qg(t) {
8643
+ var n = Zg(t, "string");
8645
8644
  return typeof n == "symbol" ? n : n + "";
8646
8645
  }
8647
- function Qg(t, n) {
8646
+ function qg(t, n) {
8648
8647
  if (t) {
8649
8648
  if (typeof t == "string") return to(t, n);
8650
8649
  var e = {}.toString.call(t).slice(8, -1);
@@ -8664,15 +8663,15 @@ var ca = {
8664
8663
  var e = t.indexOf(n);
8665
8664
  e !== -1 && t.splice(e, 1), t.length > 0 && !t[t.length - 1]._isManuallyPaused() && t[t.length - 1]._setPausedState(!1);
8666
8665
  }
8667
- }, qg = function(t) {
8666
+ }, Jg = function(t) {
8668
8667
  return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
8669
8668
  }, Xg = function(t) {
8670
8669
  return t?.key === "Escape" || t?.key === "Esc" || t?.keyCode === 27;
8671
8670
  }, nn = function(t) {
8672
8671
  return t?.key === "Tab" || t?.keyCode === 9;
8673
- }, Jg = function(t) {
8674
- return nn(t) && !t.shiftKey;
8675
8672
  }, ev = function(t) {
8673
+ return nn(t) && !t.shiftKey;
8674
+ }, tv = function(t) {
8676
8675
  return nn(t) && t.shiftKey;
8677
8676
  }, ua = function(t) {
8678
8677
  return setTimeout(t, 0);
@@ -8682,13 +8681,13 @@ var ca = {
8682
8681
  return typeof t == "function" ? t.apply(void 0, e) : t;
8683
8682
  }, Dn = function(t) {
8684
8683
  return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
8685
- }, tv = [], nv = function(t, n) {
8686
- var e = n?.document || document, r = n?.trapStack || tv, o = sa({
8684
+ }, nv = [], rv = function(t, n) {
8685
+ var e = n?.document || document, r = n?.trapStack || nv, o = sa({
8687
8686
  returnFocusOnDeactivate: !0,
8688
8687
  escapeDeactivates: !0,
8689
8688
  delayInitialFocus: !0,
8690
- isKeyForward: Jg,
8691
- isKeyBackward: ev
8689
+ isKeyForward: ev,
8690
+ isKeyBackward: tv
8692
8691
  }, n), i = {
8693
8692
  // containers given to createFocusTrap()
8694
8693
  // @type {Array<HTMLElement>}
@@ -8738,7 +8737,7 @@ var ca = {
8738
8737
  });
8739
8738
  }, u = function(y) {
8740
8739
  var E = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, L = E.hasFallback, B = L === void 0 ? !1 : L, A = E.params, W = A === void 0 ? [] : A, G = o[y];
8741
- if (typeof G == "function" && (G = G.apply(void 0, Gg(W))), G === !0 && (G = void 0), !G) {
8740
+ if (typeof G == "function" && (G = G.apply(void 0, Kg(W))), G === !0 && (G = void 0), !G) {
8742
8741
  if (G === void 0 || G === !1)
8743
8742
  return G;
8744
8743
  throw new Error("`".concat(y, "` was specified but was not a node, or did not return a node"));
@@ -8838,7 +8837,7 @@ var ca = {
8838
8837
  }
8839
8838
  y.focus({
8840
8839
  preventScroll: !!o.preventScroll
8841
- }), i.mostRecentlyFocusedNode = y, qg(y) && y.select();
8840
+ }), i.mostRecentlyFocusedNode = y, Jg(y) && y.select();
8842
8841
  }
8843
8842
  }, g = function(y) {
8844
8843
  var E = u("setReturnFocus", {
@@ -8868,8 +8867,8 @@ var ca = {
8868
8867
  return E === $;
8869
8868
  });
8870
8869
  if (k < 0 && (P.container === E || kn(E, o.tabbableOptions) && !xt(E, o.tabbableOptions) && !P.nextTabbableNode(E)) && (k = G), k >= 0) {
8871
- var ne = k === i.tabbableGroups.length - 1 ? 0 : k + 1, J = i.tabbableGroups[ne];
8872
- W = ft(E) >= 0 ? J.firstTabbableNode : J.firstDomTabbableNode;
8870
+ var ne = k === i.tabbableGroups.length - 1 ? 0 : k + 1, X = i.tabbableGroups[ne];
8871
+ W = ft(E) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
8873
8872
  } else nn(L) || (W = P.nextTabbableNode(E));
8874
8873
  }
8875
8874
  } else
@@ -9044,12 +9043,12 @@ var ca = {
9044
9043
  }
9045
9044
  }), a.updateContainerElements(t), a;
9046
9045
  };
9047
- const rv = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9046
+ const ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9048
9047
  __proto__: null,
9049
- createFocusTrap: nv
9050
- }, Symbol.toStringTag, { value: "Module" })), ov = /* @__PURE__ */ ha(rv), iv = /* @__PURE__ */ ha(Fp);
9048
+ createFocusTrap: rv
9049
+ }, Symbol.toStringTag, { value: "Module" })), iv = /* @__PURE__ */ ha(ov), av = /* @__PURE__ */ ha(Hp);
9051
9050
  var da;
9052
- function av() {
9051
+ function lv() {
9053
9052
  if (da) return Mn.exports;
9054
9053
  da = 1;
9055
9054
  function t(j) {
@@ -9126,7 +9125,7 @@ function av() {
9126
9125
  }
9127
9126
  return (T === "string" ? String : Number)(j);
9128
9127
  }
9129
- var x = V, C = ov, O = C.createFocusTrap, I = iv, F = I.isFocusable, R = parseInt((n = (e = /^(\d+)\./.exec(x.version)) === null || e === void 0 ? void 0 : e[1]) !== null && n !== void 0 ? n : 0, 10), _ = /* @__PURE__ */ (function(j) {
9128
+ var x = V, C = iv, O = C.createFocusTrap, I = av, F = I.isFocusable, R = parseInt((n = (e = /^(\d+)\./.exec(x.version)) === null || e === void 0 ? void 0 : e[1]) !== null && n !== void 0 ? n : 0, 10), _ = /* @__PURE__ */ (function(j) {
9130
9129
  function T(N) {
9131
9130
  var S;
9132
9131
  r(this, T), S = a(this, T, [N]), p(S, "getNodeForOption", function(L) {
@@ -9319,27 +9318,27 @@ function av() {
9319
9318
  _createFocusTrap: O
9320
9319
  }, Mn.exports = _, Mn.exports.FocusTrap = _, Mn.exports;
9321
9320
  }
9322
- av();
9321
+ lv();
9323
9322
  me(void 0);
9324
9323
  me(null);
9325
9324
  me({});
9326
- const lv = `
9325
+ const sv = `
9327
9326
  jn:h-px
9328
9327
  jn:w-full
9329
9328
  jn:bg-theme-background-lvl-3
9330
- `, sv = V.forwardRef(
9331
- ({ className: t = "", ...n }, e) => /* @__PURE__ */ H.jsx("div", { className: `juno-select-divider ${lv} ${t}`, ref: e, ...n })
9329
+ `, cv = V.forwardRef(
9330
+ ({ className: t = "", ...n }, e) => /* @__PURE__ */ H.jsx("div", { className: `juno-select-divider ${sv} ${t}`, ref: e, ...n })
9332
9331
  );
9333
- sv.displayName = "SelectDivider";
9332
+ cv.displayName = "SelectDivider";
9334
9333
  me(void 0);
9335
9334
  me(0);
9336
9335
  me(void 0);
9337
- const cv = V.createContext(null), Wl = () => {
9338
- const t = V.useContext(cv);
9336
+ const uv = V.createContext(null), Wl = () => {
9337
+ const t = V.useContext(uv);
9339
9338
  if (t == null)
9340
9339
  throw new Error("Tooltip components must be wrapped in <Tooltip />");
9341
9340
  return t;
9342
- }, uv = `
9341
+ }, dv = `
9343
9342
  jn:bg-theme-background-lvl-1
9344
9343
  jn:text-theme-high
9345
9344
  jn:inline-flex
@@ -9347,25 +9346,18 @@ const cv = V.createContext(null), Wl = () => {
9347
9346
  jn:p-2
9348
9347
  jn:rounded
9349
9348
  jn:drop-shadow-[0_0_4px_rgba(0,0,0,0.15)]
9350
- `, dv = `
9349
+ `, fv = `
9351
9350
  jn:mx-4
9352
9351
  jn:max-w-full
9353
- `, fv = `
9352
+ `, pv = `
9354
9353
  jn:shrink-0
9355
- `, pv = (t) => {
9356
- switch (t) {
9357
- case "error":
9358
- return "dangerous";
9359
- default:
9360
- return t;
9361
- }
9362
- };
9354
+ `, mv = (t) => t === "error" ? "dangerous" : t;
9363
9355
  V.forwardRef(function({ className: t = "", children: n, ...e }, r) {
9364
- const o = Wl(), i = Jr([o.refs?.setFloating ?? null, r]), a = o.variant;
9356
+ const o = Wl(), i = Xr([o.refs?.setFloating ?? null, r]), a = o.variant;
9365
9357
  return o.disabled ? null : /* @__PURE__ */ H.jsx(H.Fragment, { children: o.open && /* @__PURE__ */ H.jsxs(
9366
9358
  "div",
9367
9359
  {
9368
- className: `juno-tooltip juno-tooltip-${a} ${uv} ${t}`,
9360
+ className: `juno-tooltip juno-tooltip-${a} ${dv} ${t}`,
9369
9361
  ref: i,
9370
9362
  style: {
9371
9363
  ...o.floatingStyles
@@ -9375,21 +9367,21 @@ V.forwardRef(function({ className: t = "", children: n, ...e }, r) {
9375
9367
  a && /* @__PURE__ */ H.jsx(
9376
9368
  jn,
9377
9369
  {
9378
- icon: pv(a),
9370
+ icon: mv(a),
9379
9371
  color: `jn:text-theme-${a}`,
9380
- className: `juno-tooltip-popover-icon ${fv}`
9372
+ className: `juno-tooltip-popover-icon ${pv}`
9381
9373
  }
9382
9374
  ),
9383
- /* @__PURE__ */ H.jsx("p", { className: `${dv}`, children: n })
9375
+ /* @__PURE__ */ H.jsx("p", { className: `${fv}`, children: n })
9384
9376
  ]
9385
9377
  }
9386
9378
  ) });
9387
9379
  });
9388
9380
  V.forwardRef(function({ children: t, asChild: n = !1, className: e = "", ...r }, o) {
9389
- const i = Wl(), a = Jr([i.refs?.setReference, o]);
9381
+ const i = Wl(), a = Xr([i.refs?.setReference, o]);
9390
9382
  if (n && V.isValidElement(t)) {
9391
9383
  const l = t.props, s = l.ref, u = i.refs?.setReference, c = {
9392
- ref: Jr([u, o, s]),
9384
+ ref: Xr([u, o, s]),
9393
9385
  ...r,
9394
9386
  ...l,
9395
9387
  "data-state": i.open ? "open" : "closed",
@@ -9408,21 +9400,21 @@ V.forwardRef(function({ children: t, asChild: n = !1, className: e = "", ...r },
9408
9400
  }
9409
9401
  );
9410
9402
  });
9411
- const mv = (t) => t === "info" || t === "success", yv = ({ className: t }) => {
9403
+ const hv = (t) => t === "info" || t === "success", wv = ({ className: t }) => {
9412
9404
  const n = ys(), { removeMessage: e } = ws(), r = (o) => {
9413
9405
  e(o);
9414
9406
  };
9415
9407
  return /* @__PURE__ */ V.createElement(V.Fragment, null, n && n.length > 0 && /* @__PURE__ */ V.createElement("div", { role: "group", className: `juno-message-provider ${t || ""}` }, n.map((o, i) => {
9416
9408
  const { id: a, variant: l, text: s, ...u } = o;
9417
9409
  return /* @__PURE__ */ V.createElement(
9418
- Vg,
9410
+ $g,
9419
9411
  {
9420
9412
  role: "alert",
9421
9413
  key: a,
9422
9414
  className: i > 0 ? "mt-4" : "",
9423
9415
  variant: l,
9424
9416
  dismissible: !0,
9425
- autoDismiss: mv(l),
9417
+ autoDismiss: hv(l),
9426
9418
  onDismiss: () => r(a),
9427
9419
  ...u
9428
9420
  },
@@ -9431,8 +9423,8 @@ const mv = (t) => t === "info" || t === "success", yv = ({ className: t }) => {
9431
9423
  })));
9432
9424
  };
9433
9425
  export {
9434
- yv as Messages,
9435
- bv as MessagesProvider,
9426
+ wv as Messages,
9427
+ yv as MessagesProvider,
9436
9428
  ws as useActions,
9437
9429
  ys as useMessages
9438
9430
  };