@humain/ui 2.4.2 → 2.4.3

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 (153) hide show
  1. package/dist/index194.js +6 -8
  2. package/dist/index194.js.map +1 -1
  3. package/dist/index24.js +1 -1
  4. package/dist/index24.js.map +1 -1
  5. package/dist/styles.css +1 -1
  6. package/dist/wc/AIClarificationCard.js +1 -1
  7. package/dist/wc/AIContainer.js +1 -1
  8. package/dist/wc/AIForm.js +17 -17
  9. package/dist/wc/AIInput.js +1 -1
  10. package/dist/wc/AIMermaidDiagram.js +1 -1
  11. package/dist/wc/AIMessage.js +1 -1
  12. package/dist/wc/AIScrollButton.js +4 -4
  13. package/dist/wc/AIToolCall.js +5 -5
  14. package/dist/wc/AppSidebar.constants.js +1 -1
  15. package/dist/wc/AvatarFallback.js +5 -5
  16. package/dist/wc/CheckboxIndicator.js +7 -7
  17. package/dist/wc/CollapsiblePanel.js +1 -1
  18. package/dist/wc/DialogTrigger.js +9 -9
  19. package/dist/wc/DropdownMenu.js +16 -16
  20. package/dist/wc/MenuSubmenuTrigger.js +31 -31
  21. package/dist/wc/PopoverDescription.js +30 -30
  22. package/dist/wc/PrehydrationScript.js +1 -1
  23. package/dist/wc/Select.js +18 -18
  24. package/dist/wc/SelectSeparator.js +72 -72
  25. package/dist/wc/SelectSeparator.js.map +1 -1
  26. package/dist/wc/Tabs.js +18 -18
  27. package/dist/wc/TooltipProvider.js +9 -9
  28. package/dist/wc/chart.js +1 -1
  29. package/dist/wc/chunk-75Z2AOVW.js +39 -39
  30. package/dist/wc/chunk-OSK3NFVY.js +32 -32
  31. package/dist/wc/command.js +4 -4
  32. package/dist/wc/form-field.js +1 -1
  33. package/dist/wc/form-fieldset.js +5 -5
  34. package/dist/wc/hf-accordion-card.js +4 -4
  35. package/dist/wc/hf-accordion.js +6 -6
  36. package/dist/wc/hf-ai-feedback-bar.js +5 -5
  37. package/dist/wc/hf-ai-reasoning-block.js +6 -6
  38. package/dist/wc/hf-ai-system-message.js +1 -1
  39. package/dist/wc/hf-ai-tool-run.js +1 -1
  40. package/dist/wc/hf-area-chart.js +15 -15
  41. package/dist/wc/hf-autocomplete.js +36 -36
  42. package/dist/wc/hf-bar-chart.js +4 -4
  43. package/dist/wc/hf-calendar.js +4 -4
  44. package/dist/wc/hf-carousel.js +1 -1
  45. package/dist/wc/hf-context-menu.js +8 -8
  46. package/dist/wc/hf-donut-chart.js +10 -10
  47. package/dist/wc/hf-empty-state.js +87 -88
  48. package/dist/wc/hf-empty-state.js.map +1 -1
  49. package/dist/wc/hf-history.js +4 -4
  50. package/dist/wc/hf-horizontal-bar-chart.js +7 -7
  51. package/dist/wc/hf-hover-card.js +6 -6
  52. package/dist/wc/hf-line-chart.js +4 -4
  53. package/dist/wc/hf-metric-card.js +5 -5
  54. package/dist/wc/hf-metric-item.js +8 -8
  55. package/dist/wc/hf-metric-item.js.map +1 -1
  56. package/dist/wc/hf-nav-account-menu.js +4 -4
  57. package/dist/wc/hf-notification-panel.js +2 -2
  58. package/dist/wc/hf-pie-chart.js +17 -17
  59. package/dist/wc/hf-radar-chart.js +16 -16
  60. package/dist/wc/hf-section-header.js +6 -6
  61. package/dist/wc/hf-sheet.js +1 -1
  62. package/dist/wc/hf-sparkline-chart.js +5 -5
  63. package/dist/wc/hf-steps.js +6 -6
  64. package/dist/wc/journeyDiagram-3NMN7TZE.js +10 -10
  65. package/dist/wc/pieDiagram-E7YTZNPT.js +16 -16
  66. package/dist/wc/popupStateMapping.js +53 -53
  67. package/dist/wc/popupStateMapping.js.map +1 -1
  68. package/dist/wc/selection-group.js +1 -1
  69. package/dist/wc/selection-group.js.map +1 -1
  70. package/dist/wc/{useOpenChangeComplete.js → stateAttributesMapping.js} +21 -21
  71. package/dist/wc/stateAttributesMapping.js.map +1 -0
  72. package/dist/wc/stateDiagram-D77RDMKH.js +3 -3
  73. package/dist/wc/timeline-definition-24CTP7MA.js +19 -19
  74. package/dist/wc/useCollapsiblePanel.js +3 -3
  75. package/dist/wc/usePopupHandleStore.js +4 -4
  76. package/dist/wc/useScrollLock.js +1 -1
  77. package/dist/wc/vendor/recharts.js +525 -524
  78. package/dist/wc/vendor/recharts.js.map +1 -1
  79. package/dist/wc/xychartDiagram-S5SC5T6Z.js +6 -6
  80. package/dist/wc-react/AIClarificationCard.js +1 -1
  81. package/dist/wc-react/AIContainer.js +1 -1
  82. package/dist/wc-react/AIForm.js +17 -17
  83. package/dist/wc-react/AIInput.js +1 -1
  84. package/dist/wc-react/AIMermaidDiagram.js +1 -1
  85. package/dist/wc-react/AIMessage.js +1 -1
  86. package/dist/wc-react/AIScrollButton.js +4 -4
  87. package/dist/wc-react/AIToolCall.js +5 -5
  88. package/dist/wc-react/AppSidebar.constants.js +1 -1
  89. package/dist/wc-react/AvatarFallback.js +5 -5
  90. package/dist/wc-react/CheckboxIndicator.js +7 -7
  91. package/dist/wc-react/CollapsiblePanel.js +1 -1
  92. package/dist/wc-react/DialogTrigger.js +9 -9
  93. package/dist/wc-react/DropdownMenu.js +16 -16
  94. package/dist/wc-react/FloatingPortalLite.js +3 -3
  95. package/dist/wc-react/MenuSubmenuTrigger.js +31 -31
  96. package/dist/wc-react/PopoverDescription.js +31 -31
  97. package/dist/wc-react/PrehydrationScript.js +1 -1
  98. package/dist/wc-react/Select.js +18 -18
  99. package/dist/wc-react/SelectSeparator.js +71 -70
  100. package/dist/wc-react/SelectSeparator.js.map +1 -1
  101. package/dist/wc-react/Tabs.js +18 -18
  102. package/dist/wc-react/TooltipProvider.js +9 -9
  103. package/dist/wc-react/chart.js +1 -1
  104. package/dist/wc-react/chunk-75Z2AOVW.js +39 -39
  105. package/dist/wc-react/chunk-OSK3NFVY.js +32 -32
  106. package/dist/wc-react/command.js +4 -4
  107. package/dist/wc-react/form-field.js +1 -1
  108. package/dist/wc-react/form-fieldset.js +77 -77
  109. package/dist/wc-react/hf-accordion-card.js +4 -4
  110. package/dist/wc-react/hf-accordion.js +6 -6
  111. package/dist/wc-react/hf-ai-feedback-bar.js +5 -5
  112. package/dist/wc-react/hf-ai-reasoning-block.js +6 -6
  113. package/dist/wc-react/hf-ai-system-message.js +1 -1
  114. package/dist/wc-react/hf-ai-tool-run.js +1 -1
  115. package/dist/wc-react/hf-autocomplete.js +37 -37
  116. package/dist/wc-react/hf-calendar.js +4 -4
  117. package/dist/wc-react/hf-carousel.js +1 -1
  118. package/dist/wc-react/hf-context-menu.js +8 -8
  119. package/dist/wc-react/hf-data-table.js +1 -1
  120. package/dist/wc-react/hf-empty-state.js +87 -88
  121. package/dist/wc-react/hf-empty-state.js.map +1 -1
  122. package/dist/wc-react/hf-history.js +4 -4
  123. package/dist/wc-react/hf-hover-card.js +6 -6
  124. package/dist/wc-react/hf-metric-item.js +6 -6
  125. package/dist/wc-react/hf-metric-item.js.map +1 -1
  126. package/dist/wc-react/hf-nav-account-menu.js +4 -4
  127. package/dist/wc-react/hf-notification-panel.js +2 -2
  128. package/dist/wc-react/hf-section-header.js +6 -6
  129. package/dist/wc-react/hf-sheet.js +1 -1
  130. package/dist/wc-react/hf-steps.js +5 -5
  131. package/dist/wc-react/journeyDiagram-3NMN7TZE.js +10 -10
  132. package/dist/wc-react/pieDiagram-E7YTZNPT.js +16 -16
  133. package/dist/wc-react/popupStateMapping.js +54 -54
  134. package/dist/wc-react/popupStateMapping.js.map +1 -1
  135. package/dist/wc-react/selection-group.js +1 -1
  136. package/dist/wc-react/selection-group.js.map +1 -1
  137. package/dist/wc-react/{useOpenChangeComplete.js → stateAttributesMapping.js} +19 -19
  138. package/dist/wc-react/stateAttributesMapping.js.map +1 -0
  139. package/dist/wc-react/stateDiagram-D77RDMKH.js +3 -3
  140. package/dist/wc-react/timeline-definition-24CTP7MA.js +19 -19
  141. package/dist/wc-react/useCollapsiblePanel.js +3 -3
  142. package/dist/wc-react/usePopupHandleStore.js +3 -3
  143. package/dist/wc-react/useScrollLock.js +1 -1
  144. package/dist/wc-react/vendor/recharts.js +525 -524
  145. package/dist/wc-react/vendor/recharts.js.map +1 -1
  146. package/dist/wc-react/xychartDiagram-S5SC5T6Z.js +6 -6
  147. package/package.json +1 -1
  148. package/skills/humain-ui/SKILL.md +1 -1
  149. package/skills/humain-ui-wc/SKILL.md +1 -1
  150. package/skills/humain-ui-wc.skill +0 -0
  151. package/skills/humain-ui.skill +0 -0
  152. package/dist/wc/useOpenChangeComplete.js.map +0 -1
  153. package/dist/wc-react/useOpenChangeComplete.js.map +0 -1
@@ -1,4 +1,4 @@
1
- import { Et as Pt, Q as vt, Y as Et } from "./vendor/recharts.js";
1
+ import { Q as Pt, Y as vt, wt as Et } from "./vendor/recharts.js";
2
2
  import { n as a } from "./chunk-Y2CYZVJY.js";
3
3
  import { t as zt } from "./chunk-X3CZISLH.js";
4
4
  import { D as oi, H as hi, K as ri, U as li, a as ci, b as pt, c as gi, f as ui, v as xi, w as Bt, y as di, z as fi } from "./chunk-DU6HZSFF.js";
@@ -1542,13 +1542,13 @@ var mt = class {
1542
1542
  a(this, "BandAxis");
1543
1543
  }
1544
1544
  constructor(t, i, e, s, n) {
1545
- super(t, s, n, i), this.categories = e, this.scale = vt().domain(this.categories).range(this.getRange());
1545
+ super(t, s, n, i), this.categories = e, this.scale = Pt().domain(this.categories).range(this.getRange());
1546
1546
  }
1547
1547
  setRange(t) {
1548
1548
  super.setRange(t);
1549
1549
  }
1550
1550
  recalculateScale() {
1551
- this.scale = vt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), zt.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1551
+ this.scale = Pt().domain(this.categories).range(this.getRange()).paddingInner(1).paddingOuter(0).align(0.5), zt.trace("BandAxis axis final categories, range: ", this.categories, this.getRange());
1552
1552
  }
1553
1553
  getTickValues() {
1554
1554
  return this.categories;
@@ -1561,14 +1561,14 @@ var mt = class {
1561
1561
  a(this, "LinearAxis");
1562
1562
  }
1563
1563
  constructor(t, i, e, s, n) {
1564
- super(t, s, n, i), this.domain = e, this.scale = Et().domain(this.domain).range(this.getRange());
1564
+ super(t, s, n, i), this.domain = e, this.scale = vt().domain(this.domain).range(this.getRange());
1565
1565
  }
1566
1566
  getTickValues() {
1567
1567
  return this.scale.ticks();
1568
1568
  }
1569
1569
  recalculateScale() {
1570
1570
  const t = [...this.domain];
1571
- this.axisPosition === "left" && t.reverse(), this.scale = Et().domain(t).range(this.getRange());
1571
+ this.axisPosition === "left" && t.reverse(), this.scale = vt().domain(t).range(this.getRange());
1572
1572
  }
1573
1573
  getScaleValue(t) {
1574
1574
  return this.scale(t);
@@ -1722,7 +1722,7 @@ var ki = class {
1722
1722
  getDrawableElement() {
1723
1723
  const t = this.plotData.data.map((s) => [this.xAxis.getScaleValue(s[0]), this.yAxis.getScaleValue(s[1])]);
1724
1724
  let i;
1725
- if (this.orientation === "horizontal" ? i = Pt().y((s) => s[0]).x((s) => s[1])(t) : i = Pt().x((s) => s[0]).y((s) => s[1])(t), !i) return [];
1725
+ if (this.orientation === "horizontal" ? i = Et().y((s) => s[0]).x((s) => s[1])(t) : i = Et().x((s) => s[0]).y((s) => s[1])(t), !i) return [];
1726
1726
  const e = [{
1727
1727
  groupTexts: ["plot", `line-plot-${this.plotIndex}`],
1728
1728
  type: "path",
@@ -13,8 +13,8 @@ import { t as G } from "./loader-circle.js";
13
13
  import { t as ze } from "./plus.js";
14
14
  import { t as Ae } from "./x.js";
15
15
  import { f as b } from "./_shared.js";
16
- import { t as Le } from "./use-controllable-state.js";
17
16
  import { t as w } from "./button.js";
17
+ import { t as Le } from "./use-controllable-state.js";
18
18
  import { t as Ie } from "./Progress.js";
19
19
  import { t as $e } from "./Input2.js";
20
20
  import { t as Fe } from "./Textarea2.js";
@@ -1,6 +1,6 @@
1
1
  import { t as P } from "./minimize-2.js";
2
- import { t as ee } from "./create-safe-context.js";
3
2
  import { f as p } from "./_shared.js";
3
+ import { t as ee } from "./create-safe-context.js";
4
4
  import { t as j } from "./AIInput.js";
5
5
  import { t as L } from "./AIMessage.js";
6
6
  import { n as O, r as te, t as U } from "./AIScrollButton.js";
@@ -3,8 +3,8 @@ import { t as y } from "./chevron-down.js";
3
3
  import { t as $ } from "./chevron-up.js";
4
4
  import { d as V, f as u, m as g } from "./_shared.js";
5
5
  import { t as x } from "./label.js";
6
- import { t as j } from "./button.js";
7
- import { a as B, c as L, d as G, f as T, g as A, h as O, i as P, l as U, m as _, n as K, o as J, p as M, r as E, s as H, t as Q, u as W } from "./SelectSeparator.js";
6
+ import { a as j, c as B, d as L, f as G, g as T, h as A, i as O, l as P, m as U, n as _, o as K, p as J, r as M, s as E, t as H, u as Q } from "./SelectSeparator.js";
7
+ import { t as W } from "./button.js";
8
8
  import { t as v } from "./input3.js";
9
9
  import { t as X } from "./textarea.js";
10
10
  import { r as Y } from "./interaction-context.js";
@@ -12,21 +12,21 @@ import { n as Z } from "./schema-validation.js";
12
12
  import { t as ee } from "./checkbox2.js";
13
13
  import * as s from "react";
14
14
  import { jsx as a, jsxs as i } from "react/jsx-runtime";
15
- var ae = A, re = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(E, {
15
+ var ae = T, re = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(M, {
16
16
  ref: o,
17
17
  "data-slot": "select-group",
18
18
  className: u("scroll-my-1 p-1", e),
19
19
  ...r
20
20
  }));
21
21
  re.displayName = "Select.Group";
22
- var N = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(_, {
22
+ var N = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(U, {
23
23
  ref: o,
24
24
  "data-slot": "select-value",
25
25
  className: u("flex flex-1 text-left", e),
26
26
  ...r
27
27
  }));
28
28
  N.displayName = "Select.Value";
29
- var w = s.forwardRef(({ className: e, size: r = "md", shape: o = "rounded", state: t = "default", children: l, ...c }, n) => /* @__PURE__ */ i(O, {
29
+ var w = s.forwardRef(({ className: e, size: r = "md", shape: o = "rounded", state: t = "default", children: l, ...c }, n) => /* @__PURE__ */ i(A, {
30
30
  ref: n,
31
31
  "data-slot": "select-trigger",
32
32
  "data-size": r,
@@ -35,58 +35,58 @@ var w = s.forwardRef(({ className: e, size: r = "md", shape: o = "rounded", stat
35
35
  "aria-invalid": t === "error" || void 0,
36
36
  className: u("flex w-full items-center justify-between gap-1.5 outline-none", "bg-background border shadow-xs transition-[color,border-color,box-shadow] duration-200 ease-out motion-reduce:transition-none", "not-disabled:hover:border-ring/50", "disabled:cursor-not-allowed disabled:opacity-50", "*:data-[slot=select-value]:flex *:data-[slot=select-value]:flex-1 *:data-[slot=select-value]:items-center", "data-[placeholder]:text-muted-foreground", r === "xs" && "h-7 px-3 py-1 text-xs", r === "sm" && "h-8 px-3 py-1.5 text-xs", r === "md" && "h-9 px-3 py-2 text-xs", r === "lg" && "h-10 px-3 py-2.5 text-sm", o === "rounded" && "rounded-xl", o === "round" && "rounded-full", t === "default" && "border-input", t === "success" && "border-success", t === "error" && "border-destructive", "focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]", t === "error" && "focus-visible:ring-destructive/20", e),
37
37
  ...c,
38
- children: [l, /* @__PURE__ */ a(M, { render: /* @__PURE__ */ a(y, { className: "size-4 shrink-0 text-muted-foreground" }) })]
38
+ children: [l, /* @__PURE__ */ a(J, { render: /* @__PURE__ */ a(y, { className: "size-4 shrink-0 text-muted-foreground" }) })]
39
39
  }));
40
40
  w.displayName = "Select.Trigger";
41
- var q = s.forwardRef(({ className: e, children: r, side: o = "bottom", sideOffset: t = 4, align: l = "center", alignOffset: c = 0, alignItemWithTrigger: n = !0, ...d }, m) => /* @__PURE__ */ a(T, { children: /* @__PURE__ */ a(G, {
41
+ var q = s.forwardRef(({ className: e, children: r, side: o = "bottom", sideOffset: t = 4, align: l = "center", alignOffset: c = 0, alignItemWithTrigger: n = !0, ...d }, m) => /* @__PURE__ */ a(G, { children: /* @__PURE__ */ a(L, {
42
42
  side: o,
43
43
  sideOffset: t,
44
44
  align: l,
45
45
  alignOffset: c,
46
46
  alignItemWithTrigger: n,
47
47
  className: "isolate z-50",
48
- children: /* @__PURE__ */ i(W, {
48
+ children: /* @__PURE__ */ i(Q, {
49
49
  ref: m,
50
50
  "data-slot": "select-popup",
51
51
  className: u("bg-popover text-popover-foreground data-open:animate-in data-closed:animate-out data-closed:fade-out-0 data-open:fade-in-0 data-closed:zoom-out-95 data-open:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2 motion-reduce:animate-none ring-foreground/10 min-w-36 rounded-md shadow-md ring-1 duration-100 relative isolate z-50 max-h-(--available-height) w-(--anchor-width) origin-(--transform-origin) overflow-x-hidden overflow-y-auto", e),
52
52
  ...d,
53
53
  children: [
54
54
  /* @__PURE__ */ a(F, {}),
55
- /* @__PURE__ */ a(U, { children: r }),
55
+ /* @__PURE__ */ a(P, { children: r }),
56
56
  /* @__PURE__ */ a(z, {})
57
57
  ]
58
58
  })
59
59
  }) }));
60
60
  q.displayName = "Select.Popup";
61
- var te = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(K, {
61
+ var te = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(_, {
62
62
  ref: o,
63
63
  "data-slot": "select-group-label",
64
64
  className: u("text-muted-foreground px-2 py-1.5 text-xs", e),
65
65
  ...r
66
66
  }));
67
67
  te.displayName = "Select.GroupLabel";
68
- var I = s.forwardRef(({ className: e, children: r, ...o }, t) => /* @__PURE__ */ i(L, {
68
+ var I = s.forwardRef(({ className: e, children: r, ...o }, t) => /* @__PURE__ */ i(B, {
69
69
  ref: t,
70
70
  "data-slot": "select-item",
71
71
  className: u("focus:bg-accent focus:text-accent-foreground not-data-[variant=destructive]:focus:**:text-accent-foreground transition-colors duration-75 ease-out motion-reduce:transition-none gap-2 rounded-sm py-1.5 pe-8 ps-2 text-sm [&_svg:not([class*='size-'])]:size-4 *:[span]:last:flex *:[span]:last:items-center *:[span]:last:gap-2 relative flex w-full cursor-default items-center outline-hidden select-none data-[disabled]:pointer-events-none data-[disabled]:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0", e),
72
72
  ...o,
73
- children: [/* @__PURE__ */ a(J, {
73
+ children: [/* @__PURE__ */ a(K, {
74
74
  className: "flex flex-1 gap-2 shrink-0 whitespace-nowrap",
75
75
  children: r
76
- }), /* @__PURE__ */ a(H, {
76
+ }), /* @__PURE__ */ a(E, {
77
77
  render: /* @__PURE__ */ a("span", { className: "pointer-events-none absolute end-2 flex size-4 items-center justify-center" }),
78
78
  children: /* @__PURE__ */ a(D, { className: "pointer-events-none animate-in zoom-in-75 fade-in duration-150 motion-reduce:animate-none" })
79
79
  })]
80
80
  }));
81
81
  I.displayName = "Select.Item";
82
- var oe = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(Q, {
82
+ var oe = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(H, {
83
83
  ref: o,
84
84
  "data-slot": "select-separator",
85
85
  className: u("bg-border -mx-1 my-1 h-px pointer-events-none", e),
86
86
  ...r
87
87
  }));
88
88
  oe.displayName = "Select.Separator";
89
- var F = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(P, {
89
+ var F = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(O, {
90
90
  ref: o,
91
91
  "data-slot": "select-scroll-up-button",
92
92
  className: u("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 top-0 w-full", e),
@@ -94,7 +94,7 @@ var F = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(P, {
94
94
  children: /* @__PURE__ */ a($, {})
95
95
  }));
96
96
  F.displayName = "Select.ScrollUpButton";
97
- var z = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(B, {
97
+ var z = s.forwardRef(({ className: e, ...r }, o) => /* @__PURE__ */ a(j, {
98
98
  ref: o,
99
99
  "data-slot": "select-scroll-down-button",
100
100
  className: u("bg-popover z-10 flex cursor-default items-center justify-center py-1 [&_svg:not([class*='size-'])]:size-4 bottom-0 w-full", e),
@@ -355,7 +355,7 @@ function de({ schema: e, className: r }) {
355
355
  }),
356
356
  /* @__PURE__ */ a("div", {
357
357
  className: "flex justify-end",
358
- children: /* @__PURE__ */ a(j, {
358
+ children: /* @__PURE__ */ a(W, {
359
359
  type: "submit",
360
360
  appearance: "gradient",
361
361
  variant: "primary",
@@ -3,8 +3,8 @@ import { t as Te } from "./arrow-down.js";
3
3
  import { t as se } from "./arrow-up.js";
4
4
  import { a as de, i as ke, n as ee, r as De } from "./FileUpload.js";
5
5
  import { t as oe } from "./x.js";
6
- import { t as Ee } from "./create-safe-context.js";
7
6
  import { f as c } from "./_shared.js";
7
+ import { t as Ee } from "./create-safe-context.js";
8
8
  import { t as ie } from "./button.js";
9
9
  import * as u from "react";
10
10
  import { jsx as n, jsxs as l } from "react/jsx-runtime";
@@ -1,7 +1,7 @@
1
1
  import { r as X } from "./rolldown-runtime.js";
2
2
  import { f as M } from "./_shared.js";
3
- import { t as y } from "./Skeleton2.js";
4
3
  import { n as _ } from "./AICodeBlock.js";
4
+ import { t as y } from "./Skeleton2.js";
5
5
  import * as l from "react";
6
6
  import { jsx as t, jsxs as u } from "react/jsx-runtime";
7
7
  function Z(a) {
@@ -5,8 +5,8 @@ import { t as Q } from "./copy.js";
5
5
  import { t as X } from "./list.js";
6
6
  import { n as Z, t as _ } from "./thumbs-up.js";
7
7
  import { t as ee } from "./Avatar.js";
8
- import { t as se } from "./create-safe-context.js";
9
8
  import { f as o } from "./_shared.js";
9
+ import { t as se } from "./create-safe-context.js";
10
10
  import { n as te } from "./interaction-context.js";
11
11
  import { t as ae } from "./markdown-renderer.js";
12
12
  import { t as ne } from "./AITypingIndicator.js";
@@ -1,9 +1,9 @@
1
1
  import { t as k } from "./dist.js";
2
2
  import { t as I } from "./arrow-down.js";
3
3
  import { f as w } from "./_shared.js";
4
+ import { t as V } from "./button.js";
4
5
  import { t as y } from "./react.js";
5
- import { t as V } from "./AnimatePresence.js";
6
- import { t as N } from "./button.js";
6
+ import { t as N } from "./AnimatePresence.js";
7
7
  import * as e from "react";
8
8
  import { jsx as p, jsxs as H } from "react/jsx-runtime";
9
9
  var T = k("fixed flex items-center justify-center shadow-lg transition-all", {
@@ -107,7 +107,7 @@ function D({ scrollRef: l, containerRef: n, threshold: m = 50, onClick: o, visib
107
107
  const c = a ?? t, s = () => {
108
108
  o ? o() : l?.current ? l.current.scrollIntoView({ behavior: "smooth" }) : n?.current && (n.current.scrollTop = n.current.scrollHeight);
109
109
  }, g = j(d);
110
- return /* @__PURE__ */ p(V, { children: c && /* @__PURE__ */ H(y.div, {
110
+ return /* @__PURE__ */ p(N, { children: c && /* @__PURE__ */ H(y.div, {
111
111
  "data-slot": "ai-scroll-button",
112
112
  initial: {
113
113
  opacity: 0,
@@ -138,7 +138,7 @@ function D({ scrollRef: l, containerRef: n, threshold: m = 50, onClick: o, visib
138
138
  size: d,
139
139
  position: f
140
140
  }), "motion-reduce:transition-none", u),
141
- children: [/* @__PURE__ */ p(N, {
141
+ children: [/* @__PURE__ */ p(V, {
142
142
  appearance: "ghost",
143
143
  variant: "secondary",
144
144
  size: "icon",
@@ -6,10 +6,10 @@ import { t as H } from "./chevron-right.js";
6
6
  import { t as T } from "./circle-alert.js";
7
7
  import { t as L } from "./clock.js";
8
8
  import { f as i } from "./_shared.js";
9
- import { t as _ } from "./react.js";
10
- import { t as B } from "./AnimatePresence.js";
11
- import { t as R } from "./use-controllable-state.js";
12
9
  import { n as N } from "./AICodeBlock.js";
10
+ import { t as _ } from "./use-controllable-state.js";
11
+ import { t as B } from "./react.js";
12
+ import { t as R } from "./AnimatePresence.js";
13
13
  import * as y from "react";
14
14
  import { jsx as t, jsxs as o } from "react/jsx-runtime";
15
15
  var q = [["path", {
@@ -102,7 +102,7 @@ function b(e) {
102
102
  return typeof e == "string" ? e : JSON.stringify(e, null, 2);
103
103
  }
104
104
  function S({ toolPart: e, defaultOpen: s = !1, open: n, onOpenChange: a, className: d }) {
105
- const [u, l] = R({
105
+ const [u, l] = _({
106
106
  value: n,
107
107
  defaultValue: s,
108
108
  onChange: a
@@ -117,7 +117,7 @@ function S({ toolPart: e, defaultOpen: s = !1, open: n, onOpenChange: a, classNa
117
117
  status: m,
118
118
  isOpen: u,
119
119
  onToggle: p
120
- }), /* @__PURE__ */ t(B, { children: u && /* @__PURE__ */ t(_.div, {
120
+ }), /* @__PURE__ */ t(R, { children: u && /* @__PURE__ */ t(B.div, {
121
121
  initial: {
122
122
  height: 0,
123
123
  opacity: 0
@@ -1,8 +1,8 @@
1
1
  import { t as xe } from "./dist.js";
2
2
  import { t as Se } from "./createLucideIcon.js";
3
- import { t as ye } from "./create-safe-context.js";
4
3
  import { f as r } from "./_shared.js";
5
4
  import { r as M } from "./useRenderElement.js";
5
+ import { t as ye } from "./create-safe-context.js";
6
6
  import { t as we } from "./button.js";
7
7
  import { t as y } from "./skeleton.js";
8
8
  import { t as Ne } from "./input3.js";
@@ -1,7 +1,7 @@
1
1
  import { n as h, t as g } from "./useIsoLayoutEffect.js";
2
2
  import { s as w, t as c, u as x } from "./useRenderElement.js";
3
- import { a as I, o as y, t as E } from "./useOpenChangeComplete.js";
4
- import { n as N } from "./useTimeout.js";
3
+ import { n as I } from "./useTimeout.js";
4
+ import { a as y, n as E, r as N } from "./stateAttributesMapping.js";
5
5
  import * as s from "react";
6
6
  import { jsx as P } from "react/jsx-runtime";
7
7
  var L = /* @__PURE__ */ s.createContext(void 0);
@@ -47,14 +47,14 @@ function k(o, { referrerPolicy: e, crossOrigin: u, sizes: m, srcSet: f }) {
47
47
  }
48
48
  var O = {
49
49
  ...p,
50
- ...I
50
+ ...E
51
51
  }, $ = /* @__PURE__ */ s.forwardRef(function(e, u) {
52
52
  const { className: m, render: f, onLoadingStatusChange: r, style: l, ...a } = e, { setImageLoadingStatus: t } = b(), n = k(a.src, a), i = n === "loaded", { mounted: d, transitionStatus: C, setMounted: R } = y(i), v = s.useRef(null), S = h((A) => {
53
53
  r?.(A), t(A);
54
54
  });
55
55
  g(() => {
56
56
  n !== "idle" && S(n);
57
- }, [n, S]), g(() => () => t("idle"), [t]), E({
57
+ }, [n, S]), g(() => () => t("idle"), [t]), N({
58
58
  open: i,
59
59
  ref: v,
60
60
  onComplete() {
@@ -73,7 +73,7 @@ var O = {
73
73
  });
74
74
  return d ? M : null;
75
75
  }), q = /* @__PURE__ */ s.forwardRef(function(e, u) {
76
- const { className: m, render: f, delay: r = 0, style: l, ...a } = e, { imageLoadingStatus: t } = b(), [n, i] = s.useState(r === 0), d = N();
76
+ const { className: m, render: f, delay: r = 0, style: l, ...a } = e, { imageLoadingStatus: t } = b(), [n, i] = s.useState(r === 0), d = I();
77
77
  return s.useEffect(() => (r > 0 ? d.start(r, () => i(!0)) : i(!0), d.clear), [d, r]), c("span", e, {
78
78
  state: { imageLoadingStatus: t },
79
79
  ref: u,
@@ -7,8 +7,8 @@ import { t as qe } from "./useValueChanged.js";
7
7
  import { t as oe } from "./useBaseUiId.js";
8
8
  import { i as $e, n as je, r as Ke, s as _e, u as Je } from "./LabelableContext.js";
9
9
  import { n as Xe, t as Ye } from "./visuallyHidden.js";
10
- import { n as ze, t as Qe } from "./useButton.js";
11
- import { a as Ze, o as et, t as tt } from "./useOpenChangeComplete.js";
10
+ import { a as ze, n as Qe, r as Ze } from "./stateAttributesMapping.js";
11
+ import { n as et, t as tt } from "./useButton.js";
12
12
  import { t as rt } from "./FieldItemContext.js";
13
13
  import { t as nt } from "./useAriaLabelledBy.js";
14
14
  import * as n from "react";
@@ -48,7 +48,7 @@ var lt = "data-parent", yt = /* @__PURE__ */ n.forwardRef(function(i, h) {
48
48
  I && (s ? d = Q : r !== void 0 ? d = `${p.id}-${r}` : d ||= Q);
49
49
  let G = {};
50
50
  I && (s ? G = p.getParentProps() : r !== void 0 && (G = p.getChildProps(r)));
51
- const { checked: Z = x, indeterminate: Pe = R, onCheckedChange: Re, ...Ie } = G, H = t?.value, T = n.useRef(null), V = we(() => /* @__PURE__ */ Symbol()), L = n.useRef(!1), { getButtonProps: ye, buttonRef: De } = Qe({
51
+ const { checked: Z = x, indeterminate: Pe = R, onCheckedChange: Re, ...Ie } = G, H = t?.value, T = n.useRef(null), V = we(() => /* @__PURE__ */ Symbol()), L = n.useRef(!1), { getButtonProps: ye, buttonRef: De } = tt({
52
52
  disabled: o,
53
53
  native: S
54
54
  }), y = t?.validation ?? ge, [a, Ee] = Oe({
@@ -177,7 +177,7 @@ var lt = "data-parent", yt = /* @__PURE__ */ n.forwardRef(function(i, h) {
177
177
  if (f || o) return;
178
178
  e.preventDefault();
179
179
  const l = m.current;
180
- l && ze(l, e);
180
+ l && et(l, e);
181
181
  }
182
182
  },
183
183
  de,
@@ -206,11 +206,11 @@ var lt = "data-parent", yt = /* @__PURE__ */ n.forwardRef(function(i, h) {
206
206
  ]
207
207
  });
208
208
  }), Dt = /* @__PURE__ */ n.forwardRef(function(i, h) {
209
- const { render: x, className: le, style: j, keepMounted: N = !1, ...O } = i, c = ut(), P = c.checked || c.indeterminate, { mounted: R, transitionStatus: w, setMounted: E } = et(P), B = n.useRef(null), s = {
209
+ const { render: x, className: le, style: j, keepMounted: N = !1, ...O } = i, c = ut(), P = c.checked || c.indeterminate, { mounted: R, transitionStatus: w, setMounted: E } = ze(P), B = n.useRef(null), s = {
210
210
  ...c,
211
211
  transitionStatus: w
212
212
  };
213
- tt({
213
+ Ze({
214
214
  open: P,
215
215
  ref: B,
216
216
  onComplete() {
@@ -219,7 +219,7 @@ var lt = "data-parent", yt = /* @__PURE__ */ n.forwardRef(function(i, h) {
219
219
  });
220
220
  const f = {
221
221
  ...se(c),
222
- ...Ze
222
+ ...Qe
223
223
  }, K = N || R, g = ie("span", i, {
224
224
  ref: [h, B],
225
225
  state: s,
@@ -1,7 +1,7 @@
1
1
  import { n as H, t as j } from "./useIsoLayoutEffect.js";
2
2
  import { i as L, t as C } from "./useRenderElement.js";
3
+ import { n as y } from "./stateAttributesMapping.js";
3
4
  import { t as q } from "./useButton.js";
4
- import { a as y } from "./useOpenChangeComplete.js";
5
5
  import { a as O, i as z, n as G, o as J, r as K, t as Q } from "./useCollapsiblePanel.js";
6
6
  import * as c from "react";
7
7
  import { jsx as V } from "react/jsx-runtime";
@@ -5,11 +5,11 @@ import { t as B } from "./useBaseUiId.js";
5
5
  import { O as H, R as W, _ as G, a as Y, d as $, f as q, g as z, h as J, i as Q, j as X, m as Z, n as ee, o as te, p as oe, s as ne, t as se, u as ae, x as re } from "./popupStateMapping.js";
6
6
  import { n as ie, r as le } from "./shadowDom.js";
7
7
  import { a as pe } from "./composite2.js";
8
- import { t as A } from "./useButton.js";
9
- import { a as ue, t as ce } from "./useOpenChangeComplete.js";
10
- import { a as de, i as ge, n as fe, o as me, t as Se } from "./useScrollLock.js";
8
+ import { a as ue, i as ce, n as de, o as ge, t as fe } from "./useScrollLock.js";
9
+ import { n as me, r as Se } from "./stateAttributesMapping.js";
11
10
  import { n as Pe, r as Ce, t as he } from "./store.js";
12
11
  import { t as De } from "./usePopupHandleStore.js";
12
+ import { t as A } from "./useButton.js";
13
13
  import { t as Re } from "./inertValue.js";
14
14
  import * as c from "react";
15
15
  import { jsx as k, jsxs as U } from "react/jsx-runtime";
@@ -69,13 +69,13 @@ function Oe() {
69
69
  }
70
70
  var Ie = {
71
71
  ...se,
72
- ...ue,
72
+ ...me,
73
73
  nestedDialogOpen(e) {
74
74
  return e ? { "data-nested-dialog-open": "" } : null;
75
75
  }
76
76
  }, Ye = /* @__PURE__ */ c.forwardRef(function(t, n) {
77
77
  const { render: r, className: d, style: g, finalFocus: i, initialFocus: p, ...s } = t, o = R(), m = o.useState("descriptionElementId"), P = o.useState("disablePointerDismissal"), S = o.useState("floatingRootContext"), u = o.useState("popupProps"), a = o.useState("modal"), f = o.useState("mounted"), C = o.useState("nested"), h = o.useState("nestedOpenDialogCount"), D = o.useState("open"), I = o.useState("openMethod"), l = o.useState("titleElementId"), O = o.useState("transitionStatus"), v = o.useState("role"), x = S.useState("floatingId");
78
- Oe(), ce({
78
+ Oe(), Se({
79
79
  open: D,
80
80
  ref: o.context.popupRef,
81
81
  onComplete() {
@@ -112,7 +112,7 @@ var Ie = {
112
112
  ],
113
113
  stateAttributesMapping: Ie
114
114
  });
115
- return /* @__PURE__ */ k(me, {
115
+ return /* @__PURE__ */ k(ge, {
116
116
  context: S,
117
117
  openInteractionType: I,
118
118
  disabled: !f,
@@ -130,7 +130,7 @@ var Ie = {
130
130
  children: /* @__PURE__ */ U(H, {
131
131
  ref: n,
132
132
  ...d,
133
- children: [i && p === !0 && /* @__PURE__ */ k(fe, {
133
+ children: [i && p === !0 && /* @__PURE__ */ k(de, {
134
134
  ref: g.context.internalBackdropRef,
135
135
  inert: Re(!s)
136
136
  }), t.children]
@@ -164,7 +164,7 @@ function be({ store: e, parentContext: t, isDrawer: n }) {
164
164
  },
165
165
  escapeKey: S
166
166
  });
167
- return Se(r && g === !0, i), e.useContextCallback("onNestedDialogOpen", (a, f) => {
167
+ return fe(r && g === !0, i), e.useContextCallback("onNestedDialogOpen", (a, f) => {
168
168
  o(a), P(f);
169
169
  }), L(() => (t?.onNestedDialogOpen && (r ? t.onNestedDialogOpen(s + 1, m + (n ? 1 : 0)) : t.onNestedDialogOpen(0, 0)), () => {
170
170
  t?.onNestedDialogOpen && r && t.onNestedDialogOpen(0, 0);
@@ -286,7 +286,7 @@ var ze = /* @__PURE__ */ c.forwardRef(function(t, n) {
286
286
  const a = B(s), f = u.useState("floatingRootContext"), C = u.useState("isOpenedByTrigger", a), h = u.useState("triggerPopupId", a), D = c.useRef(null), { registerTrigger: I, isMountedByThisTrigger: l } = G(a, D, u, { payload: o }), { getButtonProps: O, buttonRef: v } = A({
287
287
  disabled: i,
288
288
  native: p
289
- }), x = de(f), b = ge(() => u.select("open"), (y) => {
289
+ }), x = ue(f), b = ce(() => u.select("open"), (y) => {
290
290
  u.set("openMethod", y);
291
291
  }), T = {
292
292
  disabled: i,
@@ -9,14 +9,14 @@ import { r as je } from "./createBaseUIEventDetails.js";
9
9
  import { t as $e } from "./useBaseUiId.js";
10
10
  import { D as Ke, E as We, H as Je, I as j, T as Ye, _ as qe, r as $, w as Qe } from "./popupStateMapping.js";
11
11
  import { n as K } from "./shadowDom.js";
12
- import { i as Ve, t as Xe } from "./useButton.js";
13
- import { t as Ze } from "./CompositeItem.js";
14
12
  import { n as Y } from "./useTimeout.js";
15
- import { n as et, t as tt } from "./safePolygon.js";
16
- import { a as ot } from "./useScrollLock.js";
17
- import { t as nt } from "./usePopupHandleStore.js";
18
- import { t as rt } from "./useFocus.js";
19
- import { t as at } from "./getPseudoElementBounds.js";
13
+ import { n as Ve, t as Xe } from "./safePolygon.js";
14
+ import { a as Ze } from "./useScrollLock.js";
15
+ import { t as et } from "./usePopupHandleStore.js";
16
+ import { t as tt } from "./useFocus.js";
17
+ import { i as ot, t as nt } from "./useButton.js";
18
+ import { t as rt } from "./getPseudoElementBounds.js";
19
+ import { t as at } from "./CompositeItem.js";
20
20
  import { t as st } from "./Separator.js";
21
21
  import { t as it } from "./useTriggerFocusGuards.js";
22
22
  import { t as ut } from "./Kbd.js";
@@ -46,9 +46,9 @@ function Nt(e) {
46
46
  ]);
47
47
  }
48
48
  var Tt = Je(function(t, n) {
49
- const { render: r, className: s, style: i, disabled: g = !1, nativeButton: N = !0, id: T, openOnHover: w, delay: le = 100, closeDelay: O = 0, handle: me, payload: fe, ...ge } = t, be = mt(!0), a = nt(me) ?? be?.store;
49
+ const { render: r, className: s, style: i, disabled: g = !1, nativeButton: N = !0, id: T, openOnHover: w, delay: le = 100, closeDelay: O = 0, handle: me, payload: fe, ...ge } = t, be = mt(!0), a = et(me) ?? be?.store;
50
50
  if (!a) throw new Error(Ae(85));
51
- const c = $e(T), we = a.useState("isTriggerActive", c), I = a.useState("floatingRootContext"), p = a.useState("isOpenedByTrigger", c), Me = a.useState("triggerPopupId", c), v = u.useRef(null), m = Rt(), xe = Ve(!0), E = We(), y = u.useMemo(() => E ?? new Ke(), [E]), he = Qe(y), ve = Ye(), { registerTrigger: ye, isMountedByThisTrigger: z } = qe(c, v, a, {
51
+ const c = $e(T), we = a.useState("isTriggerActive", c), I = a.useState("floatingRootContext"), p = a.useState("isOpenedByTrigger", c), Me = a.useState("triggerPopupId", c), v = u.useRef(null), m = Rt(), xe = ot(!0), E = We(), y = u.useMemo(() => E ?? new Ke(), [E]), he = Qe(y), ve = Ye(), { registerTrigger: ye, isMountedByThisTrigger: z } = qe(c, v, a, {
52
52
  payload: fe,
53
53
  closeDelay: O,
54
54
  parent: m,
@@ -56,7 +56,7 @@ var Tt = Je(function(t, n) {
56
56
  floatingNodeId: he,
57
57
  floatingParentNodeId: ve,
58
58
  keyboardEventRelay: xe?.relayKeyboardEvent
59
- }), l = m.type === "menubar", De = a.useState("disabled"), M = g || De || l && m.context.disabled, { getButtonProps: Ne, buttonRef: Te } = Xe({
59
+ }), l = m.type === "menubar", De = a.useState("disabled"), M = g || De || l && m.context.disabled, { getButtonProps: Ne, buttonRef: Te } = nt({
60
60
  disabled: M,
61
61
  native: N
62
62
  });
@@ -71,7 +71,7 @@ var Tt = Je(function(t, n) {
71
71
  if (!b.current) return;
72
72
  H.clear(), a.context.allowMouseUpTriggerRef.current = !1;
73
73
  const h = x.target;
74
- K(b.current, h) || K(a.select("positionerElement"), h) || h === b.current || h != null && Q(h) === a.select("rootId") || at(x, b.current) || y.events.emit("close", {
74
+ K(b.current, h) || K(a.select("positionerElement"), h) || h === b.current || h != null && Q(h) === a.select("rootId") || rt(x, b.current) || y.events.emit("close", {
75
75
  domEvent: x,
76
76
  reason: je
77
77
  });
@@ -83,9 +83,9 @@ var Tt = Je(function(t, n) {
83
83
  R,
84
84
  a
85
85
  ]);
86
- const S = l && m.context.hasSubmenuOpen, Ie = et(I, {
86
+ const S = l && m.context.hasSubmenuOpen, Ie = Ve(I, {
87
87
  enabled: (w ?? S) && !M && (!l || S && !z),
88
- handleClose: tt({ blockPointerEvents: !l }),
88
+ handleClose: Xe({ blockPointerEvents: !l }),
89
89
  mouseOnly: !0,
90
90
  move: !1,
91
91
  restMs: m.type === void 0 ? le : void 0,
@@ -94,13 +94,13 @@ var Tt = Je(function(t, n) {
94
94
  externalTree: y,
95
95
  isActiveTrigger: we,
96
96
  isClosing: () => a.select("transitionStatus") === "ending"
97
- }), Re = It(p, a.select("lastOpenChangeReason")), _ = ot(I, {
97
+ }), Re = It(p, a.select("lastOpenChangeReason")), _ = Ze(I, {
98
98
  enabled: !M,
99
99
  event: p && l ? "click" : "mousedown",
100
100
  toggle: !0,
101
101
  ignoreMouse: !1,
102
102
  stickIfOpen: m.type === void 0 ? Re : !1
103
- }), B = rt(I, { enabled: !M && S }), Se = Nt({
103
+ }), B = tt(I, { enabled: !M && S }), Se = Nt({
104
104
  open: p,
105
105
  enabled: l,
106
106
  mouseDownAction: "open"
@@ -138,7 +138,7 @@ var Tt = Je(function(t, n) {
138
138
  ref: L,
139
139
  props: A
140
140
  });
141
- return l ? /* @__PURE__ */ o(Ze, {
141
+ return l ? /* @__PURE__ */ o(at, {
142
142
  tag: "button",
143
143
  render: r,
144
144
  className: s,
@@ -1,7 +1,7 @@
1
1
  import { k as s } from "./popupStateMapping.js";
2
2
  import * as o from "react";
3
- import * as m from "react-dom";
4
- import { jsxs as c } from "react/jsx-runtime";
3
+ import { jsxs as m } from "react/jsx-runtime";
4
+ import * as c from "react-dom";
5
5
  var P = /* @__PURE__ */ o.forwardRef(function(t, a) {
6
6
  const { children: l, container: n, className: d, render: u, style: p, ...i } = t, { node: r, subtree: e } = s({
7
7
  container: n,
@@ -9,7 +9,7 @@ var P = /* @__PURE__ */ o.forwardRef(function(t, a) {
9
9
  componentProps: t,
10
10
  elementProps: i
11
11
  });
12
- return !e && !r ? null : /* @__PURE__ */ c(o.Fragment, { children: [e, r && /* @__PURE__ */ m.createPortal(l, r)] });
12
+ return !e && !r ? null : /* @__PURE__ */ m(o.Fragment, { children: [e, r && /* @__PURE__ */ c.createPortal(l, r)] });
13
13
  });
14
14
  export {
15
15
  P as t