@yourdash/uikit 0.1.11 → 0.1.13
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/index.mjs
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { jsx as s, jsxs as
|
1
|
+
import { jsx as s, jsxs as S, Fragment as G } from "react/jsx-runtime";
|
2
2
|
import * as Fe from "react";
|
3
|
-
import
|
4
|
-
import { useNavigate as Te, Outlet as
|
5
|
-
import './index.css';var
|
3
|
+
import O, { createContext as _e, useRef as M, useEffect as T, useContext as de, useState as I } from "react";
|
4
|
+
import { useNavigate as Te, Outlet as je } from "react-router";
|
5
|
+
import './index.css';var Q = { exports: {} }, ue = {};
|
6
6
|
/**
|
7
7
|
* @license React
|
8
8
|
* react-compiler-runtime.production.js
|
@@ -12,11 +12,11 @@ import './index.css';var Z = { exports: {} }, ue = {};
|
|
12
12
|
* This source code is licensed under the MIT license found in the
|
13
13
|
* LICENSE file in the root directory of this source tree.
|
14
14
|
*/
|
15
|
-
var
|
16
|
-
function
|
17
|
-
if (
|
18
|
-
|
19
|
-
var t =
|
15
|
+
var Ce;
|
16
|
+
function Ke() {
|
17
|
+
if (Ce) return ue;
|
18
|
+
Ce = 1;
|
19
|
+
var t = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
20
20
|
return ue.c = function(e) {
|
21
21
|
return t.H.useMemoCache(e);
|
22
22
|
}, ue;
|
@@ -31,38 +31,38 @@ var fe = {};
|
|
31
31
|
* This source code is licensed under the MIT license found in the
|
32
32
|
* LICENSE file in the root directory of this source tree.
|
33
33
|
*/
|
34
|
-
var
|
34
|
+
var ye;
|
35
35
|
function Ae() {
|
36
|
-
return
|
37
|
-
var t =
|
36
|
+
return ye || (ye = 1, process.env.NODE_ENV !== "production" && function() {
|
37
|
+
var t = O.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;
|
38
38
|
fe.c = function(e) {
|
39
|
-
var
|
40
|
-
return
|
39
|
+
var i = t.H;
|
40
|
+
return i === null && console.error(
|
41
41
|
`Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:
|
42
42
|
1. You might have mismatching versions of React and the renderer (such as React DOM)
|
43
43
|
2. You might be breaking the Rules of Hooks
|
44
44
|
3. You might have more than one copy of React in the same app
|
45
45
|
See https://react.dev/link/invalid-hook-call for tips about how to debug and fix this problem.`
|
46
|
-
),
|
46
|
+
), i.useMemoCache(e);
|
47
47
|
};
|
48
48
|
}()), fe;
|
49
49
|
}
|
50
|
-
var
|
50
|
+
var go = Q.exports, Ne;
|
51
51
|
function He() {
|
52
|
-
return Ne || (Ne = 1, process.env.NODE_ENV === "production" ?
|
52
|
+
return Ne || (Ne = 1, process.env.NODE_ENV === "production" ? Q.exports = Ke() : Q.exports = Ae()), Q.exports;
|
53
53
|
}
|
54
|
-
var
|
54
|
+
var C = He();
|
55
55
|
function Pe(t) {
|
56
|
-
var e,
|
56
|
+
var e, i, n = "";
|
57
57
|
if (typeof t == "string" || typeof t == "number") n += t;
|
58
58
|
else if (typeof t == "object") if (Array.isArray(t)) {
|
59
|
-
var
|
60
|
-
for (e = 0; e <
|
61
|
-
} else for (
|
59
|
+
var o = t.length;
|
60
|
+
for (e = 0; e < o; e++) t[e] && (i = Pe(t[e])) && (n && (n += " "), n += i);
|
61
|
+
} else for (i in t) t[i] && (n && (n += " "), n += i);
|
62
62
|
return n;
|
63
63
|
}
|
64
64
|
function ze() {
|
65
|
-
for (var t, e,
|
65
|
+
for (var t, e, i = 0, n = "", o = arguments.length; i < o; i++) (t = arguments[i]) && (e = Pe(t)) && (n && (n += " "), n += e);
|
66
66
|
return n;
|
67
67
|
}
|
68
68
|
function v(...t) {
|
@@ -72,77 +72,77 @@ function v(...t) {
|
|
72
72
|
const qe = "_component_kjav3_10", Ge = {
|
73
73
|
component: qe
|
74
74
|
}, ge = (t) => {
|
75
|
-
const e =
|
76
|
-
let
|
77
|
-
e[0] !== t.className ? (
|
75
|
+
const e = C.c(7);
|
76
|
+
let i;
|
77
|
+
e[0] !== t.className ? (i = v(Ge.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
78
78
|
let n;
|
79
|
-
return e[2] !== t.disabled || e[3] !== t.onClick || e[4] !== t.text || e[5] !==
|
80
|
-
},
|
79
|
+
return e[2] !== t.disabled || e[3] !== t.onClick || e[4] !== t.text || e[5] !== i ? (n = /* @__PURE__ */ s("button", { className: i, onClick: t.onClick, "aria-label": t.text, disabled: t.disabled, type: "button", children: t.text }), e[2] = t.disabled, e[3] = t.onClick, e[4] = t.text, e[5] = i, e[6] = n) : n = e[6], n;
|
80
|
+
}, De = _e({
|
81
81
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
82
82
|
createMenu: (t) => {
|
83
83
|
},
|
84
84
|
destroyMenu: () => {
|
85
85
|
}
|
86
|
-
}), Ye = "_component_p0do9_10", We = "_button_p0do9_29",
|
86
|
+
}), Ye = "_component_p0do9_10", We = "_button_p0do9_29", Le = {
|
87
87
|
component: Ye,
|
88
88
|
button: We
|
89
89
|
}, Ve = (t) => {
|
90
|
-
const e =
|
91
|
-
children:
|
90
|
+
const e = C.c(17), {
|
91
|
+
children: i
|
92
92
|
} = t;
|
93
93
|
let n;
|
94
94
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = {
|
95
95
|
x: 0,
|
96
96
|
y: 0
|
97
97
|
}, e[0] = n) : n = e[0];
|
98
|
-
const [
|
98
|
+
const [o, c] = O.useState(n), [r, l] = O.useState(!1);
|
99
99
|
let a;
|
100
100
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[1] = a) : a = e[1];
|
101
|
-
const [m, u] =
|
102
|
-
let
|
103
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
101
|
+
const [m, u] = O.useState(a), d = M(null);
|
102
|
+
let f, h;
|
103
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
|
104
104
|
window.addEventListener("resize", () => {
|
105
105
|
l(!1);
|
106
106
|
});
|
107
|
-
},
|
108
|
-
let
|
109
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
110
|
-
createMenu: (
|
111
|
-
var
|
107
|
+
}, h = [], e[2] = f, e[3] = h) : (f = e[2], h = e[3]), T(f, h);
|
108
|
+
let _;
|
109
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (_ = {
|
110
|
+
createMenu: ($) => {
|
111
|
+
var pe, be;
|
112
112
|
const {
|
113
|
-
x:
|
113
|
+
x: b,
|
114
114
|
y: N,
|
115
115
|
items: k
|
116
|
-
} =
|
117
|
-
let
|
118
|
-
|
119
|
-
x:
|
120
|
-
y:
|
116
|
+
} = $, R = window.innerWidth, B = window.innerHeight, H = ((pe = d.current) == null ? void 0 : pe.getBoundingClientRect().width) || 200, W = ((be = d.current) == null ? void 0 : be.getBoundingClientRect().height) || 200;
|
117
|
+
let V = b, X = N;
|
118
|
+
b + H >= R && (V = R - H), N + W >= B && (X = B - W), c({
|
119
|
+
x: V,
|
120
|
+
y: X
|
121
121
|
}), u(k), l(!0);
|
122
122
|
},
|
123
123
|
destroyMenu: () => {
|
124
124
|
l(!1);
|
125
125
|
}
|
126
|
-
}, e[4] =
|
127
|
-
const
|
128
|
-
let
|
129
|
-
e[5] !==
|
130
|
-
display:
|
131
|
-
left:
|
132
|
-
top:
|
133
|
-
}, e[5] =
|
126
|
+
}, e[4] = _) : _ = e[4];
|
127
|
+
const p = r ? "flex" : "none";
|
128
|
+
let g;
|
129
|
+
e[5] !== o.x || e[6] !== o.y || e[7] !== p ? (g = {
|
130
|
+
display: p,
|
131
|
+
left: o.x,
|
132
|
+
top: o.y
|
133
|
+
}, e[5] = o.x, e[6] = o.y, e[7] = p, e[8] = g) : g = e[8];
|
134
134
|
let y;
|
135
135
|
e[9] !== m ? (y = m.map(Xe), e[9] = m, e[10] = y) : y = e[10];
|
136
|
-
let w;
|
137
|
-
e[11] !== h || e[12] !== y ? (w = /* @__PURE__ */ s("div", { ref: d, style: h, className: De.component, children: y }), e[11] = h, e[12] = y, e[13] = w) : w = e[13];
|
138
136
|
let x;
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
137
|
+
e[11] !== g || e[12] !== y ? (x = /* @__PURE__ */ s("div", { ref: d, style: g, className: Le.component, children: y }), e[11] = g, e[12] = y, e[13] = x) : x = e[13];
|
138
|
+
let w;
|
139
|
+
return e[14] !== i || e[15] !== x ? (w = /* @__PURE__ */ S(De.Provider, { value: _, children: [
|
140
|
+
x,
|
141
|
+
i
|
142
|
+
] }), e[14] = i, e[15] = x, e[16] = w) : w = e[16], w;
|
143
143
|
};
|
144
144
|
function Xe(t) {
|
145
|
-
return /* @__PURE__ */ s(ge, { className:
|
145
|
+
return /* @__PURE__ */ s(ge, { className: Le.button, text: t.label, onClick: t.onClick }, t.label);
|
146
146
|
}
|
147
147
|
function Be() {
|
148
148
|
const t = window.navigator;
|
@@ -150,11 +150,11 @@ function Be() {
|
|
150
150
|
if (t != null && t.userAgentData)
|
151
151
|
return t.userAgentData.mobile || !1;
|
152
152
|
{
|
153
|
-
const
|
154
|
-
return navigator.userAgent.match(
|
153
|
+
const i = /Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i;
|
154
|
+
return navigator.userAgent.match(i) !== null;
|
155
155
|
}
|
156
156
|
}
|
157
|
-
const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2component_psvf3_22", et = "_h3component_psvf3_27", tt = "_h4component_psvf3_32", nt = "_h5component_psvf3_37", ot = "_h6component_psvf3_42",
|
157
|
+
const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2component_psvf3_22", et = "_h3component_psvf3_27", tt = "_h4component_psvf3_32", nt = "_h5component_psvf3_37", ot = "_h6component_psvf3_42", P = {
|
158
158
|
component: Ze,
|
159
159
|
h1component: Qe,
|
160
160
|
h2component: Je,
|
@@ -162,64 +162,64 @@ const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2compone
|
|
162
162
|
h4component: tt,
|
163
163
|
h5component: nt,
|
164
164
|
h6component: ot
|
165
|
-
}, it = "_theme_nrhjz_10", ct = "_level0_nrhjz_27", lt = "_level1_nrhjz_95", rt = "_level2_nrhjz_157", st = "_level3_nrhjz_221", at = "_mobile_nrhjz_284",
|
165
|
+
}, it = "_theme_nrhjz_10", ct = "_level0_nrhjz_27", lt = "_level1_nrhjz_95", rt = "_level2_nrhjz_157", st = "_level3_nrhjz_221", at = "_mobile_nrhjz_284", F = {
|
166
166
|
theme: it,
|
167
167
|
level0: ct,
|
168
168
|
level1: lt,
|
169
169
|
level2: rt,
|
170
170
|
level3: st,
|
171
171
|
mobile: at
|
172
|
-
}, oe = _e(0),
|
172
|
+
}, oe = _e(0), A = () => de(oe), Y = (t) => {
|
173
173
|
switch (t) {
|
174
174
|
case 0:
|
175
|
-
return
|
175
|
+
return F.level0;
|
176
176
|
case 1:
|
177
|
-
return
|
177
|
+
return F.level1;
|
178
178
|
case 2:
|
179
|
-
return
|
179
|
+
return F.level2;
|
180
180
|
case 3:
|
181
|
-
return
|
181
|
+
return F.level3;
|
182
182
|
default:
|
183
|
-
return
|
183
|
+
return F.level0;
|
184
184
|
}
|
185
185
|
}, ie = (t) => {
|
186
|
-
const e =
|
187
|
-
switch (t.level ||
|
186
|
+
const e = C.c(36), i = de(oe);
|
187
|
+
switch (t.level || i || 1) {
|
188
188
|
case 1: {
|
189
189
|
let n;
|
190
|
-
e[0] !== t.className ? (n = v(
|
191
|
-
let
|
192
|
-
return e[2] !== t.style || e[3] !== t.text || e[4] !== n ? (
|
190
|
+
e[0] !== t.className ? (n = v(P.component, P.h1component, t.className), e[0] = t.className, e[1] = n) : n = e[1];
|
191
|
+
let o;
|
192
|
+
return e[2] !== t.style || e[3] !== t.text || e[4] !== n ? (o = /* @__PURE__ */ s("h1", { className: n, style: t.style, children: t.text }), e[2] = t.style, e[3] = t.text, e[4] = n, e[5] = o) : o = e[5], o;
|
193
193
|
}
|
194
194
|
case 2: {
|
195
195
|
let n;
|
196
|
-
e[6] !== t.className ? (n = v(
|
197
|
-
let
|
198
|
-
return e[8] !== t.style || e[9] !== t.text || e[10] !== n ? (
|
196
|
+
e[6] !== t.className ? (n = v(P.component, P.h2component, t.className), e[6] = t.className, e[7] = n) : n = e[7];
|
197
|
+
let o;
|
198
|
+
return e[8] !== t.style || e[9] !== t.text || e[10] !== n ? (o = /* @__PURE__ */ s("h2", { className: n, style: t.style, children: t.text }), e[8] = t.style, e[9] = t.text, e[10] = n, e[11] = o) : o = e[11], o;
|
199
199
|
}
|
200
200
|
case 3: {
|
201
201
|
let n;
|
202
|
-
e[12] !== t.className ? (n = v(
|
203
|
-
let
|
204
|
-
return e[14] !== t.style || e[15] !== t.text || e[16] !== n ? (
|
202
|
+
e[12] !== t.className ? (n = v(P.component, P.h3component, t.className), e[12] = t.className, e[13] = n) : n = e[13];
|
203
|
+
let o;
|
204
|
+
return e[14] !== t.style || e[15] !== t.text || e[16] !== n ? (o = /* @__PURE__ */ s("h3", { className: n, style: t.style, children: t.text }), e[14] = t.style, e[15] = t.text, e[16] = n, e[17] = o) : o = e[17], o;
|
205
205
|
}
|
206
206
|
case 4: {
|
207
207
|
let n;
|
208
|
-
e[18] !== t.className ? (n = v(
|
209
|
-
let
|
210
|
-
return e[20] !== t.style || e[21] !== t.text || e[22] !== n ? (
|
208
|
+
e[18] !== t.className ? (n = v(P.component, P.h4component, t.className), e[18] = t.className, e[19] = n) : n = e[19];
|
209
|
+
let o;
|
210
|
+
return e[20] !== t.style || e[21] !== t.text || e[22] !== n ? (o = /* @__PURE__ */ s("h4", { className: n, style: t.style, children: t.text }), e[20] = t.style, e[21] = t.text, e[22] = n, e[23] = o) : o = e[23], o;
|
211
211
|
}
|
212
212
|
case 5: {
|
213
213
|
let n;
|
214
|
-
e[24] !== t.className ? (n = v(
|
215
|
-
let
|
216
|
-
return e[26] !== t.style || e[27] !== t.text || e[28] !== n ? (
|
214
|
+
e[24] !== t.className ? (n = v(P.component, P.h5component, t.className), e[24] = t.className, e[25] = n) : n = e[25];
|
215
|
+
let o;
|
216
|
+
return e[26] !== t.style || e[27] !== t.text || e[28] !== n ? (o = /* @__PURE__ */ s("h5", { className: n, style: t.style, children: t.text }), e[26] = t.style, e[27] = t.text, e[28] = n, e[29] = o) : o = e[29], o;
|
217
217
|
}
|
218
218
|
case 6: {
|
219
219
|
let n;
|
220
|
-
e[30] !== t.className ? (n = v(
|
221
|
-
let
|
222
|
-
return e[32] !== t.style || e[33] !== t.text || e[34] !== n ? (
|
220
|
+
e[30] !== t.className ? (n = v(P.component, P.h6component, t.className), e[30] = t.className, e[31] = n) : n = e[31];
|
221
|
+
let o;
|
222
|
+
return e[32] !== t.style || e[33] !== t.text || e[34] !== n ? (o = /* @__PURE__ */ s("h6", { className: n, style: t.style, children: t.text }), e[32] = t.style, e[33] = t.text, e[34] = n, e[35] = o) : o = e[35], o;
|
223
223
|
}
|
224
224
|
}
|
225
225
|
}, mt = "_component_w586s_10", dt = "_row_w586s_16", ut = "_disableMargin_w586s_22", ft = "_column_w586s_28", he = {
|
@@ -228,42 +228,42 @@ const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2compone
|
|
228
228
|
disableMargin: ut,
|
229
229
|
column: ft
|
230
230
|
}, me = (t) => {
|
231
|
-
const e =
|
232
|
-
let
|
233
|
-
e[0] !==
|
231
|
+
const e = C.c(5), i = he[t.direction], n = t.disableMargin && he.disableMargin;
|
232
|
+
let o;
|
233
|
+
e[0] !== i || e[1] !== n ? (o = v(he.component, i, n), e[0] = i, e[1] = n, e[2] = o) : o = e[2];
|
234
234
|
let c;
|
235
|
-
return e[3] !==
|
235
|
+
return e[3] !== o ? (c = /* @__PURE__ */ s("div", { className: o }), e[3] = o, e[4] = c) : c = e[4], c;
|
236
236
|
}, te = (t) => {
|
237
|
-
const e =
|
238
|
-
let
|
239
|
-
return e[0] !== t.children || e[1] !==
|
237
|
+
const e = C.c(3), n = A() + 1;
|
238
|
+
let o;
|
239
|
+
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */ s(oe.Provider, { value: n, children: t.children }), e[0] = t.children, e[1] = n, e[2] = o) : o = e[2], o;
|
240
240
|
}, ht = "_component_erxw3_10", _t = {
|
241
241
|
component: ht
|
242
|
-
},
|
243
|
-
const e = t.level ||
|
244
|
-
return /* @__PURE__ */ s("div", { className: v(_t.component, t.className,
|
245
|
-
}, gt = "_component_173cg_10", vt = "_clickable_173cg_25",
|
242
|
+
}, J = (t) => {
|
243
|
+
const e = t.level || A();
|
244
|
+
return /* @__PURE__ */ s("div", { className: v(_t.component, t.className, Y(e)), style: t.style, children: /* @__PURE__ */ s(te, { children: t.children }) });
|
245
|
+
}, gt = "_component_173cg_10", vt = "_clickable_173cg_25", pt = "_header_173cg_52", bt = "_actions_173cg_59", Ct = "_content_173cg_67", U = {
|
246
246
|
component: gt,
|
247
247
|
clickable: vt,
|
248
|
-
header:
|
249
|
-
actions:
|
250
|
-
content:
|
251
|
-
},
|
252
|
-
const e =
|
253
|
-
let
|
254
|
-
return e[0] !== t.children || e[1] !==
|
248
|
+
header: pt,
|
249
|
+
actions: bt,
|
250
|
+
content: Ct
|
251
|
+
}, yt = (t) => {
|
252
|
+
const e = C.c(3), n = A() - 1;
|
253
|
+
let o;
|
254
|
+
return e[0] !== t.children || e[1] !== n ? (o = /* @__PURE__ */ s(oe.Provider, { value: n, children: t.children }), e[0] = t.children, e[1] = n, e[2] = o) : o = e[2], o;
|
255
255
|
}, ce = (t) => {
|
256
|
-
const e = t.level ||
|
257
|
-
return t.onClick ? /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(te, { children: /* @__PURE__ */
|
258
|
-
t.header && /* @__PURE__ */ s(
|
259
|
-
/* @__PURE__ */ s("div", { className: v(
|
260
|
-
t.actions && /* @__PURE__ */ s(
|
261
|
-
] }) }) }) : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(te, { children: /* @__PURE__ */
|
262
|
-
t.header && /* @__PURE__ */ s(
|
263
|
-
/* @__PURE__ */ s("div", { className: v(
|
264
|
-
/* @__PURE__ */ s(
|
256
|
+
const e = t.level || A();
|
257
|
+
return t.onClick ? /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(te, { children: /* @__PURE__ */ S("button", { style: t.style, className: v(U.component, Y(e), t.containerClassName, U.clickable), onClick: t.onClick, children: [
|
258
|
+
t.header && /* @__PURE__ */ s(J, { className: v(U.header, t.headerClassName), children: t.header }),
|
259
|
+
/* @__PURE__ */ s("div", { className: v(U.content, t.className), children: t.children }),
|
260
|
+
t.actions && /* @__PURE__ */ s(J, { className: v(U.actions, t.actionsClassName), children: t.actions })
|
261
|
+
] }) }) }) : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(te, { children: /* @__PURE__ */ S("div", { style: t.style, className: v(U.component, Y(e), t.containerClassName), children: [
|
262
|
+
t.header && /* @__PURE__ */ s(J, { className: v(U.header, t.headerClassName), children: t.header }),
|
263
|
+
/* @__PURE__ */ s("div", { className: v(U.content, t.className), children: t.children }),
|
264
|
+
/* @__PURE__ */ s(yt, { children: t.actions && /* @__PURE__ */ s(J, { className: v(U.actions, t.actionsClassName), children: t.actions }) })
|
265
265
|
] }) }) });
|
266
|
-
},
|
266
|
+
}, j = {
|
267
267
|
Accessibility: () => import("./accessibility-16-uva4fZex.js"),
|
268
268
|
AccessibilityInset: () => import("./accessibility-inset-16-DWzB3IjG.js"),
|
269
269
|
Alert: () => import("./alert-16-DwAQwyBK.js"),
|
@@ -483,7 +483,7 @@ const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2compone
|
|
483
483
|
ScreenNormal: () => import("./screen-normal-16-BFiON6jh.js"),
|
484
484
|
Search: () => import("./search-16-d9YAifw3.js"),
|
485
485
|
Server: () => import("./server-16-PXkdGIz7.js"),
|
486
|
-
ServerError: () => Promise.resolve().then(() =>
|
486
|
+
ServerError: () => Promise.resolve().then(() => wt),
|
487
487
|
Share: () => import("./share-16-CeaKGzF6.js"),
|
488
488
|
ShareAndroid: () => import("./share-android-16-Y0jPvfBW.js"),
|
489
489
|
Shield: () => import("./shield-16-B9tadaQL.js"),
|
@@ -549,20 +549,20 @@ const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2compone
|
|
549
549
|
}, Nt = "_component_aplwx_6", xt = "_preserveColor_aplwx_20", xe = {
|
550
550
|
component: Nt,
|
551
551
|
preserveColor: xt
|
552
|
-
}, Ue = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2012C3.11929%2012%202%2010.8807%202%209.5C2%208.27003%202.88822%207.24752%204.05823%207.03891C4.0201%206.86534%204%206.68502%204%206.5C4%205.11929%205.11929%204%206.5%204C7.74358%204%208.77509%204.908%208.96772%206.09719C9.13314%206.03438%209.31255%206%209.5%206C10.1768%206%2010.7489%206.4482%2010.9356%207.06396C11.117%207.02212%2011.3059%207%2011.5%207C12.8807%207%2014%208.11929%2014%209.5C14%2010.8807%2012.8807%2012%2011.5%2012H4.5ZM7.56111%207.81633L7.68889%209.63946H8.31111L8.43889%207.81633V7H7.56111V7.81633ZM7.61111%2010.8966C7.68889%2010.9655%207.79074%2011%207.91667%2011H8.07778C8.20741%2011%208.30926%2010.9655%208.38333%2010.8966C8.46111%2010.8277%208.5%2010.7351%208.5%2010.619C8.5%2010.5029%208.46111%2010.4104%208.38333%2010.3415C8.30926%2010.2726%208.20926%2010.2381%208.08333%2010.2381H7.91667C7.79074%2010.2381%207.68889%2010.2726%207.61111%2010.3415C7.53704%2010.4104%207.5%2010.5029%207.5%2010.619C7.5%2010.7315%207.53704%2010.824%207.61111%2010.8966Z'%20fill='white'/%3e%3c/svg%3e",
|
552
|
+
}, Ue = "data:image/svg+xml,%3csvg%20width='16'%20height='16'%20viewBox='0%200%2016%2016'%20fill='none'%20xmlns='http://www.w3.org/2000/svg'%3e%3cpath%20fill-rule='evenodd'%20clip-rule='evenodd'%20d='M4.5%2012C3.11929%2012%202%2010.8807%202%209.5C2%208.27003%202.88822%207.24752%204.05823%207.03891C4.0201%206.86534%204%206.68502%204%206.5C4%205.11929%205.11929%204%206.5%204C7.74358%204%208.77509%204.908%208.96772%206.09719C9.13314%206.03438%209.31255%206%209.5%206C10.1768%206%2010.7489%206.4482%2010.9356%207.06396C11.117%207.02212%2011.3059%207%2011.5%207C12.8807%207%2014%208.11929%2014%209.5C14%2010.8807%2012.8807%2012%2011.5%2012H4.5ZM7.56111%207.81633L7.68889%209.63946H8.31111L8.43889%207.81633V7H7.56111V7.81633ZM7.61111%2010.8966C7.68889%2010.9655%207.79074%2011%207.91667%2011H8.07778C8.20741%2011%208.30926%2010.9655%208.38333%2010.8966C8.46111%2010.8277%208.5%2010.7351%208.5%2010.619C8.5%2010.5029%208.46111%2010.4104%208.38333%2010.3415C8.30926%2010.2726%208.20926%2010.2381%208.08333%2010.2381H7.91667C7.79074%2010.2381%207.68889%2010.2726%207.61111%2010.3415C7.53704%2010.4104%207.5%2010.5029%207.5%2010.619C7.5%2010.7315%207.53704%2010.824%207.61111%2010.8966Z'%20fill='white'/%3e%3c/svg%3e", wt = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
553
553
|
__proto__: null,
|
554
554
|
default: Ue
|
555
555
|
}, Symbol.toStringTag, { value: "Module" })), le = (t) => {
|
556
|
-
const e =
|
557
|
-
let
|
558
|
-
e[0] !== t ? (
|
556
|
+
const e = C.c(14), [i, n] = I(Ue);
|
557
|
+
let o;
|
558
|
+
e[0] !== t ? (o = () => {
|
559
559
|
typeof t.icon == "function" && t.icon().then((d) => {
|
560
560
|
n(d.default);
|
561
561
|
});
|
562
|
-
}, e[0] = t, e[1] =
|
562
|
+
}, e[0] = t, e[1] = o) : o = e[1];
|
563
563
|
let c;
|
564
|
-
e[2] !== t.icon ? (c = [t.icon], e[2] = t.icon, e[3] = c) : c = e[3],
|
565
|
-
const r = `${xe.component} ${t.className} ${t.preserveColor ? xe.preserveColor : ""}`, l = `url("${
|
564
|
+
e[2] !== t.icon ? (c = [t.icon], e[2] = t.icon, e[3] = c) : c = e[3], T(o, c);
|
565
|
+
const r = `${xe.component} ${t.className} ${t.preserveColor ? xe.preserveColor : ""}`, l = `url("${i}")`;
|
566
566
|
let a;
|
567
567
|
e[4] !== t.color || e[5] !== t.preserveColor ? (a = t.preserveColor ? {} : {
|
568
568
|
"--color": t.color
|
@@ -575,34 +575,34 @@ const Ze = "_component_psvf3_10", Qe = "_h1component_psvf3_17", Je = "_h2compone
|
|
575
575
|
}, e[7] = t.size, e[8] = l, e[9] = a, e[10] = m) : m = e[10];
|
576
576
|
let u;
|
577
577
|
return e[11] !== r || e[12] !== m ? (u = /* @__PURE__ */ s("div", { className: r, style: m }), e[11] = r, e[12] = m, e[13] = u) : u = e[13], u;
|
578
|
-
},
|
579
|
-
component:
|
578
|
+
}, kt = "_component_1g3hh_10", St = {
|
579
|
+
component: kt
|
580
580
|
}, ne = (t) => {
|
581
|
-
const e =
|
581
|
+
const e = C.c(11), i = t.style, n = t.onClick, o = t.accessibleLabel;
|
582
582
|
let c;
|
583
583
|
e[0] !== t.className ? (c = v(St.component, t.className), e[0] = t.className, e[1] = c) : c = e[1];
|
584
584
|
let r;
|
585
585
|
e[2] !== t.icon || e[3] !== t.preserveColor ? (r = /* @__PURE__ */ s(le, { size: "1.25rem", preserveColor: t.preserveColor, icon: t.icon }), e[2] = t.icon, e[3] = t.preserveColor, e[4] = r) : r = e[4];
|
586
586
|
let l;
|
587
|
-
return e[5] !== t.accessibleLabel || e[6] !== t.onClick || e[7] !== t.style || e[8] !== c || e[9] !== r ? (l = /* @__PURE__ */ s("button", { style:
|
587
|
+
return e[5] !== t.accessibleLabel || e[6] !== t.onClick || e[7] !== t.style || e[8] !== c || e[9] !== r ? (l = /* @__PURE__ */ s("button", { style: i, onClick: n, "aria-label": o, className: c, children: r }), e[5] = t.accessibleLabel, e[6] = t.onClick, e[7] = t.style, e[8] = c, e[9] = r, e[10] = l) : l = e[10], l;
|
588
588
|
}, $t = "_component_125pe_10", It = {
|
589
589
|
component: $t
|
590
590
|
}, q = (t) => {
|
591
|
-
const e =
|
592
|
-
let
|
593
|
-
e[0] !== t.className ? (
|
591
|
+
const e = C.c(5);
|
592
|
+
let i;
|
593
|
+
e[0] !== t.className ? (i = v(It.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
594
594
|
let n;
|
595
|
-
return e[2] !== t.text || e[3] !==
|
596
|
-
}, Ee =
|
595
|
+
return e[2] !== t.text || e[3] !== i ? (n = /* @__PURE__ */ s("div", { className: i, children: t.text }), e[2] = t.text, e[3] = i, e[4] = n) : n = e[4], n;
|
596
|
+
}, Ee = O.createContext({
|
597
597
|
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
598
598
|
showToast: (t) => {
|
599
599
|
}
|
600
|
-
}), Rt = "_container_1wk2b_6", Tt = "_component_1wk2b_20", Pt = "_cardContent_1wk2b_34",
|
600
|
+
}), Rt = "_container_1wk2b_6", Tt = "_component_1wk2b_20", Pt = "_cardContent_1wk2b_34", Dt = "_success_1wk2b_42", Lt = "_error_1wk2b_46", Bt = "_warning_1wk2b_50", Ut = "_info_1wk2b_54", Et = "_heading_1wk2b_58", Ot = "_pointerEvents_1wk2b_64", K = {
|
601
601
|
container: Rt,
|
602
602
|
component: Tt,
|
603
603
|
cardContent: Pt,
|
604
|
-
success:
|
605
|
-
error:
|
604
|
+
success: Dt,
|
605
|
+
error: Lt,
|
606
606
|
warning: Bt,
|
607
607
|
info: Ut,
|
608
608
|
heading: Et,
|
@@ -614,124 +614,124 @@ function Oe() {
|
|
614
614
|
return (t == "x" ? e : e & 3 | 8).toString(16);
|
615
615
|
});
|
616
616
|
}
|
617
|
-
const
|
618
|
-
const e =
|
619
|
-
children:
|
617
|
+
const we = 5e3, Mt = (t) => {
|
618
|
+
const e = C.c(10), {
|
619
|
+
children: i
|
620
620
|
} = t;
|
621
621
|
let n;
|
622
622
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (n = [], e[0] = n) : n = e[0];
|
623
|
-
const [
|
623
|
+
const [o, c] = I(n);
|
624
624
|
let r;
|
625
625
|
e[1] === Symbol.for("react.memo_cache_sentinel") ? (r = {
|
626
626
|
showToast: (u) => {
|
627
627
|
const d = Oe();
|
628
|
-
c((
|
628
|
+
c((f) => [...f, {
|
629
629
|
...u,
|
630
630
|
uuid: d,
|
631
631
|
animatingOut: !1
|
632
632
|
}]), u.persist || (setTimeout(() => {
|
633
|
-
c((
|
634
|
-
...
|
633
|
+
c((f) => f.map((h) => d === h.uuid ? {
|
634
|
+
...h,
|
635
635
|
animatingOut: !0
|
636
|
-
} :
|
637
|
-
},
|
638
|
-
c((
|
639
|
-
},
|
636
|
+
} : h));
|
637
|
+
}, we - 500), setTimeout(() => {
|
638
|
+
c((f) => f.filter((h) => h.uuid !== d));
|
639
|
+
}, we));
|
640
640
|
}
|
641
641
|
}, e[1] = r) : r = e[1];
|
642
642
|
let l;
|
643
|
-
if (e[2] !==
|
643
|
+
if (e[2] !== o) {
|
644
644
|
let u;
|
645
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (u = (d) => /* @__PURE__ */
|
646
|
-
/* @__PURE__ */ s(ie, { className:
|
645
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (u = (d) => /* @__PURE__ */ S(ce, { actions: d.persist ? /* @__PURE__ */ s(ne, { accessibleLabel: "Close toasts", icon: j.X, onClick: () => c((f) => f.filter((h) => h.uuid !== d.uuid)) }) : null, className: v(K.cardContent, d.type && K[d.type]), containerClassName: v(K.component, d.persist && K.pointerEvents, d.animatingOut ? "animate__animated animate__fadeOutRightBig" : "animate__animated animate__fadeInDown"), children: [
|
646
|
+
/* @__PURE__ */ s(ie, { className: K.heading, level: 3, text: d.content.title }),
|
647
647
|
/* @__PURE__ */ s(me, { direction: "column" }),
|
648
|
-
/* @__PURE__ */ s(q, { className:
|
649
|
-
] }, d.uuid), e[4] = u) : u = e[4], l =
|
648
|
+
/* @__PURE__ */ s(q, { className: K.body, text: d.content.body })
|
649
|
+
] }, d.uuid), e[4] = u) : u = e[4], l = o.map(u), e[2] = o, e[3] = l;
|
650
650
|
} else
|
651
651
|
l = e[3];
|
652
652
|
let a;
|
653
|
-
e[5] !== l ? (a = /* @__PURE__ */ s("div", { className:
|
653
|
+
e[5] !== l ? (a = /* @__PURE__ */ s("div", { className: K.container, children: l }), e[5] = l, e[6] = a) : a = e[6];
|
654
654
|
let m;
|
655
|
-
return e[7] !==
|
655
|
+
return e[7] !== i || e[8] !== a ? (m = /* @__PURE__ */ S(Ee.Provider, { value: r, children: [
|
656
656
|
a,
|
657
|
-
|
658
|
-
] }), e[7] =
|
659
|
-
},
|
660
|
-
const e =
|
661
|
-
let
|
662
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
657
|
+
i
|
658
|
+
] }), e[7] = i, e[8] = a, e[9] = m) : m = e[9], m;
|
659
|
+
}, vo = (t) => {
|
660
|
+
const e = C.c(3);
|
661
|
+
let i;
|
662
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = v(F.theme, F.level0, Be() && F.mobile), e[0] = i) : i = e[0];
|
663
663
|
let n;
|
664
|
-
return e[1] !== t.children ? (n = /* @__PURE__ */ s("div", { className:
|
664
|
+
return e[1] !== t.children ? (n = /* @__PURE__ */ s("div", { className: i, children: /* @__PURE__ */ s(Ve, { children: /* @__PURE__ */ s(Mt, { children: /* @__PURE__ */ s(oe.Provider, { value: 0, children: t.children }) }) }) }), e[1] = t.children, e[2] = n) : n = e[2], n;
|
665
665
|
};
|
666
|
-
function
|
667
|
-
const t =
|
668
|
-
let
|
669
|
-
return t[0] !== e ? (
|
666
|
+
function po() {
|
667
|
+
const t = C.c(2), e = O.useContext(Ee);
|
668
|
+
let i;
|
669
|
+
return t[0] !== e ? (i = {
|
670
670
|
create(n) {
|
671
671
|
e.showToast(n);
|
672
672
|
}
|
673
|
-
}, t[0] = e, t[1] =
|
673
|
+
}, t[0] = e, t[1] = i) : i = t[1], i;
|
674
674
|
}
|
675
675
|
function Ft(t) {
|
676
676
|
return t * parseFloat(getComputedStyle(document.documentElement).fontSize);
|
677
677
|
}
|
678
|
-
const
|
678
|
+
const bo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
679
679
|
__proto__: null,
|
680
680
|
clippy: v,
|
681
681
|
generateUUID: Oe,
|
682
682
|
isPhone: Be,
|
683
683
|
remToPx: Ft
|
684
|
-
}, Symbol.toStringTag, { value: "Module" })),
|
685
|
-
component:
|
686
|
-
},
|
687
|
-
const e =
|
688
|
-
children:
|
684
|
+
}, Symbol.toStringTag, { value: "Module" })), jt = "_component_7kjva_6", Kt = {
|
685
|
+
component: jt
|
686
|
+
}, Co = (t) => {
|
687
|
+
const e = C.c(5), {
|
688
|
+
children: i,
|
689
689
|
className: n
|
690
690
|
} = t;
|
691
|
-
let
|
692
|
-
e[0] !== n ? (
|
691
|
+
let o;
|
692
|
+
e[0] !== n ? (o = v(Kt.component, n), e[0] = n, e[1] = o) : o = e[1];
|
693
693
|
let c;
|
694
|
-
return e[2] !==
|
694
|
+
return e[2] !== i || e[3] !== o ? (c = /* @__PURE__ */ s("div", { className: o, children: i }), e[2] = i, e[3] = o, e[4] = c) : c = e[4], c;
|
695
695
|
}, At = "_component_gvwt1_10", Ht = "_link_gvwt1_45", zt = {
|
696
696
|
component: At,
|
697
697
|
link: Ht
|
698
|
-
},
|
699
|
-
const e =
|
698
|
+
}, yo = (t) => {
|
699
|
+
const e = C.c(9), i = Te();
|
700
700
|
let n;
|
701
|
-
e[0] !==
|
702
|
-
const
|
701
|
+
e[0] !== i || e[1] !== t.to ? (n = () => (i(t.to), 0), e[0] = i, e[1] = t.to, e[2] = n) : n = e[2];
|
702
|
+
const o = t.text;
|
703
703
|
let c;
|
704
704
|
e[3] !== t.className ? (c = v(zt.component, t.className), e[3] = t.className, e[4] = c) : c = e[4];
|
705
705
|
let r;
|
706
|
-
return e[5] !== t.text || e[6] !== n || e[7] !== c ? (r = /* @__PURE__ */ s(ge, { onClick: n, text:
|
707
|
-
}, qt = "_component_11sed_10", Gt = "_icon_11sed_49",
|
706
|
+
return e[5] !== t.text || e[6] !== n || e[7] !== c ? (r = /* @__PURE__ */ s(ge, { onClick: n, text: o, className: c }), e[5] = t.text, e[6] = n, e[7] = c, e[8] = r) : r = e[8], r;
|
707
|
+
}, qt = "_component_11sed_10", Gt = "_icon_11sed_49", ke = {
|
708
708
|
component: qt,
|
709
709
|
icon: Gt
|
710
710
|
}, Yt = (t) => {
|
711
|
-
const e =
|
712
|
-
let o;
|
713
|
-
e[0] !== t.className ? (o = v(we.component, t.className), e[0] = t.className, e[1] = o) : o = e[1];
|
714
|
-
let n;
|
715
|
-
e[2] !== t.icon ? (n = /* @__PURE__ */ s(le, { size: "1.25rem", className: we.icon, icon: t.icon }), e[2] = t.icon, e[3] = n) : n = e[3];
|
711
|
+
const e = C.c(10);
|
716
712
|
let i;
|
717
|
-
|
713
|
+
e[0] !== t.className ? (i = v(ke.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
714
|
+
let n;
|
715
|
+
e[2] !== t.icon ? (n = /* @__PURE__ */ s(le, { size: "1.25rem", className: ke.icon, icon: t.icon }), e[2] = t.icon, e[3] = n) : n = e[3];
|
716
|
+
let o;
|
717
|
+
return e[4] !== t.disabled || e[5] !== t.onClick || e[6] !== t.text || e[7] !== i || e[8] !== n ? (o = /* @__PURE__ */ S("button", { className: i, onClick: t.onClick, "aria-label": t.text, disabled: t.disabled, children: [
|
718
718
|
n,
|
719
719
|
t.text
|
720
|
-
] }), e[4] = t.disabled, e[5] = t.onClick, e[6] = t.text, e[7] =
|
720
|
+
] }), e[4] = t.disabled, e[5] = t.onClick, e[6] = t.text, e[7] = i, e[8] = n, e[9] = o) : o = e[9], o;
|
721
721
|
}, Wt = "_component_194wg_10", Vt = "_disableRounding_194wg_23", Se = {
|
722
722
|
component: Wt,
|
723
723
|
disableRounding: Vt
|
724
724
|
}, Xt = (t) => {
|
725
|
-
const e = t.level ||
|
726
|
-
return /* @__PURE__ */ s("div", { className: v(Se.component, t.className, t.disableRounding && Se.disableRounding,
|
727
|
-
},
|
728
|
-
const e =
|
729
|
-
items:
|
725
|
+
const e = t.level || A();
|
726
|
+
return /* @__PURE__ */ s("div", { className: v(Se.component, t.className, t.disableRounding && Se.disableRounding, Y(e)), style: t.style, children: /* @__PURE__ */ s(te, { children: t.children }) });
|
727
|
+
}, No = (t) => {
|
728
|
+
const e = C.c(4), {
|
729
|
+
items: i,
|
730
730
|
children: n,
|
731
|
-
className:
|
731
|
+
className: o
|
732
732
|
} = t;
|
733
733
|
let c;
|
734
|
-
return e[0] !== n || e[1] !==
|
734
|
+
return e[0] !== n || e[1] !== o || e[2] !== i ? (c = /* @__PURE__ */ s(De.Consumer, { children: (r) => /* @__PURE__ */ s("div", { className: o, onContextMenu: (l) => {
|
735
735
|
l.stopPropagation(), l.preventDefault();
|
736
736
|
const a = l.currentTarget.getBoundingClientRect();
|
737
737
|
r.createMenu({
|
@@ -739,27 +739,27 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
739
739
|
y: l.pageY,
|
740
740
|
width: a.width,
|
741
741
|
height: a.height,
|
742
|
-
items:
|
742
|
+
items: i
|
743
743
|
});
|
744
744
|
const m = (u) => {
|
745
745
|
u.preventDefault(), r.destroyMenu(), window.removeEventListener("click", m), window.removeEventListener("contextmenu", m);
|
746
746
|
};
|
747
747
|
window.addEventListener("click", m), window.addEventListener("contextmenu", m);
|
748
|
-
}, children: n }) }), e[0] = n, e[1] =
|
749
|
-
}, Zt = "_component_eathd_10", Qt = "_row_eathd_15", Jt = "_column_eathd_19", en = "_centerHorizontally_eathd_23", tn = "_centerVertically_eathd_27", nn = "_padding_eathd_31",
|
748
|
+
}, children: n }) }), e[0] = n, e[1] = o, e[2] = i, e[3] = c) : c = e[3], c;
|
749
|
+
}, Zt = "_component_eathd_10", Qt = "_row_eathd_15", Jt = "_column_eathd_19", en = "_centerHorizontally_eathd_23", tn = "_centerVertically_eathd_27", nn = "_padding_eathd_31", Z = {
|
750
750
|
component: Zt,
|
751
751
|
row: Qt,
|
752
752
|
column: Jt,
|
753
753
|
centerHorizontally: en,
|
754
754
|
centerVertically: tn,
|
755
755
|
padding: nn
|
756
|
-
},
|
757
|
-
const e =
|
756
|
+
}, ee = (t) => {
|
757
|
+
const e = C.c(11), i = t.ref, n = t.style, o = Z[t.direction], c = t.centerHorizontally && Z.centerHorizontally, r = t.centerVertically && Z.centerVertically, l = t.padding && Z.padding;
|
758
758
|
let a;
|
759
|
-
e[0] !== t.className || e[1] !==
|
759
|
+
e[0] !== t.className || e[1] !== o || e[2] !== c || e[3] !== r || e[4] !== l ? (a = v(Z.component, o, t.className, c, r, l), e[0] = t.className, e[1] = o, e[2] = c, e[3] = r, e[4] = l, e[5] = a) : a = e[5];
|
760
760
|
let m;
|
761
|
-
return e[6] !== t.children || e[7] !== t.ref || e[8] !== t.style || e[9] !== a ? (m = /* @__PURE__ */ s("div", { ref:
|
762
|
-
}, on = "
|
761
|
+
return e[6] !== t.children || e[7] !== t.ref || e[8] !== t.style || e[9] !== a ? (m = /* @__PURE__ */ s("div", { ref: i, style: n, className: a, children: t.children }), e[6] = t.children, e[7] = t.ref, e[8] = t.style, e[9] = a, e[10] = m) : m = e[10], m;
|
762
|
+
}, on = "_componentContainer_wla6j_10", cn = "_component_wla6j_10", ln = "_noRounding_wla6j_27", rn = "_loaded_wla6j_31", sn = "_loading_wla6j_44", an = "_serverError_wla6j_52", mn = "_fail_wla6j_1", z = {
|
763
763
|
componentContainer: on,
|
764
764
|
component: cn,
|
765
765
|
noRounding: ln,
|
@@ -768,223 +768,199 @@ const yo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
768
768
|
serverError: an,
|
769
769
|
fail: mn
|
770
770
|
}, Me = (t) => {
|
771
|
-
const e =
|
772
|
-
|
773
|
-
|
774
|
-
|
775
|
-
|
776
|
-
|
777
|
-
u(E.height > E.width ? E.height : E.width);
|
771
|
+
const e = M(null), i = A(), [n, o] = I(t.src), [c, r] = I(!1), [l, a] = I(!1), [m, u] = I(0), d = M(0);
|
772
|
+
return T(() => {
|
773
|
+
const f = e.current;
|
774
|
+
f && setTimeout(() => {
|
775
|
+
const h = f.getBoundingClientRect();
|
776
|
+
u(h.height > h.width ? h.height : h.width);
|
778
777
|
}, 20);
|
779
|
-
},
|
780
|
-
let _;
|
781
|
-
e[1] !== n ? (_ = [n], e[1] = n, e[2] = _) : _ = e[2], P(b, _);
|
782
|
-
let f;
|
783
|
-
e[3] === Symbol.for("react.memo_cache_sentinel") ? (f = () => {
|
778
|
+
}, [n]), T(() => {
|
784
779
|
a(!1), r(!1);
|
785
|
-
},
|
786
|
-
|
787
|
-
|
788
|
-
|
789
|
-
|
790
|
-
t.src !== n && i(t.src);
|
791
|
-
}, e[6] = t.src, e[7] = n, e[8] = h) : h = e[8];
|
792
|
-
let y;
|
793
|
-
e[9] !== t.src ? (y = [t.src], e[9] = t.src, e[10] = y) : y = e[10], P(h, y);
|
794
|
-
const w = t.onClick, x = !c && z.loading, S = l && z.serverError;
|
795
|
-
let g;
|
796
|
-
e[11] !== t.containerClassName || e[12] !== x || e[13] !== S ? (g = v(z.componentContainer, t.containerClassName, x, S), e[11] = t.containerClassName, e[12] = x, e[13] = S, e[14] = g) : g = e[14];
|
797
|
-
const N = m + "px";
|
798
|
-
let k;
|
799
|
-
e[15] !== t.style || e[16] !== N ? (k = {
|
800
|
-
"--background-size": N,
|
780
|
+
}, [n]), T(() => {
|
781
|
+
t.src !== n && o(t.src);
|
782
|
+
}, [t.src]), /* @__PURE__ */ s("div", { "data-src": n, ref: e, onClick: t.onClick, className: v(z.componentContainer, t.containerClassName, !c && z.loading, l && z.serverError), style: {
|
783
|
+
// @ts-ignore
|
784
|
+
"--background-size": m + "px",
|
801
785
|
...t.style
|
802
|
-
},
|
803
|
-
|
804
|
-
|
805
|
-
a(!0), d.current = d.current + 1, setTimeout(() => {
|
806
|
-
d.current && d.current <= 3 && i(dn);
|
786
|
+
}, children: l ? /* @__PURE__ */ s(le, { icon: j.ServerError }) : /* @__PURE__ */ s("img", { className: v(z.component, Y(i), t.className, c && z.loaded, t.noRounding && z.noRounding), draggable: !1, width: t.width, height: t.height, onError: () => {
|
787
|
+
a(!0), d.current++, setTimeout(() => {
|
788
|
+
d.current && d.current <= 3 && o((f) => f.includes("?refresh=") ? f.slice(0, f.indexOf("?refresh=")) + "?refresh=" + Date.now() : `${f}?refresh=${Date.now()}`);
|
807
789
|
}, 500);
|
808
|
-
}, loading: t.disableLazyLoading ? "eager" : "lazy", alt: t.accessibleLabel, onLoad: (
|
809
|
-
r(
|
790
|
+
}, loading: t.disableLazyLoading ? "eager" : "lazy", alt: t.accessibleLabel, onLoad: (f) => {
|
791
|
+
r(f.currentTarget.complete), d.current = 0;
|
810
792
|
}, onLoadStart: () => {
|
811
793
|
r(!1);
|
812
|
-
}, src: n ?? "/assets/branding/yourdash256.png" })
|
813
|
-
|
814
|
-
|
815
|
-
}
|
816
|
-
|
817
|
-
return t.includes("?refresh=") ? t.slice(0, t.indexOf("?refresh=")) + "?refresh=" + Date.now() : `${t}?refresh=${Date.now()}`;
|
818
|
-
}
|
819
|
-
const un = "_component_7iu6s_10", $e = {
|
820
|
-
component: un
|
821
|
-
}, ko = (t) => {
|
822
|
-
const e = p.c(9), o = t.to;
|
794
|
+
}, src: n ?? "/assets/branding/yourdash256.png" }) });
|
795
|
+
}, dn = "_component_7iu6s_10", $e = {
|
796
|
+
component: dn
|
797
|
+
}, xo = (t) => {
|
798
|
+
const e = C.c(9), i = t.to;
|
823
799
|
let n;
|
824
800
|
e[0] !== t.className ? (n = v($e.component, t.className), e[0] = t.className, e[1] = n) : n = e[1];
|
825
|
-
let
|
826
|
-
e[2] !== t.hideLinkIcon ? (
|
801
|
+
let o;
|
802
|
+
e[2] !== t.hideLinkIcon ? (o = !t.hideLinkIcon && /* @__PURE__ */ s(le, { icon: j.Link, className: $e.icon }), e[2] = t.hideLinkIcon, e[3] = o) : o = e[3];
|
827
803
|
let c;
|
828
|
-
return e[4] !== t.text || e[5] !== t.to || e[6] !== n || e[7] !==
|
804
|
+
return e[4] !== t.text || e[5] !== t.to || e[6] !== n || e[7] !== o ? (c = /* @__PURE__ */ S("a", { href: i, className: n, children: [
|
829
805
|
t.text,
|
830
|
-
|
831
|
-
] }), e[4] = t.text, e[5] = t.to, e[6] = n, e[7] =
|
806
|
+
o
|
807
|
+
] }), e[4] = t.text, e[5] = t.to, e[6] = n, e[7] = o, e[8] = c) : c = e[8], c;
|
832
808
|
}, wo = (t) => {
|
833
|
-
const e =
|
834
|
-
maxValue:
|
809
|
+
const e = C.c(7), {
|
810
|
+
maxValue: i,
|
835
811
|
value: n,
|
836
|
-
className:
|
812
|
+
className: o,
|
837
813
|
indeterminate: c
|
838
814
|
} = t;
|
839
815
|
let r;
|
840
|
-
e[0] !==
|
816
|
+
e[0] !== o || e[1] !== i || e[2] !== n ? (r = /* @__PURE__ */ s("progress", { max: i, value: n, className: o }), e[0] = o, e[1] = i, e[2] = n, e[3] = r) : r = e[3];
|
841
817
|
const l = c && "This should be indeterminate";
|
842
818
|
let a;
|
843
|
-
return e[4] !== r || e[5] !== l ? (a = /* @__PURE__ */
|
819
|
+
return e[4] !== r || e[5] !== l ? (a = /* @__PURE__ */ S(G, { children: [
|
844
820
|
r,
|
845
821
|
l
|
846
822
|
] }), e[4] = r, e[5] = l, e[6] = a) : a = e[6], a;
|
847
|
-
},
|
848
|
-
const e =
|
849
|
-
t.to !== null &&
|
823
|
+
}, ko = (t) => {
|
824
|
+
const e = C.c(2), i = Te();
|
825
|
+
t.to !== null && i(t.to);
|
850
826
|
const n = `Redirecting to ${t.to}`;
|
851
|
-
let
|
852
|
-
return e[0] !== n ? (
|
853
|
-
},
|
854
|
-
component:
|
855
|
-
container:
|
856
|
-
infiniteSpin:
|
857
|
-
spinnerBack:
|
858
|
-
spinnerBorder:
|
859
|
-
spinnerCutoutContainer:
|
860
|
-
spinnerCutout:
|
861
|
-
spinnerCutoutOne:
|
862
|
-
spinnerCutoutTwo:
|
863
|
-
},
|
864
|
-
const e =
|
865
|
-
let
|
866
|
-
e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
867
|
-
let
|
868
|
-
e[2] === Symbol.for("react.memo_cache_sentinel") ? (
|
869
|
-
|
827
|
+
let o;
|
828
|
+
return e[0] !== n ? (o = /* @__PURE__ */ s(ce, { children: /* @__PURE__ */ s(q, { text: n }) }), e[0] = n, e[1] = o) : o = e[1], o;
|
829
|
+
}, un = "_component_7t5t1_6", fn = "_container_7t5t1_17", hn = "_infiniteSpin_7t5t1_1", _n = "_spinnerBack_7t5t1_26", gn = "_spinnerBorder_7t5t1_37", vn = "_spinnerCutoutContainer_7t5t1_48", pn = "_spinnerCutout_7t5t1_48", bn = "_spinnerCutoutOne_7t5t1_65", Cn = "_spinnerCutoutTwo_7t5t1_70", E = {
|
830
|
+
component: un,
|
831
|
+
container: fn,
|
832
|
+
infiniteSpin: hn,
|
833
|
+
spinnerBack: _n,
|
834
|
+
spinnerBorder: gn,
|
835
|
+
spinnerCutoutContainer: vn,
|
836
|
+
spinnerCutout: pn,
|
837
|
+
spinnerCutoutOne: bn,
|
838
|
+
spinnerCutoutTwo: Cn
|
839
|
+
}, So = (t) => {
|
840
|
+
const e = C.c(5);
|
841
|
+
let i, n;
|
842
|
+
e[0] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ s("div", { className: E.spinnerBorder }), n = /* @__PURE__ */ s("div", { className: E.spinnerBack }), e[0] = i, e[1] = n) : (i = e[0], n = e[1]);
|
843
|
+
let o;
|
844
|
+
e[2] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ S("section", { className: E.container, children: [
|
845
|
+
i,
|
870
846
|
n,
|
871
|
-
/* @__PURE__ */
|
872
|
-
/* @__PURE__ */ s("div", { className: v(
|
873
|
-
/* @__PURE__ */ s("div", { className: v(
|
847
|
+
/* @__PURE__ */ S("div", { className: E.spinnerCutoutContainer, children: [
|
848
|
+
/* @__PURE__ */ s("div", { className: v(E.spinnerCutoutOne, E.spinnerCutout) }),
|
849
|
+
/* @__PURE__ */ s("div", { className: v(E.spinnerCutoutTwo, E.spinnerCutout) })
|
874
850
|
] })
|
875
|
-
] }), e[2] =
|
851
|
+
] }), e[2] = o) : o = e[2];
|
876
852
|
let c;
|
877
|
-
return e[3] !== t.style ? (c = /* @__PURE__ */ s("div", { className:
|
878
|
-
},
|
879
|
-
component:
|
880
|
-
levelDefault:
|
881
|
-
},
|
882
|
-
const e =
|
883
|
-
let
|
884
|
-
e[0] !== t.className ? (
|
853
|
+
return e[3] !== t.style ? (c = /* @__PURE__ */ s("div", { className: E.component, style: t.style, children: o }), e[3] = t.style, e[4] = c) : c = e[4], c;
|
854
|
+
}, yn = "_component_1drme_10", Nn = "_levelDefault_1drme_15", xn = {
|
855
|
+
component: yn,
|
856
|
+
levelDefault: Nn
|
857
|
+
}, $o = (t) => {
|
858
|
+
const e = C.c(5);
|
859
|
+
let i;
|
860
|
+
e[0] !== t.className ? (i = v(xn.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
885
861
|
let n;
|
886
|
-
return e[2] !== t.text || e[3] !==
|
887
|
-
}, wn = "_component_125pe_10",
|
862
|
+
return e[2] !== t.text || e[3] !== i ? (n = /* @__PURE__ */ s("div", { className: i, children: t.text }), e[2] = t.text, e[3] = i, e[4] = n) : n = e[4], n;
|
863
|
+
}, wn = "_component_125pe_10", kn = {
|
888
864
|
component: wn
|
889
|
-
},
|
890
|
-
const e =
|
891
|
-
let
|
892
|
-
e[0] !== t.className ? (
|
865
|
+
}, Io = (t) => {
|
866
|
+
const e = C.c(8);
|
867
|
+
let i;
|
868
|
+
e[0] !== t.className ? (i = v(kn.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
893
869
|
let n;
|
894
870
|
e[2] !== t.color ? (n = {
|
895
871
|
backgroundColor: t.color
|
896
872
|
}, e[2] = t.color, e[3] = n) : n = e[3];
|
897
|
-
let i;
|
898
|
-
return e[4] !== t.text || e[5] !== o || e[6] !== n ? (i = /* @__PURE__ */ s("div", { className: o, style: n, children: t.text }), e[4] = t.text, e[5] = o, e[6] = n, e[7] = i) : i = e[7], i;
|
899
|
-
}, $n = "_component_1y11j_10", In = {
|
900
|
-
component: $n
|
901
|
-
}, To = (t) => {
|
902
|
-
const e = p.c(6);
|
903
873
|
let o;
|
904
|
-
e[
|
874
|
+
return e[4] !== t.text || e[5] !== i || e[6] !== n ? (o = /* @__PURE__ */ s("div", { className: i, style: n, children: t.text }), e[4] = t.text, e[5] = i, e[6] = n, e[7] = o) : o = e[7], o;
|
875
|
+
}, Sn = "_component_1y11j_10", $n = {
|
876
|
+
component: Sn
|
877
|
+
}, Ro = (t) => {
|
878
|
+
const e = C.c(6);
|
879
|
+
let i;
|
880
|
+
e[0] !== t.className ? (i = v($n.component, t.className), e[0] = t.className, e[1] = i) : i = e[1];
|
905
881
|
let n;
|
906
|
-
return e[2] !== t.onClick || e[3] !== t.text || e[4] !==
|
907
|
-
},
|
908
|
-
component:
|
909
|
-
icon:
|
910
|
-
input:
|
911
|
-
noIcon:
|
912
|
-
},
|
913
|
-
const e =
|
914
|
-
let n,
|
882
|
+
return e[2] !== t.onClick || e[3] !== t.text || e[4] !== i ? (n = /* @__PURE__ */ s("button", { className: i, onClick: t.onClick, "aria-label": t.text, children: t.text }), e[2] = t.onClick, e[3] = t.text, e[4] = i, e[5] = n) : n = e[5], n;
|
883
|
+
}, In = "_component_10l5e_10", Rn = "_icon_10l5e_28", Tn = "_input_10l5e_36", Pn = "_noIcon_10l5e_44", re = {
|
884
|
+
component: In,
|
885
|
+
icon: Rn,
|
886
|
+
input: Tn,
|
887
|
+
noIcon: Pn
|
888
|
+
}, To = (t) => {
|
889
|
+
const e = C.c(23), i = M(null);
|
890
|
+
let n, o;
|
915
891
|
e[0] !== t.value ? (n = () => {
|
916
|
-
|
917
|
-
},
|
892
|
+
i.current && t.value && (i.current.value = t.value);
|
893
|
+
}, o = [t.value], e[0] = t.value, e[1] = n, e[2] = o) : (n = e[1], o = e[2]), T(n, o);
|
918
894
|
let c;
|
919
895
|
e[3] !== t ? (c = () => {
|
920
|
-
|
921
|
-
|
922
|
-
},
|
923
|
-
|
896
|
+
i.current && (i.current.onchange = () => {
|
897
|
+
i.current && t.getValue && t.getValue(i.current.value);
|
898
|
+
}, i.current.onkeyup = (y) => {
|
899
|
+
i.current && t.onSubmit && (t.getLiveValue && t.getLiveValue(i.current.value), y.key === "Enter" && t.onSubmit(i.current.value));
|
924
900
|
});
|
925
901
|
}, e[3] = t, e[4] = c) : c = e[4];
|
926
902
|
let r;
|
927
|
-
e[5] === Symbol.for("react.memo_cache_sentinel") ? (r = [], e[5] = r) : r = e[5],
|
903
|
+
e[5] === Symbol.for("react.memo_cache_sentinel") ? (r = [], e[5] = r) : r = e[5], T(c, r);
|
928
904
|
let l;
|
929
905
|
e[6] !== t.className ? (l = v(re.component, t.className), e[6] = t.className, e[7] = l) : l = e[7];
|
930
906
|
let a;
|
931
907
|
e[8] !== t.icon ? (a = t.icon && /* @__PURE__ */ s(le, { className: re.icon, icon: t.icon }), e[8] = t.icon, e[9] = a) : a = e[9];
|
932
|
-
const m = t.autoComplete, u = t.type || "text", d = t.accessibleName,
|
933
|
-
let
|
934
|
-
e[10] !==
|
935
|
-
let
|
936
|
-
e[12] !== t.accessibleName || e[13] !== t.autoComplete || e[14] !== t.defaultValue || e[15] !== t.placeholder || e[16] !==
|
937
|
-
let
|
938
|
-
return e[19] !==
|
908
|
+
const m = t.autoComplete, u = t.type || "text", d = t.accessibleName, f = t.defaultValue, h = !t.icon && re.noIcon;
|
909
|
+
let _;
|
910
|
+
e[10] !== h ? (_ = v(re.input, h), e[10] = h, e[11] = _) : _ = e[11];
|
911
|
+
let p;
|
912
|
+
e[12] !== t.accessibleName || e[13] !== t.autoComplete || e[14] !== t.defaultValue || e[15] !== t.placeholder || e[16] !== _ || e[17] !== u ? (p = /* @__PURE__ */ s("input", { autoComplete: m, ref: i, type: u, "aria-label": d, defaultValue: f, className: _, placeholder: t.placeholder }), e[12] = t.accessibleName, e[13] = t.autoComplete, e[14] = t.defaultValue, e[15] = t.placeholder, e[16] = _, e[17] = u, e[18] = p) : p = e[18];
|
913
|
+
let g;
|
914
|
+
return e[19] !== p || e[20] !== l || e[21] !== a ? (g = /* @__PURE__ */ S("div", { className: l, children: [
|
939
915
|
a,
|
940
|
-
|
941
|
-
] }), e[19] =
|
942
|
-
},
|
943
|
-
const e =
|
944
|
-
className:
|
916
|
+
p
|
917
|
+
] }), e[19] = p, e[20] = l, e[21] = a, e[22] = g) : g = e[22], g;
|
918
|
+
}, Po = (t) => {
|
919
|
+
const e = C.c(5), {
|
920
|
+
className: i,
|
945
921
|
onSeen: n
|
946
|
-
} = t, [
|
922
|
+
} = t, [o, c] = I(!1), r = M(null);
|
947
923
|
let l;
|
948
924
|
e[0] !== n ? (l = () => {
|
949
925
|
if (!r.current)
|
950
926
|
return;
|
951
|
-
const u = r.current, d = new IntersectionObserver((
|
952
|
-
|
927
|
+
const u = r.current, d = new IntersectionObserver((f) => {
|
928
|
+
f[0].isIntersecting && (n(), d.disconnect(), c(!0));
|
953
929
|
});
|
954
930
|
return d.observe(u), () => {
|
955
931
|
d.disconnect();
|
956
932
|
};
|
957
933
|
}, e[0] = n, e[1] = l) : l = e[1];
|
958
934
|
let a;
|
959
|
-
if (e[2] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2],
|
935
|
+
if (e[2] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[2] = a) : a = e[2], T(l, a), o)
|
960
936
|
return null;
|
961
937
|
let m;
|
962
|
-
return e[3] !==
|
938
|
+
return e[3] !== i ? (m = /* @__PURE__ */ s("div", { ref: r, className: i }), e[3] = i, e[4] = m) : m = e[4], m;
|
963
939
|
}, Do = (t) => {
|
964
|
-
const e =
|
965
|
-
className:
|
940
|
+
const e = C.c(7), {
|
941
|
+
className: i,
|
966
942
|
onEnterView: n,
|
967
|
-
onLeaveView:
|
968
|
-
} = t, c =
|
943
|
+
onLeaveView: o
|
944
|
+
} = t, c = M(!1), r = M(null);
|
969
945
|
let l;
|
970
|
-
e[0] !== n || e[1] !==
|
946
|
+
e[0] !== n || e[1] !== o ? (l = () => {
|
971
947
|
if (!r.current)
|
972
948
|
return;
|
973
|
-
const d = r.current,
|
949
|
+
const d = r.current, f = () => {
|
974
950
|
const {
|
975
|
-
top:
|
976
|
-
bottom:
|
977
|
-
left:
|
951
|
+
top: _,
|
952
|
+
bottom: p,
|
953
|
+
left: g,
|
978
954
|
right: y
|
979
955
|
} = d.getBoundingClientRect();
|
980
956
|
if (!c.current) {
|
981
|
-
if (
|
957
|
+
if (_ < 0) {
|
982
958
|
n == null || n("up"), c.current = !0;
|
983
959
|
return;
|
984
|
-
} else if (
|
960
|
+
} else if (p > window.innerHeight) {
|
985
961
|
n == null || n("down"), c.current = !0;
|
986
962
|
return;
|
987
|
-
} else if (
|
963
|
+
} else if (g < 0) {
|
988
964
|
n == null || n("left"), c.current = !0;
|
989
965
|
return;
|
990
966
|
} else if (y > window.innerWidth) {
|
@@ -992,97 +968,97 @@ const un = "_component_7iu6s_10", $e = {
|
|
992
968
|
return;
|
993
969
|
}
|
994
970
|
}
|
995
|
-
if (
|
996
|
-
|
971
|
+
if (_ > window.innerHeight) {
|
972
|
+
o == null || o("down"), c.current = !1;
|
997
973
|
return;
|
998
|
-
} else if (
|
999
|
-
|
974
|
+
} else if (p < 0) {
|
975
|
+
o == null || o("up"), c.current = !1;
|
1000
976
|
return;
|
1001
|
-
} else if (
|
1002
|
-
|
977
|
+
} else if (g > window.innerWidth) {
|
978
|
+
o == null || o("right"), c.current = !1;
|
1003
979
|
return;
|
1004
980
|
} else if (y < 0) {
|
1005
|
-
|
981
|
+
o == null || o("left"), c.current = !1;
|
1006
982
|
return;
|
1007
983
|
}
|
1008
|
-
},
|
1009
|
-
|
984
|
+
}, h = new IntersectionObserver(() => {
|
985
|
+
f();
|
1010
986
|
});
|
1011
|
-
return
|
1012
|
-
|
987
|
+
return h.observe(d), () => {
|
988
|
+
h.disconnect();
|
1013
989
|
};
|
1014
|
-
}, e[0] = n, e[1] =
|
990
|
+
}, e[0] = n, e[1] = o, e[2] = l) : l = e[2];
|
1015
991
|
let a;
|
1016
|
-
e[3] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[3] = a) : a = e[3],
|
992
|
+
e[3] === Symbol.for("react.memo_cache_sentinel") ? (a = [], e[3] = a) : a = e[3], T(l, a);
|
1017
993
|
let m;
|
1018
994
|
e[4] === Symbol.for("react.memo_cache_sentinel") ? (m = {
|
1019
995
|
height: 1,
|
1020
996
|
width: 1
|
1021
997
|
}, e[4] = m) : m = e[4];
|
1022
998
|
let u;
|
1023
|
-
return e[5] !==
|
1024
|
-
}, Dn = "_containerComponent_5q8wt_6",
|
999
|
+
return e[5] !== i ? (u = /* @__PURE__ */ s("div", { ref: r, style: m, className: i }), e[5] = i, e[6] = u) : u = e[6], u;
|
1000
|
+
}, Dn = "_containerComponent_5q8wt_6", Ln = "_component_5q8wt_17", Bn = "_page_5q8wt_34", Un = "_activePage_5q8wt_52", En = "_controls_5q8wt_56", On = "_indicatorContainer_5q8wt_67", Mn = "_indicator_5q8wt_67", Fn = "_pageIndicator_5q8wt_80", jn = "_selected_5q8wt_89", L = {
|
1025
1001
|
containerComponent: Dn,
|
1026
|
-
component:
|
1027
|
-
page:
|
1028
|
-
activePage:
|
1029
|
-
controls:
|
1030
|
-
indicatorContainer:
|
1031
|
-
indicator:
|
1032
|
-
pageIndicator:
|
1002
|
+
component: Ln,
|
1003
|
+
page: Bn,
|
1004
|
+
activePage: Un,
|
1005
|
+
controls: En,
|
1006
|
+
indicatorContainer: On,
|
1007
|
+
indicator: Mn,
|
1008
|
+
pageIndicator: Fn,
|
1033
1009
|
selected: jn
|
1034
|
-
},
|
1035
|
-
const e =
|
1036
|
-
items:
|
1010
|
+
}, Lo = (t) => {
|
1011
|
+
const e = C.c(35), {
|
1012
|
+
items: i,
|
1037
1013
|
className: n,
|
1038
|
-
loopAround:
|
1014
|
+
loopAround: o,
|
1039
1015
|
height: c
|
1040
|
-
} = t, r =
|
1016
|
+
} = t, r = M(null), [l, a] = I(0);
|
1041
1017
|
let m, u;
|
1042
1018
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (m = () => {
|
1043
|
-
const
|
1044
|
-
if (!
|
1019
|
+
const b = r.current;
|
1020
|
+
if (!b)
|
1045
1021
|
return;
|
1046
1022
|
const N = () => {
|
1047
|
-
const k =
|
1048
|
-
let $;
|
1049
|
-
$ = 0;
|
1023
|
+
const k = b.getBoundingClientRect();
|
1050
1024
|
let R;
|
1051
|
-
R =
|
1052
|
-
|
1053
|
-
|
1054
|
-
|
1025
|
+
R = 0;
|
1026
|
+
let B;
|
1027
|
+
B = -1, Array.from(b.children).forEach((H, W) => {
|
1028
|
+
const V = H.getBoundingClientRect(), X = Math.max(0, Math.min(V.right, k.right) - Math.max(V.left, k.left));
|
1029
|
+
X > R && (R = X, B = W);
|
1030
|
+
}), B !== -1 && a(B);
|
1055
1031
|
};
|
1056
|
-
return
|
1057
|
-
|
1032
|
+
return b.addEventListener("scroll", N), () => {
|
1033
|
+
b.removeEventListener("scroll", N);
|
1058
1034
|
};
|
1059
|
-
}, u = [], e[0] = m, e[1] = u) : (m = e[0], u = e[1]),
|
1035
|
+
}, u = [], e[0] = m, e[1] = u) : (m = e[0], u = e[1]), T(m, u);
|
1060
1036
|
let d;
|
1061
|
-
e[2] !== n ? (d = v(
|
1062
|
-
let
|
1063
|
-
e[4] !== c ? (
|
1037
|
+
e[2] !== n ? (d = v(L.containerComponent, n), e[2] = n, e[3] = d) : d = e[3];
|
1038
|
+
let f;
|
1039
|
+
e[4] !== c ? (f = {
|
1064
1040
|
"--carousel-height": c
|
1065
|
-
}, e[4] = c, e[5] =
|
1066
|
-
let
|
1067
|
-
if (e[6] !== l || e[7] !==
|
1068
|
-
let
|
1069
|
-
e[9] !== l ? (
|
1041
|
+
}, e[4] = c, e[5] = f) : f = e[5];
|
1042
|
+
let h;
|
1043
|
+
if (e[6] !== l || e[7] !== i) {
|
1044
|
+
let b;
|
1045
|
+
e[9] !== l ? (b = (N, k) => /* @__PURE__ */ s("div", { className: v(L.page, k === l && L.activePage), children: N.element }, N.id), e[9] = l, e[10] = b) : b = e[10], h = i.map(b), e[6] = l, e[7] = i, e[8] = h;
|
1070
1046
|
} else
|
1071
|
-
|
1072
|
-
let
|
1073
|
-
e[11] !==
|
1074
|
-
let
|
1075
|
-
e[13] !== l || e[14] !==
|
1076
|
-
const
|
1077
|
-
if (!
|
1047
|
+
h = e[8];
|
1048
|
+
let _;
|
1049
|
+
e[11] !== h ? (_ = /* @__PURE__ */ s("div", { className: L.component, "data-pages": !0, ref: r, children: h }), e[11] = h, e[12] = _) : _ = e[12];
|
1050
|
+
let p;
|
1051
|
+
e[13] !== l || e[14] !== o ? (p = /* @__PURE__ */ s(ne, { accessibleLabel: "previous page", icon: j.ChevronLeft, className: L.pageControl, onClick: () => {
|
1052
|
+
const b = r.current;
|
1053
|
+
if (!b)
|
1078
1054
|
return;
|
1079
|
-
const N =
|
1055
|
+
const N = b.children[l - 1];
|
1080
1056
|
if (!N) {
|
1081
|
-
|
1057
|
+
o && (b.children[b.children.length - 1].scrollIntoView({
|
1082
1058
|
behavior: "smooth",
|
1083
1059
|
inline: "center",
|
1084
1060
|
block: "center"
|
1085
|
-
}), a(
|
1061
|
+
}), a(b.children.length - 1));
|
1086
1062
|
return;
|
1087
1063
|
}
|
1088
1064
|
N.scrollIntoView({
|
@@ -1090,33 +1066,33 @@ const un = "_component_7iu6s_10", $e = {
|
|
1090
1066
|
inline: "center",
|
1091
1067
|
block: "center"
|
1092
1068
|
}), a(l - 1);
|
1093
|
-
} }), e[13] = l, e[14] =
|
1094
|
-
let
|
1095
|
-
if (e[16] !== l || e[17] !==
|
1096
|
-
let
|
1097
|
-
e[19] !== l ? (
|
1098
|
-
const
|
1099
|
-
if (
|
1069
|
+
} }), e[13] = l, e[14] = o, e[15] = p) : p = e[15];
|
1070
|
+
let g;
|
1071
|
+
if (e[16] !== l || e[17] !== i) {
|
1072
|
+
let b;
|
1073
|
+
e[19] !== l ? (b = (N, k) => /* @__PURE__ */ s("button", { className: v(L.pageIndicator, k === l && L.selected), onClick: () => {
|
1074
|
+
const R = r.current;
|
1075
|
+
if (!R)
|
1100
1076
|
return;
|
1101
|
-
const
|
1102
|
-
a(k),
|
1077
|
+
const B = R.children[k];
|
1078
|
+
a(k), B.scrollIntoView({
|
1103
1079
|
behavior: "smooth",
|
1104
1080
|
inline: "center",
|
1105
1081
|
block: "center"
|
1106
1082
|
});
|
1107
|
-
} }, N.id), e[19] = l, e[20] =
|
1083
|
+
} }, N.id), e[19] = l, e[20] = b) : b = e[20], g = i.map(b), e[16] = l, e[17] = i, e[18] = g;
|
1108
1084
|
} else
|
1109
|
-
|
1085
|
+
g = e[18];
|
1110
1086
|
let y;
|
1111
|
-
e[21] !==
|
1112
|
-
let
|
1113
|
-
e[23] !== l || e[24] !==
|
1114
|
-
const
|
1115
|
-
if (!
|
1087
|
+
e[21] !== g ? (y = /* @__PURE__ */ s(ce, { className: L.indicator, containerClassName: L.indicatorContainer, children: g }), e[21] = g, e[22] = y) : y = e[22];
|
1088
|
+
let x;
|
1089
|
+
e[23] !== l || e[24] !== o ? (x = /* @__PURE__ */ s(ne, { accessibleLabel: "next page", icon: j.ChevronRight, className: L.pageControl, onClick: () => {
|
1090
|
+
const b = r.current;
|
1091
|
+
if (!b)
|
1116
1092
|
return;
|
1117
|
-
const N =
|
1093
|
+
const N = b.children[l + 1];
|
1118
1094
|
if (!N) {
|
1119
|
-
|
1095
|
+
o && (b.children[0].scrollIntoView({
|
1120
1096
|
behavior: "smooth",
|
1121
1097
|
inline: "center",
|
1122
1098
|
block: "center"
|
@@ -1128,223 +1104,223 @@ const un = "_component_7iu6s_10", $e = {
|
|
1128
1104
|
inline: "center",
|
1129
1105
|
block: "center"
|
1130
1106
|
}), a(l + 1);
|
1131
|
-
} }), e[23] = l, e[24] =
|
1132
|
-
let
|
1133
|
-
e[26] !==
|
1134
|
-
|
1107
|
+
} }), e[23] = l, e[24] = o, e[25] = x) : x = e[25];
|
1108
|
+
let w;
|
1109
|
+
e[26] !== x || e[27] !== p || e[28] !== y ? (w = /* @__PURE__ */ S("div", { className: L.controls, children: [
|
1110
|
+
p,
|
1135
1111
|
y,
|
1136
|
-
w
|
1137
|
-
] }), e[26] = w, e[27] = C, e[28] = y, e[29] = x) : x = e[29];
|
1138
|
-
let S;
|
1139
|
-
return e[30] !== x || e[31] !== d || e[32] !== b || e[33] !== f ? (S = /* @__PURE__ */ I(Xt, { className: d, style: b, children: [
|
1140
|
-
f,
|
1141
1112
|
x
|
1142
|
-
] }), e[
|
1143
|
-
|
1144
|
-
|
1145
|
-
|
1146
|
-
|
1147
|
-
|
1148
|
-
},
|
1149
|
-
|
1150
|
-
|
1113
|
+
] }), e[26] = x, e[27] = p, e[28] = y, e[29] = w) : w = e[29];
|
1114
|
+
let $;
|
1115
|
+
return e[30] !== w || e[31] !== d || e[32] !== f || e[33] !== _ ? ($ = /* @__PURE__ */ S(Xt, { className: d, style: f, children: [
|
1116
|
+
_,
|
1117
|
+
w
|
1118
|
+
] }), e[30] = w, e[31] = d, e[32] = f, e[33] = _, e[34] = $) : $ = e[34], $;
|
1119
|
+
}, Kn = "_background_l6sy4_26", An = "_backgroundFadeIn_l6sy4_1", Hn = "_view_l6sy4_39", zn = "_fadeIn_l6sy4_1", Ie = {
|
1120
|
+
background: Kn,
|
1121
|
+
backgroundFadeIn: An,
|
1122
|
+
view: Hn,
|
1123
|
+
fadeIn: zn
|
1124
|
+
}, Bo = (t) => {
|
1125
|
+
const e = C.c(7), {
|
1126
|
+
children: i,
|
1151
1127
|
className: n,
|
1152
|
-
actionsClassName:
|
1128
|
+
actionsClassName: o,
|
1153
1129
|
headerClassName: c,
|
1154
1130
|
actions: r,
|
1155
1131
|
header: l
|
1156
1132
|
} = t;
|
1157
1133
|
let a;
|
1158
|
-
return e[0] !== r || e[1] !==
|
1159
|
-
},
|
1160
|
-
view:
|
1161
|
-
},
|
1162
|
-
const e =
|
1163
|
-
backgroundImage:
|
1134
|
+
return e[0] !== r || e[1] !== o || e[2] !== i || e[3] !== n || e[4] !== l || e[5] !== c ? (a = /* @__PURE__ */ s("div", { className: Ie.background, children: /* @__PURE__ */ s(ce, { containerClassName: Ie.view, actionsClassName: o, headerClassName: c, actions: r, header: l, className: n, children: i }) }), e[0] = r, e[1] = o, e[2] = i, e[3] = n, e[4] = l, e[5] = c, e[6] = a) : a = e[6], a;
|
1135
|
+
}, qn = "_view_1557p_10", Gn = {
|
1136
|
+
view: qn
|
1137
|
+
}, Uo = (t) => {
|
1138
|
+
const e = C.c(7), {
|
1139
|
+
backgroundImage: i,
|
1164
1140
|
heading: n
|
1165
1141
|
} = t;
|
1166
|
-
let
|
1167
|
-
e[0] !==
|
1168
|
-
backgroundImage:
|
1142
|
+
let o;
|
1143
|
+
e[0] !== i ? (o = i ? {
|
1144
|
+
backgroundImage: i
|
1169
1145
|
} : {
|
1170
1146
|
backgroundImage: "linear-gradient(-45deg, #ff8093aa, #ffd264aa)"
|
1171
|
-
}, e[0] =
|
1147
|
+
}, e[0] = i, e[1] = o) : o = e[1];
|
1172
1148
|
let c;
|
1173
1149
|
e[2] !== n ? (c = /* @__PURE__ */ s(ie, { level: 1, text: n }), e[2] = n, e[3] = c) : c = e[3];
|
1174
1150
|
let r;
|
1175
|
-
return e[4] !==
|
1176
|
-
},
|
1151
|
+
return e[4] !== o || e[5] !== c ? (r = /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s("div", { className: Gn.view, style: o, children: c }) }), e[4] = o, e[5] = c, e[6] = r) : r = e[6], r;
|
1152
|
+
}, Eo = ({
|
1177
1153
|
children: t,
|
1178
1154
|
minZoom: e,
|
1179
|
-
maxZoom:
|
1155
|
+
maxZoom: i,
|
1180
1156
|
onScaleChange: n
|
1181
1157
|
}) => {
|
1182
|
-
const
|
1183
|
-
return n &&
|
1158
|
+
const o = M(null), [c, r] = I(0), [l, a] = I(0), [m, u] = I(1);
|
1159
|
+
return n && T(() => {
|
1184
1160
|
n(m);
|
1185
|
-
}, [m]), /* @__PURE__ */ s("div", { ref:
|
1161
|
+
}, [m]), /* @__PURE__ */ s("div", { ref: o, style: {
|
1186
1162
|
width: "100%",
|
1187
1163
|
height: "100%",
|
1188
1164
|
overflow: "hidden",
|
1189
1165
|
display: "flex",
|
1190
1166
|
alignItems: "center",
|
1191
1167
|
justifyContent: "center"
|
1192
|
-
}, onWheel: (
|
1193
|
-
|
1194
|
-
const
|
1195
|
-
u(Math.min(Math.max(
|
1196
|
-
}, onMouseDown: (
|
1197
|
-
|
1198
|
-
const
|
1199
|
-
|
1200
|
-
const N =
|
1201
|
-
r(y + N), a(
|
1202
|
-
},
|
1203
|
-
|
1168
|
+
}, onWheel: (_) => {
|
1169
|
+
_.stopPropagation();
|
1170
|
+
const p = _.deltaY, g = m + p / 1e3;
|
1171
|
+
u(Math.min(Math.max(g, e ?? 0.1), i ?? 10));
|
1172
|
+
}, onMouseDown: (_) => {
|
1173
|
+
_.stopPropagation();
|
1174
|
+
const p = _.clientX, g = _.clientY, y = c, x = l, w = (b) => {
|
1175
|
+
b.stopPropagation();
|
1176
|
+
const N = b.clientX - p, k = b.clientY - g;
|
1177
|
+
r(y + N), a(x + k);
|
1178
|
+
}, $ = () => {
|
1179
|
+
_.stopPropagation(), document.removeEventListener("mousemove", w), document.removeEventListener("mouseup", $);
|
1204
1180
|
};
|
1205
|
-
document.addEventListener("mousemove",
|
1206
|
-
}, onTouchStart: (
|
1207
|
-
|
1208
|
-
const
|
1209
|
-
|
1210
|
-
const
|
1211
|
-
r(
|
1212
|
-
},
|
1213
|
-
|
1181
|
+
document.addEventListener("mousemove", w), document.addEventListener("mouseup", $);
|
1182
|
+
}, onTouchStart: (_) => {
|
1183
|
+
_.stopPropagation();
|
1184
|
+
const p = _.touches, g = c, y = l, x = ($) => {
|
1185
|
+
$.stopPropagation();
|
1186
|
+
const b = $.touches, N = b[0].clientX - p[0].clientX, k = b[0].clientY - p[0].clientY;
|
1187
|
+
r(g + N), a(y + k);
|
1188
|
+
}, w = () => {
|
1189
|
+
_.stopPropagation(), document.removeEventListener("touchmove", x), document.removeEventListener("touchend", w);
|
1214
1190
|
};
|
1215
|
-
document.addEventListener("touchmove",
|
1216
|
-
}, onDragStart: (
|
1217
|
-
|
1218
|
-
}, onContextMenu: (
|
1219
|
-
|
1191
|
+
document.addEventListener("touchmove", x), document.addEventListener("touchend", w);
|
1192
|
+
}, onDragStart: (_) => {
|
1193
|
+
_.stopPropagation(), _.preventDefault();
|
1194
|
+
}, onContextMenu: (_) => {
|
1195
|
+
_.preventDefault(), _.stopPropagation();
|
1220
1196
|
}, children: /* @__PURE__ */ s("div", { style: {
|
1221
1197
|
transform: `translate(${c}px, ${l}px) scale(${m})`,
|
1222
1198
|
transformOrigin: "center center",
|
1223
1199
|
maxWidth: "max-content",
|
1224
1200
|
pointerEvents: "none"
|
1225
1201
|
}, children: t }) });
|
1226
|
-
},
|
1227
|
-
component:
|
1228
|
-
items:
|
1229
|
-
endOfItems:
|
1230
|
-
},
|
1231
|
-
const e =
|
1232
|
-
children:
|
1202
|
+
}, Yn = "_component_7673o_10", Wn = "_items_7673o_19", Vn = "_endOfItems_7673o_23", se = {
|
1203
|
+
component: Yn,
|
1204
|
+
items: Wn,
|
1205
|
+
endOfItems: Vn
|
1206
|
+
}, Oo = (t) => {
|
1207
|
+
const e = C.c(22), {
|
1208
|
+
children: i,
|
1233
1209
|
fetchNextPage: n,
|
1234
|
-
containerClassName:
|
1210
|
+
containerClassName: o,
|
1235
1211
|
className: c,
|
1236
1212
|
resetState: r
|
1237
|
-
} = t, l =
|
1238
|
-
let
|
1239
|
-
e[0] !== r ? (
|
1240
|
-
a.current = -1, u(!1),
|
1241
|
-
},
|
1242
|
-
async function
|
1213
|
+
} = t, l = O.useRef(null), a = O.useRef(-1), [m, u] = I(!1), [d, f] = I(!1);
|
1214
|
+
let h;
|
1215
|
+
e[0] !== r ? (h = [r], e[0] = r, e[1] = h) : h = e[1], T(() => {
|
1216
|
+
a.current = -1, u(!1), f(!1), _();
|
1217
|
+
}, h);
|
1218
|
+
async function _() {
|
1243
1219
|
if (m)
|
1244
1220
|
return;
|
1245
1221
|
u(!0);
|
1246
1222
|
const {
|
1247
|
-
hasAnotherPage:
|
1223
|
+
hasAnotherPage: R
|
1248
1224
|
} = await n(a.current + 1);
|
1249
|
-
a.current = a.current + 1, u(!1),
|
1225
|
+
a.current = a.current + 1, u(!1), f(R || !1);
|
1250
1226
|
}
|
1251
|
-
let
|
1252
|
-
e[2] !==
|
1227
|
+
let p;
|
1228
|
+
e[2] !== _ ? (p = () => {
|
1253
1229
|
if (!l.current)
|
1254
1230
|
return;
|
1255
|
-
const
|
1256
|
-
new IntersectionObserver((
|
1257
|
-
console.log("observer update"),
|
1258
|
-
}).observe(
|
1259
|
-
}, e[2] =
|
1260
|
-
let
|
1261
|
-
e[4] === Symbol.for("react.memo_cache_sentinel") ? (
|
1231
|
+
const R = l.current;
|
1232
|
+
new IntersectionObserver((H) => {
|
1233
|
+
console.log("observer update"), H[0].isIntersecting && _();
|
1234
|
+
}).observe(R);
|
1235
|
+
}, e[2] = _, e[3] = p) : p = e[3];
|
1236
|
+
let g;
|
1237
|
+
e[4] === Symbol.for("react.memo_cache_sentinel") ? (g = [], e[4] = g) : g = e[4], T(p, g);
|
1262
1238
|
let y;
|
1263
|
-
e[5] !==
|
1264
|
-
let
|
1265
|
-
e[7] !==
|
1239
|
+
e[5] !== o ? (y = v(o, se.component), e[5] = o, e[6] = y) : y = e[6];
|
1240
|
+
let x;
|
1241
|
+
e[7] !== i || e[8] !== c ? (x = (i == null ? void 0 : i.length) > 0 ? /* @__PURE__ */ s("div", { className: v(c, se.items), children: i }) : /* @__PURE__ */ S("div", { className: "text-center", children: [
|
1266
1242
|
/* @__PURE__ */ s(ie, { level: 1, text: "Whoops." }),
|
1267
1243
|
/* @__PURE__ */ s(me, { direction: "column" }),
|
1268
1244
|
/* @__PURE__ */ s(q, { text: "It looks like nothing could be found..." })
|
1269
|
-
] }), e[7] =
|
1270
|
-
let
|
1271
|
-
e[10] !== m ? (
|
1272
|
-
let
|
1273
|
-
e[12] === Symbol.for("react.memo_cache_sentinel") ? (
|
1274
|
-
let
|
1275
|
-
e[13] !== d ? (
|
1245
|
+
] }), e[7] = i, e[8] = c, e[9] = x) : x = e[9];
|
1246
|
+
let w;
|
1247
|
+
e[10] !== m ? (w = m && /* @__PURE__ */ s(q, { text: "Loading more content" }), e[10] = m, e[11] = w) : w = e[11];
|
1248
|
+
let $;
|
1249
|
+
e[12] === Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ s(me, { direction: "column" }), e[12] = $) : $ = e[12];
|
1250
|
+
let b;
|
1251
|
+
e[13] !== d ? (b = d && /* @__PURE__ */ s(q, { text: "No more items to load", className: se.endOfItems }), e[13] = d, e[14] = b) : b = e[14];
|
1276
1252
|
let N;
|
1277
|
-
e[15] !==
|
1278
|
-
x,
|
1279
|
-
S,
|
1280
|
-
g
|
1281
|
-
] }), e[15] = x, e[16] = g, e[17] = N) : N = e[17];
|
1282
|
-
let k;
|
1283
|
-
return e[18] !== y || e[19] !== w || e[20] !== N ? (k = /* @__PURE__ */ I("div", { className: y, children: [
|
1253
|
+
e[15] !== w || e[16] !== b ? (N = /* @__PURE__ */ S("div", { ref: l, className: se.endOfItems, children: [
|
1284
1254
|
w,
|
1255
|
+
$,
|
1256
|
+
b
|
1257
|
+
] }), e[15] = w, e[16] = b, e[17] = N) : N = e[17];
|
1258
|
+
let k;
|
1259
|
+
return e[18] !== y || e[19] !== x || e[20] !== N ? (k = /* @__PURE__ */ S("div", { className: y, children: [
|
1260
|
+
x,
|
1285
1261
|
N
|
1286
|
-
] }), e[18] = y, e[19] =
|
1287
|
-
},
|
1288
|
-
component:
|
1289
|
-
segment:
|
1290
|
-
},
|
1291
|
-
const e =
|
1292
|
-
leftSection:
|
1262
|
+
] }), e[18] = y, e[19] = x, e[20] = N, e[21] = k) : k = e[21], k;
|
1263
|
+
}, Xn = "_component_yv1j4_6", Zn = "_segment_yv1j4_20", ae = {
|
1264
|
+
component: Xn,
|
1265
|
+
segment: Zn
|
1266
|
+
}, Mo = (t) => {
|
1267
|
+
const e = C.c(13), {
|
1268
|
+
leftSection: i,
|
1293
1269
|
centerSection: n,
|
1294
|
-
rightSection:
|
1270
|
+
rightSection: o,
|
1295
1271
|
className: c
|
1296
1272
|
} = t;
|
1297
1273
|
let r;
|
1298
1274
|
e[0] !== c ? (r = v(ae.component, c), e[0] = c, e[1] = r) : r = e[1];
|
1299
1275
|
let l;
|
1300
|
-
e[2] !==
|
1276
|
+
e[2] !== i ? (l = /* @__PURE__ */ s(ee, { className: ae.segment, direction: "row", children: i }), e[2] = i, e[3] = l) : l = e[3];
|
1301
1277
|
let a;
|
1302
|
-
e[4] !== n ? (a = /* @__PURE__ */ s(
|
1278
|
+
e[4] !== n ? (a = /* @__PURE__ */ s(ee, { className: ae.segment, direction: "row", children: n }), e[4] = n, e[5] = a) : a = e[5];
|
1303
1279
|
let m;
|
1304
|
-
e[6] !==
|
1280
|
+
e[6] !== o ? (m = /* @__PURE__ */ s(ee, { className: ae.segment, direction: "row", children: o }), e[6] = o, e[7] = m) : m = e[7];
|
1305
1281
|
let u;
|
1306
|
-
return e[8] !== r || e[9] !== l || e[10] !== a || e[11] !== m ? (u = /* @__PURE__ */
|
1282
|
+
return e[8] !== r || e[9] !== l || e[10] !== a || e[11] !== m ? (u = /* @__PURE__ */ S(J, { className: r, children: [
|
1307
1283
|
l,
|
1308
1284
|
a,
|
1309
1285
|
m
|
1310
1286
|
] }), e[8] = r, e[9] = l, e[10] = a, e[11] = m, e[12] = u) : u = e[12], u;
|
1311
|
-
},
|
1312
|
-
component:
|
1313
|
-
},
|
1314
|
-
const e =
|
1315
|
-
src:
|
1287
|
+
}, Qn = "_component_1kaw9_6", Jn = {
|
1288
|
+
component: Qn
|
1289
|
+
}, Fo = (t) => {
|
1290
|
+
const e = C.c(2), {
|
1291
|
+
src: i
|
1316
1292
|
} = t;
|
1317
1293
|
let n;
|
1318
|
-
return e[0] !==
|
1294
|
+
return e[0] !== i ? (n = /* @__PURE__ */ s(Me, { accessibleLabel: "", src: i, className: Jn.component }), e[0] = i, e[1] = n) : n = e[1], n;
|
1319
1295
|
}, jo = (t) => {
|
1320
|
-
const e =
|
1321
|
-
title:
|
1296
|
+
const e = C.c(2), {
|
1297
|
+
title: i
|
1322
1298
|
} = t;
|
1323
1299
|
let n;
|
1324
|
-
return e[0] !==
|
1325
|
-
},
|
1326
|
-
page:
|
1327
|
-
fadeIn:
|
1328
|
-
card:
|
1329
|
-
cardContainer:
|
1330
|
-
goBackButton:
|
1331
|
-
headerImage:
|
1332
|
-
header:
|
1333
|
-
body:
|
1334
|
-
},
|
1335
|
-
const e =
|
1336
|
-
pages:
|
1300
|
+
return e[0] !== i ? (n = /* @__PURE__ */ s(ie, { text: i, level: 2 }), e[0] = i, e[1] = n) : n = e[1], n;
|
1301
|
+
}, eo = "_page_rjfsg_6", to = "_fadeIn_rjfsg_1", no = "_card_rjfsg_40", oo = "_cardContainer_rjfsg_51", io = "_goBackButton_rjfsg_55", co = "_headerImage_rjfsg_61", lo = "_header_rjfsg_61", ro = "_body_rjfsg_70", D = {
|
1302
|
+
page: eo,
|
1303
|
+
fadeIn: to,
|
1304
|
+
card: no,
|
1305
|
+
cardContainer: oo,
|
1306
|
+
goBackButton: io,
|
1307
|
+
headerImage: co,
|
1308
|
+
header: lo,
|
1309
|
+
body: ro
|
1310
|
+
}, Ko = (t) => {
|
1311
|
+
const e = C.c(26), {
|
1312
|
+
pages: i,
|
1337
1313
|
applicationId: n
|
1338
|
-
} = t, [
|
1339
|
-
if (localStorage.getItem(`yourdash-application-visited-${n}`) ||
|
1314
|
+
} = t, [o, c] = Fe.useState(0), r = i[o];
|
1315
|
+
if (localStorage.getItem(`yourdash-application-visited-${n}`) || o > i.length - 1) {
|
1340
1316
|
localStorage.setItem(`yourdash-application-visited-${n}`, "true");
|
1341
|
-
let
|
1342
|
-
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (
|
1317
|
+
let p;
|
1318
|
+
return e[0] === Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ s(je, {}), e[0] = p) : p = e[0], p;
|
1343
1319
|
}
|
1344
1320
|
let l;
|
1345
|
-
e[1] !==
|
1346
|
-
c(
|
1347
|
-
} }, "GoBackButton"), e[1] =
|
1321
|
+
e[1] !== o || e[2] !== r.allowGoBack ? (l = r.allowGoBack && /* @__PURE__ */ s(ne, { className: v(D.goBackButton, "animate__animated animate__fadeInDown"), accessibleLabel: "Go back to the last page", icon: j.ChevronLeft, onClick: () => {
|
1322
|
+
c(o - 1);
|
1323
|
+
} }, "GoBackButton"), e[1] = o, e[2] = r.allowGoBack, e[3] = l) : l = e[3];
|
1348
1324
|
let a;
|
1349
1325
|
e[4] !== r.headerImage ? (a = /* @__PURE__ */ s(Me, { className: D.headerImage, src: r.headerImage, accessibleLabel: "" }), e[4] = r.headerImage, e[5] = a) : a = e[5];
|
1350
1326
|
let m;
|
@@ -1353,66 +1329,66 @@ const un = "_component_7iu6s_10", $e = {
|
|
1353
1329
|
e[8] === Symbol.for("react.memo_cache_sentinel") ? (u = /* @__PURE__ */ s(me, { direction: "column" }), e[8] = u) : u = e[8];
|
1354
1330
|
let d;
|
1355
1331
|
e[9] !== r.body ? (d = /* @__PURE__ */ s(q, { className: D.body, text: r.body }), e[9] = r.body, e[10] = d) : d = e[10];
|
1356
|
-
let
|
1357
|
-
if (e[11] !==
|
1358
|
-
let
|
1359
|
-
e[15] !==
|
1332
|
+
let f;
|
1333
|
+
if (e[11] !== o || e[12] !== r.actions || e[13] !== i.length) {
|
1334
|
+
let p;
|
1335
|
+
e[15] !== o || e[16] !== i.length ? (p = (g) => g.icon ? /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(Yt, { className: v(D.action, D.actionWithIcon, "animate__animated animate__fadeInUp"), text: g.label, icon: g.icon, onClick: () => {
|
1360
1336
|
var y;
|
1361
|
-
if ((y =
|
1362
|
-
e: switch (
|
1337
|
+
if ((y = g.onClick) == null || y.call(g), g.changeTo)
|
1338
|
+
e: switch (g.changeTo) {
|
1363
1339
|
case "next": {
|
1364
|
-
c(
|
1340
|
+
c(o + 1);
|
1365
1341
|
break e;
|
1366
1342
|
}
|
1367
1343
|
case "previous": {
|
1368
|
-
|
1344
|
+
o > 0 && c(o - 1);
|
1369
1345
|
break e;
|
1370
1346
|
}
|
1371
1347
|
case "remain":
|
1372
1348
|
break e;
|
1373
1349
|
case "completed": {
|
1374
|
-
c(
|
1350
|
+
c(i.length + 1);
|
1375
1351
|
break e;
|
1376
1352
|
}
|
1377
1353
|
default:
|
1378
1354
|
}
|
1379
|
-
} },
|
1355
|
+
} }, g.label) }) : /* @__PURE__ */ s(G, { children: /* @__PURE__ */ s(ge, { className: v(D.action, D.actionWithoutIcon, "animate__animated animate__fadeInUp"), text: g.label, onClick: () => {
|
1380
1356
|
var y;
|
1381
|
-
if ((y =
|
1382
|
-
e: switch (
|
1357
|
+
if ((y = g.onClick) == null || y.call(g), g.changeTo)
|
1358
|
+
e: switch (g.changeTo) {
|
1383
1359
|
case "next": {
|
1384
|
-
c(
|
1360
|
+
c(o + 1);
|
1385
1361
|
break e;
|
1386
1362
|
}
|
1387
1363
|
case "previous": {
|
1388
|
-
|
1364
|
+
o > 0 && c(o - 1);
|
1389
1365
|
break e;
|
1390
1366
|
}
|
1391
1367
|
case "remain":
|
1392
1368
|
break e;
|
1393
1369
|
case "completed": {
|
1394
|
-
c(
|
1370
|
+
c(i.length + 1);
|
1395
1371
|
break e;
|
1396
1372
|
}
|
1397
1373
|
default:
|
1398
1374
|
}
|
1399
|
-
} },
|
1375
|
+
} }, g.label) }), e[15] = o, e[16] = i.length, e[17] = p) : p = e[17], f = r.actions.map(p), e[11] = o, e[12] = r.actions, e[13] = i.length, e[14] = f;
|
1400
1376
|
} else
|
1401
|
-
|
1377
|
+
f = e[14];
|
1378
|
+
let h;
|
1379
|
+
e[18] !== f ? (h = /* @__PURE__ */ s(ee, { className: D.actions, direction: "row", children: f }), e[18] = f, e[19] = h) : h = e[19];
|
1402
1380
|
let _;
|
1403
|
-
e[
|
1404
|
-
let f;
|
1405
|
-
return e[20] !== l || e[21] !== a || e[22] !== m || e[23] !== d || e[24] !== _ ? (f = /* @__PURE__ */ s("div", { className: D.page, children: /* @__PURE__ */ I(ce, { className: D.card, containerClassName: D.cardContainer, children: [
|
1381
|
+
return e[20] !== l || e[21] !== a || e[22] !== m || e[23] !== d || e[24] !== h ? (_ = /* @__PURE__ */ s("div", { className: D.page, children: /* @__PURE__ */ S(ce, { className: D.card, containerClassName: D.cardContainer, children: [
|
1406
1382
|
l,
|
1407
1383
|
a,
|
1408
1384
|
m,
|
1409
1385
|
u,
|
1410
1386
|
d,
|
1411
|
-
|
1412
|
-
] }) }), e[20] = l, e[21] = a, e[22] = m, e[23] = d, e[24] =
|
1413
|
-
},
|
1414
|
-
component:
|
1415
|
-
open:
|
1387
|
+
h
|
1388
|
+
] }) }), e[20] = l, e[21] = a, e[22] = m, e[23] = d, e[24] = h, e[25] = _) : _ = e[25], _;
|
1389
|
+
}, so = "_component_1xxhv_10", ao = "_open_1xxhv_40", Re = {
|
1390
|
+
component: so,
|
1391
|
+
open: ao
|
1416
1392
|
}, ve = _e({
|
1417
1393
|
openSidebar: () => {
|
1418
1394
|
},
|
@@ -1421,22 +1397,22 @@ const un = "_component_7iu6s_10", $e = {
|
|
1421
1397
|
toggleSidebar: () => {
|
1422
1398
|
},
|
1423
1399
|
isOpen: !0
|
1424
|
-
}),
|
1425
|
-
const e =
|
1426
|
-
children:
|
1427
|
-
} = t, n = de(ve),
|
1400
|
+
}), Ao = (t) => {
|
1401
|
+
const e = C.c(6), {
|
1402
|
+
children: i
|
1403
|
+
} = t, n = de(ve), o = A(), c = n.isOpen && Re.open, r = Y(o + 1);
|
1428
1404
|
let l;
|
1429
1405
|
e[0] !== c || e[1] !== r ? (l = v(Re.component, c, r), e[0] = c, e[1] = r, e[2] = l) : l = e[2];
|
1430
1406
|
let a;
|
1431
|
-
return e[3] !==
|
1432
|
-
},
|
1433
|
-
component:
|
1434
|
-
},
|
1435
|
-
const e =
|
1436
|
-
children:
|
1407
|
+
return e[3] !== i || e[4] !== l ? (a = /* @__PURE__ */ s(te, { children: /* @__PURE__ */ s(ee, { direction: "column", className: l, children: i }) }), e[3] = i, e[4] = l, e[5] = a) : a = e[5], a;
|
1408
|
+
}, mo = "_component_f16q1_10", uo = {
|
1409
|
+
component: mo
|
1410
|
+
}, Ho = (t) => {
|
1411
|
+
const e = C.c(15), {
|
1412
|
+
children: i,
|
1437
1413
|
showSidebarByDefault: n,
|
1438
|
-
className:
|
1439
|
-
} = t, [c, r] =
|
1414
|
+
className: o
|
1415
|
+
} = t, [c, r] = I(n || !0);
|
1440
1416
|
let l;
|
1441
1417
|
e[0] === Symbol.for("react.memo_cache_sentinel") ? (l = () => {
|
1442
1418
|
r(!1);
|
@@ -1457,67 +1433,67 @@ const un = "_component_7iu6s_10", $e = {
|
|
1457
1433
|
isOpen: c
|
1458
1434
|
}, e[4] = c, e[5] = a, e[6] = u) : u = e[6];
|
1459
1435
|
let d;
|
1460
|
-
e[7] !==
|
1461
|
-
let
|
1462
|
-
e[9] !==
|
1463
|
-
let
|
1464
|
-
return e[12] !== u || e[13] !==
|
1465
|
-
},
|
1466
|
-
const e =
|
1467
|
-
className:
|
1436
|
+
e[7] !== o ? (d = v(uo.component, o), e[7] = o, e[8] = d) : d = e[8];
|
1437
|
+
let f;
|
1438
|
+
e[9] !== i || e[10] !== d ? (f = /* @__PURE__ */ s("div", { className: d, children: i }), e[9] = i, e[10] = d, e[11] = f) : f = e[11];
|
1439
|
+
let h;
|
1440
|
+
return e[12] !== u || e[13] !== f ? (h = /* @__PURE__ */ s(ve.Provider, { value: u, children: f }), e[12] = u, e[13] = f, e[14] = h) : h = e[14], h;
|
1441
|
+
}, zo = (t) => {
|
1442
|
+
const e = C.c(8), {
|
1443
|
+
className: i,
|
1468
1444
|
style: n
|
1469
|
-
} = t,
|
1445
|
+
} = t, o = de(ve), c = o.isOpen ? "Collapse UKSidebar" : "Expand UKSidebar", r = o.isOpen ? j.SidebarCollapse : j.SidebarExpand;
|
1470
1446
|
let l;
|
1471
|
-
e[0] !==
|
1472
|
-
|
1473
|
-
}, e[0] =
|
1447
|
+
e[0] !== o ? (l = () => {
|
1448
|
+
o.toggleSidebar();
|
1449
|
+
}, e[0] = o, e[1] = l) : l = e[1];
|
1474
1450
|
let a;
|
1475
|
-
return e[2] !==
|
1451
|
+
return e[2] !== i || e[3] !== n || e[4] !== c || e[5] !== r || e[6] !== l ? (a = /* @__PURE__ */ s(ne, { style: n, className: i, accessibleLabel: c, icon: r, onClick: l }), e[2] = i, e[3] = n, e[4] = c, e[5] = r, e[6] = l, e[7] = a) : a = e[7], a;
|
1476
1452
|
};
|
1477
1453
|
export {
|
1478
|
-
|
1454
|
+
Po as HasBeenShown,
|
1479
1455
|
Do as OnInView,
|
1480
|
-
|
1481
|
-
|
1456
|
+
vo as UIKitRoot,
|
1457
|
+
J as UKBox,
|
1482
1458
|
ge as UKButton,
|
1483
|
-
|
1484
|
-
|
1459
|
+
Co as UKButtonCombo,
|
1460
|
+
yo as UKButtonLink,
|
1485
1461
|
Yt as UKButtonWithIcon,
|
1486
1462
|
ce as UKCard,
|
1487
|
-
|
1463
|
+
Lo as UKCarousel,
|
1488
1464
|
Xt as UKContainer,
|
1489
|
-
|
1490
|
-
|
1491
|
-
|
1492
|
-
|
1465
|
+
No as UKContextMenu,
|
1466
|
+
yt as UKDecrementLevel,
|
1467
|
+
Bo as UKDialog,
|
1468
|
+
ee as UKFlex,
|
1493
1469
|
ie as UKHeading,
|
1494
1470
|
le as UKIcon,
|
1495
1471
|
ne as UKIconButton,
|
1496
|
-
|
1472
|
+
j as UKIcons,
|
1497
1473
|
Me as UKImage,
|
1498
1474
|
te as UKIncrementLevel,
|
1499
|
-
|
1500
|
-
|
1501
|
-
|
1502
|
-
|
1475
|
+
Oo as UKInfiniteScroll,
|
1476
|
+
xo as UKLink,
|
1477
|
+
Mo as UKNavBar,
|
1478
|
+
Fo as UKNavBarImage,
|
1503
1479
|
jo as UKNavBarTitle,
|
1504
|
-
|
1505
|
-
|
1506
|
-
|
1480
|
+
Ko as UKOnBoarding,
|
1481
|
+
Uo as UKPageHeader,
|
1482
|
+
Eo as UKPanAndZoom,
|
1507
1483
|
wo as UKProgressBar,
|
1508
|
-
|
1484
|
+
ko as UKRedirect,
|
1509
1485
|
me as UKSeparator,
|
1510
|
-
|
1511
|
-
|
1486
|
+
Ao as UKSidebar,
|
1487
|
+
Ho as UKSidebarContainer,
|
1512
1488
|
ve as UKSidebarContext,
|
1513
|
-
|
1514
|
-
|
1515
|
-
|
1516
|
-
|
1489
|
+
zo as UKSidebarToggleButton,
|
1490
|
+
So as UKSpinner,
|
1491
|
+
$o as UKSubText,
|
1492
|
+
Io as UKTag,
|
1517
1493
|
q as UKText,
|
1518
|
-
|
1519
|
-
|
1494
|
+
Ro as UKTextButton,
|
1495
|
+
To as UKTextInput,
|
1520
1496
|
v as clippy,
|
1521
|
-
|
1522
|
-
|
1497
|
+
po as useToasts,
|
1498
|
+
bo as utils
|
1523
1499
|
};
|