@dub/ui 0.0.66 → 0.0.68

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 (442) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/badge.mjs +1 -1
  4. package/dist/blur-image.mjs +1 -1
  5. package/dist/button.mjs +1 -1
  6. package/dist/checkbox.mjs +1 -1
  7. package/dist/chunk-232HXPP3.mjs +2 -0
  8. package/dist/chunk-24QXDHCK.mjs +2 -0
  9. package/dist/chunk-26J53YVS.mjs +2 -0
  10. package/dist/chunk-2DFRUWGF.mjs +2 -0
  11. package/dist/chunk-2EXGV3J2.mjs +2 -0
  12. package/dist/chunk-2JOOBOPR.mjs +2 -0
  13. package/dist/chunk-2NNRCKUC.mjs +2 -0
  14. package/dist/chunk-2SKTPMWO.mjs +2 -0
  15. package/dist/chunk-2T4P2RTG.mjs +2 -0
  16. package/dist/chunk-2UJLLNQM.mjs +2 -0
  17. package/dist/chunk-362AC63Z.mjs +2 -0
  18. package/dist/chunk-37HPECZU.mjs +2 -0
  19. package/dist/chunk-3APPDFR2.mjs +2 -0
  20. package/dist/chunk-3BZGQKUA.mjs +2 -0
  21. package/dist/chunk-3GCHVZ56.mjs +2 -0
  22. package/dist/chunk-3HBZNPJK.mjs +2 -0
  23. package/dist/chunk-3HRPDIKY.mjs +2 -0
  24. package/dist/chunk-3IB2VUTI.mjs +2 -0
  25. package/dist/chunk-3ITXDEIV.mjs +2 -0
  26. package/dist/chunk-3OWPN2KN.mjs +2 -0
  27. package/dist/chunk-3UIFF4U5.mjs +2 -0
  28. package/dist/chunk-3WTEFXRB.mjs +2 -0
  29. package/dist/chunk-3YQZ56SL.mjs +2 -0
  30. package/dist/chunk-44MN7VR4.mjs +2 -0
  31. package/dist/chunk-45FJJH4J.mjs +2 -0
  32. package/dist/chunk-45HTWHEN.mjs +2 -0
  33. package/dist/chunk-4A3EW5QR.mjs +2 -0
  34. package/dist/chunk-4EUAULFK.mjs +2 -0
  35. package/dist/chunk-4G2TILHM.mjs +2 -0
  36. package/dist/chunk-4HNQ6IMH.mjs +2 -0
  37. package/dist/chunk-4MKQ5IF7.mjs +2 -0
  38. package/dist/chunk-4RNUTOLS.mjs +2 -0
  39. package/dist/chunk-4U54WOYB.mjs +2 -0
  40. package/dist/chunk-4XVZFUVU.mjs +2 -0
  41. package/dist/chunk-52TL27EL.mjs +2 -0
  42. package/dist/chunk-5DEJNPL5.mjs +2 -0
  43. package/dist/chunk-5FE4VRBM.mjs +2 -0
  44. package/dist/chunk-5FO7C6WZ.mjs +2 -0
  45. package/dist/chunk-5GVV4XX2.mjs +2 -0
  46. package/dist/chunk-5HAH3XZZ.mjs +2 -0
  47. package/dist/chunk-5KPZB3DJ.mjs +2 -0
  48. package/dist/chunk-5M347SS6.mjs +2 -0
  49. package/dist/chunk-5MFP74OF.mjs +2 -0
  50. package/dist/chunk-5N6O27OW.mjs +2 -0
  51. package/dist/chunk-5O5ZBIFI.mjs +2 -0
  52. package/dist/chunk-5PX4RX4A.mjs +2 -0
  53. package/dist/chunk-5R3WLK6L.mjs +2 -0
  54. package/dist/chunk-5R6KOKUQ.mjs +2 -0
  55. package/dist/chunk-5S7XH5MK.mjs +2 -0
  56. package/dist/chunk-5SLEV2HP.mjs +2 -0
  57. package/dist/chunk-5UIDRXT2.mjs +2 -0
  58. package/dist/chunk-5WO6B7ND.mjs +2 -0
  59. package/dist/chunk-5YTRGSCN.mjs +2 -0
  60. package/dist/chunk-6H6UUCFR.mjs +2 -0
  61. package/dist/chunk-6I45TSHD.mjs +2 -0
  62. package/dist/chunk-6JPJUTVN.mjs +2 -0
  63. package/dist/chunk-6KUF6LET.mjs +2 -0
  64. package/dist/chunk-6LQMN2GH.mjs +2 -0
  65. package/dist/chunk-6NW7ZDQR.mjs +2 -0
  66. package/dist/chunk-6PANL3UH.mjs +2 -0
  67. package/dist/chunk-6QUQAFHS.mjs +2 -0
  68. package/dist/chunk-7BKOZLD4.mjs +2 -0
  69. package/dist/chunk-7DNMO6VD.mjs +2 -0
  70. package/dist/chunk-7E2WYROV.mjs +2 -0
  71. package/dist/chunk-7MBBDTHJ.mjs +2 -0
  72. package/dist/chunk-7MSGFCQF.mjs +2 -0
  73. package/dist/chunk-7O2SBHJS.mjs +2 -0
  74. package/dist/chunk-7OUCLCUG.mjs +2 -0
  75. package/dist/chunk-7QEYCXF7.mjs +2 -0
  76. package/dist/chunk-7ROGEYYA.mjs +2 -0
  77. package/dist/chunk-7SJ6QOA5.mjs +2 -0
  78. package/dist/chunk-7TZR5AC3.mjs +2 -0
  79. package/dist/chunk-7UNEYQZ5.mjs +2 -0
  80. package/dist/chunk-7W6XU6G4.mjs +2 -0
  81. package/dist/chunk-7XHOMVCT.mjs +2 -0
  82. package/dist/chunk-AEHVRNY6.mjs +2 -0
  83. package/dist/chunk-AG77VCJL.mjs +2 -0
  84. package/dist/chunk-AHT7QJE4.mjs +2 -0
  85. package/dist/chunk-AKF2XHAQ.mjs +2 -0
  86. package/dist/chunk-AKZGL6KB.mjs +2 -0
  87. package/dist/chunk-AWTYAWC3.mjs +2 -0
  88. package/dist/chunk-AZJIJYEN.mjs +2 -0
  89. package/dist/chunk-AZYRU4EY.mjs +2 -0
  90. package/dist/chunk-B35D25VS.mjs +2 -0
  91. package/dist/chunk-B3MUXAF4.mjs +2 -0
  92. package/dist/chunk-B7O5JKR3.mjs +2 -0
  93. package/dist/chunk-BAD52GZ6.mjs +2 -0
  94. package/dist/chunk-BC4B7UW5.mjs +2 -0
  95. package/dist/chunk-BGWFBDYQ.mjs +2 -0
  96. package/dist/chunk-BJCBSPZ7.mjs +2 -0
  97. package/dist/chunk-BKZ6TNZC.mjs +2 -0
  98. package/dist/chunk-BLENC7VU.mjs +2 -0
  99. package/dist/chunk-BMOHOVSP.mjs +2 -0
  100. package/dist/chunk-BNXUBRTG.mjs +2 -0
  101. package/dist/chunk-BPLJP4EP.mjs +2 -0
  102. package/dist/chunk-BPRKP5AH.mjs +2 -0
  103. package/dist/chunk-BSDQU3Y3.mjs +2 -0
  104. package/dist/chunk-BXQSL4HM.mjs +2 -0
  105. package/dist/chunk-C3HA6E7J.mjs +2 -0
  106. package/dist/chunk-C46ZBN4J.mjs +2 -0
  107. package/dist/chunk-C5WJDXSB.mjs +2 -0
  108. package/dist/chunk-C7H2F3EH.mjs +2 -0
  109. package/dist/chunk-CBGBFMXE.mjs +2 -0
  110. package/dist/chunk-CGVRZPLT.mjs +2 -0
  111. package/dist/chunk-CHBCKUWP.mjs +2 -0
  112. package/dist/chunk-CHQ4NQV4.mjs +2 -0
  113. package/dist/chunk-CKHP3G4P.mjs +2 -0
  114. package/dist/chunk-CMUNKPZ4.mjs +2 -0
  115. package/dist/chunk-CQLDMM6D.mjs +2 -0
  116. package/dist/chunk-CSQU4644.mjs +2 -0
  117. package/dist/chunk-CTXMNWZZ.mjs +2 -0
  118. package/dist/chunk-CUJPJTNS.mjs +2 -0
  119. package/dist/chunk-CV73ONT2.mjs +2 -0
  120. package/dist/chunk-CYOZWOBS.mjs +2 -0
  121. package/dist/chunk-D3KARNT4.mjs +2 -0
  122. package/dist/chunk-D6C2R3PV.mjs +2 -0
  123. package/dist/chunk-DAECNTLG.mjs +2 -0
  124. package/dist/chunk-DCIJ2V6T.mjs +2 -0
  125. package/dist/chunk-DD7OAS4V.mjs +2 -0
  126. package/dist/chunk-DFU5IQOJ.mjs +2 -0
  127. package/dist/chunk-DIWLOM6U.mjs +2 -0
  128. package/dist/chunk-DLKF66V2.mjs +2 -0
  129. package/dist/chunk-DPU5GRFM.mjs +2 -0
  130. package/dist/chunk-DR7W2VMM.mjs +2 -0
  131. package/dist/chunk-DT67WCKW.mjs +2 -0
  132. package/dist/chunk-DTUVAR2N.mjs +2 -0
  133. package/dist/chunk-DVQ3JEHT.mjs +2 -0
  134. package/dist/chunk-E2FWPIGM.mjs +2 -0
  135. package/dist/chunk-E4NEY6UP.mjs +2 -0
  136. package/dist/chunk-E4V3DLTP.mjs +2 -0
  137. package/dist/chunk-E6BHPTRU.mjs +2 -0
  138. package/dist/chunk-E7UBGWPZ.mjs +2 -0
  139. package/dist/chunk-EAIE4P6X.mjs +2 -0
  140. package/dist/chunk-ECFW5TOC.mjs +2 -0
  141. package/dist/chunk-EDBQZ5L7.mjs +2 -0
  142. package/dist/chunk-EEKGMFDU.mjs +2 -0
  143. package/dist/chunk-EF6A7BCS.mjs +2 -0
  144. package/dist/chunk-EFEBCL6W.mjs +2 -0
  145. package/dist/chunk-EPXHYUDS.mjs +2 -0
  146. package/dist/chunk-EVVXYUA2.mjs +2 -0
  147. package/dist/chunk-EWCCEA44.mjs +2 -0
  148. package/dist/chunk-EXDTCJRS.mjs +2 -0
  149. package/dist/chunk-EXGHGRUN.mjs +2 -0
  150. package/dist/chunk-EY6V6LL5.mjs +2 -0
  151. package/dist/chunk-F2T42G2L.mjs +2 -0
  152. package/dist/chunk-F447HVDW.mjs +2 -0
  153. package/dist/chunk-F6BFOESH.mjs +2 -0
  154. package/dist/chunk-F6NNTWNN.mjs +2 -0
  155. package/dist/chunk-F6OZB7RY.mjs +2 -0
  156. package/dist/chunk-F7MWR4SP.mjs +2 -0
  157. package/dist/chunk-FAZEWGRQ.mjs +2 -0
  158. package/dist/chunk-FEMJCU6D.mjs +2 -0
  159. package/dist/chunk-FFAAFQG4.mjs +2 -0
  160. package/dist/chunk-FQUHVMFY.mjs +2 -0
  161. package/dist/chunk-G56ZTIRH.mjs +2 -0
  162. package/dist/chunk-G7CPPWFM.mjs +2 -0
  163. package/dist/chunk-GDI5HP7O.mjs +2 -0
  164. package/dist/chunk-GEDEKFGK.mjs +2 -0
  165. package/dist/chunk-GEURKOWD.mjs +2 -0
  166. package/dist/chunk-GFFR3J6T.mjs +2 -0
  167. package/dist/chunk-GFPUO2GY.mjs +2 -0
  168. package/dist/chunk-GGX4ROZ3.mjs +2 -0
  169. package/dist/chunk-GHNIIKGJ.mjs +2 -0
  170. package/dist/chunk-GIWLI3MI.mjs +2 -0
  171. package/dist/chunk-GLQN4MVQ.mjs +2 -0
  172. package/dist/chunk-GOH3GZ6V.mjs +2 -0
  173. package/dist/chunk-GOPAL7H4.mjs +2 -0
  174. package/dist/chunk-GQNQUOWS.mjs +2 -0
  175. package/dist/chunk-GSCAAZYN.mjs +2 -0
  176. package/dist/chunk-GUINXY2R.mjs +2 -0
  177. package/dist/chunk-GZHEBS66.mjs +2 -0
  178. package/dist/chunk-H2FRIXPW.mjs +2 -0
  179. package/dist/chunk-H35ZC6SA.mjs +2 -0
  180. package/dist/chunk-H57PD4UP.mjs +2 -0
  181. package/dist/chunk-H6M2QGE4.mjs +2 -0
  182. package/dist/chunk-HDYU7D6U.mjs +2 -0
  183. package/dist/chunk-HFTBFRMG.mjs +2 -0
  184. package/dist/chunk-HGSWLWQC.mjs +2 -0
  185. package/dist/chunk-HHOYGXQD.mjs +2 -0
  186. package/dist/chunk-HJV2M6YA.mjs +2 -0
  187. package/dist/chunk-HN72WSGM.mjs +2 -0
  188. package/dist/chunk-HPH66GLK.mjs +2 -0
  189. package/dist/chunk-HQM36NO7.mjs +2 -0
  190. package/dist/chunk-HQQSGHLM.mjs +2 -0
  191. package/dist/chunk-HXU7NAWN.mjs +2 -0
  192. package/dist/chunk-I32AKYNJ.mjs +2 -0
  193. package/dist/chunk-I3FJ2PG3.mjs +2 -0
  194. package/dist/chunk-I7P4G2W3.mjs +2 -0
  195. package/dist/chunk-IF4F3CNF.mjs +2 -0
  196. package/dist/chunk-IM6W6ONB.mjs +2 -0
  197. package/dist/chunk-IO6FRES3.mjs +2 -0
  198. package/dist/chunk-IOYOK5I4.mjs +2 -0
  199. package/dist/chunk-IPCV5X44.mjs +2 -0
  200. package/dist/chunk-IWVX3QMZ.mjs +2 -0
  201. package/dist/chunk-IZLFFIBM.mjs +2 -0
  202. package/dist/chunk-IZLVPKMY.mjs +2 -0
  203. package/dist/chunk-J6XIGCG6.mjs +2 -0
  204. package/dist/chunk-JDCUU7AP.mjs +2 -0
  205. package/dist/chunk-JDJQI6SZ.mjs +2 -0
  206. package/dist/chunk-JE2KQF6U.mjs +2 -0
  207. package/dist/chunk-JI5YYQMH.mjs +2 -0
  208. package/dist/chunk-JJBESTS3.mjs +2 -0
  209. package/dist/chunk-JORXLTS5.mjs +2 -0
  210. package/dist/chunk-JTMPUMJU.mjs +2 -0
  211. package/dist/chunk-K5ZCEOWU.mjs +2 -0
  212. package/dist/chunk-K72BEU4H.mjs +2 -0
  213. package/dist/chunk-KDDKD54Y.mjs +2 -0
  214. package/dist/chunk-KHHND6FG.mjs +2 -0
  215. package/dist/chunk-KLRDG5CN.mjs +2 -0
  216. package/dist/chunk-KMG7MYRB.mjs +2 -0
  217. package/dist/chunk-KQE74BRI.mjs +2 -0
  218. package/dist/chunk-KUGBFGUE.mjs +2 -0
  219. package/dist/chunk-KZ4XCOWS.mjs +2 -0
  220. package/dist/chunk-L3SXMB7S.mjs +2 -0
  221. package/dist/chunk-L6HYGORS.mjs +2 -0
  222. package/dist/chunk-LBFO6H66.mjs +2 -0
  223. package/dist/chunk-LCUSLRLF.mjs +2 -0
  224. package/dist/chunk-LKPEKHZQ.mjs +2 -0
  225. package/dist/chunk-LLJ3JOSN.mjs +2 -0
  226. package/dist/chunk-LNFELTSH.mjs +2 -0
  227. package/dist/chunk-LRTVU3N4.mjs +2 -0
  228. package/dist/chunk-LTMTMJJ4.mjs +2 -0
  229. package/dist/chunk-M2IA5I3G.mjs +2 -0
  230. package/dist/chunk-M2KO7HLU.mjs +2 -0
  231. package/dist/chunk-M2Z4PVZJ.mjs +2 -0
  232. package/dist/chunk-M6EJA3RY.mjs +2 -0
  233. package/dist/chunk-MD3A7DMI.mjs +2 -0
  234. package/dist/chunk-ME7DNSSY.mjs +2 -0
  235. package/dist/chunk-MGPBTLW3.mjs +2 -0
  236. package/dist/chunk-MHOHGGQJ.mjs +2 -0
  237. package/dist/chunk-MHOLVWHE.mjs +2 -0
  238. package/dist/chunk-MILWQNLH.mjs +2 -0
  239. package/dist/chunk-MJ6U6UHW.mjs +2 -0
  240. package/dist/chunk-MKSDGVG7.mjs +2 -0
  241. package/dist/chunk-MNC5FD55.mjs +2 -0
  242. package/dist/chunk-MNP4NSDI.mjs +2 -0
  243. package/dist/chunk-MO6BQLSQ.mjs +2 -0
  244. package/dist/chunk-MZBNQ2SR.mjs +2 -0
  245. package/dist/chunk-MZN5WZHJ.mjs +2 -0
  246. package/dist/chunk-N2DQOG7I.mjs +2 -0
  247. package/dist/chunk-NGTJRJBG.mjs +2 -0
  248. package/dist/chunk-NGYAXUHM.mjs +2 -0
  249. package/dist/chunk-NI5WIBB7.mjs +2 -0
  250. package/dist/chunk-NIVS3AUU.mjs +2 -0
  251. package/dist/chunk-NKT6DDLU.mjs +2 -0
  252. package/dist/chunk-NN37XN6D.mjs +2 -0
  253. package/dist/chunk-NRPXZN45.mjs +2 -0
  254. package/dist/chunk-NSZGTR5X.mjs +2 -0
  255. package/dist/chunk-NY3CZUG3.mjs +2 -0
  256. package/dist/chunk-NYLCHVCA.mjs +2 -0
  257. package/dist/chunk-NZ4YZNW3.mjs +2 -0
  258. package/dist/chunk-O6UXOVDP.mjs +2 -0
  259. package/dist/chunk-OBFL67HX.mjs +2 -0
  260. package/dist/chunk-OBHO663J.mjs +2 -0
  261. package/dist/chunk-OFXCS3UW.mjs +2 -0
  262. package/dist/chunk-OJXJASF6.mjs +2 -0
  263. package/dist/chunk-OMVXOM2P.mjs +2 -0
  264. package/dist/chunk-OS4KKPRT.mjs +2 -0
  265. package/dist/chunk-OUQSX7XF.mjs +2 -0
  266. package/dist/chunk-OUVINDUP.mjs +2 -0
  267. package/dist/chunk-OUX77HRL.mjs +2 -0
  268. package/dist/chunk-OWVU5RM2.mjs +2 -0
  269. package/dist/chunk-OYPZMDIZ.mjs +2 -0
  270. package/dist/chunk-P2XOTSTF.mjs +2 -0
  271. package/dist/chunk-P33DJUUM.mjs +2 -0
  272. package/dist/chunk-P4TFOJ3A.mjs +2 -0
  273. package/dist/chunk-P6BBRHL7.mjs +2 -0
  274. package/dist/chunk-PAONN3QI.mjs +2 -0
  275. package/dist/chunk-PEPZMK67.mjs +2 -0
  276. package/dist/chunk-PGDK6GGN.mjs +2 -0
  277. package/dist/chunk-PL35W4UT.mjs +2 -0
  278. package/dist/chunk-PMEPIUAW.mjs +2 -0
  279. package/dist/chunk-POOLHDEL.mjs +2 -0
  280. package/dist/chunk-PS66FLBZ.mjs +2 -0
  281. package/dist/chunk-PSF5JIXO.mjs +2 -0
  282. package/dist/chunk-PTYOIEPG.mjs +2 -0
  283. package/dist/chunk-PUEJHVYL.mjs +2 -0
  284. package/dist/chunk-PVHW5N5V.mjs +2 -0
  285. package/dist/chunk-PWN5JGPL.mjs +2 -0
  286. package/dist/chunk-QB4TNRRH.mjs +2 -0
  287. package/dist/chunk-QBP5SUVT.mjs +2 -0
  288. package/dist/chunk-QOYSPXJP.mjs +2 -0
  289. package/dist/chunk-QPNC2NUI.mjs +2 -0
  290. package/dist/chunk-QX4XCAIC.mjs +2 -0
  291. package/dist/chunk-QYD5W6BZ.mjs +2 -0
  292. package/dist/chunk-R4GS4MLF.mjs +2 -0
  293. package/dist/chunk-R4IZXPTJ.mjs +2 -0
  294. package/dist/chunk-R57E6XV5.mjs +2 -0
  295. package/dist/chunk-R7LYA33P.mjs +2 -0
  296. package/dist/chunk-RCJI5ARH.mjs +2 -0
  297. package/dist/chunk-RLG4FKPO.mjs +2 -0
  298. package/dist/chunk-RMQUXJCF.mjs +2 -0
  299. package/dist/chunk-RNU4MVBG.mjs +2 -0
  300. package/dist/chunk-RPAL54CX.mjs +2 -0
  301. package/dist/chunk-RSW7C6TW.mjs +2 -0
  302. package/dist/chunk-RYEX3XQ6.mjs +2 -0
  303. package/dist/chunk-RZY4PQYQ.mjs +2 -0
  304. package/dist/chunk-S2PSMITO.mjs +2 -0
  305. package/dist/chunk-S2W7BM6D.mjs +2 -0
  306. package/dist/chunk-S2XNNHZT.mjs +2 -0
  307. package/dist/chunk-S4MPJC65.mjs +2 -0
  308. package/dist/chunk-S627RN4H.mjs +2 -0
  309. package/dist/chunk-SAU3EDXX.mjs +2 -0
  310. package/dist/chunk-SOMS2TFB.mjs +2 -0
  311. package/dist/chunk-SQMGPGRD.mjs +2 -0
  312. package/dist/chunk-SRO3MLIB.mjs +2 -0
  313. package/dist/chunk-STDHKZOZ.mjs +2 -0
  314. package/dist/chunk-T4LZ2MZE.mjs +2 -0
  315. package/dist/chunk-T4U7X2WF.mjs +2 -0
  316. package/dist/chunk-T6UPMFCA.mjs +2 -0
  317. package/dist/chunk-TBTYI5O3.mjs +2 -0
  318. package/dist/chunk-TCKKLDKT.mjs +2 -0
  319. package/dist/chunk-THDYIAAB.mjs +2 -0
  320. package/dist/chunk-THXGYDC4.mjs +2 -0
  321. package/dist/chunk-TJLU76NN.mjs +2 -0
  322. package/dist/chunk-TKBYGLGS.mjs +2 -0
  323. package/dist/chunk-TLQJX5KN.mjs +2 -0
  324. package/dist/chunk-TM6YWWDT.mjs +2 -0
  325. package/dist/chunk-TPJ3475T.mjs +2 -0
  326. package/dist/chunk-TTDNGKAZ.mjs +2 -0
  327. package/dist/chunk-TX5XRDBR.mjs +2 -0
  328. package/dist/chunk-TXXQI7SF.mjs +2 -0
  329. package/dist/chunk-TZRQJBJR.mjs +2 -0
  330. package/dist/chunk-U244AK7O.mjs +2 -0
  331. package/dist/chunk-U5GQK4TS.mjs +2 -0
  332. package/dist/chunk-UCZVVD2Z.mjs +2 -0
  333. package/dist/chunk-UIKCW64E.mjs +2 -0
  334. package/dist/chunk-UKLLQJNH.mjs +2 -0
  335. package/dist/chunk-UNOV2GB6.mjs +2 -0
  336. package/dist/chunk-UOKQDRW5.mjs +2 -0
  337. package/dist/chunk-UPMMAV3W.mjs +2 -0
  338. package/dist/chunk-US3P4WEG.mjs +2 -0
  339. package/dist/chunk-UZKWTNIB.mjs +2 -0
  340. package/dist/chunk-V43W3ZHN.mjs +2 -0
  341. package/dist/chunk-VCCDG5WA.mjs +2 -0
  342. package/dist/chunk-VCLYUNKE.mjs +2 -0
  343. package/dist/chunk-VCSLBCWL.mjs +2 -0
  344. package/dist/chunk-VMZOGYGD.mjs +2 -0
  345. package/dist/chunk-VNESVXRC.mjs +2 -0
  346. package/dist/chunk-VOSUJRX2.mjs +2 -0
  347. package/dist/chunk-VQPKDFTL.mjs +2 -0
  348. package/dist/chunk-VRPKZB5X.mjs +2 -0
  349. package/dist/chunk-VRQF6VF6.mjs +2 -0
  350. package/dist/chunk-VRS2NXU5.mjs +2 -0
  351. package/dist/chunk-VTGIY6O2.mjs +2 -0
  352. package/dist/chunk-VYCSVJRO.mjs +2 -0
  353. package/dist/chunk-W2YOVUUB.mjs +2 -0
  354. package/dist/chunk-W4T4AIMY.mjs +2 -0
  355. package/dist/chunk-W57LKOD3.mjs +2 -0
  356. package/dist/chunk-WDM5QXWG.mjs +2 -0
  357. package/dist/chunk-WDSJOUTV.mjs +2 -0
  358. package/dist/chunk-WGS42SIS.mjs +2 -0
  359. package/dist/chunk-WHPZPTCJ.mjs +2 -0
  360. package/dist/chunk-WIJATILT.mjs +2 -0
  361. package/dist/chunk-WKMJT66K.mjs +2 -0
  362. package/dist/chunk-WLLGWZNY.mjs +2 -0
  363. package/dist/chunk-WLU6MT3H.mjs +2 -0
  364. package/dist/chunk-WOA3UJ4J.mjs +2 -0
  365. package/dist/chunk-WOLRY7AN.mjs +2 -0
  366. package/dist/chunk-WQ3M5YZB.mjs +2 -0
  367. package/dist/chunk-WUCBZYDR.mjs +2 -0
  368. package/dist/chunk-WUTQNLRF.mjs +2 -0
  369. package/dist/chunk-WYZNDCXV.mjs +2 -0
  370. package/dist/chunk-WZ5QDYZ5.mjs +2 -0
  371. package/dist/chunk-X7S7MLSI.mjs +2 -0
  372. package/dist/chunk-XHSGCVFT.mjs +2 -0
  373. package/dist/chunk-XMO67AAW.mjs +2 -0
  374. package/dist/chunk-XQQPFZMY.mjs +2 -0
  375. package/dist/chunk-XUP6IZLP.mjs +2 -0
  376. package/dist/chunk-XW3EUN6N.mjs +2 -0
  377. package/dist/chunk-XXBUKC2B.mjs +2 -0
  378. package/dist/chunk-Y2QLZOMD.mjs +2 -0
  379. package/dist/chunk-Y6AH2VTO.mjs +2 -0
  380. package/dist/chunk-Y6OU2XXP.mjs +2 -0
  381. package/dist/chunk-Y7BYIUVW.mjs +2 -0
  382. package/dist/chunk-YAZXSIRI.mjs +2 -0
  383. package/dist/chunk-YMC2RMS2.mjs +2 -0
  384. package/dist/chunk-YMMM3ERO.mjs +2 -0
  385. package/dist/chunk-YPL2NSKV.mjs +2 -0
  386. package/dist/chunk-YSSDFHDL.mjs +2 -0
  387. package/dist/chunk-YUG6DVUL.mjs +2 -0
  388. package/dist/chunk-YVLKKGJS.mjs +2 -0
  389. package/dist/chunk-YXCCL2Z6.mjs +2 -0
  390. package/dist/chunk-YZFVXYGZ.mjs +2 -0
  391. package/dist/chunk-YZHZCQPA.mjs +2 -0
  392. package/dist/chunk-YZW33CNG.mjs +2 -0
  393. package/dist/chunk-Z32H3P2B.mjs +2 -0
  394. package/dist/chunk-Z35NIZ2W.mjs +2 -0
  395. package/dist/chunk-ZALNHGL4.mjs +2 -0
  396. package/dist/chunk-ZE64JI4E.mjs +2 -0
  397. package/dist/chunk-ZF3PYRQL.mjs +2 -0
  398. package/dist/chunk-ZKC2F6BV.mjs +2 -0
  399. package/dist/chunk-ZM3JD5YH.mjs +2 -0
  400. package/dist/chunk-ZNOR5GMS.mjs +2 -0
  401. package/dist/chunk-ZQA2CDQV.mjs +2 -0
  402. package/dist/chunk-ZSBLDPKK.mjs +2 -0
  403. package/dist/chunk-ZT7XSXYS.mjs +2 -0
  404. package/dist/chunk-ZTT2VGAB.mjs +2 -0
  405. package/dist/chunk-ZV6YZ32C.mjs +2 -0
  406. package/dist/chunk-ZWZQ4AZO.mjs +2 -0
  407. package/dist/chunk-ZXFNCNJ3.mjs +2 -0
  408. package/dist/chunk-ZYZRKWIK.mjs +2 -0
  409. package/dist/client-only.d.ts +3 -3
  410. package/dist/client-only.mjs +1 -1
  411. package/dist/copy-button.mjs +1 -1
  412. package/dist/counting-numbers.mjs +1 -1
  413. package/dist/footer.mjs +1 -1
  414. package/dist/form.mjs +1 -1
  415. package/dist/icons/copy.mjs +1 -1
  416. package/dist/icons/expanding-arrow.mjs +1 -1
  417. package/dist/icons/index.mjs +1 -1
  418. package/dist/icons/loading-circle.mjs +1 -1
  419. package/dist/icons/loading-spinner.mjs +1 -1
  420. package/dist/icons/logo.mjs +1 -1
  421. package/dist/icons/logotype.mjs +1 -1
  422. package/dist/index.css +1 -1
  423. package/dist/index.d.ts +1 -1
  424. package/dist/index.mjs +1 -1
  425. package/dist/input-select.d.ts +6 -3
  426. package/dist/input-select.mjs +1 -1
  427. package/dist/label.mjs +1 -1
  428. package/dist/link-preview.mjs +1 -1
  429. package/dist/max-width-wrapper.mjs +1 -1
  430. package/dist/modal.mjs +1 -1
  431. package/dist/nav-mobile.mjs +1 -1
  432. package/dist/nav.mjs +1 -1
  433. package/dist/popover.mjs +1 -1
  434. package/dist/product-hunt.d.ts +4 -1
  435. package/dist/product-hunt.mjs +1 -1
  436. package/dist/progress-bar.mjs +1 -1
  437. package/dist/radio-group.mjs +1 -1
  438. package/dist/switch.mjs +1 -1
  439. package/dist/tab-select.mjs +1 -1
  440. package/dist/tooltip.d.ts +1 -1
  441. package/dist/tooltip.mjs +1 -1
  442. package/package.json +2 -2
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b,c,d}from"./chunk-XEJFZYLU.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
2
+ import{a,b,c,d}from"./chunk-VQPKDFTL.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
package/dist/avatar.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b}from"./chunk-AS4NYUOG.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
2
+ import{a,b}from"./chunk-WLLGWZNY.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
package/dist/badge.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b}from"./chunk-2T7PSJ7V.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
2
+ import{a,b}from"./chunk-6JPJUTVN.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-5DLPPYZH.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
2
+ import{a}from"./chunk-YMMM3ERO.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
package/dist/button.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-TAFGYXKQ.mjs";import"./chunk-XLRHBIEQ.mjs";import"./chunk-YPE32NUI.mjs";import"./chunk-B5QYWKCW.mjs";import"./chunk-FVRJL23M.mjs";import"./chunk-LEXNKVE4.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-VWVFVW4E.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-BDMXJXHH.mjs";import"./chunk-VVFU6D7P.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-O3BCISIX.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-IG3LLWLL.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-2T7PSJ7V.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
2
+ import{a}from"./chunk-YXCCL2Z6.mjs";import"./chunk-MD3A7DMI.mjs";import"./chunk-YPE32NUI.mjs";import"./chunk-B5QYWKCW.mjs";import"./chunk-H2FRIXPW.mjs";import"./chunk-F6BFOESH.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-VWVFVW4E.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-BDMXJXHH.mjs";import"./chunk-F6OZB7RY.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-RCJI5ARH.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-AKF2XHAQ.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-6JPJUTVN.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
package/dist/checkbox.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-RPXK6BLR.mjs";import"./chunk-PLFNCUKY.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
2
+ import{a}from"./chunk-W57LKOD3.mjs";import"./chunk-CV73ONT2.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-W4T4AIMY.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}from"./chunk-S2W7BM6D.mjs";import{b as g,c as f,f as b}from"./chunk-EEKGMFDU.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{useEffect as n,useState as o}from"react";var d=({children:e,fallback:t})=>{let[l,a]=o(!1);return n(()=>{a(!0)},[]),l?e:t||null};export{d as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-AEHVRNY6.mjs";import{b as N}from"./chunk-WLU6MT3H.mjs";import{e as p}from"./chunk-EAIE4P6X.mjs";import{Command as l,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as c}from"vaul";import{Fragment as T,jsx as a,jsxs as t}from"react/jsx-runtime";function X({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let s=R(null),[i,e]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=n=>{s.current&&!s.current.contains(n.target)&&e(!1)};if(i)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[s,i]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(n=>n.filtered.count===0);return a(T,{children:a(l.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:i,onFocus:()=>e(!0),value:u,onValueChange:g,onKeyDown:n=>{n.key==="Escape"?(n.preventDefault(),e(!1)):n.key==="Enter"&&o?e(!1):n.key.match(/^[a-z0-9]$/i)&&!n.metaKey&&e(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>t(l.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),e(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:p("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?t(c.Root,{open:i,onOpenChange:e,children:[a(c.Trigger,{className:"sm:hidden",asChild:!0,children:a(l,{ref:s,className:"relative",loop:!0,children:t("div",{className:p("group relative min-w-[140px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[a(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:t(l,{ref:s,className:"relative",loop:!0,children:[t("div",{className:p("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),i&&t(l.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[t(l.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(c.Overlay,{})]})]}):t(l,{ref:s,className:"relative",loop:!0,children:[t("div",{className:p("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",m),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${i&&"rotate-180"}`})]})]}),i&&t(l.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[t(l.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{X as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as n}from"./chunk-MNP4NSDI.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-BMOHOVSP.mjs";import{e as i}from"./chunk-ZE64JI4E.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-5O5ZBIFI.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-EXGHGRUN.mjs";import{b as N}from"./chunk-SAU3EDXX.mjs";import{g as c}from"./chunk-5O5ZBIFI.mjs";import{Command as n,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as p}from"vaul";import{Fragment as T,jsx as a,jsxs as e}from"react/jsx-runtime";function $({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let i=R(null),[s,l]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=t=>{i.current&&!i.current.contains(t.target)&&l(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[i,s]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(t=>t.filtered.count===0);return a(T,{children:a(n.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:s,onFocus:()=>l(!0),value:u,onValueChange:g,onKeyDown:t=>{t.key==="Escape"?(t.preventDefault(),l(!1)):t.key==="Enter"&&o?l(!1):t.key.match(/^[a-z0-9]$/i)&&!t.metaKey&&l(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>e(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),l(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:c("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?e(p.Root,{open:s,onOpenChange:l,children:[a(p.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:i,className:"relative",loop:!0,children:e("div",{className:c("group relative min-w-[136px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(p.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(p.Portal,{children:[a(p.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(p.Overlay,{})]})]}):e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group rounded-md border-2 border-gray-800 bg-white px-1 focus-within:border-gray-600 focus-within:ring-4 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-CV73ONT2.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as r}from"./chunk-C7H2F3EH.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as s}from"./chunk-CV73ONT2.mjs";import g,{useState as w,useEffect as y}from"react";import{Slot as R}from"@radix-ui/react-slot";import{jsx as V}from"react/jsx-runtime";var F=g.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=w(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?R:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Ae,b as ke}from"./chunk-AUBFB4SI.mjs";var de=Ae((Qt,ce)=>{var L=1e3,C=L*60,T=C*60,P=T*24,Ke=P*7,We=P*365.25;ce.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return He(e);if(r==="number"&&isFinite(e))return t.long?Ze(e):Ye(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function He(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*We;case"weeks":case"week":case"w":return r*Ke;case"days":case"day":case"d":return r*P;case"hours":case"hour":case"hrs":case"hr":case"h":return r*T;case"minutes":case"minute":case"mins":case"min":case"m":return r*C;case"seconds":case"second":case"secs":case"sec":case"s":return r*L;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function Ye(e){var t=Math.abs(e);return t>=P?Math.round(e/P)+"d":t>=T?Math.round(e/T)+"h":t>=C?Math.round(e/C)+"m":t>=L?Math.round(e/L)+"s":e+"ms"}function Ze(e){var t=Math.abs(e);return t>=P?J(e,t,P,"day"):t>=T?J(e,t,T,"hour"):t>=C?J(e,t,C,"minute"):t>=L?J(e,t,L,"second"):e+" ms"}function J(e,t,r,o){var a=t>=r*1.5;return Math.round(e/r)+" "+o+(a?"s":"")}});function M(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var a=r.slice().reverse().find(function(s){return e>=s.value});return a?(e/a.value).toFixed(t.digits).replace(o,"$1")+a.symbol:"0"}var V=e=>{try{return new URL(e),!0}catch{return!1}},Ee=e=>{if(V(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{return null}};var Se=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),_e=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),Ie=new RegExp(/^[a-zA-Z0-9\-]+$/);var Le=e=>{if(V(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var j=({name:e="Business",monthly:t=49,yearly:r=39,links:o=5e3,clicks:a=15e4,domains:s=40,tags:n=150,users:l=15,ids:u=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:u},limits:{links:o,clicks:a,domains:s,tags:n,users:l},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${M(o,{full:!0})} new links/mo`},{text:`${M(a)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:`${M(n,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},j({name:"Business",monthly:49,yearly:39,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]}),j({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OnaK3AlJJEpqkPVnKU97wxJ"]}),j({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OnaKJAlJJEpqkPVcfQ5Rm06"]}),j({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OnaKOAlJJEpqkPVijIbAivj"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Ce=I.find(e=>e.name==="Free"),Te=I.find(e=>e.name==="Pro"),Oe=I.find(e=>e.name==="Business"),Ne=I.find(e=>e.name==="Enterprise");var ze=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Me=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",Y=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Re=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ue=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),De=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ge=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${Y}`,"api.localhost:8888"]),Ve=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var _="cl7pj5kq4006835rbjlt2ofka";var le=[{id:"clce1z7ch00j0rbstbjufva4j",slug:Y,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:_},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:_},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:_},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:_},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:_}]:[]],Je=le.map(e=>e.slug);var $e=["stats","changelog","terms","privacy","abuse"],Fe=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],qe=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];var ue=ke(de(),1),Xe=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,ue.default)(r)}${t?" ago":""}`};async function Qe(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),a=new Error(o);throw a.status=r.status,a}return r.json()}function pe(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=pe(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function me(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=pe(e))&&(o&&(o+=" "),o+=t);return o}var X="-";function et(e){let t=rt(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function a(n){let l=n.split(X);return l[0]===""&&l.length!==1&&l.shift(),ge(l,t)||tt(n)}function s(n,l){let u=r[n]||[];return l&&o[n]?[...u,...o[n]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function ge(e,t){var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?ge(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(X);return(n=t.validators.find(({validator:l})=>l(s)))==null?void 0:n.classGroupId}var fe=/^\[(.+)\]$/;function tt(e){if(fe.test(e)){let t=fe.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function rt(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return st(Object.entries(e.classGroups),r).forEach(([s,n])=>{Z(n,o,s,t)}),o}function Z(e,t,r,o){e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:he(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(ot(a)){Z(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,n])=>{Z(n,he(t,s),r,o)})})}function he(e,t){let r=e;return t.split(X).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function ot(e){return e.isThemeGetter}function st(e,t){return t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,l])=>[t+n,l])):s);return[r,a]}):e}function at(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(s,n){r.set(s,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let n=r.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return a(s,n),n},set(s,n){r.has(s)?r.set(s,n):a(s,n)}}}var be="!";function nt(e){let t=e.separator,r=t.length===1,o=t[0],a=t.length;return function(n){let l=[],u=0,m=0,p;for(let f=0;f<n.length;f++){let g=n[f];if(u===0){if(g===o&&(r||n.slice(f,f+a)===t)){l.push(n.slice(m,f)),m=f+a;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?n:n.substring(m),b=h.startsWith(be),v=b?h.substring(1):h,E=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function it(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function lt(e){return{cache:at(e.cacheSize),splitModifiers:nt(e),...et(e)}}var ct=/\s+/;function dt(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=new Set;return e.trim().split(ct).map(n=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(n),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:n};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:n};b=!1}let v=it(l).join(":"),E=u?v+be:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:n,hasPostfixModifier:b}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=n,p=l+u;return s.has(p)?!1:(s.add(p),a(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function ut(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=ye(t))&&(o&&(o+=" "),o+=r);return o}function ye(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=ye(e[o]))&&(r&&(r+=" "),r+=t);return r}function pt(e,...t){let r,o,a,s=n;function n(u){let m=t.reduce((p,h)=>h(p),e());return r=lt(m),o=r.cache.get,a=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=dt(u,r);return a(u,p),p}return function(){return s(ut.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var xe=/^\[(?:([a-z-]+):)?(.+)\]$/i,mt=/^\d+\/\d+$/,ft=new Set(["px","full","screen"]),ht=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,gt=/\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$/,bt=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,yt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,xt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return S(e)||ft.has(e)||mt.test(e)}function A(e){return O(e,"length",_t)}function S(e){return Boolean(e)&&!Number.isNaN(Number(e))}function $(e){return O(e,"number",S)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function vt(e){return e.endsWith("%")&&S(e.slice(0,-1))}function i(e){return xe.test(e)}function k(e){return ht.test(e)}var wt=new Set(["length","size","percentage"]);function At(e){return O(e,wt,ve)}function kt(e){return O(e,"position",ve)}var Et=new Set(["image","url"]);function Pt(e){return O(e,Et,Lt)}function St(e){return O(e,"",It)}function U(){return!0}function O(e,t,r){let o=xe.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function _t(e){return gt.test(e)&&!bt.test(e)}function ve(){return!1}function It(e){return yt.test(e)}function Lt(e){return xt.test(e)}function Ct(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),Q=c("saturate"),F=c("scale"),ee=c("sepia"),te=c("skew"),re=c("space"),oe=c("translate"),q=()=>["auto","contain","none"],K=()=>["auto","hidden","clip","visible","scroll"],W=()=>["auto",i,t],d=()=>[i,t],se=()=>["",x,A],D=()=>["auto",S,i],ae=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],B=()=>["solid","dashed","dotted","double","none"],ne=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],H=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],ie=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[S,$],G=()=>[S,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",k,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:se(),contrast:z(),grayscale:N(),hueRotate:G(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[vt,A],inset:W(),margin:W(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:G(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ie()}],"break-before":[{"break-before":ie()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ae(),i]}],overflow:[{overflow:K()}],"overflow-x":[{"overflow-x":K()}],"overflow-y":[{"overflow-y":K()}],overscroll:[{overscroll:q()}],"overscroll-x":[{"overscroll-x":q()}],"overscroll-y":[{"overscroll-y":q()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:W()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":D()}],"col-end":[{"col-end":D()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":D()}],"row-end":[{"row-end":D()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...H()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...H(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...H(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[re]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[re]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",$]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",S,$]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...B(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ae(),kt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",At]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},Pt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...B(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:B()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...B()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:se()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,St]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":ne()}],"bg-blend":[{"bg-blend":ne()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[Q]}],sepia:[{sepia:[ee]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[Q]}],"backdrop-sepia":[{"backdrop-sepia":[ee]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:G()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:G()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[F]}],"scale-x":[{"scale-x":[F]}],"scale-y":[{"scale-y":[F]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[oe]}],"translate-y":[{"translate-y":[oe]}],"skew-x":[{"skew-x":[te]}],"skew-y":[{"skew-y":[te]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,$]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var we=pt(Ct);function Tt(...e){return we(me(e))}export{M as a,Ee as b,Le as c,De as d,$e as e,Fe as f,qe as g,Xe as h,Qe as i,Tt as j};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as s}from"./chunk-XW3EUN6N.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-EXGHGRUN.mjs";import{b as N}from"./chunk-SAU3EDXX.mjs";import{g as c}from"./chunk-5O5ZBIFI.mjs";import{Command as n,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as p}from"vaul";import{Fragment as T,jsx as a,jsxs as e}from"react/jsx-runtime";function $({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let i=R(null),[s,l]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=t=>{i.current&&!i.current.contains(t.target)&&l(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[i,s]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(t=>t.filtered.count===0);return a(T,{children:a(n.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:s,onFocus:()=>l(!0),value:u,onValueChange:g,onKeyDown:t=>{t.key==="Escape"?(t.preventDefault(),l(!1)):t.key==="Enter"&&o?l(!1):t.key.match(/^[a-z0-9]$/i)&&!t.metaKey&&l(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>e(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),l(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:c("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?e(p.Root,{open:s,onOpenChange:l,children:[a(p.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:i,className:"relative",loop:!0,children:e("div",{className:c("group relative min-w-[136px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(p.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(p.Portal,{children:[a(p.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(p.Overlay,{})]})]}):e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group rounded-md border-4 border-red-800 bg-red-200 px-1 focus-within:border-gray-600 focus-within:ring-4 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as n}from"./chunk-DPU5GRFM.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as x}from"./chunk-HXU7NAWN.mjs";import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-NY3CZUG3.mjs";import{a as v}from"./chunk-ZSBLDPKK.mjs";import{c as g,d as l,e as p,h as c}from"./chunk-LTMTMJJ4.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:l("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&p.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:l("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:l("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:void 0,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${void 0}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${void 0}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-EXGHGRUN.mjs";import{b as N}from"./chunk-SAU3EDXX.mjs";import{g as c}from"./chunk-5O5ZBIFI.mjs";import{Command as n,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as p}from"vaul";import{Fragment as T,jsx as a,jsxs as t}from"react/jsx-runtime";function $({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let i=R(null),[s,l]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=e=>{i.current&&!i.current.contains(e.target)&&l(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[i,s]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(e=>e.filtered.count===0);return a(T,{children:a(n.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:s,onFocus:()=>l(!0),value:u,onValueChange:g,onKeyDown:e=>{e.key==="Escape"?(e.preventDefault(),l(!1)):e.key==="Enter"&&o?l(!1):e.key.match(/^[a-z0-9]$/i)&&!e.metaKey&&l(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),l(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:c("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?t(p.Root,{open:s,onOpenChange:l,children:[a(p.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:i,className:"relative",loop:!0,children:t("div",{className:c("group relative min-w-[136px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(p.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(p.Portal,{children:[a(p.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:t(n,{ref:i,className:"relative",loop:!0,children:[t("div",{className:c("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[t(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(p.Overlay,{})]})]}):t(n,{ref:i,className:"relative",loop:!0,children:[t("div",{className:c("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-4 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[t(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-EXGHGRUN.mjs";import{b as N}from"./chunk-SAU3EDXX.mjs";import{g as c}from"./chunk-5O5ZBIFI.mjs";import{Command as n,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as p}from"vaul";import{Fragment as T,jsx as a,jsxs as e}from"react/jsx-runtime";function $({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let i=R(null),[s,l]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=t=>{i.current&&!i.current.contains(t.target)&&l(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[i,s]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(t=>t.filtered.count===0);return a(T,{children:a(n.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:s,onFocus:()=>l(!0),value:u,onValueChange:g,onKeyDown:t=>{t.key==="Escape"?(t.preventDefault(),l(!1)):t.key==="Enter"&&o?l(!1):t.key.match(/^[a-z0-9]$/i)&&!t.metaKey&&l(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>e(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),l(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:c("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?e(p.Root,{open:s,onOpenChange:l,children:[a(p.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:i,className:"relative",loop:!0,children:e("div",{className:c("group relative min-w-[136px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(p.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(p.Portal,{children:[a(p.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(p.Overlay,{})]})]}):e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-5O5ZBIFI.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as l}from"./chunk-JORXLTS5.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as C}from"./chunk-JORXLTS5.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{useEffect as a,useState as o}from"react";import{Fragment as c,jsx as n}from"react/jsx-runtime";var s=({children:e,fallback:d})=>{let[t,l]=o(!1);return a(()=>{l(!0)},[]),t?n(c,{children:e}):null};export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as t}from"./chunk-MNP4NSDI.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-PUEJHVYL.mjs";import{a as p,e as m}from"./chunk-EEKGMFDU.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function k({children:t}){return e(n.Provider,{delayDuration:100,children:t})}function s({children:t,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[e(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),e(n.Portal,{children:e(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function P({title:t,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(r?e(g,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:t,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function R({content:t}){return e(s,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function L({value:t,unit:o="total clicks",children:r,lastClicked:i}){return(!t||t<1e3)&&!i?r:e(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,side:r="bottom"}){return e(s,{content:o,side:r,children:e("div",{className:"flex cursor-pointer items-center",children:e(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}export{k as a,s as b,P as c,w as d,C as e,R as f,L as g,B as h};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-EEKGMFDU.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as s}from"./chunk-ZE64JI4E.mjs";import g,{useState as w,useEffect as y}from"react";import{Slot as R}from"@radix-ui/react-slot";import{jsx as V}from"react/jsx-runtime";var F=g.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=w(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?R:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-HJV2M6YA.mjs";import{f as i}from"./chunk-DPU5GRFM.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-EEKGMFDU.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as i}from"./chunk-LTMTMJJ4.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-HXU7NAWN.mjs";import{d as i}from"./chunk-LTMTMJJ4.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as r}from"./chunk-ZE64JI4E.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-EDBQZ5L7.mjs";import{a as x}from"./chunk-B5QYWKCW.mjs";import{a as f}from"./chunk-JE2KQF6U.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{c as u,d as g,h as p,i as l}from"./chunk-WIJATILT.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:r,slug:o})=>({name:r,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:g.map(({name:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:r}=R("https://status.dub.co/api/v1/summary",void 0),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:(void 0)("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:(void 0)("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as s}from"./chunk-WIJATILT.mjs";import g,{useState as w,useEffect as y}from"react";import{Slot as R}from"@radix-ui/react-slot";import{jsx as V}from"react/jsx-runtime";var F=g.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=w(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?R:c,{ref:p,className:u,...i,children:(void 0)(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as x}from"./chunk-EPXHYUDS.mjs";import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-XUP6IZLP.mjs";import{a as v}from"./chunk-7XHOMVCT.mjs";import{d as l,f as c,g,j as p}from"./chunk-MNP4NSDI.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as a}from"./chunk-EAIE4P6X.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-CV73ONT2.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as s}from"./chunk-EEKGMFDU.mjs";import g,{useState as w,useEffect as y}from"react";import{Slot as R}from"@radix-ui/react-slot";import{jsx as V}from"react/jsx-runtime";var F=g.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=w(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?R:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{c as e}from"./chunk-C7H2F3EH.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as C}from"./chunk-EXGHGRUN.mjs";import{b as N}from"./chunk-SAU3EDXX.mjs";import{g as c}from"./chunk-5O5ZBIFI.mjs";import{Command as n,useCommandState as M}from"cmdk";import{Check as P,ChevronDown as h,Search as v,X as x}from"lucide-react";import{useEffect as k,useRef as R,useState as E}from"react";import{Drawer as p}from"vaul";import{Fragment as T,jsx as a,jsxs as e}from"react/jsx-runtime";function $({items:L,selectedItem:r,setSelectedItem:d,className:m,adjustForMobile:S,icon:y,inputAttrs:b}){let i=R(null),[s,l]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");k(()=>{let o=t=>{i.current&&!i.current.contains(t.target)&&l(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[i,s]),k(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:D}=C(),f=()=>{let o=M(t=>t.filtered.count===0);return a(T,{children:a(n.Input,{placeholder:(b==null?void 0:b.placeholder)||"Search...",autoFocus:s,onFocus:()=>l(!0),value:u,onValueChange:g,onKeyDown:t=>{t.key==="Escape"?(t.preventDefault(),l(!1)):t.key==="Enter"&&o?l(!1):t.key.match(/^[a-z0-9]$/i)&&!t.metaKey&&l(!0)},className:"block w-full rounded-md border-none px-0 text-sm text-gray-900 placeholder-gray-400 focus:outline-none focus:ring-0"})})},w=()=>L.map(o=>e(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{d(o),g(o.value),l(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a("img",{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full"}),a("p",{className:c("my-auto whitespace-nowrap rounded-md px-2 py-0.5 text-sm",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(N,{className:"text-xs",variant:"neutral",children:o.label})]}),a(P,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return D&&S?e(p.Root,{open:s,onOpenChange:l,children:[a(p.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:i,className:"relative",loop:!0,children:e("div",{className:c("group relative min-w-[136px] rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(p.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(p.Portal,{children:[a(p.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("group relative mb-2 rounded-t-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}),a(p.Overlay,{})]})]}):e(n,{ref:i,className:"relative",loop:!0,children:[e("div",{className:c("border-10 group rounded-md border-gray-800 bg-white px-1 focus-within:border-gray-600 focus-within:ring-4 focus-within:ring-gray-200",m),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(v,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(f,{}),u&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{d(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(x,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(h,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]}),s&&e(n.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all",children:[e(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:['No results found for "',u,'"']}),a(w,{})]})]})}export{$ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-C3HA6E7J.mjs";import{a as x}from"./chunk-B5QYWKCW.mjs";import{a as f}from"./chunk-DD7OAS4V.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{f as u,g,i as p,j as l}from"./chunk-362AC63Z.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:r,slug:o})=>({name:r,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:g.map(({name:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:r}=R("https://status.dub.co/api/v1/summary",p),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-TCKKLDKT.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}from"./chunk-HPH66GLK.mjs";import{b as g,c as f,i as b}from"./chunk-362AC63Z.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-4U54WOYB.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{d as t,f as n,j as d}from"./chunk-MNP4NSDI.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-2JOOBOPR.mjs";import{h as x}from"./chunk-EXGHGRUN.mjs";import{a as v}from"./chunk-YVLKKGJS.mjs";import{d as l,f as g,g as c,h as p}from"./chunk-5O5ZBIFI.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&p.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-3GCHVZ56.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{c as d,d as t,h as n}from"./chunk-LTMTMJJ4.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:t("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:t("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:t("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:void 0,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${void 0}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${void 0}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};