zudoku 0.53.3 → 0.53.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (242) hide show
  1. package/dist/config/validators/InputNavigationSchema.d.ts +0 -5
  2. package/dist/config/validators/InputNavigationSchema.js +0 -3
  3. package/dist/config/validators/InputNavigationSchema.js.map +1 -1
  4. package/dist/config/validators/InputNavigationSchema.test-d.js +0 -1
  5. package/dist/config/validators/InputNavigationSchema.test-d.js.map +1 -1
  6. package/dist/config/validators/NavigationSchema.js +3 -2
  7. package/dist/config/validators/NavigationSchema.js.map +1 -1
  8. package/dist/config/validators/validate.d.ts +3 -0
  9. package/dist/config/validators/validate.js +1 -0
  10. package/dist/config/validators/validate.js.map +1 -1
  11. package/dist/lib/components/Header.js +1 -1
  12. package/dist/lib/components/Header.js.map +1 -1
  13. package/dist/lib/components/Markdown.js +2 -2
  14. package/dist/lib/components/Markdown.js.map +1 -1
  15. package/dist/lib/components/NotFoundPage.js +1 -1
  16. package/dist/lib/components/NotFoundPage.js.map +1 -1
  17. package/dist/lib/components/Typography.d.ts +1 -1
  18. package/dist/lib/components/Typography.js +1 -1
  19. package/dist/lib/components/Typography.js.map +1 -1
  20. package/dist/lib/core/ZudokuContext.d.ts +1 -0
  21. package/dist/lib/core/ZudokuContext.js.map +1 -1
  22. package/dist/lib/errors/ErrorAlert.js +1 -1
  23. package/dist/lib/errors/ErrorAlert.js.map +1 -1
  24. package/dist/lib/plugins/openapi/OperationList.js +2 -1
  25. package/dist/lib/plugins/openapi/OperationList.js.map +1 -1
  26. package/dist/lib/plugins/openapi/Sidecar.js +1 -1
  27. package/dist/lib/plugins/openapi/Sidecar.js.map +1 -1
  28. package/dist/lib/plugins/openapi/SidecarExamples.js +1 -1
  29. package/dist/lib/plugins/openapi/SidecarExamples.js.map +1 -1
  30. package/dist/lib/plugins/openapi/playground/PathParams.js +1 -1
  31. package/dist/lib/plugins/openapi/playground/PathParams.js.map +1 -1
  32. package/dist/lib/plugins/openapi/playground/Playground.js +4 -2
  33. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  34. package/dist/lib/ui/CodeBlock.js +1 -1
  35. package/dist/lib/ui/CodeBlock.js.map +1 -1
  36. package/dist/lib/ui/EmbeddedCodeBlock.js +1 -1
  37. package/dist/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  38. package/dist/vite/dev-server.js +9 -1
  39. package/dist/vite/dev-server.js.map +1 -1
  40. package/dist/vite/plugin-docs.js +11 -9
  41. package/dist/vite/plugin-docs.js.map +1 -1
  42. package/dist/vite/plugin-theme.js +88 -49
  43. package/dist/vite/plugin-theme.js.map +1 -1
  44. package/dist/vite/plugin-theme.test.js +25 -4
  45. package/dist/vite/plugin-theme.test.js.map +1 -1
  46. package/lib/{Alert-FYKbqjIt.js → Alert-CWApD0CL.js} +4 -4
  47. package/lib/Alert-CWApD0CL.js.map +1 -0
  48. package/lib/{Button-BE9IVkWV.js → Button-B3o-2Xdf.js} +2 -2
  49. package/lib/{Button-BE9IVkWV.js.map → Button-B3o-2Xdf.js.map} +1 -1
  50. package/lib/CallbackHandler-Dr5Lva9x.js +38 -0
  51. package/lib/CallbackHandler-Dr5Lva9x.js.map +1 -0
  52. package/lib/{Card-DPhGbYUM.js → Card-CMDQUPM4.js} +2 -2
  53. package/lib/{Card-DPhGbYUM.js.map → Card-CMDQUPM4.js.map} +1 -1
  54. package/lib/ClientOnly-E7hGysn1.js.map +1 -1
  55. package/lib/{CodeBlock-DAKxs_Tu.js → CodeBlock-B-G0eKtw.js} +3 -3
  56. package/lib/{CodeBlock-DAKxs_Tu.js.map → CodeBlock-B-G0eKtw.js.map} +1 -1
  57. package/lib/{Command-xsbs2uhf.js → Command-C9AC5cf-.js} +3 -3
  58. package/lib/{Command-xsbs2uhf.js.map → Command-C9AC5cf-.js.map} +1 -1
  59. package/lib/{Dialog-CiIdyz6a.js → Dialog-DMWw1doX.js} +2 -2
  60. package/lib/{Dialog-CiIdyz6a.js.map → Dialog-DMWw1doX.js.map} +1 -1
  61. package/lib/{Drawer-BzkOKwgC.js → Drawer-DJ05s2pH.js} +86 -86
  62. package/lib/{Drawer-BzkOKwgC.js.map → Drawer-DJ05s2pH.js.map} +1 -1
  63. package/lib/{MdxPage-DyRuoE_F.js → MdxPage-DVI4iYgW.js} +9 -9
  64. package/lib/{MdxPage-DyRuoE_F.js.map → MdxPage-DVI4iYgW.js.map} +1 -1
  65. package/lib/{OasProvider-CUA-DFGE.js → OasProvider-CbwsKPNc.js} +2 -2
  66. package/lib/{OasProvider-CUA-DFGE.js.map → OasProvider-CbwsKPNc.js.map} +1 -1
  67. package/lib/{OperationList-CRMvWoTv.js → OperationList-Bn9ggxw8.js} +176 -176
  68. package/lib/OperationList-Bn9ggxw8.js.map +1 -0
  69. package/lib/{Pagination-HZKe5ncg.js → Pagination-bavPec-z.js} +3 -3
  70. package/lib/{Pagination-HZKe5ncg.js.map → Pagination-bavPec-z.js.map} +1 -1
  71. package/lib/{RouteGuard-CbKd7_9h.js → RouteGuard-Vnlz_t51.js} +3 -3
  72. package/lib/{RouteGuard-CbKd7_9h.js.map → RouteGuard-Vnlz_t51.js.map} +1 -1
  73. package/lib/{SchemaList-B792ORza.js → SchemaList-DETyCVqu.js} +9 -9
  74. package/lib/{SchemaList-B792ORza.js.map → SchemaList-DETyCVqu.js.map} +1 -1
  75. package/lib/{SchemaView-Bo53TeMb.js → SchemaView-Dvxo2RNe.js} +6 -6
  76. package/lib/{SchemaView-Bo53TeMb.js.map → SchemaView-Dvxo2RNe.js.map} +1 -1
  77. package/lib/{SignUp-DfVvOCYB.js → SignUp-ClYhZq9H.js} +4 -4
  78. package/lib/{SignUp-DfVvOCYB.js.map → SignUp-ClYhZq9H.js.map} +1 -1
  79. package/lib/{Slot-BpO_AGKJ.js → Slot-B31yZlfB.js} +316 -336
  80. package/lib/{Slot-BpO_AGKJ.js.map → Slot-B31yZlfB.js.map} +1 -1
  81. package/lib/Spinner-mNLZ6awP.js.map +1 -1
  82. package/lib/{SyntaxHighlight-CZgjJ7-f.js → SyntaxHighlight-bm761HDo.js} +4 -4
  83. package/lib/{SyntaxHighlight-CZgjJ7-f.js.map → SyntaxHighlight-bm761HDo.js.map} +1 -1
  84. package/lib/{Toc-DYMzDvOa.js → Toc-D4oBWE8D.js} +3 -3
  85. package/lib/{Toc-DYMzDvOa.js.map → Toc-D4oBWE8D.js.map} +1 -1
  86. package/lib/chunk-DQRVZFIR-DHK7_Ilc.js.map +1 -1
  87. package/lib/{circular-CLdQ0oUd.js → circular-CRbFI6Zl.js} +2 -2
  88. package/lib/{circular-CLdQ0oUd.js.map → circular-CRbFI6Zl.js.map} +1 -1
  89. package/lib/{cn-wvCW-ho6.js → cn-dYga0KKN.js} +2 -2
  90. package/lib/cn-dYga0KKN.js.map +1 -0
  91. package/lib/{createServer-Co4BBP-i.js → createServer-DNyGJJNX.js} +3398 -3552
  92. package/lib/createServer-DNyGJJNX.js.map +1 -0
  93. package/lib/errors-C1GlNcV3.js +44 -0
  94. package/lib/errors-C1GlNcV3.js.map +1 -0
  95. package/lib/{hook-Bd0yS8M0.js → hook-CZjW2buS.js} +420 -413
  96. package/lib/hook-CZjW2buS.js.map +1 -0
  97. package/lib/index-Bm35Tkgf.js +107 -0
  98. package/lib/index-Bm35Tkgf.js.map +1 -0
  99. package/lib/{index-DLzZDv8_.js → index-CZTEgYDd.js} +2 -2
  100. package/lib/{index-DLzZDv8_.js.map → index-CZTEgYDd.js.map} +1 -1
  101. package/lib/{index-DYP-V0jG.js → index-C_PXQ8Bx.js} +612 -610
  102. package/lib/{index-DYP-V0jG.js.map → index-C_PXQ8Bx.js.map} +1 -1
  103. package/lib/index-CrcNWbel.js.map +1 -1
  104. package/lib/{index-DLshv89l.js → index-D09PbNex.js} +1261 -1260
  105. package/lib/index-D09PbNex.js.map +1 -0
  106. package/lib/index-DI5SPFK9.js.map +1 -1
  107. package/lib/index-DmNq2fbN.js.map +1 -1
  108. package/lib/index.esm-Cp4wkyud.js.map +1 -1
  109. package/lib/invariant-DAFpPywt.js.map +1 -1
  110. package/lib/jsx-runtime-C5mzlN2N.js.map +1 -1
  111. package/lib/processors/removeExtensions.js.map +1 -1
  112. package/lib/processors/removeParameters.js.map +1 -1
  113. package/lib/processors/removePaths.js.map +1 -1
  114. package/lib/processors/traverse.js.map +1 -1
  115. package/lib/ui/Accordion.js +1 -1
  116. package/lib/ui/Accordion.js.map +1 -1
  117. package/lib/ui/ActionButton.js +2 -2
  118. package/lib/ui/ActionButton.js.map +1 -1
  119. package/lib/ui/Alert.js +1 -1
  120. package/lib/ui/Alert.js.map +1 -1
  121. package/lib/ui/AlertDialog.js +1 -1
  122. package/lib/ui/AlertDialog.js.map +1 -1
  123. package/lib/ui/Badge.js +1 -1
  124. package/lib/ui/Badge.js.map +1 -1
  125. package/lib/ui/Breadcrumb.js +1 -1
  126. package/lib/ui/Breadcrumb.js.map +1 -1
  127. package/lib/ui/Button.js +1 -1
  128. package/lib/ui/Button.js.map +1 -1
  129. package/lib/ui/Callout.js +1 -1
  130. package/lib/ui/Callout.js.map +1 -1
  131. package/lib/ui/Card.js +1 -1
  132. package/lib/ui/Card.js.map +1 -1
  133. package/lib/ui/Carousel.js +1 -1
  134. package/lib/ui/Carousel.js.map +1 -1
  135. package/lib/ui/Checkbox.js +1 -1
  136. package/lib/ui/Checkbox.js.map +1 -1
  137. package/lib/ui/CodeBlock.js +2 -2
  138. package/lib/ui/Command.js +2 -2
  139. package/lib/ui/Command.js.map +1 -1
  140. package/lib/ui/Dialog.js +1 -1
  141. package/lib/ui/Dialog.js.map +1 -1
  142. package/lib/ui/Drawer.js +2 -2
  143. package/lib/ui/DropdownMenu.js +1 -1
  144. package/lib/ui/DropdownMenu.js.map +1 -1
  145. package/lib/ui/EmbeddedCodeBlock.js +2 -2
  146. package/lib/ui/EmbeddedCodeBlock.js.map +1 -1
  147. package/lib/ui/Form.js +1 -1
  148. package/lib/ui/Form.js.map +1 -1
  149. package/lib/ui/HoverCard.js +1 -1
  150. package/lib/ui/HoverCard.js.map +1 -1
  151. package/lib/ui/Input.js +1 -1
  152. package/lib/ui/Input.js.map +1 -1
  153. package/lib/ui/Label.js +1 -1
  154. package/lib/ui/Label.js.map +1 -1
  155. package/lib/ui/Pagination.js +1 -1
  156. package/lib/ui/Pagination.js.map +1 -1
  157. package/lib/ui/Popover.js +1 -1
  158. package/lib/ui/Popover.js.map +1 -1
  159. package/lib/ui/Progress.js +1 -1
  160. package/lib/ui/Progress.js.map +1 -1
  161. package/lib/ui/RadioGroup.js +1 -1
  162. package/lib/ui/RadioGroup.js.map +1 -1
  163. package/lib/ui/ScrollArea.js +1 -1
  164. package/lib/ui/ScrollArea.js.map +1 -1
  165. package/lib/ui/Select.js +1 -1
  166. package/lib/ui/Select.js.map +1 -1
  167. package/lib/ui/Skeleton.js +1 -1
  168. package/lib/ui/Skeleton.js.map +1 -1
  169. package/lib/ui/Slider.js +1 -1
  170. package/lib/ui/Slider.js.map +1 -1
  171. package/lib/ui/Stepper.js.map +1 -1
  172. package/lib/ui/Switch.js +1 -1
  173. package/lib/ui/Switch.js.map +1 -1
  174. package/lib/ui/SyntaxHighlight.js +3 -3
  175. package/lib/ui/Tabs.js +1 -1
  176. package/lib/ui/Tabs.js.map +1 -1
  177. package/lib/ui/Textarea.js +1 -1
  178. package/lib/ui/Textarea.js.map +1 -1
  179. package/lib/ui/Toggle.js +1 -1
  180. package/lib/ui/Toggle.js.map +1 -1
  181. package/lib/ui/ToggleGroup.js +1 -1
  182. package/lib/ui/ToggleGroup.js.map +1 -1
  183. package/lib/ui/Tooltip.js +1 -1
  184. package/lib/ui/Tooltip.js.map +1 -1
  185. package/lib/ui/util.js +1 -1
  186. package/lib/useExposedProps-BIYjecPD.js.map +1 -1
  187. package/lib/zudoku.auth-auth0.js +1 -1
  188. package/lib/zudoku.auth-auth0.js.map +1 -1
  189. package/lib/zudoku.auth-azureb2c.js +40 -9882
  190. package/lib/zudoku.auth-azureb2c.js.map +1 -1
  191. package/lib/zudoku.auth-clerk.js +3 -3
  192. package/lib/zudoku.auth-clerk.js.map +1 -1
  193. package/lib/zudoku.auth-openid.js +20 -19
  194. package/lib/zudoku.auth-openid.js.map +1 -1
  195. package/lib/zudoku.auth-supabase.js +97 -0
  196. package/lib/zudoku.auth-supabase.js.map +1 -0
  197. package/lib/zudoku.components.js +5 -5
  198. package/lib/zudoku.hooks.js +3 -3
  199. package/lib/zudoku.hooks.js.map +1 -1
  200. package/lib/zudoku.icons.js.map +1 -1
  201. package/lib/zudoku.plugin-api-catalog.js +5 -5
  202. package/lib/zudoku.plugin-api-catalog.js.map +1 -1
  203. package/lib/zudoku.plugin-api-keys.js +7 -7
  204. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  205. package/lib/zudoku.plugin-custom-pages.js +1 -1
  206. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  207. package/lib/zudoku.plugin-markdown.js +1 -1
  208. package/lib/zudoku.plugin-markdown.js.map +1 -1
  209. package/lib/zudoku.plugin-openapi.js +2 -2
  210. package/lib/zudoku.plugin-redirect.js.map +1 -1
  211. package/lib/zudoku.plugin-search-inkeep.js.map +1 -1
  212. package/lib/zudoku.plugin-search-pagefind.js +6 -6
  213. package/lib/zudoku.plugin-search-pagefind.js.map +1 -1
  214. package/lib/zudoku.plugins.js.map +1 -1
  215. package/package.json +20 -20
  216. package/src/app/main.css +26 -5
  217. package/src/lib/components/Header.tsx +1 -1
  218. package/src/lib/components/Markdown.tsx +3 -3
  219. package/src/lib/components/NotFoundPage.tsx +3 -2
  220. package/src/lib/components/Typography.tsx +1 -1
  221. package/src/lib/core/ZudokuContext.ts +1 -0
  222. package/src/lib/errors/ErrorAlert.tsx +5 -7
  223. package/src/lib/plugins/openapi/OperationList.tsx +3 -1
  224. package/src/lib/plugins/openapi/Sidecar.tsx +1 -1
  225. package/src/lib/plugins/openapi/SidecarExamples.tsx +1 -1
  226. package/src/lib/plugins/openapi/playground/PathParams.tsx +1 -1
  227. package/src/lib/plugins/openapi/playground/Playground.tsx +8 -2
  228. package/src/lib/ui/CodeBlock.tsx +1 -1
  229. package/src/lib/ui/EmbeddedCodeBlock.tsx +1 -1
  230. package/dist/flat-config.d.ts +0 -325
  231. package/lib/Alert-FYKbqjIt.js.map +0 -1
  232. package/lib/OperationList-CRMvWoTv.js.map +0 -1
  233. package/lib/clerk-BDZ31hjU.js +0 -25190
  234. package/lib/clerk-BDZ31hjU.js.map +0 -1
  235. package/lib/cn-wvCW-ho6.js.map +0 -1
  236. package/lib/createServer-Co4BBP-i.js.map +0 -1
  237. package/lib/errors-DE1gK7ms.js +0 -78
  238. package/lib/errors-DE1gK7ms.js.map +0 -1
  239. package/lib/hook-Bd0yS8M0.js.map +0 -1
  240. package/lib/index-ClhS5TxS.js +0 -107
  241. package/lib/index-ClhS5TxS.js.map +0 -1
  242. package/lib/index-DLshv89l.js.map +0 -1
@@ -1,8 +1,8 @@
1
1
  import { j as X } from "./jsx-runtime-C5mzlN2N.js";
2
- import * as mt from "react";
2
+ import * as pt from "react";
3
3
  import r, { useMemo as ye, useLayoutEffect as be, useEffect as Se } from "react";
4
4
  import * as Z from "@radix-ui/react-dialog";
5
- import { c as ot } from "./cn-wvCW-ho6.js";
5
+ import { c as it } from "./cn-dYga0KKN.js";
6
6
  function De(t) {
7
7
  if (typeof document > "u") return;
8
8
  let n = document.head || document.getElementsByTagName("head")[0], e = document.createElement("style");
@@ -55,7 +55,7 @@ const qt = r.createContext({
55
55
  noBodyStyles: !1,
56
56
  container: null,
57
57
  autoFocus: !1
58
- }), pt = () => {
58
+ }), wt = () => {
59
59
  const t = r.useContext(qt);
60
60
  if (!t)
61
61
  throw new Error("useDrawerContext must be used within a Drawer.Root");
@@ -116,13 +116,13 @@ const $e = /* @__PURE__ */ new Set([
116
116
  "submit",
117
117
  "reset"
118
118
  ]);
119
- let vt = 0, Ot;
119
+ let yt = 0, Ot;
120
120
  function Ae(t = {}) {
121
121
  let { isDisabled: n } = t;
122
122
  Ce(() => {
123
123
  if (!n)
124
- return vt++, vt === 1 && Xt() && (Ot = Me()), () => {
125
- vt--, vt === 0 && Ot?.();
124
+ return yt++, yt === 1 && Xt() && (Ot = Me()), () => {
125
+ yt--, yt === 0 && Ot?.();
126
126
  };
127
127
  }, [
128
128
  n
@@ -156,16 +156,16 @@ function Me() {
156
156
  window.scrollTo(0, 0);
157
157
  }, w = window.pageXOffset, D = window.pageYOffset, R = zt(Ne(document.documentElement, "paddingRight", `${window.innerWidth - document.documentElement.clientWidth}px`));
158
158
  window.scrollTo(0, 0);
159
- let h = zt(dt(document, "touchstart", e, {
159
+ let h = zt(ft(document, "touchstart", e, {
160
160
  passive: !1,
161
161
  capture: !0
162
- }), dt(document, "touchmove", a, {
162
+ }), ft(document, "touchmove", a, {
163
163
  passive: !1,
164
164
  capture: !0
165
- }), dt(document, "touchend", i, {
165
+ }), ft(document, "touchend", i, {
166
166
  passive: !1,
167
167
  capture: !0
168
- }), dt(document, "focus", o, !0), dt(window, "scroll", v));
168
+ }), ft(document, "focus", o, !0), ft(window, "scroll", v));
169
169
  return () => {
170
170
  R(), h(), window.scrollTo(w, D);
171
171
  };
@@ -176,7 +176,7 @@ function Ne(t, n, e) {
176
176
  t.style[n] = a;
177
177
  };
178
178
  }
179
- function dt(t, n, e, a) {
179
+ function ft(t, n, e, a) {
180
180
  return t.addEventListener(n, e, a), () => {
181
181
  t.removeEventListener(n, e, a);
182
182
  };
@@ -203,7 +203,7 @@ function Ie(...t) {
203
203
  return (n) => t.forEach((e) => Pe(e, n));
204
204
  }
205
205
  function Gt(...t) {
206
- return mt.useCallback(Ie(...t), t);
206
+ return pt.useCallback(Ie(...t), t);
207
207
  }
208
208
  const Jt = /* @__PURE__ */ new WeakMap();
209
209
  function $(t, n, e = !1) {
@@ -234,7 +234,7 @@ const C = (t) => {
234
234
  return t;
235
235
  }
236
236
  };
237
- function yt(t, n) {
237
+ function bt(t, n) {
238
238
  if (!t)
239
239
  return null;
240
240
  const e = window.getComputedStyle(t), a = (
@@ -269,7 +269,7 @@ const x = {
269
269
  0,
270
270
  1
271
271
  ]
272
- }, Qt = 0.4, Le = 0.25, Be = 100, Zt = 8, bt = 16, Mt = 26, $t = "vaul-dragging";
272
+ }, Qt = 0.4, Le = 0.25, Be = 100, Zt = 8, nt = 16, Mt = 26, $t = "vaul-dragging";
273
273
  function te(t) {
274
274
  const n = r.useRef(t);
275
275
  return r.useEffect(() => {
@@ -456,7 +456,7 @@ function Ue({ activeSnapPointProp: t, setActiveSnapPointProp: n, snapPoints: e,
456
456
  const je = () => () => {
457
457
  };
458
458
  function We() {
459
- const { direction: t, isOpen: n, shouldScaleBackground: e, setBackgroundColorOnScale: a, noBodyStyles: i } = pt(), o = r.useRef(null), v = ye(() => document.body.style.backgroundColor, []);
459
+ const { direction: t, isOpen: n, shouldScaleBackground: e, setBackgroundColorOnScale: a, noBodyStyles: i } = wt(), o = r.useRef(null), v = ye(() => document.body.style.backgroundColor, []);
460
460
  function w() {
461
461
  return (window.innerWidth - Mt) / window.innerWidth;
462
462
  }
@@ -494,11 +494,11 @@ function We() {
494
494
  v
495
495
  ]);
496
496
  }
497
- let ft = null;
497
+ let mt = null;
498
498
  function ze({ isOpen: t, modal: n, nested: e, hasBeenOpened: a, preventScrollRestoration: i, noBodyStyles: o }) {
499
499
  const [v, w] = r.useState(() => typeof window < "u" ? window.location.href : ""), D = r.useRef(0), R = r.useCallback(() => {
500
- if (Wt() && ft === null && t && !o) {
501
- ft = {
500
+ if (Wt() && mt === null && t && !o) {
501
+ mt = {
502
502
  position: document.body.style.position,
503
503
  top: document.body.style.top,
504
504
  left: document.body.style.left,
@@ -519,15 +519,15 @@ function ze({ isOpen: t, modal: n, nested: e, hasBeenOpened: a, preventScrollRes
519
519
  }, [
520
520
  t
521
521
  ]), h = r.useCallback(() => {
522
- if (Wt() && ft !== null && !o) {
522
+ if (Wt() && mt !== null && !o) {
523
523
  const f = -parseInt(document.body.style.top, 10), m = -parseInt(document.body.style.left, 10);
524
- Object.assign(document.body.style, ft), window.requestAnimationFrame(() => {
524
+ Object.assign(document.body.style, mt), window.requestAnimationFrame(() => {
525
525
  if (i && v !== window.location.href) {
526
526
  w(window.location.href);
527
527
  return;
528
528
  }
529
529
  window.scrollTo(m, f);
530
- }), ft = null;
530
+ }), mt = null;
531
531
  }
532
532
  }, [
533
533
  v
@@ -575,15 +575,15 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
575
575
  document.body.style.pointerEvents = "auto";
576
576
  }), s || (document.body.style.pointerEvents = "auto");
577
577
  }
578
- }), [P, K] = r.useState(!1), [G, it] = r.useState(!1), [oe, Pt] = r.useState(!1), nt = r.useRef(null), wt = r.useRef(null), St = r.useRef(null), Dt = r.useRef(null), st = r.useRef(null), lt = r.useRef(!1), Tt = r.useRef(null), Rt = r.useRef(0), rt = r.useRef(!1), It = r.useRef(!Y), _t = r.useRef(0), d = r.useRef(null), Ht = r.useRef(((l = d.current) == null ? void 0 : l.getBoundingClientRect().height) || 0), kt = r.useRef(((U = d.current) == null ? void 0 : U.getBoundingClientRect().width) || 0), Et = r.useRef(0), ie = r.useCallback((s) => {
579
- o && s === ut.length - 1 && (wt.current = /* @__PURE__ */ new Date());
580
- }, []), { activeSnapPoint: se, activeSnapPointIndex: at, setActiveSnapPoint: Lt, onRelease: le, snapPointsOffset: ut, onDrag: ue, shouldFade: Bt, getPercentageDragged: ce } = Ue({
578
+ }), [P, K] = r.useState(!1), [G, st] = r.useState(!1), [oe, Pt] = r.useState(!1), rt = r.useRef(null), ht = r.useRef(null), St = r.useRef(null), Dt = r.useRef(null), lt = r.useRef(null), ut = r.useRef(!1), Tt = r.useRef(null), Rt = r.useRef(0), at = r.useRef(!1), It = r.useRef(!Y), _t = r.useRef(0), d = r.useRef(null), Ht = r.useRef(((l = d.current) == null ? void 0 : l.getBoundingClientRect().height) || 0), kt = r.useRef(((U = d.current) == null ? void 0 : U.getBoundingClientRect().width) || 0), Et = r.useRef(0), ie = r.useCallback((s) => {
579
+ o && s === ct.length - 1 && (ht.current = /* @__PURE__ */ new Date());
580
+ }, []), { activeSnapPoint: se, activeSnapPointIndex: ot, setActiveSnapPoint: Lt, onRelease: le, snapPointsOffset: ct, onDrag: ue, shouldFade: Bt, getPercentageDragged: ce } = Ue({
581
581
  snapPoints: o,
582
582
  activeSnapPointProp: B,
583
583
  setActiveSnapPointProp: k,
584
584
  drawerRef: d,
585
585
  fadeFromIndex: m,
586
- overlayRef: nt,
586
+ overlayRef: rt,
587
587
  onSnapPointChange: ie,
588
588
  direction: c,
589
589
  container: N,
@@ -600,35 +600,35 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
600
600
  preventScrollRestoration: b,
601
601
  noBodyStyles: A
602
602
  });
603
- function ht() {
603
+ function gt() {
604
604
  return (window.innerWidth - Mt) / window.innerWidth;
605
605
  }
606
606
  function fe(s) {
607
607
  var S, T;
608
- !h && !o || d.current && !d.current.contains(s.target) || (Ht.current = ((S = d.current) == null ? void 0 : S.getBoundingClientRect().height) || 0, kt.current = ((T = d.current) == null ? void 0 : T.getBoundingClientRect().width) || 0, it(!0), St.current = /* @__PURE__ */ new Date(), Xt() && window.addEventListener("touchend", () => lt.current = !1, {
608
+ !h && !o || d.current && !d.current.contains(s.target) || (Ht.current = ((S = d.current) == null ? void 0 : S.getBoundingClientRect().height) || 0, kt.current = ((T = d.current) == null ? void 0 : T.getBoundingClientRect().width) || 0, st(!0), St.current = /* @__PURE__ */ new Date(), Xt() && window.addEventListener("touchend", () => ut.current = !1, {
609
609
  once: !0
610
610
  }), s.target.setPointerCapture(s.pointerId), Rt.current = C(c) ? s.pageY : s.pageX);
611
611
  }
612
612
  function Ft(s, S) {
613
613
  var T;
614
614
  let g = s;
615
- const O = (T = window.getSelection()) == null ? void 0 : T.toString(), L = d.current ? yt(d.current, c) : null, H = /* @__PURE__ */ new Date();
615
+ const O = (T = window.getSelection()) == null ? void 0 : T.toString(), L = d.current ? bt(d.current, c) : null, H = /* @__PURE__ */ new Date();
616
616
  if (g.tagName === "SELECT" || g.hasAttribute("data-vaul-no-drag") || g.closest("[data-vaul-no-drag]"))
617
617
  return !1;
618
618
  if (c === "right" || c === "left")
619
619
  return !0;
620
- if (wt.current && H.getTime() - wt.current.getTime() < 500)
620
+ if (ht.current && H.getTime() - ht.current.getTime() < 500)
621
621
  return !1;
622
622
  if (L !== null && (c === "bottom" ? L > 0 : L < 0))
623
623
  return !0;
624
624
  if (O && O.length > 0)
625
625
  return !1;
626
- if (st.current && H.getTime() - st.current.getTime() < R && L === 0 || S)
627
- return st.current = H, !1;
626
+ if (lt.current && H.getTime() - lt.current.getTime() < R && L === 0 || S)
627
+ return lt.current = H, !1;
628
628
  for (; g; ) {
629
629
  if (g.scrollHeight > g.clientHeight) {
630
630
  if (g.scrollTop !== 0)
631
- return st.current = /* @__PURE__ */ new Date(), !1;
631
+ return lt.current = /* @__PURE__ */ new Date(), !1;
632
632
  if (g.getAttribute("role") === "dialog")
633
633
  return !0;
634
634
  }
@@ -639,32 +639,32 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
639
639
  function me(s) {
640
640
  if (d.current && G) {
641
641
  const S = c === "bottom" || c === "right" ? 1 : -1, T = (Rt.current - (C(c) ? s.pageY : s.pageX)) * S, g = T > 0, O = o && !h && !g;
642
- if (O && at === 0) return;
642
+ if (O && ot === 0) return;
643
643
  const L = Math.abs(T), H = document.querySelector("[data-vaul-drawer-wrapper]"), J = c === "bottom" || c === "top" ? Ht.current : kt.current;
644
644
  let z = L / J;
645
645
  const et = ce(L, g);
646
- if (et !== null && (z = et), O && z >= 1 || !lt.current && !Ft(s.target, g)) return;
647
- if (d.current.classList.add($t), lt.current = !0, $(d.current, {
646
+ if (et !== null && (z = et), O && z >= 1 || !ut.current && !Ft(s.target, g)) return;
647
+ if (d.current.classList.add($t), ut.current = !0, $(d.current, {
648
648
  transition: "none"
649
- }), $(nt.current, {
649
+ }), $(rt.current, {
650
650
  transition: "none"
651
651
  }), o && ue({
652
652
  draggedDistance: T
653
653
  }), g && !o) {
654
- const q = He(T), gt = Math.min(q * -1, 0) * S;
654
+ const q = He(T), vt = Math.min(q * -1, 0) * S;
655
655
  $(d.current, {
656
- transform: C(c) ? `translate3d(0, ${gt}px, 0)` : `translate3d(${gt}px, 0, 0)`
656
+ transform: C(c) ? `translate3d(0, ${vt}px, 0)` : `translate3d(${vt}px, 0, 0)`
657
657
  });
658
658
  return;
659
659
  }
660
660
  const Q = 1 - z;
661
- if ((Bt || m && at === m - 1) && (a?.(s, z), $(nt.current, {
661
+ if ((Bt || m && ot === m - 1) && (a?.(s, z), $(rt.current, {
662
662
  opacity: `${Q}`,
663
663
  transition: "none"
664
- }, !0)), H && nt.current && v) {
665
- const q = Math.min(ht() + z * (1 - ht()), 1), gt = 8 - z * 8, jt = Math.max(0, 14 - z * 14);
664
+ }, !0)), H && rt.current && v) {
665
+ const q = Math.min(gt() + z * (1 - gt()), 1), vt = 8 - z * 8, jt = Math.max(0, 14 - z * 14);
666
666
  $(H, {
667
- borderRadius: `${gt}px`,
667
+ borderRadius: `${vt}px`,
668
668
  transform: C(c) ? `scale(${q}) translate3d(0, ${jt}px, 0)` : `scale(${q}) translate3d(${jt}px, 0, 0)`,
669
669
  transition: "none"
670
670
  }, !0);
@@ -686,23 +686,23 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
686
686
  function S() {
687
687
  if (!d.current || !y) return;
688
688
  const T = document.activeElement;
689
- if (At(T) || rt.current) {
689
+ if (At(T) || at.current) {
690
690
  var g;
691
691
  const O = ((g = window.visualViewport) == null ? void 0 : g.height) || 0, L = window.innerHeight;
692
692
  let H = L - O;
693
693
  const J = d.current.getBoundingClientRect().height || 0, z = J > L * 0.8;
694
694
  Et.current || (Et.current = J);
695
695
  const et = d.current.getBoundingClientRect().top;
696
- if (Math.abs(_t.current - H) > 60 && (rt.current = !rt.current), o && o.length > 0 && ut && at) {
697
- const Q = ut[at] || 0;
696
+ if (Math.abs(_t.current - H) > 60 && (at.current = !at.current), o && o.length > 0 && ct && ot) {
697
+ const Q = ct[ot] || 0;
698
698
  H += Q;
699
699
  }
700
- if (_t.current = H, J > O || rt.current) {
700
+ if (_t.current = H, J > O || at.current) {
701
701
  const Q = d.current.getBoundingClientRect().height;
702
702
  let q = Q;
703
703
  Q > O && (q = O - (z ? et : Mt)), E ? d.current.style.height = `${Q - Math.max(H, 0)}px` : d.current.style.height = `${Math.max(q, O - et)}px`;
704
704
  } else Te() || (d.current.style.height = `${Et.current}px`);
705
- o && o.length > 0 && !rt.current ? d.current.style.bottom = "0px" : d.current.style.bottom = `${Math.max(H, 0)}px`;
705
+ o && o.length > 0 && !at.current ? d.current.style.bottom = "0px" : d.current.style.bottom = `${Math.max(H, 0)}px`;
706
706
  }
707
707
  }
708
708
  return (s = window.visualViewport) == null || s.addEventListener("resize", S), () => {
@@ -710,32 +710,32 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
710
710
  return (T = window.visualViewport) == null ? void 0 : T.removeEventListener("resize", S);
711
711
  };
712
712
  }, [
713
- at,
713
+ ot,
714
714
  o,
715
- ut
715
+ ct
716
716
  ]);
717
- function ct(s) {
717
+ function dt(s) {
718
718
  pe(), p?.(), s || W(!1), setTimeout(() => {
719
719
  o && Lt(o[0]);
720
720
  }, x.DURATION * 1e3);
721
721
  }
722
722
  function Ut() {
723
723
  if (!d.current) return;
724
- const s = document.querySelector("[data-vaul-drawer-wrapper]"), S = yt(d.current, c);
724
+ const s = document.querySelector("[data-vaul-drawer-wrapper]"), S = bt(d.current, c);
725
725
  $(d.current, {
726
726
  transform: "translate3d(0, 0, 0)",
727
727
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`
728
- }), $(nt.current, {
728
+ }), $(rt.current, {
729
729
  transition: `opacity ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
730
730
  opacity: "1"
731
731
  }), v && S && S > 0 && _ && $(s, {
732
732
  borderRadius: `${Zt}px`,
733
733
  overflow: "hidden",
734
734
  ...C(c) ? {
735
- transform: `scale(${ht()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
735
+ transform: `scale(${gt()}) translate3d(0, calc(env(safe-area-inset-top) + 14px), 0)`,
736
736
  transformOrigin: "top"
737
737
  } : {
738
- transform: `scale(${ht()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
738
+ transform: `scale(${gt()}) translate3d(calc(env(safe-area-inset-top) + 14px), 0, 0)`,
739
739
  transformOrigin: "left"
740
740
  },
741
741
  transitionProperty: "transform, border-radius",
@@ -744,12 +744,12 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
744
744
  }, !0);
745
745
  }
746
746
  function pe() {
747
- !G || !d.current || (d.current.classList.remove($t), lt.current = !1, it(!1), Dt.current = /* @__PURE__ */ new Date());
747
+ !G || !d.current || (d.current.classList.remove($t), ut.current = !1, st(!1), Dt.current = /* @__PURE__ */ new Date());
748
748
  }
749
749
  function we(s) {
750
750
  if (!G || !d.current) return;
751
- d.current.classList.remove($t), lt.current = !1, it(!1), Dt.current = /* @__PURE__ */ new Date();
752
- const S = yt(d.current, c);
751
+ d.current.classList.remove($t), ut.current = !1, st(!1), Dt.current = /* @__PURE__ */ new Date();
752
+ const S = bt(d.current, c);
753
753
  if (!s || !Ft(s.target, !1) || !S || Number.isNaN(S) || St.current === null) return;
754
754
  const T = Dt.current.getTime() - St.current.getTime(), g = Rt.current - (C(c) ? s.pageY : s.pageX), O = Math.abs(g) / T;
755
755
  if (O > 0.05 && (Pt(!0), setTimeout(() => {
@@ -757,7 +757,7 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
757
757
  }, 200)), o) {
758
758
  le({
759
759
  draggedDistance: g * (c === "bottom" || c === "right" ? 1 : -1),
760
- closeDrawer: ct,
760
+ closeDrawer: dt,
761
761
  velocity: O,
762
762
  dismissible: h
763
763
  }), i?.(s, !0);
@@ -768,7 +768,7 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
768
768
  return;
769
769
  }
770
770
  if (O > Qt) {
771
- ct(), i?.(s, !1);
771
+ dt(), i?.(s, !1);
772
772
  return;
773
773
  }
774
774
  var L;
@@ -776,25 +776,25 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
776
776
  var J;
777
777
  const z = Math.min((J = d.current.getBoundingClientRect().width) != null ? J : 0, window.innerWidth), et = c === "left" || c === "right";
778
778
  if (Math.abs(S) >= (et ? z : H) * D) {
779
- ct(), i?.(s, !1);
779
+ dt(), i?.(s, !1);
780
780
  return;
781
781
  }
782
782
  i?.(s, !0), Ut();
783
783
  }
784
784
  r.useEffect(() => (_ && ($(document.documentElement, {
785
785
  scrollBehavior: "auto"
786
- }), wt.current = /* @__PURE__ */ new Date()), () => {
786
+ }), ht.current = /* @__PURE__ */ new Date()), () => {
787
787
  _e(document.documentElement, "scrollBehavior");
788
788
  }), [
789
789
  _
790
790
  ]);
791
791
  function he(s) {
792
- const S = s ? (window.innerWidth - bt) / window.innerWidth : 1, T = s ? -16 : 0;
792
+ const S = s ? (window.innerWidth - nt) / window.innerWidth : 1, T = s ? -nt : 0;
793
793
  Tt.current && window.clearTimeout(Tt.current), $(d.current, {
794
794
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
795
795
  transform: C(c) ? `scale(${S}) translate3d(0, ${T}px, 0)` : `scale(${S}) translate3d(${T}px, 0, 0)`
796
796
  }), !s && d.current && (Tt.current = setTimeout(() => {
797
- const g = yt(d.current, c);
797
+ const g = bt(d.current, c);
798
798
  $(d.current, {
799
799
  transition: "none",
800
800
  transform: C(c) ? `translate3d(0, ${g}px, 0)` : `translate3d(${g}px, 0, 0)`
@@ -803,14 +803,14 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
803
803
  }
804
804
  function ge(s, S) {
805
805
  if (S < 0) return;
806
- const T = (window.innerWidth - bt) / window.innerWidth, g = T + S * (1 - T), O = -16 + S * bt;
806
+ const T = (window.innerWidth - nt) / window.innerWidth, g = T + S * (1 - T), O = -nt + S * nt;
807
807
  $(d.current, {
808
808
  transform: C(c) ? `scale(${g}) translate3d(0, ${O}px, 0)` : `scale(${g}) translate3d(${O}px, 0, 0)`,
809
809
  transition: "none"
810
810
  });
811
811
  }
812
812
  function ve(s, S) {
813
- const T = C(c) ? window.innerHeight : window.innerWidth, g = S ? (T - bt) / T : 1, O = S ? -16 : 0;
813
+ const T = C(c) ? window.innerHeight : window.innerWidth, g = S ? (T - nt) / T : 1, O = S ? -nt : 0;
814
814
  S && $(d.current, {
815
815
  transition: `transform ${x.DURATION}s cubic-bezier(${x.EASE.join(",")})`,
816
816
  transform: C(c) ? `scale(${g}) translate3d(0, ${O}px, 0)` : `scale(${g}) translate3d(${O}px, 0, 0)`
@@ -825,7 +825,7 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
825
825
  ]), /* @__PURE__ */ r.createElement(Z.Root, {
826
826
  defaultOpen: Y,
827
827
  onOpenChange: (s) => {
828
- !h && !s || (s ? K(!0) : ct(!0), W(s));
828
+ !h && !s || (s ? K(!0) : dt(!0), W(s));
829
829
  },
830
830
  open: _
831
831
  }, /* @__PURE__ */ r.createElement(qt.Provider, {
@@ -834,7 +834,7 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
834
834
  snapPoints: o,
835
835
  setActiveSnapPoint: Lt,
836
836
  drawerRef: d,
837
- overlayRef: nt,
837
+ overlayRef: rt,
838
838
  onOpenChange: n,
839
839
  onPress: fe,
840
840
  onRelease: we,
@@ -845,14 +845,14 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
845
845
  isOpen: _,
846
846
  isDragging: G,
847
847
  shouldFade: Bt,
848
- closeDrawer: ct,
848
+ closeDrawer: dt,
849
849
  onNestedDrag: ge,
850
850
  onNestedOpenChange: he,
851
851
  onNestedRelease: ve,
852
- keyboardIsOpen: rt,
852
+ keyboardIsOpen: at,
853
853
  modal: F,
854
- snapPointsOffset: ut,
855
- activeSnapPointIndex: at,
854
+ snapPointsOffset: ct,
855
+ activeSnapPointIndex: ot,
856
856
  direction: c,
857
857
  shouldScaleBackground: v,
858
858
  setBackgroundColorOnScale: w,
@@ -863,7 +863,7 @@ function Ve({ open: t, onOpenChange: n, children: e, onDrag: a, onRelease: i, sn
863
863
  }, e));
864
864
  }
865
865
  const ne = /* @__PURE__ */ r.forwardRef(function({ ...t }, n) {
866
- const { overlayRef: e, snapPoints: a, onRelease: i, shouldFade: o, isOpen: v, modal: w, shouldAnimate: D } = pt(), R = Gt(n, e), h = a && a.length > 0;
866
+ const { overlayRef: e, snapPoints: a, onRelease: i, shouldFade: o, isOpen: v, modal: w, shouldAnimate: D } = wt(), R = Gt(n, e), h = a && a.length > 0;
867
867
  if (!w)
868
868
  return null;
869
869
  const f = r.useCallback((m) => i(m), [
@@ -881,7 +881,7 @@ const ne = /* @__PURE__ */ r.forwardRef(function({ ...t }, n) {
881
881
  });
882
882
  ne.displayName = "Drawer.Overlay";
883
883
  const re = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, style: n, onOpenAutoFocus: e, ...a }, i) {
884
- const { drawerRef: o, onPress: v, onRelease: w, onDrag: D, keyboardIsOpen: R, snapPointsOffset: h, activeSnapPointIndex: f, modal: m, isOpen: B, direction: k, snapPoints: E, container: F, handleOnly: p, shouldAnimate: M, autoFocus: A } = pt(), [c, Y] = r.useState(!1), tt = Gt(i, o), u = r.useRef(null), b = r.useRef(null), y = r.useRef(!1), I = E && E.length > 0;
884
+ const { drawerRef: o, onPress: v, onRelease: w, onDrag: D, keyboardIsOpen: R, snapPointsOffset: h, activeSnapPointIndex: f, modal: m, isOpen: B, direction: k, snapPoints: E, container: F, handleOnly: p, shouldAnimate: M, autoFocus: A } = wt(), [c, Y] = r.useState(!1), tt = Gt(i, o), u = r.useRef(null), b = r.useRef(null), y = r.useRef(!1), I = E && E.length > 0;
885
885
  We();
886
886
  const N = (l, U, _ = 0) => {
887
887
  if (y.current) return !0;
@@ -960,7 +960,7 @@ const re = /* @__PURE__ */ r.forwardRef(function({ onPointerDownOutside: t, styl
960
960
  });
961
961
  re.displayName = "Drawer.Content";
962
962
  const Ye = 250, qe = 120, Xe = /* @__PURE__ */ r.forwardRef(function({ preventCycle: t = !1, children: n, ...e }, a) {
963
- const { closeDrawer: i, isDragging: o, snapPoints: v, activeSnapPoint: w, setActiveSnapPoint: D, dismissible: R, handleOnly: h, isOpen: f, onPress: m, onDrag: B } = pt(), k = r.useRef(null), E = r.useRef(!1);
963
+ const { closeDrawer: i, isDragging: o, snapPoints: v, activeSnapPoint: w, setActiveSnapPoint: D, dismissible: R, handleOnly: h, isOpen: f, onPress: m, onDrag: B } = wt(), k = r.useRef(null), E = r.useRef(!1);
964
964
  function F() {
965
965
  if (E.current) {
966
966
  A();
@@ -1018,7 +1018,7 @@ const Ye = 250, qe = 120, Xe = /* @__PURE__ */ r.forwardRef(function({ preventCy
1018
1018
  });
1019
1019
  Xe.displayName = "Drawer.Handle";
1020
1020
  function Ke(t) {
1021
- const n = pt(), { container: e = n.container, ...a } = t;
1021
+ const n = wt(), { container: e = n.container, ...a } = t;
1022
1022
  return /* @__PURE__ */ r.createElement(Z.Portal, {
1023
1023
  container: e,
1024
1024
  ...a
@@ -1044,23 +1044,23 @@ const V = {
1044
1044
  }
1045
1045
  );
1046
1046
  Ge.displayName = "Drawer";
1047
- const sn = V.Trigger, Je = V.Portal, ln = V.Close, ae = mt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1047
+ const sn = V.Trigger, Je = V.Portal, ln = V.Close, ae = pt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1048
1048
  V.Overlay,
1049
1049
  {
1050
1050
  ref: e,
1051
- className: ot("fixed inset-0 z-50 bg-black/80", t),
1051
+ className: it("fixed inset-0 z-50 bg-black/80", t),
1052
1052
  ...n
1053
1053
  }
1054
1054
  ));
1055
1055
  ae.displayName = V.Overlay.displayName;
1056
- const Qe = mt.forwardRef(
1056
+ const Qe = pt.forwardRef(
1057
1057
  ({ className: t, children: n, hideBar: e = !0, ...a }, i) => /* @__PURE__ */ X.jsxs(Je, { children: [
1058
1058
  /* @__PURE__ */ X.jsx(ae, {}),
1059
1059
  /* @__PURE__ */ X.jsxs(
1060
1060
  V.Content,
1061
1061
  {
1062
1062
  ref: i,
1063
- className: ot(
1063
+ className: it(
1064
1064
  "fixed inset-x-0 bottom-0 z-50 mt-24 flex h-auto flex-col rounded-t-[10px] border bg-background",
1065
1065
  t
1066
1066
  ),
@@ -1080,7 +1080,7 @@ const Ze = ({
1080
1080
  }) => /* @__PURE__ */ X.jsx(
1081
1081
  "div",
1082
1082
  {
1083
- className: ot("grid gap-1.5 p-4 text-center sm:text-left", t),
1083
+ className: it("grid gap-1.5 p-4 text-center sm:text-left", t),
1084
1084
  ...n
1085
1085
  }
1086
1086
  );
@@ -1091,16 +1091,16 @@ const tn = ({
1091
1091
  }) => /* @__PURE__ */ X.jsx(
1092
1092
  "div",
1093
1093
  {
1094
- className: ot("mt-auto flex flex-col gap-2 p-4", t),
1094
+ className: it("mt-auto flex flex-col gap-2 p-4", t),
1095
1095
  ...n
1096
1096
  }
1097
1097
  );
1098
1098
  tn.displayName = "DrawerFooter";
1099
- const en = mt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1099
+ const en = pt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1100
1100
  V.Title,
1101
1101
  {
1102
1102
  ref: e,
1103
- className: ot(
1103
+ className: it(
1104
1104
  "text-lg font-semibold leading-none tracking-tight",
1105
1105
  t
1106
1106
  ),
@@ -1108,11 +1108,11 @@ const en = mt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1108
1108
  }
1109
1109
  ));
1110
1110
  en.displayName = V.Title.displayName;
1111
- const nn = mt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1111
+ const nn = pt.forwardRef(({ className: t, ...n }, e) => /* @__PURE__ */ X.jsx(
1112
1112
  V.Description,
1113
1113
  {
1114
1114
  ref: e,
1115
- className: ot("text-sm text-muted-foreground", t),
1115
+ className: it("text-sm text-muted-foreground", t),
1116
1116
  ...n
1117
1117
  }
1118
1118
  ));
@@ -1130,4 +1130,4 @@ export {
1130
1130
  ae as i,
1131
1131
  Je as j
1132
1132
  };
1133
- //# sourceMappingURL=Drawer-BzkOKwgC.js.map
1133
+ //# sourceMappingURL=Drawer-DJ05s2pH.js.map