@dub/ui 0.1.26 → 0.1.28

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 (706) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +7 -7
  4. package/dist/animated-size-container.mjs +1 -1
  5. package/dist/avatar.d.ts +1 -0
  6. package/dist/avatar.mjs +1 -1
  7. package/dist/badge.mjs +1 -1
  8. package/dist/blur-image.mjs +1 -1
  9. package/dist/button.mjs +1 -1
  10. package/dist/checkbox.mjs +1 -1
  11. package/dist/chunk-24GO6V2F.mjs +2 -0
  12. package/dist/chunk-26S2VKCL.mjs +2 -0
  13. package/dist/chunk-2COYHBQU.mjs +2 -0
  14. package/dist/chunk-2D3HRLYL.mjs +2 -0
  15. package/dist/chunk-2F6AJHDM.mjs +2 -0
  16. package/dist/chunk-2HPHH7SN.mjs +2 -0
  17. package/dist/chunk-2IQSJ46Y.mjs +2 -0
  18. package/dist/chunk-2KS5N5QP.mjs +2 -0
  19. package/dist/chunk-2KYVIUKZ.mjs +2 -0
  20. package/dist/chunk-2LBJI2KO.mjs +2 -0
  21. package/dist/chunk-2LOUHZW7.mjs +2 -0
  22. package/dist/chunk-2LQ55DUJ.mjs +2 -0
  23. package/dist/chunk-2M7DR3PH.mjs +2 -0
  24. package/dist/chunk-2O2B2GVS.mjs +2 -0
  25. package/dist/chunk-2OZQ3GG4.mjs +2 -0
  26. package/dist/chunk-2S2YYFQL.mjs +2 -0
  27. package/dist/chunk-2SIZB6Z2.mjs +2 -0
  28. package/dist/chunk-2SXMJV3C.mjs +6 -0
  29. package/dist/chunk-2SZ5E3PP.mjs +2 -0
  30. package/dist/chunk-2TD2AQWQ.mjs +2 -0
  31. package/dist/chunk-2TY2KYRV.mjs +2 -0
  32. package/dist/chunk-2VKEDVME.mjs +2 -0
  33. package/dist/chunk-2VTNINY3.mjs +2 -0
  34. package/dist/chunk-2W2M7KTU.mjs +2 -0
  35. package/dist/chunk-2XIN2T7E.mjs +2 -0
  36. package/dist/chunk-2YQLIQQN.mjs +2 -0
  37. package/dist/chunk-32C65ISH.mjs +2 -0
  38. package/dist/chunk-34SGC4YH.mjs +2 -0
  39. package/dist/chunk-35IBY4GZ.mjs +6 -0
  40. package/dist/chunk-3A5OAKQT.mjs +2 -0
  41. package/dist/chunk-3DL5JOPB.mjs +2 -0
  42. package/dist/chunk-3FV6AXQ3.mjs +2 -0
  43. package/dist/chunk-3GDSJXP4.mjs +2 -0
  44. package/dist/chunk-3HTARARH.mjs +2 -0
  45. package/dist/chunk-3I3KYVGK.mjs +2 -0
  46. package/dist/chunk-3KFNNXJ6.mjs +2 -0
  47. package/dist/chunk-3O4L5M2U.mjs +2 -0
  48. package/dist/chunk-3PGL3YLO.mjs +2 -0
  49. package/dist/chunk-3RV2M3TU.mjs +2 -0
  50. package/dist/chunk-3RYQCUYK.mjs +2 -0
  51. package/dist/chunk-3TZ4GPTL.mjs +2 -0
  52. package/dist/chunk-3UWVE2O2.mjs +2 -0
  53. package/dist/chunk-3XZLEIRD.mjs +2 -0
  54. package/dist/chunk-3ZFHMVSI.mjs +6 -0
  55. package/dist/chunk-43RC7HDU.mjs +2 -0
  56. package/dist/chunk-4BBI24XJ.mjs +2 -0
  57. package/dist/chunk-4E6RJ7RH.mjs +1 -0
  58. package/dist/chunk-4EIZC6LI.mjs +2 -0
  59. package/dist/chunk-4FNDXXAC.mjs +2 -0
  60. package/dist/chunk-4GPFU5OP.mjs +2 -0
  61. package/dist/chunk-4INGYKUF.mjs +2 -0
  62. package/dist/chunk-4LSID5UQ.mjs +2 -0
  63. package/dist/chunk-4OEMXY2P.mjs +2 -0
  64. package/dist/chunk-4PGXYFFA.mjs +2 -0
  65. package/dist/chunk-4PXOHWHU.mjs +2 -0
  66. package/dist/chunk-4XBMYXEM.mjs +2 -0
  67. package/dist/chunk-4XI25XZO.mjs +2 -0
  68. package/dist/chunk-4ZRNTST4.mjs +6 -0
  69. package/dist/chunk-52J4WFMT.mjs +2 -0
  70. package/dist/chunk-52LL4TBS.mjs +2 -0
  71. package/dist/chunk-54MZEIUI.mjs +2 -0
  72. package/dist/chunk-5DCNABVO.mjs +2 -0
  73. package/dist/chunk-5EAWC5R3.mjs +2 -0
  74. package/dist/chunk-5EKHMWK4.mjs +2 -0
  75. package/dist/chunk-5EMWWWMJ.mjs +2 -0
  76. package/dist/chunk-5FA55CVM.mjs +2 -0
  77. package/dist/chunk-5L2S344Z.mjs +2 -0
  78. package/dist/chunk-5MMCLP4T.mjs +2 -0
  79. package/dist/chunk-5P75NK6D.mjs +2 -0
  80. package/dist/chunk-5PA7NETF.mjs +2 -0
  81. package/dist/chunk-5RX4JKZ7.mjs +6 -0
  82. package/dist/chunk-5SAWGG7D.mjs +6 -0
  83. package/dist/chunk-5TFOH7FW.mjs +2 -0
  84. package/dist/chunk-5VYDBVWZ.mjs +2 -0
  85. package/dist/chunk-5W7CFW7G.mjs +2 -0
  86. package/dist/chunk-5WUQ5SSD.mjs +2 -0
  87. package/dist/chunk-5XIONXV4.mjs +2 -0
  88. package/dist/chunk-5YH4QIQ2.mjs +2 -0
  89. package/dist/chunk-637XHP77.mjs +2 -0
  90. package/dist/chunk-63DFCH7L.mjs +2 -0
  91. package/dist/chunk-63EVZTS6.mjs +2 -0
  92. package/dist/chunk-63RFWC6U.mjs +2 -0
  93. package/dist/chunk-64P5TCKJ.mjs +2 -0
  94. package/dist/chunk-6A2DNSW4.mjs +2 -0
  95. package/dist/chunk-6GTEPNHP.mjs +2 -0
  96. package/dist/chunk-6HNMOI5O.mjs +6 -0
  97. package/dist/chunk-6ILS75HU.mjs +2 -0
  98. package/dist/chunk-6JPO26GL.mjs +2 -0
  99. package/dist/chunk-6KOIBXDJ.mjs +2 -0
  100. package/dist/chunk-6LZ4IWMN.mjs +2 -0
  101. package/dist/chunk-6MPGL4KH.mjs +2 -0
  102. package/dist/chunk-6OLCEUS3.mjs +2 -0
  103. package/dist/chunk-6RYQQUSM.mjs +2 -0
  104. package/dist/chunk-6SIPPJ3S.mjs +2 -0
  105. package/dist/chunk-6SLAHSHY.mjs +2 -0
  106. package/dist/chunk-6TUOIQB7.mjs +2 -0
  107. package/dist/chunk-6TXK7NLD.mjs +2 -0
  108. package/dist/chunk-6YO46VSA.mjs +2 -0
  109. package/dist/chunk-732HAVXD.mjs +2 -0
  110. package/dist/chunk-73AQPKK3.mjs +2 -0
  111. package/dist/chunk-77CHYSIW.mjs +2 -0
  112. package/dist/chunk-7CR32UAY.mjs +2 -0
  113. package/dist/chunk-7D62Y45E.mjs +2 -0
  114. package/dist/chunk-7EIIB373.mjs +2 -0
  115. package/dist/chunk-7JVREEEI.mjs +2 -0
  116. package/dist/chunk-7MTVIW6J.mjs +2 -0
  117. package/dist/chunk-7PKIG4WC.mjs +2 -0
  118. package/dist/chunk-7SDKHF55.mjs +2 -0
  119. package/dist/chunk-7XFEGQW7.mjs +2 -0
  120. package/dist/chunk-A2A25K2L.mjs +2 -0
  121. package/dist/chunk-A7Y3JPXP.mjs +2 -0
  122. package/dist/chunk-ACPCB4I2.mjs +2 -0
  123. package/dist/chunk-AEA4FE6G.mjs +2 -0
  124. package/dist/chunk-AGO6RJUQ.mjs +2 -0
  125. package/dist/chunk-AK3VTPOG.mjs +2 -0
  126. package/dist/chunk-AK56NAT3.mjs +2 -0
  127. package/dist/chunk-ANZWNDHF.mjs +2 -0
  128. package/dist/chunk-AOFBA37O.mjs +2 -0
  129. package/dist/chunk-ASK4KFXH.mjs +2 -0
  130. package/dist/chunk-ATBKJCQI.mjs +6 -0
  131. package/dist/chunk-ATOQSQSX.mjs +2 -0
  132. package/dist/chunk-AU3TU3OY.mjs +2 -0
  133. package/dist/chunk-AUKVUUQF.mjs +2 -0
  134. package/dist/chunk-AWPWX4PY.mjs +2 -0
  135. package/dist/chunk-AX5SUICG.mjs +2 -0
  136. package/dist/chunk-AZSHYVRP.mjs +2 -0
  137. package/dist/chunk-B25FY6YB.mjs +2 -0
  138. package/dist/chunk-B4BRVRIY.mjs +2 -0
  139. package/dist/chunk-B4NQYHBZ.mjs +2 -0
  140. package/dist/chunk-B4WQHVKO.mjs +6 -0
  141. package/dist/chunk-B4ZUMPKI.mjs +2 -0
  142. package/dist/chunk-BA5AWLOP.mjs +2 -0
  143. package/dist/chunk-BAYO33VP.mjs +2 -0
  144. package/dist/chunk-BDNFHY6T.mjs +2 -0
  145. package/dist/chunk-BE6XZMNG.mjs +2 -0
  146. package/dist/chunk-BERH4K4R.mjs +2 -0
  147. package/dist/chunk-BFMRGJR7.mjs +2 -0
  148. package/dist/chunk-BHSHRRNE.mjs +2 -0
  149. package/dist/chunk-BKK2LN3N.mjs +2 -0
  150. package/dist/chunk-BL2X3IOF.mjs +2 -0
  151. package/dist/chunk-BLMH44TN.mjs +2 -0
  152. package/dist/chunk-BMZDMOXG.mjs +6 -0
  153. package/dist/chunk-BOCPUR5Z.mjs +2 -0
  154. package/dist/chunk-BOTROIWG.mjs +2 -0
  155. package/dist/chunk-BPF74YQI.mjs +2 -0
  156. package/dist/chunk-BQMCXTOR.mjs +2 -0
  157. package/dist/chunk-BRCE2HCO.mjs +2 -0
  158. package/dist/chunk-BRGDOGU3.mjs +6 -0
  159. package/dist/chunk-BSAHBWVL.mjs +2 -0
  160. package/dist/chunk-BTIQDQ4Q.mjs +6 -0
  161. package/dist/chunk-BTLQB7SF.mjs +2 -0
  162. package/dist/chunk-BUUXY5PY.mjs +2 -0
  163. package/dist/chunk-BUWQT42R.mjs +2 -0
  164. package/dist/chunk-BVP3AMVF.mjs +2 -0
  165. package/dist/chunk-BVTMRZND.mjs +6 -0
  166. package/dist/chunk-BW4XZCFB.mjs +2 -0
  167. package/dist/chunk-BWGYQBOX.mjs +2 -0
  168. package/dist/chunk-BWNCNH3R.mjs +2 -0
  169. package/dist/chunk-BXR6AH2P.mjs +2 -0
  170. package/dist/chunk-BYIJ43ZW.mjs +2 -0
  171. package/dist/chunk-BYUCYR5P.mjs +2 -0
  172. package/dist/chunk-C5VYRCDG.mjs +2 -0
  173. package/dist/chunk-C6D4QS4D.mjs +2 -0
  174. package/dist/chunk-C6KSN2P2.mjs +2 -0
  175. package/dist/chunk-C6V4KXHF.mjs +6 -0
  176. package/dist/chunk-C76ZKE43.mjs +2 -0
  177. package/dist/chunk-CAIIQECJ.mjs +2 -0
  178. package/dist/chunk-CHJUJE4X.mjs +2 -0
  179. package/dist/chunk-CKQU54PU.mjs +2 -0
  180. package/dist/chunk-CM7PMFG2.mjs +2 -0
  181. package/dist/chunk-CNTHLJXR.mjs +6 -0
  182. package/dist/chunk-COEPRWCY.mjs +2 -0
  183. package/dist/chunk-CTSTG4GK.mjs +6 -0
  184. package/dist/chunk-CW357N5E.mjs +2 -0
  185. package/dist/chunk-CWRTMY4K.mjs +6 -0
  186. package/dist/chunk-CXD5V6EP.mjs +2 -0
  187. package/dist/chunk-CY7PQZRM.mjs +2 -0
  188. package/dist/chunk-CYVWU2SP.mjs +2 -0
  189. package/dist/chunk-D3AZYWPA.mjs +2 -0
  190. package/dist/chunk-D5WX7PJB.mjs +2 -0
  191. package/dist/chunk-D6PDF22E.mjs +2 -0
  192. package/dist/chunk-D7SRRREC.mjs +2 -0
  193. package/dist/chunk-D7USZAZP.mjs +2 -0
  194. package/dist/chunk-DAM64FK4.mjs +2 -0
  195. package/dist/chunk-DAZALGLW.mjs +2 -0
  196. package/dist/chunk-DC36CR56.mjs +2 -0
  197. package/dist/chunk-DCL4MB7A.mjs +2 -0
  198. package/dist/chunk-DKIUF57R.mjs +2 -0
  199. package/dist/chunk-DLETK3JE.mjs +2 -0
  200. package/dist/chunk-DLMXMEZY.mjs +2 -0
  201. package/dist/chunk-DMADXWHH.mjs +2 -0
  202. package/dist/chunk-DMLF4GJF.mjs +2 -0
  203. package/dist/chunk-DMO7DFCC.mjs +2 -0
  204. package/dist/chunk-DMUERTF2.mjs +2 -0
  205. package/dist/chunk-DNUFXC6G.mjs +2 -0
  206. package/dist/chunk-DP4YQEMX.mjs +2 -0
  207. package/dist/chunk-DU4NB3MH.mjs +2 -0
  208. package/dist/chunk-DUUKDJA6.mjs +2 -0
  209. package/dist/chunk-DWACNU5E.mjs +2 -0
  210. package/dist/chunk-DWB64XSY.mjs +2 -0
  211. package/dist/chunk-DZ47BADR.mjs +2 -0
  212. package/dist/chunk-DZIB4NN7.mjs +2 -0
  213. package/dist/chunk-E3VG6CQ2.mjs +2 -0
  214. package/dist/chunk-E5L2OWEU.mjs +2 -0
  215. package/dist/chunk-E5NDHDY2.mjs +2 -0
  216. package/dist/chunk-E5YVFLIA.mjs +2 -0
  217. package/dist/chunk-E64PMPSS.mjs +6 -0
  218. package/dist/chunk-E6HWCEBB.mjs +2 -0
  219. package/dist/chunk-EDQYILFY.mjs +2 -0
  220. package/dist/chunk-EE3DY3TR.mjs +2 -0
  221. package/dist/chunk-EEF6EPGB.mjs +2 -0
  222. package/dist/chunk-EFCWPYMA.mjs +2 -0
  223. package/dist/chunk-EFEMK55A.mjs +2 -0
  224. package/dist/chunk-EKF6H63J.mjs +2 -0
  225. package/dist/chunk-ELWUYRKK.mjs +2 -0
  226. package/dist/chunk-EPD7PWKY.mjs +2 -0
  227. package/dist/chunk-ESL73QAN.mjs +2 -0
  228. package/dist/chunk-EVYDVAVA.mjs +2 -0
  229. package/dist/chunk-EYZ7GDSC.mjs +2 -0
  230. package/dist/chunk-F2AVRMTR.mjs +6 -0
  231. package/dist/chunk-FECSAU4C.mjs +2 -0
  232. package/dist/chunk-FG26QHVN.mjs +2 -0
  233. package/dist/chunk-FGQI6XJQ.mjs +2 -0
  234. package/dist/chunk-FKIGBGCB.mjs +2 -0
  235. package/dist/chunk-FKL2RERC.mjs +2 -0
  236. package/dist/chunk-FN2J3AVE.mjs +2 -0
  237. package/dist/chunk-FN5WHFTP.mjs +2 -0
  238. package/dist/chunk-FQA3MJNN.mjs +2 -0
  239. package/dist/chunk-FRLFD2ES.mjs +2 -0
  240. package/dist/chunk-FWKUIXLZ.mjs +6 -0
  241. package/dist/chunk-FXXDWSKY.mjs +2 -0
  242. package/dist/chunk-FYWMALFK.mjs +2 -0
  243. package/dist/chunk-G37ONOBW.mjs +2 -0
  244. package/dist/chunk-G3UBTKH7.mjs +2 -0
  245. package/dist/chunk-G4CFL7MH.mjs +2 -0
  246. package/dist/chunk-G4O4HU3N.mjs +2 -0
  247. package/dist/chunk-GC5HGGPL.mjs +2 -0
  248. package/dist/chunk-GCVNGLLG.mjs +2 -0
  249. package/dist/chunk-GFUFVOPR.mjs +2 -0
  250. package/dist/chunk-GFX5MVTL.mjs +2 -0
  251. package/dist/chunk-GJI6VAVC.mjs +2 -0
  252. package/dist/chunk-GJOO6ZDQ.mjs +2 -0
  253. package/dist/chunk-GKJ3OFEJ.mjs +2 -0
  254. package/dist/chunk-GRBCFYEM.mjs +2 -0
  255. package/dist/chunk-GRFAFTOP.mjs +6 -0
  256. package/dist/chunk-GULLWDTH.mjs +2 -0
  257. package/dist/chunk-H2QHRKQP.mjs +2 -0
  258. package/dist/chunk-H43FMVF4.mjs +2 -0
  259. package/dist/chunk-H6EI7JAC.mjs +2 -0
  260. package/dist/chunk-H6YO7HO3.mjs +2 -0
  261. package/dist/chunk-HBYA3B3O.mjs +2 -0
  262. package/dist/chunk-HCOYBBRG.mjs +2 -0
  263. package/dist/chunk-HCSLTLQJ.mjs +2 -0
  264. package/dist/chunk-HD6YF3EZ.mjs +2 -0
  265. package/dist/chunk-HE3BCKPL.mjs +2 -0
  266. package/dist/chunk-HEXWU5VG.mjs +2 -0
  267. package/dist/chunk-HFHKOIAX.mjs +6 -0
  268. package/dist/chunk-HFPQIZC6.mjs +2 -0
  269. package/dist/chunk-HIQXFKNG.mjs +2 -0
  270. package/dist/chunk-HJ5XEUN7.mjs +2 -0
  271. package/dist/chunk-HJP7WGFK.mjs +2 -0
  272. package/dist/chunk-HJTMBTBX.mjs +6 -0
  273. package/dist/chunk-HNXJA6CJ.mjs +2 -0
  274. package/dist/chunk-HPOHGCIW.mjs +2 -0
  275. package/dist/chunk-HRFSSAKB.mjs +2 -0
  276. package/dist/chunk-HTME5G5W.mjs +2 -0
  277. package/dist/chunk-HTMM6WXM.mjs +2 -0
  278. package/dist/chunk-HXYPYGHL.mjs +2 -0
  279. package/dist/chunk-HY4DKUHI.mjs +2 -0
  280. package/dist/chunk-HYPLE4VW.mjs +2 -0
  281. package/dist/chunk-HZYXQ3MC.mjs +2 -0
  282. package/dist/chunk-I3VHDNVN.mjs +2 -0
  283. package/dist/chunk-I7JJCIMU.mjs +2 -0
  284. package/dist/chunk-IC6OYAMK.mjs +2 -0
  285. package/dist/chunk-ICEVFMZW.mjs +2 -0
  286. package/dist/chunk-IGFN5BSV.mjs +2 -0
  287. package/dist/chunk-IIFMULXN.mjs +2 -0
  288. package/dist/chunk-IJUWWVAZ.mjs +2 -0
  289. package/dist/chunk-INISB4KV.mjs +2 -0
  290. package/dist/chunk-IP2B33JZ.mjs +2 -0
  291. package/dist/chunk-IQVF3XWX.mjs +2 -0
  292. package/dist/chunk-IS537Y2Z.mjs +2 -0
  293. package/dist/chunk-ITEGZYV3.mjs +6 -0
  294. package/dist/chunk-IVQ7JIOU.mjs +2 -0
  295. package/dist/chunk-IWEF32NS.mjs +2 -0
  296. package/dist/chunk-IXKHV2N5.mjs +2 -0
  297. package/dist/chunk-IXM7QA7I.mjs +2 -0
  298. package/dist/chunk-IYFT2FKW.mjs +2 -0
  299. package/dist/chunk-IZYQXXQJ.mjs +2 -0
  300. package/dist/chunk-J2GORZBD.mjs +1 -0
  301. package/dist/chunk-J2UNKIZH.mjs +2 -0
  302. package/dist/chunk-J3IDQN5M.mjs +2 -0
  303. package/dist/chunk-J3XQLDPV.mjs +2 -0
  304. package/dist/chunk-J5EEGK2D.mjs +2 -0
  305. package/dist/chunk-JBH6ZAPQ.mjs +2 -0
  306. package/dist/chunk-JBN7WFP3.mjs +2 -0
  307. package/dist/chunk-JBURS7BX.mjs +2 -0
  308. package/dist/chunk-JDYEQG7L.mjs +2 -0
  309. package/dist/chunk-JE2C3EPJ.mjs +2 -0
  310. package/dist/chunk-JFSNPBO7.mjs +2 -0
  311. package/dist/chunk-JG7HARGV.mjs +2 -0
  312. package/dist/chunk-JIYMB4IM.mjs +6 -0
  313. package/dist/chunk-JKSIE5IM.mjs +2 -0
  314. package/dist/chunk-JN66NXCY.mjs +2 -0
  315. package/dist/chunk-JP57AFGB.mjs +2 -0
  316. package/dist/chunk-JSY5LHHK.mjs +2 -0
  317. package/dist/chunk-JUX3CLVC.mjs +2 -0
  318. package/dist/chunk-JX5W4R2L.mjs +2 -0
  319. package/dist/chunk-JY44CIXV.mjs +2 -0
  320. package/dist/chunk-JY6CFEPF.mjs +2 -0
  321. package/dist/chunk-JZ6UR2RV.mjs +2 -0
  322. package/dist/chunk-K3VELXUZ.mjs +2 -0
  323. package/dist/chunk-K4LQE5VT.mjs +2 -0
  324. package/dist/chunk-K5PSK524.mjs +2 -0
  325. package/dist/chunk-K5TGD7XY.mjs +6 -0
  326. package/dist/chunk-KAP2NTDG.mjs +2 -0
  327. package/dist/chunk-KBSVR5V3.mjs +2 -0
  328. package/dist/chunk-KCP2L6LE.mjs +2 -0
  329. package/dist/chunk-KDNSFAET.mjs +2 -0
  330. package/dist/chunk-KGJN3574.mjs +2 -0
  331. package/dist/chunk-KGMSGNRU.mjs +2 -0
  332. package/dist/chunk-KJGIGRFE.mjs +2 -0
  333. package/dist/chunk-KKXO7LRB.mjs +6 -0
  334. package/dist/chunk-KM3MOTZO.mjs +2 -0
  335. package/dist/chunk-KNIPG7TV.mjs +2 -0
  336. package/dist/chunk-KQD3JUYQ.mjs +2 -0
  337. package/dist/chunk-KR2QRW67.mjs +2 -0
  338. package/dist/chunk-KRO2B7YM.mjs +2 -0
  339. package/dist/chunk-KRTUG2A3.mjs +2 -0
  340. package/dist/chunk-KTINRJRF.mjs +2 -0
  341. package/dist/chunk-KTQQGDOC.mjs +2 -0
  342. package/dist/chunk-KVKEFKYI.mjs +2 -0
  343. package/dist/chunk-KVTNN7ID.mjs +2 -0
  344. package/dist/chunk-KYMBX7DZ.mjs +2 -0
  345. package/dist/chunk-KYR5VT6J.mjs +2 -0
  346. package/dist/chunk-KZ43CCOP.mjs +2 -0
  347. package/dist/chunk-L2ZLHNHY.mjs +2 -0
  348. package/dist/chunk-L3J4LUFF.mjs +2 -0
  349. package/dist/chunk-L7RXJ44W.mjs +2 -0
  350. package/dist/chunk-LAZXPMSH.mjs +2 -0
  351. package/dist/chunk-LBIDSBDC.mjs +2 -0
  352. package/dist/chunk-LJZAX76P.mjs +2 -0
  353. package/dist/chunk-LLRCEJB4.mjs +2 -0
  354. package/dist/chunk-LMB54POX.mjs +2 -0
  355. package/dist/chunk-LOYVT6OP.mjs +2 -0
  356. package/dist/chunk-LR6FJVUB.mjs +2 -0
  357. package/dist/chunk-LVPA36JM.mjs +2 -0
  358. package/dist/chunk-LW3RTDNQ.mjs +2 -0
  359. package/dist/chunk-LWNH5N3Y.mjs +2 -0
  360. package/dist/chunk-LXYRKMMJ.mjs +2 -0
  361. package/dist/chunk-M2QPQGIL.mjs +2 -0
  362. package/dist/chunk-M5ARCUMU.mjs +2 -0
  363. package/dist/chunk-M67CTKNL.mjs +2 -0
  364. package/dist/chunk-M6RRMOK6.mjs +2 -0
  365. package/dist/chunk-MAZ6YG5Y.mjs +2 -0
  366. package/dist/chunk-MBAL4WEY.mjs +2 -0
  367. package/dist/chunk-MCSWU3SS.mjs +2 -0
  368. package/dist/chunk-MIAOXGNS.mjs +2 -0
  369. package/dist/chunk-MIQTBVNU.mjs +2 -0
  370. package/dist/chunk-MNTYVEVE.mjs +2 -0
  371. package/dist/chunk-MOJOOMRA.mjs +2 -0
  372. package/dist/chunk-MOUGUPBB.mjs +2 -0
  373. package/dist/chunk-MPOE6WS2.mjs +2 -0
  374. package/dist/chunk-MUZ6V67F.mjs +2 -0
  375. package/dist/chunk-MVRODYEW.mjs +2 -0
  376. package/dist/chunk-N2UGKQH4.mjs +2 -0
  377. package/dist/chunk-N4FQWPUI.mjs +2 -0
  378. package/dist/chunk-N4RNKGX6.mjs +2 -0
  379. package/dist/chunk-N7NKALOQ.mjs +2 -0
  380. package/dist/chunk-NDI2LGSM.mjs +2 -0
  381. package/dist/chunk-NEGWM3CK.mjs +2 -0
  382. package/dist/chunk-NJF4O2UD.mjs +2 -0
  383. package/dist/chunk-NKDFB7LH.mjs +2 -0
  384. package/dist/chunk-NKQN5XA6.mjs +2 -0
  385. package/dist/chunk-NKYZ36IO.mjs +2 -0
  386. package/dist/chunk-NKZG4E32.mjs +2 -0
  387. package/dist/chunk-NLUMD5MZ.mjs +2 -0
  388. package/dist/chunk-NMHRHEJQ.mjs +2 -0
  389. package/dist/chunk-NNTBEWRY.mjs +2 -0
  390. package/dist/chunk-NO6MOVSA.mjs +6 -0
  391. package/dist/chunk-NPWONPKN.mjs +2 -0
  392. package/dist/chunk-NSHIWBRU.mjs +2 -0
  393. package/dist/chunk-NTERUKXP.mjs +2 -0
  394. package/dist/chunk-O2V7R5AS.mjs +2 -0
  395. package/dist/chunk-O374VG2Z.mjs +2 -0
  396. package/dist/chunk-O3FTJ6KM.mjs +2 -0
  397. package/dist/chunk-O3KEPWMN.mjs +2 -0
  398. package/dist/chunk-O3U55RD7.mjs +2 -0
  399. package/dist/chunk-OBHTQFWH.mjs +2 -0
  400. package/dist/chunk-ODVPK2MI.mjs +6 -0
  401. package/dist/chunk-OHN3LGAU.mjs +2 -0
  402. package/dist/chunk-OK6FQJZY.mjs +2 -0
  403. package/dist/chunk-OKLH6ZRX.mjs +6 -0
  404. package/dist/chunk-OLJ3XQMX.mjs +2 -0
  405. package/dist/chunk-OLQDEHWZ.mjs +2 -0
  406. package/dist/chunk-OR4ZAUXU.mjs +2 -0
  407. package/dist/chunk-OSL4RF2V.mjs +2 -0
  408. package/dist/chunk-OUAKD4BK.mjs +2 -0
  409. package/dist/chunk-OUPTZNBV.mjs +2 -0
  410. package/dist/chunk-OUQJYIJK.mjs +2 -0
  411. package/dist/chunk-OXPXJ6DV.mjs +2 -0
  412. package/dist/chunk-OZH7NYAG.mjs +2 -0
  413. package/dist/chunk-OZL5DWTU.mjs +2 -0
  414. package/dist/chunk-OZLQ2BGG.mjs +2 -0
  415. package/dist/chunk-PDSUXFDU.mjs +2 -0
  416. package/dist/chunk-PEB3OOJD.mjs +2 -0
  417. package/dist/chunk-PEDQHDGO.mjs +2 -0
  418. package/dist/chunk-PG4SJSE4.mjs +2 -0
  419. package/dist/chunk-PLVAY633.mjs +6 -0
  420. package/dist/chunk-PNI6WOIE.mjs +2 -0
  421. package/dist/chunk-PSD4VLL7.mjs +2 -0
  422. package/dist/chunk-PUMZASOU.mjs +2 -0
  423. package/dist/chunk-PV53CAPL.mjs +2 -0
  424. package/dist/chunk-PXKQQK7F.mjs +2 -0
  425. package/dist/chunk-Q4ASP33R.mjs +2 -0
  426. package/dist/chunk-Q5KEJKGK.mjs +2 -0
  427. package/dist/chunk-Q5KRG5EO.mjs +2 -0
  428. package/dist/chunk-Q5MRUOJO.mjs +2 -0
  429. package/dist/chunk-Q5RNXKRU.mjs +2 -0
  430. package/dist/chunk-QAJY2VWJ.mjs +6 -0
  431. package/dist/chunk-QB4VHFVE.mjs +2 -0
  432. package/dist/chunk-QF4ZG4IO.mjs +2 -0
  433. package/dist/chunk-QI5N3AKM.mjs +2 -0
  434. package/dist/chunk-QQUGCKIN.mjs +2 -0
  435. package/dist/chunk-QUCUV4TH.mjs +2 -0
  436. package/dist/chunk-QVD7OXUV.mjs +2 -0
  437. package/dist/chunk-QZ2HLLTX.mjs +2 -0
  438. package/dist/chunk-QZZG5JIN.mjs +2 -0
  439. package/dist/chunk-R3HER2QA.mjs +2 -0
  440. package/dist/chunk-R3YR4LC6.mjs +2 -0
  441. package/dist/chunk-R4KDWH4W.mjs +2 -0
  442. package/dist/chunk-R4KEOG3E.mjs +6 -0
  443. package/dist/chunk-R7LUD3W6.mjs +2 -0
  444. package/dist/chunk-RAUXDUU7.mjs +2 -0
  445. package/dist/chunk-RDBDUTWD.mjs +2 -0
  446. package/dist/chunk-RDCD5KJX.mjs +2 -0
  447. package/dist/chunk-REH4L7H7.mjs +2 -0
  448. package/dist/chunk-RGVCFXWK.mjs +2 -0
  449. package/dist/chunk-RI6JIZZD.mjs +2 -0
  450. package/dist/chunk-RPUROL4I.mjs +2 -0
  451. package/dist/chunk-RQMSLLPK.mjs +2 -0
  452. package/dist/chunk-RRNKXXH6.mjs +2 -0
  453. package/dist/chunk-RRPR34R2.mjs +6 -0
  454. package/dist/chunk-RUFIYUWE.mjs +2 -0
  455. package/dist/chunk-RVI2B5RN.mjs +2 -0
  456. package/dist/chunk-RVNLURMM.mjs +2 -0
  457. package/dist/chunk-RY3THW7P.mjs +2 -0
  458. package/dist/chunk-RZGSOJYO.mjs +2 -0
  459. package/dist/chunk-RZQWS5UQ.mjs +2 -0
  460. package/dist/chunk-S5QECAZN.mjs +2 -0
  461. package/dist/chunk-SAF3LENR.mjs +2 -0
  462. package/dist/chunk-SBUWOAMD.mjs +2 -0
  463. package/dist/chunk-SCLUM3KX.mjs +2 -0
  464. package/dist/chunk-SDDPW7OS.mjs +2 -0
  465. package/dist/chunk-SDUHSZOE.mjs +2 -0
  466. package/dist/chunk-SES5K3VW.mjs +2 -0
  467. package/dist/chunk-SHAX3XHU.mjs +2 -0
  468. package/dist/chunk-SJ7AGXLW.mjs +2 -0
  469. package/dist/chunk-SJBC3MX4.mjs +2 -0
  470. package/dist/chunk-SJBE53SX.mjs +2 -0
  471. package/dist/chunk-SKSF2QU4.mjs +2 -0
  472. package/dist/chunk-SKZITERI.mjs +2 -0
  473. package/dist/chunk-SO5MY6MP.mjs +2 -0
  474. package/dist/chunk-SQ72NMUG.mjs +2 -0
  475. package/dist/chunk-SSR5HDSW.mjs +2 -0
  476. package/dist/chunk-SYFACKWG.mjs +2 -0
  477. package/dist/chunk-T3MTCKPD.mjs +2 -0
  478. package/dist/chunk-T5ANRHLT.mjs +2 -0
  479. package/dist/chunk-T6JL3WOA.mjs +2 -0
  480. package/dist/chunk-TBSSVSOU.mjs +2 -0
  481. package/dist/chunk-TEUVWUM3.mjs +2 -0
  482. package/dist/chunk-TF3LDJ5R.mjs +6 -0
  483. package/dist/chunk-THHLBN7N.mjs +2 -0
  484. package/dist/chunk-TI5KXH5C.mjs +2 -0
  485. package/dist/chunk-TJ3U346L.mjs +2 -0
  486. package/dist/chunk-TKILHP52.mjs +2 -0
  487. package/dist/chunk-TKUJ45O7.mjs +2 -0
  488. package/dist/chunk-TNAH7N5Q.mjs +2 -0
  489. package/dist/chunk-TPAIXPEW.mjs +2 -0
  490. package/dist/chunk-TUG5B6HV.mjs +2 -0
  491. package/dist/chunk-TWOXOTB5.mjs +2 -0
  492. package/dist/chunk-TYJUNW4W.mjs +2 -0
  493. package/dist/chunk-TZJEIYJ5.mjs +2 -0
  494. package/dist/chunk-U566KVYJ.mjs +6 -0
  495. package/dist/chunk-U7YZTR7L.mjs +2 -0
  496. package/dist/chunk-UE5FESA4.mjs +2 -0
  497. package/dist/chunk-UEX4RCBB.mjs +6 -0
  498. package/dist/chunk-UG73AMUT.mjs +2 -0
  499. package/dist/chunk-UGCRJZJX.mjs +2 -0
  500. package/dist/chunk-UIFZOBQS.mjs +2 -0
  501. package/dist/chunk-UJPYXZSJ.mjs +6 -0
  502. package/dist/chunk-UPCYYH6V.mjs +2 -0
  503. package/dist/chunk-UQRA5CIK.mjs +2 -0
  504. package/dist/chunk-UQUT3ZK3.mjs +2 -0
  505. package/dist/chunk-UU26UDN7.mjs +2 -0
  506. package/dist/chunk-UVGBM4KM.mjs +2 -0
  507. package/dist/chunk-UWEWDVB4.mjs +2 -0
  508. package/dist/chunk-UXC6FRSO.mjs +2 -0
  509. package/dist/chunk-V2FDPSFN.mjs +2 -0
  510. package/dist/chunk-V6VNLKIG.mjs +2 -0
  511. package/dist/chunk-V6YDESTV.mjs +2 -0
  512. package/dist/chunk-VABK3NNS.mjs +2 -0
  513. package/dist/chunk-VC26F3RP.mjs +2 -0
  514. package/dist/chunk-VDHVVWG6.mjs +2 -0
  515. package/dist/chunk-VGFEGFII.mjs +2 -0
  516. package/dist/chunk-VGHATC2D.mjs +2 -0
  517. package/dist/chunk-VHICV25E.mjs +2 -0
  518. package/dist/chunk-VIJB2P4M.mjs +2 -0
  519. package/dist/chunk-VJB6JLDV.mjs +2 -0
  520. package/dist/chunk-VKB7TCLW.mjs +2 -0
  521. package/dist/chunk-VL4RHFEN.mjs +2 -0
  522. package/dist/chunk-VMYST2HS.mjs +2 -0
  523. package/dist/chunk-VN656M5F.mjs +2 -0
  524. package/dist/chunk-VOYPFLKP.mjs +2 -0
  525. package/dist/chunk-VRJ2NRSO.mjs +2 -0
  526. package/dist/chunk-VSWAUQIL.mjs +2 -0
  527. package/dist/chunk-VTRRJHUU.mjs +2 -0
  528. package/dist/chunk-VTSJYP2N.mjs +2 -0
  529. package/dist/chunk-VU52JHH5.mjs +2 -0
  530. package/dist/chunk-VVUU6JRM.mjs +2 -0
  531. package/dist/chunk-VVZOOOJY.mjs +2 -0
  532. package/dist/chunk-W23T3CXB.mjs +2 -0
  533. package/dist/chunk-W3Y4CZGN.mjs +2 -0
  534. package/dist/chunk-W4C3OZTS.mjs +2 -0
  535. package/dist/chunk-W7WEA2ZV.mjs +2 -0
  536. package/dist/chunk-WF5VDI7X.mjs +2 -0
  537. package/dist/chunk-WFJSFTVW.mjs +2 -0
  538. package/dist/chunk-WFLL3SHE.mjs +6 -0
  539. package/dist/chunk-WGCI5T3R.mjs +6 -0
  540. package/dist/chunk-WGXEON4V.mjs +2 -0
  541. package/dist/chunk-WH27MDW6.mjs +2 -0
  542. package/dist/chunk-WIS4N3GF.mjs +2 -0
  543. package/dist/chunk-WJB35KEW.mjs +2 -0
  544. package/dist/chunk-WJICABWO.mjs +2 -0
  545. package/dist/chunk-WMAJWRVF.mjs +6 -0
  546. package/dist/chunk-WOEZLFFM.mjs +2 -0
  547. package/dist/chunk-WOOWWHYP.mjs +2 -0
  548. package/dist/chunk-WQPHAMKG.mjs +2 -0
  549. package/dist/chunk-WQSW7LJU.mjs +2 -0
  550. package/dist/chunk-WSG3I47M.mjs +2 -0
  551. package/dist/chunk-WYFG5LXQ.mjs +2 -0
  552. package/dist/chunk-X5XFF7SS.mjs +2 -0
  553. package/dist/chunk-X72BZPN3.mjs +2 -0
  554. package/dist/chunk-XC2AX62T.mjs +2 -0
  555. package/dist/chunk-XCLT6ETU.mjs +6 -0
  556. package/dist/chunk-XEYIVIYO.mjs +2 -0
  557. package/dist/chunk-XEZMUHIV.mjs +2 -0
  558. package/dist/chunk-XLCQBU5J.mjs +2 -0
  559. package/dist/chunk-XLMDO4ZL.mjs +2 -0
  560. package/dist/chunk-XPZTGCEI.mjs +2 -0
  561. package/dist/chunk-XTBZIQ2U.mjs +2 -0
  562. package/dist/chunk-XUCXF47V.mjs +2 -0
  563. package/dist/chunk-XVRD64YX.mjs +6 -0
  564. package/dist/chunk-XW3NMHCT.mjs +2 -0
  565. package/dist/chunk-XWEN3PFJ.mjs +2 -0
  566. package/dist/chunk-XZGMS5ZH.mjs +2 -0
  567. package/dist/chunk-Y2W7AILC.mjs +2 -0
  568. package/dist/chunk-Y4HMM6AU.mjs +2 -0
  569. package/dist/chunk-Y4QF7RN2.mjs +2 -0
  570. package/dist/chunk-YCNFF3Q2.mjs +2 -0
  571. package/dist/chunk-YEZMS6DB.mjs +2 -0
  572. package/dist/chunk-YF7NXSU4.mjs +2 -0
  573. package/dist/chunk-YFTL7BRZ.mjs +6 -0
  574. package/dist/chunk-YGGS2GND.mjs +2 -0
  575. package/dist/chunk-YI2MXKDK.mjs +2 -0
  576. package/dist/chunk-YNY4Y3TS.mjs +2 -0
  577. package/dist/chunk-YPUGSNR3.mjs +2 -0
  578. package/dist/chunk-YQAFXCBS.mjs +2 -0
  579. package/dist/chunk-YVKMEUKA.mjs +2 -0
  580. package/dist/chunk-YWNA7F3R.mjs +2 -0
  581. package/dist/chunk-YZCRKBXT.mjs +2 -0
  582. package/dist/chunk-YZDKBALF.mjs +6 -0
  583. package/dist/chunk-Z2QCHWY3.mjs +2 -0
  584. package/dist/chunk-Z2VDBFTY.mjs +2 -0
  585. package/dist/chunk-Z3YV2WRJ.mjs +2 -0
  586. package/dist/chunk-ZBWYXGD2.mjs +2 -0
  587. package/dist/chunk-ZCVIMP3Z.mjs +6 -0
  588. package/dist/chunk-ZFMAOKZG.mjs +2 -0
  589. package/dist/chunk-ZGYSZEW5.mjs +2 -0
  590. package/dist/chunk-ZIT4I6Y3.mjs +2 -0
  591. package/dist/chunk-ZJGLR3ZA.mjs +2 -0
  592. package/dist/chunk-ZJICX3BL.mjs +2 -0
  593. package/dist/chunk-ZJWHCAS3.mjs +2 -0
  594. package/dist/chunk-ZKAEB6EP.mjs +2 -0
  595. package/dist/chunk-ZLRQTD6Y.mjs +2 -0
  596. package/dist/chunk-ZNBFWJ76.mjs +2 -0
  597. package/dist/chunk-ZNUVBW2G.mjs +2 -0
  598. package/dist/chunk-ZPH6QMWS.mjs +2 -0
  599. package/dist/chunk-ZPPR2L25.mjs +6 -0
  600. package/dist/chunk-ZQFWVOBH.mjs +2 -0
  601. package/dist/chunk-ZSO3KWDZ.mjs +2 -0
  602. package/dist/chunk-ZUWQQ4UY.mjs +2 -0
  603. package/dist/chunk-ZWSXYDQQ.mjs +2 -0
  604. package/dist/chunk-ZXTST5XC.mjs +2 -0
  605. package/dist/chunk-ZXTSXTXC.mjs +6 -0
  606. package/dist/chunk-ZZGTNYHX.mjs +2 -0
  607. package/dist/composite-logo.mjs +1 -1
  608. package/dist/copy-button.mjs +1 -1
  609. package/dist/counting-numbers.mjs +1 -1
  610. package/dist/date-picker/calendar.mjs +1 -1
  611. package/dist/date-picker/date-range-picker.mjs +1 -1
  612. package/dist/date-picker/presets.mjs +1 -1
  613. package/dist/date-picker/trigger.mjs +1 -1
  614. package/dist/file-upload.mjs +1 -1
  615. package/dist/filter/filter-list.mjs +1 -1
  616. package/dist/filter/filter-select.mjs +1 -1
  617. package/dist/footer.mjs +1 -1
  618. package/dist/form.mjs +1 -1
  619. package/dist/icons/expanding-arrow.mjs +1 -1
  620. package/dist/icons/go.d.ts +6 -0
  621. package/dist/icons/go.mjs +2 -0
  622. package/dist/icons/index.d.ts +19 -0
  623. package/dist/icons/index.mjs +1 -1
  624. package/dist/icons/linkedin.mjs +1 -1
  625. package/dist/icons/loading-circle.mjs +1 -1
  626. package/dist/icons/loading-spinner.mjs +1 -1
  627. package/dist/icons/nucleo/blog.d.ts +6 -0
  628. package/dist/icons/nucleo/blog.mjs +2 -0
  629. package/dist/icons/nucleo/book2.d.ts +6 -0
  630. package/dist/icons/nucleo/book2.mjs +2 -0
  631. package/dist/icons/nucleo/bullet-list.d.ts +6 -0
  632. package/dist/icons/nucleo/bullet-list.mjs +2 -0
  633. package/dist/icons/nucleo/chart-line.d.ts +6 -0
  634. package/dist/icons/nucleo/chart-line.mjs +2 -0
  635. package/dist/icons/nucleo/code.d.ts +6 -0
  636. package/dist/icons/nucleo/code.mjs +2 -0
  637. package/dist/icons/nucleo/headset.d.ts +6 -0
  638. package/dist/icons/nucleo/headset.mjs +2 -0
  639. package/dist/icons/nucleo/hexadecagon-star.d.ts +6 -0
  640. package/dist/icons/nucleo/hexadecagon-star.mjs +2 -0
  641. package/dist/icons/nucleo/key.d.ts +6 -0
  642. package/dist/icons/nucleo/key.mjs +2 -0
  643. package/dist/icons/nucleo/paintbrush.d.ts +6 -0
  644. package/dist/icons/nucleo/paintbrush.mjs +2 -0
  645. package/dist/icons/nucleo/stars2.d.ts +6 -0
  646. package/dist/icons/nucleo/stars2.mjs +2 -0
  647. package/dist/icons/nucleo/users.d.ts +6 -0
  648. package/dist/icons/nucleo/users.mjs +2 -0
  649. package/dist/icons/nucleo/window-settings.d.ts +6 -0
  650. package/dist/icons/nucleo/window-settings.mjs +2 -0
  651. package/dist/icons/prisma.d.ts +6 -0
  652. package/dist/icons/prisma.mjs +2 -0
  653. package/dist/icons/python.d.ts +6 -0
  654. package/dist/icons/python.mjs +2 -0
  655. package/dist/icons/raycast.d.ts +6 -0
  656. package/dist/icons/raycast.mjs +2 -0
  657. package/dist/icons/ruby.d.ts +6 -0
  658. package/dist/icons/ruby.mjs +2 -0
  659. package/dist/icons/sort-order.mjs +1 -1
  660. package/dist/icons/tinybird.d.ts +6 -0
  661. package/dist/icons/tinybird.mjs +2 -0
  662. package/dist/icons/twitter.mjs +1 -1
  663. package/dist/icons/typescript.d.ts +6 -0
  664. package/dist/icons/typescript.mjs +2 -0
  665. package/dist/icons/youtube.mjs +1 -1
  666. package/dist/index.css +1 -1
  667. package/dist/index.d.ts +60 -8
  668. package/dist/index.mjs +1 -1
  669. package/dist/input-select.mjs +1 -1
  670. package/dist/label.mjs +1 -1
  671. package/dist/link-logo.mjs +1 -1
  672. package/dist/link-preview.mjs +1 -1
  673. package/dist/logo.mjs +1 -1
  674. package/dist/max-width-wrapper.mjs +1 -1
  675. package/dist/modal.mjs +1 -1
  676. package/dist/nav/content/product-content.d.ts +6 -0
  677. package/dist/nav/content/product-content.mjs +2 -0
  678. package/dist/nav/content/resources-content.d.ts +6 -0
  679. package/dist/nav/content/resources-content.mjs +2 -0
  680. package/dist/nav/content/shared.d.ts +22 -0
  681. package/dist/nav/content/shared.mjs +2 -0
  682. package/dist/nav/content/solutions-content.d.ts +6 -0
  683. package/dist/nav/content/solutions-content.mjs +2 -0
  684. package/dist/nav/nav-mobile.d.ts +14 -0
  685. package/dist/nav/nav-mobile.mjs +2 -0
  686. package/dist/nav/nav.d.ts +42 -0
  687. package/dist/nav/nav.mjs +2 -0
  688. package/dist/nav-logo.mjs +1 -1
  689. package/dist/nav-mobile.mjs +1 -1
  690. package/dist/nav.mjs +1 -1
  691. package/dist/popover.mjs +1 -1
  692. package/dist/progress-bar.mjs +1 -1
  693. package/dist/radio-group.mjs +1 -1
  694. package/dist/shared-d1be4b94.d.ts +5 -0
  695. package/dist/switch.mjs +1 -1
  696. package/dist/tab-select.mjs +1 -1
  697. package/dist/table/table.d.ts +42 -0
  698. package/dist/table/table.mjs +2 -0
  699. package/dist/table/use-table-pagination.d.ts +13 -0
  700. package/dist/table/use-table-pagination.mjs +2 -0
  701. package/dist/toggle-group.mjs +1 -1
  702. package/dist/tooltip.d.ts +1 -1
  703. package/dist/tooltip.mjs +1 -1
  704. package/dist/user-967d33e3.d.ts +8 -0
  705. package/dist/wordmark.mjs +1 -1
  706. package/package.json +1 -1
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as _}from"./chunk-2D3HRLYL.mjs";import{a as R}from"./chunk-ZNBFWJ76.mjs";import{a as W}from"./chunk-GFUFVOPR.mjs";import{a as M,d as S,e as L,f as w}from"./chunk-JG7HARGV.mjs";import{a as E}from"./chunk-DMLF4GJF.mjs";import{a as V}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function H(r){let[e,m]=Z(!1),a=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),T(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as $,Home as z,LayoutGrid as U,Type as j}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function B(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=F(),{theme:g}=Y(x),[b,c]=q(!1),n=K(d=>{d.preventDefault(),c(!0)},[]);return D(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(E,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(J),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(Q),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as ne,jsx as t,jsxs as u}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Product",href:"/",content:_,childItems:M},{name:"Solutions",content:W,childItems:S},{name:"Pricing",href:"/pricing"},{name:"Resources",content:R,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Be({theme:r="light"}){let{domain:e="dub.co"}=ee(),m=H(80),a=te(),{data:g,isLoading:b}=re(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(A,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ae.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(ie,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:O({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(O({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:u(ne,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function ie({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,ae as c,Be as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e}from"./chunk-JKSIE5IM.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as t}from"./chunk-MAZ6YG5Y.mjs";import{a as i,c as s,e as a}from"./chunk-QZZG5JIN.mjs";import{e as o}from"./chunk-DMADXWHH.mjs";import{i as l}from"./chunk-JP57AFGB.mjs";import{jsx as C,jsxs as e}from"react/jsx-runtime";function m({domain:r}){return e("div",{className:"grid w-[32rem] grid-cols-2",children:[e("div",{className:"p-5",children:[C("p",{className:l(i,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:[C(a,{name:"Spotify Link Shortener",href:t("/tools/spotify-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),C("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}),C(a,{name:"ChatGPT Link Shortener",href:t("/tools/chatgpt-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"black"}),C("path",{d:"M173.607 97.7454C176.886 87.8002 175.751 76.9142 170.492 67.8719C162.584 54.0098 146.691 46.8792 131.17 50.2298C122.423 40.4311 109.151 36.0738 96.3504 38.7981C83.5497 41.5224 73.1632 50.9148 69.1005 63.4398C58.9049 65.5455 50.1051 71.9745 44.9529 81.0819C36.9593 94.9215 38.7736 112.379 49.4395 124.252C46.1479 134.192 47.2727 145.08 52.5258 154.125C60.4432 167.992 76.3466 175.122 91.8764 171.767C98.784 179.601 108.708 184.058 119.11 183.999C135.02 184.014 149.114 173.67 153.974 158.414C164.168 156.304 172.967 149.876 178.122 140.771C186.019 126.956 184.197 109.593 173.607 97.7454ZM119.11 174.444C112.76 174.454 106.609 172.213 101.735 168.112L102.593 167.623L131.456 150.844C132.917 149.981 133.818 148.406 133.827 146.7V105.717L146.03 112.826C146.152 112.889 146.237 113.006 146.258 113.143V147.103C146.227 162.19 134.091 174.412 119.11 174.444ZM60.756 149.348C57.5714 143.81 56.428 137.318 57.5268 131.015L58.3841 131.533L87.2755 148.312C88.7311 149.172 90.535 149.172 91.9907 148.312L127.283 127.82V142.009C127.277 142.158 127.203 142.296 127.083 142.383L97.849 159.363C84.8581 166.9 68.2607 162.419 60.756 149.348ZM53.1545 86.032C56.3612 80.4583 61.4227 76.207 67.443 74.0308V108.567C67.4209 110.266 68.3188 111.843 69.7863 112.682L104.907 133.087L92.7051 140.196C92.5711 140.267 92.4105 140.267 92.2764 140.196L63.0993 123.244C50.134 115.676 45.6875 98.9734 53.1545 85.8881V86.032ZM153.403 109.488L118.167 88.8812L130.341 81.8013C130.475 81.7297 130.636 81.7297 130.77 81.8013L159.947 98.7815C169.053 104.074 174.307 114.185 173.432 124.737C172.557 135.289 165.712 144.383 155.86 148.082V113.546C155.809 111.851 154.875 110.309 153.403 109.488ZM165.548 91.0973L164.691 90.5792L135.856 73.6566C134.392 72.7912 132.577 72.7912 131.113 73.6566L95.8486 94.1479V79.9594C95.8333 79.8125 95.8991 79.6689 96.02 79.5853L125.197 62.6339C134.326 57.3376 145.672 57.8319 154.312 63.9022C162.953 69.9726 167.331 80.5253 165.548 90.9821V91.0973ZM89.1901 116.251L76.9877 109.171C76.8644 109.096 76.7807 108.969 76.7591 108.826V74.9517C76.773 64.3439 82.8721 54.6994 92.4112 50.201C101.95 45.7026 113.211 47.1605 121.311 53.9424L120.453 54.4316L91.5906 71.2103C90.1293 72.0736 89.2279 73.6485 89.2187 75.3546L89.1901 116.251ZM95.82 101.861L111.537 92.7377L127.283 101.861V120.107L111.595 129.231L95.8486 120.107L95.82 101.861Z",fill:"url(#paint0_radial_39_26)"}),C("defs",{children:e("radialGradient",{id:"paint0_radial_39_26",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(40 38) rotate(45.5947) scale(204.365 204.365)",children:[C("stop",{stopColor:"white",stopOpacity:"0.85"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}),C(a,{name:"GitHub Link Shortener",href:t("/tools/github-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:e("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}),C(a,{name:"Amazon Link Shortener",href:t("/tools/amazon-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_linear_39_35)"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.627 151.288C165.868 148.976 155.967 150.187 151.538 150.74C150.176 150.91 149.967 149.698 151.198 148.825C159.073 143.144 172.023 144.772 173.515 146.687C175.032 148.602 173.137 161.895 165.718 168.236C164.584 169.22 163.503 168.692 164.012 167.402C165.66 163.141 169.406 153.595 167.627 151.288ZM161.889 158.017C148.087 168.43 128.096 174 110.873 174C86.7384 174 65.0031 164.852 48.5549 149.615C47.2658 148.423 48.424 146.794 49.9749 147.72C67.7121 158.308 89.6704 164.668 112.331 164.668C127.607 164.668 144.438 161.43 159.888 154.686C162.233 153.683 164.186 156.257 161.894 158.002M120.018 102.131C120.018 108.758 120.187 114.27 116.989 120.141C114.415 124.911 110.325 127.849 105.765 127.849C99.5374 127.849 95.9221 122.889 95.9221 115.559C95.9221 101.093 108.304 98.4611 120.022 98.4611L120.022 102.136M136.379 143.493C135.317 144.496 133.766 144.574 132.555 143.91C127.18 139.231 126.211 137.055 123.24 132.585C114.343 142.092 108.057 144.932 96.5085 144.932C82.8614 144.932 72.2288 136.129 72.2288 118.497C72.2288 104.729 79.3673 95.3391 89.5105 90.753C98.2967 86.7002 110.601 85.9828 120.008 84.863L120.008 82.6669C120.008 78.6335 120.313 73.8632 118.06 70.3776C116.073 67.2508 112.288 65.9661 108.954 65.9661C102.765 65.9661 97.2548 69.2819 95.9124 76.1562C95.6265 77.6881 94.57 79.1861 93.0919 79.2637L77.361 77.5039C76.0379 77.1839 74.5792 76.0641 74.9379 73.9456C78.5725 54.0258 95.8009 48 111.207 48C119.102 48 129.419 50.1961 135.632 56.4449C143.527 64.153 142.771 74.4352 142.771 85.6289L142.771 112.064C142.771 120.019 145.911 123.5 148.887 127.8C149.929 129.318 150.156 131.169 148.848 132.309C145.533 135.227 139.65 140.564 136.412 143.575L136.354 143.517",fill:"url(#paint1_radial_39_35)"}),e("defs",{children:[e("linearGradient",{id:"paint0_linear_39_35",x1:"0",y1:"0",x2:"222",y2:"222",gradientUnits:"userSpaceOnUse",children:[C("stop",{stopColor:"#FF9900"}),C("stop",{offset:"0.5",stopColor:"#FF9900"}),C("stop",{offset:"1",stopColor:"#EA580C"})]}),e("radialGradient",{id:"paint1_radial_39_35",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(48 48) rotate(45) scale(178.191 178.229)",children:[C("stop",{stopColor:"white"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})]})]})]})})]})]}),e("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[C("p",{className:l(i,"mb-2"),children:"Resources"}),C("div",{className:"-mx-2 flex flex-col gap-0.5",children:o.map(({icon:n,name:p,href:d})=>C(s,{href:t(d,r),icon:C(n,{className:l("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:p}))})]})]})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as o}from"./chunk-ELWUYRKK.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-MAZ6YG5Y.mjs";import{a as n,c as l,d as f}from"./chunk-YNY4Y3TS.mjs";import{c as d,d as p}from"./chunk-DMADXWHH.mjs";import{i as r}from"./chunk-JP57AFGB.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";function b({domain:c}){return m("div",{className:"grid w-[32rem] grid-cols-[5fr_3fr]",children:[m("div",{className:"p-5",children:[e("p",{className:r(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:d.map(({icon:i,title:t,description:a,href:o})=>e(l,{href:s(o,c),icon:e(f,{icon:i}),title:t,description:a}))})]}),m("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:r(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:t,name:a,href:o})=>e(l,{href:s(o,c),icon:e(i,{className:r("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:a},o))})]})]})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-K4MP745I.mjs";import{h as d}from"./chunk-3I3KYVGK.mjs";import*as o from"@radix-ui/react-popover";import{Drawer as r}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u({children:t,content:n,align:m="center",openPopover:a,setOpenPopover:l,mobileOnly:v,popoverContentClassName:c,collisionBoundary:g,sticky:P,onEscapeKeyDown:s}){let{isMobile:b}=p();return v||b?i(r.Root,{open:a,onOpenChange:l,children:[e(r.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(r.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(r.Portal,{children:[i(r.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",onEscapeKeyDown:s,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:n})]}),e(r.Overlay,{})]})]}):i(o.Root,{open:a,onOpenChange:l,children:[e(o.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(o.Portal,{children:e(o.Content,{sideOffset:8,align:m,className:d("animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",c),sticky:P,collisionBoundary:g,onEscapeKeyDown:s,children:n})})]})}export{u as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as b}from"./chunk-NJF4O2UD.mjs";import{i as s}from"./chunk-JP57AFGB.mjs";import{cva as L}from"class-variance-authority";import{UploadCloud as V}from"lucide-react";import{useState as F}from"react";import{toast as h}from"sonner";import{Fragment as M,jsx as t,jsxs as c}from"react/jsx-runtime";var d={any:{types:[]},images:{types:["image/png","image/jpeg"],errorMessage:"File type not supported (.png or .jpg only)"}},z=L("group relative isolate flex aspect-[1200/630] w-full flex-col items-center justify-center overflow-hidden bg-white transition-all hover:bg-gray-50",{variants:{variant:{default:"rounded-md border border-gray-300 shadow-sm",plain:""}},defaultVariants:{variant:"default"}});function J({readFile:N,onChange:r,variant:w,className:D,iconClassName:x,accept:i="any",imageSrc:l,loading:P=!1,clickToUpload:n=!0,showHoverOverlay:R=!0,content:u,maxFileSizeMB:p=0,accessibilityLabel:U="File upload"}){let[g,o]=F(!1),[j,T]=F(null),f=async e=>{let a="dataTransfer"in e?e.dataTransfer.files&&e.dataTransfer.files[0]:e.target.files&&e.target.files[0];if(!a)return;if(T(a.name),p>0&&a.size/1024/1024>p){h.error(`File size too big (max ${p} MB)`);return}let m=d[i].types;if(m.length&&!m.includes(a.type)){h.error(d[i].errorMessage??"File type not supported");return}if(N){let y=new FileReader;y.onload=E=>{var v;return r==null?void 0:r({src:(v=E.target)==null?void 0:v.result,file:a})},y.readAsDataURL(a);return}r==null||r({file:a})};return c("label",{className:s(z({variant:w}),n&&"cursor-pointer",D),children:[P&&t("div",{className:"absolute inset-0 z-[5] flex items-center justify-center rounded-[inherit] bg-white",children:t(b,{})}),t("div",{className:"absolute inset-0 z-[5]",onDragOver:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragEnter:e=>{e.preventDefault(),e.stopPropagation(),o(!0)},onDragLeave:e=>{e.preventDefault(),e.stopPropagation(),o(!1)},onDrop:async e=>{e.preventDefault(),e.stopPropagation(),f(e),o(!1)}}),c("div",{className:s("absolute inset-0 z-[3] flex flex-col items-center justify-center rounded-[inherit] bg-white transition-all",g&&"cursor-copy border-2 border-black bg-gray-50 opacity-100",l?s("opacity-0",R&&"group-hover:opacity-100"):"group-hover:bg-gray-50"),children:[t(V,{className:s("h-7 w-7 text-gray-500 transition-all duration-75 group-hover:scale-110 group-active:scale-95",g?"scale-110":"scale-100",x)}),u!==null&&t("div",{className:"mt-2 text-center text-sm text-gray-500",children:u??t(M,{children:c("p",{children:["Drag and drop ",n&&"or click"," to upload."]})})}),t("span",{className:"sr-only",children:U})]}),l&&t("img",{src:l,alt:"Preview",className:"h-full w-full rounded-[inherit] object-cover"}),n&&t("div",{className:"sr-only mt-1 flex shadow-sm",children:t("input",{type:"file",accept:d[i].types.join(","),onChange:f},j)})]})}export{J as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as m}from"./chunk-O3KEPWMN.mjs";import{g as i}from"./chunk-CHJUJE4X.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-400 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{i as C}from"./chunk-JP57AFGB.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z",fill:"currentColor"})]})}export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as x,f as N}from"./chunk-RRPR34R2.mjs";import{a as v}from"./chunk-HPOHGCIW.mjs";import{a as b}from"./chunk-5FA55CVM.mjs";import{a as y}from"./chunk-MVRODYEW.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{a as h}from"./chunk-OLQDEHWZ.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-JP57AFGB.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:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{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("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 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(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",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:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",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:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.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:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),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{O as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as _}from"./chunk-C76ZKE43.mjs";import{a as R}from"./chunk-ZNBFWJ76.mjs";import{a as W}from"./chunk-GFUFVOPR.mjs";import{a as M,d as S,e as L,f as w}from"./chunk-JG7HARGV.mjs";import{a as E}from"./chunk-DMLF4GJF.mjs";import{a as V}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function H(r){let[e,m]=Z(!1),a=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),T(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as $,Home as z,LayoutGrid as U,Type as j}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function B(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=F(),{theme:g}=Y(x),[b,c]=q(!1),n=K(d=>{d.preventDefault(),c(!0)},[]);return D(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(E,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(J),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(Q),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as ne,jsx as t,jsxs as u}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Product",href:"/",content:_,childItems:M},{name:"Solutions",content:W,childItems:S},{name:"Pricing",href:"/pricing"},{name:"Resources",content:R,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Be({theme:r="light"}){let{domain:e="dub.co"}=ee(),m=H(80),a=te(),{data:g,isLoading:b}=re(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(A,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ae.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(ie,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:O({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(O({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:u(ne,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function ie({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,ae as c,Be as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as i,g as c,i as t}from"./chunk-JP57AFGB.mjs";import{Menu as h,X as g}from"lucide-react";import l from"next/link";import{useParams as u}from"next/navigation";import{useEffect as p,useState as b}from"react";import k from"swr";import{Fragment as N,jsx as e,jsxs as s}from"react/jsx-runtime";var y=[{name:"Product",href:"/"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"},{name:"Docs",href:"/docs"},{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Brand",href:"/brand"}];function D({theme:d="light"}){let{domain:n="dub.co"}=u(),[a,r]=b(!1);p(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:m}=k(n==="dub.co"&&"/api/auth/session",c,{dedupingInterval:6e4});return s("div",{className:t(d==="dark"&&"dark"),children:[e("button",{onClick:()=>r(!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 dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(g,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(h,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:t("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"animate-fade-in block"),children:s("ul",{className:"grid grid-cols-2",children:[y.map(({name:f,href:o},v)=>e("li",{className:"py-3",children:e(l,{href:n==="dub.co"?o:`https://dub.co${o}`,onClick:()=>r(!1),className:"flex w-full text-lg font-medium capitalize",children:f})},o)),m&&Object.keys(m).length>0?e("li",{className:"py-3",children:e(l,{href:i,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(N,{children:[e("li",{className:"py-3",children:e(l,{href:`${i}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(l,{href:`${i}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as N}from"./chunk-BRGDOGU3.mjs";import{a as x}from"./chunk-KTINRJRF.mjs";import{a as v}from"./chunk-HPOHGCIW.mjs";import{a as b}from"./chunk-5FA55CVM.mjs";import{a as y}from"./chunk-MVRODYEW.mjs";import{a as h}from"./chunk-OLQDEHWZ.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-JP57AFGB.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:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{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("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 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(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",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:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",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:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.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:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),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{O as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as h}from"./chunk-ODVPK2MI.mjs";import{d as m,g as u,i as t}from"./chunk-JP57AFGB.mjs";import{ChevronDown as k,Menu as v,X as w}from"lucide-react";import n from"next/link";import{useParams as g}from"next/navigation";import{useEffect as x,useState as b}from"react";import L from"swr";import{Fragment as C,jsx as e,jsxs as i}from"react/jsx-runtime";function S({theme:r="light"}){let{domain:d="dub.co"}=g(),[a,s]=b(!1);x(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:l}=L(d==="dub.co"&&"/api/auth/session",u,{dedupingInterval:6e4});return i("div",{className:t(r==="dark"&&"dark"),children:[e("button",{onClick:()=>s(!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 dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(v,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:t("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[h.map(({name:o,href:c,childItems:f})=>e(z,{name:o,href:c,childItems:f,setOpen:s},c)),l&&Object.keys(l).length>0?e("li",{className:"py-3",children:e(n,{href:m,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i(C,{children:[e("li",{className:"py-3",children:e(n,{href:`${m}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(n,{href:`${m}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var z=({name:r,href:d,childItems:a,setOpen:s})=>{let{domain:l="dub.co"}=g(),[o,c]=b(!1);return a?i("li",{className:"py-3",children:[i("button",{className:"flex w-full justify-between",onClick:()=>c(!o),children:[e("p",{className:"font-semibold",children:r}),e(k,{className:t("h-5 w-5 text-gray-500 transition-all dark:text-white/50",o&&"rotate-180")})]}),o&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:f,href:p,icon:y,iconClassName:N})=>i(n,{href:l==="dub.co"?`/${p}`:`https://dub.co/${p}`,onClick:()=>s(!1),className:"flex w-full space-x-2",children:[e(y,{className:t("h-5 w-5 text-gray-500 dark:text-white/80",N)}),e("span",{className:"text-sm",children:f})]},p))})]}):e("li",{className:"py-3",children:e(n,{href:l==="dub.co"?`/${d}`:`https://dub.co/${d}`,onClick:()=>s(!1),className:"flex w-full font-semibold capitalize",children:r})})};export{S as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as g}from"./chunk-R4KEOG3E.mjs";import{b as u}from"./chunk-2SIZB6Z2.mjs";import{d as c,g as h,i as t}from"./chunk-JP57AFGB.mjs";import{ChevronDown as v,Menu as w,X as x}from"lucide-react";import r from"next/link";import{useParams as b}from"next/navigation";import{useEffect as z,useState as y}from"react";import C from"swr";import{Fragment as $,jsx as e,jsxs as i}from"react/jsx-runtime";function j({theme:d="light"}){let{domain:m="dub.co"}=b(),[a,s]=y(!1);z(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:l}=C(m==="dub.co"&&"/api/auth/session",h,{dedupingInterval:6e4});return i("div",{className:t(d==="dark"&&"dark"),children:[e("button",{onClick:()=>s(!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 dark:hover:bg-white/20 dark:active:bg-white/30 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(w,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:t("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 dark:bg-black dark:text-white/70 lg:hidden",a&&"block"),children:i("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[g.map(({name:o,href:f,childItems:p},n)=>e(L,{name:o,href:f,childItems:p,setOpen:s},n)),l&&Object.keys(l).length>0?e("li",{className:"py-3",children:e(r,{href:c,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):i($,{children:[e("li",{className:"py-3",children:e(r,{href:`${c}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${c}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:d,href:m,childItems:a,setOpen:s})=>{let{domain:l="dub.co"}=b(),[o,f]=y(!1);return a?e("li",{className:"py-3",children:i(u,{height:!0,children:[i("button",{className:"flex w-full justify-between",onClick:()=>f(!o),children:[e("p",{className:"font-semibold",children:d}),e(v,{className:t("h-5 w-5 text-gray-500 transition-all dark:text-white/50",o&&"rotate-180")})]}),o&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:p,href:n,icon:N,iconClassName:k})=>i(r,{href:l==="dub.co"?`/${n}`:`https://dub.co/${n}`,onClick:()=>s(!1),className:"flex w-full space-x-2",children:[e(N,{className:t("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:p})]},n))})]})}):e("li",{className:"py-3",children:e(r,{href:l==="dub.co"?`/${m}`:`https://dub.co/${m}`,onClick:()=>s(!1),className:"flex w-full font-semibold capitalize",children:d})})};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a}from"./chunk-MAZ6YG5Y.mjs";import{a as m,c as d,d as h}from"./chunk-D3AZYWPA.mjs";import{a as v,b as f}from"./chunk-DMADXWHH.mjs";import{i,l as p}from"./chunk-JP57AFGB.mjs";import x from"@vercel/analytics";import{ChevronRight as g}from"lucide-react";import k from"next/link";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({domain:t}){return s("div",{className:"grid w-[40rem] grid-cols-2",children:[s("div",{className:"p-5",children:[e("p",{className:i(m,"mb-2"),children:"Features"}),e("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({slug:r,icon:o,title:c,shortTitle:n})=>e(d,{href:a(`/${r}`,t),...t!=="dub.co"&&{onClick:()=>{x.track("Referred from custom domain",{domain:t,medium:`navbar item (/${r})`})}},icon:e(h,{icon:o}),title:n,description:c},r))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[s(k,{href:a("/blog/category/customers",t),className:i(m,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",e(g,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),e("div",{className:"grid grid-cols-1",children:f.map(({icon:r,iconClassName:o,title:c,description:n,href:l})=>e(d,{href:a(l,t),className:"-mx-2",icon:e(r,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)}),title:c,description:n,descriptionLines:2},l))}),e("p",{className:i(m,"my-4"),children:"Compare"}),e("div",{className:"flex flex-col gap-1.5",children:p.map(({name:r,slug:o})=>s(k,{href:a(`/compare/${o}`,t),className:"block text-sm font-medium text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:["Dub vs. ",r]},o))})]})]})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as i,f as t}from"./chunk-AK3VTPOG.mjs";import{a as o,c as s,e as a}from"./chunk-D3AZYWPA.mjs";import{i as l}from"./chunk-JP57AFGB.mjs";import{jsx as C,jsxs as e}from"react/jsx-runtime";function m({domain:r}){return e("div",{className:"grid w-[32rem] grid-cols-12",children:[e("div",{className:"col-span-7 p-5",children:[C("p",{className:l(o,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:[C(a,{name:"Spotify Link Shortener",href:t("/tools/spotify-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),C("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}),C(a,{name:"ChatGPT Link Shortener",href:t("/tools/chatgpt-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"black"}),C("path",{d:"M173.607 97.7454C176.886 87.8002 175.751 76.9142 170.492 67.8719C162.584 54.0098 146.691 46.8792 131.17 50.2298C122.423 40.4311 109.151 36.0738 96.3504 38.7981C83.5497 41.5224 73.1632 50.9148 69.1005 63.4398C58.9049 65.5455 50.1051 71.9745 44.9529 81.0819C36.9593 94.9215 38.7736 112.379 49.4395 124.252C46.1479 134.192 47.2727 145.08 52.5258 154.125C60.4432 167.992 76.3466 175.122 91.8764 171.767C98.784 179.601 108.708 184.058 119.11 183.999C135.02 184.014 149.114 173.67 153.974 158.414C164.168 156.304 172.967 149.876 178.122 140.771C186.019 126.956 184.197 109.593 173.607 97.7454ZM119.11 174.444C112.76 174.454 106.609 172.213 101.735 168.112L102.593 167.623L131.456 150.844C132.917 149.981 133.818 148.406 133.827 146.7V105.717L146.03 112.826C146.152 112.889 146.237 113.006 146.258 113.143V147.103C146.227 162.19 134.091 174.412 119.11 174.444ZM60.756 149.348C57.5714 143.81 56.428 137.318 57.5268 131.015L58.3841 131.533L87.2755 148.312C88.7311 149.172 90.535 149.172 91.9907 148.312L127.283 127.82V142.009C127.277 142.158 127.203 142.296 127.083 142.383L97.849 159.363C84.8581 166.9 68.2607 162.419 60.756 149.348ZM53.1545 86.032C56.3612 80.4583 61.4227 76.207 67.443 74.0308V108.567C67.4209 110.266 68.3188 111.843 69.7863 112.682L104.907 133.087L92.7051 140.196C92.5711 140.267 92.4105 140.267 92.2764 140.196L63.0993 123.244C50.134 115.676 45.6875 98.9734 53.1545 85.8881V86.032ZM153.403 109.488L118.167 88.8812L130.341 81.8013C130.475 81.7297 130.636 81.7297 130.77 81.8013L159.947 98.7815C169.053 104.074 174.307 114.185 173.432 124.737C172.557 135.289 165.712 144.383 155.86 148.082V113.546C155.809 111.851 154.875 110.309 153.403 109.488ZM165.548 91.0973L164.691 90.5792L135.856 73.6566C134.392 72.7912 132.577 72.7912 131.113 73.6566L95.8486 94.1479V79.9594C95.8333 79.8125 95.8991 79.6689 96.02 79.5853L125.197 62.6339C134.326 57.3376 145.672 57.8319 154.312 63.9022C162.953 69.9726 167.331 80.5253 165.548 90.9821V91.0973ZM89.1901 116.251L76.9877 109.171C76.8644 109.096 76.7807 108.969 76.7591 108.826V74.9517C76.773 64.3439 82.8721 54.6994 92.4112 50.201C101.95 45.7026 113.211 47.1605 121.311 53.9424L120.453 54.4316L91.5906 71.2103C90.1293 72.0736 89.2279 73.6485 89.2187 75.3546L89.1901 116.251ZM95.82 101.861L111.537 92.7377L127.283 101.861V120.107L111.595 129.231L95.8486 120.107L95.82 101.861Z",fill:"url(#paint0_radial_39_26)"}),C("defs",{children:e("radialGradient",{id:"paint0_radial_39_26",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(40 38) rotate(45.5947) scale(204.365 204.365)",children:[C("stop",{stopColor:"white",stopOpacity:"0.85"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}),C(a,{name:"GitHub Link Shortener",href:t("/tools/github-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:e("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}),C(a,{name:"Amazon Link Shortener",href:t("/tools/amazon-link-shortener",r),icon:e("svg",{className:"h-full w-full",viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_linear_39_35)"}),C("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.627 151.288C165.868 148.976 155.967 150.187 151.538 150.74C150.176 150.91 149.967 149.698 151.198 148.825C159.073 143.144 172.023 144.772 173.515 146.687C175.032 148.602 173.137 161.895 165.718 168.236C164.584 169.22 163.503 168.692 164.012 167.402C165.66 163.141 169.406 153.595 167.627 151.288ZM161.889 158.017C148.087 168.43 128.096 174 110.873 174C86.7384 174 65.0031 164.852 48.5549 149.615C47.2658 148.423 48.424 146.794 49.9749 147.72C67.7121 158.308 89.6704 164.668 112.331 164.668C127.607 164.668 144.438 161.43 159.888 154.686C162.233 153.683 164.186 156.257 161.894 158.002M120.018 102.131C120.018 108.758 120.187 114.27 116.989 120.141C114.415 124.911 110.325 127.849 105.765 127.849C99.5374 127.849 95.9221 122.889 95.9221 115.559C95.9221 101.093 108.304 98.4611 120.022 98.4611L120.022 102.136M136.379 143.493C135.317 144.496 133.766 144.574 132.555 143.91C127.18 139.231 126.211 137.055 123.24 132.585C114.343 142.092 108.057 144.932 96.5085 144.932C82.8614 144.932 72.2288 136.129 72.2288 118.497C72.2288 104.729 79.3673 95.3391 89.5105 90.753C98.2967 86.7002 110.601 85.9828 120.008 84.863L120.008 82.6669C120.008 78.6335 120.313 73.8632 118.06 70.3776C116.073 67.2508 112.288 65.9661 108.954 65.9661C102.765 65.9661 97.2548 69.2819 95.9124 76.1562C95.6265 77.6881 94.57 79.1861 93.0919 79.2637L77.361 77.5039C76.0379 77.1839 74.5792 76.0641 74.9379 73.9456C78.5725 54.0258 95.8009 48 111.207 48C119.102 48 129.419 50.1961 135.632 56.4449C143.527 64.153 142.771 74.4352 142.771 85.6289L142.771 112.064C142.771 120.019 145.911 123.5 148.887 127.8C149.929 129.318 150.156 131.169 148.848 132.309C145.533 135.227 139.65 140.564 136.412 143.575L136.354 143.517",fill:"url(#paint1_radial_39_35)"}),e("defs",{children:[e("linearGradient",{id:"paint0_linear_39_35",x1:"0",y1:"0",x2:"222",y2:"222",gradientUnits:"userSpaceOnUse",children:[C("stop",{stopColor:"#FF9900"}),C("stop",{offset:"0.5",stopColor:"#FF9900"}),C("stop",{offset:"1",stopColor:"#EA580C"})]}),e("radialGradient",{id:"paint1_radial_39_35",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(48 48) rotate(45) scale(178.191 178.229)",children:[C("stop",{stopColor:"white"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})]})]})]})})]})]}),e("div",{className:"col-span-5 border-l border-gray-200 p-5 dark:border-white/20",children:[C("p",{className:l(o,"mb-2"),children:"Resources"}),C("div",{className:"-mx-2 flex flex-col gap-0.5",children:i.map(({icon:n,name:p,href:d})=>C(s,{href:t(d,r),icon:C(n,{className:l("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:p}))})]})]})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as m}from"./chunk-ELWUYRKK.mjs";import{Slot as w}from"@radix-ui/react-slot";import R,{useEffect as y,useState as F}from"react";import{jsxs as E}from"react/jsx-runtime";var V=R.forwardRef(({asChild:u,className:i,children:e,prefix:c,duration:t=250,as:l="span",...n},f)=>{let[r,p]=F(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let N=Number(e),o=r,d=N,b=performance.now(),a=()=>{let C=performance.now(),s=Math.min((C-b)/t,1),g=o+(d-o)*s;p(Math.round(g)),s<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},[e,t]),E(u?w:l,{ref:f,className:i,...n,children:[c,(void 0)(r,n.fullNumber?{full:!0}:void 0)]})});V.displayName="CountingNumbers";export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as n}from"./chunk-RZQWS5UQ.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{a as S}from"./chunk-K4MP745I.mjs";import{a as L}from"./chunk-EFEMK55A.mjs";import{b as k}from"./chunk-2OZQ3GG4.mjs";import{g as u}from"./chunk-CHJUJE4X.mjs";import{Command as s,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as j,Search as v,X as z}from"lucide-react";import{memo as w,useEffect as D,useRef as H,useState as E}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function U({items:p,selectedItem:t,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:f,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=E(!1),[d,g]=E("");D(()=>{t&&g(t.value)},[t]),D(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:P}=S(),h=w(()=>{let a=T(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:M,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),g("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(z,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(j,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>p.map(a=>r(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),g(a.value),o(!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:[r("div",{className:"flex items-center space-x-2",children:[a.image&&e(L,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(k,{className:"text-xs",variant:"neutral",children:a.label})]}),e(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return P&&R?r(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:r("div",{className:u("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:u("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:u("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",b),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as f,f as a}from"./chunk-KTINRJRF.mjs";import{a as m,c as d,d as h}from"./chunk-D3AZYWPA.mjs";import{i,l as p}from"./chunk-JP57AFGB.mjs";import x from"@vercel/analytics";import{ChevronRight as g}from"lucide-react";import k from"next/link";import{jsx as r,jsxs as s}from"react/jsx-runtime";function L({domain:t}){return s("div",{className:"grid w-[40rem] grid-cols-2",children:[s("div",{className:"p-5",children:[r("p",{className:i(m,"mb-2"),children:"Product"}),r("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({slug:e,icon:o,title:c,shortTitle:n})=>r(d,{href:a(`/${e}`,t),...t!=="dub.co"&&{onClick:()=>{x.track("Referred from custom domain",{domain:t,medium:`navbar item (/${e})`})}},icon:r(h,{icon:o}),title:n,description:c},e))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[s(k,{href:a("/blog/category/customers",t),className:i(m,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",r(g,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),r("div",{className:"grid grid-cols-1",children:f.map(({icon:e,iconClassName:o,title:c,description:n,href:l})=>r(d,{href:a(l,t),className:"-mx-2",icon:r(e,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)}),title:c,description:n,descriptionLines:2},l))}),r("p",{className:i(m,"my-4"),children:"Compare"}),r("div",{className:"flex flex-col gap-1.5",children:p.map(({name:e,slug:o})=>s(k,{href:a(`/compare/${o}`,t),className:"block text-sm font-medium text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:["Dub vs. ",e]},o))})]})]})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as h}from"./chunk-PLVAY633.mjs";import{d as m,g as u,i as o}from"./chunk-JP57AFGB.mjs";import{ChevronDown as N,Menu as k,X as v}from"lucide-react";import n from"next/link";import{useParams as g}from"next/navigation";import{useEffect as w,useState as b}from"react";import x from"swr";import{Fragment as z,jsx as e,jsxs as t}from"react/jsx-runtime";function P({theme:r="light"}){let{domain:d="dub.co"}=g(),[a,i]=b(!1);w(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:s}=x(d==="dub.co"&&"/api/auth/session",u,{dedupingInterval:6e4});return t("div",{className:o(r==="dark"&&"dark"),children:[e("button",{onClick:()=>i(!a),className:o("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 dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(v,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(k,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:o("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:t("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[h.map(({name:l,href:c,childItems:f})=>e(L,{name:l,href:c,childItems:f,setOpen:i},c)),s&&Object.keys(s).length>0?e("li",{className:"py-3",children:e(n,{href:m,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):t(z,{children:[e("li",{className:"py-3",children:e(n,{href:`${m}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(n,{href:`${m}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:r,href:d,childItems:a,setOpen:i})=>{let{domain:s="dub.co"}=g(),[l,c]=b(!1);return a?t("li",{className:"py-3",children:[t("button",{className:"flex w-full justify-between",onClick:()=>c(!l),children:[e("p",{className:"font-semibold",children:r}),e(N,{className:o("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:f,href:p,icon:y})=>t(n,{href:s==="dub.co"?`/${p}`:`https://dub.co/${p}`,onClick:()=>i(!1),className:"flex w-full space-x-2",children:[e(y,{className:"h-5 w-5 text-gray-500 dark:text-white/80"}),e("span",{className:"text-sm",children:f})]},p))})]}):e("li",{className:"py-3",children:e(n,{href:s==="dub.co"?`/${d}`:`https://dub.co/${d}`,onClick:()=>i(!1),className:"flex w-full font-semibold capitalize",children:r})})};export{P as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as _}from"./chunk-RUFIYUWE.mjs";import{a as R}from"./chunk-DC36CR56.mjs";import{a as W}from"./chunk-TBSSVSOU.mjs";import{a as M,d as S,e as L,f as w}from"./chunk-MUZ6V67F.mjs";import{a as E}from"./chunk-DMLF4GJF.mjs";import{a as V}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function H(r){let[e,m]=Z(!1),a=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),T(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as $,Home as z,LayoutGrid as U,Type as j}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function B(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=F(),{theme:g}=Y(x),[b,c]=q(!1),n=K(d=>{d.preventDefault(),c(!0)},[]);return D(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(E,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(J),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(Q),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as ne,jsx as t,jsxs as u}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Product",href:"/",content:_,childItems:M},{name:"Solutions",content:W,childItems:S},{name:"Pricing",href:"/pricing"},{name:"Resources",content:R,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Be({theme:r="light"}){let{domain:e="dub.co"}=ee(),m=H(80),a=te(),{data:g,isLoading:b}=re(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(A,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ae.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(ie,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:O({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(O({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:u(ne,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function ie({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,ae as c,Be as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{jsx as o,jsxs as r}from"react/jsx-runtime";function c(l){return o("svg",{viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...l,children:r("g",{fill:"currentColor",children:[o("path",{d:"M12.606,7.655c-.044-.136-.161-.235-.302-.255l-2.051-.298-.917-1.858c-.127-.256-.546-.256-.673,0l-.917,1.858-2.051,.298c-.141,.021-.258,.12-.302,.255-.044,.136-.007,.285,.095,.384l1.484,1.446-.351,2.042c-.024,.141,.034,.283,.149,.367s.269,.094,.395,.029l1.834-.964,1.834,.964c.055,.029,.115,.043,.174,.043,.078,0,.155-.024,.221-.072,.115-.084,.173-.226,.149-.367l-.351-2.042,1.484-1.446c.102-.1,.139-.249,.095-.384Z",fill:"currentColor",stroke:"none"}),o("path",{d:"M15.718,8.293l-1.468-1.468v-2.075c0-.552-.448-1-1-1h-2.075l-1.468-1.468c-.391-.39-1.024-.39-1.414,0l-1.468,1.468h-2.075c-.552,0-1,.448-1,1v2.075l-1.468,1.468c-.391,.39-.391,1.024,0,1.414l1.468,1.468v2.075c0,.552,.448,1,1,1h2.075l1.468,1.468c.391,.39,1.024,.39,1.414,0l1.468-1.468h2.075c.552,0,1-.448,1-1v-2.075l1.468-1.468c.391-.39,.391-1.024,0-1.414Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as h}from"./chunk-WGCI5T3R.mjs";import{d as m,g as u,i as o}from"./chunk-JP57AFGB.mjs";import{ChevronDown as N,Menu as k,X as v}from"lucide-react";import n from"next/link";import{useParams as g}from"next/navigation";import{useEffect as w,useState as b}from"react";import x from"swr";import{Fragment as z,jsx as e,jsxs as t}from"react/jsx-runtime";function P({theme:r="light"}){let{domain:d="dub.co"}=g(),[a,i]=b(!1);w(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:s}=x(d==="dub.co"&&"/api/auth/session",u,{dedupingInterval:6e4});return t("div",{className:o(r==="dark"&&"dark"),children:[e("button",{onClick:()=>i(!a),className:o("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 dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(v,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(k,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:o("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:t("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[h.map(({name:l,href:c,childItems:f})=>e(L,{name:l,href:c,childItems:f,setOpen:i},c)),s&&Object.keys(s).length>0?e("li",{className:"py-3",children:e(n,{href:m,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):t(z,{children:[e("li",{className:"py-3",children:e(n,{href:`${m}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(n,{href:`${m}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:r,href:d,childItems:a,setOpen:i})=>{let{domain:s="dub.co"}=g(),[l,c]=b(!1);return a?t("li",{className:"py-3",children:[t("button",{className:"flex w-full justify-between",onClick:()=>c(!l),children:[e("p",{className:"font-semibold",children:r}),e(N,{className:o("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:f,href:p,icon:y})=>t(n,{href:s==="dub.co"?`/${p}`:`https://dub.co/${p}`,onClick:()=>i(!1),className:"flex w-full space-x-2",children:[e(y,{className:"h-5 w-5 text-gray-500 dark:text-white/80"}),e("span",{className:"text-sm",children:f})]},p))})]}):e("li",{className:"py-3",children:e(n,{href:s==="dub.co"?`/${d}`:`https://dub.co/${d}`,onClick:()=>i(!1),className:"flex w-full font-semibold capitalize",children:r})})};export{P as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-5XIONXV4.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{g as o}from"./chunk-CHJUJE4X.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{b as x,f as N}from"./chunk-4ZRNTST4.mjs";import{a as v}from"./chunk-HPOHGCIW.mjs";import{a as b}from"./chunk-5FA55CVM.mjs";import{a as y}from"./chunk-MVRODYEW.mjs";import{a as h}from"./chunk-OLQDEHWZ.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-JP57AFGB.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:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{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("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 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(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",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:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",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:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.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:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),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{O as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as S}from"./chunk-QB4VHFVE.mjs";import{a as V}from"./chunk-YVKMEUKA.mjs";import{a as L}from"./chunk-BL2X3IOF.mjs";import{f as w}from"./chunk-KTINRJRF.mjs";import{a as W}from"./chunk-DMLF4GJF.mjs";import{a as M}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as q}from"class-variance-authority";import p from"next/link";import{useParams as J,useSelectedLayoutSegment as Q}from"next/navigation";import{createContext as X}from"react";import ee from"swr";import{useCallback as I,useEffect as _,useState as A}from"react";function H(r){let[e,m]=A(!1),a=I(()=>{m(window.scrollY>r)},[r]);return _(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),_(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as O,Home as G,LayoutGrid as Z,Type as $}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as j,useContext as F,useState as U}from"react";import{toast as R}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var K=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Y=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function T(r){try{await navigator.clipboard.writeText(r),R.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),R.error("Failed to copy to clipboard.")}}function E({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=z(),{theme:g}=F(x),[b,c]=U(!1),n=j(d=>{d.preventDefault(),c(!0)},[]);return B(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(W,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:B("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>T(K),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>T(Y),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(O,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as re,jsx as t,jsxs as u}from"react/jsx-runtime";var x=X({theme:"light"}),te=[{name:"Product",href:"/",content:L},{name:"Solutions",content:V},{name:"Pricing",href:"/pricing"},{name:"Resources",content:S}],D=q(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Re({theme:r="light"}){let{domain:e="dub.co"}=J(),m=H(80),a=Q(),{data:g,isLoading:b}=ee(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(M,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(E,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),te.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(oe,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:D({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(D({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:u(re,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function oe({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,te as c,Re as d,E as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as t}from"./chunk-CHJUJE4X.mjs";import{motion as r}from"framer-motion";import{jsx as e,jsxs as c}from"react/jsx-runtime";var n="M6.75 8.25L4 11L1.25 8.25",s="M6.75 3.75L4 1L1.25 3.75";function i({order:o,className:a}){return c("svg",{className:t("w-2 text-gray-950",a),viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e(r.path,{className:t(!o&&"opacity-40"),animate:{d:o==="asc"?s:n},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e(r.path,{className:"opacity-40",animate:{d:o==="asc"?n:s},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}export{i as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as V}from"./chunk-D7USZAZP.mjs";import{a as L}from"./chunk-SYFACKWG.mjs";import{a as S}from"./chunk-4BBI24XJ.mjs";import{a as w}from"./chunk-MAZ6YG5Y.mjs";import{a as W}from"./chunk-QBWULSN7.mjs";import{a as k}from"./chunk-4NWFDRMU.mjs";import{a as M}from"./chunk-3IR6GXKB.mjs";import{b as P}from"./chunk-SWIJ7E6E.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-3VTQK4AG.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as q}from"class-variance-authority";import p from"next/link";import{useParams as J,useSelectedLayoutSegment as Q}from"next/navigation";import{createContext as X}from"react";import ee from"swr";import{useCallback as I,useEffect as _,useState as A}from"react";function H(r){let[e,m]=A(window.scrollY>r),a=I(()=>{m(window.scrollY>r)},[r]);return _(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),_(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as O,Home as G,LayoutGrid as Z,Type as $}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as j,useContext as F,useState as U}from"react";import{toast as R}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var Y=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,K=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function T(r){try{await navigator.clipboard.writeText(r),R.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),R.error("Failed to copy to clipboard.")}}function E({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=z(),{theme:g}=F(x),[b,c]=U(!1),n=j(d=>{d.preventDefault(),c(!0)},[]);return B(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(W,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:B("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(u,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>T(Y),icon:o(k,{className:"h-4 w-4"})}),o(u,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>T(K),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),o(u,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(O,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(u,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})}):o(u,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function u({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as re,jsx as t,jsxs as v}from"react/jsx-runtime";var x=X({theme:"light"}),te=[{name:"Product",href:"/",content:L},{name:"Solutions",content:V},{name:"Pricing",href:"/pricing"},{name:"Resources",content:S}],D=q(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Re({theme:r="light"}){let{domain:e="dub.co"}=J(),m=H(80),a=Q(),{data:g,isLoading:b}=ee(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:v("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(M,{className:"relative",children:v("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(E,{})}),v(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[v(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),te.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return v(i.Item,{children:[t(oe,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:D({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("span",{className:s(D({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:v(re,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function oe({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,Re as c,E as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e}from"./chunk-JKSIE5IM.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 d,d as p,f as s}from"./chunk-JG7HARGV.mjs";import{a as n,c as l,d as f}from"./chunk-D3AZYWPA.mjs";import{i as r}from"./chunk-JP57AFGB.mjs";import{jsx as e,jsxs as m}from"react/jsx-runtime";function b({domain:c}){return m("div",{className:"grid w-[32rem] grid-cols-[5fr_3fr]",children:[m("div",{className:"p-5",children:[e("p",{className:r(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:d.map(({icon:i,title:t,description:a,href:o})=>e(l,{href:s(o,c),icon:e(f,{icon:i}),title:t,description:a}))})]}),m("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:r(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:t,title:a,href:o})=>e(l,{href:s(o,c),icon:e(i,{className:r("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:a},o))})]})]})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as N}from"./chunk-BTIQDQ4Q.mjs";import{a as x}from"./chunk-DMADXWHH.mjs";import{a as v}from"./chunk-3IR6GXKB.mjs";import{a as y}from"./chunk-5J4GRBP5.mjs";import{a as b}from"./chunk-KJEVFTCG.mjs";import{a as h}from"./chunk-2XDU4CN6.mjs";import{a as f}from"./chunk-T4YFARK5.mjs";import{g as u,i as l,k as g,l as p}from"./chunk-3VTQK4AG.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:x.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function O(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(v,{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("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},className:"block max-w-fit",children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(N,{className:"h-8 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(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",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:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",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:"LinkedIn"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.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:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.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:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),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{O as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as f,f as a}from"./chunk-3GDSJXP4.mjs";import{a as m,c as d,d as h}from"./chunk-D3AZYWPA.mjs";import{i,l as p}from"./chunk-JP57AFGB.mjs";import x from"@vercel/analytics";import{ChevronRight as g}from"lucide-react";import k from"next/link";import{jsx as e,jsxs as s}from"react/jsx-runtime";function L({domain:t}){return s("div",{className:"grid w-[40rem] grid-cols-2",children:[s("div",{className:"p-5",children:[e("p",{className:i(m,"mb-2"),children:"Features"}),e("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({slug:r,icon:o,title:c,shortTitle:n})=>e(d,{href:a(`/${r}`,t),...t!=="dub.co"&&{onClick:()=>{x.track("Referred from custom domain",{domain:t,medium:`navbar item (/${r})`})}},icon:e(h,{icon:o}),title:n,description:c},r))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[s(k,{href:a("/blog/category/customers",t),className:i(m,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",e(g,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),e("div",{className:"grid grid-cols-1",children:f.map(({icon:r,iconClassName:o,title:c,description:n,href:l})=>e(d,{href:a(l,t),className:"-mx-2",icon:e(r,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",o)}),title:c,description:n,descriptionLines:2},l))}),e("p",{className:i(m,"my-4"),children:"Compare"}),e("div",{className:"flex flex-col gap-1.5",children:p.map(({name:r,slug:o})=>s(k,{href:a(`/compare/${o}`,t),className:"block text-sm font-medium text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:["Dub vs. ",r]},o))})]})]})}export{L as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as _}from"./chunk-U7YZTR7L.mjs";import{a as R}from"./chunk-ZNBFWJ76.mjs";import{a as W}from"./chunk-GFUFVOPR.mjs";import{a as M,d as S,e as L,f as w}from"./chunk-JG7HARGV.mjs";import{a as E}from"./chunk-DMLF4GJF.mjs";import{a as V}from"./chunk-HPOHGCIW.mjs";import{a as k}from"./chunk-63RFWC6U.mjs";import{b as P}from"./chunk-YF7NXSU4.mjs";import{d as h,g as N,i as s,j as y}from"./chunk-JP57AFGB.mjs";import*as i from"@radix-ui/react-navigation-menu";import f from"@vercel/analytics";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as ee,useSelectedLayoutSegment as te}from"next/navigation";import{createContext as oe}from"react";import re from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function H(r){let[e,m]=Z(!1),a=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",a),()=>window.removeEventListener("scroll",a)),[a]),T(()=>{a()},[a]),e}import*as l from"@radix-ui/react-popover";import{BoxSelect as $,Home as z,LayoutGrid as U,Type as j}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as D}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function B(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:a="dub.co"}=F(),{theme:g}=Y(x),[b,c]=q(!1),n=K(d=>{d.preventDefault(),c(!0)},[]);return D(l.Root,{open:b,onOpenChange:c,children:[o(l.Anchor,{asChild:!0,children:o("div",{onContextMenu:n,className:"max-w-fit",children:r==="full"?o(E,{className:m}):o(k,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(l.Portal,{children:o(l.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -translate-x-10",g==="dark"&&"dark"),onClick:d=>{d.stopPropagation(),c(!1)},children:D("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm dark:border-white/[0.15] dark:bg-black sm:min-w-[240px]",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>B(J),icon:o(k,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>B(Q),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}),e||a!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:r,...e}){return o(P,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...e})}import{Fragment as ne,jsx as t,jsxs as u}from"react/jsx-runtime";var x=oe({theme:"light"}),ae=[{name:"Product",href:"/",content:_,childItems:M},{name:"Solutions",content:W,childItems:S},{name:"Pricing",href:"/pricing"},{name:"Resources",content:R,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Be({theme:r="light"}){let{domain:e="dub.co"}=ee(),m=H(80),a=te(),{data:g,isLoading:b}=re(e==="dub.co"&&"/api/auth/session",N,{dedupingInterval:6e4});return t(x.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[t("div",{className:s("-z-1 absolute inset-0 border-transparent transition-all")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(p,{className:"grow basis-0",href:w("/",e),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:"logo"})}},children:t(A,{})}),u(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(i.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",a&&y.includes(a)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),ae.map(({name:c,href:n,content:d})=>{let C=n===`/${a}`||n==="/"&&a===null;return u(i.Item,{children:[t(ie,{trigger:!!d,children:n!==void 0?t(p,{id:`nav-${n}`,href:w(n,e)??"/test",className:O({isActive:C}),...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,medium:`navbar item (${n})`})}},children:c},n):t("button",{className:s(O({isActive:C}),"cursor-default"),children:c})}),d&&t(i.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(d,{domain:e})})]},n)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(i.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:g&&Object.keys(g).length>0?t(p,{href:h,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):b?null:u(ne,{children:[t(p,{href:`${h}/login`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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 dark:text-white dark:hover:text-white/70",children:"Log in"}),t(p,{href:`${h}/register`,...e!=="dub.co"&&{onClick:()=>{f.track("Referred from custom domain",{domain:e,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-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function ie({trigger:r,children:e}){return r?t(i.Trigger,{asChild:!0,children:e}):e}export{H as a,x as b,ae as c,Be as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as S}from"./chunk-K4MP745I.mjs";import{a as L}from"./chunk-RGVCFXWK.mjs";import{b as k}from"./chunk-3XZLEIRD.mjs";import{k as u}from"./chunk-UIFZOBQS.mjs";import{Command as s,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as j,Search as v,X as z}from"lucide-react";import{memo as w,useEffect as D,useRef as H,useState as E}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function U({items:p,selectedItem:t,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:f,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=E(!1),[d,g]=E("");D(()=>{t&&g(t.value)},[t]),D(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:P}=S(),h=w(()=>{let a=T(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:M,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),g("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(z,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(j,{className:(void 0)("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>p.map(a=>r(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),g(a.value),o(!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:[r("div",{className:"flex items-center space-x-2",children:[a.image&&e(L,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:(void 0)("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(k,{className:"text-xs",variant:"neutral",children:a.label})]}),e(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return P&&R?r(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:r("div",{className:(void 0)("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:(void 0)("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",b),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):r(s,{ref:i,className:"relative",loop:!0,children:[r("div",{className:(void 0)("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",b),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:t&&t.image?e("img",{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full"}):f||e(v,{className:"h-4 w-4 text-gray-400"})}),r("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&r(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[p.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};