@telia/teddy 0.0.9 → 0.0.10

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.
Files changed (45) hide show
  1. package/dist/assets/badge.css +1 -1
  2. package/dist/assets/heading.css +1 -1
  3. package/dist/assets/main.css +1 -1
  4. package/dist/assets/navigation-menu.css +1 -1
  5. package/dist/badge-cOFoFJw0.js +798 -0
  6. package/dist/components/accordion/accordion.d.ts +1 -1
  7. package/dist/components/accordion/accordion.js +2 -2
  8. package/dist/components/accordion/index.js +1 -1
  9. package/dist/components/badge/badge.js +2 -2
  10. package/dist/components/badge/index.js +1 -1
  11. package/dist/components/box/box.js +1 -1
  12. package/dist/components/card/card.js +2 -2
  13. package/dist/components/card/index.js +1 -1
  14. package/dist/components/flex/flex.js +1 -1
  15. package/dist/components/grid/grid.js +1 -1
  16. package/dist/components/heading/heading.d.ts +7 -35
  17. package/dist/components/heading/heading.js +28 -28
  18. package/dist/components/index.d.ts +1 -0
  19. package/dist/components/index.js +34 -33
  20. package/dist/components/navigation-menu/navigation-menu.js +121 -121
  21. package/dist/components/notification/index.d.ts +2 -0
  22. package/dist/components/notification/index.js +4 -0
  23. package/dist/components/notification/notification.d.ts +59 -0
  24. package/dist/components/notification/notification.js +27 -0
  25. package/dist/components/radio-group/index.js +1 -1
  26. package/dist/components/radio-group/radio-group.js +1 -1
  27. package/dist/components/toggle/index.js +1 -1
  28. package/dist/components/toggle/toggle.d.ts +2 -2
  29. package/dist/components/toggle/toggle.js +2 -2
  30. package/dist/{index-0Eg2mucA.js → index-DPFZO9xk.js} +96 -95
  31. package/dist/main.js +48 -47
  32. package/dist/{radio-group-BR5SMJXJ.js → radio-group-DN1IYZdr.js} +1 -1
  33. package/dist/utils/layout/flex.d.ts +23 -0
  34. package/dist/utils/layout/flex.js +24 -0
  35. package/dist/utils/{layout.d.ts → layout/index.d.ts} +6 -38
  36. package/dist/utils/layout/index.js +156 -0
  37. package/dist/utils/layout/margin.d.ts +46 -0
  38. package/dist/utils/layout/margin.js +32 -0
  39. package/dist/utils/layout/util.d.ts +8 -0
  40. package/dist/utils/layout/util.js +33 -0
  41. package/dist/utils/layout/width.d.ts +33 -0
  42. package/dist/utils/layout/width.js +21 -0
  43. package/package.json +4 -1
  44. package/dist/badge-9vHb0-Jo.js +0 -721
  45. package/dist/utils/layout.js +0 -221
@@ -1,11 +1,11 @@
1
1
  import '../../assets/navigation-menu.css';
2
2
  import { jsx as O, jsxs as He, Fragment as Ge } from "react/jsx-runtime";
3
3
  import h, { useEffect as z, forwardRef as I, useContext as Ye, useState as K, createElement as d, useRef as P, createContext as je, useCallback as U, Fragment as de, useMemo as qe } from "react";
4
- import { c as L } from "../../clsx-DB4S2d7J.js";
4
+ import { c as A } from "../../clsx-DB4S2d7J.js";
5
5
  import { b as B, _ as M, c as Xe } from "../../index-DpfSJps6.js";
6
6
  import Je from "react-dom";
7
- import { d as V, e as T, $ as _e, a as Qe, b as Ze, c as ye, i as et, f as we, h as q, g as Q } from "../../index-0Eg2mucA.js";
8
- import { $ as F, a as Z } from "../../index-DM5e-Whg.js";
7
+ import { d as V, e as T, $ as _e, a as Qe, b as Ze, c as we, i as et, f as ye, h as q, g as Q } from "../../index-DPFZO9xk.js";
8
+ import { $ as L, a as Z } from "../../index-DM5e-Whg.js";
9
9
  import { useComposedRefs as X } from "../../utils/composeRefs.js";
10
10
  import { VisuallyHidden as tt } from "../visually-hidden/visually-hidden.js";
11
11
  import { composeEventHandlers as ee } from "../../utils/composeEventHandlers.js";
@@ -29,12 +29,12 @@ const it = /* @__PURE__ */ je({
29
29
  branches: /* @__PURE__ */ new Set()
30
30
  }), at = /* @__PURE__ */ I((e, t) => {
31
31
  var n;
32
- const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: i, onFocusOutside: c, onInteractOutside: u, onDismiss: a, ...m } = e, s = Ye(it), [l, y] = K(null), v = (n = l == null ? void 0 : l.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, f] = K({}), p = B(
32
+ const { disableOutsidePointerEvents: r = !1, onEscapeKeyDown: o, onPointerDownOutside: i, onFocusOutside: c, onInteractOutside: u, onDismiss: a, ...m } = e, s = Ye(it), [l, w] = K(null), v = (n = l == null ? void 0 : l.ownerDocument) !== null && n !== void 0 ? n : globalThis == null ? void 0 : globalThis.document, [, f] = K({}), p = B(
33
33
  t,
34
- (E) => y(E)
35
- ), w = Array.from(s.layers), [x] = [
34
+ (E) => w(E)
35
+ ), y = Array.from(s.layers), [x] = [
36
36
  ...s.layersWithOutsidePointerEventsDisabled
37
- ].slice(-1), k = w.indexOf(x), g = l ? w.indexOf(l) : -1, b = s.layersWithOutsidePointerEventsDisabled.size > 0, $ = g >= k, C = st((E) => {
37
+ ].slice(-1), F = y.indexOf(x), g = l ? y.indexOf(l) : -1, b = s.layersWithOutsidePointerEventsDisabled.size > 0, $ = g >= F, C = st((E) => {
38
38
  const _ = E.target, S = [
39
39
  ...s.branches
40
40
  ].some(
@@ -69,7 +69,7 @@ const it = /* @__PURE__ */ je({
69
69
  ]), z(() => {
70
70
  const E = () => f({});
71
71
  return document.addEventListener(te, E), () => document.removeEventListener(te, E);
72
- }, []), /* @__PURE__ */ d(F.div, M({}, m, {
72
+ }, []), /* @__PURE__ */ d(L.div, M({}, m, {
73
73
  ref: p,
74
74
  style: {
75
75
  pointerEvents: b ? $ ? "auto" : "none" : void 0,
@@ -147,7 +147,7 @@ function Ee(e, t, n, { discrete: r }) {
147
147
  once: !0
148
148
  }), r ? Z(o, i) : o.dispatchEvent(i);
149
149
  }
150
- const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
150
+ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(L.span, M({}, e, {
151
151
  ref: t,
152
152
  style: {
153
153
  // See: https://github.com/twbs/bootstrap/blob/master/scss/mixins/_screen-reader.scss
@@ -166,11 +166,11 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
166
166
  }))), lt = ut, G = "NavigationMenu", [ae, he, dt] = _e(G), [ne, ft, vt] = _e(G), [se, fn] = Qe(G, [
167
167
  dt,
168
168
  vt
169
- ]), [gt, A] = se(G), [$t, mt] = se(G), pt = /* @__PURE__ */ I((e, t) => {
170
- const { __scopeNavigationMenu: n, value: r, onValueChange: o, defaultValue: i, delayDuration: c = 200, skipDelayDuration: u = 300, orientation: a = "horizontal", dir: m, ...s } = e, [l, y] = K(null), v = B(
169
+ ]), [gt, k] = se(G), [$t, mt] = se(G), pt = /* @__PURE__ */ I((e, t) => {
170
+ const { __scopeNavigationMenu: n, value: r, onValueChange: o, defaultValue: i, delayDuration: c = 200, skipDelayDuration: u = 300, orientation: a = "horizontal", dir: m, ...s } = e, [l, w] = K(null), v = B(
171
171
  t,
172
- (_) => y(_)
173
- ), f = Ze(m), p = P(0), w = P(0), x = P(0), [k, g] = K(!0), [b = "", $] = ye({
172
+ (_) => w(_)
173
+ ), f = Ze(m), p = P(0), y = P(0), x = P(0), [F, g] = K(!0), [b = "", $] = we({
174
174
  prop: r,
175
175
  onChange: (_) => {
176
176
  const S = _ !== "", W = u > 0;
@@ -181,19 +181,19 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
181
181
  },
182
182
  defaultProp: i
183
183
  }), C = U(() => {
184
- window.clearTimeout(w.current), w.current = window.setTimeout(
184
+ window.clearTimeout(y.current), y.current = window.setTimeout(
185
185
  () => $(""),
186
186
  150
187
187
  );
188
188
  }, [
189
189
  $
190
190
  ]), D = U((_) => {
191
- window.clearTimeout(w.current), $(_);
191
+ window.clearTimeout(y.current), $(_);
192
192
  }, [
193
193
  $
194
194
  ]), E = U((_) => {
195
- b === _ ? window.clearTimeout(w.current) : p.current = window.setTimeout(() => {
196
- window.clearTimeout(w.current), $(_);
195
+ b === _ ? window.clearTimeout(y.current) : p.current = window.setTimeout(() => {
196
+ window.clearTimeout(y.current), $(_);
197
197
  }, c);
198
198
  }, [
199
199
  b,
@@ -201,7 +201,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
201
201
  c
202
202
  ]);
203
203
  return z(() => () => {
204
- window.clearTimeout(p.current), window.clearTimeout(w.current), window.clearTimeout(x.current);
204
+ window.clearTimeout(p.current), window.clearTimeout(y.current), window.clearTimeout(x.current);
205
205
  }, []), /* @__PURE__ */ d(Ce, {
206
206
  scope: n,
207
207
  isRootMenu: !0,
@@ -210,12 +210,12 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
210
210
  orientation: a,
211
211
  rootNavigationMenu: l,
212
212
  onTriggerEnter: (_) => {
213
- window.clearTimeout(p.current), k ? E(_) : D(_);
213
+ window.clearTimeout(p.current), F ? E(_) : D(_);
214
214
  },
215
215
  onTriggerLeave: () => {
216
216
  window.clearTimeout(p.current), C();
217
217
  },
218
- onContentEnter: () => window.clearTimeout(w.current),
218
+ onContentEnter: () => window.clearTimeout(y.current),
219
219
  onContentLeave: C,
220
220
  onItemSelect: (_) => {
221
221
  $(
@@ -223,7 +223,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
223
223
  );
224
224
  },
225
225
  onItemDismiss: () => $("")
226
- }, /* @__PURE__ */ d(F.nav, M({
226
+ }, /* @__PURE__ */ d(L.nav, M({
227
227
  "aria-label": "Main",
228
228
  "data-orientation": a,
229
229
  dir: f
@@ -231,7 +231,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
231
231
  ref: v
232
232
  })));
233
233
  }), bt = "NavigationMenuSub", _t = /* @__PURE__ */ I((e, t) => {
234
- const { __scopeNavigationMenu: n, value: r, onValueChange: o, defaultValue: i, orientation: c = "horizontal", ...u } = e, a = A(bt, n), [m = "", s] = ye({
234
+ const { __scopeNavigationMenu: n, value: r, onValueChange: o, defaultValue: i, orientation: c = "horizontal", ...u } = e, a = k(bt, n), [m = "", s] = we({
235
235
  prop: r,
236
236
  onChange: o,
237
237
  defaultProp: i
@@ -246,29 +246,29 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
246
246
  onTriggerEnter: (l) => s(l),
247
247
  onItemSelect: (l) => s(l),
248
248
  onItemDismiss: () => s("")
249
- }, /* @__PURE__ */ d(F.div, M({
249
+ }, /* @__PURE__ */ d(L.div, M({
250
250
  "data-orientation": c
251
251
  }, u, {
252
252
  ref: t
253
253
  })));
254
254
  }), Ce = (e) => {
255
- const { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: o, orientation: i, children: c, value: u, onItemSelect: a, onItemDismiss: m, onTriggerEnter: s, onTriggerLeave: l, onContentEnter: y, onContentLeave: v } = e, [f, p] = K(null), [w, x] = K(/* @__PURE__ */ new Map()), [k, g] = K(null);
255
+ const { scope: t, isRootMenu: n, rootNavigationMenu: r, dir: o, orientation: i, children: c, value: u, onItemSelect: a, onItemDismiss: m, onTriggerEnter: s, onTriggerLeave: l, onContentEnter: w, onContentLeave: v } = e, [f, p] = K(null), [y, x] = K(/* @__PURE__ */ new Map()), [F, g] = K(null);
256
256
  return /* @__PURE__ */ d(gt, {
257
257
  scope: t,
258
258
  isRootMenu: n,
259
259
  rootNavigationMenu: r,
260
260
  value: u,
261
261
  previousValue: et(u),
262
- baseId: we(),
262
+ baseId: ye(),
263
263
  dir: o,
264
264
  orientation: i,
265
265
  viewport: f,
266
266
  onViewportChange: p,
267
- indicatorTrack: k,
267
+ indicatorTrack: F,
268
268
  onIndicatorTrackChange: g,
269
269
  onTriggerEnter: V(s),
270
270
  onTriggerLeave: V(l),
271
- onContentEnter: V(y),
271
+ onContentEnter: V(w),
272
272
  onContentLeave: V(v),
273
273
  onItemSelect: V(a),
274
274
  onItemDismiss: V(m),
@@ -282,15 +282,15 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
282
282
  scope: t
283
283
  }, /* @__PURE__ */ d($t, {
284
284
  scope: t,
285
- items: w
285
+ items: y
286
286
  }, c)));
287
- }, yt = "NavigationMenuList", wt = /* @__PURE__ */ I((e, t) => {
288
- const { __scopeNavigationMenu: n, ...r } = e, o = A(yt, n), i = /* @__PURE__ */ d(F.ul, M({
287
+ }, wt = "NavigationMenuList", yt = /* @__PURE__ */ I((e, t) => {
288
+ const { __scopeNavigationMenu: n, ...r } = e, o = k(wt, n), i = /* @__PURE__ */ d(L.ul, M({
289
289
  "data-orientation": o.orientation
290
290
  }, r, {
291
291
  ref: t
292
292
  }));
293
- return /* @__PURE__ */ d(F.div, {
293
+ return /* @__PURE__ */ d(L.div, {
294
294
  style: {
295
295
  position: "relative"
296
296
  },
@@ -301,8 +301,8 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
301
301
  asChild: !0
302
302
  }, i) : i));
303
303
  }), Et = "NavigationMenuItem", [ht, xe] = se(Et), Ct = /* @__PURE__ */ I((e, t) => {
304
- const { __scopeNavigationMenu: n, value: r, ...o } = e, i = we(), c = r || i || "LEGACY_REACT_AUTO_VALUE", u = P(null), a = P(null), m = P(null), s = P(() => {
305
- }), l = P(!1), y = U((f = "start") => {
304
+ const { __scopeNavigationMenu: n, value: r, ...o } = e, i = ye(), c = r || i || "LEGACY_REACT_AUTO_VALUE", u = P(null), a = P(null), m = P(null), s = P(() => {
305
+ }), l = P(!1), w = U((f = "start") => {
306
306
  if (u.current) {
307
307
  s.current();
308
308
  const p = oe(u.current);
@@ -311,7 +311,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
311
311
  }, []), v = U(() => {
312
312
  if (u.current) {
313
313
  const f = oe(u.current);
314
- f.length && (s.current = Ft(f));
314
+ f.length && (s.current = Lt(f));
315
315
  }
316
316
  }, []);
317
317
  return /* @__PURE__ */ d(ht, {
@@ -321,21 +321,21 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
321
321
  contentRef: u,
322
322
  focusProxyRef: m,
323
323
  wasEscapeCloseRef: l,
324
- onEntryKeyDown: y,
325
- onFocusProxyEnter: y,
324
+ onEntryKeyDown: w,
325
+ onFocusProxyEnter: w,
326
326
  onRootContentClose: v,
327
327
  onContentFocusOutside: v
328
- }, /* @__PURE__ */ d(F.li, M({}, o, {
328
+ }, /* @__PURE__ */ d(L.li, M({}, o, {
329
329
  ref: t
330
330
  })));
331
331
  }), ge = "NavigationMenuTrigger", xt = /* @__PURE__ */ I((e, t) => {
332
- const { __scopeNavigationMenu: n, disabled: r, ...o } = e, i = A(ge, e.__scopeNavigationMenu), c = xe(ge, e.__scopeNavigationMenu), u = P(null), a = B(u, c.triggerRef, t), m = Pe(i.baseId, c.value), s = De(i.baseId, c.value), l = P(!1), y = P(!1), v = c.value === i.value;
332
+ const { __scopeNavigationMenu: n, disabled: r, ...o } = e, i = k(ge, e.__scopeNavigationMenu), c = xe(ge, e.__scopeNavigationMenu), u = P(null), a = B(u, c.triggerRef, t), m = Pe(i.baseId, c.value), s = De(i.baseId, c.value), l = P(!1), w = P(!1), v = c.value === i.value;
333
333
  return /* @__PURE__ */ d(de, null, /* @__PURE__ */ d(ae.ItemSlot, {
334
334
  scope: n,
335
335
  value: c.value
336
336
  }, /* @__PURE__ */ d(Ie, {
337
337
  asChild: !0
338
- }, /* @__PURE__ */ d(F.button, M({
338
+ }, /* @__PURE__ */ d(L.button, M({
339
339
  id: m,
340
340
  disabled: r,
341
341
  "data-disabled": r ? "" : void 0,
@@ -345,31 +345,31 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
345
345
  }, o, {
346
346
  ref: a,
347
347
  onPointerEnter: T(e.onPointerEnter, () => {
348
- y.current = !1, c.wasEscapeCloseRef.current = !1;
348
+ w.current = !1, c.wasEscapeCloseRef.current = !1;
349
349
  }),
350
350
  onPointerMove: T(e.onPointerMove, j(() => {
351
- r || y.current || c.wasEscapeCloseRef.current || l.current || (i.onTriggerEnter(c.value), l.current = !0);
351
+ r || w.current || c.wasEscapeCloseRef.current || l.current || (i.onTriggerEnter(c.value), l.current = !0);
352
352
  })),
353
353
  onPointerLeave: T(e.onPointerLeave, j(() => {
354
354
  r || (i.onTriggerLeave(), l.current = !1);
355
355
  })),
356
356
  onClick: T(e.onClick, () => {
357
- i.onItemSelect(c.value), y.current = v;
357
+ i.onItemSelect(c.value), w.current = v;
358
358
  }),
359
359
  onKeyDown: T(e.onKeyDown, (f) => {
360
- const w = {
360
+ const y = {
361
361
  horizontal: "ArrowDown",
362
362
  vertical: i.dir === "rtl" ? "ArrowLeft" : "ArrowRight"
363
363
  }[i.orientation];
364
- v && f.key === w && (c.onEntryKeyDown(), f.preventDefault());
364
+ v && f.key === y && (c.onEntryKeyDown(), f.preventDefault());
365
365
  })
366
366
  })))), v && /* @__PURE__ */ d(de, null, /* @__PURE__ */ d(lt, {
367
367
  "aria-hidden": !0,
368
368
  tabIndex: 0,
369
369
  ref: c.focusProxyRef,
370
370
  onFocus: (f) => {
371
- const p = c.contentRef.current, w = f.relatedTarget, x = w === u.current, k = p == null ? void 0 : p.contains(w);
372
- (x || !k) && c.onFocusProxyEnter(x ? "start" : "end");
371
+ const p = c.contentRef.current, y = f.relatedTarget, x = y === u.current, F = p == null ? void 0 : p.contains(y);
372
+ (x || !F) && c.onFocusProxyEnter(x ? "start" : "end");
373
373
  }
374
374
  }), i.viewport && /* @__PURE__ */ d("span", {
375
375
  "aria-owns": s
@@ -378,7 +378,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
378
378
  const { __scopeNavigationMenu: n, active: r, onSelect: o, ...i } = e;
379
379
  return /* @__PURE__ */ d(Ie, {
380
380
  asChild: !0
381
- }, /* @__PURE__ */ d(F.a, M({
381
+ }, /* @__PURE__ */ d(L.a, M({
382
382
  "data-active": r ? "" : void 0,
383
383
  "aria-current": r ? "page" : void 0
384
384
  }, i, {
@@ -406,31 +406,31 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
406
406
  })
407
407
  })));
408
408
  }), Te = "NavigationMenuIndicator", Mt = /* @__PURE__ */ I((e, t) => {
409
- const { forceMount: n, ...r } = e, o = A(Te, e.__scopeNavigationMenu), i = !!o.value;
409
+ const { forceMount: n, ...r } = e, o = k(Te, e.__scopeNavigationMenu), i = !!o.value;
410
410
  return o.indicatorTrack ? /* @__PURE__ */ Je.createPortal(/* @__PURE__ */ d(q, {
411
411
  present: n || i
412
412
  }, /* @__PURE__ */ d(Nt, M({}, r, {
413
413
  ref: t
414
414
  }))), o.indicatorTrack) : null;
415
415
  }), Nt = /* @__PURE__ */ I((e, t) => {
416
- const { __scopeNavigationMenu: n, ...r } = e, o = A(Te, n), i = he(n), [c, u] = K(null), [a, m] = K(null), s = o.orientation === "horizontal", l = !!o.value;
416
+ const { __scopeNavigationMenu: n, ...r } = e, o = k(Te, n), i = he(n), [c, u] = K(null), [a, m] = K(null), s = o.orientation === "horizontal", l = !!o.value;
417
417
  z(() => {
418
418
  var v;
419
419
  const p = (v = i().find(
420
- (w) => w.value === o.value
420
+ (y) => y.value === o.value
421
421
  )) === null || v === void 0 ? void 0 : v.ref.current;
422
422
  p && u(p);
423
423
  }, [
424
424
  i,
425
425
  o.value
426
426
  ]);
427
- const y = () => {
427
+ const w = () => {
428
428
  c && m({
429
429
  size: s ? c.offsetWidth : c.offsetHeight,
430
430
  offset: s ? c.offsetLeft : c.offsetTop
431
431
  });
432
432
  };
433
- return re(c, y), re(o.indicatorTrack, y), a ? /* @__PURE__ */ d(F.div, M({
433
+ return re(c, w), re(o.indicatorTrack, w), a ? /* @__PURE__ */ d(L.div, M({
434
434
  "aria-hidden": !0,
435
435
  "data-state": l ? "visible" : "hidden",
436
436
  "data-orientation": o.orientation
@@ -451,7 +451,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
451
451
  }
452
452
  })) : null;
453
453
  }), H = "NavigationMenuContent", Rt = /* @__PURE__ */ I((e, t) => {
454
- const { forceMount: n, ...r } = e, o = A(H, e.__scopeNavigationMenu), i = xe(H, e.__scopeNavigationMenu), c = B(i.contentRef, t), u = i.value === o.value, a = {
454
+ const { forceMount: n, ...r } = e, o = k(H, e.__scopeNavigationMenu), i = xe(H, e.__scopeNavigationMenu), c = B(i.contentRef, t), u = i.value === o.value, a = {
455
455
  value: i.value,
456
456
  triggerRef: i.triggerRef,
457
457
  focusProxyRef: i.focusProxyRef,
@@ -479,7 +479,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
479
479
  }
480
480
  })));
481
481
  }), It = /* @__PURE__ */ I((e, t) => {
482
- const n = A(H, e.__scopeNavigationMenu), { onViewportContentChange: r, onViewportContentRemove: o } = n;
482
+ const n = k(H, e.__scopeNavigationMenu), { onViewportContentChange: r, onViewportContentRemove: o } = n;
483
483
  return Q(() => {
484
484
  r(e.value, {
485
485
  ref: t,
@@ -494,7 +494,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
494
494
  o
495
495
  ]), null;
496
496
  }), Y = "navigationMenu.rootContentDismiss", Me = /* @__PURE__ */ I((e, t) => {
497
- const { __scopeNavigationMenu: n, value: r, triggerRef: o, focusProxyRef: i, wasEscapeCloseRef: c, onRootContentClose: u, onContentFocusOutside: a, ...m } = e, s = A(H, n), l = P(null), y = B(l, t), v = Pe(s.baseId, r), f = De(s.baseId, r), p = he(n), w = P(null), { onItemDismiss: x } = s;
497
+ const { __scopeNavigationMenu: n, value: r, triggerRef: o, focusProxyRef: i, wasEscapeCloseRef: c, onRootContentClose: u, onContentFocusOutside: a, ...m } = e, s = k(H, n), l = P(null), w = B(l, t), v = Pe(s.baseId, r), f = De(s.baseId, r), p = he(n), y = P(null), { onItemDismiss: x } = s;
498
498
  z(() => {
499
499
  const g = l.current;
500
500
  if (s.isRootMenu && g) {
@@ -511,14 +511,14 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
511
511
  x,
512
512
  u
513
513
  ]);
514
- const k = qe(() => {
514
+ const F = qe(() => {
515
515
  const b = p().map(
516
516
  (S) => S.value
517
517
  );
518
518
  s.dir === "rtl" && b.reverse();
519
519
  const $ = b.indexOf(s.value), C = b.indexOf(s.previousValue), D = r === s.value, E = C === b.indexOf(r);
520
520
  if (!D && !E)
521
- return w.current;
521
+ return y.current;
522
522
  const _ = (() => {
523
523
  if ($ !== C) {
524
524
  if (D && C !== -1)
@@ -528,7 +528,7 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
528
528
  }
529
529
  return null;
530
530
  })();
531
- return w.current = _, _;
531
+ return y.current = _, _;
532
532
  }, [
533
533
  s.previousValue,
534
534
  s.value,
@@ -541,10 +541,10 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
541
541
  }, /* @__PURE__ */ d(at, M({
542
542
  id: f,
543
543
  "aria-labelledby": v,
544
- "data-motion": k,
544
+ "data-motion": F,
545
545
  "data-orientation": s.orientation
546
546
  }, m, {
547
- ref: y,
547
+ ref: w,
548
548
  onDismiss: () => {
549
549
  var g;
550
550
  const b = new Event(Y, {
@@ -586,20 +586,20 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
586
586
  })
587
587
  })));
588
588
  }), Ne = "NavigationMenuViewport", Pt = /* @__PURE__ */ I((e, t) => {
589
- const { forceMount: n, ...r } = e, i = !!A(Ne, e.__scopeNavigationMenu).value;
589
+ const { forceMount: n, ...r } = e, i = !!k(Ne, e.__scopeNavigationMenu).value;
590
590
  return /* @__PURE__ */ d(q, {
591
591
  present: n || i
592
592
  }, /* @__PURE__ */ d(Dt, M({}, r, {
593
593
  ref: t
594
594
  })));
595
595
  }), Dt = /* @__PURE__ */ I((e, t) => {
596
- const { __scopeNavigationMenu: n, children: r, ...o } = e, i = A(Ne, n), c = B(t, i.onViewportChange), u = mt(H, e.__scopeNavigationMenu), [a, m] = K(null), [s, l] = K(null), y = a ? (a == null ? void 0 : a.width) + "px" : void 0, v = a ? (a == null ? void 0 : a.height) + "px" : void 0, f = !!i.value, p = f ? i.value : i.previousValue;
596
+ const { __scopeNavigationMenu: n, children: r, ...o } = e, i = k(Ne, n), c = B(t, i.onViewportChange), u = mt(H, e.__scopeNavigationMenu), [a, m] = K(null), [s, l] = K(null), w = a ? (a == null ? void 0 : a.width) + "px" : void 0, v = a ? (a == null ? void 0 : a.height) + "px" : void 0, f = !!i.value, p = f ? i.value : i.previousValue;
597
597
  return re(s, () => {
598
598
  s && m({
599
599
  width: s.offsetWidth,
600
600
  height: s.offsetHeight
601
601
  });
602
- }), /* @__PURE__ */ d(F.div, M({
602
+ }), /* @__PURE__ */ d(L.div, M({
603
603
  "data-state": ue(f),
604
604
  "data-orientation": i.orientation
605
605
  }, o, {
@@ -607,30 +607,30 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
607
607
  style: {
608
608
  // Prevent interaction when animating out
609
609
  pointerEvents: !f && i.isRootMenu ? "none" : void 0,
610
- "--radix-navigation-menu-viewport-width": y,
610
+ "--radix-navigation-menu-viewport-width": w,
611
611
  "--radix-navigation-menu-viewport-height": v,
612
612
  ...o.style
613
613
  },
614
614
  onPointerEnter: T(e.onPointerEnter, i.onContentEnter),
615
615
  onPointerLeave: T(e.onPointerLeave, j(i.onContentLeave))
616
- }), Array.from(u.items).map(([x, { ref: k, forceMount: g, ...b }]) => {
616
+ }), Array.from(u.items).map(([x, { ref: F, forceMount: g, ...b }]) => {
617
617
  const $ = p === x;
618
618
  return /* @__PURE__ */ d(q, {
619
619
  key: x,
620
620
  present: g || $
621
621
  }, /* @__PURE__ */ d(Me, M({}, b, {
622
- ref: Xe(k, (C) => {
622
+ ref: Xe(F, (C) => {
623
623
  $ && C && l(C);
624
624
  })
625
625
  })));
626
626
  }));
627
627
  }), Ot = "FocusGroup", Re = /* @__PURE__ */ I((e, t) => {
628
- const { __scopeNavigationMenu: n, ...r } = e, o = A(Ot, n);
628
+ const { __scopeNavigationMenu: n, ...r } = e, o = k(Ot, n);
629
629
  return /* @__PURE__ */ d(ne.Provider, {
630
630
  scope: n
631
631
  }, /* @__PURE__ */ d(ne.Slot, {
632
632
  scope: n
633
- }, /* @__PURE__ */ d(F.div, M({
633
+ }, /* @__PURE__ */ d(L.div, M({
634
634
  dir: o.dir
635
635
  }, r, {
636
636
  ref: t
@@ -640,11 +640,11 @@ const ut = /* @__PURE__ */ I((e, t) => /* @__PURE__ */ d(F.span, M({}, e, {
640
640
  "ArrowLeft",
641
641
  "ArrowUp",
642
642
  "ArrowDown"
643
- ], kt = "FocusGroupItem", Ie = /* @__PURE__ */ I((e, t) => {
644
- const { __scopeNavigationMenu: n, ...r } = e, o = ft(n), i = A(kt, n);
643
+ ], Ft = "FocusGroupItem", Ie = /* @__PURE__ */ I((e, t) => {
644
+ const { __scopeNavigationMenu: n, ...r } = e, o = ft(n), i = k(Ft, n);
645
645
  return /* @__PURE__ */ d(ne.ItemSlot, {
646
646
  scope: n
647
- }, /* @__PURE__ */ d(F.button, M({}, r, {
647
+ }, /* @__PURE__ */ d(L.button, M({}, r, {
648
648
  ref: t,
649
649
  onKeyDown: T(e.onKeyDown, (c) => {
650
650
  if ([
@@ -685,7 +685,7 @@ function ce(e) {
685
685
  const t = document.activeElement;
686
686
  return e.some((n) => n === t ? !0 : (n.focus(), document.activeElement !== t));
687
687
  }
688
- function Ft(e) {
688
+ function Lt(e) {
689
689
  return e.forEach((t) => {
690
690
  t.dataset.tabindex = t.getAttribute("tabindex") || "", t.setAttribute("tabindex", "-1");
691
691
  }), () => {
@@ -724,25 +724,25 @@ function De(e, t) {
724
724
  function j(e) {
725
725
  return (t) => t.pointerType === "mouse" ? e(t) : void 0;
726
726
  }
727
- const Lt = pt, At = _t, Kt = wt, St = Ct, Vt = xt, zt = Tt, Wt = Mt, Ut = Rt, Bt = Pt, Ht = "_enterFromLeft_8k0ri_1", Gt = "_enterFromRight_8k0ri_1", Yt = "_exitToLeft_8k0ri_1", jt = "_exitToRight_8k0ri_1", qt = "_scaleIn_8k0ri_1", Xt = "_scaleOut_8k0ri_1", N = {
728
- "teddy-navigation-menu": "_teddy-navigation-menu_8k0ri_1",
729
- "teddy-navigation-menu__viewport": "_teddy-navigation-menu__viewport_8k0ri_33",
730
- "teddy-navigation-menu__list": "_teddy-navigation-menu__list_8k0ri_36",
731
- "teddy-navigation-menu__top-menu-list": "_teddy-navigation-menu__top-menu-list_8k0ri_55",
732
- "teddy-navigation-menu__top-menu-trigger": "_teddy-navigation-menu__top-menu-trigger_8k0ri_75",
733
- "teddy-navigation-menu__top-menu-trigger--small": "_teddy-navigation-menu__top-menu-trigger--small_8k0ri_93",
734
- "teddy-navigation-menu__top-menu-trigger--button": "_teddy-navigation-menu__top-menu-trigger--button_8k0ri_98",
735
- "teddy-navigation-menu__content": "_teddy-navigation-menu__content_8k0ri_160",
727
+ const At = pt, kt = _t, Kt = yt, St = Ct, Vt = xt, zt = Tt, Wt = Mt, Ut = Rt, Bt = Pt, Ht = "_enterFromLeft_139wf_1", Gt = "_enterFromRight_139wf_1", Yt = "_exitToLeft_139wf_1", jt = "_exitToRight_139wf_1", qt = "_scaleIn_139wf_1", Xt = "_scaleOut_139wf_1", N = {
728
+ "teddy-navigation-menu": "_teddy-navigation-menu_139wf_1",
729
+ "teddy-navigation-menu__viewport": "_teddy-navigation-menu__viewport_139wf_33",
730
+ "teddy-navigation-menu__list": "_teddy-navigation-menu__list_139wf_36",
731
+ "teddy-navigation-menu__top-menu-list": "_teddy-navigation-menu__top-menu-list_139wf_55",
732
+ "teddy-navigation-menu__top-menu-trigger": "_teddy-navigation-menu__top-menu-trigger_139wf_75",
733
+ "teddy-navigation-menu__top-menu-trigger--small": "_teddy-navigation-menu__top-menu-trigger--small_139wf_93",
734
+ "teddy-navigation-menu__top-menu-trigger--button": "_teddy-navigation-menu__top-menu-trigger--button_139wf_98",
735
+ "teddy-navigation-menu__content": "_teddy-navigation-menu__content_139wf_163",
736
736
  enterFromLeft: Ht,
737
737
  enterFromRight: Gt,
738
738
  exitToLeft: Yt,
739
739
  exitToRight: jt,
740
- "teddy-navigation-menu__trigger": "_teddy-navigation-menu__trigger_8k0ri_205",
741
- "teddy-navigation-menu__trigger--small": "_teddy-navigation-menu__trigger--small_8k0ri_223",
742
- "teddy-navigation-menu__trigger--button": "_teddy-navigation-menu__trigger--button_8k0ri_228",
743
- "teddy-navigation-menu__link": "_teddy-navigation-menu__link_8k0ri_290",
744
- "teddy-navigation-menu__link--small": "_teddy-navigation-menu__link--small_8k0ri_308",
745
- "teddy-navigation-menu__link--button": "_teddy-navigation-menu__link--button_8k0ri_313",
740
+ "teddy-navigation-menu__trigger": "_teddy-navigation-menu__trigger_139wf_208",
741
+ "teddy-navigation-menu__trigger--small": "_teddy-navigation-menu__trigger--small_139wf_226",
742
+ "teddy-navigation-menu__trigger--button": "_teddy-navigation-menu__trigger--button_139wf_231",
743
+ "teddy-navigation-menu__link": "_teddy-navigation-menu__link_139wf_296",
744
+ "teddy-navigation-menu__link--small": "_teddy-navigation-menu__link--small_139wf_314",
745
+ "teddy-navigation-menu__link--button": "_teddy-navigation-menu__link--button_139wf_319",
746
746
  scaleIn: qt,
747
747
  scaleOut: Xt
748
748
  }, R = "teddy-navigation-menu", J = h.createContext({
@@ -770,12 +770,12 @@ const Lt = pt, At = _t, Kt = wt, St = Ct, Vt = xt, zt = Tt, Wt = Mt, Ut = Rt, Bt
770
770
  const p = ie(c.current);
771
771
  p.length && le(f === "start" ? p : p.reverse());
772
772
  }
773
- }, []), y = h.useCallback(() => {
773
+ }, []), w = h.useCallback(() => {
774
774
  if (c.current) {
775
775
  const f = ie(c.current);
776
776
  f.length && (u.current = en(f));
777
777
  }
778
- }, []), v = L([N[`${R}`]], e);
778
+ }, []), v = A([N[`${R}`]], e);
779
779
  return /* @__PURE__ */ O(
780
780
  J.Provider,
781
781
  {
@@ -788,31 +788,31 @@ const Lt = pt, At = _t, Kt = wt, St = Ct, Vt = xt, zt = Tt, Wt = Mt, Ut = Rt, Bt
788
788
  orientation: n.orientation || "horizontal",
789
789
  onEntryKeyDown: l,
790
790
  onFocusProxyEnter: l,
791
- onContentFocusOutside: y,
791
+ onContentFocusOutside: w,
792
792
  selectedTopMenu: o,
793
793
  setSelectedTopMenu: i
794
794
  },
795
- children: /* @__PURE__ */ O(Lt, { ...n, ref: r, className: v })
795
+ children: /* @__PURE__ */ O(At, { ...n, ref: r, className: v })
796
796
  }
797
797
  );
798
798
  }
799
799
  );
800
800
  Oe.displayName = "NavigationMenu";
801
- const ke = h.forwardRef(
801
+ const Fe = h.forwardRef(
802
802
  ({ className: e, ...t }, n) => {
803
- const r = L([N[`${R}__top-menu-list`]], e), o = h.useContext(J), i = X(o.topMenuRef, n);
803
+ const r = A([N[`${R}__top-menu-list`]], e), o = h.useContext(J), i = X(o.topMenuRef, n);
804
804
  return /* @__PURE__ */ O("ul", { ...t, ref: i, className: r });
805
805
  }
806
806
  );
807
- ke.displayName = "NavigationMenu.TopMenuList";
807
+ Fe.displayName = "NavigationMenu.TopMenuList";
808
808
  const Jt = h.forwardRef(
809
809
  ({ className: e, ...t }, n) => {
810
- const r = L([N[`${R}__top-menu-item`]], e);
810
+ const r = A([N[`${R}__top-menu-item`]], e);
811
811
  return /* @__PURE__ */ O("li", { ...t, ref: n, className: r });
812
812
  }
813
813
  ), Qt = h.forwardRef(
814
814
  ({ className: e, ...t }, n) => {
815
- const r = L(
815
+ const r = A(
816
816
  [N[`${R}__top-menu-trigger`], N[`${R}__top-menu-trigger--small`]],
817
817
  e
818
818
  ), o = h.useContext(J), i = h.useRef(null), c = X(i, n), u = o.selectedTopMenu === t.value;
@@ -831,12 +831,12 @@ const Jt = h.forwardRef(
831
831
  o.setSelectedTopMenu(t.value);
832
832
  }),
833
833
  onKeyDown: ee(t.onKeyDown, (a) => {
834
- var y;
834
+ var w;
835
835
  const s = { horizontal: "ArrowDown", vertical: o.dir === "rtl" ? "ArrowLeft" : "ArrowRight" }[o.orientation];
836
836
  if (u && a.key === s)
837
837
  return o.onEntryKeyDown(), a.preventDefault();
838
838
  if (["Home", "End", ...be].includes(a.key)) {
839
- const v = (y = o.topMenuRef.current) == null ? void 0 : y.querySelectorAll(`[${pe}]`);
839
+ const v = (w = o.topMenuRef.current) == null ? void 0 : w.querySelectorAll(`[${pe}]`);
840
840
  if (!v)
841
841
  return;
842
842
  let f = Array.from(v == null ? void 0 : v.values());
@@ -855,16 +855,16 @@ const Jt = h.forwardRef(
855
855
  tabIndex: 0,
856
856
  ref: o.focusProxyRef,
857
857
  onFocus: (a) => {
858
- const m = o.contentRef.current, s = a.relatedTarget, l = s === i.current, y = m == null ? void 0 : m.contains(s);
859
- (l || !y) && o.onFocusProxyEnter(l ? "start" : "end");
858
+ const m = o.contentRef.current, s = a.relatedTarget, l = s === i.current, w = m == null ? void 0 : m.contains(s);
859
+ (l || !w) && o.onFocusProxyEnter(l ? "start" : "end");
860
860
  }
861
861
  }
862
862
  )
863
863
  ] });
864
864
  }
865
- ), Fe = h.forwardRef(
865
+ ), Le = h.forwardRef(
866
866
  ({ className: e, variant: t, value: n, ...r }, o) => {
867
- const i = L([N[`${R}__list`]], [N[`${R}__list--${t}`]], e), c = h.useContext(J), u = X(c.contentRef, o), a = c.selectedTopMenu !== void 0;
867
+ const i = A([N[`${R}__list`]], [N[`${R}__list--${t}`]], e), c = h.useContext(J), u = X(c.contentRef, o), a = c.selectedTopMenu !== void 0;
868
868
  return c.selectedTopMenu === n ? /* @__PURE__ */ O(
869
869
  Kt,
870
870
  {
@@ -877,8 +877,8 @@ const Jt = h.forwardRef(
877
877
  return;
878
878
  const l = s.altKey || s.ctrlKey || s.metaKey;
879
879
  if (s.key === "Tab" && !l) {
880
- const f = ie(s.currentTarget), p = document.activeElement, w = f.findIndex((g) => g === p), k = s.shiftKey ? f.slice(0, w).reverse() : f.slice(w + 1, f.length);
881
- le(k) ? s.preventDefault() : ((v = c.focusProxyRef.current) == null || v.focus(), c.onContentFocusOutside());
880
+ const f = ie(s.currentTarget), p = document.activeElement, y = f.findIndex((g) => g === p), F = s.shiftKey ? f.slice(0, y).reverse() : f.slice(y + 1, f.length);
881
+ le(F) ? s.preventDefault() : ((v = c.focusProxyRef.current) == null || v.focus(), c.onContentFocusOutside());
882
882
  }
883
883
  }),
884
884
  className: i
@@ -886,17 +886,17 @@ const Jt = h.forwardRef(
886
886
  ) : null;
887
887
  }
888
888
  );
889
- Fe.displayName = "NavigationMenu.List";
890
- const Le = h.forwardRef(
889
+ Le.displayName = "NavigationMenu.List";
890
+ const Ae = h.forwardRef(
891
891
  ({ className: e, ...t }, n) => {
892
- const r = L([N[`${R}__item`]], e);
892
+ const r = A([N[`${R}__item`]], e);
893
893
  return /* @__PURE__ */ O(St, { ...t, ref: n, className: r });
894
894
  }
895
895
  );
896
- Le.displayName = "NavigationMenu.Item";
897
- const Ae = h.forwardRef(
896
+ Ae.displayName = "NavigationMenu.Item";
897
+ const ke = h.forwardRef(
898
898
  ({ className: e, active: t, variant: n = "default", ...r }, o) => {
899
- const i = L(
899
+ const i = A(
900
900
  [N[`${R}__trigger`]],
901
901
  [N[`${R}__trigger--${n}`]],
902
902
  e
@@ -916,10 +916,10 @@ const Ae = h.forwardRef(
916
916
  );
917
917
  }
918
918
  );
919
- Ae.displayName = "NavigationMenu.Trigger";
919
+ ke.displayName = "NavigationMenu.Trigger";
920
920
  const Zt = h.forwardRef(
921
921
  ({ className: e, variant: t = "default", ...n }, r) => {
922
- const o = L(
922
+ const o = A(
923
923
  [N[`${R}__content`]],
924
924
  [N[`${R}__content--${t}`]],
925
925
  e
@@ -937,7 +937,7 @@ const Zt = h.forwardRef(
937
937
  }
938
938
  ), Ke = h.forwardRef(
939
939
  ({ className: e, variant: t = "default", ...n }, r) => {
940
- const o = L([N[`${R}__link`]], [N[`${R}__link--${t}`]], e);
940
+ const o = A([N[`${R}__link`]], [N[`${R}__link--${t}`]], e);
941
941
  return /* @__PURE__ */ O(
942
942
  zt,
943
943
  {
@@ -952,22 +952,22 @@ const Zt = h.forwardRef(
952
952
  Ke.displayName = "NavigationMenu.Link";
953
953
  const Se = h.forwardRef(
954
954
  ({ className: e, ...t }, n) => {
955
- const r = L([N[`${R}__indicator`]], e);
955
+ const r = A([N[`${R}__indicator`]], e);
956
956
  return /* @__PURE__ */ O(Wt, { ...t, ref: n, className: r });
957
957
  }
958
958
  );
959
959
  Se.displayName = "NavigationMenu.Indicator";
960
960
  const Ve = h.forwardRef(
961
961
  ({ className: e, ...t }, n) => {
962
- const r = L([N[`${R}__viewport`]], e);
962
+ const r = A([N[`${R}__viewport`]], e);
963
963
  return /* @__PURE__ */ O(Bt, { ...t, ref: n, className: r });
964
964
  }
965
965
  );
966
966
  Ve.displayName = "NavigationMenu.Viewport";
967
967
  const ze = h.forwardRef(
968
968
  ({ className: e, ...t }, n) => {
969
- const r = L([N[`${R}__sub`]], e);
970
- return /* @__PURE__ */ O(At, { ...t, ref: n, className: r });
969
+ const r = A([N[`${R}__sub`]], e);
970
+ return /* @__PURE__ */ O(kt, { ...t, ref: n, className: r });
971
971
  }
972
972
  );
973
973
  ze.displayName = "NavigationMenu.Sub";
@@ -1017,15 +1017,15 @@ function Ue(e) {
1017
1017
  return `teddy-navigation-menu-${e.baseId}-${e.value}-content`;
1018
1018
  }
1019
1019
  const vn = Object.assign(Oe, {
1020
- List: Fe,
1021
- Item: Le,
1022
- Trigger: Ae,
1020
+ List: Le,
1021
+ Item: Ae,
1022
+ Trigger: ke,
1023
1023
  Content: Zt,
1024
1024
  Link: Ke,
1025
1025
  Indicator: Se,
1026
1026
  Viewport: Ve,
1027
1027
  Sub: ze,
1028
- TopMenuList: ke,
1028
+ TopMenuList: Fe,
1029
1029
  TopMenuItem: Jt,
1030
1030
  TopMenuTrigger: Qt
1031
1031
  });