nolune 0.1.0

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 (616) hide show
  1. package/DESIGN.md +1622 -0
  2. package/LICENSE +21 -0
  3. package/README.md +226 -0
  4. package/build/client/_app/immutable/assets/0.CO3c3JBa.css +2 -0
  5. package/build/client/_app/immutable/assets/0.CO3c3JBa.css.br +0 -0
  6. package/build/client/_app/immutable/assets/0.CO3c3JBa.css.gz +0 -0
  7. package/build/client/_app/immutable/assets/10.DiHYpJ-g.css +1 -0
  8. package/build/client/_app/immutable/assets/10.DiHYpJ-g.css.br +0 -0
  9. package/build/client/_app/immutable/assets/10.DiHYpJ-g.css.gz +0 -0
  10. package/build/client/_app/immutable/assets/14.D8mCg27h.css +1 -0
  11. package/build/client/_app/immutable/assets/14.D8mCg27h.css.br +0 -0
  12. package/build/client/_app/immutable/assets/14.D8mCg27h.css.gz +0 -0
  13. package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css +1 -0
  14. package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css.br +0 -0
  15. package/build/client/_app/immutable/assets/AssistantAvatar.BH1P1JPA.css.gz +0 -0
  16. package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css +1 -0
  17. package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css.br +0 -0
  18. package/build/client/_app/immutable/assets/AvatarPicker.BWZNEVEv.css.gz +0 -0
  19. package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css +1 -0
  20. package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css.br +0 -0
  21. package/build/client/_app/immutable/assets/DotGrid.uBe8QJ6R.css.gz +0 -0
  22. package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css +1 -0
  23. package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css.br +0 -0
  24. package/build/client/_app/immutable/assets/ModelMenu.CfwWh95X.css.gz +0 -0
  25. package/build/client/_app/immutable/assets/confirm.BpBhXN_i.mp3 +0 -0
  26. package/build/client/_app/immutable/assets/data.9aNBaxbh.json +1 -0
  27. package/build/client/_app/immutable/assets/data.9aNBaxbh.json.br +0 -0
  28. package/build/client/_app/immutable/assets/data.9aNBaxbh.json.gz +0 -0
  29. package/build/client/_app/immutable/assets/data.BF1r6TM-.json +1 -0
  30. package/build/client/_app/immutable/assets/data.BF1r6TM-.json.br +0 -0
  31. package/build/client/_app/immutable/assets/data.BF1r6TM-.json.gz +0 -0
  32. package/build/client/_app/immutable/assets/data.BnNTV_b6.json +1 -0
  33. package/build/client/_app/immutable/assets/data.BnNTV_b6.json.br +0 -0
  34. package/build/client/_app/immutable/assets/data.BnNTV_b6.json.gz +0 -0
  35. package/build/client/_app/immutable/assets/data.CreAftJo.json +1 -0
  36. package/build/client/_app/immutable/assets/data.CreAftJo.json.br +0 -0
  37. package/build/client/_app/immutable/assets/data.CreAftJo.json.gz +0 -0
  38. package/build/client/_app/immutable/assets/data.DKp8PYJD.json +1 -0
  39. package/build/client/_app/immutable/assets/data.DKp8PYJD.json.br +0 -0
  40. package/build/client/_app/immutable/assets/data.DKp8PYJD.json.gz +0 -0
  41. package/build/client/_app/immutable/assets/figtree-latin-ext-wght-italic.Q0qr0lrZ.woff2 +0 -0
  42. package/build/client/_app/immutable/assets/figtree-latin-ext-wght-normal.DCwSJGxG.woff2 +0 -0
  43. package/build/client/_app/immutable/assets/figtree-latin-wght-italic.BEAWuiTz.woff2 +0 -0
  44. package/build/client/_app/immutable/assets/figtree-latin-wght-normal.D_ZTVpCC.woff2 +0 -0
  45. package/build/client/_app/immutable/assets/fira-mono-cyrillic-400-normal.BJkDdjbt.woff2 +0 -0
  46. package/build/client/_app/immutable/assets/fira-mono-cyrillic-400-normal.DUd3efVn.woff +0 -0
  47. package/build/client/_app/immutable/assets/fira-mono-cyrillic-500-normal.CAy0Dwk2.woff2 +0 -0
  48. package/build/client/_app/immutable/assets/fira-mono-cyrillic-500-normal.CFTSF0cD.woff +0 -0
  49. package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-400-normal.Co4MVjrD.woff +0 -0
  50. package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-400-normal.FAIU8e3o.woff2 +0 -0
  51. package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-500-normal.BDCQVX4y.woff +0 -0
  52. package/build/client/_app/immutable/assets/fira-mono-cyrillic-ext-500-normal.BGV2-mDE.woff2 +0 -0
  53. package/build/client/_app/immutable/assets/fira-mono-greek-400-normal.B_0AmgK7.woff +0 -0
  54. package/build/client/_app/immutable/assets/fira-mono-greek-400-normal.ftNhKy_S.woff2 +0 -0
  55. package/build/client/_app/immutable/assets/fira-mono-greek-500-normal.DNFqaoqB.woff +0 -0
  56. package/build/client/_app/immutable/assets/fira-mono-greek-500-normal.kj_VgxTv.woff2 +0 -0
  57. package/build/client/_app/immutable/assets/fira-mono-greek-ext-400-normal.BQ5yw6bY.woff +0 -0
  58. package/build/client/_app/immutable/assets/fira-mono-greek-ext-400-normal.Be4g_LSk.woff2 +0 -0
  59. package/build/client/_app/immutable/assets/fira-mono-greek-ext-500-normal.CGPEfoom.woff2 +0 -0
  60. package/build/client/_app/immutable/assets/fira-mono-greek-ext-500-normal.g6G8W_LY.woff +0 -0
  61. package/build/client/_app/immutable/assets/fira-mono-latin-400-normal.C3FQ26ho.woff +0 -0
  62. package/build/client/_app/immutable/assets/fira-mono-latin-400-normal.DVTTRLHv.woff2 +0 -0
  63. package/build/client/_app/immutable/assets/fira-mono-latin-500-normal.DknboRIW.woff +0 -0
  64. package/build/client/_app/immutable/assets/fira-mono-latin-500-normal.Du17Nws8.woff2 +0 -0
  65. package/build/client/_app/immutable/assets/fira-mono-latin-ext-400-normal.B2gPvaNr.woff2 +0 -0
  66. package/build/client/_app/immutable/assets/fira-mono-latin-ext-400-normal.CbD3vWRE.woff +0 -0
  67. package/build/client/_app/immutable/assets/fira-mono-latin-ext-500-normal.-0AGvlKU.woff +0 -0
  68. package/build/client/_app/immutable/assets/fira-mono-latin-ext-500-normal.DPED3Y3R.woff2 +0 -0
  69. package/build/client/_app/immutable/assets/fira-mono-symbols2-400-normal.C6JptOil.woff2 +0 -0
  70. package/build/client/_app/immutable/assets/fira-mono-symbols2-400-normal.CpeG9ob9.woff +0 -0
  71. package/build/client/_app/immutable/assets/fira-mono-symbols2-500-normal.0PpNbZw_.woff2 +0 -0
  72. package/build/client/_app/immutable/assets/fira-mono-symbols2-500-normal.fxu0Prpo.woff +0 -0
  73. package/build/client/_app/immutable/assets/music.z3ymEIJM.mp3 +0 -0
  74. package/build/client/_app/immutable/assets/select.CV-KWLNP.css +1 -0
  75. package/build/client/_app/immutable/assets/select.CV-KWLNP.css.br +1 -0
  76. package/build/client/_app/immutable/assets/select.CV-KWLNP.css.gz +0 -0
  77. package/build/client/_app/immutable/assets/wash.BnjShmr3.mp3 +0 -0
  78. package/build/client/_app/immutable/assets/yap.SNl9LSqC.mp3 +0 -0
  79. package/build/client/_app/immutable/chunks/-FJ70HB3.js +1 -0
  80. package/build/client/_app/immutable/chunks/-FJ70HB3.js.br +0 -0
  81. package/build/client/_app/immutable/chunks/-FJ70HB3.js.gz +0 -0
  82. package/build/client/_app/immutable/chunks/9J99lH1E.js +4 -0
  83. package/build/client/_app/immutable/chunks/9J99lH1E.js.br +0 -0
  84. package/build/client/_app/immutable/chunks/9J99lH1E.js.gz +0 -0
  85. package/build/client/_app/immutable/chunks/B4AK16CS.js +1 -0
  86. package/build/client/_app/immutable/chunks/B4AK16CS.js.br +0 -0
  87. package/build/client/_app/immutable/chunks/B4AK16CS.js.gz +0 -0
  88. package/build/client/_app/immutable/chunks/B5IRm2KW.js +1 -0
  89. package/build/client/_app/immutable/chunks/B5IRm2KW.js.br +0 -0
  90. package/build/client/_app/immutable/chunks/B5IRm2KW.js.gz +0 -0
  91. package/build/client/_app/immutable/chunks/BAJE4yH_.js +9 -0
  92. package/build/client/_app/immutable/chunks/BAJE4yH_.js.br +0 -0
  93. package/build/client/_app/immutable/chunks/BAJE4yH_.js.gz +0 -0
  94. package/build/client/_app/immutable/chunks/BDCREBKE.js +1 -0
  95. package/build/client/_app/immutable/chunks/BDCREBKE.js.br +0 -0
  96. package/build/client/_app/immutable/chunks/BDCREBKE.js.gz +0 -0
  97. package/build/client/_app/immutable/chunks/BOf4cn4q.js +16 -0
  98. package/build/client/_app/immutable/chunks/BOf4cn4q.js.br +0 -0
  99. package/build/client/_app/immutable/chunks/BOf4cn4q.js.gz +0 -0
  100. package/build/client/_app/immutable/chunks/BOixjj3c.js +1 -0
  101. package/build/client/_app/immutable/chunks/BOixjj3c.js.br +1 -0
  102. package/build/client/_app/immutable/chunks/BOixjj3c.js.gz +0 -0
  103. package/build/client/_app/immutable/chunks/BQb4WE-8.js +1 -0
  104. package/build/client/_app/immutable/chunks/BQb4WE-8.js.br +0 -0
  105. package/build/client/_app/immutable/chunks/BQb4WE-8.js.gz +0 -0
  106. package/build/client/_app/immutable/chunks/BTeK4a_a.js +1 -0
  107. package/build/client/_app/immutable/chunks/BTeK4a_a.js.br +0 -0
  108. package/build/client/_app/immutable/chunks/BTeK4a_a.js.gz +0 -0
  109. package/build/client/_app/immutable/chunks/BYNjkfU_.js +1 -0
  110. package/build/client/_app/immutable/chunks/BYNjkfU_.js.br +0 -0
  111. package/build/client/_app/immutable/chunks/BYNjkfU_.js.gz +0 -0
  112. package/build/client/_app/immutable/chunks/BeDhKqx_.js +1 -0
  113. package/build/client/_app/immutable/chunks/BeDhKqx_.js.br +3 -0
  114. package/build/client/_app/immutable/chunks/BeDhKqx_.js.gz +0 -0
  115. package/build/client/_app/immutable/chunks/Bjy-W4x2.js +81 -0
  116. package/build/client/_app/immutable/chunks/Bjy-W4x2.js.br +0 -0
  117. package/build/client/_app/immutable/chunks/Bjy-W4x2.js.gz +0 -0
  118. package/build/client/_app/immutable/chunks/Bmf5cCYM.js +1 -0
  119. package/build/client/_app/immutable/chunks/Bmf5cCYM.js.br +0 -0
  120. package/build/client/_app/immutable/chunks/Bmf5cCYM.js.gz +0 -0
  121. package/build/client/_app/immutable/chunks/Bo7a0aly.js +1 -0
  122. package/build/client/_app/immutable/chunks/Bo7a0aly.js.br +0 -0
  123. package/build/client/_app/immutable/chunks/Bo7a0aly.js.gz +0 -0
  124. package/build/client/_app/immutable/chunks/BvAz--0N.js +1 -0
  125. package/build/client/_app/immutable/chunks/BvAz--0N.js.br +0 -0
  126. package/build/client/_app/immutable/chunks/BvAz--0N.js.gz +0 -0
  127. package/build/client/_app/immutable/chunks/C-5HEoLn.js +1 -0
  128. package/build/client/_app/immutable/chunks/C-5HEoLn.js.br +0 -0
  129. package/build/client/_app/immutable/chunks/C-5HEoLn.js.gz +0 -0
  130. package/build/client/_app/immutable/chunks/C7dZK71a.js +1 -0
  131. package/build/client/_app/immutable/chunks/C7dZK71a.js.br +0 -0
  132. package/build/client/_app/immutable/chunks/C7dZK71a.js.gz +0 -0
  133. package/build/client/_app/immutable/chunks/C98TgtTN.js +1 -0
  134. package/build/client/_app/immutable/chunks/C98TgtTN.js.br +0 -0
  135. package/build/client/_app/immutable/chunks/C98TgtTN.js.gz +0 -0
  136. package/build/client/_app/immutable/chunks/C9u9ikCJ.js +1 -0
  137. package/build/client/_app/immutable/chunks/C9u9ikCJ.js.br +0 -0
  138. package/build/client/_app/immutable/chunks/C9u9ikCJ.js.gz +0 -0
  139. package/build/client/_app/immutable/chunks/CBy5xNAu.js +1 -0
  140. package/build/client/_app/immutable/chunks/CBy5xNAu.js.br +0 -0
  141. package/build/client/_app/immutable/chunks/CBy5xNAu.js.gz +0 -0
  142. package/build/client/_app/immutable/chunks/CCDGpt2Z.js +1 -0
  143. package/build/client/_app/immutable/chunks/CCDGpt2Z.js.br +0 -0
  144. package/build/client/_app/immutable/chunks/CCDGpt2Z.js.gz +0 -0
  145. package/build/client/_app/immutable/chunks/CNU7dyxe.js +1 -0
  146. package/build/client/_app/immutable/chunks/CNU7dyxe.js.br +3 -0
  147. package/build/client/_app/immutable/chunks/CNU7dyxe.js.gz +0 -0
  148. package/build/client/_app/immutable/chunks/CNij7yXO.js +1 -0
  149. package/build/client/_app/immutable/chunks/CNij7yXO.js.br +0 -0
  150. package/build/client/_app/immutable/chunks/CNij7yXO.js.gz +0 -0
  151. package/build/client/_app/immutable/chunks/CPbGz0nD.js +1 -0
  152. package/build/client/_app/immutable/chunks/CPbGz0nD.js.br +0 -0
  153. package/build/client/_app/immutable/chunks/CPbGz0nD.js.gz +0 -0
  154. package/build/client/_app/immutable/chunks/Ce5rxuHE.js +1 -0
  155. package/build/client/_app/immutable/chunks/Ce5rxuHE.js.br +0 -0
  156. package/build/client/_app/immutable/chunks/Ce5rxuHE.js.gz +0 -0
  157. package/build/client/_app/immutable/chunks/CgJaNa38.js +1 -0
  158. package/build/client/_app/immutable/chunks/CgJaNa38.js.br +0 -0
  159. package/build/client/_app/immutable/chunks/CgJaNa38.js.gz +0 -0
  160. package/build/client/_app/immutable/chunks/CgoZLTv2.js +1 -0
  161. package/build/client/_app/immutable/chunks/CgoZLTv2.js.br +0 -0
  162. package/build/client/_app/immutable/chunks/CgoZLTv2.js.gz +0 -0
  163. package/build/client/_app/immutable/chunks/Ch-tX5Y1.js +1 -0
  164. package/build/client/_app/immutable/chunks/Ch-tX5Y1.js.br +0 -0
  165. package/build/client/_app/immutable/chunks/Ch-tX5Y1.js.gz +0 -0
  166. package/build/client/_app/immutable/chunks/CkALdgl6.js +1 -0
  167. package/build/client/_app/immutable/chunks/CkALdgl6.js.br +0 -0
  168. package/build/client/_app/immutable/chunks/CkALdgl6.js.gz +0 -0
  169. package/build/client/_app/immutable/chunks/Cn31HPZM.js +1 -0
  170. package/build/client/_app/immutable/chunks/Cn31HPZM.js.br +0 -0
  171. package/build/client/_app/immutable/chunks/Cn31HPZM.js.gz +0 -0
  172. package/build/client/_app/immutable/chunks/CoVud_S-.js +1 -0
  173. package/build/client/_app/immutable/chunks/CoVud_S-.js.br +0 -0
  174. package/build/client/_app/immutable/chunks/CoVud_S-.js.gz +0 -0
  175. package/build/client/_app/immutable/chunks/CraKVm2C.js +1 -0
  176. package/build/client/_app/immutable/chunks/CraKVm2C.js.br +0 -0
  177. package/build/client/_app/immutable/chunks/CraKVm2C.js.gz +0 -0
  178. package/build/client/_app/immutable/chunks/D2KG5w4u.js +1 -0
  179. package/build/client/_app/immutable/chunks/D2KG5w4u.js.br +0 -0
  180. package/build/client/_app/immutable/chunks/D2KG5w4u.js.gz +0 -0
  181. package/build/client/_app/immutable/chunks/DD7ObTOV.js +1 -0
  182. package/build/client/_app/immutable/chunks/DD7ObTOV.js.br +0 -0
  183. package/build/client/_app/immutable/chunks/DD7ObTOV.js.gz +0 -0
  184. package/build/client/_app/immutable/chunks/DD9f1wuL.js +1 -0
  185. package/build/client/_app/immutable/chunks/DD9f1wuL.js.br +0 -0
  186. package/build/client/_app/immutable/chunks/DD9f1wuL.js.gz +0 -0
  187. package/build/client/_app/immutable/chunks/DFMQ7Wtb.js +1 -0
  188. package/build/client/_app/immutable/chunks/DFMQ7Wtb.js.br +0 -0
  189. package/build/client/_app/immutable/chunks/DFMQ7Wtb.js.gz +0 -0
  190. package/build/client/_app/immutable/chunks/DFO_JKVL.js +1 -0
  191. package/build/client/_app/immutable/chunks/DFO_JKVL.js.br +0 -0
  192. package/build/client/_app/immutable/chunks/DFO_JKVL.js.gz +0 -0
  193. package/build/client/_app/immutable/chunks/DGyl1a-y.js +2 -0
  194. package/build/client/_app/immutable/chunks/DGyl1a-y.js.br +0 -0
  195. package/build/client/_app/immutable/chunks/DGyl1a-y.js.gz +0 -0
  196. package/build/client/_app/immutable/chunks/DM7BiLiI.js +1 -0
  197. package/build/client/_app/immutable/chunks/DM7BiLiI.js.br +0 -0
  198. package/build/client/_app/immutable/chunks/DM7BiLiI.js.gz +0 -0
  199. package/build/client/_app/immutable/chunks/DRu3YDxz.js +1 -0
  200. package/build/client/_app/immutable/chunks/DRu3YDxz.js.br +2 -0
  201. package/build/client/_app/immutable/chunks/DRu3YDxz.js.gz +0 -0
  202. package/build/client/_app/immutable/chunks/DTmdu5jU.js +1 -0
  203. package/build/client/_app/immutable/chunks/DTmdu5jU.js.br +0 -0
  204. package/build/client/_app/immutable/chunks/DTmdu5jU.js.gz +0 -0
  205. package/build/client/_app/immutable/chunks/DW6oei0W.js +1 -0
  206. package/build/client/_app/immutable/chunks/DW6oei0W.js.br +0 -0
  207. package/build/client/_app/immutable/chunks/DW6oei0W.js.gz +0 -0
  208. package/build/client/_app/immutable/chunks/DZ_NkRbw.js +1 -0
  209. package/build/client/_app/immutable/chunks/DZ_NkRbw.js.br +0 -0
  210. package/build/client/_app/immutable/chunks/DZ_NkRbw.js.gz +0 -0
  211. package/build/client/_app/immutable/chunks/DfNBP7nd.js +1 -0
  212. package/build/client/_app/immutable/chunks/DfNBP7nd.js.br +0 -0
  213. package/build/client/_app/immutable/chunks/DfNBP7nd.js.gz +0 -0
  214. package/build/client/_app/immutable/chunks/DkhXP75k.js +1 -0
  215. package/build/client/_app/immutable/chunks/DkhXP75k.js.br +0 -0
  216. package/build/client/_app/immutable/chunks/DkhXP75k.js.gz +0 -0
  217. package/build/client/_app/immutable/chunks/DpugZNaj.js +1 -0
  218. package/build/client/_app/immutable/chunks/DpugZNaj.js.br +0 -0
  219. package/build/client/_app/immutable/chunks/DpugZNaj.js.gz +0 -0
  220. package/build/client/_app/immutable/chunks/DuEN1GTI.js +5 -0
  221. package/build/client/_app/immutable/chunks/DuEN1GTI.js.br +0 -0
  222. package/build/client/_app/immutable/chunks/DuEN1GTI.js.gz +0 -0
  223. package/build/client/_app/immutable/chunks/DubTk1R0.js +1 -0
  224. package/build/client/_app/immutable/chunks/DubTk1R0.js.br +0 -0
  225. package/build/client/_app/immutable/chunks/DubTk1R0.js.gz +0 -0
  226. package/build/client/_app/immutable/chunks/Dyxd9rrM.js +5 -0
  227. package/build/client/_app/immutable/chunks/Dyxd9rrM.js.br +0 -0
  228. package/build/client/_app/immutable/chunks/Dyxd9rrM.js.gz +0 -0
  229. package/build/client/_app/immutable/chunks/F14uK0sn.js +1 -0
  230. package/build/client/_app/immutable/chunks/F14uK0sn.js.br +1 -0
  231. package/build/client/_app/immutable/chunks/F14uK0sn.js.gz +0 -0
  232. package/build/client/_app/immutable/chunks/GbStyEBD.js +1 -0
  233. package/build/client/_app/immutable/chunks/GbStyEBD.js.br +0 -0
  234. package/build/client/_app/immutable/chunks/GbStyEBD.js.gz +0 -0
  235. package/build/client/_app/immutable/chunks/IV6C0355.js +1 -0
  236. package/build/client/_app/immutable/chunks/IV6C0355.js.br +0 -0
  237. package/build/client/_app/immutable/chunks/IV6C0355.js.gz +0 -0
  238. package/build/client/_app/immutable/chunks/KSWUKh8r.js +1 -0
  239. package/build/client/_app/immutable/chunks/KSWUKh8r.js.br +0 -0
  240. package/build/client/_app/immutable/chunks/KSWUKh8r.js.gz +0 -0
  241. package/build/client/_app/immutable/chunks/Nhc5CiNi.js +1 -0
  242. package/build/client/_app/immutable/chunks/Nhc5CiNi.js.br +0 -0
  243. package/build/client/_app/immutable/chunks/Nhc5CiNi.js.gz +0 -0
  244. package/build/client/_app/immutable/chunks/OrbH09aZ.js +318 -0
  245. package/build/client/_app/immutable/chunks/OrbH09aZ.js.br +0 -0
  246. package/build/client/_app/immutable/chunks/OrbH09aZ.js.gz +0 -0
  247. package/build/client/_app/immutable/chunks/PnjGAuWf.js +1 -0
  248. package/build/client/_app/immutable/chunks/PnjGAuWf.js.br +0 -0
  249. package/build/client/_app/immutable/chunks/PnjGAuWf.js.gz +0 -0
  250. package/build/client/_app/immutable/chunks/ZoO6eRK-.js +1 -0
  251. package/build/client/_app/immutable/chunks/ZoO6eRK-.js.br +0 -0
  252. package/build/client/_app/immutable/chunks/ZoO6eRK-.js.gz +0 -0
  253. package/build/client/_app/immutable/chunks/eHlSYfzc.js +67 -0
  254. package/build/client/_app/immutable/chunks/eHlSYfzc.js.br +0 -0
  255. package/build/client/_app/immutable/chunks/eHlSYfzc.js.gz +0 -0
  256. package/build/client/_app/immutable/chunks/kUgLbqVN.js +1 -0
  257. package/build/client/_app/immutable/chunks/kUgLbqVN.js.br +0 -0
  258. package/build/client/_app/immutable/chunks/kUgLbqVN.js.gz +0 -0
  259. package/build/client/_app/immutable/chunks/kW5akbMY.js +1 -0
  260. package/build/client/_app/immutable/chunks/kW5akbMY.js.br +0 -0
  261. package/build/client/_app/immutable/chunks/kW5akbMY.js.gz +0 -0
  262. package/build/client/_app/immutable/chunks/lOC7RXgz.js +1 -0
  263. package/build/client/_app/immutable/chunks/lOC7RXgz.js.br +0 -0
  264. package/build/client/_app/immutable/chunks/lOC7RXgz.js.gz +0 -0
  265. package/build/client/_app/immutable/chunks/mxa1wXkp.js +3 -0
  266. package/build/client/_app/immutable/chunks/mxa1wXkp.js.br +0 -0
  267. package/build/client/_app/immutable/chunks/mxa1wXkp.js.gz +0 -0
  268. package/build/client/_app/immutable/chunks/q0g666o4.js +6 -0
  269. package/build/client/_app/immutable/chunks/q0g666o4.js.br +0 -0
  270. package/build/client/_app/immutable/chunks/q0g666o4.js.gz +0 -0
  271. package/build/client/_app/immutable/chunks/rTK8FScS.js +1 -0
  272. package/build/client/_app/immutable/chunks/rTK8FScS.js.br +0 -0
  273. package/build/client/_app/immutable/chunks/rTK8FScS.js.gz +0 -0
  274. package/build/client/_app/immutable/chunks/uBIymjUX.js +1 -0
  275. package/build/client/_app/immutable/chunks/uBIymjUX.js.br +0 -0
  276. package/build/client/_app/immutable/chunks/uBIymjUX.js.gz +0 -0
  277. package/build/client/_app/immutable/chunks/vt9Yl3tP.js +1 -0
  278. package/build/client/_app/immutable/chunks/vt9Yl3tP.js.br +0 -0
  279. package/build/client/_app/immutable/chunks/vt9Yl3tP.js.gz +0 -0
  280. package/build/client/_app/immutable/chunks/xihTtKlq.js +1 -0
  281. package/build/client/_app/immutable/chunks/xihTtKlq.js.br +1 -0
  282. package/build/client/_app/immutable/chunks/xihTtKlq.js.gz +0 -0
  283. package/build/client/_app/immutable/entry/app.BBB0nTuC.js +2 -0
  284. package/build/client/_app/immutable/entry/app.BBB0nTuC.js.br +0 -0
  285. package/build/client/_app/immutable/entry/app.BBB0nTuC.js.gz +0 -0
  286. package/build/client/_app/immutable/entry/start.CmBINDhZ.js +1 -0
  287. package/build/client/_app/immutable/entry/start.CmBINDhZ.js.br +1 -0
  288. package/build/client/_app/immutable/entry/start.CmBINDhZ.js.gz +0 -0
  289. package/build/client/_app/immutable/nodes/0.But357jM.js +1 -0
  290. package/build/client/_app/immutable/nodes/0.But357jM.js.br +0 -0
  291. package/build/client/_app/immutable/nodes/0.But357jM.js.gz +0 -0
  292. package/build/client/_app/immutable/nodes/1.DT8uBymP.js +1 -0
  293. package/build/client/_app/immutable/nodes/1.DT8uBymP.js.br +4 -0
  294. package/build/client/_app/immutable/nodes/1.DT8uBymP.js.gz +0 -0
  295. package/build/client/_app/immutable/nodes/10.BacbVQXe.js +1 -0
  296. package/build/client/_app/immutable/nodes/10.BacbVQXe.js.br +0 -0
  297. package/build/client/_app/immutable/nodes/10.BacbVQXe.js.gz +0 -0
  298. package/build/client/_app/immutable/nodes/11.CF-CErr7.js +2 -0
  299. package/build/client/_app/immutable/nodes/11.CF-CErr7.js.br +0 -0
  300. package/build/client/_app/immutable/nodes/11.CF-CErr7.js.gz +0 -0
  301. package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js +1 -0
  302. package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js.br +0 -0
  303. package/build/client/_app/immutable/nodes/12.CAPJJBGQ.js.gz +0 -0
  304. package/build/client/_app/immutable/nodes/13.DFyrYJal.js +1 -0
  305. package/build/client/_app/immutable/nodes/13.DFyrYJal.js.br +0 -0
  306. package/build/client/_app/immutable/nodes/13.DFyrYJal.js.gz +0 -0
  307. package/build/client/_app/immutable/nodes/14.D35Ot9wm.js +46 -0
  308. package/build/client/_app/immutable/nodes/14.D35Ot9wm.js.br +0 -0
  309. package/build/client/_app/immutable/nodes/14.D35Ot9wm.js.gz +0 -0
  310. package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js +1 -0
  311. package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js.br +0 -0
  312. package/build/client/_app/immutable/nodes/15.Cp0A6oCa.js.gz +0 -0
  313. package/build/client/_app/immutable/nodes/2.DFKUnwHk.js +1 -0
  314. package/build/client/_app/immutable/nodes/2.DFKUnwHk.js.br +0 -0
  315. package/build/client/_app/immutable/nodes/2.DFKUnwHk.js.gz +0 -0
  316. package/build/client/_app/immutable/nodes/3.DtSCxjUL.js +1 -0
  317. package/build/client/_app/immutable/nodes/3.DtSCxjUL.js.br +0 -0
  318. package/build/client/_app/immutable/nodes/3.DtSCxjUL.js.gz +0 -0
  319. package/build/client/_app/immutable/nodes/4.BY04Tg68.js +2 -0
  320. package/build/client/_app/immutable/nodes/4.BY04Tg68.js.br +0 -0
  321. package/build/client/_app/immutable/nodes/4.BY04Tg68.js.gz +0 -0
  322. package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js +1 -0
  323. package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js.br +0 -0
  324. package/build/client/_app/immutable/nodes/5.CXq_oj0Q.js.gz +0 -0
  325. package/build/client/_app/immutable/nodes/6.BVjg5uYT.js +1 -0
  326. package/build/client/_app/immutable/nodes/6.BVjg5uYT.js.br +0 -0
  327. package/build/client/_app/immutable/nodes/6.BVjg5uYT.js.gz +0 -0
  328. package/build/client/_app/immutable/nodes/7.BX0HQjn_.js +1 -0
  329. package/build/client/_app/immutable/nodes/7.BX0HQjn_.js.br +0 -0
  330. package/build/client/_app/immutable/nodes/7.BX0HQjn_.js.gz +0 -0
  331. package/build/client/_app/immutable/nodes/8.De0kNeyT.js +4 -0
  332. package/build/client/_app/immutable/nodes/8.De0kNeyT.js.br +0 -0
  333. package/build/client/_app/immutable/nodes/8.De0kNeyT.js.gz +0 -0
  334. package/build/client/_app/immutable/nodes/9.CjcFLNkE.js +1 -0
  335. package/build/client/_app/immutable/nodes/9.CjcFLNkE.js.br +0 -0
  336. package/build/client/_app/immutable/nodes/9.CjcFLNkE.js.gz +0 -0
  337. package/build/client/_app/version.json +1 -0
  338. package/build/client/_app/version.json.br +0 -0
  339. package/build/client/_app/version.json.gz +0 -0
  340. package/build/client/apple-touch-icon.png +0 -0
  341. package/build/client/favicon.ico +0 -0
  342. package/build/client/robots.txt +3 -0
  343. package/build/client/robots.txt.br +0 -0
  344. package/build/client/robots.txt.gz +0 -0
  345. package/build/env.js +70 -0
  346. package/build/handler.js +26 -0
  347. package/build/index.js +149 -0
  348. package/build/server/chunks/chunks/AssistantAvatar.js-CR1xF68O.js +294 -0
  349. package/build/server/chunks/chunks/AvatarPicker.js-DZPhpy7w.js +136 -0
  350. package/build/server/chunks/chunks/Composer.js-mKR_nJD9.js +332 -0
  351. package/build/server/chunks/chunks/ComposerDock.js-CCH7a93l.js +58 -0
  352. package/build/server/chunks/chunks/CopyButton.js-BztgBjPI.js +81 -0
  353. package/build/server/chunks/chunks/DotGrid.js-CftrAYTh.js +107 -0
  354. package/build/server/chunks/chunks/LucideIcon.js-B_cwdnXZ.js +19 -0
  355. package/build/server/chunks/chunks/MemoryChangeItem.js-BBDjCjIq.js +2557 -0
  356. package/build/server/chunks/chunks/ModelMenu.js-DHccPOZS.js +510 -0
  357. package/build/server/chunks/chunks/MoveToFolderMenu.js-DI6yuRr_.js +288 -0
  358. package/build/server/chunks/chunks/NewChatForm.js-BesIRgmI.js +296 -0
  359. package/build/server/chunks/chunks/NewFolderDialog.js-BTTYnEvA.js +192 -0
  360. package/build/server/chunks/chunks/Notifications.js-BUIjQEFf.js +762 -0
  361. package/build/server/chunks/chunks/PageHeader.js-CBhoVn_r.js +59 -0
  362. package/build/server/chunks/chunks/RenameFolderDialog.js-DRXA1rE1.js +258 -0
  363. package/build/server/chunks/chunks/Rich.js-DEvHcohw.js +31 -0
  364. package/build/server/chunks/chunks/StepIcon.js-DbIHgd-j.js +38 -0
  365. package/build/server/chunks/chunks/TopBar.js-DL3V5e8_.js +34 -0
  366. package/build/server/chunks/chunks/TypedText.js-CBSV0Eww.js +62 -0
  367. package/build/server/chunks/chunks/UserAvatar.js-zDozVLYj.js +17 -0
  368. package/build/server/chunks/chunks/UserMenu.js-CD42Fp5q.js +960 -0
  369. package/build/server/chunks/chunks/access.js-0oJZgR4f.js +40 -0
  370. package/build/server/chunks/chunks/after-sleep.js-BBvqb2L4.js +10 -0
  371. package/build/server/chunks/chunks/alert-dialog.js-DFswoRFb.js +505 -0
  372. package/build/server/chunks/chunks/articles.js-DmiBPIor.js +16 -0
  373. package/build/server/chunks/chunks/auth.js-avakWenI.js +20044 -0
  374. package/build/server/chunks/chunks/avatars.js-CZXD-JBu.js +496 -0
  375. package/build/server/chunks/chunks/badge.js-CBKfxi1n.js +38 -0
  376. package/build/server/chunks/chunks/check.js-DlXI7kOF.js +15 -0
  377. package/build/server/chunks/chunks/chevron-right.js-D2YPHtEd.js +15 -0
  378. package/build/server/chunks/chunks/chevrons-up-down.js-kIInlPpp.js +15 -0
  379. package/build/server/chunks/chunks/client.js-DXLagFo3.js +120 -0
  380. package/build/server/chunks/chunks/clock.js-DLKiHbA7.js +19 -0
  381. package/build/server/chunks/chunks/collapsible.js-TEhMCaES.js +410 -0
  382. package/build/server/chunks/chunks/command.js-DYF1chyA.js +2231 -0
  383. package/build/server/chunks/chunks/core.js-fgH-0YTF.js +6 -0
  384. package/build/server/chunks/chunks/dialog.js-CSahHfdK.js +544 -0
  385. package/build/server/chunks/chunks/dist.js-Dgve-3EB.js +600 -0
  386. package/build/server/chunks/chunks/dist2.js-DzuN_1ds.js +347 -0
  387. package/build/server/chunks/chunks/dropdown-menu.js-CnOm2iRl.js +2396 -0
  388. package/build/server/chunks/chunks/env.js-l0sNRNKZ.js +2 -0
  389. package/build/server/chunks/chunks/eraser.js-CwqAwzLd.js +15 -0
  390. package/build/server/chunks/chunks/exports.js-DPPmkIPk.js +236 -0
  391. package/build/server/chunks/chunks/factory.js-B2lDZWU5.js +2344 -0
  392. package/build/server/chunks/chunks/files.js-BTCcxPsy.js +33 -0
  393. package/build/server/chunks/chunks/folder-input.js-bTjsbAVr.js +19 -0
  394. package/build/server/chunks/chunks/format.js-D-G-GNZJ.js +57 -0
  395. package/build/server/chunks/chunks/forms.js-TIFaBiDZ.js +4052 -0
  396. package/build/server/chunks/chunks/hidden-input.js-3jXOp67_.js +47 -0
  397. package/build/server/chunks/chunks/http.js-B-SIUg23.js +19 -0
  398. package/build/server/chunks/chunks/i18n.js-gmnYop5e.js +5049 -0
  399. package/build/server/chunks/chunks/icons.js-DqrSaQen.js +32087 -0
  400. package/build/server/chunks/chunks/index-server.js-BgjjN9Dl.js +146 -0
  401. package/build/server/chunks/chunks/internal.js-CPnM6pod.js +28 -0
  402. package/build/server/chunks/chunks/internal2.js-BJdu5v6t.js +1135 -0
  403. package/build/server/chunks/chunks/key-round.js-ALDn8H2Z.js +20 -0
  404. package/build/server/chunks/chunks/last-profile.js-CGCyMPCt.js +6 -0
  405. package/build/server/chunks/chunks/media-refs.js-CTbNjDi5.js +129 -0
  406. package/build/server/chunks/chunks/memory-categories.js-BMxcWbJ1.js +141 -0
  407. package/build/server/chunks/chunks/memory-export.js-B-0sQxo9.js +126 -0
  408. package/build/server/chunks/chunks/memory.js-BmjM2yTP.js +25 -0
  409. package/build/server/chunks/chunks/message-circle.js-Boy7xak8.js +15 -0
  410. package/build/server/chunks/chunks/motion.js-e6Xy0FvI.js +224 -0
  411. package/build/server/chunks/chunks/node.js-B1BYsTq2.js +9 -0
  412. package/build/server/chunks/chunks/node2.js-BoQ3pSBK.js +7 -0
  413. package/build/server/chunks/chunks/node3.js-DUajZgS1.js +2420 -0
  414. package/build/server/chunks/chunks/openai.js-usndTuuG.js +20473 -0
  415. package/build/server/chunks/chunks/paths.js-Dv5_wc5b.js +19 -0
  416. package/build/server/chunks/chunks/pencil.js-BBTMEZ3O.js +15 -0
  417. package/build/server/chunks/chunks/plus.js-BEkOQr9Q.js +15 -0
  418. package/build/server/chunks/chunks/preferences.svelte.js-CzoLtrIH.js +93 -0
  419. package/build/server/chunks/chunks/remote.js-DRgAwsBW.js +3 -0
  420. package/build/server/chunks/chunks/rolldown-runtime.js-n5G0F_TW.js +37 -0
  421. package/build/server/chunks/chunks/routing.js-CQ7vk27s.js +265 -0
  422. package/build/server/chunks/chunks/schedule.js-22hng-Kw.js +296 -0
  423. package/build/server/chunks/chunks/sdk.js-CRLWYx_O.js +42918 -0
  424. package/build/server/chunks/chunks/sdk2.js-Dp6IbCdi.js +13701 -0
  425. package/build/server/chunks/chunks/sdk3.js-DEwIpbCP.js +4 -0
  426. package/build/server/chunks/chunks/select.js-DGOA1VL9.js +1965 -0
  427. package/build/server/chunks/chunks/server.js-XxNf6kVC.js +3907 -0
  428. package/build/server/chunks/chunks/shared.js-1FwmeXhQ.js +789 -0
  429. package/build/server/chunks/chunks/sidebar.js-B-PyxBE9.js +1498 -0
  430. package/build/server/chunks/chunks/square-pen.js-B7nqpNVl.js +20 -0
  431. package/build/server/chunks/chunks/src.js-Cb-pJk2c.js +25288 -0
  432. package/build/server/chunks/chunks/state.js-CrwNc-tR.js +67 -0
  433. package/build/server/chunks/chunks/suggestions.js-DxdV1W1D.js +15 -0
  434. package/build/server/chunks/chunks/switch.js-CDuy0MzW.js +283 -0
  435. package/build/server/chunks/chunks/terminal.js-BEi5NMPR.js +15 -0
  436. package/build/server/chunks/chunks/textarea.js-DnOcXQXd.js +25 -0
  437. package/build/server/chunks/chunks/tint.js-D75gRPbz.js +165 -0
  438. package/build/server/chunks/chunks/tooltip.js-0flEKjnb.js +5863 -0
  439. package/build/server/chunks/chunks/uneval.js-C7SIrMEV.js +536 -0
  440. package/build/server/chunks/chunks/usage.js-BzKKyzUN.js +27 -0
  441. package/build/server/chunks/chunks/utils.js-rQQrRQUR.js +1020 -0
  442. package/build/server/chunks/chunks/utils2.js-BgS8NcJx.js +1167 -0
  443. package/build/server/chunks/chunks/zod.js-DkbjBCP6.js +18824 -0
  444. package/build/server/chunks/chunks/zod2.js-FNRC10wS.js +4 -0
  445. package/build/server/chunks/entries/endpoints/api/c/_id_/continue/_server.ts.js-DPkjAoli.js +45 -0
  446. package/build/server/chunks/entries/endpoints/api/c/_id_/effort/_server.ts.js-B8su8yn5.js +46 -0
  447. package/build/server/chunks/entries/endpoints/api/c/_id_/events/_server.ts.js-CLDxKKTx.js +73 -0
  448. package/build/server/chunks/entries/endpoints/api/c/_id_/folder/_server.ts.js-DT3NoKYe.js +54 -0
  449. package/build/server/chunks/entries/endpoints/api/c/_id_/media/_mediaId_/_server.ts.js-bvxQlwcS.js +52 -0
  450. package/build/server/chunks/entries/endpoints/api/c/_id_/messages/_server.ts.js-ClMX8O_R.js +57 -0
  451. package/build/server/chunks/entries/endpoints/api/c/_id_/preset/_server.ts.js-DQ8N5-g_.js +50 -0
  452. package/build/server/chunks/entries/endpoints/api/c/_id_/stop/_server.ts.js-4v8WbwCB.js +43 -0
  453. package/build/server/chunks/entries/endpoints/api/events/_server.ts.js-lUrCowKV.js +78 -0
  454. package/build/server/chunks/entries/endpoints/api/hooks/_token_/_server.ts.js-CoqUCiud.js +49 -0
  455. package/build/server/chunks/entries/endpoints/api/icons/_name_/_server.ts.js-k_TzYggq.js +18 -0
  456. package/build/server/chunks/entries/endpoints/api/models/_server.ts.js-BnE6M4aY.js +56 -0
  457. package/build/server/chunks/entries/endpoints/api/notifications/_id_/continue/_server.ts.js-7cVqAe1A.js +50 -0
  458. package/build/server/chunks/entries/endpoints/api/notifications/_id_/dismiss/_server.ts.js-nebszEA8.js +42 -0
  459. package/build/server/chunks/entries/endpoints/api/notifications/clear/_server.ts.js-8UNQWqlv.js +43 -0
  460. package/build/server/chunks/entries/endpoints/api/notifications/seen/_server.ts.js-BigNQ41d.js +43 -0
  461. package/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_folder_/files/_file_/_server.ts.js-CVZofPL8.js +56 -0
  462. package/build/server/chunks/entries/endpoints/api/p/_slug_/folders/_server.ts.js--huBNcxm.js +57 -0
  463. package/build/server/chunks/entries/endpoints/api/p/_slug_/memory/_id_/undo/_server.ts.js-DILraLKg.js +57 -0
  464. package/build/server/chunks/entries/endpoints/api/p/_slug_/running/_server.ts.js-DysLWyt1.js +79 -0
  465. package/build/server/chunks/entries/endpoints/api/p/_slug_/suggestions/_server.ts.js-B8HQNn05.js +53 -0
  466. package/build/server/chunks/entries/endpoints/api/p/_slug_/templates/_id_/cover/_server.ts.js-DCJqd-KE.js +59 -0
  467. package/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_id_/_server.ts.js-DJh0dkU7.js +44 -0
  468. package/build/server/chunks/entries/endpoints/api/p/_slug_/uploads/_server.ts.js-CQi0je7g.js +72 -0
  469. package/build/server/chunks/entries/endpoints/logout/_server.ts.js-iwUOTHUJ.js +46 -0
  470. package/build/server/chunks/entries/fallbacks/error.svelte.js-BjT9T-qE.js +22 -0
  471. package/build/server/chunks/entries/hooks.server.js-CA451orY.js +1956 -0
  472. package/build/server/chunks/entries/pages/_layout.server.ts.js-DeA1Se1v.js +34 -0
  473. package/build/server/chunks/entries/pages/_layout.svelte.js-Cc0HS5vE.js +77 -0
  474. package/build/server/chunks/entries/pages/_page.server.ts.js-BP9VmKmv.js +20 -0
  475. package/build/server/chunks/entries/pages/_page.svelte.js-BP2EdQl3.js +5 -0
  476. package/build/server/chunks/entries/pages/admin/_page.server.ts.js-BGy54zg7.js +310 -0
  477. package/build/server/chunks/entries/pages/admin/_page.svelte.js-DC0lzbwL.js +2092 -0
  478. package/build/server/chunks/entries/pages/login/_page.server.ts.js-to8Vy4NV.js +42 -0
  479. package/build/server/chunks/entries/pages/login/_page.svelte.js-CRFRcLqG.js +74 -0
  480. package/build/server/chunks/entries/pages/p/_slug_/_layout.server.ts.js-BATtKhxU.js +50 -0
  481. package/build/server/chunks/entries/pages/p/_slug_/_layout.svelte.js-B4A4RVlj.js +1897 -0
  482. package/build/server/chunks/entries/pages/p/_slug_/_page.server.ts.js-CwhG-rBA.js +71 -0
  483. package/build/server/chunks/entries/pages/p/_slug_/_page.svelte.js-v85HZSJv.js +132 -0
  484. package/build/server/chunks/entries/pages/p/_slug_/automations/_page.server.ts.js-BYjEh_94.js +269 -0
  485. package/build/server/chunks/entries/pages/p/_slug_/automations/_page.svelte.js-C9MxplNZ.js +423 -0
  486. package/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.server.ts.js-DqYn7Ov8.js +68 -0
  487. package/build/server/chunks/entries/pages/p/_slug_/c/_id_/_page.svelte.js-DO1qyELK.js +2072 -0
  488. package/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.server.ts.js-DK68gPIS.js +101 -0
  489. package/build/server/chunks/entries/pages/p/_slug_/f/_folder_/_page.svelte.js-a31Wj0H5.js +321 -0
  490. package/build/server/chunks/entries/pages/p/_slug_/images/_page.server.ts.js-DYwxYJjv.js +145 -0
  491. package/build/server/chunks/entries/pages/p/_slug_/images/_page.svelte.js-H3zU7YA6.js +526 -0
  492. package/build/server/chunks/entries/pages/p/_slug_/memory/_page.server.ts.js-C6jVrFqG.js +99 -0
  493. package/build/server/chunks/entries/pages/p/_slug_/memory/_page.svelte.js-D54hFXGF.js +902 -0
  494. package/build/server/chunks/entries/pages/p/_slug_/settings/_page.server.ts.js-BvhbrusJ.js +106 -0
  495. package/build/server/chunks/entries/pages/p/_slug_/settings/_page.svelte.js-K9Rx0fue.js +581 -0
  496. package/build/server/chunks/entries/pages/p/_slug_/skills/_page.server.ts.js-X_toxkHr.js +45 -0
  497. package/build/server/chunks/entries/pages/p/_slug_/skills/_page.svelte.js-9BpNF-xF.js +132 -0
  498. package/build/server/chunks/entries/pages/p/_slug_/welcome/_page.server.ts.js-1d4vkOo-.js +129 -0
  499. package/build/server/chunks/entries/pages/p/_slug_/welcome/_page@.svelte.js-32N16gxF.js +223 -0
  500. package/build/server/chunks/entries/pages/profiles/_page.server.ts.js-CYu6Uj8H.js +32 -0
  501. package/build/server/chunks/entries/pages/profiles/_page.svelte.js-Bhw4E_wV.js +89 -0
  502. package/build/server/chunks/handler-CsXFmZYe.js +1735 -0
  503. package/build/server/chunks/index.js-kWlRiTFB.js +3700 -0
  504. package/build/server/chunks/manifest.js-BU_jyr1-.js +314 -0
  505. package/build/server/chunks/nodes/0.js-D4qm-LVJ.js +42 -0
  506. package/build/server/chunks/nodes/1.js-Fjtm11_Q.js +9 -0
  507. package/build/server/chunks/nodes/10.js-C0jWz6L_.js +45 -0
  508. package/build/server/chunks/nodes/11.js-CvxSawBf.js +45 -0
  509. package/build/server/chunks/nodes/12.js-CFwkqqPw.js +45 -0
  510. package/build/server/chunks/nodes/13.js-8e3_MY_4.js +45 -0
  511. package/build/server/chunks/nodes/14.js-dFhmLvor.js +45 -0
  512. package/build/server/chunks/nodes/15.js-alFwV-ia.js +45 -0
  513. package/build/server/chunks/nodes/2.js-DlqVofm5.js +46 -0
  514. package/build/server/chunks/nodes/3.js-B11kFzfi.js +45 -0
  515. package/build/server/chunks/nodes/4.js-CJOa-BdF.js +46 -0
  516. package/build/server/chunks/nodes/5.js-BiasAa82.js +50 -0
  517. package/build/server/chunks/nodes/6.js-vEMr5YOn.js +47 -0
  518. package/build/server/chunks/nodes/7.js-BwwcgtyP.js +45 -0
  519. package/build/server/chunks/nodes/8.js-Mqkjlq-6.js +45 -0
  520. package/build/server/chunks/nodes/9.js-DtRpQ_En.js +45 -0
  521. package/build/shims.js +33 -0
  522. package/dist/chunks/chunk-45BRG6A7.js +85 -0
  523. package/dist/chunks/chunk-CL6JQXXZ.js +38 -0
  524. package/dist/chunks/chunk-KZL3QNDA.js +14397 -0
  525. package/dist/chunks/chunk-N4H4AYCQ.js +20 -0
  526. package/dist/chunks/chunk-W4U7L4LF.js +47 -0
  527. package/dist/chunks/io-DMGTB3B7.js +12 -0
  528. package/dist/chunks/node-4RSVEEU6.js +2233 -0
  529. package/dist/chunks/node-BBTNNFRQ.js +20 -0
  530. package/dist/chunks/openai-LNQCFHTY.js +21690 -0
  531. package/dist/chunks/run-6LM42GJD.js +22287 -0
  532. package/dist/chunks/sdk-UNMKBESV.js +53 -0
  533. package/dist/chunks/sdk-Z2WD4F5K.js +30854 -0
  534. package/dist/chunks/zod-H7KMPIPH.js +19934 -0
  535. package/dist/cli.js +130 -0
  536. package/package.json +102 -0
  537. package/packages/core/drizzle/0000_init.sql +123 -0
  538. package/packages/core/drizzle/0001_triggers.sql +82 -0
  539. package/packages/core/drizzle/0002_default_preset.sql +1 -0
  540. package/packages/core/drizzle/0003_trigger_summary.sql +2 -0
  541. package/packages/core/drizzle/0004_skill_toggles.sql +1 -0
  542. package/packages/core/drizzle/0005_media.sql +21 -0
  543. package/packages/core/drizzle/0006_attachments.sql +25 -0
  544. package/packages/core/drizzle/0007_folders.sql +35 -0
  545. package/packages/core/drizzle/0008_avatars.sql +26 -0
  546. package/packages/core/drizzle/0009_subagents.sql +28 -0
  547. package/packages/core/drizzle/0010_soul.sql +1 -0
  548. package/packages/core/drizzle/0011_claude_plan.sql +1 -0
  549. package/packages/core/drizzle/0012_model_switch.sql +4 -0
  550. package/packages/core/drizzle/0013_nolune_format.sql +1 -0
  551. package/packages/core/drizzle/0014_nolune_rename.sql +3 -0
  552. package/packages/core/drizzle/0015_learn_from_chats.sql +2 -0
  553. package/packages/core/drizzle/0016_memory_changes.sql +19 -0
  554. package/packages/core/drizzle/0017_member_person_note.sql +1 -0
  555. package/packages/core/drizzle/meta/0000_snapshot.json +809 -0
  556. package/packages/core/drizzle/meta/0001_snapshot.json +1354 -0
  557. package/packages/core/drizzle/meta/0002_snapshot.json +1362 -0
  558. package/packages/core/drizzle/meta/0003_snapshot.json +1376 -0
  559. package/packages/core/drizzle/meta/0004_snapshot.json +1384 -0
  560. package/packages/core/drizzle/meta/0005_snapshot.json +1523 -0
  561. package/packages/core/drizzle/meta/0006_snapshot.json +1679 -0
  562. package/packages/core/drizzle/meta/0007_snapshot.json +1921 -0
  563. package/packages/core/drizzle/meta/0008_snapshot.json +1929 -0
  564. package/packages/core/drizzle/meta/0009_snapshot.json +2109 -0
  565. package/packages/core/drizzle/meta/0010_snapshot.json +2117 -0
  566. package/packages/core/drizzle/meta/0011_snapshot.json +2124 -0
  567. package/packages/core/drizzle/meta/0012_snapshot.json +2138 -0
  568. package/packages/core/drizzle/meta/0013_snapshot.json +2145 -0
  569. package/packages/core/drizzle/meta/0014_snapshot.json +2145 -0
  570. package/packages/core/drizzle/meta/0015_snapshot.json +2160 -0
  571. package/packages/core/drizzle/meta/0016_snapshot.json +2286 -0
  572. package/packages/core/drizzle/meta/0017_snapshot.json +2293 -0
  573. package/packages/core/drizzle/meta/_journal.json +132 -0
  574. package/packages/core/image-templates/app-icon/TEMPLATE.md +37 -0
  575. package/packages/core/image-templates/app-icon/cover.webp +0 -0
  576. package/packages/core/image-templates/coloring-page/TEMPLATE.md +14 -0
  577. package/packages/core/image-templates/coloring-page/cover.webp +0 -0
  578. package/packages/core/image-templates/concept-art/TEMPLATE.md +46 -0
  579. package/packages/core/image-templates/concept-art/cover.webp +0 -0
  580. package/packages/core/image-templates/couple-portrait/TEMPLATE.md +35 -0
  581. package/packages/core/image-templates/couple-portrait/cover.webp +0 -0
  582. package/packages/core/image-templates/dream-bouquet/TEMPLATE.md +36 -0
  583. package/packages/core/image-templates/dream-bouquet/cover.webp +0 -0
  584. package/packages/core/image-templates/family-crest/TEMPLATE.md +38 -0
  585. package/packages/core/image-templates/family-crest/cover.webp +0 -0
  586. package/packages/core/image-templates/nail-art/TEMPLATE.md +32 -0
  587. package/packages/core/image-templates/nail-art/cover.webp +0 -0
  588. package/packages/core/image-templates/outfit-board/TEMPLATE.md +46 -0
  589. package/packages/core/image-templates/outfit-board/cover.webp +0 -0
  590. package/packages/core/image-templates/party-invitation/TEMPLATE.md +49 -0
  591. package/packages/core/image-templates/party-invitation/cover.webp +0 -0
  592. package/packages/core/image-templates/photo-booth/TEMPLATE.md +33 -0
  593. package/packages/core/image-templates/photo-booth/cover.webp +0 -0
  594. package/packages/core/image-templates/scribble/TEMPLATE.md +29 -0
  595. package/packages/core/image-templates/scribble/cover.webp +0 -0
  596. package/packages/core/image-templates/sprite-sheet/TEMPLATE.md +45 -0
  597. package/packages/core/image-templates/sprite-sheet/cover.webp +0 -0
  598. package/packages/core/image-templates/sticker-pack/TEMPLATE.md +37 -0
  599. package/packages/core/image-templates/sticker-pack/cover.webp +0 -0
  600. package/packages/core/image-templates/storybook-page/TEMPLATE.md +34 -0
  601. package/packages/core/image-templates/storybook-page/cover.webp +0 -0
  602. package/packages/core/image-templates/tattoo/TEMPLATE.md +44 -0
  603. package/packages/core/image-templates/tattoo/cover.webp +0 -0
  604. package/packages/core/image-templates/tileable-texture/TEMPLATE.md +34 -0
  605. package/packages/core/image-templates/tileable-texture/cover.webp +0 -0
  606. package/packages/core/image-templates/tiny-world/TEMPLATE.md +15 -0
  607. package/packages/core/image-templates/tiny-world/cover.webp +0 -0
  608. package/packages/core/image-templates/trip-postcard/TEMPLATE.md +21 -0
  609. package/packages/core/image-templates/trip-postcard/cover.webp +0 -0
  610. package/packages/core/image-templates/wanted-poster/TEMPLATE.md +27 -0
  611. package/packages/core/image-templates/wanted-poster/cover.webp +0 -0
  612. package/packages/core/skills/automations/SKILL.md +91 -0
  613. package/packages/core/skills/generate-images/SKILL.md +115 -0
  614. package/packages/core/skills/nolune/SKILL.md +281 -0
  615. package/packages/core/skills/subagents/SKILL.md +91 -0
  616. package/packages/core/skills/view-images/SKILL.md +88 -0
@@ -0,0 +1,4052 @@
1
+ import { aj as attributes, am as clsx, ag as bind_props } from './server.js-XxNf6kVC.js';
2
+ import './client.js-DXLagFo3.js';
3
+ import { c as cn } from './utils2.js-BgS8NcJx.js';
4
+
5
+ // src/internal/join-class-value.ts
6
+ var isArray = Array.isArray;
7
+ var joinClassValue = (value) => {
8
+ if (!value && value !== 0 && value !== 0n) return "";
9
+ if (typeof value === "string") return value;
10
+ if (typeof value === "number") {
11
+ if (value !== value) return "";
12
+ return "" + value;
13
+ }
14
+ if (typeof value === "bigint") return "" + value;
15
+ let result = "";
16
+ if (isArray(value)) {
17
+ const length = value.length;
18
+ for (let index = 0; index < length; index++) {
19
+ const item = value[index];
20
+ if (!item && item !== 0 && item !== 0n) continue;
21
+ const resolved = typeof item === "string" ? item : joinClassValue(item);
22
+ if (resolved) {
23
+ if (result) result += " ";
24
+ result += resolved;
25
+ }
26
+ }
27
+ return result;
28
+ }
29
+ if (typeof value === "object") {
30
+ for (const key in value) {
31
+ if (value[key]) {
32
+ if (result) result += " ";
33
+ result += key;
34
+ }
35
+ }
36
+ }
37
+ return result;
38
+ };
39
+
40
+ // src/utils.ts
41
+ var SPACE_REGEX = /\s+/g;
42
+ var isArray2 = Array.isArray;
43
+ var removeExtraSpaces = (str) => {
44
+ if (typeof str !== "string" || !str) return str;
45
+ return str.replace(SPACE_REGEX, " ").trim();
46
+ };
47
+ var stringNeedsNormalize = (str) => {
48
+ const len = str.length;
49
+ if (len === 0) return false;
50
+ const first = str.charCodeAt(0);
51
+ const last = str.charCodeAt(len - 1);
52
+ if (first === 32 || last === 32 || first >= 9 && first <= 13 || first === 160 || last >= 9 && last <= 13 || last === 160) {
53
+ return true;
54
+ }
55
+ for (let i = 0; i < len; i++) {
56
+ const code = str.charCodeAt(i);
57
+ if (code >= 9 && code <= 13 || code === 160) return true;
58
+ if (code === 32 && i + 1 < len && str.charCodeAt(i + 1) === 32) return true;
59
+ }
60
+ return false;
61
+ };
62
+ var cx = (...classnames) => {
63
+ const result = joinClassValue(classnames);
64
+ if (!result) return void 0;
65
+ return stringNeedsNormalize(result) ? removeExtraSpaces(result) : result;
66
+ };
67
+ var falsyToString = (value) => value === false ? "false" : value === true ? "true" : value === 0 ? "0" : value;
68
+ var isEmptyObject = (obj) => {
69
+ if (!obj || typeof obj !== "object") return true;
70
+ for (const _ in obj) return false;
71
+ return true;
72
+ };
73
+ var isEqual = (obj1, obj2) => {
74
+ if (obj1 === obj2) return true;
75
+ if (!obj1 || !obj2) return false;
76
+ const record1 = obj1;
77
+ const record2 = obj2;
78
+ const keys1 = Object.keys(record1);
79
+ const keys2 = Object.keys(record2);
80
+ if (keys1.length !== keys2.length) return false;
81
+ for (let i = 0; i < keys1.length; i++) {
82
+ const key = keys1[i];
83
+ if (!keys2.includes(key)) return false;
84
+ if (record1[key] !== record2[key]) return false;
85
+ }
86
+ return true;
87
+ };
88
+ var joinObjects = (obj1, obj2) => {
89
+ const target = obj1;
90
+ for (const key in obj2) {
91
+ if (Object.hasOwn(obj2, key)) {
92
+ const val2 = obj2[key];
93
+ if (key in target) {
94
+ target[key] = cx(target[key], val2);
95
+ } else {
96
+ target[key] = val2;
97
+ }
98
+ }
99
+ }
100
+ return obj1;
101
+ };
102
+ var flat = (arr, target) => {
103
+ for (let i = 0; i < arr.length; i++) {
104
+ const el = arr[i];
105
+ if (isArray2(el)) flat(el, target);
106
+ else if (el) target.push(el);
107
+ }
108
+ };
109
+ var flatMergeArrays = (...arrays) => {
110
+ const result = [];
111
+ flat(arrays, result);
112
+ const filtered = [];
113
+ for (let i = 0; i < result.length; i++) {
114
+ if (result[i]) filtered.push(result[i]);
115
+ }
116
+ return filtered;
117
+ };
118
+ var mergeObjects = (obj1, obj2) => {
119
+ const record1 = obj1;
120
+ const record2 = obj2;
121
+ const result = {};
122
+ for (const key in record1) {
123
+ const val1 = record1[key];
124
+ if (key in record2) {
125
+ const val2 = record2[key];
126
+ if (isArray2(val1) || isArray2(val2)) {
127
+ result[key] = flatMergeArrays(val2, val1);
128
+ } else if (typeof val1 === "object" && typeof val2 === "object" && val1 && val2) {
129
+ result[key] = mergeObjects(val1, val2);
130
+ } else {
131
+ result[key] = val2 + " " + val1;
132
+ }
133
+ } else {
134
+ result[key] = val1;
135
+ }
136
+ }
137
+ for (const key in record2) {
138
+ if (!(key in record1)) {
139
+ result[key] = record2[key];
140
+ }
141
+ }
142
+ return result;
143
+ };
144
+
145
+ // src/internal/default-config.ts
146
+ var defaultConfig = {
147
+ twMerge: true,
148
+ twMergeConfig: {}
149
+ };
150
+
151
+ // src/internal/cache.ts
152
+ var VARIANT_CACHE_LIMIT = 256;
153
+ var OVERRIDE_CACHE_LIMIT = 128;
154
+ var CACHE_MISS = /* @__PURE__ */ Symbol("tv-cache-miss");
155
+ var hasClassOverride = (props) => (props == null ? void 0 : props.class) != null && props.class !== "" || (props == null ? void 0 : props.className) != null && props.className !== "";
156
+ var serializeFingerprintValue = (value) => {
157
+ if (value === void 0) return "";
158
+ if (value === null) return "null";
159
+ if (typeof value === "string") return value;
160
+ if (typeof value === "boolean") return value ? "true" : "false";
161
+ if (typeof value === "number") return value === 0 ? "0" : String(value);
162
+ if (typeof value === "bigint") return String(value);
163
+ const mapped = falsyToString(value);
164
+ const mappedType = typeof mapped;
165
+ if (mappedType === "string" || mappedType === "number" || mappedType === "boolean" || mappedType === "bigint") {
166
+ return String(mapped);
167
+ }
168
+ if (mappedType === "object") {
169
+ try {
170
+ return JSON.stringify(mapped);
171
+ } catch {
172
+ return null;
173
+ }
174
+ }
175
+ return null;
176
+ };
177
+ var appendSignatureValue = (out, value) => {
178
+ if (value === void 0) return out;
179
+ if (value === null) return out + "null";
180
+ const type = typeof value;
181
+ if (type === "string" || type === "number" || type === "boolean" || type === "bigint") {
182
+ return out + String(value);
183
+ }
184
+ if (Array.isArray(value)) {
185
+ return out + value.join("\0");
186
+ }
187
+ try {
188
+ return out + JSON.stringify(value);
189
+ } catch {
190
+ return out + "?";
191
+ }
192
+ };
193
+ var buildPropsFingerprint = (variantKeys, defaultVariants, props, slotProps) => {
194
+ let fingerprint = "";
195
+ const seen = /* @__PURE__ */ Object.create(null);
196
+ for (let i = 0; i < variantKeys.length; i++) {
197
+ const key = variantKeys[i];
198
+ seen[key] = 1;
199
+ let value = defaultVariants[key];
200
+ if (props && props[key] !== void 0) value = props[key];
201
+ const serialized = serializeFingerprintValue(value);
202
+ if (serialized === null) return null;
203
+ fingerprint += key + ":" + serialized + ";";
204
+ }
205
+ const extras = [];
206
+ for (const key in defaultVariants) {
207
+ if (key === "class" || key === "className" || seen[key]) continue;
208
+ seen[key] = 1;
209
+ extras.push(key);
210
+ }
211
+ if (props) {
212
+ for (const key in props) {
213
+ if (key === "class" || key === "className" || seen[key] || props[key] === void 0) continue;
214
+ seen[key] = 1;
215
+ extras.push(key);
216
+ }
217
+ }
218
+ if (extras.length > 1) extras.sort();
219
+ for (let i = 0; i < extras.length; i++) {
220
+ const key = extras[i];
221
+ let value = defaultVariants[key];
222
+ if (props && props[key] !== void 0) value = props[key];
223
+ const serialized = serializeFingerprintValue(value);
224
+ if (serialized === null) return null;
225
+ fingerprint += key + ":" + serialized + ";";
226
+ }
227
+ return fingerprint;
228
+ };
229
+ var buildCompoundsSignature = (compoundVariants, compoundSlots) => {
230
+ let signature = "";
231
+ for (let i = 0; i < compoundVariants.length; i++) {
232
+ const { conditionKeys, source } = compoundVariants[i];
233
+ for (let j = 0; j < conditionKeys.length; j++) {
234
+ const key = conditionKeys[j];
235
+ signature += key + "=";
236
+ signature = appendSignatureValue(signature, source[key]);
237
+ signature += ",";
238
+ }
239
+ signature += "c=";
240
+ signature = appendSignatureValue(signature, source.class);
241
+ signature += "|cn=";
242
+ signature = appendSignatureValue(signature, source.className);
243
+ signature += ";";
244
+ }
245
+ for (let i = 0; i < compoundSlots.length; i++) {
246
+ const { conditionKeys, source } = compoundSlots[i];
247
+ for (let j = 0; j < conditionKeys.length; j++) {
248
+ const key = conditionKeys[j];
249
+ signature += key + "=";
250
+ signature = appendSignatureValue(signature, source[key]);
251
+ signature += ",";
252
+ }
253
+ if (Array.isArray(source.slots)) {
254
+ signature += "slots=" + source.slots.join(",") + ",";
255
+ }
256
+ signature += "c=";
257
+ signature = appendSignatureValue(signature, source.class);
258
+ signature += "|cn=";
259
+ signature = appendSignatureValue(signature, source.className);
260
+ signature += ";";
261
+ }
262
+ return signature;
263
+ };
264
+ var createBoundedCache = (limit = VARIANT_CACHE_LIMIT) => {
265
+ let primary = /* @__PURE__ */ new Map();
266
+ let secondary = null;
267
+ return {
268
+ get(key) {
269
+ if (primary.has(key)) return primary.get(key);
270
+ if (secondary == null ? void 0 : secondary.has(key)) {
271
+ const value = secondary.get(key);
272
+ primary.set(key, value);
273
+ return value;
274
+ }
275
+ return CACHE_MISS;
276
+ },
277
+ set(key, value) {
278
+ if (primary.size >= limit) {
279
+ secondary = primary;
280
+ primary = /* @__PURE__ */ new Map();
281
+ }
282
+ primary.set(key, value);
283
+ }
284
+ };
285
+ };
286
+ var createResultCache = (limit = VARIANT_CACHE_LIMIT) => {
287
+ const cache = createBoundedCache(limit);
288
+ return {
289
+ get(key) {
290
+ return cache.get(key);
291
+ },
292
+ set(key, value) {
293
+ cache.set(key, value);
294
+ }
295
+ };
296
+ };
297
+ var createNestedOverrideCache = (limit = OVERRIDE_CACHE_LIMIT) => {
298
+ let primary = /* @__PURE__ */ new Map();
299
+ let secondary = null;
300
+ let size = 0;
301
+ return {
302
+ get(coreKey, overrideKey) {
303
+ const primaryInner = primary.get(coreKey);
304
+ if (primaryInner) {
305
+ const value = primaryInner.get(overrideKey);
306
+ if (value !== void 0 || primaryInner.has(overrideKey)) return value;
307
+ }
308
+ if (secondary) {
309
+ const secondaryInner = secondary.get(coreKey);
310
+ if (secondaryInner) {
311
+ const value = secondaryInner.get(overrideKey);
312
+ if (value !== void 0 || secondaryInner.has(overrideKey)) {
313
+ let promoteInner = primary.get(coreKey);
314
+ if (!promoteInner) {
315
+ promoteInner = /* @__PURE__ */ new Map();
316
+ primary.set(coreKey, promoteInner);
317
+ }
318
+ if (!promoteInner.has(overrideKey)) size++;
319
+ promoteInner.set(overrideKey, value);
320
+ return value;
321
+ }
322
+ }
323
+ }
324
+ return CACHE_MISS;
325
+ },
326
+ set(coreKey, overrideKey, value) {
327
+ if (size >= limit) {
328
+ secondary = primary;
329
+ primary = /* @__PURE__ */ new Map();
330
+ size = 0;
331
+ }
332
+ let inner = primary.get(coreKey);
333
+ if (!inner) {
334
+ inner = /* @__PURE__ */ new Map();
335
+ primary.set(coreKey, inner);
336
+ }
337
+ if (!inner.has(overrideKey)) size++;
338
+ inner.set(overrideKey, value);
339
+ }
340
+ };
341
+ };
342
+ var createLazyOverrideMerge = (cn, config) => {
343
+ let cache = null;
344
+ return (core, props) => {
345
+ if (!hasClassOverride(props)) return core;
346
+ const classVal = props.class;
347
+ const classNameVal = props.className;
348
+ if (classVal != null && classVal !== "" && typeof classVal !== "string" || classNameVal != null && classNameVal !== "" && typeof classNameVal !== "string") {
349
+ return cn(config, core, classVal, classNameVal);
350
+ }
351
+ cache ??= createNestedOverrideCache();
352
+ const coreKey = core ?? "";
353
+ const overrideKey = (typeof classVal === "string" ? classVal : "") + "\0" + (typeof classNameVal === "string" ? classNameVal : "");
354
+ const cached = cache.get(coreKey, overrideKey);
355
+ if (cached !== CACHE_MISS) return cached;
356
+ const merged = cn(config, core, classVal, classNameVal);
357
+ cache.set(coreKey, overrideKey, merged);
358
+ return merged;
359
+ };
360
+ };
361
+
362
+ // src/internal/state.ts
363
+ function createState() {
364
+ let cachedTwMerge = null;
365
+ let cachedTwMergeConfig = {};
366
+ let didTwMergeConfigChange = false;
367
+ return {
368
+ get cachedTwMerge() {
369
+ return cachedTwMerge;
370
+ },
371
+ set cachedTwMerge(value) {
372
+ cachedTwMerge = value;
373
+ },
374
+ get cachedTwMergeConfig() {
375
+ return cachedTwMergeConfig;
376
+ },
377
+ set cachedTwMergeConfig(value) {
378
+ cachedTwMergeConfig = value;
379
+ },
380
+ get didTwMergeConfigChange() {
381
+ return didTwMergeConfigChange;
382
+ },
383
+ set didTwMergeConfigChange(value) {
384
+ didTwMergeConfigChange = value;
385
+ },
386
+ reset() {
387
+ cachedTwMerge = null;
388
+ cachedTwMergeConfig = {};
389
+ didTwMergeConfigChange = false;
390
+ }
391
+ };
392
+ }
393
+ var state = createState();
394
+
395
+ // src/internal/resolve-options.ts
396
+ var synchronizeTwMergeConfig = (config) => {
397
+ if (!isEmptyObject(config.twMergeConfig) && !isEqual(config.twMergeConfig, state.cachedTwMergeConfig)) {
398
+ state.didTwMergeConfigChange = true;
399
+ state.cachedTwMergeConfig = config.twMergeConfig;
400
+ }
401
+ };
402
+ var compileVariants = (variants, variantKeys) => {
403
+ const compiledVariants = [];
404
+ for (let i = 0; i < variantKeys.length; i++) {
405
+ const key = variantKeys[i];
406
+ const values = variants[key];
407
+ compiledVariants.push({ key, values, isEmpty: isEmptyObject(values) });
408
+ }
409
+ return compiledVariants;
410
+ };
411
+ var compileCompoundVariants = (compoundVariants) => {
412
+ if (!Array.isArray(compoundVariants) || compoundVariants.length === 0) return [];
413
+ const result = [];
414
+ for (let i = 0; i < compoundVariants.length; i++) {
415
+ const compoundVariant = compoundVariants[i];
416
+ const conditionKeys = [];
417
+ for (const key in compoundVariant) {
418
+ if (key !== "class" && key !== "className") {
419
+ conditionKeys.push(key);
420
+ }
421
+ }
422
+ result.push({ conditionKeys, source: compoundVariant });
423
+ }
424
+ return result;
425
+ };
426
+ var compileCompoundSlots = (compoundSlots) => {
427
+ if (!Array.isArray(compoundSlots) || compoundSlots.length === 0) return [];
428
+ const result = [];
429
+ for (let i = 0; i < compoundSlots.length; i++) {
430
+ const compoundSlot = compoundSlots[i];
431
+ const conditionKeys = [];
432
+ for (const key in compoundSlot) {
433
+ if (key !== "slots" && key !== "class" && key !== "className") {
434
+ conditionKeys.push(key);
435
+ }
436
+ }
437
+ result.push({ conditionKeys, source: compoundSlot });
438
+ }
439
+ return result;
440
+ };
441
+ var indexCompoundSlotsBySlot = (compiledCompoundSlots) => {
442
+ const index = {};
443
+ for (let i = 0; i < compiledCompoundSlots.length; i++) {
444
+ const compoundSlot = compiledCompoundSlots[i];
445
+ const slots = compoundSlot.source.slots;
446
+ if (!Array.isArray(slots)) continue;
447
+ for (let j = 0; j < slots.length; j++) {
448
+ const slotKey = slots[j];
449
+ if (!index[slotKey]) index[slotKey] = [];
450
+ index[slotKey].push(compoundSlot);
451
+ }
452
+ }
453
+ return index;
454
+ };
455
+ var resolveOptions = (options, configProp) => {
456
+ const {
457
+ extend = null,
458
+ slots: slotProps = {},
459
+ variants: variantsProps = {},
460
+ compoundVariants: compoundVariantsProps = [],
461
+ compoundSlots: compoundSlotsProps = [],
462
+ defaultVariants: defaultVariantsProps = {}
463
+ } = options;
464
+ const config = { ...defaultConfig, ...configProp };
465
+ const hasSlots = options.slots !== void 0;
466
+ const base = (extend == null ? void 0 : extend.base) ? cx(extend.base, options == null ? void 0 : options.base) : options == null ? void 0 : options.base;
467
+ const variants = (extend == null ? void 0 : extend.variants) && !isEmptyObject(extend.variants) ? mergeObjects(variantsProps, extend.variants) : variantsProps;
468
+ const defaultVariants = (extend == null ? void 0 : extend.defaultVariants) && !isEmptyObject(extend.defaultVariants) ? { ...extend.defaultVariants, ...defaultVariantsProps } : defaultVariantsProps;
469
+ synchronizeTwMergeConfig(config);
470
+ const isExtendedSlotsEmpty = !(extend == null ? void 0 : extend.slots) || isEmptyObject(extend.slots);
471
+ const componentBase = hasSlots ? isExtendedSlotsEmpty && (extend == null ? void 0 : extend.base) ? cx(options == null ? void 0 : options.base, extend.base) : typeof (options == null ? void 0 : options.base) === "string" || (options == null ? void 0 : options.base) == null ? options.base : cx(options.base) : void 0;
472
+ const componentSlots = hasSlots ? {
473
+ base: componentBase,
474
+ ...slotProps
475
+ } : {};
476
+ const slots = isExtendedSlotsEmpty ? componentSlots : joinObjects(
477
+ { ...extend == null ? void 0 : extend.slots },
478
+ isEmptyObject(componentSlots) ? { base: options == null ? void 0 : options.base } : componentSlots
479
+ );
480
+ const compoundVariants = !(extend == null ? void 0 : extend.compoundVariants) || isEmptyObject(extend.compoundVariants) ? compoundVariantsProps : flatMergeArrays(extend == null ? void 0 : extend.compoundVariants, compoundVariantsProps);
481
+ const compoundSlots = !(extend == null ? void 0 : extend.compoundSlots) || isEmptyObject(extend.compoundSlots) ? compoundSlotsProps : flatMergeArrays(extend == null ? void 0 : extend.compoundSlots, compoundSlotsProps);
482
+ const variantKeys = Object.keys(variants);
483
+ const deferredError = compoundVariants && !Array.isArray(compoundVariants) ? new TypeError(
484
+ `The "compoundVariants" prop must be an array. Received: ${typeof compoundVariants}`
485
+ ) : compoundSlots && !Array.isArray(compoundSlots) ? new TypeError(
486
+ `The "compoundSlots" prop must be an array. Received: ${typeof compoundSlots}`
487
+ ) : null;
488
+ const mode = hasSlots || !isExtendedSlotsEmpty ? "slots" : variantKeys.length === 0 ? "plain" : "variants";
489
+ return {
490
+ config,
491
+ extend,
492
+ base,
493
+ variants,
494
+ defaultVariants,
495
+ slots,
496
+ compoundVariants,
497
+ compoundSlots,
498
+ compiledVariants: null,
499
+ compiledCompoundVariants: null,
500
+ compiledCompoundSlots: null,
501
+ compiledCompoundSlotsBySlot: null,
502
+ deferredError,
503
+ mode,
504
+ slotKeys: null,
505
+ variantKeys
506
+ };
507
+ };
508
+ var compileResolvedOptions = (resolved) => {
509
+ if (resolved.compiledVariants !== null) return resolved;
510
+ resolved.compiledVariants = compileVariants(resolved.variants, resolved.variantKeys);
511
+ resolved.compiledCompoundVariants = compileCompoundVariants(resolved.compoundVariants);
512
+ resolved.compiledCompoundSlots = compileCompoundSlots(resolved.compoundSlots);
513
+ resolved.compiledCompoundSlotsBySlot = indexCompoundSlotsBySlot(resolved.compiledCompoundSlots);
514
+ resolved.slotKeys = resolved.slots && typeof resolved.slots === "object" ? Object.keys(resolved.slots) : [];
515
+ return resolved;
516
+ };
517
+
518
+ // src/internal/class-resolver.ts
519
+ var EMPTY_ARRAY = [];
520
+ var variantClassesScratch = [];
521
+ var compoundClassesScratch = [];
522
+ var compoundVariantBySlotScratch = [];
523
+ var compoundSlotClassesScratch = [];
524
+ var getCompleteProps = (defaultVariants, props, slotProps) => {
525
+ const result = {};
526
+ for (const key in defaultVariants) {
527
+ result[key] = defaultVariants[key];
528
+ }
529
+ if (props) {
530
+ for (const key in props) {
531
+ if (props[key] !== void 0) result[key] = props[key];
532
+ }
533
+ }
534
+ if (slotProps) {
535
+ for (const key in slotProps) {
536
+ if (slotProps[key] !== void 0) result[key] = slotProps[key];
537
+ }
538
+ }
539
+ return result;
540
+ };
541
+ var isNullishOrFalse = (value) => value == null || value === false;
542
+ var matchesCompoundValue = (expected, actual) => {
543
+ if (!Array.isArray(expected)) {
544
+ return expected === actual || isNullishOrFalse(expected) && isNullishOrFalse(actual);
545
+ }
546
+ for (let i = 0; i < expected.length; i++) {
547
+ const expectedValue = expected[i];
548
+ if (expectedValue === actual || isNullishOrFalse(expectedValue) && isNullishOrFalse(actual)) {
549
+ return true;
550
+ }
551
+ }
552
+ return false;
553
+ };
554
+ var getVariantValue = (variant, defaultVariants, props, slotProps) => {
555
+ if (variant.isEmpty) return null;
556
+ const variantProp = (slotProps == null ? void 0 : slotProps[variant.key]) ?? (props == null ? void 0 : props[variant.key]);
557
+ if (variantProp === null) return null;
558
+ const variantKey = falsyToString(variantProp);
559
+ if (typeof variantKey === "object") return null;
560
+ const defaultVariantProp = defaultVariants == null ? void 0 : defaultVariants[variant.key];
561
+ const key = variantKey != null ? variantKey : falsyToString(defaultVariantProp);
562
+ return variant.values[key || "false"];
563
+ };
564
+ var matchesConditions = (compound, completeProps) => {
565
+ const { conditionKeys, source } = compound;
566
+ for (let i = 0; i < conditionKeys.length; i++) {
567
+ const key = conditionKeys[i];
568
+ if (!matchesCompoundValue(source[key], completeProps[key])) return false;
569
+ }
570
+ return true;
571
+ };
572
+ var pushCompoundClassForSlot = (result, slotKey, classValue) => {
573
+ if (typeof classValue === "string") {
574
+ if (slotKey === "base") result.push(classValue);
575
+ } else if (classValue && typeof classValue === "object" && classValue[slotKey]) {
576
+ result.push(classValue[slotKey]);
577
+ }
578
+ };
579
+ var getVariantClassNames = (variants, defaultVariants, props) => {
580
+ const result = variantClassesScratch;
581
+ result.length = 0;
582
+ for (let i = 0; i < variants.length; i++) {
583
+ const value = getVariantValue(variants[i], defaultVariants, props);
584
+ if (value) result.push(value);
585
+ }
586
+ return result;
587
+ };
588
+ var getVariantClassNamesBySlot = (slotKey, variants, defaultVariants, props, slotProps) => {
589
+ const result = variantClassesScratch;
590
+ result.length = 0;
591
+ for (let i = 0; i < variants.length; i++) {
592
+ const variantValue = getVariantValue(variants[i], defaultVariants, props, slotProps);
593
+ const value = slotKey === "base" && typeof variantValue === "string" ? variantValue : variantValue && variantValue[slotKey];
594
+ if (value) result.push(value);
595
+ }
596
+ return result;
597
+ };
598
+ var getCompoundVariantClasses = (compoundVariants, completeProps) => {
599
+ const result = compoundClassesScratch;
600
+ result.length = 0;
601
+ for (let i = 0; i < compoundVariants.length; i++) {
602
+ const compoundVariant = compoundVariants[i];
603
+ if (!matchesConditions(compoundVariant, completeProps)) continue;
604
+ if (compoundVariant.source.class) result.push(compoundVariant.source.class);
605
+ if (compoundVariant.source.className) result.push(compoundVariant.source.className);
606
+ }
607
+ return result;
608
+ };
609
+ var getCompoundVariantClassesBySlot = (slotKey, compoundVariants, completeProps) => {
610
+ const result = compoundVariantBySlotScratch;
611
+ result.length = 0;
612
+ for (let i = 0; i < compoundVariants.length; i++) {
613
+ const compoundVariant = compoundVariants[i];
614
+ if (!matchesConditions(compoundVariant, completeProps)) continue;
615
+ pushCompoundClassForSlot(result, slotKey, compoundVariant.source.class);
616
+ pushCompoundClassForSlot(result, slotKey, compoundVariant.source.className);
617
+ }
618
+ return result;
619
+ };
620
+ var getCompoundSlotClasses = (compoundSlotsForKey, completeProps) => {
621
+ const result = compoundSlotClassesScratch;
622
+ result.length = 0;
623
+ for (let i = 0; i < compoundSlotsForKey.length; i++) {
624
+ const compoundSlot = compoundSlotsForKey[i];
625
+ if (!matchesConditions(compoundSlot, completeProps)) continue;
626
+ if (compoundSlot.source.class) result.push(compoundSlot.source.class);
627
+ if (compoundSlot.source.className) result.push(compoundSlot.source.className);
628
+ }
629
+ return result;
630
+ };
631
+ var createPlainResolver = (resolved, cn) => {
632
+ const { base, config } = resolved;
633
+ let core = CACHE_MISS;
634
+ const mergeOverride = createLazyOverrideMerge(cn, config);
635
+ return ((props) => {
636
+ if (core === CACHE_MISS) {
637
+ core = cn(config, base);
638
+ }
639
+ return mergeOverride(core, props);
640
+ });
641
+ };
642
+ var createVariantResolver = (resolved, cn) => {
643
+ const { base, config, defaultVariants, deferredError, variantKeys } = resolved;
644
+ let compiledCompoundVariants = resolved.compiledCompoundVariants;
645
+ let compiledVariants = resolved.compiledVariants;
646
+ let compiledCompoundSlots = EMPTY_ARRAY;
647
+ let cache = null;
648
+ const mergeOverride = createLazyOverrideMerge(cn, config);
649
+ let coldInvokesRemaining = 1;
650
+ const computeCore = (props) => {
651
+ const compoundClasses = compiledCompoundVariants.length > 0 ? getCompoundVariantClasses(
652
+ compiledCompoundVariants,
653
+ getCompleteProps(defaultVariants, props)
654
+ ) : void 0;
655
+ return cn(
656
+ config,
657
+ base,
658
+ getVariantClassNames(compiledVariants, defaultVariants, props),
659
+ compoundClasses
660
+ );
661
+ };
662
+ return ((props) => {
663
+ if (deferredError) throw deferredError;
664
+ if (compiledVariants === null || compiledCompoundVariants === null) {
665
+ compileResolvedOptions(resolved);
666
+ compiledVariants = resolved.compiledVariants;
667
+ compiledCompoundVariants = resolved.compiledCompoundVariants;
668
+ compiledCompoundSlots = resolved.compiledCompoundSlots ?? EMPTY_ARRAY;
669
+ }
670
+ let core;
671
+ if (coldInvokesRemaining > 0) {
672
+ coldInvokesRemaining--;
673
+ core = computeCore(props);
674
+ } else {
675
+ cache ??= createResultCache();
676
+ const propsFingerprint = buildPropsFingerprint(variantKeys, defaultVariants, props);
677
+ if (propsFingerprint !== null) {
678
+ const compoundsSig = compiledCompoundVariants.length > 0 || compiledCompoundSlots.length > 0 ? buildCompoundsSignature(compiledCompoundVariants, compiledCompoundSlots) : "";
679
+ const cacheKey = propsFingerprint + "#" + compoundsSig;
680
+ const cached = cache.get(cacheKey);
681
+ if (cached !== CACHE_MISS) {
682
+ core = cached;
683
+ } else {
684
+ core = computeCore(props);
685
+ cache.set(cacheKey, core);
686
+ }
687
+ } else {
688
+ core = computeCore(props);
689
+ }
690
+ }
691
+ return mergeOverride(core, props);
692
+ });
693
+ };
694
+ var createSlotsResolver = (resolved, cn) => {
695
+ const { config, defaultVariants, deferredError, slots, variantKeys } = resolved;
696
+ let compoundVariants = null;
697
+ let compoundSlots = null;
698
+ let keys = null;
699
+ let slotComputers = null;
700
+ let hasCompounds = false;
701
+ let mergeOverride = null;
702
+ let parentCache = null;
703
+ let coldParentInvokesRemaining = 1;
704
+ const ensureCompiled = () => {
705
+ if (keys !== null) return;
706
+ if (resolved.compiledVariants === null || resolved.compiledCompoundVariants === null || resolved.compiledCompoundSlots === null || resolved.compiledCompoundSlotsBySlot === null || resolved.slotKeys === null) {
707
+ compileResolvedOptions(resolved);
708
+ }
709
+ const variants = resolved.compiledVariants;
710
+ compoundVariants = resolved.compiledCompoundVariants;
711
+ compoundSlots = resolved.compiledCompoundSlots;
712
+ const compoundSlotsBySlot = resolved.compiledCompoundSlotsBySlot;
713
+ keys = resolved.slotKeys;
714
+ hasCompounds = compoundVariants.length > 0 || compoundSlots.length > 0;
715
+ mergeOverride = createLazyOverrideMerge(cn, config);
716
+ const computers = new Array(keys.length);
717
+ for (let i = 0; i < keys.length; i++) {
718
+ const slotKey = keys[i];
719
+ const compoundSlotsForKey = compoundSlotsBySlot[slotKey] ?? EMPTY_ARRAY;
720
+ computers[i] = (propsRef, slotProps) => {
721
+ const completeProps = hasCompounds ? getCompleteProps(defaultVariants, propsRef, slotProps) : void 0;
722
+ const compoundVariantClasses = completeProps ? getCompoundVariantClassesBySlot(slotKey, compoundVariants, completeProps) : void 0;
723
+ const compoundSlotClasses = completeProps ? getCompoundSlotClasses(compoundSlotsForKey, completeProps) : void 0;
724
+ return cn(
725
+ config,
726
+ slots[slotKey],
727
+ getVariantClassNamesBySlot(slotKey, variants, defaultVariants, propsRef, slotProps),
728
+ compoundVariantClasses,
729
+ compoundSlotClasses
730
+ );
731
+ };
732
+ }
733
+ slotComputers = computers;
734
+ };
735
+ const createSlotsResult = (props) => {
736
+ const slotKeys = keys;
737
+ const computers = slotComputers;
738
+ const overrideMerge = mergeOverride;
739
+ const result = {};
740
+ for (let i = 0; i < slotKeys.length; i++) {
741
+ const compute = computers[i];
742
+ const core = compute(props);
743
+ result[slotKeys[i]] = (slotProps) => {
744
+ if (slotProps == null) return core;
745
+ let hasVariantOverride = false;
746
+ for (const key in slotProps) {
747
+ if (key === "class" || key === "className") continue;
748
+ if (slotProps[key] !== void 0) {
749
+ hasVariantOverride = true;
750
+ break;
751
+ }
752
+ }
753
+ if (!hasVariantOverride) {
754
+ return overrideMerge(core, slotProps);
755
+ }
756
+ return overrideMerge(compute(props, slotProps), slotProps);
757
+ };
758
+ }
759
+ return result;
760
+ };
761
+ return ((props) => {
762
+ if (deferredError) throw deferredError;
763
+ ensureCompiled();
764
+ if (coldParentInvokesRemaining > 0) {
765
+ coldParentInvokesRemaining--;
766
+ return createSlotsResult(props);
767
+ }
768
+ const propsFingerprint = buildPropsFingerprint(variantKeys, defaultVariants, props);
769
+ if (propsFingerprint === null) {
770
+ return createSlotsResult(props);
771
+ }
772
+ const compoundsSig = hasCompounds ? buildCompoundsSignature(compoundVariants, compoundSlots) : "";
773
+ const cacheKey = propsFingerprint + "#" + compoundsSig;
774
+ parentCache ??= createBoundedCache();
775
+ const cached = parentCache.get(cacheKey);
776
+ if (cached !== CACHE_MISS) return cached;
777
+ const next = createSlotsResult(props);
778
+ parentCache.set(cacheKey, next);
779
+ return next;
780
+ });
781
+ };
782
+ var createClassResolver = (resolved, cn) => {
783
+ if (resolved.mode === "plain") return createPlainResolver(resolved, cn);
784
+ let resolver;
785
+ return ((props) => {
786
+ resolver ??= resolved.mode === "slots" ? createSlotsResolver(resolved, cn) : createVariantResolver(resolved, cn);
787
+ return resolver(props);
788
+ });
789
+ };
790
+
791
+ // src/internal/tv.ts
792
+ var attachComponentMetadata = (component, resolved) => {
793
+ component.variantKeys = resolved.variantKeys;
794
+ component.extend = resolved.extend;
795
+ component.base = resolved.base;
796
+ component.slots = resolved.slots;
797
+ component.variants = resolved.variants;
798
+ component.defaultVariants = resolved.defaultVariants;
799
+ component.compoundSlots = resolved.compoundSlots;
800
+ component.compoundVariants = resolved.compoundVariants;
801
+ };
802
+ var getTailwindVariants = (cn) => {
803
+ const tv = (options, configProp) => {
804
+ const resolved = resolveOptions(options, configProp);
805
+ const component = createClassResolver(resolved, cn);
806
+ attachComponentMetadata(component, resolved);
807
+ return component;
808
+ };
809
+ const createTV = (configProp) => {
810
+ return (options, config) => tv(options, config ? mergeObjects(configProp, config) : configProp);
811
+ };
812
+ return {
813
+ tv,
814
+ createTV
815
+ };
816
+ };
817
+
818
+ // src/internal/merge/class-group-utils.ts
819
+ var concatArrays = (array1, array2) => {
820
+ const length1 = array1.length;
821
+ const length2 = array2.length;
822
+ const combined = new Array(length1 + length2);
823
+ for (let i = 0; i < length1; i++) combined[i] = array1[i];
824
+ for (let i = 0; i < length2; i++) combined[length1 + i] = array2[i];
825
+ return combined;
826
+ };
827
+ var createClassValidatorObject = (classGroupId, validator) => ({
828
+ classGroupId,
829
+ validator
830
+ });
831
+ var createClassPartObject = (nextPart = /* @__PURE__ */ new Map(), validators = null, classGroupId) => ({
832
+ nextPart,
833
+ validators,
834
+ classGroupId
835
+ });
836
+ var CLASS_PART_SEPARATOR = "-";
837
+ var EMPTY_CONFLICTS = [];
838
+ var ARBITRARY_PROPERTY_PREFIX = "arbitrary..";
839
+ var createClassGroupUtils = (config) => {
840
+ const classMap = createClassMap(config);
841
+ const { conflictingClassGroups, conflictingClassGroupModifiers } = config;
842
+ const getClassGroupId = (className) => {
843
+ if (className[0] === "[" && className[className.length - 1] === "]") {
844
+ return getGroupIdForArbitraryProperty(className);
845
+ }
846
+ const classParts = className.split(CLASS_PART_SEPARATOR);
847
+ const startIndex = classParts[0] === "" && classParts.length > 1 ? 1 : 0;
848
+ return getGroupRecursive(classParts, startIndex, classMap);
849
+ };
850
+ const getConflictingClassGroupIds = (classGroupId, hasPostfixModifier) => {
851
+ if (hasPostfixModifier) {
852
+ const modifierConflicts = conflictingClassGroupModifiers[classGroupId];
853
+ const baseConflicts = conflictingClassGroups[classGroupId];
854
+ if (modifierConflicts) {
855
+ if (baseConflicts) {
856
+ return concatArrays(baseConflicts, modifierConflicts);
857
+ }
858
+ return modifierConflicts;
859
+ }
860
+ return baseConflicts || EMPTY_CONFLICTS;
861
+ }
862
+ return conflictingClassGroups[classGroupId] || EMPTY_CONFLICTS;
863
+ };
864
+ return {
865
+ getClassGroupId,
866
+ getConflictingClassGroupIds
867
+ };
868
+ };
869
+ var getGroupRecursive = (classParts, startIndex, classPartObject) => {
870
+ const classPathsLength = classParts.length - startIndex;
871
+ if (classPathsLength === 0) {
872
+ return classPartObject.classGroupId;
873
+ }
874
+ const currentClassPart = classParts[startIndex];
875
+ const nextClassPartObject = classPartObject.nextPart.get(currentClassPart);
876
+ if (nextClassPartObject) {
877
+ const result = getGroupRecursive(classParts, startIndex + 1, nextClassPartObject);
878
+ if (result) return result;
879
+ }
880
+ const validators = classPartObject.validators;
881
+ if (validators === null) {
882
+ return void 0;
883
+ }
884
+ const classRest = startIndex === 0 ? classParts.join(CLASS_PART_SEPARATOR) : classParts.slice(startIndex).join(CLASS_PART_SEPARATOR);
885
+ const validatorsLength = validators.length;
886
+ for (let index = 0; index < validatorsLength; index++) {
887
+ const validatorObject = validators[index];
888
+ if (validatorObject.validator(classRest)) {
889
+ return validatorObject.classGroupId;
890
+ }
891
+ }
892
+ return void 0;
893
+ };
894
+ var getGroupIdForArbitraryProperty = (className) => {
895
+ const content = className.slice(1, -1);
896
+ const colonIndex = content.indexOf(":");
897
+ if (colonIndex === -1) {
898
+ return void 0;
899
+ }
900
+ const property = content.slice(0, colonIndex);
901
+ return property ? ARBITRARY_PROPERTY_PREFIX + property : void 0;
902
+ };
903
+ var createClassMap = (config) => {
904
+ const { theme, classGroups } = config;
905
+ return processClassGroups(classGroups, theme);
906
+ };
907
+ var processClassGroups = (classGroups, theme) => {
908
+ const classMap = createClassPartObject();
909
+ for (const classGroupId in classGroups) {
910
+ const group = classGroups[classGroupId];
911
+ processClassesRecursively(group, classMap, classGroupId, theme);
912
+ }
913
+ return classMap;
914
+ };
915
+ var processClassesRecursively = (classGroup, classPartObject, classGroupId, theme) => {
916
+ const length = classGroup.length;
917
+ for (let index = 0; index < length; index++) {
918
+ const classDefinition = classGroup[index];
919
+ processClassDefinition(classDefinition, classPartObject, classGroupId, theme);
920
+ }
921
+ };
922
+ var processClassDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
923
+ if (typeof classDefinition === "string") {
924
+ processStringDefinition(classDefinition, classPartObject, classGroupId);
925
+ return;
926
+ }
927
+ if (typeof classDefinition === "function") {
928
+ processFunctionDefinition(classDefinition, classPartObject, classGroupId, theme);
929
+ return;
930
+ }
931
+ processObjectDefinition(
932
+ classDefinition,
933
+ classPartObject,
934
+ classGroupId,
935
+ theme
936
+ );
937
+ };
938
+ var processStringDefinition = (classDefinition, classPartObject, classGroupId) => {
939
+ const classPartObjectToEdit = classDefinition === "" ? classPartObject : getPart(classPartObject, classDefinition);
940
+ classPartObjectToEdit.classGroupId = classGroupId;
941
+ };
942
+ var processFunctionDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
943
+ if (isThemeGetter(classDefinition)) {
944
+ processClassesRecursively(classDefinition(theme), classPartObject, classGroupId, theme);
945
+ return;
946
+ }
947
+ if (classPartObject.validators === null) {
948
+ classPartObject.validators = [];
949
+ }
950
+ classPartObject.validators.push(
951
+ createClassValidatorObject(classGroupId, classDefinition)
952
+ );
953
+ };
954
+ var processObjectDefinition = (classDefinition, classPartObject, classGroupId, theme) => {
955
+ const entries = Object.entries(classDefinition);
956
+ const length = entries.length;
957
+ for (let index = 0; index < length; index++) {
958
+ const [key, value] = entries[index];
959
+ processClassesRecursively(value, getPart(classPartObject, key), classGroupId, theme);
960
+ }
961
+ };
962
+ var getPart = (classPartObject, path) => {
963
+ let current = classPartObject;
964
+ const parts = path.split(CLASS_PART_SEPARATOR);
965
+ const length = parts.length;
966
+ for (let index = 0; index < length; index++) {
967
+ const part = parts[index];
968
+ let next = current.nextPart.get(part);
969
+ if (!next) {
970
+ next = createClassPartObject();
971
+ current.nextPart.set(part, next);
972
+ }
973
+ current = next;
974
+ }
975
+ return current;
976
+ };
977
+ var isThemeGetter = (classDefinition) => "isThemeGetter" in classDefinition && classDefinition.isThemeGetter === true;
978
+
979
+ // src/internal/merge/parse-class-name.ts
980
+ var IMPORTANT_MODIFIER = "!";
981
+ var CHAR_MODIFIER_SEPARATOR = 58;
982
+ var CHAR_POSTFIX_SEPARATOR = 47;
983
+ var CHAR_OPEN_BRACKET = 91;
984
+ var CHAR_CLOSE_BRACKET = 93;
985
+ var CHAR_OPEN_PAREN = 40;
986
+ var CHAR_CLOSE_PAREN = 41;
987
+ var CHAR_IMPORTANT = 33;
988
+ var createResultObject = (modifiers, hasImportantModifier, baseClassName, maybePostfixModifierPosition) => ({
989
+ modifiers,
990
+ hasImportantModifier,
991
+ baseClassName,
992
+ maybePostfixModifierPosition,
993
+ isExternal: void 0
994
+ });
995
+ var parseClassName = (className) => {
996
+ const modifiers = [];
997
+ let bracketDepth = 0;
998
+ let parenDepth = 0;
999
+ let modifierStart = 0;
1000
+ let postfixModifierPosition;
1001
+ const len = className.length;
1002
+ for (let index = 0; index < len; index++) {
1003
+ const charCode = className.charCodeAt(index);
1004
+ if (bracketDepth === 0 && parenDepth === 0) {
1005
+ if (charCode === CHAR_MODIFIER_SEPARATOR) {
1006
+ modifiers.push(className.slice(modifierStart, index));
1007
+ modifierStart = index + 1;
1008
+ continue;
1009
+ }
1010
+ if (charCode === CHAR_POSTFIX_SEPARATOR) {
1011
+ postfixModifierPosition = index;
1012
+ continue;
1013
+ }
1014
+ }
1015
+ if (charCode === CHAR_OPEN_BRACKET) bracketDepth++;
1016
+ else if (charCode === CHAR_CLOSE_BRACKET) bracketDepth--;
1017
+ else if (charCode === CHAR_OPEN_PAREN) parenDepth++;
1018
+ else if (charCode === CHAR_CLOSE_PAREN) parenDepth--;
1019
+ }
1020
+ const baseClassNameWithImportantModifier = modifiers.length === 0 ? className : className.slice(modifierStart);
1021
+ let baseClassName = baseClassNameWithImportantModifier;
1022
+ let hasImportantModifier = false;
1023
+ const lastIndex = baseClassNameWithImportantModifier.length - 1;
1024
+ if (baseClassNameWithImportantModifier.charCodeAt(lastIndex) === CHAR_IMPORTANT) {
1025
+ baseClassName = baseClassNameWithImportantModifier.slice(0, -1);
1026
+ hasImportantModifier = true;
1027
+ } else if (
1028
+ // Tailwind CSS v3: important modifier at the start of the base class (legacy).
1029
+ baseClassNameWithImportantModifier.charCodeAt(0) === CHAR_IMPORTANT
1030
+ ) {
1031
+ baseClassName = baseClassNameWithImportantModifier.slice(1);
1032
+ hasImportantModifier = true;
1033
+ }
1034
+ const maybePostfixModifierPosition = postfixModifierPosition && postfixModifierPosition > modifierStart ? postfixModifierPosition - modifierStart : void 0;
1035
+ return createResultObject(
1036
+ modifiers,
1037
+ hasImportantModifier,
1038
+ baseClassName,
1039
+ maybePostfixModifierPosition
1040
+ );
1041
+ };
1042
+
1043
+ // src/internal/merge/sort-modifiers.ts
1044
+ var createSortModifiers = (config) => {
1045
+ const orderSensitiveModifiers = new Set(config.orderSensitiveModifiers);
1046
+ return (modifiers) => {
1047
+ const result = [];
1048
+ let currentSegment = [];
1049
+ for (let index = 0; index < modifiers.length; index++) {
1050
+ const modifier = modifiers[index];
1051
+ const isArbitrary = modifier[0] === "[";
1052
+ const isOrderSensitive = orderSensitiveModifiers.has(modifier);
1053
+ if (isArbitrary || isOrderSensitive) {
1054
+ if (currentSegment.length > 0) {
1055
+ currentSegment.sort();
1056
+ for (let segmentIndex = 0; segmentIndex < currentSegment.length; segmentIndex++) {
1057
+ result.push(currentSegment[segmentIndex]);
1058
+ }
1059
+ currentSegment = [];
1060
+ }
1061
+ result.push(modifier);
1062
+ } else {
1063
+ currentSegment.push(modifier);
1064
+ }
1065
+ }
1066
+ if (currentSegment.length > 0) {
1067
+ currentSegment.sort();
1068
+ for (let segmentIndex = 0; segmentIndex < currentSegment.length; segmentIndex++) {
1069
+ result.push(currentSegment[segmentIndex]);
1070
+ }
1071
+ }
1072
+ return result;
1073
+ };
1074
+ };
1075
+
1076
+ // src/internal/merge/config-utils.ts
1077
+ var EXTERNAL_DESCRIPTOR = { isExternal: true, classId: -1, conflictIds: [] };
1078
+ var DESCRIPTOR_CACHE_SIZE = 4096;
1079
+ var MAX_CONFLICT_KEYS = 16384;
1080
+ var createConfigUtils = (config) => {
1081
+ const sortModifiers = createSortModifiers(config);
1082
+ const postfixLookupClassGroupIds = createPostfixLookupClassGroupIds(config);
1083
+ const { getClassGroupId, getConflictingClassGroupIds } = createClassGroupUtils(config);
1084
+ let descriptorCache = /* @__PURE__ */ Object.create(null);
1085
+ let previousDescriptorCache = /* @__PURE__ */ Object.create(null);
1086
+ let descriptorCacheSize = 0;
1087
+ let claimedGeneration = new Int32Array(256);
1088
+ let currentGeneration = 0;
1089
+ let keepFlags = new Uint8Array(64);
1090
+ let splitSawNonSpaceWhitespace = false;
1091
+ const splitClassList = (classList) => {
1092
+ const tokens = [];
1093
+ const length = classList.length;
1094
+ let tokenStart = -1;
1095
+ splitSawNonSpaceWhitespace = false;
1096
+ for (let index = 0; index < length; index++) {
1097
+ const charCode = classList.charCodeAt(index);
1098
+ if (charCode === 32) {
1099
+ if (tokenStart !== -1) {
1100
+ tokens.push(classList.slice(tokenStart, index));
1101
+ tokenStart = -1;
1102
+ }
1103
+ } else if (charCode >= 9 && charCode <= 13) {
1104
+ splitSawNonSpaceWhitespace = true;
1105
+ if (tokenStart !== -1) {
1106
+ tokens.push(classList.slice(tokenStart, index));
1107
+ tokenStart = -1;
1108
+ }
1109
+ } else if (tokenStart === -1) {
1110
+ tokenStart = index;
1111
+ }
1112
+ }
1113
+ if (tokenStart !== -1) {
1114
+ tokens.push(classList.slice(tokenStart));
1115
+ }
1116
+ return tokens;
1117
+ };
1118
+ const conflictKeyIds = /* @__PURE__ */ new Map();
1119
+ let nextConflictKeyId = 0;
1120
+ const internConflictKey = (conflictKey) => {
1121
+ let id = conflictKeyIds.get(conflictKey);
1122
+ if (id === void 0) {
1123
+ id = nextConflictKeyId++;
1124
+ conflictKeyIds.set(conflictKey, id);
1125
+ if (id >= claimedGeneration.length) {
1126
+ const grown = new Int32Array(claimedGeneration.length * 2);
1127
+ grown.set(claimedGeneration);
1128
+ claimedGeneration = grown;
1129
+ }
1130
+ }
1131
+ return id;
1132
+ };
1133
+ const computeClassDescriptor = (originalClassName) => {
1134
+ const {
1135
+ isExternal,
1136
+ modifiers,
1137
+ hasImportantModifier,
1138
+ baseClassName,
1139
+ maybePostfixModifierPosition
1140
+ } = parseClassName(originalClassName);
1141
+ if (isExternal) {
1142
+ return EXTERNAL_DESCRIPTOR;
1143
+ }
1144
+ let hasPostfixModifier = Boolean(maybePostfixModifierPosition);
1145
+ let classGroupId;
1146
+ if (hasPostfixModifier) {
1147
+ const baseClassNameWithoutPostfix = baseClassName.substring(0, maybePostfixModifierPosition);
1148
+ classGroupId = getClassGroupId(baseClassNameWithoutPostfix);
1149
+ const classGroupIdWithPostfix = classGroupId && postfixLookupClassGroupIds[classGroupId] ? getClassGroupId(baseClassName) : void 0;
1150
+ if (classGroupIdWithPostfix && classGroupIdWithPostfix !== classGroupId) {
1151
+ classGroupId = classGroupIdWithPostfix;
1152
+ hasPostfixModifier = false;
1153
+ }
1154
+ } else {
1155
+ classGroupId = getClassGroupId(baseClassName);
1156
+ }
1157
+ if (!classGroupId) {
1158
+ if (!hasPostfixModifier) {
1159
+ return EXTERNAL_DESCRIPTOR;
1160
+ }
1161
+ classGroupId = getClassGroupId(baseClassName);
1162
+ if (!classGroupId) {
1163
+ return EXTERNAL_DESCRIPTOR;
1164
+ }
1165
+ hasPostfixModifier = false;
1166
+ }
1167
+ const variantModifier = modifiers.length === 0 ? "" : modifiers.length === 1 ? modifiers[0] : sortModifiers(modifiers).join(":");
1168
+ const modifierId = hasImportantModifier ? variantModifier + IMPORTANT_MODIFIER : variantModifier;
1169
+ const conflictGroups = getConflictingClassGroupIds(classGroupId, hasPostfixModifier);
1170
+ const conflictIds = [];
1171
+ for (let index = 0; index < conflictGroups.length; index++) {
1172
+ conflictIds.push(internConflictKey(modifierId + conflictGroups[index]));
1173
+ }
1174
+ return {
1175
+ isExternal: false,
1176
+ classId: internConflictKey(modifierId + classGroupId),
1177
+ conflictIds
1178
+ };
1179
+ };
1180
+ const getClassDescriptor = (originalClassName) => {
1181
+ let descriptor = descriptorCache[originalClassName];
1182
+ if (descriptor !== void 0) {
1183
+ return descriptor;
1184
+ }
1185
+ descriptor = previousDescriptorCache[originalClassName];
1186
+ if (descriptor === void 0) {
1187
+ descriptor = computeClassDescriptor(originalClassName);
1188
+ }
1189
+ descriptorCache[originalClassName] = descriptor;
1190
+ if (++descriptorCacheSize > DESCRIPTOR_CACHE_SIZE) {
1191
+ descriptorCacheSize = 0;
1192
+ previousDescriptorCache = descriptorCache;
1193
+ descriptorCache = /* @__PURE__ */ Object.create(null);
1194
+ }
1195
+ return descriptor;
1196
+ };
1197
+ const mergeClassList = (classList) => {
1198
+ const classNames = splitClassList(classList);
1199
+ const classCount = classNames.length;
1200
+ if (classCount === 1) {
1201
+ return classNames[0];
1202
+ }
1203
+ if (nextConflictKeyId > MAX_CONFLICT_KEYS) {
1204
+ conflictKeyIds.clear();
1205
+ nextConflictKeyId = 0;
1206
+ descriptorCache = /* @__PURE__ */ Object.create(null);
1207
+ previousDescriptorCache = /* @__PURE__ */ Object.create(null);
1208
+ descriptorCacheSize = 0;
1209
+ }
1210
+ currentGeneration = currentGeneration + 1 | 0;
1211
+ if (currentGeneration === 0) currentGeneration = 1;
1212
+ const generation = currentGeneration;
1213
+ if (classCount > keepFlags.length) {
1214
+ let capacity = keepFlags.length;
1215
+ while (capacity < classCount) capacity *= 2;
1216
+ keepFlags = new Uint8Array(capacity);
1217
+ }
1218
+ let didDrop = false;
1219
+ let tokenCharCount = 0;
1220
+ for (let index = classCount - 1; index >= 0; index -= 1) {
1221
+ const className = classNames[index];
1222
+ tokenCharCount += className.length;
1223
+ const descriptor = getClassDescriptor(className);
1224
+ if (descriptor.isExternal) {
1225
+ keepFlags[index] = 1;
1226
+ continue;
1227
+ }
1228
+ const classId = descriptor.classId;
1229
+ if (claimedGeneration[classId] === generation) {
1230
+ keepFlags[index] = 0;
1231
+ didDrop = true;
1232
+ continue;
1233
+ }
1234
+ claimedGeneration[classId] = generation;
1235
+ const conflictIds = descriptor.conflictIds;
1236
+ for (let conflictIndex = 0; conflictIndex < conflictIds.length; conflictIndex++) {
1237
+ claimedGeneration[conflictIds[conflictIndex]] = generation;
1238
+ }
1239
+ keepFlags[index] = 1;
1240
+ }
1241
+ if (!didDrop && !splitSawNonSpaceWhitespace && classList.length === tokenCharCount + classCount - 1) {
1242
+ return classList;
1243
+ }
1244
+ let result = "";
1245
+ for (let index = 0; index < classCount; index++) {
1246
+ if (keepFlags[index] === 1) {
1247
+ if (result) result += " ";
1248
+ result += classNames[index];
1249
+ }
1250
+ }
1251
+ return result;
1252
+ };
1253
+ return {
1254
+ parseClassName,
1255
+ sortModifiers,
1256
+ postfixLookupClassGroupIds,
1257
+ getClassGroupId,
1258
+ getConflictingClassGroupIds,
1259
+ getClassDescriptor,
1260
+ mergeClassList
1261
+ };
1262
+ };
1263
+ var createPostfixLookupClassGroupIds = (config) => {
1264
+ const lookup = /* @__PURE__ */ Object.create(null);
1265
+ const classGroupIds = config.postfixLookupClassGroups;
1266
+ if (classGroupIds) {
1267
+ for (let index = 0; index < classGroupIds.length; index++) {
1268
+ lookup[classGroupIds[index]] = true;
1269
+ }
1270
+ }
1271
+ return lookup;
1272
+ };
1273
+
1274
+ // src/internal/merge/create-tailwind-merge.ts
1275
+ var MERGE_CACHE_SIZE = 500;
1276
+ var createTailwindMerge = (createConfig) => {
1277
+ let configUtils;
1278
+ let mergeClassList;
1279
+ let cache = /* @__PURE__ */ Object.create(null);
1280
+ let previousCache = /* @__PURE__ */ Object.create(null);
1281
+ let cacheSize = 0;
1282
+ const initTailwindMerge = (classList) => {
1283
+ configUtils = createConfigUtils(createConfig());
1284
+ mergeClassList = configUtils.mergeClassList;
1285
+ merge.mergeString = tailwindMerge;
1286
+ return tailwindMerge(classList);
1287
+ };
1288
+ const tailwindMerge = (classList) => {
1289
+ let result = cache[classList];
1290
+ if (result !== void 0) {
1291
+ return result;
1292
+ }
1293
+ result = previousCache[classList];
1294
+ if (result === void 0) {
1295
+ result = mergeClassList(classList);
1296
+ }
1297
+ cache[classList] = result;
1298
+ if (++cacheSize > MERGE_CACHE_SIZE) {
1299
+ cacheSize = 0;
1300
+ previousCache = cache;
1301
+ cache = /* @__PURE__ */ Object.create(null);
1302
+ }
1303
+ return result;
1304
+ };
1305
+ const merge = (...args) => merge.mergeString(joinClassValue(args));
1306
+ merge.mergeString = initTailwindMerge;
1307
+ return merge;
1308
+ };
1309
+
1310
+ // src/internal/merge/from-theme.ts
1311
+ var fallbackThemeArr = [];
1312
+ var fromTheme = (key) => {
1313
+ const themeGetter = (theme) => theme[key] || fallbackThemeArr;
1314
+ themeGetter.isThemeGetter = true;
1315
+ return themeGetter;
1316
+ };
1317
+
1318
+ // src/internal/merge/validators.ts
1319
+ var arbitraryValueRegex = /^\[(?:(\w[\w-]*):)?(.+)\]$/i;
1320
+ var arbitraryVariableRegex = /^\((?:(\w[\w-]*):)?(.+)\)$/i;
1321
+ var fractionRegex = /^\d+(?:\.\d+)?\/\d+(?:\.\d+)?$/;
1322
+ var tshirtUnitRegex = /^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/;
1323
+ var lengthUnitRegex = /\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/;
1324
+ var colorFunctionRegex = /^(rgba?|hsla?|hwb|(ok)?(lab|lch)|color-mix)\(.+\)$/;
1325
+ var shadowRegex = /^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/;
1326
+ var imageRegex = /^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;
1327
+ var toNumber = Number;
1328
+ var numberIsNaN = Number.isNaN;
1329
+ var numberIsInteger = Number.isInteger;
1330
+ var isFraction = (value) => fractionRegex.test(value);
1331
+ var isNumber = (value) => Boolean(value) && !numberIsNaN(toNumber(value));
1332
+ var isInteger = (value) => Boolean(value) && numberIsInteger(toNumber(value));
1333
+ var isPercent = (value) => value.endsWith("%") && isNumber(value.slice(0, -1));
1334
+ var isTshirtSize = (value) => tshirtUnitRegex.test(value);
1335
+ var isAny = () => true;
1336
+ var isLengthOnly = (value) => (
1337
+ // `colorFunctionRegex` check is necessary because color functions can have percentages in them which which would be incorrectly classified as lengths.
1338
+ // For example, `hsl(0 0% 0%)` would be classified as a length without this check.
1339
+ // I could also use lookbehind assertion in `lengthUnitRegex` but that isn't supported widely enough.
1340
+ lengthUnitRegex.test(value) && !colorFunctionRegex.test(value)
1341
+ );
1342
+ var isNever = () => false;
1343
+ var isShadow = (value) => shadowRegex.test(value);
1344
+ var isImage = (value) => imageRegex.test(value);
1345
+ var isAnyNonArbitrary = (value) => !isArbitraryValue(value) && !isArbitraryVariable(value);
1346
+ var isNamedContainerQuery = (value) => value.startsWith("@container") && (value[10] === "/" && value[11] !== void 0 || value[11] === "s" && value[16] !== void 0 && value.startsWith("-size/", 10) || value[11] === "n" && value[18] !== void 0 && value.startsWith("-normal/", 10));
1347
+ var isArbitrarySize = (value) => getIsArbitraryValue(value, isLabelSize, isNever);
1348
+ var isArbitraryValue = (value) => arbitraryValueRegex.test(value);
1349
+ var isArbitraryLength = (value) => getIsArbitraryValue(value, isLabelLength, isLengthOnly);
1350
+ var isArbitraryNumber = (value) => getIsArbitraryValue(value, isLabelNumber, isNumber);
1351
+ var isArbitraryWeight = (value) => getIsArbitraryValue(value, isLabelWeight, isAny);
1352
+ var isArbitraryFamilyName = (value) => getIsArbitraryValue(value, isLabelFamilyName, isNever);
1353
+ var isArbitraryPosition = (value) => getIsArbitraryValue(value, isLabelPosition, isNever);
1354
+ var isArbitraryImage = (value) => getIsArbitraryValue(value, isLabelImage, isImage);
1355
+ var isArbitraryShadow = (value) => getIsArbitraryValue(value, isLabelShadow, isShadow);
1356
+ var isArbitraryVariable = (value) => arbitraryVariableRegex.test(value);
1357
+ var isArbitraryVariableLength = (value) => getIsArbitraryVariable(value, isLabelLength);
1358
+ var isArbitraryVariableFamilyName = (value) => getIsArbitraryVariable(value, isLabelFamilyName);
1359
+ var isArbitraryVariablePosition = (value) => getIsArbitraryVariable(value, isLabelPosition);
1360
+ var isArbitraryVariableSize = (value) => getIsArbitraryVariable(value, isLabelSize);
1361
+ var isArbitraryVariableImage = (value) => getIsArbitraryVariable(value, isLabelImage);
1362
+ var isArbitraryVariableShadow = (value) => getIsArbitraryVariable(value, isLabelShadow, true);
1363
+ var isArbitraryVariableWeight = (value) => getIsArbitraryVariable(value, isLabelWeight, true);
1364
+ var getIsArbitraryValue = (value, testLabel, testValue) => {
1365
+ const result = arbitraryValueRegex.exec(value);
1366
+ if (result) {
1367
+ if (result[1]) {
1368
+ return testLabel(result[1]);
1369
+ }
1370
+ return testValue(result[2]);
1371
+ }
1372
+ return false;
1373
+ };
1374
+ var getIsArbitraryVariable = (value, testLabel, shouldMatchNoLabel = false) => {
1375
+ const result = arbitraryVariableRegex.exec(value);
1376
+ if (result) {
1377
+ if (result[1]) {
1378
+ return testLabel(result[1]);
1379
+ }
1380
+ return shouldMatchNoLabel;
1381
+ }
1382
+ return false;
1383
+ };
1384
+ var isLabelPosition = (label) => label === "position" || label === "percentage";
1385
+ var isLabelImage = (label) => label === "image" || label === "url";
1386
+ var isLabelSize = (label) => label === "length" || label === "size" || label === "bg-size";
1387
+ var isLabelLength = (label) => label === "length";
1388
+ var isLabelNumber = (label) => label === "number";
1389
+ var isLabelFamilyName = (label) => label === "family-name";
1390
+ var isLabelWeight = (label) => label === "number" || label === "weight";
1391
+ var isLabelShadow = (label) => label === "shadow";
1392
+
1393
+ // src/internal/merge/default-config.ts
1394
+ var getDefaultConfig = () => {
1395
+ const themeColor = fromTheme("color");
1396
+ const themeFont = fromTheme("font");
1397
+ const themeText = fromTheme("text");
1398
+ const themeFontWeight = fromTheme("font-weight");
1399
+ const themeTracking = fromTheme("tracking");
1400
+ const themeLeading = fromTheme("leading");
1401
+ const themeBreakpoint = fromTheme("breakpoint");
1402
+ const themeContainer = fromTheme("container");
1403
+ const themeSpacing = fromTheme("spacing");
1404
+ const themeRadius = fromTheme("radius");
1405
+ const themeShadow = fromTheme("shadow");
1406
+ const themeInsetShadow = fromTheme("inset-shadow");
1407
+ const themeTextShadow = fromTheme("text-shadow");
1408
+ const themeDropShadow = fromTheme("drop-shadow");
1409
+ const themeBlur = fromTheme("blur");
1410
+ const themePerspective = fromTheme("perspective");
1411
+ const themeAspect = fromTheme("aspect");
1412
+ const themeEase = fromTheme("ease");
1413
+ const themeAnimate = fromTheme("animate");
1414
+ const scaleBreak = () => ["auto", "avoid", "all", "avoid-page", "page", "left", "right", "column"];
1415
+ const scalePosition = () => [
1416
+ "center",
1417
+ "top",
1418
+ "bottom",
1419
+ "left",
1420
+ "right",
1421
+ "top-left",
1422
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1423
+ "left-top",
1424
+ "top-right",
1425
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1426
+ "right-top",
1427
+ "bottom-right",
1428
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1429
+ "right-bottom",
1430
+ "bottom-left",
1431
+ // Deprecated since Tailwind CSS v4.1.0, see https://github.com/tailwindlabs/tailwindcss/pull/17378
1432
+ "left-bottom"
1433
+ ];
1434
+ const scalePositionWithArbitrary = () => [...scalePosition(), isArbitraryVariable, isArbitraryValue];
1435
+ const scaleOverflow = () => ["auto", "hidden", "clip", "visible", "scroll"];
1436
+ const scaleOverscroll = () => ["auto", "contain", "none"];
1437
+ const scaleUnambiguousSpacing = () => [isArbitraryVariable, isArbitraryValue, themeSpacing];
1438
+ const scaleInset = () => [isFraction, "full", "auto", ...scaleUnambiguousSpacing()];
1439
+ const scaleGridTemplateColsRows = () => [isInteger, "none", "subgrid", isArbitraryVariable, isArbitraryValue];
1440
+ const scaleGridColRowStartAndEnd = () => [
1441
+ "auto",
1442
+ { span: ["full", isInteger, isArbitraryVariable, isArbitraryValue] },
1443
+ isInteger,
1444
+ isArbitraryVariable,
1445
+ isArbitraryValue
1446
+ ];
1447
+ const scaleGridColRowStartOrEnd = () => [isInteger, "auto", isArbitraryVariable, isArbitraryValue];
1448
+ const scaleGridAutoColsRows = () => ["auto", "min", "max", "fr", isArbitraryVariable, isArbitraryValue];
1449
+ const scaleAlignPrimaryAxis = () => [
1450
+ "start",
1451
+ "end",
1452
+ "center",
1453
+ "between",
1454
+ "around",
1455
+ "evenly",
1456
+ "stretch",
1457
+ "baseline",
1458
+ "center-safe",
1459
+ "end-safe"
1460
+ ];
1461
+ const scaleAlignSecondaryAxis = () => ["start", "end", "center", "stretch", "center-safe", "end-safe"];
1462
+ const scaleMargin = () => ["auto", ...scaleUnambiguousSpacing()];
1463
+ const scaleSizing = () => [
1464
+ isFraction,
1465
+ "auto",
1466
+ "full",
1467
+ "dvw",
1468
+ "dvh",
1469
+ "lvw",
1470
+ "lvh",
1471
+ "svw",
1472
+ "svh",
1473
+ "min",
1474
+ "max",
1475
+ "fit",
1476
+ ...scaleUnambiguousSpacing()
1477
+ ];
1478
+ const scaleSizingInline = () => [
1479
+ isFraction,
1480
+ "screen",
1481
+ "full",
1482
+ "dvw",
1483
+ "lvw",
1484
+ "svw",
1485
+ "min",
1486
+ "max",
1487
+ "fit",
1488
+ ...scaleUnambiguousSpacing()
1489
+ ];
1490
+ const scaleSizingBlock = () => [
1491
+ isFraction,
1492
+ "screen",
1493
+ "full",
1494
+ "lh",
1495
+ "dvh",
1496
+ "lvh",
1497
+ "svh",
1498
+ "min",
1499
+ "max",
1500
+ "fit",
1501
+ ...scaleUnambiguousSpacing()
1502
+ ];
1503
+ const scaleColor = () => [themeColor, isArbitraryVariable, isArbitraryValue];
1504
+ const scaleBgPosition = () => [
1505
+ ...scalePosition(),
1506
+ isArbitraryVariablePosition,
1507
+ isArbitraryPosition,
1508
+ { position: [isArbitraryVariable, isArbitraryValue] }
1509
+ ];
1510
+ const scaleBgRepeat = () => ["no-repeat", { repeat: ["", "x", "y", "space", "round"] }];
1511
+ const scaleBgSize = () => [
1512
+ "auto",
1513
+ "cover",
1514
+ "contain",
1515
+ isArbitraryVariableSize,
1516
+ isArbitrarySize,
1517
+ { size: [isArbitraryVariable, isArbitraryValue] }
1518
+ ];
1519
+ const scaleGradientStopPosition = () => [isPercent, isArbitraryVariableLength, isArbitraryLength];
1520
+ const scaleRadius = () => [
1521
+ // Deprecated since Tailwind CSS v4.0.0
1522
+ "",
1523
+ "none",
1524
+ "full",
1525
+ themeRadius,
1526
+ isArbitraryVariable,
1527
+ isArbitraryValue
1528
+ ];
1529
+ const scaleBorderWidth = () => ["", isNumber, isArbitraryVariableLength, isArbitraryLength];
1530
+ const scaleLineStyle = () => ["solid", "dashed", "dotted", "double"];
1531
+ const scaleBlendMode = () => [
1532
+ "normal",
1533
+ "multiply",
1534
+ "screen",
1535
+ "overlay",
1536
+ "darken",
1537
+ "lighten",
1538
+ "color-dodge",
1539
+ "color-burn",
1540
+ "hard-light",
1541
+ "soft-light",
1542
+ "difference",
1543
+ "exclusion",
1544
+ "hue",
1545
+ "saturation",
1546
+ "color",
1547
+ "luminosity"
1548
+ ];
1549
+ const scaleMaskImagePosition = () => [isNumber, isPercent, isArbitraryVariablePosition, isArbitraryPosition];
1550
+ const scaleBlur = () => [
1551
+ // Deprecated since Tailwind CSS v4.0.0
1552
+ "",
1553
+ "none",
1554
+ themeBlur,
1555
+ isArbitraryVariable,
1556
+ isArbitraryValue
1557
+ ];
1558
+ const scaleRotate = () => ["none", isNumber, isArbitraryVariable, isArbitraryValue];
1559
+ const scaleScale = () => ["none", isNumber, isArbitraryVariable, isArbitraryValue];
1560
+ const scaleSkew = () => [isNumber, isArbitraryVariable, isArbitraryValue];
1561
+ const scaleTranslate = () => [isFraction, "full", ...scaleUnambiguousSpacing()];
1562
+ return {
1563
+ theme: {
1564
+ animate: ["spin", "ping", "pulse", "bounce"],
1565
+ aspect: ["video"],
1566
+ blur: [isTshirtSize],
1567
+ breakpoint: [isTshirtSize],
1568
+ color: [isAny],
1569
+ container: [isTshirtSize],
1570
+ "drop-shadow": [isTshirtSize],
1571
+ ease: ["in", "out", "in-out"],
1572
+ font: [isAnyNonArbitrary],
1573
+ "font-weight": [
1574
+ "thin",
1575
+ "extralight",
1576
+ "light",
1577
+ "normal",
1578
+ "medium",
1579
+ "semibold",
1580
+ "bold",
1581
+ "extrabold",
1582
+ "black"
1583
+ ],
1584
+ "inset-shadow": [isTshirtSize],
1585
+ leading: ["none", "tight", "snug", "normal", "relaxed", "loose"],
1586
+ perspective: ["dramatic", "near", "normal", "midrange", "distant", "none"],
1587
+ radius: [isTshirtSize],
1588
+ shadow: [isTshirtSize],
1589
+ spacing: ["px", isNumber],
1590
+ text: [isTshirtSize],
1591
+ "text-shadow": [isTshirtSize],
1592
+ tracking: ["tighter", "tight", "normal", "wide", "wider", "widest"]
1593
+ },
1594
+ classGroups: {
1595
+ // --------------
1596
+ // --- Layout ---
1597
+ // --------------
1598
+ /**
1599
+ * Aspect Ratio
1600
+ * @see https://tailwindcss.com/docs/aspect-ratio
1601
+ */
1602
+ aspect: [
1603
+ {
1604
+ aspect: [
1605
+ "auto",
1606
+ "square",
1607
+ isFraction,
1608
+ isArbitraryValue,
1609
+ isArbitraryVariable,
1610
+ themeAspect
1611
+ ]
1612
+ }
1613
+ ],
1614
+ /**
1615
+ * Container
1616
+ * @see https://tailwindcss.com/docs/container
1617
+ * @deprecated since Tailwind CSS v4.0.0
1618
+ */
1619
+ container: ["container"],
1620
+ /**
1621
+ * Container Type
1622
+ * @see https://tailwindcss.com/docs/responsive-design#container-queries
1623
+ */
1624
+ "container-type": [
1625
+ { "@container": ["", "normal", "size", isArbitraryVariable, isArbitraryValue] }
1626
+ ],
1627
+ /**
1628
+ * Container Name
1629
+ * @see https://tailwindcss.com/docs/responsive-design#named-containers
1630
+ */
1631
+ "container-named": [isNamedContainerQuery],
1632
+ /**
1633
+ * Columns
1634
+ * @see https://tailwindcss.com/docs/columns
1635
+ */
1636
+ columns: [{ columns: [isNumber, isArbitraryValue, isArbitraryVariable, themeContainer] }],
1637
+ /**
1638
+ * Break After
1639
+ * @see https://tailwindcss.com/docs/break-after
1640
+ */
1641
+ "break-after": [{ "break-after": scaleBreak() }],
1642
+ /**
1643
+ * Break Before
1644
+ * @see https://tailwindcss.com/docs/break-before
1645
+ */
1646
+ "break-before": [{ "break-before": scaleBreak() }],
1647
+ /**
1648
+ * Break Inside
1649
+ * @see https://tailwindcss.com/docs/break-inside
1650
+ */
1651
+ "break-inside": [{ "break-inside": ["auto", "avoid", "avoid-page", "avoid-column"] }],
1652
+ /**
1653
+ * Box Decoration Break
1654
+ * @see https://tailwindcss.com/docs/box-decoration-break
1655
+ */
1656
+ "box-decoration": [{ "box-decoration": ["slice", "clone"] }],
1657
+ /**
1658
+ * Box Sizing
1659
+ * @see https://tailwindcss.com/docs/box-sizing
1660
+ */
1661
+ box: [{ box: ["border", "content"] }],
1662
+ /**
1663
+ * Display
1664
+ * @see https://tailwindcss.com/docs/display
1665
+ */
1666
+ display: [
1667
+ "block",
1668
+ "inline-block",
1669
+ "inline",
1670
+ "flex",
1671
+ "inline-flex",
1672
+ "table",
1673
+ "inline-table",
1674
+ "table-caption",
1675
+ "table-cell",
1676
+ "table-column",
1677
+ "table-column-group",
1678
+ "table-footer-group",
1679
+ "table-header-group",
1680
+ "table-row-group",
1681
+ "table-row",
1682
+ "flow-root",
1683
+ "grid",
1684
+ "inline-grid",
1685
+ "contents",
1686
+ "list-item",
1687
+ "hidden"
1688
+ ],
1689
+ /**
1690
+ * Screen Reader Only
1691
+ * @see https://tailwindcss.com/docs/display#screen-reader-only
1692
+ */
1693
+ sr: ["sr-only", "not-sr-only"],
1694
+ /**
1695
+ * Floats
1696
+ * @see https://tailwindcss.com/docs/float
1697
+ */
1698
+ float: [{ float: ["right", "left", "none", "start", "end"] }],
1699
+ /**
1700
+ * Clear
1701
+ * @see https://tailwindcss.com/docs/clear
1702
+ */
1703
+ clear: [{ clear: ["left", "right", "both", "none", "start", "end"] }],
1704
+ /**
1705
+ * Isolation
1706
+ * @see https://tailwindcss.com/docs/isolation
1707
+ */
1708
+ isolation: ["isolate", "isolation-auto"],
1709
+ /**
1710
+ * Object Fit
1711
+ * @see https://tailwindcss.com/docs/object-fit
1712
+ */
1713
+ "object-fit": [{ object: ["contain", "cover", "fill", "none", "scale-down"] }],
1714
+ /**
1715
+ * Object Position
1716
+ * @see https://tailwindcss.com/docs/object-position
1717
+ */
1718
+ "object-position": [{ object: scalePositionWithArbitrary() }],
1719
+ /**
1720
+ * Overflow
1721
+ * @see https://tailwindcss.com/docs/overflow
1722
+ */
1723
+ overflow: [{ overflow: scaleOverflow() }],
1724
+ /**
1725
+ * Overflow X
1726
+ * @see https://tailwindcss.com/docs/overflow
1727
+ */
1728
+ "overflow-x": [{ "overflow-x": scaleOverflow() }],
1729
+ /**
1730
+ * Overflow Y
1731
+ * @see https://tailwindcss.com/docs/overflow
1732
+ */
1733
+ "overflow-y": [{ "overflow-y": scaleOverflow() }],
1734
+ /**
1735
+ * Overscroll Behavior
1736
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1737
+ */
1738
+ overscroll: [{ overscroll: scaleOverscroll() }],
1739
+ /**
1740
+ * Overscroll Behavior X
1741
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1742
+ */
1743
+ "overscroll-x": [{ "overscroll-x": scaleOverscroll() }],
1744
+ /**
1745
+ * Overscroll Behavior Y
1746
+ * @see https://tailwindcss.com/docs/overscroll-behavior
1747
+ */
1748
+ "overscroll-y": [{ "overscroll-y": scaleOverscroll() }],
1749
+ /**
1750
+ * Position
1751
+ * @see https://tailwindcss.com/docs/position
1752
+ */
1753
+ position: ["static", "fixed", "absolute", "relative", "sticky"],
1754
+ /**
1755
+ * Inset
1756
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1757
+ */
1758
+ inset: [{ inset: scaleInset() }],
1759
+ /**
1760
+ * Inset Inline
1761
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1762
+ */
1763
+ "inset-x": [{ "inset-x": scaleInset() }],
1764
+ /**
1765
+ * Inset Block
1766
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1767
+ */
1768
+ "inset-y": [{ "inset-y": scaleInset() }],
1769
+ /**
1770
+ * Inset Inline Start
1771
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1772
+ * @todo class group will be renamed to `inset-s` in next major release
1773
+ */
1774
+ start: [
1775
+ {
1776
+ "inset-s": scaleInset(),
1777
+ /**
1778
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-s-*` utilities.
1779
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1780
+ */
1781
+ start: scaleInset()
1782
+ }
1783
+ ],
1784
+ /**
1785
+ * Inset Inline End
1786
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1787
+ * @todo class group will be renamed to `inset-e` in next major release
1788
+ */
1789
+ end: [
1790
+ {
1791
+ "inset-e": scaleInset(),
1792
+ /**
1793
+ * @deprecated since Tailwind CSS v4.2.0 in favor of `inset-e-*` utilities.
1794
+ * @see https://github.com/tailwindlabs/tailwindcss/pull/19613
1795
+ */
1796
+ end: scaleInset()
1797
+ }
1798
+ ],
1799
+ /**
1800
+ * Inset Block Start
1801
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1802
+ */
1803
+ "inset-bs": [{ "inset-bs": scaleInset() }],
1804
+ /**
1805
+ * Inset Block End
1806
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1807
+ */
1808
+ "inset-be": [{ "inset-be": scaleInset() }],
1809
+ /**
1810
+ * Top
1811
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1812
+ */
1813
+ top: [{ top: scaleInset() }],
1814
+ /**
1815
+ * Right
1816
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1817
+ */
1818
+ right: [{ right: scaleInset() }],
1819
+ /**
1820
+ * Bottom
1821
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1822
+ */
1823
+ bottom: [{ bottom: scaleInset() }],
1824
+ /**
1825
+ * Left
1826
+ * @see https://tailwindcss.com/docs/top-right-bottom-left
1827
+ */
1828
+ left: [{ left: scaleInset() }],
1829
+ /**
1830
+ * Visibility
1831
+ * @see https://tailwindcss.com/docs/visibility
1832
+ */
1833
+ visibility: ["visible", "invisible", "collapse"],
1834
+ /**
1835
+ * Z-Index
1836
+ * @see https://tailwindcss.com/docs/z-index
1837
+ */
1838
+ z: [{ z: [isInteger, "auto", isArbitraryVariable, isArbitraryValue] }],
1839
+ // ------------------------
1840
+ // --- Flexbox and Grid ---
1841
+ // ------------------------
1842
+ /**
1843
+ * Flex Basis
1844
+ * @see https://tailwindcss.com/docs/flex-basis
1845
+ */
1846
+ basis: [
1847
+ {
1848
+ basis: [isFraction, "full", "auto", themeContainer, ...scaleUnambiguousSpacing()]
1849
+ }
1850
+ ],
1851
+ /**
1852
+ * Flex Direction
1853
+ * @see https://tailwindcss.com/docs/flex-direction
1854
+ */
1855
+ "flex-direction": [{ flex: ["row", "row-reverse", "col", "col-reverse"] }],
1856
+ /**
1857
+ * Flex Wrap
1858
+ * @see https://tailwindcss.com/docs/flex-wrap
1859
+ */
1860
+ "flex-wrap": [{ flex: ["nowrap", "wrap", "wrap-reverse"] }],
1861
+ /**
1862
+ * Flex
1863
+ * @see https://tailwindcss.com/docs/flex
1864
+ */
1865
+ flex: [{ flex: [isNumber, isFraction, "auto", "initial", "none", isArbitraryValue] }],
1866
+ /**
1867
+ * Flex Grow
1868
+ * @see https://tailwindcss.com/docs/flex-grow
1869
+ */
1870
+ grow: [{ grow: ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
1871
+ /**
1872
+ * Flex Shrink
1873
+ * @see https://tailwindcss.com/docs/flex-shrink
1874
+ */
1875
+ shrink: [{ shrink: ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
1876
+ /**
1877
+ * Order
1878
+ * @see https://tailwindcss.com/docs/order
1879
+ */
1880
+ order: [
1881
+ {
1882
+ order: [isInteger, "first", "last", "none", isArbitraryVariable, isArbitraryValue]
1883
+ }
1884
+ ],
1885
+ /**
1886
+ * Grid Template Columns
1887
+ * @see https://tailwindcss.com/docs/grid-template-columns
1888
+ */
1889
+ "grid-cols": [{ "grid-cols": scaleGridTemplateColsRows() }],
1890
+ /**
1891
+ * Grid Column Start / End
1892
+ * @see https://tailwindcss.com/docs/grid-column
1893
+ */
1894
+ "col-start-end": [{ col: scaleGridColRowStartAndEnd() }],
1895
+ /**
1896
+ * Grid Column Start
1897
+ * @see https://tailwindcss.com/docs/grid-column
1898
+ */
1899
+ "col-start": [{ "col-start": scaleGridColRowStartOrEnd() }],
1900
+ /**
1901
+ * Grid Column End
1902
+ * @see https://tailwindcss.com/docs/grid-column
1903
+ */
1904
+ "col-end": [{ "col-end": scaleGridColRowStartOrEnd() }],
1905
+ /**
1906
+ * Grid Template Rows
1907
+ * @see https://tailwindcss.com/docs/grid-template-rows
1908
+ */
1909
+ "grid-rows": [{ "grid-rows": scaleGridTemplateColsRows() }],
1910
+ /**
1911
+ * Grid Row Start / End
1912
+ * @see https://tailwindcss.com/docs/grid-row
1913
+ */
1914
+ "row-start-end": [{ row: scaleGridColRowStartAndEnd() }],
1915
+ /**
1916
+ * Grid Row Start
1917
+ * @see https://tailwindcss.com/docs/grid-row
1918
+ */
1919
+ "row-start": [{ "row-start": scaleGridColRowStartOrEnd() }],
1920
+ /**
1921
+ * Grid Row End
1922
+ * @see https://tailwindcss.com/docs/grid-row
1923
+ */
1924
+ "row-end": [{ "row-end": scaleGridColRowStartOrEnd() }],
1925
+ /**
1926
+ * Grid Auto Flow
1927
+ * @see https://tailwindcss.com/docs/grid-auto-flow
1928
+ */
1929
+ "grid-flow": [{ "grid-flow": ["row", "col", "dense", "row-dense", "col-dense"] }],
1930
+ /**
1931
+ * Grid Auto Columns
1932
+ * @see https://tailwindcss.com/docs/grid-auto-columns
1933
+ */
1934
+ "auto-cols": [{ "auto-cols": scaleGridAutoColsRows() }],
1935
+ /**
1936
+ * Grid Auto Rows
1937
+ * @see https://tailwindcss.com/docs/grid-auto-rows
1938
+ */
1939
+ "auto-rows": [{ "auto-rows": scaleGridAutoColsRows() }],
1940
+ /**
1941
+ * Gap
1942
+ * @see https://tailwindcss.com/docs/gap
1943
+ */
1944
+ gap: [{ gap: scaleUnambiguousSpacing() }],
1945
+ /**
1946
+ * Gap X
1947
+ * @see https://tailwindcss.com/docs/gap
1948
+ */
1949
+ "gap-x": [{ "gap-x": scaleUnambiguousSpacing() }],
1950
+ /**
1951
+ * Gap Y
1952
+ * @see https://tailwindcss.com/docs/gap
1953
+ */
1954
+ "gap-y": [{ "gap-y": scaleUnambiguousSpacing() }],
1955
+ /**
1956
+ * Justify Content
1957
+ * @see https://tailwindcss.com/docs/justify-content
1958
+ */
1959
+ "justify-content": [{ justify: [...scaleAlignPrimaryAxis(), "normal"] }],
1960
+ /**
1961
+ * Justify Items
1962
+ * @see https://tailwindcss.com/docs/justify-items
1963
+ */
1964
+ "justify-items": [{ "justify-items": [...scaleAlignSecondaryAxis(), "normal"] }],
1965
+ /**
1966
+ * Justify Self
1967
+ * @see https://tailwindcss.com/docs/justify-self
1968
+ */
1969
+ "justify-self": [{ "justify-self": ["auto", ...scaleAlignSecondaryAxis()] }],
1970
+ /**
1971
+ * Align Content
1972
+ * @see https://tailwindcss.com/docs/align-content
1973
+ */
1974
+ "align-content": [{ content: ["normal", ...scaleAlignPrimaryAxis()] }],
1975
+ /**
1976
+ * Align Items
1977
+ * @see https://tailwindcss.com/docs/align-items
1978
+ */
1979
+ "align-items": [{ items: [...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1980
+ /**
1981
+ * Align Self
1982
+ * @see https://tailwindcss.com/docs/align-self
1983
+ */
1984
+ "align-self": [{ self: ["auto", ...scaleAlignSecondaryAxis(), { baseline: ["", "last"] }] }],
1985
+ /**
1986
+ * Place Content
1987
+ * @see https://tailwindcss.com/docs/place-content
1988
+ */
1989
+ "place-content": [{ "place-content": scaleAlignPrimaryAxis() }],
1990
+ /**
1991
+ * Place Items
1992
+ * @see https://tailwindcss.com/docs/place-items
1993
+ */
1994
+ "place-items": [{ "place-items": [...scaleAlignSecondaryAxis(), "baseline"] }],
1995
+ /**
1996
+ * Place Self
1997
+ * @see https://tailwindcss.com/docs/place-self
1998
+ */
1999
+ "place-self": [{ "place-self": ["auto", ...scaleAlignSecondaryAxis()] }],
2000
+ // Spacing
2001
+ /**
2002
+ * Padding
2003
+ * @see https://tailwindcss.com/docs/padding
2004
+ */
2005
+ p: [{ p: scaleUnambiguousSpacing() }],
2006
+ /**
2007
+ * Padding Inline
2008
+ * @see https://tailwindcss.com/docs/padding
2009
+ */
2010
+ px: [{ px: scaleUnambiguousSpacing() }],
2011
+ /**
2012
+ * Padding Block
2013
+ * @see https://tailwindcss.com/docs/padding
2014
+ */
2015
+ py: [{ py: scaleUnambiguousSpacing() }],
2016
+ /**
2017
+ * Padding Inline Start
2018
+ * @see https://tailwindcss.com/docs/padding
2019
+ */
2020
+ ps: [{ ps: scaleUnambiguousSpacing() }],
2021
+ /**
2022
+ * Padding Inline End
2023
+ * @see https://tailwindcss.com/docs/padding
2024
+ */
2025
+ pe: [{ pe: scaleUnambiguousSpacing() }],
2026
+ /**
2027
+ * Padding Block Start
2028
+ * @see https://tailwindcss.com/docs/padding
2029
+ */
2030
+ pbs: [{ pbs: scaleUnambiguousSpacing() }],
2031
+ /**
2032
+ * Padding Block End
2033
+ * @see https://tailwindcss.com/docs/padding
2034
+ */
2035
+ pbe: [{ pbe: scaleUnambiguousSpacing() }],
2036
+ /**
2037
+ * Padding Top
2038
+ * @see https://tailwindcss.com/docs/padding
2039
+ */
2040
+ pt: [{ pt: scaleUnambiguousSpacing() }],
2041
+ /**
2042
+ * Padding Right
2043
+ * @see https://tailwindcss.com/docs/padding
2044
+ */
2045
+ pr: [{ pr: scaleUnambiguousSpacing() }],
2046
+ /**
2047
+ * Padding Bottom
2048
+ * @see https://tailwindcss.com/docs/padding
2049
+ */
2050
+ pb: [{ pb: scaleUnambiguousSpacing() }],
2051
+ /**
2052
+ * Padding Left
2053
+ * @see https://tailwindcss.com/docs/padding
2054
+ */
2055
+ pl: [{ pl: scaleUnambiguousSpacing() }],
2056
+ /**
2057
+ * Margin
2058
+ * @see https://tailwindcss.com/docs/margin
2059
+ */
2060
+ m: [{ m: scaleMargin() }],
2061
+ /**
2062
+ * Margin Inline
2063
+ * @see https://tailwindcss.com/docs/margin
2064
+ */
2065
+ mx: [{ mx: scaleMargin() }],
2066
+ /**
2067
+ * Margin Block
2068
+ * @see https://tailwindcss.com/docs/margin
2069
+ */
2070
+ my: [{ my: scaleMargin() }],
2071
+ /**
2072
+ * Margin Inline Start
2073
+ * @see https://tailwindcss.com/docs/margin
2074
+ */
2075
+ ms: [{ ms: scaleMargin() }],
2076
+ /**
2077
+ * Margin Inline End
2078
+ * @see https://tailwindcss.com/docs/margin
2079
+ */
2080
+ me: [{ me: scaleMargin() }],
2081
+ /**
2082
+ * Margin Block Start
2083
+ * @see https://tailwindcss.com/docs/margin
2084
+ */
2085
+ mbs: [{ mbs: scaleMargin() }],
2086
+ /**
2087
+ * Margin Block End
2088
+ * @see https://tailwindcss.com/docs/margin
2089
+ */
2090
+ mbe: [{ mbe: scaleMargin() }],
2091
+ /**
2092
+ * Margin Top
2093
+ * @see https://tailwindcss.com/docs/margin
2094
+ */
2095
+ mt: [{ mt: scaleMargin() }],
2096
+ /**
2097
+ * Margin Right
2098
+ * @see https://tailwindcss.com/docs/margin
2099
+ */
2100
+ mr: [{ mr: scaleMargin() }],
2101
+ /**
2102
+ * Margin Bottom
2103
+ * @see https://tailwindcss.com/docs/margin
2104
+ */
2105
+ mb: [{ mb: scaleMargin() }],
2106
+ /**
2107
+ * Margin Left
2108
+ * @see https://tailwindcss.com/docs/margin
2109
+ */
2110
+ ml: [{ ml: scaleMargin() }],
2111
+ /**
2112
+ * Space Between X
2113
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2114
+ */
2115
+ "space-x": [{ "space-x": scaleUnambiguousSpacing() }],
2116
+ /**
2117
+ * Space Between X Reverse
2118
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2119
+ */
2120
+ "space-x-reverse": ["space-x-reverse"],
2121
+ /**
2122
+ * Space Between Y
2123
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2124
+ */
2125
+ "space-y": [{ "space-y": scaleUnambiguousSpacing() }],
2126
+ /**
2127
+ * Space Between Y Reverse
2128
+ * @see https://tailwindcss.com/docs/margin#adding-space-between-children
2129
+ */
2130
+ "space-y-reverse": ["space-y-reverse"],
2131
+ // --------------
2132
+ // --- Sizing ---
2133
+ // --------------
2134
+ /**
2135
+ * Size
2136
+ * @see https://tailwindcss.com/docs/width#setting-both-width-and-height
2137
+ */
2138
+ size: [{ size: scaleSizing() }],
2139
+ /**
2140
+ * Inline Size
2141
+ * @see https://tailwindcss.com/docs/width
2142
+ */
2143
+ "inline-size": [{ inline: ["auto", ...scaleSizingInline()] }],
2144
+ /**
2145
+ * Min-Inline Size
2146
+ * @see https://tailwindcss.com/docs/min-width
2147
+ */
2148
+ "min-inline-size": [{ "min-inline": ["auto", ...scaleSizingInline()] }],
2149
+ /**
2150
+ * Max-Inline Size
2151
+ * @see https://tailwindcss.com/docs/max-width
2152
+ */
2153
+ "max-inline-size": [{ "max-inline": ["none", ...scaleSizingInline()] }],
2154
+ /**
2155
+ * Block Size
2156
+ * @see https://tailwindcss.com/docs/height
2157
+ */
2158
+ "block-size": [{ block: ["auto", ...scaleSizingBlock()] }],
2159
+ /**
2160
+ * Min-Block Size
2161
+ * @see https://tailwindcss.com/docs/min-height
2162
+ */
2163
+ "min-block-size": [{ "min-block": ["auto", ...scaleSizingBlock()] }],
2164
+ /**
2165
+ * Max-Block Size
2166
+ * @see https://tailwindcss.com/docs/max-height
2167
+ */
2168
+ "max-block-size": [{ "max-block": ["none", ...scaleSizingBlock()] }],
2169
+ /**
2170
+ * Width
2171
+ * @see https://tailwindcss.com/docs/width
2172
+ */
2173
+ w: [{ w: [themeContainer, "screen", ...scaleSizing()] }],
2174
+ /**
2175
+ * Min-Width
2176
+ * @see https://tailwindcss.com/docs/min-width
2177
+ */
2178
+ "min-w": [
2179
+ {
2180
+ "min-w": [
2181
+ themeContainer,
2182
+ "screen",
2183
+ /** Deprecated. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2184
+ "none",
2185
+ ...scaleSizing()
2186
+ ]
2187
+ }
2188
+ ],
2189
+ /**
2190
+ * Max-Width
2191
+ * @see https://tailwindcss.com/docs/max-width
2192
+ */
2193
+ "max-w": [
2194
+ {
2195
+ "max-w": [
2196
+ themeContainer,
2197
+ "screen",
2198
+ "none",
2199
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2200
+ "prose",
2201
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2202
+ { screen: [themeBreakpoint] },
2203
+ ...scaleSizing()
2204
+ ]
2205
+ }
2206
+ ],
2207
+ /**
2208
+ * Height
2209
+ * @see https://tailwindcss.com/docs/height
2210
+ */
2211
+ h: [{ h: ["screen", "lh", ...scaleSizing()] }],
2212
+ /**
2213
+ * Min-Height
2214
+ * @see https://tailwindcss.com/docs/min-height
2215
+ */
2216
+ "min-h": [{ "min-h": ["screen", "lh", "none", ...scaleSizing()] }],
2217
+ /**
2218
+ * Max-Height
2219
+ * @see https://tailwindcss.com/docs/max-height
2220
+ */
2221
+ "max-h": [{ "max-h": ["screen", "lh", ...scaleSizing()] }],
2222
+ // ------------------
2223
+ // --- Typography ---
2224
+ // ------------------
2225
+ /**
2226
+ * Font Size
2227
+ * @see https://tailwindcss.com/docs/font-size
2228
+ */
2229
+ "font-size": [{ text: ["base", themeText, isArbitraryVariableLength, isArbitraryLength] }],
2230
+ /**
2231
+ * Font Smoothing
2232
+ * @see https://tailwindcss.com/docs/font-smoothing
2233
+ */
2234
+ "font-smoothing": ["antialiased", "subpixel-antialiased"],
2235
+ /**
2236
+ * Font Style
2237
+ * @see https://tailwindcss.com/docs/font-style
2238
+ */
2239
+ "font-style": ["italic", "not-italic"],
2240
+ /**
2241
+ * Font Weight
2242
+ * @see https://tailwindcss.com/docs/font-weight
2243
+ */
2244
+ "font-weight": [
2245
+ {
2246
+ font: [themeFontWeight, isArbitraryVariableWeight, isArbitraryWeight]
2247
+ }
2248
+ ],
2249
+ /**
2250
+ * Font Stretch
2251
+ * @see https://tailwindcss.com/docs/font-stretch
2252
+ */
2253
+ "font-stretch": [
2254
+ {
2255
+ "font-stretch": [
2256
+ "ultra-condensed",
2257
+ "extra-condensed",
2258
+ "condensed",
2259
+ "semi-condensed",
2260
+ "normal",
2261
+ "semi-expanded",
2262
+ "expanded",
2263
+ "extra-expanded",
2264
+ "ultra-expanded",
2265
+ isPercent,
2266
+ isArbitraryValue
2267
+ ]
2268
+ }
2269
+ ],
2270
+ /**
2271
+ * Font Family
2272
+ * @see https://tailwindcss.com/docs/font-family
2273
+ */
2274
+ "font-family": [{ font: [isArbitraryVariableFamilyName, isArbitraryFamilyName, themeFont] }],
2275
+ /**
2276
+ * Font Feature Settings
2277
+ * @see https://tailwindcss.com/docs/font-feature-settings
2278
+ */
2279
+ "font-features": [{ "font-features": [isArbitraryValue] }],
2280
+ /**
2281
+ * Font Variant Numeric
2282
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2283
+ */
2284
+ "fvn-normal": ["normal-nums"],
2285
+ /**
2286
+ * Font Variant Numeric
2287
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2288
+ */
2289
+ "fvn-ordinal": ["ordinal"],
2290
+ /**
2291
+ * Font Variant Numeric
2292
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2293
+ */
2294
+ "fvn-slashed-zero": ["slashed-zero"],
2295
+ /**
2296
+ * Font Variant Numeric
2297
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2298
+ */
2299
+ "fvn-figure": ["lining-nums", "oldstyle-nums"],
2300
+ /**
2301
+ * Font Variant Numeric
2302
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2303
+ */
2304
+ "fvn-spacing": ["proportional-nums", "tabular-nums"],
2305
+ /**
2306
+ * Font Variant Numeric
2307
+ * @see https://tailwindcss.com/docs/font-variant-numeric
2308
+ */
2309
+ "fvn-fraction": ["diagonal-fractions", "stacked-fractions"],
2310
+ /**
2311
+ * Letter Spacing
2312
+ * @see https://tailwindcss.com/docs/letter-spacing
2313
+ */
2314
+ tracking: [{ tracking: [themeTracking, isArbitraryVariable, isArbitraryValue] }],
2315
+ /**
2316
+ * Line Clamp
2317
+ * @see https://tailwindcss.com/docs/line-clamp
2318
+ */
2319
+ "line-clamp": [{ "line-clamp": [isNumber, "none", isArbitraryVariable, isArbitraryNumber] }],
2320
+ /**
2321
+ * Line Height
2322
+ * @see https://tailwindcss.com/docs/line-height
2323
+ */
2324
+ leading: [
2325
+ {
2326
+ leading: [
2327
+ /** Deprecated since Tailwind CSS v4.0.0. @see https://github.com/tailwindlabs/tailwindcss.com/issues/2027#issuecomment-2620152757 */
2328
+ themeLeading,
2329
+ ...scaleUnambiguousSpacing()
2330
+ ]
2331
+ }
2332
+ ],
2333
+ /**
2334
+ * List Style Image
2335
+ * @see https://tailwindcss.com/docs/list-style-image
2336
+ */
2337
+ "list-image": [{ "list-image": ["none", isArbitraryVariable, isArbitraryValue] }],
2338
+ /**
2339
+ * List Style Position
2340
+ * @see https://tailwindcss.com/docs/list-style-position
2341
+ */
2342
+ "list-style-position": [{ list: ["inside", "outside"] }],
2343
+ /**
2344
+ * List Style Type
2345
+ * @see https://tailwindcss.com/docs/list-style-type
2346
+ */
2347
+ "list-style-type": [
2348
+ { list: ["disc", "decimal", "none", isArbitraryVariable, isArbitraryValue] }
2349
+ ],
2350
+ /**
2351
+ * Text Alignment
2352
+ * @see https://tailwindcss.com/docs/text-align
2353
+ */
2354
+ "text-alignment": [{ text: ["left", "center", "right", "justify", "start", "end"] }],
2355
+ /**
2356
+ * Placeholder Color
2357
+ * @deprecated since Tailwind CSS v3.0.0
2358
+ * @see https://v3.tailwindcss.com/docs/placeholder-color
2359
+ */
2360
+ "placeholder-color": [{ placeholder: scaleColor() }],
2361
+ /**
2362
+ * Text Color
2363
+ * @see https://tailwindcss.com/docs/text-color
2364
+ */
2365
+ "text-color": [{ text: scaleColor() }],
2366
+ /**
2367
+ * Text Decoration
2368
+ * @see https://tailwindcss.com/docs/text-decoration
2369
+ */
2370
+ "text-decoration": ["underline", "overline", "line-through", "no-underline"],
2371
+ /**
2372
+ * Text Decoration Style
2373
+ * @see https://tailwindcss.com/docs/text-decoration-style
2374
+ */
2375
+ "text-decoration-style": [{ decoration: [...scaleLineStyle(), "wavy"] }],
2376
+ /**
2377
+ * Text Decoration Thickness
2378
+ * @see https://tailwindcss.com/docs/text-decoration-thickness
2379
+ */
2380
+ "text-decoration-thickness": [
2381
+ {
2382
+ decoration: [isNumber, "from-font", "auto", isArbitraryVariable, isArbitraryLength]
2383
+ }
2384
+ ],
2385
+ /**
2386
+ * Text Decoration Color
2387
+ * @see https://tailwindcss.com/docs/text-decoration-color
2388
+ */
2389
+ "text-decoration-color": [{ decoration: scaleColor() }],
2390
+ /**
2391
+ * Text Underline Offset
2392
+ * @see https://tailwindcss.com/docs/text-underline-offset
2393
+ */
2394
+ "underline-offset": [
2395
+ { "underline-offset": [isNumber, "auto", isArbitraryVariable, isArbitraryValue] }
2396
+ ],
2397
+ /**
2398
+ * Text Transform
2399
+ * @see https://tailwindcss.com/docs/text-transform
2400
+ */
2401
+ "text-transform": ["uppercase", "lowercase", "capitalize", "normal-case"],
2402
+ /**
2403
+ * Text Overflow
2404
+ * @see https://tailwindcss.com/docs/text-overflow
2405
+ */
2406
+ "text-overflow": ["truncate", "text-ellipsis", "text-clip"],
2407
+ /**
2408
+ * Text Wrap
2409
+ * @see https://tailwindcss.com/docs/text-wrap
2410
+ */
2411
+ "text-wrap": [{ text: ["wrap", "nowrap", "balance", "pretty"] }],
2412
+ /**
2413
+ * Text Indent
2414
+ * @see https://tailwindcss.com/docs/text-indent
2415
+ */
2416
+ indent: [{ indent: scaleUnambiguousSpacing() }],
2417
+ /**
2418
+ * Tab Size
2419
+ * @see https://tailwindcss.com/docs/tab-size
2420
+ */
2421
+ "tab-size": [{ tab: [isInteger, isArbitraryVariable, isArbitraryValue] }],
2422
+ /**
2423
+ * Vertical Alignment
2424
+ * @see https://tailwindcss.com/docs/vertical-align
2425
+ */
2426
+ "vertical-align": [
2427
+ {
2428
+ align: [
2429
+ "baseline",
2430
+ "top",
2431
+ "middle",
2432
+ "bottom",
2433
+ "text-top",
2434
+ "text-bottom",
2435
+ "sub",
2436
+ "super",
2437
+ isArbitraryVariable,
2438
+ isArbitraryValue
2439
+ ]
2440
+ }
2441
+ ],
2442
+ /**
2443
+ * Whitespace
2444
+ * @see https://tailwindcss.com/docs/whitespace
2445
+ */
2446
+ whitespace: [
2447
+ { whitespace: ["normal", "nowrap", "pre", "pre-line", "pre-wrap", "break-spaces"] }
2448
+ ],
2449
+ /**
2450
+ * Word Break
2451
+ * @see https://tailwindcss.com/docs/word-break
2452
+ */
2453
+ break: [{ break: ["normal", "words", "all", "keep"] }],
2454
+ /**
2455
+ * Overflow Wrap
2456
+ * @see https://tailwindcss.com/docs/overflow-wrap
2457
+ */
2458
+ wrap: [{ wrap: ["break-word", "anywhere", "normal"] }],
2459
+ /**
2460
+ * Hyphens
2461
+ * @see https://tailwindcss.com/docs/hyphens
2462
+ */
2463
+ hyphens: [{ hyphens: ["none", "manual", "auto"] }],
2464
+ /**
2465
+ * Content
2466
+ * @see https://tailwindcss.com/docs/content
2467
+ */
2468
+ content: [{ content: ["none", isArbitraryVariable, isArbitraryValue] }],
2469
+ // -------------------
2470
+ // --- Backgrounds ---
2471
+ // -------------------
2472
+ /**
2473
+ * Background Attachment
2474
+ * @see https://tailwindcss.com/docs/background-attachment
2475
+ */
2476
+ "bg-attachment": [{ bg: ["fixed", "local", "scroll"] }],
2477
+ /**
2478
+ * Background Clip
2479
+ * @see https://tailwindcss.com/docs/background-clip
2480
+ */
2481
+ "bg-clip": [{ "bg-clip": ["border", "padding", "content", "text"] }],
2482
+ /**
2483
+ * Background Origin
2484
+ * @see https://tailwindcss.com/docs/background-origin
2485
+ */
2486
+ "bg-origin": [{ "bg-origin": ["border", "padding", "content"] }],
2487
+ /**
2488
+ * Background Position
2489
+ * @see https://tailwindcss.com/docs/background-position
2490
+ */
2491
+ "bg-position": [{ bg: scaleBgPosition() }],
2492
+ /**
2493
+ * Background Repeat
2494
+ * @see https://tailwindcss.com/docs/background-repeat
2495
+ */
2496
+ "bg-repeat": [{ bg: scaleBgRepeat() }],
2497
+ /**
2498
+ * Background Size
2499
+ * @see https://tailwindcss.com/docs/background-size
2500
+ */
2501
+ "bg-size": [{ bg: scaleBgSize() }],
2502
+ /**
2503
+ * Background Image
2504
+ * @see https://tailwindcss.com/docs/background-image
2505
+ */
2506
+ "bg-image": [
2507
+ {
2508
+ bg: [
2509
+ "none",
2510
+ {
2511
+ linear: [
2512
+ { to: ["t", "tr", "r", "br", "b", "bl", "l", "tl"] },
2513
+ isInteger,
2514
+ isArbitraryVariable,
2515
+ isArbitraryValue
2516
+ ],
2517
+ radial: ["", isArbitraryVariable, isArbitraryValue],
2518
+ conic: [isInteger, isArbitraryVariable, isArbitraryValue]
2519
+ },
2520
+ isArbitraryVariableImage,
2521
+ isArbitraryImage
2522
+ ]
2523
+ }
2524
+ ],
2525
+ /**
2526
+ * Background Color
2527
+ * @see https://tailwindcss.com/docs/background-color
2528
+ */
2529
+ "bg-color": [{ bg: scaleColor() }],
2530
+ /**
2531
+ * Gradient Color Stops From Position
2532
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2533
+ */
2534
+ "gradient-from-pos": [{ from: scaleGradientStopPosition() }],
2535
+ /**
2536
+ * Gradient Color Stops Via Position
2537
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2538
+ */
2539
+ "gradient-via-pos": [{ via: scaleGradientStopPosition() }],
2540
+ /**
2541
+ * Gradient Color Stops To Position
2542
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2543
+ */
2544
+ "gradient-to-pos": [{ to: scaleGradientStopPosition() }],
2545
+ /**
2546
+ * Gradient Color Stops From
2547
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2548
+ */
2549
+ "gradient-from": [{ from: scaleColor() }],
2550
+ /**
2551
+ * Gradient Color Stops Via
2552
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2553
+ */
2554
+ "gradient-via": [{ via: scaleColor() }],
2555
+ /**
2556
+ * Gradient Color Stops To
2557
+ * @see https://tailwindcss.com/docs/gradient-color-stops
2558
+ */
2559
+ "gradient-to": [{ to: scaleColor() }],
2560
+ // ---------------
2561
+ // --- Borders ---
2562
+ // ---------------
2563
+ /**
2564
+ * Border Radius
2565
+ * @see https://tailwindcss.com/docs/border-radius
2566
+ */
2567
+ rounded: [{ rounded: scaleRadius() }],
2568
+ /**
2569
+ * Border Radius Start
2570
+ * @see https://tailwindcss.com/docs/border-radius
2571
+ */
2572
+ "rounded-s": [{ "rounded-s": scaleRadius() }],
2573
+ /**
2574
+ * Border Radius End
2575
+ * @see https://tailwindcss.com/docs/border-radius
2576
+ */
2577
+ "rounded-e": [{ "rounded-e": scaleRadius() }],
2578
+ /**
2579
+ * Border Radius Top
2580
+ * @see https://tailwindcss.com/docs/border-radius
2581
+ */
2582
+ "rounded-t": [{ "rounded-t": scaleRadius() }],
2583
+ /**
2584
+ * Border Radius Right
2585
+ * @see https://tailwindcss.com/docs/border-radius
2586
+ */
2587
+ "rounded-r": [{ "rounded-r": scaleRadius() }],
2588
+ /**
2589
+ * Border Radius Bottom
2590
+ * @see https://tailwindcss.com/docs/border-radius
2591
+ */
2592
+ "rounded-b": [{ "rounded-b": scaleRadius() }],
2593
+ /**
2594
+ * Border Radius Left
2595
+ * @see https://tailwindcss.com/docs/border-radius
2596
+ */
2597
+ "rounded-l": [{ "rounded-l": scaleRadius() }],
2598
+ /**
2599
+ * Border Radius Start Start
2600
+ * @see https://tailwindcss.com/docs/border-radius
2601
+ */
2602
+ "rounded-ss": [{ "rounded-ss": scaleRadius() }],
2603
+ /**
2604
+ * Border Radius Start End
2605
+ * @see https://tailwindcss.com/docs/border-radius
2606
+ */
2607
+ "rounded-se": [{ "rounded-se": scaleRadius() }],
2608
+ /**
2609
+ * Border Radius End End
2610
+ * @see https://tailwindcss.com/docs/border-radius
2611
+ */
2612
+ "rounded-ee": [{ "rounded-ee": scaleRadius() }],
2613
+ /**
2614
+ * Border Radius End Start
2615
+ * @see https://tailwindcss.com/docs/border-radius
2616
+ */
2617
+ "rounded-es": [{ "rounded-es": scaleRadius() }],
2618
+ /**
2619
+ * Border Radius Top Left
2620
+ * @see https://tailwindcss.com/docs/border-radius
2621
+ */
2622
+ "rounded-tl": [{ "rounded-tl": scaleRadius() }],
2623
+ /**
2624
+ * Border Radius Top Right
2625
+ * @see https://tailwindcss.com/docs/border-radius
2626
+ */
2627
+ "rounded-tr": [{ "rounded-tr": scaleRadius() }],
2628
+ /**
2629
+ * Border Radius Bottom Right
2630
+ * @see https://tailwindcss.com/docs/border-radius
2631
+ */
2632
+ "rounded-br": [{ "rounded-br": scaleRadius() }],
2633
+ /**
2634
+ * Border Radius Bottom Left
2635
+ * @see https://tailwindcss.com/docs/border-radius
2636
+ */
2637
+ "rounded-bl": [{ "rounded-bl": scaleRadius() }],
2638
+ /**
2639
+ * Border Width
2640
+ * @see https://tailwindcss.com/docs/border-width
2641
+ */
2642
+ "border-w": [{ border: scaleBorderWidth() }],
2643
+ /**
2644
+ * Border Width Inline
2645
+ * @see https://tailwindcss.com/docs/border-width
2646
+ */
2647
+ "border-w-x": [{ "border-x": scaleBorderWidth() }],
2648
+ /**
2649
+ * Border Width Block
2650
+ * @see https://tailwindcss.com/docs/border-width
2651
+ */
2652
+ "border-w-y": [{ "border-y": scaleBorderWidth() }],
2653
+ /**
2654
+ * Border Width Inline Start
2655
+ * @see https://tailwindcss.com/docs/border-width
2656
+ */
2657
+ "border-w-s": [{ "border-s": scaleBorderWidth() }],
2658
+ /**
2659
+ * Border Width Inline End
2660
+ * @see https://tailwindcss.com/docs/border-width
2661
+ */
2662
+ "border-w-e": [{ "border-e": scaleBorderWidth() }],
2663
+ /**
2664
+ * Border Width Block Start
2665
+ * @see https://tailwindcss.com/docs/border-width
2666
+ */
2667
+ "border-w-bs": [{ "border-bs": scaleBorderWidth() }],
2668
+ /**
2669
+ * Border Width Block End
2670
+ * @see https://tailwindcss.com/docs/border-width
2671
+ */
2672
+ "border-w-be": [{ "border-be": scaleBorderWidth() }],
2673
+ /**
2674
+ * Border Width Top
2675
+ * @see https://tailwindcss.com/docs/border-width
2676
+ */
2677
+ "border-w-t": [{ "border-t": scaleBorderWidth() }],
2678
+ /**
2679
+ * Border Width Right
2680
+ * @see https://tailwindcss.com/docs/border-width
2681
+ */
2682
+ "border-w-r": [{ "border-r": scaleBorderWidth() }],
2683
+ /**
2684
+ * Border Width Bottom
2685
+ * @see https://tailwindcss.com/docs/border-width
2686
+ */
2687
+ "border-w-b": [{ "border-b": scaleBorderWidth() }],
2688
+ /**
2689
+ * Border Width Left
2690
+ * @see https://tailwindcss.com/docs/border-width
2691
+ */
2692
+ "border-w-l": [{ "border-l": scaleBorderWidth() }],
2693
+ /**
2694
+ * Divide Width X
2695
+ * @see https://tailwindcss.com/docs/border-width#between-children
2696
+ */
2697
+ "divide-x": [{ "divide-x": scaleBorderWidth() }],
2698
+ /**
2699
+ * Divide Width X Reverse
2700
+ * @see https://tailwindcss.com/docs/border-width#between-children
2701
+ */
2702
+ "divide-x-reverse": ["divide-x-reverse"],
2703
+ /**
2704
+ * Divide Width Y
2705
+ * @see https://tailwindcss.com/docs/border-width#between-children
2706
+ */
2707
+ "divide-y": [{ "divide-y": scaleBorderWidth() }],
2708
+ /**
2709
+ * Divide Width Y Reverse
2710
+ * @see https://tailwindcss.com/docs/border-width#between-children
2711
+ */
2712
+ "divide-y-reverse": ["divide-y-reverse"],
2713
+ /**
2714
+ * Border Style
2715
+ * @see https://tailwindcss.com/docs/border-style
2716
+ */
2717
+ "border-style": [{ border: [...scaleLineStyle(), "hidden", "none"] }],
2718
+ /**
2719
+ * Divide Style
2720
+ * @see https://tailwindcss.com/docs/border-style#setting-the-divider-style
2721
+ */
2722
+ "divide-style": [{ divide: [...scaleLineStyle(), "hidden", "none"] }],
2723
+ /**
2724
+ * Border Color
2725
+ * @see https://tailwindcss.com/docs/border-color
2726
+ */
2727
+ "border-color": [{ border: scaleColor() }],
2728
+ /**
2729
+ * Border Color Inline
2730
+ * @see https://tailwindcss.com/docs/border-color
2731
+ */
2732
+ "border-color-x": [{ "border-x": scaleColor() }],
2733
+ /**
2734
+ * Border Color Block
2735
+ * @see https://tailwindcss.com/docs/border-color
2736
+ */
2737
+ "border-color-y": [{ "border-y": scaleColor() }],
2738
+ /**
2739
+ * Border Color Inline Start
2740
+ * @see https://tailwindcss.com/docs/border-color
2741
+ */
2742
+ "border-color-s": [{ "border-s": scaleColor() }],
2743
+ /**
2744
+ * Border Color Inline End
2745
+ * @see https://tailwindcss.com/docs/border-color
2746
+ */
2747
+ "border-color-e": [{ "border-e": scaleColor() }],
2748
+ /**
2749
+ * Border Color Block Start
2750
+ * @see https://tailwindcss.com/docs/border-color
2751
+ */
2752
+ "border-color-bs": [{ "border-bs": scaleColor() }],
2753
+ /**
2754
+ * Border Color Block End
2755
+ * @see https://tailwindcss.com/docs/border-color
2756
+ */
2757
+ "border-color-be": [{ "border-be": scaleColor() }],
2758
+ /**
2759
+ * Border Color Top
2760
+ * @see https://tailwindcss.com/docs/border-color
2761
+ */
2762
+ "border-color-t": [{ "border-t": scaleColor() }],
2763
+ /**
2764
+ * Border Color Right
2765
+ * @see https://tailwindcss.com/docs/border-color
2766
+ */
2767
+ "border-color-r": [{ "border-r": scaleColor() }],
2768
+ /**
2769
+ * Border Color Bottom
2770
+ * @see https://tailwindcss.com/docs/border-color
2771
+ */
2772
+ "border-color-b": [{ "border-b": scaleColor() }],
2773
+ /**
2774
+ * Border Color Left
2775
+ * @see https://tailwindcss.com/docs/border-color
2776
+ */
2777
+ "border-color-l": [{ "border-l": scaleColor() }],
2778
+ /**
2779
+ * Divide Color
2780
+ * @see https://tailwindcss.com/docs/divide-color
2781
+ */
2782
+ "divide-color": [{ divide: scaleColor() }],
2783
+ /**
2784
+ * Outline Style
2785
+ * @see https://tailwindcss.com/docs/outline-style
2786
+ */
2787
+ "outline-style": [{ outline: [...scaleLineStyle(), "none", "hidden"] }],
2788
+ /**
2789
+ * Outline Offset
2790
+ * @see https://tailwindcss.com/docs/outline-offset
2791
+ */
2792
+ "outline-offset": [{ "outline-offset": [isNumber, isArbitraryVariable, isArbitraryValue] }],
2793
+ /**
2794
+ * Outline Width
2795
+ * @see https://tailwindcss.com/docs/outline-width
2796
+ */
2797
+ "outline-w": [{ outline: ["", isNumber, isArbitraryVariableLength, isArbitraryLength] }],
2798
+ /**
2799
+ * Outline Color
2800
+ * @see https://tailwindcss.com/docs/outline-color
2801
+ */
2802
+ "outline-color": [{ outline: scaleColor() }],
2803
+ // ---------------
2804
+ // --- Effects ---
2805
+ // ---------------
2806
+ /**
2807
+ * Box Shadow
2808
+ * @see https://tailwindcss.com/docs/box-shadow
2809
+ */
2810
+ shadow: [
2811
+ {
2812
+ shadow: [
2813
+ // Deprecated since Tailwind CSS v4.0.0
2814
+ "",
2815
+ "none",
2816
+ themeShadow,
2817
+ isArbitraryVariableShadow,
2818
+ isArbitraryShadow
2819
+ ]
2820
+ }
2821
+ ],
2822
+ /**
2823
+ * Box Shadow Color
2824
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-shadow-color
2825
+ */
2826
+ "shadow-color": [{ shadow: scaleColor() }],
2827
+ /**
2828
+ * Inset Box Shadow
2829
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-shadow
2830
+ */
2831
+ "inset-shadow": [
2832
+ {
2833
+ "inset-shadow": ["none", themeInsetShadow, isArbitraryVariableShadow, isArbitraryShadow]
2834
+ }
2835
+ ],
2836
+ /**
2837
+ * Inset Box Shadow Color
2838
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-shadow-color
2839
+ */
2840
+ "inset-shadow-color": [{ "inset-shadow": scaleColor() }],
2841
+ /**
2842
+ * Ring Width
2843
+ * @see https://tailwindcss.com/docs/box-shadow#adding-a-ring
2844
+ */
2845
+ "ring-w": [{ ring: scaleBorderWidth() }],
2846
+ /**
2847
+ * Ring Width Inset
2848
+ * @see https://v3.tailwindcss.com/docs/ring-width#inset-rings
2849
+ * @deprecated since Tailwind CSS v4.0.0
2850
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2851
+ */
2852
+ "ring-w-inset": ["ring-inset"],
2853
+ /**
2854
+ * Ring Color
2855
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-ring-color
2856
+ */
2857
+ "ring-color": [{ ring: scaleColor() }],
2858
+ /**
2859
+ * Ring Offset Width
2860
+ * @see https://v3.tailwindcss.com/docs/ring-offset-width
2861
+ * @deprecated since Tailwind CSS v4.0.0
2862
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2863
+ */
2864
+ "ring-offset-w": [{ "ring-offset": [isNumber, isArbitraryLength] }],
2865
+ /**
2866
+ * Ring Offset Color
2867
+ * @see https://v3.tailwindcss.com/docs/ring-offset-color
2868
+ * @deprecated since Tailwind CSS v4.0.0
2869
+ * @see https://github.com/tailwindlabs/tailwindcss/blob/v4.0.0/packages/tailwindcss/src/utilities.ts#L4158
2870
+ */
2871
+ "ring-offset-color": [{ "ring-offset": scaleColor() }],
2872
+ /**
2873
+ * Inset Ring Width
2874
+ * @see https://tailwindcss.com/docs/box-shadow#adding-an-inset-ring
2875
+ */
2876
+ "inset-ring-w": [{ "inset-ring": scaleBorderWidth() }],
2877
+ /**
2878
+ * Inset Ring Color
2879
+ * @see https://tailwindcss.com/docs/box-shadow#setting-the-inset-ring-color
2880
+ */
2881
+ "inset-ring-color": [{ "inset-ring": scaleColor() }],
2882
+ /**
2883
+ * Text Shadow
2884
+ * @see https://tailwindcss.com/docs/text-shadow
2885
+ */
2886
+ "text-shadow": [
2887
+ {
2888
+ "text-shadow": ["none", themeTextShadow, isArbitraryVariableShadow, isArbitraryShadow]
2889
+ }
2890
+ ],
2891
+ /**
2892
+ * Text Shadow Color
2893
+ * @see https://tailwindcss.com/docs/text-shadow#setting-the-shadow-color
2894
+ */
2895
+ "text-shadow-color": [{ "text-shadow": scaleColor() }],
2896
+ /**
2897
+ * Opacity
2898
+ * @see https://tailwindcss.com/docs/opacity
2899
+ */
2900
+ opacity: [{ opacity: [isNumber, isArbitraryVariable, isArbitraryValue] }],
2901
+ /**
2902
+ * Mix Blend Mode
2903
+ * @see https://tailwindcss.com/docs/mix-blend-mode
2904
+ */
2905
+ "mix-blend": [{ "mix-blend": [...scaleBlendMode(), "plus-darker", "plus-lighter"] }],
2906
+ /**
2907
+ * Background Blend Mode
2908
+ * @see https://tailwindcss.com/docs/background-blend-mode
2909
+ */
2910
+ "bg-blend": [{ "bg-blend": scaleBlendMode() }],
2911
+ /**
2912
+ * Mask Clip
2913
+ * @see https://tailwindcss.com/docs/mask-clip
2914
+ */
2915
+ "mask-clip": [
2916
+ { "mask-clip": ["border", "padding", "content", "fill", "stroke", "view"] },
2917
+ "mask-no-clip"
2918
+ ],
2919
+ /**
2920
+ * Mask Composite
2921
+ * @see https://tailwindcss.com/docs/mask-composite
2922
+ */
2923
+ "mask-composite": [{ mask: ["add", "subtract", "intersect", "exclude"] }],
2924
+ /**
2925
+ * Mask Image
2926
+ * @see https://tailwindcss.com/docs/mask-image
2927
+ */
2928
+ "mask-image-linear-pos": [{ "mask-linear": [isNumber] }],
2929
+ "mask-image-linear-from-pos": [{ "mask-linear-from": scaleMaskImagePosition() }],
2930
+ "mask-image-linear-to-pos": [{ "mask-linear-to": scaleMaskImagePosition() }],
2931
+ "mask-image-linear-from-color": [{ "mask-linear-from": scaleColor() }],
2932
+ "mask-image-linear-to-color": [{ "mask-linear-to": scaleColor() }],
2933
+ "mask-image-t-from-pos": [{ "mask-t-from": scaleMaskImagePosition() }],
2934
+ "mask-image-t-to-pos": [{ "mask-t-to": scaleMaskImagePosition() }],
2935
+ "mask-image-t-from-color": [{ "mask-t-from": scaleColor() }],
2936
+ "mask-image-t-to-color": [{ "mask-t-to": scaleColor() }],
2937
+ "mask-image-r-from-pos": [{ "mask-r-from": scaleMaskImagePosition() }],
2938
+ "mask-image-r-to-pos": [{ "mask-r-to": scaleMaskImagePosition() }],
2939
+ "mask-image-r-from-color": [{ "mask-r-from": scaleColor() }],
2940
+ "mask-image-r-to-color": [{ "mask-r-to": scaleColor() }],
2941
+ "mask-image-b-from-pos": [{ "mask-b-from": scaleMaskImagePosition() }],
2942
+ "mask-image-b-to-pos": [{ "mask-b-to": scaleMaskImagePosition() }],
2943
+ "mask-image-b-from-color": [{ "mask-b-from": scaleColor() }],
2944
+ "mask-image-b-to-color": [{ "mask-b-to": scaleColor() }],
2945
+ "mask-image-l-from-pos": [{ "mask-l-from": scaleMaskImagePosition() }],
2946
+ "mask-image-l-to-pos": [{ "mask-l-to": scaleMaskImagePosition() }],
2947
+ "mask-image-l-from-color": [{ "mask-l-from": scaleColor() }],
2948
+ "mask-image-l-to-color": [{ "mask-l-to": scaleColor() }],
2949
+ "mask-image-x-from-pos": [{ "mask-x-from": scaleMaskImagePosition() }],
2950
+ "mask-image-x-to-pos": [{ "mask-x-to": scaleMaskImagePosition() }],
2951
+ "mask-image-x-from-color": [{ "mask-x-from": scaleColor() }],
2952
+ "mask-image-x-to-color": [{ "mask-x-to": scaleColor() }],
2953
+ "mask-image-y-from-pos": [{ "mask-y-from": scaleMaskImagePosition() }],
2954
+ "mask-image-y-to-pos": [{ "mask-y-to": scaleMaskImagePosition() }],
2955
+ "mask-image-y-from-color": [{ "mask-y-from": scaleColor() }],
2956
+ "mask-image-y-to-color": [{ "mask-y-to": scaleColor() }],
2957
+ "mask-image-radial": [{ "mask-radial": [isArbitraryVariable, isArbitraryValue] }],
2958
+ "mask-image-radial-from-pos": [{ "mask-radial-from": scaleMaskImagePosition() }],
2959
+ "mask-image-radial-to-pos": [{ "mask-radial-to": scaleMaskImagePosition() }],
2960
+ "mask-image-radial-from-color": [{ "mask-radial-from": scaleColor() }],
2961
+ "mask-image-radial-to-color": [{ "mask-radial-to": scaleColor() }],
2962
+ "mask-image-radial-shape": [{ "mask-radial": ["circle", "ellipse"] }],
2963
+ "mask-image-radial-size": [
2964
+ { "mask-radial": [{ closest: ["side", "corner"], farthest: ["side", "corner"] }] }
2965
+ ],
2966
+ "mask-image-radial-pos": [{ "mask-radial-at": scalePosition() }],
2967
+ "mask-image-conic-pos": [{ "mask-conic": [isNumber] }],
2968
+ "mask-image-conic-from-pos": [{ "mask-conic-from": scaleMaskImagePosition() }],
2969
+ "mask-image-conic-to-pos": [{ "mask-conic-to": scaleMaskImagePosition() }],
2970
+ "mask-image-conic-from-color": [{ "mask-conic-from": scaleColor() }],
2971
+ "mask-image-conic-to-color": [{ "mask-conic-to": scaleColor() }],
2972
+ /**
2973
+ * Mask Mode
2974
+ * @see https://tailwindcss.com/docs/mask-mode
2975
+ */
2976
+ "mask-mode": [{ mask: ["alpha", "luminance", "match"] }],
2977
+ /**
2978
+ * Mask Origin
2979
+ * @see https://tailwindcss.com/docs/mask-origin
2980
+ */
2981
+ "mask-origin": [{ "mask-origin": ["border", "padding", "content", "fill", "stroke", "view"] }],
2982
+ /**
2983
+ * Mask Position
2984
+ * @see https://tailwindcss.com/docs/mask-position
2985
+ */
2986
+ "mask-position": [{ mask: scaleBgPosition() }],
2987
+ /**
2988
+ * Mask Repeat
2989
+ * @see https://tailwindcss.com/docs/mask-repeat
2990
+ */
2991
+ "mask-repeat": [{ mask: scaleBgRepeat() }],
2992
+ /**
2993
+ * Mask Size
2994
+ * @see https://tailwindcss.com/docs/mask-size
2995
+ */
2996
+ "mask-size": [{ mask: scaleBgSize() }],
2997
+ /**
2998
+ * Mask Type
2999
+ * @see https://tailwindcss.com/docs/mask-type
3000
+ */
3001
+ "mask-type": [{ "mask-type": ["alpha", "luminance"] }],
3002
+ /**
3003
+ * Mask Image
3004
+ * @see https://tailwindcss.com/docs/mask-image
3005
+ */
3006
+ "mask-image": [{ mask: ["none", isArbitraryVariable, isArbitraryValue] }],
3007
+ // ---------------
3008
+ // --- Filters ---
3009
+ // ---------------
3010
+ /**
3011
+ * Filter
3012
+ * @see https://tailwindcss.com/docs/filter
3013
+ */
3014
+ filter: [
3015
+ {
3016
+ filter: [
3017
+ // Deprecated since Tailwind CSS v3.0.0
3018
+ "",
3019
+ "none",
3020
+ isArbitraryVariable,
3021
+ isArbitraryValue
3022
+ ]
3023
+ }
3024
+ ],
3025
+ /**
3026
+ * Blur
3027
+ * @see https://tailwindcss.com/docs/blur
3028
+ */
3029
+ blur: [{ blur: scaleBlur() }],
3030
+ /**
3031
+ * Brightness
3032
+ * @see https://tailwindcss.com/docs/brightness
3033
+ */
3034
+ brightness: [{ brightness: [isNumber, isArbitraryVariable, isArbitraryValue] }],
3035
+ /**
3036
+ * Contrast
3037
+ * @see https://tailwindcss.com/docs/contrast
3038
+ */
3039
+ contrast: [{ contrast: [isNumber, isArbitraryVariable, isArbitraryValue] }],
3040
+ /**
3041
+ * Drop Shadow
3042
+ * @see https://tailwindcss.com/docs/drop-shadow
3043
+ */
3044
+ "drop-shadow": [
3045
+ {
3046
+ "drop-shadow": [
3047
+ // Deprecated since Tailwind CSS v4.0.0
3048
+ "",
3049
+ "none",
3050
+ themeDropShadow,
3051
+ isArbitraryVariableShadow,
3052
+ isArbitraryShadow
3053
+ ]
3054
+ }
3055
+ ],
3056
+ /**
3057
+ * Drop Shadow Color
3058
+ * @see https://tailwindcss.com/docs/filter-drop-shadow#setting-the-shadow-color
3059
+ */
3060
+ "drop-shadow-color": [{ "drop-shadow": scaleColor() }],
3061
+ /**
3062
+ * Grayscale
3063
+ * @see https://tailwindcss.com/docs/grayscale
3064
+ */
3065
+ grayscale: [{ grayscale: ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
3066
+ /**
3067
+ * Hue Rotate
3068
+ * @see https://tailwindcss.com/docs/hue-rotate
3069
+ */
3070
+ "hue-rotate": [{ "hue-rotate": [isNumber, isArbitraryVariable, isArbitraryValue] }],
3071
+ /**
3072
+ * Invert
3073
+ * @see https://tailwindcss.com/docs/invert
3074
+ */
3075
+ invert: [{ invert: ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
3076
+ /**
3077
+ * Saturate
3078
+ * @see https://tailwindcss.com/docs/saturate
3079
+ */
3080
+ saturate: [{ saturate: [isNumber, isArbitraryVariable, isArbitraryValue] }],
3081
+ /**
3082
+ * Sepia
3083
+ * @see https://tailwindcss.com/docs/sepia
3084
+ */
3085
+ sepia: [{ sepia: ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
3086
+ /**
3087
+ * Backdrop Filter
3088
+ * @see https://tailwindcss.com/docs/backdrop-filter
3089
+ */
3090
+ "backdrop-filter": [
3091
+ {
3092
+ "backdrop-filter": [
3093
+ // Deprecated since Tailwind CSS v3.0.0
3094
+ "",
3095
+ "none",
3096
+ isArbitraryVariable,
3097
+ isArbitraryValue
3098
+ ]
3099
+ }
3100
+ ],
3101
+ /**
3102
+ * Backdrop Blur
3103
+ * @see https://tailwindcss.com/docs/backdrop-blur
3104
+ */
3105
+ "backdrop-blur": [{ "backdrop-blur": scaleBlur() }],
3106
+ /**
3107
+ * Backdrop Brightness
3108
+ * @see https://tailwindcss.com/docs/backdrop-brightness
3109
+ */
3110
+ "backdrop-brightness": [
3111
+ { "backdrop-brightness": [isNumber, isArbitraryVariable, isArbitraryValue] }
3112
+ ],
3113
+ /**
3114
+ * Backdrop Contrast
3115
+ * @see https://tailwindcss.com/docs/backdrop-contrast
3116
+ */
3117
+ "backdrop-contrast": [
3118
+ { "backdrop-contrast": [isNumber, isArbitraryVariable, isArbitraryValue] }
3119
+ ],
3120
+ /**
3121
+ * Backdrop Grayscale
3122
+ * @see https://tailwindcss.com/docs/backdrop-grayscale
3123
+ */
3124
+ "backdrop-grayscale": [
3125
+ { "backdrop-grayscale": ["", isNumber, isArbitraryVariable, isArbitraryValue] }
3126
+ ],
3127
+ /**
3128
+ * Backdrop Hue Rotate
3129
+ * @see https://tailwindcss.com/docs/backdrop-hue-rotate
3130
+ */
3131
+ "backdrop-hue-rotate": [
3132
+ { "backdrop-hue-rotate": [isNumber, isArbitraryVariable, isArbitraryValue] }
3133
+ ],
3134
+ /**
3135
+ * Backdrop Invert
3136
+ * @see https://tailwindcss.com/docs/backdrop-invert
3137
+ */
3138
+ "backdrop-invert": [
3139
+ { "backdrop-invert": ["", isNumber, isArbitraryVariable, isArbitraryValue] }
3140
+ ],
3141
+ /**
3142
+ * Backdrop Opacity
3143
+ * @see https://tailwindcss.com/docs/backdrop-opacity
3144
+ */
3145
+ "backdrop-opacity": [{ "backdrop-opacity": [isNumber, isArbitraryVariable, isArbitraryValue] }],
3146
+ /**
3147
+ * Backdrop Saturate
3148
+ * @see https://tailwindcss.com/docs/backdrop-saturate
3149
+ */
3150
+ "backdrop-saturate": [
3151
+ { "backdrop-saturate": [isNumber, isArbitraryVariable, isArbitraryValue] }
3152
+ ],
3153
+ /**
3154
+ * Backdrop Sepia
3155
+ * @see https://tailwindcss.com/docs/backdrop-sepia
3156
+ */
3157
+ "backdrop-sepia": [{ "backdrop-sepia": ["", isNumber, isArbitraryVariable, isArbitraryValue] }],
3158
+ // --------------
3159
+ // --- Tables ---
3160
+ // --------------
3161
+ /**
3162
+ * Border Collapse
3163
+ * @see https://tailwindcss.com/docs/border-collapse
3164
+ */
3165
+ "border-collapse": [{ border: ["collapse", "separate"] }],
3166
+ /**
3167
+ * Border Spacing
3168
+ * @see https://tailwindcss.com/docs/border-spacing
3169
+ */
3170
+ "border-spacing": [{ "border-spacing": scaleUnambiguousSpacing() }],
3171
+ /**
3172
+ * Border Spacing X
3173
+ * @see https://tailwindcss.com/docs/border-spacing
3174
+ */
3175
+ "border-spacing-x": [{ "border-spacing-x": scaleUnambiguousSpacing() }],
3176
+ /**
3177
+ * Border Spacing Y
3178
+ * @see https://tailwindcss.com/docs/border-spacing
3179
+ */
3180
+ "border-spacing-y": [{ "border-spacing-y": scaleUnambiguousSpacing() }],
3181
+ /**
3182
+ * Table Layout
3183
+ * @see https://tailwindcss.com/docs/table-layout
3184
+ */
3185
+ "table-layout": [{ table: ["auto", "fixed"] }],
3186
+ /**
3187
+ * Caption Side
3188
+ * @see https://tailwindcss.com/docs/caption-side
3189
+ */
3190
+ caption: [{ caption: ["top", "bottom"] }],
3191
+ // ---------------------------------
3192
+ // --- Transitions and Animation ---
3193
+ // ---------------------------------
3194
+ /**
3195
+ * Transition Property
3196
+ * @see https://tailwindcss.com/docs/transition-property
3197
+ */
3198
+ transition: [
3199
+ {
3200
+ transition: [
3201
+ "",
3202
+ "all",
3203
+ "colors",
3204
+ "opacity",
3205
+ "shadow",
3206
+ "transform",
3207
+ "none",
3208
+ isArbitraryVariable,
3209
+ isArbitraryValue
3210
+ ]
3211
+ }
3212
+ ],
3213
+ /**
3214
+ * Transition Behavior
3215
+ * @see https://tailwindcss.com/docs/transition-behavior
3216
+ */
3217
+ "transition-behavior": [{ transition: ["normal", "discrete"] }],
3218
+ /**
3219
+ * Transition Duration
3220
+ * @see https://tailwindcss.com/docs/transition-duration
3221
+ */
3222
+ duration: [{ duration: [isNumber, "initial", isArbitraryVariable, isArbitraryValue] }],
3223
+ /**
3224
+ * Transition Timing Function
3225
+ * @see https://tailwindcss.com/docs/transition-timing-function
3226
+ */
3227
+ ease: [{ ease: ["linear", "initial", themeEase, isArbitraryVariable, isArbitraryValue] }],
3228
+ /**
3229
+ * Transition Delay
3230
+ * @see https://tailwindcss.com/docs/transition-delay
3231
+ */
3232
+ delay: [{ delay: [isNumber, isArbitraryVariable, isArbitraryValue] }],
3233
+ /**
3234
+ * Animation
3235
+ * @see https://tailwindcss.com/docs/animation
3236
+ */
3237
+ animate: [{ animate: ["none", themeAnimate, isArbitraryVariable, isArbitraryValue] }],
3238
+ // ------------------
3239
+ // --- Transforms ---
3240
+ // ------------------
3241
+ /**
3242
+ * Backface Visibility
3243
+ * @see https://tailwindcss.com/docs/backface-visibility
3244
+ */
3245
+ backface: [{ backface: ["hidden", "visible"] }],
3246
+ /**
3247
+ * Perspective
3248
+ * @see https://tailwindcss.com/docs/perspective
3249
+ */
3250
+ perspective: [{ perspective: [themePerspective, isArbitraryVariable, isArbitraryValue] }],
3251
+ /**
3252
+ * Perspective Origin
3253
+ * @see https://tailwindcss.com/docs/perspective-origin
3254
+ */
3255
+ "perspective-origin": [{ "perspective-origin": scalePositionWithArbitrary() }],
3256
+ /**
3257
+ * Rotate
3258
+ * @see https://tailwindcss.com/docs/rotate
3259
+ */
3260
+ rotate: [{ rotate: scaleRotate() }],
3261
+ /**
3262
+ * Rotate X
3263
+ * @see https://tailwindcss.com/docs/rotate
3264
+ */
3265
+ "rotate-x": [{ "rotate-x": scaleRotate() }],
3266
+ /**
3267
+ * Rotate Y
3268
+ * @see https://tailwindcss.com/docs/rotate
3269
+ */
3270
+ "rotate-y": [{ "rotate-y": scaleRotate() }],
3271
+ /**
3272
+ * Rotate Z
3273
+ * @see https://tailwindcss.com/docs/rotate
3274
+ */
3275
+ "rotate-z": [{ "rotate-z": scaleRotate() }],
3276
+ /**
3277
+ * Scale
3278
+ * @see https://tailwindcss.com/docs/scale
3279
+ */
3280
+ scale: [{ scale: scaleScale() }],
3281
+ /**
3282
+ * Scale X
3283
+ * @see https://tailwindcss.com/docs/scale
3284
+ */
3285
+ "scale-x": [{ "scale-x": scaleScale() }],
3286
+ /**
3287
+ * Scale Y
3288
+ * @see https://tailwindcss.com/docs/scale
3289
+ */
3290
+ "scale-y": [{ "scale-y": scaleScale() }],
3291
+ /**
3292
+ * Scale Z
3293
+ * @see https://tailwindcss.com/docs/scale
3294
+ */
3295
+ "scale-z": [{ "scale-z": scaleScale() }],
3296
+ /**
3297
+ * Scale 3D
3298
+ * @see https://tailwindcss.com/docs/scale
3299
+ */
3300
+ "scale-3d": ["scale-3d"],
3301
+ /**
3302
+ * Skew
3303
+ * @see https://tailwindcss.com/docs/skew
3304
+ */
3305
+ skew: [{ skew: scaleSkew() }],
3306
+ /**
3307
+ * Skew X
3308
+ * @see https://tailwindcss.com/docs/skew
3309
+ */
3310
+ "skew-x": [{ "skew-x": scaleSkew() }],
3311
+ /**
3312
+ * Skew Y
3313
+ * @see https://tailwindcss.com/docs/skew
3314
+ */
3315
+ "skew-y": [{ "skew-y": scaleSkew() }],
3316
+ /**
3317
+ * Transform
3318
+ * @see https://tailwindcss.com/docs/transform
3319
+ */
3320
+ transform: [{ transform: [isArbitraryVariable, isArbitraryValue, "", "none", "gpu", "cpu"] }],
3321
+ /**
3322
+ * Transform Origin
3323
+ * @see https://tailwindcss.com/docs/transform-origin
3324
+ */
3325
+ "transform-origin": [{ origin: scalePositionWithArbitrary() }],
3326
+ /**
3327
+ * Transform Style
3328
+ * @see https://tailwindcss.com/docs/transform-style
3329
+ */
3330
+ "transform-style": [{ transform: ["3d", "flat"] }],
3331
+ /**
3332
+ * Translate
3333
+ * @see https://tailwindcss.com/docs/translate
3334
+ */
3335
+ translate: [{ translate: scaleTranslate() }],
3336
+ /**
3337
+ * Translate X
3338
+ * @see https://tailwindcss.com/docs/translate
3339
+ */
3340
+ "translate-x": [{ "translate-x": scaleTranslate() }],
3341
+ /**
3342
+ * Translate Y
3343
+ * @see https://tailwindcss.com/docs/translate
3344
+ */
3345
+ "translate-y": [{ "translate-y": scaleTranslate() }],
3346
+ /**
3347
+ * Translate Z
3348
+ * @see https://tailwindcss.com/docs/translate
3349
+ */
3350
+ "translate-z": [{ "translate-z": scaleTranslate() }],
3351
+ /**
3352
+ * Translate None
3353
+ * @see https://tailwindcss.com/docs/translate
3354
+ */
3355
+ "translate-none": ["translate-none"],
3356
+ /**
3357
+ * Zoom
3358
+ * @see https://tailwindcss.com/docs/zoom
3359
+ */
3360
+ zoom: [{ zoom: [isInteger, isArbitraryVariable, isArbitraryValue] }],
3361
+ // ---------------------
3362
+ // --- Interactivity ---
3363
+ // ---------------------
3364
+ /**
3365
+ * Accent Color
3366
+ * @see https://tailwindcss.com/docs/accent-color
3367
+ */
3368
+ accent: [{ accent: scaleColor() }],
3369
+ /**
3370
+ * Appearance
3371
+ * @see https://tailwindcss.com/docs/appearance
3372
+ */
3373
+ appearance: [{ appearance: ["none", "auto"] }],
3374
+ /**
3375
+ * Caret Color
3376
+ * @see https://tailwindcss.com/docs/just-in-time-mode#caret-color-utilities
3377
+ */
3378
+ "caret-color": [{ caret: scaleColor() }],
3379
+ /**
3380
+ * Color Scheme
3381
+ * @see https://tailwindcss.com/docs/color-scheme
3382
+ */
3383
+ "color-scheme": [
3384
+ { scheme: ["normal", "dark", "light", "light-dark", "only-dark", "only-light"] }
3385
+ ],
3386
+ /**
3387
+ * Cursor
3388
+ * @see https://tailwindcss.com/docs/cursor
3389
+ */
3390
+ cursor: [
3391
+ {
3392
+ cursor: [
3393
+ "auto",
3394
+ "default",
3395
+ "pointer",
3396
+ "wait",
3397
+ "text",
3398
+ "move",
3399
+ "help",
3400
+ "not-allowed",
3401
+ "none",
3402
+ "context-menu",
3403
+ "progress",
3404
+ "cell",
3405
+ "crosshair",
3406
+ "vertical-text",
3407
+ "alias",
3408
+ "copy",
3409
+ "no-drop",
3410
+ "grab",
3411
+ "grabbing",
3412
+ "all-scroll",
3413
+ "col-resize",
3414
+ "row-resize",
3415
+ "n-resize",
3416
+ "e-resize",
3417
+ "s-resize",
3418
+ "w-resize",
3419
+ "ne-resize",
3420
+ "nw-resize",
3421
+ "se-resize",
3422
+ "sw-resize",
3423
+ "ew-resize",
3424
+ "ns-resize",
3425
+ "nesw-resize",
3426
+ "nwse-resize",
3427
+ "zoom-in",
3428
+ "zoom-out",
3429
+ isArbitraryVariable,
3430
+ isArbitraryValue
3431
+ ]
3432
+ }
3433
+ ],
3434
+ /**
3435
+ * Field Sizing
3436
+ * @see https://tailwindcss.com/docs/field-sizing
3437
+ */
3438
+ "field-sizing": [{ "field-sizing": ["fixed", "content"] }],
3439
+ /**
3440
+ * Pointer Events
3441
+ * @see https://tailwindcss.com/docs/pointer-events
3442
+ */
3443
+ "pointer-events": [{ "pointer-events": ["auto", "none"] }],
3444
+ /**
3445
+ * Resize
3446
+ * @see https://tailwindcss.com/docs/resize
3447
+ */
3448
+ resize: [{ resize: ["none", "", "y", "x"] }],
3449
+ /**
3450
+ * Scroll Behavior
3451
+ * @see https://tailwindcss.com/docs/scroll-behavior
3452
+ */
3453
+ "scroll-behavior": [{ scroll: ["auto", "smooth"] }],
3454
+ /**
3455
+ * Scrollbar Thumb Color
3456
+ * @see https://tailwindcss.com/docs/scrollbar-color
3457
+ */
3458
+ "scrollbar-thumb-color": [{ "scrollbar-thumb": scaleColor() }],
3459
+ /**
3460
+ * Scrollbar Track Color
3461
+ * @see https://tailwindcss.com/docs/scrollbar-color
3462
+ */
3463
+ "scrollbar-track-color": [{ "scrollbar-track": scaleColor() }],
3464
+ /**
3465
+ * Scrollbar Gutter
3466
+ * @see https://tailwindcss.com/docs/scrollbar-gutter
3467
+ */
3468
+ "scrollbar-gutter": [{ "scrollbar-gutter": ["auto", "stable", "both"] }],
3469
+ /**
3470
+ * Scrollbar Width
3471
+ * @see https://tailwindcss.com/docs/scrollbar-width
3472
+ */
3473
+ "scrollbar-w": [{ scrollbar: ["auto", "thin", "none"] }],
3474
+ /**
3475
+ * Scroll Margin
3476
+ * @see https://tailwindcss.com/docs/scroll-margin
3477
+ */
3478
+ "scroll-m": [{ "scroll-m": scaleUnambiguousSpacing() }],
3479
+ /**
3480
+ * Scroll Margin Inline
3481
+ * @see https://tailwindcss.com/docs/scroll-margin
3482
+ */
3483
+ "scroll-mx": [{ "scroll-mx": scaleUnambiguousSpacing() }],
3484
+ /**
3485
+ * Scroll Margin Block
3486
+ * @see https://tailwindcss.com/docs/scroll-margin
3487
+ */
3488
+ "scroll-my": [{ "scroll-my": scaleUnambiguousSpacing() }],
3489
+ /**
3490
+ * Scroll Margin Inline Start
3491
+ * @see https://tailwindcss.com/docs/scroll-margin
3492
+ */
3493
+ "scroll-ms": [{ "scroll-ms": scaleUnambiguousSpacing() }],
3494
+ /**
3495
+ * Scroll Margin Inline End
3496
+ * @see https://tailwindcss.com/docs/scroll-margin
3497
+ */
3498
+ "scroll-me": [{ "scroll-me": scaleUnambiguousSpacing() }],
3499
+ /**
3500
+ * Scroll Margin Block Start
3501
+ * @see https://tailwindcss.com/docs/scroll-margin
3502
+ */
3503
+ "scroll-mbs": [{ "scroll-mbs": scaleUnambiguousSpacing() }],
3504
+ /**
3505
+ * Scroll Margin Block End
3506
+ * @see https://tailwindcss.com/docs/scroll-margin
3507
+ */
3508
+ "scroll-mbe": [{ "scroll-mbe": scaleUnambiguousSpacing() }],
3509
+ /**
3510
+ * Scroll Margin Top
3511
+ * @see https://tailwindcss.com/docs/scroll-margin
3512
+ */
3513
+ "scroll-mt": [{ "scroll-mt": scaleUnambiguousSpacing() }],
3514
+ /**
3515
+ * Scroll Margin Right
3516
+ * @see https://tailwindcss.com/docs/scroll-margin
3517
+ */
3518
+ "scroll-mr": [{ "scroll-mr": scaleUnambiguousSpacing() }],
3519
+ /**
3520
+ * Scroll Margin Bottom
3521
+ * @see https://tailwindcss.com/docs/scroll-margin
3522
+ */
3523
+ "scroll-mb": [{ "scroll-mb": scaleUnambiguousSpacing() }],
3524
+ /**
3525
+ * Scroll Margin Left
3526
+ * @see https://tailwindcss.com/docs/scroll-margin
3527
+ */
3528
+ "scroll-ml": [{ "scroll-ml": scaleUnambiguousSpacing() }],
3529
+ /**
3530
+ * Scroll Padding
3531
+ * @see https://tailwindcss.com/docs/scroll-padding
3532
+ */
3533
+ "scroll-p": [{ "scroll-p": scaleUnambiguousSpacing() }],
3534
+ /**
3535
+ * Scroll Padding Inline
3536
+ * @see https://tailwindcss.com/docs/scroll-padding
3537
+ */
3538
+ "scroll-px": [{ "scroll-px": scaleUnambiguousSpacing() }],
3539
+ /**
3540
+ * Scroll Padding Block
3541
+ * @see https://tailwindcss.com/docs/scroll-padding
3542
+ */
3543
+ "scroll-py": [{ "scroll-py": scaleUnambiguousSpacing() }],
3544
+ /**
3545
+ * Scroll Padding Inline Start
3546
+ * @see https://tailwindcss.com/docs/scroll-padding
3547
+ */
3548
+ "scroll-ps": [{ "scroll-ps": scaleUnambiguousSpacing() }],
3549
+ /**
3550
+ * Scroll Padding Inline End
3551
+ * @see https://tailwindcss.com/docs/scroll-padding
3552
+ */
3553
+ "scroll-pe": [{ "scroll-pe": scaleUnambiguousSpacing() }],
3554
+ /**
3555
+ * Scroll Padding Block Start
3556
+ * @see https://tailwindcss.com/docs/scroll-padding
3557
+ */
3558
+ "scroll-pbs": [{ "scroll-pbs": scaleUnambiguousSpacing() }],
3559
+ /**
3560
+ * Scroll Padding Block End
3561
+ * @see https://tailwindcss.com/docs/scroll-padding
3562
+ */
3563
+ "scroll-pbe": [{ "scroll-pbe": scaleUnambiguousSpacing() }],
3564
+ /**
3565
+ * Scroll Padding Top
3566
+ * @see https://tailwindcss.com/docs/scroll-padding
3567
+ */
3568
+ "scroll-pt": [{ "scroll-pt": scaleUnambiguousSpacing() }],
3569
+ /**
3570
+ * Scroll Padding Right
3571
+ * @see https://tailwindcss.com/docs/scroll-padding
3572
+ */
3573
+ "scroll-pr": [{ "scroll-pr": scaleUnambiguousSpacing() }],
3574
+ /**
3575
+ * Scroll Padding Bottom
3576
+ * @see https://tailwindcss.com/docs/scroll-padding
3577
+ */
3578
+ "scroll-pb": [{ "scroll-pb": scaleUnambiguousSpacing() }],
3579
+ /**
3580
+ * Scroll Padding Left
3581
+ * @see https://tailwindcss.com/docs/scroll-padding
3582
+ */
3583
+ "scroll-pl": [{ "scroll-pl": scaleUnambiguousSpacing() }],
3584
+ /**
3585
+ * Scroll Snap Align
3586
+ * @see https://tailwindcss.com/docs/scroll-snap-align
3587
+ */
3588
+ "snap-align": [{ snap: ["start", "end", "center", "align-none"] }],
3589
+ /**
3590
+ * Scroll Snap Stop
3591
+ * @see https://tailwindcss.com/docs/scroll-snap-stop
3592
+ */
3593
+ "snap-stop": [{ snap: ["normal", "always"] }],
3594
+ /**
3595
+ * Scroll Snap Type
3596
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3597
+ */
3598
+ "snap-type": [{ snap: ["none", "x", "y", "both"] }],
3599
+ /**
3600
+ * Scroll Snap Type Strictness
3601
+ * @see https://tailwindcss.com/docs/scroll-snap-type
3602
+ */
3603
+ "snap-strictness": [{ snap: ["mandatory", "proximity"] }],
3604
+ /**
3605
+ * Touch Action
3606
+ * @see https://tailwindcss.com/docs/touch-action
3607
+ */
3608
+ touch: [{ touch: ["auto", "none", "manipulation"] }],
3609
+ /**
3610
+ * Touch Action X
3611
+ * @see https://tailwindcss.com/docs/touch-action
3612
+ */
3613
+ "touch-x": [{ "touch-pan": ["x", "left", "right"] }],
3614
+ /**
3615
+ * Touch Action Y
3616
+ * @see https://tailwindcss.com/docs/touch-action
3617
+ */
3618
+ "touch-y": [{ "touch-pan": ["y", "up", "down"] }],
3619
+ /**
3620
+ * Touch Action Pinch Zoom
3621
+ * @see https://tailwindcss.com/docs/touch-action
3622
+ */
3623
+ "touch-pz": ["touch-pinch-zoom"],
3624
+ /**
3625
+ * User Select
3626
+ * @see https://tailwindcss.com/docs/user-select
3627
+ */
3628
+ select: [{ select: ["none", "text", "all", "auto"] }],
3629
+ /**
3630
+ * Will Change
3631
+ * @see https://tailwindcss.com/docs/will-change
3632
+ */
3633
+ "will-change": [
3634
+ {
3635
+ "will-change": [
3636
+ "auto",
3637
+ "scroll",
3638
+ "contents",
3639
+ "transform",
3640
+ isArbitraryVariable,
3641
+ isArbitraryValue
3642
+ ]
3643
+ }
3644
+ ],
3645
+ // -----------
3646
+ // --- SVG ---
3647
+ // -----------
3648
+ /**
3649
+ * Fill
3650
+ * @see https://tailwindcss.com/docs/fill
3651
+ */
3652
+ fill: [{ fill: ["none", ...scaleColor()] }],
3653
+ /**
3654
+ * Stroke Width
3655
+ * @see https://tailwindcss.com/docs/stroke-width
3656
+ */
3657
+ "stroke-w": [
3658
+ {
3659
+ stroke: [isNumber, isArbitraryVariableLength, isArbitraryLength, isArbitraryNumber]
3660
+ }
3661
+ ],
3662
+ /**
3663
+ * Stroke
3664
+ * @see https://tailwindcss.com/docs/stroke
3665
+ */
3666
+ stroke: [{ stroke: ["none", ...scaleColor()] }],
3667
+ // ---------------------
3668
+ // --- Accessibility ---
3669
+ // ---------------------
3670
+ /**
3671
+ * Forced Color Adjust
3672
+ * @see https://tailwindcss.com/docs/forced-color-adjust
3673
+ */
3674
+ "forced-color-adjust": [{ "forced-color-adjust": ["auto", "none"] }]
3675
+ },
3676
+ conflictingClassGroups: {
3677
+ "container-named": ["container-type"],
3678
+ overflow: ["overflow-x", "overflow-y"],
3679
+ overscroll: ["overscroll-x", "overscroll-y"],
3680
+ inset: [
3681
+ "inset-x",
3682
+ "inset-y",
3683
+ "inset-bs",
3684
+ "inset-be",
3685
+ "start",
3686
+ "end",
3687
+ "top",
3688
+ "right",
3689
+ "bottom",
3690
+ "left"
3691
+ ],
3692
+ "inset-x": ["right", "left"],
3693
+ "inset-y": ["top", "bottom"],
3694
+ flex: ["basis", "grow", "shrink"],
3695
+ gap: ["gap-x", "gap-y"],
3696
+ p: ["px", "py", "ps", "pe", "pbs", "pbe", "pt", "pr", "pb", "pl"],
3697
+ px: ["pr", "pl"],
3698
+ py: ["pt", "pb"],
3699
+ m: ["mx", "my", "ms", "me", "mbs", "mbe", "mt", "mr", "mb", "ml"],
3700
+ mx: ["mr", "ml"],
3701
+ my: ["mt", "mb"],
3702
+ size: ["w", "h"],
3703
+ "font-size": ["leading"],
3704
+ "fvn-normal": [
3705
+ "fvn-ordinal",
3706
+ "fvn-slashed-zero",
3707
+ "fvn-figure",
3708
+ "fvn-spacing",
3709
+ "fvn-fraction"
3710
+ ],
3711
+ "fvn-ordinal": ["fvn-normal"],
3712
+ "fvn-slashed-zero": ["fvn-normal"],
3713
+ "fvn-figure": ["fvn-normal"],
3714
+ "fvn-spacing": ["fvn-normal"],
3715
+ "fvn-fraction": ["fvn-normal"],
3716
+ "line-clamp": ["display", "overflow"],
3717
+ rounded: [
3718
+ "rounded-s",
3719
+ "rounded-e",
3720
+ "rounded-t",
3721
+ "rounded-r",
3722
+ "rounded-b",
3723
+ "rounded-l",
3724
+ "rounded-ss",
3725
+ "rounded-se",
3726
+ "rounded-ee",
3727
+ "rounded-es",
3728
+ "rounded-tl",
3729
+ "rounded-tr",
3730
+ "rounded-br",
3731
+ "rounded-bl"
3732
+ ],
3733
+ "rounded-s": ["rounded-ss", "rounded-es"],
3734
+ "rounded-e": ["rounded-se", "rounded-ee"],
3735
+ "rounded-t": ["rounded-tl", "rounded-tr"],
3736
+ "rounded-r": ["rounded-tr", "rounded-br"],
3737
+ "rounded-b": ["rounded-br", "rounded-bl"],
3738
+ "rounded-l": ["rounded-tl", "rounded-bl"],
3739
+ "border-spacing": ["border-spacing-x", "border-spacing-y"],
3740
+ "border-w": [
3741
+ "border-w-x",
3742
+ "border-w-y",
3743
+ "border-w-s",
3744
+ "border-w-e",
3745
+ "border-w-bs",
3746
+ "border-w-be",
3747
+ "border-w-t",
3748
+ "border-w-r",
3749
+ "border-w-b",
3750
+ "border-w-l"
3751
+ ],
3752
+ "border-w-x": ["border-w-r", "border-w-l"],
3753
+ "border-w-y": ["border-w-t", "border-w-b"],
3754
+ "border-color": [
3755
+ "border-color-x",
3756
+ "border-color-y",
3757
+ "border-color-s",
3758
+ "border-color-e",
3759
+ "border-color-bs",
3760
+ "border-color-be",
3761
+ "border-color-t",
3762
+ "border-color-r",
3763
+ "border-color-b",
3764
+ "border-color-l"
3765
+ ],
3766
+ "border-color-x": ["border-color-r", "border-color-l"],
3767
+ "border-color-y": ["border-color-t", "border-color-b"],
3768
+ translate: ["translate-x", "translate-y", "translate-none"],
3769
+ "translate-none": ["translate", "translate-x", "translate-y", "translate-z"],
3770
+ "scroll-m": [
3771
+ "scroll-mx",
3772
+ "scroll-my",
3773
+ "scroll-ms",
3774
+ "scroll-me",
3775
+ "scroll-mbs",
3776
+ "scroll-mbe",
3777
+ "scroll-mt",
3778
+ "scroll-mr",
3779
+ "scroll-mb",
3780
+ "scroll-ml"
3781
+ ],
3782
+ "scroll-mx": ["scroll-mr", "scroll-ml"],
3783
+ "scroll-my": ["scroll-mt", "scroll-mb"],
3784
+ "scroll-p": [
3785
+ "scroll-px",
3786
+ "scroll-py",
3787
+ "scroll-ps",
3788
+ "scroll-pe",
3789
+ "scroll-pbs",
3790
+ "scroll-pbe",
3791
+ "scroll-pt",
3792
+ "scroll-pr",
3793
+ "scroll-pb",
3794
+ "scroll-pl"
3795
+ ],
3796
+ "scroll-px": ["scroll-pr", "scroll-pl"],
3797
+ "scroll-py": ["scroll-pt", "scroll-pb"],
3798
+ touch: ["touch-x", "touch-y", "touch-pz"],
3799
+ "touch-x": ["touch"],
3800
+ "touch-y": ["touch"],
3801
+ "touch-pz": ["touch"]
3802
+ },
3803
+ conflictingClassGroupModifiers: {
3804
+ "font-size": ["leading"]
3805
+ },
3806
+ postfixLookupClassGroups: ["container-type"],
3807
+ orderSensitiveModifiers: [
3808
+ "*",
3809
+ "**",
3810
+ "after",
3811
+ "backdrop",
3812
+ "before",
3813
+ "details-content",
3814
+ "file",
3815
+ "first-letter",
3816
+ "first-line",
3817
+ "marker",
3818
+ "placeholder",
3819
+ "selection"
3820
+ ]
3821
+ };
3822
+ };
3823
+
3824
+ // src/internal/merge/merge-configs.ts
3825
+ var mergeConfigs = (baseConfig, { extend = {}, override = {} }) => {
3826
+ overrideConfigProperties(baseConfig.theme, override.theme);
3827
+ overrideConfigProperties(baseConfig.classGroups, override.classGroups);
3828
+ overrideConfigProperties(baseConfig.conflictingClassGroups, override.conflictingClassGroups);
3829
+ overrideConfigProperties(
3830
+ baseConfig.conflictingClassGroupModifiers,
3831
+ override.conflictingClassGroupModifiers
3832
+ );
3833
+ overrideProperty(baseConfig, "postfixLookupClassGroups", override.postfixLookupClassGroups);
3834
+ overrideProperty(baseConfig, "orderSensitiveModifiers", override.orderSensitiveModifiers);
3835
+ mergeConfigProperties(baseConfig.theme, extend.theme);
3836
+ mergeConfigProperties(baseConfig.classGroups, extend.classGroups);
3837
+ mergeConfigProperties(baseConfig.conflictingClassGroups, extend.conflictingClassGroups);
3838
+ mergeConfigProperties(
3839
+ baseConfig.conflictingClassGroupModifiers,
3840
+ extend.conflictingClassGroupModifiers
3841
+ );
3842
+ mergeArrayProperties(baseConfig, extend, "postfixLookupClassGroups");
3843
+ mergeArrayProperties(baseConfig, extend, "orderSensitiveModifiers");
3844
+ return baseConfig;
3845
+ };
3846
+ var overrideProperty = (baseObject, overrideKey, overrideValue) => {
3847
+ if (overrideValue !== void 0) {
3848
+ baseObject[overrideKey] = overrideValue;
3849
+ }
3850
+ };
3851
+ var overrideConfigProperties = (baseObject, overrideObject) => {
3852
+ if (overrideObject) {
3853
+ for (const key in overrideObject) {
3854
+ overrideProperty(baseObject, key, overrideObject[key]);
3855
+ }
3856
+ }
3857
+ };
3858
+ var mergeConfigProperties = (baseObject, mergeObject) => {
3859
+ if (mergeObject) {
3860
+ for (const key in mergeObject) {
3861
+ mergeArrayProperties(baseObject, mergeObject, key);
3862
+ }
3863
+ }
3864
+ };
3865
+ var mergeArrayProperties = (baseObject, mergeObject, key) => {
3866
+ const mergeValue = mergeObject[key];
3867
+ if (mergeValue !== void 0) {
3868
+ baseObject[key] = baseObject[key] ? baseObject[key].concat(mergeValue) : mergeValue;
3869
+ }
3870
+ };
3871
+
3872
+ // src/internal/merge/index.ts
3873
+ var createMerger = (config) => {
3874
+ if (!config) {
3875
+ return createTailwindMerge(getDefaultConfig);
3876
+ }
3877
+ const createConfig = typeof config === "function" ? () => config(getDefaultConfig()) : () => mergeConfigs(getDefaultConfig(), config);
3878
+ return createTailwindMerge(createConfig);
3879
+ };
3880
+
3881
+ // src/internal/tw-merge.ts
3882
+ var toMergerConfig = (config) => {
3883
+ if (isEmptyObject(config)) return void 0;
3884
+ const source = config;
3885
+ const extend = {
3886
+ ...source.extend ?? {}
3887
+ };
3888
+ for (const key of [
3889
+ "theme",
3890
+ "classGroups",
3891
+ "conflictingClassGroups",
3892
+ "conflictingClassGroupModifiers",
3893
+ "postfixLookupClassGroups",
3894
+ "orderSensitiveModifiers",
3895
+ "cacheSize",
3896
+ "prefix",
3897
+ "separator",
3898
+ "experimentalParseClassName"
3899
+ ]) {
3900
+ if (source[key] !== void 0 && extend[key] === void 0) {
3901
+ extend[key] = source[key];
3902
+ }
3903
+ }
3904
+ const result = {};
3905
+ if (Object.keys(extend).length > 0) {
3906
+ result.extend = extend;
3907
+ }
3908
+ if (source.override != null && !isEmptyObject(source.override)) {
3909
+ result.override = source.override;
3910
+ }
3911
+ if (!result.extend && !result.override) return void 0;
3912
+ return result;
3913
+ };
3914
+ var createTwMerge = (cachedTwMergeConfig) => {
3915
+ const extension = toMergerConfig(cachedTwMergeConfig);
3916
+ const merger = createMerger(extension);
3917
+ return (classList) => merger.mergeString(classList);
3918
+ };
3919
+ var defaultMerger;
3920
+ var getDefaultMerger = () => {
3921
+ if (!defaultMerger) defaultMerger = createMerger();
3922
+ return defaultMerger;
3923
+ };
3924
+ var ensureConfiguredMerger = () => {
3925
+ if (!state.cachedTwMerge || state.didTwMergeConfigChange) {
3926
+ state.didTwMergeConfigChange = false;
3927
+ state.cachedTwMerge = createTwMerge(state.cachedTwMergeConfig);
3928
+ }
3929
+ return state.cachedTwMerge;
3930
+ };
3931
+ var syncTwMergeConfig = (config) => {
3932
+ const next = config == null ? void 0 : config.twMergeConfig;
3933
+ if (!next || isEmptyObject(next)) return;
3934
+ if (!isEqual(next, state.cachedTwMergeConfig)) {
3935
+ state.cachedTwMergeConfig = next;
3936
+ state.didTwMergeConfigChange = true;
3937
+ }
3938
+ };
3939
+ var joinArgs = (classnames) => joinClassValue(classnames);
3940
+ var originalStateReset = state.reset.bind(state);
3941
+ state.reset = () => {
3942
+ defaultMerger = void 0;
3943
+ originalStateReset();
3944
+ };
3945
+ var executeMerge = (classnames, config) => {
3946
+ const base = joinArgs(classnames);
3947
+ if (!base || !((config == null ? void 0 : config.twMerge) ?? true)) return base || void 0;
3948
+ if (base.indexOf(" ") === -1) return base;
3949
+ syncTwMergeConfig(config);
3950
+ const hasCustomConfig = Boolean((config == null ? void 0 : config.twMergeConfig) && !isEmptyObject(config.twMergeConfig));
3951
+ const merge = hasCustomConfig ? ensureConfiguredMerger() : getDefaultMerger().mergeString;
3952
+ return merge(base) || void 0;
3953
+ };
3954
+ var cnAdapter = (config, ...classnames) => executeMerge(classnames, config);
3955
+
3956
+ // src/index.ts
3957
+ var runtime = getTailwindVariants(cnAdapter);
3958
+ var tv = runtime.tv;
3959
+
3960
+ //#region src/lib/components/ui/input/input.svelte
3961
+ function Input($$renderer, $$props) {
3962
+ $$renderer.component(($$renderer) => {
3963
+ let { ref = null, value = void 0, type, files = void 0, class: className, "data-slot": dataSlot = "input", $$slots, $$events, ...restProps } = $$props;
3964
+ if (type === "file") $$renderer.push(`<!--[0--><input${attributes({
3965
+ "data-slot": dataSlot,
3966
+ class: clsx(cn("h-9 w-full min-w-0 rounded-3xl border border-transparent bg-input/50 px-3 py-1 text-base transition-[color,box-shadow,background-color] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className)),
3967
+ type: "file",
3968
+ ...restProps
3969
+ }, void 0, void 0, void 0, 4)}/>`);
3970
+ else $$renderer.push(`<!--[-1--><input${attributes({
3971
+ "data-slot": dataSlot,
3972
+ class: clsx(cn("h-9 w-full min-w-0 rounded-3xl border border-transparent bg-input/50 px-3 py-1 text-base transition-[color,box-shadow,background-color] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/30 disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 md:text-sm dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40", className)),
3973
+ type,
3974
+ value,
3975
+ ...restProps
3976
+ }, void 0, void 0, void 0, 4)}/>`);
3977
+ $$renderer.push(`<!--]-->`);
3978
+ bind_props($$props, {
3979
+ ref,
3980
+ value,
3981
+ files
3982
+ });
3983
+ });
3984
+ }
3985
+ //#endregion
3986
+ //#region src/lib/components/ui/button/button.svelte
3987
+ var buttonVariants = tv({
3988
+ base: "focus-visible:border-ring focus-visible:ring-ring/30 aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive dark:aria-invalid:border-destructive/50 rounded-4xl border border-transparent bg-clip-padding text-sm font-medium focus-visible:ring-3 aria-invalid:ring-3 active:not-aria-[haspopup]:translate-y-px [&_svg:not([class*='size-'])]:size-4 group/button inline-flex shrink-0 items-center justify-center whitespace-nowrap transition-all outline-none select-none disabled:pointer-events-none disabled:opacity-50 [&_svg]:pointer-events-none [&_svg]:shrink-0",
3989
+ variants: {
3990
+ variant: {
3991
+ default: "bg-primary text-primary-foreground hover:bg-primary/80",
3992
+ outline: "border-border bg-background dark:bg-transparent hover:bg-muted hover:text-foreground dark:hover:bg-input/30 aria-expanded:bg-muted aria-expanded:text-foreground",
3993
+ secondary: "bg-secondary text-secondary-foreground hover:bg-[color-mix(in_oklch,var(--secondary),var(--foreground)_5%)] aria-expanded:bg-secondary aria-expanded:text-secondary-foreground",
3994
+ ghost: "hover:bg-muted hover:text-foreground dark:hover:bg-muted/50 aria-expanded:bg-muted aria-expanded:text-foreground",
3995
+ destructive: "bg-destructive/10 hover:bg-destructive/20 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/20 text-destructive focus-visible:border-destructive/40 dark:hover:bg-destructive/30",
3996
+ link: "text-primary underline-offset-4 hover:underline"
3997
+ },
3998
+ size: {
3999
+ default: "h-9 gap-1.5 px-3 has-data-[icon=inline-end]:pr-2.5 has-data-[icon=inline-start]:pl-2.5",
4000
+ xs: "h-6 gap-1 px-2.5 text-xs has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2 [&_svg:not([class*='size-'])]:size-3",
4001
+ sm: "h-8 gap-1 px-3 has-data-[icon=inline-end]:pr-2 has-data-[icon=inline-start]:pl-2",
4002
+ lg: "h-10 gap-1.5 px-4 has-data-[icon=inline-end]:pr-3 has-data-[icon=inline-start]:pl-3",
4003
+ icon: "size-9",
4004
+ "icon-xs": "size-6 [&_svg:not([class*='size-'])]:size-3",
4005
+ "icon-sm": "size-8",
4006
+ "icon-lg": "size-10"
4007
+ }
4008
+ },
4009
+ defaultVariants: {
4010
+ variant: "default",
4011
+ size: "default"
4012
+ }
4013
+ });
4014
+ function Button($$renderer, $$props) {
4015
+ $$renderer.component(($$renderer) => {
4016
+ let { class: className, variant = "default", size = "default", ref = null, href = void 0, type = "button", disabled, children, $$slots, $$events, ...restProps } = $$props;
4017
+ if (href) {
4018
+ $$renderer.push(`<!--[0--><a${attributes({
4019
+ "data-slot": "button",
4020
+ class: clsx(cn(buttonVariants({
4021
+ variant,
4022
+ size
4023
+ }), className)),
4024
+ href: disabled ? void 0 : href,
4025
+ "aria-disabled": disabled,
4026
+ role: disabled ? "link" : void 0,
4027
+ tabindex: disabled ? -1 : void 0,
4028
+ ...restProps
4029
+ })}>`);
4030
+ children?.($$renderer);
4031
+ $$renderer.push(`<!----></a>`);
4032
+ } else {
4033
+ $$renderer.push(`<!--[-1--><button${attributes({
4034
+ "data-slot": "button",
4035
+ class: clsx(cn(buttonVariants({
4036
+ variant,
4037
+ size
4038
+ }), className)),
4039
+ type,
4040
+ disabled,
4041
+ ...restProps
4042
+ })}>`);
4043
+ children?.($$renderer);
4044
+ $$renderer.push(`<!----></button>`);
4045
+ }
4046
+ $$renderer.push(`<!--]-->`);
4047
+ bind_props($$props, { ref });
4048
+ });
4049
+ }
4050
+
4051
+ export { Button as B, Input as I, buttonVariants as b, tv as t };
4052
+ //# sourceMappingURL=forms.js-TIFaBiDZ.js.map