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