@telia-ace/widget-ui 1.0.33-next.4 → 1.0.33-next.5
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.js +441 -432
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
package/dist/index.js
CHANGED
|
@@ -1,37 +1,36 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
1
|
+
var at = Object.defineProperty, ct = Object.defineProperties;
|
|
2
|
+
var lt = Object.getOwnPropertyDescriptors;
|
|
3
3
|
var re = Object.getOwnPropertySymbols;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var Te = Object.prototype.hasOwnProperty, De = Object.prototype.propertyIsEnumerable;
|
|
5
|
+
var He = (e, t, n) => t in e ? at(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, h = (e, t) => {
|
|
6
6
|
for (var n in t || (t = {}))
|
|
7
|
-
|
|
7
|
+
Te.call(t, n) && He(e, n, t[n]);
|
|
8
8
|
if (re)
|
|
9
9
|
for (var n of re(t))
|
|
10
|
-
|
|
10
|
+
De.call(t, n) && He(e, n, t[n]);
|
|
11
11
|
return e;
|
|
12
|
-
}, k = (e, t) =>
|
|
12
|
+
}, k = (e, t) => ct(e, lt(t));
|
|
13
13
|
var R = (e, t) => {
|
|
14
14
|
var n = {};
|
|
15
15
|
for (var o in e)
|
|
16
|
-
|
|
16
|
+
Te.call(e, o) && t.indexOf(o) < 0 && (n[o] = e[o]);
|
|
17
17
|
if (e != null && re)
|
|
18
18
|
for (var o of re(e))
|
|
19
|
-
t.indexOf(o) < 0 &&
|
|
19
|
+
t.indexOf(o) < 0 && De.call(e, o) && (n[o] = e[o]);
|
|
20
20
|
return n;
|
|
21
21
|
};
|
|
22
|
-
|
|
23
|
-
import {
|
|
24
|
-
import
|
|
25
|
-
import {
|
|
26
|
-
import { css as L, keyframes as Oe } from "@emotion/react";
|
|
22
|
+
import { Container as ut, WidgetState as mt } from "@webprovisions/platform";
|
|
23
|
+
import r, { forwardRef as N, createContext as X, useContext as j, useState as $, useEffect as v, useRef as S, useCallback as T, useImperativeHandle as ge, useMemo as se, Component as dt, lazy as ft } from "react";
|
|
24
|
+
import { ComponentPlatform as ht, asDescriptor as pt, createEventSubscriber as gt, ComponentQuery as Ct, WidgetRenderState as oe, extendComponent as yt } from "@telia-ace/widget-core";
|
|
25
|
+
import { css as L, keyframes as Ie } from "@emotion/react";
|
|
27
26
|
import y from "@emotion/styled";
|
|
28
|
-
import { kebabCase as
|
|
29
|
-
import { CSSTransition as
|
|
30
|
-
import { createPortal as
|
|
31
|
-
import { HistoryMode as
|
|
32
|
-
import { Link as
|
|
33
|
-
import
|
|
34
|
-
const
|
|
27
|
+
import { kebabCase as bt, appendClassNames as M, uuid as Q, removeNullAndUndefinedValues as Be, Logger as me } from "@telia-ace/widget-utilities";
|
|
28
|
+
import { CSSTransition as Oe, Transition as vt } from "react-transition-group";
|
|
29
|
+
import { createPortal as Et } from "react-dom";
|
|
30
|
+
import { HistoryMode as ze, getSpecificWidgetPath as xt } from "@telia-ace/widget-routing";
|
|
31
|
+
import { Link as de } from "react-router-dom";
|
|
32
|
+
import Ne from "htmr";
|
|
33
|
+
const wt = (e) => e === "entering" || e === "entered", $t = (e) => e === "exiting" || e === "exited", K = {
|
|
35
34
|
fade: {
|
|
36
35
|
in: "opacity: 1;",
|
|
37
36
|
out: "opacity: 0;"
|
|
@@ -56,10 +55,10 @@ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exitin
|
|
|
56
55
|
in: "transform: scale(1);",
|
|
57
56
|
out: "transform: scale(0);"
|
|
58
57
|
}
|
|
59
|
-
},
|
|
58
|
+
}, kt = ["slide-up", "slide-down", "slide-left", "slide-right", "scale"], fe = {
|
|
60
59
|
compose: (e = "exited", t) => {
|
|
61
|
-
const { enter: n, exit: o } = t, s = n.transitionKeys.split(" "), i =
|
|
62
|
-
if (
|
|
60
|
+
const { enter: n, exit: o } = t, s = n.transitionKeys.split(" "), i = kt.indexOf(s[0]) > -1 ? "transform" : "opacity";
|
|
61
|
+
if (wt(e))
|
|
63
62
|
return s && s.length > 0 ? L`
|
|
64
63
|
${s && s.length > 0 && s.map((l) => K[l] ? K[l].in : "")}
|
|
65
64
|
transition: ${i} ${n.duration}ms ${n.easing};
|
|
@@ -67,7 +66,7 @@ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exitin
|
|
|
67
66
|
const a = s && s.length > 0 && L`
|
|
68
67
|
${s.map((l) => K[l] ? K[l].out : "")}
|
|
69
68
|
`;
|
|
70
|
-
if (
|
|
69
|
+
if ($t(e)) {
|
|
71
70
|
const l = o.transitionKeys.split(" ");
|
|
72
71
|
return l && l.length > 0 && e === "exiting" ? L`
|
|
73
72
|
${a};
|
|
@@ -78,7 +77,7 @@ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exitin
|
|
|
78
77
|
},
|
|
79
78
|
composeViewTransition: (e, t, n) => {
|
|
80
79
|
if (t === "slide")
|
|
81
|
-
return
|
|
80
|
+
return fe.compose(e, {
|
|
82
81
|
enter: {
|
|
83
82
|
transitionKeys: n === "forth" ? "slide-right" : "slide-left",
|
|
84
83
|
duration: 500
|
|
@@ -89,7 +88,7 @@ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exitin
|
|
|
89
88
|
}
|
|
90
89
|
});
|
|
91
90
|
if (t === "fade")
|
|
92
|
-
return
|
|
91
|
+
return fe.compose(e, {
|
|
93
92
|
enter: {
|
|
94
93
|
transitionKeys: "fade",
|
|
95
94
|
duration: 500
|
|
@@ -102,8 +101,8 @@ const $t = (e) => e === "entering" || e === "entered", kt = (e) => e === "exitin
|
|
|
102
101
|
},
|
|
103
102
|
get: (e) => K[e]
|
|
104
103
|
};
|
|
105
|
-
var
|
|
106
|
-
const
|
|
104
|
+
var he = /* @__PURE__ */ ((e) => (e.Opera = "opera", e.Chrome = "chrome", e.Firefox = "firefox", e.Safari = "safari", e.Edge = "edge", e.EdgeChromium = "edge-chromium", e.Blink = "blink", e.IE = "internet-explorer", e))(he || {});
|
|
105
|
+
const Ve = () => {
|
|
107
106
|
const {
|
|
108
107
|
opr: e,
|
|
109
108
|
opera: t,
|
|
@@ -125,51 +124,51 @@ const We = () => {
|
|
|
125
124
|
const p = !!i;
|
|
126
125
|
if (p)
|
|
127
126
|
return "internet-explorer";
|
|
128
|
-
if (!p &&
|
|
127
|
+
if (!p && a)
|
|
129
128
|
return "edge";
|
|
130
129
|
const d = !!l && (!!l.webstore || !!l.runtime);
|
|
131
130
|
if (d)
|
|
132
131
|
return "chrome";
|
|
133
132
|
if (d && navigator.userAgent.indexOf("Edg") !== -1)
|
|
134
133
|
return "edge-chromium";
|
|
135
|
-
if ((d || c) &&
|
|
134
|
+
if ((d || c) && u)
|
|
136
135
|
return "blink";
|
|
137
|
-
},
|
|
136
|
+
}, Lt = ["string", "number"], V = (e) => Object.keys(e).reduce((t, n) => {
|
|
138
137
|
const o = typeof e[n] == "undefined" ? "" : e[n], s = typeof o;
|
|
139
|
-
if (
|
|
138
|
+
if (Lt.indexOf(s) > -1) {
|
|
140
139
|
const i = n.substring(0, 5);
|
|
141
|
-
i === "data-" || i === "aria-" ? t[
|
|
140
|
+
i === "data-" || i === "aria-" ? t[bt(n)] = o.toString() : n.substring(0, 4) !== "css-" && (t[n] = o.toString());
|
|
142
141
|
} else
|
|
143
142
|
t[n] = o;
|
|
144
143
|
return t;
|
|
145
|
-
}, {}),
|
|
144
|
+
}, {}), Mt = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(Kn, h({}, t)) : null, go = Mt, St = (e) => new RegExp("^#", "i").test(e), Rt = (e) => (o) => {
|
|
146
145
|
var s = o, { children: t } = s, n = R(s, ["children"]);
|
|
147
146
|
const {
|
|
148
147
|
implementation: i,
|
|
149
148
|
name: a
|
|
150
149
|
} = e.get("$widget"), { href: l = "" } = n;
|
|
151
|
-
if (
|
|
152
|
-
return /* @__PURE__ */ r.createElement(
|
|
150
|
+
if (St(l))
|
|
151
|
+
return /* @__PURE__ */ r.createElement(Zt, { smooth: !0, to: l }, t);
|
|
153
152
|
const u = i.bindings.map((p) => p.replace(/\./g, "\\.")).join("|"), m = new RegExp(`^((http[s]?:)?//)?(${u})/([^\\s]+)`).exec(l);
|
|
154
153
|
if (m && m.length >= 4) {
|
|
155
154
|
const p = m[4];
|
|
156
155
|
if (i.widgets.get(p) && !p.startsWith("blob?") && !p.startsWith(a))
|
|
157
|
-
return /* @__PURE__ */ r.createElement(
|
|
156
|
+
return /* @__PURE__ */ r.createElement(eo, { widgetName: p }, t);
|
|
158
157
|
}
|
|
159
158
|
return /* @__PURE__ */ r.createElement("a", h({}, n), t);
|
|
160
|
-
},
|
|
159
|
+
}, Ht = Rt, Pe = (e) => {
|
|
161
160
|
const t = {};
|
|
162
161
|
return Object.keys(e).forEach((n) => {
|
|
163
162
|
n.indexOf("css-") > -1 && (t[n] = e[n]);
|
|
164
163
|
}), t;
|
|
165
|
-
},
|
|
164
|
+
}, Tt = (e) => {
|
|
166
165
|
let t = "";
|
|
167
|
-
return Object.keys(
|
|
166
|
+
return Object.keys(Pe(e)).forEach((n) => {
|
|
168
167
|
n.indexOf("css-") > -1 && (t += `${n.replace("css-", "")}:${e[n]};`);
|
|
169
168
|
}), L`
|
|
170
169
|
${t}
|
|
171
170
|
`;
|
|
172
|
-
},
|
|
171
|
+
}, Dt = Pe, Bt = (e, t) => {
|
|
173
172
|
let n = "";
|
|
174
173
|
const o = () => {
|
|
175
174
|
n = "";
|
|
@@ -180,7 +179,7 @@ const We = () => {
|
|
|
180
179
|
e.scroll || ((d) => e.smooth ? d.scrollIntoView({ behavior: "smooth" }) : d.scrollIntoView())
|
|
181
180
|
), !1), m = e, { scroll: a, smooth: l, to: u } = m, c = R(m, ["scroll", "smooth", "to"]);
|
|
182
181
|
return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ r.createElement(t, k(h({}, c), { onClick: i }), e.children);
|
|
183
|
-
},
|
|
182
|
+
}, ie = (e) => (t, n) => {
|
|
184
183
|
let o = t, s = "";
|
|
185
184
|
if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(t))
|
|
186
185
|
o = t;
|
|
@@ -199,18 +198,18 @@ const We = () => {
|
|
|
199
198
|
}
|
|
200
199
|
`;
|
|
201
200
|
};
|
|
202
|
-
function
|
|
203
|
-
return t ?
|
|
201
|
+
function zt(e, t) {
|
|
202
|
+
return t ? Ne(e, t) : Ne(e);
|
|
204
203
|
}
|
|
205
|
-
const
|
|
204
|
+
const Nt = (e) => (t) => /* @__PURE__ */ r.createElement(Dr, { attrs: t, htmlBody: e }), Vt = (e, t) => ({
|
|
206
205
|
transform: {
|
|
207
|
-
a:
|
|
208
|
-
img:
|
|
206
|
+
a: Ht(e),
|
|
207
|
+
img: Nt(t)
|
|
209
208
|
}
|
|
210
|
-
}),
|
|
209
|
+
}), Wt = (e) => Bt(e, "a"), Zt = Wt, ae = N((s, o) => {
|
|
211
210
|
var i = s, { className: e, children: t } = i, n = R(i, ["className", "children"]);
|
|
212
211
|
return /* @__PURE__ */ r.createElement(
|
|
213
|
-
|
|
212
|
+
It,
|
|
214
213
|
k(h({
|
|
215
214
|
type: "button",
|
|
216
215
|
className: M(e, "humany-button")
|
|
@@ -219,7 +218,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
219
218
|
}),
|
|
220
219
|
t
|
|
221
220
|
);
|
|
222
|
-
}),
|
|
221
|
+
}), It = y.button`
|
|
223
222
|
-webkit-appearance: button;
|
|
224
223
|
text-transform: none;
|
|
225
224
|
overflow: visible;
|
|
@@ -232,7 +231,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
232
231
|
line-height: normal;
|
|
233
232
|
margin: 0;
|
|
234
233
|
padding: 0;
|
|
235
|
-
`,
|
|
234
|
+
`, Ot = (s) => {
|
|
236
235
|
var i = s, {
|
|
237
236
|
onChange: e = () => {
|
|
238
237
|
},
|
|
@@ -254,43 +253,43 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
254
253
|
onChange: (a) => e(a.target.value, a.currentTarget.checked)
|
|
255
254
|
}, V(o))
|
|
256
255
|
);
|
|
257
|
-
},
|
|
256
|
+
}, Co = Ot, Pt = X(new ut()), At = X(1), Ae = X({
|
|
258
257
|
id: "",
|
|
259
258
|
type: "",
|
|
260
259
|
name: "",
|
|
261
260
|
branch: ""
|
|
262
|
-
}),
|
|
263
|
-
const n =
|
|
261
|
+
}), Ft = X({}), Kt = X(null), jt = X(null), Yt = () => j(Ae), Ce = Yt, Xt = () => j(Pt), Z = Xt, Ut = (e, t) => {
|
|
262
|
+
const n = Ce().id, o = Z();
|
|
264
263
|
return (s, i) => {
|
|
265
264
|
(t || o).getAsync("actionResolver").then((a) => {
|
|
266
265
|
a.action(e || n, s, i);
|
|
267
266
|
});
|
|
268
267
|
};
|
|
269
|
-
},
|
|
270
|
-
const t = j(
|
|
268
|
+
}, yo = Ut, _t = (e) => {
|
|
269
|
+
const t = j(Ae), n = U(), [o, s] = $();
|
|
271
270
|
return v(() => {
|
|
272
271
|
if ((e || t.id) && n) {
|
|
273
272
|
const i = n.nodes.get(e || t.id);
|
|
274
273
|
s(i);
|
|
275
274
|
}
|
|
276
275
|
}, [e, t.id, n]), o;
|
|
277
|
-
},
|
|
276
|
+
}, ye = _t, qt = () => {
|
|
278
277
|
const e = S(!1);
|
|
279
278
|
return v(() => (e.current = !0, () => {
|
|
280
279
|
e.current = !1;
|
|
281
280
|
}), []), e;
|
|
282
|
-
}, O =
|
|
281
|
+
}, O = qt, Qt = (e) => {
|
|
283
282
|
const t = Z(), [n, o] = $(null), s = O();
|
|
284
283
|
return v(() => {
|
|
285
|
-
|
|
284
|
+
ht.getInstance(e || t).then((i) => {
|
|
286
285
|
s.current && o(i);
|
|
287
286
|
});
|
|
288
287
|
}, [s]), n;
|
|
289
|
-
}, U =
|
|
290
|
-
const e =
|
|
288
|
+
}, U = Qt, Gt = () => {
|
|
289
|
+
const e = ye(), t = U(), [n, o] = $([]), s = O(), i = T(
|
|
291
290
|
(a) => {
|
|
292
291
|
if (t && s.current && a) {
|
|
293
|
-
const l = t.getBranch(a), u = a.getChildren(l).map((c) =>
|
|
292
|
+
const l = t.getBranch(a), u = a.getChildren(l).map((c) => pt(c));
|
|
294
293
|
o(u);
|
|
295
294
|
}
|
|
296
295
|
},
|
|
@@ -300,7 +299,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
300
299
|
e && i(e);
|
|
301
300
|
}, [e, t]), v(() => {
|
|
302
301
|
if (t) {
|
|
303
|
-
const [a, l] =
|
|
302
|
+
const [a, l] = gt(t.events);
|
|
304
303
|
return a("components:set-layout", (u, c) => {
|
|
305
304
|
(e === c.node.parent || c.node.parent === t.nodes.root) && i(c.node.parent);
|
|
306
305
|
}), a("components:node-appended", (u, c) => {
|
|
@@ -312,8 +311,8 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
312
311
|
};
|
|
313
312
|
}
|
|
314
313
|
}, [e, t, i]), n;
|
|
315
|
-
},
|
|
316
|
-
const n =
|
|
314
|
+
}, bo = Gt, Jt = () => j(At), vo = Jt, en = (e, t) => {
|
|
315
|
+
const n = Ce(), o = Z(), [s, i] = $(void 0), a = O(), l = e || n.type || "";
|
|
317
316
|
return v(() => {
|
|
318
317
|
if (l) {
|
|
319
318
|
let u;
|
|
@@ -330,8 +329,8 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
330
329
|
};
|
|
331
330
|
}
|
|
332
331
|
}, [a, l, t, o]), s;
|
|
333
|
-
},
|
|
334
|
-
const t =
|
|
332
|
+
}, Eo = en, tn = (e) => {
|
|
333
|
+
const t = ye(e), n = U(), [o, s] = $({}), i = O();
|
|
335
334
|
return v(() => {
|
|
336
335
|
t && i.current && s(t.attributes.context);
|
|
337
336
|
}, [i, t]), v(() => {
|
|
@@ -347,11 +346,11 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
347
346
|
};
|
|
348
347
|
}
|
|
349
348
|
}, [i, n, t]), o;
|
|
350
|
-
},
|
|
351
|
-
const e = U(), t =
|
|
349
|
+
}, nn = tn, rn = () => j(jt), xo = rn, on = () => {
|
|
350
|
+
const e = U(), t = Ce(), [n, o] = $([]), [s, i] = $();
|
|
352
351
|
return v(() => {
|
|
353
352
|
if (e && t) {
|
|
354
|
-
const a = new
|
|
353
|
+
const a = new Ct(e).withId(t.id), l = e.actions(a, t.type || Q());
|
|
355
354
|
i(l), n !== null && (n.forEach((u) => {
|
|
356
355
|
l.dispatch(u.key, u.data).then((c) => u.resolve(c)).catch((c) => u.reject(c));
|
|
357
356
|
}), o(null));
|
|
@@ -364,7 +363,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
364
363
|
reject: c
|
|
365
364
|
});
|
|
366
365
|
}) : s.dispatch(a, l);
|
|
367
|
-
},
|
|
366
|
+
}, wo = on, I = (e, t, n = window, o = () => !0) => {
|
|
368
367
|
const s = S(() => {
|
|
369
368
|
});
|
|
370
369
|
v(() => {
|
|
@@ -377,10 +376,10 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
377
376
|
n.removeEventListener(e, a);
|
|
378
377
|
};
|
|
379
378
|
}, [e, n]);
|
|
380
|
-
},
|
|
379
|
+
}, sn = (e) => {
|
|
381
380
|
const t = Z(), { events: n } = (e || t).get("$widget");
|
|
382
381
|
return n;
|
|
383
|
-
},
|
|
382
|
+
}, an = sn, cn = () => {
|
|
384
383
|
const [e, t] = $(!1);
|
|
385
384
|
return v(() => {
|
|
386
385
|
const n = () => {
|
|
@@ -392,7 +391,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
392
391
|
window.removeEventListener("keydown", o), window.removeEventListener("click", n);
|
|
393
392
|
};
|
|
394
393
|
}, []), e;
|
|
395
|
-
},
|
|
394
|
+
}, $o = cn, ln = (e, t) => {
|
|
396
395
|
const [n, o] = $(!1), s = T(
|
|
397
396
|
(a) => {
|
|
398
397
|
const { key: l } = a;
|
|
@@ -406,8 +405,8 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
406
405
|
[o]
|
|
407
406
|
);
|
|
408
407
|
return I("keydown", s, window), I("keyup", i, window), n;
|
|
409
|
-
}, Y =
|
|
410
|
-
const t =
|
|
408
|
+
}, Y = ln, un = (e) => {
|
|
409
|
+
const t = ye(e), n = U(), [o, s] = $({}), i = O();
|
|
411
410
|
return v(() => {
|
|
412
411
|
t && i.current && s(t.attributes.layout);
|
|
413
412
|
}, [t, i]), v(() => {
|
|
@@ -423,12 +422,12 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
423
422
|
};
|
|
424
423
|
}
|
|
425
424
|
}, [n, i, t]), o;
|
|
426
|
-
},
|
|
425
|
+
}, ko = un, mn = (e) => {
|
|
427
426
|
const t = S();
|
|
428
427
|
return v(() => {
|
|
429
428
|
t.current = e;
|
|
430
429
|
}), t.current;
|
|
431
|
-
},
|
|
430
|
+
}, Fe = mn, dn = () => j(Ft), Lo = dn, fn = (e) => {
|
|
432
431
|
const [t, n] = $(), o = Z(), s = O();
|
|
433
432
|
return v(() => {
|
|
434
433
|
let i;
|
|
@@ -444,19 +443,19 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
444
443
|
case "close":
|
|
445
444
|
case "open":
|
|
446
445
|
s.current && n(
|
|
447
|
-
p === "open" ?
|
|
446
|
+
p === "open" ? oe.open : oe.closed
|
|
448
447
|
);
|
|
449
448
|
break;
|
|
450
449
|
case "hide":
|
|
451
|
-
s.current && n(
|
|
450
|
+
s.current && n(oe.hidden);
|
|
452
451
|
}
|
|
453
452
|
});
|
|
454
453
|
}), () => {
|
|
455
454
|
i && i();
|
|
456
455
|
};
|
|
457
456
|
}, [s]), t;
|
|
458
|
-
},
|
|
459
|
-
const t = Z(), n =
|
|
457
|
+
}, Mo = fn, hn = () => j(Kt), Ke = hn, pn = (e) => {
|
|
458
|
+
const t = Z(), n = Ke(), [o, s] = $({ name: "", params: {} }), i = O();
|
|
460
459
|
return v(() => {
|
|
461
460
|
const a = (e || t).get("$widget");
|
|
462
461
|
if (!a)
|
|
@@ -465,16 +464,16 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
465
464
|
return l.subscribe("router:change", (c, { next: { routeData: m } }) => {
|
|
466
465
|
if (i.current) {
|
|
467
466
|
const { name: p, params: d } = m;
|
|
468
|
-
|
|
467
|
+
Be(d), s({ name: p, params: d });
|
|
469
468
|
}
|
|
470
469
|
});
|
|
471
470
|
}, [i, e, t]), v(() => {
|
|
472
471
|
if (n && n.history && i.current) {
|
|
473
472
|
const a = n.getRouteData(), { name: l, params: u } = a;
|
|
474
|
-
|
|
473
|
+
Be(u), s({ name: l, params: u });
|
|
475
474
|
}
|
|
476
475
|
}, [n, i]), o;
|
|
477
|
-
},
|
|
476
|
+
}, So = pn, je = (e) => {
|
|
478
477
|
const t = S(), n = S(0);
|
|
479
478
|
let o;
|
|
480
479
|
const s = T(() => {
|
|
@@ -500,9 +499,9 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
500
499
|
},
|
|
501
500
|
[t, n]
|
|
502
501
|
);
|
|
503
|
-
return I("scroll", s, t.current, () => t.current && e), I("touchstart", i, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [
|
|
504
|
-
},
|
|
505
|
-
overflow-y: ${
|
|
502
|
+
return I("scroll", s, t.current, () => t.current && e), I("touchstart", i, t.current, () => t.current && e), I("touchmove", u, t.current, () => t.current && e), e ? [gn, t] : ["", t];
|
|
503
|
+
}, gn = `
|
|
504
|
+
overflow-y: ${Ve() === he.Chrome || Ve() === he.EdgeChromium ? "overlay" : "auto"};
|
|
506
505
|
overflow-x: hidden;
|
|
507
506
|
-ms-overflow-style: none; /* IE 10+ */
|
|
508
507
|
scrollbar-width: thin; /* Firefox */
|
|
@@ -529,19 +528,19 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
529
528
|
background-color: #7F7F7F;
|
|
530
529
|
}
|
|
531
530
|
}
|
|
532
|
-
`,
|
|
531
|
+
`, Cn = () => {
|
|
533
532
|
const [e, t] = $(null), n = Z(), o = O();
|
|
534
533
|
return v(() => {
|
|
535
534
|
n.get("settings").then((s) => {
|
|
536
535
|
o.current && t(s);
|
|
537
536
|
});
|
|
538
537
|
}, [o]), e;
|
|
539
|
-
},
|
|
538
|
+
}, Ro = Cn, yn = (e = !1) => {
|
|
540
539
|
const [t, n] = $(e), o = T((s) => {
|
|
541
540
|
n(typeof s == "boolean" ? s : (i) => !i);
|
|
542
541
|
}, []);
|
|
543
542
|
return [t, o];
|
|
544
|
-
},
|
|
543
|
+
}, Ye = yn, Ho = (e) => {
|
|
545
544
|
const t = Z(), n = U(), o = t.get("widgetDOMElement"), [s, i] = $(null), [a, l] = $(null), u = O();
|
|
546
545
|
v(() => {
|
|
547
546
|
if (n && u.current) {
|
|
@@ -563,8 +562,8 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
563
562
|
[e, u, s, a]
|
|
564
563
|
);
|
|
565
564
|
I("transitionend", c, s), I("transitionend", c, a);
|
|
566
|
-
},
|
|
567
|
-
const s =
|
|
565
|
+
}, bn = (e, t, n = [], o) => {
|
|
566
|
+
const s = an(o);
|
|
568
567
|
return v(() => {
|
|
569
568
|
if (s) {
|
|
570
569
|
const i = s.subscribe(e, t);
|
|
@@ -573,12 +572,12 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
573
572
|
};
|
|
574
573
|
}
|
|
575
574
|
}, [s].concat(n)), (i) => s == null ? void 0 : s.dispatch(e, i);
|
|
576
|
-
},
|
|
577
|
-
const n =
|
|
575
|
+
}, ce = bn, vn = (e, t) => {
|
|
576
|
+
const n = ce("widget:menu-toggled", (o, s) => {
|
|
578
577
|
s !== e && t();
|
|
579
578
|
});
|
|
580
579
|
return () => n(e);
|
|
581
|
-
},
|
|
580
|
+
}, be = vn, En = (o) => {
|
|
582
581
|
var s = o, { className: e, children: t } = s, n = R(s, ["className", "children"]);
|
|
583
582
|
return /* @__PURE__ */ r.createElement(
|
|
584
583
|
"span",
|
|
@@ -587,7 +586,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
587
586
|
}, V(n)),
|
|
588
587
|
t
|
|
589
588
|
);
|
|
590
|
-
},
|
|
589
|
+
}, ve = En, Xe = (e) => L`
|
|
591
590
|
display: flex;
|
|
592
591
|
justify-content: center;
|
|
593
592
|
flex-direction: column;
|
|
@@ -596,7 +595,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
596
595
|
border: ${e.theme.border};
|
|
597
596
|
box-shadow: ${e.theme.boxShadow || "none"};
|
|
598
597
|
${e["data-loading"] && "min-height: 150px;"}
|
|
599
|
-
`,
|
|
598
|
+
`, xn = (e) => {
|
|
600
599
|
var t, n, o;
|
|
601
600
|
return L`
|
|
602
601
|
cursor: pointer;
|
|
@@ -608,11 +607,11 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
608
607
|
font-family: ${(n = e.theme.fonts) == null ? void 0 : n.type};
|
|
609
608
|
font-size: ${(o = e.theme.fonts) == null ? void 0 : o.normal};
|
|
610
609
|
`;
|
|
611
|
-
},
|
|
610
|
+
}, To = (e) => {
|
|
612
611
|
var a;
|
|
613
612
|
const { primaryColor: t, secondaryColor: n, active: o, theme: s, disabled: i } = e;
|
|
614
613
|
return L`
|
|
615
|
-
${
|
|
614
|
+
${xn(e)}
|
|
616
615
|
border: 1px solid ${o ? n : t};
|
|
617
616
|
background-color: ${o ? t : n};
|
|
618
617
|
|
|
@@ -653,16 +652,16 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
653
652
|
color: ${(o = (n = e.theme.accessibility) == null ? void 0 : n.colors) == null ? void 0 : o.inactiveText};
|
|
654
653
|
border-color: transparent;
|
|
655
654
|
`;
|
|
656
|
-
},
|
|
655
|
+
}, wn = (e) => L`
|
|
657
656
|
${A(e)}
|
|
658
657
|
text-decoration: underline;
|
|
659
|
-
`,
|
|
658
|
+
`, Do = (e) => {
|
|
660
659
|
var t;
|
|
661
660
|
return L`
|
|
662
661
|
${A(e)}
|
|
663
662
|
outline-offset: ${(t = e.theme.sizes) == null ? void 0 : t.small};
|
|
664
663
|
`;
|
|
665
|
-
},
|
|
664
|
+
}, Ee = y(ae)`
|
|
666
665
|
position: absolute;
|
|
667
666
|
top: ${(e) => {
|
|
668
667
|
var t;
|
|
@@ -690,7 +689,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
690
689
|
height: 15px;
|
|
691
690
|
box-sizing: content-box;
|
|
692
691
|
}
|
|
693
|
-
`,
|
|
692
|
+
`, We = y(ve)`
|
|
694
693
|
font-size: ${(e) => {
|
|
695
694
|
var t;
|
|
696
695
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
@@ -701,7 +700,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
701
700
|
var t;
|
|
702
701
|
return (t = e.theme.colors) == null ? void 0 : t.text;
|
|
703
702
|
}};
|
|
704
|
-
`,
|
|
703
|
+
`, $n = (e) => {
|
|
705
704
|
var t;
|
|
706
705
|
return L`
|
|
707
706
|
padding: 0;
|
|
@@ -723,11 +722,11 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
723
722
|
margin: 0;
|
|
724
723
|
}
|
|
725
724
|
`;
|
|
726
|
-
},
|
|
725
|
+
}, Bo = (e) => {
|
|
727
726
|
var t, n, o, s;
|
|
728
727
|
return L`
|
|
729
728
|
> div {
|
|
730
|
-
${
|
|
729
|
+
${ie(e)(
|
|
731
730
|
"> h1",
|
|
732
731
|
L`
|
|
733
732
|
margin: 0 0 ${(t = e.theme.sizes) == null ? void 0 : t.normal};
|
|
@@ -739,9 +738,9 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
739
738
|
)}
|
|
740
739
|
}
|
|
741
740
|
> ul {
|
|
742
|
-
${
|
|
741
|
+
${$n(e)}
|
|
743
742
|
}
|
|
744
|
-
${
|
|
743
|
+
${ie(e)(
|
|
745
744
|
"h1",
|
|
746
745
|
L`
|
|
747
746
|
display: flex;
|
|
@@ -759,7 +758,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
759
758
|
`
|
|
760
759
|
)}
|
|
761
760
|
`;
|
|
762
|
-
},
|
|
761
|
+
}, zo = (e) => {
|
|
763
762
|
var t, n, o, s, i, a;
|
|
764
763
|
return L`
|
|
765
764
|
font-size: ${(t = e.theme.fonts) == null ? void 0 : t.normal};
|
|
@@ -788,7 +787,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
788
787
|
a {
|
|
789
788
|
color: ${(o = e.theme.colors) == null ? void 0 : o.link};
|
|
790
789
|
&:focus-visible {
|
|
791
|
-
${
|
|
790
|
+
${wn(e)};
|
|
792
791
|
}
|
|
793
792
|
}
|
|
794
793
|
|
|
@@ -814,7 +813,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
814
813
|
margin: 0;
|
|
815
814
|
}
|
|
816
815
|
`;
|
|
817
|
-
},
|
|
816
|
+
}, kn = ({
|
|
818
817
|
elementId: e = "humany-portal-elements",
|
|
819
818
|
parent: t = document.body,
|
|
820
819
|
children: n
|
|
@@ -825,8 +824,8 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
825
824
|
});
|
|
826
825
|
return v(() => (t.appendChild(o), () => {
|
|
827
826
|
o.childElementCount <= 1 && o.remove();
|
|
828
|
-
}), [o]),
|
|
829
|
-
}, G =
|
|
827
|
+
}), [o]), Et(n, o);
|
|
828
|
+
}, G = kn, Ln = (l) => {
|
|
830
829
|
var u = l, {
|
|
831
830
|
text: e = "",
|
|
832
831
|
backgroundSize: t = "contain",
|
|
@@ -923,7 +922,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
923
922
|
case "caret-left":
|
|
924
923
|
return /* @__PURE__ */ r.createElement("svg", h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "10.13", y1: "12.95", x2: "4.13", y2: "6.95", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "4.13", y1: "7.05", x2: "10.13", y2: "1.05", stroke: "black" }));
|
|
925
924
|
case "caret-up":
|
|
926
|
-
return /* @__PURE__ */ r.createElement(
|
|
925
|
+
return /* @__PURE__ */ r.createElement(Mn, h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "13.09", y1: "3.99", x2: "7.1", y2: "9.99", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "7.19", y1: "9.99", x2: "1.19", y2: "3.99", stroke: "black" }));
|
|
927
926
|
case "caret-down":
|
|
928
927
|
return /* @__PURE__ */ r.createElement("svg", h({ viewBox: "0 0 14 14", style: f }, d), /* @__PURE__ */ r.createElement("line", { x1: "13.09", y1: "3.99", x2: "7.1", y2: "9.99", stroke: "black" }), /* @__PURE__ */ r.createElement("line", { x1: "7.19", y1: "9.99", x2: "1.19", y2: "3.99", stroke: "black" }));
|
|
929
928
|
case "back":
|
|
@@ -1309,7 +1308,7 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
1309
1308
|
}
|
|
1310
1309
|
case "FontAwesome":
|
|
1311
1310
|
return /* @__PURE__ */ r.createElement(
|
|
1312
|
-
|
|
1311
|
+
Un,
|
|
1313
1312
|
h({
|
|
1314
1313
|
className: i,
|
|
1315
1314
|
faIcon: m,
|
|
@@ -1327,9 +1326,9 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
1327
1326
|
e.substring(0, 2)
|
|
1328
1327
|
) : null;
|
|
1329
1328
|
}
|
|
1330
|
-
},
|
|
1329
|
+
}, Mn = y.svg`
|
|
1331
1330
|
transform: rotate(180deg);
|
|
1332
|
-
`, J =
|
|
1331
|
+
`, J = Ln, Sn = {
|
|
1333
1332
|
h1: "h1",
|
|
1334
1333
|
h2: "h2",
|
|
1335
1334
|
h3: "h3",
|
|
@@ -1338,12 +1337,12 @@ const Vt = (e) => (t) => /* @__PURE__ */ r.createElement(Br, { attrs: t, htmlBod
|
|
|
1338
1337
|
h6: "h6",
|
|
1339
1338
|
p: "p",
|
|
1340
1339
|
span: "span"
|
|
1341
|
-
},
|
|
1342
|
-
const { typographyVariantMapping: s = {} } =
|
|
1343
|
-
return /* @__PURE__ */ r.createElement(
|
|
1344
|
-
},
|
|
1345
|
-
var
|
|
1346
|
-
const
|
|
1340
|
+
}, Rn = ({ variant: e, component: t, className: n, children: o }) => {
|
|
1341
|
+
const { typographyVariantMapping: s = {} } = nn(), i = h(h({}, Sn), s), a = t || i[e] || "span";
|
|
1342
|
+
return /* @__PURE__ */ r.createElement(Hn, { className: n, as: a }, o);
|
|
1343
|
+
}, Hn = y.span``, q = Rn;
|
|
1344
|
+
var Tn = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Tn || {});
|
|
1345
|
+
const Dn = 300, Bn = ({
|
|
1347
1346
|
className: e,
|
|
1348
1347
|
children: t,
|
|
1349
1348
|
header: n,
|
|
@@ -1353,9 +1352,10 @@ const Bn = 300, zn = ({
|
|
|
1353
1352
|
closeButtonAriaLabel: a,
|
|
1354
1353
|
animation: l = {
|
|
1355
1354
|
type: "slide-in-bottom"
|
|
1355
|
+
/* SlideInBottom */
|
|
1356
1356
|
}
|
|
1357
1357
|
}) => {
|
|
1358
|
-
const { duration: u =
|
|
1358
|
+
const { duration: u = Dn } = l, c = S(), m = S(), [p, d] = je(!0), [f, C] = Ye(), x = Fe(f), E = S(Q());
|
|
1359
1359
|
v(() => {
|
|
1360
1360
|
o && o(f);
|
|
1361
1361
|
}, [f]);
|
|
@@ -1370,17 +1370,17 @@ const Bn = 300, zn = ({
|
|
|
1370
1370
|
},
|
|
1371
1371
|
window
|
|
1372
1372
|
);
|
|
1373
|
-
const g =
|
|
1373
|
+
const g = be(E.current, () => {
|
|
1374
1374
|
C(!1);
|
|
1375
1375
|
});
|
|
1376
|
-
|
|
1376
|
+
ce("router:changed", () => {
|
|
1377
1377
|
C(!1);
|
|
1378
1378
|
}), v(() => {
|
|
1379
1379
|
f && c.current ? c.current.focus() : !f && m.current && x && m.current.focus();
|
|
1380
1380
|
}, [f, c.current, m.current]);
|
|
1381
|
-
const H =
|
|
1381
|
+
const H = In[l.type];
|
|
1382
1382
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
1383
|
-
|
|
1383
|
+
Oe,
|
|
1384
1384
|
{
|
|
1385
1385
|
in: f,
|
|
1386
1386
|
className: "humany-drawer-transition",
|
|
@@ -1403,7 +1403,7 @@ const Bn = 300, zn = ({
|
|
|
1403
1403
|
ref: d
|
|
1404
1404
|
},
|
|
1405
1405
|
/* @__PURE__ */ r.createElement(
|
|
1406
|
-
|
|
1406
|
+
Ee,
|
|
1407
1407
|
{
|
|
1408
1408
|
onClick: () => C(!1),
|
|
1409
1409
|
tabIndex: 0,
|
|
@@ -1412,7 +1412,7 @@ const Bn = 300, zn = ({
|
|
|
1412
1412
|
},
|
|
1413
1413
|
/* @__PURE__ */ r.createElement(J, { symbol: { type: "Svg", content: "close" } })
|
|
1414
1414
|
),
|
|
1415
|
-
!!n && /* @__PURE__ */ r.createElement(
|
|
1415
|
+
!!n && /* @__PURE__ */ r.createElement(zn, { variant: "h1", className: "humany-drawer-header" }, n),
|
|
1416
1416
|
t
|
|
1417
1417
|
))
|
|
1418
1418
|
), r.cloneElement(s, {
|
|
@@ -1423,7 +1423,7 @@ const Bn = 300, zn = ({
|
|
|
1423
1423
|
"aria-label": s.props.title,
|
|
1424
1424
|
"aria-expanded": f
|
|
1425
1425
|
}));
|
|
1426
|
-
},
|
|
1426
|
+
}, No = Bn, le = y.div`
|
|
1427
1427
|
font-family: ${(e) => {
|
|
1428
1428
|
var t;
|
|
1429
1429
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -1440,7 +1440,7 @@ const Bn = 300, zn = ({
|
|
|
1440
1440
|
box-shadow: ${(e) => e.theme.boxShadow};
|
|
1441
1441
|
background: #ffffff;
|
|
1442
1442
|
${(e) => e.css && e.css}
|
|
1443
|
-
`,
|
|
1443
|
+
`, zn = y(q)`
|
|
1444
1444
|
padding: ${(e) => {
|
|
1445
1445
|
var t;
|
|
1446
1446
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
@@ -1463,11 +1463,11 @@ const Bn = 300, zn = ({
|
|
|
1463
1463
|
return (t = e.theme.fonts) == null ? void 0 : t.normal;
|
|
1464
1464
|
}};
|
|
1465
1465
|
line-height: 1.2em;
|
|
1466
|
-
`,
|
|
1466
|
+
`, ue = (e) => L`
|
|
1467
1467
|
transition: ${e.duration}ms;
|
|
1468
|
-
`,
|
|
1468
|
+
`, Nn = y(le)`
|
|
1469
1469
|
max-height: 0;
|
|
1470
|
-
${
|
|
1470
|
+
${ue}
|
|
1471
1471
|
|
|
1472
1472
|
&.humany-drawer-transition-enter {
|
|
1473
1473
|
max-height: 0;
|
|
@@ -1482,8 +1482,8 @@ const Bn = 300, zn = ({
|
|
|
1482
1482
|
&.humany-drawer-transition-exit-done {
|
|
1483
1483
|
max-height: 0;
|
|
1484
1484
|
}
|
|
1485
|
-
`,
|
|
1486
|
-
${
|
|
1485
|
+
`, Vn = y(le)`
|
|
1486
|
+
${ue}
|
|
1487
1487
|
transform: translateX(100%);
|
|
1488
1488
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
1489
1489
|
|
|
@@ -1500,8 +1500,8 @@ const Bn = 300, zn = ({
|
|
|
1500
1500
|
&.humany-drawer-transition-exit-done {
|
|
1501
1501
|
transform: translateX(100%);
|
|
1502
1502
|
}
|
|
1503
|
-
`,
|
|
1504
|
-
${
|
|
1503
|
+
`, Wn = y(le)`
|
|
1504
|
+
${ue}
|
|
1505
1505
|
transform: translateX(-100%);
|
|
1506
1506
|
height: ${(e) => e.fullScreen ? "100%" : "auto"};
|
|
1507
1507
|
|
|
@@ -1518,8 +1518,8 @@ const Bn = 300, zn = ({
|
|
|
1518
1518
|
&.humany-drawer-transition-exit-done {
|
|
1519
1519
|
transform: translateX(-100%);
|
|
1520
1520
|
}
|
|
1521
|
-
`,
|
|
1522
|
-
${
|
|
1521
|
+
`, Zn = y(le)`
|
|
1522
|
+
${ue}
|
|
1523
1523
|
bottom: unset;
|
|
1524
1524
|
top: 0;
|
|
1525
1525
|
height: 0;
|
|
@@ -1537,12 +1537,24 @@ const Bn = 300, zn = ({
|
|
|
1537
1537
|
&.humany-drawer-transition-exit-done {
|
|
1538
1538
|
height: 0;
|
|
1539
1539
|
}
|
|
1540
|
-
`,
|
|
1541
|
-
[
|
|
1542
|
-
|
|
1543
|
-
|
|
1544
|
-
|
|
1545
|
-
|
|
1540
|
+
`, In = {
|
|
1541
|
+
[
|
|
1542
|
+
"slide-in-bottom"
|
|
1543
|
+
/* SlideInBottom */
|
|
1544
|
+
]: Nn,
|
|
1545
|
+
[
|
|
1546
|
+
"slide-in-right"
|
|
1547
|
+
/* SlideInRight */
|
|
1548
|
+
]: Vn,
|
|
1549
|
+
[
|
|
1550
|
+
"slide-in-left"
|
|
1551
|
+
/* SlideInLeft */
|
|
1552
|
+
]: Wn,
|
|
1553
|
+
[
|
|
1554
|
+
"slide-in-top"
|
|
1555
|
+
/* SlideInTop */
|
|
1556
|
+
]: Zn
|
|
1557
|
+
}, On = (e, t, n) => {
|
|
1546
1558
|
const [o, s] = $(0), [i, a] = $(0), l = T(
|
|
1547
1559
|
(u, c) => {
|
|
1548
1560
|
if (u.preventDefault(), c) {
|
|
@@ -1561,12 +1573,12 @@ const Bn = 300, zn = ({
|
|
|
1561
1573
|
};
|
|
1562
1574
|
u.left < 0 && (c.x = 0), u.bottom > window.innerHeight && (c.y = 0), c.x !== o && s(c.x), c.y !== i && a(c.y);
|
|
1563
1575
|
}, [n, e, t]), [{ x: o, y: i }, l];
|
|
1564
|
-
},
|
|
1576
|
+
}, Ue = On, Pn = r.forwardRef(
|
|
1565
1577
|
(a, i) => {
|
|
1566
1578
|
var l = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: o } = l, s = R(l, ["className", "children", "trigger", "closeButtonAriaLabel"]);
|
|
1567
1579
|
const u = S(), c = S(), m = S();
|
|
1568
|
-
|
|
1569
|
-
const p = S(Q()), [d, f] = $(!1), C =
|
|
1580
|
+
ge(i, () => m.current, [m.current]);
|
|
1581
|
+
const p = S(Q()), [d, f] = $(!1), C = Fe(d), [{ x, y: E }, b] = Ue(d, p.current, m.current), g = Y("Escape");
|
|
1570
1582
|
v(() => {
|
|
1571
1583
|
g && f(!1);
|
|
1572
1584
|
}, [g]), v(() => {
|
|
@@ -1578,10 +1590,10 @@ const Bn = 300, zn = ({
|
|
|
1578
1590
|
!m.current || !_ || m.current !== _ && !m.current.contains(_) && f(!1);
|
|
1579
1591
|
},
|
|
1580
1592
|
window
|
|
1581
|
-
),
|
|
1593
|
+
), ce("router:changed", () => {
|
|
1582
1594
|
f(!1);
|
|
1583
1595
|
});
|
|
1584
|
-
const H =
|
|
1596
|
+
const H = be(p.current, () => {
|
|
1585
1597
|
f(!1);
|
|
1586
1598
|
}), B = T(
|
|
1587
1599
|
(z) => {
|
|
@@ -1590,7 +1602,7 @@ const Bn = 300, zn = ({
|
|
|
1590
1602
|
[H, b, f]
|
|
1591
1603
|
);
|
|
1592
1604
|
return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
1593
|
-
|
|
1605
|
+
An,
|
|
1594
1606
|
k(h({
|
|
1595
1607
|
className: M(
|
|
1596
1608
|
"humany-dropdown",
|
|
@@ -1603,7 +1615,7 @@ const Bn = 300, zn = ({
|
|
|
1603
1615
|
ref: m
|
|
1604
1616
|
}),
|
|
1605
1617
|
/* @__PURE__ */ r.createElement(
|
|
1606
|
-
|
|
1618
|
+
Ee,
|
|
1607
1619
|
{
|
|
1608
1620
|
onClick: () => f(!1),
|
|
1609
1621
|
tabIndex: 0,
|
|
@@ -1620,8 +1632,8 @@ const Bn = 300, zn = ({
|
|
|
1620
1632
|
"aria-expanded": d
|
|
1621
1633
|
}));
|
|
1622
1634
|
}
|
|
1623
|
-
),
|
|
1624
|
-
${
|
|
1635
|
+
), Vo = Pn, An = y.div`
|
|
1636
|
+
${Xe}
|
|
1625
1637
|
padding: ${(e) => {
|
|
1626
1638
|
var t;
|
|
1627
1639
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -1635,41 +1647,41 @@ const Bn = 300, zn = ({
|
|
|
1635
1647
|
let t = "";
|
|
1636
1648
|
return e.y > 0 ? t += `top: calc(${((n = e.theme.sizes) == null ? void 0 : n.small) || "0px"} + ${e.y || "0"}px);` : t += `bottom: ${((o = e.theme.sizes) == null ? void 0 : o.normal) || "0px"};`, e.x > 0 ? t += `right: ${e.x || "0"}px;` : t += `left: ${((s = e.theme.sizes) == null ? void 0 : s.normal) || "0px"};`, t;
|
|
1637
1649
|
}};
|
|
1638
|
-
`,
|
|
1650
|
+
`, Fn = (t) => {
|
|
1639
1651
|
var e = R(t, []);
|
|
1640
|
-
return /* @__PURE__ */ r.createElement(
|
|
1641
|
-
},
|
|
1652
|
+
return /* @__PURE__ */ r.createElement(jn, h({}, e));
|
|
1653
|
+
}, Kn = Fn, jn = y.div`
|
|
1642
1654
|
display: none;
|
|
1643
|
-
`,
|
|
1655
|
+
`, Wo = N(
|
|
1644
1656
|
(a, i) => {
|
|
1645
1657
|
var l = a, { children: e, columns: t, gap: n, className: o } = l, s = R(l, ["children", "columns", "gap", "className"]);
|
|
1646
1658
|
return /* @__PURE__ */ r.createElement(
|
|
1647
|
-
|
|
1659
|
+
Yn,
|
|
1648
1660
|
k(h(h({
|
|
1649
1661
|
className: M(o, "humany-grid"),
|
|
1650
1662
|
"data-columns": t,
|
|
1651
1663
|
"data-gap": n
|
|
1652
|
-
},
|
|
1664
|
+
}, Dt(s)), V(s)), {
|
|
1653
1665
|
ref: i
|
|
1654
1666
|
}),
|
|
1655
1667
|
e
|
|
1656
1668
|
);
|
|
1657
1669
|
}
|
|
1658
|
-
),
|
|
1670
|
+
), Yn = y.div`
|
|
1659
1671
|
display: grid;
|
|
1660
1672
|
grid-template-columns: repeat(${(e) => e["data-columns"]}, 1fr);
|
|
1661
1673
|
grid-gap: ${(e) => e["data-gap"]};
|
|
1662
1674
|
justify-content: center;
|
|
1663
1675
|
grid-auto-rows: max-content;
|
|
1664
|
-
${
|
|
1665
|
-
`,
|
|
1676
|
+
${Tt}
|
|
1677
|
+
`, _e = N(
|
|
1666
1678
|
(i, s) => {
|
|
1667
1679
|
var a = i, { htmlParseInstruction: e = null, className: t, html: n } = a, o = R(a, ["htmlParseInstruction", "className", "html"]);
|
|
1668
1680
|
const l = Z(), [u, c] = $();
|
|
1669
1681
|
return v(() => {
|
|
1670
|
-
const m =
|
|
1682
|
+
const m = Vt(l, n), p = k(h(h({}, m), e), {
|
|
1671
1683
|
transform: h(h({}, m.transform), e == null ? void 0 : e.transform)
|
|
1672
|
-
}), d =
|
|
1684
|
+
}), d = zt(n, p);
|
|
1673
1685
|
c(d);
|
|
1674
1686
|
}, [n, e]), /* @__PURE__ */ r.createElement(
|
|
1675
1687
|
"div",
|
|
@@ -1681,7 +1693,7 @@ const Bn = 300, zn = ({
|
|
|
1681
1693
|
u
|
|
1682
1694
|
);
|
|
1683
1695
|
}
|
|
1684
|
-
),
|
|
1696
|
+
), Xn = (i) => {
|
|
1685
1697
|
var a = i, {
|
|
1686
1698
|
faIcon: e,
|
|
1687
1699
|
title: t,
|
|
@@ -1701,7 +1713,7 @@ const Bn = 300, zn = ({
|
|
|
1701
1713
|
role: o
|
|
1702
1714
|
}, V(s))
|
|
1703
1715
|
);
|
|
1704
|
-
},
|
|
1716
|
+
}, Un = Xn, Zo = N(
|
|
1705
1717
|
(p, m) => {
|
|
1706
1718
|
var d = p, {
|
|
1707
1719
|
className: e = "",
|
|
@@ -1729,7 +1741,7 @@ const Bn = 300, zn = ({
|
|
|
1729
1741
|
"type"
|
|
1730
1742
|
]);
|
|
1731
1743
|
const [f, C] = $(t), x = S();
|
|
1732
|
-
|
|
1744
|
+
ge(m, () => x.current), v(() => {
|
|
1733
1745
|
var g;
|
|
1734
1746
|
t && ((g = x == null ? void 0 : x.current) == null || g.focus());
|
|
1735
1747
|
}, [t, m, x]);
|
|
@@ -1760,7 +1772,7 @@ const Bn = 300, zn = ({
|
|
|
1760
1772
|
})
|
|
1761
1773
|
);
|
|
1762
1774
|
}
|
|
1763
|
-
),
|
|
1775
|
+
), _n = N(
|
|
1764
1776
|
(a, i) => {
|
|
1765
1777
|
var l = a, { className: e, items: t, renderItem: n, renderLi: o = !1 } = l, s = R(l, ["className", "items", "renderItem", "renderLi"]);
|
|
1766
1778
|
return /* @__PURE__ */ r.createElement(
|
|
@@ -1776,7 +1788,7 @@ const Bn = 300, zn = ({
|
|
|
1776
1788
|
)
|
|
1777
1789
|
);
|
|
1778
1790
|
}
|
|
1779
|
-
),
|
|
1791
|
+
), qn = N(
|
|
1780
1792
|
(u, l) => {
|
|
1781
1793
|
var c = u, { text: e, html: t, header: n, className: o, htmlParseInstruction: s, symbol: i } = c, a = R(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
|
|
1782
1794
|
return /* @__PURE__ */ r.createElement(
|
|
@@ -1787,11 +1799,11 @@ const Bn = 300, zn = ({
|
|
|
1787
1799
|
ref: l
|
|
1788
1800
|
}),
|
|
1789
1801
|
n ? /* @__PURE__ */ r.createElement(q, { variant: "h1" }, i ? /* @__PURE__ */ r.createElement(J, { symbol: i }) : null, n) : null,
|
|
1790
|
-
t ? /* @__PURE__ */ r.createElement(
|
|
1791
|
-
e ? /* @__PURE__ */ r.createElement(
|
|
1802
|
+
t ? /* @__PURE__ */ r.createElement(_e, { html: t, htmlParseInstruction: s }) : null,
|
|
1803
|
+
e ? /* @__PURE__ */ r.createElement(ve, null, e) : null
|
|
1792
1804
|
);
|
|
1793
1805
|
}
|
|
1794
|
-
),
|
|
1806
|
+
), Qn = N(
|
|
1795
1807
|
(f, d) => {
|
|
1796
1808
|
var C = f, {
|
|
1797
1809
|
header: e,
|
|
@@ -1826,12 +1838,12 @@ const Bn = 300, zn = ({
|
|
|
1826
1838
|
}, V(p)), {
|
|
1827
1839
|
ref: d
|
|
1828
1840
|
}),
|
|
1829
|
-
t || (e || n || o ? /* @__PURE__ */ r.createElement(
|
|
1830
|
-
l.length ? /* @__PURE__ */ r.createElement(
|
|
1841
|
+
t || (e || n || o ? /* @__PURE__ */ r.createElement(qn, { symbol: a, header: e, text: n, html: o }) : null),
|
|
1842
|
+
l.length ? /* @__PURE__ */ r.createElement(_n, h({ items: l, renderItem: u, renderLi: c }, m)) : null,
|
|
1831
1843
|
i
|
|
1832
1844
|
);
|
|
1833
1845
|
}
|
|
1834
|
-
),
|
|
1846
|
+
), Gn = ({
|
|
1835
1847
|
className: e = "",
|
|
1836
1848
|
tree: t,
|
|
1837
1849
|
renderItem: n,
|
|
@@ -1842,7 +1854,7 @@ const Bn = 300, zn = ({
|
|
|
1842
1854
|
liProps: l
|
|
1843
1855
|
}) => {
|
|
1844
1856
|
const u = (p) => !c(p), c = (p) => !p || p.length < 1 ? !0 : !p.some((d) => !!d.selected), m = (p, d) => /* @__PURE__ */ r.createElement(
|
|
1845
|
-
|
|
1857
|
+
Qn,
|
|
1846
1858
|
{
|
|
1847
1859
|
className: M(`humany-item-tree-level-${d}`),
|
|
1848
1860
|
items: p,
|
|
@@ -1862,11 +1874,11 @@ const Bn = 300, zn = ({
|
|
|
1862
1874
|
}
|
|
1863
1875
|
);
|
|
1864
1876
|
return /* @__PURE__ */ r.createElement("div", { className: M(e, "humany-item-tree") }, o && o(!u(t || [])), t && m(t, 1));
|
|
1865
|
-
},
|
|
1877
|
+
}, Io = Gn, Jn = N(
|
|
1866
1878
|
(u, l) => {
|
|
1867
1879
|
var c = u, { className: e, onClick: t = () => {
|
|
1868
1880
|
}, name: n = "", to: o = "", params: s = {}, children: i } = c, a = R(c, ["className", "onClick", "name", "to", "params", "children"]);
|
|
1869
|
-
const m =
|
|
1881
|
+
const m = Ke(), p = Z();
|
|
1870
1882
|
if (!m)
|
|
1871
1883
|
return null;
|
|
1872
1884
|
let d = "";
|
|
@@ -1880,11 +1892,11 @@ const Bn = 300, zn = ({
|
|
|
1880
1892
|
});
|
|
1881
1893
|
if (n) {
|
|
1882
1894
|
if (!(m.routes || []).find((b) => b.name === n))
|
|
1883
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1884
|
-
|
|
1895
|
+
return process.env.NODE_ENV !== "production" && me.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(
|
|
1896
|
+
de,
|
|
1885
1897
|
k(h({}, f), {
|
|
1886
1898
|
onClick: (b) => {
|
|
1887
|
-
t(b), b.preventDefault(), process.env.NODE_ENV !== "production" &&
|
|
1899
|
+
t(b), b.preventDefault(), process.env.NODE_ENV !== "production" && me.warn(`Unable to navigate. No route named "${n}" exist.`);
|
|
1888
1900
|
}
|
|
1889
1901
|
}),
|
|
1890
1902
|
i
|
|
@@ -1902,9 +1914,9 @@ const Bn = 300, zn = ({
|
|
|
1902
1914
|
try {
|
|
1903
1915
|
d = m.generate(n, E || {});
|
|
1904
1916
|
} catch (b) {
|
|
1905
|
-
return /* @__PURE__ */ r.createElement(
|
|
1917
|
+
return /* @__PURE__ */ r.createElement(de, k(h({}, f), { ref: f.innerRef }), i);
|
|
1906
1918
|
}
|
|
1907
|
-
d && m.settings.mode && m.settings.mode ===
|
|
1919
|
+
d && m.settings.mode && m.settings.mode === ze.browser && d[0] !== "/" && (d = `/${d}`);
|
|
1908
1920
|
} else if (o && m.history)
|
|
1909
1921
|
d = m.history.createHref({
|
|
1910
1922
|
hash: "",
|
|
@@ -1913,16 +1925,16 @@ const Bn = 300, zn = ({
|
|
|
1913
1925
|
state: void 0
|
|
1914
1926
|
});
|
|
1915
1927
|
else
|
|
1916
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1928
|
+
return process.env.NODE_ENV !== "production" && me.warn(
|
|
1917
1929
|
'Unable to generate path for route link. Either specify route name or use the "to" prop.'
|
|
1918
1930
|
), null;
|
|
1919
|
-
if (m.settings && m.settings.mode ===
|
|
1931
|
+
if (m.settings && m.settings.mode === ze.scopedHash) {
|
|
1920
1932
|
const C = p.get("$widget").name;
|
|
1921
|
-
d =
|
|
1933
|
+
d = xt(d, C);
|
|
1922
1934
|
}
|
|
1923
|
-
return f.as ? /* @__PURE__ */ r.createElement(
|
|
1935
|
+
return f.as ? /* @__PURE__ */ r.createElement(er, k(h({}, f), { as: f.as }), i) : /* @__PURE__ */ r.createElement(de, k(h({}, f), { to: d }), i);
|
|
1924
1936
|
}
|
|
1925
|
-
),
|
|
1937
|
+
), er = y.span``, xe = N(
|
|
1926
1938
|
(x, C) => {
|
|
1927
1939
|
var E = x, {
|
|
1928
1940
|
className: e,
|
|
@@ -1978,7 +1990,7 @@ const Bn = 300, zn = ({
|
|
|
1978
1990
|
}
|
|
1979
1991
|
};
|
|
1980
1992
|
return p ? /* @__PURE__ */ r.createElement(
|
|
1981
|
-
|
|
1993
|
+
tr,
|
|
1982
1994
|
k(h(h({
|
|
1983
1995
|
name: p,
|
|
1984
1996
|
params: d
|
|
@@ -1987,7 +1999,7 @@ const Bn = 300, zn = ({
|
|
|
1987
1999
|
}),
|
|
1988
2000
|
c
|
|
1989
2001
|
) : /* @__PURE__ */ r.createElement(
|
|
1990
|
-
|
|
2002
|
+
nr,
|
|
1991
2003
|
k(h(h({
|
|
1992
2004
|
href: u,
|
|
1993
2005
|
target: m
|
|
@@ -1997,17 +2009,17 @@ const Bn = 300, zn = ({
|
|
|
1997
2009
|
c
|
|
1998
2010
|
);
|
|
1999
2011
|
}
|
|
2000
|
-
),
|
|
2012
|
+
), tr = y(Jn)`
|
|
2001
2013
|
${(e) => e.disabled ? `
|
|
2002
2014
|
pointer-events: none;
|
|
2003
2015
|
opacity: .7;
|
|
2004
2016
|
` : "cursor: pointer;"}
|
|
2005
|
-
`,
|
|
2017
|
+
`, nr = y.a`
|
|
2006
2018
|
${(e) => e.disabled ? `
|
|
2007
2019
|
pointer-events: none;
|
|
2008
2020
|
opacity: .7;
|
|
2009
2021
|
` : "cursor: pointer;"}
|
|
2010
|
-
`,
|
|
2022
|
+
`, rr = (i) => {
|
|
2011
2023
|
var a = i, {
|
|
2012
2024
|
visible: e,
|
|
2013
2025
|
duration: t = 500,
|
|
@@ -2027,7 +2039,7 @@ const Bn = 300, zn = ({
|
|
|
2027
2039
|
[o]
|
|
2028
2040
|
);
|
|
2029
2041
|
return /* @__PURE__ */ r.createElement(
|
|
2030
|
-
|
|
2042
|
+
Oe,
|
|
2031
2043
|
{
|
|
2032
2044
|
in: e,
|
|
2033
2045
|
className: "humany-overlay-transition",
|
|
@@ -2036,7 +2048,7 @@ const Bn = 300, zn = ({
|
|
|
2036
2048
|
timeout: t
|
|
2037
2049
|
},
|
|
2038
2050
|
/* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2039
|
-
|
|
2051
|
+
or,
|
|
2040
2052
|
h({
|
|
2041
2053
|
className: "humany-overlay",
|
|
2042
2054
|
duration: t,
|
|
@@ -2046,7 +2058,7 @@ const Bn = 300, zn = ({
|
|
|
2046
2058
|
n
|
|
2047
2059
|
))
|
|
2048
2060
|
);
|
|
2049
|
-
},
|
|
2061
|
+
}, or = y.div`
|
|
2050
2062
|
background: rgba(0, 0, 0, 0.6);
|
|
2051
2063
|
min-width: 100%;
|
|
2052
2064
|
min-height: 100%;
|
|
@@ -2076,11 +2088,11 @@ const Bn = 300, zn = ({
|
|
|
2076
2088
|
&.humany-overlay-transition-exit-done {
|
|
2077
2089
|
opacity: 0;
|
|
2078
2090
|
}
|
|
2079
|
-
`,
|
|
2091
|
+
`, qe = rr, sr = Ie`
|
|
2080
2092
|
100% {
|
|
2081
2093
|
transform: rotate(360deg);
|
|
2082
2094
|
}
|
|
2083
|
-
`,
|
|
2095
|
+
`, ir = Ie`
|
|
2084
2096
|
0% {
|
|
2085
2097
|
stroke-dasharray: 1, 200;
|
|
2086
2098
|
stroke-dashoffset: 0;
|
|
@@ -2093,8 +2105,8 @@ const Bn = 300, zn = ({
|
|
|
2093
2105
|
stroke-dasharray: 89, 200;
|
|
2094
2106
|
stroke-dashoffset: -124px;
|
|
2095
2107
|
}
|
|
2096
|
-
`,
|
|
2097
|
-
animation: ${
|
|
2108
|
+
`, ar = y.svg`
|
|
2109
|
+
animation: ${sr} 2s linear infinite;
|
|
2098
2110
|
height: 100%;
|
|
2099
2111
|
transform-origin: center center;
|
|
2100
2112
|
width: 100%;
|
|
@@ -2105,7 +2117,7 @@ const Bn = 300, zn = ({
|
|
|
2105
2117
|
right: 0;
|
|
2106
2118
|
margin: auto;
|
|
2107
2119
|
transition: 200ms ease-out opacity;
|
|
2108
|
-
`,
|
|
2120
|
+
`, cr = y.div`
|
|
2109
2121
|
position: absolute;
|
|
2110
2122
|
top: 0;
|
|
2111
2123
|
bottom: 0;
|
|
@@ -2123,7 +2135,7 @@ const Bn = 300, zn = ({
|
|
|
2123
2135
|
svg {
|
|
2124
2136
|
opacity: ${(e) => e["data-loading"] ? "1" : "0"};
|
|
2125
2137
|
}
|
|
2126
|
-
`,
|
|
2138
|
+
`, lr = y.div`
|
|
2127
2139
|
position: relative;
|
|
2128
2140
|
margin: 0 auto;
|
|
2129
2141
|
width: 100px;
|
|
@@ -2132,18 +2144,18 @@ const Bn = 300, zn = ({
|
|
|
2132
2144
|
display: block;
|
|
2133
2145
|
padding-top: 100%;
|
|
2134
2146
|
}
|
|
2135
|
-
`,
|
|
2147
|
+
`, ur = y.circle`
|
|
2136
2148
|
stroke-dasharray: 1, 200;
|
|
2137
2149
|
stroke-dashoffset: 0;
|
|
2138
|
-
animation: ${
|
|
2150
|
+
animation: ${ir} 1.5s ease-in-out infinite;
|
|
2139
2151
|
stroke-linecap: round;
|
|
2140
2152
|
stroke: ${(e) => {
|
|
2141
2153
|
var t;
|
|
2142
2154
|
return (t = e.theme.colors) == null ? void 0 : t.primary;
|
|
2143
2155
|
}};
|
|
2144
2156
|
stroke-width: 2px;
|
|
2145
|
-
`,
|
|
2146
|
-
|
|
2157
|
+
`, mr = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(cr, { className: M("humany-loader", e), "data-loading": t }, /* @__PURE__ */ r.createElement(lr, { className: "humany-spinner" }, /* @__PURE__ */ r.createElement(ar, { viewBox: "25 25 50 50" }, /* @__PURE__ */ r.createElement(
|
|
2158
|
+
ur,
|
|
2147
2159
|
{
|
|
2148
2160
|
cx: "50",
|
|
2149
2161
|
cy: "50",
|
|
@@ -2152,7 +2164,7 @@ const Bn = 300, zn = ({
|
|
|
2152
2164
|
"stroke-width": "2",
|
|
2153
2165
|
"stroke-miterlimit": "10"
|
|
2154
2166
|
}
|
|
2155
|
-
)))),
|
|
2167
|
+
)))), dr = mr, fr = (s) => {
|
|
2156
2168
|
var i = s, {
|
|
2157
2169
|
zoomState: e,
|
|
2158
2170
|
image: t,
|
|
@@ -2170,7 +2182,7 @@ const Bn = 300, zn = ({
|
|
|
2170
2182
|
return B >= 1 && H >= 1 ? 1 : z;
|
|
2171
2183
|
}
|
|
2172
2184
|
return 1;
|
|
2173
|
-
}, [l, t.src]), x =
|
|
2185
|
+
}, [l, t.src]), x = se(() => {
|
|
2174
2186
|
const g = a.current;
|
|
2175
2187
|
if (g && l) {
|
|
2176
2188
|
if (!c) {
|
|
@@ -2184,8 +2196,8 @@ const Bn = 300, zn = ({
|
|
|
2184
2196
|
}, [e, a, l, t.src]);
|
|
2185
2197
|
return v(() => (u(!1), function() {
|
|
2186
2198
|
m(!1);
|
|
2187
|
-
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
2188
|
-
|
|
2199
|
+
}), [t.src]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(hr, { loading: !l }), /* @__PURE__ */ r.createElement(
|
|
2200
|
+
pr,
|
|
2189
2201
|
k(h({
|
|
2190
2202
|
onLoad: () => {
|
|
2191
2203
|
u(!0);
|
|
@@ -2199,12 +2211,12 @@ const Bn = 300, zn = ({
|
|
|
2199
2211
|
src: t.src,
|
|
2200
2212
|
loaded: l
|
|
2201
2213
|
})
|
|
2202
|
-
), /* @__PURE__ */ r.createElement(
|
|
2203
|
-
},
|
|
2214
|
+
), /* @__PURE__ */ r.createElement(gr, null));
|
|
2215
|
+
}, hr = y(dr)`
|
|
2204
2216
|
svg circle {
|
|
2205
2217
|
stroke: #ffffff;
|
|
2206
2218
|
}
|
|
2207
|
-
`,
|
|
2219
|
+
`, pr = y.img`
|
|
2208
2220
|
transform: none;
|
|
2209
2221
|
|
|
2210
2222
|
${(e) => e.imageSize && L`
|
|
@@ -2215,20 +2227,20 @@ const Bn = 300, zn = ({
|
|
|
2215
2227
|
vertical-align: middle;
|
|
2216
2228
|
position: relative;
|
|
2217
2229
|
${(e) => !e.loaded && "display:none;"}
|
|
2218
|
-
`,
|
|
2230
|
+
`, gr = y.div`
|
|
2219
2231
|
height: 100%;
|
|
2220
2232
|
display: inline-block;
|
|
2221
2233
|
vertical-align: middle;
|
|
2222
|
-
`,
|
|
2234
|
+
`, Cr = fr, yr = () => {
|
|
2223
2235
|
const e = S(), [t, n] = $(!0), o = T(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
|
|
2224
2236
|
n(!1);
|
|
2225
2237
|
}, 3e3), () => {
|
|
2226
2238
|
e.current && clearTimeout(e.current);
|
|
2227
2239
|
}), [t, e]);
|
|
2228
2240
|
return [t, o];
|
|
2229
|
-
},
|
|
2230
|
-
var
|
|
2231
|
-
const n = Y("Escape"), o = Y("ArrowLeft"), s = Y("ArrowRight"), [i, a] = $(1), [l, u] = $({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = $(!1), [p, d] =
|
|
2241
|
+
}, br = ({ attrs: e, htmlBody: t }) => {
|
|
2242
|
+
var Se;
|
|
2243
|
+
const n = Y("Escape"), o = Y("ArrowLeft"), s = Y("ArrowRight"), [i, a] = $(1), [l, u] = $({ top: 0, left: 0, x: 0, y: 0 }), [c, m] = $(!1), [p, d] = yr(), [f, C] = $(null), [x, E] = $(null), b = S(null), g = S(null), H = S(null), B = S(null), z = S(null), [_, Je] = $(null);
|
|
2232
2244
|
v(() => {
|
|
2233
2245
|
n && C(null);
|
|
2234
2246
|
}, [n]), v(() => {
|
|
@@ -2250,53 +2262,53 @@ const Bn = 300, zn = ({
|
|
|
2250
2262
|
}, [f, g, H, x]), v(() => {
|
|
2251
2263
|
if (o) {
|
|
2252
2264
|
if (ee)
|
|
2253
|
-
return
|
|
2265
|
+
return Le();
|
|
2254
2266
|
} else if (s && te)
|
|
2255
|
-
return
|
|
2267
|
+
return Me();
|
|
2256
2268
|
}, [o, s]), v(() => {
|
|
2257
2269
|
var D, W;
|
|
2258
2270
|
const w = ((W = (D = z.current) == null ? void 0 : D.style) == null ? void 0 : W.float) || "";
|
|
2259
|
-
(w === "left" || w === "right") &&
|
|
2271
|
+
(w === "left" || w === "right") && Je(w);
|
|
2260
2272
|
}, []);
|
|
2261
|
-
const F =
|
|
2273
|
+
const F = se(() => {
|
|
2262
2274
|
const w = document.createElement("div");
|
|
2263
2275
|
w.innerHTML = t || "";
|
|
2264
2276
|
const D = w.getElementsByTagName("img");
|
|
2265
2277
|
return Array.from(D).reduce((P, ne) => {
|
|
2266
|
-
const
|
|
2267
|
-
if (
|
|
2268
|
-
const
|
|
2269
|
-
src:
|
|
2278
|
+
const Re = ne.getAttribute("src");
|
|
2279
|
+
if (Re) {
|
|
2280
|
+
const it = {
|
|
2281
|
+
src: Re
|
|
2270
2282
|
};
|
|
2271
|
-
P.push(
|
|
2283
|
+
P.push(it);
|
|
2272
2284
|
}
|
|
2273
2285
|
return P;
|
|
2274
2286
|
}, []);
|
|
2275
|
-
}, [t]),
|
|
2287
|
+
}, [t]), $e = T(() => {
|
|
2276
2288
|
const { src: w } = e;
|
|
2277
2289
|
if (w) {
|
|
2278
2290
|
const D = F.findIndex((W, P) => W.src === w);
|
|
2279
2291
|
C(D);
|
|
2280
2292
|
}
|
|
2281
|
-
}, [F, e]),
|
|
2293
|
+
}, [F, e]), et = T((w) => {
|
|
2282
2294
|
C(null);
|
|
2283
|
-
}, []),
|
|
2295
|
+
}, []), ke = T(
|
|
2284
2296
|
(w) => {
|
|
2285
2297
|
a(w ? i + i * 0.25 : i - i * 0.25);
|
|
2286
2298
|
},
|
|
2287
2299
|
[a, i]
|
|
2288
|
-
),
|
|
2300
|
+
), tt = T(() => {
|
|
2289
2301
|
if (f !== null) {
|
|
2290
2302
|
const { src: w } = F[f];
|
|
2291
2303
|
w && window.open(w, "_self");
|
|
2292
2304
|
}
|
|
2293
|
-
}, [F, f]),
|
|
2305
|
+
}, [F, f]), nt = T(
|
|
2294
2306
|
(w) => {
|
|
2295
2307
|
const D = B.current;
|
|
2296
2308
|
D && (u({ top: D.scrollTop, left: D.scrollLeft, x: w.clientX, y: w.clientY }), m(!0));
|
|
2297
2309
|
},
|
|
2298
2310
|
[B]
|
|
2299
|
-
),
|
|
2311
|
+
), rt = T(
|
|
2300
2312
|
(w) => {
|
|
2301
2313
|
const D = B.current;
|
|
2302
2314
|
if (D && c) {
|
|
@@ -2305,9 +2317,9 @@ const Bn = 300, zn = ({
|
|
|
2305
2317
|
}
|
|
2306
2318
|
},
|
|
2307
2319
|
[c, l]
|
|
2308
|
-
),
|
|
2320
|
+
), ot = (w) => {
|
|
2309
2321
|
w.preventDefault(), m(!1);
|
|
2310
|
-
},
|
|
2322
|
+
}, st = se(() => {
|
|
2311
2323
|
if (B.current) {
|
|
2312
2324
|
const w = B.current.getElementsByTagName("img");
|
|
2313
2325
|
if (w && w.length) {
|
|
@@ -2316,27 +2328,27 @@ const Bn = 300, zn = ({
|
|
|
2316
2328
|
}
|
|
2317
2329
|
}
|
|
2318
2330
|
return !1;
|
|
2319
|
-
}, [B, i]),
|
|
2331
|
+
}, [B, i]), Le = () => {
|
|
2320
2332
|
f !== null && (E("Left"), C(f - 1));
|
|
2321
|
-
},
|
|
2333
|
+
}, Me = () => {
|
|
2322
2334
|
f !== null && (E("Right"), C(f + 1));
|
|
2323
2335
|
}, ee = f !== null && f > 0 && F.length > 1, te = f !== null && F.length - 1 > f;
|
|
2324
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
2325
|
-
|
|
2336
|
+
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(qe, { visible: f !== null, onClick: et }, /* @__PURE__ */ r.createElement(
|
|
2337
|
+
Mr,
|
|
2326
2338
|
{
|
|
2327
2339
|
onMouseDown: () => d(),
|
|
2328
2340
|
onMouseMove: () => d(),
|
|
2329
2341
|
onTouchStart: () => d(),
|
|
2330
2342
|
onKeyDown: () => d()
|
|
2331
2343
|
},
|
|
2332
|
-
/* @__PURE__ */ r.createElement(
|
|
2333
|
-
|
|
2344
|
+
/* @__PURE__ */ r.createElement(Sr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
|
|
2345
|
+
wr,
|
|
2334
2346
|
{
|
|
2335
2347
|
ref: g,
|
|
2336
2348
|
buttons: [
|
|
2337
2349
|
{
|
|
2338
2350
|
id: "download",
|
|
2339
|
-
onClick:
|
|
2351
|
+
onClick: tt,
|
|
2340
2352
|
icon: "download",
|
|
2341
2353
|
ariaLabel: "Download image"
|
|
2342
2354
|
},
|
|
@@ -2350,17 +2362,17 @@ const Bn = 300, zn = ({
|
|
|
2350
2362
|
}
|
|
2351
2363
|
)),
|
|
2352
2364
|
/* @__PURE__ */ r.createElement(
|
|
2353
|
-
|
|
2365
|
+
Hr,
|
|
2354
2366
|
{
|
|
2355
2367
|
scrolling: c.toString(),
|
|
2356
|
-
isDraggable:
|
|
2368
|
+
isDraggable: st.toString(),
|
|
2357
2369
|
ref: B,
|
|
2358
|
-
onMouseMove:
|
|
2359
|
-
onMouseDown:
|
|
2360
|
-
onMouseUp:
|
|
2370
|
+
onMouseMove: rt,
|
|
2371
|
+
onMouseDown: nt,
|
|
2372
|
+
onMouseUp: ot
|
|
2361
2373
|
},
|
|
2362
2374
|
f !== null && /* @__PURE__ */ r.createElement(
|
|
2363
|
-
|
|
2375
|
+
Cr,
|
|
2364
2376
|
k(h({
|
|
2365
2377
|
changeZoom: (w) => {
|
|
2366
2378
|
a(w);
|
|
@@ -2375,14 +2387,14 @@ const Bn = 300, zn = ({
|
|
|
2375
2387
|
)
|
|
2376
2388
|
),
|
|
2377
2389
|
/* @__PURE__ */ r.createElement(
|
|
2378
|
-
|
|
2390
|
+
kr,
|
|
2379
2391
|
{
|
|
2380
2392
|
ref: H,
|
|
2381
2393
|
show: p.toString(),
|
|
2382
2394
|
buttons: [
|
|
2383
2395
|
{
|
|
2384
2396
|
id: "previous",
|
|
2385
|
-
onClick:
|
|
2397
|
+
onClick: Le,
|
|
2386
2398
|
icon: "caret-left",
|
|
2387
2399
|
circle: !0,
|
|
2388
2400
|
show: ee,
|
|
@@ -2391,7 +2403,7 @@ const Bn = 300, zn = ({
|
|
|
2391
2403
|
},
|
|
2392
2404
|
{
|
|
2393
2405
|
id: "next",
|
|
2394
|
-
onClick:
|
|
2406
|
+
onClick: Me,
|
|
2395
2407
|
icon: "caret-right",
|
|
2396
2408
|
circle: !0,
|
|
2397
2409
|
show: te,
|
|
@@ -2401,47 +2413,47 @@ const Bn = 300, zn = ({
|
|
|
2401
2413
|
]
|
|
2402
2414
|
}
|
|
2403
2415
|
),
|
|
2404
|
-
/* @__PURE__ */ r.createElement(
|
|
2405
|
-
|
|
2416
|
+
/* @__PURE__ */ r.createElement(Rr, { show: p.toString() }, /* @__PURE__ */ r.createElement(
|
|
2417
|
+
$r,
|
|
2406
2418
|
{
|
|
2407
2419
|
buttons: [
|
|
2408
2420
|
{
|
|
2409
2421
|
id: "zoom-out",
|
|
2410
|
-
onClick: () =>
|
|
2422
|
+
onClick: () => ke(!1),
|
|
2411
2423
|
icon: "zoom-out",
|
|
2412
2424
|
ariaLabel: "Zoom out"
|
|
2413
2425
|
},
|
|
2414
2426
|
{
|
|
2415
2427
|
id: "zoom-in",
|
|
2416
|
-
onClick: () =>
|
|
2428
|
+
onClick: () => ke(!0),
|
|
2417
2429
|
icon: "zoom-in",
|
|
2418
2430
|
ariaLabel: "Zoom in"
|
|
2419
2431
|
}
|
|
2420
2432
|
]
|
|
2421
2433
|
}
|
|
2422
|
-
), /* @__PURE__ */ r.createElement(
|
|
2434
|
+
), /* @__PURE__ */ r.createElement(Lr, { variant: "span" }, Math.trunc(i * 100), "%"))
|
|
2423
2435
|
)), /* @__PURE__ */ r.createElement(
|
|
2424
|
-
|
|
2436
|
+
vr,
|
|
2425
2437
|
{
|
|
2426
2438
|
ref: b,
|
|
2427
|
-
onClick:
|
|
2439
|
+
onClick: $e,
|
|
2428
2440
|
onKeyDown: (w) => {
|
|
2429
|
-
w.key === "Enter" && (w.preventDefault(),
|
|
2441
|
+
w.key === "Enter" && (w.preventDefault(), $e());
|
|
2430
2442
|
},
|
|
2431
2443
|
alignment: _,
|
|
2432
2444
|
tabIndex: 0
|
|
2433
2445
|
},
|
|
2434
2446
|
/* @__PURE__ */ r.createElement(
|
|
2435
|
-
|
|
2447
|
+
Tr,
|
|
2436
2448
|
k(h({}, e), {
|
|
2437
|
-
alt: ((
|
|
2449
|
+
alt: ((Se = e.alt) == null ? void 0 : Se.toString()) || "",
|
|
2438
2450
|
ref: z
|
|
2439
2451
|
})
|
|
2440
2452
|
)
|
|
2441
2453
|
));
|
|
2442
|
-
},
|
|
2454
|
+
}, we = N(
|
|
2443
2455
|
({ show: e = "true", buttons: t, className: n }, o) => /* @__PURE__ */ r.createElement(
|
|
2444
|
-
|
|
2456
|
+
Er,
|
|
2445
2457
|
{
|
|
2446
2458
|
ref: o,
|
|
2447
2459
|
show: e,
|
|
@@ -2449,7 +2461,7 @@ const Bn = 300, zn = ({
|
|
|
2449
2461
|
},
|
|
2450
2462
|
t.map(
|
|
2451
2463
|
({ id: s, circle: i = !1, show: a = !0, ariaLabel: l, onClick: u, icon: c, className: m }, p) => /* @__PURE__ */ r.createElement(
|
|
2452
|
-
|
|
2464
|
+
xr,
|
|
2453
2465
|
{
|
|
2454
2466
|
key: s + p.toString(),
|
|
2455
2467
|
circle: i.toString(),
|
|
@@ -2464,29 +2476,29 @@ const Bn = 300, zn = ({
|
|
|
2464
2476
|
)
|
|
2465
2477
|
)
|
|
2466
2478
|
)
|
|
2467
|
-
),
|
|
2479
|
+
), Qe = y.div`
|
|
2468
2480
|
transition: opacity 0.3s ease 0s;
|
|
2469
2481
|
z-index: 5;
|
|
2470
2482
|
${(e) => e.show === "true" ? "opacity: 1;" : L`
|
|
2471
2483
|
opacity: 0;
|
|
2472
2484
|
pointer-events: none;
|
|
2473
2485
|
`}
|
|
2474
|
-
`,
|
|
2486
|
+
`, vr = y(xe)`
|
|
2475
2487
|
display: inline-block !important;
|
|
2476
2488
|
|
|
2477
2489
|
${(e) => (e.alignment === "right" || e.alignment === "left") && L`
|
|
2478
2490
|
float: ${e.alignment};
|
|
2479
2491
|
`}
|
|
2480
|
-
`,
|
|
2492
|
+
`, Er = y(Qe)`
|
|
2481
2493
|
position: fixed;
|
|
2482
2494
|
display: flex;
|
|
2483
2495
|
gap: ${(e) => {
|
|
2484
2496
|
var t;
|
|
2485
2497
|
return (t = e.theme.sizes) == null ? void 0 : t.normal;
|
|
2486
2498
|
}};
|
|
2487
|
-
`,
|
|
2488
|
-
width: ${
|
|
2489
|
-
height: ${
|
|
2499
|
+
`, pe = "39px", xr = y(ae)`
|
|
2500
|
+
width: ${pe};
|
|
2501
|
+
height: ${pe};
|
|
2490
2502
|
display: flex;
|
|
2491
2503
|
justify-content: center;
|
|
2492
2504
|
align-items: center;
|
|
@@ -2549,7 +2561,7 @@ const Bn = 300, zn = ({
|
|
|
2549
2561
|
opacity: 0;
|
|
2550
2562
|
pointer-events: none;
|
|
2551
2563
|
`}
|
|
2552
|
-
`,
|
|
2564
|
+
`, wr = y(we)`
|
|
2553
2565
|
top: ${(e) => {
|
|
2554
2566
|
var t;
|
|
2555
2567
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2558,7 +2570,7 @@ const Bn = 300, zn = ({
|
|
|
2558
2570
|
var t;
|
|
2559
2571
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
2560
2572
|
}};
|
|
2561
|
-
`,
|
|
2573
|
+
`, $r = y(we)`
|
|
2562
2574
|
bottom: ${(e) => {
|
|
2563
2575
|
var t;
|
|
2564
2576
|
return (t = e.theme.sizes) == null ? void 0 : t.large;
|
|
@@ -2566,11 +2578,11 @@ const Bn = 300, zn = ({
|
|
|
2566
2578
|
width: 100%;
|
|
2567
2579
|
align-items: center;
|
|
2568
2580
|
justify-content: center;
|
|
2569
|
-
`,
|
|
2581
|
+
`, kr = y(we)`
|
|
2570
2582
|
display: block;
|
|
2571
2583
|
button {
|
|
2572
2584
|
position: fixed;
|
|
2573
|
-
top: calc(50% - calc(${
|
|
2585
|
+
top: calc(50% - calc(${pe} / 2));
|
|
2574
2586
|
&:first-child {
|
|
2575
2587
|
left: ${(e) => {
|
|
2576
2588
|
var t;
|
|
@@ -2584,7 +2596,7 @@ const Bn = 300, zn = ({
|
|
|
2584
2596
|
}};
|
|
2585
2597
|
}
|
|
2586
2598
|
}
|
|
2587
|
-
`,
|
|
2599
|
+
`, Lr = y(q)`
|
|
2588
2600
|
position: fixed;
|
|
2589
2601
|
bottom: ${(e) => {
|
|
2590
2602
|
var t;
|
|
@@ -2603,21 +2615,21 @@ const Bn = 300, zn = ({
|
|
|
2603
2615
|
var t;
|
|
2604
2616
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
2605
2617
|
}};
|
|
2606
|
-
`,
|
|
2618
|
+
`, Ge = y(Qe)`
|
|
2607
2619
|
position: absolute;
|
|
2608
2620
|
width: 100vw;
|
|
2609
2621
|
height: 88px;
|
|
2610
2622
|
left: 0px;
|
|
2611
2623
|
z-index: 5;
|
|
2612
|
-
`,
|
|
2624
|
+
`, Mr = y.div`
|
|
2613
2625
|
width: 100%;
|
|
2614
|
-
`,
|
|
2626
|
+
`, Sr = y(Ge)`
|
|
2615
2627
|
top: 0px;
|
|
2616
2628
|
background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2617
|
-
`,
|
|
2629
|
+
`, Rr = y(Ge)`
|
|
2618
2630
|
bottom: 0px;
|
|
2619
2631
|
background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
|
|
2620
|
-
`,
|
|
2632
|
+
`, Hr = y.div`
|
|
2621
2633
|
width: 100%;
|
|
2622
2634
|
height: 100vh;
|
|
2623
2635
|
overflow: auto;
|
|
@@ -2626,18 +2638,18 @@ const Bn = 300, zn = ({
|
|
|
2626
2638
|
white-space: nowrap;
|
|
2627
2639
|
justify-content: center;
|
|
2628
2640
|
cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
|
|
2629
|
-
`,
|
|
2641
|
+
`, Tr = y.img`
|
|
2630
2642
|
cursor: pointer;
|
|
2631
|
-
`,
|
|
2643
|
+
`, Dr = br, Br = N(
|
|
2632
2644
|
(l, a) => {
|
|
2633
2645
|
var u = l, { className: e, children: t, trigger: n, onOverlayClick: o = () => {
|
|
2634
2646
|
}, close: s = !1 } = u, i = R(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
|
|
2635
|
-
const [c, m] =
|
|
2647
|
+
const [c, m] = Ye(), [p, d] = je(!0), f = S(), C = S(Q()), x = Y("Escape");
|
|
2636
2648
|
v(() => {
|
|
2637
2649
|
(x || s) && m(!1);
|
|
2638
2650
|
}, [x, s]), v(() => {
|
|
2639
2651
|
c && f.current && f.current.focus();
|
|
2640
|
-
}, [c, f.current]),
|
|
2652
|
+
}, [c, f.current]), ce("router:changed", () => {
|
|
2641
2653
|
m(!1);
|
|
2642
2654
|
});
|
|
2643
2655
|
const E = T(
|
|
@@ -2646,16 +2658,16 @@ const Bn = 300, zn = ({
|
|
|
2646
2658
|
},
|
|
2647
2659
|
[o, m]
|
|
2648
2660
|
);
|
|
2649
|
-
|
|
2661
|
+
ge(a, () => ({
|
|
2650
2662
|
close() {
|
|
2651
2663
|
m(!1);
|
|
2652
2664
|
}
|
|
2653
2665
|
}));
|
|
2654
|
-
const b = T(() =>
|
|
2666
|
+
const b = T(() => be(C.current, () => {
|
|
2655
2667
|
m(!1);
|
|
2656
2668
|
}), [C.current]);
|
|
2657
|
-
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(
|
|
2658
|
-
|
|
2669
|
+
return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(qe, { visible: c, onClick: E }, /* @__PURE__ */ r.createElement(
|
|
2670
|
+
Nr,
|
|
2659
2671
|
k(h({
|
|
2660
2672
|
className: M(
|
|
2661
2673
|
e,
|
|
@@ -2668,7 +2680,7 @@ const Bn = 300, zn = ({
|
|
|
2668
2680
|
ref: d
|
|
2669
2681
|
}),
|
|
2670
2682
|
/* @__PURE__ */ r.createElement(
|
|
2671
|
-
|
|
2683
|
+
Ee,
|
|
2672
2684
|
{
|
|
2673
2685
|
onClick: () => m(!1),
|
|
2674
2686
|
tabIndex: 0,
|
|
@@ -2683,7 +2695,7 @@ const Bn = 300, zn = ({
|
|
|
2683
2695
|
}
|
|
2684
2696
|
}));
|
|
2685
2697
|
}
|
|
2686
|
-
),
|
|
2698
|
+
), zr = Br, Nr = y.div`
|
|
2687
2699
|
font-family: ${(e) => {
|
|
2688
2700
|
var t;
|
|
2689
2701
|
return (t = e.theme.fonts) == null ? void 0 : t.type;
|
|
@@ -2699,10 +2711,10 @@ const Bn = 300, zn = ({
|
|
|
2699
2711
|
var t;
|
|
2700
2712
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
2701
2713
|
}};
|
|
2702
|
-
${(e) =>
|
|
2714
|
+
${(e) => Xe(e)}
|
|
2703
2715
|
${(e) => e.css && e.css}
|
|
2704
2716
|
outline: none;
|
|
2705
|
-
`,
|
|
2717
|
+
`, Vr = ({
|
|
2706
2718
|
className: e,
|
|
2707
2719
|
trigger: t,
|
|
2708
2720
|
header: n = "",
|
|
@@ -2721,8 +2733,8 @@ const Bn = 300, zn = ({
|
|
|
2721
2733
|
var p;
|
|
2722
2734
|
i(), (p = u == null ? void 0 : u.current) == null || p.close();
|
|
2723
2735
|
}, [i]);
|
|
2724
|
-
return /* @__PURE__ */ r.createElement(
|
|
2725
|
-
},
|
|
2736
|
+
return /* @__PURE__ */ r.createElement(Wr, { className: e, trigger: t, ref: u, onOverlayClick: c }, n && /* @__PURE__ */ r.createElement(We, null, n), o && /* @__PURE__ */ r.createElement(We, null, o), l && /* @__PURE__ */ r.createElement(Zr, { onClick: m }, l), a && /* @__PURE__ */ r.createElement(Ir, { onClick: c }, a));
|
|
2737
|
+
}, Oo = Vr, Wr = y(zr)`
|
|
2726
2738
|
display: block;
|
|
2727
2739
|
|
|
2728
2740
|
span {
|
|
@@ -2740,7 +2752,7 @@ const Bn = 300, zn = ({
|
|
|
2740
2752
|
}};
|
|
2741
2753
|
}
|
|
2742
2754
|
}
|
|
2743
|
-
`,
|
|
2755
|
+
`, Zr = y(ae)`
|
|
2744
2756
|
display: inline-block;
|
|
2745
2757
|
min-width: 50px;
|
|
2746
2758
|
${(e) => {
|
|
@@ -2770,7 +2782,7 @@ const Bn = 300, zn = ({
|
|
|
2770
2782
|
&:focus-visible {
|
|
2771
2783
|
${A}
|
|
2772
2784
|
}
|
|
2773
|
-
`,
|
|
2785
|
+
`, Ir = y(ae)`
|
|
2774
2786
|
display: inline-block;
|
|
2775
2787
|
min-width: 50px;
|
|
2776
2788
|
${(e) => {
|
|
@@ -2791,16 +2803,16 @@ const Bn = 300, zn = ({
|
|
|
2791
2803
|
&:focus-visible {
|
|
2792
2804
|
${A};
|
|
2793
2805
|
}
|
|
2794
|
-
`,
|
|
2806
|
+
`, Or = ({
|
|
2795
2807
|
header: e = "",
|
|
2796
2808
|
link: t = "",
|
|
2797
2809
|
suggestionHeader: n = "",
|
|
2798
2810
|
suggestion: o = ""
|
|
2799
|
-
}) => /* @__PURE__ */ r.createElement(
|
|
2811
|
+
}) => /* @__PURE__ */ r.createElement(Pr, null, /* @__PURE__ */ r.createElement(Ar, null, /* @__PURE__ */ r.createElement(q, { variant: "h2" }, "404")), /* @__PURE__ */ r.createElement(Fr, null, /* @__PURE__ */ r.createElement(q, { variant: "h3" }, e), /* @__PURE__ */ r.createElement(Yr, { routeName: "index", "aria-label": t, text: t })), /* @__PURE__ */ r.createElement(Kr, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, o)))), Po = Or, Pr = y.div`
|
|
2800
2812
|
display: flex;
|
|
2801
2813
|
flex-wrap: wrap;
|
|
2802
|
-
`,
|
|
2803
|
-
${(e) =>
|
|
2814
|
+
`, Ar = y.div`
|
|
2815
|
+
${(e) => ie(e)(
|
|
2804
2816
|
"h2",
|
|
2805
2817
|
L`
|
|
2806
2818
|
padding: 0;
|
|
@@ -2809,7 +2821,7 @@ const Bn = 300, zn = ({
|
|
|
2809
2821
|
font-size: 7em;
|
|
2810
2822
|
`
|
|
2811
2823
|
)}
|
|
2812
|
-
`,
|
|
2824
|
+
`, Fr = y.div`
|
|
2813
2825
|
margin-left: ${(e) => {
|
|
2814
2826
|
var t;
|
|
2815
2827
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -2817,7 +2829,7 @@ const Bn = 300, zn = ({
|
|
|
2817
2829
|
|
|
2818
2830
|
${(e) => {
|
|
2819
2831
|
var t;
|
|
2820
|
-
return
|
|
2832
|
+
return ie(e)(
|
|
2821
2833
|
"h3",
|
|
2822
2834
|
L`
|
|
2823
2835
|
text-transform: uppercase;
|
|
@@ -2836,7 +2848,7 @@ const Bn = 300, zn = ({
|
|
|
2836
2848
|
return (t = e.theme.fonts) == null ? void 0 : t.small;
|
|
2837
2849
|
}};
|
|
2838
2850
|
}
|
|
2839
|
-
`,
|
|
2851
|
+
`, Kr = y.div`
|
|
2840
2852
|
margin-top: ${(e) => {
|
|
2841
2853
|
var t;
|
|
2842
2854
|
return (t = e.theme.sizes) == null ? void 0 : t.medium;
|
|
@@ -2847,30 +2859,27 @@ const Bn = 300, zn = ({
|
|
|
2847
2859
|
font-weight: bold;
|
|
2848
2860
|
}
|
|
2849
2861
|
`;
|
|
2850
|
-
class
|
|
2862
|
+
class jr extends dt {
|
|
2851
2863
|
constructor() {
|
|
2852
|
-
super(...arguments)
|
|
2853
|
-
oe(this, "node");
|
|
2854
|
-
oe(this, "onFocusListener");
|
|
2855
|
-
oe(this, "state", {
|
|
2864
|
+
super(...arguments), this.state = {
|
|
2856
2865
|
boundFocus: !1
|
|
2857
|
-
}
|
|
2866
|
+
};
|
|
2858
2867
|
}
|
|
2859
2868
|
componentWillMount() {
|
|
2860
|
-
const
|
|
2861
|
-
|
|
2869
|
+
const t = this.props.container.get("accessibilitySettings");
|
|
2870
|
+
t && t.boundFocus && this.setState({
|
|
2862
2871
|
boundFocus: !0
|
|
2863
2872
|
});
|
|
2864
2873
|
}
|
|
2865
2874
|
componentDidMount() {
|
|
2866
2875
|
if (!this.state.boundFocus)
|
|
2867
2876
|
return;
|
|
2868
|
-
const
|
|
2869
|
-
this.node &&
|
|
2870
|
-
const
|
|
2877
|
+
const t = this.props.container.get("widgetDOMElement");
|
|
2878
|
+
this.node && t && (this.onFocusListener = this.node.addEventListener("focus", () => {
|
|
2879
|
+
const n = t.querySelectorAll(
|
|
2871
2880
|
'button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'
|
|
2872
|
-
),
|
|
2873
|
-
|
|
2881
|
+
), s = [].filter.call(n, (i) => typeof window == "undefined" ? !0 : !(window.getComputedStyle(i).display === "none" || i.offsetWidth <= 0 && i.offsetHeight <= 0))[0];
|
|
2882
|
+
s && s.focus();
|
|
2874
2883
|
}));
|
|
2875
2884
|
}
|
|
2876
2885
|
componentWillUnmount() {
|
|
@@ -2882,33 +2891,33 @@ class Yr extends ft {
|
|
|
2882
2891
|
{
|
|
2883
2892
|
style: { opacity: 0 },
|
|
2884
2893
|
tabIndex: 0,
|
|
2885
|
-
ref: (
|
|
2886
|
-
this.node =
|
|
2894
|
+
ref: (t) => {
|
|
2895
|
+
this.node = t;
|
|
2887
2896
|
}
|
|
2888
2897
|
}
|
|
2889
2898
|
) : null;
|
|
2890
2899
|
}
|
|
2891
2900
|
}
|
|
2892
|
-
const
|
|
2901
|
+
const Ao = jr, Yr = N(
|
|
2893
2902
|
(a, i) => {
|
|
2894
2903
|
var l = a, { className: e, description: t, text: n, children: o } = l, s = R(l, ["className", "description", "text", "children"]);
|
|
2895
|
-
return /* @__PURE__ */ r.createElement(
|
|
2904
|
+
return /* @__PURE__ */ r.createElement(xe, k(h({ className: M(e, "humany-text-link") }, s), { ref: i }), o, /* @__PURE__ */ r.createElement(ve, null, n), t ? /* @__PURE__ */ r.createElement(_e, { html: t, className: "humany-description" }) : null);
|
|
2896
2905
|
}
|
|
2897
2906
|
);
|
|
2898
|
-
var
|
|
2899
|
-
const
|
|
2900
|
-
function
|
|
2901
|
-
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), s = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${
|
|
2907
|
+
var Xr = /* @__PURE__ */ ((e) => (e.HH_MM = "hh:mm", e.YYYY_MM_DD = "yyyy-mm-dd", e.YYYY_MM_DD_HH_MM = "yyyy-mm-dd hh:mm", e))(Xr || {});
|
|
2908
|
+
const Ur = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", { className: M(e, "humany-timestamp") }, _r(n, t)), Fo = Ur, Ze = (e) => `0${e}`.slice(-2);
|
|
2909
|
+
function _r(e, t) {
|
|
2910
|
+
const n = new Date(e), o = n.toTimeString().split(" ")[0].split(":"), s = o.length > 1 ? `${o[0]}:${o[1]}` : o[0], i = n.getFullYear(), a = n.getMonth() + 1, l = n.getDate(), u = `${i}-${Ze(a)}-${Ze(l)}`;
|
|
2902
2911
|
return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? s : `${u} ${s}`;
|
|
2903
2912
|
}
|
|
2904
|
-
const
|
|
2913
|
+
const qr = (i) => {
|
|
2905
2914
|
var a = i, { className: e, children: t, content: n, sticky: o = !1 } = a, s = R(a, ["className", "children", "content", "sticky"]);
|
|
2906
|
-
const [l, u] = $(!1), c = S(Q()), m = S(), [{ x: p, y: d }, f] =
|
|
2915
|
+
const [l, u] = $(!1), c = S(Q()), m = S(), [{ x: p, y: d }, f] = Ue(l, c.current, m.current), C = (E) => {
|
|
2907
2916
|
const { target: b } = E;
|
|
2908
2917
|
!m.current || !b || m.current !== b && !m.current.contains(b) && u(!1);
|
|
2909
2918
|
};
|
|
2910
2919
|
v(() => {
|
|
2911
|
-
if (
|
|
2920
|
+
if (o)
|
|
2912
2921
|
return window.addEventListener("click", C), () => {
|
|
2913
2922
|
window.removeEventListener("click", C);
|
|
2914
2923
|
};
|
|
@@ -2920,7 +2929,7 @@ const Qr = (i) => {
|
|
|
2920
2929
|
[f, u]
|
|
2921
2930
|
);
|
|
2922
2931
|
return /* @__PURE__ */ r.createElement(
|
|
2923
|
-
|
|
2932
|
+
Qr,
|
|
2924
2933
|
{
|
|
2925
2934
|
ref: m,
|
|
2926
2935
|
className: "humany-tooltip-trigger",
|
|
@@ -2931,7 +2940,7 @@ const Qr = (i) => {
|
|
|
2931
2940
|
},
|
|
2932
2941
|
t,
|
|
2933
2942
|
l && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(
|
|
2934
|
-
|
|
2943
|
+
Gr,
|
|
2935
2944
|
h({
|
|
2936
2945
|
className: M(e, "humany-tooltip-container"),
|
|
2937
2946
|
x: p,
|
|
@@ -2940,10 +2949,10 @@ const Qr = (i) => {
|
|
|
2940
2949
|
n
|
|
2941
2950
|
))
|
|
2942
2951
|
);
|
|
2943
|
-
},
|
|
2952
|
+
}, Qr = y.div`
|
|
2944
2953
|
display: flex;
|
|
2945
2954
|
align-items: center;
|
|
2946
|
-
`,
|
|
2955
|
+
`, Gr = y.div`
|
|
2947
2956
|
color: #ffffff;
|
|
2948
2957
|
background: #161616;
|
|
2949
2958
|
border-radius: ${(e) => e.theme.borderRadius};
|
|
@@ -2979,7 +2988,7 @@ const Qr = (i) => {
|
|
|
2979
2988
|
let t = "";
|
|
2980
2989
|
return e.y > 0 ? t += `top: calc(2px + ${e.y || "0"}px);` : t += "bottom: 2px;", e.x > 0 ? t += `right: calc(2px + ${e.x || "0"}px);` : t += "left: 2px;", t;
|
|
2981
2990
|
}};
|
|
2982
|
-
`,
|
|
2991
|
+
`, Ko = qr, Jr = (e) => {
|
|
2983
2992
|
const {
|
|
2984
2993
|
in: t,
|
|
2985
2994
|
mountOnEnter: n = !0,
|
|
@@ -3021,7 +3030,7 @@ const Qr = (i) => {
|
|
|
3021
3030
|
}
|
|
3022
3031
|
})();
|
|
3023
3032
|
return /* @__PURE__ */ r.createElement(
|
|
3024
|
-
|
|
3033
|
+
vt,
|
|
3025
3034
|
{
|
|
3026
3035
|
timeout: {
|
|
3027
3036
|
enter: u && u.enter.duration || 0,
|
|
@@ -3033,9 +3042,9 @@ const Qr = (i) => {
|
|
|
3033
3042
|
unmountOnExit: o,
|
|
3034
3043
|
onEnter: (c) => c.clientHeight
|
|
3035
3044
|
},
|
|
3036
|
-
(c) => i && i(c, u &&
|
|
3045
|
+
(c) => i && i(c, u && fe.compose(c, u))
|
|
3037
3046
|
);
|
|
3038
|
-
},
|
|
3047
|
+
}, jo = Jr, eo = N(
|
|
3039
3048
|
(l, a) => {
|
|
3040
3049
|
var u = l, { className: e, children: t, onClick: n = () => {
|
|
3041
3050
|
}, widgetName: o, activationOptions: s } = u, i = R(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
|
|
@@ -3054,7 +3063,7 @@ const Qr = (i) => {
|
|
|
3054
3063
|
if (C) {
|
|
3055
3064
|
const E = () => {
|
|
3056
3065
|
C.invoke("renderState").then(
|
|
3057
|
-
(b) => b ===
|
|
3066
|
+
(b) => b === oe.open ? C.invoke("close") : C.invoke("open")
|
|
3058
3067
|
).then(() => {
|
|
3059
3068
|
C.events.subscribeOnce("widget:area-rendered", (b, g) => {
|
|
3060
3069
|
c.get(
|
|
@@ -3066,13 +3075,13 @@ const Qr = (i) => {
|
|
|
3066
3075
|
});
|
|
3067
3076
|
});
|
|
3068
3077
|
};
|
|
3069
|
-
C.state ===
|
|
3078
|
+
C.state === mt.Deactivated ? C.activate(s).then(() => C.invoke("attach")).then(E) : E();
|
|
3070
3079
|
}
|
|
3071
3080
|
}, d = (f) => {
|
|
3072
3081
|
f.key === "Enter" && (f.preventDefault(), p(f));
|
|
3073
3082
|
};
|
|
3074
3083
|
return /* @__PURE__ */ r.createElement(
|
|
3075
|
-
|
|
3084
|
+
xe,
|
|
3076
3085
|
k(h({
|
|
3077
3086
|
className: M(e, "humany-widget-link"),
|
|
3078
3087
|
onKeyDown: d,
|
|
@@ -3085,16 +3094,16 @@ const Qr = (i) => {
|
|
|
3085
3094
|
t
|
|
3086
3095
|
);
|
|
3087
3096
|
}
|
|
3088
|
-
),
|
|
3097
|
+
), Yo = N(
|
|
3089
3098
|
({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, o) => {
|
|
3090
|
-
const s = Z(), i =
|
|
3099
|
+
const s = Z(), i = se(() => {
|
|
3091
3100
|
if (!s)
|
|
3092
3101
|
return null;
|
|
3093
3102
|
const a = s.get("widgetDOMElement");
|
|
3094
3103
|
return !a || !a.childElementCount ? null : a.children[0];
|
|
3095
3104
|
}, [s]);
|
|
3096
3105
|
return i ? /* @__PURE__ */ r.createElement(G, { elementId: e, parent: i }, /* @__PURE__ */ r.createElement(
|
|
3097
|
-
|
|
3106
|
+
to,
|
|
3098
3107
|
{
|
|
3099
3108
|
className: M("humany-widget-overlay-outlet", t),
|
|
3100
3109
|
ref: o
|
|
@@ -3102,7 +3111,7 @@ const Qr = (i) => {
|
|
|
3102
3111
|
n
|
|
3103
3112
|
)) : null;
|
|
3104
3113
|
}
|
|
3105
|
-
),
|
|
3114
|
+
), to = y.div`
|
|
3106
3115
|
background-color: #ffffff;
|
|
3107
3116
|
position: absolute;
|
|
3108
3117
|
top: 0;
|
|
@@ -3112,102 +3121,102 @@ const Qr = (i) => {
|
|
|
3112
3121
|
z-index: 10;
|
|
3113
3122
|
width: 100%;
|
|
3114
3123
|
height: 100%;
|
|
3115
|
-
`,
|
|
3124
|
+
`, no = (e, t, n, o, s) => e.getAsync("componentResolver").then((i) => (i.registerComponent(
|
|
3116
3125
|
t,
|
|
3117
|
-
|
|
3118
|
-
),
|
|
3119
|
-
}), t, s))),
|
|
3126
|
+
ft(() => n)
|
|
3127
|
+
), yt(e, t, o || (() => {
|
|
3128
|
+
}), t, s))), Xo = no;
|
|
3120
3129
|
export {
|
|
3121
|
-
|
|
3122
|
-
|
|
3123
|
-
|
|
3124
|
-
|
|
3125
|
-
|
|
3126
|
-
|
|
3127
|
-
|
|
3128
|
-
|
|
3129
|
-
|
|
3130
|
-
|
|
3131
|
-
|
|
3132
|
-
|
|
3133
|
-
|
|
3134
|
-
|
|
3135
|
-
|
|
3136
|
-
|
|
3137
|
-
|
|
3138
|
-
|
|
3139
|
-
|
|
3140
|
-
|
|
3141
|
-
|
|
3142
|
-
|
|
3143
|
-
|
|
3144
|
-
|
|
3145
|
-
|
|
3146
|
-
|
|
3147
|
-
|
|
3130
|
+
Zt as AnchorLink,
|
|
3131
|
+
ae as Button,
|
|
3132
|
+
Co as Checkbox,
|
|
3133
|
+
At as ColumnContext,
|
|
3134
|
+
Ae as ComponentNodeContext,
|
|
3135
|
+
Ft as ComponentPropertyContext,
|
|
3136
|
+
Oo as Confirm,
|
|
3137
|
+
Pt as ContainerContext,
|
|
3138
|
+
jt as ConversationContext,
|
|
3139
|
+
Xr as DateFormats,
|
|
3140
|
+
No as Drawer,
|
|
3141
|
+
Tn as DrawerAnimationType,
|
|
3142
|
+
Vo as Dropdown,
|
|
3143
|
+
Kn as Empty,
|
|
3144
|
+
Wo as Grid,
|
|
3145
|
+
_e as Html,
|
|
3146
|
+
Un as Icon,
|
|
3147
|
+
Zo as Input,
|
|
3148
|
+
Qn as ItemList,
|
|
3149
|
+
Io as ItemTree,
|
|
3150
|
+
Dr as Lightbox,
|
|
3151
|
+
xe as Link,
|
|
3152
|
+
_n as List,
|
|
3153
|
+
zr as Modal,
|
|
3154
|
+
Po as NotFound,
|
|
3155
|
+
qe as Overlay,
|
|
3156
|
+
qn as Paragraph,
|
|
3148
3157
|
G as Portal,
|
|
3149
|
-
|
|
3150
|
-
|
|
3151
|
-
|
|
3158
|
+
Jn as RouteLink,
|
|
3159
|
+
Kt as RoutingContext,
|
|
3160
|
+
We as StyledText,
|
|
3152
3161
|
J as SymbolBadge,
|
|
3153
|
-
|
|
3154
|
-
|
|
3155
|
-
|
|
3156
|
-
|
|
3157
|
-
|
|
3158
|
-
|
|
3162
|
+
Ao as TabStop,
|
|
3163
|
+
ve as Text,
|
|
3164
|
+
Yr as TextLink,
|
|
3165
|
+
Fo as Timestamp,
|
|
3166
|
+
Ko as Tooltip,
|
|
3167
|
+
jo as TransitionComponent,
|
|
3159
3168
|
q as Typography,
|
|
3160
|
-
|
|
3161
|
-
|
|
3169
|
+
eo as WidgetLink,
|
|
3170
|
+
Yo as WidgetOverlayOutlet,
|
|
3162
3171
|
A as borderTabStyle,
|
|
3163
|
-
|
|
3164
|
-
|
|
3165
|
-
|
|
3172
|
+
Ve as browser,
|
|
3173
|
+
xn as buttonCss,
|
|
3174
|
+
Xe as contentBox,
|
|
3166
3175
|
V as convertToStringAttributes,
|
|
3167
|
-
|
|
3168
|
-
|
|
3169
|
-
|
|
3170
|
-
|
|
3171
|
-
|
|
3172
|
-
|
|
3173
|
-
|
|
3174
|
-
|
|
3175
|
-
|
|
3176
|
-
|
|
3177
|
-
|
|
3178
|
-
|
|
3179
|
-
|
|
3180
|
-
|
|
3181
|
-
|
|
3182
|
-
|
|
3183
|
-
|
|
3184
|
-
|
|
3185
|
-
|
|
3186
|
-
|
|
3187
|
-
|
|
3188
|
-
|
|
3189
|
-
|
|
3176
|
+
go as createEmptyComponent,
|
|
3177
|
+
Xo as createReactComponent,
|
|
3178
|
+
Vt as defaultRenderInstructions,
|
|
3179
|
+
Ht as embeddedLinkMapper,
|
|
3180
|
+
Dt as filterCssProps,
|
|
3181
|
+
Tt as filterCssPropsStyle,
|
|
3182
|
+
Bt as genericHashLink,
|
|
3183
|
+
zo as genericHtml,
|
|
3184
|
+
ie as headingElement,
|
|
3185
|
+
Nt as imageLightboxRenderer,
|
|
3186
|
+
To as invertedHoverButton,
|
|
3187
|
+
Bo as itemList,
|
|
3188
|
+
wn as linkTabStyle,
|
|
3189
|
+
$n as list,
|
|
3190
|
+
Do as paddedBorderTabStyle,
|
|
3191
|
+
zt as processHtmlString,
|
|
3192
|
+
fe as transitionComposer,
|
|
3193
|
+
yo as useAction,
|
|
3194
|
+
bo as useChildren,
|
|
3195
|
+
vo as useColumns,
|
|
3196
|
+
Eo as useComponent,
|
|
3197
|
+
Ce as useComponentDescriptor,
|
|
3198
|
+
ye as useComponentNode,
|
|
3190
3199
|
U as useComponentPlatform,
|
|
3191
3200
|
Z as useContainer,
|
|
3192
|
-
|
|
3193
|
-
|
|
3194
|
-
|
|
3201
|
+
nn as useContext,
|
|
3202
|
+
xo as useConversation,
|
|
3203
|
+
wo as useDispatch,
|
|
3195
3204
|
I as useEventListener,
|
|
3196
|
-
|
|
3205
|
+
an as useEvents,
|
|
3197
3206
|
O as useIsMounted,
|
|
3198
|
-
|
|
3207
|
+
$o as useIsTabbing,
|
|
3199
3208
|
Y as useKeyPress,
|
|
3200
|
-
|
|
3201
|
-
|
|
3202
|
-
|
|
3203
|
-
|
|
3204
|
-
|
|
3205
|
-
|
|
3206
|
-
|
|
3207
|
-
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3211
|
-
|
|
3209
|
+
ko as useLayout,
|
|
3210
|
+
Fe as usePrevious,
|
|
3211
|
+
Lo as useProperties,
|
|
3212
|
+
Mo as useRenderState,
|
|
3213
|
+
So as useRouteData,
|
|
3214
|
+
Ke as useRouter,
|
|
3215
|
+
je as useScroll,
|
|
3216
|
+
Ro as useSettings,
|
|
3217
|
+
Ye as useToggle,
|
|
3218
|
+
Ho as useTransitionEnd,
|
|
3219
|
+
be as useUniqueMenu,
|
|
3220
|
+
ce as useWidgetEvent
|
|
3212
3221
|
};
|
|
3213
3222
|
//# sourceMappingURL=index.js.map
|