zudoku 0.13.6 → 0.13.7

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 (255) hide show
  1. package/dist/app/main.js +1 -1
  2. package/dist/app/main.js.map +1 -1
  3. package/dist/lib/plugins/api-keys/CreateApiKey.js +1 -1
  4. package/dist/lib/plugins/api-keys/CreateApiKey.js.map +1 -1
  5. package/dist/lib/plugins/openapi/Sidecar.js +2 -2
  6. package/dist/lib/plugins/openapi/playground/Playground.js +1 -1
  7. package/dist/lib/plugins/openapi/playground/Playground.js.map +1 -1
  8. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js +1 -1
  9. package/dist/lib/plugins/openapi/playground/PlaygroundDialog.js.map +1 -1
  10. package/dist/lib/ui/Accordion.d.ts +7 -0
  11. package/dist/lib/ui/Accordion.js +14 -0
  12. package/dist/lib/ui/Accordion.js.map +1 -0
  13. package/dist/lib/ui/Alert.d.ts +8 -0
  14. package/dist/lib/ui/Alert.js +23 -0
  15. package/dist/lib/ui/Alert.js.map +1 -0
  16. package/dist/lib/ui/AlertDialog.d.ts +20 -0
  17. package/dist/lib/ui/AlertDialog.js +27 -0
  18. package/dist/lib/ui/AlertDialog.js.map +1 -0
  19. package/dist/lib/ui/AspectRatio.d.ts +3 -0
  20. package/dist/lib/ui/AspectRatio.js +4 -0
  21. package/dist/lib/ui/AspectRatio.js.map +1 -0
  22. package/dist/lib/ui/Badge.d.ts +9 -0
  23. package/dist/lib/ui/Badge.js +21 -0
  24. package/dist/lib/ui/Badge.js.map +1 -0
  25. package/dist/lib/ui/Breadcrumb.d.ts +19 -0
  26. package/dist/lib/ui/Breadcrumb.js +24 -0
  27. package/dist/lib/ui/Breadcrumb.js.map +1 -0
  28. package/dist/lib/ui/Button.d.ts +1 -2
  29. package/dist/lib/ui/Button.js +1 -1
  30. package/dist/lib/ui/Button.js.map +1 -1
  31. package/dist/lib/ui/Carousel.d.ts +18 -0
  32. package/dist/lib/ui/Carousel.js +99 -0
  33. package/dist/lib/ui/Carousel.js.map +1 -0
  34. package/dist/lib/ui/Checkbox.d.ts +4 -0
  35. package/dist/lib/ui/Checkbox.js +9 -0
  36. package/dist/lib/ui/Checkbox.js.map +1 -0
  37. package/dist/lib/ui/Collapsible.d.ts +5 -0
  38. package/dist/lib/ui/Collapsible.js +6 -0
  39. package/dist/lib/ui/Collapsible.js.map +1 -0
  40. package/dist/lib/{components → ui}/Dialog.js +2 -2
  41. package/dist/lib/ui/Dialog.js.map +1 -0
  42. package/dist/lib/ui/Form.d.ts +23 -0
  43. package/dist/lib/ui/Form.js +63 -0
  44. package/dist/lib/ui/Form.js.map +1 -0
  45. package/dist/lib/ui/HoverCard.d.ts +6 -0
  46. package/dist/lib/ui/HoverCard.js +10 -0
  47. package/dist/lib/ui/HoverCard.js.map +1 -0
  48. package/dist/lib/ui/Label.d.ts +5 -0
  49. package/dist/lib/ui/Label.js +10 -0
  50. package/dist/lib/ui/Label.js.map +1 -0
  51. package/dist/lib/ui/Pagination.d.ts +28 -0
  52. package/dist/lib/ui/Pagination.js +24 -0
  53. package/dist/lib/ui/Pagination.js.map +1 -0
  54. package/dist/lib/ui/Popover.d.ts +6 -0
  55. package/dist/lib/ui/Popover.js +10 -0
  56. package/dist/lib/ui/Popover.js.map +1 -0
  57. package/dist/lib/ui/Progress.d.ts +4 -0
  58. package/dist/lib/ui/Progress.js +8 -0
  59. package/dist/lib/ui/Progress.js.map +1 -0
  60. package/dist/lib/ui/RadioGroup.d.ts +5 -0
  61. package/dist/lib/ui/RadioGroup.js +15 -0
  62. package/dist/lib/ui/RadioGroup.js.map +1 -0
  63. package/dist/lib/ui/ScrollArea.d.ts +5 -0
  64. package/dist/lib/ui/ScrollArea.js +12 -0
  65. package/dist/lib/ui/ScrollArea.js.map +1 -0
  66. package/dist/lib/ui/Select.js.map +1 -0
  67. package/dist/lib/ui/Skeleton.d.ts +2 -0
  68. package/dist/lib/ui/Skeleton.js +7 -0
  69. package/dist/lib/ui/Skeleton.js.map +1 -0
  70. package/dist/lib/ui/Slider.d.ts +4 -0
  71. package/dist/lib/ui/Slider.js +8 -0
  72. package/dist/lib/ui/Slider.js.map +1 -0
  73. package/dist/lib/ui/Switch.d.ts +4 -0
  74. package/dist/lib/ui/Switch.js +8 -0
  75. package/dist/lib/ui/Switch.js.map +1 -0
  76. package/dist/lib/ui/Textarea.d.ts +4 -0
  77. package/dist/lib/ui/Textarea.js +9 -0
  78. package/dist/lib/ui/Textarea.js.map +1 -0
  79. package/dist/lib/ui/Toggle.d.ts +12 -0
  80. package/dist/lib/ui/Toggle.js +26 -0
  81. package/dist/lib/ui/Toggle.js.map +1 -0
  82. package/dist/lib/ui/ToggleGroup.d.ts +12 -0
  83. package/dist/lib/ui/ToggleGroup.js +21 -0
  84. package/dist/lib/ui/ToggleGroup.js.map +1 -0
  85. package/dist/lib/ui/Tooltip.d.ts +7 -0
  86. package/dist/lib/ui/Tooltip.js +11 -0
  87. package/dist/lib/ui/Tooltip.js.map +1 -0
  88. package/dist/vite/plugin-component.js +17 -7
  89. package/dist/vite/plugin-component.js.map +1 -1
  90. package/lib/{AuthenticationPlugin-tBvLKsFg.js → AuthenticationPlugin-Bpdes0cJ.js} +2 -2
  91. package/lib/{AuthenticationPlugin-tBvLKsFg.js.map → AuthenticationPlugin-Bpdes0cJ.js.map} +1 -1
  92. package/lib/{CategoryHeading-D2WS6sRI.js → CategoryHeading-Bb9dqxD3.js} +4 -4
  93. package/lib/{CategoryHeading-D2WS6sRI.js.map → CategoryHeading-Bb9dqxD3.js.map} +1 -1
  94. package/lib/{DeveloperHint-CRiZjqd2.js → DeveloperHint-DHdLXGHA.js} +2 -2
  95. package/lib/{DeveloperHint-CRiZjqd2.js.map → DeveloperHint-DHdLXGHA.js.map} +1 -1
  96. package/lib/{Markdown-DM4zv3MA.js → Markdown-1BO9EA_X.js} +4265 -6650
  97. package/lib/Markdown-1BO9EA_X.js.map +1 -0
  98. package/lib/{MdxPage-tWI_P8wP.js → MdxPage-BEOcOICU.js} +26 -25
  99. package/lib/{MdxPage-tWI_P8wP.js.map → MdxPage-BEOcOICU.js.map} +1 -1
  100. package/lib/{OperationList-Cd3lue0b.js → OperationList-Cea2Yt8e.js} +131 -127
  101. package/lib/{OperationList-Cd3lue0b.js.map → OperationList-Cea2Yt8e.js.map} +1 -1
  102. package/lib/{Route-DI0Y0pIV.js → Route-BHT-onwf.js} +2 -2
  103. package/lib/{Route-DI0Y0pIV.js.map → Route-BHT-onwf.js.map} +1 -1
  104. package/lib/Select-m1aXZGAP.js +223 -0
  105. package/lib/Select-m1aXZGAP.js.map +1 -0
  106. package/lib/{SlotletProvider-CBqY8mp6.js → SlotletProvider-CPfsBw39.js} +4 -4
  107. package/lib/{SlotletProvider-CBqY8mp6.js.map → SlotletProvider-CPfsBw39.js.map} +1 -1
  108. package/lib/Spinner-C6zroowC.js +40 -0
  109. package/lib/Spinner-C6zroowC.js.map +1 -0
  110. package/lib/StaggeredRender-DDHSzQKE.js +17 -0
  111. package/lib/StaggeredRender-DDHSzQKE.js.map +1 -0
  112. package/lib/{ZudokuContext-DEoP3GGJ.js → ZudokuContext-D1D8Anlj.js} +19 -19
  113. package/lib/{ZudokuContext-DEoP3GGJ.js.map → ZudokuContext-D1D8Anlj.js.map} +1 -1
  114. package/lib/cn-BmFQLtkS.js +2279 -0
  115. package/lib/cn-BmFQLtkS.js.map +1 -0
  116. package/lib/hook-JSRuxV1P.js +229 -0
  117. package/lib/hook-JSRuxV1P.js.map +1 -0
  118. package/lib/index-BuAyrJe3.js +46 -0
  119. package/lib/index-BuAyrJe3.js.map +1 -0
  120. package/lib/{index-Bs9roz8y.js → index-Cj-F-4ME.js} +1203 -1428
  121. package/lib/index-Cj-F-4ME.js.map +1 -0
  122. package/lib/index.esm-C5mr_sKO.js +1193 -0
  123. package/lib/index.esm-C5mr_sKO.js.map +1 -0
  124. package/lib/ui/Accordion.js +47 -0
  125. package/lib/ui/Accordion.js.map +1 -0
  126. package/lib/ui/Alert.js +51 -0
  127. package/lib/ui/Alert.js.map +1 -0
  128. package/lib/ui/AlertDialog.js +114 -0
  129. package/lib/ui/AlertDialog.js.map +1 -0
  130. package/lib/ui/AspectRatio.js +6 -0
  131. package/lib/ui/AspectRatio.js.map +1 -0
  132. package/lib/ui/Badge.js +27 -0
  133. package/lib/ui/Badge.js.map +1 -0
  134. package/lib/ui/Breadcrumb.js +94 -0
  135. package/lib/ui/Breadcrumb.js.map +1 -0
  136. package/lib/ui/Button.js +49 -0
  137. package/lib/ui/Button.js.map +1 -0
  138. package/lib/ui/Callout.js +77 -0
  139. package/lib/ui/Callout.js.map +1 -0
  140. package/lib/ui/Card.js +62 -0
  141. package/lib/ui/Card.js.map +1 -0
  142. package/lib/ui/Carousel.js +1410 -0
  143. package/lib/ui/Carousel.js.map +1 -0
  144. package/lib/ui/Checkbox.js +28 -0
  145. package/lib/ui/Checkbox.js.map +1 -0
  146. package/lib/ui/Collapsible.js +8 -0
  147. package/lib/ui/Collapsible.js.map +1 -0
  148. package/lib/ui/Dialog.js +101 -0
  149. package/lib/ui/Dialog.js.map +1 -0
  150. package/lib/ui/Drawer.js +1153 -0
  151. package/lib/ui/Drawer.js.map +1 -0
  152. package/lib/ui/DropdownMenu.js +145 -0
  153. package/lib/ui/DropdownMenu.js.map +1 -0
  154. package/lib/ui/Form.js +95 -0
  155. package/lib/ui/Form.js.map +1 -0
  156. package/lib/ui/HoverCard.js +24 -0
  157. package/lib/ui/HoverCard.js.map +1 -0
  158. package/lib/ui/Input.js +22 -0
  159. package/lib/ui/Input.js.map +1 -0
  160. package/lib/ui/Label.js +20 -0
  161. package/lib/ui/Label.js.map +1 -0
  162. package/lib/ui/Note.js +51 -0
  163. package/lib/ui/Note.js.map +1 -0
  164. package/lib/ui/Pagination.js +106 -0
  165. package/lib/ui/Pagination.js.map +1 -0
  166. package/lib/ui/Popover.js +24 -0
  167. package/lib/ui/Popover.js.map +1 -0
  168. package/lib/ui/Progress.js +27 -0
  169. package/lib/ui/Progress.js.map +1 -0
  170. package/lib/ui/RadioGroup.js +32 -0
  171. package/lib/ui/RadioGroup.js.map +1 -0
  172. package/lib/ui/ScrollArea.js +39 -0
  173. package/lib/ui/ScrollArea.js.map +1 -0
  174. package/lib/ui/Select.js +122 -0
  175. package/lib/ui/Select.js.map +1 -0
  176. package/lib/ui/Skeleton.js +18 -0
  177. package/lib/ui/Skeleton.js.map +1 -0
  178. package/lib/ui/Slider.js +24 -0
  179. package/lib/ui/Slider.js.map +1 -0
  180. package/lib/ui/Switch.js +28 -0
  181. package/lib/ui/Switch.js.map +1 -0
  182. package/lib/ui/Tabs.js +47 -0
  183. package/lib/ui/Tabs.js.map +1 -0
  184. package/lib/ui/Textarea.js +21 -0
  185. package/lib/ui/Textarea.js.map +1 -0
  186. package/lib/ui/Toggle.js +38 -0
  187. package/lib/ui/Toggle.js.map +1 -0
  188. package/lib/ui/ToggleGroup.js +42 -0
  189. package/lib/ui/ToggleGroup.js.map +1 -0
  190. package/lib/ui/Tooltip.js +24 -0
  191. package/lib/ui/Tooltip.js.map +1 -0
  192. package/lib/{utils-G5XSiZc9.js → utils-B2yoT99j.js} +61 -61
  193. package/lib/{utils-G5XSiZc9.js.map → utils-B2yoT99j.js.map} +1 -1
  194. package/lib/zudoku.auth-clerk.js +1 -1
  195. package/lib/zudoku.auth-openid.js +2 -2
  196. package/lib/zudoku.components.js +847 -2844
  197. package/lib/zudoku.components.js.map +1 -1
  198. package/lib/zudoku.plugin-api-keys.js +22 -19
  199. package/lib/zudoku.plugin-api-keys.js.map +1 -1
  200. package/lib/zudoku.plugin-custom-pages.js +14 -13
  201. package/lib/zudoku.plugin-custom-pages.js.map +1 -1
  202. package/lib/zudoku.plugin-markdown.js +1 -1
  203. package/lib/zudoku.plugin-openapi.js +6 -5
  204. package/lib/zudoku.plugin-openapi.js.map +1 -1
  205. package/package.json +28 -6
  206. package/src/app/main.tsx +1 -1
  207. package/src/lib/plugins/api-keys/CreateApiKey.tsx +2 -2
  208. package/src/lib/plugins/openapi/Sidecar.tsx +2 -2
  209. package/src/lib/plugins/openapi/playground/Playground.tsx +3 -3
  210. package/src/lib/plugins/openapi/playground/PlaygroundDialog.tsx +1 -1
  211. package/src/lib/ui/Accordion.tsx +56 -0
  212. package/src/lib/ui/Alert.tsx +59 -0
  213. package/src/lib/ui/AlertDialog.tsx +139 -0
  214. package/src/lib/ui/AspectRatio.tsx +5 -0
  215. package/src/lib/ui/Badge.tsx +36 -0
  216. package/src/lib/ui/Breadcrumb.tsx +115 -0
  217. package/src/lib/ui/Button.tsx +1 -1
  218. package/src/lib/ui/Carousel.tsx +260 -0
  219. package/src/lib/ui/Checkbox.tsx +28 -0
  220. package/src/lib/ui/Collapsible.tsx +9 -0
  221. package/src/lib/{components → ui}/Dialog.tsx +4 -3
  222. package/src/lib/ui/Form.tsx +177 -0
  223. package/src/lib/ui/HoverCard.tsx +27 -0
  224. package/src/lib/ui/Label.tsx +24 -0
  225. package/src/lib/ui/Pagination.tsx +117 -0
  226. package/src/lib/ui/Popover.tsx +29 -0
  227. package/src/lib/ui/Progress.tsx +26 -0
  228. package/src/lib/ui/RadioGroup.tsx +42 -0
  229. package/src/lib/ui/ScrollArea.tsx +46 -0
  230. package/src/lib/ui/Skeleton.tsx +15 -0
  231. package/src/lib/ui/Slider.tsx +26 -0
  232. package/src/lib/ui/Switch.tsx +27 -0
  233. package/src/lib/ui/Textarea.tsx +23 -0
  234. package/src/lib/ui/Toggle.tsx +43 -0
  235. package/src/lib/ui/ToggleGroup.tsx +59 -0
  236. package/src/lib/ui/Tooltip.tsx +28 -0
  237. package/dist/internal.d.ts +0 -1
  238. package/dist/internal.js +0 -2
  239. package/dist/internal.js.map +0 -1
  240. package/dist/lib/components/Dialog.js.map +0 -1
  241. package/dist/lib/components/Select.js.map +0 -1
  242. package/lib/Input-CO-1DOZa.js +0 -2229
  243. package/lib/Input-CO-1DOZa.js.map +0 -1
  244. package/lib/Markdown-DM4zv3MA.js.map +0 -1
  245. package/lib/Spinner-DFQhPMBl.js +0 -505
  246. package/lib/Spinner-DFQhPMBl.js.map +0 -1
  247. package/lib/index-Bs9roz8y.js.map +0 -1
  248. package/lib/index-CBr6BM_4.js +0 -2867
  249. package/lib/index-CBr6BM_4.js.map +0 -1
  250. package/lib/index-UUT9q9f9.js +0 -124
  251. package/lib/index-UUT9q9f9.js.map +0 -1
  252. /package/dist/lib/{components → ui}/Dialog.d.ts +0 -0
  253. /package/dist/lib/{components → ui}/Select.d.ts +0 -0
  254. /package/dist/lib/{components → ui}/Select.js +0 -0
  255. /package/src/lib/{components → ui}/Select.tsx +0 -0
package/lib/ui/Tabs.js ADDED
@@ -0,0 +1,47 @@
1
+ import { j as a } from "../jsx-runtime-B6kdoens.js";
2
+ import * as e from "@radix-ui/react-tabs";
3
+ import * as o from "react";
4
+ import { c as n } from "../cn-BmFQLtkS.js";
5
+ const m = e.Root, r = o.forwardRef(({ className: i, ...s }, t) => /* @__PURE__ */ a.jsx(
6
+ e.List,
7
+ {
8
+ ref: t,
9
+ className: n(
10
+ "inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground",
11
+ i
12
+ ),
13
+ ...s
14
+ }
15
+ ));
16
+ r.displayName = e.List.displayName;
17
+ const f = o.forwardRef(({ className: i, ...s }, t) => /* @__PURE__ */ a.jsx(
18
+ e.Trigger,
19
+ {
20
+ ref: t,
21
+ className: n(
22
+ "inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow",
23
+ i
24
+ ),
25
+ ...s
26
+ }
27
+ ));
28
+ f.displayName = e.Trigger.displayName;
29
+ const c = o.forwardRef(({ className: i, ...s }, t) => /* @__PURE__ */ a.jsx(
30
+ e.Content,
31
+ {
32
+ ref: t,
33
+ className: n(
34
+ "mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2",
35
+ i
36
+ ),
37
+ ...s
38
+ }
39
+ ));
40
+ c.displayName = e.Content.displayName;
41
+ export {
42
+ m as Tabs,
43
+ c as TabsContent,
44
+ r as TabsList,
45
+ f as TabsTrigger
46
+ };
47
+ //# sourceMappingURL=Tabs.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tabs.js","sources":["../../src/lib/ui/Tabs.tsx"],"sourcesContent":["import * as TabsPrimitive from \"@radix-ui/react-tabs\";\nimport * as React from \"react\";\nimport { cn } from \"../util/cn.js\";\n\nconst Tabs = TabsPrimitive.Root;\n\nconst TabsList = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.List>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.List>\n>(({ className, ...props }, ref) => (\n <TabsPrimitive.List\n ref={ref}\n className={cn(\n \"inline-flex h-9 items-center justify-center rounded-lg bg-muted p-1 text-muted-foreground\",\n className,\n )}\n {...props}\n />\n));\nTabsList.displayName = TabsPrimitive.List.displayName;\n\nconst TabsTrigger = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Trigger>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Trigger>\n>(({ className, ...props }, ref) => (\n <TabsPrimitive.Trigger\n ref={ref}\n className={cn(\n \"inline-flex items-center justify-center whitespace-nowrap rounded-md px-3 py-1 text-sm font-medium ring-offset-background transition-all focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=active]:bg-background data-[state=active]:text-foreground data-[state=active]:shadow\",\n className,\n )}\n {...props}\n />\n));\nTabsTrigger.displayName = TabsPrimitive.Trigger.displayName;\n\nconst TabsContent = React.forwardRef<\n React.ElementRef<typeof TabsPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TabsPrimitive.Content>\n>(({ className, ...props }, ref) => (\n <TabsPrimitive.Content\n ref={ref}\n className={cn(\n \"mt-2 ring-offset-background focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2\",\n className,\n )}\n {...props}\n />\n));\nTabsContent.displayName = TabsPrimitive.Content.displayName;\n\nexport { Tabs, TabsContent, TabsList, TabsTrigger };\n"],"names":["Tabs","TabsPrimitive","TabsList","React","className","props","ref","jsx","cn","TabsTrigger","TabsContent"],"mappings":";;;;AAIA,MAAMA,IAAOC,EAAc,MAErBC,IAAWC,EAAM,WAGrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACN,EAAc;AAAA,EAAd;AAAA,IACC,KAAAK;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDH,EAAS,cAAcD,EAAc,KAAK;AAEpC,MAAAQ,IAAcN,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACN,EAAc;AAAA,EAAd;AAAA,IACC,KAAAK;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDI,EAAY,cAAcR,EAAc,QAAQ;AAE1C,MAAAS,IAAcP,EAAM,WAGxB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAM,GAAGC,MAC1BC,gBAAAA,EAAA;AAAA,EAACN,EAAc;AAAA,EAAd;AAAA,IACC,KAAAK;AAAA,IACA,WAAWE;AAAA,MACT;AAAA,MACAJ;AAAA,IACF;AAAA,IACC,GAAGC;AAAA,EAAA;AACN,CACD;AACDK,EAAY,cAAcT,EAAc,QAAQ;"}
@@ -0,0 +1,21 @@
1
+ import { j as t } from "../jsx-runtime-B6kdoens.js";
2
+ import * as s from "react";
3
+ import { c as i } from "../cn-BmFQLtkS.js";
4
+ const a = s.forwardRef(
5
+ ({ className: e, ...r }, o) => /* @__PURE__ */ t.jsx(
6
+ "textarea",
7
+ {
8
+ className: i(
9
+ "flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm",
10
+ e
11
+ ),
12
+ ref: o,
13
+ ...r
14
+ }
15
+ )
16
+ );
17
+ a.displayName = "Textarea";
18
+ export {
19
+ a as Textarea
20
+ };
21
+ //# sourceMappingURL=Textarea.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Textarea.js","sources":["../../src/lib/ui/Textarea.tsx"],"sourcesContent":["import * as React from \"react\";\n\nimport { cn } from \"../util/cn.js\";\n\nexport type TextareaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement>;\n\nconst Textarea = React.forwardRef<HTMLTextAreaElement, TextareaProps>(\n ({ className, ...props }, ref) => {\n return (\n <textarea\n className={cn(\n \"flex min-h-[80px] w-full rounded-md border border-input bg-background px-3 py-2 text-base ring-offset-background placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50 md:text-sm\",\n className,\n )}\n ref={ref}\n {...props}\n />\n );\n },\n);\nTextarea.displayName = \"Textarea\";\n\nexport { Textarea };\n"],"names":["Textarea","React","className","props","ref","jsx","cn"],"mappings":";;;AAMA,MAAMA,IAAWC,EAAM;AAAA,EACrB,CAAC,EAAE,WAAAC,GAAW,GAAGC,EAAA,GAASC,MAEtBC,gBAAAA,EAAA;AAAA,IAAC;AAAA,IAAA;AAAA,MACC,WAAWC;AAAA,QACT;AAAA,QACAJ;AAAA,MACF;AAAA,MACA,KAAAE;AAAA,MACC,GAAGD;AAAA,IAAA;AAAA,EAAA;AAIZ;AACAH,EAAS,cAAc;"}
@@ -0,0 +1,38 @@
1
+ import { j as a } from "../jsx-runtime-B6kdoens.js";
2
+ import * as e from "@radix-ui/react-toggle";
3
+ import { c as s } from "../index-BuAyrJe3.js";
4
+ import * as d from "react";
5
+ import { c as f } from "../cn-BmFQLtkS.js";
6
+ const m = s(
7
+ "inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2",
8
+ {
9
+ variants: {
10
+ variant: {
11
+ default: "bg-transparent",
12
+ outline: "border border-input bg-transparent hover:bg-accent hover:text-accent-foreground"
13
+ },
14
+ size: {
15
+ default: "h-10 px-3 min-w-10",
16
+ sm: "h-9 px-2.5 min-w-9",
17
+ lg: "h-11 px-5 min-w-11"
18
+ }
19
+ },
20
+ defaultVariants: {
21
+ variant: "default",
22
+ size: "default"
23
+ }
24
+ }
25
+ ), c = d.forwardRef(({ className: t, variant: o, size: n, ...r }, i) => /* @__PURE__ */ a.jsx(
26
+ e.Root,
27
+ {
28
+ ref: i,
29
+ className: f(m({ variant: o, size: n, className: t })),
30
+ ...r
31
+ }
32
+ ));
33
+ c.displayName = e.Root.displayName;
34
+ export {
35
+ c as Toggle,
36
+ m as toggleVariants
37
+ };
38
+ //# sourceMappingURL=Toggle.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Toggle.js","sources":["../../src/lib/ui/Toggle.tsx"],"sourcesContent":["import * as TogglePrimitive from \"@radix-ui/react-toggle\";\nimport { cva, type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../util/cn.js\";\n\nconst toggleVariants = cva(\n \"inline-flex items-center justify-center rounded-md text-sm font-medium ring-offset-background transition-colors hover:bg-muted hover:text-muted-foreground focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:pointer-events-none disabled:opacity-50 data-[state=on]:bg-accent data-[state=on]:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:size-4 [&_svg]:shrink-0 gap-2\",\n {\n variants: {\n variant: {\n default: \"bg-transparent\",\n outline:\n \"border border-input bg-transparent hover:bg-accent hover:text-accent-foreground\",\n },\n size: {\n default: \"h-10 px-3 min-w-10\",\n sm: \"h-9 px-2.5 min-w-9\",\n lg: \"h-11 px-5 min-w-11\",\n },\n },\n defaultVariants: {\n variant: \"default\",\n size: \"default\",\n },\n },\n);\n\nconst Toggle = React.forwardRef<\n React.ElementRef<typeof TogglePrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof TogglePrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, ...props }, ref) => (\n <TogglePrimitive.Root\n ref={ref}\n className={cn(toggleVariants({ variant, size, className }))}\n {...props}\n />\n));\n\nToggle.displayName = TogglePrimitive.Root.displayName;\n\nexport { Toggle, toggleVariants };\n"],"names":["toggleVariants","cva","Toggle","React","className","variant","size","props","ref","jsx","TogglePrimitive","cn"],"mappings":";;;;;AAMA,MAAMA,IAAiBC;AAAA,EACrB;AAAA,EACA;AAAA,IACE,UAAU;AAAA,MACR,SAAS;AAAA,QACP,SAAS;AAAA,QACT,SACE;AAAA,MACJ;AAAA,MACA,MAAM;AAAA,QACJ,SAAS;AAAA,QACT,IAAI;AAAA,QACJ,IAAI;AAAA,MACN;AAAA,IACF;AAAA,IACA,iBAAiB;AAAA,MACf,SAAS;AAAA,MACT,MAAM;AAAA,IACR;AAAA,EACF;AACF,GAEMC,IAASC,EAAM,WAInB,CAAC,EAAE,WAAAC,GAAW,SAAAC,GAAS,MAAAC,GAAM,GAAGC,KAASC,MACzCC,gBAAAA,EAAA;AAAA,EAACC,EAAgB;AAAA,EAAhB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAGX,EAAe,EAAE,SAAAK,GAAS,MAAAC,GAAM,WAAAF,EAAA,CAAW,CAAC;AAAA,IACzD,GAAGG;AAAA,EAAA;AACN,CACD;AAEDL,EAAO,cAAcQ,EAAgB,KAAK;"}
@@ -0,0 +1,42 @@
1
+ import { j as n } from "../jsx-runtime-B6kdoens.js";
2
+ import * as t from "@radix-ui/react-toggle-group";
3
+ import * as e from "react";
4
+ import { c as p } from "../cn-BmFQLtkS.js";
5
+ import { toggleVariants as f } from "./Toggle.js";
6
+ const c = e.createContext({
7
+ size: "default",
8
+ variant: "default"
9
+ }), g = e.forwardRef(({ className: o, variant: r, size: a, children: s, ...i }, m) => /* @__PURE__ */ n.jsx(
10
+ t.Root,
11
+ {
12
+ ref: m,
13
+ className: p("flex items-center justify-center gap-1", o),
14
+ ...i,
15
+ children: /* @__PURE__ */ n.jsx(c.Provider, { value: { variant: r, size: a }, children: s })
16
+ }
17
+ ));
18
+ g.displayName = t.Root.displayName;
19
+ const u = e.forwardRef(({ className: o, children: r, variant: a, size: s, ...i }, m) => {
20
+ const l = e.useContext(c);
21
+ return /* @__PURE__ */ n.jsx(
22
+ t.Item,
23
+ {
24
+ ref: m,
25
+ className: p(
26
+ f({
27
+ variant: l.variant || a,
28
+ size: l.size || s
29
+ }),
30
+ o
31
+ ),
32
+ ...i,
33
+ children: r
34
+ }
35
+ );
36
+ });
37
+ u.displayName = t.Item.displayName;
38
+ export {
39
+ g as ToggleGroup,
40
+ u as ToggleGroupItem
41
+ };
42
+ //# sourceMappingURL=ToggleGroup.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ToggleGroup.js","sources":["../../src/lib/ui/ToggleGroup.tsx"],"sourcesContent":["import * as ToggleGroupPrimitive from \"@radix-ui/react-toggle-group\";\nimport { type VariantProps } from \"class-variance-authority\";\nimport * as React from \"react\";\n\nimport { cn } from \"../util/cn.js\";\nimport { toggleVariants } from \"./Toggle.js\";\n\nconst ToggleGroupContext = React.createContext<\n VariantProps<typeof toggleVariants>\n>({\n size: \"default\",\n variant: \"default\",\n});\n\nconst ToggleGroup = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Root>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Root> &\n VariantProps<typeof toggleVariants>\n>(({ className, variant, size, children, ...props }, ref) => (\n <ToggleGroupPrimitive.Root\n ref={ref}\n className={cn(\"flex items-center justify-center gap-1\", className)}\n {...props}\n >\n <ToggleGroupContext.Provider value={{ variant, size }}>\n {children}\n </ToggleGroupContext.Provider>\n </ToggleGroupPrimitive.Root>\n));\n\nToggleGroup.displayName = ToggleGroupPrimitive.Root.displayName;\n\nconst ToggleGroupItem = React.forwardRef<\n React.ElementRef<typeof ToggleGroupPrimitive.Item>,\n React.ComponentPropsWithoutRef<typeof ToggleGroupPrimitive.Item> &\n VariantProps<typeof toggleVariants>\n>(({ className, children, variant, size, ...props }, ref) => {\n const context = React.useContext(ToggleGroupContext);\n\n return (\n <ToggleGroupPrimitive.Item\n ref={ref}\n className={cn(\n toggleVariants({\n variant: context.variant || variant,\n size: context.size || size,\n }),\n className,\n )}\n {...props}\n >\n {children}\n </ToggleGroupPrimitive.Item>\n );\n});\n\nToggleGroupItem.displayName = ToggleGroupPrimitive.Item.displayName;\n\nexport { ToggleGroup, ToggleGroupItem };\n"],"names":["ToggleGroupContext","React","ToggleGroup","className","variant","size","children","props","ref","jsx","ToggleGroupPrimitive","cn","ToggleGroupItem","context","toggleVariants"],"mappings":";;;;;AAOA,MAAMA,IAAqBC,EAAM,cAE/B;AAAA,EACA,MAAM;AAAA,EACN,SAAS;AACX,CAAC,GAEKC,IAAcD,EAAM,WAIxB,CAAC,EAAE,WAAAE,GAAW,SAAAC,GAAS,MAAAC,GAAM,UAAAC,GAAU,GAAGC,EAAM,GAAGC,MACnDC,gBAAAA,EAAA;AAAA,EAACC,EAAqB;AAAA,EAArB;AAAA,IACC,KAAAF;AAAA,IACA,WAAWG,EAAG,0CAA0CR,CAAS;AAAA,IAChE,GAAGI;AAAA,IAEJ,UAAAE,gBAAAA,EAAAA,IAACT,EAAmB,UAAnB,EAA4B,OAAO,EAAE,SAAAI,GAAS,MAAAC,KAC5C,UAAAC,GACH;AAAA,EAAA;AACF,CACD;AAEDJ,EAAY,cAAcQ,EAAqB,KAAK;AAEpD,MAAME,IAAkBX,EAAM,WAI5B,CAAC,EAAE,WAAAE,GAAW,UAAAG,GAAU,SAAAF,GAAS,MAAAC,GAAM,GAAGE,EAAM,GAAGC,MAAQ;AACrD,QAAAK,IAAUZ,EAAM,WAAWD,CAAkB;AAGjD,SAAAS,gBAAAA,EAAA;AAAA,IAACC,EAAqB;AAAA,IAArB;AAAA,MACC,KAAAF;AAAA,MACA,WAAWG;AAAA,QACTG,EAAe;AAAA,UACb,SAASD,EAAQ,WAAWT;AAAA,UAC5B,MAAMS,EAAQ,QAAQR;AAAA,QAAA,CACvB;AAAA,QACDF;AAAA,MACF;AAAA,MACC,GAAGI;AAAA,MAEH,UAAAD;AAAA,IAAA;AAAA,EAAA;AAGP,CAAC;AAEDM,EAAgB,cAAcF,EAAqB,KAAK;"}
@@ -0,0 +1,24 @@
1
+ import { j as r } from "../jsx-runtime-B6kdoens.js";
2
+ import * as o from "@radix-ui/react-tooltip";
3
+ import * as d from "react";
4
+ import { c as s } from "../cn-BmFQLtkS.js";
5
+ const l = o.Provider, f = o.Root, c = o.Trigger, m = d.forwardRef(({ className: t, sideOffset: e = 4, ...i }, a) => /* @__PURE__ */ r.jsx(
6
+ o.Content,
7
+ {
8
+ ref: a,
9
+ sideOffset: e,
10
+ className: s(
11
+ "z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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",
12
+ t
13
+ ),
14
+ ...i
15
+ }
16
+ ));
17
+ m.displayName = o.Content.displayName;
18
+ export {
19
+ f as Tooltip,
20
+ m as TooltipContent,
21
+ l as TooltipProvider,
22
+ c as TooltipTrigger
23
+ };
24
+ //# sourceMappingURL=Tooltip.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Tooltip.js","sources":["../../src/lib/ui/Tooltip.tsx"],"sourcesContent":["import * as TooltipPrimitive from \"@radix-ui/react-tooltip\";\nimport * as React from \"react\";\n\nimport { cn } from \"../util/cn.js\";\n\nconst TooltipProvider = TooltipPrimitive.Provider;\n\nconst Tooltip = TooltipPrimitive.Root;\n\nconst TooltipTrigger = TooltipPrimitive.Trigger;\n\nconst TooltipContent = React.forwardRef<\n React.ElementRef<typeof TooltipPrimitive.Content>,\n React.ComponentPropsWithoutRef<typeof TooltipPrimitive.Content>\n>(({ className, sideOffset = 4, ...props }, ref) => (\n <TooltipPrimitive.Content\n ref={ref}\n sideOffset={sideOffset}\n className={cn(\n \"z-50 overflow-hidden rounded-md border bg-popover px-3 py-1.5 text-sm text-popover-foreground shadow-md animate-in fade-in-0 zoom-in-95 data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-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\",\n className,\n )}\n {...props}\n />\n));\nTooltipContent.displayName = TooltipPrimitive.Content.displayName;\n\nexport { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };\n"],"names":["TooltipProvider","TooltipPrimitive","Tooltip","TooltipTrigger","TooltipContent","React","className","sideOffset","props","ref","jsx","cn"],"mappings":";;;;AAKA,MAAMA,IAAkBC,EAAiB,UAEnCC,IAAUD,EAAiB,MAE3BE,IAAiBF,EAAiB,SAElCG,IAAiBC,EAAM,WAG3B,CAAC,EAAE,WAAAC,GAAW,YAAAC,IAAa,GAAG,GAAGC,KAASC,MAC1CC,gBAAAA,EAAA;AAAA,EAACT,EAAiB;AAAA,EAAjB;AAAA,IACC,KAAAQ;AAAA,IACA,YAAAF;AAAA,IACA,WAAWI;AAAA,MACT;AAAA,MACAL;AAAA,IACF;AAAA,IACC,GAAGE;AAAA,EAAA;AACN,CACD;AACDJ,EAAe,cAAcH,EAAiB,QAAQ;"}
@@ -1,12 +1,12 @@
1
- var ce = Object.defineProperty;
2
- var le = (e, t, r) => t in e ? ce(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
- var T = (e, t, r) => le(e, typeof t != "symbol" ? t + "" : t, r);
1
+ var le = Object.defineProperty;
2
+ var ce = (e, t, r) => t in e ? le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
3
+ var T = (e, t, r) => ce(e, typeof t != "symbol" ? t + "" : t, r);
4
4
  import h, { Component as U } from "react";
5
5
  import { g as q } from "./_commonjsHelpers-BkfeUUK-.js";
6
6
  import { j as ue } from "./jsx-runtime-B6kdoens.js";
7
7
  import { u as $, L as fe } from "./index-CRo94sKK.js";
8
8
  import { j as S } from "./joinPath-B7kNnUX4.js";
9
- import { c as K, u as Q } from "./ZudokuContext-DEoP3GGJ.js";
9
+ import { f as K, u as Q } from "./ZudokuContext-D1D8Anlj.js";
10
10
  const _ = {}, N = h.createContext(_);
11
11
  function de(e) {
12
12
  const t = h.useContext(N);
@@ -82,7 +82,7 @@ var Te = function(t, r) {
82
82
  }
83
83
  };
84
84
  const ge = /* @__PURE__ */ q(Te);
85
- var ve = function(e, t, r, n, s, o, l, i) {
85
+ var ve = function(e, t, r, n, s, o, c, i) {
86
86
  if (process.env.NODE_ENV !== "production" && t === void 0)
87
87
  throw new Error("invariant requires an error message argument");
88
88
  if (!e) {
@@ -92,10 +92,10 @@ var ve = function(e, t, r, n, s, o, l, i) {
92
92
  "Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings."
93
93
  );
94
94
  else {
95
- var c = [r, n, s, o, l, i], u = 0;
95
+ var l = [r, n, s, o, c, i], u = 0;
96
96
  a = new Error(
97
97
  t.replace(/%s/g, function() {
98
- return c[u++];
98
+ return l[u++];
99
99
  })
100
100
  ), a.name = "Invariant Violation";
101
101
  }
@@ -111,11 +111,11 @@ var be = function(t, r, n, s) {
111
111
  return !0;
112
112
  if (typeof t != "object" || !t || typeof r != "object" || !r)
113
113
  return !1;
114
- var l = Object.keys(t), i = Object.keys(r);
115
- if (l.length !== i.length)
114
+ var c = Object.keys(t), i = Object.keys(r);
115
+ if (c.length !== i.length)
116
116
  return !1;
117
- for (var a = Object.prototype.hasOwnProperty.bind(r), c = 0; c < l.length; c++) {
118
- var u = l[c];
117
+ for (var a = Object.prototype.hasOwnProperty.bind(r), l = 0; l < c.length; l++) {
118
+ var u = c[l];
119
119
  if (!a(u))
120
120
  return !1;
121
121
  var f = t[u], m = r[u];
@@ -200,26 +200,26 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
200
200
  return r.filter((s) => Array.isArray(s[e]) ? !0 : (typeof s[e] < "u" && xe(
201
201
  `Helmet: ${e} should be of type "Array". Instead found type "${typeof s[e]}"`
202
202
  ), !1)).map((s) => s[e]).reverse().reduce((s, o) => {
203
- const l = {};
203
+ const c = {};
204
204
  o.filter((a) => {
205
- let c;
205
+ let l;
206
206
  const u = Object.keys(a);
207
207
  for (let m = 0; m < u.length; m += 1) {
208
208
  const d = u[m], g = d.toLowerCase();
209
- t.indexOf(g) !== -1 && !(c === "rel" && a[c].toLowerCase() === "canonical") && !(g === "rel" && a[g].toLowerCase() === "stylesheet") && (c = g), t.indexOf(d) !== -1 && (d === "innerHTML" || d === "cssText" || d === "itemprop") && (c = d);
209
+ t.indexOf(g) !== -1 && !(l === "rel" && a[l].toLowerCase() === "canonical") && !(g === "rel" && a[g].toLowerCase() === "stylesheet") && (l = g), t.indexOf(d) !== -1 && (d === "innerHTML" || d === "cssText" || d === "itemprop") && (l = d);
210
210
  }
211
- if (!c || !a[c])
211
+ if (!l || !a[l])
212
212
  return !1;
213
- const f = a[c].toLowerCase();
214
- return n[c] || (n[c] = {}), l[c] || (l[c] = {}), n[c][f] ? !1 : (l[c][f] = !0, !0);
213
+ const f = a[l].toLowerCase();
214
+ return n[l] || (n[l] = {}), c[l] || (c[l] = {}), n[l][f] ? !1 : (c[l][f] = !0, !0);
215
215
  }).reverse().forEach((a) => s.push(a));
216
- const i = Object.keys(l);
216
+ const i = Object.keys(c);
217
217
  for (let a = 0; a < i.length; a += 1) {
218
- const c = i[a], u = {
219
- ...n[c],
220
- ...l[c]
218
+ const l = i[a], u = {
219
+ ...n[l],
220
+ ...c[l]
221
221
  };
222
- n[c] = u;
222
+ n[l] = u;
223
223
  }
224
224
  return s;
225
225
  }, []).reverse();
@@ -311,13 +311,13 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
311
311
  n
312
312
  )}</${e}>`;
313
313
  }, Ie = (e, t, r = !0) => t.reduce((n, s) => {
314
- const o = s, l = Object.keys(o).filter(
315
- (c) => !(c === "innerHTML" || c === "cssText")
316
- ).reduce((c, u) => {
314
+ const o = s, c = Object.keys(o).filter(
315
+ (l) => !(l === "innerHTML" || l === "cssText")
316
+ ).reduce((l, u) => {
317
317
  const f = typeof o[u] > "u" ? u : `${u}="${R(o[u], r)}"`;
318
- return c ? `${c} ${f}` : f;
318
+ return l ? `${l} ${f}` : f;
319
319
  }, ""), i = o.innerHTML || o.cssText || "", a = De.indexOf(e) === -1;
320
- return `${n}<${e} ${y}="true" ${l}${a ? "/>" : `>${i}</${e}>`}`;
320
+ return `${n}<${e} ${y}="true" ${c}${a ? "/>" : `>${i}</${e}>`}`;
321
321
  }, ""), ne = (e, t = {}) => Object.keys(e).reduce((r, n) => {
322
322
  const s = z[n];
323
323
  return r[s || n] = e[n], r;
@@ -360,13 +360,13 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
360
360
  };
361
361
  }
362
362
  }, _e = ({ metaTags: e, linkTags: t, scriptTags: r, encode: n }) => {
363
- const s = I(e, D.meta), o = I(t, D.link), l = I(r, D.script);
363
+ const s = I(e, D.meta), o = I(t, D.link), c = I(r, D.script);
364
364
  return {
365
365
  priorityMethods: {
366
366
  toComponent: () => [
367
367
  ...k("meta", s.priority),
368
368
  ...k("link", o.priority),
369
- ...k("script", l.priority)
369
+ ...k("script", c.priority)
370
370
  ],
371
371
  toString: () => (
372
372
  // generate all the tags as strings and concatenate them
@@ -374,12 +374,12 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
374
374
  "link",
375
375
  o.priority,
376
376
  n
377
- )} ${p("script", l.priority, n)}`
377
+ )} ${p("script", c.priority, n)}`
378
378
  )
379
379
  },
380
380
  metaTags: s.default,
381
381
  linkTags: o.default,
382
- scriptTags: l.default
382
+ scriptTags: c.default
383
383
  };
384
384
  }, Re = (e) => {
385
385
  const {
@@ -388,17 +388,17 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
388
388
  encode: n = !0,
389
389
  htmlAttributes: s,
390
390
  noscriptTags: o,
391
- styleTags: l,
391
+ styleTags: c,
392
392
  title: i = "",
393
393
  titleAttributes: a,
394
- prioritizeSeoTags: c
394
+ prioritizeSeoTags: l
395
395
  } = e;
396
396
  let { linkTags: u, metaTags: f, scriptTags: m } = e, d = {
397
397
  toComponent: () => {
398
398
  },
399
399
  toString: () => ""
400
400
  };
401
- return c && ({ priorityMethods: d, linkTags: u, metaTags: f, scriptTags: m } = _e(e)), {
401
+ return l && ({ priorityMethods: d, linkTags: u, metaTags: f, scriptTags: m } = _e(e)), {
402
402
  priority: d,
403
403
  base: p("base", t, n),
404
404
  bodyAttributes: p("bodyAttributes", r, n),
@@ -407,7 +407,7 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
407
407
  meta: p("meta", f, n),
408
408
  noscript: p("noscript", o, n),
409
409
  script: p("script", m, n),
410
- style: p("style", l, n),
410
+ style: p("style", c, n),
411
411
  title: p("title", { title: i, titleAttributes: a }, n)
412
412
  };
413
413
  }, j = Re, x = [], se = !!(typeof window < "u" && window.document && window.document.createElement), L = class {
@@ -458,20 +458,20 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
458
458
  "head"
459
459
  /* HEAD */
460
460
  ), n = r.querySelectorAll(`${e}[${y}]`), s = [].slice.call(n), o = [];
461
- let l;
461
+ let c;
462
462
  return t && t.length && t.forEach((i) => {
463
463
  const a = document.createElement(e);
464
- for (const c in i)
465
- if (Object.prototype.hasOwnProperty.call(i, c))
466
- if (c === "innerHTML")
464
+ for (const l in i)
465
+ if (Object.prototype.hasOwnProperty.call(i, l))
466
+ if (l === "innerHTML")
467
467
  a.innerHTML = i.innerHTML;
468
- else if (c === "cssText")
468
+ else if (l === "cssText")
469
469
  a.styleSheet ? a.styleSheet.cssText = i.cssText : a.appendChild(document.createTextNode(i.cssText));
470
470
  else {
471
- const u = c, f = typeof i[u] > "u" ? "" : i[u];
472
- a.setAttribute(c, f);
471
+ const u = l, f = typeof i[u] > "u" ? "" : i[u];
472
+ a.setAttribute(l, f);
473
473
  }
474
- a.setAttribute(y, "true"), s.some((c, u) => (l = u, a.isEqualNode(c))) ? s.splice(l, 1) : o.push(a);
474
+ a.setAttribute(y, "true"), s.some((l, u) => (c = u, a.isEqualNode(l))) ? s.splice(c, 1) : o.push(a);
475
475
  }), s.forEach((i) => {
476
476
  var a;
477
477
  return (a = i.parentNode) == null ? void 0 : a.removeChild(i);
@@ -483,16 +483,16 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
483
483
  const r = document.getElementsByTagName(e)[0];
484
484
  if (!r)
485
485
  return;
486
- const n = r.getAttribute(y), s = n ? n.split(",") : [], o = [...s], l = Object.keys(t);
487
- for (const i of l) {
486
+ const n = r.getAttribute(y), s = n ? n.split(",") : [], o = [...s], c = Object.keys(t);
487
+ for (const i of c) {
488
488
  const a = t[i] || "";
489
489
  r.getAttribute(i) !== a && r.setAttribute(i, a), s.indexOf(i) === -1 && s.push(i);
490
- const c = o.indexOf(i);
491
- c !== -1 && o.splice(c, 1);
490
+ const l = o.indexOf(i);
491
+ l !== -1 && o.splice(l, 1);
492
492
  }
493
493
  for (let i = o.length - 1; i >= 0; i -= 1)
494
494
  r.removeAttribute(o[i]);
495
- s.length === o.length ? r.removeAttribute(y) : r.getAttribute(y) !== l.join(",") && r.setAttribute(y, l.join(","));
495
+ s.length === o.length ? r.removeAttribute(y) : r.getAttribute(y) !== c.join(",") && r.setAttribute(y, c.join(","));
496
496
  }, Fe = (e, t) => {
497
497
  typeof e < "u" && document.title !== e && (document.title = te(e)), F("title", t);
498
498
  }, G = (e, t) => {
@@ -501,10 +501,10 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
501
501
  bodyAttributes: n,
502
502
  htmlAttributes: s,
503
503
  linkTags: o,
504
- metaTags: l,
504
+ metaTags: c,
505
505
  noscriptTags: i,
506
506
  onChangeClientState: a,
507
- scriptTags: c,
507
+ scriptTags: l,
508
508
  styleTags: u,
509
509
  title: f,
510
510
  titleAttributes: m
@@ -513,9 +513,9 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
513
513
  const d = {
514
514
  baseTag: A("base", r),
515
515
  linkTags: A("link", o),
516
- metaTags: A("meta", l),
516
+ metaTags: A("meta", c),
517
517
  noscriptTags: A("noscript", i),
518
- scriptTags: A("script", c),
518
+ scriptTags: A("script", l),
519
519
  styleTags: A("style", u)
520
520
  }, g = {}, Y = {};
521
521
  Object.keys(d).forEach((w) => {
@@ -548,8 +548,8 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
548
548
  let n = null;
549
549
  const s = ke(
550
550
  t.get().map((o) => {
551
- const l = { ...o.props };
552
- return delete l.context, l;
551
+ const c = { ...o.props };
552
+ return delete c.context, c;
553
553
  })
554
554
  );
555
555
  Le.canUseDOM ? qe(s) : j && (n = j(s)), r(n);
@@ -652,7 +652,7 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
652
652
  return h.Children.forEach(e, (n) => {
653
653
  if (!n || !n.props)
654
654
  return;
655
- const { children: s, ...o } = n.props, l = Object.keys(o).reduce((a, c) => (a[Ee[c] || c] = o[c], a), {});
655
+ const { children: s, ...o } = n.props, c = Object.keys(o).reduce((a, l) => (a[Ee[l] || l] = o[l], a), {});
656
656
  let { type: i } = n;
657
657
  switch (typeof i == "symbol" ? i = i.toString() : this.warnOnInvalidChildren(n, s), i) {
658
658
  case "Symbol(react.fragment)":
@@ -666,12 +666,12 @@ var ee = /* @__PURE__ */ ((e) => (e.BASE = "base", e.BODY = "body", e.HEAD = "he
666
666
  r = this.flattenArrayTypeChildren(
667
667
  n,
668
668
  r,
669
- l,
669
+ c,
670
670
  s
671
671
  );
672
672
  break;
673
673
  default:
674
- t = this.mapObjectTypeChildren(n, t, l, s);
674
+ t = this.mapObjectTypeChildren(n, t, c, s);
675
675
  break;
676
676
  }
677
677
  }), this.mapArrayTypeChildrenToProps(r, t);
@@ -726,13 +726,13 @@ const Je = (e) => {
726
726
  });
727
727
  }, et = () => {
728
728
  const e = $().pathname, { sidebars: t } = Q(), r = K(), n = r != null && r.id ? t[r.id] : [];
729
- let s, o, l = !1;
729
+ let s, o, c = !1;
730
730
  return ie(n, (i) => {
731
731
  const a = i.type === "doc" ? S(r == null ? void 0 : r.id, i.id) : i.type === "category" && i.link ? S(r == null ? void 0 : r.id, i.link.id) : void 0;
732
732
  if (a) {
733
- if (l)
733
+ if (c)
734
734
  return o = { label: i.label, id: a }, !0;
735
- e === a ? l = !0 : s = { label: i.label, id: a };
735
+ e === a ? c = !0 : s = { label: i.label, id: a };
736
736
  }
737
737
  }), { prev: s, next: o };
738
738
  };
@@ -746,4 +746,4 @@ export {
746
746
  Ne as d,
747
747
  Qe as u
748
748
  };
749
- //# sourceMappingURL=utils-G5XSiZc9.js.map
749
+ //# sourceMappingURL=utils-B2yoT99j.js.map