@auldrant/ui 0.7.0 → 0.9.0

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.
@@ -1,545 +1,865 @@
1
- import { jsx as r, jsxs as b, Fragment as W } from "preact/jsx-runtime";
2
- import { useId as f } from "preact/hooks";
3
- import { signal as j, useSignal as x, effect as M } from "@preact/signals";
4
- function m(...t) {
1
+ import { jsx as r, jsxs as m, Fragment as se } from "preact/jsx-runtime";
2
+ import { useId as x, useRef as P, useEffect as A } from "preact/hooks";
3
+ import { signal as K, useSignal as E, effect as le } from "@preact/signals";
4
+ import { h as M, toChildArray as re } from "preact";
5
+ function v(...t) {
5
6
  return t.filter(Boolean).join(" ");
6
7
  }
7
- function g(...t) {
8
+ function L(...t) {
8
9
  return t.filter(Boolean).join(" ") || void 0;
9
10
  }
10
- const V = "_button_4gn7y_1 _focus-ring_4u8pk_3 _disabled_4u8pk_8", J = {
11
- button: V
12
- }, D = (t) => {
13
- const { label: e, onClick: n, type: s = "button", disabled: l, class: c } = t;
14
- return /* @__PURE__ */ r("button", { type: s, class: m(J.button, c), onClick: n, disabled: l, children: e });
15
- }, K = "_card_awzw5_1", Q = {
16
- card: K
17
- }, Ye = (t) => {
18
- const { children: e, class: n } = t;
19
- return /* @__PURE__ */ r("div", { class: m(Q.card, n), children: e });
20
- }, X = "_field_17xwz_1", Y = "_input_17xwz_8 _check-input_4u8pk_32 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Z = "_error_17xwz_12 _field-error_4u8pk_36", q = {
21
- field: X,
22
- input: Y,
23
- error: Z
24
- }, Ze = (t) => {
25
- const { label: e, name: n, checked: s, required: l, disabled: c, error: a, onChange: d, class: i } = t, h = f(), p = `${h}-error`;
26
- return /* @__PURE__ */ b("div", { class: m(q.field, i), children: [
11
+ const ae = "_button_4gn7y_1 _focus-ring_4u8pk_3 _disabled_4u8pk_8", oe = {
12
+ button: ae
13
+ }, G = (t) => {
14
+ const { label: e, onClick: s, type: n = "button", disabled: l, class: a } = t;
15
+ return /* @__PURE__ */ r("button", { type: n, class: v(oe.button, a), onClick: s, disabled: l, children: e });
16
+ }, ce = "_card_awzw5_1", ie = {
17
+ card: ce
18
+ }, Et = (t) => {
19
+ const { children: e, class: s } = t;
20
+ return /* @__PURE__ */ r("div", { class: v(ie.card, s), children: e });
21
+ }, de = "_field_17xwz_1", ue = "_input_17xwz_8 _check-input_4u8pk_32 _focus-ring_4u8pk_3 _disabled_4u8pk_8", _e = "_error_17xwz_12 _field-error_4u8pk_36", T = {
22
+ field: de,
23
+ input: ue,
24
+ error: _e
25
+ }, Dt = (t) => {
26
+ const { label: e, name: s, checked: n, required: l, disabled: a, error: o, onChange: c, class: i } = t, h = x(), p = `${h}-error`;
27
+ return /* @__PURE__ */ m("div", { class: v(T.field, i), children: [
27
28
  /* @__PURE__ */ r(
28
29
  "input",
29
30
  {
30
31
  id: h,
31
- class: q.input,
32
+ class: T.input,
32
33
  type: "checkbox",
33
- name: n,
34
- checked: s,
34
+ name: s,
35
+ checked: n,
35
36
  required: l,
36
- disabled: c,
37
- "aria-invalid": !!a || void 0,
38
- "aria-describedby": g(a && p),
39
- onChange: d && ((u) => d(u.target.checked))
37
+ disabled: a,
38
+ "aria-invalid": !!o || void 0,
39
+ "aria-describedby": L(o && p),
40
+ onChange: c && ((_) => c(_.target.checked))
40
41
  }
41
42
  ),
42
43
  /* @__PURE__ */ r("label", { for: h, children: e }),
43
- a && /* @__PURE__ */ r("p", { id: p, class: q.error, role: "alert", children: a })
44
+ o && /* @__PURE__ */ r("p", { id: p, class: T.error, role: "alert", children: o })
44
45
  ] });
45
- }, ee = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", te = {
46
- link: ee
47
- }, et = (t) => {
48
- const { href: e, fileName: n, label: s, class: l } = t;
49
- return /* @__PURE__ */ r("a", { href: e, download: n, class: m(te.link, l), children: s });
50
- }, ne = "_form_jr324_1", se = "_actions_jr324_6", le = "_status_jr324_13", L = {
51
- form: ne,
52
- actions: se,
53
- status: le
54
- }, tt = (t) => {
46
+ }, pe = "_dialog_1lxj9_1", he = "_panel_1lxj9_14", fe = "_header_1lxj9_23", me = "_title_1lxj9_30", be = "_close_1lxj9_35 _focus-ring_4u8pk_3", ve = "_body_1lxj9_51", ke = "_message_1lxj9_56", ge = "_footer_1lxj9_60", ye = "_action_1lxj9_67 _focus-ring_4u8pk_3 _disabled_4u8pk_8", we = "_primary_1lxj9_82", y = {
47
+ dialog: pe,
48
+ panel: he,
49
+ header: fe,
50
+ title: me,
51
+ close: be,
52
+ body: ve,
53
+ message: ke,
54
+ footer: ge,
55
+ action: ye,
56
+ primary: we
57
+ }, R = {
58
+ cancel: "Cancel",
59
+ cancelDescription: "Dismiss this dialog",
60
+ closeDescription: "Close this dialog"
61
+ };
62
+ function xe(t) {
63
+ const e = t.split("+"), s = e.at(-1) ?? "", n = e.slice(0, -1).map((l) => l.toLowerCase());
64
+ return {
65
+ key: s.toLowerCase(),
66
+ ctrl: n.includes("ctrl"),
67
+ shift: n.includes("shift"),
68
+ alt: n.includes("alt")
69
+ };
70
+ }
71
+ function z(t) {
72
+ return `(${t})`;
73
+ }
74
+ const Y = (t) => {
75
+ const {
76
+ open: e,
77
+ title: s,
78
+ alert: n,
79
+ onDismiss: l,
80
+ onBackdropClick: a,
81
+ message: o,
82
+ defaultAction: c,
83
+ actions: i,
84
+ cancelLabel: h,
85
+ onCancel: p,
86
+ focusCancel: _,
87
+ children: f,
88
+ class: d
89
+ } = t, b = P(null), g = P(null), $ = P(null), C = x();
90
+ A(() => {
91
+ const u = b.current;
92
+ u && (e && !u.open ? (u.showModal(), _ && $.current ? $.current.focus() : g.current && g.current.focus()) : !e && u.open && u.close());
93
+ }, [e, _]), A(() => {
94
+ const u = b.current;
95
+ if (!u)
96
+ return;
97
+ const k = (I) => {
98
+ I.preventDefault(), l();
99
+ };
100
+ return u.addEventListener("cancel", k), () => u.removeEventListener("cancel", k);
101
+ }, [l]), A(() => {
102
+ const u = b.current;
103
+ if (!u || !e)
104
+ return;
105
+ const k = [...i ?? [], ...c ? [c] : []];
106
+ if (k.length === 0)
107
+ return;
108
+ const I = k.map((w) => ({
109
+ parsed: xe(w.shortcut),
110
+ handler: w.onClick
111
+ })), N = (w) => {
112
+ for (const { parsed: S, handler: ne } of I)
113
+ if (w.key.toLowerCase() === S.key && w.ctrlKey === S.ctrl && w.shiftKey === S.shift && w.altKey === S.alt) {
114
+ w.preventDefault(), ne();
115
+ return;
116
+ }
117
+ };
118
+ return u.addEventListener("keydown", N), () => u.removeEventListener("keydown", N);
119
+ }, [e, i, c]), A(() => {
120
+ const u = b.current;
121
+ if (!u || !e || !a)
122
+ return;
123
+ const k = (I) => {
124
+ I.target === u && a();
125
+ };
126
+ return u.addEventListener("click", k), () => u.removeEventListener("click", k);
127
+ }, [e, a]);
128
+ const q = c || p || i && i.length > 0;
129
+ return /* @__PURE__ */ r(
130
+ "dialog",
131
+ {
132
+ ref: b,
133
+ class: v(y.dialog, d),
134
+ "aria-labelledby": C,
135
+ role: n ? "alertdialog" : void 0,
136
+ children: /* @__PURE__ */ m("div", { class: y.panel, children: [
137
+ /* @__PURE__ */ m("header", { class: y.header, children: [
138
+ /* @__PURE__ */ r("h2", { id: C, class: y.title, children: s }),
139
+ !n && /* @__PURE__ */ r(
140
+ "button",
141
+ {
142
+ type: "button",
143
+ class: y.close,
144
+ title: R.closeDescription,
145
+ onClick: l,
146
+ children: "×"
147
+ }
148
+ )
149
+ ] }),
150
+ /* @__PURE__ */ m("div", { class: y.body, children: [
151
+ o && /* @__PURE__ */ r("p", { class: y.message, children: o }),
152
+ f
153
+ ] }),
154
+ q && /* @__PURE__ */ m("footer", { class: y.footer, children: [
155
+ i?.map((u) => /* @__PURE__ */ m(
156
+ "button",
157
+ {
158
+ type: "button",
159
+ class: y.action,
160
+ title: u.description,
161
+ onClick: u.onClick,
162
+ children: [
163
+ u.label,
164
+ " ",
165
+ z(u.shortcut)
166
+ ]
167
+ },
168
+ u.label
169
+ )),
170
+ c && /* @__PURE__ */ m(
171
+ "button",
172
+ {
173
+ ref: g,
174
+ type: "button",
175
+ class: v(y.action, y.primary),
176
+ title: c.description,
177
+ onClick: c.onClick,
178
+ children: [
179
+ c.label,
180
+ " ",
181
+ z(c.shortcut)
182
+ ]
183
+ }
184
+ ),
185
+ p && /* @__PURE__ */ m(
186
+ "button",
187
+ {
188
+ ref: $,
189
+ type: "button",
190
+ class: y.action,
191
+ title: R.cancelDescription,
192
+ onClick: p,
193
+ children: [
194
+ h ?? R.cancel,
195
+ " ",
196
+ z("Esc")
197
+ ]
198
+ }
199
+ )
200
+ ] })
201
+ ] })
202
+ }
203
+ );
204
+ }, St = (t) => {
205
+ const {
206
+ open: e,
207
+ title: s,
208
+ onClose: n,
209
+ message: l,
210
+ defaultAction: a,
211
+ actions: o,
212
+ children: c,
213
+ class: i
214
+ } = t;
215
+ return /* @__PURE__ */ r(
216
+ Y,
217
+ {
218
+ open: e,
219
+ title: s,
220
+ onDismiss: n,
221
+ onBackdropClick: n,
222
+ message: l,
223
+ defaultAction: a,
224
+ actions: o,
225
+ class: i,
226
+ children: c
227
+ }
228
+ );
229
+ }, $e = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", Ce = {
230
+ link: $e
231
+ }, At = (t) => {
232
+ const { href: e, fileName: s, label: n, class: l } = t;
233
+ return /* @__PURE__ */ r("a", { href: e, download: s, class: v(Ce.link, l), children: n });
234
+ }, Ie = "_form_jr324_1", Le = "_actions_jr324_6", Ne = "_status_jr324_13", H = {
235
+ form: Ie,
236
+ actions: Le,
237
+ status: Ne
238
+ }, Bt = (t) => {
55
239
  const {
56
240
  onSubmit: e,
57
- submitLabel: n = "Submit",
58
- resetLabel: s,
241
+ submitLabel: s = "Submit",
242
+ resetLabel: n,
59
243
  status: l,
60
- children: c,
61
- class: a
244
+ children: a,
245
+ class: o
62
246
  } = t;
63
- return /* @__PURE__ */ b(
247
+ return /* @__PURE__ */ m(
64
248
  "form",
65
249
  {
66
- class: m(L.form, a),
67
- onSubmit: (d) => {
68
- d.preventDefault();
69
- const i = new FormData(d.currentTarget);
250
+ class: v(H.form, o),
251
+ onSubmit: (c) => {
252
+ c.preventDefault();
253
+ const i = new FormData(c.currentTarget);
70
254
  e(i);
71
255
  },
72
256
  children: [
73
- c,
74
- /* @__PURE__ */ b("div", { class: L.actions, children: [
75
- /* @__PURE__ */ r(D, { type: "submit", label: n }),
76
- s && /* @__PURE__ */ r(D, { type: "reset", label: s })
257
+ a,
258
+ /* @__PURE__ */ m("div", { class: H.actions, children: [
259
+ /* @__PURE__ */ r(G, { type: "submit", label: s }),
260
+ n && /* @__PURE__ */ r(G, { type: "reset", label: n })
77
261
  ] }),
78
- l && /* @__PURE__ */ r("output", { class: L.status, children: l })
262
+ l && /* @__PURE__ */ r("output", { class: H.status, children: l })
79
263
  ]
80
264
  }
81
265
  );
82
- }, re = "_field_7l9ux_1", ae = "_label_7l9ux_8", ce = "_required_7l9ux_12", oe = "_error_7l9ux_16 _field-error_4u8pk_36", S = {
83
- field: re,
84
- label: ae,
85
- required: ce,
86
- error: oe
87
- }, w = (t) => {
88
- const { for: e, label: n, required: s, error: l, errorId: c, children: a, class: d } = t;
89
- return /* @__PURE__ */ b("div", { class: m(S.field, d), children: [
90
- /* @__PURE__ */ b("label", { class: S.label, for: e, children: [
91
- n,
266
+ }, je = "_field_7l9ux_1", Ee = "_label_7l9ux_8", De = "_required_7l9ux_12", Se = "_error_7l9ux_16 _field-error_4u8pk_36", B = {
267
+ field: je,
268
+ label: Ee,
269
+ required: De,
270
+ error: Se
271
+ }, D = (t) => {
272
+ const { for: e, label: s, required: n, error: l, errorId: a, children: o, class: c } = t;
273
+ return /* @__PURE__ */ m("div", { class: v(B.field, c), children: [
274
+ /* @__PURE__ */ m("label", { class: B.label, for: e, children: [
275
+ s,
92
276
  ":",
93
- s && /* @__PURE__ */ b("span", { class: S.required, "aria-hidden": "true", children: [
277
+ n && /* @__PURE__ */ m("span", { class: B.required, "aria-hidden": "true", children: [
94
278
  " ",
95
279
  "*"
96
280
  ] })
97
281
  ] }),
98
- a,
99
- l && /* @__PURE__ */ r("p", { id: c, class: S.error, role: "alert", children: l })
282
+ o,
283
+ l && /* @__PURE__ */ r("p", { id: a, class: B.error, role: "alert", children: l })
100
284
  ] });
101
- }, ie = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", de = {
102
- input: ie
103
- }, ue = {
285
+ }, Ae = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Be = {
286
+ input: Ae
287
+ }, qe = {
104
288
  email: "email",
105
289
  tel: "tel",
106
290
  url: "url"
107
- }, nt = (t) => {
291
+ }, qt = (t) => {
108
292
  const {
109
293
  label: e,
110
- name: n,
111
- type: s = "text",
294
+ name: s,
295
+ type: n = "text",
112
296
  value: l,
113
- placeholder: c,
114
- maxLength: a,
115
- autocomplete: d,
297
+ placeholder: a,
298
+ maxLength: o,
299
+ autocomplete: c,
116
300
  readOnly: i,
117
301
  pattern: h,
118
302
  required: p,
119
- disabled: u,
120
- error: _,
121
- onInput: o,
122
- class: v
123
- } = t, k = f(), y = `${k}-error`;
303
+ disabled: _,
304
+ error: f,
305
+ onInput: d,
306
+ class: b
307
+ } = t, g = x(), $ = `${g}-error`;
124
308
  return /* @__PURE__ */ r(
125
- w,
309
+ D,
126
310
  {
127
311
  label: e,
128
- for: k,
312
+ for: g,
129
313
  required: p,
130
- error: _,
131
- errorId: y,
132
- class: v,
314
+ error: f,
315
+ errorId: $,
316
+ class: b,
133
317
  children: /* @__PURE__ */ r(
134
318
  "input",
135
319
  {
136
- id: k,
137
- class: de.input,
138
- type: s,
139
- name: n,
320
+ id: g,
321
+ class: Be.input,
322
+ type: n,
323
+ name: s,
140
324
  value: l,
141
- placeholder: c,
142
- maxLength: a,
143
- autoComplete: d ?? ue[s],
325
+ placeholder: a,
326
+ maxLength: o,
327
+ autoComplete: c ?? qe[n],
144
328
  readOnly: i,
145
329
  pattern: h,
146
330
  required: p,
147
- disabled: u,
148
- "aria-invalid": !!_ || void 0,
149
- "aria-describedby": g(_ && y),
150
- onInput: o && ((I) => o(I.target.value))
331
+ disabled: _,
332
+ "aria-invalid": !!f || void 0,
333
+ "aria-describedby": L(f && $),
334
+ onInput: d && ((C) => d(C.target.value))
151
335
  }
152
336
  )
153
337
  }
154
338
  );
155
- }, P = j(window.location.pathname), A = j(window.location.hash.slice(1));
156
- function _e(t) {
339
+ }, U = K(window.location.pathname), ee = K(window.location.hash.slice(1));
340
+ function Pe(t) {
157
341
  const e = t.indexOf("#");
158
- let n = "", s = t;
159
- e >= 0 && (n = t.slice(e + 1), s = t.slice(0, e));
160
- const l = s.indexOf("?");
161
- let c = "", a = s;
162
- return l >= 0 && (c = s.slice(l), a = s.slice(0, l)), { pathname: a || "/", search: c, hash: n };
342
+ let s = "", n = t;
343
+ e >= 0 && (s = t.slice(e + 1), n = t.slice(0, e));
344
+ const l = n.indexOf("?");
345
+ let a = "", o = n;
346
+ return l >= 0 && (a = n.slice(l), o = n.slice(0, l)), { pathname: o || "/", search: a, hash: s };
163
347
  }
164
- function pe(t, e) {
165
- const { pathname: n, search: s, hash: l } = _e(t), c = n + s + (l ? `#${l}` : "");
166
- e?.replace ? history.replaceState(null, "", c) : history.pushState(null, "", c), P.value = n, A.value = l;
348
+ function Te(t, e) {
349
+ const { pathname: s, search: n, hash: l } = Pe(t), a = s + n + (l ? `#${l}` : "");
350
+ e?.replace ? history.replaceState(null, "", a) : history.pushState(null, "", a), U.value = s, ee.value = l;
167
351
  }
168
352
  window.addEventListener("popstate", () => {
169
- P.value = window.location.pathname, A.value = window.location.hash.slice(1);
353
+ U.value = window.location.pathname, ee.value = window.location.hash.slice(1);
170
354
  });
171
- const he = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", F = {
172
- link: he
355
+ const Re = "_link_7wgic_1 _link_4u8pk_22 _focus-ring_4u8pk_3", W = {
356
+ link: Re
173
357
  };
174
- function be(t) {
358
+ function ze(t) {
175
359
  try {
176
360
  return new URL(t, window.location.href).origin !== window.location.origin;
177
361
  } catch {
178
362
  return !1;
179
363
  }
180
364
  }
181
- const st = (t) => {
182
- const { href: e, children: n, external: s, class: l } = t;
183
- return s ?? be(e) ? /* @__PURE__ */ r("a", { href: e, class: m(F.link, l), rel: "noopener noreferrer", children: n }) : /* @__PURE__ */ r(
365
+ const Pt = (t) => {
366
+ const { href: e, children: s, external: n, class: l } = t;
367
+ return n ?? ze(e) ? /* @__PURE__ */ r("a", { href: e, class: v(W.link, l), rel: "noopener noreferrer", children: s }) : /* @__PURE__ */ r(
184
368
  "a",
185
369
  {
186
370
  href: e,
187
- class: m(F.link, l),
188
- onClick: (a) => {
189
- a.preventDefault(), pe(e);
371
+ class: v(W.link, l),
372
+ onClick: (o) => {
373
+ o.preventDefault(), Te(e);
190
374
  },
191
- children: n
375
+ children: s
192
376
  }
193
377
  );
194
- }, me = "_nav_778nl_1", ve = "_title_778nl_6", O = {
195
- nav: me,
196
- title: ve
197
- }, lt = (t) => {
198
- const { title: e, children: n, class: s } = t, l = f();
199
- return /* @__PURE__ */ b("nav", { class: m(O.nav, s), "aria-labelledby": e ? l : void 0, children: [
200
- e && /* @__PURE__ */ r("h2", { id: l, class: O.title, children: e }),
201
- n
378
+ }, Tt = (t) => {
379
+ const {
380
+ open: e,
381
+ title: s,
382
+ onCancel: n,
383
+ cancelLabel: l,
384
+ message: a,
385
+ defaultAction: o,
386
+ actions: c,
387
+ focusCancel: i,
388
+ children: h,
389
+ class: p
390
+ } = t;
391
+ return /* @__PURE__ */ r(
392
+ Y,
393
+ {
394
+ open: e,
395
+ title: s,
396
+ alert: !0,
397
+ onDismiss: n,
398
+ onCancel: n,
399
+ cancelLabel: l,
400
+ message: a,
401
+ defaultAction: o,
402
+ actions: c,
403
+ focusCancel: i,
404
+ class: p,
405
+ children: h
406
+ }
407
+ );
408
+ }, He = "_nav_778nl_1", Oe = "_title_778nl_6", Z = {
409
+ nav: He,
410
+ title: Oe
411
+ }, Rt = (t) => {
412
+ const { title: e, children: s, class: n } = t, l = x();
413
+ return /* @__PURE__ */ m("nav", { class: v(Z.nav, n), "aria-labelledby": e ? l : void 0, children: [
414
+ e && /* @__PURE__ */ r("h2", { id: l, class: Z.title, children: e }),
415
+ s
202
416
  ] });
203
- }, fe = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", ke = {
204
- input: fe
205
- }, rt = (t) => {
417
+ }, Fe = "_input_1j10x_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Me = {
418
+ input: Fe
419
+ }, zt = (t) => {
206
420
  const {
207
421
  label: e,
208
- name: n,
209
- min: s,
422
+ name: s,
423
+ min: n,
210
424
  max: l,
211
- step: c,
212
- value: a,
213
- placeholder: d,
425
+ step: a,
426
+ value: o,
427
+ placeholder: c,
214
428
  required: i,
215
429
  disabled: h,
216
430
  error: p,
217
- onInput: u,
218
- class: _
219
- } = t, o = f(), v = `${o}-error`;
431
+ onInput: _,
432
+ class: f
433
+ } = t, d = x(), b = `${d}-error`;
220
434
  return /* @__PURE__ */ r(
221
- w,
435
+ D,
222
436
  {
223
437
  label: e,
224
- for: o,
438
+ for: d,
225
439
  required: i,
226
440
  error: p,
227
- errorId: v,
228
- class: _,
441
+ errorId: b,
442
+ class: f,
229
443
  children: /* @__PURE__ */ r(
230
444
  "input",
231
445
  {
232
- id: o,
233
- class: ke.input,
446
+ id: d,
447
+ class: Me.input,
234
448
  type: "number",
235
- name: n,
236
- min: s,
449
+ name: s,
450
+ min: n,
237
451
  max: l,
238
- step: c,
239
- value: a,
240
- placeholder: d,
452
+ step: a,
453
+ value: o,
454
+ placeholder: c,
241
455
  required: i,
242
456
  disabled: h,
243
457
  "aria-invalid": !!p || void 0,
244
- "aria-describedby": g(p && v),
245
- onInput: u && ((k) => u(k.target.valueAsNumber))
458
+ "aria-describedby": L(p && b),
459
+ onInput: _ && ((g) => _(g.target.valueAsNumber))
246
460
  }
247
461
  )
248
462
  }
249
463
  );
250
- }, ge = "_wrapper_1mu6v_1", ye = "_input_1mu6v_6 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", $e = "_toggle_1mu6v_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", T = {
251
- wrapper: ge,
252
- input: ye,
253
- toggle: $e
254
- }, xe = {
464
+ }, Ke = "_wrapper_16zfv_1", Ue = "_input_16zfv_5 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ge = "_toggle_16zfv_11 _focus-ring_4u8pk_3 _disabled_4u8pk_8", O = {
465
+ wrapper: Ke,
466
+ input: Ue,
467
+ toggle: Ge
468
+ };
469
+ const We = (...t) => t.filter((e, s, n) => !!e && e.trim() !== "" && n.indexOf(e) === s).join(" ").trim();
470
+ const V = (t) => t.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
471
+ const Ze = (t) => t.replace(
472
+ /^([A-Z])|[\s-_]+(\w)/g,
473
+ (e, s, n) => n ? n.toUpperCase() : s.toLowerCase()
474
+ );
475
+ const J = (t) => {
476
+ const e = Ze(t);
477
+ return e.charAt(0).toUpperCase() + e.slice(1);
478
+ };
479
+ var Ve = {
480
+ xmlns: "http://www.w3.org/2000/svg",
481
+ width: 24,
482
+ height: 24,
483
+ viewBox: "0 0 24 24",
484
+ fill: "none",
485
+ stroke: "currentColor",
486
+ "stroke-width": "2",
487
+ "stroke-linecap": "round",
488
+ "stroke-linejoin": "round"
489
+ };
490
+ const Je = (t) => {
491
+ for (const e in t)
492
+ if (e.startsWith("aria-") || e === "role" || e === "title")
493
+ return !0;
494
+ return !1;
495
+ };
496
+ const Qe = ({
497
+ color: t = "currentColor",
498
+ size: e = 24,
499
+ strokeWidth: s = 2,
500
+ absoluteStrokeWidth: n,
501
+ children: l,
502
+ iconNode: a,
503
+ class: o = "",
504
+ ...c
505
+ }) => M(
506
+ "svg",
507
+ {
508
+ ...Ve,
509
+ width: String(e),
510
+ height: e,
511
+ stroke: t,
512
+ "stroke-width": n ? Number(s) * 24 / Number(e) : s,
513
+ class: ["lucide", o].join(" "),
514
+ ...!l && !Je(c) && { "aria-hidden": "true" },
515
+ ...c
516
+ },
517
+ [...a.map(([i, h]) => M(i, h)), ...re(l)]
518
+ );
519
+ const te = (t, e) => {
520
+ const s = ({ class: n = "", className: l = "", children: a, ...o }) => M(
521
+ Qe,
522
+ {
523
+ ...o,
524
+ iconNode: e,
525
+ class: We(
526
+ `lucide-${V(J(t))}`,
527
+ `lucide-${V(t)}`,
528
+ n,
529
+ l
530
+ )
531
+ },
532
+ a
533
+ );
534
+ return s.displayName = J(t), s;
535
+ };
536
+ const Xe = te("eye-off", [
537
+ [
538
+ "path",
539
+ {
540
+ d: "M10.733 5.076a10.744 10.744 0 0 1 11.205 6.575 1 1 0 0 1 0 .696 10.747 10.747 0 0 1-1.444 2.49",
541
+ key: "ct8e1f"
542
+ }
543
+ ],
544
+ ["path", { d: "M14.084 14.158a3 3 0 0 1-4.242-4.242", key: "151rxh" }],
545
+ [
546
+ "path",
547
+ {
548
+ d: "M17.479 17.499a10.75 10.75 0 0 1-15.417-5.151 1 1 0 0 1 0-.696 10.75 10.75 0 0 1 4.446-5.143",
549
+ key: "13bj9a"
550
+ }
551
+ ],
552
+ ["path", { d: "m2 2 20 20", key: "1ooewy" }]
553
+ ]);
554
+ const Ye = te("eye", [
555
+ [
556
+ "path",
557
+ {
558
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
559
+ key: "1nclc0"
560
+ }
561
+ ],
562
+ ["circle", { cx: "12", cy: "12", r: "3", key: "1v7zrd" }]
563
+ ]), et = {
255
564
  current: "current-password",
256
565
  new: "new-password"
257
- }, at = (t) => {
566
+ }, Ht = (t) => {
258
567
  const {
259
568
  label: e,
260
- name: n,
261
- purpose: s,
569
+ name: s,
570
+ purpose: n,
262
571
  value: l,
263
- placeholder: c,
264
- required: a,
265
- disabled: d,
572
+ placeholder: a,
573
+ required: o,
574
+ disabled: c,
266
575
  error: i,
267
576
  onInput: h,
268
577
  class: p
269
- } = t, u = f(), _ = `${u}-error`, o = x(!1);
578
+ } = t, _ = x(), f = `${_}-error`, d = E(!1);
270
579
  return /* @__PURE__ */ r(
271
- w,
580
+ D,
272
581
  {
273
582
  label: e,
274
- for: u,
275
- required: a,
583
+ for: _,
584
+ required: o,
276
585
  error: i,
277
- errorId: _,
586
+ errorId: f,
278
587
  class: p,
279
- children: /* @__PURE__ */ b("div", { class: T.wrapper, children: [
588
+ children: /* @__PURE__ */ m("div", { class: O.wrapper, children: [
280
589
  /* @__PURE__ */ r(
281
590
  "input",
282
591
  {
283
- id: u,
284
- class: T.input,
285
- type: o.value ? "text" : "password",
286
- name: n,
592
+ id: _,
593
+ class: O.input,
594
+ type: d.value ? "text" : "password",
595
+ name: s,
287
596
  value: l,
288
- placeholder: c,
289
- autoComplete: xe[s],
290
- required: a,
291
- disabled: d,
597
+ placeholder: a,
598
+ autoComplete: et[n],
599
+ required: o,
600
+ disabled: c,
292
601
  "aria-invalid": !!i || void 0,
293
- "aria-describedby": g(i && _),
294
- onInput: h && ((v) => h(v.target.value))
602
+ "aria-describedby": L(i && f),
603
+ onInput: h && ((b) => h(b.target.value))
295
604
  }
296
605
  ),
297
606
  /* @__PURE__ */ r(
298
607
  "button",
299
608
  {
300
609
  type: "button",
301
- class: T.toggle,
302
- disabled: d,
610
+ class: O.toggle,
611
+ disabled: c,
612
+ "aria-label": d.value ? "Hide password" : "Show password",
303
613
  onClick: () => {
304
- o.value = !o.value;
614
+ d.value = !d.value;
305
615
  },
306
- children: o.value ? "Hide password" : "Show password"
616
+ children: d.value ? /* @__PURE__ */ r(Xe, { size: "1em" }) : /* @__PURE__ */ r(Ye, { size: "1em" })
307
617
  }
308
618
  )
309
619
  ] })
310
620
  }
311
621
  );
312
- }, we = "_fieldset_lymkd_1", Ie = "_legend_lymkd_6", Ne = "_option_lymkd_11", Ce = "_input_lymkd_19 _check-input_4u8pk_32 _focus-ring_4u8pk_3", Se = "_error_lymkd_23 _field-error_4u8pk_36", $ = {
313
- fieldset: we,
314
- legend: Ie,
315
- option: Ne,
316
- input: Ce,
317
- error: Se
318
- }, ct = (t) => {
622
+ }, tt = "_fieldset_lymkd_1", nt = "_legend_lymkd_6", st = "_option_lymkd_11", lt = "_input_lymkd_19 _check-input_4u8pk_32 _focus-ring_4u8pk_3", rt = "_error_lymkd_23 _field-error_4u8pk_36", j = {
623
+ fieldset: tt,
624
+ legend: nt,
625
+ option: st,
626
+ input: lt,
627
+ error: rt
628
+ }, Ot = (t) => {
319
629
  const {
320
630
  legend: e,
321
- name: n,
322
- options: s,
631
+ name: s,
632
+ options: n,
323
633
  value: l,
324
- required: c,
325
- disabled: a,
326
- error: d,
634
+ required: a,
635
+ disabled: o,
636
+ error: c,
327
637
  onChange: i,
328
638
  class: h
329
- } = t, p = f(), u = `${p}-error`;
330
- return /* @__PURE__ */ b(
639
+ } = t, p = x(), _ = `${p}-error`;
640
+ return /* @__PURE__ */ m(
331
641
  "fieldset",
332
642
  {
333
- class: m($.fieldset, h),
334
- "aria-invalid": !!d || void 0,
335
- "aria-describedby": g(d && u),
643
+ class: v(j.fieldset, h),
644
+ "aria-invalid": !!c || void 0,
645
+ "aria-describedby": L(c && _),
336
646
  children: [
337
- /* @__PURE__ */ r("legend", { class: $.legend, children: e }),
338
- s.map((_) => {
339
- const o = `${p}-${_.value}`;
340
- return /* @__PURE__ */ b("div", { class: $.option, children: [
647
+ /* @__PURE__ */ r("legend", { class: j.legend, children: e }),
648
+ n.map((f) => {
649
+ const d = `${p}-${f.value}`;
650
+ return /* @__PURE__ */ m("div", { class: j.option, children: [
341
651
  /* @__PURE__ */ r(
342
652
  "input",
343
653
  {
344
- id: o,
345
- class: $.input,
654
+ id: d,
655
+ class: j.input,
346
656
  type: "radio",
347
- name: n,
348
- value: _.value,
349
- checked: l === _.value,
350
- required: c,
351
- disabled: a,
352
- onChange: i && (() => i(_.value))
657
+ name: s,
658
+ value: f.value,
659
+ checked: l === f.value,
660
+ required: a,
661
+ disabled: o,
662
+ onChange: i && (() => i(f.value))
353
663
  }
354
664
  ),
355
- /* @__PURE__ */ r("label", { for: o, children: _.label })
356
- ] }, _.value);
665
+ /* @__PURE__ */ r("label", { for: d, children: f.label })
666
+ ] }, f.value);
357
667
  }),
358
- d && /* @__PURE__ */ r("p", { id: u, class: $.error, role: "alert", children: d })
668
+ c && /* @__PURE__ */ r("p", { id: _, class: j.error, role: "alert", children: c })
359
669
  ]
360
670
  }
361
671
  );
362
- }, ot = (t) => {
363
- const { path: e, children: n } = t, s = P.value;
672
+ }, Ft = (t) => {
673
+ const { path: e, children: s } = t, n = U.value;
364
674
  if (e.endsWith("/*")) {
365
675
  const l = e.slice(0, -1);
366
- if (!s.startsWith(l) && s !== l.slice(0, -1))
676
+ if (!n.startsWith(l) && n !== l.slice(0, -1))
367
677
  return null;
368
- } else if (s !== e)
678
+ } else if (n !== e)
369
679
  return null;
370
- return /* @__PURE__ */ r(W, { children: n });
371
- }, qe = "_section_4nogy_1", Le = {
372
- section: qe
373
- }, it = (t) => {
374
- const { title: e, level: n = 2, children: s, class: l } = t, c = f(), a = `h${n}`;
375
- return /* @__PURE__ */ b("section", { class: m(Le.section, l), "aria-labelledby": c, children: [
376
- /* @__PURE__ */ r(a, { id: c, children: e }),
377
- s
680
+ return /* @__PURE__ */ r(se, { children: s });
681
+ }, at = "_section_4nogy_1", ot = {
682
+ section: at
683
+ }, Mt = (t) => {
684
+ const { title: e, level: s = 2, children: n, class: l } = t, a = x(), o = `h${s}`;
685
+ return /* @__PURE__ */ m("section", { class: v(ot.section, l), "aria-labelledby": a, children: [
686
+ /* @__PURE__ */ r(o, { id: a, children: e }),
687
+ n
378
688
  ] });
379
- }, Te = "_select_1cxnx_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ee = {
380
- select: Te
381
- }, je = (t) => "options" in t, dt = (t) => {
689
+ }, ct = "_select_1cxnx_1 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", it = {
690
+ select: ct
691
+ }, dt = (t) => "options" in t, Kt = (t) => {
382
692
  const {
383
693
  label: e,
384
- name: n,
385
- value: s,
694
+ name: s,
695
+ value: n,
386
696
  placeholder: l,
387
- options: c,
388
- required: a,
389
- disabled: d,
697
+ options: a,
698
+ required: o,
699
+ disabled: c,
390
700
  error: i,
391
701
  onChange: h,
392
702
  class: p
393
- } = t, u = f(), _ = `${u}-error`;
703
+ } = t, _ = x(), f = `${_}-error`;
394
704
  return /* @__PURE__ */ r(
395
- w,
705
+ D,
396
706
  {
397
707
  label: e,
398
- for: u,
399
- required: a,
708
+ for: _,
709
+ required: o,
400
710
  error: i,
401
- errorId: _,
711
+ errorId: f,
402
712
  class: p,
403
- children: /* @__PURE__ */ b(
713
+ children: /* @__PURE__ */ m(
404
714
  "select",
405
715
  {
406
- id: u,
407
- class: Ee.select,
408
- name: n,
409
- value: s,
410
- required: a,
411
- disabled: d,
716
+ id: _,
717
+ class: it.select,
718
+ name: s,
719
+ value: n,
720
+ required: o,
721
+ disabled: c,
412
722
  "aria-invalid": !!i || void 0,
413
- "aria-describedby": g(i && _),
414
- onChange: h && ((o) => h(o.target.value)),
723
+ "aria-describedby": L(i && f),
724
+ onChange: h && ((d) => h(d.target.value)),
415
725
  children: [
416
726
  l && /* @__PURE__ */ r("option", { value: "", disabled: !0, children: l }),
417
- c.map(
418
- (o) => je(o) ? /* @__PURE__ */ r("optgroup", { label: o.label, children: o.options.map((v) => /* @__PURE__ */ r("option", { value: v.value, children: v.label }, v.value)) }, o.label) : /* @__PURE__ */ r("option", { value: o.value, children: o.label }, o.value)
727
+ a.map(
728
+ (d) => dt(d) ? /* @__PURE__ */ r("optgroup", { label: d.label, children: d.options.map((b) => /* @__PURE__ */ r("option", { value: b.value, children: b.label }, b.value)) }, d.label) : /* @__PURE__ */ r("option", { value: d.value, children: d.label }, d.value)
419
729
  )
420
730
  ]
421
731
  }
422
732
  )
423
733
  }
424
734
  );
425
- }, Pe = "_skip_xbsul_1 _focus-ring_4u8pk_3", He = {
426
- skip: Pe
427
- }, ut = (t) => {
428
- const { target: e = "#main", label: n = "Skip to main content", class: s } = t;
429
- return /* @__PURE__ */ r("a", { href: e, class: m(He.skip, s), children: n });
430
- }, Be = "_table_dls60_1", De = "_caption_dls60_6", R = {
431
- table: Be,
432
- caption: De
433
- }, _t = (t) => {
434
- const { caption: e, headers: n, data: s, class: l } = t;
435
- return /* @__PURE__ */ b("table", { class: m(R.table, l), children: [
436
- /* @__PURE__ */ r("caption", { class: R.caption, children: e }),
437
- /* @__PURE__ */ r("thead", { children: /* @__PURE__ */ r("tr", { children: n.map((c, a) => /* @__PURE__ */ r("th", { scope: "col", children: c }, `${c}-${a}`)) }) }),
438
- /* @__PURE__ */ r("tbody", { children: s.map((c, a) => /* @__PURE__ */ r("tr", { children: c.map((d, i) => /* @__PURE__ */ r("td", { children: d }, `${n[i]}-${a}-${i}`)) }, a)) })
735
+ }, ut = "_skip_xbsul_1 _focus-ring_4u8pk_3", _t = {
736
+ skip: ut
737
+ }, Ut = (t) => {
738
+ const { target: e = "#main", label: s = "Skip to main content", class: n } = t;
739
+ return /* @__PURE__ */ r("a", { href: e, class: v(_t.skip, n), children: s });
740
+ }, pt = "_table_dls60_1", ht = "_caption_dls60_6", Q = {
741
+ table: pt,
742
+ caption: ht
743
+ }, Gt = (t) => {
744
+ const { caption: e, headers: s, data: n, class: l } = t;
745
+ return /* @__PURE__ */ m("table", { class: v(Q.table, l), children: [
746
+ /* @__PURE__ */ r("caption", { class: Q.caption, children: e }),
747
+ /* @__PURE__ */ r("thead", { children: /* @__PURE__ */ r("tr", { children: s.map((a, o) => /* @__PURE__ */ r("th", { scope: "col", children: a }, `${a}-${o}`)) }) }),
748
+ /* @__PURE__ */ r("tbody", { children: n.map((a, o) => /* @__PURE__ */ r("tr", { children: a.map((c, i) => /* @__PURE__ */ r("td", { children: c }, `${s[i]}-${o}-${i}`)) }, o)) })
439
749
  ] });
440
- }, Fe = "_hidden_19nib_1 _visually-hidden_4u8pk_42", Oe = {
441
- hidden: Fe
442
- }, Re = (t) => {
750
+ }, ft = "_hidden_19nib_1 _visually-hidden_4u8pk_42", mt = {
751
+ hidden: ft
752
+ }, bt = (t) => {
443
753
  const { children: e } = t;
444
- return /* @__PURE__ */ r("span", { class: Oe.hidden, children: e });
445
- }, ze = "_wrapper_1kyv1_1", Ae = "_textarea_1kyv1_6 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", Ue = "_counter_1kyv1_11", E = {
446
- wrapper: ze,
447
- textarea: Ae,
448
- counter: Ue
449
- }, z = [75, 90, 100], Ge = 10;
450
- function We(t) {
451
- for (let e = z.length - 1; e >= 0; e--) {
452
- const n = z[e];
453
- if (n !== void 0 && t >= n)
454
- return n;
754
+ return /* @__PURE__ */ r("span", { class: mt.hidden, children: e });
755
+ }, vt = "_wrapper_1kyv1_1", kt = "_textarea_1kyv1_6 _text-input_4u8pk_13 _focus-ring_4u8pk_3 _disabled_4u8pk_8", gt = "_counter_1kyv1_11", F = {
756
+ wrapper: vt,
757
+ textarea: kt,
758
+ counter: gt
759
+ }, X = [75, 90, 100], yt = 10;
760
+ function wt(t) {
761
+ for (let e = X.length - 1; e >= 0; e--) {
762
+ const s = X[e];
763
+ if (s !== void 0 && t >= s)
764
+ return s;
455
765
  }
456
766
  return 0;
457
767
  }
458
- const pt = (t) => {
768
+ const Wt = (t) => {
459
769
  const {
460
770
  label: e,
461
- name: n,
462
- maxChars: s,
771
+ name: s,
772
+ maxChars: n,
463
773
  value: l,
464
- placeholder: c,
465
- required: a,
466
- disabled: d,
774
+ placeholder: a,
775
+ required: o,
776
+ disabled: c,
467
777
  error: i,
468
778
  onInput: h,
469
779
  class: p
470
- } = t, u = f(), _ = `${u}-error`, o = `${u}-counter`, v = x(l?.length ?? 0), k = x(""), y = x(0), I = x(!1);
780
+ } = t, _ = x(), f = `${_}-error`, d = `${_}-counter`, b = E(l?.length ?? 0), g = E(""), $ = E(0), C = E(!1);
471
781
  return /* @__PURE__ */ r(
472
- w,
782
+ D,
473
783
  {
474
784
  label: e,
475
- for: u,
476
- required: a,
785
+ for: _,
786
+ required: o,
477
787
  error: i,
478
- errorId: _,
788
+ errorId: f,
479
789
  class: p,
480
- children: /* @__PURE__ */ b("div", { class: E.wrapper, children: [
790
+ children: /* @__PURE__ */ m("div", { class: F.wrapper, children: [
481
791
  /* @__PURE__ */ r(
482
792
  "textarea",
483
793
  {
484
- id: u,
485
- class: E.textarea,
486
- name: n,
487
- maxLength: s,
488
- placeholder: c,
489
- required: a,
490
- disabled: d,
794
+ id: _,
795
+ class: F.textarea,
796
+ name: s,
797
+ maxLength: n,
798
+ placeholder: a,
799
+ required: o,
800
+ disabled: c,
491
801
  "aria-invalid": !!i || void 0,
492
- "aria-describedby": g(i && _, o),
493
- onInput: (U) => {
494
- const N = U.target.value;
495
- v.value = N.length;
496
- const C = s - N.length, G = N.length / s * 100, H = We(G), B = !I.value && C <= Ge && C > 0;
497
- (H > y.value || B) && (k.value = `${C} character${C === 1 ? "" : "s"} remaining`, y.value = H, B && (I.value = !0)), h?.(N);
802
+ "aria-describedby": L(i && f, d),
803
+ onInput: (q) => {
804
+ const u = q.target.value;
805
+ b.value = u.length;
806
+ const k = n - u.length, I = u.length / n * 100, N = wt(I), w = !C.value && k <= yt && k > 0;
807
+ (N > $.value || w) && (g.value = `${k} character${k === 1 ? "" : "s"} remaining`, $.value = N, w && (C.value = !0)), h?.(u);
498
808
  },
499
809
  children: l
500
810
  }
501
811
  ),
502
- /* @__PURE__ */ b("span", { id: o, class: E.counter, children: [
503
- v,
812
+ /* @__PURE__ */ m("span", { id: d, class: F.counter, children: [
813
+ b,
504
814
  " / ",
505
- s
815
+ n
506
816
  ] }),
507
- /* @__PURE__ */ r(Re, { children: /* @__PURE__ */ r("span", { "aria-live": "polite", children: k }) })
817
+ /* @__PURE__ */ r(bt, { children: /* @__PURE__ */ r("span", { "aria-live": "polite", children: g }) })
508
818
  ] })
509
819
  }
510
820
  );
511
- }, Me = "_theme_1x47p_11", Ve = {
512
- theme: Me
513
- }, ht = (t) => {
514
- const { children: e, class: n } = t;
515
- return /* @__PURE__ */ r("div", { class: m(Ve.theme, n), children: e });
516
- }, Je = j(document.title);
517
- M(() => {
518
- document.title = Je.value;
821
+ }, xt = "_theme_1x47p_11", $t = {
822
+ theme: xt
823
+ }, Zt = {
824
+ blue: "aui-blue",
825
+ purple: "aui-purple",
826
+ teal: "aui-teal",
827
+ red: "aui-red",
828
+ orange: "aui-orange",
829
+ yellow: "aui-yellow"
830
+ }, Vt = (t) => {
831
+ const { children: e, class: s } = t;
832
+ return /* @__PURE__ */ r("div", { class: v($t.theme, s), children: e });
833
+ }, Ct = K(document.title);
834
+ le(() => {
835
+ document.title = Ct.value;
519
836
  });
520
837
  export {
521
- D as Button,
522
- Ye as Card,
523
- Ze as Checkbox,
524
- et as DownloadLink,
525
- tt as Form,
526
- nt as Input,
527
- st as Link,
528
- lt as Nav,
529
- rt as NumberInput,
530
- at as PasswordInput,
531
- ct as RadioGroup,
532
- ot as Route,
533
- it as Section,
534
- dt as Select,
535
- ut as SkipLink,
536
- _t as Table,
537
- pt as Textarea,
538
- ht as Theme,
539
- Re as VisuallyHidden,
540
- m as cx,
541
- A as hash,
542
- P as location,
543
- pe as navigate,
544
- Je as title
838
+ G as Button,
839
+ Et as Card,
840
+ Dt as Checkbox,
841
+ St as Dialog,
842
+ At as DownloadLink,
843
+ Bt as Form,
844
+ qt as Input,
845
+ Pt as Link,
846
+ Tt as Modal,
847
+ Rt as Nav,
848
+ zt as NumberInput,
849
+ Zt as Palette,
850
+ Ht as PasswordInput,
851
+ Ot as RadioGroup,
852
+ Ft as Route,
853
+ Mt as Section,
854
+ Kt as Select,
855
+ Ut as SkipLink,
856
+ Gt as Table,
857
+ Wt as Textarea,
858
+ Vt as Theme,
859
+ bt as VisuallyHidden,
860
+ v as cx,
861
+ ee as hash,
862
+ U as location,
863
+ Te as navigate,
864
+ Ct as title
545
865
  };