@cloudoperators/juno-messages-provider 0.2.27 → 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.
- package/build/index.js +822 -847
- package/package.json +4 -4
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
|
|
7
|
-
storeId:
|
|
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 =
|
|
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),
|
|
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 = {},
|
|
54
|
+
var Er = { exports: {} }, Kt = {}, Xo;
|
|
55
55
|
function xs() {
|
|
56
|
-
if (
|
|
57
|
-
|
|
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,
|
|
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
|
-
|
|
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,
|
|
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:
|
|
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,
|
|
218
|
+
function c(D, k, ne, X, fe, $) {
|
|
219
219
|
var ee = k.children;
|
|
220
220
|
if (ee !== void 0)
|
|
221
|
-
if (
|
|
221
|
+
if (X)
|
|
222
222
|
if (B(ee)) {
|
|
223
|
-
for (
|
|
224
|
-
v(ee[
|
|
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
|
-
|
|
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
|
-
|
|
243
|
+
X,
|
|
244
244
|
ee,
|
|
245
245
|
ie,
|
|
246
246
|
ee
|
|
247
|
-
), oe[ee +
|
|
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
|
|
285
|
+
var X = 1e4 > E.recentlyCreatedOwnerStacks++;
|
|
286
286
|
return c(
|
|
287
287
|
D,
|
|
288
288
|
k,
|
|
289
289
|
ne,
|
|
290
290
|
!1,
|
|
291
|
-
|
|
292
|
-
|
|
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
|
|
295
|
+
var X = 1e4 > E.recentlyCreatedOwnerStacks++;
|
|
296
296
|
return c(
|
|
297
297
|
D,
|
|
298
298
|
k,
|
|
299
299
|
ne,
|
|
300
300
|
!0,
|
|
301
|
-
|
|
302
|
-
|
|
301
|
+
X ? Error("react-stack-top-frame") : P,
|
|
302
|
+
X ? A(r(D)) : U
|
|
303
303
|
);
|
|
304
304
|
};
|
|
305
305
|
})()), xn;
|
|
@@ -315,248 +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
|
|
319
|
+
const Os = {
|
|
326
320
|
position: "relative",
|
|
327
321
|
zIndex: "1"
|
|
328
|
-
},
|
|
329
|
-
const n = ye(
|
|
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:
|
|
326
|
+
}, [n]), e ? oo(/* @__PURE__ */ H.jsx("div", { className: "juno-portal", style: Os, children: t }), n.current || document.body) : null;
|
|
333
327
|
};
|
|
334
|
-
|
|
335
|
-
const
|
|
328
|
+
Ms.displayName = "PortalProvider.Portal";
|
|
329
|
+
const Ds = me(void 0), Ts = ({
|
|
336
330
|
title: t,
|
|
337
331
|
titleId: n,
|
|
338
332
|
...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" })),
|
|
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 = ({
|
|
340
334
|
title: t,
|
|
341
335
|
titleId: n,
|
|
342
336
|
...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" })),
|
|
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 = ({
|
|
344
338
|
title: t,
|
|
345
339
|
titleId: n,
|
|
346
340
|
...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" })),
|
|
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 = ({
|
|
348
342
|
title: t,
|
|
349
343
|
titleId: n,
|
|
350
344
|
...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" })),
|
|
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 = ({
|
|
352
346
|
title: t,
|
|
353
347
|
titleId: n,
|
|
354
348
|
...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" })),
|
|
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 = ({
|
|
356
350
|
title: t,
|
|
357
351
|
titleId: n,
|
|
358
352
|
...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" })),
|
|
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 = ({
|
|
360
354
|
title: t,
|
|
361
355
|
titleId: n,
|
|
362
356
|
...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" })),
|
|
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 = ({
|
|
364
358
|
title: t,
|
|
365
359
|
titleId: n,
|
|
366
360
|
...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" })),
|
|
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 = ({
|
|
368
362
|
title: t,
|
|
369
363
|
titleId: n,
|
|
370
364
|
...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" })),
|
|
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 = ({
|
|
372
366
|
title: t,
|
|
373
367
|
titleId: n,
|
|
374
368
|
...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" })),
|
|
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 = ({
|
|
376
370
|
title: t,
|
|
377
371
|
titleId: n,
|
|
378
372
|
...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" })),
|
|
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 = ({
|
|
380
374
|
title: t,
|
|
381
375
|
titleId: n,
|
|
382
376
|
...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" })),
|
|
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 = ({
|
|
384
378
|
title: t,
|
|
385
379
|
titleId: n,
|
|
386
380
|
...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" })),
|
|
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 = ({
|
|
388
382
|
title: t,
|
|
389
383
|
titleId: n,
|
|
390
384
|
...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: "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" })),
|
|
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 = ({
|
|
392
386
|
title: t,
|
|
393
387
|
titleId: n,
|
|
394
388
|
...e
|
|
395
|
-
}, 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" })),
|
|
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 = ({
|
|
396
390
|
title: t,
|
|
397
391
|
titleId: n,
|
|
398
392
|
...e
|
|
399
|
-
}, 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" })),
|
|
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 = ({
|
|
400
394
|
title: t,
|
|
401
395
|
titleId: n,
|
|
402
396
|
...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: "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(
|
|
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 = ({
|
|
404
398
|
title: t,
|
|
405
399
|
titleId: n,
|
|
406
400
|
...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: "M5 20h14v-2H5v2zM19 9h-4V3H9v6H5l7 7 7-7z" })),
|
|
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 = ({
|
|
408
402
|
title: t,
|
|
409
403
|
titleId: n,
|
|
410
404
|
...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: "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" })),
|
|
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 = ({
|
|
412
406
|
title: t,
|
|
413
407
|
titleId: n,
|
|
414
408
|
...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: "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" })),
|
|
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 = ({
|
|
416
410
|
title: t,
|
|
417
411
|
titleId: n,
|
|
418
412
|
...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: "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" })),
|
|
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 = ({
|
|
420
414
|
title: t,
|
|
421
415
|
titleId: n,
|
|
422
416
|
...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: "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" })),
|
|
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 = ({
|
|
424
418
|
title: t,
|
|
425
419
|
titleId: n,
|
|
426
420
|
...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: "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" })),
|
|
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 = ({
|
|
428
422
|
title: t,
|
|
429
423
|
titleId: n,
|
|
430
424
|
...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: "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" })),
|
|
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 = ({
|
|
432
426
|
title: t,
|
|
433
427
|
titleId: n,
|
|
434
428
|
...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: "m12 8-6 6 1.41 1.41L12 10.83l4.59 4.58L18 14l-6-6z" })),
|
|
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 = ({
|
|
436
430
|
title: t,
|
|
437
431
|
titleId: n,
|
|
438
432
|
...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: "M16.59 8.59 12 13.17 7.41 8.59 6 10l6 6 6-6-1.41-1.41z" })),
|
|
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 = ({
|
|
440
434
|
title: t,
|
|
441
435
|
titleId: n,
|
|
442
436
|
...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: "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" })),
|
|
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 = ({
|
|
444
438
|
title: t,
|
|
445
439
|
titleId: n,
|
|
446
440
|
...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: "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" })),
|
|
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 = ({
|
|
448
442
|
title: t,
|
|
449
443
|
titleId: n,
|
|
450
444
|
...e
|
|
451
|
-
}, 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(
|
|
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 = ({
|
|
452
446
|
title: t,
|
|
453
447
|
titleId: n,
|
|
454
448
|
...e
|
|
455
|
-
}, 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" })),
|
|
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 = ({
|
|
456
450
|
title: t,
|
|
457
451
|
titleId: n,
|
|
458
452
|
...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: "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" })),
|
|
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 = ({
|
|
460
454
|
title: t,
|
|
461
455
|
titleId: n,
|
|
462
456
|
...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("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" })),
|
|
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 = ({
|
|
464
458
|
title: t,
|
|
465
459
|
titleId: n,
|
|
466
460
|
...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("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" })),
|
|
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 = ({
|
|
468
462
|
title: t,
|
|
469
463
|
titleId: n,
|
|
470
464
|
...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: "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" })),
|
|
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 = ({
|
|
472
466
|
title: t,
|
|
473
467
|
titleId: n,
|
|
474
468
|
...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: "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" })),
|
|
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 = ({
|
|
476
470
|
title: t,
|
|
477
471
|
titleId: n,
|
|
478
472
|
...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: "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" })),
|
|
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 = ({
|
|
480
474
|
title: t,
|
|
481
475
|
titleId: n,
|
|
482
476
|
...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: "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" })),
|
|
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 = ({
|
|
484
478
|
title: t,
|
|
485
479
|
titleId: n,
|
|
486
480
|
...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 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" })),
|
|
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 = ({
|
|
488
482
|
title: t,
|
|
489
483
|
titleId: n,
|
|
490
484
|
...e
|
|
491
|
-
}, 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" })),
|
|
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 = ({
|
|
492
486
|
title: t,
|
|
493
487
|
titleId: n,
|
|
494
488
|
...e
|
|
495
|
-
}, 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" })),
|
|
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 = ({
|
|
496
490
|
title: t,
|
|
497
491
|
titleId: n,
|
|
498
492
|
...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: "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" })),
|
|
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 = ({
|
|
500
494
|
title: t,
|
|
501
495
|
titleId: n,
|
|
502
496
|
...e
|
|
503
|
-
}, 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" })),
|
|
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 = ({
|
|
504
498
|
title: t,
|
|
505
499
|
titleId: n,
|
|
506
500
|
...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-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" })),
|
|
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 = ({
|
|
508
502
|
title: t,
|
|
509
503
|
titleId: n,
|
|
510
504
|
...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-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" })),
|
|
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 = ({
|
|
512
506
|
title: t,
|
|
513
507
|
titleId: n,
|
|
514
508
|
...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-high", ref: r, "aria-labelledby": n, ...e }, t ? /* @__PURE__ */ d.createElement("title", { id: n }, t) : null, /* @__PURE__ */ d.createElement("path", { d: "M19 5H5V19H19V5Z" })),
|
|
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 = ({
|
|
516
510
|
title: t,
|
|
517
511
|
titleId: n,
|
|
518
512
|
...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-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" })),
|
|
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 = ({
|
|
520
514
|
title: t,
|
|
521
515
|
titleId: n,
|
|
522
516
|
...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-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" })),
|
|
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 = ({
|
|
524
518
|
title: t,
|
|
525
519
|
titleId: n,
|
|
526
520
|
...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": "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" })),
|
|
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 = ({
|
|
528
522
|
title: t,
|
|
529
523
|
titleId: n,
|
|
530
524
|
...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-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" })),
|
|
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 = ({
|
|
532
526
|
title: t,
|
|
533
527
|
titleId: n,
|
|
534
528
|
...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_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" })),
|
|
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 = ({
|
|
536
530
|
title: t,
|
|
537
531
|
titleId: n,
|
|
538
532
|
...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-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" })),
|
|
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 = ({
|
|
540
534
|
title: t,
|
|
541
535
|
titleId: n,
|
|
542
536
|
...e
|
|
543
|
-
}, 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" })),
|
|
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 = ({
|
|
544
538
|
title: t,
|
|
545
539
|
titleId: n,
|
|
546
540
|
...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: "M5 20h14v-2H5v2zm0-10h4v6h6v-6h4l-7-7-7 7z" })),
|
|
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 = ({
|
|
548
542
|
title: t,
|
|
549
543
|
titleId: n,
|
|
550
544
|
...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: "M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z" })),
|
|
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 = ({
|
|
552
546
|
title: t,
|
|
553
547
|
titleId: n,
|
|
554
548
|
...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: "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" })),
|
|
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 = ({
|
|
556
550
|
title: t,
|
|
557
551
|
titleId: n,
|
|
558
552
|
...e
|
|
559
|
-
}, 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" })),
|
|
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 = `
|
|
560
554
|
jn:text-current
|
|
561
555
|
jn:hover:text-theme-high
|
|
562
556
|
jn:focus:outline-hidden
|
|
@@ -566,7 +560,7 @@ const Ts = me(void 0), ks = ({
|
|
|
566
560
|
jn:focus-visible:ring-offset-theme-focus
|
|
567
561
|
jn:disabled:opacity-50
|
|
568
562
|
jn:disabled:cursor-not-allowed
|
|
569
|
-
`,
|
|
563
|
+
`, Au = `
|
|
570
564
|
jn:hover:text-theme-high
|
|
571
565
|
jn:focus:outline-hidden
|
|
572
566
|
jn:focus-visible:ring-2
|
|
@@ -577,12 +571,12 @@ const Ts = me(void 0), ks = ({
|
|
|
577
571
|
jn:disabled:cursor-not-allowed
|
|
578
572
|
`;
|
|
579
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 || {});
|
|
580
|
-
const
|
|
574
|
+
const Pu = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) => {
|
|
581
575
|
const a = `juno-icon juno-icon-${t} jn:fill-current ${n} ${o}`;
|
|
582
576
|
switch (io[t || "default"]) {
|
|
583
577
|
case "accessTime":
|
|
584
578
|
return /* @__PURE__ */ H.jsx(
|
|
585
|
-
|
|
579
|
+
ks,
|
|
586
580
|
{
|
|
587
581
|
width: e,
|
|
588
582
|
height: e,
|
|
@@ -595,7 +589,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
595
589
|
);
|
|
596
590
|
case "accountCircle":
|
|
597
591
|
return /* @__PURE__ */ H.jsx(
|
|
598
|
-
|
|
592
|
+
As,
|
|
599
593
|
{
|
|
600
594
|
width: e,
|
|
601
595
|
height: e,
|
|
@@ -608,7 +602,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
608
602
|
);
|
|
609
603
|
case "addCircle":
|
|
610
604
|
return /* @__PURE__ */ H.jsx(
|
|
611
|
-
|
|
605
|
+
js,
|
|
612
606
|
{
|
|
613
607
|
width: e,
|
|
614
608
|
height: e,
|
|
@@ -621,7 +615,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
621
615
|
);
|
|
622
616
|
case "autoAwesomeMosaic":
|
|
623
617
|
return /* @__PURE__ */ H.jsx(
|
|
624
|
-
|
|
618
|
+
Ls,
|
|
625
619
|
{
|
|
626
620
|
width: e,
|
|
627
621
|
height: e,
|
|
@@ -634,7 +628,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
634
628
|
);
|
|
635
629
|
case "autoAwesomeMotion":
|
|
636
630
|
return /* @__PURE__ */ H.jsx(
|
|
637
|
-
|
|
631
|
+
Rs,
|
|
638
632
|
{
|
|
639
633
|
width: e,
|
|
640
634
|
height: e,
|
|
@@ -647,7 +641,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
647
641
|
);
|
|
648
642
|
case "bolt":
|
|
649
643
|
return /* @__PURE__ */ H.jsx(
|
|
650
|
-
|
|
644
|
+
Hs,
|
|
651
645
|
{
|
|
652
646
|
width: e,
|
|
653
647
|
height: e,
|
|
@@ -660,7 +654,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
660
654
|
);
|
|
661
655
|
case "calendarToday":
|
|
662
656
|
return /* @__PURE__ */ H.jsx(
|
|
663
|
-
|
|
657
|
+
Bs,
|
|
664
658
|
{
|
|
665
659
|
width: e,
|
|
666
660
|
height: e,
|
|
@@ -673,7 +667,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
673
667
|
);
|
|
674
668
|
case "cancel":
|
|
675
669
|
return /* @__PURE__ */ H.jsx(
|
|
676
|
-
|
|
670
|
+
$s,
|
|
677
671
|
{
|
|
678
672
|
width: e,
|
|
679
673
|
height: e,
|
|
@@ -686,7 +680,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
686
680
|
);
|
|
687
681
|
case "check":
|
|
688
682
|
return /* @__PURE__ */ H.jsx(
|
|
689
|
-
|
|
683
|
+
Us,
|
|
690
684
|
{
|
|
691
685
|
width: e,
|
|
692
686
|
height: e,
|
|
@@ -699,7 +693,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
699
693
|
);
|
|
700
694
|
case "checkCircle":
|
|
701
695
|
return /* @__PURE__ */ H.jsx(
|
|
702
|
-
|
|
696
|
+
Gs,
|
|
703
697
|
{
|
|
704
698
|
width: e,
|
|
705
699
|
height: e,
|
|
@@ -712,7 +706,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
712
706
|
);
|
|
713
707
|
case "chevronLeft":
|
|
714
708
|
return /* @__PURE__ */ H.jsx(
|
|
715
|
-
|
|
709
|
+
Zs,
|
|
716
710
|
{
|
|
717
711
|
width: e,
|
|
718
712
|
height: e,
|
|
@@ -725,7 +719,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
725
719
|
);
|
|
726
720
|
case "chevronRight":
|
|
727
721
|
return /* @__PURE__ */ H.jsx(
|
|
728
|
-
|
|
722
|
+
qs,
|
|
729
723
|
{
|
|
730
724
|
width: e,
|
|
731
725
|
height: e,
|
|
@@ -738,7 +732,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
738
732
|
);
|
|
739
733
|
case "close":
|
|
740
734
|
return /* @__PURE__ */ H.jsx(
|
|
741
|
-
|
|
735
|
+
Xs,
|
|
742
736
|
{
|
|
743
737
|
width: e,
|
|
744
738
|
height: e,
|
|
@@ -751,7 +745,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
751
745
|
);
|
|
752
746
|
case "comment":
|
|
753
747
|
return /* @__PURE__ */ H.jsx(
|
|
754
|
-
|
|
748
|
+
tc,
|
|
755
749
|
{
|
|
756
750
|
width: e,
|
|
757
751
|
height: e,
|
|
@@ -764,7 +758,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
764
758
|
);
|
|
765
759
|
case "contentCopy":
|
|
766
760
|
return /* @__PURE__ */ H.jsx(
|
|
767
|
-
|
|
761
|
+
rc,
|
|
768
762
|
{
|
|
769
763
|
width: e,
|
|
770
764
|
height: e,
|
|
@@ -777,7 +771,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
777
771
|
);
|
|
778
772
|
case "danger":
|
|
779
773
|
return /* @__PURE__ */ H.jsx(
|
|
780
|
-
|
|
774
|
+
ic,
|
|
781
775
|
{
|
|
782
776
|
width: e,
|
|
783
777
|
height: e,
|
|
@@ -803,7 +797,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
803
797
|
);
|
|
804
798
|
case "deleteForever":
|
|
805
799
|
return /* @__PURE__ */ H.jsx(
|
|
806
|
-
|
|
800
|
+
uc,
|
|
807
801
|
{
|
|
808
802
|
width: e,
|
|
809
803
|
height: e,
|
|
@@ -816,7 +810,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
816
810
|
);
|
|
817
811
|
case "description":
|
|
818
812
|
return /* @__PURE__ */ H.jsx(
|
|
819
|
-
|
|
813
|
+
fc,
|
|
820
814
|
{
|
|
821
815
|
width: e,
|
|
822
816
|
height: e,
|
|
@@ -829,7 +823,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
829
823
|
);
|
|
830
824
|
case "dns":
|
|
831
825
|
return /* @__PURE__ */ H.jsx(
|
|
832
|
-
|
|
826
|
+
mc,
|
|
833
827
|
{
|
|
834
828
|
width: e,
|
|
835
829
|
height: e,
|
|
@@ -842,7 +836,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
842
836
|
);
|
|
843
837
|
case "download":
|
|
844
838
|
return /* @__PURE__ */ H.jsx(
|
|
845
|
-
|
|
839
|
+
sc,
|
|
846
840
|
{
|
|
847
841
|
width: e,
|
|
848
842
|
height: e,
|
|
@@ -855,7 +849,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
855
849
|
);
|
|
856
850
|
case "edit":
|
|
857
851
|
return /* @__PURE__ */ H.jsx(
|
|
858
|
-
|
|
852
|
+
gc,
|
|
859
853
|
{
|
|
860
854
|
width: e,
|
|
861
855
|
height: e,
|
|
@@ -881,7 +875,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
881
875
|
);
|
|
882
876
|
case "errorOutline":
|
|
883
877
|
return /* @__PURE__ */ H.jsx(
|
|
884
|
-
|
|
878
|
+
bc,
|
|
885
879
|
{
|
|
886
880
|
width: e,
|
|
887
881
|
height: e,
|
|
@@ -894,7 +888,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
894
888
|
);
|
|
895
889
|
case "exitToApp":
|
|
896
890
|
return /* @__PURE__ */ H.jsx(
|
|
897
|
-
|
|
891
|
+
wc,
|
|
898
892
|
{
|
|
899
893
|
width: e,
|
|
900
894
|
height: e,
|
|
@@ -907,7 +901,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
907
901
|
);
|
|
908
902
|
case "expandLess":
|
|
909
903
|
return /* @__PURE__ */ H.jsx(
|
|
910
|
-
|
|
904
|
+
Ec,
|
|
911
905
|
{
|
|
912
906
|
width: e,
|
|
913
907
|
height: e,
|
|
@@ -920,7 +914,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
920
914
|
);
|
|
921
915
|
case "expandMore":
|
|
922
916
|
return /* @__PURE__ */ H.jsx(
|
|
923
|
-
|
|
917
|
+
Cc,
|
|
924
918
|
{
|
|
925
919
|
width: e,
|
|
926
920
|
height: e,
|
|
@@ -933,7 +927,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
933
927
|
);
|
|
934
928
|
case "filterAlt":
|
|
935
929
|
return /* @__PURE__ */ H.jsx(
|
|
936
|
-
|
|
930
|
+
Mc,
|
|
937
931
|
{
|
|
938
932
|
width: e,
|
|
939
933
|
height: e,
|
|
@@ -946,7 +940,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
946
940
|
);
|
|
947
941
|
case "forum":
|
|
948
942
|
return /* @__PURE__ */ H.jsx(
|
|
949
|
-
|
|
943
|
+
Tc,
|
|
950
944
|
{
|
|
951
945
|
width: e,
|
|
952
946
|
height: e,
|
|
@@ -972,7 +966,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
972
966
|
);
|
|
973
967
|
case "home":
|
|
974
968
|
return /* @__PURE__ */ H.jsx(
|
|
975
|
-
|
|
969
|
+
Ac,
|
|
976
970
|
{
|
|
977
971
|
width: e,
|
|
978
972
|
height: e,
|
|
@@ -985,7 +979,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
985
979
|
);
|
|
986
980
|
case "info":
|
|
987
981
|
return /* @__PURE__ */ H.jsx(
|
|
988
|
-
|
|
982
|
+
jc,
|
|
989
983
|
{
|
|
990
984
|
width: e,
|
|
991
985
|
height: e,
|
|
@@ -998,7 +992,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
998
992
|
);
|
|
999
993
|
case "language":
|
|
1000
994
|
return /* @__PURE__ */ H.jsx(
|
|
1001
|
-
|
|
995
|
+
Lc,
|
|
1002
996
|
{
|
|
1003
997
|
width: e,
|
|
1004
998
|
height: e,
|
|
@@ -1011,7 +1005,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1011
1005
|
);
|
|
1012
1006
|
case "manageAccounts":
|
|
1013
1007
|
return /* @__PURE__ */ H.jsx(
|
|
1014
|
-
|
|
1008
|
+
Rc,
|
|
1015
1009
|
{
|
|
1016
1010
|
width: e,
|
|
1017
1011
|
height: e,
|
|
@@ -1024,7 +1018,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1024
1018
|
);
|
|
1025
1019
|
case "monitorHeart":
|
|
1026
1020
|
return /* @__PURE__ */ H.jsx(
|
|
1027
|
-
|
|
1021
|
+
Hc,
|
|
1028
1022
|
{
|
|
1029
1023
|
width: e,
|
|
1030
1024
|
height: e,
|
|
@@ -1037,7 +1031,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1037
1031
|
);
|
|
1038
1032
|
case "moreVert":
|
|
1039
1033
|
return /* @__PURE__ */ H.jsx(
|
|
1040
|
-
|
|
1034
|
+
Bc,
|
|
1041
1035
|
{
|
|
1042
1036
|
width: e,
|
|
1043
1037
|
height: e,
|
|
@@ -1050,7 +1044,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1050
1044
|
);
|
|
1051
1045
|
case "nightsStay":
|
|
1052
1046
|
return /* @__PURE__ */ H.jsx(
|
|
1053
|
-
|
|
1047
|
+
$c,
|
|
1054
1048
|
{
|
|
1055
1049
|
width: e,
|
|
1056
1050
|
height: e,
|
|
@@ -1063,7 +1057,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1063
1057
|
);
|
|
1064
1058
|
case "notificationsOff":
|
|
1065
1059
|
return /* @__PURE__ */ H.jsx(
|
|
1066
|
-
|
|
1060
|
+
Uc,
|
|
1067
1061
|
{
|
|
1068
1062
|
width: e,
|
|
1069
1063
|
height: e,
|
|
@@ -1076,7 +1070,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1076
1070
|
);
|
|
1077
1071
|
case "openInBrowser":
|
|
1078
1072
|
return /* @__PURE__ */ H.jsx(
|
|
1079
|
-
|
|
1073
|
+
Gc,
|
|
1080
1074
|
{
|
|
1081
1075
|
width: e,
|
|
1082
1076
|
height: e,
|
|
@@ -1089,7 +1083,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1089
1083
|
);
|
|
1090
1084
|
case "openInNew":
|
|
1091
1085
|
return /* @__PURE__ */ H.jsx(
|
|
1092
|
-
|
|
1086
|
+
Zc,
|
|
1093
1087
|
{
|
|
1094
1088
|
width: e,
|
|
1095
1089
|
height: e,
|
|
@@ -1102,7 +1096,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1102
1096
|
);
|
|
1103
1097
|
case "place":
|
|
1104
1098
|
return /* @__PURE__ */ H.jsx(
|
|
1105
|
-
|
|
1099
|
+
qc,
|
|
1106
1100
|
{
|
|
1107
1101
|
width: e,
|
|
1108
1102
|
height: e,
|
|
@@ -1115,7 +1109,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1115
1109
|
);
|
|
1116
1110
|
case "search":
|
|
1117
1111
|
return /* @__PURE__ */ H.jsx(
|
|
1118
|
-
|
|
1112
|
+
tu,
|
|
1119
1113
|
{
|
|
1120
1114
|
width: e,
|
|
1121
1115
|
height: e,
|
|
@@ -1128,7 +1122,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1128
1122
|
);
|
|
1129
1123
|
case "severityLow":
|
|
1130
1124
|
return /* @__PURE__ */ H.jsx(
|
|
1131
|
-
|
|
1125
|
+
ru,
|
|
1132
1126
|
{
|
|
1133
1127
|
width: e,
|
|
1134
1128
|
height: e,
|
|
@@ -1141,7 +1135,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1141
1135
|
);
|
|
1142
1136
|
case "severityMedium":
|
|
1143
1137
|
return /* @__PURE__ */ H.jsx(
|
|
1144
|
-
|
|
1138
|
+
iu,
|
|
1145
1139
|
{
|
|
1146
1140
|
width: e,
|
|
1147
1141
|
height: e,
|
|
@@ -1154,7 +1148,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1154
1148
|
);
|
|
1155
1149
|
case "severityHigh":
|
|
1156
1150
|
return /* @__PURE__ */ H.jsx(
|
|
1157
|
-
|
|
1151
|
+
lu,
|
|
1158
1152
|
{
|
|
1159
1153
|
width: e,
|
|
1160
1154
|
height: e,
|
|
@@ -1167,7 +1161,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1167
1161
|
);
|
|
1168
1162
|
case "severityVeryHigh":
|
|
1169
1163
|
return /* @__PURE__ */ H.jsx(
|
|
1170
|
-
|
|
1164
|
+
cu,
|
|
1171
1165
|
{
|
|
1172
1166
|
width: e,
|
|
1173
1167
|
height: e,
|
|
@@ -1180,7 +1174,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1180
1174
|
);
|
|
1181
1175
|
case "severityCritical":
|
|
1182
1176
|
return /* @__PURE__ */ H.jsx(
|
|
1183
|
-
|
|
1177
|
+
du,
|
|
1184
1178
|
{
|
|
1185
1179
|
width: e,
|
|
1186
1180
|
height: e,
|
|
@@ -1193,7 +1187,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1193
1187
|
);
|
|
1194
1188
|
case "severityUnknown":
|
|
1195
1189
|
return /* @__PURE__ */ H.jsx(
|
|
1196
|
-
|
|
1190
|
+
pu,
|
|
1197
1191
|
{
|
|
1198
1192
|
width: e,
|
|
1199
1193
|
height: e,
|
|
@@ -1206,7 +1200,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1206
1200
|
);
|
|
1207
1201
|
case "success":
|
|
1208
1202
|
return /* @__PURE__ */ H.jsx(
|
|
1209
|
-
|
|
1203
|
+
Xc,
|
|
1210
1204
|
{
|
|
1211
1205
|
width: e,
|
|
1212
1206
|
height: e,
|
|
@@ -1219,7 +1213,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1219
1213
|
);
|
|
1220
1214
|
case "sortShortWideArrowUp":
|
|
1221
1215
|
return /* @__PURE__ */ H.jsx(
|
|
1222
|
-
|
|
1216
|
+
hu,
|
|
1223
1217
|
{
|
|
1224
1218
|
width: e,
|
|
1225
1219
|
height: e,
|
|
@@ -1232,7 +1226,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1232
1226
|
);
|
|
1233
1227
|
case "sortShortWideArrowDown":
|
|
1234
1228
|
return /* @__PURE__ */ H.jsx(
|
|
1235
|
-
|
|
1229
|
+
vu,
|
|
1236
1230
|
{
|
|
1237
1231
|
width: e,
|
|
1238
1232
|
height: e,
|
|
@@ -1245,7 +1239,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1245
1239
|
);
|
|
1246
1240
|
case "sortWideShortArrowUp":
|
|
1247
1241
|
return /* @__PURE__ */ H.jsx(
|
|
1248
|
-
|
|
1242
|
+
yu,
|
|
1249
1243
|
{
|
|
1250
1244
|
width: e,
|
|
1251
1245
|
height: e,
|
|
@@ -1258,7 +1252,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1258
1252
|
);
|
|
1259
1253
|
case "sortWideShortArrowDown":
|
|
1260
1254
|
return /* @__PURE__ */ H.jsx(
|
|
1261
|
-
|
|
1255
|
+
xu,
|
|
1262
1256
|
{
|
|
1263
1257
|
width: e,
|
|
1264
1258
|
height: e,
|
|
@@ -1271,7 +1265,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1271
1265
|
);
|
|
1272
1266
|
case "upload":
|
|
1273
1267
|
return /* @__PURE__ */ H.jsx(
|
|
1274
|
-
|
|
1268
|
+
Su,
|
|
1275
1269
|
{
|
|
1276
1270
|
width: e,
|
|
1277
1271
|
height: e,
|
|
@@ -1284,7 +1278,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1284
1278
|
);
|
|
1285
1279
|
case "widgets":
|
|
1286
1280
|
return /* @__PURE__ */ H.jsx(
|
|
1287
|
-
|
|
1281
|
+
ku,
|
|
1288
1282
|
{
|
|
1289
1283
|
width: e,
|
|
1290
1284
|
height: e,
|
|
@@ -1297,7 +1291,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1297
1291
|
);
|
|
1298
1292
|
case "warning":
|
|
1299
1293
|
return /* @__PURE__ */ H.jsx(
|
|
1300
|
-
|
|
1294
|
+
Ou,
|
|
1301
1295
|
{
|
|
1302
1296
|
width: e,
|
|
1303
1297
|
height: e,
|
|
@@ -1310,7 +1304,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1310
1304
|
);
|
|
1311
1305
|
case "wbSunny":
|
|
1312
1306
|
return /* @__PURE__ */ H.jsx(
|
|
1313
|
-
|
|
1307
|
+
Du,
|
|
1314
1308
|
{
|
|
1315
1309
|
width: e,
|
|
1316
1310
|
height: e,
|
|
@@ -1349,7 +1343,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1349
1343
|
);
|
|
1350
1344
|
}
|
|
1351
1345
|
}, jn = K(function({ icon: t, color: n = "", size: e = 24, title: r = "", className: o = "", href: i = "", disabled: a = !1, onClick: l, ...s }, u) {
|
|
1352
|
-
const c =
|
|
1346
|
+
const c = Pu({
|
|
1353
1347
|
icon: t || void 0,
|
|
1354
1348
|
color: n,
|
|
1355
1349
|
size: e,
|
|
@@ -1364,7 +1358,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1364
1358
|
...s,
|
|
1365
1359
|
type: "button",
|
|
1366
1360
|
onClick: v,
|
|
1367
|
-
className: `juno-icon-button ${
|
|
1361
|
+
className: `juno-icon-button ${Au} ${o}`,
|
|
1368
1362
|
"aria-label": r || t || void 0,
|
|
1369
1363
|
disabled: a,
|
|
1370
1364
|
ref: u,
|
|
@@ -1376,28 +1370,28 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1376
1370
|
...s,
|
|
1377
1371
|
"aria-label": r || t || void 0,
|
|
1378
1372
|
href: i,
|
|
1379
|
-
className: `juno-icon-link ${
|
|
1373
|
+
className: `juno-icon-link ${Iu} ${o}`,
|
|
1380
1374
|
ref: u,
|
|
1381
1375
|
children: c
|
|
1382
1376
|
}
|
|
1383
1377
|
);
|
|
1384
1378
|
return i ? p : l ? m : /* @__PURE__ */ H.jsx("span", { ref: u, children: c });
|
|
1385
|
-
}),
|
|
1379
|
+
}), ju = `
|
|
1386
1380
|
jn:animate-spin
|
|
1387
1381
|
jn:mr-3
|
|
1388
1382
|
jn:h-5
|
|
1389
1383
|
jn:w-5
|
|
1390
|
-
`,
|
|
1384
|
+
`, Nu = `
|
|
1391
1385
|
jn:text-theme-accent
|
|
1392
|
-
`,
|
|
1386
|
+
`, Lu = `
|
|
1393
1387
|
jn:text-theme-danger
|
|
1394
|
-
`,
|
|
1388
|
+
`, _u = `
|
|
1395
1389
|
jn:text-theme-success
|
|
1396
|
-
`,
|
|
1390
|
+
`, Ru = `
|
|
1397
1391
|
jn:text-theme-warning
|
|
1398
|
-
`,
|
|
1392
|
+
`, Fu = `
|
|
1399
1393
|
jn:text-theme-on-default
|
|
1400
|
-
`,
|
|
1394
|
+
`, Hu = ({
|
|
1401
1395
|
variant: t = "default",
|
|
1402
1396
|
size: n,
|
|
1403
1397
|
className: e = "",
|
|
@@ -1407,15 +1401,15 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1407
1401
|
const i = () => {
|
|
1408
1402
|
switch (t) {
|
|
1409
1403
|
case "primary":
|
|
1410
|
-
return
|
|
1404
|
+
return Nu;
|
|
1411
1405
|
case "danger":
|
|
1412
|
-
return
|
|
1406
|
+
return Lu;
|
|
1413
1407
|
case "success":
|
|
1414
|
-
return
|
|
1408
|
+
return _u;
|
|
1415
1409
|
case "warning":
|
|
1416
|
-
return
|
|
1410
|
+
return Ru;
|
|
1417
1411
|
default:
|
|
1418
|
-
return
|
|
1412
|
+
return Fu;
|
|
1419
1413
|
}
|
|
1420
1414
|
}, a = (s) => {
|
|
1421
1415
|
switch (s) {
|
|
@@ -1430,7 +1424,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1430
1424
|
return /* @__PURE__ */ H.jsxs(
|
|
1431
1425
|
"svg",
|
|
1432
1426
|
{
|
|
1433
|
-
className: `juno-spinner ${
|
|
1427
|
+
className: `juno-spinner ${ju} ${r || i()} ${e}`,
|
|
1434
1428
|
xmlns: "http://www.w3.org/2000/svg",
|
|
1435
1429
|
fill: "none",
|
|
1436
1430
|
viewBox: "0 0 24 24",
|
|
@@ -1472,16 +1466,16 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1472
1466
|
`, ii = `
|
|
1473
1467
|
jn:text-base
|
|
1474
1468
|
jn:leading-6
|
|
1475
|
-
`,
|
|
1469
|
+
`, zu = `
|
|
1476
1470
|
jn:py-[0.3125rem]
|
|
1477
1471
|
jn:px-[0.5rem]
|
|
1478
|
-
`,
|
|
1472
|
+
`, Bu = `
|
|
1479
1473
|
jn:py-[0.25rem]
|
|
1480
1474
|
jn:px-[0.4375rem]
|
|
1481
|
-
`,
|
|
1475
|
+
`, Vu = `
|
|
1482
1476
|
jn:py-[0.4375rem]
|
|
1483
1477
|
jn:px-[0.625rem]
|
|
1484
|
-
`,
|
|
1478
|
+
`, $u = `
|
|
1485
1479
|
jn:py-[0.375rem]
|
|
1486
1480
|
jn:px-[0.5625rem]
|
|
1487
1481
|
`, ai = `
|
|
@@ -1491,45 +1485,45 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1491
1485
|
jn:hover:text-theme-button-default-hover
|
|
1492
1486
|
jn:active:bg-theme-button-default-active
|
|
1493
1487
|
jn:active:text-theme-button-default-active
|
|
1494
|
-
`,
|
|
1488
|
+
`, Wu = `
|
|
1495
1489
|
jn:bg-theme-button-primary
|
|
1496
1490
|
jn:text-theme-button-primary
|
|
1497
1491
|
jn:hover:bg-theme-button-primary-hover
|
|
1498
1492
|
jn:hover:text-theme-button-primary-hover
|
|
1499
1493
|
jn:active:bg-theme-button-primary-active
|
|
1500
1494
|
jn_active:text-theme-button-primary-active
|
|
1501
|
-
`,
|
|
1495
|
+
`, Uu = `
|
|
1502
1496
|
jn:bg-theme-button-primary-danger
|
|
1503
1497
|
jn:text-theme-button-primary-danger
|
|
1504
1498
|
jn:hover:bg-theme-button-primary-danger-hover
|
|
1505
1499
|
jn:hover:text-theme-button-primary-danger-hover
|
|
1506
1500
|
jn:active:bg-theme-button-primary-danger-active
|
|
1507
1501
|
jn:active:text-theme-button-primary-danger-active
|
|
1508
|
-
`,
|
|
1502
|
+
`, Yu = `
|
|
1509
1503
|
jn:bg-theme-button-subdued
|
|
1510
1504
|
jn:text-theme-button-subdued
|
|
1511
1505
|
jn:hover:bg-theme-button-subdued-hover
|
|
1512
1506
|
jn:hover:text-theme-button-subdued-hover
|
|
1513
1507
|
jn:active:bg-theme-button-subdued-active
|
|
1514
1508
|
jn:active:text-theme-button-subdued-active
|
|
1515
|
-
`, li = (t, n) => t === "small" ? n === "subdued" ? `${
|
|
1509
|
+
`, li = (t, n) => t === "small" ? n === "subdued" ? `${Bu}` : `${zu}` : n === "subdued" ? `${$u}` : `${Vu}`, si = (t) => {
|
|
1516
1510
|
switch (t) {
|
|
1517
1511
|
case "default":
|
|
1518
1512
|
return ai;
|
|
1519
1513
|
case "primary":
|
|
1520
|
-
return
|
|
1514
|
+
return Wu;
|
|
1521
1515
|
case "primary-danger":
|
|
1522
|
-
return
|
|
1516
|
+
return Uu;
|
|
1523
1517
|
case "subdued":
|
|
1524
|
-
return
|
|
1518
|
+
return Yu;
|
|
1525
1519
|
default:
|
|
1526
1520
|
return ai;
|
|
1527
1521
|
}
|
|
1528
|
-
},
|
|
1522
|
+
}, Gu = `
|
|
1529
1523
|
jn:mr-2
|
|
1530
|
-
`,
|
|
1524
|
+
`, Ku = `
|
|
1531
1525
|
jn:mr-2
|
|
1532
|
-
`,
|
|
1526
|
+
`, Zu = (t) => t === "small" ? `${Gu}` : `${Ku}`, ci = (t) => t ? "in-progress" : "", Qu = (t) => {
|
|
1533
1527
|
switch (t) {
|
|
1534
1528
|
case "default":
|
|
1535
1529
|
return "jn:text-theme-accent";
|
|
@@ -1540,7 +1534,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1540
1534
|
default:
|
|
1541
1535
|
return "";
|
|
1542
1536
|
}
|
|
1543
|
-
},
|
|
1537
|
+
}, qu = V.forwardRef(
|
|
1544
1538
|
({
|
|
1545
1539
|
label: t,
|
|
1546
1540
|
title: n,
|
|
@@ -1556,12 +1550,12 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1556
1550
|
progressLabel: v = "",
|
|
1557
1551
|
...m
|
|
1558
1552
|
}, p) => {
|
|
1559
|
-
const g = n || t || "", b = c ? /* @__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(
|
|
1560
1554
|
jn,
|
|
1561
1555
|
{
|
|
1562
1556
|
icon: a,
|
|
1563
1557
|
title: g,
|
|
1564
|
-
className: `juno-button-icon ${t || u ?
|
|
1558
|
+
className: `juno-button-icon ${t || u ? Zu(r) : ""} `,
|
|
1565
1559
|
size: r === "small" ? "1.125rem" : "1.5rem"
|
|
1566
1560
|
}
|
|
1567
1561
|
) : null, x = c && v ? v : t || u, C = (F) => {
|
|
@@ -1620,7 +1614,7 @@ const ju = ({ icon: t, color: n, size: e, title: r, iconClassName: o, ...i }) =>
|
|
|
1620
1614
|
return i ? I : O;
|
|
1621
1615
|
}
|
|
1622
1616
|
);
|
|
1623
|
-
|
|
1617
|
+
qu.displayName = "Button";
|
|
1624
1618
|
const Ju = `
|
|
1625
1619
|
jn:text-theme-high
|
|
1626
1620
|
jn:text-base
|
|
@@ -1630,12 +1624,12 @@ const Ju = `
|
|
|
1630
1624
|
jn:duration-100
|
|
1631
1625
|
jn:ease-in-out
|
|
1632
1626
|
jn:z-10
|
|
1633
|
-
`,
|
|
1627
|
+
`, Xu = `
|
|
1634
1628
|
jn:absolute
|
|
1635
|
-
`,
|
|
1629
|
+
`, ed = `
|
|
1636
1630
|
jn:scale-75
|
|
1637
1631
|
jn:-translate-y-[0.4375rem]
|
|
1638
|
-
`,
|
|
1632
|
+
`, td = `
|
|
1639
1633
|
jn:inline-block
|
|
1640
1634
|
jn:w-1
|
|
1641
1635
|
jn:h-1
|
|
@@ -1644,10 +1638,10 @@ const Ju = `
|
|
|
1644
1638
|
jn:ml-1
|
|
1645
1639
|
jn:mt-2
|
|
1646
1640
|
jn:bg-theme-required
|
|
1647
|
-
`,
|
|
1641
|
+
`, nd = `
|
|
1648
1642
|
jn:opacity-50
|
|
1649
1643
|
jn:cursor-not-allowed
|
|
1650
|
-
`,
|
|
1644
|
+
`, rd = V.forwardRef(
|
|
1651
1645
|
({
|
|
1652
1646
|
text: t = "",
|
|
1653
1647
|
htmlFor: n,
|
|
@@ -1663,9 +1657,9 @@ const Ju = `
|
|
|
1663
1657
|
className: `
|
|
1664
1658
|
juno-label
|
|
1665
1659
|
${Ju}
|
|
1666
|
-
${i ? "juno-label-floating " +
|
|
1667
|
-
${a ? "juno-label-minimized " +
|
|
1668
|
-
${o ? "juno-label-disabled " +
|
|
1660
|
+
${i ? "juno-label-floating " + Xu : ""}
|
|
1661
|
+
${a ? "juno-label-minimized " + ed : ""}
|
|
1662
|
+
${o ? "juno-label-disabled " + nd : ""}
|
|
1669
1663
|
${r}
|
|
1670
1664
|
`,
|
|
1671
1665
|
htmlFor: n,
|
|
@@ -1678,7 +1672,7 @@ const Ju = `
|
|
|
1678
1672
|
{
|
|
1679
1673
|
className: `
|
|
1680
1674
|
juno-required
|
|
1681
|
-
${
|
|
1675
|
+
${td}
|
|
1682
1676
|
`
|
|
1683
1677
|
}
|
|
1684
1678
|
) : ""
|
|
@@ -1686,9 +1680,9 @@ const Ju = `
|
|
|
1686
1680
|
}
|
|
1687
1681
|
)
|
|
1688
1682
|
);
|
|
1689
|
-
|
|
1683
|
+
rd.displayName = "Label";
|
|
1690
1684
|
me(void 0);
|
|
1691
|
-
const
|
|
1685
|
+
const od = 4, id = 1, ad = {
|
|
1692
1686
|
base00: "var(--color-syntax-highlight-base00)",
|
|
1693
1687
|
// background
|
|
1694
1688
|
base01: "var(--color-syntax-highlight-base01)",
|
|
@@ -1719,7 +1713,7 @@ const id = 4, ad = 1, ld = {
|
|
|
1719
1713
|
// collapsed icon, types: "boolean"
|
|
1720
1714
|
base0F: "var(--color-syntax-highlight-base0F)"
|
|
1721
1715
|
// copy icon, types: "integer"
|
|
1722
|
-
},
|
|
1716
|
+
}, ld = (t) => ({
|
|
1723
1717
|
background: t.base00,
|
|
1724
1718
|
ellipsis: t.base09,
|
|
1725
1719
|
brace: t.base07,
|
|
@@ -1756,13 +1750,13 @@ const id = 4, ad = 1, ld = {
|
|
|
1756
1750
|
}
|
|
1757
1751
|
});
|
|
1758
1752
|
V.createContext({
|
|
1759
|
-
colors:
|
|
1760
|
-
indentWidth:
|
|
1761
|
-
expanded:
|
|
1753
|
+
colors: ld(ad),
|
|
1754
|
+
indentWidth: od,
|
|
1755
|
+
expanded: id
|
|
1762
1756
|
});
|
|
1763
1757
|
const ga = typeof document < "u" ? V.useLayoutEffect : () => {
|
|
1764
1758
|
};
|
|
1765
|
-
function
|
|
1759
|
+
function sd(t) {
|
|
1766
1760
|
const n = ae(null);
|
|
1767
1761
|
return ga(() => {
|
|
1768
1762
|
n.current = t;
|
|
@@ -1799,23 +1793,23 @@ function dt(t) {
|
|
|
1799
1793
|
}
|
|
1800
1794
|
const lo = dt(function() {
|
|
1801
1795
|
return ao(/^Mac/i);
|
|
1802
|
-
}),
|
|
1796
|
+
}), cd = dt(function() {
|
|
1803
1797
|
return ao(/^iPhone/i);
|
|
1804
|
-
}),
|
|
1798
|
+
}), ud = dt(function() {
|
|
1805
1799
|
return ao(/^iPad/i) || // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.
|
|
1806
1800
|
lo() && navigator.maxTouchPoints > 1;
|
|
1807
|
-
}),
|
|
1808
|
-
return
|
|
1801
|
+
}), dd = dt(function() {
|
|
1802
|
+
return cd() || ud();
|
|
1809
1803
|
});
|
|
1810
1804
|
dt(function() {
|
|
1811
|
-
return lo() ||
|
|
1805
|
+
return lo() || dd();
|
|
1812
1806
|
});
|
|
1813
1807
|
dt(function() {
|
|
1814
|
-
return Qn(/AppleWebKit/i) && !
|
|
1808
|
+
return Qn(/AppleWebKit/i) && !fd();
|
|
1815
1809
|
});
|
|
1816
|
-
const
|
|
1810
|
+
const fd = dt(function() {
|
|
1817
1811
|
return Qn(/Chrome/i);
|
|
1818
|
-
}),
|
|
1812
|
+
}), pd = dt(function() {
|
|
1819
1813
|
return Qn(/Android/i);
|
|
1820
1814
|
});
|
|
1821
1815
|
dt(function() {
|
|
@@ -1851,15 +1845,15 @@ function ya() {
|
|
|
1851
1845
|
removeAllGlobalListeners: r
|
|
1852
1846
|
};
|
|
1853
1847
|
}
|
|
1854
|
-
function
|
|
1855
|
-
return t.mozInputSource === 0 && t.isTrusted ? !0 :
|
|
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;
|
|
1856
1850
|
}
|
|
1857
1851
|
function wa(t) {
|
|
1858
1852
|
let n = t;
|
|
1859
1853
|
return n.nativeEvent = t, n.isDefaultPrevented = () => n.defaultPrevented, n.isPropagationStopped = () => n.cancelBubble, n.persist = () => {
|
|
1860
1854
|
}, n;
|
|
1861
1855
|
}
|
|
1862
|
-
function
|
|
1856
|
+
function hd(t, n) {
|
|
1863
1857
|
Object.defineProperty(t, "target", {
|
|
1864
1858
|
value: n
|
|
1865
1859
|
}), Object.defineProperty(t, "currentTarget", {
|
|
@@ -1877,7 +1871,7 @@ function xa(t) {
|
|
|
1877
1871
|
r.observer && (r.observer.disconnect(), r.observer = null);
|
|
1878
1872
|
};
|
|
1879
1873
|
}, []);
|
|
1880
|
-
let e =
|
|
1874
|
+
let e = sd((r) => {
|
|
1881
1875
|
t?.(r);
|
|
1882
1876
|
});
|
|
1883
1877
|
return ce((r) => {
|
|
@@ -1915,34 +1909,34 @@ function xa(t) {
|
|
|
1915
1909
|
e
|
|
1916
1910
|
]);
|
|
1917
1911
|
}
|
|
1918
|
-
let
|
|
1919
|
-
const
|
|
1912
|
+
let gd = !1, un = null, $r = /* @__PURE__ */ new Set(), Jt = /* @__PURE__ */ new Map(), Dt = !1, Wr = !1;
|
|
1913
|
+
const vd = {
|
|
1920
1914
|
Tab: !0,
|
|
1921
1915
|
Escape: !0
|
|
1922
1916
|
};
|
|
1923
1917
|
function so(t, n) {
|
|
1924
1918
|
for (let e of $r) e(t, n);
|
|
1925
1919
|
}
|
|
1926
|
-
function
|
|
1920
|
+
function bd(t) {
|
|
1927
1921
|
return !(t.metaKey || !lo() && t.altKey || t.ctrlKey || t.key === "Control" || t.key === "Shift" || t.key === "Meta");
|
|
1928
1922
|
}
|
|
1929
1923
|
function Nn(t) {
|
|
1930
|
-
Dt = !0,
|
|
1924
|
+
Dt = !0, bd(t) && (un = "keyboard", so("keyboard", t));
|
|
1931
1925
|
}
|
|
1932
1926
|
function Qe(t) {
|
|
1933
1927
|
un = "pointer", (t.type === "mousedown" || t.type === "pointerdown") && (Dt = !0, so("pointer", t));
|
|
1934
1928
|
}
|
|
1935
1929
|
function Ea(t) {
|
|
1936
|
-
|
|
1930
|
+
md(t) && (Dt = !0, un = "virtual");
|
|
1937
1931
|
}
|
|
1938
1932
|
function Sa(t) {
|
|
1939
|
-
t.target === window || t.target === document ||
|
|
1933
|
+
t.target === window || t.target === document || gd || !t.isTrusted || (!Dt && !Wr && (un = "virtual", so("virtual", t)), Dt = !1, Wr = !1);
|
|
1940
1934
|
}
|
|
1941
1935
|
function Ca() {
|
|
1942
1936
|
Dt = !1, Wr = !0;
|
|
1943
1937
|
}
|
|
1944
1938
|
function Ur(t) {
|
|
1945
|
-
if (typeof window > "u" ||
|
|
1939
|
+
if (typeof window > "u" || Jt.get(Ct(t))) return;
|
|
1946
1940
|
const n = Ct(t), e = vt(t);
|
|
1947
1941
|
let r = n.HTMLElement.prototype.focus;
|
|
1948
1942
|
n.HTMLElement.prototype.focus = function() {
|
|
@@ -1951,26 +1945,26 @@ function Ur(t) {
|
|
|
1951
1945
|
Oa(t);
|
|
1952
1946
|
}, {
|
|
1953
1947
|
once: !0
|
|
1954
|
-
}),
|
|
1948
|
+
}), Jt.set(n, {
|
|
1955
1949
|
focus: r
|
|
1956
1950
|
});
|
|
1957
1951
|
}
|
|
1958
1952
|
const Oa = (t, n) => {
|
|
1959
1953
|
const e = Ct(t), r = vt(t);
|
|
1960
|
-
n && r.removeEventListener("DOMContentLoaded", n),
|
|
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));
|
|
1961
1955
|
};
|
|
1962
|
-
function
|
|
1956
|
+
function yd(t) {
|
|
1963
1957
|
const n = vt(t);
|
|
1964
1958
|
let e;
|
|
1965
1959
|
return n.readyState !== "loading" ? Ur(t) : (e = () => {
|
|
1966
1960
|
Ur(t);
|
|
1967
1961
|
}, n.addEventListener("DOMContentLoaded", e)), () => Oa(t, e);
|
|
1968
1962
|
}
|
|
1969
|
-
typeof document < "u" &&
|
|
1963
|
+
typeof document < "u" && yd();
|
|
1970
1964
|
function Ma() {
|
|
1971
1965
|
return un !== "pointer";
|
|
1972
1966
|
}
|
|
1973
|
-
const
|
|
1967
|
+
const wd = /* @__PURE__ */ new Set([
|
|
1974
1968
|
"checkbox",
|
|
1975
1969
|
"radio",
|
|
1976
1970
|
"range",
|
|
@@ -1981,22 +1975,22 @@ const xd = /* @__PURE__ */ new Set([
|
|
|
1981
1975
|
"submit",
|
|
1982
1976
|
"reset"
|
|
1983
1977
|
]);
|
|
1984
|
-
function
|
|
1978
|
+
function xd(t, n, e) {
|
|
1985
1979
|
let r = vt(e?.target);
|
|
1986
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;
|
|
1987
|
-
return t = t || r.activeElement instanceof o && !
|
|
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]);
|
|
1988
1982
|
}
|
|
1989
|
-
function
|
|
1983
|
+
function Ed(t, n, e) {
|
|
1990
1984
|
Ur(), we(() => {
|
|
1991
1985
|
let r = (o, i) => {
|
|
1992
|
-
|
|
1986
|
+
xd(!!e?.isTextInput, o, i) && t(Ma());
|
|
1993
1987
|
};
|
|
1994
1988
|
return $r.add(r), () => {
|
|
1995
1989
|
$r.delete(r);
|
|
1996
1990
|
};
|
|
1997
1991
|
}, n);
|
|
1998
1992
|
}
|
|
1999
|
-
function
|
|
1993
|
+
function Sd(t) {
|
|
2000
1994
|
let { isDisabled: n, onFocus: e, onBlur: r, onFocusChange: o } = t;
|
|
2001
1995
|
const i = ce((s) => {
|
|
2002
1996
|
if (s.target === s.currentTarget)
|
|
@@ -2019,7 +2013,7 @@ function Cd(t) {
|
|
|
2019
2013
|
}
|
|
2020
2014
|
};
|
|
2021
2015
|
}
|
|
2022
|
-
function
|
|
2016
|
+
function Cd(t) {
|
|
2023
2017
|
let { isDisabled: n, onBlurWithin: e, onFocusWithin: r, onFocusWithinChange: o } = t, i = ae({
|
|
2024
2018
|
isFocusWithin: !1
|
|
2025
2019
|
}), { addGlobalListener: a, removeAllGlobalListeners: l } = ya(), s = ce((v) => {
|
|
@@ -2040,7 +2034,7 @@ function Od(t) {
|
|
|
2040
2034
|
let x = new m.defaultView.FocusEvent("blur", {
|
|
2041
2035
|
relatedTarget: b.target
|
|
2042
2036
|
});
|
|
2043
|
-
|
|
2037
|
+
hd(x, g);
|
|
2044
2038
|
let C = wa(x);
|
|
2045
2039
|
s(C);
|
|
2046
2040
|
}
|
|
@@ -2077,7 +2071,7 @@ function Yr() {
|
|
|
2077
2071
|
function ui(t) {
|
|
2078
2072
|
t.pointerType === "touch" && Yr();
|
|
2079
2073
|
}
|
|
2080
|
-
function
|
|
2074
|
+
function Od() {
|
|
2081
2075
|
if (!(typeof document > "u"))
|
|
2082
2076
|
return typeof PointerEvent < "u" ? document.addEventListener("pointerup", ui) : process.env.NODE_ENV === "test" && document.addEventListener("touchend", Yr), Cr++, () => {
|
|
2083
2077
|
Cr--, !(Cr > 0) && (typeof PointerEvent < "u" ? document.removeEventListener("pointerup", ui) : process.env.NODE_ENV === "test" && document.removeEventListener("touchend", Yr));
|
|
@@ -2090,7 +2084,7 @@ function qn(t) {
|
|
|
2090
2084
|
pointerType: "",
|
|
2091
2085
|
target: null
|
|
2092
2086
|
}).current;
|
|
2093
|
-
we(
|
|
2087
|
+
we(Od, []);
|
|
2094
2088
|
let { addGlobalListener: s, removeAllGlobalListeners: u } = ya(), { hoverProps: c, triggerHoverEnd: v } = Ce(() => {
|
|
2095
2089
|
let m = (b, x) => {
|
|
2096
2090
|
if (l.pointerType = x, o || x === "touch" || l.isHovered || !b.currentTarget.contains(b.target)) return;
|
|
@@ -2147,7 +2141,7 @@ function qn(t) {
|
|
|
2147
2141
|
isHovered: i
|
|
2148
2142
|
};
|
|
2149
2143
|
}
|
|
2150
|
-
function
|
|
2144
|
+
function Jn(t = {}) {
|
|
2151
2145
|
let { autoFocus: n = !1, isTextInput: e, within: r } = t, o = ae({
|
|
2152
2146
|
isFocused: !1,
|
|
2153
2147
|
isFocusVisible: n || Ma()
|
|
@@ -2156,15 +2150,15 @@ function Xn(t = {}) {
|
|
|
2156
2150
|
}, [
|
|
2157
2151
|
u
|
|
2158
2152
|
]);
|
|
2159
|
-
|
|
2153
|
+
Ed((p) => {
|
|
2160
2154
|
o.current.isFocusVisible = p, u();
|
|
2161
2155
|
}, [], {
|
|
2162
2156
|
isTextInput: e
|
|
2163
2157
|
});
|
|
2164
|
-
let { focusProps: v } =
|
|
2158
|
+
let { focusProps: v } = Sd({
|
|
2165
2159
|
isDisabled: r,
|
|
2166
2160
|
onFocusChange: c
|
|
2167
|
-
}), { focusWithinProps: m } =
|
|
2161
|
+
}), { focusWithinProps: m } = Cd({
|
|
2168
2162
|
isDisabled: !r,
|
|
2169
2163
|
onFocusWithinChange: c
|
|
2170
2164
|
});
|
|
@@ -2174,8 +2168,8 @@ function Xn(t = {}) {
|
|
|
2174
2168
|
focusProps: r ? m : v
|
|
2175
2169
|
};
|
|
2176
2170
|
}
|
|
2177
|
-
var
|
|
2178
|
-
let
|
|
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 {
|
|
2179
2173
|
constructor() {
|
|
2180
2174
|
Or(this, "current", this.detect()), Or(this, "handoffState", "pending"), Or(this, "currentId", 0);
|
|
2181
2175
|
}
|
|
@@ -2203,7 +2197,7 @@ let kd = class {
|
|
|
2203
2197
|
get isHandoffComplete() {
|
|
2204
2198
|
return this.handoffState === "complete";
|
|
2205
2199
|
}
|
|
2206
|
-
}, Mt = new
|
|
2200
|
+
}, Mt = new Td();
|
|
2207
2201
|
function dn(t) {
|
|
2208
2202
|
var n;
|
|
2209
2203
|
return Mt.isServer ? null : t == null ? document : (n = t?.ownerDocument) != null ? n : document;
|
|
@@ -2216,7 +2210,7 @@ function co(t) {
|
|
|
2216
2210
|
var n, e;
|
|
2217
2211
|
return (e = (n = _n(t)) == null ? void 0 : n.activeElement) != null ? e : null;
|
|
2218
2212
|
}
|
|
2219
|
-
function
|
|
2213
|
+
function Xn(t) {
|
|
2220
2214
|
return co(t) === t;
|
|
2221
2215
|
}
|
|
2222
2216
|
function Da(t) {
|
|
@@ -2277,11 +2271,11 @@ let q = function(t) {
|
|
|
2277
2271
|
let n = yt(t);
|
|
2278
2272
|
return V.useCallback((...e) => n.current(...e), [n]);
|
|
2279
2273
|
};
|
|
2280
|
-
function
|
|
2274
|
+
function kd(t) {
|
|
2281
2275
|
let n = t.width / 2, e = t.height / 2;
|
|
2282
2276
|
return { top: t.clientY - e, right: t.clientX + n, bottom: t.clientY + e, left: t.clientX - n };
|
|
2283
2277
|
}
|
|
2284
|
-
function
|
|
2278
|
+
function Id(t, n) {
|
|
2285
2279
|
return !(!t || !n || t.right < n.left || t.left > n.right || t.bottom < n.top || t.top > n.bottom);
|
|
2286
2280
|
}
|
|
2287
2281
|
function uo({ disabled: t = !1 } = {}) {
|
|
@@ -2294,8 +2288,8 @@ function uo({ disabled: t = !1 } = {}) {
|
|
|
2294
2288
|
let s = dn(l.currentTarget);
|
|
2295
2289
|
o.addEventListener(s, "pointerup", i, !1), o.addEventListener(s, "pointermove", (u) => {
|
|
2296
2290
|
if (n.current) {
|
|
2297
|
-
let c =
|
|
2298
|
-
r(
|
|
2291
|
+
let c = kd(u);
|
|
2292
|
+
r(Id(c, n.current.getBoundingClientRect()));
|
|
2299
2293
|
}
|
|
2300
2294
|
}, !1), o.addEventListener(s, "pointercancel", i, !1);
|
|
2301
2295
|
}
|
|
@@ -2306,9 +2300,9 @@ function uo({ disabled: t = !1 } = {}) {
|
|
|
2306
2300
|
function Ie(t) {
|
|
2307
2301
|
return Ce(() => t, Object.values(t));
|
|
2308
2302
|
}
|
|
2309
|
-
let
|
|
2303
|
+
let Ad = me(void 0);
|
|
2310
2304
|
function er() {
|
|
2311
|
-
return ye(
|
|
2305
|
+
return ye(Ad);
|
|
2312
2306
|
}
|
|
2313
2307
|
function di(...t) {
|
|
2314
2308
|
return Array.from(new Set(t.flatMap((n) => typeof n == "string" ? n.split(" ") : []))).filter(Boolean).join(" ");
|
|
@@ -2321,13 +2315,13 @@ function Te(t, n, ...e) {
|
|
|
2321
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(", ")}.`);
|
|
2322
2316
|
throw Error.captureStackTrace && Error.captureStackTrace(r, Te), r;
|
|
2323
2317
|
}
|
|
2324
|
-
var Tt = ((t) => (t[t.None = 0] = "None", t[t.RenderStrategy = 1] = "RenderStrategy", t[t.Static = 2] = "Static", t))(Tt || {}),
|
|
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 || {});
|
|
2325
2319
|
function Ee() {
|
|
2326
|
-
let t =
|
|
2327
|
-
return ce((n) =>
|
|
2320
|
+
let t = Nd();
|
|
2321
|
+
return ce((n) => jd({ mergeRefs: t, ...n }), [t]);
|
|
2328
2322
|
}
|
|
2329
|
-
function
|
|
2330
|
-
l = l ??
|
|
2323
|
+
function jd({ ourProps: t, theirProps: n, slot: e, defaultTag: r, features: o, visible: i = !0, name: a, mergeRefs: l }) {
|
|
2324
|
+
l = l ?? Ld;
|
|
2331
2325
|
let s = Ta(n, t);
|
|
2332
2326
|
if (i) return En(s, e, r, a, l);
|
|
2333
2327
|
let u = o ?? 0;
|
|
@@ -2357,7 +2351,7 @@ function En(t, n = {}, e, r, o) {
|
|
|
2357
2351
|
for (let g of p) v[`data-${g}`] = "";
|
|
2358
2352
|
}
|
|
2359
2353
|
}
|
|
2360
|
-
if (Tn(i) && (Object.keys(wt(s)).length > 0 || Object.keys(wt(v)).length > 0)) if (!no(c) || Array.isArray(c) && c.length > 1 ||
|
|
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)) {
|
|
2361
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(`
|
|
2362
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(`
|
|
2363
2357
|
`)].join(`
|
|
@@ -2365,11 +2359,11 @@ function En(t, n = {}, e, r, o) {
|
|
|
2365
2359
|
} else {
|
|
2366
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"])));
|
|
2367
2361
|
for (let C in v) C in x && delete v[C];
|
|
2368
|
-
return fa(c, Object.assign({}, x, v, u, { ref: o(
|
|
2362
|
+
return fa(c, Object.assign({}, x, v, u, { ref: o(_d(c), u.ref) }, b));
|
|
2369
2363
|
}
|
|
2370
2364
|
return ms(i, Object.assign({}, Mr(s, ["ref"]), !Tn(i) && u, !Tn(i) && v), c);
|
|
2371
2365
|
}
|
|
2372
|
-
function
|
|
2366
|
+
function Nd() {
|
|
2373
2367
|
let t = ae([]), n = ce((e) => {
|
|
2374
2368
|
for (let r of t.current) r != null && (typeof r == "function" ? r(e) : r.current = e);
|
|
2375
2369
|
}, []);
|
|
@@ -2377,7 +2371,7 @@ function Ld() {
|
|
|
2377
2371
|
if (!e.every((r) => r == null)) return t.current = e, n;
|
|
2378
2372
|
};
|
|
2379
2373
|
}
|
|
2380
|
-
function
|
|
2374
|
+
function Ld(...t) {
|
|
2381
2375
|
return t.every((n) => n == null) ? void 0 : (n) => {
|
|
2382
2376
|
for (let e of t) e != null && (typeof e == "function" ? e(n) : e.current = n);
|
|
2383
2377
|
};
|
|
@@ -2425,13 +2419,13 @@ function Mr(t, n = []) {
|
|
|
2425
2419
|
for (let r of n) r in e && delete e[r];
|
|
2426
2420
|
return e;
|
|
2427
2421
|
}
|
|
2428
|
-
function
|
|
2422
|
+
function _d(t) {
|
|
2429
2423
|
return V.version.split(".")[0] >= "19" ? t.props.ref : t.ref;
|
|
2430
2424
|
}
|
|
2431
2425
|
function Tn(t) {
|
|
2432
|
-
return t === ut || t === Symbol.for("react.fragment");
|
|
2426
|
+
return t === ut || t === /* @__PURE__ */ Symbol.for("react.fragment");
|
|
2433
2427
|
}
|
|
2434
|
-
function
|
|
2428
|
+
function Rd(t) {
|
|
2435
2429
|
return Tn(t.type);
|
|
2436
2430
|
}
|
|
2437
2431
|
function ka(t, n, e) {
|
|
@@ -2451,9 +2445,9 @@ function Pa(t, n) {
|
|
|
2451
2445
|
}
|
|
2452
2446
|
function ja(t, n, e) {
|
|
2453
2447
|
if (Array.isArray(e)) for (let [r, o] of e.entries()) ja(t, Pa(n, r.toString()), o);
|
|
2454
|
-
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, ""]) :
|
|
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);
|
|
2455
2449
|
}
|
|
2456
|
-
function
|
|
2450
|
+
function Fd(t) {
|
|
2457
2451
|
var n, e;
|
|
2458
2452
|
let r = (n = t?.form) != null ? n : t.closest("form");
|
|
2459
2453
|
if (r) {
|
|
@@ -2464,21 +2458,21 @@ function Hd(t) {
|
|
|
2464
2458
|
(e = r.requestSubmit) == null || e.call(r);
|
|
2465
2459
|
}
|
|
2466
2460
|
}
|
|
2467
|
-
function
|
|
2461
|
+
function Hd(t) {
|
|
2468
2462
|
if (Object.prototype.toString.call(t) !== "[object Object]") return !1;
|
|
2469
2463
|
let n = Object.getPrototypeOf(t);
|
|
2470
2464
|
return n === null || Object.getPrototypeOf(n) === null;
|
|
2471
2465
|
}
|
|
2472
|
-
let
|
|
2466
|
+
let zd = "span";
|
|
2473
2467
|
var fo = ((t) => (t[t.None = 1] = "None", t[t.Focusable = 2] = "Focusable", t[t.Hidden = 4] = "Hidden", t))(fo || {});
|
|
2474
|
-
function
|
|
2468
|
+
function Bd(t, n) {
|
|
2475
2469
|
var e;
|
|
2476
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" } } };
|
|
2477
|
-
return Ee()({ ourProps: i, theirProps: o, slot: {}, defaultTag:
|
|
2471
|
+
return Ee()({ ourProps: i, theirProps: o, slot: {}, defaultTag: zd, name: "Hidden" });
|
|
2478
2472
|
}
|
|
2479
|
-
let Na = Se(
|
|
2480
|
-
function
|
|
2481
|
-
let n = ye(
|
|
2473
|
+
let Na = Se(Bd), Vd = me(null);
|
|
2474
|
+
function $d({ children: t }) {
|
|
2475
|
+
let n = ye(Vd);
|
|
2482
2476
|
if (!n) return V.createElement(V.Fragment, null, t);
|
|
2483
2477
|
let { target: e } = n;
|
|
2484
2478
|
return e ? oo(V.createElement(V.Fragment, null, t), e) : null;
|
|
@@ -2487,9 +2481,9 @@ function La({ data: t, form: n, disabled: e, onReset: r, overrides: o }) {
|
|
|
2487
2481
|
let [i, a] = be(null), l = bt();
|
|
2488
2482
|
return we(() => {
|
|
2489
2483
|
if (r && i) return l.addEventListener(i, "reset", r);
|
|
2490
|
-
}, [i, n, r]), V.createElement(
|
|
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 }) })));
|
|
2491
2485
|
}
|
|
2492
|
-
function
|
|
2486
|
+
function Wd({ setForm: t, formId: n }) {
|
|
2493
2487
|
return we(() => {
|
|
2494
2488
|
if (n) {
|
|
2495
2489
|
let e = document.getElementById(n);
|
|
@@ -2501,9 +2495,9 @@ function Ud({ setForm: t, formId: n }) {
|
|
|
2501
2495
|
r && t(r);
|
|
2502
2496
|
} });
|
|
2503
2497
|
}
|
|
2504
|
-
let
|
|
2498
|
+
let Ud = me(void 0);
|
|
2505
2499
|
function po() {
|
|
2506
|
-
return ye(
|
|
2500
|
+
return ye(Ud);
|
|
2507
2501
|
}
|
|
2508
2502
|
function _a(t) {
|
|
2509
2503
|
return typeof t != "object" || t === null ? !1 : "nodeType" in t;
|
|
@@ -2517,10 +2511,10 @@ function et(t) {
|
|
|
2517
2511
|
function pt(t) {
|
|
2518
2512
|
return tr(t) && "tabIndex" in t;
|
|
2519
2513
|
}
|
|
2520
|
-
function
|
|
2514
|
+
function Yd(t) {
|
|
2521
2515
|
return tr(t) && "style" in t;
|
|
2522
2516
|
}
|
|
2523
|
-
function
|
|
2517
|
+
function Gd(t) {
|
|
2524
2518
|
return et(t) && t.nodeName === "IFRAME";
|
|
2525
2519
|
}
|
|
2526
2520
|
function Rn(t) {
|
|
@@ -2529,22 +2523,22 @@ function Rn(t) {
|
|
|
2529
2523
|
function fi(t) {
|
|
2530
2524
|
return et(t) && t.nodeName === "LABEL";
|
|
2531
2525
|
}
|
|
2532
|
-
function
|
|
2526
|
+
function Kd(t) {
|
|
2533
2527
|
return et(t) && t.nodeName === "FIELDSET";
|
|
2534
2528
|
}
|
|
2535
2529
|
function Ra(t) {
|
|
2536
2530
|
return et(t) && t.nodeName === "LEGEND";
|
|
2537
2531
|
}
|
|
2538
|
-
function
|
|
2532
|
+
function Zd(t) {
|
|
2539
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;
|
|
2540
2534
|
}
|
|
2541
2535
|
function pi(t) {
|
|
2542
2536
|
let n = t.parentElement, e = null;
|
|
2543
|
-
for (; n && !
|
|
2537
|
+
for (; n && !Kd(n); ) Ra(n) && (e = n), n = n.parentElement;
|
|
2544
2538
|
let r = n?.getAttribute("disabled") === "";
|
|
2545
|
-
return r &&
|
|
2539
|
+
return r && Qd(e) ? !1 : r;
|
|
2546
2540
|
}
|
|
2547
|
-
function
|
|
2541
|
+
function Qd(t) {
|
|
2548
2542
|
if (!t) return !1;
|
|
2549
2543
|
let n = t.previousElementSibling;
|
|
2550
2544
|
for (; n !== null; ) {
|
|
@@ -2553,8 +2547,8 @@ function qd(t) {
|
|
|
2553
2547
|
}
|
|
2554
2548
|
return !0;
|
|
2555
2549
|
}
|
|
2556
|
-
let Fa = Symbol();
|
|
2557
|
-
function
|
|
2550
|
+
let Fa = /* @__PURE__ */ Symbol();
|
|
2551
|
+
function qd(t, n = !0) {
|
|
2558
2552
|
return Object.assign(t, { [Fa]: n });
|
|
2559
2553
|
}
|
|
2560
2554
|
function ke(...t) {
|
|
@@ -2591,15 +2585,15 @@ function Jd() {
|
|
|
2591
2585
|
return V.createElement(nr.Provider, { value: o }, e.children);
|
|
2592
2586
|
}, [n])];
|
|
2593
2587
|
}
|
|
2594
|
-
let
|
|
2595
|
-
function
|
|
2588
|
+
let Xd = "p";
|
|
2589
|
+
function ef(t, n) {
|
|
2596
2590
|
let e = Ae(), r = er(), { id: o = `headlessui-description-${e}`, ...i } = t, a = Ha(), l = ke(n);
|
|
2597
2591
|
ve(() => a.register(o), [o, a.register]);
|
|
2598
2592
|
let s = Ie({ ...a.slot, disabled: r || !1 }), u = { ref: l, ...a.props, id: o };
|
|
2599
|
-
return Ee()({ ourProps: u, theirProps: i, slot: s, defaultTag:
|
|
2593
|
+
return Ee()({ ourProps: u, theirProps: i, slot: s, defaultTag: Xd, name: a.name || "Description" });
|
|
2600
2594
|
}
|
|
2601
|
-
let
|
|
2602
|
-
Object.assign(
|
|
2595
|
+
let tf = Se(ef);
|
|
2596
|
+
Object.assign(tf, {});
|
|
2603
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 || {});
|
|
2604
2598
|
let rr = me(null);
|
|
2605
2599
|
rr.displayName = "LabelContext";
|
|
@@ -2626,14 +2620,14 @@ function or({ inherit: t = !1 } = {}) {
|
|
|
2626
2620
|
return V.createElement(rr.Provider, { value: l }, i.children);
|
|
2627
2621
|
}, [r])];
|
|
2628
2622
|
}
|
|
2629
|
-
let
|
|
2630
|
-
function
|
|
2623
|
+
let nf = "label";
|
|
2624
|
+
function rf(t, n) {
|
|
2631
2625
|
var e;
|
|
2632
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);
|
|
2633
2627
|
ve(() => o.register(l), [l, o.register]);
|
|
2634
2628
|
let m = q((b) => {
|
|
2635
2629
|
let x = b.currentTarget;
|
|
2636
|
-
if (!(b.target !== b.currentTarget &&
|
|
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))) {
|
|
2637
2631
|
let C = document.getElementById(x.htmlFor);
|
|
2638
2632
|
if (C) {
|
|
2639
2633
|
let O = C.getAttribute("disabled");
|
|
@@ -2644,9 +2638,9 @@ function of(t, n) {
|
|
|
2644
2638
|
}
|
|
2645
2639
|
}
|
|
2646
2640
|
}), p = Ie({ ...o.slot, disabled: a || !1 }), g = { ref: v, ...o.props, id: l, htmlFor: s, onClick: m };
|
|
2647
|
-
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 ?
|
|
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" });
|
|
2648
2642
|
}
|
|
2649
|
-
let
|
|
2643
|
+
let of = Se(rf), Ba = Object.assign(of, {});
|
|
2650
2644
|
function _t(t, n, e) {
|
|
2651
2645
|
let r = e.initialDeps ?? [], o;
|
|
2652
2646
|
function i() {
|
|
@@ -2687,7 +2681,7 @@ function mi(t, n) {
|
|
|
2687
2681
|
throw new Error("Unexpected undefined");
|
|
2688
2682
|
return t;
|
|
2689
2683
|
}
|
|
2690
|
-
const
|
|
2684
|
+
const af = (t, n) => Math.abs(t - n) < 1.01, lf = (t, n, e) => {
|
|
2691
2685
|
let r;
|
|
2692
2686
|
return function(...o) {
|
|
2693
2687
|
t.clearTimeout(r), r = t.setTimeout(() => n.apply(this, o), e);
|
|
@@ -2695,12 +2689,12 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2695
2689
|
}, hi = (t) => {
|
|
2696
2690
|
const { offsetWidth: n, offsetHeight: e } = t;
|
|
2697
2691
|
return { width: n, height: e };
|
|
2698
|
-
},
|
|
2692
|
+
}, sf = (t) => t, cf = (t) => {
|
|
2699
2693
|
const n = Math.max(t.startIndex - t.overscan, 0), e = Math.min(t.endIndex + t.overscan, t.count - 1), r = [];
|
|
2700
2694
|
for (let o = n; o <= e; o++)
|
|
2701
2695
|
r.push(o);
|
|
2702
2696
|
return r;
|
|
2703
|
-
},
|
|
2697
|
+
}, uf = (t, n) => {
|
|
2704
2698
|
const e = t.scrollElement;
|
|
2705
2699
|
if (!e)
|
|
2706
2700
|
return;
|
|
@@ -2733,7 +2727,7 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2733
2727
|
};
|
|
2734
2728
|
}, gi = {
|
|
2735
2729
|
passive: !0
|
|
2736
|
-
}, vi = typeof window > "u" ? !0 : "onscrollend" in window,
|
|
2730
|
+
}, vi = typeof window > "u" ? !0 : "onscrollend" in window, df = (t, n) => {
|
|
2737
2731
|
const e = t.scrollElement;
|
|
2738
2732
|
if (!e)
|
|
2739
2733
|
return;
|
|
@@ -2742,7 +2736,7 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2742
2736
|
return;
|
|
2743
2737
|
let o = 0;
|
|
2744
2738
|
const i = t.options.useScrollendEvent && vi ? () => {
|
|
2745
|
-
} :
|
|
2739
|
+
} : lf(
|
|
2746
2740
|
r,
|
|
2747
2741
|
() => {
|
|
2748
2742
|
n(o, !1);
|
|
@@ -2757,7 +2751,7 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2757
2751
|
return u && e.addEventListener("scrollend", s, gi), () => {
|
|
2758
2752
|
e.removeEventListener("scroll", l), u && e.removeEventListener("scrollend", s);
|
|
2759
2753
|
};
|
|
2760
|
-
},
|
|
2754
|
+
}, ff = (t, n, e) => {
|
|
2761
2755
|
if (n?.borderBoxSize) {
|
|
2762
2756
|
const r = n.borderBoxSize[0];
|
|
2763
2757
|
if (r)
|
|
@@ -2766,7 +2760,7 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2766
2760
|
);
|
|
2767
2761
|
}
|
|
2768
2762
|
return t[e.options.horizontal ? "offsetWidth" : "offsetHeight"];
|
|
2769
|
-
},
|
|
2763
|
+
}, pf = (t, {
|
|
2770
2764
|
adjustments: n = 0,
|
|
2771
2765
|
behavior: e
|
|
2772
2766
|
}, r) => {
|
|
@@ -2777,7 +2771,7 @@ const lf = (t, n) => Math.abs(t - n) < 1.01, sf = (t, n, e) => {
|
|
|
2777
2771
|
behavior: e
|
|
2778
2772
|
});
|
|
2779
2773
|
};
|
|
2780
|
-
class
|
|
2774
|
+
class mf {
|
|
2781
2775
|
constructor(n) {
|
|
2782
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__ */ (() => {
|
|
2783
2777
|
let e = null;
|
|
@@ -2815,11 +2809,11 @@ class hf {
|
|
|
2815
2809
|
scrollPaddingStart: 0,
|
|
2816
2810
|
scrollPaddingEnd: 0,
|
|
2817
2811
|
horizontal: !1,
|
|
2818
|
-
getItemKey:
|
|
2819
|
-
rangeExtractor:
|
|
2812
|
+
getItemKey: sf,
|
|
2813
|
+
rangeExtractor: cf,
|
|
2820
2814
|
onChange: () => {
|
|
2821
2815
|
},
|
|
2822
|
-
measureElement:
|
|
2816
|
+
measureElement: ff,
|
|
2823
2817
|
initialRect: { width: 0, height: 0 },
|
|
2824
2818
|
scrollMargin: 0,
|
|
2825
2819
|
gap: 0,
|
|
@@ -2947,7 +2941,7 @@ class hf {
|
|
|
2947
2941
|
this.getScrollOffset(),
|
|
2948
2942
|
this.options.lanes
|
|
2949
2943
|
],
|
|
2950
|
-
(e, r, o, i) => this.range = e.length > 0 && r > 0 ?
|
|
2944
|
+
(e, r, o, i) => this.range = e.length > 0 && r > 0 ? hf({
|
|
2951
2945
|
measurements: e,
|
|
2952
2946
|
outerSize: r,
|
|
2953
2947
|
scrollOffset: o,
|
|
@@ -3081,7 +3075,7 @@ class hf {
|
|
|
3081
3075
|
console.warn("Failed to get offset for index:", e);
|
|
3082
3076
|
return;
|
|
3083
3077
|
}
|
|
3084
|
-
|
|
3078
|
+
af(g[0], p) || s(m);
|
|
3085
3079
|
});
|
|
3086
3080
|
}, s = (u) => {
|
|
3087
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(
|
|
@@ -3139,7 +3133,7 @@ const Va = (t, n, e, r) => {
|
|
|
3139
3133
|
}
|
|
3140
3134
|
return t > 0 ? t - 1 : 0;
|
|
3141
3135
|
};
|
|
3142
|
-
function
|
|
3136
|
+
function hf({
|
|
3143
3137
|
measurements: t,
|
|
3144
3138
|
outerSize: n,
|
|
3145
3139
|
scrollOffset: e,
|
|
@@ -3176,7 +3170,7 @@ function gf({
|
|
|
3176
3170
|
return { startIndex: a, endIndex: l };
|
|
3177
3171
|
}
|
|
3178
3172
|
const bi = typeof document < "u" ? d.useLayoutEffect : d.useEffect;
|
|
3179
|
-
function
|
|
3173
|
+
function gf(t) {
|
|
3180
3174
|
const n = d.useReducer(() => ({}), {})[1], e = {
|
|
3181
3175
|
...t,
|
|
3182
3176
|
onChange: (o, i) => {
|
|
@@ -3184,22 +3178,22 @@ function vf(t) {
|
|
|
3184
3178
|
i ? ze(n) : n(), (a = t.onChange) == null || a.call(t, o, i);
|
|
3185
3179
|
}
|
|
3186
3180
|
}, [r] = d.useState(
|
|
3187
|
-
() => new
|
|
3181
|
+
() => new mf(e)
|
|
3188
3182
|
);
|
|
3189
3183
|
return r.setOptions(e), bi(() => r._didMount(), []), bi(() => r._willUpdate()), r;
|
|
3190
3184
|
}
|
|
3191
|
-
function
|
|
3192
|
-
return
|
|
3193
|
-
observeElementRect:
|
|
3194
|
-
observeElementOffset:
|
|
3195
|
-
scrollToFn:
|
|
3185
|
+
function vf(t) {
|
|
3186
|
+
return gf({
|
|
3187
|
+
observeElementRect: uf,
|
|
3188
|
+
observeElementOffset: df,
|
|
3189
|
+
scrollToFn: pf,
|
|
3196
3190
|
...t
|
|
3197
3191
|
});
|
|
3198
3192
|
}
|
|
3199
|
-
function
|
|
3193
|
+
function bf(t, n) {
|
|
3200
3194
|
return t !== null && n !== null && typeof t == "object" && typeof n == "object" && "id" in t && "id" in n ? t.id === n.id : t === n;
|
|
3201
3195
|
}
|
|
3202
|
-
function $a(t =
|
|
3196
|
+
function $a(t = bf) {
|
|
3203
3197
|
return ce((n, e) => {
|
|
3204
3198
|
if (typeof t == "string") {
|
|
3205
3199
|
let r = t;
|
|
@@ -3246,7 +3240,7 @@ let Wa = class extends Map {
|
|
|
3246
3240
|
return n === void 0 && (n = this.factory(t), this.set(t, n)), n;
|
|
3247
3241
|
}
|
|
3248
3242
|
};
|
|
3249
|
-
var
|
|
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) => {
|
|
3250
3244
|
if (!n.has(t)) throw TypeError("Cannot " + e);
|
|
3251
3245
|
}, Ke = (t, n, e) => (Ua(t, n, "read from private field"), e ? e.call(t) : n.get(t)), Dr = (t, n, e) => {
|
|
3252
3246
|
if (n.has(t)) throw TypeError("Cannot add the same private member more than once");
|
|
@@ -3254,7 +3248,7 @@ var wf = Object.defineProperty, xf = (t, n, e) => n in t ? wf(t, n, { enumerable
|
|
|
3254
3248
|
}, wi = (t, n, e, r) => (Ua(t, n, "write to private field"), n.set(t, e), e), nt, Qt, qt;
|
|
3255
3249
|
let ir = class {
|
|
3256
3250
|
constructor(t) {
|
|
3257
|
-
Dr(this, nt, {}), Dr(this, Qt, new Wa(() => /* @__PURE__ */ new Set())), Dr(this, qt, /* @__PURE__ */ new Set()),
|
|
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(() => {
|
|
3258
3252
|
this.dispose();
|
|
3259
3253
|
});
|
|
3260
3254
|
}
|
|
@@ -3306,14 +3300,14 @@ function xi(t) {
|
|
|
3306
3300
|
let n = Object.getPrototypeOf(t);
|
|
3307
3301
|
return n === null || Object.getPrototypeOf(n) === null;
|
|
3308
3302
|
}
|
|
3309
|
-
function
|
|
3303
|
+
function Xt(t) {
|
|
3310
3304
|
let [n, e] = t(), r = Re();
|
|
3311
3305
|
return (...o) => {
|
|
3312
3306
|
n(...o), r.dispose(), r.microTask(e);
|
|
3313
3307
|
};
|
|
3314
3308
|
}
|
|
3315
|
-
var
|
|
3316
|
-
let
|
|
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) {
|
|
3317
3311
|
let e = n.id, r = t.stack, o = t.stack.indexOf(e);
|
|
3318
3312
|
if (o !== -1) {
|
|
3319
3313
|
let i = t.stack.slice();
|
|
@@ -3325,7 +3319,7 @@ let Of = { 0(t, n) {
|
|
|
3325
3319
|
if (r === -1) return t;
|
|
3326
3320
|
let o = t.stack.slice();
|
|
3327
3321
|
return o.splice(r, 1), { ...t, stack: o };
|
|
3328
|
-
} },
|
|
3322
|
+
} }, Of = class Ga extends ir {
|
|
3329
3323
|
constructor() {
|
|
3330
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) });
|
|
3331
3325
|
}
|
|
@@ -3333,12 +3327,12 @@ let Of = { 0(t, n) {
|
|
|
3333
3327
|
return new Ga({ stack: [] });
|
|
3334
3328
|
}
|
|
3335
3329
|
reduce(n, e) {
|
|
3336
|
-
return Te(e.type,
|
|
3330
|
+
return Te(e.type, Cf, n, e);
|
|
3337
3331
|
}
|
|
3338
3332
|
};
|
|
3339
|
-
const Nt = new Wa(() =>
|
|
3333
|
+
const Nt = new Wa(() => Of.new());
|
|
3340
3334
|
var kr = { exports: {} }, Ir = {}, Si;
|
|
3341
|
-
function
|
|
3335
|
+
function Mf() {
|
|
3342
3336
|
if (Si) return Ir;
|
|
3343
3337
|
Si = 1;
|
|
3344
3338
|
var t = V;
|
|
@@ -3389,7 +3383,7 @@ function Df() {
|
|
|
3389
3383
|
}, Ir;
|
|
3390
3384
|
}
|
|
3391
3385
|
var Ci = {}, Oi;
|
|
3392
|
-
function
|
|
3386
|
+
function Df() {
|
|
3393
3387
|
return Oi || (Oi = 1, process.env.NODE_ENV !== "production" && (function() {
|
|
3394
3388
|
function t(s, u) {
|
|
3395
3389
|
return s === u && (s !== 0 || 1 / s === 1 / u) || s !== s && u !== u;
|
|
@@ -3441,14 +3435,14 @@ function Tf() {
|
|
|
3441
3435
|
})()), Ci;
|
|
3442
3436
|
}
|
|
3443
3437
|
var Mi;
|
|
3444
|
-
function
|
|
3445
|
-
return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? kr.exports =
|
|
3438
|
+
function Tf() {
|
|
3439
|
+
return Mi || (Mi = 1, process.env.NODE_ENV === "production" ? kr.exports = Mf() : kr.exports = Df()), kr.exports;
|
|
3446
3440
|
}
|
|
3447
|
-
var
|
|
3441
|
+
var kf = Tf();
|
|
3448
3442
|
function se(t, n, e = Ya) {
|
|
3449
|
-
return
|
|
3443
|
+
return kf.useSyncExternalStoreWithSelector(q((r) => t.subscribe(If, r)), q(() => t.state), q(() => t.state), q(n), e);
|
|
3450
3444
|
}
|
|
3451
|
-
function
|
|
3445
|
+
function If(t) {
|
|
3452
3446
|
return t;
|
|
3453
3447
|
}
|
|
3454
3448
|
function Ka(t, n) {
|
|
@@ -3512,13 +3506,13 @@ function bo(t, n, e) {
|
|
|
3512
3506
|
return () => i.dispose();
|
|
3513
3507
|
}, [n, r, t]);
|
|
3514
3508
|
}
|
|
3515
|
-
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(","),
|
|
3516
|
-
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 || {}),
|
|
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 || {});
|
|
3517
3511
|
function Za(t = document.body) {
|
|
3518
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)));
|
|
3519
3513
|
}
|
|
3520
|
-
function
|
|
3521
|
-
return t == null ? [] : Array.from(t.querySelectorAll(
|
|
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)));
|
|
3522
3516
|
}
|
|
3523
3517
|
var lr = ((t) => (t[t.Strict = 0] = "Strict", t[t.Loose = 1] = "Loose", t))(lr || {});
|
|
3524
3518
|
function sr(t, n = 0) {
|
|
@@ -3537,22 +3531,22 @@ function sr(t, n = 0) {
|
|
|
3537
3531
|
function Qa(t) {
|
|
3538
3532
|
Re().nextFrame(() => {
|
|
3539
3533
|
let n = co(t);
|
|
3540
|
-
n && pt(n) && !sr(n, 0) &&
|
|
3534
|
+
n && pt(n) && !sr(n, 0) && _f(t);
|
|
3541
3535
|
});
|
|
3542
3536
|
}
|
|
3543
|
-
var
|
|
3537
|
+
var Lf = ((t) => (t[t.Keyboard = 0] = "Keyboard", t[t.Mouse = 1] = "Mouse", t))(Lf || {});
|
|
3544
3538
|
typeof window < "u" && typeof document < "u" && (document.addEventListener("keydown", (t) => {
|
|
3545
3539
|
t.metaKey || t.altKey || t.ctrlKey || (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
3546
3540
|
}, !0), document.addEventListener("click", (t) => {
|
|
3547
3541
|
t.detail === 1 ? delete document.documentElement.dataset.headlessuiFocusVisible : t.detail === 0 && (document.documentElement.dataset.headlessuiFocusVisible = "");
|
|
3548
3542
|
}, !0));
|
|
3549
|
-
function
|
|
3543
|
+
function _f(t) {
|
|
3550
3544
|
t?.focus({ preventScroll: !0 });
|
|
3551
3545
|
}
|
|
3552
|
-
let
|
|
3553
|
-
function
|
|
3546
|
+
let Rf = ["textarea", "input"].join(",");
|
|
3547
|
+
function Ff(t) {
|
|
3554
3548
|
var n, e;
|
|
3555
|
-
return (e = (n = t?.matches) == null ? void 0 : n.call(t,
|
|
3549
|
+
return (e = (n = t?.matches) == null ? void 0 : n.call(t, Rf)) != null ? e : !1;
|
|
3556
3550
|
}
|
|
3557
3551
|
function cr(t, n = (e) => e) {
|
|
3558
3552
|
return t.slice().sort((e, r) => {
|
|
@@ -3563,10 +3557,10 @@ function cr(t, n = (e) => e) {
|
|
|
3563
3557
|
});
|
|
3564
3558
|
}
|
|
3565
3559
|
function qa(t, n, e = t === null ? document.body : _n(t)) {
|
|
3566
|
-
return
|
|
3560
|
+
return Hf(Za(e), n, { relativeTo: t });
|
|
3567
3561
|
}
|
|
3568
|
-
function
|
|
3569
|
-
let i = Array.isArray(t) ? t.length > 0 ? _n(t[0]) : document : _n(t), a = Array.isArray(t) ? e ? cr(t) : t : n & 64 ?
|
|
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);
|
|
3570
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;
|
|
3571
3565
|
let l = (() => {
|
|
3572
3566
|
if (n & 5) return 1;
|
|
@@ -3589,16 +3583,16 @@ function zf(t, n, { sorted: e = !0, relativeTo: r = null, skipElements: o = [] }
|
|
|
3589
3583
|
}
|
|
3590
3584
|
m = a[p], m?.focus(u), c += l;
|
|
3591
3585
|
} while (m !== co(m));
|
|
3592
|
-
return n & 6 &&
|
|
3586
|
+
return n & 6 && Ff(m) && m.select(), 2;
|
|
3593
3587
|
}
|
|
3594
|
-
function
|
|
3588
|
+
function Ja() {
|
|
3595
3589
|
return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
|
|
3596
3590
|
}
|
|
3597
|
-
function
|
|
3591
|
+
function zf() {
|
|
3598
3592
|
return /Android/gi.test(window.navigator.userAgent);
|
|
3599
3593
|
}
|
|
3600
3594
|
function Kr() {
|
|
3601
|
-
return
|
|
3595
|
+
return Ja() || zf();
|
|
3602
3596
|
}
|
|
3603
3597
|
function Rt(t, n, e, r) {
|
|
3604
3598
|
let o = yt(e);
|
|
@@ -3610,7 +3604,7 @@ function Rt(t, n, e, r) {
|
|
|
3610
3604
|
return document.addEventListener(n, i, r), () => document.removeEventListener(n, i, r);
|
|
3611
3605
|
}, [t, n, r]);
|
|
3612
3606
|
}
|
|
3613
|
-
function
|
|
3607
|
+
function Bf(t, n, e, r) {
|
|
3614
3608
|
let o = yt(e);
|
|
3615
3609
|
we(() => {
|
|
3616
3610
|
if (!t) return;
|
|
@@ -3646,13 +3640,13 @@ function yo(t, n, e) {
|
|
|
3646
3640
|
}, !0), Rt(t, "touchend", (l) => {
|
|
3647
3641
|
let s = { x: l.changedTouches[0].clientX, y: l.changedTouches[0].clientY };
|
|
3648
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);
|
|
3649
|
-
}, !0),
|
|
3643
|
+
}, !0), Bf(t, "blur", (l) => o(l, () => Gd(window.document.activeElement) ? window.document.activeElement : null), !0);
|
|
3650
3644
|
}
|
|
3651
3645
|
function kt(...t) {
|
|
3652
3646
|
return Ce(() => dn(...t), [...t]);
|
|
3653
3647
|
}
|
|
3654
|
-
var
|
|
3655
|
-
const
|
|
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;
|
|
3656
3650
|
function wo(t, { trigger: n, action: e, close: r, select: o }) {
|
|
3657
3651
|
let i = ae(null), a = ae(null), l = ae(null);
|
|
3658
3652
|
Rt(t && n !== null, "pointerdown", (s) => {
|
|
@@ -3666,7 +3660,7 @@ function wo(t, { trigger: n, action: e, close: r, select: o }) {
|
|
|
3666
3660
|
case 0:
|
|
3667
3661
|
return;
|
|
3668
3662
|
case 1: {
|
|
3669
|
-
s.timeStamp - v >
|
|
3663
|
+
s.timeStamp - v > $f && (o(m.target), r());
|
|
3670
3664
|
break;
|
|
3671
3665
|
}
|
|
3672
3666
|
case 2: {
|
|
@@ -3676,7 +3670,7 @@ function wo(t, { trigger: n, action: e, close: r, select: o }) {
|
|
|
3676
3670
|
}
|
|
3677
3671
|
}, { capture: !0 });
|
|
3678
3672
|
}
|
|
3679
|
-
function
|
|
3673
|
+
function Wf(t, n, e, r) {
|
|
3680
3674
|
let o = yt(e);
|
|
3681
3675
|
we(() => {
|
|
3682
3676
|
t = t ?? window;
|
|
@@ -3686,13 +3680,13 @@ function Uf(t, n, e, r) {
|
|
|
3686
3680
|
return t.addEventListener(n, i, r), () => t.removeEventListener(n, i, r);
|
|
3687
3681
|
}, [t, n, r]);
|
|
3688
3682
|
}
|
|
3689
|
-
function
|
|
3683
|
+
function Xa(t) {
|
|
3690
3684
|
let n = ae({ value: "", selectionStart: null, selectionEnd: null });
|
|
3691
|
-
return
|
|
3685
|
+
return Wf(t, "blur", (e) => {
|
|
3692
3686
|
let r = e.target;
|
|
3693
3687
|
Rn(r) && (n.current = { value: r.value, selectionStart: r.selectionStart, selectionEnd: r.selectionEnd });
|
|
3694
3688
|
}), q(() => {
|
|
3695
|
-
if (!
|
|
3689
|
+
if (!Xn(t) && Rn(t) && t.isConnected) {
|
|
3696
3690
|
if (t.focus({ preventScroll: !0 }), t.value !== n.current.value) t.setSelectionRange(t.value.length, t.value.length);
|
|
3697
3691
|
else {
|
|
3698
3692
|
let { selectionStart: e, selectionEnd: r } = n.current;
|
|
@@ -3710,10 +3704,10 @@ function xo(t, n) {
|
|
|
3710
3704
|
if (typeof r == "string" && r.toLowerCase() === "button" || n?.tagName === "BUTTON" && !n.hasAttribute("type")) return "button";
|
|
3711
3705
|
}, [t.type, t.as, n]);
|
|
3712
3706
|
}
|
|
3713
|
-
function
|
|
3707
|
+
function Uf(t) {
|
|
3714
3708
|
return hs(t.subscribe, t.getSnapshot, t.getSnapshot);
|
|
3715
3709
|
}
|
|
3716
|
-
function
|
|
3710
|
+
function Yf(t, n) {
|
|
3717
3711
|
let e = t(), r = /* @__PURE__ */ new Set();
|
|
3718
3712
|
return { getSnapshot() {
|
|
3719
3713
|
return e;
|
|
@@ -3724,7 +3718,7 @@ function Gf(t, n) {
|
|
|
3724
3718
|
a && (e = a, r.forEach((l) => l()));
|
|
3725
3719
|
} };
|
|
3726
3720
|
}
|
|
3727
|
-
function
|
|
3721
|
+
function Gf() {
|
|
3728
3722
|
let t;
|
|
3729
3723
|
return { before({ doc: n }) {
|
|
3730
3724
|
var e;
|
|
@@ -3735,8 +3729,8 @@ function Kf() {
|
|
|
3735
3729
|
e.style(r, "paddingRight", `${i}px`);
|
|
3736
3730
|
} };
|
|
3737
3731
|
}
|
|
3738
|
-
function
|
|
3739
|
-
return
|
|
3732
|
+
function Kf() {
|
|
3733
|
+
return Ja() ? { before({ doc: t, d: n, meta: e }) {
|
|
3740
3734
|
function r(o) {
|
|
3741
3735
|
for (let i of e().containers) for (let a of i()) if (a.contains(o)) return !0;
|
|
3742
3736
|
return !1;
|
|
@@ -3758,7 +3752,7 @@ function Zf() {
|
|
|
3758
3752
|
}
|
|
3759
3753
|
}, !0), n.group((l) => {
|
|
3760
3754
|
n.addEventListener(t, "touchstart", (s) => {
|
|
3761
|
-
if (l.dispose(), pt(s.target) &&
|
|
3755
|
+
if (l.dispose(), pt(s.target) && Yd(s.target)) if (r(s.target)) {
|
|
3762
3756
|
let u = s.target;
|
|
3763
3757
|
for (; u.parentElement && r(u.parentElement); ) u = u.parentElement;
|
|
3764
3758
|
l.style(u, "overscrollBehavior", "contain");
|
|
@@ -3781,7 +3775,7 @@ function Zf() {
|
|
|
3781
3775
|
});
|
|
3782
3776
|
} } : {};
|
|
3783
3777
|
}
|
|
3784
|
-
function
|
|
3778
|
+
function Zf() {
|
|
3785
3779
|
return { before({ doc: t, d: n }) {
|
|
3786
3780
|
n.style(t.documentElement, "overflow", "hidden");
|
|
3787
3781
|
} };
|
|
@@ -3791,7 +3785,7 @@ function Ai(t) {
|
|
|
3791
3785
|
for (let e of t) Object.assign(n, e(n));
|
|
3792
3786
|
return n;
|
|
3793
3787
|
}
|
|
3794
|
-
let Ot =
|
|
3788
|
+
let Ot = Yf(() => /* @__PURE__ */ new Map(), { PUSH(t, n) {
|
|
3795
3789
|
var e;
|
|
3796
3790
|
let r = (e = this.get(t)) != null ? e : { doc: t, count: 0, d: Re(), meta: /* @__PURE__ */ new Set(), computedMeta: {} };
|
|
3797
3791
|
return r.count++, r.meta.add(n), r.computedMeta = Ai(r.meta), this.set(t, r), this;
|
|
@@ -3801,7 +3795,7 @@ let Ot = Gf(() => /* @__PURE__ */ new Map(), { PUSH(t, n) {
|
|
|
3801
3795
|
}, SCROLL_PREVENT(t) {
|
|
3802
3796
|
let n = { doc: t.doc, d: t.d, meta() {
|
|
3803
3797
|
return t.computedMeta;
|
|
3804
|
-
} }, e = [
|
|
3798
|
+
} }, e = [Kf(), Gf(), Zf()];
|
|
3805
3799
|
e.forEach(({ before: r }) => r?.(n)), e.forEach(({ after: r }) => r?.(n));
|
|
3806
3800
|
}, SCROLL_ALLOW({ d: t }) {
|
|
3807
3801
|
t.dispose();
|
|
@@ -3816,15 +3810,15 @@ Ot.subscribe(() => {
|
|
|
3816
3810
|
(o && !r || !o && r) && Ot.dispatch(e.count > 0 ? "SCROLL_PREVENT" : "SCROLL_ALLOW", e), e.count === 0 && Ot.dispatch("TEARDOWN", e);
|
|
3817
3811
|
}
|
|
3818
3812
|
});
|
|
3819
|
-
function
|
|
3820
|
-
let r =
|
|
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;
|
|
3821
3815
|
return ve(() => {
|
|
3822
3816
|
if (!(!n || !t)) return Ot.dispatch("PUSH", n, e), () => Ot.dispatch("POP", n, e);
|
|
3823
3817
|
}, [t, n]), i;
|
|
3824
3818
|
}
|
|
3825
3819
|
function Eo(t, n, e = () => [document.body]) {
|
|
3826
3820
|
let r = Ka(t, "scroll-lock");
|
|
3827
|
-
|
|
3821
|
+
Qf(r, n, (o) => {
|
|
3828
3822
|
var i;
|
|
3829
3823
|
return { containers: [...(i = o.containers) != null ? i : [], e] };
|
|
3830
3824
|
});
|
|
@@ -3841,7 +3835,7 @@ function So() {
|
|
|
3841
3835
|
t.current = Pi(n);
|
|
3842
3836
|
} };
|
|
3843
3837
|
}
|
|
3844
|
-
function
|
|
3838
|
+
function qf(t = 0) {
|
|
3845
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), []);
|
|
3846
3840
|
return { flags: n, setFlag: r, addFlag: o, hasFlag: i, removeFlag: a, toggleFlag: l };
|
|
3847
3841
|
}
|
|
@@ -3857,7 +3851,7 @@ function Co(t) {
|
|
|
3857
3851
|
return n;
|
|
3858
3852
|
}
|
|
3859
3853
|
function Oo(t, n, e, r) {
|
|
3860
|
-
let [o, i] = be(e), { hasFlag: a, addFlag: l, removeFlag: s } =
|
|
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();
|
|
3861
3855
|
return ve(() => {
|
|
3862
3856
|
var m;
|
|
3863
3857
|
if (t) {
|
|
@@ -3865,26 +3859,26 @@ function Oo(t, n, e, r) {
|
|
|
3865
3859
|
e && l(3);
|
|
3866
3860
|
return;
|
|
3867
3861
|
}
|
|
3868
|
-
return (m = void 0) == null || m.call(r, e),
|
|
3862
|
+
return (m = void 0) == null || m.call(r, e), Xf(n, { inFlight: u, prepare() {
|
|
3869
3863
|
c.current ? c.current = !1 : c.current = u.current, u.current = !0, !c.current && (e ? (l(3), s(4)) : (l(4), s(2)));
|
|
3870
3864
|
}, run() {
|
|
3871
3865
|
c.current ? e ? (s(3), l(4)) : (s(4), l(3)) : e ? s(1) : l(1);
|
|
3872
3866
|
}, done() {
|
|
3873
3867
|
var p;
|
|
3874
|
-
c.current &&
|
|
3868
|
+
c.current && np(n) || (u.current = !1, s(7), e || i(!1), (p = void 0) == null || p.call(r, e));
|
|
3875
3869
|
} });
|
|
3876
3870
|
}
|
|
3877
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 }];
|
|
3878
3872
|
}
|
|
3879
|
-
function
|
|
3873
|
+
function Xf(t, { prepare: n, run: e, done: r, inFlight: o }) {
|
|
3880
3874
|
let i = Re();
|
|
3881
|
-
return
|
|
3875
|
+
return tp(t, { prepare: n, inFlight: o }), i.nextFrame(() => {
|
|
3882
3876
|
e(), i.requestAnimationFrame(() => {
|
|
3883
|
-
i.add(
|
|
3877
|
+
i.add(ep(t, r));
|
|
3884
3878
|
});
|
|
3885
3879
|
}), i.dispose;
|
|
3886
3880
|
}
|
|
3887
|
-
function
|
|
3881
|
+
function ep(t, n) {
|
|
3888
3882
|
var e, r;
|
|
3889
3883
|
let o = Re();
|
|
3890
3884
|
if (!t) return o.dispose;
|
|
@@ -3897,7 +3891,7 @@ function tp(t, n) {
|
|
|
3897
3891
|
i || n();
|
|
3898
3892
|
}), o.dispose);
|
|
3899
3893
|
}
|
|
3900
|
-
function
|
|
3894
|
+
function tp(t, { inFlight: n, prepare: e }) {
|
|
3901
3895
|
if (n != null && n.current) {
|
|
3902
3896
|
e();
|
|
3903
3897
|
return;
|
|
@@ -3905,7 +3899,7 @@ function np(t, { inFlight: n, prepare: e }) {
|
|
|
3905
3899
|
let r = t.style.transition;
|
|
3906
3900
|
t.style.transition = "none", e(), t.offsetHeight, t.style.transition = r;
|
|
3907
3901
|
}
|
|
3908
|
-
function
|
|
3902
|
+
function np(t) {
|
|
3909
3903
|
var n, e;
|
|
3910
3904
|
return ((e = (n = t.getAnimations) == null ? void 0 : n.call(t)) != null ? e : []).some((r) => r instanceof CSSTransition && r.playState !== "finished");
|
|
3911
3905
|
}
|
|
@@ -3957,23 +3951,23 @@ function at(t) {
|
|
|
3957
3951
|
function _i(t) {
|
|
3958
3952
|
return !ur() || typeof ShadowRoot > "u" ? !1 : t instanceof ShadowRoot || t instanceof Ye(t).ShadowRoot;
|
|
3959
3953
|
}
|
|
3960
|
-
const
|
|
3954
|
+
const rp = /* @__PURE__ */ new Set(["inline", "contents"]);
|
|
3961
3955
|
function pn(t) {
|
|
3962
3956
|
const {
|
|
3963
3957
|
overflow: n,
|
|
3964
3958
|
overflowX: e,
|
|
3965
3959
|
overflowY: r,
|
|
3966
3960
|
display: o
|
|
3967
|
-
} =
|
|
3968
|
-
return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && !
|
|
3961
|
+
} = Xe(t);
|
|
3962
|
+
return /auto|scroll|overlay|hidden|clip/.test(n + r + e) && !rp.has(o);
|
|
3969
3963
|
}
|
|
3970
|
-
const
|
|
3971
|
-
function
|
|
3972
|
-
return
|
|
3964
|
+
const op = /* @__PURE__ */ new Set(["table", "td", "th"]);
|
|
3965
|
+
function ip(t) {
|
|
3966
|
+
return op.has(Vt(t));
|
|
3973
3967
|
}
|
|
3974
|
-
const
|
|
3968
|
+
const ap = [":popover-open", ":modal"];
|
|
3975
3969
|
function dr(t) {
|
|
3976
|
-
return
|
|
3970
|
+
return ap.some((n) => {
|
|
3977
3971
|
try {
|
|
3978
3972
|
return t.matches(n);
|
|
3979
3973
|
} catch {
|
|
@@ -3981,12 +3975,12 @@ function dr(t) {
|
|
|
3981
3975
|
}
|
|
3982
3976
|
});
|
|
3983
3977
|
}
|
|
3984
|
-
const
|
|
3978
|
+
const lp = ["transform", "translate", "scale", "rotate", "perspective"], sp = ["transform", "translate", "scale", "rotate", "perspective", "filter"], cp = ["paint", "layout", "strict", "content"];
|
|
3985
3979
|
function Mo(t) {
|
|
3986
|
-
const n = Do(), e = _e(t) ?
|
|
3987
|
-
return
|
|
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));
|
|
3988
3982
|
}
|
|
3989
|
-
function
|
|
3983
|
+
function up(t) {
|
|
3990
3984
|
let n = ht(t);
|
|
3991
3985
|
for (; at(n) && !Bt(n); ) {
|
|
3992
3986
|
if (Mo(n))
|
|
@@ -4000,11 +3994,11 @@ function dp(t) {
|
|
|
4000
3994
|
function Do() {
|
|
4001
3995
|
return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
|
|
4002
3996
|
}
|
|
4003
|
-
const
|
|
3997
|
+
const dp = /* @__PURE__ */ new Set(["html", "body", "#document"]);
|
|
4004
3998
|
function Bt(t) {
|
|
4005
|
-
return
|
|
3999
|
+
return dp.has(Vt(t));
|
|
4006
4000
|
}
|
|
4007
|
-
function
|
|
4001
|
+
function Xe(t) {
|
|
4008
4002
|
return Ye(t).getComputedStyle(t);
|
|
4009
4003
|
}
|
|
4010
4004
|
function fr(t) {
|
|
@@ -4045,7 +4039,7 @@ function on(t, n, e) {
|
|
|
4045
4039
|
function Zr(t) {
|
|
4046
4040
|
return t.parent && Object.getPrototypeOf(t.parent) ? t.frameElement : null;
|
|
4047
4041
|
}
|
|
4048
|
-
function
|
|
4042
|
+
function fp() {
|
|
4049
4043
|
const t = navigator.userAgentData;
|
|
4050
4044
|
return t && Array.isArray(t.brands) ? t.brands.map((n) => {
|
|
4051
4045
|
let {
|
|
@@ -4058,12 +4052,12 @@ function pp() {
|
|
|
4058
4052
|
const It = Math.min, Ne = Math.max, an = Math.round, Sn = Math.floor, ot = (t) => ({
|
|
4059
4053
|
x: t,
|
|
4060
4054
|
y: t
|
|
4061
|
-
}),
|
|
4055
|
+
}), pp = {
|
|
4062
4056
|
left: "right",
|
|
4063
4057
|
right: "left",
|
|
4064
4058
|
bottom: "top",
|
|
4065
4059
|
top: "bottom"
|
|
4066
|
-
},
|
|
4060
|
+
}, mp = {
|
|
4067
4061
|
start: "end",
|
|
4068
4062
|
end: "start"
|
|
4069
4063
|
};
|
|
@@ -4085,48 +4079,48 @@ function rl(t) {
|
|
|
4085
4079
|
function ol(t) {
|
|
4086
4080
|
return t === "y" ? "height" : "width";
|
|
4087
4081
|
}
|
|
4088
|
-
const
|
|
4082
|
+
const hp = /* @__PURE__ */ new Set(["top", "bottom"]);
|
|
4089
4083
|
function ct(t) {
|
|
4090
|
-
return
|
|
4084
|
+
return hp.has(gt(t)) ? "y" : "x";
|
|
4091
4085
|
}
|
|
4092
4086
|
function il(t) {
|
|
4093
4087
|
return rl(ct(t));
|
|
4094
4088
|
}
|
|
4095
|
-
function
|
|
4089
|
+
function gp(t, n, e) {
|
|
4096
4090
|
e === void 0 && (e = !1);
|
|
4097
4091
|
const r = mn(t), o = il(t), i = ol(o);
|
|
4098
4092
|
let a = o === "x" ? r === (e ? "end" : "start") ? "right" : "left" : r === "start" ? "bottom" : "top";
|
|
4099
4093
|
return n.reference[i] > n.floating[i] && (a = zn(a)), [a, zn(a)];
|
|
4100
4094
|
}
|
|
4101
|
-
function
|
|
4095
|
+
function vp(t) {
|
|
4102
4096
|
const n = zn(t);
|
|
4103
4097
|
return [Qr(t), n, Qr(n)];
|
|
4104
4098
|
}
|
|
4105
4099
|
function Qr(t) {
|
|
4106
|
-
return t.replace(/start|end/g, (n) =>
|
|
4100
|
+
return t.replace(/start|end/g, (n) => mp[n]);
|
|
4107
4101
|
}
|
|
4108
|
-
const Fi = ["left", "right"], Hi = ["right", "left"],
|
|
4109
|
-
function
|
|
4102
|
+
const Fi = ["left", "right"], Hi = ["right", "left"], bp = ["top", "bottom"], yp = ["bottom", "top"];
|
|
4103
|
+
function wp(t, n, e) {
|
|
4110
4104
|
switch (t) {
|
|
4111
4105
|
case "top":
|
|
4112
4106
|
case "bottom":
|
|
4113
4107
|
return e ? n ? Hi : Fi : n ? Fi : Hi;
|
|
4114
4108
|
case "left":
|
|
4115
4109
|
case "right":
|
|
4116
|
-
return n ?
|
|
4110
|
+
return n ? bp : yp;
|
|
4117
4111
|
default:
|
|
4118
4112
|
return [];
|
|
4119
4113
|
}
|
|
4120
4114
|
}
|
|
4121
|
-
function
|
|
4115
|
+
function xp(t, n, e, r) {
|
|
4122
4116
|
const o = mn(t);
|
|
4123
|
-
let i =
|
|
4117
|
+
let i = wp(gt(t), e === "start", r);
|
|
4124
4118
|
return o && (i = i.map((a) => a + "-" + o), n && (i = i.concat(i.map(Qr)))), i;
|
|
4125
4119
|
}
|
|
4126
4120
|
function zn(t) {
|
|
4127
|
-
return t.replace(/left|right|bottom|top/g, (n) =>
|
|
4121
|
+
return t.replace(/left|right|bottom|top/g, (n) => pp[n]);
|
|
4128
4122
|
}
|
|
4129
|
-
function
|
|
4123
|
+
function Ep(t) {
|
|
4130
4124
|
return {
|
|
4131
4125
|
top: 0,
|
|
4132
4126
|
right: 0,
|
|
@@ -4135,8 +4129,8 @@ function Sp(t) {
|
|
|
4135
4129
|
...t
|
|
4136
4130
|
};
|
|
4137
4131
|
}
|
|
4138
|
-
function
|
|
4139
|
-
return typeof t != "number" ?
|
|
4132
|
+
function Sp(t) {
|
|
4133
|
+
return typeof t != "number" ? Ep(t) : {
|
|
4140
4134
|
top: t,
|
|
4141
4135
|
right: t,
|
|
4142
4136
|
bottom: t,
|
|
@@ -4172,7 +4166,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4172
4166
|
e === void 0 && (e = !0);
|
|
4173
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);
|
|
4174
4168
|
return a;
|
|
4175
|
-
},
|
|
4169
|
+
}, Cp = function(t) {
|
|
4176
4170
|
var n, e = t == null || (n = t.getAttribute) === null || n === void 0 ? void 0 : n.call(t, "contenteditable");
|
|
4177
4171
|
return e === "" || e === "true";
|
|
4178
4172
|
}, sl = function(t, n, e) {
|
|
@@ -4211,26 +4205,26 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4211
4205
|
}, ft = function(t) {
|
|
4212
4206
|
if (!t)
|
|
4213
4207
|
throw new Error("No node provided");
|
|
4214
|
-
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) ||
|
|
4215
|
-
},
|
|
4208
|
+
return t.tabIndex < 0 && (/^(AUDIO|VIDEO|DETAILS)$/.test(t.tagName) || Cp(t)) && !ul(t) ? 0 : t.tabIndex;
|
|
4209
|
+
}, Op = function(t, n) {
|
|
4216
4210
|
var e = ft(t);
|
|
4217
4211
|
return e < 0 && n && !ul(t) ? 0 : e;
|
|
4218
|
-
},
|
|
4212
|
+
}, Mp = function(t, n) {
|
|
4219
4213
|
return t.tabIndex === n.tabIndex ? t.documentOrder - n.documentOrder : t.tabIndex - n.tabIndex;
|
|
4220
4214
|
}, dl = function(t) {
|
|
4221
4215
|
return t.tagName === "INPUT";
|
|
4222
|
-
},
|
|
4216
|
+
}, Dp = function(t) {
|
|
4223
4217
|
return dl(t) && t.type === "hidden";
|
|
4224
|
-
},
|
|
4218
|
+
}, Tp = function(t) {
|
|
4225
4219
|
var n = t.tagName === "DETAILS" && Array.prototype.slice.apply(t.children).some(function(e) {
|
|
4226
4220
|
return e.tagName === "SUMMARY";
|
|
4227
4221
|
});
|
|
4228
4222
|
return n;
|
|
4229
|
-
},
|
|
4223
|
+
}, kp = function(t, n) {
|
|
4230
4224
|
for (var e = 0; e < t.length; e++)
|
|
4231
4225
|
if (t[e].checked && t[e].form === n)
|
|
4232
4226
|
return t[e];
|
|
4233
|
-
},
|
|
4227
|
+
}, Ip = function(t) {
|
|
4234
4228
|
if (!t.name)
|
|
4235
4229
|
return !0;
|
|
4236
4230
|
var n = t.form || $n(t), e = function(i) {
|
|
@@ -4244,13 +4238,13 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4244
4238
|
} catch (i) {
|
|
4245
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;
|
|
4246
4240
|
}
|
|
4247
|
-
var o =
|
|
4241
|
+
var o = kp(r, t.form);
|
|
4248
4242
|
return !o || o === t;
|
|
4249
|
-
},
|
|
4243
|
+
}, Ap = function(t) {
|
|
4250
4244
|
return dl(t) && t.type === "radio";
|
|
4245
|
+
}, Pp = function(t) {
|
|
4246
|
+
return Ap(t) && !Ip(t);
|
|
4251
4247
|
}, jp = function(t) {
|
|
4252
|
-
return Pp(t) && !Ap(t);
|
|
4253
|
-
}, Np = function(t) {
|
|
4254
4248
|
var n, e = t && $n(t), r = (n = e) === null || n === void 0 ? void 0 : n.host, o = !1;
|
|
4255
4249
|
if (e && e !== t) {
|
|
4256
4250
|
var i, a, l;
|
|
@@ -4263,7 +4257,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4263
4257
|
}, zi = function(t) {
|
|
4264
4258
|
var n = t.getBoundingClientRect(), e = n.width, r = n.height;
|
|
4265
4259
|
return e === 0 && r === 0;
|
|
4266
|
-
},
|
|
4260
|
+
}, Np = function(t, n) {
|
|
4267
4261
|
var e = n.displayCheck, r = n.getShadowRoot;
|
|
4268
4262
|
if (getComputedStyle(t).visibility === "hidden")
|
|
4269
4263
|
return !0;
|
|
@@ -4280,14 +4274,14 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4280
4274
|
}
|
|
4281
4275
|
t = a;
|
|
4282
4276
|
}
|
|
4283
|
-
if (
|
|
4277
|
+
if (jp(t))
|
|
4284
4278
|
return !t.getClientRects().length;
|
|
4285
4279
|
if (e !== "legacy-full")
|
|
4286
4280
|
return !0;
|
|
4287
4281
|
} else if (e === "non-zero-area")
|
|
4288
4282
|
return zi(t);
|
|
4289
4283
|
return !1;
|
|
4290
|
-
},
|
|
4284
|
+
}, Lp = function(t) {
|
|
4291
4285
|
if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(t.tagName))
|
|
4292
4286
|
for (var n = t.parentElement; n; ) {
|
|
4293
4287
|
if (n.tagName === "FIELDSET" && n.disabled) {
|
|
@@ -4305,17 +4299,17 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4305
4299
|
return !(n.disabled || // we must do an inert look up to filter out any elements inside an inert ancestor
|
|
4306
4300
|
// because we're limited in the type of selectors we can use in JSDom (see related
|
|
4307
4301
|
// note related to `candidateSelectors`)
|
|
4308
|
-
Wn(n) ||
|
|
4309
|
-
|
|
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));
|
|
4310
4304
|
}, qr = function(t, n) {
|
|
4311
|
-
return !(
|
|
4312
|
-
},
|
|
4305
|
+
return !(Pp(n) || ft(n) < 0 || !Un(t, n));
|
|
4306
|
+
}, _p = function(t) {
|
|
4313
4307
|
var n = parseInt(t.getAttribute("tabindex"), 10);
|
|
4314
4308
|
return !!(isNaN(n) || n >= 0);
|
|
4315
|
-
},
|
|
4309
|
+
}, Rp = function t(n) {
|
|
4316
4310
|
var e = [], r = [];
|
|
4317
4311
|
return n.forEach(function(o, i) {
|
|
4318
|
-
var a = !!o.scopeParent, l = a ? o.scopeParent : o, s =
|
|
4312
|
+
var a = !!o.scopeParent, l = a ? o.scopeParent : o, s = Op(l, a), u = a ? t(o.candidates) : l;
|
|
4319
4313
|
s === 0 ? a ? e.push.apply(e, u) : e.push(l) : r.push({
|
|
4320
4314
|
documentOrder: i,
|
|
4321
4315
|
tabIndex: s,
|
|
@@ -4323,7 +4317,7 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4323
4317
|
isScope: a,
|
|
4324
4318
|
content: u
|
|
4325
4319
|
});
|
|
4326
|
-
}), r.sort(
|
|
4320
|
+
}), r.sort(Mp).reduce(function(o, i) {
|
|
4327
4321
|
return i.isScope ? o.push.apply(o, i.content) : o.push(i.content), o;
|
|
4328
4322
|
}, []).concat(e);
|
|
4329
4323
|
}, fl = function(t, n) {
|
|
@@ -4333,8 +4327,8 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4333
4327
|
filter: qr.bind(null, n),
|
|
4334
4328
|
flatten: !1,
|
|
4335
4329
|
getShadowRoot: n.getShadowRoot,
|
|
4336
|
-
shadowRootFilter:
|
|
4337
|
-
}) : e = sl(t, n.includeContainer, qr.bind(null, n)),
|
|
4330
|
+
shadowRootFilter: _p
|
|
4331
|
+
}) : e = sl(t, n.includeContainer, qr.bind(null, n)), Rp(e);
|
|
4338
4332
|
}, pl = function(t, n) {
|
|
4339
4333
|
n = n || {};
|
|
4340
4334
|
var e;
|
|
@@ -4347,12 +4341,12 @@ var al = ["input:not([inert])", "select:not([inert])", "textarea:not([inert])",
|
|
|
4347
4341
|
if (n = n || {}, !t)
|
|
4348
4342
|
throw new Error("No node provided");
|
|
4349
4343
|
return At.call(t, Vn) === !1 ? !1 : qr(n, t);
|
|
4350
|
-
},
|
|
4344
|
+
}, Fp = /* @__PURE__ */ al.concat("iframe").join(","), kn = function(t, n) {
|
|
4351
4345
|
if (n = n || {}, !t)
|
|
4352
4346
|
throw new Error("No node provided");
|
|
4353
|
-
return At.call(t,
|
|
4347
|
+
return At.call(t, Fp) === !1 ? !1 : Un(n, t);
|
|
4354
4348
|
};
|
|
4355
|
-
const
|
|
4349
|
+
const Hp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
4356
4350
|
__proto__: null,
|
|
4357
4351
|
focusable: pl,
|
|
4358
4352
|
getTabIndex: ft,
|
|
@@ -4408,7 +4402,7 @@ function Bi(t, n, e) {
|
|
|
4408
4402
|
}
|
|
4409
4403
|
return p;
|
|
4410
4404
|
}
|
|
4411
|
-
const
|
|
4405
|
+
const zp = async (t, n, e) => {
|
|
4412
4406
|
const {
|
|
4413
4407
|
placement: r = "bottom",
|
|
4414
4408
|
strategy: o = "absolute",
|
|
@@ -4485,7 +4479,7 @@ async function pr(t, n) {
|
|
|
4485
4479
|
elementContext: v = "floating",
|
|
4486
4480
|
altBoundary: m = !1,
|
|
4487
4481
|
padding: p = 0
|
|
4488
|
-
} = $t(n, t), g =
|
|
4482
|
+
} = $t(n, t), g = Sp(p), b = l[m ? v === "floating" ? "reference" : "floating" : v], x = Bn(await i.getClippingRect({
|
|
4489
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)),
|
|
4490
4484
|
boundary: u,
|
|
4491
4485
|
rootBoundary: c,
|
|
@@ -4514,7 +4508,7 @@ async function pr(t, n) {
|
|
|
4514
4508
|
right: (F.right - x.right + g.right) / I.x
|
|
4515
4509
|
};
|
|
4516
4510
|
}
|
|
4517
|
-
const
|
|
4511
|
+
const Bp = function(t) {
|
|
4518
4512
|
return t === void 0 && (t = {}), {
|
|
4519
4513
|
name: "flip",
|
|
4520
4514
|
options: t,
|
|
@@ -4538,12 +4532,12 @@ const Vp = function(t) {
|
|
|
4538
4532
|
} = $t(t, n);
|
|
4539
4533
|
if ((e = i.arrow) != null && e.alignmentOffset)
|
|
4540
4534
|
return {};
|
|
4541
|
-
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)] :
|
|
4542
|
-
!m && _ && R.push(...
|
|
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));
|
|
4543
4537
|
const j = [l, ...R], T = await pr(n, x), N = [];
|
|
4544
4538
|
let S = ((r = i.flip) == null ? void 0 : r.overflows) || [];
|
|
4545
4539
|
if (c && N.push(T[C]), v) {
|
|
4546
|
-
const B =
|
|
4540
|
+
const B = gp(o, a, F);
|
|
4547
4541
|
N.push(T[B[0]], T[B[1]]);
|
|
4548
4542
|
}
|
|
4549
4543
|
if (S = [...S, {
|
|
@@ -4595,13 +4589,13 @@ const Vp = function(t) {
|
|
|
4595
4589
|
return {};
|
|
4596
4590
|
}
|
|
4597
4591
|
};
|
|
4598
|
-
},
|
|
4599
|
-
async function
|
|
4592
|
+
}, Vp = /* @__PURE__ */ new Set(["left", "top"]);
|
|
4593
|
+
async function $p(t, n) {
|
|
4600
4594
|
const {
|
|
4601
4595
|
placement: e,
|
|
4602
4596
|
platform: r,
|
|
4603
4597
|
elements: o
|
|
4604
|
-
} = t, i = await (r.isRTL == null ? void 0 : r.isRTL(o.floating)), a = gt(e), l = mn(e), s = ct(e) === "y", u =
|
|
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);
|
|
4605
4599
|
let {
|
|
4606
4600
|
mainAxis: m,
|
|
4607
4601
|
crossAxis: p,
|
|
@@ -4623,7 +4617,7 @@ async function Wp(t, n) {
|
|
|
4623
4617
|
y: p * c
|
|
4624
4618
|
};
|
|
4625
4619
|
}
|
|
4626
|
-
const
|
|
4620
|
+
const Wp = function(t) {
|
|
4627
4621
|
return t === void 0 && (t = 0), {
|
|
4628
4622
|
name: "offset",
|
|
4629
4623
|
options: t,
|
|
@@ -4634,7 +4628,7 @@ const Up = function(t) {
|
|
|
4634
4628
|
y: i,
|
|
4635
4629
|
placement: a,
|
|
4636
4630
|
middlewareData: l
|
|
4637
|
-
} = n, s = await
|
|
4631
|
+
} = n, s = await $p(n, t);
|
|
4638
4632
|
return a === ((e = l.offset) == null ? void 0 : e.placement) && (r = l.arrow) != null && r.alignmentOffset ? {} : {
|
|
4639
4633
|
x: o + s.x,
|
|
4640
4634
|
y: i + s.y,
|
|
@@ -4645,7 +4639,7 @@ const Up = function(t) {
|
|
|
4645
4639
|
};
|
|
4646
4640
|
}
|
|
4647
4641
|
};
|
|
4648
|
-
},
|
|
4642
|
+
}, Up = function(t) {
|
|
4649
4643
|
return t === void 0 && (t = {}), {
|
|
4650
4644
|
name: "shift",
|
|
4651
4645
|
options: t,
|
|
@@ -4701,7 +4695,7 @@ const Up = function(t) {
|
|
|
4701
4695
|
};
|
|
4702
4696
|
}
|
|
4703
4697
|
};
|
|
4704
|
-
},
|
|
4698
|
+
}, Yp = function(t) {
|
|
4705
4699
|
return t === void 0 && (t = {}), {
|
|
4706
4700
|
name: "size",
|
|
4707
4701
|
options: t,
|
|
@@ -4743,7 +4737,7 @@ const Up = function(t) {
|
|
|
4743
4737
|
};
|
|
4744
4738
|
};
|
|
4745
4739
|
function ml(t) {
|
|
4746
|
-
const n =
|
|
4740
|
+
const n = Xe(t);
|
|
4747
4741
|
let e = parseFloat(n.width) || 0, r = parseFloat(n.height) || 0;
|
|
4748
4742
|
const o = at(t), i = o ? t.offsetWidth : e, a = o ? t.offsetHeight : r, l = an(e) !== i || an(r) !== a;
|
|
4749
4743
|
return l && (e = i, r = a), {
|
|
@@ -4770,15 +4764,15 @@ function Ft(t) {
|
|
|
4770
4764
|
y: l
|
|
4771
4765
|
};
|
|
4772
4766
|
}
|
|
4773
|
-
const
|
|
4767
|
+
const Gp = /* @__PURE__ */ ot(0);
|
|
4774
4768
|
function hl(t) {
|
|
4775
4769
|
const n = Ye(t);
|
|
4776
|
-
return !Do() || !n.visualViewport ?
|
|
4770
|
+
return !Do() || !n.visualViewport ? Gp : {
|
|
4777
4771
|
x: n.visualViewport.offsetLeft,
|
|
4778
4772
|
y: n.visualViewport.offsetTop
|
|
4779
4773
|
};
|
|
4780
4774
|
}
|
|
4781
|
-
function
|
|
4775
|
+
function Kp(t, n, e) {
|
|
4782
4776
|
return n === void 0 && (n = !1), !e || n && e !== Ye(t) ? !1 : n;
|
|
4783
4777
|
}
|
|
4784
4778
|
function Pt(t, n, e, r) {
|
|
@@ -4786,13 +4780,13 @@ function Pt(t, n, e, r) {
|
|
|
4786
4780
|
const o = t.getBoundingClientRect(), i = To(t);
|
|
4787
4781
|
let a = ot(1);
|
|
4788
4782
|
n && (r ? _e(r) && (a = Ft(r)) : a = Ft(t));
|
|
4789
|
-
const l =
|
|
4783
|
+
const l = Kp(i, e, r) ? hl(i) : ot(0);
|
|
4790
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;
|
|
4791
4785
|
if (i) {
|
|
4792
4786
|
const m = Ye(i), p = r && _e(r) ? Ye(r) : r;
|
|
4793
4787
|
let g = m, b = Zr(g);
|
|
4794
4788
|
for (; b && r && p !== g; ) {
|
|
4795
|
-
const x = Ft(b), C = b.getBoundingClientRect(), O =
|
|
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;
|
|
4796
4790
|
s *= x.x, u *= x.y, c *= x.x, v *= x.y, s += I, u += F, g = Ye(b), b = Zr(g);
|
|
4797
4791
|
}
|
|
4798
4792
|
}
|
|
@@ -4818,7 +4812,7 @@ function gl(t, n, e) {
|
|
|
4818
4812
|
y: i
|
|
4819
4813
|
};
|
|
4820
4814
|
}
|
|
4821
|
-
function
|
|
4815
|
+
function Zp(t) {
|
|
4822
4816
|
let {
|
|
4823
4817
|
elements: n,
|
|
4824
4818
|
rect: e,
|
|
@@ -4845,14 +4839,14 @@ function Qp(t) {
|
|
|
4845
4839
|
y: e.y * u.y - s.scrollTop * u.y + c.y + m.y
|
|
4846
4840
|
};
|
|
4847
4841
|
}
|
|
4848
|
-
function
|
|
4842
|
+
function Qp(t) {
|
|
4849
4843
|
return Array.from(t.getClientRects());
|
|
4850
4844
|
}
|
|
4851
|
-
function
|
|
4845
|
+
function qp(t) {
|
|
4852
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);
|
|
4853
4847
|
let a = -e.scrollLeft + ko(t);
|
|
4854
4848
|
const l = -e.scrollTop;
|
|
4855
|
-
return
|
|
4849
|
+
return Xe(r).direction === "rtl" && (a += Ne(n.clientWidth, r.clientWidth) - o), {
|
|
4856
4850
|
width: o,
|
|
4857
4851
|
height: i,
|
|
4858
4852
|
x: a,
|
|
@@ -4874,8 +4868,8 @@ function Jp(t, n) {
|
|
|
4874
4868
|
y: s
|
|
4875
4869
|
};
|
|
4876
4870
|
}
|
|
4877
|
-
const
|
|
4878
|
-
function
|
|
4871
|
+
const Xp = /* @__PURE__ */ new Set(["absolute", "fixed"]);
|
|
4872
|
+
function em(t, n) {
|
|
4879
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;
|
|
4880
4874
|
return {
|
|
4881
4875
|
width: a,
|
|
@@ -4889,9 +4883,9 @@ function Vi(t, n, e) {
|
|
|
4889
4883
|
if (n === "viewport")
|
|
4890
4884
|
r = Jp(t, e);
|
|
4891
4885
|
else if (n === "document")
|
|
4892
|
-
r =
|
|
4886
|
+
r = qp(lt(t));
|
|
4893
4887
|
else if (_e(n))
|
|
4894
|
-
r =
|
|
4888
|
+
r = em(n, e);
|
|
4895
4889
|
else {
|
|
4896
4890
|
const o = hl(t);
|
|
4897
4891
|
r = {
|
|
@@ -4905,29 +4899,29 @@ function Vi(t, n, e) {
|
|
|
4905
4899
|
}
|
|
4906
4900
|
function vl(t, n) {
|
|
4907
4901
|
const e = ht(t);
|
|
4908
|
-
return e === n || !_e(e) || Bt(e) ? !1 :
|
|
4902
|
+
return e === n || !_e(e) || Bt(e) ? !1 : Xe(e).position === "fixed" || vl(e, n);
|
|
4909
4903
|
}
|
|
4910
|
-
function
|
|
4904
|
+
function tm(t, n) {
|
|
4911
4905
|
const e = n.get(t);
|
|
4912
4906
|
if (e)
|
|
4913
4907
|
return e;
|
|
4914
4908
|
let r = on(t, [], !1).filter((l) => _e(l) && Vt(l) !== "body"), o = null;
|
|
4915
|
-
const i =
|
|
4909
|
+
const i = Xe(t).position === "fixed";
|
|
4916
4910
|
let a = i ? ht(t) : t;
|
|
4917
4911
|
for (; _e(a) && !Bt(a); ) {
|
|
4918
|
-
const l =
|
|
4919
|
-
!s && l.position === "fixed" && (o = null), (i ? !s && !o : !s && l.position === "static" && o &&
|
|
4912
|
+
const l = Xe(a), s = Mo(a);
|
|
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);
|
|
4920
4914
|
}
|
|
4921
4915
|
return n.set(t, r), r;
|
|
4922
4916
|
}
|
|
4923
|
-
function
|
|
4917
|
+
function nm(t) {
|
|
4924
4918
|
let {
|
|
4925
4919
|
element: n,
|
|
4926
4920
|
boundary: e,
|
|
4927
4921
|
rootBoundary: r,
|
|
4928
4922
|
strategy: o
|
|
4929
4923
|
} = t;
|
|
4930
|
-
const i = [...e === "clippingAncestors" ? dr(n) ? [] :
|
|
4924
|
+
const i = [...e === "clippingAncestors" ? dr(n) ? [] : tm(n, this._c) : [].concat(e), r], a = i[0], l = i.reduce((s, u) => {
|
|
4931
4925
|
const c = Vi(n, u, o);
|
|
4932
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;
|
|
4933
4927
|
}, Vi(n, a, o));
|
|
@@ -4938,7 +4932,7 @@ function rm(t) {
|
|
|
4938
4932
|
y: l.top
|
|
4939
4933
|
};
|
|
4940
4934
|
}
|
|
4941
|
-
function
|
|
4935
|
+
function rm(t) {
|
|
4942
4936
|
const {
|
|
4943
4937
|
width: n,
|
|
4944
4938
|
height: e
|
|
@@ -4948,7 +4942,7 @@ function om(t) {
|
|
|
4948
4942
|
height: e
|
|
4949
4943
|
};
|
|
4950
4944
|
}
|
|
4951
|
-
function
|
|
4945
|
+
function om(t, n, e) {
|
|
4952
4946
|
const r = at(n), o = lt(n), i = e === "fixed", a = Pt(t, !0, i, n);
|
|
4953
4947
|
let l = {
|
|
4954
4948
|
scrollLeft: 0,
|
|
@@ -4973,10 +4967,10 @@ function im(t, n, e) {
|
|
|
4973
4967
|
};
|
|
4974
4968
|
}
|
|
4975
4969
|
function Ar(t) {
|
|
4976
|
-
return
|
|
4970
|
+
return Xe(t).position === "static";
|
|
4977
4971
|
}
|
|
4978
4972
|
function $i(t, n) {
|
|
4979
|
-
if (!at(t) ||
|
|
4973
|
+
if (!at(t) || Xe(t).position === "fixed")
|
|
4980
4974
|
return null;
|
|
4981
4975
|
if (n)
|
|
4982
4976
|
return n(t);
|
|
@@ -4997,14 +4991,14 @@ function bl(t, n) {
|
|
|
4997
4991
|
return e;
|
|
4998
4992
|
}
|
|
4999
4993
|
let r = $i(t, n);
|
|
5000
|
-
for (; r &&
|
|
4994
|
+
for (; r && ip(r) && Ar(r); )
|
|
5001
4995
|
r = $i(r, n);
|
|
5002
|
-
return r && Bt(r) && Ar(r) && !Mo(r) ? e : r ||
|
|
4996
|
+
return r && Bt(r) && Ar(r) && !Mo(r) ? e : r || up(t) || e;
|
|
5003
4997
|
}
|
|
5004
|
-
const
|
|
4998
|
+
const im = async function(t) {
|
|
5005
4999
|
const n = this.getOffsetParent || bl, e = this.getDimensions, r = await e(t.floating);
|
|
5006
5000
|
return {
|
|
5007
|
-
reference:
|
|
5001
|
+
reference: om(t.reference, await n(t.floating), t.strategy),
|
|
5008
5002
|
floating: {
|
|
5009
5003
|
x: 0,
|
|
5010
5004
|
y: 0,
|
|
@@ -5013,25 +5007,25 @@ const am = async function(t) {
|
|
|
5013
5007
|
}
|
|
5014
5008
|
};
|
|
5015
5009
|
};
|
|
5016
|
-
function
|
|
5017
|
-
return
|
|
5010
|
+
function am(t) {
|
|
5011
|
+
return Xe(t).direction === "rtl";
|
|
5018
5012
|
}
|
|
5019
|
-
const
|
|
5020
|
-
convertOffsetParentRelativeRectToViewportRelativeRect:
|
|
5013
|
+
const lm = {
|
|
5014
|
+
convertOffsetParentRelativeRectToViewportRelativeRect: Zp,
|
|
5021
5015
|
getDocumentElement: lt,
|
|
5022
|
-
getClippingRect:
|
|
5016
|
+
getClippingRect: nm,
|
|
5023
5017
|
getOffsetParent: bl,
|
|
5024
|
-
getElementRects:
|
|
5025
|
-
getClientRects:
|
|
5026
|
-
getDimensions:
|
|
5018
|
+
getElementRects: im,
|
|
5019
|
+
getClientRects: Qp,
|
|
5020
|
+
getDimensions: rm,
|
|
5027
5021
|
getScale: Ft,
|
|
5028
5022
|
isElement: _e,
|
|
5029
|
-
isRTL:
|
|
5023
|
+
isRTL: am
|
|
5030
5024
|
};
|
|
5031
5025
|
function yl(t, n) {
|
|
5032
5026
|
return t.x === n.x && t.y === n.y && t.width === n.width && t.height === n.height;
|
|
5033
5027
|
}
|
|
5034
|
-
function
|
|
5028
|
+
function sm(t, n) {
|
|
5035
5029
|
let e = null, r;
|
|
5036
5030
|
const o = lt(t);
|
|
5037
5031
|
function i() {
|
|
@@ -5077,7 +5071,7 @@ function cm(t, n) {
|
|
|
5077
5071
|
}
|
|
5078
5072
|
return a(!0), i;
|
|
5079
5073
|
}
|
|
5080
|
-
function
|
|
5074
|
+
function cm(t, n, e, r) {
|
|
5081
5075
|
r === void 0 && (r = {});
|
|
5082
5076
|
const {
|
|
5083
5077
|
ancestorScroll: o = !0,
|
|
@@ -5091,7 +5085,7 @@ function um(t, n, e, r) {
|
|
|
5091
5085
|
passive: !0
|
|
5092
5086
|
}), i && C.addEventListener("resize", e);
|
|
5093
5087
|
});
|
|
5094
|
-
const v = u && l ?
|
|
5088
|
+
const v = u && l ? sm(u, e) : null;
|
|
5095
5089
|
let m = -1, p = null;
|
|
5096
5090
|
a && (p = new ResizeObserver((C) => {
|
|
5097
5091
|
let [O] = C;
|
|
@@ -5113,21 +5107,21 @@ function um(t, n, e, r) {
|
|
|
5113
5107
|
}), v?.(), (C = p) == null || C.disconnect(), p = null, s && cancelAnimationFrame(g);
|
|
5114
5108
|
};
|
|
5115
5109
|
}
|
|
5116
|
-
const Pr = pr, dm = Up, fm =
|
|
5110
|
+
const Pr = pr, um = Wp, dm = Up, fm = Bp, pm = Yp, mm = (t, n, e) => {
|
|
5117
5111
|
const r = /* @__PURE__ */ new Map(), o = {
|
|
5118
|
-
platform:
|
|
5112
|
+
platform: lm,
|
|
5119
5113
|
...e
|
|
5120
5114
|
}, i = {
|
|
5121
5115
|
...o.platform,
|
|
5122
5116
|
_c: r
|
|
5123
5117
|
};
|
|
5124
|
-
return
|
|
5118
|
+
return zp(t, n, {
|
|
5125
5119
|
...o,
|
|
5126
5120
|
platform: i
|
|
5127
5121
|
});
|
|
5128
5122
|
};
|
|
5129
|
-
var
|
|
5130
|
-
}, In =
|
|
5123
|
+
var hm = typeof document < "u", gm = function() {
|
|
5124
|
+
}, In = hm ? ro : gm;
|
|
5131
5125
|
function Yn(t, n) {
|
|
5132
5126
|
if (t === n)
|
|
5133
5127
|
return !0;
|
|
@@ -5171,7 +5165,7 @@ function jr(t) {
|
|
|
5171
5165
|
n.current = t;
|
|
5172
5166
|
}), n;
|
|
5173
5167
|
}
|
|
5174
|
-
function
|
|
5168
|
+
function vm(t) {
|
|
5175
5169
|
t === void 0 && (t = {});
|
|
5176
5170
|
const {
|
|
5177
5171
|
placement: n = "bottom",
|
|
@@ -5206,7 +5200,7 @@ function bm(t) {
|
|
|
5206
5200
|
strategy: e,
|
|
5207
5201
|
middleware: m
|
|
5208
5202
|
};
|
|
5209
|
-
y.current && (P.platform = y.current),
|
|
5203
|
+
y.current && (P.platform = y.current), mm(_.current, j.current, P).then((U) => {
|
|
5210
5204
|
const oe = {
|
|
5211
5205
|
...U,
|
|
5212
5206
|
// The floating element's position may be recomputed while it's closed
|
|
@@ -5274,6 +5268,9 @@ function bm(t) {
|
|
|
5274
5268
|
}), [c, L, A, W, G]);
|
|
5275
5269
|
}
|
|
5276
5270
|
const xl = (t, n) => ({
|
|
5271
|
+
...um(t),
|
|
5272
|
+
options: [t, n]
|
|
5273
|
+
}), bm = (t, n) => ({
|
|
5277
5274
|
...dm(t),
|
|
5278
5275
|
options: [t, n]
|
|
5279
5276
|
}), ym = (t, n) => ({
|
|
@@ -5282,18 +5279,15 @@ const xl = (t, n) => ({
|
|
|
5282
5279
|
}), wm = (t, n) => ({
|
|
5283
5280
|
...pm(t),
|
|
5284
5281
|
options: [t, n]
|
|
5285
|
-
}), xm = (t, n) => ({
|
|
5286
|
-
...mm(t),
|
|
5287
|
-
options: [t, n]
|
|
5288
5282
|
}), El = {
|
|
5289
5283
|
...d
|
|
5290
|
-
},
|
|
5284
|
+
}, xm = El.useInsertionEffect, Em = xm || ((t) => t());
|
|
5291
5285
|
function Sl(t) {
|
|
5292
5286
|
const n = d.useRef(() => {
|
|
5293
5287
|
if (process.env.NODE_ENV !== "production")
|
|
5294
5288
|
throw new Error("Cannot call an event handler while rendering.");
|
|
5295
5289
|
});
|
|
5296
|
-
return
|
|
5290
|
+
return Em(() => {
|
|
5297
5291
|
n.current = t;
|
|
5298
5292
|
}), d.useCallback(function() {
|
|
5299
5293
|
for (var e = arguments.length, r = new Array(e), o = 0; o < e; o++)
|
|
@@ -5301,25 +5295,25 @@ function Sl(t) {
|
|
|
5301
5295
|
return n.current == null ? void 0 : n.current(...r);
|
|
5302
5296
|
}, []);
|
|
5303
5297
|
}
|
|
5304
|
-
var
|
|
5305
|
-
let Ui = !1,
|
|
5298
|
+
var Jr = typeof document < "u" ? ro : we;
|
|
5299
|
+
let Ui = !1, Sm = 0;
|
|
5306
5300
|
const Yi = () => (
|
|
5307
5301
|
// Ensure the id is unique with multiple independent versions of Floating UI
|
|
5308
5302
|
// on <React 18
|
|
5309
|
-
"floating-ui-" + Math.random().toString(36).slice(2, 6) +
|
|
5303
|
+
"floating-ui-" + Math.random().toString(36).slice(2, 6) + Sm++
|
|
5310
5304
|
);
|
|
5311
|
-
function
|
|
5305
|
+
function Cm() {
|
|
5312
5306
|
const [t, n] = d.useState(() => Ui ? Yi() : void 0);
|
|
5313
|
-
return
|
|
5307
|
+
return Jr(() => {
|
|
5314
5308
|
t == null && n(Yi());
|
|
5315
5309
|
}, []), d.useEffect(() => {
|
|
5316
5310
|
Ui = !0;
|
|
5317
5311
|
}, []), t;
|
|
5318
5312
|
}
|
|
5319
|
-
const
|
|
5313
|
+
const Om = El.useId, Mm = Om || Cm;
|
|
5320
5314
|
let ln;
|
|
5321
5315
|
process.env.NODE_ENV !== "production" && (ln = /* @__PURE__ */ new Set());
|
|
5322
|
-
function
|
|
5316
|
+
function Dm() {
|
|
5323
5317
|
for (var t, n = arguments.length, e = new Array(n), r = 0; r < n; r++)
|
|
5324
5318
|
e[r] = arguments[r];
|
|
5325
5319
|
const o = "Floating UI: " + e.join(" ");
|
|
@@ -5328,7 +5322,7 @@ function Tm() {
|
|
|
5328
5322
|
(i = ln) == null || i.add(o), console.warn(o);
|
|
5329
5323
|
}
|
|
5330
5324
|
}
|
|
5331
|
-
function
|
|
5325
|
+
function Tm() {
|
|
5332
5326
|
for (var t, n = arguments.length, e = new Array(n), r = 0; r < n; r++)
|
|
5333
5327
|
e[r] = arguments[r];
|
|
5334
5328
|
const o = "Floating UI: " + e.join(" ");
|
|
@@ -5337,7 +5331,7 @@ function km() {
|
|
|
5337
5331
|
(i = ln) == null || i.add(o), console.error(o);
|
|
5338
5332
|
}
|
|
5339
5333
|
}
|
|
5340
|
-
function
|
|
5334
|
+
function km() {
|
|
5341
5335
|
const t = /* @__PURE__ */ new Map();
|
|
5342
5336
|
return {
|
|
5343
5337
|
emit(n, e) {
|
|
@@ -5353,19 +5347,19 @@ function Im() {
|
|
|
5353
5347
|
}
|
|
5354
5348
|
};
|
|
5355
5349
|
}
|
|
5356
|
-
const
|
|
5350
|
+
const Im = /* @__PURE__ */ d.createContext(null), Am = /* @__PURE__ */ d.createContext(null), Pm = () => {
|
|
5357
5351
|
var t;
|
|
5358
|
-
return ((t = d.useContext(
|
|
5359
|
-
},
|
|
5360
|
-
function
|
|
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) {
|
|
5361
5355
|
const {
|
|
5362
5356
|
open: n = !1,
|
|
5363
5357
|
onOpenChange: e,
|
|
5364
5358
|
elements: r
|
|
5365
|
-
} = t, o =
|
|
5359
|
+
} = t, o = Mm(), i = d.useRef({}), [a] = d.useState(() => km()), l = Pm() != null;
|
|
5366
5360
|
if (process.env.NODE_ENV !== "production") {
|
|
5367
5361
|
const p = r.reference;
|
|
5368
|
-
p && !_e(p) &&
|
|
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.");
|
|
5369
5363
|
}
|
|
5370
5364
|
const [s, u] = d.useState(r.reference), c = Sl((p, g, b) => {
|
|
5371
5365
|
i.current.openEvent = p ? g : void 0, a.emit("openchange", {
|
|
@@ -5391,22 +5385,22 @@ function _m(t) {
|
|
|
5391
5385
|
refs: v
|
|
5392
5386
|
}), [n, c, m, a, o, v]);
|
|
5393
5387
|
}
|
|
5394
|
-
function
|
|
5388
|
+
function _m(t) {
|
|
5395
5389
|
t === void 0 && (t = {});
|
|
5396
5390
|
const {
|
|
5397
5391
|
nodeId: n
|
|
5398
|
-
} = t, e =
|
|
5392
|
+
} = t, e = Lm({
|
|
5399
5393
|
...t,
|
|
5400
5394
|
elements: {
|
|
5401
5395
|
reference: null,
|
|
5402
5396
|
floating: null,
|
|
5403
5397
|
...t.elements
|
|
5404
5398
|
}
|
|
5405
|
-
}), 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 =
|
|
5406
|
-
|
|
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(() => {
|
|
5407
5401
|
u && (c.current = u);
|
|
5408
5402
|
}, [u]);
|
|
5409
|
-
const m =
|
|
5403
|
+
const m = vm({
|
|
5410
5404
|
...t,
|
|
5411
5405
|
elements: {
|
|
5412
5406
|
...o,
|
|
@@ -5440,7 +5434,7 @@ function Rm(t) {
|
|
|
5440
5434
|
elements: x,
|
|
5441
5435
|
nodeId: n
|
|
5442
5436
|
}), [m, b, x, n, r]);
|
|
5443
|
-
return
|
|
5437
|
+
return Jr(() => {
|
|
5444
5438
|
r.dataRef.current.floatingContext = C;
|
|
5445
5439
|
const O = v?.nodesRef.current.find((I) => I.id === n);
|
|
5446
5440
|
O && (O.context = C);
|
|
@@ -5466,7 +5460,7 @@ function Nr(t, n, e) {
|
|
|
5466
5460
|
return {
|
|
5467
5461
|
...e === "floating" && {
|
|
5468
5462
|
tabIndex: -1,
|
|
5469
|
-
[
|
|
5463
|
+
[Nm]: ""
|
|
5470
5464
|
},
|
|
5471
5465
|
...i,
|
|
5472
5466
|
...n.map((a) => {
|
|
@@ -5489,7 +5483,7 @@ function Nr(t, n, e) {
|
|
|
5489
5483
|
}), a), {})
|
|
5490
5484
|
};
|
|
5491
5485
|
}
|
|
5492
|
-
function
|
|
5486
|
+
function Rm(t) {
|
|
5493
5487
|
t === void 0 && (t = []);
|
|
5494
5488
|
const n = t.map((l) => l?.reference), e = t.map((l) => l?.floating), r = t.map((l) => l?.item), o = d.useCallback(
|
|
5495
5489
|
(l) => Nr(l, t, "reference"),
|
|
@@ -5522,7 +5516,7 @@ function Zi(t, n) {
|
|
|
5522
5516
|
}
|
|
5523
5517
|
};
|
|
5524
5518
|
}
|
|
5525
|
-
const
|
|
5519
|
+
const Fm = (t) => ({
|
|
5526
5520
|
name: "inner",
|
|
5527
5521
|
options: t,
|
|
5528
5522
|
async fn(n) {
|
|
@@ -5542,7 +5536,7 @@ const Hm = (t) => ({
|
|
|
5542
5536
|
floating: m
|
|
5543
5537
|
}
|
|
5544
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;
|
|
5545
|
-
if (process.env.NODE_ENV !== "production" && (n.placement.startsWith("bottom") ||
|
|
5539
|
+
if (process.env.NODE_ENV !== "production" && (n.placement.startsWith("bottom") || Dm('`placement` side must be "bottom" when using the `inner`', "middleware.")), !p)
|
|
5546
5540
|
return {};
|
|
5547
5541
|
const I = {
|
|
5548
5542
|
...n,
|
|
@@ -5563,7 +5557,7 @@ const Hm = (t) => ({
|
|
|
5563
5557
|
};
|
|
5564
5558
|
}
|
|
5565
5559
|
});
|
|
5566
|
-
function
|
|
5560
|
+
function Hm(t, n) {
|
|
5567
5561
|
const {
|
|
5568
5562
|
open: e,
|
|
5569
5563
|
elements: r
|
|
@@ -5581,7 +5575,7 @@ function zm(t, n) {
|
|
|
5581
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";
|
|
5582
5576
|
g.scrollHeight <= g.clientHeight || (!C && x > 0 || !O && x < 0 ? (b.preventDefault(), Pn.flushSync(() => {
|
|
5583
5577
|
s((_) => _ + Math[R](x, I * F));
|
|
5584
|
-
})) : /firefox/i.test(
|
|
5578
|
+
})) : /firefox/i.test(fp()) && (g.scrollTop += x));
|
|
5585
5579
|
}
|
|
5586
5580
|
const g = a?.current || r.floating;
|
|
5587
5581
|
if (e && g)
|
|
@@ -5654,12 +5648,12 @@ function No(t = null) {
|
|
|
5654
5648
|
let Qi = 4;
|
|
5655
5649
|
function Lo({ children: t, enabled: n = !0 }) {
|
|
5656
5650
|
let [e, r] = be(null), [o, i] = be(0), a = ae(null), [l, s] = be(null);
|
|
5657
|
-
|
|
5658
|
-
let u = n && e !== null && l !== null, { to: c = "bottom", gap: v = 0, offset: m = 0, padding: p = 0, inner: g } =
|
|
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(" ");
|
|
5659
5653
|
ve(() => {
|
|
5660
5654
|
u && i(0);
|
|
5661
5655
|
}, [u]);
|
|
5662
|
-
let { refs: C, floatingStyles: O, context: I } =
|
|
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) {
|
|
5663
5657
|
var E, L;
|
|
5664
5658
|
if (!y) return;
|
|
5665
5659
|
let B = I.elements.floating;
|
|
@@ -5677,16 +5671,16 @@ function Lo({ children: t, enabled: n = !0 }) {
|
|
|
5677
5671
|
let oe = G * W - P + A;
|
|
5678
5672
|
return U >= oe ? U : oe;
|
|
5679
5673
|
});
|
|
5680
|
-
} }) : null,
|
|
5674
|
+
} }) : null, wm({ padding: p, apply({ availableWidth: y, availableHeight: E, elements: L }) {
|
|
5681
5675
|
Object.assign(L.floating.style, { overflow: "auto", maxWidth: `${y}px`, maxHeight: `min(var(--anchor-max-height, 100vh), ${E}px)` });
|
|
5682
|
-
} })].filter(Boolean), whileElementsMounted:
|
|
5676
|
+
} })].filter(Boolean), whileElementsMounted: cm }), [F = b, R = x] = I.placement.split("-");
|
|
5683
5677
|
b === "selection" && (F = "selection");
|
|
5684
|
-
let _ = Ce(() => ({ anchor: [F, R].filter(Boolean).join(" ") }), [F, R]), j =
|
|
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) => {
|
|
5685
5679
|
s(y), C.setFloating(y);
|
|
5686
5680
|
});
|
|
5687
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));
|
|
5688
5682
|
}
|
|
5689
|
-
function
|
|
5683
|
+
function zm(t) {
|
|
5690
5684
|
ve(() => {
|
|
5691
5685
|
if (!t) return;
|
|
5692
5686
|
let n = new MutationObserver(() => {
|
|
@@ -5700,7 +5694,7 @@ function Bm(t) {
|
|
|
5700
5694
|
};
|
|
5701
5695
|
}, [t]);
|
|
5702
5696
|
}
|
|
5703
|
-
function
|
|
5697
|
+
function Bm(t, n) {
|
|
5704
5698
|
var e, r, o;
|
|
5705
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);
|
|
5706
5700
|
return { ...t, gap: i, offset: a, padding: l };
|
|
@@ -5757,11 +5751,11 @@ function qi(t, n) {
|
|
|
5757
5751
|
let r = parseFloat(window.getComputedStyle(e).marginTop) || 0;
|
|
5758
5752
|
return n.removeChild(e), r;
|
|
5759
5753
|
}
|
|
5760
|
-
function
|
|
5754
|
+
function Vm({ children: t, freeze: n }, e) {
|
|
5761
5755
|
let r = Gn(n, t);
|
|
5762
5756
|
return no(r) ? fa(r, { ref: e }) : V.createElement(V.Fragment, null, r);
|
|
5763
5757
|
}
|
|
5764
|
-
const
|
|
5758
|
+
const $m = V.forwardRef(Vm);
|
|
5765
5759
|
function Gn(t, n) {
|
|
5766
5760
|
let [e, r] = be(n);
|
|
5767
5761
|
return !t && e !== n && r(n), t ? e : n;
|
|
@@ -5775,14 +5769,14 @@ function Ro() {
|
|
|
5775
5769
|
function Fo({ value: t, children: n }) {
|
|
5776
5770
|
return V.createElement(_o.Provider, { value: t }, n);
|
|
5777
5771
|
}
|
|
5778
|
-
function
|
|
5772
|
+
function Wm(t) {
|
|
5779
5773
|
function n() {
|
|
5780
5774
|
document.readyState !== "loading" && (t(), document.removeEventListener("DOMContentLoaded", n));
|
|
5781
5775
|
}
|
|
5782
5776
|
typeof window < "u" && typeof document < "u" && (document.addEventListener("DOMContentLoaded", n), n());
|
|
5783
5777
|
}
|
|
5784
5778
|
let Et = [];
|
|
5785
|
-
|
|
5779
|
+
Wm(() => {
|
|
5786
5780
|
function t(n) {
|
|
5787
5781
|
if (!pt(n.target) || n.target === document.body || Et[0] === n.target) return;
|
|
5788
5782
|
let e = n.target;
|
|
@@ -5790,10 +5784,10 @@ Um(() => {
|
|
|
5790
5784
|
}
|
|
5791
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 });
|
|
5792
5786
|
});
|
|
5793
|
-
function
|
|
5787
|
+
function Um(t) {
|
|
5794
5788
|
throw new Error("Unexpected object: " + t);
|
|
5795
5789
|
}
|
|
5796
|
-
var
|
|
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 || {});
|
|
5797
5791
|
function rt(t, n) {
|
|
5798
5792
|
let e = n.resolveItems();
|
|
5799
5793
|
if (e.length <= 0) return null;
|
|
@@ -5823,7 +5817,7 @@ function rt(t, n) {
|
|
|
5823
5817
|
case 5:
|
|
5824
5818
|
return null;
|
|
5825
5819
|
default:
|
|
5826
|
-
|
|
5820
|
+
Um(t);
|
|
5827
5821
|
}
|
|
5828
5822
|
}
|
|
5829
5823
|
function mr(t) {
|
|
@@ -5834,12 +5828,12 @@ function mr(t) {
|
|
|
5834
5828
|
});
|
|
5835
5829
|
}), [n]);
|
|
5836
5830
|
}
|
|
5837
|
-
let
|
|
5838
|
-
function
|
|
5839
|
-
return ye(
|
|
5831
|
+
let Ym = me(!1);
|
|
5832
|
+
function Gm() {
|
|
5833
|
+
return ye(Ym);
|
|
5840
5834
|
}
|
|
5841
|
-
function
|
|
5842
|
-
let n =
|
|
5835
|
+
function Km(t) {
|
|
5836
|
+
let n = Gm(), e = ye(Dl), [r, o] = be(() => {
|
|
5843
5837
|
var i;
|
|
5844
5838
|
if (!n && e !== null) return (i = e.current) != null ? i : null;
|
|
5845
5839
|
if (Mt.isServer) return null;
|
|
@@ -5855,10 +5849,10 @@ function Zm(t) {
|
|
|
5855
5849
|
n || e !== null && o(e.current);
|
|
5856
5850
|
}, [e, o, n]), r;
|
|
5857
5851
|
}
|
|
5858
|
-
let Ml = ut,
|
|
5859
|
-
let { ownerDocument: e = null, ...r } = t, o = ae(null), i = ke(
|
|
5852
|
+
let Ml = ut, Zm = Se(function(t, n) {
|
|
5853
|
+
let { ownerDocument: e = null, ...r } = t, o = ae(null), i = ke(qd((m) => {
|
|
5860
5854
|
o.current = m;
|
|
5861
|
-
}), n), a = kt(o.current), l = e ?? a, s =
|
|
5855
|
+
}), n), a = kt(o.current), l = e ?? a, s = Km(l), u = ye(Xm), c = bt(), v = Ee();
|
|
5862
5856
|
return mr(() => {
|
|
5863
5857
|
var m;
|
|
5864
5858
|
s && s.childNodes.length <= 0 && ((m = s.parentElement) == null || m.removeChild(s));
|
|
@@ -5866,16 +5860,16 @@ let Ml = ut, Qm = Se(function(t, n) {
|
|
|
5866
5860
|
c.dispose(), u && m && c.add(u.register(m));
|
|
5867
5861
|
} }, v({ ourProps: { ref: i }, theirProps: r, slot: {}, defaultTag: Ml, name: "Portal" })), s) : null;
|
|
5868
5862
|
});
|
|
5869
|
-
function
|
|
5863
|
+
function Qm(t, n) {
|
|
5870
5864
|
let e = ke(n), { enabled: r = !0, ownerDocument: o, ...i } = t, a = Ee();
|
|
5871
|
-
return r ? V.createElement(
|
|
5865
|
+
return r ? V.createElement(Zm, { ...i, ownerDocument: o, ref: e }) : a({ ourProps: { ref: e }, theirProps: i, slot: {}, defaultTag: Ml, name: "Portal" });
|
|
5872
5866
|
}
|
|
5873
|
-
let
|
|
5867
|
+
let qm = ut, Dl = me(null);
|
|
5874
5868
|
function Jm(t, n) {
|
|
5875
5869
|
let { target: e, ...r } = t, o = { ref: ke(n) }, i = Ee();
|
|
5876
|
-
return V.createElement(Dl.Provider, { value: e }, i({ ourProps: o, theirProps: r, defaultTag:
|
|
5870
|
+
return V.createElement(Dl.Provider, { value: e }, i({ ourProps: o, theirProps: r, defaultTag: qm, name: "Popover.Group" }));
|
|
5877
5871
|
}
|
|
5878
|
-
let
|
|
5872
|
+
let Xm = me(null), eh = Se(Qm), th = Se(Jm), Ho = Object.assign(eh, { Group: th });
|
|
5879
5873
|
const Ue = { Idle: { kind: "Idle" }, Tracked: (t) => ({ kind: "Tracked", position: t }), Moved: { kind: "Moved" } };
|
|
5880
5874
|
function hr(t) {
|
|
5881
5875
|
let n = t.getBoundingClientRect();
|
|
@@ -5891,12 +5885,12 @@ function zo(t, n, e) {
|
|
|
5891
5885
|
}
|
|
5892
5886
|
return () => r.dispose();
|
|
5893
5887
|
}
|
|
5894
|
-
var
|
|
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 || {});
|
|
5895
5889
|
function _r(t, n = (e) => e) {
|
|
5896
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;
|
|
5897
5891
|
return i === -1 && (i = null), { options: o, activeOptionIndex: i };
|
|
5898
5892
|
}
|
|
5899
|
-
let
|
|
5893
|
+
let oh = { 1(t) {
|
|
5900
5894
|
var n;
|
|
5901
5895
|
if ((n = t.dataRef.current) != null && n.disabled || t.comboboxState === 1) return t;
|
|
5902
5896
|
let e = t.inputElement ? Ue.Tracked(hr(t.inputElement)) : t.inputPositionState;
|
|
@@ -5915,7 +5909,7 @@ let ih = { 1(t) {
|
|
|
5915
5909
|
var e, r, o, i;
|
|
5916
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;
|
|
5917
5911
|
if (t.virtual) {
|
|
5918
|
-
let { options: u, disabled: c } = t.virtual, v = n.focus ===
|
|
5912
|
+
let { options: u, disabled: c } = t.virtual, v = n.focus === J.Specific ? n.idx : rt(n, { resolveItems: () => u, resolveActiveIndex: () => {
|
|
5919
5913
|
var p, g;
|
|
5920
5914
|
return (g = (p = t.activeOptionIndex) != null ? p : u.findIndex((b) => !c(b))) != null ? g : null;
|
|
5921
5915
|
}, resolveDisabled: c, resolveId() {
|
|
@@ -5928,7 +5922,7 @@ let ih = { 1(t) {
|
|
|
5928
5922
|
let u = a.options.findIndex((c) => !c.dataRef.current.disabled);
|
|
5929
5923
|
u !== -1 && (a.activeOptionIndex = u);
|
|
5930
5924
|
}
|
|
5931
|
-
let l = n.focus ===
|
|
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;
|
|
5932
5926
|
return t.activeOptionIndex === l && t.activationTrigger === s ? t : { ...t, ...a, isTyping: !1, activeOptionIndex: l, activationTrigger: s, __demoMode: !1 };
|
|
5933
5927
|
}, 4: (t, n) => {
|
|
5934
5928
|
var e, r, o, i;
|
|
@@ -5957,9 +5951,9 @@ let ih = { 1(t) {
|
|
|
5957
5951
|
return { ...t, activeOptionIndex: o, virtual: { options: n.options, disabled: (r = n.disabled) != null ? r : () => !1 } };
|
|
5958
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) {
|
|
5959
5953
|
return t.inputPositionState.kind !== "Tracked" ? t : { ...t, inputPositionState: Ue.Moved };
|
|
5960
|
-
} },
|
|
5954
|
+
} }, ih = class kl extends ir {
|
|
5961
5955
|
constructor(n) {
|
|
5962
|
-
super(n),
|
|
5956
|
+
super(n), Ji(this, "actions", { onChange: (e) => {
|
|
5963
5957
|
let { onChange: r, compare: o, mode: i, value: a } = this.state.dataRef.current;
|
|
5964
5958
|
return Te(i, { 0: () => r?.(e), 1: () => {
|
|
5965
5959
|
let l = a.slice(), s = l.findIndex((u) => o(u, e));
|
|
@@ -5984,7 +5978,7 @@ let ih = { 1(t) {
|
|
|
5984
5978
|
let { dataRef: r } = this.state.options[e];
|
|
5985
5979
|
this.actions.onChange(r.current.value);
|
|
5986
5980
|
}
|
|
5987
|
-
this.actions.goToOption({ focus:
|
|
5981
|
+
this.actions.goToOption({ focus: J.Specific, idx: e });
|
|
5988
5982
|
}
|
|
5989
5983
|
}, setInputElement: (e) => {
|
|
5990
5984
|
this.send({ type: 9, element: e });
|
|
@@ -5992,7 +5986,7 @@ let ih = { 1(t) {
|
|
|
5992
5986
|
this.send({ type: 10, element: e });
|
|
5993
5987
|
}, setOptionsElement: (e) => {
|
|
5994
5988
|
this.send({ type: 11, element: e });
|
|
5995
|
-
} }),
|
|
5989
|
+
} }), Ji(this, "selectors", { activeDescendantId: (e) => {
|
|
5996
5990
|
var r, o;
|
|
5997
5991
|
let i = this.selectors.activeOptionIndex(e);
|
|
5998
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;
|
|
@@ -6039,7 +6033,7 @@ let ih = { 1(t) {
|
|
|
6039
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 });
|
|
6040
6034
|
}
|
|
6041
6035
|
reduce(n, e) {
|
|
6042
|
-
return Te(e.type,
|
|
6036
|
+
return Te(e.type, oh, n, e);
|
|
6043
6037
|
}
|
|
6044
6038
|
};
|
|
6045
6039
|
const Il = me(null);
|
|
@@ -6052,7 +6046,7 @@ function hn(t) {
|
|
|
6052
6046
|
return n;
|
|
6053
6047
|
}
|
|
6054
6048
|
function Al({ id: t, virtual: n = null, __demoMode: e = !1 }) {
|
|
6055
|
-
let r = Ce(() =>
|
|
6049
|
+
let r = Ce(() => ih.new({ id: t, virtual: n, __demoMode: e }), []);
|
|
6056
6050
|
return mr(() => r.dispose()), r;
|
|
6057
6051
|
}
|
|
6058
6052
|
let sn = me(null);
|
|
@@ -6066,13 +6060,13 @@ function Ut(t) {
|
|
|
6066
6060
|
return n;
|
|
6067
6061
|
}
|
|
6068
6062
|
let Pl = me(null);
|
|
6069
|
-
function
|
|
6063
|
+
function ah(t) {
|
|
6070
6064
|
let n = hn("VirtualProvider"), e = Ut("VirtualProvider"), { options: r } = e.virtual, o = se(n, (p) => p.optionsElement), [i, a] = Ce(() => {
|
|
6071
6065
|
let p = o;
|
|
6072
6066
|
if (!p) return [0, 0];
|
|
6073
6067
|
let g = window.getComputedStyle(p);
|
|
6074
6068
|
return [parseFloat(g.paddingBlockStart || g.paddingTop), parseFloat(g.paddingBlockEnd || g.paddingBottom)];
|
|
6075
|
-
}, [o]), l =
|
|
6069
|
+
}, [o]), l = vf({ enabled: r.length !== 0, scrollPaddingStart: i, scrollPaddingEnd: a, count: r.length, estimateSize() {
|
|
6076
6070
|
return 40;
|
|
6077
6071
|
}, getScrollElement() {
|
|
6078
6072
|
return n.state.optionsElement;
|
|
@@ -6088,8 +6082,8 @@ function lh(t) {
|
|
|
6088
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" } }));
|
|
6089
6083
|
})));
|
|
6090
6084
|
}
|
|
6091
|
-
let
|
|
6092
|
-
function
|
|
6085
|
+
let lh = ut;
|
|
6086
|
+
function sh(t, n) {
|
|
6093
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]);
|
|
6094
6088
|
ve(() => {
|
|
6095
6089
|
var ie;
|
|
@@ -6099,35 +6093,35 @@ function ch(t, n) {
|
|
|
6099
6093
|
}, [L]);
|
|
6100
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]));
|
|
6101
6095
|
yo(U, [A, W, G], () => _.actions.closeCombobox());
|
|
6102
|
-
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,
|
|
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(() => {
|
|
6103
6097
|
if (I !== void 0) return R?.(I);
|
|
6104
6098
|
}, [R, I]), ee = Ee();
|
|
6105
|
-
return V.createElement(
|
|
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" }))))));
|
|
6106
6100
|
}
|
|
6107
|
-
let
|
|
6108
|
-
function
|
|
6101
|
+
let ch = "input";
|
|
6102
|
+
function uh(t, n) {
|
|
6109
6103
|
var e, r;
|
|
6110
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(() => {
|
|
6111
|
-
o.actions.onChange(null), o.state.optionsElement && (o.state.optionsElement.scrollTop = 0), o.actions.goToOption({ focus:
|
|
6105
|
+
o.actions.onChange(null), o.state.optionsElement && (o.state.optionsElement.scrollTop = 0), o.actions.goToOption({ focus: J.Nothing });
|
|
6112
6106
|
}), R = Ce(() => {
|
|
6113
6107
|
var k;
|
|
6114
6108
|
return typeof c == "function" && i.value !== void 0 ? (k = c(i.value)) != null ? k : "" : typeof i.value == "string" ? i.value : "";
|
|
6115
6109
|
}, [i.value, c]);
|
|
6116
|
-
Li(([k, ne], [
|
|
6110
|
+
Li(([k, ne], [X, fe]) => {
|
|
6117
6111
|
if (o.state.isTyping) return;
|
|
6118
6112
|
let $ = b.current;
|
|
6119
|
-
$ && ((fe === de.Open && ne === de.Closed || k !==
|
|
6120
|
-
if (o.state.isTyping || !$ ||
|
|
6113
|
+
$ && ((fe === de.Open && ne === de.Closed || k !== X) && ($.value = k), requestAnimationFrame(() => {
|
|
6114
|
+
if (o.state.isTyping || !$ || Xn($)) return;
|
|
6121
6115
|
let { selectionStart: ee, selectionEnd: ie } = $;
|
|
6122
6116
|
Math.abs((ie ?? 0) - (ee ?? 0)) === 0 && ee === 0 && $.setSelectionRange($.value.length, $.value.length);
|
|
6123
6117
|
}));
|
|
6124
6118
|
}, [R, C, O]), Li(([k], [ne]) => {
|
|
6125
6119
|
if (k === de.Open && ne === de.Closed) {
|
|
6126
6120
|
if (o.state.isTyping) return;
|
|
6127
|
-
let
|
|
6128
|
-
if (!
|
|
6129
|
-
let fe =
|
|
6130
|
-
|
|
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);
|
|
6131
6125
|
}
|
|
6132
6126
|
}, [C]);
|
|
6133
6127
|
let _ = ae(!1), j = q(() => {
|
|
@@ -6147,21 +6141,21 @@ function dh(t, n) {
|
|
|
6147
6141
|
o.actions.selectActiveOption(), i.mode === We.Single && o.actions.closeCombobox();
|
|
6148
6142
|
break;
|
|
6149
6143
|
case te.ArrowDown:
|
|
6150
|
-
return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus:
|
|
6144
|
+
return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus: J.Next }), [de.Closed]: () => o.actions.openCombobox() });
|
|
6151
6145
|
case te.ArrowUp:
|
|
6152
|
-
return k.preventDefault(), k.stopPropagation(), Te(o.state.comboboxState, { [de.Open]: () => o.actions.goToOption({ focus:
|
|
6153
|
-
ze(() => o.actions.openCombobox()), i.value || o.actions.goToOption({ focus:
|
|
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 });
|
|
6154
6148
|
} });
|
|
6155
6149
|
case te.Home:
|
|
6156
6150
|
if (o.state.comboboxState === de.Closed || k.shiftKey) break;
|
|
6157
|
-
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus:
|
|
6151
|
+
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.First });
|
|
6158
6152
|
case te.PageUp:
|
|
6159
|
-
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus:
|
|
6153
|
+
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.First });
|
|
6160
6154
|
case te.End:
|
|
6161
6155
|
if (o.state.comboboxState === de.Closed || k.shiftKey) break;
|
|
6162
|
-
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus:
|
|
6156
|
+
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.Last });
|
|
6163
6157
|
case te.PageDown:
|
|
6164
|
-
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus:
|
|
6158
|
+
return k.preventDefault(), k.stopPropagation(), o.actions.goToOption({ focus: J.Last });
|
|
6165
6159
|
case te.Escape:
|
|
6166
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());
|
|
6167
6161
|
case te.Tab:
|
|
@@ -6172,25 +6166,25 @@ function dh(t, n) {
|
|
|
6172
6166
|
}), S = q((k) => {
|
|
6173
6167
|
u?.(k), i.mode === We.Single && k.target.value === "" && F(), o.actions.openCombobox();
|
|
6174
6168
|
}), y = q((k) => {
|
|
6175
|
-
var ne,
|
|
6169
|
+
var ne, X, fe;
|
|
6176
6170
|
let $ = (ne = k.relatedTarget) != null ? ne : Et.find((ee) => ee !== k.currentTarget);
|
|
6177
|
-
if (!((
|
|
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();
|
|
6178
6172
|
}), E = q((k) => {
|
|
6179
|
-
var ne,
|
|
6173
|
+
var ne, X, fe;
|
|
6180
6174
|
let $ = (ne = k.relatedTarget) != null ? ne : Et.find((ee) => ee !== k.currentTarget);
|
|
6181
|
-
(
|
|
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(() => {
|
|
6182
6176
|
ze(() => o.actions.openCombobox()), o.actions.setActivationTrigger(it.Focus);
|
|
6183
6177
|
});
|
|
6184
|
-
}), L = fn(), B = za(), { isFocused: A, focusProps: W } =
|
|
6185
|
-
return Ee()({ ourProps: D, theirProps: g, slot: oe, defaultTag:
|
|
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" });
|
|
6186
6180
|
}
|
|
6187
|
-
let
|
|
6188
|
-
function
|
|
6189
|
-
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 =
|
|
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;
|
|
6190
6184
|
wo(x, { trigger: o, action: ce((E) => {
|
|
6191
|
-
if (o != null && o.contains(E.target) || p != null && p.contains(E.target)) return
|
|
6185
|
+
if (o != null && o.contains(E.target) || p != null && p.contains(E.target)) return Je.Ignore;
|
|
6192
6186
|
let L = E.target.closest('[role="option"]:not([data-disabled])');
|
|
6193
|
-
return et(L) ?
|
|
6187
|
+
return et(L) ? Je.Select(L) : g != null && g.contains(E.target) ? Je.Ignore : Je.Close;
|
|
6194
6188
|
}, [o, p, g]), close: e.actions.closeCombobox, select: e.actions.selectActiveOption });
|
|
6195
6189
|
let C = q((E) => {
|
|
6196
6190
|
switch (E.key) {
|
|
@@ -6199,10 +6193,10 @@ function ph(t, n) {
|
|
|
6199
6193
|
E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && ze(() => e.actions.openCombobox()), b();
|
|
6200
6194
|
return;
|
|
6201
6195
|
case te.ArrowDown:
|
|
6202
|
-
E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus:
|
|
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();
|
|
6203
6197
|
return;
|
|
6204
6198
|
case te.ArrowUp:
|
|
6205
|
-
E.preventDefault(), E.stopPropagation(), e.state.comboboxState === de.Closed && (ze(() => e.actions.openCombobox()), e.state.dataRef.current.value || e.actions.goToOption({ focus:
|
|
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();
|
|
6206
6200
|
return;
|
|
6207
6201
|
case te.Escape:
|
|
6208
6202
|
if (e.state.comboboxState !== de.Open) return;
|
|
@@ -6213,11 +6207,11 @@ function ph(t, n) {
|
|
|
6213
6207
|
}
|
|
6214
6208
|
}), O = go(() => {
|
|
6215
6209
|
e.state.comboboxState === de.Open ? e.actions.closeCombobox() : e.actions.openCombobox(), b();
|
|
6216
|
-
}), I = fn([s]), { isFocusVisible: F, focusProps: R } =
|
|
6217
|
-
return Ee()({ ourProps: y, theirProps: v, slot: S, defaultTag:
|
|
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" });
|
|
6218
6212
|
}
|
|
6219
|
-
let
|
|
6220
|
-
function
|
|
6213
|
+
let ph = "div", mh = Tt.RenderStrategy | Tt.Static;
|
|
6214
|
+
function hh(t, n) {
|
|
6221
6215
|
var e, r, o;
|
|
6222
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);
|
|
6223
6217
|
b && (u = !0);
|
|
@@ -6242,19 +6236,19 @@ function gh(t, n) {
|
|
|
6242
6236
|
p.actions.setActivationTrigger(it.Pointer);
|
|
6243
6237
|
}), k = q((Oe) => {
|
|
6244
6238
|
Oe.preventDefault(), p.actions.setActivationTrigger(it.Pointer);
|
|
6245
|
-
}), 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) }),
|
|
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(() => {
|
|
6246
6240
|
if (!g.virtual) return g;
|
|
6247
6241
|
if (fe === void 0) throw new Error("Missing `options` in virtual mode");
|
|
6248
6242
|
return fe !== g.virtual.options ? { ...g, virtual: { ...g.virtual, options: fe } } : g;
|
|
6249
6243
|
}, [g, fe, (r = g.virtual) == null ? void 0 : r.options]);
|
|
6250
|
-
g.virtual && Object.assign(m, { children: V.createElement(sn.Provider, { value: ie }, V.createElement(
|
|
6244
|
+
g.virtual && Object.assign(m, { children: V.createElement(sn.Provider, { value: ie }, V.createElement(ah, { slot: oe }, m.children)) });
|
|
6251
6245
|
let De = Ee(), Yt = Ce(() => g.mode === We.Multi ? g : { ...g, isSelected: ee }, [g, ee]);
|
|
6252
|
-
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(
|
|
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" })));
|
|
6253
6247
|
}
|
|
6254
|
-
let
|
|
6255
|
-
function
|
|
6248
|
+
let gh = "div";
|
|
6249
|
+
function vh(t, n) {
|
|
6256
6250
|
var e, r, o;
|
|
6257
|
-
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 =
|
|
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(() => {
|
|
6258
6252
|
a.actions.setIsTyping(!1), a.actions.onChange(u);
|
|
6259
6253
|
});
|
|
6260
6254
|
ve(() => a.actions.registerOption(s, O), [O, s]);
|
|
@@ -6268,21 +6262,21 @@ function bh(t, n) {
|
|
|
6268
6262
|
let j = q((A) => {
|
|
6269
6263
|
A.preventDefault(), A.button === ho.Left && (c || (R(), Kr() || requestAnimationFrame(() => g()), i.mode === We.Single && a.actions.closeCombobox()));
|
|
6270
6264
|
}), T = q(() => {
|
|
6271
|
-
if (c) return a.actions.goToOption({ focus:
|
|
6265
|
+
if (c) return a.actions.goToOption({ focus: J.Nothing });
|
|
6272
6266
|
let A = i.calculateIndex(u);
|
|
6273
|
-
a.actions.goToOption({ focus:
|
|
6267
|
+
a.actions.goToOption({ focus: J.Specific, idx: A });
|
|
6274
6268
|
}), N = So(), S = q((A) => N.update(A)), y = q((A) => {
|
|
6275
6269
|
if (!N.wasMoved(A) || c || b && a.state.activationTrigger === it.Pointer) return;
|
|
6276
6270
|
let W = i.calculateIndex(u);
|
|
6277
|
-
a.actions.goToOption({ focus:
|
|
6271
|
+
a.actions.goToOption({ focus: J.Specific, idx: W }, it.Pointer);
|
|
6278
6272
|
}), E = q((A) => {
|
|
6279
|
-
N.wasMoved(A) && (c || b && (i.optionsPropsRef.current.hold || a.state.activationTrigger === it.Pointer && a.actions.goToOption({ focus:
|
|
6273
|
+
N.wasMoved(A) && (c || b && (i.optionsPropsRef.current.hold || a.state.activationTrigger === it.Pointer && a.actions.goToOption({ focus: J.Nothing })));
|
|
6280
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 };
|
|
6281
|
-
return Ee()({ ourProps: B, theirProps: m, slot: L, defaultTag:
|
|
6275
|
+
return Ee()({ ourProps: B, theirProps: m, slot: L, defaultTag: gh, name: "Combobox.Option" });
|
|
6282
6276
|
}
|
|
6283
|
-
let
|
|
6284
|
-
Object.assign(
|
|
6285
|
-
let
|
|
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;
|
|
6286
6280
|
function ea(t) {
|
|
6287
6281
|
var n, e;
|
|
6288
6282
|
let r = (n = t.innerText) != null ? n : "", o = t.cloneNode(!0);
|
|
@@ -6290,9 +6284,9 @@ function ea(t) {
|
|
|
6290
6284
|
let i = !1;
|
|
6291
6285
|
for (let l of o.querySelectorAll('[hidden],[aria-hidden],[role="img"]')) l.remove(), i = !0;
|
|
6292
6286
|
let a = i ? (e = o.innerText) != null ? e : "" : r;
|
|
6293
|
-
return
|
|
6287
|
+
return Xi.test(a) && (a = a.replace(Xi, "")), a;
|
|
6294
6288
|
}
|
|
6295
|
-
function
|
|
6289
|
+
function Ch(t) {
|
|
6296
6290
|
let n = t.getAttribute("aria-label");
|
|
6297
6291
|
if (typeof n == "string") return n.trim();
|
|
6298
6292
|
let e = t.getAttribute("aria-labelledby");
|
|
@@ -6316,19 +6310,19 @@ function jl(t) {
|
|
|
6316
6310
|
if (!r) return "";
|
|
6317
6311
|
let o = r.innerText;
|
|
6318
6312
|
if (n.current === o) return e.current;
|
|
6319
|
-
let i =
|
|
6313
|
+
let i = Ch(r).trim().toLowerCase();
|
|
6320
6314
|
return n.current = o, e.current = i, i;
|
|
6321
6315
|
});
|
|
6322
6316
|
}
|
|
6323
|
-
var
|
|
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 || {});
|
|
6324
6318
|
function na(t, n = (e) => e) {
|
|
6325
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;
|
|
6326
6320
|
return o === -1 && (o = null), { options: r, activeOptionIndex: o };
|
|
6327
6321
|
}
|
|
6328
|
-
let
|
|
6322
|
+
let Dh = { 1(t) {
|
|
6329
6323
|
if (t.dataRef.current.disabled || t.listboxState === 1) return t;
|
|
6330
6324
|
let n = t.buttonElement ? Ue.Tracked(hr(t.buttonElement)) : t.buttonPositionState;
|
|
6331
|
-
return { ...t, activeOptionIndex: null, pendingFocus: { focus:
|
|
6325
|
+
return { ...t, activeOptionIndex: null, pendingFocus: { focus: J.Nothing }, listboxState: 1, __demoMode: !1, buttonPositionState: n };
|
|
6332
6326
|
}, 0(t, n) {
|
|
6333
6327
|
if (t.dataRef.current.disabled || t.listboxState === 0) return t;
|
|
6334
6328
|
let e = t.activeOptionIndex, { isSelected: r } = t.dataRef.current, o = t.options.findIndex((i) => r(i.dataRef.current.value));
|
|
@@ -6337,9 +6331,9 @@ let Th = { 1(t) {
|
|
|
6337
6331
|
var e, r, o, i, a;
|
|
6338
6332
|
if (t.dataRef.current.disabled || t.listboxState === 1) return t;
|
|
6339
6333
|
let l = { ...t, searchQuery: "", activationTrigger: (e = n.trigger) != null ? e : 1, __demoMode: !1 };
|
|
6340
|
-
if (n.focus ===
|
|
6341
|
-
if (n.focus ===
|
|
6342
|
-
if (n.focus ===
|
|
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) {
|
|
6343
6337
|
let c = t.activeOptionIndex;
|
|
6344
6338
|
if (c !== null) {
|
|
6345
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 });
|
|
@@ -6348,7 +6342,7 @@ let Th = { 1(t) {
|
|
|
6348
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 };
|
|
6349
6343
|
}
|
|
6350
6344
|
}
|
|
6351
|
-
} else if (n.focus ===
|
|
6345
|
+
} else if (n.focus === J.Next) {
|
|
6352
6346
|
let c = t.activeOptionIndex;
|
|
6353
6347
|
if (c !== null) {
|
|
6354
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 });
|
|
@@ -6373,14 +6367,14 @@ let Th = { 1(t) {
|
|
|
6373
6367
|
return t.dataRef.current.mode === 0 ? { ...t, frozenValue: !0 } : { ...t };
|
|
6374
6368
|
}, 6: (t, n) => {
|
|
6375
6369
|
let e = t.options.concat(n.options), r = t.activeOptionIndex;
|
|
6376
|
-
if (t.pendingFocus.focus !==
|
|
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) {
|
|
6377
6371
|
let { isSelected: o } = t.dataRef.current;
|
|
6378
6372
|
if (o) {
|
|
6379
6373
|
let i = e.findIndex((a) => o?.(a.dataRef.current.value));
|
|
6380
6374
|
i !== -1 && (r = i);
|
|
6381
6375
|
}
|
|
6382
6376
|
}
|
|
6383
|
-
return { ...t, options: e, activeOptionIndex: r, pendingFocus: { focus:
|
|
6377
|
+
return { ...t, options: e, activeOptionIndex: r, pendingFocus: { focus: J.Nothing }, pendingShouldSort: !0 };
|
|
6384
6378
|
}, 7: (t, n) => {
|
|
6385
6379
|
let e = t.options, r = [], o = new Set(n.options);
|
|
6386
6380
|
for (let [i, a] of e.entries()) if (o.has(a.id) && (r.push(i), o.delete(a.id), o.size === 0)) break;
|
|
@@ -6391,7 +6385,7 @@ let Th = { 1(t) {
|
|
|
6391
6385
|
return { ...t, options: e, activationTrigger: 1 };
|
|
6392
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) {
|
|
6393
6387
|
return t.buttonPositionState.kind !== "Tracked" ? t : { ...t, buttonPositionState: Ue.Moved };
|
|
6394
|
-
} },
|
|
6388
|
+
} }, Th = class Ll extends ir {
|
|
6395
6389
|
constructor(n) {
|
|
6396
6390
|
super(n), ta(this, "actions", { onChange: (e) => {
|
|
6397
6391
|
let { onChange: r, compare: o, mode: i, value: a } = this.state.dataRef.current;
|
|
@@ -6399,17 +6393,17 @@ let Th = { 1(t) {
|
|
|
6399
6393
|
let l = a.slice(), s = l.findIndex((u) => o(u, e));
|
|
6400
6394
|
return s === -1 ? l.push(e) : l.splice(s, 1), r?.(l);
|
|
6401
6395
|
} });
|
|
6402
|
-
}, registerOption:
|
|
6396
|
+
}, registerOption: Xt(() => {
|
|
6403
6397
|
let e = [], r = /* @__PURE__ */ new Set();
|
|
6404
6398
|
return [(o, i) => {
|
|
6405
6399
|
r.has(i) || (r.add(i), e.push({ id: o, dataRef: i }));
|
|
6406
6400
|
}, () => (r.clear(), this.send({ type: 6, options: e.splice(0) }))];
|
|
6407
|
-
}), unregisterOption:
|
|
6401
|
+
}), unregisterOption: Xt(() => {
|
|
6408
6402
|
let e = [];
|
|
6409
6403
|
return [(r) => e.push(r), () => {
|
|
6410
6404
|
this.send({ type: 7, options: e.splice(0) });
|
|
6411
6405
|
}];
|
|
6412
|
-
}), goToOption:
|
|
6406
|
+
}), goToOption: Xt(() => {
|
|
6413
6407
|
let e = null;
|
|
6414
6408
|
return [(r, o) => {
|
|
6415
6409
|
e = { type: 2, ...r, trigger: o };
|
|
@@ -6471,10 +6465,10 @@ let Th = { 1(t) {
|
|
|
6471
6465
|
});
|
|
6472
6466
|
}
|
|
6473
6467
|
static new({ id: n, __demoMode: e = !1 }) {
|
|
6474
|
-
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:
|
|
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 });
|
|
6475
6469
|
}
|
|
6476
6470
|
reduce(n, e) {
|
|
6477
|
-
return Te(e.type,
|
|
6471
|
+
return Te(e.type, Dh, n, e);
|
|
6478
6472
|
}
|
|
6479
6473
|
};
|
|
6480
6474
|
const _l = me(null);
|
|
@@ -6487,7 +6481,7 @@ function Bo(t) {
|
|
|
6487
6481
|
return n;
|
|
6488
6482
|
}
|
|
6489
6483
|
function Rl({ id: t, __demoMode: n = !1 }) {
|
|
6490
|
-
let e = Ce(() =>
|
|
6484
|
+
let e = Ce(() => Th.new({ id: t, __demoMode: n }), []);
|
|
6491
6485
|
return mr(() => e.dispose()), e;
|
|
6492
6486
|
}
|
|
6493
6487
|
let gr = me(null);
|
|
@@ -6500,8 +6494,8 @@ function gn(t) {
|
|
|
6500
6494
|
}
|
|
6501
6495
|
return n;
|
|
6502
6496
|
}
|
|
6503
|
-
let
|
|
6504
|
-
function
|
|
6497
|
+
let kh = ut;
|
|
6498
|
+
function Ih(t, n) {
|
|
6505
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;
|
|
6506
6500
|
const x = m ? "horizontal" : "vertical";
|
|
6507
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 });
|
|
@@ -6515,43 +6509,39 @@ function Ah(t, n) {
|
|
|
6515
6509
|
let W = Ie({ open: y === Le.Open, disabled: v, invalid: c, value: I }), [G, P] = or({ inherit: !0 }), U = { ref: C }, oe = ce(() => {
|
|
6516
6510
|
if (O !== void 0) return F?.(O);
|
|
6517
6511
|
}, [F, O]), D = Ee();
|
|
6518
|
-
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:
|
|
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" }))))));
|
|
6519
6513
|
}
|
|
6520
|
-
let
|
|
6521
|
-
function
|
|
6514
|
+
let Ah = "button";
|
|
6515
|
+
function Ph(t, n) {
|
|
6522
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;
|
|
6523
6517
|
wo(b, { trigger: p, action: ce((A) => {
|
|
6524
|
-
if (p != null && p.contains(A.target)) return
|
|
6518
|
+
if (p != null && p.contains(A.target)) return Je.Ignore;
|
|
6525
6519
|
let W = A.target.closest('[role="option"]:not([data-disabled])');
|
|
6526
|
-
return et(W) ?
|
|
6520
|
+
return et(W) ? Je.Select(W) : g != null && g.contains(A.target) ? Je.Ignore : Je.Close;
|
|
6527
6521
|
}, [p, g]), close: i.actions.closeListbox, select: i.actions.selectActiveOption });
|
|
6528
6522
|
let x = q((A) => {
|
|
6529
6523
|
switch (A.key) {
|
|
6530
6524
|
case te.Enter:
|
|
6531
|
-
|
|
6525
|
+
Fd(A.currentTarget);
|
|
6532
6526
|
break;
|
|
6533
6527
|
case te.Space:
|
|
6534
6528
|
case te.ArrowDown:
|
|
6535
|
-
A.preventDefault(), i.actions.openListbox({ focus: o.value ?
|
|
6529
|
+
A.preventDefault(), i.actions.openListbox({ focus: o.value ? J.Nothing : J.First });
|
|
6536
6530
|
break;
|
|
6537
6531
|
case te.ArrowUp:
|
|
6538
|
-
A.preventDefault(), i.actions.openListbox({ focus: o.value ?
|
|
6532
|
+
A.preventDefault(), i.actions.openListbox({ focus: o.value ? J.Nothing : J.Last });
|
|
6539
6533
|
break;
|
|
6540
6534
|
}
|
|
6541
6535
|
}), C = q((A) => {
|
|
6542
|
-
|
|
6543
|
-
case te.Space:
|
|
6544
|
-
A.preventDefault();
|
|
6545
|
-
break;
|
|
6546
|
-
}
|
|
6536
|
+
A.key === te.Space && A.preventDefault();
|
|
6547
6537
|
}), O = go((A) => {
|
|
6548
6538
|
var W;
|
|
6549
|
-
i.state.listboxState === Le.Open ? (ze(() => i.actions.closeListbox()), (W = i.state.buttonElement) == null || W.focus({ preventScroll: !0 })) : (A.preventDefault(), i.actions.openListbox({ focus:
|
|
6550
|
-
}), I = q((A) => A.preventDefault()), F = fn([a]), R = za(), { isFocusVisible: _, focusProps: j } =
|
|
6551
|
-
return Ee()({ ourProps: B, theirProps: u, slot: E, defaultTag:
|
|
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" });
|
|
6552
6542
|
}
|
|
6553
|
-
let Fl = me(!1),
|
|
6554
|
-
function
|
|
6543
|
+
let Fl = me(!1), jh = "div", Nh = Tt.RenderStrategy | Tt.Static;
|
|
6544
|
+
function Lh(t, n) {
|
|
6555
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);
|
|
6556
6546
|
u && (i = !0);
|
|
6557
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);
|
|
@@ -6573,7 +6563,7 @@ function _h(t, n) {
|
|
|
6573
6563
|
})(), [A, W] = No(B), G = jo(), P = ke(n, u ? A : null, p.actions.setOptionsElement, v), U = bt();
|
|
6574
6564
|
we(() => {
|
|
6575
6565
|
let $ = x;
|
|
6576
|
-
$ && g === Le.Open && (
|
|
6566
|
+
$ && g === Le.Open && (Xn($) || $ == null || $.focus({ preventScroll: !0 }));
|
|
6577
6567
|
}, [g, x]);
|
|
6578
6568
|
let oe = q(($) => {
|
|
6579
6569
|
var ee;
|
|
@@ -6584,15 +6574,15 @@ function _h(t, n) {
|
|
|
6584
6574
|
$.preventDefault(), $.stopPropagation(), p.actions.selectActiveOption();
|
|
6585
6575
|
break;
|
|
6586
6576
|
case Te(m.orientation, { vertical: te.ArrowDown, horizontal: te.ArrowRight }):
|
|
6587
|
-
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus:
|
|
6577
|
+
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Next });
|
|
6588
6578
|
case Te(m.orientation, { vertical: te.ArrowUp, horizontal: te.ArrowLeft }):
|
|
6589
|
-
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus:
|
|
6579
|
+
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Previous });
|
|
6590
6580
|
case te.Home:
|
|
6591
6581
|
case te.PageUp:
|
|
6592
|
-
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus:
|
|
6582
|
+
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.First });
|
|
6593
6583
|
case te.End:
|
|
6594
6584
|
case te.PageDown:
|
|
6595
|
-
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus:
|
|
6585
|
+
return $.preventDefault(), $.stopPropagation(), p.actions.goToOption({ focus: J.Last });
|
|
6596
6586
|
case te.Escape:
|
|
6597
6587
|
$.preventDefault(), $.stopPropagation(), ze(() => p.actions.closeListbox()), (ee = p.state.buttonElement) == null || ee.focus({ preventScroll: !0 });
|
|
6598
6588
|
return;
|
|
@@ -6606,11 +6596,11 @@ function _h(t, n) {
|
|
|
6606
6596
|
}), D = se(p, ($) => {
|
|
6607
6597
|
var ee;
|
|
6608
6598
|
return (ee = $.buttonElement) == null ? void 0 : ee.id;
|
|
6609
|
-
}), 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(_) }),
|
|
6610
|
-
return V.createElement(Ho, { enabled: i ? t.static || R : !1, ownerDocument: O }, V.createElement(gr.Provider, { value: fe },
|
|
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" })));
|
|
6611
6601
|
}
|
|
6612
|
-
let
|
|
6613
|
-
function
|
|
6602
|
+
let _h = "div";
|
|
6603
|
+
function Rh(t, n) {
|
|
6614
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() {
|
|
6615
6605
|
return p();
|
|
6616
6606
|
} }), b = ke(n, m, (S) => {
|
|
@@ -6628,40 +6618,40 @@ function Fh(t, n) {
|
|
|
6628
6618
|
if (o) return S.preventDefault();
|
|
6629
6619
|
u.actions.selectOption(i);
|
|
6630
6620
|
}), O = q(() => {
|
|
6631
|
-
if (o) return u.actions.goToOption({ focus:
|
|
6632
|
-
u.actions.goToOption({ focus:
|
|
6621
|
+
if (o) return u.actions.goToOption({ focus: J.Nothing });
|
|
6622
|
+
u.actions.goToOption({ focus: J.Specific, id: r });
|
|
6633
6623
|
}), I = So(), F = q((S) => I.update(S)), R = q((S) => {
|
|
6634
|
-
I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer || u.actions.goToOption({ focus:
|
|
6624
|
+
I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer || u.actions.goToOption({ focus: J.Specific, id: r }, An.Pointer));
|
|
6635
6625
|
}), _ = q((S) => {
|
|
6636
|
-
I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer && u.actions.goToOption({ focus:
|
|
6626
|
+
I.wasMoved(S) && (o || c && u.state.activationTrigger === An.Pointer && u.actions.goToOption({ focus: J.Nothing }));
|
|
6637
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();
|
|
6638
|
-
return !v && l ? null : N({ ourProps: T, theirProps: a, slot: j, defaultTag:
|
|
6628
|
+
return !v && l ? null : N({ ourProps: T, theirProps: a, slot: j, defaultTag: _h, name: "Listbox.Option" });
|
|
6639
6629
|
}
|
|
6640
|
-
let
|
|
6641
|
-
function
|
|
6630
|
+
let Fh = ut;
|
|
6631
|
+
function Hh(t, n) {
|
|
6642
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();
|
|
6643
|
-
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:
|
|
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" }));
|
|
6644
6634
|
}
|
|
6645
|
-
let
|
|
6646
|
-
Object.assign(
|
|
6647
|
-
var
|
|
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 || {});
|
|
6648
6638
|
function oa(t, n = (e) => e) {
|
|
6649
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;
|
|
6650
6640
|
return o === -1 && (o = null), { items: r, activeItemIndex: o };
|
|
6651
6641
|
}
|
|
6652
|
-
let
|
|
6642
|
+
let Kh = { 1(t) {
|
|
6653
6643
|
if (t.menuState === 1) return t;
|
|
6654
6644
|
let n = t.buttonElement ? Ue.Tracked(hr(t.buttonElement)) : t.buttonPositionState;
|
|
6655
|
-
return { ...t, activeItemIndex: null, pendingFocus: { focus:
|
|
6645
|
+
return { ...t, activeItemIndex: null, pendingFocus: { focus: J.Nothing }, menuState: 1, buttonPositionState: n };
|
|
6656
6646
|
}, 0(t, n) {
|
|
6657
6647
|
return t.menuState === 0 ? t : { ...t, __demoMode: !1, pendingFocus: n.focus, menuState: 0, buttonPositionState: Ue.Idle };
|
|
6658
6648
|
}, 2: (t, n) => {
|
|
6659
6649
|
var e, r, o, i, a;
|
|
6660
6650
|
if (t.menuState === 1) return t;
|
|
6661
6651
|
let l = { ...t, searchQuery: "", activationTrigger: (e = n.trigger) != null ? e : 1, __demoMode: !1 };
|
|
6662
|
-
if (n.focus ===
|
|
6663
|
-
if (n.focus ===
|
|
6664
|
-
if (n.focus ===
|
|
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) {
|
|
6665
6655
|
let c = t.activeItemIndex;
|
|
6666
6656
|
if (c !== null) {
|
|
6667
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 });
|
|
@@ -6670,7 +6660,7 @@ let Zh = { 1(t) {
|
|
|
6670
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 };
|
|
6671
6661
|
}
|
|
6672
6662
|
}
|
|
6673
|
-
} else if (n.focus ===
|
|
6663
|
+
} else if (n.focus === J.Next) {
|
|
6674
6664
|
let c = t.activeItemIndex;
|
|
6675
6665
|
if (c !== null) {
|
|
6676
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 });
|
|
@@ -6692,7 +6682,7 @@ let Zh = { 1(t) {
|
|
|
6692
6682
|
return t.searchQuery === "" ? t : { ...t, searchQuery: "", searchActiveItemIndex: null };
|
|
6693
6683
|
}, 5: (t, n) => {
|
|
6694
6684
|
let e = t.items.concat(n.items.map((o) => o)), r = t.activeItemIndex;
|
|
6695
|
-
return t.pendingFocus.focus !==
|
|
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 };
|
|
6696
6686
|
}, 6: (t, n) => {
|
|
6697
6687
|
let e = t.items, r = [], o = new Set(n.items);
|
|
6698
6688
|
for (let [i, a] of e.entries()) if (o.has(a.id) && (r.push(i), o.delete(a.id), o.size === 0)) break;
|
|
@@ -6706,12 +6696,12 @@ let Zh = { 1(t) {
|
|
|
6706
6696
|
} };
|
|
6707
6697
|
class Vo extends ir {
|
|
6708
6698
|
constructor(n) {
|
|
6709
|
-
super(n), ra(this, "actions", { registerItem:
|
|
6699
|
+
super(n), ra(this, "actions", { registerItem: Xt(() => {
|
|
6710
6700
|
let e = [], r = /* @__PURE__ */ new Set();
|
|
6711
6701
|
return [(o, i) => {
|
|
6712
6702
|
r.has(i) || (r.add(i), e.push({ id: o, dataRef: i }));
|
|
6713
6703
|
}, () => (r.clear(), this.send({ type: 5, items: e.splice(0) }))];
|
|
6714
|
-
}), unregisterItem:
|
|
6704
|
+
}), unregisterItem: Xt(() => {
|
|
6715
6705
|
let e = [];
|
|
6716
6706
|
return [(r) => e.push(r), () => this.send({ type: 6, items: e.splice(0) })];
|
|
6717
6707
|
}) }), ra(this, "selectors", { activeDescendantId(e) {
|
|
@@ -6746,10 +6736,10 @@ class Vo extends ir {
|
|
|
6746
6736
|
});
|
|
6747
6737
|
}
|
|
6748
6738
|
static new({ id: n, __demoMode: e = !1 }) {
|
|
6749
|
-
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:
|
|
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 });
|
|
6750
6740
|
}
|
|
6751
6741
|
reduce(n, e) {
|
|
6752
|
-
return Te(e.type,
|
|
6742
|
+
return Te(e.type, Kh, n, e);
|
|
6753
6743
|
}
|
|
6754
6744
|
}
|
|
6755
6745
|
const Hl = me(null);
|
|
@@ -6765,8 +6755,8 @@ function zl({ id: t, __demoMode: n = !1 }) {
|
|
|
6765
6755
|
let e = Ce(() => Vo.new({ id: t, __demoMode: n }), []);
|
|
6766
6756
|
return mr(() => e.dispose()), e;
|
|
6767
6757
|
}
|
|
6768
|
-
let
|
|
6769
|
-
function
|
|
6758
|
+
let Zh = ut;
|
|
6759
|
+
function Qh(t, n) {
|
|
6770
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]));
|
|
6771
6761
|
yo(v, [s, l], (x, C) => {
|
|
6772
6762
|
var O;
|
|
@@ -6775,41 +6765,37 @@ function qh(t, n) {
|
|
|
6775
6765
|
let m = q(() => {
|
|
6776
6766
|
i.send({ type: ge.CloseMenu });
|
|
6777
6767
|
}), p = Ie({ open: a === je.Open, close: m }), g = { ref: u }, b = Ee();
|
|
6778
|
-
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:
|
|
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" }))));
|
|
6779
6769
|
}
|
|
6780
|
-
let
|
|
6770
|
+
let qh = "button";
|
|
6781
6771
|
function Jh(t, n) {
|
|
6782
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) => {
|
|
6783
6773
|
switch (S.key) {
|
|
6784
6774
|
case te.Space:
|
|
6785
6775
|
case te.Enter:
|
|
6786
6776
|
case te.ArrowDown:
|
|
6787
|
-
S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus:
|
|
6777
|
+
S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: J.First } });
|
|
6788
6778
|
break;
|
|
6789
6779
|
case te.ArrowUp:
|
|
6790
|
-
S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus:
|
|
6780
|
+
S.preventDefault(), S.stopPropagation(), e.send({ type: ge.OpenMenu, focus: { focus: J.Last } });
|
|
6791
6781
|
break;
|
|
6792
6782
|
}
|
|
6793
6783
|
}), m = q((S) => {
|
|
6794
|
-
|
|
6795
|
-
case te.Space:
|
|
6796
|
-
S.preventDefault();
|
|
6797
|
-
break;
|
|
6798
|
-
}
|
|
6784
|
+
S.key === te.Space && S.preventDefault();
|
|
6799
6785
|
}), [p, g, b] = se(e, (S) => [S.menuState, S.buttonElement, S.itemsElement]), x = p === je.Open;
|
|
6800
6786
|
wo(x, { trigger: g, action: ce((S) => {
|
|
6801
|
-
if (g != null && g.contains(S.target)) return
|
|
6787
|
+
if (g != null && g.contains(S.target)) return Je.Ignore;
|
|
6802
6788
|
let y = S.target.closest('[role="menuitem"]:not([data-disabled])');
|
|
6803
|
-
return et(y) ?
|
|
6789
|
+
return et(y) ? Je.Select(y) : b != null && b.contains(S.target) ? Je.Ignore : Je.Close;
|
|
6804
6790
|
}, [g, b]), close: ce(() => e.send({ type: ge.CloseMenu }), []), select: ce((S) => S.click(), []) });
|
|
6805
6791
|
let C = go((S) => {
|
|
6806
6792
|
var y;
|
|
6807
|
-
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:
|
|
6808
|
-
}), { isFocusVisible: O, focusProps: I } =
|
|
6809
|
-
return Ee()({ ourProps: N, theirProps: l, slot: T, defaultTag:
|
|
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" });
|
|
6810
6796
|
}
|
|
6811
|
-
let
|
|
6812
|
-
function
|
|
6797
|
+
let Xh = "div", eg = Tt.RenderStrategy | Tt.Static;
|
|
6798
|
+
function tg(t, n) {
|
|
6813
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);
|
|
6814
6800
|
u && (i = !0);
|
|
6815
6801
|
let R = Ro(), [_, j] = Oo(l, g, R !== null ? (R & Ge.Open) === Ge.Open : C === je.Open);
|
|
@@ -6823,7 +6809,7 @@ function ng(t, n) {
|
|
|
6823
6809
|
let y = se(c, c.selectors.didButtonMove) ? !1 : _;
|
|
6824
6810
|
we(() => {
|
|
6825
6811
|
let P = g;
|
|
6826
|
-
P && C === je.Open && (
|
|
6812
|
+
P && C === je.Open && (Xn(P) || P.focus({ preventScroll: !0 }));
|
|
6827
6813
|
}, [C, g]), el(C === je.Open, { container: g, accept(P) {
|
|
6828
6814
|
return P.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : P.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
|
|
6829
6815
|
}, walk(P) {
|
|
@@ -6842,15 +6828,15 @@ function ng(t, n) {
|
|
|
6842
6828
|
c.send({ type: ge.CloseMenu }), Qa(c.state.buttonElement);
|
|
6843
6829
|
break;
|
|
6844
6830
|
case te.ArrowDown:
|
|
6845
|
-
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus:
|
|
6831
|
+
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Next });
|
|
6846
6832
|
case te.ArrowUp:
|
|
6847
|
-
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus:
|
|
6833
|
+
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Previous });
|
|
6848
6834
|
case te.Home:
|
|
6849
6835
|
case te.PageUp:
|
|
6850
|
-
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus:
|
|
6836
|
+
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.First });
|
|
6851
6837
|
case te.End:
|
|
6852
6838
|
case te.PageDown:
|
|
6853
|
-
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus:
|
|
6839
|
+
return P.preventDefault(), P.stopPropagation(), c.send({ type: ge.GoToItem, focus: J.Last });
|
|
6854
6840
|
case te.Escape:
|
|
6855
6841
|
P.preventDefault(), P.stopPropagation(), ze(() => c.send({ type: ge.CloseMenu })), (D = c.state.buttonElement) == null || D.focus({ preventScroll: !0 });
|
|
6856
6842
|
break;
|
|
@@ -6862,19 +6848,15 @@ function ng(t, n) {
|
|
|
6862
6848
|
break;
|
|
6863
6849
|
}
|
|
6864
6850
|
}), B = q((P) => {
|
|
6865
|
-
|
|
6866
|
-
case te.Space:
|
|
6867
|
-
P.preventDefault();
|
|
6868
|
-
break;
|
|
6869
|
-
}
|
|
6851
|
+
P.key === te.Space && P.preventDefault();
|
|
6870
6852
|
}), A = Ie({ open: C === je.Open }), W = jt(u ? p() : {}, { "aria-activedescendant": se(c, c.selectors.activeDescendantId), "aria-labelledby": se(c, (P) => {
|
|
6871
6853
|
var U;
|
|
6872
6854
|
return (U = P.buttonElement) == null ? void 0 : U.id;
|
|
6873
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();
|
|
6874
|
-
return V.createElement(Ho, { enabled: i ? t.static || _ : !1, ownerDocument: I }, G({ ourProps: W, theirProps: s, slot: A, defaultTag:
|
|
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" }));
|
|
6875
6857
|
}
|
|
6876
|
-
let
|
|
6877
|
-
function
|
|
6858
|
+
let ng = ut;
|
|
6859
|
+
function rg(t, n) {
|
|
6878
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));
|
|
6879
6861
|
ve(() => {
|
|
6880
6862
|
if (c) return Re().requestAnimationFrame(() => {
|
|
@@ -6894,35 +6876,35 @@ function og(t, n) {
|
|
|
6894
6876
|
if (o) return y.preventDefault();
|
|
6895
6877
|
a.send({ type: ge.CloseMenu }), Qa(a.state.buttonElement);
|
|
6896
6878
|
}), b = q(() => {
|
|
6897
|
-
if (o) return a.send({ type: ge.GoToItem, focus:
|
|
6898
|
-
a.send({ type: ge.GoToItem, focus:
|
|
6879
|
+
if (o) return a.send({ type: ge.GoToItem, focus: J.Nothing });
|
|
6880
|
+
a.send({ type: ge.GoToItem, focus: J.Specific, id: r });
|
|
6899
6881
|
}), x = So(), C = q((y) => x.update(y)), O = q((y) => {
|
|
6900
|
-
x.wasMoved(y) && (o || l || a.send({ type: ge.GoToItem, focus:
|
|
6882
|
+
x.wasMoved(y) && (o || l || a.send({ type: ge.GoToItem, focus: J.Specific, id: r, trigger: Kn.Pointer }));
|
|
6901
6883
|
}), I = q((y) => {
|
|
6902
|
-
x.wasMoved(y) && (o || l && a.state.activationTrigger === Kn.Pointer && a.send({ type: ge.GoToItem, focus:
|
|
6884
|
+
x.wasMoved(y) && (o || l && a.state.activationTrigger === Kn.Pointer && a.send({ type: ge.GoToItem, focus: J.Nothing }));
|
|
6903
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();
|
|
6904
|
-
return V.createElement(R, null, V.createElement(j, null, S({ ourProps: N, theirProps: i, slot: T, defaultTag:
|
|
6886
|
+
return V.createElement(R, null, V.createElement(j, null, S({ ourProps: N, theirProps: i, slot: T, defaultTag: ng, name: "Menu.Item" })));
|
|
6905
6887
|
}
|
|
6906
|
-
let
|
|
6907
|
-
function
|
|
6888
|
+
let og = "div";
|
|
6889
|
+
function ig(t, n) {
|
|
6908
6890
|
let [e, r] = or(), o = t, i = { ref: n, "aria-labelledby": e, role: "group" }, a = Ee();
|
|
6909
|
-
return V.createElement(r, null, a({ ourProps: i, theirProps: o, slot: {}, defaultTag:
|
|
6891
|
+
return V.createElement(r, null, a({ ourProps: i, theirProps: o, slot: {}, defaultTag: og, name: "Menu.Section" }));
|
|
6910
6892
|
}
|
|
6911
|
-
let
|
|
6912
|
-
function
|
|
6893
|
+
let ag = "header";
|
|
6894
|
+
function lg(t, n) {
|
|
6913
6895
|
let e = Ae(), { id: r = `headlessui-menu-heading-${e}`, ...o } = t, i = mo();
|
|
6914
6896
|
ve(() => i.register(r), [r, i.register]);
|
|
6915
6897
|
let a = { id: r, ref: n, role: "presentation", ...i.props };
|
|
6916
|
-
return Ee()({ ourProps: a, theirProps: o, slot: {}, defaultTag:
|
|
6898
|
+
return Ee()({ ourProps: a, theirProps: o, slot: {}, defaultTag: ag, name: "Menu.Heading" });
|
|
6917
6899
|
}
|
|
6918
|
-
let
|
|
6919
|
-
function
|
|
6900
|
+
let sg = "div";
|
|
6901
|
+
function cg(t, n) {
|
|
6920
6902
|
let e = t, r = { ref: n, role: "separator" };
|
|
6921
|
-
return Ee()({ ourProps: r, theirProps: e, slot: {}, defaultTag:
|
|
6903
|
+
return Ee()({ ourProps: r, theirProps: e, slot: {}, defaultTag: sg, name: "Menu.Separator" });
|
|
6922
6904
|
}
|
|
6923
|
-
let
|
|
6924
|
-
Object.assign(
|
|
6925
|
-
function
|
|
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) {
|
|
6926
6908
|
const n = d.useRef(void 0), e = d.useCallback((r) => {
|
|
6927
6909
|
const o = t.map((i) => {
|
|
6928
6910
|
if (i != null) {
|
|
@@ -6947,7 +6929,7 @@ function Jr(t) {
|
|
|
6947
6929
|
}
|
|
6948
6930
|
process.env.NODE_ENV;
|
|
6949
6931
|
me(void 0);
|
|
6950
|
-
const
|
|
6932
|
+
const vg = V.createContext({}), bg = () => V.useContext(vg), yg = (t, n) => `
|
|
6951
6933
|
${t ? "jn:whitespace-nowrap" : ""}
|
|
6952
6934
|
${n === "center" ? `
|
|
6953
6935
|
jn:justify-center
|
|
@@ -6959,17 +6941,17 @@ const bg = V.createContext({}), yg = () => V.useContext(bg), wg = (t, n) => `
|
|
|
6959
6941
|
jn:border-b
|
|
6960
6942
|
jn:border-theme-background-lvl-2
|
|
6961
6943
|
jn:h-full
|
|
6962
|
-
`,
|
|
6944
|
+
`, wg = (t) => {
|
|
6963
6945
|
let n;
|
|
6964
6946
|
return t && (n = { gridColumn: `span ${t} / span ${t}` }), n;
|
|
6965
6947
|
}, Bl = K(
|
|
6966
6948
|
({ colSpan: t, nowrap: n = !1, className: e = "", children: r, ...o }, i) => {
|
|
6967
|
-
const a = (
|
|
6949
|
+
const a = (bg() || {}).cellVerticalAlignment;
|
|
6968
6950
|
return /* @__PURE__ */ H.jsx(
|
|
6969
6951
|
"div",
|
|
6970
6952
|
{
|
|
6971
|
-
className: `juno-datagrid-cell ${
|
|
6972
|
-
style:
|
|
6953
|
+
className: `juno-datagrid-cell ${yg(n, a)} ${e}`,
|
|
6954
|
+
style: wg(t),
|
|
6973
6955
|
role: "gridcell",
|
|
6974
6956
|
ref: i,
|
|
6975
6957
|
...o,
|
|
@@ -6979,12 +6961,12 @@ const bg = V.createContext({}), yg = () => V.useContext(bg), wg = (t, n) => `
|
|
|
6979
6961
|
}
|
|
6980
6962
|
);
|
|
6981
6963
|
Bl.displayName = "DataGridCell";
|
|
6982
|
-
const
|
|
6964
|
+
const xg = `
|
|
6983
6965
|
jn:font-bold
|
|
6984
6966
|
jn:text-theme-high
|
|
6985
6967
|
jn:bg-theme-background-lvl-1
|
|
6986
6968
|
jn:border-theme-background-lvl-0
|
|
6987
|
-
`,
|
|
6969
|
+
`, Eg = K(
|
|
6988
6970
|
({
|
|
6989
6971
|
// sortable,
|
|
6990
6972
|
colSpan: t,
|
|
@@ -6997,7 +6979,7 @@ const Eg = `
|
|
|
6997
6979
|
{
|
|
6998
6980
|
colSpan: t,
|
|
6999
6981
|
nowrap: n,
|
|
7000
|
-
className: `juno-datagrid-head-cell ${
|
|
6982
|
+
className: `juno-datagrid-head-cell ${xg} ${e}`,
|
|
7001
6983
|
role: "columnheader",
|
|
7002
6984
|
ref: i,
|
|
7003
6985
|
...o,
|
|
@@ -7005,8 +6987,8 @@ const Eg = `
|
|
|
7005
6987
|
}
|
|
7006
6988
|
)
|
|
7007
6989
|
);
|
|
7008
|
-
|
|
7009
|
-
const
|
|
6990
|
+
Eg.displayName = "DataGridHeadCell";
|
|
6991
|
+
const Sg = K(
|
|
7010
6992
|
({ isSelected: t = !1, onClick: n, className: e = "", children: r, ...o }, i) => {
|
|
7011
6993
|
const a = (s) => {
|
|
7012
6994
|
n && n(s);
|
|
@@ -7019,7 +7001,7 @@ const Cg = K(
|
|
|
7019
7001
|
return /* @__PURE__ */ H.jsx("div", { className: l, role: "row", ref: i, onClick: a, ...o, children: r });
|
|
7020
7002
|
}
|
|
7021
7003
|
);
|
|
7022
|
-
|
|
7004
|
+
Sg.displayName = "DataGridRow";
|
|
7023
7005
|
var Rr = [
|
|
7024
7006
|
"onChange",
|
|
7025
7007
|
"onClose",
|
|
@@ -7222,7 +7204,7 @@ function Ve(t) {
|
|
|
7222
7204
|
var Hr = function() {
|
|
7223
7205
|
}, Zn = function(t, n, e) {
|
|
7224
7206
|
return e.months[n ? "shorthand" : "longhand"][t];
|
|
7225
|
-
},
|
|
7207
|
+
}, Cg = {
|
|
7226
7208
|
D: Hr,
|
|
7227
7209
|
F: function(t, n, e) {
|
|
7228
7210
|
t.setMonth(e.months.longhand.indexOf(n));
|
|
@@ -7413,7 +7395,7 @@ var Hr = function() {
|
|
|
7413
7395
|
O += St[I];
|
|
7414
7396
|
var _ = new RegExp(O).exec(i);
|
|
7415
7397
|
_ && (g = !0) && b[I !== "Y" ? "push" : "unshift"]({
|
|
7416
|
-
fn:
|
|
7398
|
+
fn: Cg[I],
|
|
7417
7399
|
val: _[++C]
|
|
7418
7400
|
});
|
|
7419
7401
|
} else F || (O += ".");
|
|
@@ -7435,14 +7417,14 @@ var Hr = function() {
|
|
|
7435
7417
|
function $e(t, n, e) {
|
|
7436
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();
|
|
7437
7419
|
}
|
|
7438
|
-
var
|
|
7420
|
+
var Og = function(t, n, e) {
|
|
7439
7421
|
return t > Math.min(n, e) && t < Math.max(n, e);
|
|
7440
7422
|
}, zr = function(t, n, e) {
|
|
7441
7423
|
return t * 3600 + n * 60 + e;
|
|
7442
|
-
},
|
|
7424
|
+
}, Mg = function(t) {
|
|
7443
7425
|
var n = Math.floor(t / 3600), e = (t - n * 3600) / 60;
|
|
7444
7426
|
return [n, e, t - n * 3600 - e * 60];
|
|
7445
|
-
},
|
|
7427
|
+
}, Dg = {
|
|
7446
7428
|
DAY: 864e5
|
|
7447
7429
|
};
|
|
7448
7430
|
function Br(t) {
|
|
@@ -7486,13 +7468,13 @@ var Pe = function() {
|
|
|
7486
7468
|
for (var i = arguments[n], a = 0, l = i.length; a < l; a++, o++)
|
|
7487
7469
|
r[o] = i[a];
|
|
7488
7470
|
return r;
|
|
7489
|
-
},
|
|
7490
|
-
function
|
|
7471
|
+
}, Tg = 300;
|
|
7472
|
+
function kg(t, n) {
|
|
7491
7473
|
var e = {
|
|
7492
7474
|
config: Pe(Pe({}, Ht), Me.defaultConfig),
|
|
7493
7475
|
l10n: cn
|
|
7494
7476
|
};
|
|
7495
|
-
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 =
|
|
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;
|
|
7496
7478
|
function r() {
|
|
7497
7479
|
e.utils = {
|
|
7498
7480
|
getDaysInMonth: function(f, h) {
|
|
@@ -7501,7 +7483,7 @@ function Ig(t, n) {
|
|
|
7501
7483
|
};
|
|
7502
7484
|
}
|
|
7503
7485
|
function o() {
|
|
7504
|
-
e.element = e.input = t, e.isOpen = !1, Gl(), Yo(),
|
|
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();
|
|
7505
7487
|
var f = /^((?!chrome|android).)*safari/i.test(navigator.userAgent);
|
|
7506
7488
|
!e.isMobile && f && bn(), xe("onReady");
|
|
7507
7489
|
}
|
|
@@ -7550,7 +7532,7 @@ function Ig(t, n) {
|
|
|
7550
7532
|
if (e.config.maxTime !== void 0 && e.config.minTime !== void 0 && e.config.minTime > e.config.maxTime) {
|
|
7551
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);
|
|
7552
7534
|
if (Q > le && Q < Y) {
|
|
7553
|
-
var ue =
|
|
7535
|
+
var ue = Mg(Y);
|
|
7554
7536
|
f = ue[0], h = ue[1], w = ue[2];
|
|
7555
7537
|
}
|
|
7556
7538
|
} else {
|
|
@@ -7605,7 +7587,7 @@ function Ig(t, n) {
|
|
|
7605
7587
|
return;
|
|
7606
7588
|
}
|
|
7607
7589
|
var f = ia(Ul, 50);
|
|
7608
|
-
if (e._debouncedChange = ia(x,
|
|
7590
|
+
if (e._debouncedChange = ia(x, Tg), e.daysContainer && !/iPhone|iPad|iPod/i.test(navigator.userAgent) && b(e.daysContainer, "mouseover", function(w) {
|
|
7609
7591
|
e.config.mode === "range" && vn(Ve(w));
|
|
7610
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) {
|
|
7611
7593
|
var h = function(w) {
|
|
@@ -7817,7 +7799,7 @@ function Ig(t, n) {
|
|
|
7817
7799
|
function ne() {
|
|
7818
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");
|
|
7819
7801
|
}
|
|
7820
|
-
function
|
|
7802
|
+
function X() {
|
|
7821
7803
|
e.config !== void 0 && xe("onDestroy");
|
|
7822
7804
|
for (var f = e._handlers.length; f--; )
|
|
7823
7805
|
e._handlers[f].remove();
|
|
@@ -7984,7 +7966,7 @@ function Ig(t, n) {
|
|
|
7984
7966
|
}
|
|
7985
7967
|
function vn(f, h) {
|
|
7986
7968
|
if (h === void 0 && (h = "flatpickr-day"), !(e.selectedDates.length !== 1 || f && (!f.classList.contains(h) || f.classList.contains("flatpickr-disabled")))) {
|
|
7987
|
-
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 +=
|
|
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)
|
|
7988
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));
|
|
7989
7971
|
var re = Array.from(e.rContainer.querySelectorAll("*:nth-child(-n+" + e.config.showMonths + ") > ." + h));
|
|
7990
7972
|
re.forEach(function(he) {
|
|
@@ -7998,7 +7980,7 @@ function Ig(t, n) {
|
|
|
7998
7980
|
return;
|
|
7999
7981
|
["startRange", "inRange", "endRange", "notAllowed"].forEach(function(Lt) {
|
|
8000
7982
|
he.classList.remove(Lt);
|
|
8001
|
-
}), 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) &&
|
|
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"));
|
|
8002
7984
|
});
|
|
8003
7985
|
}
|
|
8004
7986
|
}
|
|
@@ -8270,12 +8252,12 @@ function Ig(t, n) {
|
|
|
8270
8252
|
return h;
|
|
8271
8253
|
});
|
|
8272
8254
|
}
|
|
8273
|
-
function
|
|
8255
|
+
function Jl() {
|
|
8274
8256
|
e.selectedDates = [], e.now = e.parseDate(e.config.now) || /* @__PURE__ */ new Date();
|
|
8275
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);
|
|
8276
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);
|
|
8277
8259
|
}
|
|
8278
|
-
function
|
|
8260
|
+
function Xl() {
|
|
8279
8261
|
if (e.input = Uo(), !e.input) {
|
|
8280
8262
|
e.config.errorHandler(new Error("Invalid input element specified"));
|
|
8281
8263
|
return;
|
|
@@ -8366,7 +8348,7 @@ function zt(t, n) {
|
|
|
8366
8348
|
try {
|
|
8367
8349
|
if (i.getAttribute("data-fp-omit") !== null)
|
|
8368
8350
|
continue;
|
|
8369
|
-
i._flatpickr !== void 0 && (i._flatpickr.destroy(), i._flatpickr = void 0), i._flatpickr =
|
|
8351
|
+
i._flatpickr !== void 0 && (i._flatpickr.destroy(), i._flatpickr = void 0), i._flatpickr = kg(i, n || {}), r.push(i._flatpickr);
|
|
8370
8352
|
} catch (a) {
|
|
8371
8353
|
console.error(a);
|
|
8372
8354
|
}
|
|
@@ -8402,7 +8384,7 @@ Date.prototype.fp_incr = function(t) {
|
|
|
8402
8384
|
return new Date(this.getFullYear(), this.getMonth(), this.getDate() + (typeof t == "string" ? parseInt(t, 10) : t));
|
|
8403
8385
|
};
|
|
8404
8386
|
typeof window < "u" && (window.flatpickr = Me);
|
|
8405
|
-
const
|
|
8387
|
+
const Ig = ({
|
|
8406
8388
|
title: t,
|
|
8407
8389
|
titleId: n,
|
|
8408
8390
|
...e
|
|
@@ -8466,28 +8448,28 @@ const Ag = ({
|
|
|
8466
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: {
|
|
8467
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"
|
|
8468
8450
|
} }));
|
|
8469
|
-
K(
|
|
8451
|
+
K(Ig);
|
|
8470
8452
|
V.createContext({});
|
|
8471
|
-
const
|
|
8453
|
+
const Ag = `
|
|
8472
8454
|
jn:text-theme-high
|
|
8473
8455
|
jn:flex
|
|
8474
8456
|
jn:rounded
|
|
8475
8457
|
jn:leading-5
|
|
8476
8458
|
jn:overflow-hidden
|
|
8477
8459
|
jn:items-center
|
|
8478
|
-
`,
|
|
8460
|
+
`, Pg = `
|
|
8479
8461
|
jn:font-bold
|
|
8480
|
-
`,
|
|
8462
|
+
`, jg = `
|
|
8481
8463
|
jn:py-3
|
|
8482
8464
|
jn:pr-4
|
|
8483
8465
|
jn:ml-7
|
|
8484
|
-
`,
|
|
8466
|
+
`, Ng = `
|
|
8485
8467
|
jn:w-[4px]
|
|
8486
8468
|
jn:self-stretch
|
|
8487
8469
|
jn:border-l-4
|
|
8488
8470
|
jn:mr-6
|
|
8489
8471
|
jn:shrink-0
|
|
8490
|
-
`,
|
|
8472
|
+
`, Lg = `
|
|
8491
8473
|
jn:ml-auto
|
|
8492
8474
|
jn:self-stretch
|
|
8493
8475
|
jn:flex
|
|
@@ -8505,7 +8487,7 @@ const Pg = `
|
|
|
8505
8487
|
dangerBg: "jn:bg-theme-message-danger",
|
|
8506
8488
|
success: "jn:border-theme-message-success",
|
|
8507
8489
|
successBg: "jn:bg-theme-message-success"
|
|
8508
|
-
},
|
|
8490
|
+
}, _g = (t) => {
|
|
8509
8491
|
switch (t) {
|
|
8510
8492
|
case "error":
|
|
8511
8493
|
return qe.errorBg;
|
|
@@ -8520,7 +8502,7 @@ const Pg = `
|
|
|
8520
8502
|
default:
|
|
8521
8503
|
return qe.defaultBg;
|
|
8522
8504
|
}
|
|
8523
|
-
},
|
|
8505
|
+
}, Rg = (t) => {
|
|
8524
8506
|
switch (t) {
|
|
8525
8507
|
case "error":
|
|
8526
8508
|
return qe.error;
|
|
@@ -8535,7 +8517,7 @@ const Pg = `
|
|
|
8535
8517
|
default:
|
|
8536
8518
|
return qe.default;
|
|
8537
8519
|
}
|
|
8538
|
-
},
|
|
8520
|
+
}, Fg = (t) => new Set(Object.values(io)).has(t), Hg = (t) => t === "error" ? "dangerous" : Fg(t) ? t : "default", zg = (t) => {
|
|
8539
8521
|
switch (t) {
|
|
8540
8522
|
case "info":
|
|
8541
8523
|
return "jn:text-theme-info jn:shrink-0";
|
|
@@ -8550,13 +8532,13 @@ const Pg = `
|
|
|
8550
8532
|
default:
|
|
8551
8533
|
return "jn:text-theme-info jn:shrink-0";
|
|
8552
8534
|
}
|
|
8553
|
-
},
|
|
8535
|
+
}, Bg = (t, n, e, r) => {
|
|
8554
8536
|
!t || n < 1 || (r.current !== null && clearTimeout(r.current), r.current = window.setTimeout(() => {
|
|
8555
8537
|
e();
|
|
8556
8538
|
}, n));
|
|
8557
|
-
},
|
|
8539
|
+
}, Vg = (t) => {
|
|
8558
8540
|
t.current !== null && (clearTimeout(t.current), t.current = null);
|
|
8559
|
-
},
|
|
8541
|
+
}, $g = ({
|
|
8560
8542
|
title: t,
|
|
8561
8543
|
variant: n = "info",
|
|
8562
8544
|
dismissible: e = !1,
|
|
@@ -8570,24 +8552,24 @@ const Pg = `
|
|
|
8570
8552
|
u(!1), i && i();
|
|
8571
8553
|
};
|
|
8572
8554
|
if (we(() => () => {
|
|
8573
|
-
|
|
8555
|
+
Vg(c);
|
|
8574
8556
|
}, []), we(() => {
|
|
8575
|
-
|
|
8557
|
+
Bg(r, o, p, c);
|
|
8576
8558
|
}, [r, o]), !s) return null;
|
|
8577
|
-
const g =
|
|
8559
|
+
const g = Hg(n), b = _g(n), x = Rg(n);
|
|
8578
8560
|
return /* @__PURE__ */ H.jsxs(
|
|
8579
8561
|
"div",
|
|
8580
8562
|
{
|
|
8581
|
-
className: `juno-message juno-message-${n} ${
|
|
8563
|
+
className: `juno-message juno-message-${n} ${Ag} ${b} ${a}`,
|
|
8582
8564
|
...l,
|
|
8583
8565
|
children: [
|
|
8584
|
-
/* @__PURE__ */ H.jsx("div", { className: `juno-message-border ${
|
|
8585
|
-
/* @__PURE__ */ H.jsx(jn, { icon: g, className: `${
|
|
8586
|
-
/* @__PURE__ */ H.jsxs("div", { className: `juno-message-content ${
|
|
8587
|
-
t && /* @__PURE__ */ H.jsx("h1", { className:
|
|
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 }),
|
|
8588
8570
|
/* @__PURE__ */ H.jsx("div", { children: m || v })
|
|
8589
8571
|
] }),
|
|
8590
|
-
e && /* @__PURE__ */ H.jsx("div", { className:
|
|
8572
|
+
e && /* @__PURE__ */ H.jsx("div", { className: Lg, children: /* @__PURE__ */ H.jsx(
|
|
8591
8573
|
jn,
|
|
8592
8574
|
{
|
|
8593
8575
|
icon: "close",
|
|
@@ -8605,21 +8587,21 @@ function to(t, n) {
|
|
|
8605
8587
|
for (var e = 0, r = Array(n); e < n; e++) r[e] = t[e];
|
|
8606
8588
|
return r;
|
|
8607
8589
|
}
|
|
8608
|
-
function
|
|
8590
|
+
function Wg(t) {
|
|
8609
8591
|
if (Array.isArray(t)) return to(t);
|
|
8610
8592
|
}
|
|
8611
|
-
function
|
|
8612
|
-
return (n =
|
|
8593
|
+
function Ug(t, n, e) {
|
|
8594
|
+
return (n = Qg(n)) in t ? Object.defineProperty(t, n, {
|
|
8613
8595
|
value: e,
|
|
8614
8596
|
enumerable: !0,
|
|
8615
8597
|
configurable: !0,
|
|
8616
8598
|
writable: !0
|
|
8617
8599
|
}) : t[n] = e, t;
|
|
8618
8600
|
}
|
|
8619
|
-
function
|
|
8601
|
+
function Yg(t) {
|
|
8620
8602
|
if (typeof Symbol < "u" && t[Symbol.iterator] != null || t["@@iterator"] != null) return Array.from(t);
|
|
8621
8603
|
}
|
|
8622
|
-
function
|
|
8604
|
+
function Gg() {
|
|
8623
8605
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
8624
8606
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
8625
8607
|
}
|
|
@@ -8637,17 +8619,17 @@ function sa(t) {
|
|
|
8637
8619
|
for (var n = 1; n < arguments.length; n++) {
|
|
8638
8620
|
var e = arguments[n] != null ? arguments[n] : {};
|
|
8639
8621
|
n % 2 ? la(Object(e), !0).forEach(function(r) {
|
|
8640
|
-
|
|
8622
|
+
Ug(t, r, e[r]);
|
|
8641
8623
|
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(e)) : la(Object(e)).forEach(function(r) {
|
|
8642
8624
|
Object.defineProperty(t, r, Object.getOwnPropertyDescriptor(e, r));
|
|
8643
8625
|
});
|
|
8644
8626
|
}
|
|
8645
8627
|
return t;
|
|
8646
8628
|
}
|
|
8647
|
-
function
|
|
8648
|
-
return
|
|
8629
|
+
function Kg(t) {
|
|
8630
|
+
return Wg(t) || Yg(t) || qg(t) || Gg();
|
|
8649
8631
|
}
|
|
8650
|
-
function
|
|
8632
|
+
function Zg(t, n) {
|
|
8651
8633
|
if (typeof t != "object" || !t) return t;
|
|
8652
8634
|
var e = t[Symbol.toPrimitive];
|
|
8653
8635
|
if (e !== void 0) {
|
|
@@ -8657,11 +8639,11 @@ function Qg(t, n) {
|
|
|
8657
8639
|
}
|
|
8658
8640
|
return (n === "string" ? String : Number)(t);
|
|
8659
8641
|
}
|
|
8660
|
-
function
|
|
8661
|
-
var n =
|
|
8642
|
+
function Qg(t) {
|
|
8643
|
+
var n = Zg(t, "string");
|
|
8662
8644
|
return typeof n == "symbol" ? n : n + "";
|
|
8663
8645
|
}
|
|
8664
|
-
function
|
|
8646
|
+
function qg(t, n) {
|
|
8665
8647
|
if (t) {
|
|
8666
8648
|
if (typeof t == "string") return to(t, n);
|
|
8667
8649
|
var e = {}.toString.call(t).slice(8, -1);
|
|
@@ -8683,13 +8665,13 @@ var ca = {
|
|
|
8683
8665
|
}
|
|
8684
8666
|
}, Jg = function(t) {
|
|
8685
8667
|
return t.tagName && t.tagName.toLowerCase() === "input" && typeof t.select == "function";
|
|
8686
|
-
},
|
|
8668
|
+
}, Xg = function(t) {
|
|
8687
8669
|
return t?.key === "Escape" || t?.key === "Esc" || t?.keyCode === 27;
|
|
8688
8670
|
}, nn = function(t) {
|
|
8689
8671
|
return t?.key === "Tab" || t?.keyCode === 9;
|
|
8690
|
-
},
|
|
8672
|
+
}, ev = function(t) {
|
|
8691
8673
|
return nn(t) && !t.shiftKey;
|
|
8692
|
-
},
|
|
8674
|
+
}, tv = function(t) {
|
|
8693
8675
|
return nn(t) && t.shiftKey;
|
|
8694
8676
|
}, ua = function(t) {
|
|
8695
8677
|
return setTimeout(t, 0);
|
|
@@ -8699,13 +8681,13 @@ var ca = {
|
|
|
8699
8681
|
return typeof t == "function" ? t.apply(void 0, e) : t;
|
|
8700
8682
|
}, Dn = function(t) {
|
|
8701
8683
|
return t.target.shadowRoot && typeof t.composedPath == "function" ? t.composedPath()[0] : t.target;
|
|
8702
|
-
},
|
|
8703
|
-
var e = n?.document || document, r = n?.trapStack ||
|
|
8684
|
+
}, nv = [], rv = function(t, n) {
|
|
8685
|
+
var e = n?.document || document, r = n?.trapStack || nv, o = sa({
|
|
8704
8686
|
returnFocusOnDeactivate: !0,
|
|
8705
8687
|
escapeDeactivates: !0,
|
|
8706
8688
|
delayInitialFocus: !0,
|
|
8707
|
-
isKeyForward:
|
|
8708
|
-
isKeyBackward:
|
|
8689
|
+
isKeyForward: ev,
|
|
8690
|
+
isKeyBackward: tv
|
|
8709
8691
|
}, n), i = {
|
|
8710
8692
|
// containers given to createFocusTrap()
|
|
8711
8693
|
// @type {Array<HTMLElement>}
|
|
@@ -8755,7 +8737,7 @@ var ca = {
|
|
|
8755
8737
|
});
|
|
8756
8738
|
}, u = function(y) {
|
|
8757
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];
|
|
8758
|
-
if (typeof G == "function" && (G = G.apply(void 0,
|
|
8740
|
+
if (typeof G == "function" && (G = G.apply(void 0, Kg(W))), G === !0 && (G = void 0), !G) {
|
|
8759
8741
|
if (G === void 0 || G === !1)
|
|
8760
8742
|
return G;
|
|
8761
8743
|
throw new Error("`".concat(y, "` was specified but was not a node, or did not return a node"));
|
|
@@ -8885,8 +8867,8 @@ var ca = {
|
|
|
8885
8867
|
return E === $;
|
|
8886
8868
|
});
|
|
8887
8869
|
if (k < 0 && (P.container === E || kn(E, o.tabbableOptions) && !xt(E, o.tabbableOptions) && !P.nextTabbableNode(E)) && (k = G), k >= 0) {
|
|
8888
|
-
var ne = k === i.tabbableGroups.length - 1 ? 0 : k + 1,
|
|
8889
|
-
W = ft(E) >= 0 ?
|
|
8870
|
+
var ne = k === i.tabbableGroups.length - 1 ? 0 : k + 1, X = i.tabbableGroups[ne];
|
|
8871
|
+
W = ft(E) >= 0 ? X.firstTabbableNode : X.firstDomTabbableNode;
|
|
8890
8872
|
} else nn(L) || (W = P.nextTabbableNode(E));
|
|
8891
8873
|
}
|
|
8892
8874
|
} else
|
|
@@ -8952,7 +8934,7 @@ var ca = {
|
|
|
8952
8934
|
}, I = function(y) {
|
|
8953
8935
|
(o.isKeyForward(y) || o.isKeyBackward(y)) && O(y, o.isKeyBackward(y));
|
|
8954
8936
|
}, F = function(y) {
|
|
8955
|
-
|
|
8937
|
+
Xg(y) && Zt(o.escapeDeactivates, y) !== !1 && (y.preventDefault(), a.deactivate());
|
|
8956
8938
|
}, R = function(y) {
|
|
8957
8939
|
var E = Dn(y);
|
|
8958
8940
|
s(E, y) >= 0 || Zt(o.clickOutsideDeactivates, y) || Zt(o.allowOutsideClick, y) || (y.preventDefault(), y.stopImmediatePropagation());
|
|
@@ -9061,12 +9043,12 @@ var ca = {
|
|
|
9061
9043
|
}
|
|
9062
9044
|
}), a.updateContainerElements(t), a;
|
|
9063
9045
|
};
|
|
9064
|
-
const
|
|
9046
|
+
const ov = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
9065
9047
|
__proto__: null,
|
|
9066
|
-
createFocusTrap:
|
|
9067
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
|
9048
|
+
createFocusTrap: rv
|
|
9049
|
+
}, Symbol.toStringTag, { value: "Module" })), iv = /* @__PURE__ */ ha(ov), av = /* @__PURE__ */ ha(Hp);
|
|
9068
9050
|
var da;
|
|
9069
|
-
function
|
|
9051
|
+
function lv() {
|
|
9070
9052
|
if (da) return Mn.exports;
|
|
9071
9053
|
da = 1;
|
|
9072
9054
|
function t(j) {
|
|
@@ -9143,7 +9125,7 @@ function sv() {
|
|
|
9143
9125
|
}
|
|
9144
9126
|
return (T === "string" ? String : Number)(j);
|
|
9145
9127
|
}
|
|
9146
|
-
var x = V, C =
|
|
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) {
|
|
9147
9129
|
function T(N) {
|
|
9148
9130
|
var S;
|
|
9149
9131
|
r(this, T), S = a(this, T, [N]), p(S, "getNodeForOption", function(L) {
|
|
@@ -9336,27 +9318,27 @@ function sv() {
|
|
|
9336
9318
|
_createFocusTrap: O
|
|
9337
9319
|
}, Mn.exports = _, Mn.exports.FocusTrap = _, Mn.exports;
|
|
9338
9320
|
}
|
|
9339
|
-
|
|
9321
|
+
lv();
|
|
9340
9322
|
me(void 0);
|
|
9341
9323
|
me(null);
|
|
9342
9324
|
me({});
|
|
9343
|
-
const
|
|
9325
|
+
const sv = `
|
|
9344
9326
|
jn:h-px
|
|
9345
9327
|
jn:w-full
|
|
9346
9328
|
jn:bg-theme-background-lvl-3
|
|
9347
|
-
`,
|
|
9348
|
-
({ className: t = "", ...n }, e) => /* @__PURE__ */ H.jsx("div", { className: `juno-select-divider ${
|
|
9329
|
+
`, cv = V.forwardRef(
|
|
9330
|
+
({ className: t = "", ...n }, e) => /* @__PURE__ */ H.jsx("div", { className: `juno-select-divider ${sv} ${t}`, ref: e, ...n })
|
|
9349
9331
|
);
|
|
9350
|
-
|
|
9332
|
+
cv.displayName = "SelectDivider";
|
|
9351
9333
|
me(void 0);
|
|
9352
9334
|
me(0);
|
|
9353
9335
|
me(void 0);
|
|
9354
|
-
const
|
|
9355
|
-
const t = V.useContext(
|
|
9336
|
+
const uv = V.createContext(null), Wl = () => {
|
|
9337
|
+
const t = V.useContext(uv);
|
|
9356
9338
|
if (t == null)
|
|
9357
9339
|
throw new Error("Tooltip components must be wrapped in <Tooltip />");
|
|
9358
9340
|
return t;
|
|
9359
|
-
},
|
|
9341
|
+
}, dv = `
|
|
9360
9342
|
jn:bg-theme-background-lvl-1
|
|
9361
9343
|
jn:text-theme-high
|
|
9362
9344
|
jn:inline-flex
|
|
@@ -9364,25 +9346,18 @@ const dv = V.createContext(null), Wl = () => {
|
|
|
9364
9346
|
jn:p-2
|
|
9365
9347
|
jn:rounded
|
|
9366
9348
|
jn:drop-shadow-[0_0_4px_rgba(0,0,0,0.15)]
|
|
9367
|
-
`,
|
|
9349
|
+
`, fv = `
|
|
9368
9350
|
jn:mx-4
|
|
9369
9351
|
jn:max-w-full
|
|
9370
|
-
`,
|
|
9352
|
+
`, pv = `
|
|
9371
9353
|
jn:shrink-0
|
|
9372
|
-
`,
|
|
9373
|
-
switch (t) {
|
|
9374
|
-
case "error":
|
|
9375
|
-
return "dangerous";
|
|
9376
|
-
default:
|
|
9377
|
-
return t;
|
|
9378
|
-
}
|
|
9379
|
-
};
|
|
9354
|
+
`, mv = (t) => t === "error" ? "dangerous" : t;
|
|
9380
9355
|
V.forwardRef(function({ className: t = "", children: n, ...e }, r) {
|
|
9381
|
-
const o = Wl(), i =
|
|
9356
|
+
const o = Wl(), i = Xr([o.refs?.setFloating ?? null, r]), a = o.variant;
|
|
9382
9357
|
return o.disabled ? null : /* @__PURE__ */ H.jsx(H.Fragment, { children: o.open && /* @__PURE__ */ H.jsxs(
|
|
9383
9358
|
"div",
|
|
9384
9359
|
{
|
|
9385
|
-
className: `juno-tooltip juno-tooltip-${a} ${
|
|
9360
|
+
className: `juno-tooltip juno-tooltip-${a} ${dv} ${t}`,
|
|
9386
9361
|
ref: i,
|
|
9387
9362
|
style: {
|
|
9388
9363
|
...o.floatingStyles
|
|
@@ -9392,21 +9367,21 @@ V.forwardRef(function({ className: t = "", children: n, ...e }, r) {
|
|
|
9392
9367
|
a && /* @__PURE__ */ H.jsx(
|
|
9393
9368
|
jn,
|
|
9394
9369
|
{
|
|
9395
|
-
icon:
|
|
9370
|
+
icon: mv(a),
|
|
9396
9371
|
color: `jn:text-theme-${a}`,
|
|
9397
|
-
className: `juno-tooltip-popover-icon ${
|
|
9372
|
+
className: `juno-tooltip-popover-icon ${pv}`
|
|
9398
9373
|
}
|
|
9399
9374
|
),
|
|
9400
|
-
/* @__PURE__ */ H.jsx("p", { className: `${
|
|
9375
|
+
/* @__PURE__ */ H.jsx("p", { className: `${fv}`, children: n })
|
|
9401
9376
|
]
|
|
9402
9377
|
}
|
|
9403
9378
|
) });
|
|
9404
9379
|
});
|
|
9405
9380
|
V.forwardRef(function({ children: t, asChild: n = !1, className: e = "", ...r }, o) {
|
|
9406
|
-
const i = Wl(), a =
|
|
9381
|
+
const i = Wl(), a = Xr([i.refs?.setReference, o]);
|
|
9407
9382
|
if (n && V.isValidElement(t)) {
|
|
9408
9383
|
const l = t.props, s = l.ref, u = i.refs?.setReference, c = {
|
|
9409
|
-
ref:
|
|
9384
|
+
ref: Xr([u, o, s]),
|
|
9410
9385
|
...r,
|
|
9411
9386
|
...l,
|
|
9412
9387
|
"data-state": i.open ? "open" : "closed",
|
|
@@ -9425,21 +9400,21 @@ V.forwardRef(function({ children: t, asChild: n = !1, className: e = "", ...r },
|
|
|
9425
9400
|
}
|
|
9426
9401
|
);
|
|
9427
9402
|
});
|
|
9428
|
-
const
|
|
9403
|
+
const hv = (t) => t === "info" || t === "success", wv = ({ className: t }) => {
|
|
9429
9404
|
const n = ys(), { removeMessage: e } = ws(), r = (o) => {
|
|
9430
9405
|
e(o);
|
|
9431
9406
|
};
|
|
9432
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) => {
|
|
9433
9408
|
const { id: a, variant: l, text: s, ...u } = o;
|
|
9434
9409
|
return /* @__PURE__ */ V.createElement(
|
|
9435
|
-
|
|
9410
|
+
$g,
|
|
9436
9411
|
{
|
|
9437
9412
|
role: "alert",
|
|
9438
9413
|
key: a,
|
|
9439
9414
|
className: i > 0 ? "mt-4" : "",
|
|
9440
9415
|
variant: l,
|
|
9441
9416
|
dismissible: !0,
|
|
9442
|
-
autoDismiss:
|
|
9417
|
+
autoDismiss: hv(l),
|
|
9443
9418
|
onDismiss: () => r(a),
|
|
9444
9419
|
...u
|
|
9445
9420
|
},
|
|
@@ -9448,8 +9423,8 @@ const gv = (t) => t === "info" || t === "success", xv = ({ className: t }) => {
|
|
|
9448
9423
|
})));
|
|
9449
9424
|
};
|
|
9450
9425
|
export {
|
|
9451
|
-
|
|
9452
|
-
|
|
9426
|
+
wv as Messages,
|
|
9427
|
+
yv as MessagesProvider,
|
|
9453
9428
|
ws as useActions,
|
|
9454
9429
|
ys as useMessages
|
|
9455
9430
|
};
|