@unizap/uniui 1.0.10 → 1.0.12
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/README.md +347 -53
- package/dist/uniui.css +1 -1
- package/dist/uniui.js +551 -551
- package/dist/uniui.umd.cjs +32 -32
- package/package.json +1 -1
package/dist/uniui.js
CHANGED
|
@@ -46,20 +46,20 @@ var Ie = {};
|
|
|
46
46
|
* This source code is licensed under the MIT license found in the
|
|
47
47
|
* LICENSE file in the root directory of this source tree.
|
|
48
48
|
*/
|
|
49
|
-
var
|
|
49
|
+
var hn;
|
|
50
50
|
function Gr() {
|
|
51
|
-
return
|
|
52
|
-
function e(
|
|
53
|
-
if (
|
|
54
|
-
if (typeof
|
|
55
|
-
return
|
|
56
|
-
if (typeof
|
|
57
|
-
switch (
|
|
51
|
+
return hn || (hn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
52
|
+
function e(h) {
|
|
53
|
+
if (h == null) return null;
|
|
54
|
+
if (typeof h == "function")
|
|
55
|
+
return h.$$typeof === W ? null : h.displayName || h.name || null;
|
|
56
|
+
if (typeof h == "string") return h;
|
|
57
|
+
switch (h) {
|
|
58
58
|
case v:
|
|
59
59
|
return "Fragment";
|
|
60
|
-
case
|
|
60
|
+
case x:
|
|
61
61
|
return "Profiler";
|
|
62
|
-
case
|
|
62
|
+
case b:
|
|
63
63
|
return "StrictMode";
|
|
64
64
|
case y:
|
|
65
65
|
return "Suspense";
|
|
@@ -68,126 +68,126 @@ function Gr() {
|
|
|
68
68
|
case M:
|
|
69
69
|
return "Activity";
|
|
70
70
|
}
|
|
71
|
-
if (typeof
|
|
72
|
-
switch (typeof
|
|
71
|
+
if (typeof h == "object")
|
|
72
|
+
switch (typeof h.tag == "number" && console.error(
|
|
73
73
|
"Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
|
|
74
|
-
),
|
|
74
|
+
), h.$$typeof) {
|
|
75
75
|
case m:
|
|
76
76
|
return "Portal";
|
|
77
|
-
case
|
|
78
|
-
return (
|
|
77
|
+
case w:
|
|
78
|
+
return (h.displayName || "Context") + ".Provider";
|
|
79
79
|
case _:
|
|
80
|
-
return (
|
|
80
|
+
return (h._context.displayName || "Context") + ".Consumer";
|
|
81
81
|
case A:
|
|
82
|
-
var C =
|
|
83
|
-
return
|
|
82
|
+
var C = h.render;
|
|
83
|
+
return h = h.displayName, h || (h = C.displayName || C.name || "", h = h !== "" ? "ForwardRef(" + h + ")" : "ForwardRef"), h;
|
|
84
84
|
case H:
|
|
85
|
-
return C =
|
|
85
|
+
return C = h.displayName || null, C !== null ? C : e(h.type) || "Memo";
|
|
86
86
|
case Y:
|
|
87
|
-
C =
|
|
87
|
+
C = h._payload, h = h._init;
|
|
88
88
|
try {
|
|
89
|
-
return e(
|
|
89
|
+
return e(h(C));
|
|
90
90
|
} catch {
|
|
91
91
|
}
|
|
92
92
|
}
|
|
93
93
|
return null;
|
|
94
94
|
}
|
|
95
|
-
function n(
|
|
96
|
-
return "" +
|
|
95
|
+
function n(h) {
|
|
96
|
+
return "" + h;
|
|
97
97
|
}
|
|
98
|
-
function t(
|
|
98
|
+
function t(h) {
|
|
99
99
|
try {
|
|
100
|
-
n(
|
|
100
|
+
n(h);
|
|
101
101
|
var C = !1;
|
|
102
102
|
} catch {
|
|
103
103
|
C = !0;
|
|
104
104
|
}
|
|
105
105
|
if (C) {
|
|
106
106
|
C = console;
|
|
107
|
-
var F = C.error, T = typeof Symbol == "function" && Symbol.toStringTag &&
|
|
107
|
+
var F = C.error, T = typeof Symbol == "function" && Symbol.toStringTag && h[Symbol.toStringTag] || h.constructor.name || "Object";
|
|
108
108
|
return F.call(
|
|
109
109
|
C,
|
|
110
110
|
"The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
|
|
111
111
|
T
|
|
112
|
-
), n(
|
|
112
|
+
), n(h);
|
|
113
113
|
}
|
|
114
114
|
}
|
|
115
|
-
function r(
|
|
116
|
-
if (
|
|
117
|
-
if (typeof
|
|
115
|
+
function r(h) {
|
|
116
|
+
if (h === v) return "<>";
|
|
117
|
+
if (typeof h == "object" && h !== null && h.$$typeof === Y)
|
|
118
118
|
return "<...>";
|
|
119
119
|
try {
|
|
120
|
-
var C = e(
|
|
120
|
+
var C = e(h);
|
|
121
121
|
return C ? "<" + C + ">" : "<...>";
|
|
122
122
|
} catch {
|
|
123
123
|
return "<...>";
|
|
124
124
|
}
|
|
125
125
|
}
|
|
126
126
|
function o() {
|
|
127
|
-
var
|
|
128
|
-
return
|
|
127
|
+
var h = ee.A;
|
|
128
|
+
return h === null ? null : h.getOwner();
|
|
129
129
|
}
|
|
130
130
|
function a() {
|
|
131
131
|
return Error("react-stack-top-frame");
|
|
132
132
|
}
|
|
133
|
-
function i(
|
|
134
|
-
if (se.call(
|
|
135
|
-
var C = Object.getOwnPropertyDescriptor(
|
|
133
|
+
function i(h) {
|
|
134
|
+
if (se.call(h, "key")) {
|
|
135
|
+
var C = Object.getOwnPropertyDescriptor(h, "key").get;
|
|
136
136
|
if (C && C.isReactWarning) return !1;
|
|
137
137
|
}
|
|
138
|
-
return
|
|
138
|
+
return h.key !== void 0;
|
|
139
139
|
}
|
|
140
|
-
function l(
|
|
140
|
+
function l(h, C) {
|
|
141
141
|
function F() {
|
|
142
142
|
U || (U = !0, console.error(
|
|
143
143
|
"%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
|
|
144
144
|
C
|
|
145
145
|
));
|
|
146
146
|
}
|
|
147
|
-
F.isReactWarning = !0, Object.defineProperty(
|
|
147
|
+
F.isReactWarning = !0, Object.defineProperty(h, "key", {
|
|
148
148
|
get: F,
|
|
149
149
|
configurable: !0
|
|
150
150
|
});
|
|
151
151
|
}
|
|
152
152
|
function c() {
|
|
153
|
-
var
|
|
154
|
-
return z[
|
|
153
|
+
var h = e(this.type);
|
|
154
|
+
return z[h] || (z[h] = !0, console.error(
|
|
155
155
|
"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."
|
|
156
|
-
)),
|
|
156
|
+
)), h = this.props.ref, h !== void 0 ? h : null;
|
|
157
157
|
}
|
|
158
|
-
function u(
|
|
159
|
-
return F = L.ref,
|
|
158
|
+
function u(h, C, F, T, R, L, P, k) {
|
|
159
|
+
return F = L.ref, h = {
|
|
160
160
|
$$typeof: f,
|
|
161
|
-
type:
|
|
161
|
+
type: h,
|
|
162
162
|
key: C,
|
|
163
163
|
props: L,
|
|
164
164
|
_owner: R
|
|
165
|
-
}, (F !== void 0 ? F : null) !== null ? Object.defineProperty(
|
|
165
|
+
}, (F !== void 0 ? F : null) !== null ? Object.defineProperty(h, "ref", {
|
|
166
166
|
enumerable: !1,
|
|
167
167
|
get: c
|
|
168
|
-
}) : Object.defineProperty(
|
|
168
|
+
}) : Object.defineProperty(h, "ref", { enumerable: !1, value: null }), h._store = {}, Object.defineProperty(h._store, "validated", {
|
|
169
169
|
configurable: !1,
|
|
170
170
|
enumerable: !1,
|
|
171
171
|
writable: !0,
|
|
172
172
|
value: 0
|
|
173
|
-
}), Object.defineProperty(
|
|
173
|
+
}), Object.defineProperty(h, "_debugInfo", {
|
|
174
174
|
configurable: !1,
|
|
175
175
|
enumerable: !1,
|
|
176
176
|
writable: !0,
|
|
177
177
|
value: null
|
|
178
|
-
}), Object.defineProperty(
|
|
178
|
+
}), Object.defineProperty(h, "_debugStack", {
|
|
179
179
|
configurable: !1,
|
|
180
180
|
enumerable: !1,
|
|
181
181
|
writable: !0,
|
|
182
182
|
value: P
|
|
183
|
-
}), Object.defineProperty(
|
|
183
|
+
}), Object.defineProperty(h, "_debugTask", {
|
|
184
184
|
configurable: !1,
|
|
185
185
|
enumerable: !1,
|
|
186
186
|
writable: !0,
|
|
187
187
|
value: k
|
|
188
|
-
}), Object.freeze && (Object.freeze(
|
|
188
|
+
}), Object.freeze && (Object.freeze(h.props), Object.freeze(h)), h;
|
|
189
189
|
}
|
|
190
|
-
function d(
|
|
190
|
+
function d(h, C, F, T, R, L, P, k) {
|
|
191
191
|
var E = C.children;
|
|
192
192
|
if (E !== void 0)
|
|
193
193
|
if (T)
|
|
@@ -201,7 +201,7 @@ function Gr() {
|
|
|
201
201
|
);
|
|
202
202
|
else g(E);
|
|
203
203
|
if (se.call(C, "key")) {
|
|
204
|
-
E = e(
|
|
204
|
+
E = e(h);
|
|
205
205
|
var O = Object.keys(C).filter(function(S) {
|
|
206
206
|
return S !== "key";
|
|
207
207
|
});
|
|
@@ -225,9 +225,9 @@ React keys must be passed directly to JSX without using spread:
|
|
|
225
225
|
} else F = C;
|
|
226
226
|
return E && l(
|
|
227
227
|
F,
|
|
228
|
-
typeof
|
|
228
|
+
typeof h == "function" ? h.displayName || h.name || "Unknown" : h
|
|
229
229
|
), u(
|
|
230
|
-
|
|
230
|
+
h,
|
|
231
231
|
E,
|
|
232
232
|
L,
|
|
233
233
|
R,
|
|
@@ -237,198 +237,198 @@ React keys must be passed directly to JSX without using spread:
|
|
|
237
237
|
k
|
|
238
238
|
);
|
|
239
239
|
}
|
|
240
|
-
function g(
|
|
241
|
-
typeof
|
|
240
|
+
function g(h) {
|
|
241
|
+
typeof h == "object" && h !== null && h.$$typeof === f && h._store && (h._store.validated = 1);
|
|
242
242
|
}
|
|
243
|
-
var p = tn, f = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), v = Symbol.for("react.fragment"),
|
|
243
|
+
var p = tn, f = Symbol.for("react.transitional.element"), m = Symbol.for("react.portal"), v = Symbol.for("react.fragment"), b = Symbol.for("react.strict_mode"), x = Symbol.for("react.profiler"), _ = Symbol.for("react.consumer"), w = Symbol.for("react.context"), A = Symbol.for("react.forward_ref"), y = Symbol.for("react.suspense"), I = Symbol.for("react.suspense_list"), H = Symbol.for("react.memo"), Y = Symbol.for("react.lazy"), M = Symbol.for("react.activity"), W = Symbol.for("react.client.reference"), ee = p.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, se = Object.prototype.hasOwnProperty, K = Array.isArray, N = console.createTask ? console.createTask : function() {
|
|
244
244
|
return null;
|
|
245
245
|
};
|
|
246
246
|
p = {
|
|
247
|
-
"react-stack-bottom-frame": function(
|
|
248
|
-
return
|
|
247
|
+
"react-stack-bottom-frame": function(h) {
|
|
248
|
+
return h();
|
|
249
249
|
}
|
|
250
250
|
};
|
|
251
251
|
var U, z = {}, ne = p["react-stack-bottom-frame"].bind(
|
|
252
252
|
p,
|
|
253
253
|
a
|
|
254
254
|
)(), ce = N(r(a)), Q = {};
|
|
255
|
-
Ie.Fragment = v, Ie.jsx = function(
|
|
255
|
+
Ie.Fragment = v, Ie.jsx = function(h, C, F, T, R) {
|
|
256
256
|
var L = 1e4 > ee.recentlyCreatedOwnerStacks++;
|
|
257
257
|
return d(
|
|
258
|
-
|
|
258
|
+
h,
|
|
259
259
|
C,
|
|
260
260
|
F,
|
|
261
261
|
!1,
|
|
262
262
|
T,
|
|
263
263
|
R,
|
|
264
264
|
L ? Error("react-stack-top-frame") : ne,
|
|
265
|
-
L ? N(r(
|
|
265
|
+
L ? N(r(h)) : ce
|
|
266
266
|
);
|
|
267
|
-
}, Ie.jsxs = function(
|
|
267
|
+
}, Ie.jsxs = function(h, C, F, T, R) {
|
|
268
268
|
var L = 1e4 > ee.recentlyCreatedOwnerStacks++;
|
|
269
269
|
return d(
|
|
270
|
-
|
|
270
|
+
h,
|
|
271
271
|
C,
|
|
272
272
|
F,
|
|
273
273
|
!0,
|
|
274
274
|
T,
|
|
275
275
|
R,
|
|
276
276
|
L ? Error("react-stack-top-frame") : ne,
|
|
277
|
-
L ? N(r(
|
|
277
|
+
L ? N(r(h)) : ce
|
|
278
278
|
);
|
|
279
279
|
};
|
|
280
280
|
}()), Ie;
|
|
281
281
|
}
|
|
282
|
-
var
|
|
282
|
+
var xn;
|
|
283
283
|
function Wr() {
|
|
284
|
-
return
|
|
284
|
+
return xn || (xn = 1, process.env.NODE_ENV === "production" ? Je.exports = qr() : Je.exports = Gr()), Je.exports;
|
|
285
285
|
}
|
|
286
286
|
var s = Wr();
|
|
287
287
|
const ge = {
|
|
288
288
|
dark: {
|
|
289
|
-
filled: "bg-color-gray-
|
|
290
|
-
outline: "border-color-gray-900 text-color-gray-900",
|
|
291
|
-
transparent: "text-color-gray-900",
|
|
289
|
+
filled: "bg-color-gray-800 text-color-gray-200 hover:bg-color-gray-900",
|
|
290
|
+
outline: "border-color-gray-900 text-color-gray-900 hover:bg-color-gray-50",
|
|
291
|
+
transparent: "text-color-gray-900 hover:bg-color-gray-50",
|
|
292
292
|
accent: "accent-color-gray-900",
|
|
293
293
|
peer: "peer-checked:border-color-gray-900 peer-checked:text-color-gray-900"
|
|
294
294
|
},
|
|
295
295
|
gray: {
|
|
296
|
-
filled: "bg-color-gray-500 text-color-white",
|
|
297
|
-
outline: "border-color-gray-500 text-color-gray-500",
|
|
298
|
-
transparent: "text-color-gray-500",
|
|
296
|
+
filled: "bg-color-gray-500 text-color-white hover:bg-color-gray-600",
|
|
297
|
+
outline: "border-color-gray-500 text-color-gray-500 hover:bg-color-gray-50",
|
|
298
|
+
transparent: "text-color-gray-500 hover:bg-color-gray-50",
|
|
299
299
|
accent: "accent-color-gray-500",
|
|
300
300
|
peer: "peer-checked:border-color-gray-500 peer-checked:text-color-gray-500"
|
|
301
301
|
},
|
|
302
302
|
light: {
|
|
303
|
-
filled: "bg-color-white text-color-gray-700",
|
|
304
|
-
outline: "border-color-white text-color-white",
|
|
305
|
-
transparent: "text-color-white",
|
|
303
|
+
filled: "bg-color-white text-color-gray-700 hover:bg-color-gray-50",
|
|
304
|
+
outline: "border-color-white text-color-white hover:bg-color-gray-50",
|
|
305
|
+
transparent: "text-color-white hover:bg-color-gray-50",
|
|
306
306
|
accent: "accent-color-white",
|
|
307
307
|
peer: "peer-checked:border-color-white peer-checked:text-color-white"
|
|
308
308
|
},
|
|
309
309
|
pearl: {
|
|
310
|
-
filled: "bg-color-zinc-200 text-color-zinc-600",
|
|
311
|
-
outline: "border-color-zinc-200 text-color-zinc-900",
|
|
312
|
-
transparent: "text-color-zinc-600",
|
|
310
|
+
filled: "bg-color-zinc-200 text-color-zinc-600 hover:bg-color-zinc-300",
|
|
311
|
+
outline: "border-color-zinc-200 text-color-zinc-900 hover:bg-color-zinc-50",
|
|
312
|
+
transparent: "text-color-zinc-600 hover:bg-color-zinc-50",
|
|
313
313
|
accent: "accent-color-zinc-200",
|
|
314
314
|
peer: "peer-checked:border-color-zinc-200 peer-checked:text-color-zinc-200"
|
|
315
315
|
},
|
|
316
316
|
red: {
|
|
317
|
-
filled: "bg-color-red-500 text-color-white",
|
|
318
|
-
outline: "border-color-red-500 text-color-red-500",
|
|
319
|
-
transparent: "text-color-red-500",
|
|
317
|
+
filled: "bg-color-red-500 text-color-white hover:bg-color-red-600",
|
|
318
|
+
outline: "border-color-red-500 text-color-red-500 hover:bg-color-red-50",
|
|
319
|
+
transparent: "text-color-red-500 hover:bg-color-red-50",
|
|
320
320
|
accent: "accent-color-red-500",
|
|
321
321
|
peer: "peer-checked:border-color-red-500 peer-checked:text-color-red-500"
|
|
322
322
|
},
|
|
323
323
|
orange: {
|
|
324
|
-
filled: "bg-color-orange-500 text-color-white",
|
|
325
|
-
outline: "border-color-orange-500 text-color-orange-500",
|
|
326
|
-
transparent: "text-color-orange-500",
|
|
324
|
+
filled: "bg-color-orange-500 text-color-white hover:bg-color-orange-600",
|
|
325
|
+
outline: "border-color-orange-500 text-color-orange-500 hover:bg-color-orange-50",
|
|
326
|
+
transparent: "text-color-orange-500 hover:bg-color-orange-50",
|
|
327
327
|
accent: "accent-color-orange-500",
|
|
328
328
|
peer: "peer-checked:border-color-orange-500 peer-checked:text-color-orange-500"
|
|
329
329
|
},
|
|
330
330
|
amber: {
|
|
331
|
-
filled: "bg-color-amber-500 text-color-white",
|
|
332
|
-
outline: "border-color-amber-500 text-color-amber-500",
|
|
333
|
-
transparent: "text-color-amber-500",
|
|
331
|
+
filled: "bg-color-amber-500 text-color-white hover:bg-color-amber-600",
|
|
332
|
+
outline: "border-color-amber-500 text-color-amber-500 hover:bg-color-amber-50",
|
|
333
|
+
transparent: "text-color-amber-500 hover:bg-color-amber-50",
|
|
334
334
|
accent: "accent-color-amber-500",
|
|
335
335
|
peer: "peer-checked:border-color-amber-500 peer-checked:text-color-amber-500"
|
|
336
336
|
},
|
|
337
337
|
yellow: {
|
|
338
|
-
filled: "bg-color-yellow-500 text-color-white",
|
|
339
|
-
outline: "border-color-yellow-500 text-color-yellow-500",
|
|
340
|
-
transparent: "text-color-yellow-500",
|
|
338
|
+
filled: "bg-color-yellow-500 text-color-white hover:bg-color-yellow-600",
|
|
339
|
+
outline: "border-color-yellow-500 text-color-yellow-500 hover:bg-color-yellow-50",
|
|
340
|
+
transparent: "text-color-yellow-500 hover:bg-color-yellow-50",
|
|
341
341
|
accent: "accent-color-yellow-500",
|
|
342
342
|
peer: "peer-checked:border-color-yellow-500 peer-checked:text-color-yellow-500"
|
|
343
343
|
},
|
|
344
344
|
lime: {
|
|
345
|
-
filled: "bg-color-lime-500 text-color-white",
|
|
346
|
-
outline: "border-color-lime-500 text-color-lime-500",
|
|
347
|
-
transparent: "text-color-lime-500",
|
|
345
|
+
filled: "bg-color-lime-500 text-color-white hover:bg-color-lime-600",
|
|
346
|
+
outline: "border-color-lime-500 text-color-lime-500 hover:bg-color-lime-50",
|
|
347
|
+
transparent: "text-color-lime-500 hover:bg-color-lime-50",
|
|
348
348
|
accent: "accent-color-lime-500",
|
|
349
349
|
peer: "peer-checked:border-color-lime-500 peer-checked:text-color-lime-500"
|
|
350
350
|
},
|
|
351
351
|
green: {
|
|
352
|
-
filled: "bg-color-green-500 text-color-white",
|
|
353
|
-
outline: "border-color-green-500 text-color-green-500",
|
|
354
|
-
transparent: "text-color-green-500",
|
|
352
|
+
filled: "bg-color-green-500 text-color-white hover:bg-color-green-600",
|
|
353
|
+
outline: "border-color-green-500 text-color-green-500 hover:bg-color-green-50",
|
|
354
|
+
transparent: "text-color-green-500 hover:bg-color-green-50",
|
|
355
355
|
accent: "accent-color-green-500",
|
|
356
356
|
peer: "peer-checked:border-color-green-500 peer-checked:text-color-green-500"
|
|
357
357
|
},
|
|
358
358
|
emerald: {
|
|
359
|
-
filled: "bg-color-emerald-500 text-color-white",
|
|
360
|
-
outline: "border-color-emerald-500 text-color-emerald-500",
|
|
361
|
-
transparent: "text-color-emerald-500",
|
|
359
|
+
filled: "bg-color-emerald-500 text-color-white hover:bg-color-emerald-600",
|
|
360
|
+
outline: "border-color-emerald-500 text-color-emerald-500 hover:bg-color-emerald-50",
|
|
361
|
+
transparent: "text-color-emerald-500 hover:bg-color-emerald-50",
|
|
362
362
|
accent: "accent-color-emerald-500",
|
|
363
363
|
peer: "peer-checked:border-color-emerald-500 peer-checked:text-color-emerald-500"
|
|
364
364
|
},
|
|
365
365
|
teal: {
|
|
366
|
-
filled: "bg-color-teal-500 text-color-white",
|
|
367
|
-
outline: "border-color-teal-500 text-color-teal-500",
|
|
368
|
-
transparent: "text-color-teal-500",
|
|
366
|
+
filled: "bg-color-teal-500 text-color-white hover:bg-color-teal-600",
|
|
367
|
+
outline: "border-color-teal-500 text-color-teal-500 hover:bg-color-teal-50",
|
|
368
|
+
transparent: "text-color-teal-500 hover:bg-color-teal-50",
|
|
369
369
|
accent: "accent-color-teal-500",
|
|
370
370
|
peer: "peer-checked:border-color-teal-500 peer-checked:text-color-teal-500"
|
|
371
371
|
},
|
|
372
372
|
cyan: {
|
|
373
|
-
filled: "bg-color-cyan-500 text-color-white",
|
|
374
|
-
outline: "border-color-cyan-500 text-color-cyan-500",
|
|
375
|
-
transparent: "text-color-cyan-500",
|
|
373
|
+
filled: "bg-color-cyan-500 text-color-white hover:bg-color-cyan-600",
|
|
374
|
+
outline: "border-color-cyan-500 text-color-cyan-500 hover:bg-color-cyan-50",
|
|
375
|
+
transparent: "text-color-cyan-500 hover:bg-color-cyan-50",
|
|
376
376
|
accent: "accent-color-cyan-500",
|
|
377
377
|
peer: "peer-checked:border-color-cyan-500 peer-checked:text-color-cyan-500"
|
|
378
378
|
},
|
|
379
379
|
sky: {
|
|
380
|
-
filled: "bg-color-sky-500 text-color-white",
|
|
381
|
-
outline: "border-color-sky-500 text-color-sky-500",
|
|
382
|
-
transparent: "text-color-sky-500",
|
|
380
|
+
filled: "bg-color-sky-500 text-color-white hover:bg-color-sky-600",
|
|
381
|
+
outline: "border-color-sky-500 text-color-sky-500 hover:bg-color-sky-50",
|
|
382
|
+
transparent: "text-color-sky-500 hover:bg-color-sky-50",
|
|
383
383
|
accent: "accent-color-sky-500",
|
|
384
384
|
peer: "peer-checked:border-color-sky-500 peer-checked:text-color-sky-500"
|
|
385
385
|
},
|
|
386
386
|
blue: {
|
|
387
|
-
filled: "bg-color-blue-500 text-color-white",
|
|
388
|
-
outline: "border-color-blue-500 text-color-blue-500",
|
|
389
|
-
transparent: "text-color-blue-500",
|
|
387
|
+
filled: "bg-color-blue-500 text-color-white hover:bg-color-blue-600",
|
|
388
|
+
outline: "border-color-blue-500 text-color-blue-500 hover:bg-color-blue-50",
|
|
389
|
+
transparent: "text-color-blue-500 hover:bg-color-blue-50",
|
|
390
390
|
accent: "accent-color-blue-500",
|
|
391
391
|
peer: "peer-checked:border-color-blue-500 peer-checked:text-color-blue-500"
|
|
392
392
|
},
|
|
393
393
|
indigo: {
|
|
394
|
-
filled: "bg-color-indigo-500 text-color-white",
|
|
395
|
-
outline: "border-color-indigo-500 text-color-indigo-500",
|
|
396
|
-
transparent: "text-color-indigo-500",
|
|
394
|
+
filled: "bg-color-indigo-500 text-color-white hover:bg-color-indigo-600",
|
|
395
|
+
outline: "border-color-indigo-500 text-color-indigo-500 hover:bg-color-indigo-50",
|
|
396
|
+
transparent: "text-color-indigo-500 hover:bg-color-indigo-50",
|
|
397
397
|
accent: "accent-color-indigo-500",
|
|
398
398
|
peer: "peer-checked:border-color-indigo-500 peer-checked:text-color-indigo-500"
|
|
399
399
|
},
|
|
400
400
|
violet: {
|
|
401
|
-
filled: "bg-color-violet-500 text-color-white",
|
|
402
|
-
outline: "border-color-violet-500 text-color-violet-500",
|
|
403
|
-
transparent: "text-color-violet-500",
|
|
401
|
+
filled: "bg-color-violet-500 text-color-white hover:bg-color-violet-600",
|
|
402
|
+
outline: "border-color-violet-500 text-color-violet-500 hover:bg-color-violet-50",
|
|
403
|
+
transparent: "text-color-violet-500 hover:bg-color-violet-50",
|
|
404
404
|
accent: "accent-color-violet-500",
|
|
405
405
|
peer: "peer-checked:border-color-violet-500 peer-checked:text-color-violet-500"
|
|
406
406
|
},
|
|
407
407
|
purple: {
|
|
408
|
-
filled: "bg-color-purple-500 text-color-white",
|
|
409
|
-
outline: "border-color-purple-500 text-color-purple-500",
|
|
410
|
-
transparent: "text-color-purple-500",
|
|
408
|
+
filled: "bg-color-purple-500 text-color-white hover:bg-color-purple-600",
|
|
409
|
+
outline: "border-color-purple-500 text-color-purple-500 hover:bg-color-purple-50",
|
|
410
|
+
transparent: "text-color-purple-500 hover:bg-color-purple-50",
|
|
411
411
|
accent: "accent-color-purple-500",
|
|
412
412
|
peer: "peer-checked:border-color-purple-500 peer-checked:text-color-purple-500"
|
|
413
413
|
},
|
|
414
414
|
fuchsia: {
|
|
415
|
-
filled: "bg-color-fuchsia-500 text-color-white",
|
|
416
|
-
outline: "border-color-fuchsia-500 text-color-fuchsia-500",
|
|
417
|
-
transparent: "text-color-fuchsia-500",
|
|
415
|
+
filled: "bg-color-fuchsia-500 text-color-white hover:bg-color-fuchsia-600",
|
|
416
|
+
outline: "border-color-fuchsia-500 text-color-fuchsia-500 hover:bg-color-fuchsia-50",
|
|
417
|
+
transparent: "text-color-fuchsia-500 hover:bg-color-fuchsia-50",
|
|
418
418
|
accent: "accent-color-fuchsia-500",
|
|
419
419
|
peer: "peer-checked:border-color-fuchsia-500 peer-checked:text-color-fuchsia-500"
|
|
420
420
|
},
|
|
421
421
|
pink: {
|
|
422
|
-
filled: "bg-color-pink-500 text-color-white",
|
|
423
|
-
outline: "border-color-pink-500 text-color-pink-500",
|
|
424
|
-
transparent: "text-color-pink-500",
|
|
422
|
+
filled: "bg-color-pink-500 text-color-white hover:bg-color-pink-600",
|
|
423
|
+
outline: "border-color-pink-500 text-color-pink-500 hover:bg-color-pink-50",
|
|
424
|
+
transparent: "text-color-pink-500 hover:bg-color-pink-50",
|
|
425
425
|
accent: "accent-color-pink-500",
|
|
426
426
|
peer: "peer-checked:border-color-pink-500 peer-checked:text-color-pink-500"
|
|
427
427
|
},
|
|
428
428
|
rose: {
|
|
429
|
-
filled: "bg-color-rose-500 text-color-white",
|
|
430
|
-
outline: "border-color-rose-500 text-color-rose-500",
|
|
431
|
-
transparent: "text-color-rose-500",
|
|
429
|
+
filled: "bg-color-rose-500 text-color-white hover:bg-color-rose-600",
|
|
430
|
+
outline: "border-color-rose-500 text-color-rose-500 hover:bg-color-rose-50",
|
|
431
|
+
transparent: "text-color-rose-500 hover:bg-color-rose-50",
|
|
432
432
|
accent: "accent-color-rose-500",
|
|
433
433
|
peer: "peer-checked:border-color-rose-500 peer-checked:text-color-rose-500"
|
|
434
434
|
}
|
|
@@ -603,26 +603,26 @@ const ge = {
|
|
|
603
603
|
...v
|
|
604
604
|
}) => {
|
|
605
605
|
var A;
|
|
606
|
-
const
|
|
607
|
-
const I =
|
|
606
|
+
const b = ie(null), x = ie(null), _ = (y) => {
|
|
607
|
+
const I = b.current;
|
|
608
608
|
if (!I) return;
|
|
609
609
|
const H = document.createElement("span"), Y = I.getBoundingClientRect(), M = Math.max(Y.width, Y.height);
|
|
610
610
|
H.style.width = H.style.height = `${M}px`, H.style.left = `${y.clientX - Y.left - M / 2}px`, H.style.top = `${y.clientY - Y.top - M / 2}px`, H.className = "ripple", I.appendChild(H), setTimeout(() => H.remove(), 600), a == null || a(y);
|
|
611
|
-
},
|
|
611
|
+
}, w = ((A = ge[r]) == null ? void 0 : A[t === "filled" ? "filled" : t === "outlined" ? "outline" : "transparent"]) || "";
|
|
612
612
|
return /* @__PURE__ */ s.jsx(s.Fragment, { children: f ? /* @__PURE__ */ s.jsxs(
|
|
613
613
|
"a",
|
|
614
614
|
{
|
|
615
|
-
ref:
|
|
615
|
+
ref: x,
|
|
616
616
|
href: f,
|
|
617
617
|
target: m,
|
|
618
|
-
className: `relative no-underline inline-flex
|
|
618
|
+
className: `relative leading-none no-underline inline-flex font-medium overflow-hidden flex items-center justify-center gap-1 transition-all focus:outline-0
|
|
619
619
|
${t === "outlined" && "border"}
|
|
620
|
-
${
|
|
620
|
+
${w}
|
|
621
621
|
${i}
|
|
622
622
|
${d === "small" ? "text-sm h-8 px-3" : d === "large" ? "text-lg h-12 px-6" : "text-base h-10 px-5"}
|
|
623
623
|
${l ? "w-full" : ""}
|
|
624
624
|
${u ? "rounded-full" : "rounded-md"}
|
|
625
|
-
${c ? `${t === "filled" && "!bg-color-gray-300 !text-color-white"} ${t === "outlined" && "!border-color-gray-200 !text-color-gray-300"} cursor-not-allowed hover:bg-color-transparent !text-color-gray-300` : "cursor-pointer
|
|
625
|
+
${c ? `${t === "filled" && "!bg-color-gray-300 !text-color-white"} ${t === "outlined" && "!border-color-gray-200 !text-color-gray-300"} cursor-not-allowed hover:bg-color-transparent !text-color-gray-300` : "cursor-pointer"}
|
|
626
626
|
`,
|
|
627
627
|
children: [
|
|
628
628
|
o && /* @__PURE__ */ s.jsx("span", { className: "mr-1", children: o }),
|
|
@@ -632,18 +632,18 @@ const ge = {
|
|
|
632
632
|
) : /* @__PURE__ */ s.jsxs(
|
|
633
633
|
"button",
|
|
634
634
|
{
|
|
635
|
-
ref:
|
|
635
|
+
ref: b,
|
|
636
636
|
type: g,
|
|
637
637
|
disabled: c,
|
|
638
638
|
onClick: _,
|
|
639
|
-
className: `relative
|
|
639
|
+
className: `relative leading-none font-medium overflow-hidden flex items-center justify-center gap-1 transition-all focus:outline-0
|
|
640
640
|
${t === "outlined" && "border"}
|
|
641
|
-
${
|
|
641
|
+
${w}
|
|
642
642
|
${i}
|
|
643
643
|
${d === "small" ? "text-sm h-8 px-3" : d === "large" ? "text-lg h-12 px-6" : "text-base h-10 px-5"}
|
|
644
644
|
${l ? "w-full" : ""}
|
|
645
645
|
${u ? "rounded-full" : "rounded-md"}
|
|
646
|
-
${c ? `${t === "filled" && "!bg-color-gray-300 !text-color-white"} ${t === "outlined" && "!border-color-gray-200 !text-color-gray-300"} cursor-not-allowed hover:bg-color-transparent !text-color-gray-300` : "cursor-pointer
|
|
646
|
+
${c ? `${t === "filled" && "!bg-color-gray-300 !text-color-white"} ${t === "outlined" && "!border-color-gray-200 !text-color-gray-300"} cursor-not-allowed hover:bg-color-transparent !text-color-gray-300` : "cursor-pointer"}
|
|
647
647
|
`,
|
|
648
648
|
autoFocus: p,
|
|
649
649
|
...v,
|
|
@@ -773,12 +773,12 @@ var Qe = { exports: {} }, et = { exports: {} }, X = {};
|
|
|
773
773
|
* This source code is licensed under the MIT license found in the
|
|
774
774
|
* LICENSE file in the root directory of this source tree.
|
|
775
775
|
*/
|
|
776
|
-
var
|
|
776
|
+
var bn;
|
|
777
777
|
function Ur() {
|
|
778
|
-
if (
|
|
779
|
-
|
|
780
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121,
|
|
781
|
-
function
|
|
778
|
+
if (bn) return X;
|
|
779
|
+
bn = 1;
|
|
780
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
781
|
+
function w(y) {
|
|
782
782
|
if (typeof y == "object" && y !== null) {
|
|
783
783
|
var I = y.$$typeof;
|
|
784
784
|
switch (I) {
|
|
@@ -809,35 +809,35 @@ function Ur() {
|
|
|
809
809
|
}
|
|
810
810
|
}
|
|
811
811
|
function A(y) {
|
|
812
|
-
return
|
|
812
|
+
return w(y) === u;
|
|
813
813
|
}
|
|
814
814
|
return X.AsyncMode = c, X.ConcurrentMode = u, X.ContextConsumer = l, X.ContextProvider = i, X.Element = n, X.ForwardRef = d, X.Fragment = r, X.Lazy = m, X.Memo = f, X.Portal = t, X.Profiler = a, X.StrictMode = o, X.Suspense = g, X.isAsyncMode = function(y) {
|
|
815
|
-
return A(y) ||
|
|
815
|
+
return A(y) || w(y) === c;
|
|
816
816
|
}, X.isConcurrentMode = A, X.isContextConsumer = function(y) {
|
|
817
|
-
return
|
|
817
|
+
return w(y) === l;
|
|
818
818
|
}, X.isContextProvider = function(y) {
|
|
819
|
-
return
|
|
819
|
+
return w(y) === i;
|
|
820
820
|
}, X.isElement = function(y) {
|
|
821
821
|
return typeof y == "object" && y !== null && y.$$typeof === n;
|
|
822
822
|
}, X.isForwardRef = function(y) {
|
|
823
|
-
return
|
|
823
|
+
return w(y) === d;
|
|
824
824
|
}, X.isFragment = function(y) {
|
|
825
|
-
return
|
|
825
|
+
return w(y) === r;
|
|
826
826
|
}, X.isLazy = function(y) {
|
|
827
|
-
return
|
|
827
|
+
return w(y) === m;
|
|
828
828
|
}, X.isMemo = function(y) {
|
|
829
|
-
return
|
|
829
|
+
return w(y) === f;
|
|
830
830
|
}, X.isPortal = function(y) {
|
|
831
|
-
return
|
|
831
|
+
return w(y) === t;
|
|
832
832
|
}, X.isProfiler = function(y) {
|
|
833
|
-
return
|
|
833
|
+
return w(y) === a;
|
|
834
834
|
}, X.isStrictMode = function(y) {
|
|
835
|
-
return
|
|
835
|
+
return w(y) === o;
|
|
836
836
|
}, X.isSuspense = function(y) {
|
|
837
|
-
return
|
|
837
|
+
return w(y) === g;
|
|
838
838
|
}, X.isValidElementType = function(y) {
|
|
839
|
-
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === a || y === o || y === g || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === f || y.$$typeof === i || y.$$typeof === l || y.$$typeof === d || y.$$typeof ===
|
|
840
|
-
}, X.typeOf =
|
|
839
|
+
return typeof y == "string" || typeof y == "function" || y === r || y === u || y === a || y === o || y === g || y === p || typeof y == "object" && y !== null && (y.$$typeof === m || y.$$typeof === f || y.$$typeof === i || y.$$typeof === l || y.$$typeof === d || y.$$typeof === b || y.$$typeof === x || y.$$typeof === _ || y.$$typeof === v);
|
|
840
|
+
}, X.typeOf = w, X;
|
|
841
841
|
}
|
|
842
842
|
var J = {};
|
|
843
843
|
/** @license React v16.13.1
|
|
@@ -848,13 +848,13 @@ var J = {};
|
|
|
848
848
|
* This source code is licensed under the MIT license found in the
|
|
849
849
|
* LICENSE file in the root directory of this source tree.
|
|
850
850
|
*/
|
|
851
|
-
var
|
|
851
|
+
var wn;
|
|
852
852
|
function Yr() {
|
|
853
|
-
return
|
|
854
|
-
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121,
|
|
855
|
-
function
|
|
853
|
+
return wn || (wn = 1, process.env.NODE_ENV !== "production" && function() {
|
|
854
|
+
var e = typeof Symbol == "function" && Symbol.for, n = e ? Symbol.for("react.element") : 60103, t = e ? Symbol.for("react.portal") : 60106, r = e ? Symbol.for("react.fragment") : 60107, o = e ? Symbol.for("react.strict_mode") : 60108, a = e ? Symbol.for("react.profiler") : 60114, i = e ? Symbol.for("react.provider") : 60109, l = e ? Symbol.for("react.context") : 60110, c = e ? Symbol.for("react.async_mode") : 60111, u = e ? Symbol.for("react.concurrent_mode") : 60111, d = e ? Symbol.for("react.forward_ref") : 60112, g = e ? Symbol.for("react.suspense") : 60113, p = e ? Symbol.for("react.suspense_list") : 60120, f = e ? Symbol.for("react.memo") : 60115, m = e ? Symbol.for("react.lazy") : 60116, v = e ? Symbol.for("react.block") : 60121, b = e ? Symbol.for("react.fundamental") : 60117, x = e ? Symbol.for("react.responder") : 60118, _ = e ? Symbol.for("react.scope") : 60119;
|
|
855
|
+
function w(j) {
|
|
856
856
|
return typeof j == "string" || typeof j == "function" || // Note: its typeof might be other than 'symbol' or 'number' if it's a polyfill.
|
|
857
|
-
j === r || j === u || j === a || j === o || j === g || j === p || typeof j == "object" && j !== null && (j.$$typeof === m || j.$$typeof === f || j.$$typeof === i || j.$$typeof === l || j.$$typeof === d || j.$$typeof ===
|
|
857
|
+
j === r || j === u || j === a || j === o || j === g || j === p || typeof j == "object" && j !== null && (j.$$typeof === m || j.$$typeof === f || j.$$typeof === i || j.$$typeof === l || j.$$typeof === d || j.$$typeof === b || j.$$typeof === x || j.$$typeof === _ || j.$$typeof === v);
|
|
858
858
|
}
|
|
859
859
|
function A(j) {
|
|
860
860
|
if (typeof j == "object" && j !== null) {
|
|
@@ -890,9 +890,9 @@ function Yr() {
|
|
|
890
890
|
}
|
|
891
891
|
var y = c, I = u, H = l, Y = i, M = n, W = d, ee = r, se = m, K = f, N = t, U = a, z = o, ne = g, ce = !1;
|
|
892
892
|
function Q(j) {
|
|
893
|
-
return ce || (ce = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")),
|
|
893
|
+
return ce || (ce = !0, console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 17+. Update your code to use ReactIs.isConcurrentMode() instead. It has the exact same API.")), h(j) || A(j) === c;
|
|
894
894
|
}
|
|
895
|
-
function
|
|
895
|
+
function h(j) {
|
|
896
896
|
return A(j) === u;
|
|
897
897
|
}
|
|
898
898
|
function C(j) {
|
|
@@ -928,7 +928,7 @@ function Yr() {
|
|
|
928
928
|
function S(j) {
|
|
929
929
|
return A(j) === g;
|
|
930
930
|
}
|
|
931
|
-
J.AsyncMode = y, J.ConcurrentMode = I, J.ContextConsumer = H, J.ContextProvider = Y, J.Element = M, J.ForwardRef = W, J.Fragment = ee, J.Lazy = se, J.Memo = K, J.Portal = N, J.Profiler = U, J.StrictMode = z, J.Suspense = ne, J.isAsyncMode = Q, J.isConcurrentMode =
|
|
931
|
+
J.AsyncMode = y, J.ConcurrentMode = I, J.ContextConsumer = H, J.ContextProvider = Y, J.Element = M, J.ForwardRef = W, J.Fragment = ee, J.Lazy = se, J.Memo = K, J.Portal = N, J.Profiler = U, J.StrictMode = z, J.Suspense = ne, J.isAsyncMode = Q, J.isConcurrentMode = h, J.isContextConsumer = C, J.isContextProvider = F, J.isElement = T, J.isForwardRef = R, J.isFragment = L, J.isLazy = P, J.isMemo = k, J.isPortal = E, J.isProfiler = O, J.isStrictMode = V, J.isSuspense = S, J.isValidElementType = w, J.typeOf = A;
|
|
932
932
|
}()), J;
|
|
933
933
|
}
|
|
934
934
|
var yn;
|
|
@@ -1065,22 +1065,22 @@ function Xr() {
|
|
|
1065
1065
|
}
|
|
1066
1066
|
return _t = function(l, c) {
|
|
1067
1067
|
var u = typeof Symbol == "function" && Symbol.iterator, d = "@@iterator";
|
|
1068
|
-
function g(
|
|
1069
|
-
var C =
|
|
1068
|
+
function g(h) {
|
|
1069
|
+
var C = h && (u && h[u] || h[d]);
|
|
1070
1070
|
if (typeof C == "function")
|
|
1071
1071
|
return C;
|
|
1072
1072
|
}
|
|
1073
1073
|
var p = "<<anonymous>>", f = {
|
|
1074
|
-
array:
|
|
1075
|
-
bigint:
|
|
1076
|
-
bool:
|
|
1077
|
-
func:
|
|
1078
|
-
number:
|
|
1079
|
-
object:
|
|
1080
|
-
string:
|
|
1081
|
-
symbol:
|
|
1074
|
+
array: x("array"),
|
|
1075
|
+
bigint: x("bigint"),
|
|
1076
|
+
bool: x("boolean"),
|
|
1077
|
+
func: x("function"),
|
|
1078
|
+
number: x("number"),
|
|
1079
|
+
object: x("object"),
|
|
1080
|
+
string: x("string"),
|
|
1081
|
+
symbol: x("symbol"),
|
|
1082
1082
|
any: _(),
|
|
1083
|
-
arrayOf:
|
|
1083
|
+
arrayOf: w,
|
|
1084
1084
|
element: A(),
|
|
1085
1085
|
elementType: y(),
|
|
1086
1086
|
instanceOf: I,
|
|
@@ -1091,14 +1091,14 @@ function Xr() {
|
|
|
1091
1091
|
shape: se,
|
|
1092
1092
|
exact: K
|
|
1093
1093
|
};
|
|
1094
|
-
function m(
|
|
1095
|
-
return
|
|
1094
|
+
function m(h, C) {
|
|
1095
|
+
return h === C ? h !== 0 || 1 / h === 1 / C : h !== h && C !== C;
|
|
1096
1096
|
}
|
|
1097
|
-
function v(
|
|
1098
|
-
this.message =
|
|
1097
|
+
function v(h, C) {
|
|
1098
|
+
this.message = h, this.data = C && typeof C == "object" ? C : {}, this.stack = "";
|
|
1099
1099
|
}
|
|
1100
1100
|
v.prototype = Error.prototype;
|
|
1101
|
-
function
|
|
1101
|
+
function b(h) {
|
|
1102
1102
|
if (process.env.NODE_ENV !== "production")
|
|
1103
1103
|
var C = {}, F = 0;
|
|
1104
1104
|
function T(L, P, k, E, O, V, S) {
|
|
@@ -1116,31 +1116,31 @@ function Xr() {
|
|
|
1116
1116
|
), C[oe] = !0, F++);
|
|
1117
1117
|
}
|
|
1118
1118
|
}
|
|
1119
|
-
return P[k] == null ? L ? P[k] === null ? new v("The " + O + " `" + V + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new v("The " + O + " `" + V + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null :
|
|
1119
|
+
return P[k] == null ? L ? P[k] === null ? new v("The " + O + " `" + V + "` is marked as required " + ("in `" + E + "`, but its value is `null`.")) : new v("The " + O + " `" + V + "` is marked as required in " + ("`" + E + "`, but its value is `undefined`.")) : null : h(P, k, E, O, V);
|
|
1120
1120
|
}
|
|
1121
1121
|
var R = T.bind(null, !1);
|
|
1122
1122
|
return R.isRequired = T.bind(null, !0), R;
|
|
1123
1123
|
}
|
|
1124
|
-
function h
|
|
1124
|
+
function x(h) {
|
|
1125
1125
|
function C(F, T, R, L, P, k) {
|
|
1126
1126
|
var E = F[T], O = z(E);
|
|
1127
|
-
if (O !==
|
|
1127
|
+
if (O !== h) {
|
|
1128
1128
|
var V = ne(E);
|
|
1129
1129
|
return new v(
|
|
1130
|
-
"Invalid " + L + " `" + P + "` of type " + ("`" + V + "` supplied to `" + R + "`, expected ") + ("`" +
|
|
1131
|
-
{ expectedType:
|
|
1130
|
+
"Invalid " + L + " `" + P + "` of type " + ("`" + V + "` supplied to `" + R + "`, expected ") + ("`" + h + "`."),
|
|
1131
|
+
{ expectedType: h }
|
|
1132
1132
|
);
|
|
1133
1133
|
}
|
|
1134
1134
|
return null;
|
|
1135
1135
|
}
|
|
1136
|
-
return
|
|
1136
|
+
return b(C);
|
|
1137
1137
|
}
|
|
1138
1138
|
function _() {
|
|
1139
|
-
return
|
|
1139
|
+
return b(i);
|
|
1140
1140
|
}
|
|
1141
|
-
function
|
|
1141
|
+
function w(h) {
|
|
1142
1142
|
function C(F, T, R, L, P) {
|
|
1143
|
-
if (typeof
|
|
1143
|
+
if (typeof h != "function")
|
|
1144
1144
|
return new v("Property `" + P + "` of component `" + R + "` has invalid PropType notation inside arrayOf.");
|
|
1145
1145
|
var k = F[T];
|
|
1146
1146
|
if (!Array.isArray(k)) {
|
|
@@ -1148,16 +1148,16 @@ function Xr() {
|
|
|
1148
1148
|
return new v("Invalid " + L + " `" + P + "` of type " + ("`" + E + "` supplied to `" + R + "`, expected an array."));
|
|
1149
1149
|
}
|
|
1150
1150
|
for (var O = 0; O < k.length; O++) {
|
|
1151
|
-
var V =
|
|
1151
|
+
var V = h(k, O, R, L, P + "[" + O + "]", t);
|
|
1152
1152
|
if (V instanceof Error)
|
|
1153
1153
|
return V;
|
|
1154
1154
|
}
|
|
1155
1155
|
return null;
|
|
1156
1156
|
}
|
|
1157
|
-
return
|
|
1157
|
+
return b(C);
|
|
1158
1158
|
}
|
|
1159
1159
|
function A() {
|
|
1160
|
-
function
|
|
1160
|
+
function h(C, F, T, R, L) {
|
|
1161
1161
|
var P = C[F];
|
|
1162
1162
|
if (!l(P)) {
|
|
1163
1163
|
var k = z(P);
|
|
@@ -1165,10 +1165,10 @@ function Xr() {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
return null;
|
|
1167
1167
|
}
|
|
1168
|
-
return
|
|
1168
|
+
return b(h);
|
|
1169
1169
|
}
|
|
1170
1170
|
function y() {
|
|
1171
|
-
function
|
|
1171
|
+
function h(C, F, T, R, L) {
|
|
1172
1172
|
var P = C[F];
|
|
1173
1173
|
if (!e.isValidElementType(P)) {
|
|
1174
1174
|
var k = z(P);
|
|
@@ -1176,65 +1176,65 @@ function Xr() {
|
|
|
1176
1176
|
}
|
|
1177
1177
|
return null;
|
|
1178
1178
|
}
|
|
1179
|
-
return
|
|
1179
|
+
return b(h);
|
|
1180
1180
|
}
|
|
1181
|
-
function I(
|
|
1181
|
+
function I(h) {
|
|
1182
1182
|
function C(F, T, R, L, P) {
|
|
1183
|
-
if (!(F[T] instanceof
|
|
1184
|
-
var k =
|
|
1183
|
+
if (!(F[T] instanceof h)) {
|
|
1184
|
+
var k = h.name || p, E = Q(F[T]);
|
|
1185
1185
|
return new v("Invalid " + L + " `" + P + "` of type " + ("`" + E + "` supplied to `" + R + "`, expected ") + ("instance of `" + k + "`."));
|
|
1186
1186
|
}
|
|
1187
1187
|
return null;
|
|
1188
1188
|
}
|
|
1189
|
-
return
|
|
1189
|
+
return b(C);
|
|
1190
1190
|
}
|
|
1191
|
-
function H(
|
|
1192
|
-
if (!Array.isArray(
|
|
1191
|
+
function H(h) {
|
|
1192
|
+
if (!Array.isArray(h))
|
|
1193
1193
|
return process.env.NODE_ENV !== "production" && (arguments.length > 1 ? a(
|
|
1194
1194
|
"Invalid arguments supplied to oneOf, expected an array, got " + arguments.length + " arguments. A common mistake is to write oneOf(x, y, z) instead of oneOf([x, y, z])."
|
|
1195
1195
|
) : a("Invalid argument supplied to oneOf, expected an array.")), i;
|
|
1196
1196
|
function C(F, T, R, L, P) {
|
|
1197
|
-
for (var k = F[T], E = 0; E <
|
|
1198
|
-
if (m(k,
|
|
1197
|
+
for (var k = F[T], E = 0; E < h.length; E++)
|
|
1198
|
+
if (m(k, h[E]))
|
|
1199
1199
|
return null;
|
|
1200
|
-
var O = JSON.stringify(
|
|
1200
|
+
var O = JSON.stringify(h, function(S, j) {
|
|
1201
1201
|
var oe = ne(j);
|
|
1202
1202
|
return oe === "symbol" ? String(j) : j;
|
|
1203
1203
|
});
|
|
1204
1204
|
return new v("Invalid " + L + " `" + P + "` of value `" + String(k) + "` " + ("supplied to `" + R + "`, expected one of " + O + "."));
|
|
1205
1205
|
}
|
|
1206
|
-
return
|
|
1206
|
+
return b(C);
|
|
1207
1207
|
}
|
|
1208
|
-
function Y(
|
|
1208
|
+
function Y(h) {
|
|
1209
1209
|
function C(F, T, R, L, P) {
|
|
1210
|
-
if (typeof
|
|
1210
|
+
if (typeof h != "function")
|
|
1211
1211
|
return new v("Property `" + P + "` of component `" + R + "` has invalid PropType notation inside objectOf.");
|
|
1212
1212
|
var k = F[T], E = z(k);
|
|
1213
1213
|
if (E !== "object")
|
|
1214
1214
|
return new v("Invalid " + L + " `" + P + "` of type " + ("`" + E + "` supplied to `" + R + "`, expected an object."));
|
|
1215
1215
|
for (var O in k)
|
|
1216
1216
|
if (r(k, O)) {
|
|
1217
|
-
var V =
|
|
1217
|
+
var V = h(k, O, R, L, P + "." + O, t);
|
|
1218
1218
|
if (V instanceof Error)
|
|
1219
1219
|
return V;
|
|
1220
1220
|
}
|
|
1221
1221
|
return null;
|
|
1222
1222
|
}
|
|
1223
|
-
return
|
|
1223
|
+
return b(C);
|
|
1224
1224
|
}
|
|
1225
|
-
function M(
|
|
1226
|
-
if (!Array.isArray(
|
|
1225
|
+
function M(h) {
|
|
1226
|
+
if (!Array.isArray(h))
|
|
1227
1227
|
return process.env.NODE_ENV !== "production" && a("Invalid argument supplied to oneOfType, expected an instance of array."), i;
|
|
1228
|
-
for (var C = 0; C <
|
|
1229
|
-
var F =
|
|
1228
|
+
for (var C = 0; C < h.length; C++) {
|
|
1229
|
+
var F = h[C];
|
|
1230
1230
|
if (typeof F != "function")
|
|
1231
1231
|
return a(
|
|
1232
1232
|
"Invalid argument supplied to oneOfType. Expected an array of check functions, but received " + ce(F) + " at index " + C + "."
|
|
1233
1233
|
), i;
|
|
1234
1234
|
}
|
|
1235
1235
|
function T(R, L, P, k, E) {
|
|
1236
|
-
for (var O = [], V = 0; V <
|
|
1237
|
-
var S =
|
|
1236
|
+
for (var O = [], V = 0; V < h.length; V++) {
|
|
1237
|
+
var S = h[V], j = S(R, L, P, k, E, t);
|
|
1238
1238
|
if (j == null)
|
|
1239
1239
|
return null;
|
|
1240
1240
|
j.data && r(j.data, "expectedType") && O.push(j.data.expectedType);
|
|
@@ -1242,26 +1242,26 @@ function Xr() {
|
|
|
1242
1242
|
var oe = O.length > 0 ? ", expected one of type [" + O.join(", ") + "]" : "";
|
|
1243
1243
|
return new v("Invalid " + k + " `" + E + "` supplied to " + ("`" + P + "`" + oe + "."));
|
|
1244
1244
|
}
|
|
1245
|
-
return
|
|
1245
|
+
return b(T);
|
|
1246
1246
|
}
|
|
1247
1247
|
function W() {
|
|
1248
|
-
function
|
|
1248
|
+
function h(C, F, T, R, L) {
|
|
1249
1249
|
return N(C[F]) ? null : new v("Invalid " + R + " `" + L + "` supplied to " + ("`" + T + "`, expected a ReactNode."));
|
|
1250
1250
|
}
|
|
1251
|
-
return
|
|
1251
|
+
return b(h);
|
|
1252
1252
|
}
|
|
1253
|
-
function ee(
|
|
1253
|
+
function ee(h, C, F, T, R) {
|
|
1254
1254
|
return new v(
|
|
1255
|
-
(
|
|
1255
|
+
(h || "React class") + ": " + C + " type `" + F + "." + T + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + R + "`."
|
|
1256
1256
|
);
|
|
1257
1257
|
}
|
|
1258
|
-
function se(
|
|
1258
|
+
function se(h) {
|
|
1259
1259
|
function C(F, T, R, L, P) {
|
|
1260
1260
|
var k = F[T], E = z(k);
|
|
1261
1261
|
if (E !== "object")
|
|
1262
1262
|
return new v("Invalid " + L + " `" + P + "` of type `" + E + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
1263
|
-
for (var O in
|
|
1264
|
-
var V =
|
|
1263
|
+
for (var O in h) {
|
|
1264
|
+
var V = h[O];
|
|
1265
1265
|
if (typeof V != "function")
|
|
1266
1266
|
return ee(R, L, P, O, ne(V));
|
|
1267
1267
|
var S = V(k, O, R, L, P + "." + O, t);
|
|
@@ -1270,22 +1270,22 @@ function Xr() {
|
|
|
1270
1270
|
}
|
|
1271
1271
|
return null;
|
|
1272
1272
|
}
|
|
1273
|
-
return
|
|
1273
|
+
return b(C);
|
|
1274
1274
|
}
|
|
1275
|
-
function K(
|
|
1275
|
+
function K(h) {
|
|
1276
1276
|
function C(F, T, R, L, P) {
|
|
1277
1277
|
var k = F[T], E = z(k);
|
|
1278
1278
|
if (E !== "object")
|
|
1279
1279
|
return new v("Invalid " + L + " `" + P + "` of type `" + E + "` " + ("supplied to `" + R + "`, expected `object`."));
|
|
1280
|
-
var O = n({}, F[T],
|
|
1280
|
+
var O = n({}, F[T], h);
|
|
1281
1281
|
for (var V in O) {
|
|
1282
|
-
var S =
|
|
1283
|
-
if (r(
|
|
1282
|
+
var S = h[V];
|
|
1283
|
+
if (r(h, V) && typeof S != "function")
|
|
1284
1284
|
return ee(R, L, P, V, ne(S));
|
|
1285
1285
|
if (!S)
|
|
1286
1286
|
return new v(
|
|
1287
1287
|
"Invalid " + L + " `" + P + "` key `" + V + "` supplied to `" + R + "`.\nBad object: " + JSON.stringify(F[T], null, " ") + `
|
|
1288
|
-
Valid keys: ` + JSON.stringify(Object.keys(
|
|
1288
|
+
Valid keys: ` + JSON.stringify(Object.keys(h), null, " ")
|
|
1289
1289
|
);
|
|
1290
1290
|
var j = S(k, V, R, L, P + "." + V, t);
|
|
1291
1291
|
if (j)
|
|
@@ -1293,25 +1293,25 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
1293
1293
|
}
|
|
1294
1294
|
return null;
|
|
1295
1295
|
}
|
|
1296
|
-
return
|
|
1296
|
+
return b(C);
|
|
1297
1297
|
}
|
|
1298
|
-
function N(
|
|
1299
|
-
switch (typeof
|
|
1298
|
+
function N(h) {
|
|
1299
|
+
switch (typeof h) {
|
|
1300
1300
|
case "number":
|
|
1301
1301
|
case "string":
|
|
1302
1302
|
case "undefined":
|
|
1303
1303
|
return !0;
|
|
1304
1304
|
case "boolean":
|
|
1305
|
-
return !
|
|
1305
|
+
return !h;
|
|
1306
1306
|
case "object":
|
|
1307
|
-
if (Array.isArray(
|
|
1308
|
-
return
|
|
1309
|
-
if (
|
|
1307
|
+
if (Array.isArray(h))
|
|
1308
|
+
return h.every(N);
|
|
1309
|
+
if (h === null || l(h))
|
|
1310
1310
|
return !0;
|
|
1311
|
-
var C = g(
|
|
1311
|
+
var C = g(h);
|
|
1312
1312
|
if (C) {
|
|
1313
|
-
var F = C.call(
|
|
1314
|
-
if (C !==
|
|
1313
|
+
var F = C.call(h), T;
|
|
1314
|
+
if (C !== h.entries) {
|
|
1315
1315
|
for (; !(T = F.next()).done; )
|
|
1316
1316
|
if (!N(T.value))
|
|
1317
1317
|
return !1;
|
|
@@ -1328,27 +1328,27 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
1328
1328
|
return !1;
|
|
1329
1329
|
}
|
|
1330
1330
|
}
|
|
1331
|
-
function U(
|
|
1332
|
-
return
|
|
1331
|
+
function U(h, C) {
|
|
1332
|
+
return h === "symbol" ? !0 : C ? C["@@toStringTag"] === "Symbol" || typeof Symbol == "function" && C instanceof Symbol : !1;
|
|
1333
1333
|
}
|
|
1334
|
-
function z(
|
|
1335
|
-
var C = typeof
|
|
1336
|
-
return Array.isArray(
|
|
1334
|
+
function z(h) {
|
|
1335
|
+
var C = typeof h;
|
|
1336
|
+
return Array.isArray(h) ? "array" : h instanceof RegExp ? "object" : U(C, h) ? "symbol" : C;
|
|
1337
1337
|
}
|
|
1338
|
-
function ne(
|
|
1339
|
-
if (typeof
|
|
1340
|
-
return "" +
|
|
1341
|
-
var C = z(
|
|
1338
|
+
function ne(h) {
|
|
1339
|
+
if (typeof h > "u" || h === null)
|
|
1340
|
+
return "" + h;
|
|
1341
|
+
var C = z(h);
|
|
1342
1342
|
if (C === "object") {
|
|
1343
|
-
if (
|
|
1343
|
+
if (h instanceof Date)
|
|
1344
1344
|
return "date";
|
|
1345
|
-
if (
|
|
1345
|
+
if (h instanceof RegExp)
|
|
1346
1346
|
return "regexp";
|
|
1347
1347
|
}
|
|
1348
1348
|
return C;
|
|
1349
1349
|
}
|
|
1350
|
-
function ce(
|
|
1351
|
-
var C = ne(
|
|
1350
|
+
function ce(h) {
|
|
1351
|
+
var C = ne(h);
|
|
1352
1352
|
switch (C) {
|
|
1353
1353
|
case "array":
|
|
1354
1354
|
case "object":
|
|
@@ -1361,8 +1361,8 @@ Valid keys: ` + JSON.stringify(Object.keys(x), null, " ")
|
|
|
1361
1361
|
return C;
|
|
1362
1362
|
}
|
|
1363
1363
|
}
|
|
1364
|
-
function Q(
|
|
1365
|
-
return !
|
|
1364
|
+
function Q(h) {
|
|
1365
|
+
return !h.constructor || !h.constructor.name ? p : h.constructor.name;
|
|
1366
1366
|
}
|
|
1367
1367
|
return f.checkPropTypes = o, f.resetWarningCache = o.resetWarningCache, f.PropTypes = f, f;
|
|
1368
1368
|
}, _t;
|
|
@@ -2825,16 +2825,16 @@ function mo() {
|
|
|
2825
2825
|
var go = mo();
|
|
2826
2826
|
const Mt = /* @__PURE__ */ Xn(go);
|
|
2827
2827
|
function Fn(e) {
|
|
2828
|
-
return
|
|
2828
|
+
return xo(e) || ho(e) || rr(e) || vo();
|
|
2829
2829
|
}
|
|
2830
2830
|
function vo() {
|
|
2831
2831
|
throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
2832
2832
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2833
2833
|
}
|
|
2834
|
-
function
|
|
2834
|
+
function ho(e) {
|
|
2835
2835
|
if (typeof Symbol < "u" && e[Symbol.iterator] != null || e["@@iterator"] != null) return Array.from(e);
|
|
2836
2836
|
}
|
|
2837
|
-
function
|
|
2837
|
+
function xo(e) {
|
|
2838
2838
|
if (Array.isArray(e)) return Gt(e);
|
|
2839
2839
|
}
|
|
2840
2840
|
function Dn(e, n) {
|
|
@@ -2862,9 +2862,9 @@ function nr(e, n, t) {
|
|
|
2862
2862
|
return n in e ? Object.defineProperty(e, n, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[n] = t, e;
|
|
2863
2863
|
}
|
|
2864
2864
|
function qe(e, n) {
|
|
2865
|
-
return yo(e) ||
|
|
2865
|
+
return yo(e) || wo(e, n) || rr(e, n) || bo();
|
|
2866
2866
|
}
|
|
2867
|
-
function
|
|
2867
|
+
function bo() {
|
|
2868
2868
|
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
2869
2869
|
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
|
2870
2870
|
}
|
|
@@ -2882,7 +2882,7 @@ function Gt(e, n) {
|
|
|
2882
2882
|
r[t] = e[t];
|
|
2883
2883
|
return r;
|
|
2884
2884
|
}
|
|
2885
|
-
function
|
|
2885
|
+
function wo(e, n) {
|
|
2886
2886
|
var t = e == null ? null : typeof Symbol < "u" && e[Symbol.iterator] || e["@@iterator"];
|
|
2887
2887
|
if (t != null) {
|
|
2888
2888
|
var r = [], o = !0, a = !1, i, l;
|
|
@@ -2970,7 +2970,7 @@ function Lo() {
|
|
|
2970
2970
|
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : window.navigator.userAgent;
|
|
2971
2971
|
return Po(e) || Mo(e);
|
|
2972
2972
|
}
|
|
2973
|
-
function
|
|
2973
|
+
function we() {
|
|
2974
2974
|
for (var e = arguments.length, n = new Array(e), t = 0; t < e; t++)
|
|
2975
2975
|
n[t] = arguments[t];
|
|
2976
2976
|
return function(r) {
|
|
@@ -3326,15 +3326,15 @@ var Yt = {
|
|
|
3326
3326
|
fileRejections: []
|
|
3327
3327
|
};
|
|
3328
3328
|
function ur() {
|
|
3329
|
-
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = ae(ae({}, cr), e), t = n.accept, r = n.disabled, o = n.getFilesFromEvent, a = n.maxSize, i = n.minSize, l = n.multiple, c = n.maxFiles, u = n.onDragEnter, d = n.onDragLeave, g = n.onDragOver, p = n.onDrop, f = n.onDropAccepted, m = n.onDropRejected, v = n.onFileDialogCancel,
|
|
3329
|
+
var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, n = ae(ae({}, cr), e), t = n.accept, r = n.disabled, o = n.getFilesFromEvent, a = n.maxSize, i = n.minSize, l = n.multiple, c = n.maxFiles, u = n.onDragEnter, d = n.onDragLeave, g = n.onDragOver, p = n.onDrop, f = n.onDropAccepted, m = n.onDropRejected, v = n.onFileDialogCancel, b = n.onFileDialogOpen, x = n.useFsAccessApi, _ = n.autoFocus, w = n.preventDropOnDocument, A = n.noClick, y = n.noKeyboard, I = n.noDrag, H = n.noDragEventsBubbling, Y = n.onError, M = n.validator, W = Ae(function() {
|
|
3330
3330
|
return Ao(t);
|
|
3331
3331
|
}, [t]), ee = Ae(function() {
|
|
3332
3332
|
return Do(t);
|
|
3333
3333
|
}, [t]), se = Ae(function() {
|
|
3334
|
-
return typeof
|
|
3335
|
-
}, [
|
|
3334
|
+
return typeof b == "function" ? b : In;
|
|
3335
|
+
}, [b]), K = Ae(function() {
|
|
3336
3336
|
return typeof v == "function" ? v : In;
|
|
3337
|
-
}, [v]), N = ie(null), U = ie(null), z = Vr(Ko, Yt), ne = Lt(z, 2), ce = ne[0], Q = ne[1],
|
|
3337
|
+
}, [v]), N = ie(null), U = ie(null), z = Vr(Ko, Yt), ne = Lt(z, 2), ce = ne[0], Q = ne[1], h = ce.isFocused, C = ce.isFileDialogActive, F = ie(typeof window < "u" && window.isSecureContext && x && Fo()), T = function() {
|
|
3338
3338
|
!F.current && C && setTimeout(function() {
|
|
3339
3339
|
if (U.current) {
|
|
3340
3340
|
var B = U.current.files;
|
|
@@ -3353,10 +3353,10 @@ function ur() {
|
|
|
3353
3353
|
N.current && N.current.contains(B.target) || (B.preventDefault(), R.current = []);
|
|
3354
3354
|
};
|
|
3355
3355
|
le(function() {
|
|
3356
|
-
return
|
|
3357
|
-
|
|
3356
|
+
return w && (document.addEventListener("dragover", zn, !1), document.addEventListener("drop", L, !1)), function() {
|
|
3357
|
+
w && (document.removeEventListener("dragover", zn), document.removeEventListener("drop", L));
|
|
3358
3358
|
};
|
|
3359
|
-
}, [N,
|
|
3359
|
+
}, [N, w]), le(function() {
|
|
3360
3360
|
return !r && _ && N.current && N.current.focus(), function() {
|
|
3361
3361
|
};
|
|
3362
3362
|
}, [N, _, r]);
|
|
@@ -3373,10 +3373,10 @@ function ur() {
|
|
|
3373
3373
|
multiple: l,
|
|
3374
3374
|
maxFiles: c,
|
|
3375
3375
|
validator: M
|
|
3376
|
-
}),
|
|
3376
|
+
}), he = ue > 0 && !de;
|
|
3377
3377
|
Q({
|
|
3378
3378
|
isDragAccept: de,
|
|
3379
|
-
isDragReject:
|
|
3379
|
+
isDragReject: he,
|
|
3380
3380
|
isDragActive: !0,
|
|
3381
3381
|
type: "setDraggedFiles"
|
|
3382
3382
|
}), u && u(D);
|
|
@@ -3406,22 +3406,22 @@ function ur() {
|
|
|
3406
3406
|
}), nt(D) && d && d(D));
|
|
3407
3407
|
}, [N, d, H]), V = re(function(D, B) {
|
|
3408
3408
|
var ue = [], de = [];
|
|
3409
|
-
D.forEach(function(
|
|
3410
|
-
var ze = or(
|
|
3411
|
-
if (
|
|
3412
|
-
ue.push(
|
|
3409
|
+
D.forEach(function(he) {
|
|
3410
|
+
var ze = or(he, W), De = Lt(ze, 2), xt = De[0], bt = De[1], wt = ar(he, i, a), Xe = Lt(wt, 2), yt = Xe[0], Ct = Xe[1], St = M ? M(he) : null;
|
|
3411
|
+
if (xt && yt && !St)
|
|
3412
|
+
ue.push(he);
|
|
3413
3413
|
else {
|
|
3414
|
-
var Rt = [
|
|
3414
|
+
var Rt = [bt, Ct];
|
|
3415
3415
|
St && (Rt = Rt.concat(St)), de.push({
|
|
3416
|
-
file:
|
|
3416
|
+
file: he,
|
|
3417
3417
|
errors: Rt.filter(function(Ir) {
|
|
3418
3418
|
return Ir;
|
|
3419
3419
|
})
|
|
3420
3420
|
});
|
|
3421
3421
|
}
|
|
3422
|
-
}), (!l && ue.length > 1 || l && c >= 1 && ue.length > c) && (ue.forEach(function(
|
|
3422
|
+
}), (!l && ue.length > 1 || l && c >= 1 && ue.length > c) && (ue.forEach(function(he) {
|
|
3423
3423
|
de.push({
|
|
3424
|
-
file:
|
|
3424
|
+
file: he,
|
|
3425
3425
|
errors: [Eo]
|
|
3426
3426
|
});
|
|
3427
3427
|
}), ue.splice(0)), Q({
|
|
@@ -3463,7 +3463,7 @@ function ur() {
|
|
|
3463
3463
|
U.current && (Q({
|
|
3464
3464
|
type: "openDialog"
|
|
3465
3465
|
}), se(), U.current.value = null, U.current.click());
|
|
3466
|
-
}, [Q, se, K,
|
|
3466
|
+
}, [Q, se, K, x, V, P, ee, l]), oe = re(function(D) {
|
|
3467
3467
|
!N.current || !N.current.isEqualNode(D.target) || (D.key === " " || D.key === "Enter" || D.keyCode === 32 || D.keyCode === 13) && (D.preventDefault(), j());
|
|
3468
3468
|
}, [N, j]), ve = re(function() {
|
|
3469
3469
|
Q({
|
|
@@ -3477,7 +3477,7 @@ function ur() {
|
|
|
3477
3477
|
A || (Lo() ? setTimeout(j, 0) : j());
|
|
3478
3478
|
}, [A, j]), Pe = function(B) {
|
|
3479
3479
|
return r ? null : B;
|
|
3480
|
-
},
|
|
3480
|
+
}, ht = function(B) {
|
|
3481
3481
|
return y ? null : Pe(B);
|
|
3482
3482
|
}, Ze = function(B) {
|
|
3483
3483
|
return I ? null : Pe(B);
|
|
@@ -3485,16 +3485,16 @@ function ur() {
|
|
|
3485
3485
|
H && B.stopPropagation();
|
|
3486
3486
|
}, Tr = Ae(function() {
|
|
3487
3487
|
return function() {
|
|
3488
|
-
var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, B = D.refKey, ue = B === void 0 ? "ref" : B, de = D.role,
|
|
3488
|
+
var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, B = D.refKey, ue = B === void 0 ? "ref" : B, de = D.role, he = D.onKeyDown, ze = D.onFocus, De = D.onBlur, xt = D.onClick, bt = D.onDragEnter, wt = D.onDragOver, Xe = D.onDragLeave, yt = D.onDrop, Ct = dt(D, Io);
|
|
3489
3489
|
return ae(ae(Ut({
|
|
3490
|
-
onKeyDown:
|
|
3491
|
-
onFocus:
|
|
3492
|
-
onBlur:
|
|
3493
|
-
onClick: Pe(
|
|
3494
|
-
onDragEnter: Ze(
|
|
3495
|
-
onDragOver: Ze(
|
|
3496
|
-
onDragLeave: Ze(
|
|
3497
|
-
onDrop: Ze(
|
|
3490
|
+
onKeyDown: ht(we(he, oe)),
|
|
3491
|
+
onFocus: ht(we(ze, ve)),
|
|
3492
|
+
onBlur: ht(we(De, me)),
|
|
3493
|
+
onClick: Pe(we(xt, Ye)),
|
|
3494
|
+
onDragEnter: Ze(we(bt, k)),
|
|
3495
|
+
onDragOver: Ze(we(wt, E)),
|
|
3496
|
+
onDragLeave: Ze(we(Xe, O)),
|
|
3497
|
+
onDrop: Ze(we(yt, S)),
|
|
3498
3498
|
role: typeof de == "string" && de !== "" ? de : "presentation"
|
|
3499
3499
|
}, ue, N), !r && !y ? {
|
|
3500
3500
|
tabIndex: 0
|
|
@@ -3504,7 +3504,7 @@ function ur() {
|
|
|
3504
3504
|
D.stopPropagation();
|
|
3505
3505
|
}, []), Or = Ae(function() {
|
|
3506
3506
|
return function() {
|
|
3507
|
-
var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, B = D.refKey, ue = B === void 0 ? "ref" : B, de = D.onChange,
|
|
3507
|
+
var D = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, B = D.refKey, ue = B === void 0 ? "ref" : B, de = D.onChange, he = D.onClick, ze = dt(D, Vo), De = Ut({
|
|
3508
3508
|
accept: W,
|
|
3509
3509
|
multiple: l,
|
|
3510
3510
|
type: "file",
|
|
@@ -3520,15 +3520,15 @@ function ur() {
|
|
|
3520
3520
|
width: "1px",
|
|
3521
3521
|
whiteSpace: "nowrap"
|
|
3522
3522
|
},
|
|
3523
|
-
onChange: Pe(
|
|
3524
|
-
onClick: Pe(
|
|
3523
|
+
onChange: Pe(we(de, S)),
|
|
3524
|
+
onClick: Pe(we(he, zr)),
|
|
3525
3525
|
tabIndex: -1
|
|
3526
3526
|
}, ue, U);
|
|
3527
3527
|
return ae(ae({}, De), ze);
|
|
3528
3528
|
};
|
|
3529
3529
|
}, [U, t, l, S, r]);
|
|
3530
3530
|
return ae(ae({}, ce), {}, {
|
|
3531
|
-
isFocused:
|
|
3531
|
+
isFocused: h && !r,
|
|
3532
3532
|
getRootProps: Tr,
|
|
3533
3533
|
getInputProps: Or,
|
|
3534
3534
|
rootRef: N,
|
|
@@ -3596,17 +3596,17 @@ const _l = ({
|
|
|
3596
3596
|
subLabelClass: f = "",
|
|
3597
3597
|
showList: m = !0,
|
|
3598
3598
|
listView: v = !0,
|
|
3599
|
-
showListImage:
|
|
3600
|
-
uploadedFiles:
|
|
3599
|
+
showListImage: b = !1,
|
|
3600
|
+
uploadedFiles: x = [],
|
|
3601
3601
|
// New prop for pre-uploaded files
|
|
3602
3602
|
onDeleteCallback: _ = () => {
|
|
3603
3603
|
}
|
|
3604
3604
|
//
|
|
3605
3605
|
}) => {
|
|
3606
|
-
const [
|
|
3606
|
+
const [w, A] = Z(x), [y, I] = Z([]);
|
|
3607
3607
|
le(() => {
|
|
3608
|
-
A(
|
|
3609
|
-
}, [
|
|
3608
|
+
A(x);
|
|
3609
|
+
}, [x]);
|
|
3610
3610
|
const H = re(
|
|
3611
3611
|
(K, N) => {
|
|
3612
3612
|
const U = [];
|
|
@@ -3618,7 +3618,7 @@ const _l = ({
|
|
|
3618
3618
|
`${z.file.name} has an invalid file type`
|
|
3619
3619
|
);
|
|
3620
3620
|
});
|
|
3621
|
-
}), a !== void 0 && (r ?
|
|
3621
|
+
}), a !== void 0 && (r ? w.length : 0) + K.length > a && U.push(
|
|
3622
3622
|
`You can only upload up to ${a} file${a > 1 ? "s" : ""}.`
|
|
3623
3623
|
), U.length > 0) {
|
|
3624
3624
|
I(U), n == null || n(U);
|
|
@@ -3634,11 +3634,11 @@ const _l = ({
|
|
|
3634
3634
|
n,
|
|
3635
3635
|
o,
|
|
3636
3636
|
a,
|
|
3637
|
-
|
|
3637
|
+
w,
|
|
3638
3638
|
r
|
|
3639
3639
|
]
|
|
3640
3640
|
), Y = (K) => {
|
|
3641
|
-
A((N) => N.filter((U, z) => z !== K)), _(
|
|
3641
|
+
A((N) => N.filter((U, z) => z !== K)), _(w);
|
|
3642
3642
|
}, { getRootProps: M, getInputProps: W, isDragActive: ee, isDragReject: se } = ur({
|
|
3643
3643
|
onDrop: H,
|
|
3644
3644
|
accept: t,
|
|
@@ -3674,17 +3674,17 @@ const _l = ({
|
|
|
3674
3674
|
"• ",
|
|
3675
3675
|
K
|
|
3676
3676
|
] }, N)) }),
|
|
3677
|
-
m &&
|
|
3677
|
+
m && w.length > 0 && /* @__PURE__ */ s.jsx(
|
|
3678
3678
|
"ul",
|
|
3679
3679
|
{
|
|
3680
3680
|
className: `w-full ${v ? "space-y-2" : "grid grid-columns-2 gap-2"} px-4 pb-4`,
|
|
3681
|
-
children:
|
|
3681
|
+
children: w.map((K, N) => /* @__PURE__ */ s.jsxs(
|
|
3682
3682
|
"li",
|
|
3683
3683
|
{
|
|
3684
3684
|
className: "flex items-center justify-between bg-color-white rounded-md px-4 py-2 shadow-sm",
|
|
3685
3685
|
children: [
|
|
3686
3686
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
3687
|
-
|
|
3687
|
+
b && /* @__PURE__ */ s.jsx("div", { className: "w-10 h-10 rounded bg-color-gray-100 overflow-hidden flex-shrink-0", children: /* @__PURE__ */ s.jsx(
|
|
3688
3688
|
"img",
|
|
3689
3689
|
{
|
|
3690
3690
|
src: K.type.startsWith("image/") ? URL.createObjectURL(K) : "https://img.icons8.com/ios-filled/50/pdf-2.png",
|
|
@@ -3791,23 +3791,23 @@ const Jo = {
|
|
|
3791
3791
|
rounded: u = "medium",
|
|
3792
3792
|
...d
|
|
3793
3793
|
}, g) => {
|
|
3794
|
-
const p = ie([]), f = (v,
|
|
3795
|
-
var
|
|
3796
|
-
const
|
|
3797
|
-
if (!
|
|
3798
|
-
const _ = t.substring(0,
|
|
3799
|
-
r == null || r(_),
|
|
3800
|
-
}, m = (v,
|
|
3801
|
-
var
|
|
3802
|
-
v.key === "Backspace" && !t[
|
|
3803
|
-
t.substring(0,
|
|
3804
|
-
), (
|
|
3794
|
+
const p = ie([]), f = (v, b) => {
|
|
3795
|
+
var w;
|
|
3796
|
+
const x = v.target.value.replace(/[^0-9]/g, "").slice(0, 1);
|
|
3797
|
+
if (!x && t[b] === void 0) return;
|
|
3798
|
+
const _ = t.substring(0, b) + x + t.substring(b + 1, a);
|
|
3799
|
+
r == null || r(_), x && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus()), o && _.length === a && !_.split("").some((A) => !A) && o(_);
|
|
3800
|
+
}, m = (v, b) => {
|
|
3801
|
+
var x, _, w;
|
|
3802
|
+
v.key === "Backspace" && !t[b] && b > 0 ? (r == null || r(
|
|
3803
|
+
t.substring(0, b - 1) + "" + t.substring(b, a)
|
|
3804
|
+
), (x = p.current[b - 1]) == null || x.focus(), v.preventDefault()) : v.key === "ArrowLeft" && b > 0 ? ((_ = p.current[b - 1]) == null || _.focus(), v.preventDefault()) : v.key === "ArrowRight" && b < a - 1 && ((w = p.current[b + 1]) == null || w.focus(), v.preventDefault());
|
|
3805
3805
|
};
|
|
3806
|
-
return /* @__PURE__ */ s.jsx("div", { className: `flex justify-center gap-2 ${e}`, children: Array.from({ length: a }).map((v,
|
|
3806
|
+
return /* @__PURE__ */ s.jsx("div", { className: `flex justify-center gap-2 ${e}`, children: Array.from({ length: a }).map((v, b) => /* @__PURE__ */ s.jsx(
|
|
3807
3807
|
"input",
|
|
3808
3808
|
{
|
|
3809
|
-
ref: (
|
|
3810
|
-
p.current[
|
|
3809
|
+
ref: (x) => {
|
|
3810
|
+
p.current[b] = x;
|
|
3811
3811
|
},
|
|
3812
3812
|
type: "text",
|
|
3813
3813
|
inputMode: "numeric",
|
|
@@ -3821,12 +3821,12 @@ const Jo = {
|
|
|
3821
3821
|
${Qo[u]}
|
|
3822
3822
|
${n}
|
|
3823
3823
|
`,
|
|
3824
|
-
value: t[
|
|
3825
|
-
onChange: (
|
|
3826
|
-
onKeyDown: (
|
|
3824
|
+
value: t[b] || "",
|
|
3825
|
+
onChange: (x) => f(x, b),
|
|
3826
|
+
onKeyDown: (x) => m(x, b),
|
|
3827
3827
|
...d
|
|
3828
3828
|
},
|
|
3829
|
-
|
|
3829
|
+
b
|
|
3830
3830
|
)) });
|
|
3831
3831
|
}
|
|
3832
3832
|
);
|
|
@@ -3848,11 +3848,11 @@ const dr = Ge(
|
|
|
3848
3848
|
labelClassName: p = "",
|
|
3849
3849
|
...f
|
|
3850
3850
|
}, m) => {
|
|
3851
|
-
const v = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200",
|
|
3851
|
+
const v = u ? "border-color-red-500 focus-within:ring-color-red-500" : "border-color-gray-200", b = u ? "text-color-red-500" : i;
|
|
3852
3852
|
return /* @__PURE__ */ s.jsxs("div", { className: "w-full", children: [
|
|
3853
3853
|
g && /* @__PURE__ */ s.jsx("label", { className: `text-sm text-color-gray-500 mb-2 block ${p}`, children: g }),
|
|
3854
3854
|
/* @__PURE__ */ s.jsxs("div", { className: `flex items-center w-full rounded-md border focus-within:ring-1 ${v} ${o}`, children: [
|
|
3855
|
-
l && /* @__PURE__ */ s.jsx("span", { className: `pl-3 ${
|
|
3855
|
+
l && /* @__PURE__ */ s.jsx("span", { className: `pl-3 ${b}`, children: l }),
|
|
3856
3856
|
/* @__PURE__ */ s.jsx(
|
|
3857
3857
|
"input",
|
|
3858
3858
|
{
|
|
@@ -3866,7 +3866,7 @@ const dr = Ge(
|
|
|
3866
3866
|
className: `grow bg-color-transparent px-3 py-3 outline-0 text-md w-full font-medium placeholder:font-normal ${a}`
|
|
3867
3867
|
}
|
|
3868
3868
|
),
|
|
3869
|
-
c && /* @__PURE__ */ s.jsx("span", { className: `pr-3 ${
|
|
3869
|
+
c && /* @__PURE__ */ s.jsx("span", { className: `pr-3 ${b}`, children: c })
|
|
3870
3870
|
] }),
|
|
3871
3871
|
u && /* @__PURE__ */ s.jsx("p", { className: "text-color-red-500 text-xs mt-1", children: u })
|
|
3872
3872
|
] });
|
|
@@ -3992,7 +3992,7 @@ const ra = {
|
|
|
3992
3992
|
function $e(e, n) {
|
|
3993
3993
|
return typeof e == "function" ? e(n) : e;
|
|
3994
3994
|
}
|
|
3995
|
-
function
|
|
3995
|
+
function xe(e, n) {
|
|
3996
3996
|
return (t) => {
|
|
3997
3997
|
n.setState((r) => ({
|
|
3998
3998
|
...r,
|
|
@@ -4189,22 +4189,22 @@ function rt(e, n, t, r) {
|
|
|
4189
4189
|
id: [r, `${f}`].filter(Boolean).join("_"),
|
|
4190
4190
|
headers: []
|
|
4191
4191
|
}, v = [];
|
|
4192
|
-
p.forEach((
|
|
4193
|
-
const
|
|
4194
|
-
let
|
|
4195
|
-
if (_ &&
|
|
4196
|
-
|
|
4192
|
+
p.forEach((b) => {
|
|
4193
|
+
const x = [...v].reverse()[0], _ = b.column.depth === m.depth;
|
|
4194
|
+
let w, A = !1;
|
|
4195
|
+
if (_ && b.column.parent ? w = b.column.parent : (w = b.column, A = !0), x && (x == null ? void 0 : x.column) === w)
|
|
4196
|
+
x.subHeaders.push(b);
|
|
4197
4197
|
else {
|
|
4198
|
-
const y = Vn(t,
|
|
4199
|
-
id: [r, f,
|
|
4198
|
+
const y = Vn(t, w, {
|
|
4199
|
+
id: [r, f, w.id, b == null ? void 0 : b.id].filter(Boolean).join("_"),
|
|
4200
4200
|
isPlaceholder: A,
|
|
4201
|
-
placeholderId: A ? `${v.filter((I) => I.column ===
|
|
4201
|
+
placeholderId: A ? `${v.filter((I) => I.column === w).length}` : void 0,
|
|
4202
4202
|
depth: f,
|
|
4203
4203
|
index: v.length
|
|
4204
4204
|
});
|
|
4205
|
-
y.subHeaders.push(
|
|
4205
|
+
y.subHeaders.push(b), v.push(y);
|
|
4206
4206
|
}
|
|
4207
|
-
m.headers.push(
|
|
4207
|
+
m.headers.push(b), b.headerGroup = m;
|
|
4208
4208
|
}), c.push(m), f > 0 && u(v, f - 1);
|
|
4209
4209
|
}, d = n.map((p, f) => Vn(t, p, {
|
|
4210
4210
|
depth: i,
|
|
@@ -4212,18 +4212,18 @@ function rt(e, n, t, r) {
|
|
|
4212
4212
|
}));
|
|
4213
4213
|
u(d, i - 1), c.reverse();
|
|
4214
4214
|
const g = (p) => p.filter((m) => m.column.getIsVisible()).map((m) => {
|
|
4215
|
-
let v = 0,
|
|
4216
|
-
m.subHeaders && m.subHeaders.length ? (
|
|
4215
|
+
let v = 0, b = 0, x = [0];
|
|
4216
|
+
m.subHeaders && m.subHeaders.length ? (x = [], g(m.subHeaders).forEach((w) => {
|
|
4217
4217
|
let {
|
|
4218
4218
|
colSpan: A,
|
|
4219
4219
|
rowSpan: y
|
|
4220
|
-
} =
|
|
4221
|
-
v += A,
|
|
4220
|
+
} = w;
|
|
4221
|
+
v += A, x.push(y);
|
|
4222
4222
|
})) : v = 1;
|
|
4223
|
-
const _ = Math.min(...
|
|
4224
|
-
return
|
|
4223
|
+
const _ = Math.min(...x);
|
|
4224
|
+
return b = b + _, m.colSpan = v, m.rowSpan = b, {
|
|
4225
4225
|
colSpan: v,
|
|
4226
|
-
rowSpan:
|
|
4226
|
+
rowSpan: b
|
|
4227
4227
|
};
|
|
4228
4228
|
});
|
|
4229
4229
|
return g((o = (a = c[0]) == null ? void 0 : a.headers) != null ? o : []), c;
|
|
@@ -4287,36 +4287,36 @@ const ua = (e, n, t, r, o, a, i) => {
|
|
|
4287
4287
|
const a = t == null || (r = t.toString()) == null ? void 0 : r.toLowerCase();
|
|
4288
4288
|
return !!(!((o = e.getValue(n)) == null || (o = o.toString()) == null || (o = o.toLowerCase()) == null) && o.includes(a));
|
|
4289
4289
|
};
|
|
4290
|
-
pr.autoRemove = (e) =>
|
|
4290
|
+
pr.autoRemove = (e) => be(e);
|
|
4291
4291
|
const fr = (e, n, t) => {
|
|
4292
4292
|
var r;
|
|
4293
4293
|
return !!(!((r = e.getValue(n)) == null || (r = r.toString()) == null) && r.includes(t));
|
|
4294
4294
|
};
|
|
4295
|
-
fr.autoRemove = (e) =>
|
|
4295
|
+
fr.autoRemove = (e) => be(e);
|
|
4296
4296
|
const mr = (e, n, t) => {
|
|
4297
4297
|
var r;
|
|
4298
4298
|
return ((r = e.getValue(n)) == null || (r = r.toString()) == null ? void 0 : r.toLowerCase()) === (t == null ? void 0 : t.toLowerCase());
|
|
4299
4299
|
};
|
|
4300
|
-
mr.autoRemove = (e) =>
|
|
4300
|
+
mr.autoRemove = (e) => be(e);
|
|
4301
4301
|
const gr = (e, n, t) => {
|
|
4302
4302
|
var r;
|
|
4303
4303
|
return (r = e.getValue(n)) == null ? void 0 : r.includes(t);
|
|
4304
4304
|
};
|
|
4305
|
-
gr.autoRemove = (e) =>
|
|
4305
|
+
gr.autoRemove = (e) => be(e);
|
|
4306
4306
|
const vr = (e, n, t) => !t.some((r) => {
|
|
4307
4307
|
var o;
|
|
4308
4308
|
return !((o = e.getValue(n)) != null && o.includes(r));
|
|
4309
4309
|
});
|
|
4310
|
-
vr.autoRemove = (e) =>
|
|
4311
|
-
const
|
|
4310
|
+
vr.autoRemove = (e) => be(e) || !(e != null && e.length);
|
|
4311
|
+
const hr = (e, n, t) => t.some((r) => {
|
|
4312
4312
|
var o;
|
|
4313
4313
|
return (o = e.getValue(n)) == null ? void 0 : o.includes(r);
|
|
4314
4314
|
});
|
|
4315
|
-
|
|
4316
|
-
const
|
|
4317
|
-
|
|
4318
|
-
const
|
|
4319
|
-
|
|
4315
|
+
hr.autoRemove = (e) => be(e) || !(e != null && e.length);
|
|
4316
|
+
const xr = (e, n, t) => e.getValue(n) === t;
|
|
4317
|
+
xr.autoRemove = (e) => be(e);
|
|
4318
|
+
const br = (e, n, t) => e.getValue(n) == t;
|
|
4319
|
+
br.autoRemove = (e) => be(e);
|
|
4320
4320
|
const on = (e, n, t) => {
|
|
4321
4321
|
let [r, o] = t;
|
|
4322
4322
|
const a = e.getValue(n);
|
|
@@ -4330,19 +4330,19 @@ on.resolveFilterValue = (e) => {
|
|
|
4330
4330
|
}
|
|
4331
4331
|
return [a, i];
|
|
4332
4332
|
};
|
|
4333
|
-
on.autoRemove = (e) =>
|
|
4333
|
+
on.autoRemove = (e) => be(e) || be(e[0]) && be(e[1]);
|
|
4334
4334
|
const ye = {
|
|
4335
4335
|
includesString: pr,
|
|
4336
4336
|
includesStringSensitive: fr,
|
|
4337
4337
|
equalsString: mr,
|
|
4338
4338
|
arrIncludes: gr,
|
|
4339
4339
|
arrIncludesAll: vr,
|
|
4340
|
-
arrIncludesSome:
|
|
4341
|
-
equals:
|
|
4342
|
-
weakEquals:
|
|
4340
|
+
arrIncludesSome: hr,
|
|
4341
|
+
equals: xr,
|
|
4342
|
+
weakEquals: br,
|
|
4343
4343
|
inNumberRange: on
|
|
4344
4344
|
};
|
|
4345
|
-
function
|
|
4345
|
+
function be(e) {
|
|
4346
4346
|
return e == null || e === "";
|
|
4347
4347
|
}
|
|
4348
4348
|
const pa = {
|
|
@@ -4354,7 +4354,7 @@ const pa = {
|
|
|
4354
4354
|
...e
|
|
4355
4355
|
}),
|
|
4356
4356
|
getDefaultOptions: (e) => ({
|
|
4357
|
-
onColumnFiltersChange:
|
|
4357
|
+
onColumnFiltersChange: xe("columnFilters", e),
|
|
4358
4358
|
filterFromLeafRows: !1,
|
|
4359
4359
|
maxLeafRowFilterDepth: 100
|
|
4360
4360
|
}),
|
|
@@ -4444,13 +4444,13 @@ const fa = (e, n, t) => t.reduce((r, o) => {
|
|
|
4444
4444
|
const i = a.getValue(e);
|
|
4445
4445
|
i != null && (r === void 0 ? i >= i && (r = o = i) : (r > i && (r = i), o < i && (o = i)));
|
|
4446
4446
|
}), [r, o];
|
|
4447
|
-
},
|
|
4447
|
+
}, ha = (e, n) => {
|
|
4448
4448
|
let t = 0, r = 0;
|
|
4449
4449
|
if (n.forEach((o) => {
|
|
4450
4450
|
let a = o.getValue(e);
|
|
4451
4451
|
a != null && (a = +a) >= a && (++t, r += a);
|
|
4452
4452
|
}), t) return r / t;
|
|
4453
|
-
},
|
|
4453
|
+
}, xa = (e, n) => {
|
|
4454
4454
|
if (!n.length)
|
|
4455
4455
|
return;
|
|
4456
4456
|
const t = n.map((a) => a.getValue(e));
|
|
@@ -4460,15 +4460,15 @@ const fa = (e, n, t) => t.reduce((r, o) => {
|
|
|
4460
4460
|
return t[0];
|
|
4461
4461
|
const r = Math.floor(t.length / 2), o = t.sort((a, i) => a - i);
|
|
4462
4462
|
return t.length % 2 !== 0 ? o[r] : (o[r - 1] + o[r]) / 2;
|
|
4463
|
-
},
|
|
4463
|
+
}, ba = (e, n) => Array.from(new Set(n.map((t) => t.getValue(e))).values()), wa = (e, n) => new Set(n.map((t) => t.getValue(e))).size, ya = (e, n) => n.length, Ft = {
|
|
4464
4464
|
sum: fa,
|
|
4465
4465
|
min: ma,
|
|
4466
4466
|
max: ga,
|
|
4467
4467
|
extent: va,
|
|
4468
|
-
mean:
|
|
4469
|
-
median:
|
|
4470
|
-
unique:
|
|
4471
|
-
uniqueCount:
|
|
4468
|
+
mean: ha,
|
|
4469
|
+
median: xa,
|
|
4470
|
+
unique: ba,
|
|
4471
|
+
uniqueCount: wa,
|
|
4472
4472
|
count: ya
|
|
4473
4473
|
}, Ca = {
|
|
4474
4474
|
getDefaultColumnDef: () => ({
|
|
@@ -4483,7 +4483,7 @@ const fa = (e, n, t) => t.reduce((r, o) => {
|
|
|
4483
4483
|
...e
|
|
4484
4484
|
}),
|
|
4485
4485
|
getDefaultOptions: (e) => ({
|
|
4486
|
-
onGroupingChange:
|
|
4486
|
+
onGroupingChange: xe("grouping", e),
|
|
4487
4487
|
groupedColumnMode: "reorder"
|
|
4488
4488
|
}),
|
|
4489
4489
|
createColumn: (e, n) => {
|
|
@@ -4549,7 +4549,7 @@ const Ra = {
|
|
|
4549
4549
|
...e
|
|
4550
4550
|
}),
|
|
4551
4551
|
getDefaultOptions: (e) => ({
|
|
4552
|
-
onColumnOrderChange:
|
|
4552
|
+
onColumnOrderChange: xe("columnOrder", e)
|
|
4553
4553
|
}),
|
|
4554
4554
|
createColumn: (e, n) => {
|
|
4555
4555
|
e.getIndex = q((t) => [Be(n, t)], (t) => t.findIndex((r) => r.id === e.id), G(n.options, "debugColumns", "getIndex")), e.getIsFirstColumn = (t) => {
|
|
@@ -4589,7 +4589,7 @@ const Ra = {
|
|
|
4589
4589
|
...e
|
|
4590
4590
|
}),
|
|
4591
4591
|
getDefaultOptions: (e) => ({
|
|
4592
|
-
onColumnPinningChange:
|
|
4592
|
+
onColumnPinningChange: xe("columnPinning", e)
|
|
4593
4593
|
}),
|
|
4594
4594
|
createColumn: (e, n) => {
|
|
4595
4595
|
e.pin = (t) => {
|
|
@@ -4680,8 +4680,8 @@ const Ra = {
|
|
|
4680
4680
|
getDefaultOptions: (e) => ({
|
|
4681
4681
|
columnResizeMode: "onEnd",
|
|
4682
4682
|
columnResizeDirection: "ltr",
|
|
4683
|
-
onColumnSizingChange:
|
|
4684
|
-
onColumnSizingInfoChange:
|
|
4683
|
+
onColumnSizingChange: xe("columnSizing", e),
|
|
4684
|
+
onColumnSizingInfoChange: xe("columnSizingInfo", e)
|
|
4685
4685
|
}),
|
|
4686
4686
|
createColumn: (e, n) => {
|
|
4687
4687
|
e.getSize = () => {
|
|
@@ -4724,24 +4724,24 @@ const Ra = {
|
|
|
4724
4724
|
return (a) => {
|
|
4725
4725
|
if (!r || !o || (a.persist == null || a.persist(), Nt(a) && a.touches && a.touches.length > 1))
|
|
4726
4726
|
return;
|
|
4727
|
-
const i = e.getSize(), l = e ? e.getLeafHeaders().map((
|
|
4728
|
-
typeof _ == "number" && (n.setColumnSizingInfo((
|
|
4727
|
+
const i = e.getSize(), l = e ? e.getLeafHeaders().map((x) => [x.column.id, x.column.getSize()]) : [[r.id, r.getSize()]], c = Nt(a) ? Math.round(a.touches[0].clientX) : a.clientX, u = {}, d = (x, _) => {
|
|
4728
|
+
typeof _ == "number" && (n.setColumnSizingInfo((w) => {
|
|
4729
4729
|
var A, y;
|
|
4730
|
-
const I = n.options.columnResizeDirection === "rtl" ? -1 : 1, H = (_ - ((A =
|
|
4731
|
-
return
|
|
4730
|
+
const I = n.options.columnResizeDirection === "rtl" ? -1 : 1, H = (_ - ((A = w == null ? void 0 : w.startOffset) != null ? A : 0)) * I, Y = Math.max(H / ((y = w == null ? void 0 : w.startSize) != null ? y : 0), -0.999999);
|
|
4731
|
+
return w.columnSizingStart.forEach((M) => {
|
|
4732
4732
|
let [W, ee] = M;
|
|
4733
4733
|
u[W] = Math.round(Math.max(ee + ee * Y, 0) * 100) / 100;
|
|
4734
4734
|
}), {
|
|
4735
|
-
...
|
|
4735
|
+
...w,
|
|
4736
4736
|
deltaOffset: H,
|
|
4737
4737
|
deltaPercentage: Y
|
|
4738
4738
|
};
|
|
4739
|
-
}), (n.options.columnResizeMode === "onChange" ||
|
|
4740
|
-
...
|
|
4739
|
+
}), (n.options.columnResizeMode === "onChange" || x === "end") && n.setColumnSizing((w) => ({
|
|
4740
|
+
...w,
|
|
4741
4741
|
...u
|
|
4742
4742
|
})));
|
|
4743
|
-
}, g = (
|
|
4744
|
-
d("end",
|
|
4743
|
+
}, g = (x) => d("move", x), p = (x) => {
|
|
4744
|
+
d("end", x), n.setColumnSizingInfo((_) => ({
|
|
4745
4745
|
..._,
|
|
4746
4746
|
isResizingColumn: !1,
|
|
4747
4747
|
startOffset: null,
|
|
@@ -4751,21 +4751,21 @@ const Ra = {
|
|
|
4751
4751
|
columnSizingStart: []
|
|
4752
4752
|
}));
|
|
4753
4753
|
}, f = t || typeof document < "u" ? document : null, m = {
|
|
4754
|
-
moveHandler: (
|
|
4755
|
-
upHandler: (
|
|
4756
|
-
f == null || f.removeEventListener("mousemove", m.moveHandler), f == null || f.removeEventListener("mouseup", m.upHandler), p(
|
|
4754
|
+
moveHandler: (x) => g(x.clientX),
|
|
4755
|
+
upHandler: (x) => {
|
|
4756
|
+
f == null || f.removeEventListener("mousemove", m.moveHandler), f == null || f.removeEventListener("mouseup", m.upHandler), p(x.clientX);
|
|
4757
4757
|
}
|
|
4758
4758
|
}, v = {
|
|
4759
|
-
moveHandler: (
|
|
4760
|
-
upHandler: (
|
|
4759
|
+
moveHandler: (x) => (x.cancelable && (x.preventDefault(), x.stopPropagation()), g(x.touches[0].clientX), !1),
|
|
4760
|
+
upHandler: (x) => {
|
|
4761
4761
|
var _;
|
|
4762
|
-
f == null || f.removeEventListener("touchmove", v.moveHandler), f == null || f.removeEventListener("touchend", v.upHandler),
|
|
4762
|
+
f == null || f.removeEventListener("touchmove", v.moveHandler), f == null || f.removeEventListener("touchend", v.upHandler), x.cancelable && (x.preventDefault(), x.stopPropagation()), p((_ = x.touches[0]) == null ? void 0 : _.clientX);
|
|
4763
4763
|
}
|
|
4764
|
-
},
|
|
4764
|
+
}, b = $a() ? {
|
|
4765
4765
|
passive: !1
|
|
4766
4766
|
} : !1;
|
|
4767
|
-
Nt(a) ? (f == null || f.addEventListener("touchmove", v.moveHandler,
|
|
4768
|
-
...
|
|
4767
|
+
Nt(a) ? (f == null || f.addEventListener("touchmove", v.moveHandler, b), f == null || f.addEventListener("touchend", v.upHandler, b)) : (f == null || f.addEventListener("mousemove", m.moveHandler, b), f == null || f.addEventListener("mouseup", m.upHandler, b)), n.setColumnSizingInfo((x) => ({
|
|
4768
|
+
...x,
|
|
4769
4769
|
startOffset: c,
|
|
4770
4770
|
startSize: i,
|
|
4771
4771
|
deltaOffset: 0,
|
|
@@ -4824,7 +4824,7 @@ const Ea = {
|
|
|
4824
4824
|
...e
|
|
4825
4825
|
}),
|
|
4826
4826
|
getDefaultOptions: (e) => ({
|
|
4827
|
-
onColumnVisibilityChange:
|
|
4827
|
+
onColumnVisibilityChange: xe("columnVisibility", e)
|
|
4828
4828
|
}),
|
|
4829
4829
|
createColumn: (e, n) => {
|
|
4830
4830
|
e.toggleVisibility = (t) => {
|
|
@@ -4879,7 +4879,7 @@ const _a = {
|
|
|
4879
4879
|
...e
|
|
4880
4880
|
}),
|
|
4881
4881
|
getDefaultOptions: (e) => ({
|
|
4882
|
-
onGlobalFilterChange:
|
|
4882
|
+
onGlobalFilterChange: xe("globalFilter", e),
|
|
4883
4883
|
globalFilterFn: "auto",
|
|
4884
4884
|
getColumnCanGlobalFilter: (n) => {
|
|
4885
4885
|
var t;
|
|
@@ -4912,7 +4912,7 @@ const _a = {
|
|
|
4912
4912
|
...e
|
|
4913
4913
|
}),
|
|
4914
4914
|
getDefaultOptions: (e) => ({
|
|
4915
|
-
onExpandedChange:
|
|
4915
|
+
onExpandedChange: xe("expanded", e),
|
|
4916
4916
|
paginateExpandedRows: !0
|
|
4917
4917
|
}),
|
|
4918
4918
|
createTable: (e) => {
|
|
@@ -5005,7 +5005,7 @@ const _a = {
|
|
|
5005
5005
|
}
|
|
5006
5006
|
}),
|
|
5007
5007
|
getDefaultOptions: (e) => ({
|
|
5008
|
-
onPaginationChange:
|
|
5008
|
+
onPaginationChange: xe("pagination", e)
|
|
5009
5009
|
}),
|
|
5010
5010
|
createTable: (e) => {
|
|
5011
5011
|
let n = !1, t = !1;
|
|
@@ -5085,7 +5085,7 @@ const _a = {
|
|
|
5085
5085
|
...e
|
|
5086
5086
|
}),
|
|
5087
5087
|
getDefaultOptions: (e) => ({
|
|
5088
|
-
onRowPinningChange:
|
|
5088
|
+
onRowPinningChange: xe("rowPinning", e)
|
|
5089
5089
|
}),
|
|
5090
5090
|
createRow: (e, n) => {
|
|
5091
5091
|
e.pin = (t, r, o) => {
|
|
@@ -5186,7 +5186,7 @@ const _a = {
|
|
|
5186
5186
|
...e
|
|
5187
5187
|
}),
|
|
5188
5188
|
getDefaultOptions: (e) => ({
|
|
5189
|
-
onRowSelectionChange:
|
|
5189
|
+
onRowSelectionChange: xe("rowSelection", e),
|
|
5190
5190
|
enableRowSelection: !0,
|
|
5191
5191
|
enableMultiRowSelection: !0,
|
|
5192
5192
|
enableSubRowSelection: !0
|
|
@@ -5336,7 +5336,7 @@ function Jt(e, n, t) {
|
|
|
5336
5336
|
}
|
|
5337
5337
|
}), o ? "all" : a ? "some" : !1;
|
|
5338
5338
|
}
|
|
5339
|
-
const Qt = /([0-9]+)/gm, Aa = (e, n, t) =>
|
|
5339
|
+
const Qt = /([0-9]+)/gm, Aa = (e, n, t) => wr(Ee(e.getValue(t)).toLowerCase(), Ee(n.getValue(t)).toLowerCase()), Na = (e, n, t) => wr(Ee(e.getValue(t)), Ee(n.getValue(t))), Ta = (e, n, t) => ln(Ee(e.getValue(t)).toLowerCase(), Ee(n.getValue(t)).toLowerCase()), za = (e, n, t) => ln(Ee(e.getValue(t)), Ee(n.getValue(t))), Oa = (e, n, t) => {
|
|
5340
5340
|
const r = e.getValue(t), o = n.getValue(t);
|
|
5341
5341
|
return r > o ? 1 : r < o ? -1 : 0;
|
|
5342
5342
|
}, Ia = (e, n, t) => ln(e.getValue(t), n.getValue(t));
|
|
@@ -5346,7 +5346,7 @@ function ln(e, n) {
|
|
|
5346
5346
|
function Ee(e) {
|
|
5347
5347
|
return typeof e == "number" ? isNaN(e) || e === 1 / 0 || e === -1 / 0 ? "" : String(e) : typeof e == "string" ? e : "";
|
|
5348
5348
|
}
|
|
5349
|
-
function
|
|
5349
|
+
function wr(e, n) {
|
|
5350
5350
|
const t = e.split(Qt).filter(Boolean), r = n.split(Qt).filter(Boolean);
|
|
5351
5351
|
for (; t.length && r.length; ) {
|
|
5352
5352
|
const o = t.shift(), a = r.shift(), i = parseInt(o, 10), l = parseInt(a, 10), c = [i, l].sort();
|
|
@@ -5383,7 +5383,7 @@ const Ve = {
|
|
|
5383
5383
|
sortUndefined: 1
|
|
5384
5384
|
}),
|
|
5385
5385
|
getDefaultOptions: (e) => ({
|
|
5386
|
-
onSortingChange:
|
|
5386
|
+
onSortingChange: xe("sorting", e),
|
|
5387
5387
|
isMultiSortEvent: (n) => n.shiftKey
|
|
5388
5388
|
}),
|
|
5389
5389
|
createColumn: (e, n) => {
|
|
@@ -5554,8 +5554,8 @@ function Ba(e) {
|
|
|
5554
5554
|
},
|
|
5555
5555
|
// footer: props => props.header.column.id,
|
|
5556
5556
|
cell: (m) => {
|
|
5557
|
-
var v,
|
|
5558
|
-
return (v = (
|
|
5557
|
+
var v, b;
|
|
5558
|
+
return (v = (b = m.renderValue()) == null || b.toString == null ? void 0 : b.toString()) != null ? v : null;
|
|
5559
5559
|
},
|
|
5560
5560
|
...o._features.reduce((m, v) => Object.assign(m, v.getDefaultColumnDef == null ? void 0 : v.getDefaultColumnDef()), {}),
|
|
5561
5561
|
...p
|
|
@@ -5563,10 +5563,10 @@ function Ba(e) {
|
|
|
5563
5563
|
}, G(e, "debugColumns", "_getDefaultColumnDef")),
|
|
5564
5564
|
_getColumnDefs: () => o.options.columns,
|
|
5565
5565
|
getAllColumns: q(() => [o._getColumnDefs()], (p) => {
|
|
5566
|
-
const f = function(m, v,
|
|
5567
|
-
return
|
|
5568
|
-
const _ = sa(o,
|
|
5569
|
-
return _.columns =
|
|
5566
|
+
const f = function(m, v, b) {
|
|
5567
|
+
return b === void 0 && (b = 0), m.map((x) => {
|
|
5568
|
+
const _ = sa(o, x, b, v), w = x;
|
|
5569
|
+
return _.columns = w.columns ? f(w.columns, _, b + 1) : [], _;
|
|
5570
5570
|
});
|
|
5571
5571
|
};
|
|
5572
5572
|
return f(p);
|
|
@@ -5705,8 +5705,8 @@ const Wa = {
|
|
|
5705
5705
|
const d = ie(null), g = (m) => {
|
|
5706
5706
|
const v = d.current;
|
|
5707
5707
|
if (!v) return;
|
|
5708
|
-
const
|
|
5709
|
-
|
|
5708
|
+
const b = document.createElement("span"), x = v.getBoundingClientRect(), _ = Math.max(x.width, x.height);
|
|
5709
|
+
b.style.width = b.style.height = `${_}px`, b.style.left = `${m.clientX - x.left - _ / 2}px`, b.style.top = `${m.clientY - x.top - _ / 2}px`, b.className = "ripple_small", v.appendChild(b), setTimeout(() => b.remove(), 600), r == null || r(m);
|
|
5710
5710
|
}, p = ((f = ge[n]) == null ? void 0 : f[e === "filled" ? "filled" : e === "outlined" ? "outline" : "transparent"]) || "";
|
|
5711
5711
|
return /* @__PURE__ */ s.jsx(
|
|
5712
5712
|
"button",
|
|
@@ -5969,7 +5969,7 @@ const Wa = {
|
|
|
5969
5969
|
range: p = !1,
|
|
5970
5970
|
minDistance: f = 0
|
|
5971
5971
|
}) => {
|
|
5972
|
-
const [m, v] = Z(null), [
|
|
5972
|
+
const [m, v] = Z(null), [b, x] = Z(null), _ = ie(null), w = ie(null), A = ie(null), y = ie(null), I = Ht[a] || Ht.blue, H = Ka[i], Y = Array.isArray(e) ? e[0] : e, [M, W] = Array.isArray(e) ? e : [e, e], ee = (Y - t) / (r - t) * 100, se = (M - t) / (r - t) * 100, K = (W - t) / (r - t) * 100, N = re(
|
|
5973
5973
|
(R) => {
|
|
5974
5974
|
if (p && Array.isArray(R)) {
|
|
5975
5975
|
const [L, P] = R, k = Math.max(t, Math.min(r, L)), E = Math.max(t, Math.min(r, P)), O = Math.round(k / o) * o, V = Math.round(E / o) * o;
|
|
@@ -6033,7 +6033,7 @@ const Wa = {
|
|
|
6033
6033
|
]
|
|
6034
6034
|
), Q = re(() => {
|
|
6035
6035
|
v(null);
|
|
6036
|
-
}, []),
|
|
6036
|
+
}, []), h = re(
|
|
6037
6037
|
(R, L) => {
|
|
6038
6038
|
if (l) return;
|
|
6039
6039
|
R.preventDefault(), R.stopPropagation();
|
|
@@ -6137,7 +6137,7 @@ const Wa = {
|
|
|
6137
6137
|
${l ? "opacity-60 cursor-not-allowed" : ""}
|
|
6138
6138
|
`,
|
|
6139
6139
|
onMouseDown: ne,
|
|
6140
|
-
onTouchStart:
|
|
6140
|
+
onTouchStart: h,
|
|
6141
6141
|
children: [
|
|
6142
6142
|
p ? /* @__PURE__ */ s.jsx(
|
|
6143
6143
|
"div",
|
|
@@ -6169,12 +6169,12 @@ const Wa = {
|
|
|
6169
6169
|
!p && /* @__PURE__ */ s.jsx(
|
|
6170
6170
|
"div",
|
|
6171
6171
|
{
|
|
6172
|
-
ref:
|
|
6172
|
+
ref: w,
|
|
6173
6173
|
className: `
|
|
6174
6174
|
absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2
|
|
6175
6175
|
${H.thumb} ${I.thumb} ${I.thumbHover} ${I.thumbActive}
|
|
6176
6176
|
rounded-full border-2 cursor-grab ${m === "single" ? "cursor-grabbing scale-110" : m ? "" : "transition-all duration-150"}
|
|
6177
|
-
${
|
|
6177
|
+
${b === "single" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
|
|
6178
6178
|
${l ? "opacity-60 cursor-not-allowed" : ""}
|
|
6179
6179
|
shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
|
|
6180
6180
|
`,
|
|
@@ -6186,10 +6186,10 @@ const Wa = {
|
|
|
6186
6186
|
"aria-valuenow": Y,
|
|
6187
6187
|
"aria-disabled": l,
|
|
6188
6188
|
onKeyDown: (R) => T(R, "single"),
|
|
6189
|
-
onFocus: () =>
|
|
6190
|
-
onBlur: () =>
|
|
6189
|
+
onFocus: () => x("single"),
|
|
6190
|
+
onBlur: () => x(null),
|
|
6191
6191
|
onMouseDown: (R) => ne(R, "single"),
|
|
6192
|
-
onTouchStart: (R) =>
|
|
6192
|
+
onTouchStart: (R) => h(R, "single")
|
|
6193
6193
|
}
|
|
6194
6194
|
),
|
|
6195
6195
|
p && /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
@@ -6201,7 +6201,7 @@ const Wa = {
|
|
|
6201
6201
|
absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2 z-10
|
|
6202
6202
|
${H.thumb} ${I.thumb} ${I.thumbHover} ${I.thumbActive}
|
|
6203
6203
|
rounded-full border-2 cursor-grab ${m === "min" ? "cursor-grabbing scale-110 z-20" : m ? "" : "transition-all duration-150"}
|
|
6204
|
-
${
|
|
6204
|
+
${b === "min" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
|
|
6205
6205
|
${l ? "opacity-60 cursor-not-allowed" : ""}
|
|
6206
6206
|
shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
|
|
6207
6207
|
`,
|
|
@@ -6214,10 +6214,10 @@ const Wa = {
|
|
|
6214
6214
|
"aria-disabled": l,
|
|
6215
6215
|
"aria-label": "Minimum value",
|
|
6216
6216
|
onKeyDown: (R) => T(R, "min"),
|
|
6217
|
-
onFocus: () =>
|
|
6218
|
-
onBlur: () =>
|
|
6217
|
+
onFocus: () => x("min"),
|
|
6218
|
+
onBlur: () => x(null),
|
|
6219
6219
|
onMouseDown: (R) => ne(R, "min"),
|
|
6220
|
-
onTouchStart: (R) =>
|
|
6220
|
+
onTouchStart: (R) => h(R, "min")
|
|
6221
6221
|
}
|
|
6222
6222
|
),
|
|
6223
6223
|
/* @__PURE__ */ s.jsx(
|
|
@@ -6228,7 +6228,7 @@ const Wa = {
|
|
|
6228
6228
|
absolute top-1/2 transform -translate-y-1/2 -translate-x-1/2 z-10
|
|
6229
6229
|
${H.thumb} ${I.thumb} ${I.thumbHover} ${I.thumbActive}
|
|
6230
6230
|
rounded-full border-2 cursor-grab ${m === "max" ? "cursor-grabbing scale-110 z-20" : m ? "" : "transition-all duration-150"}
|
|
6231
|
-
${
|
|
6231
|
+
${b === "max" ? "ring-2 ring-offset-1 ring-blue-300" : ""}
|
|
6232
6232
|
${l ? "opacity-60 cursor-not-allowed" : ""}
|
|
6233
6233
|
shadow-md hover:shadow-lg focus:outline-none dark:shadow-none
|
|
6234
6234
|
`,
|
|
@@ -6241,10 +6241,10 @@ const Wa = {
|
|
|
6241
6241
|
"aria-disabled": l,
|
|
6242
6242
|
"aria-label": "Maximum value",
|
|
6243
6243
|
onKeyDown: (R) => T(R, "max"),
|
|
6244
|
-
onFocus: () =>
|
|
6245
|
-
onBlur: () =>
|
|
6244
|
+
onFocus: () => x("max"),
|
|
6245
|
+
onBlur: () => x(null),
|
|
6246
6246
|
onMouseDown: (R) => ne(R, "max"),
|
|
6247
|
-
onTouchStart: (R) =>
|
|
6247
|
+
onTouchStart: (R) => h(R, "max")
|
|
6248
6248
|
}
|
|
6249
6249
|
)
|
|
6250
6250
|
] })
|
|
@@ -6359,7 +6359,7 @@ const Wa = {
|
|
|
6359
6359
|
var g, p;
|
|
6360
6360
|
const i = "inline-block", l = (g = ge[t]) == null ? void 0 : g.transparent, c = (p = ge[t]) == null ? void 0 : p.filled, u = Math.min(Math.max(n, 0), 100);
|
|
6361
6361
|
if (e === "circular") {
|
|
6362
|
-
const { size: f = 40, thickness: m = 3.6 } = a, v = (f - m) / 2,
|
|
6362
|
+
const { size: f = 40, thickness: m = 3.6 } = a, v = (f - m) / 2, b = 2 * Math.PI * v, x = `${b} ${b}`, _ = b - u / 100 * b;
|
|
6363
6363
|
return /* @__PURE__ */ s.jsx(
|
|
6364
6364
|
"div",
|
|
6365
6365
|
{
|
|
@@ -6401,8 +6401,8 @@ const Wa = {
|
|
|
6401
6401
|
strokeLinecap: "round",
|
|
6402
6402
|
className: `${l} transition-all duration-300 ease-out ${r ? "" : "animate-spin"}`,
|
|
6403
6403
|
style: {
|
|
6404
|
-
strokeDasharray:
|
|
6405
|
-
strokeDashoffset: r ? _ :
|
|
6404
|
+
strokeDasharray: x,
|
|
6405
|
+
strokeDashoffset: r ? _ : b * 0.75,
|
|
6406
6406
|
transformOrigin: "center"
|
|
6407
6407
|
}
|
|
6408
6408
|
}
|
|
@@ -6461,15 +6461,15 @@ const Wa = {
|
|
|
6461
6461
|
swipeable: f = !0,
|
|
6462
6462
|
thumbWidth: m = 60,
|
|
6463
6463
|
orientation: v = "horizontal",
|
|
6464
|
-
nextIcon:
|
|
6465
|
-
prevIcon:
|
|
6464
|
+
nextIcon: b,
|
|
6465
|
+
prevIcon: x,
|
|
6466
6466
|
className: _
|
|
6467
6467
|
}) => {
|
|
6468
|
-
const
|
|
6468
|
+
const w = e.length, A = Math.min(Math.max(c, 0.1), w), [y, I] = Z(0), [H, Y] = Z(!1), [M, W] = Z(!1), [ee, se] = Z(0), K = ie(null), N = ie(0), U = ie(0), z = A >= w ? 0 : Math.max(0, w - A), ne = (k) => Math.max(0, Math.min(k, z)), ce = (k) => I(
|
|
6469
6469
|
l && z > 0 ? (k % (z + 1) + (z + 1)) % (z + 1) : ne(k)
|
|
6470
6470
|
), Q = () => {
|
|
6471
6471
|
l && z > 0 ? I(y === 0 ? z : y - 1) : ce(y - 1);
|
|
6472
|
-
},
|
|
6472
|
+
}, h = () => {
|
|
6473
6473
|
l && z > 0 ? I(y >= z ? 0 : y + 1) : ce(y + 1);
|
|
6474
6474
|
};
|
|
6475
6475
|
le(() => {
|
|
@@ -6497,17 +6497,17 @@ const Wa = {
|
|
|
6497
6497
|
M && (U.current = v === "horizontal" ? k : E, se(U.current - N.current));
|
|
6498
6498
|
}, T = () => {
|
|
6499
6499
|
if (!M) return;
|
|
6500
|
-
Math.abs(U.current - N.current) > 50 && (U.current < N.current ?
|
|
6500
|
+
Math.abs(U.current - N.current) > 50 && (U.current < N.current ? h() : Q()), W(!1), se(0);
|
|
6501
6501
|
}, R = () => {
|
|
6502
6502
|
const k = v === "horizontal" ? "X" : "Y";
|
|
6503
6503
|
let E = 0;
|
|
6504
6504
|
if (M && K.current && z > 0) {
|
|
6505
6505
|
const ve = v === "horizontal" ? K.current.offsetWidth : K.current.offsetHeight;
|
|
6506
|
-
E = ee / ve * 100 * (A /
|
|
6506
|
+
E = ee / ve * 100 * (A / w);
|
|
6507
6507
|
}
|
|
6508
|
-
const V = Math.min(y, z) * (100 /
|
|
6508
|
+
const V = Math.min(y, z) * (100 / w) - E, S = y >= z, oe = y <= 0 ? 0 : S ? u / (c / 2) : u / c;
|
|
6509
6509
|
return `translate${k}(calc(-${V}% - ${oe}px))`;
|
|
6510
|
-
}, L = () => A >=
|
|
6510
|
+
}, L = () => A >= w ? 1 : Math.floor(z) + 1, P = () => z === 0 ? 0 : Math.round(y / z * (L() - 1));
|
|
6511
6511
|
return /* @__PURE__ */ s.jsxs(
|
|
6512
6512
|
"div",
|
|
6513
6513
|
{
|
|
@@ -6539,8 +6539,8 @@ const Wa = {
|
|
|
6539
6539
|
{
|
|
6540
6540
|
className: `flex ${v === "horizontal" ? "flex-row" : "flex-col"} transition-transform duration-300 ease-in-out`,
|
|
6541
6541
|
style: {
|
|
6542
|
-
width: v === "horizontal" ? `${
|
|
6543
|
-
height: v === "vertical" ? `${
|
|
6542
|
+
width: v === "horizontal" ? `${w * 100 / A}%` : "100%",
|
|
6543
|
+
height: v === "vertical" ? `${w * 100 / A}%` : "100%",
|
|
6544
6544
|
transform: R(),
|
|
6545
6545
|
gap: `${u}px`,
|
|
6546
6546
|
transitionProperty: M ? "none" : "transform"
|
|
@@ -6550,8 +6550,8 @@ const Wa = {
|
|
|
6550
6550
|
{
|
|
6551
6551
|
className: "shrink-0 flex items-center justify-center",
|
|
6552
6552
|
style: {
|
|
6553
|
-
width: v === "horizontal" ? `calc(${100 /
|
|
6554
|
-
height: v === "vertical" ? `calc(${100 /
|
|
6553
|
+
width: v === "horizontal" ? `calc(${100 / w}% - ${u / c}px)` : "100%",
|
|
6554
|
+
height: v === "vertical" ? `calc(${100 / w}% - ${u * (w - 1) / w}px)` : "100%"
|
|
6555
6555
|
},
|
|
6556
6556
|
onClick: () => !M && (d == null ? void 0 : d(E)),
|
|
6557
6557
|
children: k
|
|
@@ -6568,17 +6568,17 @@ const Wa = {
|
|
|
6568
6568
|
onClick: Q,
|
|
6569
6569
|
className: `absolute z-20 bg-color-white/80 border border-color-gray-300 rounded-full w-10 h-10 flex items-center justify-center text-lg font-bold text-color-gray-800 hover:bg-color-white transition-color cursor-pointer
|
|
6570
6570
|
${v === "horizontal" ? "left-2 top-1/2 -translate-y-1/2" : "left-1/2 top-2 -translate-x-1/2"}`,
|
|
6571
|
-
children:
|
|
6571
|
+
children: x || (v === "horizontal" ? "‹" : "↑")
|
|
6572
6572
|
}
|
|
6573
6573
|
),
|
|
6574
6574
|
/* @__PURE__ */ s.jsx(
|
|
6575
6575
|
"button",
|
|
6576
6576
|
{
|
|
6577
6577
|
"aria-label": "next",
|
|
6578
|
-
onClick:
|
|
6578
|
+
onClick: h,
|
|
6579
6579
|
className: `absolute z-20 bg-color-white/80 border border-color-gray-300 rounded-full w-10 h-10 flex items-center justify-center text-lg font-bold text-color-gray-800 hover:bg-color-white transition-colo cursor-pointer
|
|
6580
6580
|
${v === "horizontal" ? "right-2 top-1/2 -translate-y-1/2" : "left-1/2 bottom-2 -translate-x-1/2"}`,
|
|
6581
|
-
children:
|
|
6581
|
+
children: b || (v === "horizontal" ? "›" : "↓")
|
|
6582
6582
|
}
|
|
6583
6583
|
)
|
|
6584
6584
|
] }),
|
|
@@ -6954,24 +6954,24 @@ const Qa = {
|
|
|
6954
6954
|
fullWidth: c = !1,
|
|
6955
6955
|
maxWidth: u
|
|
6956
6956
|
}, d) => {
|
|
6957
|
-
const [g, p] = Z(e || !1), [f, m] = Z(!1), [v,
|
|
6957
|
+
const [g, p] = Z(e || !1), [f, m] = Z(!1), [v, b] = Z(!1);
|
|
6958
6958
|
le(() => {
|
|
6959
6959
|
e !== void 0 && p(e);
|
|
6960
6960
|
}, [e]), Kn(d, () => ({
|
|
6961
6961
|
open: () => p(!0),
|
|
6962
6962
|
close: () => {
|
|
6963
|
-
|
|
6963
|
+
b(!1), setTimeout(() => p(!1), 300);
|
|
6964
6964
|
}
|
|
6965
6965
|
})), le(() => {
|
|
6966
6966
|
let _;
|
|
6967
|
-
return g ? (m(!0), _ = setTimeout(() =>
|
|
6967
|
+
return g ? (m(!0), _ = setTimeout(() => b(!0), 10)) : b(!1), () => clearTimeout(_);
|
|
6968
6968
|
}, [g]);
|
|
6969
|
-
const
|
|
6969
|
+
const x = () => {
|
|
6970
6970
|
g || m(!1);
|
|
6971
6971
|
};
|
|
6972
6972
|
return le(() => {
|
|
6973
|
-
const _ = (
|
|
6974
|
-
|
|
6973
|
+
const _ = (w) => {
|
|
6974
|
+
w.key === "Escape" && (n == null || n());
|
|
6975
6975
|
};
|
|
6976
6976
|
return g && document.addEventListener("keydown", _), () => document.removeEventListener("keydown", _);
|
|
6977
6977
|
}, [g, n]), le(() => (g ? (document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden") : (document.body.style.overflow = "", document.documentElement.style.overflow = ""), () => {
|
|
@@ -6998,7 +6998,7 @@ const Qa = {
|
|
|
6998
6998
|
"div",
|
|
6999
6999
|
{
|
|
7000
7000
|
className: `relative flex flex-col z-50 bg-color-white rounded-xl shadow-lg transition-all duration-300 transform p-6 ${v ? "opacity-100 scale-100" : "opacity-0 scale-95"} ${l ? "w-full h-[calc(100%_-_40px)] m-5" : `${c ? "w-full" : "w-auto"} ${u ? Qa[u] : ""} mx-5`} ${t}`,
|
|
7001
|
-
onTransitionEnd:
|
|
7001
|
+
onTransitionEnd: x,
|
|
7002
7002
|
children: [
|
|
7003
7003
|
/* @__PURE__ */ s.jsxs("div", { className: "flex items-center justify-between mb-4", children: [
|
|
7004
7004
|
r && /* @__PURE__ */ s.jsx("h2", { className: "text-xl font-semibold", children: r }),
|
|
@@ -7034,16 +7034,16 @@ function Wl({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
|
|
|
7034
7034
|
};
|
|
7035
7035
|
Br(() => {
|
|
7036
7036
|
if (o && d.current && g.current) {
|
|
7037
|
-
const m = d.current.getBoundingClientRect(), v = g.current.getBoundingClientRect(),
|
|
7038
|
-
let _ = m.left + window.scrollX,
|
|
7039
|
-
m.right + v.width >
|
|
7037
|
+
const m = d.current.getBoundingClientRect(), v = g.current.getBoundingClientRect(), b = window.innerWidth, x = window.innerHeight;
|
|
7038
|
+
let _ = m.left + window.scrollX, w = m.bottom + window.scrollY;
|
|
7039
|
+
m.right + v.width > b && (_ = m.right + window.scrollX - v.width), _ + v.width > b && (_ = b - v.width - 12), w + v.height > x && (w = m.top + window.scrollY - v.height), l({ top: w, left: _ }), setTimeout(() => {
|
|
7040
7040
|
u(!0);
|
|
7041
7041
|
}, 150);
|
|
7042
7042
|
}
|
|
7043
7043
|
}, [o]), le(() => {
|
|
7044
7044
|
const m = (v) => {
|
|
7045
|
-
var
|
|
7046
|
-
g.current && !g.current.contains(v.target) && !((
|
|
7045
|
+
var b;
|
|
7046
|
+
g.current && !g.current.contains(v.target) && !((b = d.current) != null && b.contains(v.target)) && a(!1);
|
|
7047
7047
|
};
|
|
7048
7048
|
return o && document.addEventListener("mousedown", m), () => {
|
|
7049
7049
|
document.removeEventListener("mousedown", m);
|
|
@@ -7063,8 +7063,8 @@ function Wl({ items: e, trigger: n, className: t, dropdownItemClass: r }) {
|
|
|
7063
7063
|
{
|
|
7064
7064
|
disabled: m.disabled,
|
|
7065
7065
|
onClick: () => {
|
|
7066
|
-
var
|
|
7067
|
-
(
|
|
7066
|
+
var b;
|
|
7067
|
+
(b = m.onClick) == null || b.call(m), a(!1);
|
|
7068
7068
|
},
|
|
7069
7069
|
className: `flex items-center gap-3 w-full text-left px-3 py-2 bg-color-transparent hover:bg-color-gray-100 transition-all cursor-pointer rounded-md text-md text-color-gray-700 ${m.disabled ? "opacity-50 hover:bg-color-transparent !cursor-not-allowed" : ""} ${r} ${m.itemClass}`,
|
|
7070
7070
|
children: [
|
|
@@ -7097,19 +7097,19 @@ const ni = ({
|
|
|
7097
7097
|
}) => {
|
|
7098
7098
|
const [u, d] = Z(!1), [g, p] = Z(!1);
|
|
7099
7099
|
le(() => {
|
|
7100
|
-
let
|
|
7101
|
-
return e ? (d(!0),
|
|
7100
|
+
let b;
|
|
7101
|
+
return e ? (d(!0), b = setTimeout(() => {
|
|
7102
7102
|
p(!0);
|
|
7103
|
-
}, 10)) : p(!1), () => clearTimeout(
|
|
7103
|
+
}, 10)) : p(!1), () => clearTimeout(b);
|
|
7104
7104
|
}, [e]);
|
|
7105
7105
|
const f = () => {
|
|
7106
7106
|
e || d(!1);
|
|
7107
7107
|
};
|
|
7108
7108
|
if (le(() => {
|
|
7109
|
-
const
|
|
7110
|
-
|
|
7109
|
+
const b = (x) => {
|
|
7110
|
+
x.key === "Escape" && (n == null || n());
|
|
7111
7111
|
};
|
|
7112
|
-
return e && document.addEventListener("keydown",
|
|
7112
|
+
return e && document.addEventListener("keydown", b), () => document.removeEventListener("keydown", b);
|
|
7113
7113
|
}, [e, n]), le(() => (e ? (document.body.style.overflow = "hidden", document.documentElement.style.overflow = "hidden") : (document.body.style.overflow = "", document.documentElement.style.overflow = ""), () => {
|
|
7114
7114
|
document.body.style.overflow = "", document.documentElement.style.overflow = "";
|
|
7115
7115
|
}), [e]), !u) return null;
|
|
@@ -7367,7 +7367,7 @@ function ii(e, n, t, r) {
|
|
|
7367
7367
|
li(i);
|
|
7368
7368
|
let l = null;
|
|
7369
7369
|
for (let c = 0; l == null && c < i.length; ++c) {
|
|
7370
|
-
let u =
|
|
7370
|
+
let u = xi(a);
|
|
7371
7371
|
l = vi(
|
|
7372
7372
|
i[c],
|
|
7373
7373
|
u,
|
|
@@ -7483,7 +7483,7 @@ function vi(e, n, t = !1) {
|
|
|
7483
7483
|
}
|
|
7484
7484
|
function pt(e, n) {
|
|
7485
7485
|
typeof e == "string" && (e = { path: e, caseSensitive: !1, end: !0 });
|
|
7486
|
-
let [t, r] =
|
|
7486
|
+
let [t, r] = hi(
|
|
7487
7487
|
e.path,
|
|
7488
7488
|
e.caseSensitive,
|
|
7489
7489
|
e.end
|
|
@@ -7507,7 +7507,7 @@ function pt(e, n) {
|
|
|
7507
7507
|
pattern: e
|
|
7508
7508
|
};
|
|
7509
7509
|
}
|
|
7510
|
-
function
|
|
7510
|
+
function hi(e, n = !1, t = !0) {
|
|
7511
7511
|
Re(
|
|
7512
7512
|
e === "*" || !e.endsWith("*") || e.endsWith("/*"),
|
|
7513
7513
|
`Route path "${e}" will be treated as if it were "${e.replace(/\*$/, "/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/, "/*")}".`
|
|
@@ -7518,7 +7518,7 @@ function xi(e, n = !1, t = !0) {
|
|
|
7518
7518
|
);
|
|
7519
7519
|
return e.endsWith("*") ? (r.push({ paramName: "*" }), o += e === "*" || e === "/*" ? "(.*)$" : "(?:\\/(.+)|\\/*)$") : t ? o += "\\/*$" : e !== "" && e !== "/" && (o += "(?:(?=\\/|$))"), [new RegExp(o, n ? void 0 : "i"), r];
|
|
7520
7520
|
}
|
|
7521
|
-
function
|
|
7521
|
+
function xi(e) {
|
|
7522
7522
|
try {
|
|
7523
7523
|
return e.split("/").map((n) => decodeURIComponent(n).replace(/\//g, "%2F")).join("/");
|
|
7524
7524
|
} catch (n) {
|
|
@@ -7535,19 +7535,19 @@ function _e(e, n) {
|
|
|
7535
7535
|
let t = n.endsWith("/") ? n.length - 1 : n.length, r = e.charAt(t);
|
|
7536
7536
|
return r && r !== "/" ? null : e.slice(t) || "/";
|
|
7537
7537
|
}
|
|
7538
|
-
function
|
|
7538
|
+
function bi(e, n = "/") {
|
|
7539
7539
|
let {
|
|
7540
7540
|
pathname: t,
|
|
7541
7541
|
search: r = "",
|
|
7542
7542
|
hash: o = ""
|
|
7543
7543
|
} = typeof e == "string" ? sn(e) : e;
|
|
7544
7544
|
return {
|
|
7545
|
-
pathname: t ? t.startsWith("/") ? t :
|
|
7545
|
+
pathname: t ? t.startsWith("/") ? t : wi(t, n) : n,
|
|
7546
7546
|
search: Si(r),
|
|
7547
7547
|
hash: Ri(o)
|
|
7548
7548
|
};
|
|
7549
7549
|
}
|
|
7550
|
-
function
|
|
7550
|
+
function wi(e, n) {
|
|
7551
7551
|
let t = n.replace(/\/+$/, "").split("/");
|
|
7552
7552
|
return e.split("/").forEach((o) => {
|
|
7553
7553
|
o === ".." ? t.length > 1 && t.pop() : o !== "." && t.push(o);
|
|
@@ -7594,7 +7594,7 @@ function jr(e, n, t, r = !1) {
|
|
|
7594
7594
|
}
|
|
7595
7595
|
l = g >= 0 ? n[g] : "/";
|
|
7596
7596
|
}
|
|
7597
|
-
let c =
|
|
7597
|
+
let c = bi(o, l), u = i && i !== "/" && i.endsWith("/"), d = (a || i === ".") && t.endsWith("/");
|
|
7598
7598
|
return !c.pathname.endsWith("/") && (u || d) && (c.pathname += "/"), c;
|
|
7599
7599
|
}
|
|
7600
7600
|
var Se = (e) => e.join("/").replace(/\/\/+/g, "/"), Ci = (e) => e.replace(/\/+$/, "").replace(/^\/*/, "/"), Si = (e) => !e || e === "?" ? "" : e.startsWith("?") ? e : "?" + e, Ri = (e) => !e || e === "#" ? "" : e.startsWith("#") ? e : "#" + e;
|
|
@@ -7735,21 +7735,21 @@ function Li(e, n, t, r) {
|
|
|
7735
7735
|
);
|
|
7736
7736
|
let { navigator: o } = $.useContext(je), { matches: a } = $.useContext(ke), i = a[a.length - 1], l = i ? i.params : {}, c = i ? i.pathname : "/", u = i ? i.pathnameBase : "/", d = i && i.route;
|
|
7737
7737
|
{
|
|
7738
|
-
let
|
|
7738
|
+
let x = d && d.path || "";
|
|
7739
7739
|
Pr(
|
|
7740
7740
|
c,
|
|
7741
|
-
!d ||
|
|
7742
|
-
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${
|
|
7741
|
+
!d || x.endsWith("*") || x.endsWith("*?"),
|
|
7742
|
+
`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${c}" (under <Route path="${x}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.
|
|
7743
7743
|
|
|
7744
|
-
Please change the parent <Route path="${
|
|
7744
|
+
Please change the parent <Route path="${x}"> to <Route path="${x === "/" ? "*" : `${x}/*`}">.`
|
|
7745
7745
|
);
|
|
7746
7746
|
}
|
|
7747
7747
|
let g = Fe(), p;
|
|
7748
7748
|
p = g;
|
|
7749
7749
|
let f = p.pathname || "/", m = f;
|
|
7750
7750
|
if (u !== "/") {
|
|
7751
|
-
let
|
|
7752
|
-
m = "/" + f.replace(/^\//, "").split("/").slice(
|
|
7751
|
+
let x = u.replace(/^\//, "").split("/");
|
|
7752
|
+
m = "/" + f.replace(/^\//, "").split("/").slice(x.length).join("/");
|
|
7753
7753
|
}
|
|
7754
7754
|
let v = yr(e, { pathname: m });
|
|
7755
7755
|
return Re(
|
|
@@ -7760,17 +7760,17 @@ Please change the parent <Route path="${h}"> to <Route path="${h === "/" ? "*" :
|
|
|
7760
7760
|
`Matched leaf route at location "${p.pathname}${p.search}${p.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`
|
|
7761
7761
|
), Ti(
|
|
7762
7762
|
v && v.map(
|
|
7763
|
-
(
|
|
7764
|
-
params: Object.assign({}, l,
|
|
7763
|
+
(x) => Object.assign({}, x, {
|
|
7764
|
+
params: Object.assign({}, l, x.params),
|
|
7765
7765
|
pathname: Se([
|
|
7766
7766
|
u,
|
|
7767
7767
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
7768
|
-
o.encodeLocation ? o.encodeLocation(
|
|
7768
|
+
o.encodeLocation ? o.encodeLocation(x.pathname).pathname : x.pathname
|
|
7769
7769
|
]),
|
|
7770
|
-
pathnameBase:
|
|
7770
|
+
pathnameBase: x.pathnameBase === "/" ? u : Se([
|
|
7771
7771
|
u,
|
|
7772
7772
|
// Re-encode pathnames that were decoded inside matchRoutes
|
|
7773
|
-
o.encodeLocation ? o.encodeLocation(
|
|
7773
|
+
o.encodeLocation ? o.encodeLocation(x.pathnameBase).pathname : x.pathnameBase
|
|
7774
7774
|
])
|
|
7775
7775
|
})
|
|
7776
7776
|
),
|
|
@@ -7875,9 +7875,9 @@ function Ti(e, n = [], t = null, r = null) {
|
|
|
7875
7875
|
!1,
|
|
7876
7876
|
"No `HydrateFallback` element provided to render during initial hydration"
|
|
7877
7877
|
), p = !0, m = null) : l === d && (p = !0, m = u.route.hydrateFallbackElement || null)));
|
|
7878
|
-
let v = n.concat(o.slice(0, d + 1)),
|
|
7879
|
-
let
|
|
7880
|
-
return g ?
|
|
7878
|
+
let v = n.concat(o.slice(0, d + 1)), b = () => {
|
|
7879
|
+
let x;
|
|
7880
|
+
return g ? x = f : p ? x = m : u.route.Component ? x = /* @__PURE__ */ $.createElement(u.route.Component, null) : u.route.element ? x = u.route.element : x = c, /* @__PURE__ */ $.createElement(
|
|
7881
7881
|
Ni,
|
|
7882
7882
|
{
|
|
7883
7883
|
match: u,
|
|
@@ -7886,7 +7886,7 @@ function Ti(e, n = [], t = null, r = null) {
|
|
|
7886
7886
|
matches: v,
|
|
7887
7887
|
isDataRoute: t != null
|
|
7888
7888
|
},
|
|
7889
|
-
children:
|
|
7889
|
+
children: x
|
|
7890
7890
|
}
|
|
7891
7891
|
);
|
|
7892
7892
|
};
|
|
@@ -7897,10 +7897,10 @@ function Ti(e, n = [], t = null, r = null) {
|
|
|
7897
7897
|
revalidation: t.revalidation,
|
|
7898
7898
|
component: f,
|
|
7899
7899
|
error: g,
|
|
7900
|
-
children:
|
|
7900
|
+
children: b(),
|
|
7901
7901
|
routeContext: { outlet: null, matches: v, isDataRoute: !0 }
|
|
7902
7902
|
}
|
|
7903
|
-
) :
|
|
7903
|
+
) : b();
|
|
7904
7904
|
},
|
|
7905
7905
|
null
|
|
7906
7906
|
);
|
|
@@ -8187,13 +8187,13 @@ function sl(e, n) {
|
|
|
8187
8187
|
let t = $.useContext(mn), [r, o] = $.useState(!1), [a, i] = $.useState(!1), { onFocus: l, onBlur: c, onMouseEnter: u, onMouseLeave: d, onTouchStart: g } = n, p = $.useRef(null);
|
|
8188
8188
|
$.useEffect(() => {
|
|
8189
8189
|
if (e === "render" && i(!0), e === "viewport") {
|
|
8190
|
-
let v = (
|
|
8191
|
-
|
|
8190
|
+
let v = (x) => {
|
|
8191
|
+
x.forEach((_) => {
|
|
8192
8192
|
i(_.isIntersecting);
|
|
8193
8193
|
});
|
|
8194
|
-
},
|
|
8195
|
-
return p.current &&
|
|
8196
|
-
|
|
8194
|
+
}, b = new IntersectionObserver(v, { threshold: 0.5 });
|
|
8195
|
+
return p.current && b.observe(p.current), () => {
|
|
8196
|
+
b.disconnect();
|
|
8197
8197
|
};
|
|
8198
8198
|
}
|
|
8199
8199
|
}, [e]), $.useEffect(() => {
|
|
@@ -8277,17 +8277,17 @@ function dl({
|
|
|
8277
8277
|
if (e === r.pathname + r.search + r.hash)
|
|
8278
8278
|
return [];
|
|
8279
8279
|
let m = /* @__PURE__ */ new Set(), v = !1;
|
|
8280
|
-
if (n.forEach((
|
|
8281
|
-
var
|
|
8282
|
-
let _ = o.routes[
|
|
8283
|
-
!_ || !_.hasLoader || (!u.some((A) => A.route.id ===
|
|
8280
|
+
if (n.forEach((x) => {
|
|
8281
|
+
var w;
|
|
8282
|
+
let _ = o.routes[x.route.id];
|
|
8283
|
+
!_ || !_.hasLoader || (!u.some((A) => A.route.id === x.route.id) && x.route.id in l && ((w = a[x.route.id]) != null && w.shouldRevalidate) || _.hasClientLoader ? v = !0 : m.add(x.route.id));
|
|
8284
8284
|
}), m.size === 0)
|
|
8285
8285
|
return [];
|
|
8286
|
-
let
|
|
8287
|
-
return v && m.size > 0 &&
|
|
8286
|
+
let b = Qi(e, i, "data");
|
|
8287
|
+
return v && m.size > 0 && b.searchParams.set(
|
|
8288
8288
|
"_routes",
|
|
8289
|
-
n.filter((
|
|
8290
|
-
), [
|
|
8289
|
+
n.filter((x) => m.has(x.route.id)).map((x) => x.route.id).join(",")
|
|
8290
|
+
), [b.pathname + b.search];
|
|
8291
8291
|
}, [
|
|
8292
8292
|
i,
|
|
8293
8293
|
l,
|
|
@@ -8335,18 +8335,18 @@ var Dr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, gn = $.forwardRef(
|
|
|
8335
8335
|
viewTransition: g,
|
|
8336
8336
|
...p
|
|
8337
8337
|
}, f) {
|
|
8338
|
-
let { basename: m } = $.useContext(je), v = typeof u == "string" && Dr.test(u),
|
|
8339
|
-
if (typeof u == "string" && v && (
|
|
8338
|
+
let { basename: m } = $.useContext(je), v = typeof u == "string" && Dr.test(u), b, x = !1;
|
|
8339
|
+
if (typeof u == "string" && v && (b = u, Fr))
|
|
8340
8340
|
try {
|
|
8341
8341
|
let M = new URL(window.location.href), W = u.startsWith("//") ? new URL(M.protocol + u) : new URL(u), ee = _e(W.pathname, m);
|
|
8342
|
-
W.origin === M.origin && ee != null ? u = ee + W.search + W.hash :
|
|
8342
|
+
W.origin === M.origin && ee != null ? u = ee + W.search + W.hash : x = !0;
|
|
8343
8343
|
} catch {
|
|
8344
8344
|
Re(
|
|
8345
8345
|
!1,
|
|
8346
8346
|
`<Link to="${u}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`
|
|
8347
8347
|
);
|
|
8348
8348
|
}
|
|
8349
|
-
let _ = _i(u, { relative: o }), [
|
|
8349
|
+
let _ = _i(u, { relative: o }), [w, A, y] = sl(
|
|
8350
8350
|
r,
|
|
8351
8351
|
p
|
|
8352
8352
|
), I = gl(u, {
|
|
@@ -8367,15 +8367,15 @@ var Dr = /^(?:[a-z][a-z0-9+.-]*:|\/\/)/i, gn = $.forwardRef(
|
|
|
8367
8367
|
{
|
|
8368
8368
|
...p,
|
|
8369
8369
|
...y,
|
|
8370
|
-
href:
|
|
8371
|
-
onClick:
|
|
8370
|
+
href: b || _,
|
|
8371
|
+
onClick: x || a ? n : H,
|
|
8372
8372
|
ref: pl(f, A),
|
|
8373
8373
|
target: c,
|
|
8374
8374
|
"data-discover": !v && t === "render" ? "true" : void 0
|
|
8375
8375
|
}
|
|
8376
8376
|
)
|
|
8377
8377
|
);
|
|
8378
|
-
return
|
|
8378
|
+
return w && !v ? /* @__PURE__ */ $.createElement($.Fragment, null, Y, /* @__PURE__ */ $.createElement(cl, { page: _ })) : Y;
|
|
8379
8379
|
}
|
|
8380
8380
|
);
|
|
8381
8381
|
gn.displayName = "Link";
|
|
@@ -8391,21 +8391,21 @@ var Ar = $.forwardRef(
|
|
|
8391
8391
|
children: c,
|
|
8392
8392
|
...u
|
|
8393
8393
|
}, d) {
|
|
8394
|
-
let g = Ue(i, { relative: u.relative }), p = Fe(), f = $.useContext(mt), { navigator: m, basename: v } = $.useContext(je),
|
|
8394
|
+
let g = Ue(i, { relative: u.relative }), p = Fe(), f = $.useContext(mt), { navigator: m, basename: v } = $.useContext(je), b = f != null && // Conditional usage is OK here because the usage of a data router is static
|
|
8395
8395
|
// eslint-disable-next-line react-hooks/rules-of-hooks
|
|
8396
|
-
|
|
8397
|
-
t || (_ = _.toLowerCase(),
|
|
8398
|
-
const A =
|
|
8399
|
-
let y = _ ===
|
|
8396
|
+
wl(g) && l === !0, x = m.encodeLocation ? m.encodeLocation(g).pathname : g.pathname, _ = p.pathname, w = f && f.navigation && f.navigation.location ? f.navigation.location.pathname : null;
|
|
8397
|
+
t || (_ = _.toLowerCase(), w = w ? w.toLowerCase() : null, x = x.toLowerCase()), w && v && (w = _e(w, v) || w);
|
|
8398
|
+
const A = x !== "/" && x.endsWith("/") ? x.length - 1 : x.length;
|
|
8399
|
+
let y = _ === x || !o && _.startsWith(x) && _.charAt(A) === "/", I = w != null && (w === x || !o && w.startsWith(x) && w.charAt(x.length) === "/"), H = {
|
|
8400
8400
|
isActive: y,
|
|
8401
8401
|
isPending: I,
|
|
8402
|
-
isTransitioning:
|
|
8402
|
+
isTransitioning: b
|
|
8403
8403
|
}, Y = y ? n : void 0, M;
|
|
8404
8404
|
typeof r == "function" ? M = r(H) : M = [
|
|
8405
8405
|
r,
|
|
8406
8406
|
y ? "active" : null,
|
|
8407
8407
|
I ? "pending" : null,
|
|
8408
|
-
|
|
8408
|
+
b ? "transitioning" : null
|
|
8409
8409
|
].filter(Boolean).join(" ");
|
|
8410
8410
|
let W = typeof a == "function" ? a(H) : a;
|
|
8411
8411
|
return /* @__PURE__ */ $.createElement(
|
|
@@ -8440,11 +8440,11 @@ var fl = $.forwardRef(
|
|
|
8440
8440
|
viewTransition: g,
|
|
8441
8441
|
...p
|
|
8442
8442
|
}, f) => {
|
|
8443
|
-
let m =
|
|
8444
|
-
if (c && c(
|
|
8445
|
-
|
|
8446
|
-
let A =
|
|
8447
|
-
m(A ||
|
|
8443
|
+
let m = xl(), v = bl(l, { relative: u }), b = i.toLowerCase() === "get" ? "get" : "post", x = typeof l == "string" && Dr.test(l), _ = (w) => {
|
|
8444
|
+
if (c && c(w), w.defaultPrevented) return;
|
|
8445
|
+
w.preventDefault();
|
|
8446
|
+
let A = w.nativeEvent.submitter, y = (A == null ? void 0 : A.getAttribute("formmethod")) || i;
|
|
8447
|
+
m(A || w.currentTarget, {
|
|
8448
8448
|
fetcherKey: n,
|
|
8449
8449
|
method: y,
|
|
8450
8450
|
navigate: t,
|
|
@@ -8459,11 +8459,11 @@ var fl = $.forwardRef(
|
|
|
8459
8459
|
"form",
|
|
8460
8460
|
{
|
|
8461
8461
|
ref: f,
|
|
8462
|
-
method:
|
|
8462
|
+
method: b,
|
|
8463
8463
|
action: v,
|
|
8464
8464
|
onSubmit: r ? c : _,
|
|
8465
8465
|
...p,
|
|
8466
|
-
"data-discover": !
|
|
8466
|
+
"data-discover": !x && e === "render" ? "true" : void 0
|
|
8467
8467
|
}
|
|
8468
8468
|
);
|
|
8469
8469
|
}
|
|
@@ -8513,8 +8513,8 @@ function gl(e, {
|
|
|
8513
8513
|
]
|
|
8514
8514
|
);
|
|
8515
8515
|
}
|
|
8516
|
-
var vl = 0,
|
|
8517
|
-
function
|
|
8516
|
+
var vl = 0, hl = () => `__${String(++vl)}__`;
|
|
8517
|
+
function xl() {
|
|
8518
8518
|
let { router: e } = Nr(
|
|
8519
8519
|
"useSubmit"
|
|
8520
8520
|
/* UseSubmit */
|
|
@@ -8526,7 +8526,7 @@ function hl() {
|
|
|
8526
8526
|
n
|
|
8527
8527
|
);
|
|
8528
8528
|
if (o.navigate === !1) {
|
|
8529
|
-
let d = o.fetcherKey ||
|
|
8529
|
+
let d = o.fetcherKey || hl();
|
|
8530
8530
|
await e.fetch(d, t, o.action || a, {
|
|
8531
8531
|
preventScrollReset: o.preventScrollReset,
|
|
8532
8532
|
formData: c,
|
|
@@ -8552,7 +8552,7 @@ function hl() {
|
|
|
8552
8552
|
[e, n, t]
|
|
8553
8553
|
);
|
|
8554
8554
|
}
|
|
8555
|
-
function
|
|
8555
|
+
function bl(e, { relative: n } = {}) {
|
|
8556
8556
|
let { basename: t } = $.useContext(je), r = $.useContext(ke);
|
|
8557
8557
|
pe(r, "useFormAction must be used inside a RouteContext");
|
|
8558
8558
|
let [o] = r.matches.slice(-1), a = { ...Ue(e || ".", { relative: n }) }, i = Fe();
|
|
@@ -8567,7 +8567,7 @@ function wl(e, { relative: n } = {}) {
|
|
|
8567
8567
|
}
|
|
8568
8568
|
return (!e || e === ".") && o.route.index && (a.search = a.search ? a.search.replace(/^\?/, "?index&") : "?index"), t !== "/" && (a.pathname = a.pathname === "/" ? t : Se([t, a.pathname])), en(a);
|
|
8569
8569
|
}
|
|
8570
|
-
function
|
|
8570
|
+
function wl(e, { relative: n } = {}) {
|
|
8571
8571
|
let t = $.useContext($r);
|
|
8572
8572
|
pe(
|
|
8573
8573
|
t != null,
|
|
@@ -8631,9 +8631,9 @@ const Kl = ({
|
|
|
8631
8631
|
disableAfter: u,
|
|
8632
8632
|
selectedDate: d
|
|
8633
8633
|
}) => {
|
|
8634
|
-
const [g, p] = Z(!1), [f, m] = Z(null), [v,
|
|
8634
|
+
const [g, p] = Z(!1), [f, m] = Z(null), [v, b] = Z(/* @__PURE__ */ new Date()), [x, _] = Z(
|
|
8635
8635
|
d ? new Date(d) : null
|
|
8636
|
-
), [
|
|
8636
|
+
), [w, A] = Z(null), [y, I] = Z(null), [H, Y] = Z(null), [M, W] = Z({ hour: 12, minute: 0, ampm: "AM" }), ee = ie(null), [se, K] = Z(
|
|
8637
8637
|
d ? new Date(d) : null
|
|
8638
8638
|
), [N, U] = Z(null), [z, ne] = Z(null);
|
|
8639
8639
|
le(() => {
|
|
@@ -8643,25 +8643,25 @@ const Kl = ({
|
|
|
8643
8643
|
S.stopPropagation(), m(S.currentTarget), p(!0);
|
|
8644
8644
|
}, Q = () => {
|
|
8645
8645
|
p(!1);
|
|
8646
|
-
},
|
|
8647
|
-
n === "inline" && ee.current && !ee.current.contains(S.target) && (e === "single" ?
|
|
8646
|
+
}, h = (S) => !!(c && S.getTime() < c || u && S.getTime() > u), C = (S) => {
|
|
8647
|
+
n === "inline" && ee.current && !ee.current.contains(S.target) && (e === "single" ? x || _(null) : e === "range" && (!w || !y) && (A(null), I(null)), p(!1));
|
|
8648
8648
|
};
|
|
8649
8649
|
le(() => (g ? document.addEventListener("mousedown", C) : document.removeEventListener("mousedown", C), () => {
|
|
8650
8650
|
document.removeEventListener("mousedown", C);
|
|
8651
8651
|
}), [g]);
|
|
8652
8652
|
const F = (S) => {
|
|
8653
|
-
!S ||
|
|
8653
|
+
!S || h(S) || (e === "single" ? _(S) : e === "range" && (!w || w && y ? (A(S), I(null)) : S >= w ? I(S) : A(S)));
|
|
8654
8654
|
}, T = (S) => {
|
|
8655
|
-
if (!S ||
|
|
8655
|
+
if (!S || h(S)) {
|
|
8656
8656
|
Y(null);
|
|
8657
8657
|
return;
|
|
8658
8658
|
}
|
|
8659
|
-
e === "range" &&
|
|
8659
|
+
e === "range" && w && !y && Y(S);
|
|
8660
8660
|
}, R = () => {
|
|
8661
8661
|
Y(null);
|
|
8662
8662
|
}, L = () => {
|
|
8663
8663
|
if (p(!1), e === "single") {
|
|
8664
|
-
const S = r ? /* @__PURE__ */ new Date() :
|
|
8664
|
+
const S = r ? /* @__PURE__ */ new Date() : x, j = S ? new Date(
|
|
8665
8665
|
S.getFullYear(),
|
|
8666
8666
|
S.getMonth(),
|
|
8667
8667
|
S.getDate(),
|
|
@@ -8669,8 +8669,8 @@ const Kl = ({
|
|
|
8669
8669
|
M.minute
|
|
8670
8670
|
) : null;
|
|
8671
8671
|
K(j), a == null || a(j ? j.getTime() : null);
|
|
8672
|
-
} else e === "range" && (U(
|
|
8673
|
-
startDate:
|
|
8672
|
+
} else e === "range" && (U(w), ne(y), a == null || a({
|
|
8673
|
+
startDate: w ? w.getTime() : null,
|
|
8674
8674
|
endDate: y ? y.getTime() : null
|
|
8675
8675
|
}));
|
|
8676
8676
|
}, P = () => {
|
|
@@ -8683,13 +8683,13 @@ const Kl = ({
|
|
|
8683
8683
|
}, k = (S) => {
|
|
8684
8684
|
if (!S) return !1;
|
|
8685
8685
|
if (e === "single")
|
|
8686
|
-
return (
|
|
8686
|
+
return (x == null ? void 0 : x.toDateString()) === S.toDateString();
|
|
8687
8687
|
if (e === "range") {
|
|
8688
|
-
if (
|
|
8689
|
-
const j =
|
|
8688
|
+
if (w && !y && H) {
|
|
8689
|
+
const j = w < H ? w : H, oe = w < H ? H : w;
|
|
8690
8690
|
return S >= j && S <= oe;
|
|
8691
8691
|
}
|
|
8692
|
-
return
|
|
8692
|
+
return w && y && S >= w && S <= y;
|
|
8693
8693
|
}
|
|
8694
8694
|
return !1;
|
|
8695
8695
|
}, E = (S, j) => {
|
|
@@ -8750,7 +8750,7 @@ const Kl = ({
|
|
|
8750
8750
|
size: "small",
|
|
8751
8751
|
color: "gray",
|
|
8752
8752
|
roundedFull: !0,
|
|
8753
|
-
onClick: () =>
|
|
8753
|
+
onClick: () => b(new Date(v.getFullYear(), v.getMonth() - 1, 1)),
|
|
8754
8754
|
icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M10.8284 12.0007L15.7782 16.9504L14.364 18.3646L8 12.0007L14.364 5.63672L15.7782 7.05093L10.8284 12.0007Z" }) })
|
|
8755
8755
|
}
|
|
8756
8756
|
),
|
|
@@ -8760,7 +8760,7 @@ const Kl = ({
|
|
|
8760
8760
|
{
|
|
8761
8761
|
className: "text-sm outline-none",
|
|
8762
8762
|
value: v.getMonth(),
|
|
8763
|
-
onChange: (S) =>
|
|
8763
|
+
onChange: (S) => b(new Date(v.getFullYear(), parseInt(S.target.value), 1)),
|
|
8764
8764
|
children: Zn.map((S, j) => /* @__PURE__ */ s.jsx("option", { value: j, children: S }, S))
|
|
8765
8765
|
}
|
|
8766
8766
|
),
|
|
@@ -8769,7 +8769,7 @@ const Kl = ({
|
|
|
8769
8769
|
{
|
|
8770
8770
|
className: "text-sm outline-none",
|
|
8771
8771
|
value: v.getFullYear(),
|
|
8772
|
-
onChange: (S) =>
|
|
8772
|
+
onChange: (S) => b(new Date(parseInt(S.target.value), v.getMonth(), 1)),
|
|
8773
8773
|
children: Array.from({ length: 150 }, (S, j) => (/* @__PURE__ */ new Date()).getFullYear() - 100 + j).map((S) => /* @__PURE__ */ s.jsx("option", { value: S, children: S }, S))
|
|
8774
8774
|
}
|
|
8775
8775
|
)
|
|
@@ -8781,7 +8781,7 @@ const Kl = ({
|
|
|
8781
8781
|
size: "small",
|
|
8782
8782
|
color: "gray",
|
|
8783
8783
|
roundedFull: !0,
|
|
8784
|
-
onClick: () =>
|
|
8784
|
+
onClick: () => b(new Date(v.getFullYear(), v.getMonth() + 1, 1)),
|
|
8785
8785
|
icon: /* @__PURE__ */ s.jsx("svg", { className: "size-5", xmlns: "http://www.w3.org/2000/svg", viewBox: "0 0 24 24", fill: "currentColor", children: /* @__PURE__ */ s.jsx("path", { d: "M13.1717 12.0007L8.22192 7.05093L9.63614 5.63672L16.0001 12.0007L9.63614 18.3646L8.22192 16.9504L13.1717 12.0007Z" }) })
|
|
8786
8786
|
}
|
|
8787
8787
|
)
|
|
@@ -8794,7 +8794,7 @@ const Kl = ({
|
|
|
8794
8794
|
className: `size-8 flex justify-center items-center text-sm rounded-full transition-all
|
|
8795
8795
|
${S ? "hover:bg-color-blue-100 cursor-pointer" : ""}
|
|
8796
8796
|
${S && k(S) ? "bg-color-blue-500 hover:bg-color-blue-500 text-color-white" : ""}
|
|
8797
|
-
${S &&
|
|
8797
|
+
${S && h(S) ? "bg-color-gray-100 text-color-gray-400 !cursor-not-allowed hover:bg-color-gray-100" : ""}`,
|
|
8798
8798
|
onClick: () => S && F(S),
|
|
8799
8799
|
onMouseEnter: () => S && T(S),
|
|
8800
8800
|
onMouseLeave: R,
|
|
@@ -8830,8 +8830,8 @@ const Kl = ({
|
|
|
8830
8830
|
children: [
|
|
8831
8831
|
e === "single" ? se ? E(se) : i : (
|
|
8832
8832
|
// Display rangeStart immediately if set, even if rangeEnd is null
|
|
8833
|
-
|
|
8834
|
-
E(
|
|
8833
|
+
w || N || z ? /* @__PURE__ */ s.jsxs(s.Fragment, { children: [
|
|
8834
|
+
E(w || N, "start"),
|
|
8835
8835
|
" -",
|
|
8836
8836
|
" ",
|
|
8837
8837
|
E(y || z, "end")
|