@hanzo/ui 5.3.35 → 5.3.36

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 (254) hide show
  1. package/bin/create-registry.js +0 -0
  2. package/bin/npx-registry-mcp.js +0 -0
  3. package/bin/registry-mcp-wrapper.sh +0 -0
  4. package/bin/registry-mcp.js +0 -0
  5. package/bin/start-mcp-server.sh +0 -0
  6. package/bin/test-mcp.sh +0 -0
  7. package/dist/3d/button.js +1 -297
  8. package/dist/3d/button.mjs +1 -272
  9. package/dist/3d/card.js +1 -233
  10. package/dist/3d/card.mjs +1 -206
  11. package/dist/3d/carousel.js +1 -370
  12. package/dist/3d/carousel.mjs +1 -343
  13. package/dist/3d/grid.js +1 -361
  14. package/dist/3d/grid.mjs +1 -336
  15. package/dist/3d/index.js +1 -1517
  16. package/dist/3d/index.mjs +1 -1471
  17. package/dist/3d/marquee.js +1 -351
  18. package/dist/3d/marquee.mjs +1 -326
  19. package/dist/3d/pin.js +1 -45
  20. package/dist/3d/pin.mjs +1 -23
  21. package/dist/accordion.js +1 -79
  22. package/dist/accordion.mjs +1 -54
  23. package/dist/alert-dialog.js +1 -224
  24. package/dist/alert-dialog.mjs +1 -191
  25. package/dist/alert.js +1 -97
  26. package/dist/alert.mjs +1 -91
  27. package/dist/animation/animated-background.js +1 -423
  28. package/dist/animation/animated-background.mjs +1 -417
  29. package/dist/animation/animated-beam.js +1 -118
  30. package/dist/animation/animated-beam.mjs +1 -96
  31. package/dist/animation/animated-cursor.js +1 -274
  32. package/dist/animation/animated-cursor.mjs +1 -269
  33. package/dist/animation/animated-icon.js +2 -356
  34. package/dist/animation/animated-icon.mjs +2 -350
  35. package/dist/animation/animated-list.js +1 -338
  36. package/dist/animation/animated-list.mjs +1 -332
  37. package/dist/animation/animated-number.js +1 -282
  38. package/dist/animation/animated-number.mjs +1 -276
  39. package/dist/animation/animated-testimonials.js +1 -96
  40. package/dist/animation/animated-testimonials.mjs +1 -74
  41. package/dist/animation/animated-tooltip.js +1 -66
  42. package/dist/animation/animated-tooltip.mjs +1 -44
  43. package/dist/animation/apple-cards-carousel.js +1 -307
  44. package/dist/animation/apple-cards-carousel.mjs +1 -284
  45. package/dist/animation/apple-hello-effect.js +1 -59
  46. package/dist/animation/apple-hello-effect.mjs +1 -37
  47. package/dist/animation/index.js +2 -1951
  48. package/dist/animation/index.mjs +2 -1920
  49. package/dist/avatar.js +1 -70
  50. package/dist/avatar.mjs +1 -46
  51. package/dist/badge.js +1 -60
  52. package/dist/badge.mjs +1 -54
  53. package/dist/blocks/index.js +2 -1684
  54. package/dist/blocks/index.mjs +2 -1645
  55. package/dist/breadcrumb.js +1 -106
  56. package/dist/breadcrumb.mjs +1 -98
  57. package/dist/calendar-ext/index.js +1 -207
  58. package/dist/calendar-ext/index.mjs +1 -169
  59. package/dist/calendar.js +1 -193
  60. package/dist/calendar.mjs +1 -168
  61. package/dist/carousel.js +1 -282
  62. package/dist/carousel.mjs +1 -253
  63. package/dist/charts/index.js +6 -5840
  64. package/dist/charts/index.mjs +6 -5749
  65. package/dist/checkbox.js +1 -59
  66. package/dist/checkbox.mjs +1 -34
  67. package/dist/code/block.js +2 -225
  68. package/dist/code/block.mjs +2 -202
  69. package/dist/code/compare.js +5 -444
  70. package/dist/code/compare.mjs +5 -421
  71. package/dist/code/diff.js +12 -429
  72. package/dist/code/diff.mjs +11 -405
  73. package/dist/code/editor.js +1 -242
  74. package/dist/code/editor.mjs +1 -217
  75. package/dist/code/explorer.js +1 -290
  76. package/dist/code/explorer.mjs +1 -267
  77. package/dist/code/index.js +26 -2514
  78. package/dist/code/index.mjs +24 -2471
  79. package/dist/code/preview.js +6 -363
  80. package/dist/code/preview.mjs +6 -340
  81. package/dist/code/snippet.js +2 -273
  82. package/dist/code/snippet.mjs +2 -249
  83. package/dist/code/tabs.js +1 -74
  84. package/dist/code/tabs.mjs +1 -52
  85. package/dist/code/terminal.js +3 -436
  86. package/dist/code/terminal.mjs +3 -413
  87. package/dist/collapsible.js +1 -32
  88. package/dist/collapsible.mjs +1 -8
  89. package/dist/command.js +1 -282
  90. package/dist/command.mjs +1 -251
  91. package/dist/context-menu.js +1 -206
  92. package/dist/context-menu.mjs +1 -170
  93. package/dist/desktop/hooks.js +1 -223
  94. package/dist/desktop/hooks.mjs +1 -198
  95. package/dist/desktop/index.js +1 -685
  96. package/dist/desktop/index.mjs +1 -657
  97. package/dist/desktop/spotlight.js +1 -260
  98. package/dist/desktop/spotlight.mjs +1 -235
  99. package/dist/desktop/window.js +1 -273
  100. package/dist/desktop/window.mjs +1 -247
  101. package/dist/device/index.js +1 -2
  102. package/dist/device/index.mjs +0 -1
  103. package/dist/dialog.js +1 -245
  104. package/dist/dialog.mjs +1 -213
  105. package/dist/dock/basic.js +1 -173
  106. package/dist/dock/basic.mjs +1 -150
  107. package/dist/dock/index.js +1 -647
  108. package/dist/dock/index.mjs +1 -620
  109. package/dist/dock/limelight-nav.js +1 -314
  110. package/dist/dock/limelight-nav.mjs +1 -293
  111. package/dist/dock/macos.js +1 -140
  112. package/dist/dock/macos.mjs +1 -117
  113. package/dist/dock/menu.js +1 -69
  114. package/dist/dock/menu.mjs +1 -47
  115. package/dist/dock/message.js +1 -148
  116. package/dist/dock/message.mjs +1 -126
  117. package/dist/drawer.js +1 -114
  118. package/dist/drawer.mjs +1 -102
  119. package/dist/dropdown-menu.js +1 -201
  120. package/dist/dropdown-menu.mjs +1 -165
  121. package/dist/finance/AdvancedChart.js +2 -47
  122. package/dist/finance/AdvancedChart.mjs +2 -45
  123. package/dist/finance/CompanyProfile.js +2 -47
  124. package/dist/finance/CompanyProfile.mjs +2 -45
  125. package/dist/finance/CryptoScreener.js +2 -44
  126. package/dist/finance/CryptoScreener.mjs +2 -42
  127. package/dist/finance/Financials.js +2 -51
  128. package/dist/finance/Financials.mjs +2 -49
  129. package/dist/finance/ForexScreener.js +2 -45
  130. package/dist/finance/ForexScreener.mjs +2 -43
  131. package/dist/finance/MarketOverview.js +2 -103
  132. package/dist/finance/MarketOverview.mjs +2 -101
  133. package/dist/finance/NewsTimeline.js +2 -43
  134. package/dist/finance/NewsTimeline.mjs +2 -41
  135. package/dist/finance/OrderEntry.js +1 -130
  136. package/dist/finance/OrderEntry.mjs +1 -128
  137. package/dist/finance/OrdersHistory.js +1 -63
  138. package/dist/finance/OrdersHistory.mjs +1 -61
  139. package/dist/finance/PositionsList.js +1 -79
  140. package/dist/finance/PositionsList.mjs +1 -77
  141. package/dist/finance/StockScreener.js +2 -45
  142. package/dist/finance/StockScreener.mjs +2 -43
  143. package/dist/finance/SymbolInfo.js +2 -45
  144. package/dist/finance/SymbolInfo.mjs +2 -43
  145. package/dist/finance/TechnicalAnalysis.js +2 -53
  146. package/dist/finance/TechnicalAnalysis.mjs +2 -51
  147. package/dist/finance/TickerTape.js +2 -55
  148. package/dist/finance/TickerTape.mjs +2 -53
  149. package/dist/finance/TradingPanel.js +1 -190
  150. package/dist/finance/TradingPanel.mjs +1 -188
  151. package/dist/finance/index.js +2 -929
  152. package/dist/finance/index.mjs +2 -913
  153. package/dist/form/index.js +1 -153
  154. package/dist/form/index.mjs +1 -123
  155. package/dist/form.js +1 -171
  156. package/dist/form.mjs +1 -141
  157. package/dist/hover-card.js +1 -57
  158. package/dist/hover-card.mjs +1 -33
  159. package/dist/index.js +192 -9618
  160. package/dist/index.mjs +192 -9202
  161. package/dist/input-otp.js +1 -78
  162. package/dist/input-otp.mjs +1 -53
  163. package/dist/kanban/index.js +1 -593
  164. package/dist/kanban/index.mjs +1 -571
  165. package/dist/lib/utils.js +1 -28
  166. package/dist/lib/utils.mjs +1 -24
  167. package/dist/mermaid/index.js +1 -280
  168. package/dist/mermaid/index.mjs +1 -253
  169. package/dist/navigation/index.js +1 -97
  170. package/dist/navigation/index.mjs +1 -78
  171. package/dist/navigation-menu.js +1 -148
  172. package/dist/navigation-menu.mjs +1 -115
  173. package/dist/pattern/grid-pattern.js +3 -325
  174. package/dist/pattern/grid-pattern.mjs +3 -302
  175. package/dist/pattern/index.js +3 -325
  176. package/dist/pattern/index.mjs +3 -302
  177. package/dist/popover.js +1 -62
  178. package/dist/popover.mjs +1 -36
  179. package/dist/progress.js +1 -61
  180. package/dist/progress.mjs +1 -36
  181. package/dist/project/gantt.js +1 -64
  182. package/dist/project/gantt.mjs +1 -42
  183. package/dist/project/index.js +1 -635
  184. package/dist/project/index.mjs +1 -610
  185. package/dist/project/kanban.js +1 -596
  186. package/dist/project/kanban.mjs +1 -571
  187. package/dist/project/list.js +1 -34
  188. package/dist/project/list.mjs +1 -11
  189. package/dist/radio-group.js +1 -67
  190. package/dist/radio-group.mjs +1 -44
  191. package/dist/resizable.js +1 -71
  192. package/dist/resizable.mjs +1 -47
  193. package/dist/scroll-area.js +1 -88
  194. package/dist/scroll-area.mjs +1 -65
  195. package/dist/select.js +1 -139
  196. package/dist/select.mjs +1 -110
  197. package/dist/separator.js +1 -58
  198. package/dist/separator.mjs +1 -33
  199. package/dist/sheet.js +1 -147
  200. package/dist/sheet.mjs +1 -116
  201. package/dist/skeleton.js +1 -31
  202. package/dist/skeleton.mjs +1 -26
  203. package/dist/slider.js +1 -98
  204. package/dist/slider.mjs +1 -72
  205. package/dist/sonner.js +1 -33
  206. package/dist/sonner.mjs +1 -28
  207. package/dist/spline/index.js +1 -210
  208. package/dist/spline/index.mjs +1 -201
  209. package/dist/spline/media-stack.js +1 -192
  210. package/dist/spline/media-stack.mjs +1 -184
  211. package/dist/spline/player.js +1 -36
  212. package/dist/spline/player.mjs +1 -30
  213. package/dist/switch.js +1 -61
  214. package/dist/switch.mjs +1 -36
  215. package/dist/table.js +1 -109
  216. package/dist/table.mjs +1 -100
  217. package/dist/tabs.js +1 -127
  218. package/dist/tabs.mjs +1 -101
  219. package/dist/tailwind/index.mjs +1 -2011
  220. package/dist/textarea.js +1 -77
  221. package/dist/textarea.mjs +1 -55
  222. package/dist/toggle-group.js +1 -117
  223. package/dist/toggle-group.mjs +1 -92
  224. package/dist/toggle.js +1 -70
  225. package/dist/toggle.mjs +1 -47
  226. package/dist/tooltip.js +1 -66
  227. package/dist/tooltip.mjs +1 -39
  228. package/dist/types/index.mjs +1 -51
  229. package/dist/ui/announcement.js +1 -133
  230. package/dist/ui/announcement.mjs +1 -111
  231. package/dist/ui/avatar-group.js +1 -87
  232. package/dist/ui/avatar-group.mjs +1 -64
  233. package/dist/ui/banner.js +1 -84
  234. package/dist/ui/banner.mjs +1 -61
  235. package/dist/ui/cursor.js +1 -77
  236. package/dist/ui/cursor.mjs +1 -55
  237. package/dist/ui/index.js +1 -494
  238. package/dist/ui/index.mjs +1 -461
  239. package/dist/ui/marquee.js +1 -73
  240. package/dist/ui/marquee.mjs +1 -51
  241. package/dist/ui/pill.js +1 -84
  242. package/dist/ui/pill.mjs +1 -61
  243. package/dist/ui/spinner.js +1 -27
  244. package/dist/ui/spinner.mjs +1 -25
  245. package/dist/ui/tags.js +1 -116
  246. package/dist/ui/tags.mjs +1 -94
  247. package/dist/ui/ticker.js +1 -72
  248. package/dist/ui/ticker.mjs +1 -50
  249. package/dist/util/index.mjs +1 -404
  250. package/package.json +28 -27
  251. package/dist/primitives/index.js +0 -9619
  252. package/dist/primitives/index.mjs +0 -9203
  253. package/dist/primitives-export.js +0 -9619
  254. package/dist/primitives-export.mjs +0 -9203
@@ -1,2011 +1 @@
1
- import animatePlugin from 'tailwindcss-animate';
2
- import containerQueriesPlugin from '@tailwindcss/container-queries';
3
- import tailwindInteractionMediaPlugin from 'tailwindcss-interaction-media';
4
- import plugin from 'tailwindcss/plugin';
5
- import merge from 'lodash.merge';
6
- import castArray from 'lodash.castarray';
7
- import 'lodash.isplainobject';
8
- import parser from 'postcss-selector-parser';
9
-
10
- var __defProp = Object.defineProperty;
11
- var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
12
-
13
- // tailwind/colors.tailwind.js
14
- var colors_tailwind_default = /* @__PURE__ */ __name(({ colors }) => ({
15
- inherit: colors.inherit,
16
- current: colors.current,
17
- transparent: colors.transparent,
18
- ring: "var(--hz-ui-ring)",
19
- background: "var(--hz-ui-bg-0)",
20
- // Should be partially transparent,
21
- // so opacity animations in 'vaul' module and other 3rd party stuff work
22
- overlay: "var(--hz-ui-bg-overlay)",
23
- // levels forward in z-index (a la Material Design)
24
- level: {
25
- DEFAULT: "var(--hz-ui-bg-0)",
26
- "0": "var(--hz-ui-bg-0)",
27
- "1": "var(--hz-ui-bg-1)",
28
- "2": "var(--hz-ui-bg-2)",
29
- "3": "var(--hz-ui-bg-3)"
30
- },
31
- accent: "var(--hz-ui-fg-0)",
32
- // full contrast (darkTheme:white) : heading and links hover
33
- foreground: "var(--hz-ui-fg-body)",
34
- // body text off-white (bright enough to contrast to bg-level-1)
35
- muted: {
36
- DEFAULT: "var(--hz-ui-fg-2)",
37
- // de-emphasized: fine print
38
- "1": "var(--hz-ui-fg-2)",
39
- // synonymous ^^^
40
- "2": "var(--hz-ui-fg-3)",
41
- // disabled or very de-emphasized
42
- "3": "var(--hz-ui-fg-4)",
43
- // very disabled ;)
44
- "4": "var(--hz-ui-fg-5)"
45
- // disabled border
46
- },
47
- primary: {
48
- DEFAULT: "var(--hz-ui-primary)",
49
- lux: "var(--hz-ui-primary)",
50
- // in case there are two configs
51
- hover: "var(--hz-ui-primary-hover)",
52
- fg: "var(--hz-ui-primary-fg)"
53
- },
54
- secondary: {
55
- DEFAULT: "var(--hz-ui-secondary)",
56
- lux: "var(--hz-ui-secondary)",
57
- // in case there are two configs
58
- hover: "var(--hz-ui-secondary-hover)",
59
- fg: "var(--hz-ui-secondary-fg)",
60
- "0": "var(--hz-ui-secondary-0)",
61
- "1": "var(--hz-ui-secondary-1)",
62
- "2": "var(--hz-ui-secondary-2)",
63
- "3": "var(--hz-ui-secondary-3)"
64
- },
65
- destructive: {
66
- DEFAULT: "var(--hz-ui-destructive)",
67
- fg: "var(--hz-ui-destructive-fg)"
68
- },
69
- nav: {
70
- DEFAULT: "var(--hz-ui-nav)",
71
- hover: "var(--hz-ui-nav-hover)",
72
- current: "var(--hz-ui-nav-current)"
73
- }
74
- }), "default");
75
-
76
- // tailwind/safelist.tailwind.js
77
- var safelist_tailwind_default = [
78
- "font-sans",
79
- {
80
- pattern: /grid-cols-[1-6]/,
81
- variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
82
- },
83
- {
84
- // SpaceBlock
85
- pattern: /h-([0-9]|[1-3][0-9]|40)/,
86
- variants: ["xs", "sm", "md", "lg", "xl", "2xl"]
87
- },
88
- {
89
- pattern: /order-[0-6]/
90
- },
91
- {
92
- // EnhHeadingBlock
93
- pattern: /mb-([1-9]|1[0-2])/
94
- },
95
- "md:text-left",
96
- // EnhHeadingBlock
97
- "md:text-center",
98
- "md:text-right",
99
- "md:self-start",
100
- "md:self-center",
101
- "md:self-end"
102
- ];
103
-
104
- // tailwind/screens.tailwind.js
105
- var screens_tailwind_default = {
106
- xs: "0px",
107
- // <-- phone
108
- sm: "480px",
109
- // phone --><-- sm tablets / narrow
110
- md: "768px",
111
- // sm tablets / narrow -->
112
- lg: "1024px",
113
- xl: "1280px",
114
- "2xl": "1500px"
115
- };
116
-
117
- // tailwind/spacing.tailwind.js
118
- var percentages = {};
119
- for (let i = 0; i <= 100; i++) {
120
- percentages[`pr-${i}`] = `${i}%`;
121
- }
122
- var spacing_tailwind_default = {
123
- ...percentages,
124
- px: "1px",
125
- 0: "0px",
126
- 0.5: "0.125rem",
127
- 1: "0.25rem",
128
- 1.5: "0.375rem",
129
- 2: "0.5rem",
130
- 2.5: "0.625rem",
131
- 3: "0.75rem",
132
- 3.5: "0.875rem",
133
- 4: "1rem",
134
- 5: "1.25rem",
135
- 6: "1.5rem",
136
- 7: "1.75rem",
137
- 8: "2rem",
138
- 9: "2.25rem",
139
- 10: "2.5rem",
140
- 11: "2.75rem",
141
- 12: "3rem",
142
- 13: "3.25rem",
143
- 14: "3.5rem",
144
- 15: "3.75rem",
145
- 16: "4rem",
146
- 17: "4.25rem",
147
- 18: "4.5rem",
148
- 19: "4.75rem",
149
- 20: "5rem",
150
- 21: "5.25rem",
151
- 22: "5.5rem",
152
- 23: "5.75rem",
153
- 24: "6rem",
154
- 25: "5.25rem",
155
- 26: "5.5rem",
156
- 27: "5.75rem",
157
- 28: "7rem",
158
- 29: "7.25rem",
159
- 30: "7.5rem",
160
- 31: "7.75rem",
161
- 32: "8rem",
162
- 33: "8.25rem",
163
- 34: "8.5rem",
164
- 35: "8.75rem",
165
- 36: "9rem",
166
- 37: "9.25rem",
167
- 38: "9.5rem",
168
- 39: "9.75rem",
169
- 40: "10rem",
170
- 44: "11rem",
171
- 48: "12rem",
172
- 52: "13rem",
173
- 56: "14rem",
174
- 60: "15rem",
175
- 64: "16rem",
176
- 72: "18rem",
177
- 80: "20rem",
178
- 96: "24rem"
179
- };
180
-
181
- // tailwind/fontSize.tailwind.ts
182
- var fontSize_tailwind_default = {
183
- xxs: ["0.65rem", { lineHeight: "0.8rem" }],
184
- // very fine print
185
- xs: ["0.8rem", { lineHeight: "1rem" }],
186
- // fine print
187
- sm: ["0.9rem", { lineHeight: "1.2rem" }],
188
- // 'standard' some news article cards (set manually when using typography-sm)
189
- base: ["1rem", { lineHeight: 1.4 }],
190
- lg: ["1.125rem", { lineHeight: "1.75rem" }],
191
- xl: ["1.25rem", { lineHeight: "1.75rem" }],
192
- "2xl": ["1.5rem", { lineHeight: "2rem" }],
193
- "3xl": ["1.875rem", { lineHeight: "2.25rem" }],
194
- "4xl": ["2.25rem", { lineHeight: "2.5rem" }],
195
- "5xl": ["3rem", { lineHeight: "1" }],
196
- "6xl": ["3.75rem", { lineHeight: "1" }]
197
- };
198
-
199
- // tailwind/fontFamily.tailwind.ts
200
- var fontFamily_tailwind_default = {
201
- sans: ["sans-serif"],
202
- heading: ["serif"],
203
- nav: ["serif"],
204
- serif: ["serif"],
205
- mono: ["monospace"]
206
- };
207
-
208
- // tailwind/z-index.tailwind.js
209
- var zIndex = {
210
- auto: "auto",
211
- unset: "unset",
212
- ...{
213
- "below-content-3": "-3",
214
- "below-content-2": "-2",
215
- "below-content-1": "-1",
216
- "below-content": "-1",
217
- "content": "0",
218
- "above-content": "1",
219
- "above-content-1": "1",
220
- "above-content-2": "2",
221
- "above-content-3": "3"
222
- },
223
- // popups that may scroll w content, appear below header, etc
224
- // for larger, modal popups, please use 'modal'
225
- ...{
226
- "below-popup-3": "7",
227
- "below-popup-2": "8",
228
- "below-popup-1": "9",
229
- "below-popup": "9",
230
- "popup": "10",
231
- "above-popup": "11",
232
- "above-popup-1": "11",
233
- "above-popup-2": "12",
234
- "above-popup-3": "13"
235
- },
236
- ...{
237
- "below-header-3": "17",
238
- "below-header-2": "18",
239
- "below-header-1": "19",
240
- "below-header": "19",
241
- "header": "20",
242
- "above-header": "21",
243
- "above-header-1": "21",
244
- "above-header-2": "22",
245
- "above-header-3": "23"
246
- },
247
- // drawer, dialog, full screen menu
248
- ...{
249
- "below-modal-3": "27",
250
- "below-modal-2": "28",
251
- "below-modal-1": "29",
252
- "below-modal": "29",
253
- "modal": "30",
254
- "above-modal": "31",
255
- "above-modal-1": "31",
256
- "above-modal-2": "32",
257
- "above-modal-3": "33"
258
- },
259
- // "highest": help button, other UI that floats above everything.
260
- ...{
261
- "below-floating-3": "37",
262
- "below-floating-2": "38",
263
- "below-floating-1": "39",
264
- "below-floating": "39",
265
- "floating": "40",
266
- "above-floating": "41",
267
- "above-floating-1": "41",
268
- "above-floating-2": "42",
269
- "above-floating-3": "43"
270
- }
271
- };
272
- for (let i = 0; i <= 50; i++) {
273
- zIndex[`${i}`] = `${i}`;
274
- }
275
- var z_index_tailwind_default = zIndex;
276
-
277
- // util/index.ts
278
- function round(value) {
279
- return Math.round(value * 100) / 100;
280
- }
281
- __name(round, "round");
282
- function pxToRem(px, base = 16) {
283
- return `${px / base}rem`;
284
- }
285
- __name(pxToRem, "pxToRem");
286
- function pxToEm(px, base = 16) {
287
- return `${px / base}em`;
288
- }
289
- __name(pxToEm, "pxToEm");
290
-
291
- // tailwind/typo-plugin/get-plugin-styles.js
292
- var typographyColorTheme = {
293
- // vars are defined in global.css
294
- // and dark mode is handled at that level.
295
- "--tw-typo-plugin-body": "var(--hz-ui-fg-body)",
296
- "--tw-typo-plugin-headings": "var(--hz-ui-fg-0)",
297
- "--tw-typo-plugin-links": "var(--hz-ui-fg-0)",
298
- "--tw-typo-plugin-links-hover": "var(--hz-ui-fg-2)",
299
- "--tw-typo-plugin-bold": "var(--hz-ui-fg-0)",
300
- "--tw-typo-plugin-counters": "var(--hz-ui-fg-4)",
301
- "--tw-typo-plugin-bullets": "var(--hz-ui-fg-2)",
302
- "--tw-typo-plugin-hr": "var(--hz-ui-fg-2)",
303
- "--tw-typo-plugin-quotes": "var(--hz-ui-fg-body)",
304
- "--tw-typo-plugin-quote-borders": "var(--hz-ui-fg-3)",
305
- "--tw-typo-plugin-captions": "var(--hz-ui-fg-2)",
306
- "--tw-typo-plugin-kbd": "var(--hz-ui-fg-0)",
307
- "--tw-typo-plugin-kbd-shadows": "var(--hz-ui-fg-1)",
308
- "--tw-typo-plugin-code": "var(--hz-ui-fg-0)",
309
- "--tw-typo-plugin-pre-code": "var(--hz-ui-fg-1)",
310
- "--tw-typo-plugin-pre-bg": "var(--hz-ui-bg-1)",
311
- "--tw-typo-plugin-th-borders": "var(--hz-ui-fg-2)",
312
- "--tw-typo-plugin-td-borders": "var(--hz-ui-fg-3)"
313
- };
314
- var defaultCSS = {
315
- color: "var(--tw-typo-plugin-body)",
316
- // YUCK maxWidth: '65ch',
317
- p: {
318
- textAlign: "inherit"
319
- },
320
- // Required to maintain correct order when merging
321
- "p:first-child": {},
322
- "p:last-child": {},
323
- a: {
324
- color: "var(--tw-typo-plugin-links)",
325
- textDecoration: "underline",
326
- fontWeight: "400"
327
- },
328
- "a:hover": {
329
- color: "var(--tw-typo-plugin-links-hover)"
330
- },
331
- blockquote: {
332
- fontWeight: "400",
333
- fontStyle: "italic",
334
- color: "var(--tw-typo-plugin-quotes)",
335
- quotes: '"\\201C""\\201D""\\2018""\\2019"'
336
- },
337
- //'blockquote::before': {},
338
- //'blockquote::after': {},
339
- "blockquote p:first-of-type::before": {
340
- content: "open-quote"
341
- },
342
- "blockquote p:last-of-type::after": {
343
- content: "close-quote"
344
- },
345
- "blockquote strong": {
346
- color: "inherit"
347
- },
348
- cite: {
349
- display: "block",
350
- fontStyle: "normal",
351
- textAlign: "right",
352
- color: "var(--tw-typo-plugin-quotes)"
353
- },
354
- ol: {
355
- listStyleType: "decimal"
356
- },
357
- ul: {
358
- //listStyleType: 'disc',
359
- },
360
- "ol > li::marker": {
361
- fontWeight: "400",
362
- color: "var(--tw-typo-plugin-counters)"
363
- },
364
- "ul > li::marker": {
365
- color: "var(--tw-typo-plugin-bullets)"
366
- },
367
- "ul > li::before": {},
368
- hr: {
369
- borderColor: "var(--tw-typo-plugin-hr)",
370
- borderTopWidth: 1
371
- },
372
- h1: {
373
- color: "var(--tw-typo-plugin-headings)",
374
- fontWeight: "800",
375
- textAlign: "inherit",
376
- textTransform: "uppercase"
377
- },
378
- h2: {
379
- color: "var(--tw-typo-plugin-headings)",
380
- fontWeight: "700",
381
- textAlign: "inherit",
382
- textTransform: "uppercase"
383
- },
384
- h3: {
385
- color: "var(--tw-typo-plugin-headings)",
386
- fontWeight: "600",
387
- textAlign: "inherit",
388
- textTransform: "uppercase"
389
- },
390
- h4: {
391
- color: "var(--tw-typo-plugin-headings)",
392
- fontWeight: "600",
393
- textAlign: "inherit"
394
- },
395
- h5: {
396
- color: "var(--tw-typo-plugin-headings)",
397
- fontWeight: "600",
398
- textAlign: "inherit"
399
- },
400
- h6: {
401
- color: "var(--tw-typo-plugin-headings)",
402
- textAlign: "inherit"
403
- },
404
- img: {},
405
- "img:first-child": {},
406
- "img:last-child": {},
407
- picture: {
408
- display: "block"
409
- },
410
- strong: {
411
- color: "var(--tw-typo-plugin-bold)",
412
- fontWeight: "600"
413
- },
414
- video: {},
415
- kbd: {
416
- fontWeight: "500",
417
- fontFamily: "inherit",
418
- color: "var(--tw-typo-plugin-kbd)",
419
- boxShadow: "0 0 0 1px rgb(var(--tw-typo-plugin-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-typo-plugin-kbd-shadows) / 10%)"
420
- },
421
- code: {
422
- color: "var(--tw-typo-plugin-code)",
423
- fontWeight: "500"
424
- },
425
- "code::before": {
426
- content: '"`"'
427
- },
428
- "code::after": {
429
- content: '"`"'
430
- },
431
- "a code": {
432
- color: "inherit"
433
- },
434
- "h1 code": {
435
- color: "inherit"
436
- },
437
- "h2 code": {
438
- color: "inherit"
439
- },
440
- "h3 code": {
441
- color: "inherit"
442
- },
443
- "h4 code": {
444
- color: "inherit"
445
- },
446
- "h5 code": {
447
- color: "inherit"
448
- },
449
- "h6 code": {
450
- color: "inherit"
451
- },
452
- "blockquote code": {
453
- color: "inherit"
454
- },
455
- "thead th code": {
456
- color: "inherit"
457
- },
458
- pre: {
459
- color: "var(--tw-typo-plugin-pre-code)",
460
- backgroundColor: "var(--tw-typo-plugin-pre-bg)",
461
- overflowX: "auto",
462
- fontWeight: "400"
463
- },
464
- "pre code": {
465
- backgroundColor: "transparent",
466
- borderWidth: "0",
467
- borderRadius: "0",
468
- padding: "0",
469
- fontWeight: "inherit",
470
- color: "inherit",
471
- fontSize: "inherit",
472
- fontFamily: "inherit",
473
- lineHeight: "inherit"
474
- },
475
- "pre code::before": {
476
- content: "none"
477
- },
478
- "pre code::after": {
479
- content: "none"
480
- },
481
- table: {
482
- width: "100%",
483
- tableLayout: "auto",
484
- textAlign: "left"
485
- },
486
- thead: {
487
- borderBottomWidth: "1px",
488
- borderBottomColor: "var(--tw-typo-plugin-th-borders)"
489
- },
490
- "thead th": {
491
- color: "var(--tw-typo-plugin-headings)",
492
- fontWeight: "600",
493
- verticalAlign: "bottom"
494
- },
495
- "tbody tr": {},
496
- "tbody tr:last-child": {},
497
- "tbody td": {
498
- verticalAlign: "baseline"
499
- },
500
- tfoot: {
501
- borderTopWidth: "1px",
502
- borderTopColor: "var(--tw-typo-plugin-th-borders)"
503
- },
504
- "tfoot td": {
505
- verticalAlign: "top"
506
- }
507
- };
508
- var defaultModifiers = /* @__PURE__ */ __name((base) => ({
509
- base: {
510
- css: [
511
- {
512
- fontSize: "1rem",
513
- lineHeight: 1.4,
514
- p: {
515
- marginTop: "0.33rem",
516
- marginBottom: "0.33rem"
517
- },
518
- "p:first-child": {
519
- marginTop: 0
520
- },
521
- "p:last-child": {
522
- marginBottom: 0
523
- },
524
- a: {},
525
- "a:hover": {},
526
- blockquote: {
527
- //color: 'blue', //var(--tw-typo-plugin-quotes)',
528
- //marginTop: pxToEm(32, 20),
529
- //marginBottom: pxToEm(32, 20),
530
- //paddingLeft: pxToEm(20, 20),
531
- },
532
- //'blockquote::before': {},
533
- //'blockquote::after': {},
534
- "blockquote p:first-of-type::before": {},
535
- "blockquote p:last-of-type::after": {},
536
- cite: {},
537
- ol: {
538
- fontSize: "1rem",
539
- paddingLeft: "1.5rem",
540
- margin: 0,
541
- marginLeft: "-5px"
542
- },
543
- ul: {
544
- fontSize: "1rem",
545
- paddingLeft: "1.5rem",
546
- margin: 0,
547
- marginLeft: "-0.6rem",
548
- listStylePosition: "outside",
549
- listStyleType: "'\u25BC'"
550
- },
551
- li: {},
552
- "ol > li": {
553
- paddingLeft: "0.4rem"
554
- },
555
- "ul > li": {
556
- paddingLeft: "0.75rem",
557
- marginBottom: "0.75rem"
558
- },
559
- "ul > li:last-child": {
560
- marginBottom: 0
561
- },
562
- "> ul > li p": {
563
- margin: 0,
564
- display: "inline"
565
- },
566
- hr: {},
567
- h1: {
568
- fontSize: pxToRem(40, base),
569
- lineHeight: 1.2
570
- },
571
- h2: {
572
- fontSize: pxToRem(36, base),
573
- lineHeight: 1.2
574
- },
575
- h3: {
576
- fontSize: "1.4rem",
577
- lineHeight: 1.2
578
- },
579
- h4: {
580
- marginTop: "0.5rem",
581
- marginBottom: "0.5rem",
582
- fontSize: "1.3rem",
583
- lineHeight: 1.2
584
- },
585
- h5: {
586
- marginTop: "0.5rem",
587
- marginBottom: "0.5rem",
588
- fontSize: "1.2rem",
589
- lineHeight: 1.4
590
- },
591
- h6: {
592
- marginTop: "0.5rem",
593
- marginBottom: "0.5rem",
594
- fontSize: "1.15rem",
595
- lineHeight: 1.3
596
- },
597
- "hr + *": {
598
- marginTop: "0"
599
- },
600
- "h2 + *": {
601
- marginTop: "0"
602
- },
603
- "h3 + *": {
604
- marginTop: "0"
605
- },
606
- "h4 + *": {
607
- marginTop: "0"
608
- },
609
- img: {
610
- marginTop: "0.5rem",
611
- marginBottom: "0.5rem"
612
- },
613
- "img:first-child": {
614
- marginTop: 0
615
- },
616
- "img:last-child": {
617
- marginBottom: 0
618
- },
619
- picture: {
620
- marginTop: pxToRem(20, base),
621
- marginBottom: pxToRem(20, base)
622
- },
623
- "picture > img": {
624
- marginTop: "0",
625
- marginBottom: "0"
626
- },
627
- video: {
628
- marginTop: pxToRem(20, base),
629
- marginBottom: pxToRem(20, base)
630
- },
631
- kbd: {
632
- fontSize: pxToEm(14, 16),
633
- borderRadius: pxToRem(5, base),
634
- paddingTop: pxToEm(3, 16),
635
- paddingRight: pxToEm(6, 16),
636
- paddingBottom: pxToEm(3, 16),
637
- paddingLeft: pxToEm(6, 16)
638
- },
639
- code: {
640
- fontSize: pxToEm(14, 16)
641
- },
642
- "h2 code": {
643
- fontSize: pxToEm(21, 24)
644
- },
645
- "h3 code": {
646
- fontSize: pxToEm(18, 20)
647
- },
648
- pre: {
649
- fontSize: pxToRem(14, 16),
650
- lineHeight: round(24 / 14),
651
- marginTop: pxToEm(24, 14),
652
- marginBottom: pxToEm(24, 14),
653
- borderRadius: pxToRem(6, base),
654
- paddingTop: pxToEm(12, 14),
655
- paddingRight: pxToEm(16, 14),
656
- paddingBottom: pxToEm(12, 14),
657
- paddingLeft: pxToEm(16, 14)
658
- },
659
- /*
660
- '> ul > li > *:first-child': {},
661
- '> ul > li > *:last-child': {},
662
- '> ol > li > *:first-child': {},
663
- '> ol > li > *:last-child': {},
664
- */
665
- "ul ul, ul ol, ol ul, ol ol": {
666
- marginTop: pxToRem(12, base),
667
- marginBottom: pxToRem(12, base)
668
- },
669
- dl: {
670
- marginTop: pxToEm(20, 16),
671
- marginBottom: pxToEm(20, base)
672
- },
673
- dt: {
674
- marginTop: pxToEm(20, base)
675
- },
676
- dd: {
677
- marginTop: pxToEm(8, base),
678
- paddingLeft: pxToEm(26, base)
679
- },
680
- table: {
681
- fontSize: pxToEm(14, base),
682
- lineHeight: round(24 / 14)
683
- },
684
- "thead th": {
685
- paddingRight: pxToEm(8, 14),
686
- paddingBottom: pxToEm(8, 14),
687
- paddingLeft: pxToEm(8, 14)
688
- },
689
- "thead th:first-child": {
690
- paddingLeft: "0"
691
- },
692
- "thead th:last-child": {
693
- paddingRight: "0"
694
- },
695
- "tbody td, tfoot td": {
696
- paddingTop: pxToEm(8, 14),
697
- paddingRight: pxToEm(8, 14),
698
- paddingBottom: pxToEm(8, 14),
699
- paddingLeft: pxToEm(8, 14)
700
- },
701
- "tbody td:first-child, tfoot td:first-child": {
702
- paddingLeft: "0"
703
- },
704
- "tbody td:last-child, tfoot td:last-child": {
705
- paddingRight: "0"
706
- }
707
- }
708
- ]
709
- },
710
- sm: {
711
- css: [
712
- {
713
- p: {},
714
- "p:first-child": {},
715
- "p:last-child": {},
716
- a: {},
717
- "a:hover": {},
718
- blockquote: {},
719
- //'blockquote::before': {},
720
- //'blockquote::after': {},
721
- "blockquote p:first-of-type::before": {},
722
- "blockquote p:last-of-type::after": {},
723
- cite: {},
724
- ol: {},
725
- ul: {},
726
- li: {},
727
- "ol > li": {},
728
- "ul > li": {},
729
- "ul > li:last-child": {},
730
- "> ul > li p": {},
731
- hr: {},
732
- h1: {
733
- fontSize: pxToRem(24, base)
734
- },
735
- h2: {
736
- fontSize: pxToRem(20, base)
737
- },
738
- h3: {
739
- fontSize: pxToEm(18, base)
740
- },
741
- h4: {},
742
- h5: {},
743
- h6: {},
744
- "hr + *": {},
745
- "h2 + *": {},
746
- "h3 + *": {},
747
- "h4 + *": {},
748
- img: {},
749
- "img:first-child": {},
750
- "img:last-child": {},
751
- picture: {},
752
- "picture > img": {},
753
- video: {},
754
- kbd: {},
755
- code: {},
756
- "h2 code": {},
757
- "h3 code": {},
758
- pre: {},
759
- /*
760
- '> ul > li > *:first-child': {},
761
- '> ul > li > *:last-child': {},
762
- '> ol > li > *:first-child': {},
763
- '> ol > li > *:last-child': {},
764
- */
765
- "ul ul, ul ol, ol ul, ol ol": {},
766
- dl: {},
767
- dt: {},
768
- dd: {},
769
- table: {},
770
- "thead th": {},
771
- "thead th:first-child": {},
772
- "thead th:last-child": {},
773
- "tbody td, tfoot td": {},
774
- "tbody td:first-child, tfoot td:first-child": {},
775
- "tbody td:last-child, tfoot td:last-child": {}
776
- }
777
- ]
778
- },
779
- lg: {
780
- css: [
781
- {
782
- p: {},
783
- "p:first-child": {},
784
- "p:last-child": {},
785
- a: {},
786
- "a:hover": {},
787
- blockquote: {},
788
- //'blockquote::before': {},
789
- //'blockquote::after': {},
790
- "blockquote p:first-of-type::before": {},
791
- "blockquote p:last-of-type::after": {},
792
- cite: {},
793
- ol: {},
794
- ul: {},
795
- li: {},
796
- "ol > li": {},
797
- "ul > li": {},
798
- "ul > li:last-child": {},
799
- "> ul > li p": {},
800
- hr: {},
801
- h1: {
802
- fontSize: pxToRem(45, base),
803
- lineHeight: 1.1
804
- },
805
- h2: {
806
- fontSize: pxToRem(40, base),
807
- lineHeight: 1.1
808
- },
809
- h3: {
810
- fontSize: pxToRem(32, base),
811
- lineHeight: 1.1
812
- },
813
- h4: {
814
- fontSize: pxToRem(26, base),
815
- marginTop: pxToRem(13, base),
816
- marginBottom: pxToRem(13, base)
817
- },
818
- h5: {
819
- fontSize: pxToRem(22, base),
820
- marginTop: pxToRem(11, base),
821
- marginBottom: pxToRem(11, base)
822
- },
823
- h6: {},
824
- "hr + *": {},
825
- "h2 + *": {},
826
- "h3 + *": {},
827
- "h4 + *": {},
828
- img: {},
829
- "img:first-child": {},
830
- "img:last-child": {},
831
- picture: {},
832
- "picture > img": {},
833
- video: {},
834
- kbd: {},
835
- code: {},
836
- "h2 code": {},
837
- "h3 code": {},
838
- pre: {},
839
- /*
840
- '> ul > li > *:first-child': {},
841
- '> ul > li > *:last-child': {},
842
- '> ol > li > *:first-child': {},
843
- '> ol > li > *:last-child': {},
844
- */
845
- "ul ul, ul ol, ol ul, ol ol": {},
846
- dl: {},
847
- dt: {},
848
- dd: {},
849
- table: {},
850
- "thead th": {},
851
- "thead th:first-child": {},
852
- "thead th:last-child": {},
853
- "tbody td, tfoot td": {},
854
- "tbody td:first-child, tfoot td:first-child": {},
855
- "tbody td:last-child, tfoot td:last-child": {}
856
- }
857
- ]
858
- },
859
- xl: {
860
- css: [
861
- {
862
- p: {},
863
- "p:first-child": {},
864
- "p:last-child": {},
865
- a: {},
866
- "a:hover": {},
867
- blockquote: {},
868
- //'blockquote::before': {},
869
- //'blockquote::after': {},
870
- "blockquote p:first-of-type::before": {},
871
- "blockquote p:last-of-type::after": {},
872
- cite: {},
873
- ol: {},
874
- ul: {},
875
- li: {},
876
- "ol > li": {},
877
- "ul > li": {},
878
- "ul > li:last-child": {},
879
- "> ul > li p": {},
880
- hr: {},
881
- h1: {
882
- fontSize: pxToRem(52, base),
883
- lineHeight: 1.1
884
- },
885
- h2: {
886
- fontSize: pxToRem(45, base),
887
- lineHeight: 1.1
888
- },
889
- h3: {
890
- fontSize: pxToRem(40, base),
891
- lineHeight: 1.1
892
- },
893
- h4: {
894
- fontSize: pxToRem(28, base),
895
- marginTop: pxToRem(13, base),
896
- marginBottom: pxToRem(13, base)
897
- },
898
- h5: {
899
- fontSize: pxToRem(22, base),
900
- marginTop: pxToRem(11, base),
901
- marginBottom: pxToRem(11, base)
902
- },
903
- h6: {},
904
- "hr + *": {},
905
- "h2 + *": {},
906
- "h3 + *": {},
907
- "h4 + *": {},
908
- img: {},
909
- "img:first-child": {},
910
- "img:last-child": {},
911
- picture: {},
912
- "picture > img": {},
913
- video: {},
914
- kbd: {},
915
- code: {},
916
- "h2 code": {},
917
- "h3 code": {},
918
- pre: {},
919
- /*
920
- '> ul > li > *:first-child': {},
921
- '> ul > li > *:last-child': {},
922
- '> ol > li > *:first-child': {},
923
- '> ol > li > *:last-child': {},
924
- */
925
- "ul ul, ul ol, ol ul, ol ol": {},
926
- dl: {},
927
- dt: {},
928
- dd: {},
929
- table: {},
930
- "thead th": {},
931
- "thead th:first-child": {},
932
- "thead th:last-child": {},
933
- "tbody td, tfoot td": {},
934
- "tbody td:first-child, tfoot td:first-child": {},
935
- "tbody td:last-child, tfoot td:last-child": {}
936
- }
937
- ]
938
- }
939
- }), "defaultModifiers");
940
- var getStyles = /* @__PURE__ */ __name((baseFontSize2) => ({
941
- DEFAULT: {
942
- css: [
943
- defaultCSS,
944
- typographyColorTheme,
945
- ...defaultModifiers(baseFontSize2).base.css
946
- ]
947
- },
948
- sm: defaultModifiers(baseFontSize2).sm,
949
- lg: defaultModifiers(baseFontSize2).lg,
950
- xl: defaultModifiers(baseFontSize2).xl
951
- }), "getStyles");
952
- var get_plugin_styles_default = getStyles;
953
- var parseSelector = parser();
954
- function commonTrailingPseudos(selector) {
955
- let ast = parseSelector.astSync(selector);
956
- let matrix = [];
957
- for (let [i, sel] of ast.nodes.entries()) {
958
- for (const [j, child] of [...sel.nodes].reverse().entries()) {
959
- if (child.type !== "pseudo" || !child.value.startsWith("::")) {
960
- break;
961
- }
962
- matrix[j] = matrix[j] || [];
963
- matrix[j][i] = child;
964
- }
965
- }
966
- let trailingPseudos = parser.selector();
967
- for (const pseudos of matrix) {
968
- if (!pseudos) {
969
- continue;
970
- }
971
- let values = /* @__PURE__ */ new Set([...pseudos.map((p) => p.value)]);
972
- if (values.size > 1) {
973
- break;
974
- }
975
- pseudos.forEach((pseudo) => pseudo.remove());
976
- trailingPseudos.prepend(pseudos[0]);
977
- }
978
- if (trailingPseudos.nodes.length) {
979
- return [trailingPseudos.toString(), ast.toString()];
980
- }
981
- return [null, selector];
982
- }
983
- __name(commonTrailingPseudos, "commonTrailingPseudos");
984
-
985
- // tailwind/typo-plugin/index.js
986
- var baseFontSize = 16;
987
- var computed = {
988
- // Reserved for future "magic properties", for example:
989
- // bulletColor: (color) => ({ 'ul > li::before': { backgroundColor: color } }),
990
- };
991
- function inWhere(selector, { className, modifier, prefix }) {
992
- let prefixedNot = prefix(`.not-${className}`).slice(1);
993
- let selectorPrefix = selector.startsWith(">") ? `${modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`} ` : "";
994
- let [trailingPseudo, rebuiltSelector] = commonTrailingPseudos(selector);
995
- if (trailingPseudo) {
996
- return `:where(${selectorPrefix}${rebuiltSelector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))${trailingPseudo}`;
997
- }
998
- return `:where(${selectorPrefix}${selector}):not(:where([class~="${prefixedNot}"],[class~="${prefixedNot}"] *))`;
999
- }
1000
- __name(inWhere, "inWhere");
1001
- function isObject(value) {
1002
- return typeof value === "object" && value !== null;
1003
- }
1004
- __name(isObject, "isObject");
1005
- function configToCss(config = {}, { target, className, modifier, prefix }) {
1006
- function updateSelector(k, v) {
1007
- if (target === "legacy") {
1008
- return [k, v];
1009
- }
1010
- if (Array.isArray(v)) {
1011
- return [k, v];
1012
- }
1013
- if (isObject(v)) {
1014
- let nested = Object.values(v).some(isObject);
1015
- if (nested) {
1016
- return [
1017
- inWhere(k, { className, modifier, prefix }),
1018
- v,
1019
- Object.fromEntries(Object.entries(v).map(([k2, v2]) => updateSelector(k2, v2)))
1020
- ];
1021
- }
1022
- return [inWhere(k, { className, modifier, prefix }), v];
1023
- }
1024
- return [k, v];
1025
- }
1026
- __name(updateSelector, "updateSelector");
1027
- return Object.fromEntries(
1028
- Object.entries(
1029
- merge(
1030
- {},
1031
- ...Object.keys(config).filter((key) => computed[key]).map((key) => computed[key](config[key])),
1032
- ...castArray(config.css || {})
1033
- )
1034
- ).map(([k, v]) => updateSelector(k, v))
1035
- );
1036
- }
1037
- __name(configToCss, "configToCss");
1038
- var typo_plugin_default = plugin.withOptions(
1039
- ({ className = "prose", target = "modern", base = 16 } = {}) => {
1040
- baseFontSize = base;
1041
- return function({ addVariant, addComponents, theme, prefix }) {
1042
- let modifiers = theme("typography");
1043
- let options = { className, prefix };
1044
- for (let [name, ...selectors] of [
1045
- [
1046
- "headings",
1047
- "h1",
1048
- "h2",
1049
- "h3"
1050
- /* 'h4', 'h5', 'h6', 'th' */
1051
- ],
1052
- ["h1"],
1053
- ["h2"],
1054
- ["h3"],
1055
- ["h4"],
1056
- ["h5"],
1057
- ["h6"],
1058
- ["p"],
1059
- ["a"],
1060
- ["blockquote"],
1061
- ["figure"],
1062
- ["figcaption"],
1063
- ["strong"],
1064
- ["em"],
1065
- ["code"],
1066
- ["pre"],
1067
- ["ol"],
1068
- ["ul"],
1069
- ["li"],
1070
- ["table"],
1071
- ["thead"],
1072
- ["tr"],
1073
- ["th"],
1074
- ["td"],
1075
- ["img"],
1076
- ["video"],
1077
- ["hr"]
1078
- ]) {
1079
- selectors = selectors.length === 0 ? [name] : selectors;
1080
- let selector = target === "legacy" ? selectors.map((selector2) => `& ${selector2}`) : selectors.join(", ");
1081
- addVariant(
1082
- `${className}-${name}`,
1083
- target === "legacy" ? selector : `& :is(${inWhere(selector, options)})`
1084
- );
1085
- }
1086
- addComponents(
1087
- Object.keys(modifiers).map((modifier) => ({
1088
- [modifier === "DEFAULT" ? `.${className}` : `.${className}-${modifier}`]: configToCss(
1089
- modifiers[modifier],
1090
- {
1091
- target,
1092
- className,
1093
- modifier,
1094
- prefix
1095
- }
1096
- )
1097
- }))
1098
- );
1099
- };
1100
- },
1101
- () => {
1102
- return {
1103
- theme: { typography: get_plugin_styles_default(baseFontSize) }
1104
- };
1105
- }
1106
- );
1107
-
1108
- // tailwind/tailwind.config.hanzo-preset.js
1109
- var tailwind_config_hanzo_preset_default = {
1110
- darkMode: ["class"],
1111
- content: [],
1112
- safelist: safelist_tailwind_default,
1113
- plugins: [
1114
- animatePlugin,
1115
- typo_plugin_default({ className: "typography", base: 16 }),
1116
- containerQueriesPlugin,
1117
- tailwindInteractionMediaPlugin
1118
- ],
1119
- theme: {
1120
- accentColor: /* @__PURE__ */ __name(({ theme }) => ({
1121
- ...theme("colors"),
1122
- auto: "auto"
1123
- }), "accentColor"),
1124
- animation: {
1125
- none: "none",
1126
- spin: "spin 1s linear infinite",
1127
- ping: "ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",
1128
- pulse: "pulse 2s linear(0, 1) infinite",
1129
- // cubic-bezier(0.4, 0, 0.6, 1)
1130
- pulsereverse: "pulse 2s linear(1, 0) infinite",
1131
- bounce: "bounce 1s infinite",
1132
- "accordion-down": "accordion-down 0.2s ease-out",
1133
- "accordion-up": "accordion-up 0.2s ease-out",
1134
- "mobile-menu-open": "opacity-in 300ms ease-in"
1135
- },
1136
- aria: {
1137
- checked: 'checked="true"',
1138
- disabled: 'disabled="true"',
1139
- expanded: 'expanded="true"',
1140
- hidden: 'hidden="true"',
1141
- pressed: 'pressed="true"',
1142
- readonly: 'readonly="true"',
1143
- required: 'required="true"',
1144
- selected: 'selected="true"'
1145
- },
1146
- aspectRatio: {
1147
- auto: "auto",
1148
- square: "1 / 1",
1149
- video: "16 / 9"
1150
- },
1151
- backdropBlur: /* @__PURE__ */ __name(({ theme }) => theme("blur"), "backdropBlur"),
1152
- backdropBrightness: /* @__PURE__ */ __name(({ theme }) => theme("brightness"), "backdropBrightness"),
1153
- backdropContrast: /* @__PURE__ */ __name(({ theme }) => theme("contrast"), "backdropContrast"),
1154
- backdropGrayscale: /* @__PURE__ */ __name(({ theme }) => theme("grayscale"), "backdropGrayscale"),
1155
- backdropHueRotate: /* @__PURE__ */ __name(({ theme }) => theme("hueRotate"), "backdropHueRotate"),
1156
- backdropInvert: /* @__PURE__ */ __name(({ theme }) => theme("invert"), "backdropInvert"),
1157
- backdropOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backdropOpacity"),
1158
- backdropSaturate: /* @__PURE__ */ __name(({ theme }) => theme("saturate"), "backdropSaturate"),
1159
- backdropSepia: /* @__PURE__ */ __name(({ theme }) => theme("sepia"), "backdropSepia"),
1160
- backgroundColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "backgroundColor"),
1161
- backgroundImage: {
1162
- none: "none",
1163
- "gradient-to-t": "linear-gradient(to top, var(--tw-gradient-stops))",
1164
- "gradient-to-tr": "linear-gradient(to top right, var(--tw-gradient-stops))",
1165
- "gradient-to-r": "linear-gradient(to right, var(--tw-gradient-stops))",
1166
- "gradient-to-br": "linear-gradient(to bottom right, var(--tw-gradient-stops))",
1167
- "gradient-to-b": "linear-gradient(to bottom, var(--tw-gradient-stops))",
1168
- "gradient-to-bl": "linear-gradient(to bottom left, var(--tw-gradient-stops))",
1169
- "gradient-to-l": "linear-gradient(to left, var(--tw-gradient-stops))",
1170
- "gradient-to-tl": "linear-gradient(to top left, var(--tw-gradient-stops))"
1171
- },
1172
- backgroundOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "backgroundOpacity"),
1173
- backgroundPosition: {
1174
- bottom: "bottom",
1175
- center: "center",
1176
- left: "left",
1177
- "left-bottom": "left bottom",
1178
- "left-top": "left top",
1179
- right: "right",
1180
- "right-bottom": "right bottom",
1181
- "right-top": "right top",
1182
- top: "top"
1183
- },
1184
- backgroundSize: {
1185
- auto: "auto",
1186
- cover: "cover",
1187
- contain: "contain"
1188
- },
1189
- blur: {
1190
- 0: "0",
1191
- none: "0",
1192
- sm: "4px",
1193
- DEFAULT: "8px",
1194
- md: "12px",
1195
- lg: "16px",
1196
- xl: "24px",
1197
- "2xl": "40px",
1198
- "3xl": "64px"
1199
- },
1200
- borderColor: /* @__PURE__ */ __name(({ theme }) => ({
1201
- ...theme("colors"),
1202
- DEFAULT: theme("colors.muted.3")
1203
- }), "borderColor"),
1204
- borderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "borderOpacity"),
1205
- borderRadius: {
1206
- none: "0px",
1207
- sm: "0.25rem",
1208
- DEFAULT: "0.5rem",
1209
- md: "0.5rem",
1210
- lg: "0.75rem",
1211
- xl: "1rem",
1212
- "2xl": "1.5rem",
1213
- "3xl": "2rem",
1214
- full: "9999px"
1215
- },
1216
- borderSpacing: spacing_tailwind_default,
1217
- borderWidth: {
1218
- DEFAULT: "1px",
1219
- 0: "0px",
1220
- 2: "2px",
1221
- 4: "4px",
1222
- 8: "8px"
1223
- },
1224
- boxShadow: {
1225
- sm: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
1226
- DEFAULT: "0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",
1227
- md: "0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",
1228
- lg: "0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",
1229
- xl: "0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)",
1230
- "2xl": "0 25px 50px -12px rgb(0 0 0 / 0.25)",
1231
- inner: "inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",
1232
- none: "none"
1233
- },
1234
- boxShadowColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "boxShadowColor"),
1235
- brightness: {
1236
- 0: "0",
1237
- 50: ".5",
1238
- 75: ".75",
1239
- 90: ".9",
1240
- 95: ".95",
1241
- 100: "1",
1242
- 105: "1.05",
1243
- 110: "1.1",
1244
- 125: "1.25",
1245
- 150: "1.5",
1246
- 200: "2"
1247
- },
1248
- caretColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "caretColor"),
1249
- colors: colors_tailwind_default,
1250
- columns: {
1251
- auto: "auto",
1252
- 1: "1",
1253
- 2: "2",
1254
- 3: "3",
1255
- 4: "4",
1256
- 5: "5",
1257
- 6: "6",
1258
- 7: "7",
1259
- 8: "8",
1260
- 9: "9",
1261
- 10: "10",
1262
- 11: "11",
1263
- 12: "12",
1264
- "3xs": "16rem",
1265
- "2xs": "18rem",
1266
- xs: "20rem",
1267
- sm: "24rem",
1268
- md: "28rem",
1269
- lg: "32rem",
1270
- xl: "36rem",
1271
- "2xl": "42rem",
1272
- "3xl": "48rem",
1273
- "4xl": "56rem",
1274
- "5xl": "64rem",
1275
- "6xl": "72rem",
1276
- "7xl": "80rem"
1277
- },
1278
- container: {
1279
- center: true,
1280
- padding: "2rem"
1281
- },
1282
- content: {
1283
- none: "none"
1284
- },
1285
- contrast: {
1286
- 0: "0",
1287
- 50: ".5",
1288
- 75: ".75",
1289
- 100: "1",
1290
- 125: "1.25",
1291
- 150: "1.5",
1292
- 200: "2"
1293
- },
1294
- cursor: {
1295
- auto: "auto",
1296
- default: "default",
1297
- pointer: "pointer",
1298
- wait: "wait",
1299
- text: "text",
1300
- move: "move",
1301
- help: "help",
1302
- "not-allowed": "not-allowed",
1303
- none: "none",
1304
- "context-menu": "context-menu",
1305
- progress: "progress",
1306
- cell: "cell",
1307
- crosshair: "crosshair",
1308
- "vertical-text": "vertical-text",
1309
- alias: "alias",
1310
- copy: "copy",
1311
- "no-drop": "no-drop",
1312
- grab: "grab",
1313
- grabbing: "grabbing",
1314
- "all-scroll": "all-scroll",
1315
- "col-resize": "col-resize",
1316
- "row-resize": "row-resize",
1317
- "n-resize": "n-resize",
1318
- "e-resize": "e-resize",
1319
- "s-resize": "s-resize",
1320
- "w-resize": "w-resize",
1321
- "ne-resize": "ne-resize",
1322
- "nw-resize": "nw-resize",
1323
- "se-resize": "se-resize",
1324
- "sw-resize": "sw-resize",
1325
- "ew-resize": "ew-resize",
1326
- "ns-resize": "ns-resize",
1327
- "nesw-resize": "nesw-resize",
1328
- "nwse-resize": "nwse-resize",
1329
- "zoom-in": "zoom-in",
1330
- "zoom-out": "zoom-out"
1331
- },
1332
- divideColor: /* @__PURE__ */ __name(({ theme }) => theme("borderColor"), "divideColor"),
1333
- divideOpacity: /* @__PURE__ */ __name(({ theme }) => theme("borderOpacity"), "divideOpacity"),
1334
- divideWidth: /* @__PURE__ */ __name(({ theme }) => theme("borderWidth"), "divideWidth"),
1335
- dropShadow: {
1336
- sm: "0 1px 1px rgb(0 0 0 / 0.05)",
1337
- DEFAULT: ["0 1px 2px rgb(0 0 0 / 0.1)", "0 1px 1px rgb(0 0 0 / 0.06)"],
1338
- md: ["0 4px 3px rgb(0 0 0 / 0.07)", "0 2px 2px rgb(0 0 0 / 0.06)"],
1339
- lg: ["0 10px 8px rgb(0 0 0 / 0.04)", "0 4px 3px rgb(0 0 0 / 0.1)"],
1340
- xl: ["0 20px 13px rgb(0 0 0 / 0.03)", "0 8px 5px rgb(0 0 0 / 0.08)"],
1341
- "2xl": "0 25px 25px rgb(0 0 0 / 0.15)",
1342
- none: "0 0 #0000"
1343
- },
1344
- fill: /* @__PURE__ */ __name(({ theme }) => ({
1345
- none: "none",
1346
- ...theme("colors")
1347
- }), "fill"),
1348
- flex: {
1349
- 1: "1 1 0%",
1350
- auto: "1 1 auto",
1351
- initial: "0 1 auto",
1352
- none: "none"
1353
- },
1354
- flexBasis: {
1355
- auto: "auto",
1356
- ...spacing_tailwind_default,
1357
- "1/2": "50%",
1358
- "1/3": "33.333333%",
1359
- "2/3": "66.666667%",
1360
- "1/4": "25%",
1361
- "2/4": "50%",
1362
- "3/4": "75%",
1363
- "1/5": "20%",
1364
- "2/5": "40%",
1365
- "3/5": "60%",
1366
- "4/5": "80%",
1367
- "1/6": "16.666667%",
1368
- "2/6": "33.333333%",
1369
- "3/6": "50%",
1370
- "4/6": "66.666667%",
1371
- "5/6": "83.333333%",
1372
- "1/12": "8.333333%",
1373
- "2/12": "16.666667%",
1374
- "3/12": "25%",
1375
- "4/12": "33.333333%",
1376
- "5/12": "41.666667%",
1377
- "6/12": "50%",
1378
- "7/12": "58.333333%",
1379
- "8/12": "66.666667%",
1380
- "9/12": "75%",
1381
- "10/12": "83.333333%",
1382
- "11/12": "91.666667%",
1383
- full: "100%"
1384
- },
1385
- flexGrow: {
1386
- 0: "0",
1387
- DEFAULT: "1"
1388
- },
1389
- flexShrink: {
1390
- 0: "0",
1391
- DEFAULT: "1"
1392
- },
1393
- fontFamily: fontFamily_tailwind_default,
1394
- fontSize: fontSize_tailwind_default,
1395
- fontWeight: {
1396
- thin: "100",
1397
- extralight: "200",
1398
- light: "300",
1399
- normal: "400",
1400
- medium: "500",
1401
- semibold: "600",
1402
- bold: "700",
1403
- extrabold: "800",
1404
- black: "900"
1405
- },
1406
- gap: spacing_tailwind_default,
1407
- gradientColorStops: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "gradientColorStops"),
1408
- gradientColorStopPositions: {
1409
- "0%": "0%",
1410
- "5%": "5%",
1411
- "10%": "10%",
1412
- "15%": "15%",
1413
- "20%": "20%",
1414
- "25%": "25%",
1415
- "30%": "30%",
1416
- "35%": "35%",
1417
- "40%": "40%",
1418
- "45%": "45%",
1419
- "50%": "50%",
1420
- "55%": "55%",
1421
- "60%": "60%",
1422
- "65%": "65%",
1423
- "70%": "70%",
1424
- "75%": "75%",
1425
- "80%": "80%",
1426
- "85%": "85%",
1427
- "90%": "90%",
1428
- "95%": "95%",
1429
- "100%": "100%"
1430
- },
1431
- grayscale: {
1432
- 0: "0",
1433
- DEFAULT: "100%"
1434
- },
1435
- gridAutoColumns: {
1436
- auto: "auto",
1437
- min: "min-content",
1438
- max: "max-content",
1439
- fr: "minmax(0, 1fr)"
1440
- },
1441
- gridAutoRows: {
1442
- auto: "auto",
1443
- min: "min-content",
1444
- max: "max-content",
1445
- fr: "minmax(0, 1fr)"
1446
- },
1447
- gridColumn: {
1448
- auto: "auto",
1449
- "span-1": "span 1 / span 1",
1450
- "span-2": "span 2 / span 2",
1451
- "span-3": "span 3 / span 3",
1452
- "span-4": "span 4 / span 4",
1453
- "span-5": "span 5 / span 5",
1454
- "span-6": "span 6 / span 6",
1455
- "span-7": "span 7 / span 7",
1456
- "span-8": "span 8 / span 8",
1457
- "span-9": "span 9 / span 9",
1458
- "span-10": "span 10 / span 10",
1459
- "span-11": "span 11 / span 11",
1460
- "span-12": "span 12 / span 12",
1461
- "span-full": "1 / -1"
1462
- },
1463
- gridColumnEnd: {
1464
- auto: "auto",
1465
- 1: "1",
1466
- 2: "2",
1467
- 3: "3",
1468
- 4: "4",
1469
- 5: "5",
1470
- 6: "6",
1471
- 7: "7",
1472
- 8: "8",
1473
- 9: "9",
1474
- 10: "10",
1475
- 11: "11",
1476
- 12: "12",
1477
- 13: "13"
1478
- },
1479
- gridColumnStart: {
1480
- auto: "auto",
1481
- 1: "1",
1482
- 2: "2",
1483
- 3: "3",
1484
- 4: "4",
1485
- 5: "5",
1486
- 6: "6",
1487
- 7: "7",
1488
- 8: "8",
1489
- 9: "9",
1490
- 10: "10",
1491
- 11: "11",
1492
- 12: "12",
1493
- 13: "13"
1494
- },
1495
- gridRow: {
1496
- auto: "auto",
1497
- "span-1": "span 1 / span 1",
1498
- "span-2": "span 2 / span 2",
1499
- "span-3": "span 3 / span 3",
1500
- "span-4": "span 4 / span 4",
1501
- "span-5": "span 5 / span 5",
1502
- "span-6": "span 6 / span 6",
1503
- "span-full": "1 / -1"
1504
- },
1505
- gridRowEnd: {
1506
- auto: "auto",
1507
- 1: "1",
1508
- 2: "2",
1509
- 3: "3",
1510
- 4: "4",
1511
- 5: "5",
1512
- 6: "6",
1513
- 7: "7"
1514
- },
1515
- gridRowStart: {
1516
- auto: "auto",
1517
- 1: "1",
1518
- 2: "2",
1519
- 3: "3",
1520
- 4: "4",
1521
- 5: "5",
1522
- 6: "6",
1523
- 7: "7"
1524
- },
1525
- gridTemplateColumns: {
1526
- none: "none",
1527
- 1: "repeat(1, minmax(0, 1fr))",
1528
- 2: "repeat(2, minmax(0, 1fr))",
1529
- 3: "repeat(3, minmax(0, 1fr))",
1530
- 4: "repeat(4, minmax(0, 1fr))",
1531
- 5: "repeat(5, minmax(0, 1fr))",
1532
- 6: "repeat(6, minmax(0, 1fr))",
1533
- 7: "repeat(7, minmax(0, 1fr))",
1534
- 8: "repeat(8, minmax(0, 1fr))",
1535
- 9: "repeat(9, minmax(0, 1fr))",
1536
- 10: "repeat(10, minmax(0, 1fr))",
1537
- 11: "repeat(11, minmax(0, 1fr))",
1538
- 12: "repeat(12, minmax(0, 1fr))"
1539
- },
1540
- gridTemplateRows: {
1541
- none: "none",
1542
- 1: "repeat(1, minmax(0, 1fr))",
1543
- 2: "repeat(2, minmax(0, 1fr))",
1544
- 3: "repeat(3, minmax(0, 1fr))",
1545
- 4: "repeat(4, minmax(0, 1fr))",
1546
- 5: "repeat(5, minmax(0, 1fr))",
1547
- 6: "repeat(6, minmax(0, 1fr))"
1548
- },
1549
- height: {
1550
- auto: "auto",
1551
- ...spacing_tailwind_default,
1552
- "1/2": "50%",
1553
- "1/3": "33.333333%",
1554
- "2/3": "66.666667%",
1555
- "1/4": "25%",
1556
- "2/4": "50%",
1557
- "3/4": "75%",
1558
- "1/5": "20%",
1559
- "2/5": "40%",
1560
- "3/5": "60%",
1561
- "4/5": "80%",
1562
- "1/6": "16.666667%",
1563
- "2/6": "33.333333%",
1564
- "3/6": "50%",
1565
- "4/6": "66.666667%",
1566
- "5/6": "83.333333%",
1567
- full: "100%",
1568
- screen: "100vh",
1569
- min: "min-content",
1570
- max: "max-content",
1571
- fit: "fit-content"
1572
- },
1573
- hueRotate: {
1574
- 0: "0deg",
1575
- 15: "15deg",
1576
- 30: "30deg",
1577
- 60: "60deg",
1578
- 90: "90deg",
1579
- 180: "180deg"
1580
- },
1581
- inset: {
1582
- auto: "auto",
1583
- ...spacing_tailwind_default,
1584
- "1/2": "50%",
1585
- "1/3": "33.333333%",
1586
- "2/3": "66.666667%",
1587
- "1/4": "25%",
1588
- "2/4": "50%",
1589
- "3/4": "75%",
1590
- full: "100%"
1591
- },
1592
- invert: {
1593
- 0: "0",
1594
- DEFAULT: "100%"
1595
- },
1596
- keyframes: {
1597
- spin: {
1598
- to: {
1599
- transform: "rotate(360deg)"
1600
- }
1601
- },
1602
- ping: {
1603
- "75%, 100%": {
1604
- transform: "scale(2)",
1605
- opacity: "0"
1606
- }
1607
- },
1608
- pulse: {
1609
- "50%": {
1610
- opacity: ".5"
1611
- }
1612
- },
1613
- bounce: {
1614
- "0%, 100%": {
1615
- transform: "translateY(-25%)",
1616
- animationTimingFunction: "cubic-bezier(0.8,0,1,1)"
1617
- },
1618
- "50%": {
1619
- transform: "none",
1620
- animationTimingFunction: "cubic-bezier(0,0,0.2,1)"
1621
- }
1622
- },
1623
- "accordion-down": {
1624
- from: { height: 0 },
1625
- to: { height: "var(--radix-accordion-content-height)" }
1626
- },
1627
- "accordion-up": {
1628
- from: { height: "var(--radix-accordion-content-height)" },
1629
- to: { height: 0 }
1630
- },
1631
- "opacity-in": {
1632
- from: { opacity: "0" },
1633
- to: { opacity: "1" }
1634
- }
1635
- },
1636
- letterSpacing: {
1637
- tighter: "-0.05em",
1638
- tight: "-0.025em",
1639
- normal: "0em",
1640
- wide: "0.025em",
1641
- wider: "0.05em",
1642
- widest: "0.1em"
1643
- },
1644
- lineHeight: {
1645
- none: "1",
1646
- tight: "1.25",
1647
- snug: "1.375",
1648
- normal: "1.5",
1649
- relaxed: "1.625",
1650
- loose: "2",
1651
- 3: ".75rem",
1652
- 4: "1rem",
1653
- 5: "1.25rem",
1654
- 6: "1.5rem",
1655
- 7: "1.75rem",
1656
- 8: "2rem",
1657
- 9: "2.25rem",
1658
- 10: "2.5rem"
1659
- },
1660
- listStyleType: {
1661
- none: "none",
1662
- disc: "disc",
1663
- decimal: "decimal"
1664
- },
1665
- listStyleImage: {
1666
- none: "none"
1667
- },
1668
- margin: {
1669
- auto: "auto",
1670
- ...spacing_tailwind_default
1671
- },
1672
- lineClamp: {
1673
- 1: "1",
1674
- 2: "2",
1675
- 3: "3",
1676
- 4: "4",
1677
- 5: "5",
1678
- 6: "6"
1679
- },
1680
- maxHeight: {
1681
- ...spacing_tailwind_default,
1682
- none: "none",
1683
- full: "100%",
1684
- screen: "100vh",
1685
- min: "min-content",
1686
- max: "max-content",
1687
- fit: "fit-content"
1688
- },
1689
- maxWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1690
- ...spacing_tailwind_default,
1691
- none: "none",
1692
- 0: "0rem",
1693
- xs: "20rem",
1694
- sm: "24rem",
1695
- md: "28rem",
1696
- lg: "32rem",
1697
- xl: "36rem",
1698
- "2xl": "42rem",
1699
- "3xl": "48rem",
1700
- "4xl": "56rem",
1701
- "5xl": "64rem",
1702
- "6xl": "72rem",
1703
- "7xl": "80rem",
1704
- full: "100%",
1705
- min: "min-content",
1706
- max: "max-content",
1707
- fit: "fit-content",
1708
- prose: "65ch",
1709
- ...breakpoints(theme("screens"))
1710
- }), "maxWidth"),
1711
- minHeight: {
1712
- ...spacing_tailwind_default,
1713
- 0: "0px",
1714
- full: "100%",
1715
- screen: "100vh",
1716
- min: "min-content",
1717
- max: "max-content",
1718
- fit: "fit-content"
1719
- },
1720
- minWidth: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1721
- ...spacing_tailwind_default,
1722
- 0: "0px",
1723
- full: "100%",
1724
- min: "min-content",
1725
- max: "max-content",
1726
- fit: "fit-content",
1727
- ...breakpoints(theme("screens"))
1728
- }), "minWidth"),
1729
- objectPosition: {
1730
- bottom: "bottom",
1731
- center: "center",
1732
- left: "left",
1733
- "left-bottom": "left bottom",
1734
- "left-top": "left top",
1735
- right: "right",
1736
- "right-bottom": "right bottom",
1737
- "right-top": "right top",
1738
- top: "top"
1739
- },
1740
- opacity: {
1741
- 0: "0",
1742
- 5: "0.05",
1743
- 10: "0.1",
1744
- 20: "0.2",
1745
- 25: "0.25",
1746
- 30: "0.3",
1747
- 35: "0.35",
1748
- 40: "0.4",
1749
- 45: "0.45",
1750
- 50: "0.5",
1751
- 55: "0.55",
1752
- 60: "0.6",
1753
- 65: "0.65",
1754
- 70: "0.7",
1755
- 75: "0.75",
1756
- 80: "0.8",
1757
- 85: "0.85",
1758
- 90: "0.9",
1759
- 95: "0.95",
1760
- 100: "1"
1761
- },
1762
- order: {
1763
- first: "-9999",
1764
- last: "9999",
1765
- none: "0",
1766
- 1: "1",
1767
- 2: "2",
1768
- 3: "3",
1769
- 4: "4",
1770
- 5: "5",
1771
- 6: "6",
1772
- 7: "7",
1773
- 8: "8",
1774
- 9: "9",
1775
- 10: "10",
1776
- 11: "11",
1777
- 12: "12"
1778
- },
1779
- outlineColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "outlineColor"),
1780
- outlineOffset: {
1781
- 0: "0px",
1782
- 1: "1px",
1783
- 2: "2px",
1784
- 4: "4px",
1785
- 8: "8px"
1786
- },
1787
- outlineWidth: {
1788
- 0: "0px",
1789
- 1: "1px",
1790
- 2: "2px",
1791
- 4: "4px",
1792
- 8: "8px"
1793
- },
1794
- padding: spacing_tailwind_default,
1795
- placeholderColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "placeholderColor"),
1796
- placeholderOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "placeholderOpacity"),
1797
- ringColor: /* @__PURE__ */ __name(({ theme }) => ({
1798
- DEFAULT: theme("colors.blue.500", "#3b82f6"),
1799
- ...theme("colors")
1800
- }), "ringColor"),
1801
- ringOffsetColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "ringOffsetColor"),
1802
- ringOffsetWidth: {
1803
- 0: "0px",
1804
- 1: "1px",
1805
- 2: "2px",
1806
- 4: "4px",
1807
- 8: "8px"
1808
- },
1809
- ringOpacity: /* @__PURE__ */ __name(({ theme }) => ({
1810
- DEFAULT: "0.5",
1811
- ...theme("opacity")
1812
- }), "ringOpacity"),
1813
- ringWidth: {
1814
- DEFAULT: "3px",
1815
- 0: "0px",
1816
- 1: "1px",
1817
- 2: "2px",
1818
- 4: "4px",
1819
- 8: "8px"
1820
- },
1821
- rotate: {
1822
- 0: "0deg",
1823
- 1: "1deg",
1824
- 2: "2deg",
1825
- 3: "3deg",
1826
- 6: "6deg",
1827
- 12: "12deg",
1828
- 45: "45deg",
1829
- 90: "90deg",
1830
- 180: "180deg"
1831
- },
1832
- saturate: {
1833
- 0: "0",
1834
- 50: ".5",
1835
- 100: "1",
1836
- 150: "1.5",
1837
- 200: "2"
1838
- },
1839
- scale: {
1840
- 0: "0",
1841
- 50: ".5",
1842
- 75: ".75",
1843
- 90: ".9",
1844
- 95: ".95",
1845
- 100: "1",
1846
- 105: "1.05",
1847
- 110: "1.1",
1848
- 125: "1.25",
1849
- 150: "1.5"
1850
- },
1851
- screens: screens_tailwind_default,
1852
- scrollMargin: spacing_tailwind_default,
1853
- scrollPadding: spacing_tailwind_default,
1854
- sepia: {
1855
- 0: "0",
1856
- DEFAULT: "100%"
1857
- },
1858
- skew: {
1859
- 0: "0deg",
1860
- 1: "1deg",
1861
- 2: "2deg",
1862
- 3: "3deg",
1863
- 6: "6deg",
1864
- 12: "12deg"
1865
- },
1866
- space: spacing_tailwind_default,
1867
- spacing: spacing_tailwind_default,
1868
- stroke: /* @__PURE__ */ __name(({ theme }) => ({
1869
- none: "none",
1870
- ...theme("colors")
1871
- }), "stroke"),
1872
- strokeWidth: {
1873
- 0: "0",
1874
- 1: "1",
1875
- 2: "2"
1876
- },
1877
- supports: {},
1878
- data: {
1879
- on: 'state~="on"',
1880
- off: 'state~="off"'
1881
- },
1882
- textColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textColor"),
1883
- textDecorationColor: /* @__PURE__ */ __name(({ theme }) => theme("colors"), "textDecorationColor"),
1884
- textDecorationThickness: {
1885
- auto: "auto",
1886
- "from-font": "from-font",
1887
- 0: "0px",
1888
- 1: "1px",
1889
- 2: "2px",
1890
- 4: "4px",
1891
- 8: "8px"
1892
- },
1893
- textIndent: spacing_tailwind_default,
1894
- textOpacity: /* @__PURE__ */ __name(({ theme }) => theme("opacity"), "textOpacity"),
1895
- textUnderlineOffset: {
1896
- auto: "auto",
1897
- 0: "0px",
1898
- 1: "1px",
1899
- 2: "2px",
1900
- 4: "4px",
1901
- 8: "8px"
1902
- },
1903
- transformOrigin: {
1904
- center: "center",
1905
- top: "top",
1906
- "top-right": "top right",
1907
- right: "right",
1908
- "bottom-right": "bottom right",
1909
- bottom: "bottom",
1910
- "bottom-left": "bottom left",
1911
- left: "left",
1912
- "top-left": "top left"
1913
- },
1914
- transitionDelay: {
1915
- 0: "0s",
1916
- 75: "75ms",
1917
- 100: "100ms",
1918
- 150: "150ms",
1919
- 200: "200ms",
1920
- 300: "300ms",
1921
- 500: "500ms",
1922
- 700: "700ms",
1923
- 1e3: "1000ms"
1924
- },
1925
- transitionDuration: {
1926
- DEFAULT: "150ms",
1927
- 0: "0s",
1928
- 75: "75ms",
1929
- 100: "100ms",
1930
- 150: "150ms",
1931
- 200: "200ms",
1932
- 300: "300ms",
1933
- 500: "500ms",
1934
- 700: "700ms",
1935
- 1e3: "1000ms"
1936
- },
1937
- transitionProperty: {
1938
- none: "none",
1939
- all: "all",
1940
- DEFAULT: "color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",
1941
- colors: "color, background-color, border-color, text-decoration-color, fill, stroke",
1942
- opacity: "opacity",
1943
- shadow: "box-shadow",
1944
- transform: "transform",
1945
- height: "height",
1946
- spacing: "margin, padding"
1947
- },
1948
- transitionTimingFunction: {
1949
- DEFAULT: "cubic-bezier(0.4, 0, 0.2, 1)",
1950
- linear: "linear",
1951
- in: "cubic-bezier(0.4, 0, 1, 1)",
1952
- out: "cubic-bezier(0, 0, 0.2, 1)",
1953
- "in-out": "cubic-bezier(0.4, 0, 0.2, 1)"
1954
- },
1955
- translate: {
1956
- ...spacing_tailwind_default,
1957
- "1/2": "50%",
1958
- "1/3": "33.333333%",
1959
- "2/3": "66.666667%",
1960
- "1/4": "25%",
1961
- "2/4": "50%",
1962
- "3/4": "75%",
1963
- full: "100%"
1964
- },
1965
- width: /* @__PURE__ */ __name(({ theme, breakpoints }) => ({
1966
- auto: "auto",
1967
- ...spacing_tailwind_default,
1968
- "1/2": "50%",
1969
- "1/3": "33.333333%",
1970
- "2/3": "66.666667%",
1971
- "1/4": "25%",
1972
- "2/4": "50%",
1973
- "3/4": "75%",
1974
- "1/5": "20%",
1975
- "2/5": "40%",
1976
- "3/5": "60%",
1977
- "4/5": "80%",
1978
- "1/6": "16.666667%",
1979
- "2/6": "33.333333%",
1980
- "3/6": "50%",
1981
- "4/6": "66.666667%",
1982
- "5/6": "83.333333%",
1983
- "1/12": "8.333333%",
1984
- "2/12": "16.666667%",
1985
- "3/12": "25%",
1986
- "4/12": "33.333333%",
1987
- "5/12": "41.666667%",
1988
- "6/12": "50%",
1989
- "7/12": "58.333333%",
1990
- "8/12": "66.666667%",
1991
- "9/12": "75%",
1992
- "10/12": "83.333333%",
1993
- "11/12": "91.666667%",
1994
- full: "100%",
1995
- screen: "100vw",
1996
- min: "min-content",
1997
- max: "max-content",
1998
- fit: "fit-content",
1999
- ...breakpoints(theme("screens"))
2000
- }), "width"),
2001
- willChange: {
2002
- auto: "auto",
2003
- scroll: "scroll-position",
2004
- contents: "contents",
2005
- transform: "transform"
2006
- },
2007
- zIndex: z_index_tailwind_default
2008
- }
2009
- };
2010
-
2011
- export { tailwind_config_hanzo_preset_default as preset };
1
+ import G from'tailwindcss-animate';import Q from'@tailwindcss/container-queries';import V from'tailwindcss-interaction-media';import j from'tailwindcss/plugin';import P from'lodash.merge';import I from'lodash.castarray';import'lodash.isplainobject';import D from'postcss-selector-parser';var B=Object.defineProperty;var e=(t,n)=>B(t,"name",{value:n,configurable:true});var y=e(({colors:t})=>({inherit:t.inherit,current:t.current,transparent:t.transparent,ring:"var(--hz-ui-ring)",background:"var(--hz-ui-bg-0)",overlay:"var(--hz-ui-bg-overlay)",level:{DEFAULT:"var(--hz-ui-bg-0)",0:"var(--hz-ui-bg-0)",1:"var(--hz-ui-bg-1)",2:"var(--hz-ui-bg-2)",3:"var(--hz-ui-bg-3)"},accent:"var(--hz-ui-fg-0)",foreground:"var(--hz-ui-fg-body)",muted:{DEFAULT:"var(--hz-ui-fg-2)",1:"var(--hz-ui-fg-2)",2:"var(--hz-ui-fg-3)",3:"var(--hz-ui-fg-4)",4:"var(--hz-ui-fg-5)"},primary:{DEFAULT:"var(--hz-ui-primary)",lux:"var(--hz-ui-primary)",hover:"var(--hz-ui-primary-hover)",fg:"var(--hz-ui-primary-fg)"},secondary:{DEFAULT:"var(--hz-ui-secondary)",lux:"var(--hz-ui-secondary)",hover:"var(--hz-ui-secondary-hover)",fg:"var(--hz-ui-secondary-fg)",0:"var(--hz-ui-secondary-0)",1:"var(--hz-ui-secondary-1)",2:"var(--hz-ui-secondary-2)",3:"var(--hz-ui-secondary-3)"},destructive:{DEFAULT:"var(--hz-ui-destructive)",fg:"var(--hz-ui-destructive-fg)"},nav:{DEFAULT:"var(--hz-ui-nav)",hover:"var(--hz-ui-nav-hover)",current:"var(--hz-ui-nav-current)"}}),"default");var v=["font-sans",{pattern:/grid-cols-[1-6]/,variants:["xs","sm","md","lg","xl","2xl"]},{pattern:/h-([0-9]|[1-3][0-9]|40)/,variants:["xs","sm","md","lg","xl","2xl"]},{pattern:/order-[0-6]/},{pattern:/mb-([1-9]|1[0-2])/},"md:text-left","md:text-center","md:text-right","md:self-start","md:self-center","md:self-end"];var w={xs:"0px",sm:"480px",md:"768px",lg:"1024px",xl:"1280px","2xl":"1500px"};var z={};for(let t=0;t<=100;t++)z[`pr-${t}`]=`${t}%`;var l={...z,px:"1px",0:"0px",.5:"0.125rem",1:"0.25rem",1.5:"0.375rem",2:"0.5rem",2.5:"0.625rem",3:"0.75rem",3.5:"0.875rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem",11:"2.75rem",12:"3rem",13:"3.25rem",14:"3.5rem",15:"3.75rem",16:"4rem",17:"4.25rem",18:"4.5rem",19:"4.75rem",20:"5rem",21:"5.25rem",22:"5.5rem",23:"5.75rem",24:"6rem",25:"5.25rem",26:"5.5rem",27:"5.75rem",28:"7rem",29:"7.25rem",30:"7.5rem",31:"7.75rem",32:"8rem",33:"8.25rem",34:"8.5rem",35:"8.75rem",36:"9rem",37:"9.25rem",38:"9.5rem",39:"9.75rem",40:"10rem",44:"11rem",48:"12rem",52:"13rem",56:"14rem",60:"15rem",64:"16rem",72:"18rem",80:"20rem",96:"24rem"};var T={xxs:["0.65rem",{lineHeight:"0.8rem"}],xs:["0.8rem",{lineHeight:"1rem"}],sm:["0.9rem",{lineHeight:"1.2rem"}],base:["1rem",{lineHeight:1.4}],lg:["1.125rem",{lineHeight:"1.75rem"}],xl:["1.25rem",{lineHeight:"1.75rem"}],"2xl":["1.5rem",{lineHeight:"2rem"}],"3xl":["1.875rem",{lineHeight:"2.25rem"}],"4xl":["2.25rem",{lineHeight:"2.5rem"}],"5xl":["3rem",{lineHeight:"1"}],"6xl":["3.75rem",{lineHeight:"1"}]};var k={sans:["sans-serif"],heading:["serif"],nav:["serif"],serif:["serif"],mono:["monospace"]};var S={auto:"auto",unset:"unset","below-content-3":"-3","below-content-2":"-2","below-content-1":"-1","below-content":"-1",content:"0","above-content":"1","above-content-1":"1","above-content-2":"2","above-content-3":"3","below-popup-3":"7","below-popup-2":"8","below-popup-1":"9","below-popup":"9",popup:"10","above-popup":"11","above-popup-1":"11","above-popup-2":"12","above-popup-3":"13","below-header-3":"17","below-header-2":"18","below-header-1":"19","below-header":"19",header:"20","above-header":"21","above-header-1":"21","above-header-2":"22","above-header-3":"23","below-modal-3":"27","below-modal-2":"28","below-modal-1":"29","below-modal":"29",modal:"30","above-modal":"31","above-modal-1":"31","above-modal-2":"32","above-modal-3":"33","below-floating-3":"37","below-floating-2":"38","below-floating-1":"39","below-floating":"39",floating:"40","above-floating":"41","above-floating-1":"41","above-floating-2":"42","above-floating-3":"43"};for(let t=0;t<=50;t++)S[`${t}`]=`${t}`;var A=S;function h(t){return Math.round(t*100)/100}e(h,"round");function o(t,n=16){return `${t/n}rem`}e(o,"pxToRem");function r(t,n=16){return `${t/n}em`}e(r,"pxToEm");var q={"--tw-typo-plugin-body":"var(--hz-ui-fg-body)","--tw-typo-plugin-headings":"var(--hz-ui-fg-0)","--tw-typo-plugin-links":"var(--hz-ui-fg-0)","--tw-typo-plugin-links-hover":"var(--hz-ui-fg-2)","--tw-typo-plugin-bold":"var(--hz-ui-fg-0)","--tw-typo-plugin-counters":"var(--hz-ui-fg-4)","--tw-typo-plugin-bullets":"var(--hz-ui-fg-2)","--tw-typo-plugin-hr":"var(--hz-ui-fg-2)","--tw-typo-plugin-quotes":"var(--hz-ui-fg-body)","--tw-typo-plugin-quote-borders":"var(--hz-ui-fg-3)","--tw-typo-plugin-captions":"var(--hz-ui-fg-2)","--tw-typo-plugin-kbd":"var(--hz-ui-fg-0)","--tw-typo-plugin-kbd-shadows":"var(--hz-ui-fg-1)","--tw-typo-plugin-code":"var(--hz-ui-fg-0)","--tw-typo-plugin-pre-code":"var(--hz-ui-fg-1)","--tw-typo-plugin-pre-bg":"var(--hz-ui-bg-1)","--tw-typo-plugin-th-borders":"var(--hz-ui-fg-2)","--tw-typo-plugin-td-borders":"var(--hz-ui-fg-3)"},$={color:"var(--tw-typo-plugin-body)",p:{textAlign:"inherit"},"p:first-child":{},"p:last-child":{},a:{color:"var(--tw-typo-plugin-links)",textDecoration:"underline",fontWeight:"400"},"a:hover":{color:"var(--tw-typo-plugin-links-hover)"},blockquote:{fontWeight:"400",fontStyle:"italic",color:"var(--tw-typo-plugin-quotes)",quotes:'"\\201C""\\201D""\\2018""\\2019"'},"blockquote p:first-of-type::before":{content:"open-quote"},"blockquote p:last-of-type::after":{content:"close-quote"},"blockquote strong":{color:"inherit"},cite:{display:"block",fontStyle:"normal",textAlign:"right",color:"var(--tw-typo-plugin-quotes)"},ol:{listStyleType:"decimal"},ul:{},"ol > li::marker":{fontWeight:"400",color:"var(--tw-typo-plugin-counters)"},"ul > li::marker":{color:"var(--tw-typo-plugin-bullets)"},"ul > li::before":{},hr:{borderColor:"var(--tw-typo-plugin-hr)",borderTopWidth:1},h1:{color:"var(--tw-typo-plugin-headings)",fontWeight:"800",textAlign:"inherit",textTransform:"uppercase"},h2:{color:"var(--tw-typo-plugin-headings)",fontWeight:"700",textAlign:"inherit",textTransform:"uppercase"},h3:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit",textTransform:"uppercase"},h4:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit"},h5:{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",textAlign:"inherit"},h6:{color:"var(--tw-typo-plugin-headings)",textAlign:"inherit"},img:{},"img:first-child":{},"img:last-child":{},picture:{display:"block"},strong:{color:"var(--tw-typo-plugin-bold)",fontWeight:"600"},video:{},kbd:{fontWeight:"500",fontFamily:"inherit",color:"var(--tw-typo-plugin-kbd)",boxShadow:"0 0 0 1px rgb(var(--tw-typo-plugin-kbd-shadows) / 10%), 0 3px 0 rgb(var(--tw-typo-plugin-kbd-shadows) / 10%)"},code:{color:"var(--tw-typo-plugin-code)",fontWeight:"500"},"code::before":{content:'"`"'},"code::after":{content:'"`"'},"a code":{color:"inherit"},"h1 code":{color:"inherit"},"h2 code":{color:"inherit"},"h3 code":{color:"inherit"},"h4 code":{color:"inherit"},"h5 code":{color:"inherit"},"h6 code":{color:"inherit"},"blockquote code":{color:"inherit"},"thead th code":{color:"inherit"},pre:{color:"var(--tw-typo-plugin-pre-code)",backgroundColor:"var(--tw-typo-plugin-pre-bg)",overflowX:"auto",fontWeight:"400"},"pre code":{backgroundColor:"transparent",borderWidth:"0",borderRadius:"0",padding:"0",fontWeight:"inherit",color:"inherit",fontSize:"inherit",fontFamily:"inherit",lineHeight:"inherit"},"pre code::before":{content:"none"},"pre code::after":{content:"none"},table:{width:"100%",tableLayout:"auto",textAlign:"left"},thead:{borderBottomWidth:"1px",borderBottomColor:"var(--tw-typo-plugin-th-borders)"},"thead th":{color:"var(--tw-typo-plugin-headings)",fontWeight:"600",verticalAlign:"bottom"},"tbody tr":{},"tbody tr:last-child":{},"tbody td":{verticalAlign:"baseline"},tfoot:{borderTopWidth:"1px",borderTopColor:"var(--tw-typo-plugin-th-borders)"},"tfoot td":{verticalAlign:"top"}},u=e(t=>({base:{css:[{fontSize:"1rem",lineHeight:1.4,p:{marginTop:"0.33rem",marginBottom:"0.33rem"},"p:first-child":{marginTop:0},"p:last-child":{marginBottom:0},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{fontSize:"1rem",paddingLeft:"1.5rem",margin:0,marginLeft:"-5px"},ul:{fontSize:"1rem",paddingLeft:"1.5rem",margin:0,marginLeft:"-0.6rem",listStylePosition:"outside",listStyleType:"'\u25BC'"},li:{},"ol > li":{paddingLeft:"0.4rem"},"ul > li":{paddingLeft:"0.75rem",marginBottom:"0.75rem"},"ul > li:last-child":{marginBottom:0},"> ul > li p":{margin:0,display:"inline"},hr:{},h1:{fontSize:o(40,t),lineHeight:1.2},h2:{fontSize:o(36,t),lineHeight:1.2},h3:{fontSize:"1.4rem",lineHeight:1.2},h4:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.3rem",lineHeight:1.2},h5:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.2rem",lineHeight:1.4},h6:{marginTop:"0.5rem",marginBottom:"0.5rem",fontSize:"1.15rem",lineHeight:1.3},"hr + *":{marginTop:"0"},"h2 + *":{marginTop:"0"},"h3 + *":{marginTop:"0"},"h4 + *":{marginTop:"0"},img:{marginTop:"0.5rem",marginBottom:"0.5rem"},"img:first-child":{marginTop:0},"img:last-child":{marginBottom:0},picture:{marginTop:o(20,t),marginBottom:o(20,t)},"picture > img":{marginTop:"0",marginBottom:"0"},video:{marginTop:o(20,t),marginBottom:o(20,t)},kbd:{fontSize:r(14,16),borderRadius:o(5,t),paddingTop:r(3,16),paddingRight:r(6,16),paddingBottom:r(3,16),paddingLeft:r(6,16)},code:{fontSize:r(14,16)},"h2 code":{fontSize:r(21,24)},"h3 code":{fontSize:r(18,20)},pre:{fontSize:o(14,16),lineHeight:h(24/14),marginTop:r(24,14),marginBottom:r(24,14),borderRadius:o(6,t),paddingTop:r(12,14),paddingRight:r(16,14),paddingBottom:r(12,14),paddingLeft:r(16,14)},"ul ul, ul ol, ol ul, ol ol":{marginTop:o(12,t),marginBottom:o(12,t)},dl:{marginTop:r(20,16),marginBottom:r(20,t)},dt:{marginTop:r(20,t)},dd:{marginTop:r(8,t),paddingLeft:r(26,t)},table:{fontSize:r(14,t),lineHeight:h(24/14)},"thead th":{paddingRight:r(8,14),paddingBottom:r(8,14),paddingLeft:r(8,14)},"thead th:first-child":{paddingLeft:"0"},"thead th:last-child":{paddingRight:"0"},"tbody td, tfoot td":{paddingTop:r(8,14),paddingRight:r(8,14),paddingBottom:r(8,14),paddingLeft:r(8,14)},"tbody td:first-child, tfoot td:first-child":{paddingLeft:"0"},"tbody td:last-child, tfoot td:last-child":{paddingRight:"0"}}]},sm:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(24,t)},h2:{fontSize:o(20,t)},h3:{fontSize:r(18,t)},h4:{},h5:{},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]},lg:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(45,t),lineHeight:1.1},h2:{fontSize:o(40,t),lineHeight:1.1},h3:{fontSize:o(32,t),lineHeight:1.1},h4:{fontSize:o(26,t),marginTop:o(13,t),marginBottom:o(13,t)},h5:{fontSize:o(22,t),marginTop:o(11,t),marginBottom:o(11,t)},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]},xl:{css:[{p:{},"p:first-child":{},"p:last-child":{},a:{},"a:hover":{},blockquote:{},"blockquote p:first-of-type::before":{},"blockquote p:last-of-type::after":{},cite:{},ol:{},ul:{},li:{},"ol > li":{},"ul > li":{},"ul > li:last-child":{},"> ul > li p":{},hr:{},h1:{fontSize:o(52,t),lineHeight:1.1},h2:{fontSize:o(45,t),lineHeight:1.1},h3:{fontSize:o(40,t),lineHeight:1.1},h4:{fontSize:o(28,t),marginTop:o(13,t),marginBottom:o(13,t)},h5:{fontSize:o(22,t),marginTop:o(11,t),marginBottom:o(11,t)},h6:{},"hr + *":{},"h2 + *":{},"h3 + *":{},"h4 + *":{},img:{},"img:first-child":{},"img:last-child":{},picture:{},"picture > img":{},video:{},kbd:{},code:{},"h2 code":{},"h3 code":{},pre:{},"ul ul, ul ol, ol ul, ol ol":{},dl:{},dt:{},dd:{},table:{},"thead th":{},"thead th:first-child":{},"thead th:last-child":{},"tbody td, tfoot td":{},"tbody td:first-child, tfoot td:first-child":{},"tbody td:last-child, tfoot td:last-child":{}}]}}),"defaultModifiers"),R=e(t=>({DEFAULT:{css:[$,q,...u(t).base.css]},sm:u(t).sm,lg:u(t).lg,xl:u(t).xl}),"getStyles"),L=R;var O=D();function C(t){let n=O.astSync(t),m=[];for(let[p,d]of n.nodes.entries())for(let[i,a]of [...d.nodes].reverse().entries()){if(a.type!=="pseudo"||!a.value.startsWith("::"))break;m[i]=m[i]||[],m[i][p]=a;}let s=D.selector();for(let p of m){if(!p)continue;if(new Set([...p.map(i=>i.value)]).size>1)break;p.forEach(i=>i.remove()),s.prepend(p[0]);}return s.nodes.length?[s.toString(),n.toString()]:[null,t]}e(C,"commonTrailingPseudos");var E=16,F={};function f(t,{className:n,modifier:m,prefix:s}){let p=s(`.not-${n}`).slice(1),d=t.startsWith(">")?`${m==="DEFAULT"?`.${n}`:`.${n}-${m}`} `:"",[i,a]=C(t);return i?`:where(${d}${a}):not(:where([class~="${p}"],[class~="${p}"] *))${i}`:`:where(${d}${t}):not(:where([class~="${p}"],[class~="${p}"] *))`}e(f,"inWhere");function H(t){return typeof t=="object"&&t!==null}e(H,"isObject");function M(t={},{target:n,className:m,modifier:s,prefix:p}){function d(i,a){return n==="legacy"?[i,a]:Array.isArray(a)?[i,a]:H(a)?Object.values(a).some(H)?[f(i,{className:m,modifier:s,prefix:p}),a,Object.fromEntries(Object.entries(a).map(([c,g])=>d(c,g)))]:[f(i,{className:m,modifier:s,prefix:p}),a]:[i,a]}return e(d,"updateSelector"),Object.fromEntries(Object.entries(P({},...Object.keys(t).filter(i=>F[i]).map(i=>F[i](t[i])),...I(t.css||{}))).map(([i,a])=>d(i,a)))}e(M,"configToCss");var W=j.withOptions(({className:t="prose",target:n="modern",base:m=16}={})=>(E=m,function({addVariant:s,addComponents:p,theme:d,prefix:i}){let a=d("typography"),x={className:t,prefix:i};for(let[c,...g]of [["headings","h1","h2","h3"],["h1"],["h2"],["h3"],["h4"],["h5"],["h6"],["p"],["a"],["blockquote"],["figure"],["figcaption"],["strong"],["em"],["code"],["pre"],["ol"],["ul"],["li"],["table"],["thead"],["tr"],["th"],["td"],["img"],["video"],["hr"]]){g=g.length===0?[c]:g;let b=n==="legacy"?g.map(U=>`& ${U}`):g.join(", ");s(`${t}-${c}`,n==="legacy"?b:`& :is(${f(b,x)})`);}p(Object.keys(a).map(c=>({[c==="DEFAULT"?`.${t}`:`.${t}-${c}`]:M(a[c],{target:n,className:t,modifier:c,prefix:i})})));}),()=>({theme:{typography:L(E)}}));var X={darkMode:["class"],content:[],safelist:v,plugins:[G,W({className:"typography",base:16}),Q,V],theme:{accentColor:e(({theme:t})=>({...t("colors"),auto:"auto"}),"accentColor"),animation:{none:"none",spin:"spin 1s linear infinite",ping:"ping 1s cubic-bezier(0, 0, 0.2, 1) infinite",pulse:"pulse 2s linear(0, 1) infinite",pulsereverse:"pulse 2s linear(1, 0) infinite",bounce:"bounce 1s infinite","accordion-down":"accordion-down 0.2s ease-out","accordion-up":"accordion-up 0.2s ease-out","mobile-menu-open":"opacity-in 300ms ease-in"},aria:{checked:'checked="true"',disabled:'disabled="true"',expanded:'expanded="true"',hidden:'hidden="true"',pressed:'pressed="true"',readonly:'readonly="true"',required:'required="true"',selected:'selected="true"'},aspectRatio:{auto:"auto",square:"1 / 1",video:"16 / 9"},backdropBlur:e(({theme:t})=>t("blur"),"backdropBlur"),backdropBrightness:e(({theme:t})=>t("brightness"),"backdropBrightness"),backdropContrast:e(({theme:t})=>t("contrast"),"backdropContrast"),backdropGrayscale:e(({theme:t})=>t("grayscale"),"backdropGrayscale"),backdropHueRotate:e(({theme:t})=>t("hueRotate"),"backdropHueRotate"),backdropInvert:e(({theme:t})=>t("invert"),"backdropInvert"),backdropOpacity:e(({theme:t})=>t("opacity"),"backdropOpacity"),backdropSaturate:e(({theme:t})=>t("saturate"),"backdropSaturate"),backdropSepia:e(({theme:t})=>t("sepia"),"backdropSepia"),backgroundColor:e(({theme:t})=>t("colors"),"backgroundColor"),backgroundImage:{none:"none","gradient-to-t":"linear-gradient(to top, var(--tw-gradient-stops))","gradient-to-tr":"linear-gradient(to top right, var(--tw-gradient-stops))","gradient-to-r":"linear-gradient(to right, var(--tw-gradient-stops))","gradient-to-br":"linear-gradient(to bottom right, var(--tw-gradient-stops))","gradient-to-b":"linear-gradient(to bottom, var(--tw-gradient-stops))","gradient-to-bl":"linear-gradient(to bottom left, var(--tw-gradient-stops))","gradient-to-l":"linear-gradient(to left, var(--tw-gradient-stops))","gradient-to-tl":"linear-gradient(to top left, var(--tw-gradient-stops))"},backgroundOpacity:e(({theme:t})=>t("opacity"),"backgroundOpacity"),backgroundPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},backgroundSize:{auto:"auto",cover:"cover",contain:"contain"},blur:{0:"0",none:"0",sm:"4px",DEFAULT:"8px",md:"12px",lg:"16px",xl:"24px","2xl":"40px","3xl":"64px"},borderColor:e(({theme:t})=>({...t("colors"),DEFAULT:t("colors.muted.3")}),"borderColor"),borderOpacity:e(({theme:t})=>t("opacity"),"borderOpacity"),borderRadius:{none:"0px",sm:"0.25rem",DEFAULT:"0.5rem",md:"0.5rem",lg:"0.75rem",xl:"1rem","2xl":"1.5rem","3xl":"2rem",full:"9999px"},borderSpacing:l,borderWidth:{DEFAULT:"1px",0:"0px",2:"2px",4:"4px",8:"8px"},boxShadow:{sm:"0 1px 2px 0 rgb(0 0 0 / 0.05)",DEFAULT:"0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1)",md:"0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1)",lg:"0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1)",xl:"0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1)","2xl":"0 25px 50px -12px rgb(0 0 0 / 0.25)",inner:"inset 0 2px 4px 0 rgb(0 0 0 / 0.05)",none:"none"},boxShadowColor:e(({theme:t})=>t("colors"),"boxShadowColor"),brightness:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5",200:"2"},caretColor:e(({theme:t})=>t("colors"),"caretColor"),colors:y,columns:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12","3xs":"16rem","2xs":"18rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem"},container:{center:true,padding:"2rem"},content:{none:"none"},contrast:{0:"0",50:".5",75:".75",100:"1",125:"1.25",150:"1.5",200:"2"},cursor:{auto:"auto",default:"default",pointer:"pointer",wait:"wait",text:"text",move:"move",help:"help","not-allowed":"not-allowed",none:"none","context-menu":"context-menu",progress:"progress",cell:"cell",crosshair:"crosshair","vertical-text":"vertical-text",alias:"alias",copy:"copy","no-drop":"no-drop",grab:"grab",grabbing:"grabbing","all-scroll":"all-scroll","col-resize":"col-resize","row-resize":"row-resize","n-resize":"n-resize","e-resize":"e-resize","s-resize":"s-resize","w-resize":"w-resize","ne-resize":"ne-resize","nw-resize":"nw-resize","se-resize":"se-resize","sw-resize":"sw-resize","ew-resize":"ew-resize","ns-resize":"ns-resize","nesw-resize":"nesw-resize","nwse-resize":"nwse-resize","zoom-in":"zoom-in","zoom-out":"zoom-out"},divideColor:e(({theme:t})=>t("borderColor"),"divideColor"),divideOpacity:e(({theme:t})=>t("borderOpacity"),"divideOpacity"),divideWidth:e(({theme:t})=>t("borderWidth"),"divideWidth"),dropShadow:{sm:"0 1px 1px rgb(0 0 0 / 0.05)",DEFAULT:["0 1px 2px rgb(0 0 0 / 0.1)","0 1px 1px rgb(0 0 0 / 0.06)"],md:["0 4px 3px rgb(0 0 0 / 0.07)","0 2px 2px rgb(0 0 0 / 0.06)"],lg:["0 10px 8px rgb(0 0 0 / 0.04)","0 4px 3px rgb(0 0 0 / 0.1)"],xl:["0 20px 13px rgb(0 0 0 / 0.03)","0 8px 5px rgb(0 0 0 / 0.08)"],"2xl":"0 25px 25px rgb(0 0 0 / 0.15)",none:"0 0 #0000"},fill:e(({theme:t})=>({none:"none",...t("colors")}),"fill"),flex:{1:"1 1 0%",auto:"1 1 auto",initial:"0 1 auto",none:"none"},flexBasis:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%"},flexGrow:{0:"0",DEFAULT:"1"},flexShrink:{0:"0",DEFAULT:"1"},fontFamily:k,fontSize:T,fontWeight:{thin:"100",extralight:"200",light:"300",normal:"400",medium:"500",semibold:"600",bold:"700",extrabold:"800",black:"900"},gap:l,gradientColorStops:e(({theme:t})=>t("colors"),"gradientColorStops"),gradientColorStopPositions:{"0%":"0%","5%":"5%","10%":"10%","15%":"15%","20%":"20%","25%":"25%","30%":"30%","35%":"35%","40%":"40%","45%":"45%","50%":"50%","55%":"55%","60%":"60%","65%":"65%","70%":"70%","75%":"75%","80%":"80%","85%":"85%","90%":"90%","95%":"95%","100%":"100%"},grayscale:{0:"0",DEFAULT:"100%"},gridAutoColumns:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridAutoRows:{auto:"auto",min:"min-content",max:"max-content",fr:"minmax(0, 1fr)"},gridColumn:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-7":"span 7 / span 7","span-8":"span 8 / span 8","span-9":"span 9 / span 9","span-10":"span 10 / span 10","span-11":"span 11 / span 11","span-12":"span 12 / span 12","span-full":"1 / -1"},gridColumnEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridColumnStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12",13:"13"},gridRow:{auto:"auto","span-1":"span 1 / span 1","span-2":"span 2 / span 2","span-3":"span 3 / span 3","span-4":"span 4 / span 4","span-5":"span 5 / span 5","span-6":"span 6 / span 6","span-full":"1 / -1"},gridRowEnd:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridRowStart:{auto:"auto",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7"},gridTemplateColumns:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))",7:"repeat(7, minmax(0, 1fr))",8:"repeat(8, minmax(0, 1fr))",9:"repeat(9, minmax(0, 1fr))",10:"repeat(10, minmax(0, 1fr))",11:"repeat(11, minmax(0, 1fr))",12:"repeat(12, minmax(0, 1fr))"},gridTemplateRows:{none:"none",1:"repeat(1, minmax(0, 1fr))",2:"repeat(2, minmax(0, 1fr))",3:"repeat(3, minmax(0, 1fr))",4:"repeat(4, minmax(0, 1fr))",5:"repeat(5, minmax(0, 1fr))",6:"repeat(6, minmax(0, 1fr))"},height:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},hueRotate:{0:"0deg",15:"15deg",30:"30deg",60:"60deg",90:"90deg",180:"180deg"},inset:{auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"},invert:{0:"0",DEFAULT:"100%"},keyframes:{spin:{to:{transform:"rotate(360deg)"}},ping:{"75%, 100%":{transform:"scale(2)",opacity:"0"}},pulse:{"50%":{opacity:".5"}},bounce:{"0%, 100%":{transform:"translateY(-25%)",animationTimingFunction:"cubic-bezier(0.8,0,1,1)"},"50%":{transform:"none",animationTimingFunction:"cubic-bezier(0,0,0.2,1)"}},"accordion-down":{from:{height:0},to:{height:"var(--radix-accordion-content-height)"}},"accordion-up":{from:{height:"var(--radix-accordion-content-height)"},to:{height:0}},"opacity-in":{from:{opacity:"0"},to:{opacity:"1"}}},letterSpacing:{tighter:"-0.05em",tight:"-0.025em",normal:"0em",wide:"0.025em",wider:"0.05em",widest:"0.1em"},lineHeight:{none:"1",tight:"1.25",snug:"1.375",normal:"1.5",relaxed:"1.625",loose:"2",3:".75rem",4:"1rem",5:"1.25rem",6:"1.5rem",7:"1.75rem",8:"2rem",9:"2.25rem",10:"2.5rem"},listStyleType:{none:"none",disc:"disc",decimal:"decimal"},listStyleImage:{none:"none"},margin:{auto:"auto",...l},lineClamp:{1:"1",2:"2",3:"3",4:"4",5:"5",6:"6"},maxHeight:{...l,none:"none",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},maxWidth:e(({theme:t,breakpoints:n})=>({...l,none:"none",0:"0rem",xs:"20rem",sm:"24rem",md:"28rem",lg:"32rem",xl:"36rem","2xl":"42rem","3xl":"48rem","4xl":"56rem","5xl":"64rem","6xl":"72rem","7xl":"80rem",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",prose:"65ch",...n(t("screens"))}),"maxWidth"),minHeight:{...l,0:"0px",full:"100%",screen:"100vh",min:"min-content",max:"max-content",fit:"fit-content"},minWidth:e(({theme:t,breakpoints:n})=>({...l,0:"0px",full:"100%",min:"min-content",max:"max-content",fit:"fit-content",...n(t("screens"))}),"minWidth"),objectPosition:{bottom:"bottom",center:"center",left:"left","left-bottom":"left bottom","left-top":"left top",right:"right","right-bottom":"right bottom","right-top":"right top",top:"top"},opacity:{0:"0",5:"0.05",10:"0.1",20:"0.2",25:"0.25",30:"0.3",35:"0.35",40:"0.4",45:"0.45",50:"0.5",55:"0.55",60:"0.6",65:"0.65",70:"0.7",75:"0.75",80:"0.8",85:"0.85",90:"0.9",95:"0.95",100:"1"},order:{first:"-9999",last:"9999",none:"0",1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",10:"10",11:"11",12:"12"},outlineColor:e(({theme:t})=>t("colors"),"outlineColor"),outlineOffset:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},outlineWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},padding:l,placeholderColor:e(({theme:t})=>t("colors"),"placeholderColor"),placeholderOpacity:e(({theme:t})=>t("opacity"),"placeholderOpacity"),ringColor:e(({theme:t})=>({DEFAULT:t("colors.blue.500","#3b82f6"),...t("colors")}),"ringColor"),ringOffsetColor:e(({theme:t})=>t("colors"),"ringOffsetColor"),ringOffsetWidth:{0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},ringOpacity:e(({theme:t})=>({DEFAULT:"0.5",...t("opacity")}),"ringOpacity"),ringWidth:{DEFAULT:"3px",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},rotate:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg",45:"45deg",90:"90deg",180:"180deg"},saturate:{0:"0",50:".5",100:"1",150:"1.5",200:"2"},scale:{0:"0",50:".5",75:".75",90:".9",95:".95",100:"1",105:"1.05",110:"1.1",125:"1.25",150:"1.5"},screens:w,scrollMargin:l,scrollPadding:l,sepia:{0:"0",DEFAULT:"100%"},skew:{0:"0deg",1:"1deg",2:"2deg",3:"3deg",6:"6deg",12:"12deg"},space:l,spacing:l,stroke:e(({theme:t})=>({none:"none",...t("colors")}),"stroke"),strokeWidth:{0:"0",1:"1",2:"2"},supports:{},data:{on:'state~="on"',off:'state~="off"'},textColor:e(({theme:t})=>t("colors"),"textColor"),textDecorationColor:e(({theme:t})=>t("colors"),"textDecorationColor"),textDecorationThickness:{auto:"auto","from-font":"from-font",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},textIndent:l,textOpacity:e(({theme:t})=>t("opacity"),"textOpacity"),textUnderlineOffset:{auto:"auto",0:"0px",1:"1px",2:"2px",4:"4px",8:"8px"},transformOrigin:{center:"center",top:"top","top-right":"top right",right:"right","bottom-right":"bottom right",bottom:"bottom","bottom-left":"bottom left",left:"left","top-left":"top left"},transitionDelay:{0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionDuration:{DEFAULT:"150ms",0:"0s",75:"75ms",100:"100ms",150:"150ms",200:"200ms",300:"300ms",500:"500ms",700:"700ms",1e3:"1000ms"},transitionProperty:{none:"none",all:"all",DEFAULT:"color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter",colors:"color, background-color, border-color, text-decoration-color, fill, stroke",opacity:"opacity",shadow:"box-shadow",transform:"transform",height:"height",spacing:"margin, padding"},transitionTimingFunction:{DEFAULT:"cubic-bezier(0.4, 0, 0.2, 1)",linear:"linear",in:"cubic-bezier(0.4, 0, 1, 1)",out:"cubic-bezier(0, 0, 0.2, 1)","in-out":"cubic-bezier(0.4, 0, 0.2, 1)"},translate:{...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%",full:"100%"},width:e(({theme:t,breakpoints:n})=>({auto:"auto",...l,"1/2":"50%","1/3":"33.333333%","2/3":"66.666667%","1/4":"25%","2/4":"50%","3/4":"75%","1/5":"20%","2/5":"40%","3/5":"60%","4/5":"80%","1/6":"16.666667%","2/6":"33.333333%","3/6":"50%","4/6":"66.666667%","5/6":"83.333333%","1/12":"8.333333%","2/12":"16.666667%","3/12":"25%","4/12":"33.333333%","5/12":"41.666667%","6/12":"50%","7/12":"58.333333%","8/12":"66.666667%","9/12":"75%","10/12":"83.333333%","11/12":"91.666667%",full:"100%",screen:"100vw",min:"min-content",max:"max-content",fit:"fit-content",...n(t("screens"))}),"width"),willChange:{auto:"auto",scroll:"scroll-position",contents:"contents",transform:"transform"},zIndex:A}};export{X as preset};