@telia-ace/widget-ui 1.0.18 → 1.0.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.js CHANGED
@@ -1,35 +1,35 @@
1
- var Je = Object.defineProperty, et = Object.defineProperties;
2
- var tt = Object.getOwnPropertyDescriptors;
3
- var Q = Object.getOwnPropertySymbols;
4
- var we = Object.prototype.hasOwnProperty, $e = Object.prototype.propertyIsEnumerable;
5
- var xe = (e, t, n) => t in e ? Je(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, p = (e, t) => {
1
+ var Ne = Object.defineProperty, ze = Object.defineProperties;
2
+ var Be = Object.getOwnPropertyDescriptors;
3
+ var Y = Object.getOwnPropertySymbols;
4
+ var he = Object.prototype.hasOwnProperty, pe = Object.prototype.propertyIsEnumerable;
5
+ var fe = (e, t, n) => t in e ? Ne(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, p = (e, t) => {
6
6
  for (var n in t || (t = {}))
7
- we.call(t, n) && xe(e, n, t[n]);
8
- if (Q)
9
- for (var n of Q(t))
10
- $e.call(t, n) && xe(e, n, t[n]);
7
+ he.call(t, n) && fe(e, n, t[n]);
8
+ if (Y)
9
+ for (var n of Y(t))
10
+ pe.call(t, n) && fe(e, n, t[n]);
11
11
  return e;
12
- }, L = (e, t) => et(e, tt(t));
13
- var S = (e, t) => {
12
+ }, k = (e, t) => ze(e, Be(t));
13
+ var $ = (e, t) => {
14
14
  var n = {};
15
- for (var i in e)
16
- we.call(e, i) && t.indexOf(i) < 0 && (n[i] = e[i]);
17
- if (e != null && Q)
18
- for (var i of Q(e))
19
- t.indexOf(i) < 0 && $e.call(e, i) && (n[i] = e[i]);
15
+ for (var s in e)
16
+ he.call(e, s) && t.indexOf(s) < 0 && (n[s] = e[s]);
17
+ if (e != null && Y)
18
+ for (var s of Y(e))
19
+ t.indexOf(s) < 0 && pe.call(e, s) && (n[s] = e[s]);
20
20
  return n;
21
21
  };
22
- import C, { css as $, keyframes as ze } from "styled-components";
23
- import { kebabCase as nt, appendClassNames as M, uuid as j, removeNullAndUndefinedValues as ke, Logger as se } from "@telia-ace/widget-utilities";
24
- import r, { forwardRef as D, createContext as X, useContext as A, useState as k, useEffect as E, useRef as R, useCallback as H, useImperativeHandle as me, useMemo as J, Component as rt, lazy as ot } from "react";
25
- import { CSSTransition as De, Transition as it } from "react-transition-group";
26
- import { Container as st, WidgetState as at } from "@webprovisions/platform";
27
- import { ComponentPlatform as ct, asDescriptor as lt, createEventSubscriber as ut, ComponentQuery as mt, WidgetRenderState as G, extendComponent as dt } from "@telia-ace/widget-core";
28
- import { createPortal as ft } from "react-dom";
29
- import Le from "htmr";
30
- import { HistoryMode as Me, getSpecificWidgetPath as ht } from "@telia-ace/widget-routing";
31
- import { Link as ae } from "react-router-dom";
32
- const pt = (e) => e === "entering" || e === "entered", gt = (e) => e === "exiting" || e === "exited", I = {
22
+ import v, { css as M } from "styled-components";
23
+ import { kebabCase as Ve, appendClassNames as w, uuid as F, removeNullAndUndefinedValues as ge, Logger as ne } from "@telia-ace/widget-utilities";
24
+ import r, { forwardRef as D, createContext as Z, useContext as O, useState as L, useEffect as C, useRef as S, useCallback as H, useImperativeHandle as ie, Component as We, lazy as Oe } from "react";
25
+ import { CSSTransition as ve, Transition as Ie } from "react-transition-group";
26
+ import { Container as Pe, WidgetState as Fe } from "@webprovisions/platform";
27
+ import { ComponentPlatform as Ze, asDescriptor as Ae, createEventSubscriber as Ke, ComponentQuery as Ye, WidgetRenderState as j, extendComponent as je } from "@telia-ace/widget-core";
28
+ import { createPortal as Xe } from "react-dom";
29
+ import ye from "htmr";
30
+ import { HistoryMode as be, getSpecificWidgetPath as _e } from "@telia-ace/widget-routing";
31
+ import { Link as re } from "react-router-dom";
32
+ const Ue = (e) => e === "entering" || e === "entered", qe = (e) => e === "exiting" || e === "exited", W = {
33
33
  fade: {
34
34
  in: "opacity: 1;",
35
35
  out: "opacity: 0;"
@@ -54,29 +54,29 @@ const pt = (e) => e === "entering" || e === "entered", gt = (e) => e === "exitin
54
54
  in: "transform: scale(1);",
55
55
  out: "transform: scale(0);"
56
56
  }
57
- }, Ct = ["slide-up", "slide-down", "slide-left", "slide-right", "scale"], ce = {
57
+ }, Qe = ["slide-up", "slide-down", "slide-left", "slide-right", "scale"], oe = {
58
58
  compose: (e = "exited", t) => {
59
- const { enter: n, exit: i } = t, o = n.transitionKeys.split(" "), s = Ct.indexOf(o[0]) > -1 ? "transform" : "opacity";
60
- if (pt(e))
61
- return o && o.length > 0 ? $`
62
- ${o && o.length > 0 && o.map((m) => I[m] ? I[m].in : "")}
63
- transition: ${s} ${n.duration}ms ${n.easing};
59
+ const { enter: n, exit: s } = t, o = n.transitionKeys.split(" "), i = Qe.indexOf(o[0]) > -1 ? "transform" : "opacity";
60
+ if (Ue(e))
61
+ return o && o.length > 0 ? M`
62
+ ${o && o.length > 0 && o.map((m) => W[m] ? W[m].in : "")}
63
+ transition: ${i} ${n.duration}ms ${n.easing};
64
64
  ` : "";
65
- const a = o && o.length > 0 && $`
66
- ${o.map((m) => I[m] ? I[m].out : "")}
65
+ const a = o && o.length > 0 && M`
66
+ ${o.map((m) => W[m] ? W[m].out : "")}
67
67
  `;
68
- if (gt(e)) {
69
- const m = i.transitionKeys.split(" ");
70
- return m && m.length > 0 && e === "exiting" ? $`
68
+ if (qe(e)) {
69
+ const m = s.transitionKeys.split(" ");
70
+ return m && m.length > 0 && e === "exiting" ? M`
71
71
  ${a};
72
- ${m.map((u) => I[u] ? I[u].out : "")}
73
- transition: ${s} ${i.duration}ms ${i.easing};
72
+ ${m.map((l) => W[l] ? W[l].out : "")}
73
+ transition: ${i} ${s.duration}ms ${s.easing};
74
74
  ` : a;
75
75
  }
76
76
  },
77
77
  composeViewTransition: (e, t, n) => {
78
78
  if (t === "slide")
79
- return ce.compose(e, {
79
+ return oe.compose(e, {
80
80
  enter: {
81
81
  transitionKeys: n === "forth" ? "slide-right" : "slide-left",
82
82
  duration: 500
@@ -87,7 +87,7 @@ const pt = (e) => e === "entering" || e === "entered", gt = (e) => e === "exitin
87
87
  }
88
88
  });
89
89
  if (t === "fade")
90
- return ce.compose(e, {
90
+ return oe.compose(e, {
91
91
  enter: {
92
92
  transitionKeys: "fade",
93
93
  duration: 500
@@ -98,130 +98,129 @@ const pt = (e) => e === "entering" || e === "entered", gt = (e) => e === "exitin
98
98
  }
99
99
  });
100
100
  },
101
- get: (e) => I[e]
101
+ get: (e) => W[e]
102
102
  };
103
- var le = /* @__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))(le || {});
104
- const Se = () => {
103
+ var se = /* @__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))(se || {});
104
+ const Ce = () => {
105
105
  const {
106
106
  opr: e,
107
107
  opera: t,
108
108
  InstallTrigger: n,
109
- HTMLElement: i,
109
+ HTMLElement: s,
110
110
  safari: o,
111
- documentMode: s,
111
+ documentMode: i,
112
112
  StyleMedia: a,
113
113
  chrome: m,
114
- CSS: u
114
+ CSS: l
115
115
  } = window, c = !!e && !!e.addons || !!t || navigator.userAgent.indexOf(" OPR/") >= 0;
116
116
  if (c)
117
117
  return "opera";
118
118
  if (n)
119
119
  return "firefox";
120
- const d = ((h) => h.toString() === "[object SafariRemoteNotification]")(!o || typeof o != "undefined" && o.pushNotification);
121
- if (/constructor/i.test(i) || d)
120
+ const u = ((h) => h.toString() === "[object SafariRemoteNotification]")(!o || typeof o != "undefined" && o.pushNotification);
121
+ if (/constructor/i.test(s) || u)
122
122
  return "safari";
123
- const f = !!s;
123
+ const f = !!i;
124
124
  if (f)
125
125
  return "internet-explorer";
126
126
  if (!f && !!a)
127
127
  return "edge";
128
- const l = !!m && (!!m.webstore || !!m.runtime);
129
- if (l)
128
+ const d = !!m && (!!m.webstore || !!m.runtime);
129
+ if (d)
130
130
  return "chrome";
131
- if (l && navigator.userAgent.indexOf("Edg") !== -1)
131
+ if (d && navigator.userAgent.indexOf("Edg") !== -1)
132
132
  return "edge-chromium";
133
- if ((l || c) && !!u)
133
+ if ((d || c) && !!l)
134
134
  return "blink";
135
- }, yt = ["string", "number"], B = (e) => Object.keys(e).reduce((t, n) => {
136
- const i = typeof e[n] == "undefined" ? "" : e[n], o = typeof i;
137
- if (yt.indexOf(o) > -1) {
138
- const s = n.substring(0, 5);
139
- s === "data-" || s === "aria-" ? t[nt(n)] = i.toString() : n.substring(0, 4) !== "css-" && (t[n] = i.toString());
135
+ }, Ge = ["string", "number"], R = (e) => Object.keys(e).reduce((t, n) => {
136
+ const s = typeof e[n] == "undefined" ? "" : e[n], o = typeof s;
137
+ if (Ge.indexOf(o) > -1) {
138
+ const i = n.substring(0, 5);
139
+ i === "data-" || i === "aria-" ? t[Ve(n)] = s.toString() : n.substring(0, 4) !== "css-" && (t[n] = s.toString());
140
140
  } else
141
- t[n] = i;
141
+ t[n] = s;
142
142
  return t;
143
- }, {}), o1 = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(qt, p({}, t)) : null, bt = (e) => new RegExp("^#", "i").test(e), vt = (e) => (i) => {
144
- var o = i, { children: t } = o, n = S(o, ["children"]);
143
+ }, {}), bn = (e, t) => e.get("seoConfiguration") ? /* @__PURE__ */ r.createElement(Ht, p({}, t)) : null, Je = (e) => new RegExp("^#", "i").test(e), et = (e) => (s) => {
144
+ var o = s, { children: t } = o, n = $(o, ["children"]);
145
145
  const {
146
- implementation: s,
146
+ implementation: i,
147
147
  name: a
148
148
  } = e.get("$widget"), { href: m = "" } = n;
149
- if (bt(m))
150
- return /* @__PURE__ */ r.createElement(Lt, {
149
+ if (Je(m))
150
+ return /* @__PURE__ */ r.createElement(it, {
151
151
  smooth: !0,
152
152
  to: m
153
153
  }, t);
154
- const u = s.bindings.map((f) => f.replace(/\./g, "\\.")).join("|"), d = new RegExp(`^((http[s]?:)?//)?(${u})/([^\\s]+)`).exec(m);
155
- if (d && d.length >= 4) {
156
- const f = d[4];
157
- if (s.widgets.get(f) && !f.startsWith("blob?") && !f.startsWith(a))
158
- return /* @__PURE__ */ r.createElement(Yn, {
154
+ const l = i.bindings.map((f) => f.replace(/\./g, "\\.")).join("|"), u = new RegExp(`^((http[s]?:)?//)?(${l})/([^\\s]+)`).exec(m);
155
+ if (u && u.length >= 4) {
156
+ const f = u[4];
157
+ if (i.widgets.get(f) && !f.startsWith("blob?") && !f.startsWith(a))
158
+ return /* @__PURE__ */ r.createElement(sn, {
159
159
  widgetName: f
160
160
  }, t);
161
161
  }
162
162
  return /* @__PURE__ */ r.createElement("a", p({}, n), t);
163
- }, Be = (e) => {
163
+ }, we = (e) => {
164
164
  const t = {};
165
165
  return Object.keys(e).forEach((n) => {
166
166
  n.indexOf("css-") > -1 && (t[n] = e[n]);
167
167
  }), t;
168
- }, Et = $`
168
+ }, tt = M`
169
169
  ${(e) => {
170
170
  let t = "";
171
- return Object.keys(Be(e)).forEach((n) => {
171
+ return Object.keys(we(e)).forEach((n) => {
172
172
  n.indexOf("css-") > -1 && (t += `${n.replace("css-", "")}:${e[n]};`);
173
173
  }), t;
174
174
  }}
175
- `, xt = (e, t) => {
175
+ `, nt = (e, t) => {
176
176
  let n = "";
177
- const i = () => {
177
+ const s = () => {
178
178
  n = "";
179
179
  }, o = (f) => {
180
- const l = document.getElementById(n);
181
- return l !== null ? (f(l), i(), !0) : !1;
182
- }, s = (f) => (f.preventDefault(), i(), e.onClick && e.onClick(f), typeof e.to == "string" && (n = e.to.split("#").slice(1).join("#")), n !== "" && o(e.scroll || ((l) => e.smooth ? l.scrollIntoView({ behavior: "smooth" }) : l.scrollIntoView())), !1), d = e, { scroll: a, smooth: m, to: u } = d, c = S(d, ["scroll", "smooth", "to"]);
183
- return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ r.createElement(t, L(p({}, c), {
184
- onClick: s
180
+ const d = document.getElementById(n);
181
+ return d !== null ? (f(d), s(), !0) : !1;
182
+ }, i = (f) => (f.preventDefault(), s(), e.onClick && e.onClick(f), typeof e.to == "string" && (n = e.to.split("#").slice(1).join("#")), n !== "" && o(e.scroll || ((d) => e.smooth ? d.scrollIntoView({ behavior: "smooth" }) : d.scrollIntoView())), !1), u = e, { scroll: a, smooth: m, to: l } = u, c = $(u, ["scroll", "smooth", "to"]);
183
+ return t === "a" && (c.href = "javascript:;"), /* @__PURE__ */ r.createElement(t, k(p({}, c), {
184
+ onClick: i
185
185
  }), e.children);
186
- }, ee = (e, t) => {
187
- let n = e, i = "";
186
+ }, X = (e, t) => {
187
+ let n = e, s = "";
188
188
  if (["h1", "h2", "h3", "h4", "h5", "h6"].includes(e))
189
189
  n = e;
190
190
  else {
191
- const s = e.match(/h1|h2|h3|h4|h5|h6/);
192
- if (s != null && s[0]) {
193
- n = s[0];
191
+ const i = e.match(/h1|h2|h3|h4|h5|h6/);
192
+ if (i != null && i[0]) {
193
+ n = i[0];
194
194
  const [a] = e.split(n);
195
- i = a;
195
+ s = a;
196
196
  }
197
197
  }
198
- const o = (s, a, m) => m[s] ? `${a}${m[s]}` : `${a}${s}`;
199
- return $`
200
- ${(s) => o(n, i, s.theme.typographyVariantMapping || {})} {
198
+ const o = (i, a, m) => m[i] ? `${a}${m[i]}` : `${a}${i}`;
199
+ return M`
200
+ ${(i) => o(n, s, i.theme.typographyVariantMapping || {})} {
201
201
  ${t}
202
202
  }
203
203
  `;
204
204
  };
205
- function wt(e, t) {
206
- return t ? Le(e, t) : Le(e);
205
+ function rt(e, t) {
206
+ return t ? ye(e, t) : ye(e);
207
207
  }
208
- const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
209
- attrs: t,
210
- htmlBody: e
211
- }), kt = (e, t) => ({
208
+ const ot = (e) => /* @__PURE__ */ r.createElement(Wt, {
209
+ attrs: e
210
+ }), st = (e) => ({
212
211
  transform: {
213
- a: vt(e),
214
- img: $t(t)
212
+ a: et(e),
213
+ img: ot
215
214
  }
216
- }), Lt = (e) => xt(e, "a"), te = D((o, i) => {
217
- var s = o, { className: e, children: t } = s, n = S(s, ["className", "children"]);
218
- return /* @__PURE__ */ r.createElement(Mt, L(p({
215
+ }), it = (e) => nt(e, "a"), U = D((o, s) => {
216
+ var i = o, { className: e, children: t } = i, n = $(i, ["className", "children"]);
217
+ return /* @__PURE__ */ r.createElement(at, k(p({
219
218
  type: "button",
220
- className: M(e, "humany-button")
221
- }, B(n)), {
222
- ref: i
219
+ className: w(e, "humany-button")
220
+ }, R(n)), {
221
+ ref: s
223
222
  }), t);
224
- }), Mt = C.button`
223
+ }), at = v.button`
225
224
  -webkit-appearance: button;
226
225
  text-transform: none;
227
226
  overflow: visible;
@@ -234,239 +233,239 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
234
233
  line-height: normal;
235
234
  margin: 0;
236
235
  padding: 0;
237
- `, i1 = (o) => {
238
- var s = o, {
236
+ `, Cn = (o) => {
237
+ var i = o, {
239
238
  onChange: e = () => {
240
239
  },
241
240
  onEnter: t = () => {
242
241
  },
243
242
  className: n
244
- } = s, i = S(s, [
243
+ } = i, s = $(i, [
245
244
  "onChange",
246
245
  "onEnter",
247
246
  "className"
248
247
  ]);
249
248
  return /* @__PURE__ */ r.createElement("input", p({
250
- className: M(n, "humany-checkbox"),
249
+ className: w(n, "humany-checkbox"),
251
250
  onKeyDown: (a) => {
252
251
  a.key === "Enter" && t(a);
253
252
  },
254
253
  onChange: (a) => e(a.target.value, a.currentTarget.checked)
255
- }, B(i)));
256
- }, St = X(new st()), Rt = X(1), Te = X({
254
+ }, R(s)));
255
+ }, ct = Z(new Pe()), lt = Z(1), $e = Z({
257
256
  id: "",
258
257
  type: "",
259
258
  name: "",
260
259
  branch: ""
261
- }), Ht = X({}), zt = X(null), de = () => A(Te), V = () => A(St), s1 = (e, t) => {
262
- const n = de().id, i = V();
263
- return (o, s) => {
264
- (t || i).getAsync("actionResolver").then((a) => {
265
- a.action(e || n, o, s);
260
+ }), ut = Z({}), mt = Z(null), ae = () => O($e), T = () => O(ct), xn = (e, t) => {
261
+ const n = ae().id, s = T();
262
+ return (o, i) => {
263
+ (t || s).getAsync("actionResolver").then((a) => {
264
+ a.action(e || n, o, i);
266
265
  });
267
266
  };
268
- }, fe = (e) => {
269
- const t = A(Te), n = P(), [i, o] = k();
270
- return E(() => {
267
+ }, ce = (e) => {
268
+ const t = O($e), n = I(), [s, o] = L();
269
+ return C(() => {
271
270
  if ((e || t.id) && n) {
272
- const s = n.nodes.get(e || t.id);
273
- o(s);
271
+ const i = n.nodes.get(e || t.id);
272
+ o(i);
274
273
  }
275
- }, [e, t.id, n]), i;
276
- }, Z = () => {
277
- const e = R(!1);
278
- return E(() => (e.current = !0, () => {
274
+ }, [e, t.id, n]), s;
275
+ }, B = () => {
276
+ const e = S(!1);
277
+ return C(() => (e.current = !0, () => {
279
278
  e.current = !1;
280
279
  }), []), e;
281
- }, P = (e) => {
282
- const t = V(), [n, i] = k(null), o = Z();
283
- return E(() => {
284
- ct.getInstance(e || t).then((s) => {
285
- o.current && i(s);
280
+ }, I = (e) => {
281
+ const t = T(), [n, s] = L(null), o = B();
282
+ return C(() => {
283
+ Ze.getInstance(e || t).then((i) => {
284
+ o.current && s(i);
286
285
  });
287
286
  }, [o]), n;
288
- }, a1 = () => {
289
- const e = fe(), t = P(), [n, i] = k([]), o = Z(), s = H((a) => {
287
+ }, En = () => {
288
+ const e = ce(), t = I(), [n, s] = L([]), o = B(), i = H((a) => {
290
289
  if (t && o.current) {
291
- const m = t.getBranch(a), u = a.getChildren(m).map((c) => lt(c));
292
- i(u);
290
+ const m = t.getBranch(a), l = a.getChildren(m).map((c) => Ae(c));
291
+ s(l);
293
292
  }
294
- }, [o, t, i]);
295
- return E(() => {
296
- e && s(e);
297
- }, [e, t]), E(() => {
293
+ }, [o, t, s]);
294
+ return C(() => {
295
+ e && i(e);
296
+ }, [e, t]), C(() => {
298
297
  if (t) {
299
- const [a, m] = ut(t.events);
300
- return a("components:set-layout", (u, c) => {
301
- (e === c.node.parent || c.node.parent === t.nodes.root) && s(c.node.parent);
302
- }), a("components:node-appended", (u, c) => {
303
- (e === c.node.parent || c.node.parent === t.nodes.root) && s(c.node.parent);
304
- }), a("components:node-removed", (u, { parentNode: c }) => {
305
- (c === e || c === t.nodes.root) && s(c);
298
+ const [a, m] = Ke(t.events);
299
+ return a("components:set-layout", (l, c) => {
300
+ (e === c.node.parent || c.node.parent === t.nodes.root) && i(c.node.parent);
301
+ }), a("components:node-appended", (l, c) => {
302
+ (e === c.node.parent || c.node.parent === t.nodes.root) && i(c.node.parent);
303
+ }), a("components:node-removed", (l, { parentNode: c }) => {
304
+ (c === e || c === t.nodes.root) && i(c);
306
305
  }), () => {
307
306
  m();
308
307
  };
309
308
  }
310
- }, [e, t, s]), n;
311
- }, c1 = () => A(Rt), l1 = (e, t) => {
312
- const n = de(), i = V(), [o, s] = k(void 0), a = Z(), m = e || n.type || "";
313
- return E(() => {
309
+ }, [e, t, i]), n;
310
+ }, vn = () => O(lt), wn = (e, t) => {
311
+ const n = ae(), s = T(), [o, i] = L(void 0), a = B(), m = e || n.type || "";
312
+ return C(() => {
314
313
  if (m) {
315
- let u;
316
- return (t || i).getAsync("componentResolver").then((c) => {
314
+ let l;
315
+ return (t || s).getAsync("componentResolver").then((c) => {
317
316
  if (a.current) {
318
- const d = c.getComponent(m);
319
- s(d);
317
+ const u = c.getComponent(m);
318
+ i(u);
320
319
  }
321
- u = c.registerResolver(m, (d) => {
322
- a.current && s(d);
320
+ l = c.registerResolver(m, (u) => {
321
+ a.current && i(u);
323
322
  });
324
323
  }), () => {
325
- u && u();
324
+ l && l();
326
325
  };
327
326
  }
328
- }, [a, m, t, i]), o;
329
- }, Dt = (e) => {
330
- const t = fe(e), n = P(), [i, o] = k({}), s = Z();
331
- return E(() => {
332
- t && s.current && o(t.attributes.context);
333
- }, [s, t]), E(() => {
327
+ }, [a, m, t, s]), o;
328
+ }, dt = (e) => {
329
+ const t = ce(e), n = I(), [s, o] = L({}), i = B();
330
+ return C(() => {
331
+ t && i.current && o(t.attributes.context);
332
+ }, [i, t]), C(() => {
334
333
  if (n) {
335
- const a = n.events.subscribe("components:context-changed", (m, u) => {
336
- t === u.node && s.current && o(u.node.attributes.context);
334
+ const a = n.events.subscribe("components:context-changed", (m, l) => {
335
+ t === l.node && i.current && o(l.node.attributes.context);
337
336
  });
338
337
  return () => {
339
338
  a();
340
339
  };
341
340
  }
342
- }, [s, n]), i;
343
- }, u1 = () => {
344
- const e = P(), t = de(), [n, i] = k([]), [o, s] = k();
345
- return E(() => {
341
+ }, [i, n]), s;
342
+ }, $n = () => {
343
+ const e = I(), t = ae(), [n, s] = L([]), [o, i] = L();
344
+ return C(() => {
346
345
  if (e && t) {
347
- const a = new mt(e).withId(t.id), m = e.actions(a, t.type || j());
348
- s(m), n !== null && (n.forEach((u) => {
349
- m.dispatch(u.key, u.data).then((c) => u.resolve(c)).catch((c) => u.reject(c));
350
- }), i(null));
346
+ const a = new Ye(e).withId(t.id), m = e.actions(a, t.type || F());
347
+ i(m), n !== null && (n.forEach((l) => {
348
+ m.dispatch(l.key, l.data).then((c) => l.resolve(c)).catch((c) => l.reject(c));
349
+ }), s(null));
351
350
  }
352
- }, [e, t.id]), (a, m) => n !== null ? new Promise((u, c) => {
351
+ }, [e, t.id]), (a, m) => n !== null ? new Promise((l, c) => {
353
352
  n.push({
354
353
  key: a,
355
354
  data: m,
356
- resolve: u,
355
+ resolve: l,
357
356
  reject: c
358
357
  });
359
358
  }) : o.dispatch(a, m);
360
- }, W = (e, t, n = window, i = () => !0) => {
361
- const o = R(() => {
359
+ }, z = (e, t, n = window, s = () => !0) => {
360
+ const o = S(() => {
362
361
  });
363
- E(() => {
362
+ C(() => {
364
363
  o.current = t;
365
- }, [t]), E(() => {
366
- if (!(n && i()))
364
+ }, [t]), C(() => {
365
+ if (!(n && s()))
367
366
  return;
368
367
  const a = (m) => o.current(m);
369
368
  return n.addEventListener(e, a), () => {
370
369
  n.removeEventListener(e, a);
371
370
  };
372
371
  }, [e, n]);
373
- }, Bt = (e) => {
374
- const t = V(), { events: n } = (e || t).get("$widget");
372
+ }, ft = (e) => {
373
+ const t = T(), { events: n } = (e || t).get("$widget");
375
374
  return n;
376
- }, ne = (e, t) => {
377
- const [n, i] = k(!1), o = H((a) => {
375
+ }, q = (e, t) => {
376
+ const [n, s] = L(!1), o = H((a) => {
378
377
  const { key: m } = a;
379
- m === e && (i(!0), t && t(a));
380
- }, [i, t]), s = H(({ key: a }) => {
381
- a === e && i(!1);
382
- }, [i]);
383
- return W("keydown", o, window), W("keyup", s, window), n;
384
- }, m1 = (e) => {
385
- const t = fe(e), n = P(), [i, o] = k({}), s = Z();
386
- return E(() => {
387
- t && s.current && o(t.attributes.layout);
388
- }, [t, s]), E(() => {
378
+ m === e && (s(!0), t && t(a));
379
+ }, [s, t]), i = H(({ key: a }) => {
380
+ a === e && s(!1);
381
+ }, [s]);
382
+ return z("keydown", o, window), z("keyup", i, window), n;
383
+ }, kn = (e) => {
384
+ const t = ce(e), n = I(), [s, o] = L({}), i = B();
385
+ return C(() => {
386
+ t && i.current && o(t.attributes.layout);
387
+ }, [t, i]), C(() => {
389
388
  if (n) {
390
- const a = n.events.subscribe("components:layout-changed", (m, u) => {
391
- t === u.node && s.current && o(u.node.attributes.layout);
389
+ const a = n.events.subscribe("components:layout-changed", (m, l) => {
390
+ t === l.node && i.current && o(l.node.attributes.layout);
392
391
  });
393
392
  return () => {
394
393
  a();
395
394
  };
396
395
  }
397
- }, [n, s]), i;
398
- }, Ve = (e) => {
399
- const t = R();
400
- return E(() => {
396
+ }, [n, i]), s;
397
+ }, ke = (e) => {
398
+ const t = S();
399
+ return C(() => {
401
400
  t.current = e;
402
401
  }), t.current;
403
- }, d1 = () => A(Ht), f1 = (e) => {
404
- const [t, n] = k(), i = V(), o = Z();
405
- return E(() => {
406
- let s;
407
- const a = (e || i).get("$widget");
402
+ }, Ln = () => O(ut), Mn = (e) => {
403
+ const [t, n] = L(), s = T(), o = B();
404
+ return C(() => {
405
+ let i;
406
+ const a = (e || s).get("$widget");
408
407
  if (!a)
409
408
  return;
410
- const { name: m, invoke: u } = a;
411
- return u("renderState").then((c) => {
409
+ const { name: m, invoke: l } = a;
410
+ return l("renderState").then((c) => {
412
411
  o.current && n(c);
413
- }), (e || i).getAsync("actionResolver").then((c) => {
414
- s = c.subscribe(m, (d, f) => {
412
+ }), (e || s).getAsync("actionResolver").then((c) => {
413
+ i = c.subscribe(m, (u, f) => {
415
414
  switch (f) {
416
415
  case "close":
417
416
  case "open":
418
- o.current && n(f === "open" ? G.open : G.closed);
417
+ o.current && n(f === "open" ? j.open : j.closed);
419
418
  break;
420
419
  case "hide":
421
- o.current && n(G.hidden);
420
+ o.current && n(j.hidden);
422
421
  }
423
422
  });
424
423
  }), () => {
425
- s && s();
424
+ i && i();
426
425
  };
427
426
  }, [o]), t;
428
- }, Ne = () => A(zt), h1 = (e) => {
429
- const t = V(), n = Ne(), [i, o] = k({ name: "", params: {} }), s = Z();
430
- return E(() => {
427
+ }, Le = () => O(mt), Sn = (e) => {
428
+ const t = T(), n = Le(), [s, o] = L({ name: "", params: {} }), i = B();
429
+ return C(() => {
431
430
  const a = (e || t).get("$widget");
432
431
  if (!a)
433
432
  return;
434
433
  const { events: m } = a;
435
- return m.subscribe("router:change", (c, { next: { routeData: d } }) => {
436
- if (s.current) {
437
- const { name: f, params: l } = d;
438
- ke(l), o({ name: f, params: l });
434
+ return m.subscribe("router:change", (c, { next: { routeData: u } }) => {
435
+ if (i.current) {
436
+ const { name: f, params: d } = u;
437
+ ge(d), o({ name: f, params: d });
439
438
  }
440
439
  });
441
- }, [s, e, t]), E(() => {
442
- if (n && n.history && s.current) {
443
- const a = n.getRouteData(), { name: m, params: u } = a;
444
- ke(u), o({ name: m, params: u });
445
- }
446
- }, [n, s]), i;
447
- }, We = (e) => {
448
- const t = R(), n = R(0);
449
- let i;
440
+ }, [i, e, t]), C(() => {
441
+ if (n && n.history && i.current) {
442
+ const a = n.getRouteData(), { name: m, params: l } = a;
443
+ ge(l), o({ name: m, params: l });
444
+ }
445
+ }, [n, i]), s;
446
+ }, Me = (e) => {
447
+ const t = S(), n = S(0);
448
+ let s;
450
449
  const o = H(() => {
451
450
  var c;
452
- (c = t.current) == null || c.classList.add("humany-scrolling"), clearTimeout(i), i = setTimeout(() => {
453
- var d;
454
- (d = t.current) == null || d.classList.remove("humany-scrolling");
451
+ (c = t.current) == null || c.classList.add("humany-scrolling"), clearTimeout(s), s = setTimeout(() => {
452
+ var u;
453
+ (u = t.current) == null || u.classList.remove("humany-scrolling");
455
454
  }, 500);
456
- }, [t]), s = H((c) => {
455
+ }, [t]), i = H((c) => {
457
456
  n.current = c.touches[0].clientY;
458
- }, [t]), a = (c) => m(c) ? c === t.current ? c : null : c.parentElement ? a(c.parentElement) : null, m = (c) => c.scrollWidth > c.clientWidth || c.scrollHeight > c.clientHeight, u = H((c) => {
457
+ }, [t]), a = (c) => m(c) ? c === t.current ? c : null : c.parentElement ? a(c.parentElement) : null, m = (c) => c.scrollWidth > c.clientWidth || c.scrollHeight > c.clientHeight, l = H((c) => {
459
458
  if (!c.cancelable)
460
459
  return;
461
- const d = c.touches[0].clientY, f = a(c.target);
460
+ const u = c.touches[0].clientY, f = a(c.target);
462
461
  if (!f)
463
462
  return;
464
- const l = f.scrollTop, h = n.current - d < 0 ? "up" : "down", g = l <= 0 && h === "up", b = l >= f.scrollHeight - f.offsetHeight && h === "down";
465
- (g || b) && c.preventDefault(), n.current = d;
463
+ const d = f.scrollTop, h = n.current - u < 0 ? "up" : "down", g = d <= 0 && h === "up", E = d >= f.scrollHeight - f.offsetHeight && h === "down";
464
+ (g || E) && c.preventDefault(), n.current = u;
466
465
  }, [t, n]);
467
- return W("scroll", o, t.current, () => t.current && e), W("touchstart", s, t.current, () => t.current && e), W("touchmove", u, t.current, () => t.current && e), e ? [Tt, t] : ["", t];
468
- }, Tt = `
469
- overflow-y: ${Se() === le.Chrome || Se() === le.EdgeChromium ? "overlay" : "auto"};
466
+ return z("scroll", o, t.current, () => t.current && e), z("touchstart", i, t.current, () => t.current && e), z("touchmove", l, t.current, () => t.current && e), e ? [ht, t] : ["", t];
467
+ }, ht = `
468
+ overflow-y: ${Ce() === se.Chrome || Ce() === se.EdgeChromium ? "overlay" : "auto"};
470
469
  overflow-x: hidden;
471
470
  -ms-overflow-style: none; /* IE 10+ */
472
471
  scrollbar-width: thin; /* Firefox */
@@ -493,58 +492,58 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
493
492
  background-color: #7F7F7F;
494
493
  }
495
494
  }
496
- `, p1 = () => {
497
- const [e, t] = k(null), n = V(), i = Z();
498
- return E(() => {
495
+ `, Hn = () => {
496
+ const [e, t] = L(null), n = T(), s = B();
497
+ return C(() => {
499
498
  n.get("settings").then((o) => {
500
- i.current && t(o);
499
+ s.current && t(o);
501
500
  });
502
- }, [i]), e;
503
- }, Ze = (e = !1) => {
504
- const [t, n] = k(e), i = H((o) => {
505
- n(typeof o == "boolean" ? o : (s) => !s);
501
+ }, [s]), e;
502
+ }, le = (e = !1) => {
503
+ const [t, n] = L(e), s = H((o) => {
504
+ n(typeof o == "boolean" ? o : (i) => !i);
506
505
  }, []);
507
- return [t, i];
508
- }, g1 = (e) => {
509
- const t = V(), n = P(), i = t.get("widgetDOMElement"), [o, s] = k(null), [a, m] = k(null), u = Z();
510
- E(() => {
511
- if (n && u.current) {
512
- const d = n.nodes.all.find((l) => l.name === "root-area"), f = n.nodes.all.find((l) => l.type === "view");
513
- if (!(f != null && f.attributes.properties.animation) && !(d != null && d.attributes.properties.animation))
506
+ return [t, s];
507
+ }, Rn = (e) => {
508
+ const t = T(), n = I(), s = t.get("widgetDOMElement"), [o, i] = L(null), [a, m] = L(null), l = B();
509
+ C(() => {
510
+ if (n && l.current) {
511
+ const u = n.nodes.all.find((d) => d.name === "root-area"), f = n.nodes.all.find((d) => d.type === "view");
512
+ if (!(f != null && f.attributes.properties.animation) && !(u != null && u.attributes.properties.animation))
514
513
  e();
515
514
  else {
516
- const l = (b = "") => i == null ? void 0 : i.querySelector(`[data-node-id="${b}"]`), h = l(f == null ? void 0 : f.id);
517
- h && s(h);
518
- const g = l(d == null ? void 0 : d.id);
515
+ const d = (E = "") => s == null ? void 0 : s.querySelector(`[data-node-id="${E}"]`), h = d(f == null ? void 0 : f.id);
516
+ h && i(h);
517
+ const g = d(u == null ? void 0 : u.id);
519
518
  g && m(g);
520
519
  }
521
520
  }
522
- }, [n, t, u]);
523
- const c = H((d) => {
524
- u.current && (d.target === o || d.target === a) && e();
525
- }, [e, u, o, a]);
526
- W("transitionend", c, o), W("transitionend", c, a);
527
- }, re = (e, t, n = [], i) => {
528
- const o = Bt(i);
529
- return E(() => {
521
+ }, [n, t, l]);
522
+ const c = H((u) => {
523
+ l.current && (u.target === o || u.target === a) && e();
524
+ }, [e, l, o, a]);
525
+ z("transitionend", c, o), z("transitionend", c, a);
526
+ }, Q = (e, t, n = [], s) => {
527
+ const o = ft(s);
528
+ return C(() => {
530
529
  if (o) {
531
- const s = o.subscribe(e, t);
530
+ const i = o.subscribe(e, t);
532
531
  return () => {
533
- s();
532
+ i();
534
533
  };
535
534
  }
536
- }, [o].concat(n)), (s) => o == null ? void 0 : o.dispatch(e, s);
537
- }, he = (e, t) => {
538
- const n = re("widget:menu-toggled", (i, o) => {
535
+ }, [o].concat(n)), (i) => o == null ? void 0 : o.dispatch(e, i);
536
+ }, ue = (e, t) => {
537
+ const n = Q("widget:menu-toggled", (s, o) => {
539
538
  o !== e && t();
540
539
  });
541
540
  return () => n(e);
542
- }, pe = (i) => {
543
- var o = i, { className: e, children: t } = o, n = S(o, ["className", "children"]);
541
+ }, me = (s) => {
542
+ var o = s, { className: e, children: t } = o, n = $(o, ["className", "children"]);
544
543
  return /* @__PURE__ */ r.createElement("span", p({
545
- className: M(e, "humany-text")
546
- }, B(n)), t);
547
- }, Oe = $`
544
+ className: w(e, "humany-text")
545
+ }, R(n)), t);
546
+ }, Se = M`
548
547
  display: flex;
549
548
  justify-content: center;
550
549
  flex-direction: column;
@@ -553,7 +552,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
553
552
  border: ${(e) => e.theme.border};
554
553
  box-shadow: ${(e) => e.theme.boxShadow || "none"};
555
554
  ${(e) => e["data-loading"] && "min-height: 150px;"}
556
- `, Vt = $`
555
+ `, pt = M`
557
556
  cursor: pointer;
558
557
  text-align: center;
559
558
  border: none;
@@ -571,12 +570,12 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
571
570
  return (t = e.theme.fonts) == null ? void 0 : t.normal;
572
571
  }};
573
572
  font-weight: 300;
574
- `, C1 = ({
573
+ `, Dn = ({
575
574
  primaryColor: e,
576
575
  secondaryColor: t,
577
576
  active: n
578
- }) => $`
579
- ${Vt}
577
+ }) => M`
578
+ ${pt}
580
579
  border: 1px solid ${n ? t : e};
581
580
  background-color: ${n ? e : t};
582
581
 
@@ -589,13 +588,13 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
589
588
  a {
590
589
  transition: color 200ms ease-out;
591
590
  color: ${n ? t : e};
592
- font-size: ${(i) => {
591
+ font-size: ${(s) => {
593
592
  var o;
594
- return (o = i.theme.fonts) == null ? void 0 : o.normal;
593
+ return (o = s.theme.fonts) == null ? void 0 : o.normal;
595
594
  }};
596
595
  }
597
596
 
598
- ${(i) => !i.disabled && $`
597
+ ${(s) => !s.disabled && M`
599
598
  &:hover {
600
599
  background-color: ${e};
601
600
  color: ${t};
@@ -610,12 +609,12 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
610
609
 
611
610
  &:focus {
612
611
  ${(o) => {
613
- var s;
614
- return ((s = o.theme.accessibility) == null ? void 0 : s.isTabbing) && O;
612
+ var i;
613
+ return ((i = o.theme.accessibility) == null ? void 0 : i.isTabbing) && P;
615
614
  }};
616
615
  }
617
616
  `}
618
- `, O = $`
617
+ `, P = M`
619
618
  outline: ${(e) => {
620
619
  var t;
621
620
  return (t = e.theme.accessibility) == null ? void 0 : t.border;
@@ -625,16 +624,16 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
625
624
  return (n = (t = e.theme.accessibility) == null ? void 0 : t.colors) == null ? void 0 : n.inactiveText;
626
625
  }};
627
626
  border-color: transparent;
628
- `, Nt = $`
629
- ${O}
627
+ `, Tn = M`
628
+ ${P}
630
629
  text-decoration: underline;
631
- `, y1 = $`
632
- ${O}
630
+ `, Nn = M`
631
+ ${P}
633
632
  outline-offset: ${(e) => {
634
633
  var t;
635
634
  return (t = e.theme.sizes) == null ? void 0 : t.small;
636
635
  }};
637
- `, ge = C(te)`
636
+ `, de = v(U)`
638
637
  position: absolute;
639
638
  top: ${(e) => {
640
639
  var t;
@@ -656,18 +655,18 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
656
655
  &:focus {
657
656
  ${(e) => {
658
657
  var t;
659
- return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && $`
660
- ${O}
658
+ return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && M`
659
+ ${P}
661
660
  padding: ${(n) => {
662
- var i;
663
- return (i = n.theme.sizes) == null ? void 0 : i.small;
661
+ var s;
662
+ return (s = n.theme.sizes) == null ? void 0 : s.small;
664
663
  }};
665
664
  height: 15px;
666
665
  box-sizing: content-box;
667
666
  `;
668
667
  }};
669
668
  }
670
- `, Re = C(pe)`
669
+ `, xe = v(me)`
671
670
  font-size: ${(e) => {
672
671
  var t;
673
672
  return (t = e.theme.fonts) == null ? void 0 : t.normal;
@@ -678,7 +677,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
678
677
  var t;
679
678
  return (t = e.theme.colors) == null ? void 0 : t.text;
680
679
  }};
681
- `, Wt = $`
680
+ `, gt = M`
682
681
  padding: 0;
683
682
  margin: 0;
684
683
  list-style: none;
@@ -700,9 +699,9 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
700
699
  > li:last-child {
701
700
  margin: 0;
702
701
  }
703
- `, b1 = $`
702
+ `, zn = M`
704
703
  > div {
705
- ${ee("> h1", $`
704
+ ${X("> h1", M`
706
705
  margin: 0 0 ${(e) => {
707
706
  var t;
708
707
  return (t = e.theme.sizes) == null ? void 0 : t.normal;
@@ -720,10 +719,10 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
720
719
  `)}
721
720
  }
722
721
  > ul {
723
- ${Wt}
722
+ ${gt}
724
723
  }
725
724
 
726
- ${ee("h1", $`
725
+ ${X("h1", M`
727
726
  display: flex;
728
727
  align-items: center;
729
728
 
@@ -741,103 +740,26 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
741
740
  text-align: center;
742
741
  }
743
742
  `)}
744
- `, v1 = $`
745
- font-size: ${(e) => {
746
- var t;
747
- return (t = e.theme.fonts) == null ? void 0 : t.normal;
748
- }};
749
- font-weight: 300;
750
- line-height: 1.5em;
751
- color: ${(e) => {
752
- var t;
753
- return (t = e.theme.colors) == null ? void 0 : t.text;
754
- }};
755
-
756
- h1,
757
- h2,
758
- h3,
759
- h4,
760
- h5,
761
- h6 {
762
- word-break: break-word;
763
- &:first-child {
764
- margin-top: 0;
765
- }
766
- &:only-child {
767
- margin: 0;
768
- }
769
- &:last-child {
770
- margin-bottom: 0;
771
- }
772
- }
773
-
774
- a {
775
- color: ${(e) => {
776
- var t;
777
- return (t = e.theme.colors) == null ? void 0 : t.link;
778
- }};
779
- &:focus {
780
- ${(e) => {
781
- var t;
782
- return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && Nt;
783
- }};
784
- }
785
- }
786
-
787
- img {
788
- max-width: 100% !important;
789
- height: auto !important;
790
- }
791
-
792
- p {
793
- word-break: break-word;
794
- margin: ${(e) => {
795
- var t;
796
- return (t = e.theme.sizes) == null ? void 0 : t.normal;
797
- }} 0;
798
- }
799
-
800
- p:first-child {
801
- margin: 0 0 ${(e) => {
802
- var t;
803
- return (t = e.theme.sizes) == null ? void 0 : t.normal;
804
- }};
805
- }
806
-
807
- p:last-child {
808
- margin: ${(e) => {
809
- var t;
810
- return (t = e.theme.sizes) == null ? void 0 : t.normal;
811
- }} 0 0;
812
- }
813
-
814
- p:only-child {
815
- margin: 0;
816
- }
817
- `, _ = ({
818
- elementId: e = "humany-portal-elements",
819
- parent: t = document.body,
820
- children: n
821
- }) => {
822
- const [i] = k(() => {
823
- const o = document.getElementById(e) || document.createElement("div");
824
- return o.id = e, o;
743
+ `, G = ({ elementId: e = "humany-portal-elements", children: t }) => {
744
+ const [n] = r.useState(() => {
745
+ const s = document.getElementById(e) || document.createElement("div");
746
+ return s.id = e, s;
825
747
  });
826
- return E(() => (t.appendChild(i), () => {
827
- i.childElementCount <= 1 && t.removeChild(i);
828
- }), [i]), ft(n, i);
829
- }, U = (m) => {
830
- var u = m, {
748
+ return C(() => (document.body.appendChild(n), () => {
749
+ n.childElementCount <= 1 && document.body.removeChild(n);
750
+ }), [n]), Xe(t, n);
751
+ }, A = (m) => {
752
+ var l = m, {
831
753
  text: e = "",
832
754
  backgroundSize: t = "contain",
833
755
  size: n = 12,
834
- symbol: i = {
756
+ symbol: s = {
835
757
  content: "",
836
758
  type: ""
837
759
  },
838
760
  elementStyle: o = {},
839
- className: s
840
- } = u, a = S(u, [
761
+ className: i
762
+ } = l, a = $(l, [
841
763
  "text",
842
764
  "backgroundSize",
843
765
  "size",
@@ -845,39 +767,39 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
845
767
  "elementStyle",
846
768
  "className"
847
769
  ]);
848
- const { type: c, content: d } = i, f = {
770
+ const { type: c, content: u } = s, f = {
849
771
  "aria-label": e,
850
772
  role: "presentation"
851
773
  };
852
774
  switch (c) {
853
775
  case "Uri": {
854
- const l = {
776
+ const d = {
855
777
  backgroundSize: t,
856
- backgroundImage: `url('${d}')`,
778
+ backgroundImage: `url('${u}')`,
857
779
  backgroundRepeat: "no-repeat",
858
780
  backgroundPosition: "center",
859
781
  backgroundAttachment: "center"
860
782
  };
861
783
  return /* @__PURE__ */ r.createElement("i", p(p({
862
- className: M(s, "humany-icon", "humany-custom-icon"),
784
+ className: w(i, "humany-icon", "humany-custom-icon"),
863
785
  title: e,
864
- style: p(p({}, l), o)
786
+ style: p(p({}, d), o)
865
787
  }, f), a));
866
788
  }
867
789
  case "Svg": {
868
- const l = L(p({
869
- className: M(s, "humany-icon"),
790
+ const d = k(p({
791
+ className: w(i, "humany-icon"),
870
792
  width: `${n}`,
871
793
  fill: "none",
872
794
  xmlns: "http://www.w3.org/2000/svg"
873
795
  }, a), {
874
796
  ref: null
875
797
  }), h = { minWidth: `${n}` };
876
- switch (d) {
798
+ switch (u) {
877
799
  case "search":
878
800
  return /* @__PURE__ */ r.createElement("svg", p({
879
801
  viewBox: "0 0 32 30"
880
- }, l), /* @__PURE__ */ r.createElement("circle", {
802
+ }, d), /* @__PURE__ */ r.createElement("circle", {
881
803
  cx: "14.8457",
882
804
  cy: "14.5175",
883
805
  r: "8.14359",
@@ -891,7 +813,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
891
813
  case "clear":
892
814
  return /* @__PURE__ */ r.createElement("svg", p({
893
815
  viewBox: "0 0 27 27"
894
- }, l), /* @__PURE__ */ r.createElement("circle", {
816
+ }, d), /* @__PURE__ */ r.createElement("circle", {
895
817
  cx: "13.4351",
896
818
  cy: "13.435",
897
819
  r: "9",
@@ -913,7 +835,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
913
835
  case "close":
914
836
  return /* @__PURE__ */ r.createElement("svg", p({
915
837
  viewBox: "0 0 13 13"
916
- }, l), /* @__PURE__ */ r.createElement("path", {
838
+ }, d), /* @__PURE__ */ r.createElement("path", {
917
839
  d: "M12.3068 0.50647L1.27246 11.7273",
918
840
  stroke: "black"
919
841
  }), /* @__PURE__ */ r.createElement("path", {
@@ -924,7 +846,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
924
846
  return /* @__PURE__ */ r.createElement("svg", p({
925
847
  viewBox: "0 0 14 14",
926
848
  style: h
927
- }, l), /* @__PURE__ */ r.createElement("line", {
849
+ }, d), /* @__PURE__ */ r.createElement("line", {
928
850
  x1: "4.13",
929
851
  y1: "1.05",
930
852
  x2: "10.13",
@@ -941,7 +863,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
941
863
  return /* @__PURE__ */ r.createElement("svg", p({
942
864
  viewBox: "0 0 14 14",
943
865
  style: h
944
- }, l), /* @__PURE__ */ r.createElement("line", {
866
+ }, d), /* @__PURE__ */ r.createElement("line", {
945
867
  x1: "10.13",
946
868
  y1: "12.95",
947
869
  x2: "4.13",
@@ -955,10 +877,10 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
955
877
  stroke: "black"
956
878
  }));
957
879
  case "caret-up":
958
- return /* @__PURE__ */ r.createElement(Zt, p({
880
+ return /* @__PURE__ */ r.createElement(yt, p({
959
881
  viewBox: "0 0 14 14",
960
882
  style: h
961
- }, l), /* @__PURE__ */ r.createElement("line", {
883
+ }, d), /* @__PURE__ */ r.createElement("line", {
962
884
  x1: "13.09",
963
885
  y1: "3.99",
964
886
  x2: "7.1",
@@ -975,7 +897,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
975
897
  return /* @__PURE__ */ r.createElement("svg", p({
976
898
  viewBox: "0 0 14 14",
977
899
  style: h
978
- }, l), /* @__PURE__ */ r.createElement("line", {
900
+ }, d), /* @__PURE__ */ r.createElement("line", {
979
901
  x1: "13.09",
980
902
  y1: "3.99",
981
903
  x2: "7.1",
@@ -991,7 +913,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
991
913
  case "back":
992
914
  return /* @__PURE__ */ r.createElement("svg", p({
993
915
  viewBox: "0 0 18 18"
994
- }, l), /* @__PURE__ */ r.createElement("line", {
916
+ }, d), /* @__PURE__ */ r.createElement("line", {
995
917
  y1: "-0.5",
996
918
  x2: "11.724",
997
919
  y2: "-0.5",
@@ -1007,7 +929,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1007
929
  case "alert":
1008
930
  return /* @__PURE__ */ r.createElement("svg", p({
1009
931
  viewBox: "0 0 19 19"
1010
- }, l), /* @__PURE__ */ r.createElement("circle", {
932
+ }, d), /* @__PURE__ */ r.createElement("circle", {
1011
933
  cx: "9.5",
1012
934
  cy: "9.5",
1013
935
  r: "9.5",
@@ -1019,7 +941,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1019
941
  case "send":
1020
942
  return /* @__PURE__ */ r.createElement("svg", p({
1021
943
  viewBox: "0 0 20 17"
1022
- }, l), /* @__PURE__ */ r.createElement("path", {
944
+ }, d), /* @__PURE__ */ r.createElement("path", {
1023
945
  d: "M18.95 8.56428L0.949951 0.941406V7.02531L13.6351 8.47059L0.950001 9.92276L0.949951 15.9414L18.95 8.56428Z",
1024
946
  fill: "#A6A6A6",
1025
947
  stroke: "#A6A6A6",
@@ -1028,7 +950,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1028
950
  case "chat":
1029
951
  return /* @__PURE__ */ r.createElement("svg", p({
1030
952
  viewBox: "-2 -3 40 40"
1031
- }, l), /* @__PURE__ */ r.createElement("path", {
953
+ }, d), /* @__PURE__ */ r.createElement("path", {
1032
954
  strokeWidth: "0",
1033
955
  fillRule: "evenodd",
1034
956
  clipRule: "evenodd",
@@ -1050,7 +972,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1050
972
  case "chat-new":
1051
973
  return /* @__PURE__ */ r.createElement("svg", p({
1052
974
  viewBox: "0 0 26 24"
1053
- }, l), /* @__PURE__ */ r.createElement("path", {
975
+ }, d), /* @__PURE__ */ r.createElement("path", {
1054
976
  d: "M22.1109 10.3813C22.3941 10.2876 22.6674 10.1722 22.9288 10.0371C23.1902 10.9797 23.33 11.9734 23.33 13C23.33 19.0751 18.4348 24 12.3962 24C9.6352 24 7.11325 22.9705 5.18893 21.2721L0.82251 22.8226C0.277922 23.0159 -0.207515 22.4161 0.0911259 21.9188L2.55952 17.8084C1.85665 16.3558 1.46233 14.7242 1.46233 13C1.46233 6.92487 6.35758 2 12.3962 2C13.4013 2 14.3747 2.13645 15.2992 2.39193C15.1628 2.65458 15.0464 2.92925 14.9519 3.21394C14.1358 2.99881 13.2793 2.88427 12.3962 2.88427C6.84301 2.88427 2.34128 7.41324 2.34128 13C2.34128 14.7493 2.78263 16.3949 3.5594 17.8302L1.18047 21.7634L5.41046 20.2757C7.21939 22.034 9.68221 23.1157 12.3962 23.1157C17.9493 23.1157 22.451 18.5868 22.451 13C22.451 12.0944 22.3328 11.2165 22.1109 10.3813Z",
1055
977
  fill: "currentColor"
1056
978
  }), /* @__PURE__ */ r.createElement("path", {
@@ -1060,7 +982,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1060
982
  case "agent":
1061
983
  return /* @__PURE__ */ r.createElement("svg", p({
1062
984
  viewBox: "0 0 36 30"
1063
- }, l), /* @__PURE__ */ r.createElement("path", {
985
+ }, d), /* @__PURE__ */ r.createElement("path", {
1064
986
  d: "M0.900024 15.3887C0.900024 12.9034 2.91474 10.8887 5.40002 10.8887H6.28179V20.0995H5.40002C2.91474 20.0995 0.900024 18.0848 0.900024 15.5995V15.3887Z",
1065
987
  stroke: "white"
1066
988
  }), /* @__PURE__ */ r.createElement("path", {
@@ -1081,20 +1003,20 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1081
1003
  case "minimize":
1082
1004
  return /* @__PURE__ */ r.createElement("svg", p({
1083
1005
  viewBox: "0 -10 22 22"
1084
- }, l), /* @__PURE__ */ r.createElement("path", {
1006
+ }, d), /* @__PURE__ */ r.createElement("path", {
1085
1007
  d: "M0 1H22",
1086
1008
  stroke: "white"
1087
1009
  }));
1088
1010
  case "sorting":
1089
1011
  return /* @__PURE__ */ r.createElement("svg", p({
1090
1012
  viewBox: "0 0 18 14"
1091
- }, l), /* @__PURE__ */ r.createElement("path", {
1013
+ }, d), /* @__PURE__ */ r.createElement("path", {
1092
1014
  d: "M18 1H0M8 13H0M13 7H0"
1093
1015
  }));
1094
1016
  case "copy":
1095
1017
  return /* @__PURE__ */ r.createElement("svg", p({
1096
1018
  viewBox: "0 0 19 17"
1097
- }, l), /* @__PURE__ */ r.createElement("rect", {
1019
+ }, d), /* @__PURE__ */ r.createElement("rect", {
1098
1020
  x: "0.5",
1099
1021
  y: "0.5",
1100
1022
  width: "11.6667",
@@ -1112,7 +1034,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1112
1034
  case "print":
1113
1035
  return /* @__PURE__ */ r.createElement("svg", p({
1114
1036
  viewBox: "0 0 16 17"
1115
- }, l), /* @__PURE__ */ r.createElement("path", {
1037
+ }, d), /* @__PURE__ */ r.createElement("path", {
1116
1038
  d: "M4.31592 0.999999C4.31592 0.723857 4.53977 0.5 4.81592 0.5H11.1845C11.4606 0.5 11.6845 0.723858 11.6845 1V4.53323H4.31592V0.999999Z",
1117
1039
  fill: "white",
1118
1040
  stroke: "black"
@@ -1146,14 +1068,14 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1146
1068
  case "language":
1147
1069
  return /* @__PURE__ */ r.createElement("svg", p({
1148
1070
  viewBox: "0 0 19 19"
1149
- }, l), /* @__PURE__ */ r.createElement("path", {
1071
+ }, d), /* @__PURE__ */ r.createElement("path", {
1150
1072
  d: "M9.5 18C14.1944 18 18 14.1944 18 9.5C18 4.80558 14.1944 1 9.5 1M9.5 18C4.80558 18 1 14.1944 1 9.5C1 4.80558 4.80558 1 9.5 1M9.5 18C11.823 18 13.7062 14.1944 13.7062 9.5C13.7062 4.80558 11.823 1 9.5 1M9.5 18C7.17699 18 5.29381 14.1944 5.29381 9.5C5.29381 4.80558 7.17699 1 9.5 1M1.44333 6.78351H17.4742M1.3088 11.7784H17.6912",
1151
1073
  stroke: "black"
1152
1074
  }));
1153
1075
  case "information":
1154
1076
  return /* @__PURE__ */ r.createElement("svg", p({
1155
1077
  viewBox: "0 0 17 17"
1156
- }, l), /* @__PURE__ */ r.createElement("path", {
1078
+ }, d), /* @__PURE__ */ r.createElement("path", {
1157
1079
  d: "M9.72182 5.99993C10.0524 5.99993 10.3203 5.73198 10.3203 5.40145C10.3203 5.07092 10.0524 4.80297 9.72182 4.80297C9.39129 4.80297 9.12335 5.07092 9.12335 5.40145C9.12335 5.73198 9.39129 5.99993 9.72182 5.99993Z",
1158
1080
  fill: "black"
1159
1081
  }), /* @__PURE__ */ r.createElement("path", {
@@ -1168,7 +1090,7 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1168
1090
  case "options":
1169
1091
  return /* @__PURE__ */ r.createElement("svg", p({
1170
1092
  viewBox: "0 0 16 2"
1171
- }, l), /* @__PURE__ */ r.createElement("circle", {
1093
+ }, d), /* @__PURE__ */ r.createElement("circle", {
1172
1094
  cx: "15",
1173
1095
  cy: "1",
1174
1096
  r: "1",
@@ -1187,66 +1109,17 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1187
1109
  transform: "rotate(90 8 1)",
1188
1110
  fill: "black"
1189
1111
  }));
1190
- case "browse":
1191
- return /* @__PURE__ */ r.createElement("svg", p({
1192
- viewBox: "0 0 24 24"
1193
- }, l), /* @__PURE__ */ r.createElement("circle", {
1194
- cx: "12",
1195
- cy: "12",
1196
- r: "12",
1197
- fill: "currentColor"
1198
- }), /* @__PURE__ */ r.createElement("path", {
1199
- fillRule: "evenodd",
1200
- clipRule: "evenodd",
1201
- d: "M6.16663 7.33334C6.16663 6.68901 6.68896 6.16667 7.33329 6.16667H10.25C10.8943 6.16667 11.4166 6.68901 11.4166 7.33334V10.25C11.4166 10.8943 10.8943 11.4167 10.25 11.4167H7.33329C6.68896 11.4167 6.16663 10.8943 6.16663 10.25V7.33334ZM7.33329 7.04167H10.25C10.411 7.04167 10.5416 7.17226 10.5416 7.33334V10.25C10.5416 10.4111 10.411 10.5417 10.25 10.5417H7.33329C7.17221 10.5417 7.04163 10.4111 7.04163 10.25V7.33334C7.04163 7.17226 7.17221 7.04167 7.33329 7.04167Z",
1202
- fill: "white"
1203
- }), /* @__PURE__ */ r.createElement("path", {
1204
- fillRule: "evenodd",
1205
- clipRule: "evenodd",
1206
- d: "M6.16663 13.75C6.16663 13.1057 6.68896 12.5833 7.33329 12.5833H10.25C10.8943 12.5833 11.4166 13.1057 11.4166 13.75V16.6667C11.4166 17.311 10.8943 17.8333 10.25 17.8333H7.33329C6.68896 17.8333 6.16663 17.311 6.16663 16.6667V13.75ZM7.33329 13.4583H10.25C10.411 13.4583 10.5416 13.5889 10.5416 13.75V16.6667C10.5416 16.8278 10.411 16.9583 10.25 16.9583H7.33329C7.17221 16.9583 7.04163 16.8278 7.04163 16.6667V13.75C7.04163 13.5889 7.17221 13.4583 7.33329 13.4583Z",
1207
- fill: "white"
1208
- }), /* @__PURE__ */ r.createElement("path", {
1209
- fillRule: "evenodd",
1210
- clipRule: "evenodd",
1211
- d: "M13.75 6.16667C13.1056 6.16667 12.5833 6.68901 12.5833 7.33334V10.25C12.5833 10.8943 13.1056 11.4167 13.75 11.4167H16.6666C17.311 11.4167 17.8333 10.8943 17.8333 10.25V7.33334C17.8333 6.68901 17.311 6.16667 16.6666 6.16667H13.75ZM16.6666 7.04167H13.75C13.5889 7.04167 13.4583 7.17226 13.4583 7.33334V10.25C13.4583 10.4111 13.5889 10.5417 13.75 10.5417H16.6666C16.8277 10.5417 16.9583 10.4111 16.9583 10.25V7.33334C16.9583 7.17226 16.8277 7.04167 16.6666 7.04167Z",
1212
- fill: "white"
1213
- }), /* @__PURE__ */ r.createElement("path", {
1214
- fillRule: "evenodd",
1215
- clipRule: "evenodd",
1216
- d: "M17.8333 15.2083C17.8333 16.6581 16.658 17.8333 15.2083 17.8333C13.7585 17.8333 12.5833 16.6581 12.5833 15.2083C12.5833 13.7586 13.7585 12.5833 15.2083 12.5833C16.658 12.5833 17.8333 13.7586 17.8333 15.2083ZM16.9583 15.2083C16.9583 16.1748 16.1748 16.9583 15.2083 16.9583C14.2418 16.9583 13.4583 16.1748 13.4583 15.2083C13.4583 14.2418 14.2418 13.4583 15.2083 13.4583C16.1748 13.4583 16.9583 14.2418 16.9583 15.2083Z",
1217
- fill: "white"
1218
- }));
1219
- case "video":
1220
- return h.minWidth && typeof h.minWidth == "number" && (h.minWidth = `${h.minWidth}px`), /* @__PURE__ */ r.createElement("svg", L(p({
1221
- viewBox: "0 0 25 25"
1222
- }, l), {
1223
- style: h
1224
- }), /* @__PURE__ */ r.createElement("path", {
1225
- d: "M16.8245 10.0758C18.7392 8.55799 21.3085 7.08973 21.7947 7.61552C22.5982 8.47863 22.5288 16.6929 21.7947 17.4766C21.3482 17.9627 18.7589 16.4945 16.8245 14.9866",
1226
- stroke: "currentColor",
1227
- strokeWidth: "1.5",
1228
- strokeLinecap: "round",
1229
- strokeLinejoin: "round"
1230
- }), /* @__PURE__ */ r.createElement("path", {
1231
- fillRule: "evenodd",
1232
- clipRule: "evenodd",
1233
- d: "M2.61914 12.5385C2.61914 7.12973 4.41578 5.32715 9.80764 5.32715C15.1985 5.32715 16.9952 7.12973 16.9952 12.5385C16.9952 17.9462 15.1985 19.7497 9.80764 19.7497C4.41578 19.7497 2.61914 17.9462 2.61914 12.5385Z",
1234
- stroke: "currentColor",
1235
- strokeWidth: "1.5",
1236
- strokeLinecap: "round",
1237
- strokeLinejoin: "round"
1238
- }));
1239
1112
  case "star-empty":
1240
1113
  return /* @__PURE__ */ r.createElement("svg", p({
1241
1114
  viewBox: "0 0 13 12"
1242
- }, l), /* @__PURE__ */ r.createElement("path", {
1115
+ }, d), /* @__PURE__ */ r.createElement("path", {
1243
1116
  d: "M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",
1244
1117
  stroke: "black"
1245
1118
  }));
1246
1119
  case "star-filled":
1247
1120
  return /* @__PURE__ */ r.createElement("svg", p({
1248
1121
  viewBox: "0 0 13 12"
1249
- }, l), /* @__PURE__ */ r.createElement("path", {
1122
+ }, d), /* @__PURE__ */ r.createElement("path", {
1250
1123
  d: "M2 5.2767L5.11944 4.81796L6.70023 2L7.96487 4.81796L11 5.51699L8.75527 7.64684L9.18735 11L6.42623 9.40534L3.62295 10.7925L4.21311 7.64684L2 5.2767Z",
1251
1124
  fill: "black",
1252
1125
  stroke: "black"
@@ -1254,98 +1127,31 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1254
1127
  case "cog-wheel":
1255
1128
  return /* @__PURE__ */ r.createElement("svg", p({
1256
1129
  viewBox: "0 0 24 24"
1257
- }, l), /* @__PURE__ */ r.createElement("path", {
1130
+ }, d), /* @__PURE__ */ r.createElement("path", {
1258
1131
  fillRule: "evenodd",
1259
1132
  clipRule: "evenodd",
1260
1133
  d: "M15.273 2.68498V1C15.273 0.447715 14.8253 0 14.273 0H9.72754C9.17525 0 8.72754 0.447715 8.72754 1V2.6852C8.72754 3.20708 8.09656 3.46843 7.72754 3.09941L6.53588 1.90775C6.14536 1.51723 5.51219 1.51723 5.12167 1.90775L1.90755 5.12187C1.51702 5.5124 1.51702 6.14556 1.90755 6.53609L3.09865 7.72719C3.46767 8.09621 3.20632 8.72719 2.68444 8.72719H1C0.447715 8.72719 0 9.1749 0 9.72719V14.2726C0 14.8249 0.447715 15.2726 1 15.2726H2.68534C3.20722 15.2726 3.46857 15.9036 3.09955 16.2726L1.90793 17.4643C1.51741 17.8548 1.51741 18.488 1.90793 18.8785L5.12205 22.0926C5.51258 22.4831 6.14574 22.4831 6.53627 22.0926L7.72754 20.9013C8.09656 20.5323 8.72754 20.7937 8.72754 21.3155V23C8.72754 23.5523 9.17525 24 9.72754 24H14.273C14.8253 24 15.273 23.5523 15.273 23V21.3158C15.273 20.7939 15.904 20.5325 16.273 20.9015L17.4639 22.0924C17.8544 22.483 18.4876 22.483 18.8781 22.0924L22.0922 18.8783C22.4828 18.4878 22.4828 17.8546 22.0922 17.4641L20.9008 16.2726C20.5317 15.9036 20.7931 15.2726 21.315 15.2726H23C23.5523 15.2726 24 14.8249 24 14.2726V9.72719C24 9.1749 23.5523 8.72719 23 8.72719H21.3159C20.794 8.72719 20.5326 8.09621 20.9017 7.72719L22.0926 6.53625C22.4831 6.14572 22.4831 5.51256 22.0926 5.12203L18.8785 1.90791C18.488 1.51739 17.8548 1.51739 17.4643 1.90791L16.273 3.0992C15.904 3.46822 15.273 3.20686 15.273 2.68498ZM16.5792 4.20716C16.263 4.52345 15.7775 4.58532 15.3687 4.40375C15.2439 4.34832 15.1174 4.29587 14.9895 4.2465C14.5723 4.08555 14.273 3.69861 14.273 3.25149V2C14.273 1.44771 13.8253 1 13.273 1H10.7275C10.1753 1 9.72754 1.44772 9.72754 2V3.25116C9.72754 3.69832 9.42816 4.08528 9.01096 4.2462C8.88288 4.29561 8.75633 4.34809 8.6314 4.40357C8.22262 4.58511 7.73715 4.52323 7.42087 4.20695L6.53588 3.32196C6.14536 2.93144 5.51219 2.93144 5.12167 3.32196L3.32176 5.12187C2.93124 5.5124 2.93124 6.14556 3.32176 6.53609L4.20676 7.42109C4.52303 7.73736 4.58491 8.22283 4.40338 8.63161C4.34797 8.75638 4.29555 8.88276 4.2462 9.01067C4.08526 9.42784 3.69831 9.72719 3.25118 9.72719H2C1.44772 9.72719 1 10.1749 1 10.7272V13.2726C1 13.8249 1.44772 14.2726 2 14.2726H3.2511C3.69825 14.2726 4.0852 14.572 4.24614 14.9892C4.29556 15.1173 4.34807 15.2439 4.40357 15.3688C4.58513 15.7776 4.52327 16.2631 4.20698 16.5794L3.32215 17.4643C2.93162 17.8548 2.93162 18.488 3.32215 18.8785L5.12205 20.6784C5.51258 21.0689 6.14574 21.0689 6.53627 20.6784L7.42136 19.7933C7.73762 19.477 8.22305 19.4151 8.63183 19.5966C8.75662 19.6521 8.88302 19.7045 9.01096 19.7538C9.42816 19.9147 9.72754 20.3017 9.72754 20.7489V22C9.72754 22.5523 10.1753 23 10.7275 23H13.273C13.8253 23 14.273 22.5523 14.273 22V20.7485C14.273 20.3014 14.5723 19.9145 14.9895 19.7535C15.1173 19.7042 15.2436 19.6518 15.3682 19.5965C15.777 19.4149 16.2625 19.4768 16.5788 19.7931L17.4639 20.6782C17.8544 21.0687 18.4876 21.0687 18.8781 20.6782L20.678 18.8783C21.0685 18.4878 21.0685 17.8546 20.678 17.4641L19.7929 16.579C19.4766 16.2627 19.4147 15.7772 19.5963 15.3684C19.6517 15.2436 19.7042 15.1172 19.7535 14.9892C19.9145 14.572 20.3014 14.2726 20.7486 14.2726H22C22.5523 14.2726 23 13.8249 23 13.2726V10.7272C23 10.1749 22.5523 9.72719 22 9.72719H20.7485C20.3013 9.72719 19.9144 9.42784 19.7535 9.01067C19.7042 8.8829 19.6518 8.75665 19.5965 8.63201C19.415 8.22324 19.4768 7.7378 19.7931 7.42154L20.6784 6.53625C21.0689 6.14572 21.0689 5.51256 20.6784 5.12203L18.8785 3.32213C18.488 2.9316 17.8548 2.9316 17.4643 3.32213L16.5792 4.20716ZM16.5999 12.0001C16.5999 14.5406 14.5404 16.6001 11.9999 16.6001C9.45939 16.6001 7.3999 14.5406 7.3999 12.0001C7.3999 9.45958 9.45939 7.40009 11.9999 7.40009C14.5404 7.40009 16.5999 9.45958 16.5999 12.0001ZM17.5999 12.0001C17.5999 15.0929 15.0927 17.6001 11.9999 17.6001C8.90711 17.6001 6.3999 15.0929 6.3999 12.0001C6.3999 8.90729 8.90711 6.40009 11.9999 6.40009C15.0927 6.40009 17.5999 8.90729 17.5999 12.0001Z",
1261
1134
  fill: "black"
1262
1135
  }));
1263
- case "zoom-in":
1264
- return /* @__PURE__ */ r.createElement("svg", p({
1265
- viewBox: "0 0 24 24"
1266
- }, l), /* @__PURE__ */ r.createElement("path", {
1267
- fillRule: "evenodd",
1268
- clipRule: "evenodd",
1269
- d: "M21.9774 20.8287L17.9149 16.7662C17.8437 16.6957 17.76 16.639 17.668 16.5992C20.7612 12.9331 20.415 7.48045 16.883 4.23507C13.3509 0.989694 7.88848 1.10517 4.49673 4.49691C1.10499 7.88866 0.98951 13.3511 4.23489 16.8831C7.48027 20.4152 12.9329 20.7614 16.599 17.6682C16.6388 17.7601 16.6955 17.8439 16.766 17.9151L20.8285 21.9776C21.1457 22.2948 21.6601 22.2948 21.9774 21.9776C22.2947 21.6603 22.2947 21.1459 21.9774 20.8287ZM10.8404 18.1531C6.80186 18.1531 3.52794 14.8792 3.52794 10.8406C3.52794 6.80204 6.80186 3.52813 10.8404 3.52813C14.879 3.52813 18.1529 6.80204 18.1529 10.8406C18.1483 14.8773 14.8771 18.1484 10.8404 18.1531Z",
1270
- fill: "white"
1271
- }), /* @__PURE__ */ r.createElement("path", {
1272
- fillRule: "evenodd",
1273
- clipRule: "evenodd",
1274
- d: "M10.8749 6.75003C11.2892 6.75003 11.6249 7.08581 11.6249 7.50003V14.25C11.6249 14.6642 11.2892 15 10.8749 15C10.4607 15 10.1249 14.6642 10.1249 14.25V7.50003C10.1249 7.08581 10.4607 6.75003 10.8749 6.75003Z",
1275
- fill: "white"
1276
- }), /* @__PURE__ */ r.createElement("path", {
1277
- fillRule: "evenodd",
1278
- clipRule: "evenodd",
1279
- d: "M6.74994 10.875C6.74994 10.4608 7.08573 10.125 7.49994 10.125H14.2499C14.6642 10.125 14.9999 10.4608 14.9999 10.875C14.9999 11.2892 14.6642 11.625 14.2499 11.625H7.49994C7.08573 11.625 6.74994 11.2892 6.74994 10.875Z",
1280
- fill: "white"
1281
- }));
1282
- case "zoom-out":
1283
- return /* @__PURE__ */ r.createElement("svg", p({
1284
- viewBox: "0 0 24 24"
1285
- }, l), /* @__PURE__ */ r.createElement("path", {
1286
- fillRule: "evenodd",
1287
- clipRule: "evenodd",
1288
- d: "M22.1025 20.9536L18.04 16.8911C17.9688 16.8206 17.8851 16.764 17.7931 16.7241C20.8864 13.0581 20.5401 7.60539 17.0081 4.36001C13.476 1.11463 8.0136 1.23011 4.62185 4.62185C1.23011 8.0136 1.11463 13.476 4.36001 17.0081C7.60539 20.5401 13.0581 20.8864 16.7241 17.7931C16.764 17.8851 16.8206 17.9688 16.8911 18.04L20.9536 22.1025C21.2709 22.4198 21.7853 22.4198 22.1025 22.1025C22.4198 21.7853 22.4198 21.2709 22.1025 20.9536ZM10.9656 18.2781C6.92698 18.2781 3.65306 15.0041 3.65306 10.9656C3.65306 6.92698 6.92698 3.65306 10.9656 3.65306C15.0041 3.65306 18.2781 6.92698 18.2781 10.9656C18.2734 15.0022 15.0022 18.2734 10.9656 18.2781Z",
1289
- fill: "white"
1290
- }), /* @__PURE__ */ r.createElement("path", {
1291
- fillRule: "evenodd",
1292
- clipRule: "evenodd",
1293
- d: "M6.87506 11C6.87506 10.5858 7.21085 10.25 7.62506 10.25H14.3751C14.7893 10.25 15.1251 10.5858 15.1251 11C15.1251 11.4142 14.7893 11.75 14.3751 11.75H7.62506C7.21085 11.75 6.87506 11.4142 6.87506 11Z",
1294
- fill: "white"
1295
- }));
1296
- case "download":
1297
- return /* @__PURE__ */ r.createElement("svg", p({
1298
- viewBox: "0 0 24 24"
1299
- }, l), /* @__PURE__ */ r.createElement("path", {
1300
- fillRule: "evenodd",
1301
- clipRule: "evenodd",
1302
- d: "M22.5 11.1346V18.4038C22.498 20.1873 21.0527 21.6326 19.2692 21.6346H4.73077C2.94731 21.6326 1.50204 20.1873 1.5 18.4038V11.1346C1.5 10.6885 1.86162 10.3269 2.30769 10.3269C2.75377 10.3269 3.11538 10.6885 3.11538 11.1346V18.4038C3.1164 19.2956 3.83904 20.0182 4.73077 20.0192H19.2692C20.161 20.0182 20.8836 19.2956 20.8846 18.4038V11.1346C20.8846 10.6885 21.2462 10.3269 21.6923 10.3269C22.1384 10.3269 22.5 10.6885 22.5 11.1346ZM11.1434 16.2663C11.6167 16.7388 12.3832 16.7388 12.8565 16.2663L17.4172 11.7057C17.7326 11.3903 17.7326 10.8789 17.4172 10.5635C17.1018 10.2481 16.5904 10.2481 16.275 10.5635L12.8076 14.0308V3.05769C12.8076 2.61162 12.446 2.25 11.9999 2.25C11.5539 2.25 11.1923 2.61162 11.1923 3.05769V14.0308L7.72485 10.5636C7.40946 10.2482 6.89812 10.2482 6.58273 10.5636C6.26734 10.8789 6.26734 11.3903 6.58273 11.7057L11.1434 16.2663Z",
1303
- fill: "white"
1304
- }));
1305
- case "lightbox-close":
1306
- return /* @__PURE__ */ r.createElement("svg", p({
1307
- viewBox: "0 0 24 24"
1308
- }, l), /* @__PURE__ */ r.createElement("path", {
1309
- xmlns: "http://www.w3.org/2000/svg",
1310
- fillRule: "evenodd",
1311
- clipRule: "evenodd",
1312
- d: "M19.2621 18.1129C19.4674 18.3182 19.5475 18.6173 19.4724 18.8977C19.3973 19.178 19.1783 19.397 18.8979 19.4721C18.6176 19.5472 18.3184 19.4671 18.1132 19.2619L12.1877 13.3363L6.26214 19.2619C6.0569 19.4671 5.75776 19.5472 5.47741 19.4721C5.19705 19.397 4.97807 19.178 4.90294 18.8977C4.82782 18.6173 4.90798 18.3182 5.11321 18.1129L11.0388 12.1874L5.11321 6.26186C4.90798 6.05663 4.82782 5.75749 4.90294 5.47713C4.97807 5.19678 5.19705 4.97779 5.47741 4.90267C5.75776 4.82755 6.0569 4.9077 6.26214 5.11294L12.1877 11.0385L18.1132 5.11294C18.4305 4.79567 18.9449 4.79567 19.2621 5.11294C19.5794 5.4302 19.5794 5.9446 19.2621 6.26186L13.3366 12.1874L19.2621 18.1129Z",
1313
- fill: "white"
1314
- }));
1315
- case "pagination-left":
1316
- return /* @__PURE__ */ r.createElement("svg", p({
1317
- viewBox: "0 0 24 24"
1318
- }, l), /* @__PURE__ */ r.createElement("path", {
1319
- fillRule: "evenodd",
1320
- clipRule: "evenodd",
1321
- d: "M15.7935 18.7087C16.0092 18.9029 16.105 19.1974 16.0447 19.4813C15.9844 19.7652 15.7772 19.9954 15.5012 20.0852C15.2251 20.1749 14.9222 20.1105 14.7065 19.9164L6.58148 12.6039C6.41027 12.4498 6.3125 12.2303 6.3125 12C6.3125 11.7697 6.41027 11.5503 6.58148 11.3962L14.7065 4.08372C15.04 3.78354 15.5536 3.81054 15.8538 4.14402C16.154 4.4775 16.127 4.99119 15.7935 5.29136L8.33939 12L15.7935 18.7087Z",
1322
- fill: "#222222"
1323
- }));
1324
- case "pagination-right":
1325
- return /* @__PURE__ */ r.createElement("svg", p({
1326
- viewBox: "0 0 24 24"
1327
- }, l), /* @__PURE__ */ r.createElement("path", {
1328
- d: "M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"
1329
- }));
1330
1136
  }
1331
1137
  return null;
1332
1138
  }
1333
1139
  case "FontAwesome":
1334
- return /* @__PURE__ */ r.createElement(Jt, p({
1335
- className: s,
1336
- faIcon: d,
1140
+ return /* @__PURE__ */ r.createElement(Tt, p({
1141
+ className: i,
1142
+ faIcon: u,
1337
1143
  title: e
1338
1144
  }, a));
1339
1145
  default:
1340
1146
  case "Text":
1341
1147
  return e ? /* @__PURE__ */ r.createElement("i", p(p({
1342
- className: M(s, "humany-letter-symbol"),
1148
+ className: w(i, "humany-letter-symbol"),
1343
1149
  title: e
1344
1150
  }, f), a), e.substring(0, 2)) : null;
1345
1151
  }
1346
- }, Zt = C.svg`
1152
+ }, yt = v.svg`
1347
1153
  transform: rotate(180deg);
1348
- `, Ot = {
1154
+ `, bt = {
1349
1155
  h1: "h1",
1350
1156
  h2: "h2",
1351
1157
  h3: "h3",
@@ -1354,78 +1160,78 @@ const $t = (e) => (t) => /* @__PURE__ */ r.createElement(bn, {
1354
1160
  h6: "h6",
1355
1161
  p: "p",
1356
1162
  span: "span"
1357
- }, Y = ({ variant: e, component: t, className: n, children: i }) => {
1358
- const { typographyVariantMapping: o = {} } = Dt(), s = p(p({}, Ot), o), a = t || s[e] || "span";
1359
- return /* @__PURE__ */ r.createElement(It, {
1163
+ }, _ = ({ variant: e, component: t, className: n, children: s }) => {
1164
+ const { typographyVariantMapping: o = {} } = dt(), i = p(p({}, bt), o), a = t || i[e] || "span";
1165
+ return /* @__PURE__ */ r.createElement(Ct, {
1360
1166
  className: n,
1361
1167
  as: a
1362
- }, i);
1363
- }, It = C.span``;
1364
- var Ft = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(Ft || {});
1365
- const At = 300, E1 = ({
1168
+ }, s);
1169
+ }, Ct = v.span``;
1170
+ var xt = /* @__PURE__ */ ((e) => (e.SlideInLeft = "slide-in-left", e.SlideInRight = "slide-in-right", e.SlideInBottom = "slide-in-bottom", e.SlideInTop = "slide-in-top", e))(xt || {});
1171
+ const Et = 300, Bn = ({
1366
1172
  className: e,
1367
1173
  children: t,
1368
1174
  header: n,
1369
- onToggle: i,
1175
+ onToggle: s,
1370
1176
  trigger: o,
1371
- fullScreen: s = !1,
1177
+ fullScreen: i = !1,
1372
1178
  closeButtonAriaLabel: a,
1373
1179
  animation: m = {
1374
1180
  type: "slide-in-bottom"
1375
1181
  }
1376
1182
  }) => {
1377
- const { duration: u = At } = m, c = R(), d = R(), [f, l] = We(!0), [h, g] = Ze(), b = Ve(h), v = R(j());
1378
- E(() => {
1379
- i && i(h);
1183
+ const { duration: l = Et } = m, c = S(), u = S(), [f, d] = Me(!0), [h, g] = le(), E = ke(h), x = S(F());
1184
+ C(() => {
1185
+ s && s(h);
1380
1186
  }, [h]);
1381
- const y = ne("Escape");
1382
- E(() => {
1187
+ const y = q("Escape");
1188
+ C(() => {
1383
1189
  y && g(!1);
1384
- }, [y]), W("click", (F) => {
1385
- const { target: T } = F;
1386
- !d.current || !l.current || !T || d.current !== T && l.current !== T && !l.current.contains(T) && !d.current.contains(T) && g(!1);
1190
+ }, [y]), z("click", (K) => {
1191
+ const { target: N } = K;
1192
+ !u.current || !d.current || !N || u.current !== N && d.current !== N && !d.current.contains(N) && !u.current.contains(N) && g(!1);
1387
1193
  }, window);
1388
- const x = he(v.current, () => {
1194
+ const b = ue(x.current, () => {
1389
1195
  g(!1);
1390
1196
  });
1391
- re("router:changed", () => {
1197
+ Q("router:changed", () => {
1392
1198
  g(!1);
1393
- }), E(() => {
1394
- h && c.current ? c.current.focus() : !h && d.current && b && d.current.focus();
1395
- }, [h, c.current, d.current]);
1396
- const N = _t[m.type];
1397
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(De, {
1199
+ }), C(() => {
1200
+ h && c.current ? c.current.focus() : !h && u.current && E && u.current.focus();
1201
+ }, [h, c.current, u.current]);
1202
+ const V = Mt[m.type];
1203
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(ve, {
1398
1204
  in: h,
1399
1205
  className: "humany-drawer-transition",
1400
1206
  classNames: "humany-drawer-transition",
1401
1207
  unmountOnExit: !0,
1402
- timeout: u
1403
- }, /* @__PURE__ */ r.createElement(_, null, /* @__PURE__ */ r.createElement(N, {
1404
- duration: u,
1405
- fullScreen: s,
1406
- className: M(e, "humany-drawer", `humany-drawer-${v.current}`),
1208
+ timeout: l
1209
+ }, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(V, {
1210
+ duration: l,
1211
+ fullScreen: i,
1212
+ className: w(e, "humany-drawer", `humany-drawer-${x.current}`),
1407
1213
  clientHeight: document.body.clientHeight,
1408
1214
  css: f,
1409
- ref: l
1410
- }, /* @__PURE__ */ r.createElement(ge, {
1215
+ ref: d
1216
+ }, /* @__PURE__ */ r.createElement(de, {
1411
1217
  onClick: () => g(!1),
1412
1218
  tabIndex: 0,
1413
1219
  ref: c,
1414
1220
  "aria-label": a
1415
- }, /* @__PURE__ */ r.createElement(U, {
1221
+ }, /* @__PURE__ */ r.createElement(A, {
1416
1222
  symbol: { type: "Svg", content: "close" }
1417
- })), !!n && /* @__PURE__ */ r.createElement(Pt, {
1223
+ })), !!n && /* @__PURE__ */ r.createElement(vt, {
1418
1224
  variant: "h1",
1419
1225
  className: "humany-drawer-header"
1420
1226
  }, n), t))), r.cloneElement(o, {
1421
- onClick: (F) => {
1422
- g(), x();
1227
+ onClick: (K) => {
1228
+ g(), b();
1423
1229
  },
1424
- ref: d,
1230
+ ref: u,
1425
1231
  "aria-label": o.props.title,
1426
1232
  "aria-expanded": h
1427
1233
  }));
1428
- }, oe = C.div`
1234
+ }, J = v.div`
1429
1235
  font-family: ${(e) => {
1430
1236
  var t;
1431
1237
  return (t = e.theme.fonts) == null ? void 0 : t.type;
@@ -1442,7 +1248,7 @@ const At = 300, E1 = ({
1442
1248
  box-shadow: ${(e) => e.theme.boxShadow};
1443
1249
  background: #ffffff;
1444
1250
  ${(e) => e.css && e.css}
1445
- `, Pt = C(Y)`
1251
+ `, vt = v(_)`
1446
1252
  padding: ${(e) => e.theme.sizes.normal};
1447
1253
  margin: 0;
1448
1254
  text-align: center;
@@ -1462,11 +1268,11 @@ const At = 300, E1 = ({
1462
1268
  return (t = e.theme.fonts) == null ? void 0 : t.normal;
1463
1269
  }};
1464
1270
  line-height: 1.2em;
1465
- `, ie = $`
1271
+ `, ee = M`
1466
1272
  transition: ${(e) => e.duration}ms;
1467
- `, Kt = C(oe)`
1273
+ `, wt = v(J)`
1468
1274
  max-height: 0;
1469
- ${ie}
1275
+ ${ee}
1470
1276
 
1471
1277
  &.humany-drawer-transition-enter {
1472
1278
  max-height: 0;
@@ -1481,8 +1287,8 @@ const At = 300, E1 = ({
1481
1287
  &.humany-drawer-transition-exit-done {
1482
1288
  max-height: 0;
1483
1289
  }
1484
- `, Yt = C(oe)`
1485
- ${ie}
1290
+ `, $t = v(J)`
1291
+ ${ee}
1486
1292
  transform: translateX(100%);
1487
1293
  height: ${(e) => e.fullScreen ? "100%" : "auto"};
1488
1294
 
@@ -1499,8 +1305,8 @@ const At = 300, E1 = ({
1499
1305
  &.humany-drawer-transition-exit-done {
1500
1306
  transform: translateX(100%);
1501
1307
  }
1502
- `, jt = C(oe)`
1503
- ${ie}
1308
+ `, kt = v(J)`
1309
+ ${ee}
1504
1310
  transform: translateX(-100%);
1505
1311
  height: ${(e) => e.fullScreen ? "100%" : "auto"};
1506
1312
 
@@ -1517,8 +1323,8 @@ const At = 300, E1 = ({
1517
1323
  &.humany-drawer-transition-exit-done {
1518
1324
  transform: translateX(-100%);
1519
1325
  }
1520
- `, Xt = C(oe)`
1521
- ${ie}
1326
+ `, Lt = v(J)`
1327
+ ${ee}
1522
1328
  bottom: unset;
1523
1329
  top: 0;
1524
1330
  height: 0;
@@ -1536,68 +1342,68 @@ const At = 300, E1 = ({
1536
1342
  &.humany-drawer-transition-exit-done {
1537
1343
  height: 0;
1538
1344
  }
1539
- `, _t = {
1540
- ["slide-in-bottom"]: Kt,
1541
- ["slide-in-right"]: Yt,
1542
- ["slide-in-left"]: jt,
1543
- ["slide-in-top"]: Xt
1544
- }, Ie = (e, t, n) => {
1545
- const [i, o] = k(0), [s, a] = k(0), m = H((u, c) => {
1546
- if (u.preventDefault(), c) {
1547
- const d = c.getBoundingClientRect();
1548
- o(Math.max(document.body.clientWidth - d.right, 1)), a(d.bottom + window.scrollY);
1549
- }
1550
- }, [i, s, o, a]);
1551
- return E(() => {
1345
+ `, Mt = {
1346
+ ["slide-in-bottom"]: wt,
1347
+ ["slide-in-right"]: $t,
1348
+ ["slide-in-left"]: kt,
1349
+ ["slide-in-top"]: Lt
1350
+ }, He = (e, t, n) => {
1351
+ const [s, o] = L(0), [i, a] = L(0), m = H((l, c) => {
1352
+ if (l.preventDefault(), c) {
1353
+ const u = c.getBoundingClientRect();
1354
+ o(Math.max(document.body.clientWidth - u.right, 1)), a(u.bottom + window.scrollY);
1355
+ }
1356
+ }, [s, i, o, a]);
1357
+ return C(() => {
1552
1358
  if (!n || !e)
1553
1359
  return;
1554
- const u = n.getBoundingClientRect(), c = {
1555
- x: i,
1556
- y: s
1360
+ const l = n.getBoundingClientRect(), c = {
1361
+ x: s,
1362
+ y: i
1557
1363
  };
1558
- u.left < 0 && (c.x = 0), u.bottom > window.innerHeight && (c.y = 0), c.x !== i && o(c.x), c.y !== s && a(c.y);
1559
- }, [n, e, t]), [{ x: i, y: s }, m];
1560
- }, x1 = r.forwardRef((a, s) => {
1561
- var m = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: i } = m, o = S(m, ["className", "children", "trigger", "closeButtonAriaLabel"]);
1562
- const u = R(), c = R(), d = R();
1563
- me(s, () => d.current, [d.current]);
1564
- const f = R(j()), [l, h] = k(!1), g = Ve(l), [{ x: b, y: v }, y] = Ie(l, f.current, d.current), x = ne("Escape");
1565
- E(() => {
1566
- x && h(!1);
1567
- }, [x]), E(() => {
1568
- l && u.current ? u.current.focus() : !l && c.current && g && c.current.focus();
1569
- }, [l, u.current, c.current]), W("click", (T) => {
1570
- const { target: K } = T;
1571
- !d.current || !K || d.current !== K && !d.current.contains(K) && h(!1);
1572
- }, window), re("router:changed", () => {
1364
+ l.left < 0 && (c.x = 0), l.bottom > window.innerHeight && (c.y = 0), c.x !== s && o(c.x), c.y !== i && a(c.y);
1365
+ }, [n, e, t]), [{ x: s, y: i }, m];
1366
+ }, Vn = r.forwardRef((a, i) => {
1367
+ var m = a, { className: e = "", children: t = null, trigger: n, closeButtonAriaLabel: s } = m, o = $(m, ["className", "children", "trigger", "closeButtonAriaLabel"]);
1368
+ const l = S(), c = S(), u = S();
1369
+ ie(i, () => u.current, [u.current]);
1370
+ const f = S(F()), [d, h] = L(!1), g = ke(d), [{ x: E, y: x }, y] = He(d, f.current, u.current), b = q("Escape");
1371
+ C(() => {
1372
+ b && h(!1);
1373
+ }, [b]), C(() => {
1374
+ d && l.current ? l.current.focus() : !d && c.current && g && c.current.focus();
1375
+ }, [d, l.current, c.current]), z("click", (N) => {
1376
+ const { target: te } = N;
1377
+ !u.current || !te || u.current !== te && !u.current.contains(te) && h(!1);
1378
+ }, window), Q("router:changed", () => {
1573
1379
  h(!1);
1574
1380
  });
1575
- const N = he(f.current, () => {
1381
+ const V = ue(f.current, () => {
1576
1382
  h(!1);
1577
- }), F = H((T) => {
1578
- T.stopPropagation(), y(T, c.current), h(!l), N();
1579
- }, [N, y, h]);
1580
- return /* @__PURE__ */ r.createElement(r.Fragment, null, l && /* @__PURE__ */ r.createElement(_, null, /* @__PURE__ */ r.createElement(Ut, L(p({
1581
- className: M("humany-dropdown", `humany-dropdown-${f.current}`, e)
1383
+ }), K = H((N) => {
1384
+ N.stopPropagation(), y(N, c.current), h(!d), V();
1385
+ }, [V, y, h]);
1386
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, d && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(St, k(p({
1387
+ className: w("humany-dropdown", `humany-dropdown-${f.current}`, e)
1582
1388
  }, o), {
1583
- x: b,
1584
- y: v,
1585
- ref: d
1586
- }), /* @__PURE__ */ r.createElement(ge, {
1389
+ x: E,
1390
+ y: x,
1391
+ ref: u
1392
+ }), /* @__PURE__ */ r.createElement(de, {
1587
1393
  onClick: () => h(!1),
1588
1394
  tabIndex: 0,
1589
- ref: u,
1590
- "aria-label": i
1591
- }, /* @__PURE__ */ r.createElement(U, {
1395
+ ref: l,
1396
+ "aria-label": s
1397
+ }, /* @__PURE__ */ r.createElement(A, {
1592
1398
  symbol: { type: "Svg", content: "close" }
1593
1399
  })), t)), r.cloneElement(n, {
1594
- onClick: F,
1400
+ onClick: K,
1595
1401
  ref: c,
1596
1402
  "aria-label": n.props.title,
1597
- "aria-expanded": l
1403
+ "aria-expanded": d
1598
1404
  }));
1599
- }), Ut = C.div`
1600
- ${Oe}
1405
+ }), St = v.div`
1406
+ ${Se}
1601
1407
  padding: ${(e) => {
1602
1408
  var t;
1603
1409
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
@@ -1607,77 +1413,75 @@ const At = 300, E1 = ({
1607
1413
  box-shadow: ${(e) => e.theme.boxShadow};
1608
1414
 
1609
1415
  ${(e) => {
1610
- var n, i, o;
1416
+ var n, s, o;
1611
1417
  let t = "";
1612
- return e.y > 0 ? t += `top: calc(${((n = e.theme.sizes) == null ? void 0 : n.small) || "0px"} + ${e.y || "0"}px);` : t += `bottom: ${((i = e.theme.sizes) == null ? void 0 : i.normal) || "0px"};`, e.x > 0 ? t += `right: ${e.x || "0"}px;` : t += `left: ${((o = e.theme.sizes) == null ? void 0 : o.normal) || "0px"};`, t;
1418
+ return e.y > 0 ? t += `top: calc(${((n = e.theme.sizes) == null ? void 0 : n.small) || "0px"} + ${e.y || "0"}px);` : t += `bottom: ${((s = e.theme.sizes) == null ? void 0 : s.normal) || "0px"};`, e.x > 0 ? t += `right: ${e.x || "0"}px;` : t += `left: ${((o = e.theme.sizes) == null ? void 0 : o.normal) || "0px"};`, t;
1613
1419
  }};
1614
- `, qt = (t) => {
1615
- var e = S(t, []);
1616
- return /* @__PURE__ */ r.createElement(Qt, p({}, e));
1617
- }, Qt = C.div`
1420
+ `, Ht = (t) => {
1421
+ var e = $(t, []);
1422
+ return /* @__PURE__ */ r.createElement(Rt, p({}, e));
1423
+ }, Rt = v.div`
1618
1424
  display: none;
1619
- `, w1 = D((a, s) => {
1620
- var m = a, { children: e, columns: t, gap: n, className: i } = m, o = S(m, ["children", "columns", "gap", "className"]);
1621
- return /* @__PURE__ */ r.createElement(Gt, L(p(p({
1622
- className: M(i, "humany-grid"),
1425
+ `, Wn = D((a, i) => {
1426
+ var m = a, { children: e, columns: t, gap: n, className: s } = m, o = $(m, ["children", "columns", "gap", "className"]);
1427
+ return /* @__PURE__ */ r.createElement(Dt, k(p(p({
1428
+ className: w(s, "humany-grid"),
1623
1429
  "data-columns": t,
1624
1430
  "data-gap": n
1625
- }, Be(o)), B(o)), {
1626
- ref: s
1431
+ }, we(o)), R(o)), {
1432
+ ref: i
1627
1433
  }), e);
1628
- }), Gt = C.div`
1434
+ }), Dt = v.div`
1629
1435
  display: grid;
1630
1436
  grid-template-columns: repeat(${(e) => e["data-columns"]}, 1fr);
1631
1437
  grid-gap: ${(e) => e["data-gap"]};
1632
1438
  justify-content: center;
1633
1439
  grid-auto-rows: max-content;
1634
- ${Et}
1635
- `, Fe = D((s, o) => {
1636
- var a = s, { htmlParseInstruction: e = null, className: t, html: n } = a, i = S(a, ["htmlParseInstruction", "className", "html"]);
1637
- const m = V(), [u, c] = k();
1638
- return E(() => {
1639
- const d = kt(m, n), f = L(p(p({}, d), e), {
1640
- transform: p(p({}, d.transform), e == null ? void 0 : e.transform)
1641
- }), l = wt(n, f);
1642
- c(l);
1643
- }, [n, e]), /* @__PURE__ */ r.createElement("div", L(p({
1644
- className: M(t, "humany-html")
1645
- }, B(i)), {
1440
+ ${tt}
1441
+ `, Re = D((i, o) => {
1442
+ var a = i, { htmlParseInstruction: e = null, className: t, html: n } = a, s = $(a, ["htmlParseInstruction", "className", "html"]);
1443
+ const m = T(), [l, c] = L();
1444
+ return C(() => {
1445
+ const u = e || st(m), f = rt(n, u);
1446
+ c(f);
1447
+ }, [n, e]), /* @__PURE__ */ r.createElement("div", k(p({
1448
+ className: w(t, "humany-html")
1449
+ }, R(s)), {
1646
1450
  ref: o
1647
- }), u);
1648
- }), Jt = (s) => {
1649
- var a = s, {
1451
+ }), l);
1452
+ }), Tt = (i) => {
1453
+ var a = i, {
1650
1454
  faIcon: e,
1651
1455
  title: t,
1652
1456
  className: n = "",
1653
- role: i = "presentation"
1654
- } = a, o = S(a, [
1457
+ role: s = "presentation"
1458
+ } = a, o = $(a, [
1655
1459
  "faIcon",
1656
1460
  "title",
1657
1461
  "className",
1658
1462
  "role"
1659
1463
  ]);
1660
1464
  return /* @__PURE__ */ r.createElement("i", p({
1661
- className: M(n, `fa fa-${e}`),
1465
+ className: w(n, `fa fa-${e}`),
1662
1466
  title: t,
1663
- role: i
1664
- }, B(o)));
1665
- }, $1 = D((f, d) => {
1666
- var l = f, {
1467
+ role: s
1468
+ }, R(o)));
1469
+ }, On = D((f, u) => {
1470
+ var d = f, {
1667
1471
  className: e = "",
1668
1472
  autoFocus: t = !1,
1669
1473
  onFocusChange: n = () => {
1670
1474
  },
1671
- onEnter: i = () => {
1475
+ onEnter: s = () => {
1672
1476
  },
1673
1477
  onEscape: o = () => {
1674
1478
  },
1675
- selectAllOnFocus: s,
1479
+ selectAllOnFocus: i,
1676
1480
  onChange: a = () => {
1677
1481
  },
1678
1482
  disabled: m = !1,
1679
- type: u
1680
- } = l, c = S(l, [
1483
+ type: l
1484
+ } = d, c = $(d, [
1681
1485
  "className",
1682
1486
  "autoFocus",
1683
1487
  "onFocusChange",
@@ -1688,70 +1492,70 @@ const At = 300, E1 = ({
1688
1492
  "disabled",
1689
1493
  "type"
1690
1494
  ]);
1691
- const [h, g] = k(t), b = R();
1692
- me(d, () => b.current), E(() => {
1693
- var x;
1694
- t && ((x = b == null ? void 0 : b.current) == null || x.focus());
1695
- }, [t, d, b]);
1696
- const v = (x, N) => {
1697
- g(x), n && n(x), s && x && N.target.select();
1698
- }, y = L(p({}, B(c)), {
1495
+ const [h, g] = L(t), E = S();
1496
+ ie(u, () => E.current), C(() => {
1497
+ var b;
1498
+ t && ((b = E == null ? void 0 : E.current) == null || b.focus());
1499
+ }, [t, u, E]);
1500
+ const x = (b, V) => {
1501
+ g(b), n && n(b), i && b && V.target.select();
1502
+ }, y = k(p({}, R(c)), {
1699
1503
  disabled: m,
1700
1504
  autoFocus: t,
1701
- type: u,
1702
- onKeyDown: (x) => {
1703
- x.key === "Enter" && h && i(x), x.key === "Escape" && h && o(x);
1505
+ type: l,
1506
+ onKeyDown: (b) => {
1507
+ b.key === "Enter" && h && s(b), b.key === "Escape" && h && o(b);
1704
1508
  },
1705
- onFocus: (x) => v(!0, x),
1706
- onBlur: (x) => v(!1, x),
1707
- onChange: (x) => a(x.target.value || ""),
1708
- className: M(e, "humany-input"),
1709
- "data-type": u
1509
+ onFocus: (b) => x(!0, b),
1510
+ onBlur: (b) => x(!1, b),
1511
+ onChange: (b) => a(b.target.value || ""),
1512
+ className: w(e, "humany-input"),
1513
+ "data-type": l
1710
1514
  });
1711
- return u !== "textarea" ? /* @__PURE__ */ r.createElement("input", L(p({}, y), {
1712
- ref: b
1713
- })) : /* @__PURE__ */ r.createElement("textarea", L(p({}, y), {
1714
- ref: b
1515
+ return l !== "textarea" ? /* @__PURE__ */ r.createElement("input", k(p({}, y), {
1516
+ ref: E
1517
+ })) : /* @__PURE__ */ r.createElement("textarea", k(p({}, y), {
1518
+ ref: E
1715
1519
  }));
1716
- }), en = D((a, s) => {
1717
- var m = a, { className: e, items: t, renderItem: n, renderLi: i = !1 } = m, o = S(m, ["className", "items", "renderItem", "renderLi"]);
1718
- return /* @__PURE__ */ r.createElement("ul", L(p({
1719
- className: M(e, "humany-list"),
1520
+ }), Nt = D((a, i) => {
1521
+ var m = a, { className: e, items: t, renderItem: n, renderLi: s = !1 } = m, o = $(m, ["className", "items", "renderItem", "renderLi"]);
1522
+ return /* @__PURE__ */ r.createElement("ul", k(p({
1523
+ className: w(e, "humany-list"),
1720
1524
  "data-item-count": t.length
1721
- }, B(o)), {
1722
- ref: s
1723
- }), t.map((u, c, d) => i ? /* @__PURE__ */ r.createElement("li", {
1525
+ }, R(o)), {
1526
+ ref: i
1527
+ }), t.map((l, c, u) => s ? /* @__PURE__ */ r.createElement("li", {
1724
1528
  className: "humany-list-item",
1725
- key: u.id
1726
- }, n(u, c, d)) : n(u, c, d)));
1727
- }), tn = D((u, m) => {
1728
- var c = u, { text: e, html: t, header: n, className: i, htmlParseInstruction: o, symbol: s } = c, a = S(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
1729
- return /* @__PURE__ */ r.createElement("div", L(p({
1730
- className: M(i, "humany-paragraph")
1731
- }, B(a)), {
1529
+ key: l.id
1530
+ }, n(l, c, u)) : n(l, c, u)));
1531
+ }), zt = D((l, m) => {
1532
+ var c = l, { text: e, html: t, header: n, className: s, htmlParseInstruction: o, symbol: i } = c, a = $(c, ["text", "html", "header", "className", "htmlParseInstruction", "symbol"]);
1533
+ return /* @__PURE__ */ r.createElement("div", k(p({
1534
+ className: w(s, "humany-paragraph")
1535
+ }, R(a)), {
1732
1536
  ref: m
1733
- }), n ? /* @__PURE__ */ r.createElement(Y, {
1537
+ }), n ? /* @__PURE__ */ r.createElement(_, {
1734
1538
  variant: "h1"
1735
- }, s ? /* @__PURE__ */ r.createElement(U, {
1736
- symbol: s
1737
- }) : null, n) : null, t ? /* @__PURE__ */ r.createElement(Fe, {
1539
+ }, i ? /* @__PURE__ */ r.createElement(A, {
1540
+ symbol: i
1541
+ }) : null, n) : null, t ? /* @__PURE__ */ r.createElement(Re, {
1738
1542
  html: t,
1739
1543
  htmlParseInstruction: o
1740
- }) : null, e ? /* @__PURE__ */ r.createElement(pe, null, e) : null);
1741
- }), nn = D((h, l) => {
1544
+ }) : null, e ? /* @__PURE__ */ r.createElement(me, null, e) : null);
1545
+ }), Bt = D((h, d) => {
1742
1546
  var g = h, {
1743
1547
  header: e,
1744
1548
  customHeader: t,
1745
1549
  text: n,
1746
- html: i,
1550
+ html: s,
1747
1551
  className: o,
1748
- children: s,
1552
+ children: i,
1749
1553
  symbol: a,
1750
1554
  items: m,
1751
- renderItem: u,
1555
+ renderItem: l,
1752
1556
  renderLi: c,
1753
- ulProps: d
1754
- } = g, f = S(g, [
1557
+ ulProps: u
1558
+ } = g, f = $(g, [
1755
1559
  "header",
1756
1560
  "customHeader",
1757
1561
  "text",
@@ -1764,108 +1568,215 @@ const At = 300, E1 = ({
1764
1568
  "renderLi",
1765
1569
  "ulProps"
1766
1570
  ]);
1767
- return /* @__PURE__ */ r.createElement("div", L(p({
1768
- className: M(o, "humany-item-list"),
1571
+ return /* @__PURE__ */ r.createElement("div", k(p({
1572
+ className: w(o, "humany-item-list"),
1769
1573
  "data-item-count": m.length
1770
- }, B(f)), {
1771
- ref: l
1772
- }), t || (e || n || i ? /* @__PURE__ */ r.createElement(tn, {
1574
+ }, R(f)), {
1575
+ ref: d
1576
+ }), t || (e || n || s ? /* @__PURE__ */ r.createElement(zt, {
1773
1577
  symbol: a,
1774
1578
  header: e,
1775
1579
  text: n,
1776
- html: i
1777
- }) : null), m.length ? /* @__PURE__ */ r.createElement(en, p({
1580
+ html: s
1581
+ }) : null), m.length ? /* @__PURE__ */ r.createElement(Nt, p({
1778
1582
  items: m,
1779
- renderItem: u,
1583
+ renderItem: l,
1780
1584
  renderLi: c
1781
- }, d)) : null, s);
1782
- }), k1 = ({
1585
+ }, u)) : null, i);
1586
+ }), In = ({
1783
1587
  className: e = "",
1784
1588
  tree: t,
1785
1589
  renderItem: n,
1786
- rootItem: i,
1590
+ rootItem: s,
1787
1591
  renderUnselected: o = !0,
1788
- renderEmpty: s = !0,
1592
+ renderEmpty: i = !0,
1789
1593
  ulProps: a,
1790
1594
  liProps: m
1791
1595
  }) => {
1792
- const u = (f) => !c(f), c = (f) => !f || f.length < 1 ? !0 : !f.some((l) => !!l.selected), d = (f, l) => /* @__PURE__ */ r.createElement(nn, {
1793
- className: M(`humany-item-tree-level-${l}`),
1596
+ const l = (f) => !c(f), c = (f) => !f || f.length < 1 ? !0 : !f.some((d) => !!d.selected), u = (f, d) => /* @__PURE__ */ r.createElement(Bt, {
1597
+ className: w(`humany-item-tree-level-${d}`),
1794
1598
  items: f,
1795
1599
  ulProps: a,
1796
1600
  renderItem: (h) => {
1797
- const { id: g, selected: b, items: v, matches: y } = h, x = b && c(v);
1798
- return !s && !y ? null : /* @__PURE__ */ r.createElement("li", L(p({}, B(m)), {
1601
+ const { id: g, selected: E, items: x, matches: y } = h, b = E && c(x);
1602
+ return !i && !y ? null : /* @__PURE__ */ r.createElement("li", k(p({}, R(m)), {
1799
1603
  key: g,
1800
1604
  className: "humany-item-tree-item"
1801
- }), n && n(h, l, x), v && (o || x) && d(v, l + 1));
1605
+ }), n && n(h, d, b), x && (o || b) && u(x, d + 1));
1802
1606
  }
1803
1607
  });
1804
1608
  return /* @__PURE__ */ r.createElement("div", {
1805
- className: M(e, "humany-item-tree")
1806
- }, i && i(!u(t || [])), t && d(t, 1));
1807
- }, rn = D((u, m) => {
1808
- var c = u, { className: e, onClick: t = () => {
1809
- }, name: n = "", to: i = "", params: o = {}, children: s } = c, a = S(c, ["className", "onClick", "name", "to", "params", "children"]);
1810
- const d = Ne(), f = V();
1811
- if (!d)
1609
+ className: w(e, "humany-item-tree")
1610
+ }, s && s(!l(t || [])), t && u(t, 1));
1611
+ }, De = (i) => {
1612
+ var a = i, {
1613
+ visible: e,
1614
+ duration: t = 500,
1615
+ children: n,
1616
+ onClick: s = () => {
1617
+ }
1618
+ } = a, o = $(a, [
1619
+ "visible",
1620
+ "duration",
1621
+ "children",
1622
+ "onClick"
1623
+ ]);
1624
+ const m = S(), l = H((c) => {
1625
+ c.target === m.current && s(c);
1626
+ }, [s]);
1627
+ return /* @__PURE__ */ r.createElement(ve, {
1628
+ in: e,
1629
+ className: "humany-overlay-transition",
1630
+ classNames: "humany-overlay-transition",
1631
+ unmountOnExit: !0,
1632
+ timeout: t
1633
+ }, /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(Vt, p({
1634
+ className: "humany-overlay",
1635
+ duration: t,
1636
+ ref: m,
1637
+ onClick: l
1638
+ }, o), n)));
1639
+ }, Vt = v.div`
1640
+ background: rgba(0, 0, 0, 0.6);
1641
+ min-width: 100%;
1642
+ min-height: 100%;
1643
+ position: fixed;
1644
+ top: 0;
1645
+ bottom: 0;
1646
+ right: 0;
1647
+ left: 0;
1648
+ display: flex;
1649
+ justify-content: center;
1650
+ align-items: center;
1651
+ z-index: 7;
1652
+
1653
+ transition: ${(e) => e.duration}ms;
1654
+ opacity: 0;
1655
+
1656
+ &.humany-overlay-transition-enter {
1657
+ opacity: 0.1;
1658
+ }
1659
+ &.humany-overlay-transition-enter-active,
1660
+ &.humany-overlay-transition-enter-done,
1661
+ &.humany-overlay-transition-exit {
1662
+ opacity: 1;
1663
+ }
1664
+
1665
+ &.humany-overlay-transition-exit-active,
1666
+ &.humany-overlay-transition-exit-done {
1667
+ opacity: 0;
1668
+ }
1669
+ `, Wt = ({ attrs: e }) => {
1670
+ const [t, n] = le(!1), s = q("Escape");
1671
+ C(() => {
1672
+ s && n(!1);
1673
+ }, [s]);
1674
+ const o = H((i) => {
1675
+ n(!1);
1676
+ }, [n]);
1677
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(De, {
1678
+ visible: t,
1679
+ onClick: o
1680
+ }, /* @__PURE__ */ r.createElement(It, {
1681
+ onClick: () => n(!1)
1682
+ }, /* @__PURE__ */ r.createElement(Pt, {
1683
+ size: 24,
1684
+ symbol: { type: "Svg", content: "close" }
1685
+ })), /* @__PURE__ */ r.createElement(Ot, null, /* @__PURE__ */ r.createElement("img", p({}, e)))), /* @__PURE__ */ r.createElement("a", {
1686
+ onClick: () => n()
1687
+ }, /* @__PURE__ */ r.createElement(Ft, p({}, e))));
1688
+ }, Ot = v.div`
1689
+ padding: ${(e) => {
1690
+ var t;
1691
+ return (t = e.theme.sizes) == null ? void 0 : t.normal;
1692
+ }};
1693
+ max-width: 80%;
1694
+ max-height: 80%;
1695
+
1696
+ img {
1697
+ width: auto !important;
1698
+ height: auto !important;
1699
+ max-width: 100%;
1700
+ max-height: 100%;
1701
+ }
1702
+ `, It = v(U)`
1703
+ position: fixed;
1704
+ top: 50px;
1705
+ right: 50px;
1706
+ transition: opacity 300ms ease-in-out;
1707
+ opacity: 0.7;
1708
+
1709
+ &:hover {
1710
+ opacity: 1;
1711
+ }
1712
+ `, Pt = v(A)`
1713
+ path {
1714
+ stroke: #ffffff;
1715
+ }
1716
+ `, Ft = v.img`
1717
+ cursor: pointer;
1718
+ `, Zt = D((l, m) => {
1719
+ var c = l, { className: e, onClick: t = () => {
1720
+ }, name: n = "", to: s = "", params: o = {}, children: i } = c, a = $(c, ["className", "onClick", "name", "to", "params", "children"]);
1721
+ const u = Le(), f = T();
1722
+ if (!u)
1812
1723
  return null;
1813
- let l = "";
1814
- const h = L(p({
1724
+ let d = "";
1725
+ const h = k(p({
1815
1726
  onClick: t,
1816
- className: M(e, "humany-route-link"),
1817
- to: l,
1727
+ className: w(e, "humany-route-link"),
1728
+ to: d,
1818
1729
  innerRef: m
1819
1730
  }, a), {
1820
1731
  ref: null
1821
1732
  });
1822
1733
  if (n) {
1823
- if (!(d.routes || []).find((y) => y.name === n))
1824
- return process.env.NODE_ENV !== "production" && se.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(ae, L(p({}, h), {
1734
+ if (!(u.routes || []).find((y) => y.name === n))
1735
+ return process.env.NODE_ENV !== "production" && ne.warn(`Unable to create route. No route named "${n}" exist.`), /* @__PURE__ */ r.createElement(re, k(p({}, h), {
1825
1736
  onClick: (y) => {
1826
- t(y), y.preventDefault(), process.env.NODE_ENV !== "production" && se.warn(`Unable to navigate. No route named "${n}" exist.`);
1737
+ t(y), y.preventDefault(), process.env.NODE_ENV !== "production" && ne.warn(`Unable to navigate. No route named "${n}" exist.`);
1827
1738
  }
1828
- }), s);
1829
- const v = Object.keys(o).reduce((y, x) => (y[x] = typeof o[x] == "string" ? encodeURIComponent(o[x]) : o[x], y), {});
1739
+ }), i);
1740
+ const x = Object.keys(o).reduce((y, b) => (y[b] = typeof o[b] == "string" ? encodeURIComponent(o[b]) : o[b], y), {});
1830
1741
  try {
1831
- l = d.generate(n, v || {});
1742
+ d = u.generate(n, x || {});
1832
1743
  } catch (y) {
1833
- return /* @__PURE__ */ r.createElement(ae, p({}, h), s);
1744
+ return /* @__PURE__ */ r.createElement(re, p({}, h), i);
1834
1745
  }
1835
- l && d.settings.mode && d.settings.mode === Me.browser && l[0] !== "/" && (l = `/${l}`);
1836
- } else if (i && d.history)
1837
- l = d.history.createHref({
1746
+ d && u.settings.mode && u.settings.mode === be.browser && d[0] !== "/" && (d = `/${d}`);
1747
+ } else if (s && u.history)
1748
+ d = u.history.createHref({
1838
1749
  hash: "",
1839
- pathname: i,
1750
+ pathname: s,
1840
1751
  search: "",
1841
1752
  state: void 0
1842
1753
  });
1843
1754
  else
1844
- return process.env.NODE_ENV !== "production" && se.warn('Unable to generate path for route link. Either specify route name or use the "to" prop.'), null;
1845
- if (d.settings && d.settings.mode === Me.scopedHash) {
1755
+ return process.env.NODE_ENV !== "production" && ne.warn('Unable to generate path for route link. Either specify route name or use the "to" prop.'), null;
1756
+ if (u.settings && u.settings.mode === be.scopedHash) {
1846
1757
  const g = f.get("$widget").name;
1847
- l = ht(l, g);
1758
+ d = _e(d, g);
1848
1759
  }
1849
- return /* @__PURE__ */ r.createElement(ae, L(p({}, h), {
1850
- to: l
1851
- }), s);
1852
- }), Ce = D((g, h) => {
1853
- var b = g, {
1760
+ return /* @__PURE__ */ r.createElement(re, k(p({}, h), {
1761
+ to: d
1762
+ }), i);
1763
+ }), Te = D((g, h) => {
1764
+ var E = g, {
1854
1765
  className: e,
1855
1766
  disabled: t = !1,
1856
1767
  role: n = "link",
1857
- tabIndex: i = 0,
1768
+ tabIndex: s = 0,
1858
1769
  onClick: o = () => {
1859
1770
  },
1860
- onKeyDown: s = () => {
1771
+ onKeyDown: i = () => {
1861
1772
  },
1862
1773
  title: a,
1863
1774
  href: m,
1864
- children: u,
1775
+ children: l,
1865
1776
  target: c,
1866
- routeName: d,
1777
+ routeName: u,
1867
1778
  params: f
1868
- } = b, l = S(b, [
1779
+ } = E, d = $(E, [
1869
1780
  "className",
1870
1781
  "disabled",
1871
1782
  "role",
@@ -1879,12 +1790,12 @@ const At = 300, E1 = ({
1879
1790
  "routeName",
1880
1791
  "params"
1881
1792
  ]);
1882
- const v = {
1793
+ const x = {
1883
1794
  title: a,
1884
1795
  disabled: t,
1885
1796
  role: n,
1886
- tabIndex: i,
1887
- className: M(e, "humany-link", [!!t, "humany-disabled"]),
1797
+ tabIndex: s,
1798
+ className: w(e, "humany-link", [!!t, "humany-disabled"]),
1888
1799
  onClick: (y) => {
1889
1800
  if (y.persist(), t) {
1890
1801
  y.preventDefault();
@@ -1897,574 +1808,73 @@ const At = 300, E1 = ({
1897
1808
  y.key !== "Tab" && y.preventDefault();
1898
1809
  return;
1899
1810
  }
1900
- s(y);
1811
+ i(y);
1901
1812
  }
1902
1813
  };
1903
- return d ? /* @__PURE__ */ r.createElement(on, L(p(p({
1904
- name: d,
1814
+ return u ? /* @__PURE__ */ r.createElement(At, k(p(p({
1815
+ name: u,
1905
1816
  params: f
1906
- }, v), B(l)), {
1817
+ }, x), R(d)), {
1907
1818
  ref: h
1908
- }), u) : /* @__PURE__ */ r.createElement(sn, L(p(p({
1819
+ }), l) : /* @__PURE__ */ r.createElement(Kt, k(p(p({
1909
1820
  href: m,
1910
1821
  target: c
1911
- }, v), B(l)), {
1822
+ }, x), R(d)), {
1912
1823
  ref: h
1913
- }), u);
1914
- }), on = C(rn)`
1824
+ }), l);
1825
+ }), At = v(Zt)`
1915
1826
  ${(e) => e.disabled ? `
1916
1827
  pointer-events: none;
1917
1828
  opacity: .7;
1918
1829
  ` : "cursor: pointer;"}
1919
- `, sn = C.a`
1830
+ `, Kt = v.a`
1920
1831
  ${(e) => e.disabled ? `
1921
1832
  pointer-events: none;
1922
1833
  opacity: .7;
1923
1834
  ` : "cursor: pointer;"}
1924
- `, Ae = (s) => {
1925
- var a = s, {
1926
- visible: e,
1927
- duration: t = 500,
1928
- children: n,
1929
- onClick: i = () => {
1930
- }
1931
- } = a, o = S(a, [
1932
- "visible",
1933
- "duration",
1934
- "children",
1935
- "onClick"
1936
- ]);
1937
- const m = R(), u = H((c) => {
1938
- c.target === m.current && i(c);
1939
- }, [i]);
1940
- return /* @__PURE__ */ r.createElement(De, {
1941
- in: e,
1942
- className: "humany-overlay-transition",
1943
- classNames: "humany-overlay-transition",
1944
- unmountOnExit: !0,
1945
- timeout: t
1946
- }, /* @__PURE__ */ r.createElement(_, null, /* @__PURE__ */ r.createElement(an, p({
1947
- className: "humany-overlay",
1948
- duration: t,
1949
- ref: m,
1950
- onClick: u
1951
- }, o), n)));
1952
- }, an = C.div`
1953
- background: rgba(0, 0, 0, 0.6);
1954
- min-width: 100%;
1955
- min-height: 100%;
1956
- position: fixed;
1957
- top: 0;
1958
- bottom: 0;
1959
- right: 0;
1960
- left: 0;
1961
- display: flex;
1962
- justify-content: center;
1963
- align-items: center;
1964
- z-index: 7;
1965
-
1966
- transition: ${(e) => e.duration}ms;
1967
- opacity: 0;
1968
-
1969
- &.humany-overlay-transition-enter {
1970
- opacity: 0.1;
1971
- }
1972
- &.humany-overlay-transition-enter-active,
1973
- &.humany-overlay-transition-enter-done,
1974
- &.humany-overlay-transition-exit {
1975
- opacity: 1;
1976
- }
1977
-
1978
- &.humany-overlay-transition-exit-active,
1979
- &.humany-overlay-transition-exit-done {
1980
- opacity: 0;
1981
- }
1982
- `, cn = ze`
1983
- 100% {
1984
- transform: rotate(360deg);
1985
- }
1986
- `, ln = ze`
1987
- 0% {
1988
- stroke-dasharray: 1, 200;
1989
- stroke-dashoffset: 0;
1990
- }
1991
- 50% {
1992
- stroke-dasharray: 89, 200;
1993
- stroke-dashoffset: -35px;
1994
- }
1995
- 100% {
1996
- stroke-dasharray: 89, 200;
1997
- stroke-dashoffset: -124px;
1998
- }
1999
- `, Pe = C.svg`
2000
- animation: ${cn} 2s linear infinite;
2001
- height: 100%;
2002
- transform-origin: center center;
2003
- width: 100%;
2004
- position: absolute;
2005
- top: 0;
2006
- bottom: 0;
2007
- left: 0;
2008
- right: 0;
2009
- margin: auto;
2010
- transition: 200ms ease-out opacity;
2011
- `, un = C.div`
2012
- position: absolute;
2013
- top: 0;
2014
- bottom: 0;
2015
- left: 0;
2016
- right: 0;
2017
- height: 100%;
2018
- width: 100%;
2019
- pointer-events: ${(e) => e["data-loading"] ? "all" : "none"}
2020
- display: flex;
2021
- flex-direction: column;
2022
- justify-content: center;
2023
- transition: 200ms ease-out opacity;
2024
- box-sizing: border-box;
2025
- overflow: hidden;
2026
- ${Pe} {
2027
- opacity: ${(e) => e["data-loading"] ? "1" : "0"}
2028
- }
2029
- `, mn = C.div`
2030
- position: relative;
2031
- margin: 0 auto;
2032
- width: 100px;
2033
- &:before {
2034
- content: '';
2035
- display: block;
2036
- padding-top: 100%;
2037
- }
2038
- `, dn = C.circle`
2039
- stroke-dasharray: 1, 200;
2040
- stroke-dashoffset: 0;
2041
- animation: ${ln} 1.5s ease-in-out infinite;
2042
- stroke-linecap: round;
2043
- stroke: ${(e) => {
2044
- var t;
2045
- return (t = e.theme.colors) == null ? void 0 : t.primary;
2046
- }};
2047
- stroke-width: 2px;
2048
- `, fn = ({ className: e, loading: t = !1 }) => /* @__PURE__ */ r.createElement(un, {
2049
- className: M("humany-loader", e),
2050
- "data-loading": t
2051
- }, /* @__PURE__ */ r.createElement(mn, {
2052
- className: "humany-spinner"
2053
- }, /* @__PURE__ */ r.createElement(Pe, {
2054
- viewBox: "25 25 50 50"
2055
- }, /* @__PURE__ */ r.createElement(dn, {
2056
- cx: "50",
2057
- cy: "50",
2058
- r: "20",
2059
- fill: "none",
2060
- "stroke-width": "2",
2061
- "stroke-miterlimit": "10"
2062
- })))), hn = (i) => {
2063
- var o = i, { zoomState: e, src: t } = o, n = S(o, ["zoomState", "src"]);
2064
- var h;
2065
- const s = R(null), [a, m] = k(!1), l = n.style || {}, { width: u, height: c } = l, d = S(l, ["width", "height"]), f = J(() => {
2066
- const g = s.current;
2067
- return g ? g.width >= g.height ? [`${e}vw`, "auto"] : ["auto", `${e}vh`] : null;
2068
- }, [e, s, a, t]);
2069
- return E(() => {
2070
- m(!1);
2071
- }, [t]), /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(pn, {
2072
- loading: !a
2073
- }), /* @__PURE__ */ r.createElement(gn, L(p({
2074
- onLoad: () => {
2075
- m(!0);
2076
- },
2077
- ref: s,
2078
- imageSize: f,
2079
- draggable: "false"
2080
- }, n), {
2081
- alt: ((h = n.alt) == null ? void 0 : h.toString()) || "",
2082
- style: d,
2083
- src: t,
2084
- loaded: a
2085
- })), /* @__PURE__ */ r.createElement(Cn, null));
2086
- }, pn = C(fn)`
2087
- svg circle {
2088
- stroke: #ffffff;
2089
- }
2090
- `, gn = C.img`
2091
- transform: none;
2092
-
2093
- ${(e) => e.imageSize && $`
2094
- width: ${e.imageSize[0]};
2095
- height: ${e.imageSize[1]};
2096
- display: inline-block;
2097
- `}
2098
- vertical-align: middle;
2099
- position: relative;
2100
- ${(e) => !e.loaded && "display:none;"}
2101
- `, Cn = C.div`
2102
- height: 100%;
2103
- display: inline-block;
2104
- vertical-align: middle;
2105
- `, yn = () => {
2106
- const e = R(), [t, n] = k(!0), i = H(() => (t || n(!0), e.current && clearTimeout(e.current), e.current = setTimeout(() => {
2107
- n(!1);
2108
- }, 3e3), () => {
2109
- e.current && clearTimeout(e.current);
2110
- }), [t, e]);
2111
- return [t, i];
2112
- }, bn = ({ attrs: e, htmlBody: t }) => {
2113
- var be;
2114
- const n = ne("Escape"), [i, o] = k(80), [s, a] = k({ top: 0, left: 0, x: 0, y: 0 }), [m, u] = k(!1), [c, d] = yn(), [f, l] = k(null), h = R(null), g = R(null), b = R(null);
2115
- E(() => {
2116
- n && l(null);
2117
- }, [n]), E(() => {
2118
- o(80);
2119
- }, [f]), E(() => {
2120
- if (f === null || g.current === null)
2121
- return;
2122
- const w = g.current.firstElementChild;
2123
- !w || w.focus();
2124
- }, [f, g]), E(() => {
2125
- f !== null || h.current === null || h.current.focus();
2126
- }, [f, h]);
2127
- const v = J(() => {
2128
- const w = document.createElement("div");
2129
- w.innerHTML = t || "";
2130
- const z = w.getElementsByTagName("img");
2131
- return Array.from(z).reduce((q, Ge) => {
2132
- const Ee = Ge.getAttribute("src");
2133
- return Ee && q.push(Ee), q;
2134
- }, []);
2135
- }, [t]), y = H(() => {
2136
- const { src: w } = e;
2137
- if (w) {
2138
- const z = v.indexOf(w);
2139
- l(z);
2140
- }
2141
- }, [v, e]), x = H((w) => {
2142
- l(null);
2143
- }, [y]), N = H((w) => {
2144
- o(w ? i + 10 : i - 10);
2145
- }, [o, i]), F = H(() => {
2146
- const { src: w } = e;
2147
- w && window.open(w, "_blank");
2148
- }, [e]), T = H((w) => {
2149
- const z = b.current;
2150
- z && (a({ top: z.scrollTop, left: z.scrollLeft, x: w.clientX, y: w.clientY }), u(!0));
2151
- }, [b]), K = H((w) => {
2152
- const z = b.current;
2153
- if (z && m) {
2154
- const ve = w.clientX - s.x, q = w.clientY - s.y;
2155
- z.scrollTop = s.top - q, z.scrollLeft = s.left - ve;
2156
- }
2157
- }, [m, s]), je = (w) => {
2158
- w.preventDefault(), u(!1);
2159
- }, Xe = J(() => {
2160
- if (b.current) {
2161
- const w = b.current.getElementsByTagName("img");
2162
- if (w && w.length) {
2163
- const z = w[0];
2164
- return z.width > window.innerWidth || z.height > window.innerHeight;
2165
- }
2166
- }
2167
- return !1;
2168
- }, [b, i]), _e = () => {
2169
- f !== null && l(f - 1);
2170
- }, Ue = () => {
2171
- f !== null && l(f + 1);
2172
- }, qe = f !== null && f > 0 && v.length > 1, Qe = f !== null && v.length - 1 > f;
2173
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ae, {
2174
- visible: f !== null,
2175
- onClick: x
2176
- }, /* @__PURE__ */ r.createElement(Ln, {
2177
- onMouseDown: () => d(),
2178
- onMouseMove: () => d(),
2179
- onTouchStart: () => d(),
2180
- onKeyDown: () => d()
2181
- }, /* @__PURE__ */ r.createElement(Mn, {
2182
- show: c.toString()
2183
- }, /* @__PURE__ */ r.createElement(xn, {
2184
- ref: g,
2185
- buttons: [
2186
- {
2187
- id: "download",
2188
- onClick: F,
2189
- icon: "download"
2190
- },
2191
- {
2192
- id: "lightbox-close",
2193
- onClick: () => l(null),
2194
- icon: "lightbox-close"
2195
- }
2196
- ]
2197
- })), /* @__PURE__ */ r.createElement(Rn, {
2198
- scrolling: m.toString(),
2199
- isDraggable: Xe.toString(),
2200
- ref: b,
2201
- onMouseMove: K,
2202
- onMouseDown: T,
2203
- onMouseUp: je
2204
- }, f !== null && /* @__PURE__ */ r.createElement(hn, L(p({
2205
- zoomState: i
2206
- }, e), {
2207
- src: v[f]
2208
- }))), /* @__PURE__ */ r.createElement($n, {
2209
- show: c.toString(),
2210
- buttons: [
2211
- {
2212
- id: "previous",
2213
- onClick: _e,
2214
- icon: "caret-left",
2215
- circle: !0,
2216
- show: qe
2217
- },
2218
- {
2219
- id: "next",
2220
- onClick: Ue,
2221
- icon: "caret-right",
2222
- circle: !0,
2223
- show: Qe
2224
- }
2225
- ]
2226
- }), /* @__PURE__ */ r.createElement(Sn, {
2227
- show: c.toString()
2228
- }, /* @__PURE__ */ r.createElement(wn, {
2229
- buttons: [
2230
- {
2231
- id: "zoom-out",
2232
- onClick: () => N(!1),
2233
- icon: "zoom-out"
2234
- },
2235
- {
2236
- id: "zoom-in",
2237
- onClick: () => N(!0),
2238
- icon: "zoom-in"
2239
- }
2240
- ]
2241
- }), /* @__PURE__ */ r.createElement(kn, {
2242
- variant: "span"
2243
- }, i, "%")))), /* @__PURE__ */ r.createElement(Ce, {
2244
- ref: h,
2245
- onClick: y,
2246
- onKeyDown: (w) => {
2247
- w.key === "Enter" && (w.preventDefault(), y());
2248
- },
2249
- tabIndex: 0
2250
- }, /* @__PURE__ */ r.createElement(Hn, L(p({}, e), {
2251
- alt: ((be = e.alt) == null ? void 0 : be.toString()) || ""
2252
- }))));
2253
- }, ye = D(({ show: e = "true", buttons: t, className: n }, i) => /* @__PURE__ */ r.createElement(vn, {
2254
- ref: i,
2255
- show: e,
2256
- className: M("humany-button-set", n)
2257
- }, t.map(({ id: o, circle: s = !1, show: a = !0, onClick: m, icon: u }, c) => /* @__PURE__ */ r.createElement(En, {
2258
- key: o + c.toString(),
2259
- circle: s.toString(),
2260
- onClick: m,
2261
- tabIndex: a ? void 0 : -1,
2262
- show: a.toString(),
2263
- icon: u
2264
- }, /* @__PURE__ */ r.createElement(U, {
2265
- size: 24,
2266
- symbol: { type: "Svg", content: u }
2267
- }))))), Ke = C.div`
2268
- transition: opacity 0.3s ease 0s;
2269
- z-index: 5;
2270
- ${(e) => e.show === "true" ? "opacity: 1;" : $`
2271
- opacity: 0;
2272
- pointer-events: none;
2273
- `}
2274
- `, vn = C(Ke)`
2275
- position: fixed;
2276
- display: flex;
2277
- gap: ${(e) => {
2278
- var t;
2279
- return (t = e.theme.sizes) == null ? void 0 : t.normal;
2280
- }};
2281
- `, ue = "39px", En = C(te)`
2282
- width: ${ue};
2283
- height: ${ue};
2284
- display: flex;
2285
- justify-content: center;
2286
- align-items: center;
2287
-
2288
- ${(e) => e.icon === "caret-left" && $`
2289
- svg {
2290
- position: relative;
2291
- left: -2px;
2292
- }
2293
- `}
2294
-
2295
- ${(e) => {
2296
- var t, n, i;
2297
- return e.circle === "true" ? $`
2298
- background-color: #ffffff;
2299
- border-radius: 50%;
2300
-
2301
- svg {
2302
- path,
2303
- line {
2304
- stroke: ${(t = e.theme.colors) == null ? void 0 : t.text};
2305
- }
2306
- }
2307
-
2308
- &:focus {
2309
- ${((n = e.theme.accessibility) == null ? void 0 : n.isTabbing) && $`
2310
- ${O}
2311
- outline-color: #ffffff;
2312
- background-color: transparent;
2313
-
2314
- svg {
2315
- path,
2316
- line {
2317
- stroke: #ffffff;
2318
- }
2319
- }
2320
- `}
2321
- }
2322
- ` : $`
2323
- svg {
2324
- path,
2325
- line {
2326
- stroke: #ffffff;
2327
- }
2328
- }
2329
- &:focus {
2330
- ${((i = e.theme.accessibility) == null ? void 0 : i.isTabbing) && O};
2331
- outline-color: #ffffff;
2332
- }
2333
- `;
2334
- }}
2335
-
2336
- ${(e) => e.show === "true" ? $`
2337
- opacity: 0.8;
2338
- transition: opacity 0.3s ease 0s;
2339
- &:hover {
2340
- opacity: 1;
2341
- }
2342
- ` : $`
2343
- opacity: 0;
2344
- pointer-events: none;
2345
- `}
2346
- `, xn = C(ye)`
2347
- top: ${(e) => {
2348
- var t;
2349
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2350
- }};
2351
- right: ${(e) => {
2352
- var t;
2353
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2354
- }};
2355
- `, wn = C(ye)`
2356
- bottom: ${(e) => {
2357
- var t;
2358
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2359
- }};
2360
- width: 100%;
2361
- align-items: center;
2362
- justify-content: center;
2363
- `, $n = C(ye)`
2364
- display: block;
2365
- button {
2366
- position: fixed;
2367
- top: calc(50% - calc(${ue} / 2));
2368
- &:first-child {
2369
- left: ${(e) => {
2370
- var t;
2371
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2372
- }};
2373
- }
2374
- &:last-child {
2375
- right: ${(e) => {
2376
- var t;
2377
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2378
- }};
2379
- }
2380
- }
2381
- `, kn = C(Y)`
2382
- position: fixed;
2383
- bottom: ${(e) => {
2384
- var t;
2385
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2386
- }};
2387
- right: ${(e) => {
2388
- var t;
2389
- return (t = e.theme.sizes) == null ? void 0 : t.large;
2390
- }};
2391
- color: #ffffff;
2392
- font-size: ${(e) => {
2393
- var t;
2394
- return (t = e.theme.fonts) == null ? void 0 : t.medium;
2395
- }};
2396
- font-family: ${(e) => {
2397
- var t;
2398
- return (t = e.theme.fonts) == null ? void 0 : t.type;
2399
- }};
2400
- `, Ye = C(Ke)`
2401
- position: absolute;
2402
- width: 100vw;
2403
- height: 88px;
2404
- left: 0px;
2405
- z-index: 5;
2406
- `, Ln = C.div`
2407
- width: 100%;
2408
- `, Mn = C(Ye)`
2409
- top: 0px;
2410
- background-image: linear-gradient(to bottom, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
2411
- `, Sn = C(Ye)`
2412
- bottom: 0px;
2413
- background-image: linear-gradient(to top, rgb(34, 34, 34, 0.8), rgba(34, 34, 34, 0));
2414
- `, Rn = C.div`
2415
- width: 100%;
2416
- height: 100vh;
2417
- overflow: auto;
2418
- text-align: center;
2419
- vertical-align: middle;
2420
- white-space: nowrap;
2421
- justify-content: center;
2422
- cursor: ${(e) => e.isDraggable === "true" ? e.scrolling === "true" ? "grabbing" : "grab" : "auto"};
2423
- `, Hn = C.img`
2424
- cursor: pointer;
2425
- `, zn = D((m, a) => {
2426
- var u = m, { className: e, children: t, trigger: n, onOverlayClick: i = () => {
2427
- }, close: o = !1 } = u, s = S(u, ["className", "children", "trigger", "onOverlayClick", "close"]);
2428
- const [c, d] = Ze(), [f, l] = We(!0), h = R(), g = R(j()), b = ne("Escape");
2429
- E(() => {
2430
- (b || o) && d(!1);
2431
- }, [b, o]), E(() => {
1835
+ `, Yt = D((m, a) => {
1836
+ var l = m, { className: e, children: t, trigger: n, onOverlayClick: s = () => {
1837
+ }, close: o = !1 } = l, i = $(l, ["className", "children", "trigger", "onOverlayClick", "close"]);
1838
+ const [c, u] = le(), [f, d] = Me(!0), h = S(), g = S(F()), E = q("Escape");
1839
+ C(() => {
1840
+ (E || o) && u(!1);
1841
+ }, [E, o]), C(() => {
2432
1842
  c && h.current && h.current.focus();
2433
- }, [c, h.current]), re("router:changed", () => {
2434
- d(!1);
1843
+ }, [c, h.current]), Q("router:changed", () => {
1844
+ u(!1);
2435
1845
  });
2436
- const v = H((x) => {
2437
- d(!1), i(x);
2438
- }, [i, d]);
2439
- me(a, () => ({
1846
+ const x = H((b) => {
1847
+ u(!1), s(b);
1848
+ }, [s, u]);
1849
+ ie(a, () => ({
2440
1850
  close() {
2441
- d(!1);
1851
+ u(!1);
2442
1852
  }
2443
1853
  }));
2444
- const y = H(() => he(g.current, () => {
2445
- d(!1);
1854
+ const y = H(() => ue(g.current, () => {
1855
+ u(!1);
2446
1856
  }), [g.current]);
2447
- return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(Ae, {
1857
+ return /* @__PURE__ */ r.createElement(r.Fragment, null, /* @__PURE__ */ r.createElement(De, {
2448
1858
  visible: c,
2449
- onClick: v
2450
- }, /* @__PURE__ */ r.createElement(Dn, L(p({
2451
- className: M(e, "humany-modal", `humany-modal-${g.current}`),
1859
+ onClick: x
1860
+ }, /* @__PURE__ */ r.createElement(jt, k(p({
1861
+ className: w(e, "humany-modal", `humany-modal-${g.current}`),
2452
1862
  css: f,
2453
1863
  tabIndex: -1
2454
- }, s), {
2455
- ref: l
2456
- }), /* @__PURE__ */ r.createElement(ge, {
2457
- onClick: () => d(!1),
1864
+ }, i), {
1865
+ ref: d
1866
+ }), /* @__PURE__ */ r.createElement(de, {
1867
+ onClick: () => u(!1),
2458
1868
  tabIndex: 0,
2459
1869
  ref: h
2460
- }, /* @__PURE__ */ r.createElement(U, {
1870
+ }, /* @__PURE__ */ r.createElement(A, {
2461
1871
  symbol: { type: "Svg", content: "close" }
2462
1872
  })), t)), r.cloneElement(n, {
2463
- onClick: (x) => {
2464
- d(), y();
1873
+ onClick: (b) => {
1874
+ u(), y();
2465
1875
  }
2466
1876
  }));
2467
- }), Dn = C.div`
1877
+ }), jt = v.div`
2468
1878
  font-family: ${(e) => {
2469
1879
  var t;
2470
1880
  return (t = e.theme.fonts) == null ? void 0 : t.type;
@@ -2480,39 +1890,39 @@ const At = 300, E1 = ({
2480
1890
  var t;
2481
1891
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
2482
1892
  }};
2483
- ${Oe}
1893
+ ${Se}
2484
1894
  ${(e) => e.css && e.css}
2485
1895
  outline: none;
2486
- `, L1 = ({
1896
+ `, Pn = ({
2487
1897
  className: e,
2488
1898
  trigger: t,
2489
1899
  header: n = "",
2490
- text: i = "",
1900
+ text: s = "",
2491
1901
  onCancel: o = () => {
2492
1902
  },
2493
- onConfirm: s = () => {
1903
+ onConfirm: i = () => {
2494
1904
  },
2495
1905
  cancelLabel: a = "",
2496
1906
  confirmLabel: m = ""
2497
1907
  }) => {
2498
- const u = R(), c = H(() => {
1908
+ const l = S(), c = H(() => {
2499
1909
  var f;
2500
- o(), (f = u == null ? void 0 : u.current) == null || f.close();
2501
- }, [o]), d = H(() => {
1910
+ o(), (f = l == null ? void 0 : l.current) == null || f.close();
1911
+ }, [o]), u = H(() => {
2502
1912
  var f;
2503
- s(), (f = u == null ? void 0 : u.current) == null || f.close();
2504
- }, [s]);
2505
- return /* @__PURE__ */ r.createElement(Bn, {
1913
+ i(), (f = l == null ? void 0 : l.current) == null || f.close();
1914
+ }, [i]);
1915
+ return /* @__PURE__ */ r.createElement(Xt, {
2506
1916
  className: e,
2507
1917
  trigger: t,
2508
- ref: u,
1918
+ ref: l,
2509
1919
  onOverlayClick: c
2510
- }, n && /* @__PURE__ */ r.createElement(Re, null, n), i && /* @__PURE__ */ r.createElement(Re, null, i), m && /* @__PURE__ */ r.createElement(Tn, {
2511
- onClick: d
2512
- }, m), a && /* @__PURE__ */ r.createElement(Vn, {
1920
+ }, n && /* @__PURE__ */ r.createElement(xe, null, n), s && /* @__PURE__ */ r.createElement(xe, null, s), m && /* @__PURE__ */ r.createElement(_t, {
1921
+ onClick: u
1922
+ }, m), a && /* @__PURE__ */ r.createElement(Ut, {
2513
1923
  onClick: c
2514
1924
  }, a));
2515
- }, Bn = C(zn)`
1925
+ }, Xt = v(Yt)`
2516
1926
  display: block;
2517
1927
 
2518
1928
  span {
@@ -2530,7 +1940,7 @@ const At = 300, E1 = ({
2530
1940
  }};
2531
1941
  }
2532
1942
  }
2533
- `, Tn = C(te)`
1943
+ `, _t = v(U)`
2534
1944
  display: inline-block;
2535
1945
  min-width: 50px;
2536
1946
  ${(e) => {
@@ -2556,11 +1966,11 @@ const At = 300, E1 = ({
2556
1966
  &:focus {
2557
1967
  ${(e) => {
2558
1968
  var t;
2559
- return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && O;
1969
+ return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && P;
2560
1970
  }};
2561
1971
  background-color: transparent;
2562
1972
  }
2563
- `, Vn = C(te)`
1973
+ `, Ut = v(U)`
2564
1974
  display: inline-block;
2565
1975
  min-width: 50px;
2566
1976
  ${(e) => {
@@ -2581,39 +1991,39 @@ const At = 300, E1 = ({
2581
1991
  &:focus {
2582
1992
  ${(e) => {
2583
1993
  var t;
2584
- return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && O;
1994
+ return ((t = e.theme.accessibility) == null ? void 0 : t.isTabbing) && P;
2585
1995
  }};
2586
1996
  }
2587
- `, M1 = ({
1997
+ `, Fn = ({
2588
1998
  header: e = "",
2589
1999
  link: t = "",
2590
2000
  suggestionHeader: n = "",
2591
- suggestion: i = ""
2592
- }) => /* @__PURE__ */ r.createElement(Nn, null, /* @__PURE__ */ r.createElement(Wn, null, /* @__PURE__ */ r.createElement(Y, {
2001
+ suggestion: s = ""
2002
+ }) => /* @__PURE__ */ r.createElement(qt, null, /* @__PURE__ */ r.createElement(Qt, null, /* @__PURE__ */ r.createElement(_, {
2593
2003
  variant: "h2"
2594
- }, "404")), /* @__PURE__ */ r.createElement(Zn, null, /* @__PURE__ */ r.createElement(Y, {
2004
+ }, "404")), /* @__PURE__ */ r.createElement(Gt, null, /* @__PURE__ */ r.createElement(_, {
2595
2005
  variant: "h3"
2596
- }, e), /* @__PURE__ */ r.createElement(In, {
2006
+ }, e), /* @__PURE__ */ r.createElement(en, {
2597
2007
  routeName: "index",
2598
2008
  "aria-label": t,
2599
2009
  text: t
2600
- })), /* @__PURE__ */ r.createElement(On, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, i)))), Nn = C.div`
2010
+ })), /* @__PURE__ */ r.createElement(Jt, null, /* @__PURE__ */ r.createElement("span", null, n), /* @__PURE__ */ r.createElement("ul", null, /* @__PURE__ */ r.createElement("li", null, s)))), qt = v.div`
2601
2011
  display: flex;
2602
2012
  flex-wrap: wrap;
2603
- `, Wn = C.div`
2604
- ${ee("h2", $`
2013
+ `, Qt = v.div`
2014
+ ${X("h2", M`
2605
2015
  padding: 0;
2606
2016
  margin: 0;
2607
2017
  color: gray;
2608
2018
  font-size: 7em;
2609
2019
  `)}
2610
- `, Zn = C.div`
2020
+ `, Gt = v.div`
2611
2021
  margin-left: ${(e) => {
2612
2022
  var t;
2613
2023
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
2614
2024
  }};
2615
2025
 
2616
- ${ee("h3", $`
2026
+ ${X("h3", M`
2617
2027
  text-transform: uppercase;
2618
2028
  font-size: ${(e) => {
2619
2029
  var t;
@@ -2631,7 +2041,7 @@ const At = 300, E1 = ({
2631
2041
  return (t = e.theme.fonts) == null ? void 0 : t.small;
2632
2042
  }};
2633
2043
  }
2634
- `, On = C.div`
2044
+ `, Jt = v.div`
2635
2045
  margin-top: ${(e) => {
2636
2046
  var t;
2637
2047
  return (t = e.theme.sizes) == null ? void 0 : t.medium;
@@ -2642,7 +2052,7 @@ const At = 300, E1 = ({
2642
2052
  font-weight: bold;
2643
2053
  }
2644
2054
  `;
2645
- class S1 extends rt {
2055
+ class Zn extends We {
2646
2056
  constructor() {
2647
2057
  super(...arguments), this.state = {
2648
2058
  boundFocus: !1
@@ -2659,7 +2069,7 @@ class S1 extends rt {
2659
2069
  return;
2660
2070
  const t = this.props.container.get("widgetDOMElement");
2661
2071
  this.node && t && (this.onFocusListener = this.node.addEventListener("focus", () => {
2662
- const n = t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'), o = [].filter.call(n, (s) => typeof window == "undefined" ? !0 : !(window.getComputedStyle(s).display === "none" || s.offsetWidth <= 0 && s.offsetHeight <= 0))[0];
2072
+ const n = t.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"])'), o = [].filter.call(n, (i) => typeof window == "undefined" ? !0 : !(window.getComputedStyle(i).display === "none" || i.offsetWidth <= 0 && i.offsetHeight <= 0))[0];
2663
2073
  o && o.focus();
2664
2074
  }));
2665
2075
  }
@@ -2676,56 +2086,56 @@ class S1 extends rt {
2676
2086
  }) : null;
2677
2087
  }
2678
2088
  }
2679
- const In = D((a, s) => {
2680
- var m = a, { className: e, description: t, text: n, children: i } = m, o = S(m, ["className", "description", "text", "children"]);
2681
- return /* @__PURE__ */ r.createElement(Ce, L(p({
2682
- className: M(e, "humany-text-link")
2089
+ const en = D((a, i) => {
2090
+ var m = a, { className: e, description: t, text: n, children: s } = m, o = $(m, ["className", "description", "text", "children"]);
2091
+ return /* @__PURE__ */ r.createElement(Te, k(p({
2092
+ className: w(e, "humany-text-link")
2683
2093
  }, o), {
2684
- ref: s
2685
- }), i, /* @__PURE__ */ r.createElement(pe, null, n), t ? /* @__PURE__ */ r.createElement(Fe, {
2094
+ ref: i
2095
+ }), s, /* @__PURE__ */ r.createElement(me, null, n), t ? /* @__PURE__ */ r.createElement(Re, {
2686
2096
  html: t,
2687
2097
  className: "humany-description"
2688
2098
  }) : null);
2689
2099
  });
2690
- var Fn = /* @__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))(Fn || {});
2691
- const R1 = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", {
2692
- className: M(e, "humany-timestamp")
2693
- }, An(n, t)), He = (e) => `0${e}`.slice(-2);
2694
- function An(e, t) {
2695
- const n = new Date(e), i = n.toTimeString().split(" ")[0].split(":"), o = i.length > 1 ? `${i[0]}:${i[1]}` : i[0], s = n.getFullYear(), a = n.getMonth() + 1, m = n.getDate(), u = `${s}-${He(a)}-${He(m)}`;
2696
- return t === "yyyy-mm-dd" ? u : t === "hh:mm" ? o : `${u} ${o}`;
2100
+ var tn = /* @__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))(tn || {});
2101
+ const An = ({ className: e = "", format: t = "hh:mm", timestamp: n }) => /* @__PURE__ */ r.createElement("span", {
2102
+ className: w(e, "humany-timestamp")
2103
+ }, nn(n, t)), Ee = (e) => `0${e}`.slice(-2);
2104
+ function nn(e, t) {
2105
+ const n = new Date(e), s = n.toTimeString().split(" ")[0].split(":"), o = s.length > 1 ? `${s[0]}:${s[1]}` : s[0], i = n.getFullYear(), a = n.getMonth() + 1, m = n.getDate(), l = `${i}-${Ee(a)}-${Ee(m)}`;
2106
+ return t === "yyyy-mm-dd" ? l : t === "hh:mm" ? o : `${l} ${o}`;
2697
2107
  }
2698
- const H1 = (s) => {
2699
- var a = s, { className: e, children: t, content: n, sticky: i = !1 } = a, o = S(a, ["className", "children", "content", "sticky"]);
2700
- const [m, u] = k(!1), c = R(j()), d = R(), [{ x: f, y: l }, h] = Ie(m, c.current, d.current), g = (v) => {
2701
- const { target: y } = v;
2702
- !d.current || !y || d.current !== y && !d.current.contains(y) && u(!1);
2108
+ const Kn = (i) => {
2109
+ var a = i, { className: e, children: t, content: n, sticky: s = !1 } = a, o = $(a, ["className", "children", "content", "sticky"]);
2110
+ const [m, l] = L(!1), c = S(F()), u = S(), [{ x: f, y: d }, h] = He(m, c.current, u.current), g = (x) => {
2111
+ const { target: y } = x;
2112
+ !u.current || !y || u.current !== y && !u.current.contains(y) && l(!1);
2703
2113
  };
2704
- E(() => {
2705
- if (!!i)
2114
+ C(() => {
2115
+ if (!!s)
2706
2116
  return window.addEventListener("click", g), () => {
2707
2117
  window.removeEventListener("click", g);
2708
2118
  };
2709
- }, [m, i]);
2710
- const b = H((v, y) => {
2711
- h(v, d.current), u(y);
2712
- }, [h, u]);
2713
- return /* @__PURE__ */ r.createElement(Pn, {
2714
- ref: d,
2119
+ }, [m, s]);
2120
+ const E = H((x, y) => {
2121
+ h(x, u.current), l(y);
2122
+ }, [h, l]);
2123
+ return /* @__PURE__ */ r.createElement(rn, {
2124
+ ref: u,
2715
2125
  className: "humany-tooltip-trigger",
2716
- onMouseEnter: i ? void 0 : (v) => b(v, !0),
2717
- onMouseLeave: i ? void 0 : (v) => b(v, !1),
2718
- onTouchEnd: i ? (v) => b(v, !m) : void 0,
2719
- onClick: i ? (v) => b(v, !m) : void 0
2720
- }, t, m && /* @__PURE__ */ r.createElement(_, null, /* @__PURE__ */ r.createElement(Kn, p({
2721
- className: M(e, "humany-tooltip-container"),
2126
+ onMouseEnter: s ? void 0 : (x) => E(x, !0),
2127
+ onMouseLeave: s ? void 0 : (x) => E(x, !1),
2128
+ onTouchEnd: s ? (x) => E(x, !m) : void 0,
2129
+ onClick: s ? (x) => E(x, !m) : void 0
2130
+ }, t, m && /* @__PURE__ */ r.createElement(G, null, /* @__PURE__ */ r.createElement(on, p({
2131
+ className: w(e, "humany-tooltip-container"),
2722
2132
  x: f,
2723
- y: l
2133
+ y: d
2724
2134
  }, o), n)));
2725
- }, Pn = C.div`
2135
+ }, rn = v.div`
2726
2136
  display: flex;
2727
2137
  align-items: center;
2728
- `, Kn = C.div`
2138
+ `, on = v.div`
2729
2139
  color: #ffffff;
2730
2140
  background: #161616;
2731
2141
  border-radius: ${(e) => e.theme.borderRadius};
@@ -2758,16 +2168,16 @@ const H1 = (s) => {
2758
2168
  let t = "";
2759
2169
  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;
2760
2170
  }};
2761
- `, z1 = (e) => {
2171
+ `, Yn = (e) => {
2762
2172
  const {
2763
2173
  in: t,
2764
2174
  mountOnEnter: n = !0,
2765
- unmountOnExit: i = !0,
2175
+ unmountOnExit: s = !0,
2766
2176
  timeout: o,
2767
- children: s,
2177
+ children: i,
2768
2178
  transitions: a
2769
- } = e, u = (() => {
2770
- var c, d;
2179
+ } = e, l = (() => {
2180
+ var c, u;
2771
2181
  if (!(!a || a === "none")) {
2772
2182
  if (typeof a == "string")
2773
2183
  return {
@@ -2783,7 +2193,7 @@ const H1 = (s) => {
2783
2193
  }
2784
2194
  };
2785
2195
  if (typeof a == "object") {
2786
- const { enter: f, exit: l } = a;
2196
+ const { enter: f, exit: d } = a;
2787
2197
  return {
2788
2198
  enter: {
2789
2199
  transitionKeys: (c = a.enter) == null ? void 0 : c.type,
@@ -2791,179 +2201,152 @@ const H1 = (s) => {
2791
2201
  easing: f.easing ? f.easing : "ease-in"
2792
2202
  },
2793
2203
  exit: {
2794
- transitionKeys: (d = a.enter) == null ? void 0 : d.type,
2204
+ transitionKeys: (u = a.enter) == null ? void 0 : u.type,
2795
2205
  duration: o ? typeof o == "number" ? o : o.enter : 200,
2796
- easing: l.easing ? l.easing : "ease-out"
2206
+ easing: d.easing ? d.easing : "ease-out"
2797
2207
  }
2798
2208
  };
2799
2209
  }
2800
2210
  }
2801
2211
  })();
2802
- return /* @__PURE__ */ r.createElement(it, {
2212
+ return /* @__PURE__ */ r.createElement(Ie, {
2803
2213
  timeout: {
2804
- enter: u && u.enter.duration || 0,
2805
- exit: u && u.exit.duration || 0
2214
+ enter: l && l.enter.duration || 0,
2215
+ exit: l && l.exit.duration || 0
2806
2216
  },
2807
2217
  in: t,
2808
2218
  appear: !0,
2809
2219
  mountOnEnter: n,
2810
- unmountOnExit: i,
2220
+ unmountOnExit: s,
2811
2221
  onEnter: (c) => c.clientHeight
2812
- }, (c) => s && s(c, u && ce.compose(c, u)));
2813
- }, Yn = D((m, a) => {
2814
- var u = m, { className: e, children: t, onClick: n = () => {
2815
- }, widgetName: i, activationOptions: o } = u, s = S(u, ["className", "children", "onClick", "widgetName", "activationOptions"]);
2816
- const c = V(), d = () => {
2222
+ }, (c) => i && i(c, l && oe.compose(c, l)));
2223
+ }, sn = D((m, a) => {
2224
+ var l = m, { className: e, children: t, onClick: n = () => {
2225
+ }, widgetName: s, activationOptions: o } = l, i = $(l, ["className", "children", "onClick", "widgetName", "activationOptions"]);
2226
+ const c = T(), u = () => {
2817
2227
  const { implementation: h } = c.get("$widget");
2818
- return h.widgets.get(i);
2228
+ return h.widgets.get(s);
2819
2229
  };
2820
- E(() => {
2821
- const h = d();
2230
+ C(() => {
2231
+ const h = u();
2822
2232
  return h == null || h.activate(o).then(() => h.invoke("attach")), () => {
2823
2233
  h == null || h.deactivate();
2824
2234
  };
2825
- }, [i]);
2235
+ }, [s]);
2826
2236
  const f = (h) => {
2827
- const g = d(), b = h.currentTarget;
2237
+ const g = u(), E = h.currentTarget;
2828
2238
  if (g) {
2829
- const v = () => {
2830
- g.invoke("renderState").then((y) => y === G.open ? g.invoke("close") : g.invoke("open")).then(() => {
2831
- g.events.subscribeOnce("widget:area-rendered", (y, x) => {
2239
+ const x = () => {
2240
+ g.invoke("renderState").then((y) => y === j.open ? g.invoke("close") : g.invoke("open")).then(() => {
2241
+ g.events.subscribeOnce("widget:area-rendered", (y, b) => {
2832
2242
  c.get("widgetDOMElement") && g.events.dispatch("widget:modal-opened", {
2833
2243
  name: g.name,
2834
- ref: b
2244
+ ref: E
2835
2245
  });
2836
2246
  });
2837
2247
  });
2838
2248
  };
2839
- g.state === at.Deactivated ? g.activate(o).then(() => g.invoke("attach")).then(v) : v();
2249
+ g.state === Fe.Deactivated ? g.activate(o).then(() => g.invoke("attach")).then(x) : x();
2840
2250
  }
2841
- }, l = (h) => {
2251
+ }, d = (h) => {
2842
2252
  h.key === "Enter" && (h.preventDefault(), f(h));
2843
2253
  };
2844
- return /* @__PURE__ */ r.createElement(Ce, L(p({
2845
- className: M(e, "humany-widget-link"),
2846
- onKeyDown: l,
2254
+ return /* @__PURE__ */ r.createElement(Te, k(p({
2255
+ className: w(e, "humany-widget-link"),
2256
+ onKeyDown: d,
2847
2257
  onClick: (h) => {
2848
2258
  n(h), f(h);
2849
2259
  }
2850
- }, s), {
2260
+ }, i), {
2851
2261
  ref: a
2852
2262
  }), t);
2853
- }), D1 = D(({ portalId: e = "humany-widget-overlay-portal", className: t, children: n }, i) => {
2854
- const o = V(), s = J(() => {
2855
- if (!o)
2856
- return null;
2857
- const a = o.get("widgetDOMElement");
2858
- return !a || !a.childElementCount ? null : a.children[0];
2859
- }, [o]);
2860
- return s ? /* @__PURE__ */ r.createElement(_, {
2861
- elementId: e,
2862
- parent: s
2863
- }, /* @__PURE__ */ r.createElement(jn, {
2864
- className: M("humany-widget-overlay-outlet", t),
2865
- ref: i
2866
- }, n)) : null;
2867
- }), jn = C.div`
2868
- background-color: #ffffff;
2869
- position: absolute;
2870
- top: 0;
2871
- left: 0;
2872
- bottom: 0;
2873
- right: 0;
2874
- z-index: 10;
2875
- width: 100%;
2876
- height: 100%;
2877
- `, B1 = (e, t, n, i, o) => e.getAsync("componentResolver").then((s) => (s.registerComponent(t, ot(() => n)), dt(e, t, i || (() => {
2263
+ }), jn = (e, t, n, s, o) => e.getAsync("componentResolver").then((i) => (i.registerComponent(t, Oe(() => n)), je(e, t, s || (() => {
2878
2264
  }), t, o)));
2879
2265
  export {
2880
- Lt as AnchorLink,
2881
- te as Button,
2882
- i1 as Checkbox,
2883
- Rt as ColumnContext,
2884
- Te as ComponentNodeContext,
2885
- Ht as ComponentPropertyContext,
2886
- L1 as Confirm,
2887
- St as ContainerContext,
2888
- Fn as DateFormats,
2889
- E1 as Drawer,
2890
- Ft as DrawerAnimationType,
2891
- x1 as Dropdown,
2892
- qt as Empty,
2893
- w1 as Grid,
2894
- Fe as Html,
2895
- Jt as Icon,
2896
- $1 as Input,
2897
- nn as ItemList,
2898
- k1 as ItemTree,
2899
- bn as Lightbox,
2900
- Ce as Link,
2901
- en as List,
2902
- zn as Modal,
2903
- M1 as NotFound,
2904
- Ae as Overlay,
2905
- tn as Paragraph,
2906
- _ as Portal,
2907
- rn as RouteLink,
2908
- zt as RoutingContext,
2909
- Re as StyledText,
2910
- U as SymbolBadge,
2911
- S1 as TabStop,
2912
- pe as Text,
2913
- In as TextLink,
2914
- R1 as Timestamp,
2915
- H1 as Tooltip,
2916
- z1 as TransitionComponent,
2917
- Y as Typography,
2918
- Yn as WidgetLink,
2919
- D1 as WidgetOverlayOutlet,
2920
- O as borderTabStyle,
2921
- Se as browser,
2922
- Vt as buttonCss,
2923
- Oe as contentBox,
2924
- B as convertToStringAttributes,
2925
- o1 as createEmptyComponent,
2926
- B1 as createReactComponent,
2927
- kt as defaultRenderInstructions,
2928
- vt as embeddedLinkMapper,
2929
- Be as filterCssProps,
2930
- Et as filterCssPropsStyle,
2931
- xt as genericHashLink,
2932
- v1 as genericHtml,
2933
- ee as headingElement,
2934
- $t as imageLightboxRenderer,
2935
- C1 as invertedHoverButton,
2936
- b1 as itemList,
2937
- Nt as linkTabStyle,
2938
- Wt as list,
2939
- y1 as paddedBorderTabStyle,
2940
- wt as processHtmlString,
2941
- ce as transitionComposer,
2942
- s1 as useAction,
2943
- a1 as useChildren,
2944
- c1 as useColumns,
2945
- l1 as useComponent,
2946
- de as useComponentDescriptor,
2947
- fe as useComponentNode,
2948
- P as useComponentPlatform,
2949
- V as useContainer,
2950
- Dt as useContext,
2951
- u1 as useDispatch,
2952
- W as useEventListener,
2953
- Bt as useEvents,
2954
- Z as useIsMounted,
2955
- ne as useKeyPress,
2956
- m1 as useLayout,
2957
- Ve as usePrevious,
2958
- d1 as useProperties,
2959
- f1 as useRenderState,
2960
- h1 as useRouteData,
2961
- Ne as useRouter,
2962
- We as useScroll,
2963
- p1 as useSettings,
2964
- Ze as useToggle,
2965
- g1 as useTransitionEnd,
2966
- he as useUniqueMenu,
2967
- re as useWidgetEvent
2266
+ it as AnchorLink,
2267
+ U as Button,
2268
+ Cn as Checkbox,
2269
+ lt as ColumnContext,
2270
+ $e as ComponentNodeContext,
2271
+ ut as ComponentPropertyContext,
2272
+ Pn as Confirm,
2273
+ ct as ContainerContext,
2274
+ tn as DateFormats,
2275
+ Bn as Drawer,
2276
+ xt as DrawerAnimationType,
2277
+ Vn as Dropdown,
2278
+ Ht as Empty,
2279
+ Wn as Grid,
2280
+ Re as Html,
2281
+ Tt as Icon,
2282
+ On as Input,
2283
+ Bt as ItemList,
2284
+ In as ItemTree,
2285
+ Wt as Lightbox,
2286
+ Te as Link,
2287
+ Nt as List,
2288
+ Yt as Modal,
2289
+ Fn as NotFound,
2290
+ De as Overlay,
2291
+ zt as Paragraph,
2292
+ G as Portal,
2293
+ Zt as RouteLink,
2294
+ mt as RoutingContext,
2295
+ xe as StyledText,
2296
+ A as SymbolBadge,
2297
+ Zn as TabStop,
2298
+ me as Text,
2299
+ en as TextLink,
2300
+ An as Timestamp,
2301
+ Kn as Tooltip,
2302
+ Yn as TransitionComponent,
2303
+ _ as Typography,
2304
+ sn as WidgetLink,
2305
+ P as borderTabStyle,
2306
+ Ce as browser,
2307
+ pt as buttonCss,
2308
+ Se as contentBox,
2309
+ R as convertToStringAttributes,
2310
+ bn as createEmptyComponent,
2311
+ jn as createReactComponent,
2312
+ st as defaultRenderInstructions,
2313
+ et as embeddedLinkMapper,
2314
+ we as filterCssProps,
2315
+ tt as filterCssPropsStyle,
2316
+ nt as genericHashLink,
2317
+ X as headingElement,
2318
+ Dn as invertedHoverButton,
2319
+ zn as itemList,
2320
+ Tn as linkTabStyle,
2321
+ gt as list,
2322
+ Nn as paddedBorderTabStyle,
2323
+ rt as processHtmlString,
2324
+ oe as transitionComposer,
2325
+ xn as useAction,
2326
+ En as useChildren,
2327
+ vn as useColumns,
2328
+ wn as useComponent,
2329
+ ae as useComponentDescriptor,
2330
+ ce as useComponentNode,
2331
+ I as useComponentPlatform,
2332
+ T as useContainer,
2333
+ dt as useContext,
2334
+ $n as useDispatch,
2335
+ z as useEventListener,
2336
+ ft as useEvents,
2337
+ B as useIsMounted,
2338
+ q as useKeyPress,
2339
+ kn as useLayout,
2340
+ ke as usePrevious,
2341
+ Ln as useProperties,
2342
+ Mn as useRenderState,
2343
+ Sn as useRouteData,
2344
+ Le as useRouter,
2345
+ Me as useScroll,
2346
+ Hn as useSettings,
2347
+ le as useToggle,
2348
+ Rn as useTransitionEnd,
2349
+ ue as useUniqueMenu,
2350
+ Q as useWidgetEvent
2968
2351
  };
2969
2352
  //# sourceMappingURL=index.js.map