@react-hive/honey-layout 2.2.0 → 2.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/HoneyGridColumn/HoneyGridColumn.styled.d.ts +2 -2
- package/dist/hooks/use-honey-drag.d.ts +59 -20
- package/dist/hooks/use-honey-infinite-scroll.d.ts +1 -2
- package/dist/hooks/use-honey-synthetic-scrollable-container.d.ts +1 -3
- package/dist/index.js +688 -690
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
const
|
|
4
|
-
const
|
|
5
|
-
return Math.sqrt(
|
|
6
|
-
},
|
|
1
|
+
import ve, { css as he, useTheme as hr, ThemeProvider as vr, ThemeContext as sn } from "styled-components";
|
|
2
|
+
import gr, { createContext as yr, forwardRef as mr, useMemo as Gt, useContext as Vt, Fragment as un, useState as Xt, useEffect as je, useRef as Oe, useCallback as pt } from "react";
|
|
3
|
+
const cn = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), ir = (n) => n.split(" ").filter((o) => o), kt = (n, o = 16) => `${n / o}rem`, fn = (n, o, a, u) => {
|
|
4
|
+
const d = a - n, s = u - o;
|
|
5
|
+
return Math.sqrt(d ** 2 + s ** 2);
|
|
6
|
+
}, ar = (n, o) => Math.abs(n / o), sr = (n, o) => n * o / 100, ln = (n, o) => {
|
|
7
7
|
if (o < 0 || o > 1)
|
|
8
8
|
throw new Error(`[honey-layout]: Alpha "${o}" is not a valid hex format.`);
|
|
9
|
-
const a = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/,
|
|
10
|
-
if (!
|
|
9
|
+
const a = /^#?([0-9A-Fa-f]{3}|[0-9A-Fa-f]{6})$/, u = n.match(a);
|
|
10
|
+
if (!u)
|
|
11
11
|
throw new Error("[honey-layout]: Invalid hex format.");
|
|
12
|
-
const
|
|
13
|
-
return `#${
|
|
14
|
-
},
|
|
15
|
-
const
|
|
12
|
+
const d = u[1], s = d.length === 3 ? d[0] + d[0] + d[1] + d[1] + d[2] + d[2] : d, f = Math.round(o * 255).toString(16).toUpperCase().padStart(2, "0");
|
|
13
|
+
return `#${s + f}`;
|
|
14
|
+
}, ur = (n) => `@media ${n.map((a) => {
|
|
15
|
+
const u = [
|
|
16
16
|
a.width && ["width", a.width],
|
|
17
17
|
a.minWidth && ["min-width", a.minWidth],
|
|
18
18
|
a.maxWidth && ["max-width", a.maxWidth],
|
|
@@ -24,45 +24,45 @@ const un = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) =>
|
|
|
24
24
|
a.maxResolution && ["max-resolution", a.maxResolution],
|
|
25
25
|
a.resolution && ["resolution", a.resolution],
|
|
26
26
|
a.update && ["update", a.update]
|
|
27
|
-
].filter(Boolean).map((f) => f && `(${f[0]}: ${f[1]})`).join(" and "),
|
|
28
|
-
return `${
|
|
29
|
-
}).join(", ")}`,
|
|
30
|
-
const
|
|
31
|
-
if (!
|
|
27
|
+
].filter(Boolean).map((f) => f && `(${f[0]}: ${f[1]})`).join(" and "), d = a.operator ? `${a.operator} ` : "", s = u ? ` and ${u}` : "";
|
|
28
|
+
return `${d}${a.mediaType ?? "screen"}${s}`;
|
|
29
|
+
}).join(", ")}`, br = (n) => {
|
|
30
|
+
const u = window.getComputedStyle(n).getPropertyValue("transform").match(/^matrix\((.+)\)$/);
|
|
31
|
+
if (!u)
|
|
32
32
|
return {
|
|
33
33
|
translateX: 0,
|
|
34
34
|
translateY: 0
|
|
35
35
|
};
|
|
36
|
-
const
|
|
36
|
+
const d = u[1].split(", "), s = parseFloat(d[4]), f = parseFloat(d[5]);
|
|
37
37
|
return {
|
|
38
|
-
translateX:
|
|
38
|
+
translateX: s,
|
|
39
39
|
translateY: f
|
|
40
40
|
};
|
|
41
|
-
},
|
|
41
|
+
}, dn = (n, o, a, u = [], d = void 0, s = 0) => (n == null || n.forEach((f) => {
|
|
42
42
|
const { [a]: p, ...v } = f, _ = f[a], m = Array.isArray(_);
|
|
43
|
-
if (
|
|
43
|
+
if (u.push({
|
|
44
44
|
...v,
|
|
45
|
-
parentId:
|
|
46
|
-
depthLevel:
|
|
45
|
+
parentId: d,
|
|
46
|
+
depthLevel: s,
|
|
47
47
|
totalNestedItems: m ? _.length : 0
|
|
48
48
|
}), m) {
|
|
49
49
|
const y = f[o];
|
|
50
|
-
|
|
50
|
+
dn(
|
|
51
51
|
_,
|
|
52
52
|
o,
|
|
53
53
|
a,
|
|
54
|
-
|
|
54
|
+
u,
|
|
55
55
|
y,
|
|
56
|
-
|
|
56
|
+
s + 1
|
|
57
57
|
);
|
|
58
58
|
}
|
|
59
|
-
}),
|
|
60
|
-
(
|
|
61
|
-
), oo = (n, o, a,
|
|
62
|
-
const
|
|
63
|
-
if (!
|
|
59
|
+
}), u), no = (n, o, a) => n.filter(
|
|
60
|
+
(u) => u.parentId === o && (!a || a(u))
|
|
61
|
+
), oo = (n, o, a, u) => {
|
|
62
|
+
const d = ir(u.toLowerCase());
|
|
63
|
+
if (!d.length)
|
|
64
64
|
return n;
|
|
65
|
-
const
|
|
65
|
+
const s = n.reduce(
|
|
66
66
|
(f, p, v) => (f[p[o]] = v, f),
|
|
67
67
|
{}
|
|
68
68
|
);
|
|
@@ -73,21 +73,21 @@ const un = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) =>
|
|
|
73
73
|
(y) => y[o] === p[o]
|
|
74
74
|
))
|
|
75
75
|
return f;
|
|
76
|
-
const _ =
|
|
77
|
-
if (
|
|
76
|
+
const _ = ir(v.toLowerCase());
|
|
77
|
+
if (d.every(
|
|
78
78
|
(y) => _.some((w) => w.startsWith(y))
|
|
79
79
|
))
|
|
80
80
|
if (p.parentId === void 0) {
|
|
81
81
|
f.push(p);
|
|
82
82
|
const y = (w) => {
|
|
83
|
-
w.totalNestedItems && n.forEach((
|
|
84
|
-
|
|
83
|
+
w.totalNestedItems && n.forEach(($) => {
|
|
84
|
+
$.parentId === w[o] && (f.push($), y($));
|
|
85
85
|
});
|
|
86
86
|
};
|
|
87
87
|
y(p);
|
|
88
88
|
} else {
|
|
89
89
|
const y = (w) => {
|
|
90
|
-
const
|
|
90
|
+
const $ = s[w.parentId], M = n[$];
|
|
91
91
|
M.parentId !== void 0 && y(M);
|
|
92
92
|
const W = f.length ? f[f.length - 1].parentId : null;
|
|
93
93
|
if (W === null || W !== w.parentId) {
|
|
@@ -102,7 +102,7 @@ const un = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) =>
|
|
|
102
102
|
},
|
|
103
103
|
[]
|
|
104
104
|
);
|
|
105
|
-
},
|
|
105
|
+
}, pn = [
|
|
106
106
|
"width",
|
|
107
107
|
"height",
|
|
108
108
|
"margin",
|
|
@@ -122,7 +122,7 @@ const un = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) =>
|
|
|
122
122
|
"gap",
|
|
123
123
|
"rowGap",
|
|
124
124
|
"columnGap"
|
|
125
|
-
],
|
|
125
|
+
], hn = [
|
|
126
126
|
"color",
|
|
127
127
|
"backgroundColor",
|
|
128
128
|
"borderColor",
|
|
@@ -134,119 +134,119 @@ const un = (n) => n.replace(/[A-Z]/g, (o) => `-${o.toLowerCase()}`), or = (n) =>
|
|
|
134
134
|
"textDecorationColor",
|
|
135
135
|
"fill",
|
|
136
136
|
"stroke"
|
|
137
|
-
],
|
|
138
|
-
const
|
|
137
|
+
], gt = (n, o = "px", a = "base") => ({ theme: u }) => {
|
|
138
|
+
const d = u.spacings[a] ?? 0;
|
|
139
139
|
if (typeof n == "number") {
|
|
140
|
-
const f = n *
|
|
140
|
+
const f = n * d;
|
|
141
141
|
return o ? `${f}${o}` : f;
|
|
142
142
|
}
|
|
143
143
|
return n.map((f) => {
|
|
144
|
-
const p = f *
|
|
144
|
+
const p = f * d;
|
|
145
145
|
return o ? `${p}${o}` : p;
|
|
146
146
|
}).join(" ");
|
|
147
|
-
},
|
|
148
|
-
const [
|
|
149
|
-
return o !== void 0 ?
|
|
150
|
-
},
|
|
147
|
+
}, ht = (n, o) => ({ theme: a }) => {
|
|
148
|
+
const [u, d] = n.split("."), s = a.colors[u][d];
|
|
149
|
+
return o !== void 0 ? ln(s, o) : s;
|
|
150
|
+
}, vn = (n) => ({ theme: o }) => {
|
|
151
151
|
const a = o.fonts[n];
|
|
152
|
-
return
|
|
152
|
+
return he`
|
|
153
153
|
font-family: ${a.family};
|
|
154
154
|
font-size: ${kt(a.size)};
|
|
155
155
|
font-weight: ${a.weight};
|
|
156
156
|
line-height: ${a.lineHeight !== void 0 && kt(a.lineHeight)};
|
|
157
157
|
letter-spacing: ${a.letterSpacing !== void 0 && kt(a.letterSpacing)};
|
|
158
158
|
`;
|
|
159
|
-
},
|
|
160
|
-
const
|
|
161
|
-
if (
|
|
162
|
-
return
|
|
163
|
-
},
|
|
164
|
-
([a,
|
|
165
|
-
),
|
|
166
|
-
${
|
|
167
|
-
const
|
|
168
|
-
return
|
|
169
|
-
${
|
|
170
|
-
|
|
171
|
-
|
|
159
|
+
}, gn = (n) => ({ theme: o }) => o.dimensions[n], yn = (n) => pn.includes(n), mn = (n) => hn.includes(n), _r = (n) => n[0] === "$", bn = (n) => n.split(".").length === 2, _n = (n, o, a) => {
|
|
160
|
+
const u = typeof o == "object" && !Array.isArray(o) ? o[a] : o;
|
|
161
|
+
if (u !== void 0)
|
|
162
|
+
return yn(n) && (typeof u == "number" || Array.isArray(u)) ? gt(u, "px") : mn(n) && typeof u == "string" && bn(u) ? ht(u) : u;
|
|
163
|
+
}, Tn = (n, o) => Object.entries(n).filter(
|
|
164
|
+
([a, u]) => _r(a) && o === "xs" || u && typeof u == "object" && o in u
|
|
165
|
+
), Tr = (n) => ({ theme: o, ...a }) => he`
|
|
166
|
+
${Tn(a, n).map(([u, d]) => {
|
|
167
|
+
const s = u.slice(1);
|
|
168
|
+
return he`
|
|
169
|
+
${cn(s)}: ${_n(
|
|
170
|
+
s,
|
|
171
|
+
d,
|
|
172
172
|
n
|
|
173
173
|
)};
|
|
174
174
|
`;
|
|
175
175
|
})}
|
|
176
176
|
`, xn = (n, o) => Object.entries(o).some(
|
|
177
|
-
([a,
|
|
177
|
+
([a, u]) => _r(a) && typeof u == "object" && n in u
|
|
178
178
|
), xr = (n, o = {}) => {
|
|
179
|
-
const a = (
|
|
180
|
-
const f =
|
|
179
|
+
const a = (s) => {
|
|
180
|
+
const f = s.breakpoints[n];
|
|
181
181
|
if (!f)
|
|
182
182
|
throw new Error(`[honey-layout]: Setup for breakpoint "${n}" was not found.`);
|
|
183
183
|
return f;
|
|
184
184
|
};
|
|
185
185
|
return {
|
|
186
|
-
down: ({ theme:
|
|
186
|
+
down: ({ theme: s }) => ur([
|
|
187
187
|
{
|
|
188
|
-
maxWidth: `${a(
|
|
188
|
+
maxWidth: `${a(s)}px`,
|
|
189
189
|
...o
|
|
190
190
|
}
|
|
191
191
|
]),
|
|
192
|
-
up: ({ theme:
|
|
192
|
+
up: ({ theme: s }) => ur([
|
|
193
193
|
{
|
|
194
|
-
minWidth: `${a(
|
|
194
|
+
minWidth: `${a(s)}px`,
|
|
195
195
|
...o
|
|
196
196
|
}
|
|
197
197
|
])
|
|
198
198
|
};
|
|
199
|
-
},
|
|
199
|
+
}, dt = (n) => ({ theme: o, ...a }) => !o.breakpoints[n] || !xn(n, a) ? null : he`
|
|
200
200
|
${xr(n).up} {
|
|
201
|
-
${
|
|
201
|
+
${Tr(n)};
|
|
202
202
|
}
|
|
203
|
-
`,
|
|
204
|
-
const o = window.screen.orientation.type, a = o === "portrait-primary" || o === "portrait-secondary",
|
|
203
|
+
`, cr = (n) => {
|
|
204
|
+
const o = window.screen.orientation.type, a = o === "portrait-primary" || o === "portrait-secondary", u = !a;
|
|
205
205
|
if (!n)
|
|
206
206
|
return {
|
|
207
207
|
isPortrait: a,
|
|
208
|
-
isLandscape:
|
|
208
|
+
isLandscape: u,
|
|
209
209
|
isXs: !1,
|
|
210
210
|
isSm: !1,
|
|
211
211
|
isMd: !1,
|
|
212
212
|
isLg: !1,
|
|
213
213
|
isXl: !1
|
|
214
214
|
};
|
|
215
|
-
const
|
|
215
|
+
const d = Object.entries(n).sort(([, f], [, p]) => f - p).map(([f]) => f), s = d.find((f) => {
|
|
216
216
|
const p = n[f];
|
|
217
217
|
return p ? window.innerWidth < p : !1;
|
|
218
|
-
}) ??
|
|
218
|
+
}) ?? d.pop();
|
|
219
219
|
return {
|
|
220
220
|
isPortrait: a,
|
|
221
|
-
isLandscape:
|
|
222
|
-
isXs:
|
|
223
|
-
isSm:
|
|
224
|
-
isMd:
|
|
225
|
-
isLg:
|
|
226
|
-
isXl:
|
|
221
|
+
isLandscape: u,
|
|
222
|
+
isXs: s === "xs",
|
|
223
|
+
isSm: s === "sm",
|
|
224
|
+
isMd: s === "md",
|
|
225
|
+
isLg: s === "lg",
|
|
226
|
+
isXl: s === "xl"
|
|
227
227
|
};
|
|
228
|
-
},
|
|
229
|
-
${({ modifiers: n }) =>
|
|
228
|
+
}, yt = ve.div`
|
|
229
|
+
${({ modifiers: n }) => he`
|
|
230
230
|
${n == null ? void 0 : n.map((o) => o())};
|
|
231
231
|
|
|
232
|
-
${
|
|
232
|
+
${Tr("xs")};
|
|
233
233
|
|
|
234
|
-
${
|
|
235
|
-
${
|
|
236
|
-
${
|
|
237
|
-
${
|
|
234
|
+
${dt("sm")};
|
|
235
|
+
${dt("md")};
|
|
236
|
+
${dt("lg")};
|
|
237
|
+
${dt("xl")};
|
|
238
238
|
`}
|
|
239
|
-
`,
|
|
239
|
+
`, qt = ve(yt)`
|
|
240
240
|
display: flex;
|
|
241
241
|
`;
|
|
242
|
-
|
|
242
|
+
qt.defaultProps = {
|
|
243
243
|
$flexDirection: "column"
|
|
244
244
|
};
|
|
245
|
-
var
|
|
246
|
-
function
|
|
245
|
+
var pe = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
|
|
246
|
+
function Er(n) {
|
|
247
247
|
return n && n.__esModule && Object.prototype.hasOwnProperty.call(n, "default") ? n.default : n;
|
|
248
248
|
}
|
|
249
|
-
var Ut = { exports: {} },
|
|
249
|
+
var Ut = { exports: {} }, Ne = {};
|
|
250
250
|
/**
|
|
251
251
|
* @license React
|
|
252
252
|
* react-jsx-runtime.production.min.js
|
|
@@ -256,21 +256,21 @@ var Ut = { exports: {} }, ze = {};
|
|
|
256
256
|
* This source code is licensed under the MIT license found in the
|
|
257
257
|
* LICENSE file in the root directory of this source tree.
|
|
258
258
|
*/
|
|
259
|
-
var
|
|
259
|
+
var fr;
|
|
260
260
|
function En() {
|
|
261
|
-
if (
|
|
262
|
-
|
|
263
|
-
var n =
|
|
261
|
+
if (fr) return Ne;
|
|
262
|
+
fr = 1;
|
|
263
|
+
var n = gr, o = Symbol.for("react.element"), a = Symbol.for("react.fragment"), u = Object.prototype.hasOwnProperty, d = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, s = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
264
264
|
function f(p, v, _) {
|
|
265
|
-
var m, y = {}, w = null,
|
|
266
|
-
_ !== void 0 && (w = "" + _), v.key !== void 0 && (w = "" + v.key), v.ref !== void 0 && (
|
|
267
|
-
for (m in v)
|
|
265
|
+
var m, y = {}, w = null, $ = null;
|
|
266
|
+
_ !== void 0 && (w = "" + _), v.key !== void 0 && (w = "" + v.key), v.ref !== void 0 && ($ = v.ref);
|
|
267
|
+
for (m in v) u.call(v, m) && !s.hasOwnProperty(m) && (y[m] = v[m]);
|
|
268
268
|
if (p && p.defaultProps) for (m in v = p.defaultProps, v) y[m] === void 0 && (y[m] = v[m]);
|
|
269
|
-
return { $$typeof: o, type: p, key: w, ref:
|
|
269
|
+
return { $$typeof: o, type: p, key: w, ref: $, props: y, _owner: d.current };
|
|
270
270
|
}
|
|
271
|
-
return
|
|
271
|
+
return Ne.Fragment = a, Ne.jsx = f, Ne.jsxs = f, Ne;
|
|
272
272
|
}
|
|
273
|
-
var
|
|
273
|
+
var ze = {};
|
|
274
274
|
/**
|
|
275
275
|
* @license React
|
|
276
276
|
* react-jsx-runtime.development.js
|
|
@@ -280,68 +280,68 @@ var ke = {};
|
|
|
280
280
|
* This source code is licensed under the MIT license found in the
|
|
281
281
|
* LICENSE file in the root directory of this source tree.
|
|
282
282
|
*/
|
|
283
|
-
var
|
|
283
|
+
var lr;
|
|
284
284
|
function wn() {
|
|
285
|
-
return
|
|
286
|
-
var n =
|
|
285
|
+
return lr || (lr = 1, process.env.NODE_ENV !== "production" && function() {
|
|
286
|
+
var n = gr, o = Symbol.for("react.element"), a = Symbol.for("react.portal"), u = Symbol.for("react.fragment"), d = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), f = Symbol.for("react.provider"), p = Symbol.for("react.context"), v = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), m = Symbol.for("react.suspense_list"), y = Symbol.for("react.memo"), w = Symbol.for("react.lazy"), $ = Symbol.for("react.offscreen"), M = Symbol.iterator, W = "@@iterator";
|
|
287
287
|
function z(t) {
|
|
288
288
|
if (t === null || typeof t != "object")
|
|
289
289
|
return null;
|
|
290
|
-
var
|
|
291
|
-
return typeof
|
|
290
|
+
var c = M && t[M] || t[W];
|
|
291
|
+
return typeof c == "function" ? c : null;
|
|
292
292
|
}
|
|
293
293
|
var F = n.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
294
|
-
function
|
|
294
|
+
function j(t) {
|
|
295
295
|
{
|
|
296
|
-
for (var
|
|
297
|
-
|
|
298
|
-
ae("error", t,
|
|
296
|
+
for (var c = arguments.length, l = new Array(c > 1 ? c - 1 : 0), g = 1; g < c; g++)
|
|
297
|
+
l[g - 1] = arguments[g];
|
|
298
|
+
ae("error", t, l);
|
|
299
299
|
}
|
|
300
300
|
}
|
|
301
|
-
function ae(t,
|
|
301
|
+
function ae(t, c, l) {
|
|
302
302
|
{
|
|
303
303
|
var g = F.ReactDebugCurrentFrame, S = g.getStackAddendum();
|
|
304
|
-
S !== "" && (
|
|
305
|
-
var O =
|
|
306
|
-
return String(
|
|
304
|
+
S !== "" && (c += "%s", l = l.concat([S]));
|
|
305
|
+
var O = l.map(function(x) {
|
|
306
|
+
return String(x);
|
|
307
307
|
});
|
|
308
|
-
O.unshift("Warning: " +
|
|
308
|
+
O.unshift("Warning: " + c), Function.prototype.apply.call(console[t], console, O);
|
|
309
309
|
}
|
|
310
310
|
}
|
|
311
|
-
var se = !1,
|
|
312
|
-
|
|
311
|
+
var se = !1, ee = !1, b = !1, R = !1, B = !1, ue;
|
|
312
|
+
ue = Symbol.for("react.module.reference");
|
|
313
313
|
function mt(t) {
|
|
314
|
-
return !!(typeof t == "string" || typeof t == "function" || t ===
|
|
314
|
+
return !!(typeof t == "string" || typeof t == "function" || t === u || t === s || B || t === d || t === _ || t === m || R || t === $ || se || ee || b || typeof t == "object" && t !== null && (t.$$typeof === w || t.$$typeof === y || t.$$typeof === f || t.$$typeof === p || t.$$typeof === v || // This needs to include all possible module reference object
|
|
315
315
|
// types supported by any Flight configuration anywhere since
|
|
316
316
|
// we don't know which Flight build this will end up being used
|
|
317
317
|
// with.
|
|
318
|
-
t.$$typeof ===
|
|
318
|
+
t.$$typeof === ue || t.getModuleId !== void 0));
|
|
319
319
|
}
|
|
320
|
-
function bt(t,
|
|
320
|
+
function bt(t, c, l) {
|
|
321
321
|
var g = t.displayName;
|
|
322
322
|
if (g)
|
|
323
323
|
return g;
|
|
324
|
-
var S =
|
|
325
|
-
return S !== "" ?
|
|
324
|
+
var S = c.displayName || c.name || "";
|
|
325
|
+
return S !== "" ? l + "(" + S + ")" : l;
|
|
326
326
|
}
|
|
327
|
-
function
|
|
327
|
+
function ke(t) {
|
|
328
328
|
return t.displayName || "Context";
|
|
329
329
|
}
|
|
330
330
|
function V(t) {
|
|
331
331
|
if (t == null)
|
|
332
332
|
return null;
|
|
333
|
-
if (typeof t.tag == "number" &&
|
|
333
|
+
if (typeof t.tag == "number" && j("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof t == "function")
|
|
334
334
|
return t.displayName || t.name || null;
|
|
335
335
|
if (typeof t == "string")
|
|
336
336
|
return t;
|
|
337
337
|
switch (t) {
|
|
338
|
-
case
|
|
338
|
+
case u:
|
|
339
339
|
return "Fragment";
|
|
340
340
|
case a:
|
|
341
341
|
return "Portal";
|
|
342
|
-
case
|
|
342
|
+
case s:
|
|
343
343
|
return "Profiler";
|
|
344
|
-
case
|
|
344
|
+
case d:
|
|
345
345
|
return "StrictMode";
|
|
346
346
|
case _:
|
|
347
347
|
return "Suspense";
|
|
@@ -351,20 +351,20 @@ function wn() {
|
|
|
351
351
|
if (typeof t == "object")
|
|
352
352
|
switch (t.$$typeof) {
|
|
353
353
|
case p:
|
|
354
|
-
var
|
|
355
|
-
return
|
|
354
|
+
var c = t;
|
|
355
|
+
return ke(c) + ".Consumer";
|
|
356
356
|
case f:
|
|
357
|
-
var
|
|
358
|
-
return
|
|
357
|
+
var l = t;
|
|
358
|
+
return ke(l._context) + ".Provider";
|
|
359
359
|
case v:
|
|
360
360
|
return bt(t, t.render, "ForwardRef");
|
|
361
361
|
case y:
|
|
362
362
|
var g = t.displayName || null;
|
|
363
363
|
return g !== null ? g : V(t.type) || "Memo";
|
|
364
364
|
case w: {
|
|
365
|
-
var S = t, O = S._payload,
|
|
365
|
+
var S = t, O = S._payload, x = S._init;
|
|
366
366
|
try {
|
|
367
|
-
return V(
|
|
367
|
+
return V(x(O));
|
|
368
368
|
} catch {
|
|
369
369
|
return null;
|
|
370
370
|
}
|
|
@@ -372,18 +372,18 @@ function wn() {
|
|
|
372
372
|
}
|
|
373
373
|
return null;
|
|
374
374
|
}
|
|
375
|
-
var ne = Object.assign, ge = 0, Ue, Be, Ge, Ve, Xe, qe
|
|
376
|
-
function
|
|
375
|
+
var ne = Object.assign, ge = 0, Ye, Ue, Be, Ge, Ve, Xe, qe;
|
|
376
|
+
function P() {
|
|
377
377
|
}
|
|
378
|
-
|
|
379
|
-
function
|
|
378
|
+
P.__reactDisabledLog = !0;
|
|
379
|
+
function Je() {
|
|
380
380
|
{
|
|
381
381
|
if (ge === 0) {
|
|
382
|
-
|
|
382
|
+
Ye = console.log, Ue = console.info, Be = console.warn, Ge = console.error, Ve = console.group, Xe = console.groupCollapsed, qe = console.groupEnd;
|
|
383
383
|
var t = {
|
|
384
384
|
configurable: !0,
|
|
385
385
|
enumerable: !0,
|
|
386
|
-
value:
|
|
386
|
+
value: P,
|
|
387
387
|
writable: !0
|
|
388
388
|
};
|
|
389
389
|
Object.defineProperties(console, {
|
|
@@ -409,33 +409,33 @@ function wn() {
|
|
|
409
409
|
};
|
|
410
410
|
Object.defineProperties(console, {
|
|
411
411
|
log: ne({}, t, {
|
|
412
|
-
value:
|
|
412
|
+
value: Ye
|
|
413
413
|
}),
|
|
414
414
|
info: ne({}, t, {
|
|
415
|
-
value:
|
|
415
|
+
value: Ue
|
|
416
416
|
}),
|
|
417
417
|
warn: ne({}, t, {
|
|
418
|
-
value:
|
|
418
|
+
value: Be
|
|
419
419
|
}),
|
|
420
420
|
error: ne({}, t, {
|
|
421
|
-
value:
|
|
421
|
+
value: Ge
|
|
422
422
|
}),
|
|
423
423
|
group: ne({}, t, {
|
|
424
|
-
value:
|
|
424
|
+
value: Ve
|
|
425
425
|
}),
|
|
426
426
|
groupCollapsed: ne({}, t, {
|
|
427
|
-
value:
|
|
427
|
+
value: Xe
|
|
428
428
|
}),
|
|
429
429
|
groupEnd: ne({}, t, {
|
|
430
|
-
value:
|
|
430
|
+
value: qe
|
|
431
431
|
})
|
|
432
432
|
});
|
|
433
433
|
}
|
|
434
|
-
ge < 0 &&
|
|
434
|
+
ge < 0 && j("disabledDepth fell below zero. This is a bug in React. Please file an issue.");
|
|
435
435
|
}
|
|
436
436
|
}
|
|
437
437
|
var oe = F.ReactCurrentDispatcher, _e;
|
|
438
|
-
function te(t,
|
|
438
|
+
function te(t, c, l) {
|
|
439
439
|
{
|
|
440
440
|
if (_e === void 0)
|
|
441
441
|
try {
|
|
@@ -448,94 +448,94 @@ function wn() {
|
|
|
448
448
|
` + _e + t;
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
|
-
var
|
|
451
|
+
var Te = !1, ce;
|
|
452
452
|
{
|
|
453
|
-
var
|
|
454
|
-
|
|
453
|
+
var Ke = typeof WeakMap == "function" ? WeakMap : Map;
|
|
454
|
+
ce = new Ke();
|
|
455
455
|
}
|
|
456
|
-
function
|
|
457
|
-
if (!t ||
|
|
456
|
+
function Pe(t, c) {
|
|
457
|
+
if (!t || Te)
|
|
458
458
|
return "";
|
|
459
459
|
{
|
|
460
|
-
var
|
|
461
|
-
if (
|
|
462
|
-
return
|
|
460
|
+
var l = ce.get(t);
|
|
461
|
+
if (l !== void 0)
|
|
462
|
+
return l;
|
|
463
463
|
}
|
|
464
464
|
var g;
|
|
465
|
-
|
|
465
|
+
Te = !0;
|
|
466
466
|
var S = Error.prepareStackTrace;
|
|
467
467
|
Error.prepareStackTrace = void 0;
|
|
468
468
|
var O;
|
|
469
|
-
O = oe.current, oe.current = null,
|
|
469
|
+
O = oe.current, oe.current = null, Je();
|
|
470
470
|
try {
|
|
471
|
-
if (
|
|
472
|
-
var
|
|
471
|
+
if (c) {
|
|
472
|
+
var x = function() {
|
|
473
473
|
throw Error();
|
|
474
474
|
};
|
|
475
|
-
if (Object.defineProperty(
|
|
475
|
+
if (Object.defineProperty(x.prototype, "props", {
|
|
476
476
|
set: function() {
|
|
477
477
|
throw Error();
|
|
478
478
|
}
|
|
479
479
|
}), typeof Reflect == "object" && Reflect.construct) {
|
|
480
480
|
try {
|
|
481
|
-
Reflect.construct(
|
|
482
|
-
} catch (
|
|
483
|
-
g =
|
|
481
|
+
Reflect.construct(x, []);
|
|
482
|
+
} catch (k) {
|
|
483
|
+
g = k;
|
|
484
484
|
}
|
|
485
|
-
Reflect.construct(t, [],
|
|
485
|
+
Reflect.construct(t, [], x);
|
|
486
486
|
} else {
|
|
487
487
|
try {
|
|
488
|
-
|
|
489
|
-
} catch (
|
|
490
|
-
g =
|
|
488
|
+
x.call();
|
|
489
|
+
} catch (k) {
|
|
490
|
+
g = k;
|
|
491
491
|
}
|
|
492
|
-
t.call(
|
|
492
|
+
t.call(x.prototype);
|
|
493
493
|
}
|
|
494
494
|
} else {
|
|
495
495
|
try {
|
|
496
496
|
throw Error();
|
|
497
|
-
} catch (
|
|
498
|
-
g =
|
|
497
|
+
} catch (k) {
|
|
498
|
+
g = k;
|
|
499
499
|
}
|
|
500
500
|
t();
|
|
501
501
|
}
|
|
502
|
-
} catch (
|
|
503
|
-
if (
|
|
504
|
-
for (var
|
|
502
|
+
} catch (k) {
|
|
503
|
+
if (k && g && typeof k.stack == "string") {
|
|
504
|
+
for (var T = k.stack.split(`
|
|
505
505
|
`), N = g.stack.split(`
|
|
506
|
-
`), D =
|
|
506
|
+
`), D = T.length - 1, L = N.length - 1; D >= 1 && L >= 0 && T[D] !== N[L]; )
|
|
507
507
|
L--;
|
|
508
508
|
for (; D >= 1 && L >= 0; D--, L--)
|
|
509
|
-
if (
|
|
509
|
+
if (T[D] !== N[L]) {
|
|
510
510
|
if (D !== 1 || L !== 1)
|
|
511
511
|
do
|
|
512
|
-
if (D--, L--, L < 0 ||
|
|
513
|
-
var
|
|
514
|
-
` +
|
|
515
|
-
return t.displayName &&
|
|
512
|
+
if (D--, L--, L < 0 || T[D] !== N[L]) {
|
|
513
|
+
var U = `
|
|
514
|
+
` + T[D].replace(" at new ", " at ");
|
|
515
|
+
return t.displayName && U.includes("<anonymous>") && (U = U.replace("<anonymous>", t.displayName)), typeof t == "function" && ce.set(t, U), U;
|
|
516
516
|
}
|
|
517
517
|
while (D >= 1 && L >= 0);
|
|
518
518
|
break;
|
|
519
519
|
}
|
|
520
520
|
}
|
|
521
521
|
} finally {
|
|
522
|
-
|
|
522
|
+
Te = !1, oe.current = O, _t(), Error.prepareStackTrace = S;
|
|
523
523
|
}
|
|
524
524
|
var K = t ? t.displayName || t.name : "", Z = K ? te(K) : "";
|
|
525
|
-
return typeof t == "function" &&
|
|
525
|
+
return typeof t == "function" && ce.set(t, Z), Z;
|
|
526
526
|
}
|
|
527
|
-
function
|
|
528
|
-
return
|
|
527
|
+
function Tt(t, c, l) {
|
|
528
|
+
return Pe(t, !1);
|
|
529
529
|
}
|
|
530
|
-
function
|
|
531
|
-
var
|
|
532
|
-
return !!(
|
|
530
|
+
function xt(t) {
|
|
531
|
+
var c = t.prototype;
|
|
532
|
+
return !!(c && c.isReactComponent);
|
|
533
533
|
}
|
|
534
|
-
function
|
|
534
|
+
function xe(t, c, l) {
|
|
535
535
|
if (t == null)
|
|
536
536
|
return "";
|
|
537
537
|
if (typeof t == "function")
|
|
538
|
-
return
|
|
538
|
+
return Pe(t, xt(t));
|
|
539
539
|
if (typeof t == "string")
|
|
540
540
|
return te(t);
|
|
541
541
|
switch (t) {
|
|
@@ -547,185 +547,185 @@ function wn() {
|
|
|
547
547
|
if (typeof t == "object")
|
|
548
548
|
switch (t.$$typeof) {
|
|
549
549
|
case v:
|
|
550
|
-
return
|
|
550
|
+
return Tt(t.render);
|
|
551
551
|
case y:
|
|
552
|
-
return
|
|
552
|
+
return xe(t.type, c, l);
|
|
553
553
|
case w: {
|
|
554
554
|
var g = t, S = g._payload, O = g._init;
|
|
555
555
|
try {
|
|
556
|
-
return
|
|
556
|
+
return xe(O(S), c, l);
|
|
557
557
|
} catch {
|
|
558
558
|
}
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
return "";
|
|
562
562
|
}
|
|
563
|
-
var ye = Object.prototype.hasOwnProperty,
|
|
563
|
+
var ye = Object.prototype.hasOwnProperty, Ze = {}, Qe = F.ReactDebugCurrentFrame;
|
|
564
564
|
function Ee(t) {
|
|
565
565
|
if (t) {
|
|
566
|
-
var
|
|
567
|
-
|
|
566
|
+
var c = t._owner, l = xe(t.type, t._source, c ? c.type : null);
|
|
567
|
+
Qe.setExtraStackFrame(l);
|
|
568
568
|
} else
|
|
569
|
-
|
|
569
|
+
Qe.setExtraStackFrame(null);
|
|
570
570
|
}
|
|
571
|
-
function we(t,
|
|
571
|
+
function we(t, c, l, g, S) {
|
|
572
572
|
{
|
|
573
573
|
var O = Function.call.bind(ye);
|
|
574
|
-
for (var
|
|
575
|
-
if (O(t,
|
|
576
|
-
var
|
|
574
|
+
for (var x in t)
|
|
575
|
+
if (O(t, x)) {
|
|
576
|
+
var T = void 0;
|
|
577
577
|
try {
|
|
578
|
-
if (typeof t[
|
|
579
|
-
var N = Error((g || "React class") + ": " +
|
|
578
|
+
if (typeof t[x] != "function") {
|
|
579
|
+
var N = Error((g || "React class") + ": " + l + " type `" + x + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof t[x] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
580
580
|
throw N.name = "Invariant Violation", N;
|
|
581
581
|
}
|
|
582
|
-
|
|
582
|
+
T = t[x](c, x, g, l, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
583
583
|
} catch (D) {
|
|
584
|
-
|
|
584
|
+
T = D;
|
|
585
585
|
}
|
|
586
|
-
|
|
586
|
+
T && !(T instanceof Error) && (Ee(S), j("%s: type specification of %s `%s` is invalid; the type checker function must return `null` or an `Error` but returned a %s. You may have forgotten to pass an argument to the type checker creator (arrayOf, instanceOf, objectOf, oneOf, oneOfType, and shape all require an argument).", g || "React class", l, x, typeof T), Ee(null)), T instanceof Error && !(T.message in Ze) && (Ze[T.message] = !0, Ee(S), j("Failed %s type: %s", l, T.message), Ee(null));
|
|
587
587
|
}
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
|
-
var
|
|
591
|
-
function
|
|
592
|
-
return
|
|
590
|
+
var $e = Array.isArray;
|
|
591
|
+
function fe(t) {
|
|
592
|
+
return $e(t);
|
|
593
593
|
}
|
|
594
594
|
function re(t) {
|
|
595
595
|
{
|
|
596
|
-
var
|
|
597
|
-
return
|
|
596
|
+
var c = typeof Symbol == "function" && Symbol.toStringTag, l = c && t[Symbol.toStringTag] || t.constructor.name || "Object";
|
|
597
|
+
return l;
|
|
598
598
|
}
|
|
599
599
|
}
|
|
600
|
-
function
|
|
600
|
+
function et(t) {
|
|
601
601
|
try {
|
|
602
|
-
return
|
|
602
|
+
return Ae(t), !1;
|
|
603
603
|
} catch {
|
|
604
604
|
return !0;
|
|
605
605
|
}
|
|
606
606
|
}
|
|
607
|
-
function
|
|
607
|
+
function Ae(t) {
|
|
608
608
|
return "" + t;
|
|
609
609
|
}
|
|
610
|
-
function
|
|
611
|
-
if (
|
|
612
|
-
return
|
|
610
|
+
function tt(t) {
|
|
611
|
+
if (et(t))
|
|
612
|
+
return j("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", re(t)), Ae(t);
|
|
613
613
|
}
|
|
614
614
|
var me = F.ReactCurrentOwner, Se = {
|
|
615
615
|
key: !0,
|
|
616
616
|
ref: !0,
|
|
617
617
|
__self: !0,
|
|
618
618
|
__source: !0
|
|
619
|
-
},
|
|
619
|
+
}, Le, Ie, Ce;
|
|
620
620
|
Ce = {};
|
|
621
|
-
function
|
|
621
|
+
function rt(t) {
|
|
622
622
|
if (ye.call(t, "ref")) {
|
|
623
|
-
var
|
|
624
|
-
if (
|
|
623
|
+
var c = Object.getOwnPropertyDescriptor(t, "ref").get;
|
|
624
|
+
if (c && c.isReactWarning)
|
|
625
625
|
return !1;
|
|
626
626
|
}
|
|
627
627
|
return t.ref !== void 0;
|
|
628
628
|
}
|
|
629
629
|
function Et(t) {
|
|
630
630
|
if (ye.call(t, "key")) {
|
|
631
|
-
var
|
|
632
|
-
if (
|
|
631
|
+
var c = Object.getOwnPropertyDescriptor(t, "key").get;
|
|
632
|
+
if (c && c.isReactWarning)
|
|
633
633
|
return !1;
|
|
634
634
|
}
|
|
635
635
|
return t.key !== void 0;
|
|
636
636
|
}
|
|
637
|
-
function wt(t,
|
|
638
|
-
if (typeof t.ref == "string" && me.current &&
|
|
639
|
-
var
|
|
640
|
-
Ce[
|
|
637
|
+
function wt(t, c) {
|
|
638
|
+
if (typeof t.ref == "string" && me.current && c && me.current.stateNode !== c) {
|
|
639
|
+
var l = V(me.current.type);
|
|
640
|
+
Ce[l] || (j('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', V(me.current.type), t.ref), Ce[l] = !0);
|
|
641
641
|
}
|
|
642
642
|
}
|
|
643
|
-
function ie(t,
|
|
643
|
+
function ie(t, c) {
|
|
644
644
|
{
|
|
645
|
-
var
|
|
646
|
-
|
|
645
|
+
var l = function() {
|
|
646
|
+
Le || (Le = !0, j("%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://reactjs.org/link/special-props)", c));
|
|
647
647
|
};
|
|
648
|
-
|
|
649
|
-
get:
|
|
648
|
+
l.isReactWarning = !0, Object.defineProperty(t, "key", {
|
|
649
|
+
get: l,
|
|
650
650
|
configurable: !0
|
|
651
651
|
});
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
|
-
function Re(t,
|
|
654
|
+
function Re(t, c) {
|
|
655
655
|
{
|
|
656
|
-
var
|
|
657
|
-
|
|
656
|
+
var l = function() {
|
|
657
|
+
Ie || (Ie = !0, j("%s: `ref` 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://reactjs.org/link/special-props)", c));
|
|
658
658
|
};
|
|
659
|
-
|
|
660
|
-
get:
|
|
659
|
+
l.isReactWarning = !0, Object.defineProperty(t, "ref", {
|
|
660
|
+
get: l,
|
|
661
661
|
configurable: !0
|
|
662
662
|
});
|
|
663
663
|
}
|
|
664
664
|
}
|
|
665
|
-
var St = function(t,
|
|
666
|
-
var
|
|
665
|
+
var St = function(t, c, l, g, S, O, x) {
|
|
666
|
+
var T = {
|
|
667
667
|
// This tag allows us to uniquely identify this as a React Element
|
|
668
668
|
$$typeof: o,
|
|
669
669
|
// Built-in properties that belong on the element
|
|
670
670
|
type: t,
|
|
671
|
-
key:
|
|
672
|
-
ref:
|
|
673
|
-
props:
|
|
671
|
+
key: c,
|
|
672
|
+
ref: l,
|
|
673
|
+
props: x,
|
|
674
674
|
// Record the component responsible for creating this element.
|
|
675
675
|
_owner: O
|
|
676
676
|
};
|
|
677
|
-
return
|
|
677
|
+
return T._store = {}, Object.defineProperty(T._store, "validated", {
|
|
678
678
|
configurable: !1,
|
|
679
679
|
enumerable: !1,
|
|
680
680
|
writable: !0,
|
|
681
681
|
value: !1
|
|
682
|
-
}), Object.defineProperty(
|
|
682
|
+
}), Object.defineProperty(T, "_self", {
|
|
683
683
|
configurable: !1,
|
|
684
684
|
enumerable: !1,
|
|
685
685
|
writable: !1,
|
|
686
686
|
value: g
|
|
687
|
-
}), Object.defineProperty(
|
|
687
|
+
}), Object.defineProperty(T, "_source", {
|
|
688
688
|
configurable: !1,
|
|
689
689
|
enumerable: !1,
|
|
690
690
|
writable: !1,
|
|
691
691
|
value: S
|
|
692
|
-
}), Object.freeze && (Object.freeze(
|
|
692
|
+
}), Object.freeze && (Object.freeze(T.props), Object.freeze(T)), T;
|
|
693
693
|
};
|
|
694
|
-
function
|
|
694
|
+
function nt(t, c, l, g, S) {
|
|
695
695
|
{
|
|
696
|
-
var O,
|
|
697
|
-
|
|
698
|
-
for (O in
|
|
699
|
-
ye.call(
|
|
696
|
+
var O, x = {}, T = null, N = null;
|
|
697
|
+
l !== void 0 && (tt(l), T = "" + l), Et(c) && (tt(c.key), T = "" + c.key), rt(c) && (N = c.ref, wt(c, S));
|
|
698
|
+
for (O in c)
|
|
699
|
+
ye.call(c, O) && !Se.hasOwnProperty(O) && (x[O] = c[O]);
|
|
700
700
|
if (t && t.defaultProps) {
|
|
701
701
|
var D = t.defaultProps;
|
|
702
702
|
for (O in D)
|
|
703
|
-
|
|
703
|
+
x[O] === void 0 && (x[O] = D[O]);
|
|
704
704
|
}
|
|
705
|
-
if (
|
|
705
|
+
if (T || N) {
|
|
706
706
|
var L = typeof t == "function" ? t.displayName || t.name || "Unknown" : t;
|
|
707
|
-
|
|
707
|
+
T && ie(x, L), N && Re(x, L);
|
|
708
708
|
}
|
|
709
|
-
return St(t,
|
|
709
|
+
return St(t, T, N, S, g, me.current, x);
|
|
710
710
|
}
|
|
711
711
|
}
|
|
712
|
-
var
|
|
712
|
+
var He = F.ReactCurrentOwner, De = F.ReactDebugCurrentFrame;
|
|
713
713
|
function X(t) {
|
|
714
714
|
if (t) {
|
|
715
|
-
var
|
|
716
|
-
|
|
715
|
+
var c = t._owner, l = xe(t.type, t._source, c ? c.type : null);
|
|
716
|
+
De.setExtraStackFrame(l);
|
|
717
717
|
} else
|
|
718
|
-
|
|
718
|
+
De.setExtraStackFrame(null);
|
|
719
719
|
}
|
|
720
|
-
var
|
|
721
|
-
|
|
720
|
+
var Me;
|
|
721
|
+
Me = !1;
|
|
722
722
|
function J(t) {
|
|
723
723
|
return typeof t == "object" && t !== null && t.$$typeof === o;
|
|
724
724
|
}
|
|
725
|
-
function
|
|
725
|
+
function ot() {
|
|
726
726
|
{
|
|
727
|
-
if (
|
|
728
|
-
var t = V(
|
|
727
|
+
if (He.current) {
|
|
728
|
+
var t = V(He.current.type);
|
|
729
729
|
if (t)
|
|
730
730
|
return `
|
|
731
731
|
|
|
@@ -737,189 +737,187 @@ Check the render method of \`` + t + "`.";
|
|
|
737
737
|
function Ct(t) {
|
|
738
738
|
return "";
|
|
739
739
|
}
|
|
740
|
-
var
|
|
740
|
+
var it = {};
|
|
741
741
|
function Rt(t) {
|
|
742
742
|
{
|
|
743
|
-
var
|
|
744
|
-
if (!
|
|
745
|
-
var
|
|
746
|
-
|
|
743
|
+
var c = ot();
|
|
744
|
+
if (!c) {
|
|
745
|
+
var l = typeof t == "string" ? t : t.displayName || t.name;
|
|
746
|
+
l && (c = `
|
|
747
747
|
|
|
748
|
-
Check the top-level render call using <` +
|
|
748
|
+
Check the top-level render call using <` + l + ">.");
|
|
749
749
|
}
|
|
750
|
-
return
|
|
750
|
+
return c;
|
|
751
751
|
}
|
|
752
752
|
}
|
|
753
|
-
function
|
|
753
|
+
function at(t, c) {
|
|
754
754
|
{
|
|
755
755
|
if (!t._store || t._store.validated || t.key != null)
|
|
756
756
|
return;
|
|
757
757
|
t._store.validated = !0;
|
|
758
|
-
var
|
|
759
|
-
if (
|
|
758
|
+
var l = Rt(c);
|
|
759
|
+
if (it[l])
|
|
760
760
|
return;
|
|
761
|
-
|
|
761
|
+
it[l] = !0;
|
|
762
762
|
var g = "";
|
|
763
|
-
t && t._owner && t._owner !==
|
|
763
|
+
t && t._owner && t._owner !== He.current && (g = " It was passed a child from " + V(t._owner.type) + "."), X(t), j('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', l, g), X(null);
|
|
764
764
|
}
|
|
765
765
|
}
|
|
766
|
-
function q(t,
|
|
766
|
+
function q(t, c) {
|
|
767
767
|
{
|
|
768
768
|
if (typeof t != "object")
|
|
769
769
|
return;
|
|
770
|
-
if (
|
|
771
|
-
for (var
|
|
772
|
-
var g = t[
|
|
773
|
-
J(g) &&
|
|
770
|
+
if (fe(t))
|
|
771
|
+
for (var l = 0; l < t.length; l++) {
|
|
772
|
+
var g = t[l];
|
|
773
|
+
J(g) && at(g, c);
|
|
774
774
|
}
|
|
775
775
|
else if (J(t))
|
|
776
776
|
t._store && (t._store.validated = !0);
|
|
777
777
|
else if (t) {
|
|
778
778
|
var S = z(t);
|
|
779
779
|
if (typeof S == "function" && S !== t.entries)
|
|
780
|
-
for (var O = S.call(t),
|
|
781
|
-
J(
|
|
780
|
+
for (var O = S.call(t), x; !(x = O.next()).done; )
|
|
781
|
+
J(x.value) && at(x.value, c);
|
|
782
782
|
}
|
|
783
783
|
}
|
|
784
784
|
}
|
|
785
785
|
function Ot(t) {
|
|
786
786
|
{
|
|
787
|
-
var
|
|
788
|
-
if (
|
|
787
|
+
var c = t.type;
|
|
788
|
+
if (c == null || typeof c == "string")
|
|
789
789
|
return;
|
|
790
|
-
var
|
|
791
|
-
if (typeof
|
|
792
|
-
|
|
793
|
-
else if (typeof
|
|
790
|
+
var l;
|
|
791
|
+
if (typeof c == "function")
|
|
792
|
+
l = c.propTypes;
|
|
793
|
+
else if (typeof c == "object" && (c.$$typeof === v || // Note: Memo only checks outer props here.
|
|
794
794
|
// Inner props are checked in the reconciler.
|
|
795
|
-
|
|
796
|
-
|
|
795
|
+
c.$$typeof === y))
|
|
796
|
+
l = c.propTypes;
|
|
797
797
|
else
|
|
798
798
|
return;
|
|
799
|
-
if (
|
|
800
|
-
var g = V(
|
|
801
|
-
we(
|
|
802
|
-
} else if (
|
|
803
|
-
|
|
804
|
-
var S = V(
|
|
805
|
-
|
|
799
|
+
if (l) {
|
|
800
|
+
var g = V(c);
|
|
801
|
+
we(l, t.props, "prop", g, t);
|
|
802
|
+
} else if (c.PropTypes !== void 0 && !Me) {
|
|
803
|
+
Me = !0;
|
|
804
|
+
var S = V(c);
|
|
805
|
+
j("Component %s declared `PropTypes` instead of `propTypes`. Did you misspell the property assignment?", S || "Unknown");
|
|
806
806
|
}
|
|
807
|
-
typeof
|
|
807
|
+
typeof c.getDefaultProps == "function" && !c.getDefaultProps.isReactClassApproved && j("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
808
808
|
}
|
|
809
809
|
}
|
|
810
810
|
function jt(t) {
|
|
811
811
|
{
|
|
812
|
-
for (var
|
|
813
|
-
var g =
|
|
812
|
+
for (var c = Object.keys(t.props), l = 0; l < c.length; l++) {
|
|
813
|
+
var g = c[l];
|
|
814
814
|
if (g !== "children" && g !== "key") {
|
|
815
|
-
X(t),
|
|
815
|
+
X(t), j("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", g), X(null);
|
|
816
816
|
break;
|
|
817
817
|
}
|
|
818
818
|
}
|
|
819
|
-
t.ref !== null && (X(t),
|
|
819
|
+
t.ref !== null && (X(t), j("Invalid attribute `ref` supplied to `React.Fragment`."), X(null));
|
|
820
820
|
}
|
|
821
821
|
}
|
|
822
|
-
var
|
|
823
|
-
function
|
|
822
|
+
var st = {};
|
|
823
|
+
function ut(t, c, l, g, S, O) {
|
|
824
824
|
{
|
|
825
|
-
var
|
|
826
|
-
if (!
|
|
827
|
-
var
|
|
828
|
-
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (
|
|
825
|
+
var x = mt(t);
|
|
826
|
+
if (!x) {
|
|
827
|
+
var T = "";
|
|
828
|
+
(t === void 0 || typeof t == "object" && t !== null && Object.keys(t).length === 0) && (T += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
829
829
|
var N = Ct();
|
|
830
|
-
N ?
|
|
830
|
+
N ? T += N : T += ot();
|
|
831
831
|
var D;
|
|
832
|
-
t === null ? D = "null" :
|
|
832
|
+
t === null ? D = "null" : fe(t) ? D = "array" : t !== void 0 && t.$$typeof === o ? (D = "<" + (V(t.type) || "Unknown") + " />", T = " Did you accidentally export a JSX literal instead of a component?") : D = typeof t, j("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", D, T);
|
|
833
833
|
}
|
|
834
|
-
var L =
|
|
834
|
+
var L = nt(t, c, l, S, O);
|
|
835
835
|
if (L == null)
|
|
836
836
|
return L;
|
|
837
|
-
if (
|
|
838
|
-
var
|
|
839
|
-
if (
|
|
837
|
+
if (x) {
|
|
838
|
+
var U = c.children;
|
|
839
|
+
if (U !== void 0)
|
|
840
840
|
if (g)
|
|
841
|
-
if (
|
|
842
|
-
for (var K = 0; K <
|
|
843
|
-
q(
|
|
844
|
-
Object.freeze && Object.freeze(
|
|
841
|
+
if (fe(U)) {
|
|
842
|
+
for (var K = 0; K < U.length; K++)
|
|
843
|
+
q(U[K], t);
|
|
844
|
+
Object.freeze && Object.freeze(U);
|
|
845
845
|
} else
|
|
846
|
-
|
|
846
|
+
j("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
847
847
|
else
|
|
848
|
-
q(
|
|
848
|
+
q(U, t);
|
|
849
849
|
}
|
|
850
|
-
if (ye.call(
|
|
851
|
-
var Z = V(t),
|
|
850
|
+
if (ye.call(c, "key")) {
|
|
851
|
+
var Z = V(t), k = Object.keys(c).filter(function(Lt) {
|
|
852
852
|
return Lt !== "key";
|
|
853
|
-
}),
|
|
854
|
-
if (!
|
|
855
|
-
var
|
|
856
|
-
|
|
853
|
+
}), de = k.length > 0 ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
854
|
+
if (!st[Z + de]) {
|
|
855
|
+
var ct = k.length > 0 ? "{" + k.join(": ..., ") + ": ...}" : "{}";
|
|
856
|
+
j(`A props object containing a "key" prop is being spread into JSX:
|
|
857
857
|
let props = %s;
|
|
858
858
|
<%s {...props} />
|
|
859
859
|
React keys must be passed directly to JSX without using spread:
|
|
860
860
|
let props = %s;
|
|
861
|
-
<%s key={someKey} {...props} />`,
|
|
861
|
+
<%s key={someKey} {...props} />`, de, Z, ct, Z), st[Z + de] = !0;
|
|
862
862
|
}
|
|
863
863
|
}
|
|
864
|
-
return t ===
|
|
864
|
+
return t === u ? jt(L) : Ot(L), L;
|
|
865
865
|
}
|
|
866
866
|
}
|
|
867
|
-
function Pt(t,
|
|
868
|
-
return
|
|
867
|
+
function Pt(t, c, l) {
|
|
868
|
+
return ut(t, c, l, !0);
|
|
869
869
|
}
|
|
870
|
-
function
|
|
871
|
-
return
|
|
870
|
+
function le(t, c, l) {
|
|
871
|
+
return ut(t, c, l, !1);
|
|
872
872
|
}
|
|
873
|
-
var $t =
|
|
874
|
-
|
|
875
|
-
}()),
|
|
873
|
+
var $t = le, At = Pt;
|
|
874
|
+
ze.Fragment = u, ze.jsx = $t, ze.jsxs = At;
|
|
875
|
+
}()), ze;
|
|
876
876
|
}
|
|
877
877
|
process.env.NODE_ENV === "production" ? Ut.exports = En() : Ut.exports = wn();
|
|
878
|
-
var
|
|
879
|
-
const
|
|
880
|
-
${({ columns: n, takeColumns: o = 1, spacing: a = 0, applyMaxWidth:
|
|
881
|
-
const
|
|
882
|
-
return
|
|
883
|
-
display: flex;
|
|
884
|
-
flex-direction: column;
|
|
878
|
+
var Y = Ut.exports;
|
|
879
|
+
const wr = ve(qt)`
|
|
880
|
+
${({ columns: n, takeColumns: o = 1, spacing: a = 0, applyMaxWidth: u, theme: d }) => {
|
|
881
|
+
const s = 100 / n, f = gt(a, null)({ theme: d }), p = o * s, v = (n - o) * (f / n), _ = `calc(${p}% - ${v}px)`;
|
|
882
|
+
return he`
|
|
885
883
|
flex-basis: ${_};
|
|
886
884
|
|
|
887
|
-
${
|
|
888
|
-
${xr(
|
|
885
|
+
${u && he`
|
|
886
|
+
${xr(u).up} {
|
|
889
887
|
max-width: ${_};
|
|
890
888
|
}
|
|
891
889
|
`}
|
|
892
890
|
`;
|
|
893
891
|
}}
|
|
894
|
-
`,
|
|
895
|
-
${({ columnHeight: n, minColumnHeight: o, spacing: a = 0 }) =>
|
|
892
|
+
`, Sr = ve(yt)`
|
|
893
|
+
${({ columnHeight: n, minColumnHeight: o, spacing: a = 0 }) => he`
|
|
896
894
|
display: flex;
|
|
897
|
-
gap: ${
|
|
895
|
+
gap: ${gt(a)};
|
|
898
896
|
|
|
899
|
-
> ${
|
|
897
|
+
> ${wr} {
|
|
900
898
|
height: ${n};
|
|
901
899
|
min-height: ${o};
|
|
902
900
|
}
|
|
903
901
|
`}
|
|
904
902
|
`;
|
|
905
|
-
|
|
903
|
+
Sr.defaultProps = {
|
|
906
904
|
$flexWrap: "wrap"
|
|
907
905
|
};
|
|
908
|
-
const
|
|
909
|
-
({ children: n, columns: o, spacing: a, isColumnGrowing:
|
|
906
|
+
const Cr = yr(void 0), io = mr(
|
|
907
|
+
({ children: n, columns: o, spacing: a, isColumnGrowing: u = !0, applyColumnMaxWidth: d = !1, ...s }, f) => {
|
|
910
908
|
const p = Gt(
|
|
911
909
|
() => ({
|
|
912
910
|
columns: o,
|
|
913
911
|
spacing: a,
|
|
914
|
-
isColumnGrowing:
|
|
915
|
-
applyColumnMaxWidth:
|
|
912
|
+
isColumnGrowing: u,
|
|
913
|
+
applyColumnMaxWidth: d
|
|
916
914
|
}),
|
|
917
|
-
[o, a,
|
|
915
|
+
[o, a, u, d]
|
|
918
916
|
);
|
|
919
|
-
return /* @__PURE__ */
|
|
917
|
+
return /* @__PURE__ */ Y.jsx(Cr.Provider, { value: p, children: /* @__PURE__ */ Y.jsx(Sr, { ref: f, spacing: a, "data-testid": "honey-grid", ...s, children: n }) });
|
|
920
918
|
}
|
|
921
919
|
), Sn = () => {
|
|
922
|
-
const n = Vt(
|
|
920
|
+
const n = Vt(Cr);
|
|
923
921
|
if (!n)
|
|
924
922
|
throw new Error(
|
|
925
923
|
"The `useCurrentHoneyGrid()` hook can only be used inside <HoneyGrid/> component!"
|
|
@@ -929,110 +927,110 @@ const Sr = gr(void 0), io = yr(
|
|
|
929
927
|
children: n,
|
|
930
928
|
...o
|
|
931
929
|
}) => {
|
|
932
|
-
const { columns: a, spacing:
|
|
933
|
-
return /* @__PURE__ */
|
|
934
|
-
|
|
930
|
+
const { columns: a, spacing: u, isColumnGrowing: d, applyColumnMaxWidth: s } = Sn();
|
|
931
|
+
return /* @__PURE__ */ Y.jsx(
|
|
932
|
+
wr,
|
|
935
933
|
{
|
|
936
934
|
columns: a,
|
|
937
|
-
spacing:
|
|
938
|
-
applyMaxWidth:
|
|
939
|
-
$flexGrow:
|
|
935
|
+
spacing: u,
|
|
936
|
+
applyMaxWidth: s,
|
|
937
|
+
$flexGrow: d ? 1 : 0,
|
|
940
938
|
"data-testid": "honey-grid-column",
|
|
941
939
|
...o,
|
|
942
940
|
children: n
|
|
943
941
|
}
|
|
944
942
|
);
|
|
945
|
-
},
|
|
943
|
+
}, Rr = (n, o, a) => typeof o == "function" ? o(n) : typeof n == "string" || typeof n == "number" ? n : o ? n[o] : a, Cn = ({
|
|
946
944
|
children: n,
|
|
947
945
|
isLoading: o = !1,
|
|
948
946
|
isError: a = !1,
|
|
949
|
-
isNoContent:
|
|
950
|
-
loadingContent:
|
|
951
|
-
errorContent:
|
|
947
|
+
isNoContent: u = !1,
|
|
948
|
+
loadingContent: d = null,
|
|
949
|
+
errorContent: s = null,
|
|
952
950
|
noContent: f = null
|
|
953
|
-
}) => a ?
|
|
951
|
+
}) => a ? s : o ? d : u ? f : n, Rn = ve(qt)`
|
|
954
952
|
overflow: hidden auto;
|
|
955
953
|
`, On = ({
|
|
956
954
|
children: n,
|
|
957
955
|
items: o,
|
|
958
956
|
itemKey: a,
|
|
959
|
-
isLoading:
|
|
960
|
-
loadingContent:
|
|
961
|
-
isError:
|
|
957
|
+
isLoading: u,
|
|
958
|
+
loadingContent: d,
|
|
959
|
+
isError: s,
|
|
962
960
|
errorContent: f,
|
|
963
961
|
noContent: p,
|
|
964
962
|
...v
|
|
965
|
-
}, _) => /* @__PURE__ */
|
|
963
|
+
}, _) => /* @__PURE__ */ Y.jsx(
|
|
966
964
|
Rn,
|
|
967
965
|
{
|
|
968
966
|
ref: _,
|
|
969
967
|
role: "list",
|
|
970
|
-
"aria-busy":
|
|
968
|
+
"aria-busy": u,
|
|
971
969
|
"data-testid": "honey-list",
|
|
972
970
|
...v,
|
|
973
|
-
children: /* @__PURE__ */
|
|
971
|
+
children: /* @__PURE__ */ Y.jsx(
|
|
974
972
|
Cn,
|
|
975
973
|
{
|
|
976
|
-
isLoading:
|
|
977
|
-
loadingContent:
|
|
978
|
-
isError:
|
|
974
|
+
isLoading: u,
|
|
975
|
+
loadingContent: d,
|
|
976
|
+
isError: s,
|
|
979
977
|
errorContent: f,
|
|
980
978
|
isNoContent: (o == null ? void 0 : o.length) === 0,
|
|
981
979
|
noContent: p,
|
|
982
|
-
children: o == null ? void 0 : o.map((m, y, w) => /* @__PURE__ */
|
|
980
|
+
children: o == null ? void 0 : o.map((m, y, w) => /* @__PURE__ */ Y.jsx(un, { children: n(m, y, w) }, String(Rr(m, a, y))))
|
|
983
981
|
}
|
|
984
982
|
)
|
|
985
983
|
}
|
|
986
|
-
), so =
|
|
987
|
-
var jn = "Expected a function",
|
|
984
|
+
), so = mr(On);
|
|
985
|
+
var jn = "Expected a function", dr = NaN, Pn = "[object Symbol]", $n = /^\s+|\s+$/g, An = /^[-+]0x[0-9a-f]+$/i, Ln = /^0b[01]+$/i, In = /^0o[0-7]+$/i, Hn = parseInt, Dn = typeof pe == "object" && pe && pe.Object === Object && pe, Mn = typeof self == "object" && self && self.Object === Object && self, Fn = Dn || Mn || Function("return this")(), Wn = Object.prototype, Nn = Wn.toString, zn = Math.max, kn = Math.min, Yt = function() {
|
|
988
986
|
return Fn.Date.now();
|
|
989
987
|
};
|
|
990
988
|
function Yn(n, o, a) {
|
|
991
|
-
var
|
|
989
|
+
var u, d, s, f, p, v, _ = 0, m = !1, y = !1, w = !0;
|
|
992
990
|
if (typeof n != "function")
|
|
993
991
|
throw new TypeError(jn);
|
|
994
|
-
o =
|
|
995
|
-
function
|
|
996
|
-
var
|
|
997
|
-
return
|
|
992
|
+
o = pr(o) || 0, Bt(a) && (m = !!a.leading, y = "maxWait" in a, s = y ? zn(pr(a.maxWait) || 0, o) : s, w = "trailing" in a ? !!a.trailing : w);
|
|
993
|
+
function $(b) {
|
|
994
|
+
var R = u, B = d;
|
|
995
|
+
return u = d = void 0, _ = b, f = n.apply(B, R), f;
|
|
998
996
|
}
|
|
999
997
|
function M(b) {
|
|
1000
|
-
return _ = b, p = setTimeout(F, o), m ?
|
|
998
|
+
return _ = b, p = setTimeout(F, o), m ? $(b) : f;
|
|
1001
999
|
}
|
|
1002
1000
|
function W(b) {
|
|
1003
|
-
var
|
|
1004
|
-
return y ? kn(
|
|
1001
|
+
var R = b - v, B = b - _, ue = o - R;
|
|
1002
|
+
return y ? kn(ue, s - B) : ue;
|
|
1005
1003
|
}
|
|
1006
1004
|
function z(b) {
|
|
1007
|
-
var
|
|
1008
|
-
return v === void 0 ||
|
|
1005
|
+
var R = b - v, B = b - _;
|
|
1006
|
+
return v === void 0 || R >= o || R < 0 || y && B >= s;
|
|
1009
1007
|
}
|
|
1010
1008
|
function F() {
|
|
1011
1009
|
var b = Yt();
|
|
1012
1010
|
if (z(b))
|
|
1013
|
-
return
|
|
1011
|
+
return j(b);
|
|
1014
1012
|
p = setTimeout(F, W(b));
|
|
1015
1013
|
}
|
|
1016
|
-
function
|
|
1017
|
-
return p = void 0, w &&
|
|
1014
|
+
function j(b) {
|
|
1015
|
+
return p = void 0, w && u ? $(b) : (u = d = void 0, f);
|
|
1018
1016
|
}
|
|
1019
1017
|
function ae() {
|
|
1020
|
-
p !== void 0 && clearTimeout(p), _ = 0,
|
|
1018
|
+
p !== void 0 && clearTimeout(p), _ = 0, u = v = d = p = void 0;
|
|
1021
1019
|
}
|
|
1022
1020
|
function se() {
|
|
1023
|
-
return p === void 0 ? f :
|
|
1021
|
+
return p === void 0 ? f : j(Yt());
|
|
1024
1022
|
}
|
|
1025
|
-
function
|
|
1026
|
-
var b = Yt(),
|
|
1027
|
-
if (
|
|
1023
|
+
function ee() {
|
|
1024
|
+
var b = Yt(), R = z(b);
|
|
1025
|
+
if (u = arguments, d = this, v = b, R) {
|
|
1028
1026
|
if (p === void 0)
|
|
1029
1027
|
return M(v);
|
|
1030
1028
|
if (y)
|
|
1031
|
-
return p = setTimeout(F, o),
|
|
1029
|
+
return p = setTimeout(F, o), $(v);
|
|
1032
1030
|
}
|
|
1033
1031
|
return p === void 0 && (p = setTimeout(F, o)), f;
|
|
1034
1032
|
}
|
|
1035
|
-
return
|
|
1033
|
+
return ee.cancel = ae, ee.flush = se, ee;
|
|
1036
1034
|
}
|
|
1037
1035
|
function Bt(n) {
|
|
1038
1036
|
var o = typeof n;
|
|
@@ -1044,11 +1042,11 @@ function Un(n) {
|
|
|
1044
1042
|
function Bn(n) {
|
|
1045
1043
|
return typeof n == "symbol" || Un(n) && Nn.call(n) == Pn;
|
|
1046
1044
|
}
|
|
1047
|
-
function
|
|
1045
|
+
function pr(n) {
|
|
1048
1046
|
if (typeof n == "number")
|
|
1049
1047
|
return n;
|
|
1050
1048
|
if (Bn(n))
|
|
1051
|
-
return
|
|
1049
|
+
return dr;
|
|
1052
1050
|
if (Bt(n)) {
|
|
1053
1051
|
var o = typeof n.valueOf == "function" ? n.valueOf() : n;
|
|
1054
1052
|
n = Bt(o) ? o + "" : o;
|
|
@@ -1057,116 +1055,116 @@ function dr(n) {
|
|
|
1057
1055
|
return n === 0 ? n : +n;
|
|
1058
1056
|
n = n.replace($n, "");
|
|
1059
1057
|
var a = Ln.test(n);
|
|
1060
|
-
return a || In.test(n) ? Hn(n.slice(2), a ? 2 : 8) : An.test(n) ?
|
|
1058
|
+
return a || In.test(n) ? Hn(n.slice(2), a ? 2 : 8) : An.test(n) ? dr : +n;
|
|
1061
1059
|
}
|
|
1062
1060
|
var Gn = Yn;
|
|
1063
|
-
const Vn = /* @__PURE__ */
|
|
1061
|
+
const Vn = /* @__PURE__ */ Er(Gn), Xn = ({
|
|
1064
1062
|
delay: n = 0,
|
|
1065
1063
|
overrideScreenState: o
|
|
1066
1064
|
} = {}) => {
|
|
1067
|
-
const a =
|
|
1068
|
-
...
|
|
1065
|
+
const a = hr(), [u, d] = Xt(() => ({
|
|
1066
|
+
...cr(a.breakpoints),
|
|
1069
1067
|
...o
|
|
1070
1068
|
}));
|
|
1071
1069
|
return je(() => {
|
|
1072
|
-
const
|
|
1073
|
-
|
|
1070
|
+
const s = Vn(() => {
|
|
1071
|
+
d({ ...cr(a.breakpoints), ...o });
|
|
1074
1072
|
}, n);
|
|
1075
|
-
return
|
|
1076
|
-
|
|
1073
|
+
return s(), window.addEventListener("resize", s), window.screen.orientation.addEventListener("change", s), () => {
|
|
1074
|
+
s.cancel(), window.removeEventListener("resize", s), window.screen.orientation.removeEventListener("change", s);
|
|
1077
1075
|
};
|
|
1078
|
-
}, []),
|
|
1079
|
-
},
|
|
1076
|
+
}, []), u;
|
|
1077
|
+
}, Or = (n, { onMoveDrag: o, onStartDrag: a, onEndDrag: u }, { isEnabled: d = !0 } = {}) => {
|
|
1080
1078
|
je(() => {
|
|
1081
|
-
const
|
|
1082
|
-
if (!
|
|
1079
|
+
const s = n.current;
|
|
1080
|
+
if (!d || !s)
|
|
1083
1081
|
return;
|
|
1084
|
-
const
|
|
1085
|
-
let
|
|
1086
|
-
const
|
|
1087
|
-
a && a(
|
|
1088
|
-
},
|
|
1089
|
-
if (
|
|
1090
|
-
const
|
|
1091
|
-
|
|
1092
|
-
deltaX:
|
|
1093
|
-
deltaY:
|
|
1082
|
+
const f = o(s);
|
|
1083
|
+
let p = !1, v = 0, _ = 0, m = 0, y = 0, w = 0;
|
|
1084
|
+
const $ = (b, R) => {
|
|
1085
|
+
a && a(s) === !1 || (p = !0, v = b, _ = R, m = b, y = R, w = Date.now());
|
|
1086
|
+
}, M = () => {
|
|
1087
|
+
if (p && (p = !1, u)) {
|
|
1088
|
+
const b = Date.now() - w, R = m - v, B = y - _;
|
|
1089
|
+
u({
|
|
1090
|
+
deltaX: R,
|
|
1091
|
+
deltaY: B,
|
|
1094
1092
|
get movingSpeedX() {
|
|
1095
|
-
return
|
|
1093
|
+
return ar(R, b);
|
|
1096
1094
|
},
|
|
1097
1095
|
get movingSpeedY() {
|
|
1098
|
-
return
|
|
1096
|
+
return ar(B, b);
|
|
1099
1097
|
}
|
|
1100
|
-
},
|
|
1098
|
+
}, s);
|
|
1101
1099
|
}
|
|
1102
|
-
},
|
|
1103
|
-
|
|
1104
|
-
},
|
|
1105
|
-
if (!
|
|
1100
|
+
}, W = () => {
|
|
1101
|
+
M(), window.removeEventListener("mousemove", se), window.removeEventListener("mouseup", W);
|
|
1102
|
+
}, z = (b, R) => {
|
|
1103
|
+
if (!p)
|
|
1106
1104
|
return;
|
|
1107
|
-
if (
|
|
1105
|
+
if (f({
|
|
1108
1106
|
get deltaX() {
|
|
1109
|
-
return
|
|
1107
|
+
return b - m;
|
|
1110
1108
|
},
|
|
1111
1109
|
get deltaY() {
|
|
1112
|
-
return
|
|
1110
|
+
return R - y;
|
|
1113
1111
|
},
|
|
1114
1112
|
get distanceX() {
|
|
1115
|
-
return
|
|
1113
|
+
return b - v;
|
|
1116
1114
|
},
|
|
1117
1115
|
get distanceY() {
|
|
1118
|
-
return
|
|
1116
|
+
return R - _;
|
|
1119
1117
|
},
|
|
1120
1118
|
get euclideanDistance() {
|
|
1121
|
-
return
|
|
1119
|
+
return fn(v, _, b, R);
|
|
1122
1120
|
}
|
|
1123
1121
|
}) === !1) {
|
|
1124
|
-
|
|
1122
|
+
m = b, y = R, W();
|
|
1125
1123
|
return;
|
|
1126
1124
|
}
|
|
1127
|
-
|
|
1128
|
-
},
|
|
1129
|
-
const
|
|
1130
|
-
|
|
1131
|
-
},
|
|
1132
|
-
const
|
|
1133
|
-
|
|
1134
|
-
},
|
|
1135
|
-
|
|
1136
|
-
},
|
|
1137
|
-
|
|
1138
|
-
},
|
|
1139
|
-
|
|
1125
|
+
m = b, y = R;
|
|
1126
|
+
}, F = (b) => {
|
|
1127
|
+
const R = b.touches[0];
|
|
1128
|
+
$(R.clientX, R.clientY);
|
|
1129
|
+
}, j = (b) => {
|
|
1130
|
+
const R = b.touches[0];
|
|
1131
|
+
z(R.clientX, R.clientY);
|
|
1132
|
+
}, ae = () => {
|
|
1133
|
+
p = !1;
|
|
1134
|
+
}, se = (b) => {
|
|
1135
|
+
z(b.clientX, b.clientY);
|
|
1136
|
+
}, ee = (b) => {
|
|
1137
|
+
$(b.clientX, b.clientY), window.addEventListener("mousemove", se), window.addEventListener("mouseup", W);
|
|
1140
1138
|
};
|
|
1141
|
-
return
|
|
1139
|
+
return s.addEventListener("touchstart", F, {
|
|
1142
1140
|
passive: !0
|
|
1143
|
-
}),
|
|
1141
|
+
}), s.addEventListener("touchmove", j, {
|
|
1144
1142
|
passive: !0
|
|
1145
|
-
}),
|
|
1146
|
-
|
|
1143
|
+
}), s.addEventListener("touchend", M), s.addEventListener("touchcancel", ae), s.addEventListener("mousedown", ee), () => {
|
|
1144
|
+
s.removeEventListener("touchstart", F), s.removeEventListener("touchmove", j), s.removeEventListener("touchend", M), s.removeEventListener("touchcancel", ae), s.removeEventListener("mousedown", ee);
|
|
1147
1145
|
};
|
|
1148
|
-
}, [a, o,
|
|
1146
|
+
}, [d, a, o, u]);
|
|
1149
1147
|
}, uo = (n, o) => {
|
|
1150
|
-
const a = Oe(null),
|
|
1151
|
-
if (a.current = v,
|
|
1148
|
+
const a = Oe(null), u = Oe(null), d = Oe(null), s = (v, _) => {
|
|
1149
|
+
if (a.current = v, d.current = _, !!v)
|
|
1152
1150
|
if (_) {
|
|
1153
1151
|
const m = ([y]) => {
|
|
1154
1152
|
y.isIntersecting && o();
|
|
1155
1153
|
};
|
|
1156
|
-
|
|
1154
|
+
u.current = new IntersectionObserver(m, {
|
|
1157
1155
|
root: v,
|
|
1158
1156
|
rootMargin: "0px",
|
|
1159
1157
|
threshold: 0
|
|
1160
|
-
}),
|
|
1161
|
-
} else
|
|
1162
|
-
}, f =
|
|
1158
|
+
}), u.current.observe(_);
|
|
1159
|
+
} else u.current && (u.current.disconnect(), u.current = null);
|
|
1160
|
+
}, f = pt(
|
|
1163
1161
|
(v) => {
|
|
1164
|
-
|
|
1162
|
+
s(v, d.current);
|
|
1165
1163
|
},
|
|
1166
1164
|
[]
|
|
1167
|
-
), p =
|
|
1165
|
+
), p = pt(
|
|
1168
1166
|
(v) => {
|
|
1169
|
-
|
|
1167
|
+
s(a.current, v);
|
|
1170
1168
|
},
|
|
1171
1169
|
[a, o]
|
|
1172
1170
|
);
|
|
@@ -1177,81 +1175,81 @@ const Vn = /* @__PURE__ */ Tr(Gn), Xn = ({
|
|
|
1177
1175
|
}, co = (n, {
|
|
1178
1176
|
availableWindowPercentage: o = 0,
|
|
1179
1177
|
onStartDrag: a,
|
|
1180
|
-
onEndDrag:
|
|
1178
|
+
onEndDrag: u
|
|
1181
1179
|
} = {}) => {
|
|
1182
|
-
const
|
|
1183
|
-
(
|
|
1184
|
-
const v =
|
|
1180
|
+
const d = pt(
|
|
1181
|
+
(s) => ({ deltaX: f, deltaY: p }) => {
|
|
1182
|
+
const v = s.scrollWidth - s.clientWidth, _ = s.scrollHeight - s.clientHeight;
|
|
1185
1183
|
if (v <= 0 && _ <= 0)
|
|
1186
1184
|
return;
|
|
1187
|
-
const m =
|
|
1188
|
-
|
|
1185
|
+
const m = sr(
|
|
1186
|
+
s.clientWidth,
|
|
1189
1187
|
o
|
|
1190
|
-
), y =
|
|
1191
|
-
|
|
1188
|
+
), y = sr(
|
|
1189
|
+
s.clientHeight,
|
|
1192
1190
|
o
|
|
1193
|
-
), { translateX: w, translateY:
|
|
1194
|
-
let z = !1, F = w,
|
|
1195
|
-
(f < 0 && M >= (v + m) * -1 || f > 0 && M <= m) && (F = M, z = !0), (p < 0 && W >= (_ + y) * -1 || p > 0 && W <= y) && (
|
|
1191
|
+
), { translateX: w, translateY: $ } = br(s), M = w + f, W = $ + p;
|
|
1192
|
+
let z = !1, F = w, j = $;
|
|
1193
|
+
(f < 0 && M >= (v + m) * -1 || f > 0 && M <= m) && (F = M, z = !0), (p < 0 && W >= (_ + y) * -1 || p > 0 && W <= y) && (j = W, z = !0), z && (s.style.transform = `translate(${F}px, ${j}px)`);
|
|
1196
1194
|
},
|
|
1197
1195
|
[o]
|
|
1198
1196
|
);
|
|
1199
|
-
|
|
1197
|
+
Or(n, {
|
|
1200
1198
|
onStartDrag: a,
|
|
1201
|
-
onMoveDrag:
|
|
1202
|
-
onEndDrag:
|
|
1199
|
+
onMoveDrag: d,
|
|
1200
|
+
onEndDrag: u
|
|
1203
1201
|
}), je(() => {
|
|
1204
|
-
const
|
|
1202
|
+
const s = () => {
|
|
1205
1203
|
var f;
|
|
1206
1204
|
(f = n.current) == null || f.style.removeProperty("transform");
|
|
1207
1205
|
};
|
|
1208
|
-
return window.addEventListener("resize",
|
|
1209
|
-
window.removeEventListener("resize",
|
|
1206
|
+
return window.addEventListener("resize", s), () => {
|
|
1207
|
+
window.removeEventListener("resize", s);
|
|
1210
1208
|
};
|
|
1211
|
-
}, [])
|
|
1212
|
-
},
|
|
1209
|
+
}, []);
|
|
1210
|
+
}, jr = ve(yt)`
|
|
1213
1211
|
overflow: hidden;
|
|
1214
|
-
`, qn =
|
|
1212
|
+
`, qn = ve.div``, Jn = ({
|
|
1215
1213
|
children: n,
|
|
1216
1214
|
items: o,
|
|
1217
1215
|
itemKey: a,
|
|
1218
|
-
activeItemIndex:
|
|
1219
|
-
direction:
|
|
1220
|
-
...
|
|
1216
|
+
activeItemIndex: u,
|
|
1217
|
+
direction: d = "vertical",
|
|
1218
|
+
...s
|
|
1221
1219
|
}) => {
|
|
1222
1220
|
const [f, p] = Xt(o), v = Oe(null);
|
|
1223
1221
|
Oe(-1), f == null || f.length;
|
|
1224
|
-
const _ =
|
|
1225
|
-
const { translateX: M, translateY: W } =
|
|
1222
|
+
const _ = pt((m) => (m.parentElement.clientHeight / 2, ({ deltaX: w, deltaY: $ }) => {
|
|
1223
|
+
const { translateX: M, translateY: W } = br(m), z = d === "horizontal" ? M + w : 0, F = d === "vertical" ? W + $ : 0;
|
|
1226
1224
|
m.style.transform = `translate(${z}px, ${F}px)`;
|
|
1227
1225
|
}), []);
|
|
1228
|
-
return
|
|
1226
|
+
return Or(v, {
|
|
1229
1227
|
onMoveDrag: _
|
|
1230
1228
|
}), je(() => {
|
|
1231
1229
|
}, []), je(() => {
|
|
1232
1230
|
const m = v.current;
|
|
1233
1231
|
if (!m)
|
|
1234
1232
|
return;
|
|
1235
|
-
const y = m.children[
|
|
1233
|
+
const y = m.children[u];
|
|
1236
1234
|
m.parentElement.clientHeight / 2, y.offsetTop + y.clientHeight / 2;
|
|
1237
|
-
}, []), /* @__PURE__ */
|
|
1238
|
-
const
|
|
1239
|
-
return /* @__PURE__ */
|
|
1235
|
+
}, []), /* @__PURE__ */ Y.jsx(yt, { $overflow: "hidden", "data-testid": "honey-looping-list-container", ...s, children: /* @__PURE__ */ Y.jsx(jr, { ref: v, "data-testid": "honey-looping-list", children: f == null ? void 0 : f.map((m, y, w) => {
|
|
1236
|
+
const $ = Rr(m, a, y);
|
|
1237
|
+
return /* @__PURE__ */ Y.jsx(
|
|
1240
1238
|
qn,
|
|
1241
1239
|
{
|
|
1242
|
-
"aria-current": y ===
|
|
1240
|
+
"aria-current": y === u,
|
|
1243
1241
|
children: n(m, y, w)
|
|
1244
1242
|
},
|
|
1245
|
-
String(
|
|
1243
|
+
String($)
|
|
1246
1244
|
);
|
|
1247
1245
|
}) }) });
|
|
1248
|
-
}, Kn =
|
|
1246
|
+
}, Kn = ve.div`
|
|
1249
1247
|
padding: 8px;
|
|
1250
1248
|
|
|
1251
1249
|
border-radius: 4px;
|
|
1252
|
-
border: 1px solid ${
|
|
1250
|
+
border: 1px solid ${ht("neutral.charcoalDark")};
|
|
1253
1251
|
|
|
1254
|
-
${
|
|
1252
|
+
${jr} {
|
|
1255
1253
|
padding: 0;
|
|
1256
1254
|
list-style-type: none;
|
|
1257
1255
|
|
|
@@ -1267,13 +1265,13 @@ const Vn = /* @__PURE__ */ Tr(Gn), Xn = ({
|
|
|
1267
1265
|
font-weight: bold;
|
|
1268
1266
|
font-size: 1.3rem;
|
|
1269
1267
|
|
|
1270
|
-
background-color: ${
|
|
1268
|
+
background-color: ${ht("neutral.charcoalDark")};
|
|
1271
1269
|
}
|
|
1272
1270
|
}
|
|
1273
1271
|
}
|
|
1274
1272
|
`, fo = () => {
|
|
1275
1273
|
const n = Array.from(Array(12)).map((o, a) => a + 1);
|
|
1276
|
-
return /* @__PURE__ */
|
|
1274
|
+
return /* @__PURE__ */ Y.jsx(Kn, { children: /* @__PURE__ */ Y.jsx(
|
|
1277
1275
|
Jn,
|
|
1278
1276
|
{
|
|
1279
1277
|
items: n,
|
|
@@ -1287,56 +1285,56 @@ const Vn = /* @__PURE__ */ Tr(Gn), Xn = ({
|
|
|
1287
1285
|
children: n,
|
|
1288
1286
|
isMount: o,
|
|
1289
1287
|
unmountDelay: a,
|
|
1290
|
-
isAlwaysMounted:
|
|
1291
|
-
isKeepAfterMount:
|
|
1288
|
+
isAlwaysMounted: u = !1,
|
|
1289
|
+
isKeepAfterMount: d = !1
|
|
1292
1290
|
}) => {
|
|
1293
|
-
const [
|
|
1291
|
+
const [s, f] = Xt(u || o), p = Oe(void 0);
|
|
1294
1292
|
return je(() => {
|
|
1295
|
-
if (!(!o ||
|
|
1293
|
+
if (!(!o || u))
|
|
1296
1294
|
return clearTimeout(p.current), f(!0), () => {
|
|
1297
|
-
|
|
1295
|
+
d || (p.current = setTimeout(() => f(!1), a));
|
|
1298
1296
|
};
|
|
1299
|
-
}, [o]),
|
|
1300
|
-
},
|
|
1297
|
+
}, [o]), s ? n : null;
|
|
1298
|
+
}, Pr = yr(void 0), Zn = ({
|
|
1301
1299
|
children: n,
|
|
1302
1300
|
mediaQueryOptions: o
|
|
1303
1301
|
}) => {
|
|
1304
|
-
const a =
|
|
1302
|
+
const a = hr(), u = Xn(o), d = Gt(
|
|
1305
1303
|
() => ({
|
|
1306
1304
|
theme: a,
|
|
1307
|
-
screenState:
|
|
1308
|
-
resolveSpacing: (...
|
|
1309
|
-
resolveColor: (...
|
|
1310
|
-
resolveFont: (...
|
|
1311
|
-
resolveDimension: (...
|
|
1305
|
+
screenState: u,
|
|
1306
|
+
resolveSpacing: (...s) => gt(...s)({ theme: a }),
|
|
1307
|
+
resolveColor: (...s) => ht(...s)({ theme: a }),
|
|
1308
|
+
resolveFont: (...s) => vn(...s)({ theme: a }),
|
|
1309
|
+
resolveDimension: (...s) => gn(...s)({ theme: a })
|
|
1312
1310
|
}),
|
|
1313
|
-
[a,
|
|
1311
|
+
[a, u]
|
|
1314
1312
|
);
|
|
1315
|
-
return /* @__PURE__ */
|
|
1313
|
+
return /* @__PURE__ */ Y.jsx(Pr.Provider, { value: d, children: n });
|
|
1316
1314
|
}, po = ({
|
|
1317
1315
|
theme: n,
|
|
1318
1316
|
...o
|
|
1319
|
-
}) => /* @__PURE__ */
|
|
1320
|
-
const n = Vt(
|
|
1317
|
+
}) => /* @__PURE__ */ Y.jsx(vr, { theme: n, children: /* @__PURE__ */ Y.jsx(Zn, { ...o }) }), ho = () => {
|
|
1318
|
+
const n = Vt(Pr);
|
|
1321
1319
|
if (!n)
|
|
1322
1320
|
throw new Error(
|
|
1323
1321
|
"The `useHoneyLayout()` hook must be used inside <HoneyLayoutProvider/> component!"
|
|
1324
1322
|
);
|
|
1325
1323
|
return n;
|
|
1326
1324
|
};
|
|
1327
|
-
var
|
|
1328
|
-
|
|
1325
|
+
var vt = { exports: {} };
|
|
1326
|
+
vt.exports;
|
|
1329
1327
|
(function(n, o) {
|
|
1330
|
-
var a = 200,
|
|
1331
|
-
|
|
1332
|
-
var
|
|
1328
|
+
var a = 200, u = "__lodash_hash_undefined__", d = 800, s = 16, f = 9007199254740991, p = "[object Arguments]", v = "[object Array]", _ = "[object AsyncFunction]", m = "[object Boolean]", y = "[object Date]", w = "[object Error]", $ = "[object Function]", M = "[object GeneratorFunction]", W = "[object Map]", z = "[object Number]", F = "[object Null]", j = "[object Object]", ae = "[object Proxy]", se = "[object RegExp]", ee = "[object Set]", b = "[object String]", R = "[object Undefined]", B = "[object WeakMap]", ue = "[object ArrayBuffer]", mt = "[object DataView]", bt = "[object Float32Array]", ke = "[object Float64Array]", V = "[object Int8Array]", ne = "[object Int16Array]", ge = "[object Int32Array]", Ye = "[object Uint8Array]", Ue = "[object Uint8ClampedArray]", Be = "[object Uint16Array]", Ge = "[object Uint32Array]", Ve = /[\\^$.*+?()[\]{}|]/g, Xe = /^\[object .+?Constructor\]$/, qe = /^(?:0|[1-9]\d*)$/, P = {};
|
|
1329
|
+
P[bt] = P[ke] = P[V] = P[ne] = P[ge] = P[Ye] = P[Ue] = P[Be] = P[Ge] = !0, P[p] = P[v] = P[ue] = P[m] = P[mt] = P[y] = P[w] = P[$] = P[W] = P[z] = P[j] = P[se] = P[ee] = P[b] = P[B] = !1;
|
|
1330
|
+
var Je = typeof pe == "object" && pe && pe.Object === Object && pe, _t = typeof self == "object" && self && self.Object === Object && self, oe = Je || _t || Function("return this")(), _e = o && !o.nodeType && o, te = _e && !0 && n && !n.nodeType && n, Te = te && te.exports === _e, ce = Te && Je.process, Ke = function() {
|
|
1333
1331
|
try {
|
|
1334
1332
|
var e = te && te.require && te.require("util").types;
|
|
1335
|
-
return e ||
|
|
1333
|
+
return e || ce && ce.binding && ce.binding("util");
|
|
1336
1334
|
} catch {
|
|
1337
1335
|
}
|
|
1338
|
-
}(),
|
|
1339
|
-
function
|
|
1336
|
+
}(), Pe = Ke && Ke.isTypedArray;
|
|
1337
|
+
function Tt(e, r, i) {
|
|
1340
1338
|
switch (i.length) {
|
|
1341
1339
|
case 0:
|
|
1342
1340
|
return e.call(r);
|
|
@@ -1349,12 +1347,12 @@ gt.exports;
|
|
|
1349
1347
|
}
|
|
1350
1348
|
return e.apply(r, i);
|
|
1351
1349
|
}
|
|
1352
|
-
function
|
|
1350
|
+
function xt(e, r) {
|
|
1353
1351
|
for (var i = -1, h = Array(e); ++i < e; )
|
|
1354
1352
|
h[i] = r(i);
|
|
1355
1353
|
return h;
|
|
1356
1354
|
}
|
|
1357
|
-
function
|
|
1355
|
+
function xe(e) {
|
|
1358
1356
|
return function(r) {
|
|
1359
1357
|
return e(r);
|
|
1360
1358
|
};
|
|
@@ -1362,32 +1360,32 @@ gt.exports;
|
|
|
1362
1360
|
function ye(e, r) {
|
|
1363
1361
|
return e == null ? void 0 : e[r];
|
|
1364
1362
|
}
|
|
1365
|
-
function
|
|
1363
|
+
function Ze(e, r) {
|
|
1366
1364
|
return function(i) {
|
|
1367
1365
|
return e(r(i));
|
|
1368
1366
|
};
|
|
1369
1367
|
}
|
|
1370
|
-
var
|
|
1371
|
-
var e = /[^.]+$/.exec(
|
|
1368
|
+
var Qe = Array.prototype, Ee = Function.prototype, we = Object.prototype, $e = oe["__core-js_shared__"], fe = Ee.toString, re = we.hasOwnProperty, et = function() {
|
|
1369
|
+
var e = /[^.]+$/.exec($e && $e.keys && $e.keys.IE_PROTO || "");
|
|
1372
1370
|
return e ? "Symbol(src)_1." + e : "";
|
|
1373
|
-
}(),
|
|
1374
|
-
"^" +
|
|
1375
|
-
), Se =
|
|
1371
|
+
}(), Ae = we.toString, tt = fe.call(Object), me = RegExp(
|
|
1372
|
+
"^" + fe.call(re).replace(Ve, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
1373
|
+
), Se = Te ? oe.Buffer : void 0, Le = oe.Symbol, Ie = oe.Uint8Array;
|
|
1376
1374
|
Se && Se.allocUnsafe;
|
|
1377
|
-
var Ce =
|
|
1375
|
+
var Ce = Ze(Object.getPrototypeOf, Object), rt = Object.create, Et = we.propertyIsEnumerable, wt = Qe.splice, ie = Le ? Le.toStringTag : void 0, Re = function() {
|
|
1378
1376
|
try {
|
|
1379
1377
|
var e = It(Object, "defineProperty");
|
|
1380
1378
|
return e({}, "", {}), e;
|
|
1381
1379
|
} catch {
|
|
1382
1380
|
}
|
|
1383
|
-
}(), St = Se ? Se.isBuffer : void 0,
|
|
1381
|
+
}(), St = Se ? Se.isBuffer : void 0, nt = Math.max, He = Date.now, De = It(oe, "Map"), X = It(Object, "create"), Me = /* @__PURE__ */ function() {
|
|
1384
1382
|
function e() {
|
|
1385
1383
|
}
|
|
1386
1384
|
return function(r) {
|
|
1387
1385
|
if (!be(r))
|
|
1388
1386
|
return {};
|
|
1389
|
-
if (
|
|
1390
|
-
return
|
|
1387
|
+
if (rt)
|
|
1388
|
+
return rt(r);
|
|
1391
1389
|
e.prototype = r;
|
|
1392
1390
|
var i = new e();
|
|
1393
1391
|
return e.prototype = void 0, i;
|
|
@@ -1400,18 +1398,18 @@ gt.exports;
|
|
|
1400
1398
|
this.set(h[0], h[1]);
|
|
1401
1399
|
}
|
|
1402
1400
|
}
|
|
1403
|
-
function
|
|
1401
|
+
function ot() {
|
|
1404
1402
|
this.__data__ = X ? X(null) : {}, this.size = 0;
|
|
1405
1403
|
}
|
|
1406
1404
|
function Ct(e) {
|
|
1407
1405
|
var r = this.has(e) && delete this.__data__[e];
|
|
1408
1406
|
return this.size -= r ? 1 : 0, r;
|
|
1409
1407
|
}
|
|
1410
|
-
function
|
|
1408
|
+
function it(e) {
|
|
1411
1409
|
var r = this.__data__;
|
|
1412
1410
|
if (X) {
|
|
1413
1411
|
var i = r[e];
|
|
1414
|
-
return i ===
|
|
1412
|
+
return i === u ? void 0 : i;
|
|
1415
1413
|
}
|
|
1416
1414
|
return re.call(r, e) ? r[e] : void 0;
|
|
1417
1415
|
}
|
|
@@ -1419,11 +1417,11 @@ gt.exports;
|
|
|
1419
1417
|
var r = this.__data__;
|
|
1420
1418
|
return X ? r[e] !== void 0 : re.call(r, e);
|
|
1421
1419
|
}
|
|
1422
|
-
function
|
|
1420
|
+
function at(e, r) {
|
|
1423
1421
|
var i = this.__data__;
|
|
1424
|
-
return this.size += this.has(e) ? 0 : 1, i[e] = X && r === void 0 ?
|
|
1422
|
+
return this.size += this.has(e) ? 0 : 1, i[e] = X && r === void 0 ? u : r, this;
|
|
1425
1423
|
}
|
|
1426
|
-
J.prototype.clear =
|
|
1424
|
+
J.prototype.clear = ot, J.prototype.delete = Ct, J.prototype.get = it, J.prototype.has = Rt, J.prototype.set = at;
|
|
1427
1425
|
function q(e) {
|
|
1428
1426
|
var r = -1, i = e == null ? 0 : e.length;
|
|
1429
1427
|
for (this.clear(); ++r < i; ) {
|
|
@@ -1441,19 +1439,19 @@ gt.exports;
|
|
|
1441
1439
|
var h = r.length - 1;
|
|
1442
1440
|
return i == h ? r.pop() : wt.call(r, i, 1), --this.size, !0;
|
|
1443
1441
|
}
|
|
1444
|
-
function
|
|
1442
|
+
function st(e) {
|
|
1445
1443
|
var r = this.__data__, i = K(r, e);
|
|
1446
1444
|
return i < 0 ? void 0 : r[i][1];
|
|
1447
1445
|
}
|
|
1448
|
-
function
|
|
1446
|
+
function ut(e) {
|
|
1449
1447
|
return K(this.__data__, e) > -1;
|
|
1450
1448
|
}
|
|
1451
1449
|
function Pt(e, r) {
|
|
1452
1450
|
var i = this.__data__, h = K(i, e);
|
|
1453
1451
|
return h < 0 ? (++this.size, i.push([e, r])) : i[h][1] = r, this;
|
|
1454
1452
|
}
|
|
1455
|
-
q.prototype.clear = Ot, q.prototype.delete = jt, q.prototype.get =
|
|
1456
|
-
function
|
|
1453
|
+
q.prototype.clear = Ot, q.prototype.delete = jt, q.prototype.get = st, q.prototype.has = ut, q.prototype.set = Pt;
|
|
1454
|
+
function le(e) {
|
|
1457
1455
|
var r = -1, i = e == null ? 0 : e.length;
|
|
1458
1456
|
for (this.clear(); ++r < i; ) {
|
|
1459
1457
|
var h = e[r];
|
|
@@ -1463,25 +1461,25 @@ gt.exports;
|
|
|
1463
1461
|
function $t() {
|
|
1464
1462
|
this.size = 0, this.__data__ = {
|
|
1465
1463
|
hash: new J(),
|
|
1466
|
-
map: new (
|
|
1464
|
+
map: new (De || q)(),
|
|
1467
1465
|
string: new J()
|
|
1468
1466
|
};
|
|
1469
1467
|
}
|
|
1470
1468
|
function At(e) {
|
|
1471
|
-
var r =
|
|
1469
|
+
var r = ft(this, e).delete(e);
|
|
1472
1470
|
return this.size -= r ? 1 : 0, r;
|
|
1473
1471
|
}
|
|
1474
1472
|
function t(e) {
|
|
1475
|
-
return
|
|
1473
|
+
return ft(this, e).get(e);
|
|
1476
1474
|
}
|
|
1477
|
-
function
|
|
1478
|
-
return
|
|
1475
|
+
function c(e) {
|
|
1476
|
+
return ft(this, e).has(e);
|
|
1479
1477
|
}
|
|
1480
|
-
function
|
|
1481
|
-
var i =
|
|
1478
|
+
function l(e, r) {
|
|
1479
|
+
var i = ft(this, e), h = i.size;
|
|
1482
1480
|
return i.set(e, r), this.size += i.size == h ? 0 : 1, this;
|
|
1483
1481
|
}
|
|
1484
|
-
|
|
1482
|
+
le.prototype.clear = $t, le.prototype.delete = At, le.prototype.get = t, le.prototype.has = c, le.prototype.set = l;
|
|
1485
1483
|
function g(e) {
|
|
1486
1484
|
var r = this.__data__ = new q(e);
|
|
1487
1485
|
this.size = r.size;
|
|
@@ -1493,43 +1491,43 @@ gt.exports;
|
|
|
1493
1491
|
var r = this.__data__, i = r.delete(e);
|
|
1494
1492
|
return this.size = r.size, i;
|
|
1495
1493
|
}
|
|
1496
|
-
function
|
|
1494
|
+
function x(e) {
|
|
1497
1495
|
return this.__data__.get(e);
|
|
1498
1496
|
}
|
|
1499
|
-
function
|
|
1497
|
+
function T(e) {
|
|
1500
1498
|
return this.__data__.has(e);
|
|
1501
1499
|
}
|
|
1502
1500
|
function N(e, r) {
|
|
1503
1501
|
var i = this.__data__;
|
|
1504
1502
|
if (i instanceof q) {
|
|
1505
1503
|
var h = i.__data__;
|
|
1506
|
-
if (!
|
|
1504
|
+
if (!De || h.length < a - 1)
|
|
1507
1505
|
return h.push([e, r]), this.size = ++i.size, this;
|
|
1508
|
-
i = this.__data__ = new
|
|
1506
|
+
i = this.__data__ = new le(h);
|
|
1509
1507
|
}
|
|
1510
1508
|
return i.set(e, r), this.size = i.size, this;
|
|
1511
1509
|
}
|
|
1512
|
-
g.prototype.clear = S, g.prototype.delete = O, g.prototype.get =
|
|
1510
|
+
g.prototype.clear = S, g.prototype.delete = O, g.prototype.get = x, g.prototype.has = T, g.prototype.set = N;
|
|
1513
1511
|
function D(e, r) {
|
|
1514
|
-
var i = Mt(e), h = !i && Dt(e), E = !i && !h &&
|
|
1512
|
+
var i = Mt(e), h = !i && Dt(e), E = !i && !h && Qt(e), A = !i && !h && !E && tr(e), I = i || h || E || A, C = I ? xt(e.length, String) : [], H = C.length;
|
|
1515
1513
|
for (var Q in e)
|
|
1516
1514
|
I && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
1517
1515
|
(Q == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
1518
1516
|
E && (Q == "offset" || Q == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
1519
1517
|
A && (Q == "buffer" || Q == "byteLength" || Q == "byteOffset") || // Skip index properties.
|
|
1520
|
-
|
|
1518
|
+
Kt(Q, H)) || C.push(Q);
|
|
1521
1519
|
return C;
|
|
1522
1520
|
}
|
|
1523
1521
|
function L(e, r, i) {
|
|
1524
|
-
(i !== void 0 && !
|
|
1522
|
+
(i !== void 0 && !lt(e[r], i) || i === void 0 && !(r in e)) && Z(e, r, i);
|
|
1525
1523
|
}
|
|
1526
|
-
function
|
|
1524
|
+
function U(e, r, i) {
|
|
1527
1525
|
var h = e[r];
|
|
1528
|
-
(!(re.call(e, r) &&
|
|
1526
|
+
(!(re.call(e, r) && lt(h, i)) || i === void 0 && !(r in e)) && Z(e, r, i);
|
|
1529
1527
|
}
|
|
1530
1528
|
function K(e, r) {
|
|
1531
1529
|
for (var i = e.length; i--; )
|
|
1532
|
-
if (
|
|
1530
|
+
if (lt(e[i][0], r))
|
|
1533
1531
|
return i;
|
|
1534
1532
|
return -1;
|
|
1535
1533
|
}
|
|
@@ -1541,101 +1539,101 @@ gt.exports;
|
|
|
1541
1539
|
writable: !0
|
|
1542
1540
|
}) : e[r] = i;
|
|
1543
1541
|
}
|
|
1544
|
-
var
|
|
1545
|
-
function
|
|
1546
|
-
return e == null ? e === void 0 ?
|
|
1542
|
+
var k = kr();
|
|
1543
|
+
function de(e) {
|
|
1544
|
+
return e == null ? e === void 0 ? R : F : ie && ie in Object(e) ? Yr(e) : qr(e);
|
|
1547
1545
|
}
|
|
1548
|
-
function
|
|
1549
|
-
return
|
|
1546
|
+
function ct(e) {
|
|
1547
|
+
return Fe(e) && de(e) == p;
|
|
1550
1548
|
}
|
|
1551
1549
|
function Lt(e) {
|
|
1552
|
-
if (!be(e) ||
|
|
1550
|
+
if (!be(e) || Vr(e))
|
|
1553
1551
|
return !1;
|
|
1554
|
-
var r = Wt(e) ? me :
|
|
1555
|
-
return r.test(
|
|
1556
|
-
}
|
|
1557
|
-
function Pr(e) {
|
|
1558
|
-
return We(e) && Qt(e.length) && !!$[le(e)];
|
|
1552
|
+
var r = Wt(e) ? me : Xe;
|
|
1553
|
+
return r.test(Qr(e));
|
|
1559
1554
|
}
|
|
1560
1555
|
function $r(e) {
|
|
1556
|
+
return Fe(e) && er(e.length) && !!P[de(e)];
|
|
1557
|
+
}
|
|
1558
|
+
function Ar(e) {
|
|
1561
1559
|
if (!be(e))
|
|
1562
|
-
return
|
|
1563
|
-
var r =
|
|
1560
|
+
return Xr(e);
|
|
1561
|
+
var r = Zt(e), i = [];
|
|
1564
1562
|
for (var h in e)
|
|
1565
1563
|
h == "constructor" && (r || !re.call(e, h)) || i.push(h);
|
|
1566
1564
|
return i;
|
|
1567
1565
|
}
|
|
1568
|
-
function
|
|
1569
|
-
e !== r &&
|
|
1566
|
+
function Jt(e, r, i, h, E) {
|
|
1567
|
+
e !== r && k(r, function(A, I) {
|
|
1570
1568
|
if (E || (E = new g()), be(A))
|
|
1571
|
-
|
|
1569
|
+
Lr(e, r, I, i, Jt, h, E);
|
|
1572
1570
|
else {
|
|
1573
1571
|
var C = h ? h(Ht(e, I), A, I + "", e, r, E) : void 0;
|
|
1574
1572
|
C === void 0 && (C = A), L(e, I, C);
|
|
1575
1573
|
}
|
|
1576
|
-
},
|
|
1574
|
+
}, rr);
|
|
1577
1575
|
}
|
|
1578
|
-
function
|
|
1576
|
+
function Lr(e, r, i, h, E, A, I) {
|
|
1579
1577
|
var C = Ht(e, i), H = Ht(r, i), Q = I.get(H);
|
|
1580
1578
|
if (Q) {
|
|
1581
1579
|
L(e, i, Q);
|
|
1582
1580
|
return;
|
|
1583
1581
|
}
|
|
1584
|
-
var G = A ? A(C, H, i + "", e, r, I) : void 0,
|
|
1585
|
-
if (
|
|
1586
|
-
var Nt = Mt(H), zt = !Nt &&
|
|
1587
|
-
G = H, Nt || zt ||
|
|
1582
|
+
var G = A ? A(C, H, i + "", e, r, I) : void 0, We = G === void 0;
|
|
1583
|
+
if (We) {
|
|
1584
|
+
var Nt = Mt(H), zt = !Nt && Qt(H), or = !Nt && !zt && tr(H);
|
|
1585
|
+
G = H, Nt || zt || or ? Mt(C) ? G = C : en(C) ? G = Wr(C) : zt ? (We = !1, G = Dr(H)) : or ? (We = !1, G = Fr(H)) : G = [] : tn(H) || Dt(H) ? (G = C, Dt(C) ? G = rn(C) : (!be(C) || Wt(C)) && (G = Ur(H))) : We = !1;
|
|
1588
1586
|
}
|
|
1589
|
-
|
|
1587
|
+
We && (I.set(H, G), E(G, H, h, A, I), I.delete(H)), L(e, i, G);
|
|
1590
1588
|
}
|
|
1591
|
-
function
|
|
1592
|
-
return Jr(
|
|
1589
|
+
function Ir(e, r) {
|
|
1590
|
+
return Kr(Jr(e, r, nr), e + "");
|
|
1593
1591
|
}
|
|
1594
|
-
var
|
|
1592
|
+
var Hr = Re ? function(e, r) {
|
|
1595
1593
|
return Re(e, "toString", {
|
|
1596
1594
|
configurable: !0,
|
|
1597
1595
|
enumerable: !1,
|
|
1598
|
-
value:
|
|
1596
|
+
value: on(r),
|
|
1599
1597
|
writable: !0
|
|
1600
1598
|
});
|
|
1601
|
-
} :
|
|
1602
|
-
function
|
|
1599
|
+
} : nr;
|
|
1600
|
+
function Dr(e, r) {
|
|
1603
1601
|
return e.slice();
|
|
1604
1602
|
}
|
|
1605
|
-
function
|
|
1603
|
+
function Mr(e) {
|
|
1606
1604
|
var r = new e.constructor(e.byteLength);
|
|
1607
|
-
return new
|
|
1605
|
+
return new Ie(r).set(new Ie(e)), r;
|
|
1608
1606
|
}
|
|
1609
|
-
function
|
|
1610
|
-
var i =
|
|
1607
|
+
function Fr(e, r) {
|
|
1608
|
+
var i = Mr(e.buffer);
|
|
1611
1609
|
return new e.constructor(i, e.byteOffset, e.length);
|
|
1612
1610
|
}
|
|
1613
|
-
function
|
|
1611
|
+
function Wr(e, r) {
|
|
1614
1612
|
var i = -1, h = e.length;
|
|
1615
1613
|
for (r || (r = Array(h)); ++i < h; )
|
|
1616
1614
|
r[i] = e[i];
|
|
1617
1615
|
return r;
|
|
1618
1616
|
}
|
|
1619
|
-
function
|
|
1617
|
+
function Nr(e, r, i, h) {
|
|
1620
1618
|
var E = !i;
|
|
1621
1619
|
i || (i = {});
|
|
1622
1620
|
for (var A = -1, I = r.length; ++A < I; ) {
|
|
1623
1621
|
var C = r[A], H = void 0;
|
|
1624
|
-
H === void 0 && (H = e[C]), E ? Z(i, C, H) :
|
|
1622
|
+
H === void 0 && (H = e[C]), E ? Z(i, C, H) : U(i, C, H);
|
|
1625
1623
|
}
|
|
1626
1624
|
return i;
|
|
1627
1625
|
}
|
|
1628
|
-
function
|
|
1629
|
-
return
|
|
1626
|
+
function zr(e) {
|
|
1627
|
+
return Ir(function(r, i) {
|
|
1630
1628
|
var h = -1, E = i.length, A = E > 1 ? i[E - 1] : void 0, I = E > 2 ? i[2] : void 0;
|
|
1631
|
-
for (A = e.length > 3 && typeof A == "function" ? (E--, A) : void 0, I &&
|
|
1629
|
+
for (A = e.length > 3 && typeof A == "function" ? (E--, A) : void 0, I && Br(i[0], i[1], I) && (A = E < 3 ? void 0 : A, E = 1), r = Object(r); ++h < E; ) {
|
|
1632
1630
|
var C = i[h];
|
|
1633
1631
|
C && e(r, C, h, A);
|
|
1634
1632
|
}
|
|
1635
1633
|
return r;
|
|
1636
1634
|
});
|
|
1637
1635
|
}
|
|
1638
|
-
function
|
|
1636
|
+
function kr(e) {
|
|
1639
1637
|
return function(r, i, h) {
|
|
1640
1638
|
for (var E = -1, A = Object(r), I = h(r), C = I.length; C--; ) {
|
|
1641
1639
|
var H = I[++E];
|
|
@@ -1645,89 +1643,89 @@ gt.exports;
|
|
|
1645
1643
|
return r;
|
|
1646
1644
|
};
|
|
1647
1645
|
}
|
|
1648
|
-
function
|
|
1646
|
+
function ft(e, r) {
|
|
1649
1647
|
var i = e.__data__;
|
|
1650
|
-
return
|
|
1648
|
+
return Gr(r) ? i[typeof r == "string" ? "string" : "hash"] : i.map;
|
|
1651
1649
|
}
|
|
1652
1650
|
function It(e, r) {
|
|
1653
1651
|
var i = ye(e, r);
|
|
1654
1652
|
return Lt(i) ? i : void 0;
|
|
1655
1653
|
}
|
|
1656
|
-
function
|
|
1654
|
+
function Yr(e) {
|
|
1657
1655
|
var r = re.call(e, ie), i = e[ie];
|
|
1658
1656
|
try {
|
|
1659
1657
|
e[ie] = void 0;
|
|
1660
1658
|
var h = !0;
|
|
1661
1659
|
} catch {
|
|
1662
1660
|
}
|
|
1663
|
-
var E =
|
|
1661
|
+
var E = Ae.call(e);
|
|
1664
1662
|
return h && (r ? e[ie] = i : delete e[ie]), E;
|
|
1665
1663
|
}
|
|
1666
|
-
function
|
|
1667
|
-
return typeof e.constructor == "function" && !
|
|
1664
|
+
function Ur(e) {
|
|
1665
|
+
return typeof e.constructor == "function" && !Zt(e) ? Me(Ce(e)) : {};
|
|
1668
1666
|
}
|
|
1669
|
-
function
|
|
1667
|
+
function Kt(e, r) {
|
|
1670
1668
|
var i = typeof e;
|
|
1671
|
-
return r = r ?? f, !!r && (i == "number" || i != "symbol" &&
|
|
1669
|
+
return r = r ?? f, !!r && (i == "number" || i != "symbol" && qe.test(e)) && e > -1 && e % 1 == 0 && e < r;
|
|
1672
1670
|
}
|
|
1673
|
-
function
|
|
1671
|
+
function Br(e, r, i) {
|
|
1674
1672
|
if (!be(i))
|
|
1675
1673
|
return !1;
|
|
1676
1674
|
var h = typeof r;
|
|
1677
|
-
return (h == "number" ? Ft(i) &&
|
|
1675
|
+
return (h == "number" ? Ft(i) && Kt(r, i.length) : h == "string" && r in i) ? lt(i[r], e) : !1;
|
|
1678
1676
|
}
|
|
1679
|
-
function
|
|
1677
|
+
function Gr(e) {
|
|
1680
1678
|
var r = typeof e;
|
|
1681
1679
|
return r == "string" || r == "number" || r == "symbol" || r == "boolean" ? e !== "__proto__" : e === null;
|
|
1682
1680
|
}
|
|
1683
|
-
function
|
|
1684
|
-
return !!
|
|
1681
|
+
function Vr(e) {
|
|
1682
|
+
return !!et && et in e;
|
|
1685
1683
|
}
|
|
1686
|
-
function
|
|
1684
|
+
function Zt(e) {
|
|
1687
1685
|
var r = e && e.constructor, i = typeof r == "function" && r.prototype || we;
|
|
1688
1686
|
return e === i;
|
|
1689
1687
|
}
|
|
1690
|
-
function
|
|
1688
|
+
function Xr(e) {
|
|
1691
1689
|
var r = [];
|
|
1692
1690
|
if (e != null)
|
|
1693
1691
|
for (var i in Object(e))
|
|
1694
1692
|
r.push(i);
|
|
1695
1693
|
return r;
|
|
1696
1694
|
}
|
|
1697
|
-
function
|
|
1698
|
-
return
|
|
1695
|
+
function qr(e) {
|
|
1696
|
+
return Ae.call(e);
|
|
1699
1697
|
}
|
|
1700
|
-
function
|
|
1701
|
-
return r =
|
|
1702
|
-
for (var h = arguments, E = -1, A =
|
|
1698
|
+
function Jr(e, r, i) {
|
|
1699
|
+
return r = nt(r === void 0 ? e.length - 1 : r, 0), function() {
|
|
1700
|
+
for (var h = arguments, E = -1, A = nt(h.length - r, 0), I = Array(A); ++E < A; )
|
|
1703
1701
|
I[E] = h[r + E];
|
|
1704
1702
|
E = -1;
|
|
1705
1703
|
for (var C = Array(r + 1); ++E < r; )
|
|
1706
1704
|
C[E] = h[E];
|
|
1707
|
-
return C[r] = i(I),
|
|
1705
|
+
return C[r] = i(I), Tt(e, this, C);
|
|
1708
1706
|
};
|
|
1709
1707
|
}
|
|
1710
1708
|
function Ht(e, r) {
|
|
1711
1709
|
if (!(r === "constructor" && typeof e[r] == "function") && r != "__proto__")
|
|
1712
1710
|
return e[r];
|
|
1713
1711
|
}
|
|
1714
|
-
var
|
|
1715
|
-
function
|
|
1712
|
+
var Kr = Zr(Hr);
|
|
1713
|
+
function Zr(e) {
|
|
1716
1714
|
var r = 0, i = 0;
|
|
1717
1715
|
return function() {
|
|
1718
|
-
var h =
|
|
1716
|
+
var h = He(), E = s - (h - i);
|
|
1719
1717
|
if (i = h, E > 0) {
|
|
1720
|
-
if (++r >=
|
|
1718
|
+
if (++r >= d)
|
|
1721
1719
|
return arguments[0];
|
|
1722
1720
|
} else
|
|
1723
1721
|
r = 0;
|
|
1724
1722
|
return e.apply(void 0, arguments);
|
|
1725
1723
|
};
|
|
1726
1724
|
}
|
|
1727
|
-
function
|
|
1725
|
+
function Qr(e) {
|
|
1728
1726
|
if (e != null) {
|
|
1729
1727
|
try {
|
|
1730
|
-
return
|
|
1728
|
+
return fe.call(e);
|
|
1731
1729
|
} catch {
|
|
1732
1730
|
}
|
|
1733
1731
|
try {
|
|
@@ -1737,84 +1735,84 @@ gt.exports;
|
|
|
1737
1735
|
}
|
|
1738
1736
|
return "";
|
|
1739
1737
|
}
|
|
1740
|
-
function
|
|
1738
|
+
function lt(e, r) {
|
|
1741
1739
|
return e === r || e !== e && r !== r;
|
|
1742
1740
|
}
|
|
1743
|
-
var Dt =
|
|
1741
|
+
var Dt = ct(/* @__PURE__ */ function() {
|
|
1744
1742
|
return arguments;
|
|
1745
|
-
}()) ?
|
|
1746
|
-
return
|
|
1743
|
+
}()) ? ct : function(e) {
|
|
1744
|
+
return Fe(e) && re.call(e, "callee") && !Et.call(e, "callee");
|
|
1747
1745
|
}, Mt = Array.isArray;
|
|
1748
1746
|
function Ft(e) {
|
|
1749
|
-
return e != null &&
|
|
1747
|
+
return e != null && er(e.length) && !Wt(e);
|
|
1750
1748
|
}
|
|
1751
|
-
function
|
|
1752
|
-
return
|
|
1749
|
+
function en(e) {
|
|
1750
|
+
return Fe(e) && Ft(e);
|
|
1753
1751
|
}
|
|
1754
|
-
var
|
|
1752
|
+
var Qt = St || an;
|
|
1755
1753
|
function Wt(e) {
|
|
1756
1754
|
if (!be(e))
|
|
1757
1755
|
return !1;
|
|
1758
|
-
var r =
|
|
1759
|
-
return r ==
|
|
1756
|
+
var r = de(e);
|
|
1757
|
+
return r == $ || r == M || r == _ || r == ae;
|
|
1760
1758
|
}
|
|
1761
|
-
function
|
|
1759
|
+
function er(e) {
|
|
1762
1760
|
return typeof e == "number" && e > -1 && e % 1 == 0 && e <= f;
|
|
1763
1761
|
}
|
|
1764
1762
|
function be(e) {
|
|
1765
1763
|
var r = typeof e;
|
|
1766
1764
|
return e != null && (r == "object" || r == "function");
|
|
1767
1765
|
}
|
|
1768
|
-
function
|
|
1766
|
+
function Fe(e) {
|
|
1769
1767
|
return e != null && typeof e == "object";
|
|
1770
1768
|
}
|
|
1771
|
-
function
|
|
1772
|
-
if (!
|
|
1769
|
+
function tn(e) {
|
|
1770
|
+
if (!Fe(e) || de(e) != j)
|
|
1773
1771
|
return !1;
|
|
1774
1772
|
var r = Ce(e);
|
|
1775
1773
|
if (r === null)
|
|
1776
1774
|
return !0;
|
|
1777
1775
|
var i = re.call(r, "constructor") && r.constructor;
|
|
1778
|
-
return typeof i == "function" && i instanceof i &&
|
|
1776
|
+
return typeof i == "function" && i instanceof i && fe.call(i) == tt;
|
|
1779
1777
|
}
|
|
1780
|
-
var
|
|
1781
|
-
function
|
|
1782
|
-
return
|
|
1778
|
+
var tr = Pe ? xe(Pe) : $r;
|
|
1779
|
+
function rn(e) {
|
|
1780
|
+
return Nr(e, rr(e));
|
|
1783
1781
|
}
|
|
1784
|
-
function
|
|
1785
|
-
return Ft(e) ? D(e) :
|
|
1782
|
+
function rr(e) {
|
|
1783
|
+
return Ft(e) ? D(e) : Ar(e);
|
|
1786
1784
|
}
|
|
1787
|
-
var
|
|
1788
|
-
|
|
1785
|
+
var nn = zr(function(e, r, i) {
|
|
1786
|
+
Jt(e, r, i);
|
|
1789
1787
|
});
|
|
1790
|
-
function
|
|
1788
|
+
function on(e) {
|
|
1791
1789
|
return function() {
|
|
1792
1790
|
return e;
|
|
1793
1791
|
};
|
|
1794
1792
|
}
|
|
1795
|
-
function
|
|
1793
|
+
function nr(e) {
|
|
1796
1794
|
return e;
|
|
1797
1795
|
}
|
|
1798
|
-
function
|
|
1796
|
+
function an() {
|
|
1799
1797
|
return !1;
|
|
1800
1798
|
}
|
|
1801
|
-
n.exports =
|
|
1802
|
-
})(
|
|
1803
|
-
var Qn =
|
|
1804
|
-
const eo = /* @__PURE__ */
|
|
1799
|
+
n.exports = nn;
|
|
1800
|
+
})(vt, vt.exports);
|
|
1801
|
+
var Qn = vt.exports;
|
|
1802
|
+
const eo = /* @__PURE__ */ Er(Qn), vo = ({
|
|
1805
1803
|
theme: n,
|
|
1806
1804
|
...o
|
|
1807
1805
|
}) => {
|
|
1808
|
-
const a = Vt(
|
|
1809
|
-
return /* @__PURE__ */
|
|
1806
|
+
const a = Vt(sn), u = Gt(() => eo(a, n), [a, n]);
|
|
1807
|
+
return /* @__PURE__ */ Y.jsx(vr, { theme: u, ...o });
|
|
1810
1808
|
};
|
|
1811
1809
|
export {
|
|
1812
|
-
|
|
1813
|
-
|
|
1810
|
+
yt as HoneyBox,
|
|
1811
|
+
qt as HoneyFlexBox,
|
|
1814
1812
|
io as HoneyGrid,
|
|
1815
1813
|
ao as HoneyGridColumn,
|
|
1816
|
-
|
|
1817
|
-
|
|
1814
|
+
wr as HoneyGridColumnStyled,
|
|
1815
|
+
Cr as HoneyGridContext,
|
|
1818
1816
|
po as HoneyLayoutProvider,
|
|
1819
1817
|
vo as HoneyLayoutThemeOverride,
|
|
1820
1818
|
lo as HoneyLazyContent,
|
|
@@ -1822,31 +1820,31 @@ export {
|
|
|
1822
1820
|
Jn as HoneyLoopingList,
|
|
1823
1821
|
fo as HoneyLoopingListExample,
|
|
1824
1822
|
qn as HoneyLoopingListItemStyled,
|
|
1825
|
-
|
|
1823
|
+
jr as HoneyLoopingListStyled,
|
|
1826
1824
|
Cn as HoneyStatusContent,
|
|
1827
|
-
|
|
1825
|
+
dt as applyBreakpointStyles,
|
|
1828
1826
|
xr as bpMedia,
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1827
|
+
fn as calculateEuclideanDistance,
|
|
1828
|
+
ar as calculateMovingSpeed,
|
|
1829
|
+
sr as calculatePercentage,
|
|
1830
|
+
cn as camelToDashCase,
|
|
1831
|
+
ln as convertHexToHexWithAlpha,
|
|
1832
|
+
Tr as createStyles,
|
|
1835
1833
|
no as filterFlattenedItems,
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1834
|
+
dn as flattenNestedList,
|
|
1835
|
+
Rr as getHoneyListItemId,
|
|
1836
|
+
br as getTransformationValues,
|
|
1837
|
+
ur as media,
|
|
1840
1838
|
kt as pxToRem,
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1839
|
+
ht as resolveColor,
|
|
1840
|
+
gn as resolveDimension,
|
|
1841
|
+
vn as resolveFont,
|
|
1842
|
+
cr as resolveScreenState,
|
|
1843
|
+
gt as resolveSpacing,
|
|
1846
1844
|
oo as searchFlattenedItems,
|
|
1847
|
-
|
|
1845
|
+
ir as splitStringIntoWords,
|
|
1848
1846
|
Sn as useCurrentHoneyGrid,
|
|
1849
|
-
|
|
1847
|
+
Or as useHoneyDrag,
|
|
1850
1848
|
uo as useHoneyInfiniteScroll,
|
|
1851
1849
|
ho as useHoneyLayout,
|
|
1852
1850
|
Xn as useHoneyMediaQuery,
|