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