@dub/ui 0.0.49 → 0.0.50

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 (339) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/avatar.mjs +1 -1
  3. package/dist/background.mjs +1 -1
  4. package/dist/badge.d.ts +1 -1
  5. package/dist/badge.mjs +1 -1
  6. package/dist/blur-image.mjs +1 -1
  7. package/dist/button.mjs +1 -1
  8. package/dist/checkbox.mjs +1 -1
  9. package/dist/chunk-25JVFB6M.mjs +2 -0
  10. package/dist/chunk-25MINI24.mjs +2 -0
  11. package/dist/chunk-2656CFAA.mjs +2 -0
  12. package/dist/chunk-266HDYTY.mjs +2 -0
  13. package/dist/chunk-2L6DK6QG.mjs +2 -0
  14. package/dist/chunk-2MOWMDVD.mjs +2 -0
  15. package/dist/chunk-2MZJAYX6.mjs +2 -0
  16. package/dist/chunk-2RLBVFS6.mjs +2 -0
  17. package/dist/chunk-2WVBREXF.mjs +2 -0
  18. package/dist/chunk-2ZSVZS2J.mjs +2 -0
  19. package/dist/chunk-3C3TZRUG.mjs +2 -0
  20. package/dist/chunk-3CAR7XUT.mjs +2 -0
  21. package/dist/chunk-3F4RG52W.mjs +2 -0
  22. package/dist/chunk-3JGOK6O2.mjs +2 -0
  23. package/dist/chunk-3KI3I7AD.mjs +2 -0
  24. package/dist/chunk-3N3IOMZL.mjs +2 -0
  25. package/dist/chunk-3RNXDEXX.mjs +2 -0
  26. package/dist/chunk-3UYT52KE.mjs +2 -0
  27. package/dist/chunk-3WGL63PT.mjs +2 -0
  28. package/dist/chunk-3XJFQHHJ.mjs +2 -0
  29. package/dist/chunk-44OPR3V2.mjs +2 -0
  30. package/dist/chunk-45GSFNWN.mjs +2 -0
  31. package/dist/chunk-4D2H4NUV.mjs +2 -0
  32. package/dist/chunk-4EFYUGCK.mjs +2 -0
  33. package/dist/chunk-4J5NYWPF.mjs +2 -0
  34. package/dist/chunk-4JBVCADS.mjs +2 -0
  35. package/dist/chunk-4N7EIKHO.mjs +2 -0
  36. package/dist/chunk-4Q6QJK4O.mjs +2 -0
  37. package/dist/chunk-4S5OB7RH.mjs +2 -0
  38. package/dist/chunk-4UQ5GU47.mjs +2 -0
  39. package/dist/chunk-556KO2TO.mjs +2 -0
  40. package/dist/chunk-5ACBROXM.mjs +2 -0
  41. package/dist/chunk-5B3S5OJK.mjs +8 -0
  42. package/dist/chunk-5KTU27AS.mjs +2 -0
  43. package/dist/chunk-5MARGBWQ.mjs +2 -0
  44. package/dist/chunk-5VFAVKA3.mjs +2 -0
  45. package/dist/chunk-5VGMASCQ.mjs +2 -0
  46. package/dist/chunk-5YHJGJZE.mjs +2 -0
  47. package/dist/chunk-5ZUF4XV2.mjs +2 -0
  48. package/dist/chunk-655V6IPO.mjs +2 -0
  49. package/dist/chunk-67LSHV4F.mjs +2 -0
  50. package/dist/chunk-67WF5VAC.mjs +2 -0
  51. package/dist/chunk-6BXQHEHB.mjs +2 -0
  52. package/dist/chunk-6IBBMNOW.mjs +2 -0
  53. package/dist/chunk-6SFO3RYP.mjs +2 -0
  54. package/dist/chunk-6U5PUN57.mjs +2 -0
  55. package/dist/chunk-6WKPM2GA.mjs +2 -0
  56. package/dist/chunk-6Y2EDRAF.mjs +2 -0
  57. package/dist/chunk-7EMNJ6EF.mjs +2 -0
  58. package/dist/chunk-7KPHCYJR.mjs +2 -0
  59. package/dist/chunk-7MEGTDIA.mjs +2 -0
  60. package/dist/chunk-7SQOSZ4A.mjs +2 -0
  61. package/dist/chunk-7TBPYNN7.mjs +2 -0
  62. package/dist/chunk-7TIDFD7G.mjs +2 -0
  63. package/dist/chunk-7TQFXQUD.mjs +2 -0
  64. package/dist/chunk-7ZIOUTAG.mjs +2 -0
  65. package/dist/chunk-A3WD2X3K.mjs +2 -0
  66. package/dist/chunk-AFDCANRW.mjs +2 -0
  67. package/dist/chunk-AMHMX5SH.mjs +2 -0
  68. package/dist/chunk-APDGJLUW.mjs +2 -0
  69. package/dist/chunk-AQES35UF.mjs +2 -0
  70. package/dist/chunk-ATF2TZ7W.mjs +2 -0
  71. package/dist/chunk-AYQONBCH.mjs +2 -0
  72. package/dist/chunk-B5QYWKCW.mjs +2 -0
  73. package/dist/chunk-B7GYESAW.mjs +2 -0
  74. package/dist/chunk-BAREOXNL.mjs +2 -0
  75. package/dist/chunk-BBLFNTGR.mjs +2 -0
  76. package/dist/chunk-BBZ5GY6B.mjs +2 -0
  77. package/dist/chunk-BCAZAPAJ.mjs +2 -0
  78. package/dist/chunk-BDMXJXHH.mjs +2 -0
  79. package/dist/chunk-BL36JUSP.mjs +2 -0
  80. package/dist/chunk-BL74B4DR.mjs +2 -0
  81. package/dist/chunk-BM2DAFHN.mjs +2 -0
  82. package/dist/chunk-BQP6XQEF.mjs +2 -0
  83. package/dist/chunk-BU56DKJD.mjs +2 -0
  84. package/dist/chunk-C3HS6JES.mjs +2 -0
  85. package/dist/chunk-CAD55VM2.mjs +2 -0
  86. package/dist/chunk-CCJUE3TX.mjs +2 -0
  87. package/dist/chunk-CDYB7JJI.mjs +2 -0
  88. package/dist/chunk-CO2SCHDJ.mjs +2 -0
  89. package/dist/chunk-COWYL3VO.mjs +2 -0
  90. package/dist/chunk-CRYQHHP2.mjs +2 -0
  91. package/dist/chunk-CYQEO4MI.mjs +2 -0
  92. package/dist/chunk-D2PA3TQK.mjs +2 -0
  93. package/dist/chunk-D6U6BSZH.mjs +2 -0
  94. package/dist/chunk-DDI3XR6W.mjs +2 -0
  95. package/dist/chunk-DJB7XNRZ.mjs +2 -0
  96. package/dist/chunk-DK3BZ5EA.mjs +2 -0
  97. package/dist/chunk-DQNQGCXX.mjs +2 -0
  98. package/dist/chunk-DSI3EE7Q.mjs +2 -0
  99. package/dist/chunk-DTONJK2E.mjs +2 -0
  100. package/dist/chunk-DUMA6YAH.mjs +2 -0
  101. package/dist/chunk-DYYOYCRJ.mjs +2 -0
  102. package/dist/chunk-E2YUZAMD.mjs +2 -0
  103. package/dist/chunk-E3QU4MRJ.mjs +2 -0
  104. package/dist/chunk-E5232LG6.mjs +2 -0
  105. package/dist/chunk-E5CU623S.mjs +2 -0
  106. package/dist/chunk-EDQNXWWM.mjs +2 -0
  107. package/dist/chunk-EECDDLBO.mjs +2 -0
  108. package/dist/chunk-EFKWYO2J.mjs +2 -0
  109. package/dist/chunk-EHVC4T3B.mjs +2 -0
  110. package/dist/chunk-EJA6OJQ7.mjs +2 -0
  111. package/dist/chunk-EL4XCC2P.mjs +2 -0
  112. package/dist/chunk-ELPJO7HM.mjs +2 -0
  113. package/dist/chunk-EONUHGTC.mjs +2 -0
  114. package/dist/chunk-EQIDALH3.mjs +2 -0
  115. package/dist/chunk-EWCDNRBG.mjs +2 -0
  116. package/dist/chunk-F5CGBYPC.mjs +2 -0
  117. package/dist/chunk-FA55S5KI.mjs +2 -0
  118. package/dist/chunk-FAH7EPRJ.mjs +2 -0
  119. package/dist/chunk-FEIIGMIE.mjs +2 -0
  120. package/dist/chunk-FEMOLTCU.mjs +2 -0
  121. package/dist/chunk-FEN65MUL.mjs +2 -0
  122. package/dist/chunk-FGLJDK2V.mjs +2 -0
  123. package/dist/chunk-FHZ4T7RZ.mjs +2 -0
  124. package/dist/chunk-FNMIMW4L.mjs +2 -0
  125. package/dist/chunk-FO4Z23F2.mjs +2 -0
  126. package/dist/chunk-FPBD2IMD.mjs +2 -0
  127. package/dist/chunk-FPFUR2VQ.mjs +2 -0
  128. package/dist/chunk-FQAAQAU5.mjs +2 -0
  129. package/dist/chunk-FQLMTN4O.mjs +2 -0
  130. package/dist/chunk-FUC3JCYT.mjs +2 -0
  131. package/dist/chunk-FW46HNG4.mjs +2 -0
  132. package/dist/chunk-G4KVLIWF.mjs +2 -0
  133. package/dist/chunk-GA6RCSAC.mjs +2 -0
  134. package/dist/chunk-GFYQXNMU.mjs +2 -0
  135. package/dist/chunk-GG6DA7YR.mjs +2 -0
  136. package/dist/chunk-GIOSSM6G.mjs +2 -0
  137. package/dist/chunk-GIQ5X6YY.mjs +2 -0
  138. package/dist/chunk-GKKSSKT5.mjs +2 -0
  139. package/dist/chunk-GMF4BLAG.mjs +2 -0
  140. package/dist/chunk-GOGATJZD.mjs +2 -0
  141. package/dist/chunk-GVPDDKI3.mjs +2 -0
  142. package/dist/chunk-H5APJRBY.mjs +2 -0
  143. package/dist/chunk-H6QAIRZV.mjs +2 -0
  144. package/dist/chunk-HB6QOCEZ.mjs +2 -0
  145. package/dist/chunk-HCALTG5S.mjs +2 -0
  146. package/dist/chunk-HEVVBB3H.mjs +2 -0
  147. package/dist/chunk-HM3EGBK7.mjs +2 -0
  148. package/dist/chunk-HVZXBCX3.mjs +2 -0
  149. package/dist/chunk-ID3BQ7SF.mjs +2 -0
  150. package/dist/chunk-IDVTIN2P.mjs +2 -0
  151. package/dist/chunk-IFLYMCSV.mjs +2 -0
  152. package/dist/chunk-II5AMWFU.mjs +2 -0
  153. package/dist/chunk-IMRBDWKT.mjs +2 -0
  154. package/dist/chunk-INJAUWSL.mjs +2 -0
  155. package/dist/chunk-IW5Y2KZ6.mjs +2 -0
  156. package/dist/chunk-IWD7BTAE.mjs +2 -0
  157. package/dist/chunk-J3JJNAVT.mjs +2 -0
  158. package/dist/chunk-J5JRWS7Y.mjs +2 -0
  159. package/dist/chunk-JC5GUBYQ.mjs +2 -0
  160. package/dist/chunk-JHFUUJYH.mjs +2 -0
  161. package/dist/chunk-JM6WAEEC.mjs +2 -0
  162. package/dist/chunk-JSRGV5QW.mjs +2 -0
  163. package/dist/chunk-JXH7ILZF.mjs +2 -0
  164. package/dist/chunk-K3MSXABZ.mjs +2 -0
  165. package/dist/chunk-K6M6WIVV.mjs +2 -0
  166. package/dist/chunk-KAIDNAHL.mjs +2 -0
  167. package/dist/chunk-KB3TJI44.mjs +2 -0
  168. package/dist/chunk-KDUEHVZX.mjs +2 -0
  169. package/dist/chunk-KER7VD3U.mjs +2 -0
  170. package/dist/chunk-KIF2TIWV.mjs +2 -0
  171. package/dist/chunk-KMBDL3XB.mjs +2 -0
  172. package/dist/chunk-KS3KIPHT.mjs +2 -0
  173. package/dist/chunk-KUCBJLZW.mjs +2 -0
  174. package/dist/chunk-KXA2HMMO.mjs +2 -0
  175. package/dist/chunk-KXWTJTQV.mjs +2 -0
  176. package/dist/chunk-KY6LTV2B.mjs +2 -0
  177. package/dist/chunk-KYLUC4PL.mjs +2 -0
  178. package/dist/chunk-L6L66VLI.mjs +2 -0
  179. package/dist/chunk-LAEJL4RU.mjs +2 -0
  180. package/dist/chunk-LDBTUUZF.mjs +2 -0
  181. package/dist/chunk-LFAHI7P6.mjs +2 -0
  182. package/dist/chunk-LFT7TA4T.mjs +2 -0
  183. package/dist/chunk-LKM3MYXR.mjs +2 -0
  184. package/dist/chunk-LLJ272NH.mjs +2 -0
  185. package/dist/chunk-LLZZTI7S.mjs +2 -0
  186. package/dist/chunk-LPNAGSKE.mjs +2 -0
  187. package/dist/chunk-LSKK47Z5.mjs +2 -0
  188. package/dist/chunk-LVQJYLBG.mjs +2 -0
  189. package/dist/chunk-MHZDVKGD.mjs +2 -0
  190. package/dist/chunk-MOL6LAVO.mjs +2 -0
  191. package/dist/chunk-MZLPSQBW.mjs +2 -0
  192. package/dist/chunk-N3MXUANH.mjs +2 -0
  193. package/dist/chunk-NHL76POS.mjs +2 -0
  194. package/dist/chunk-NLZZJJYD.mjs +2 -0
  195. package/dist/chunk-NN7D6HK6.mjs +2 -0
  196. package/dist/chunk-NQ7WVG5N.mjs +2 -0
  197. package/dist/chunk-NZUK2JUG.mjs +2 -0
  198. package/dist/chunk-O55GNWFL.mjs +2 -0
  199. package/dist/chunk-O5BD46RM.mjs +2 -0
  200. package/dist/chunk-OA3O5SLZ.mjs +2 -0
  201. package/dist/chunk-OJGDEUQU.mjs +2 -0
  202. package/dist/chunk-OY65Y573.mjs +2 -0
  203. package/dist/chunk-OYZFLTUY.mjs +2 -0
  204. package/dist/chunk-PADVU2IE.mjs +2 -0
  205. package/dist/chunk-PBBI7NPW.mjs +2 -0
  206. package/dist/chunk-PC54DQBS.mjs +2 -0
  207. package/dist/chunk-PDCZ5M2S.mjs +2 -0
  208. package/dist/chunk-PE54PYIV.mjs +2 -0
  209. package/dist/chunk-PKK5HTEC.mjs +2 -0
  210. package/dist/chunk-PKQ2JTJV.mjs +2 -0
  211. package/dist/chunk-PLNPX4SE.mjs +2 -0
  212. package/dist/chunk-PW6CFXZP.mjs +2 -0
  213. package/dist/chunk-PX6VS5KT.mjs +2 -0
  214. package/dist/chunk-PXCGELHD.mjs +2 -0
  215. package/dist/chunk-PYH6CEQ7.mjs +2 -0
  216. package/dist/chunk-Q2MS37RX.mjs +2 -0
  217. package/dist/chunk-Q3MTSARM.mjs +2 -0
  218. package/dist/chunk-QDUVZAS2.mjs +2 -0
  219. package/dist/chunk-QHHNQNL5.mjs +2 -0
  220. package/dist/chunk-QJNHYOHP.mjs +2 -0
  221. package/dist/chunk-QK2KTBNT.mjs +2 -0
  222. package/dist/chunk-QPVNR3K6.mjs +2 -0
  223. package/dist/chunk-QTI4YOLP.mjs +2 -0
  224. package/dist/chunk-QTLM3WNR.mjs +2 -0
  225. package/dist/chunk-QUTWU52F.mjs +2 -0
  226. package/dist/chunk-R5NU4CCM.mjs +2 -0
  227. package/dist/chunk-RAPT5RL7.mjs +2 -0
  228. package/dist/chunk-RBYCUESO.mjs +2 -0
  229. package/dist/chunk-RH7ZBC46.mjs +2 -0
  230. package/dist/chunk-RIUIAQWJ.mjs +2 -0
  231. package/dist/chunk-RJYOJUXU.mjs +2 -0
  232. package/dist/chunk-RKEZ74AY.mjs +2 -0
  233. package/dist/chunk-RKSSNROD.mjs +2 -0
  234. package/dist/chunk-RSMN6RUA.mjs +2 -0
  235. package/dist/chunk-RUNHNSSE.mjs +2 -0
  236. package/dist/chunk-RUOYFMSF.mjs +2 -0
  237. package/dist/chunk-S4OBOHIP.mjs +2 -0
  238. package/dist/chunk-SCZC3XCX.mjs +2 -0
  239. package/dist/chunk-SJP2P7EM.mjs +2 -0
  240. package/dist/chunk-SKWZRBRF.mjs +2 -0
  241. package/dist/chunk-STV2NZX3.mjs +2 -0
  242. package/dist/chunk-SWRFK2A2.mjs +2 -0
  243. package/dist/chunk-SXWGZ2C6.mjs +2 -0
  244. package/dist/chunk-SY4GONA5.mjs +2 -0
  245. package/dist/chunk-SZ2A5JNW.mjs +2 -0
  246. package/dist/chunk-T6KKPRWS.mjs +2 -0
  247. package/dist/chunk-TCKL6LQJ.mjs +2 -0
  248. package/dist/chunk-TF6GP2TN.mjs +2 -0
  249. package/dist/chunk-THJFX6UC.mjs +2 -0
  250. package/dist/chunk-TIXK7ZBX.mjs +2 -0
  251. package/dist/chunk-TJKIB2HI.mjs +2 -0
  252. package/dist/chunk-TMYRSGQ5.mjs +2 -0
  253. package/dist/chunk-TO3ZP3XF.mjs +2 -0
  254. package/dist/chunk-TSLZQNO5.mjs +2 -0
  255. package/dist/chunk-TVGZJNZN.mjs +2 -0
  256. package/dist/chunk-TYUD5JVB.mjs +2 -0
  257. package/dist/chunk-TYUFGYBC.mjs +2 -0
  258. package/dist/chunk-U3KU5VW6.mjs +2 -0
  259. package/dist/chunk-UA2UW4VZ.mjs +2 -0
  260. package/dist/chunk-UA6RJSOQ.mjs +2 -0
  261. package/dist/chunk-UF4E6BCA.mjs +2 -0
  262. package/dist/chunk-UGY7FR3R.mjs +2 -0
  263. package/dist/chunk-USVGGO7Y.mjs +2 -0
  264. package/dist/chunk-UTI3QXLC.mjs +2 -0
  265. package/dist/chunk-UTXFZBXT.mjs +2 -0
  266. package/dist/chunk-UULCDAJJ.mjs +2 -0
  267. package/dist/chunk-UYCUZYWW.mjs +2 -0
  268. package/dist/chunk-V3AMH2ZK.mjs +2 -0
  269. package/dist/chunk-V53OEVBD.mjs +2 -0
  270. package/dist/chunk-V5WAMDV5.mjs +2 -0
  271. package/dist/chunk-VEXMHZ7W.mjs +2 -0
  272. package/dist/chunk-VJXV6ZFX.mjs +2 -0
  273. package/dist/chunk-VNMY74WO.mjs +2 -0
  274. package/dist/chunk-VT6D7JQP.mjs +2 -0
  275. package/dist/chunk-W3AFQKT6.mjs +2 -0
  276. package/dist/chunk-W4IUPBEU.mjs +2 -0
  277. package/dist/chunk-W62THP75.mjs +2 -0
  278. package/dist/chunk-WEDKDUIU.mjs +2 -0
  279. package/dist/chunk-WEO54AEG.mjs +2 -0
  280. package/dist/chunk-WHYUDO5G.mjs +2 -0
  281. package/dist/chunk-WI33NEHE.mjs +2 -0
  282. package/dist/chunk-WJNRQXDX.mjs +2 -0
  283. package/dist/chunk-WSUUOQAT.mjs +2 -0
  284. package/dist/chunk-X5XIAIZA.mjs +2 -0
  285. package/dist/chunk-X6AJIHTM.mjs +2 -0
  286. package/dist/chunk-XCAFYI4V.mjs +2 -0
  287. package/dist/chunk-XFHCVHEZ.mjs +2 -0
  288. package/dist/chunk-XJHPYNZI.mjs +2 -0
  289. package/dist/chunk-XOA2RFCW.mjs +2 -0
  290. package/dist/chunk-XPCX6RWC.mjs +2 -0
  291. package/dist/chunk-XXWR7RVP.mjs +2 -0
  292. package/dist/chunk-Y4JMWFGX.mjs +2 -0
  293. package/dist/chunk-YHCDQRYR.mjs +2 -0
  294. package/dist/chunk-YK6DH7V6.mjs +2 -0
  295. package/dist/chunk-YPE32NUI.mjs +1 -0
  296. package/dist/chunk-YPNXFKLK.mjs +2 -0
  297. package/dist/chunk-YVWWOPTY.mjs +2 -0
  298. package/dist/chunk-YVX2PWFA.mjs +2 -0
  299. package/dist/chunk-YWLTLNUC.mjs +2 -0
  300. package/dist/chunk-YZZKAGKB.mjs +2 -0
  301. package/dist/chunk-Z5ES47QR.mjs +2 -0
  302. package/dist/chunk-Z76RJFVG.mjs +2 -0
  303. package/dist/chunk-ZCCBP33P.mjs +2 -0
  304. package/dist/chunk-ZGLOKKOT.mjs +2 -0
  305. package/dist/chunk-ZGZX6BGZ.mjs +2 -0
  306. package/dist/chunk-ZHM3PB4G.mjs +2 -0
  307. package/dist/chunk-ZJOL5CKP.mjs +2 -0
  308. package/dist/chunk-ZLE7YB4A.mjs +2 -0
  309. package/dist/chunk-ZTMR3SEY.mjs +2 -0
  310. package/dist/copy-button.mjs +1 -1
  311. package/dist/footer.mjs +1 -1
  312. package/dist/form.mjs +1 -1
  313. package/dist/icons/expanding-arrow.mjs +1 -1
  314. package/dist/icons/index.d.ts +1 -0
  315. package/dist/icons/index.mjs +1 -1
  316. package/dist/icons/linkedin.d.ts +1 -2
  317. package/dist/icons/linkedin.mjs +1 -1
  318. package/dist/icons/loading-circle.mjs +1 -1
  319. package/dist/icons/loading-spinner.mjs +1 -1
  320. package/dist/icons/logo.mjs +1 -1
  321. package/dist/icons/logotype.mjs +1 -1
  322. package/dist/icons/youtube.d.ts +7 -0
  323. package/dist/icons/youtube.mjs +2 -0
  324. package/dist/index.css +1 -1
  325. package/dist/index.d.ts +1 -0
  326. package/dist/index.mjs +1 -1
  327. package/dist/label.mjs +1 -1
  328. package/dist/link-preview.mjs +1 -1
  329. package/dist/max-width-wrapper.mjs +1 -1
  330. package/dist/modal.mjs +1 -1
  331. package/dist/nav-mobile.mjs +1 -1
  332. package/dist/nav.mjs +1 -1
  333. package/dist/popover.mjs +1 -1
  334. package/dist/radio-group.mjs +1 -1
  335. package/dist/switch.mjs +1 -1
  336. package/dist/tab-select.mjs +1 -1
  337. package/dist/tooltip.mjs +1 -1
  338. package/dist/youtube-15056a14.d.ts +7 -0
  339. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-5KTU27AS.mjs";import{a as o}from"./chunk-2MZJAYX6.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{f as g,g as f,h as b}from"./chunk-IW5Y2KZ6.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as h}from"./chunk-TIXK7ZBX.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-Q2MS37RX.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{c as i}from"./chunk-GIQ5X6YY.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as f}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=f(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(h,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})})]})})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-3C3TZRUG.mjs";import{g as i}from"./chunk-FPBD2IMD.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-O55GNWFL.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{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{g as e}from"./chunk-WEO54AEG.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as h}from"./chunk-RJYOJUXU.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-E5CU623S.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{f as i}from"./chunk-WI33NEHE.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as f}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=f(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(h,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})})]})})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as b}from"./chunk-O55GNWFL.mjs";import p from"js-cookie";import{useEffect as R,useState as A}from"react";function w(e,r,t){let[n,u]=A(()=>{let i=p.get(e);return i?JSON.parse(i):r});return R(()=>{let i=()=>{let o=p.get(e);o&&u(JSON.parse(o))};return window.addEventListener("storage",i),()=>{window.removeEventListener("storage",i)}},[e]),[n,i=>{u(i),p.set(e,JSON.stringify(i),t)}]}import{useEffect as V,useState as k}from"react";function S(){let[e,r]=k(null);return V(()=>{let t=document.querySelector("[data-mdx-container]");if(!t)return;let n=t.offsetTop-1,u=new IntersectionObserver(o=>{var f,d,g;let c=o[0];if(!c)return;let l=(((f=c.rootBounds)==null?void 0:f.height)||0)*.3+n;for(let m=1;m<o.length;m++){let h=o[m];if(!h)break;(h.boundingClientRect.top<c.boundingClientRect.top||c.boundingClientRect.bottom<n)&&(c=h)}let s=c.target;for(;s&&s.getBoundingClientRect().bottom<n;)s=(d=a.get(s))==null?void 0:d.next;for(;s&&s.getBoundingClientRect().top>l;)s=(g=a.get(s))==null?void 0:g.prev;s&&r(s.getAttribute("href"))},{threshold:1,rootMargin:`-${n}px 0px 0px 0px`}),a=new Map;return(t==null?void 0:t.querySelectorAll("[data-mdx-heading]")).forEach(o=>u.observe(o)),()=>{u.disconnect()}},[]),e==null?void 0:e.replace("#","")}import{useEffect as M,useState as N}from"react";function v(e,{threshold:r=0,root:t=null,rootMargin:n="0%",freezeOnceVisible:u=!1}){let[a,i]=N(),o=(a==null?void 0:a.isIntersecting)&&u,c=([l])=>{i(l)};return M(()=>{let l=e==null?void 0:e.current;if(!!!window.IntersectionObserver||o||!l)return;let f={threshold:r,root:t,rootMargin:n},d=new IntersectionObserver(c,f);return d.observe(l),()=>d.disconnect()},[e,JSON.stringify(r),t,n,o]),a}import{useEffect as j,useState as q}from"react";function x(e,r){let[t,n]=q(r);return j(()=>{let a=window.localStorage.getItem(e);a&&n(JSON.parse(a))},[e]),[t,a=>{n(a),window.localStorage.setItem(e,JSON.stringify(a))}]}import{useEffect as J,useState as E}from"react";function O(){let[e,r]=E(null),[t,n]=E(null);return J(()=>{let u=()=>{window.matchMedia("(max-width: 640px)").matches?r("mobile"):window.matchMedia("(min-width: 641px) and (max-width: 1024px)").matches?r("tablet"):r("desktop"),n({width:window.innerWidth,height:window.innerHeight})};return u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[]),{device:e,width:t==null?void 0:t.width,height:t==null?void 0:t.height,isMobile:e==="mobile",isTablet:e==="tablet",isDesktop:e==="desktop"}}import U from"swr";import{toast as $}from"sonner";function T(e,r){let{data:t,isLoading:n,mutate:u}=U(e,b);return{data:t,isLoading:n,update:async(a,i)=>$.promise(u(a(t),{optimisticData:i,rollbackOnError:!0,populateCache:!0,revalidate:!0}),{loading:(r==null?void 0:r.loading)||"Updating...",success:(r==null?void 0:r.success)||"Successfully updated",error:(r==null?void 0:r.error)||"Failed to update"})}}import{usePathname as y,useRouter as z,useSearchParams as B}from"next/navigation";function I(){let e=y(),r=z(),t=B(),n=Object.fromEntries(t);return{pathname:e,router:r,searchParams:t,searchParamsObj:n,queryParams:({set:i,del:o,replace:c,getNewPath:l})=>{let s=new URLSearchParams(t);i&&Object.entries(i).forEach(([g,m])=>s.set(g,m)),o&&(Array.isArray(o)?o.forEach(g=>s.delete(g)):s.delete(o));let f=s.toString(),d=`${e}${f.length>0?`?${f}`:""}`;if(l)return d;c?r.replace(d):r.push(d)},getQueryString:(i,o)=>{let c=new URLSearchParams(t);i&&Object.entries(i).forEach(([s,f])=>c.set(s,f)),o!=null&&o.ignore&&o.ignore.forEach(s=>c.delete(s));let l=c.toString();return l.length>0?`?${l}`:""}}}import{useCallback as D,useEffect as P,useState as Q}from"react";function L(e){let[r,t]=Q(!1),n=D(()=>{t(window.scrollY>e)},[e]);return P(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),P(()=>{n()},[n]),r}export{w as a,S as b,v as c,x as d,O as e,T as f,I as g,L as h};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function T(){let{domain:t="dub.co"}=h(),o=a=>t==="dub.co"?a:`https://dub.co${a}`;return r("footer",{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:[e(f,{className:"py-10",children:r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:o("/"),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("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 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]}),r("p",{className:"align-bottom text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:o(a.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:o(a.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:o(a.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:o(a.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]})}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as h}from"./chunk-LLJ272NH.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-BL36JUSP.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{b as i}from"./chunk-O55GNWFL.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as f}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=f(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border-t border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:r(h,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})})]})})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-OY65Y573.mjs";import{a as o}from"./chunk-UTI3QXLC.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{c as g,h as f,i as b}from"./chunk-WI33NEHE.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(f(i),500),d=P(()=>b(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,g,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-GA6RCSAC.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function T(){let{domain:t="dub.co"}=h(),o=r=>t==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:a(f,{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-2xl",children:[a("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a("div",{className:"space-y-8",children:[a(m,{href:o("/"),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[a("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),a("div",{className:"flex items-center space-x-2",children:[a("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 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-4 w-4",fill:"#52525B"})]})]}),a("p",{className:"align-bottom text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]}),a("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]}),a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]})]})]}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-IW5Y2KZ6.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-GA6RCSAC.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-GA6RCSAC.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as f}from"./chunk-A75RGEGE.mjs";import{a as p}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var l={features:f.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function T(){let{domain:t="dub.co"}=h(),o=r=>t==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:a(p,{className:"relative z-10 overflow-hidden rounded-2xl border border-b-0 border-gray-200 bg-white/50 py-20 backdrop-blur-lg",children:[a("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a("div",{className:"space-y-8",children:[a(m,{href:o("/"),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[a("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),a("div",{className:"flex items-center space-x-2",children:[a("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 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-4 w-4",fill:"#52525B"})]})]}),a("p",{className:"align-bottom text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]}),a("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]}),a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]})]})]}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-WEO54AEG.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 we,b as ve}from"./chunk-AUBFB4SI.mjs";var ie=we((Tt,ne)=>{var I=1e3,T=I*60,_=T*60,S=_*24,Re=S*7,Ne=S*365.25;ne.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return Ue(e);if(r==="number"&&isFinite(e))return t.long?Be(e):De(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function Ue(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*Ne;case"weeks":case"week":case"w":return r*Re;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*_;case"minutes":case"minute":case"mins":case"min":case"m":return r*T;case"seconds":case"second":case"secs":case"sec":case"s":return r*I;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function De(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=_?Math.round(e/_)+"h":t>=T?Math.round(e/T)+"m":t>=I?Math.round(e/I)+"s":e+"ms"}function Be(e){var t=Math.abs(e);return t>=S?B(e,t,S,"day"):t>=_?B(e,t,_,"hour"):t>=T?B(e,t,T,"minute"):t>=I?B(e,t,I,"second"):e+" ms"}function B(e,t,r,o){var a=t>=r*1.5;return Math.round(e/r)+" "+o+(a?"s":"")}});var xe=["stats","changelog","terms","privacy","abuse"],Ae=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}];var q=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:"5,000 links/mo"},{text:"250K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}},{text:"Event callbacks (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],ke=q.find(e=>e.name==="Free"),Ee=q.filter(e=>e.name==="Pro"||e.name==="Business");var Se=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",H=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Pe=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,Ie=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Te=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",_e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Le=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${H}`,"api.localhost:8888"]),Ce=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",Me=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var O="cl7pj5kq4006835rbjlt2ofka";var Oe=[{id:"clce1z7ch00j0rbstbjufva4j",slug:H,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:O},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:O},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:O},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:O}]:[]];function ze(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var a=r.slice().reverse().find(function(s){return e>=s.value});return a?(e/a.value).toFixed(t.digits).replace(o,"$1")+a.symbol:"0"}var le=ve(ie(),1),Ge=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,le.default)(r)}${t?" ago":""}`};var G=e=>{try{return new URL(e),!0}catch{return!1}},je=e=>{if(G(e))return new URL(e).toString();try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{return null}};var Fe=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),$e=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),Je=new RegExp(/^[a-zA-Z0-9\-]+$/);var Ye=e=>{if(G(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};async function qe(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),a=new Error(o);throw a.status=r.status,a}return r.json()}function ce(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=ce(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function de(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=ce(e))&&(o&&(o+=" "),o+=t);return o}var Z="-";function He(e){let t=Ze(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function a(n){let l=n.split(Z);return l[0]===""&&l.length!==1&&l.shift(),me(l,t)||Ke(n)}function s(n,l){let u=r[n]||[];return l&&o[n]?[...u,...o[n]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function me(e,t){var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?me(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Z);return(n=t.validators.find(({validator:l})=>l(s)))==null?void 0:n.classGroupId}var ue=/^\[(.+)\]$/;function Ke(e){if(ue.test(e)){let t=ue.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function Ze(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return Xe(Object.entries(e.classGroups),r).forEach(([s,n])=>{K(n,o,s,t)}),o}function K(e,t,r,o){e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:pe(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(We(a)){K(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,n])=>{K(n,pe(t,s),r,o)})})}function pe(e,t){let r=e;return t.split(Z).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function We(e){return e.isThemeGetter}function Xe(e,t){return t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,l])=>[t+n,l])):s);return[r,a]}):e}function Qe(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(s,n){r.set(s,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let n=r.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return a(s,n),n},set(s,n){r.has(s)?r.set(s,n):a(s,n)}}}var fe="!";function et(e){let t=e.separator,r=t.length===1,o=t[0],a=t.length;return function(n){let l=[],u=0,m=0,p;for(let f=0;f<n.length;f++){let g=n[f];if(u===0){if(g===o&&(r||n.slice(f,f+a)===t)){l.push(n.slice(m,f)),m=f+a;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?n:n.substring(m),b=h.startsWith(fe),v=b?h.substring(1):h,E=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function tt(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function rt(e){return{cache:Qe(e.cacheSize),splitModifiers:et(e),...He(e)}}var ot=/\s+/;function st(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=new Set;return e.trim().split(ot).map(n=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(n),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:n};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:n};b=!1}let v=tt(l).join(":"),E=u?v+fe:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:n,hasPostfixModifier:b}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=n,p=l+u;return s.has(p)?!1:(s.add(p),a(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function at(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=he(t))&&(o&&(o+=" "),o+=r);return o}function he(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=he(e[o]))&&(r&&(r+=" "),r+=t);return r}function nt(e,...t){let r,o,a,s=n;function n(u){let m=t.reduce((p,h)=>h(p),e());return r=rt(m),o=r.cache.get,a=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=st(u,r);return a(u,p),p}return function(){return s(at.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var ge=/^\[(?:([a-z-]+):)?(.+)\]$/i,it=/^\d+\/\d+$/,lt=new Set(["px","full","screen"]),ct=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,dt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ut=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,pt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,mt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return P(e)||lt.has(e)||it.test(e)}function A(e){return L(e,"length",xt)}function P(e){return Boolean(e)&&!Number.isNaN(Number(e))}function j(e){return L(e,"number",P)}function z(e){return Boolean(e)&&Number.isInteger(Number(e))}function ft(e){return e.endsWith("%")&&P(e.slice(0,-1))}function i(e){return ge.test(e)}function k(e){return ct.test(e)}var ht=new Set(["length","size","percentage"]);function gt(e){return L(e,ht,be)}function bt(e){return L(e,"position",be)}var yt=new Set(["image","url"]);function wt(e){return L(e,yt,kt)}function vt(e){return L(e,"",At)}function R(){return!0}function L(e,t,r){let o=ge.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function xt(e){return dt.test(e)&&!ut.test(e)}function be(){return!1}function At(e){return pt.test(e)}function kt(e){return mt.test(e)}function Et(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),x=c("opacity"),y=c("padding"),W=c("saturate"),V=c("scale"),X=c("sepia"),Q=c("skew"),ee=c("space"),te=c("translate"),F=()=>["auto","contain","none"],$=()=>["auto","hidden","clip","visible","scroll"],J=()=>["auto",i,t],d=()=>[i,t],re=()=>["",w,A],N=()=>["auto",P,i],oe=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],U=()=>["solid","dashed","dotted","double","none"],se=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],C=()=>["","0",i],ae=()=>["auto","avoid","all","avoid-page","page","left","right","column"],M=()=>[P,j],D=()=>[P,i];return{cacheSize:500,separator:":",theme:{colors:[R],spacing:[w,A],blur:["none","",k,i],brightness:M(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:re(),contrast:M(),grayscale:C(),hueRotate:D(),invert:C(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[ft,A],inset:J(),margin:J(),opacity:M(),padding:d(),saturate:M(),scale:M(),sepia:C(),skew:D(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":ae()}],"break-before":[{"break-before":ae()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...oe(),i]}],overflow:[{overflow:$()}],"overflow-x":[{"overflow-x":$()}],"overflow-y":[{"overflow-y":$()}],overscroll:[{overscroll:F()}],"overscroll-x":[{"overscroll-x":F()}],"overscroll-y":[{"overscroll-y":F()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",z,i]}],basis:[{basis:J()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:C()}],shrink:[{shrink:C()}],order:[{order:["first","last","none",z,i]}],"grid-cols":[{"grid-cols":[R]}],"col-start-end":[{col:["auto",{span:["full",z,i]},i]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[R]}],"row-start-end":[{row:["auto",{span:[z,i]},i]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[ee]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[ee]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",j]}],"font-family":[{font:[R]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",P,j]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[x]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[x]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...U(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,A]}],"underline-offset":[{"underline-offset":["auto",w,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[x]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...oe(),bt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",gt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},wt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[x]}],"border-style":[{border:[...U(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[x]}],"divide-style":[{divide:U()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...U()]}],"outline-offset":[{"outline-offset":[w,i]}],"outline-w":[{outline:[w,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:re()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[x]}],"ring-offset-w":[{"ring-offset":[w,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,vt]}],"shadow-color":[{shadow:[R]}],opacity:[{opacity:[x]}],"mix-blend":[{"mix-blend":se()}],"bg-blend":[{"bg-blend":se()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[W]}],sepia:[{sepia:[X]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[x]}],"backdrop-saturate":[{"backdrop-saturate":[W]}],"backdrop-sepia":[{"backdrop-sepia":[X]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:D()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:D()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[V]}],"scale-x":[{"scale-x":[V]}],"scale-y":[{"scale-y":[V]}],rotate:[{rotate:[z,i]}],"translate-x":[{"translate-x":[te]}],"translate-y":[{"translate-y":[te]}],"skew-x":[{"skew-x":[Q]}],"skew-y":[{"skew-y":[Q]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[w,A,j]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var ye=nt(Et);function St(...e){return ye(de(e))}export{xe as a,Ae as b,Te as c,ze as d,Ge as e,je as f,Ye as g,qe as h,St as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as t}from"./chunk-3XJFQHHJ.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-II5AMWFU.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,h as d,i as n}from"./chunk-IW5Y2KZ6.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import o from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f,isLoading:z}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:i,shortTitle:g})=>s(o,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(i,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:i})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},i)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(o,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(o,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-K3MSXABZ.mjs";import{a as o}from"./chunk-DFGP6SNR.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{f as g,g as f,h as b}from"./chunk-GTMXLZMW.mjs";import{Link2 as v}from"lucide-react";import{useRouter as k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:s,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(o,{})})})]})}export{I as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-WI33NEHE.mjs";import p from"js-cookie";import{useEffect as A,useState as R}from"react";function w(e,r,t){let[n,u]=R(()=>{let s=p.get(e);return s?JSON.parse(s):r});return A(()=>{let s=()=>{let o=p.get(e);o&&u(JSON.parse(o))};return window.addEventListener("storage",s),()=>{window.removeEventListener("storage",s)}},[e]),[n,s=>{u(s),p.set(e,JSON.stringify(s),t)}]}import{useEffect as V,useState as j}from"react";function S(){let[e,r]=j(null);return V(()=>{let t=document.querySelector("[data-mdx-container]");if(!t)return;let n=t.offsetTop-1,u=new IntersectionObserver(o=>{var f,d,h;let c=o[0];if(!c)return;let l=(((f=c.rootBounds)==null?void 0:f.height)||0)*.3+n;for(let g=1;g<o.length;g++){let m=o[g];if(!m)break;(m.boundingClientRect.top<c.boundingClientRect.top||c.boundingClientRect.bottom<n)&&(c=m)}let a=c.target;for(;a&&a.getBoundingClientRect().bottom<n;)a=(d=i.get(a))==null?void 0:d.next;for(;a&&a.getBoundingClientRect().top>l;)a=(h=i.get(a))==null?void 0:h.prev;a&&r(a.getAttribute("href"))},{threshold:1,rootMargin:`-${n}px 0px 0px 0px`}),i=new Map;return(t==null?void 0:t.querySelectorAll("[data-mdx-heading]")).forEach(o=>u.observe(o)),()=>{u.disconnect()}},[]),e==null?void 0:e.replace("#","")}import{useEffect as k,useState as y}from"react";function x(e,{threshold:r=0,root:t=null,rootMargin:n="0%",freezeOnceVisible:u=!1}){let[i,s]=y(),o=(i==null?void 0:i.isIntersecting)&&u,c=([l])=>{s(l)};return k(()=>{let l=e==null?void 0:e.current;if(!!!window.IntersectionObserver||o||!l)return;let f={threshold:r,root:t,rootMargin:n},d=new IntersectionObserver(c,f);return d.observe(l),()=>d.disconnect()},[e,JSON.stringify(r),t,n,o]),i}import{useEffect as M,useState as N}from"react";function v(e,r){let[t,n]=N(r);return M(()=>{let i=window.localStorage.getItem(e);i&&n(JSON.parse(i))},[e]),[t,i=>{n(i),window.localStorage.setItem(e,JSON.stringify(i))}]}import{useEffect as q,useState as E}from"react";function O(){let[e,r]=E(null),[t,n]=E(null);return q(()=>{let u=()=>{window.matchMedia("(max-width: 640px)").matches?r("mobile"):window.matchMedia("(min-width: 641px) and (max-width: 1024px)").matches?r("tablet"):r("desktop"),n({width:window.innerWidth,height:window.innerHeight})};return u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[]),{device:e,width:t==null?void 0:t.width,height:t==null?void 0:t.height,isMobile:e==="mobile",isTablet:e==="tablet",isDesktop:e==="desktop"}}import J from"swr";import{toast as U}from"sonner";function T(e,r){let{data:t,isLoading:n,mutate:u}=J(e,b);return{data:t,isLoading:n,update:async(i,s)=>U.promise(u(i(t),{optimisticData:s,rollbackOnError:!0,populateCache:!0,revalidate:!0}),{loading:(r==null?void 0:r.loading)||"Updating...",success:(r==null?void 0:r.success)||"Successfully updated",error:(r==null?void 0:r.error)||"Failed to update"})}}import{usePathname as D,useRouter as $,useSearchParams as z}from"next/navigation";function I(){let e=D(),r=$(),t=z(),n=Object.fromEntries(t);return{pathname:e,router:r,searchParams:t,searchParamsObj:n,queryParams:({set:s,del:o,replace:c,getNewPath:l,arrayDelimiter:a=","})=>{let f=new URLSearchParams(t);s&&Object.entries(s).forEach(([g,m])=>f.set(g,Array.isArray(m)?m.join(a):m)),o&&(Array.isArray(o)?o.forEach(g=>f.delete(g)):f.delete(o));let d=f.toString(),h=`${e}${d.length>0?`?${d}`:""}`;if(l)return h;c?r.replace(h):r.push(h)},getQueryString:(s,o)=>{let c=new URLSearchParams(t);s&&Object.entries(s).forEach(([a,f])=>c.set(a,f)),o!=null&&o.ignore&&o.ignore.forEach(a=>c.delete(a));let l=c.toString();return l.length>0?`?${l}`:""}}}import{useCallback as B,useEffect as P,useState as Q}from"react";function L(e){let[r,t]=Q(!1),n=B(()=>{t(window.scrollY>e)},[e]);return P(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),P(()=>{n()},[n]),r}export{w as a,S as b,x as c,v as d,O as e,T as f,I as g,L as h};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as s}from"./chunk-BL74B4DR.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-GA6RCSAC.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 h}from"./chunk-A75RGEGE.mjs";import{a as p}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as u}from"next/navigation";import f from"next/image";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:h.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function C(){let{domain:t="dub.co"}=u(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return r("footer",{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:[r(p,{className:"z-10 pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})})]}),e(f,{src:"https://media.cleanshot.cloud/media/75455/I8jNvnIj1RLqC8kn4RN18WiZPSYKHkKyhuQW2hBu.jpeg?Expires=1708420504&Signature=GH0BFPQ0I95DdACclQFthQkyd4X0ktgRVL438W9VDWNArZMSzaaAVxwff-K8XF0oqoaag4VMYwJAwQaDu3cWI9~ZfH93RggKzuGFK9iKtbN6i16HWl3MG~42RYtMDV2rQD0w4Jtw4Rfa0EeTaD26-J4C~um~ZAjFRcqTOyuRnmFO8RL--HphBQT64tDlrTRc8SaCc75rIxCaXZt~3PuupuWi8O0b1gMvysLuuEF~lYY1PyWiqY901kw9Uhs8oo8t-J6MAWfyC~EBlCZIhpEC9ywjcxOJ76xuQ69la4u3fb8VKGUHVJavszdGAh~xwiVUkqwdJXoZ6-DXGzZnFSOwiw__&Key-Pair-Id=K269JMAT9ZF4GZ",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0"})]})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as e}from"./chunk-3XJFQHHJ.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{i}from"./chunk-3XJFQHHJ.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as g}from"./chunk-BL74B4DR.mjs";import{g as i}from"./chunk-GA6RCSAC.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function w({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:u,preventDefaultClose:f}){let p=D(),m=({dragged:e}={})=>{f&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=g();return b&&!u?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{w as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as t}from"./chunk-O55GNWFL.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function T(){let{domain:t="dub.co"}=h(),o=r=>t==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:a(f,{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-2xl",children:[a("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a("div",{className:"space-y-8",children:[a(m,{href:o("/"),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[a("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),a("div",{className:"flex items-center space-x-2",children:[a("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 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-4 w-4",fill:"#52525B"})]})]}),a("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]}),a("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]}),a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]})]})]}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-TYUD5JVB.mjs";import{g as i}from"./chunk-FPBD2IMD.mjs";import{useMemo as x,useState as u}from"react";import{jsx as e,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:a,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:p}){let[t,y]=u(a.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===a.defaultValue,[l,t,a.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await p({[a.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:[e("h2",{className:"text-xl font-medium",children:g}),e("p",{className:"text-sm text-gray-500",children:c})]}),typeof a.defaultValue=="string"?e("input",{...a,type:"text",required:!0,disabled:!!o,onChange:n=>y(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):e("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"?e("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,e("div",{className:"shrink-0",children:e(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as f}from"./chunk-A75RGEGE.mjs";import{a as p}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as a}from"react/jsx-runtime";var l={features:f.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function T(){let{domain:t="dub.co"}=h(),o=r=>t==="dub.co"?r:`https://dub.co${r}`;return a("footer",{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:[e(p,{children:a("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[a("div",{className:"space-y-8",children:[a(m,{href:o("/"),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[a("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),a("div",{className:"flex items-center space-x-2",children:[a("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 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-4 w-4 text-gray-600"})]}),a("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-4 w-4",fill:"#52525B"})]})]}),a("p",{className:"align-bottom text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]}),a("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]}),a("div",{className:"md:grid md:grid-cols-2",children:[a("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]}),a("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(r=>e("li",{children:e(m,{href:o(r.href),...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:r.name})},r.name))})]})]})]})]})}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as s}from"./chunk-K3MSXABZ.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-WI33NEHE.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as h}from"next/navigation";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:p.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function L(){let{domain:t="dub.co"}=h(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{className:"z-10 border border-b-0 border-gray-200 bg-white/50 py-8 backdrop-blur-lg",style:{backgroundImage:"url('/footer-background.png')"},children:r(f,{className:"pt-10",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]}),e("div",{className:"mt-16 border-t border-gray-900/10 pt-8 sm:mt-20 lg:mt-24",children:r("p",{className:"text-sm leading-5 text-gray-500",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})})]})})}export{L as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as l}from"./chunk-GIQ5X6YY.mjs";import{jsx as C,jsxs as t}from"react/jsx-runtime";function e({className:r}){return t("svg",{width:"834",height:"236",viewBox:"0 0 834 236",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:l("h-6 w-24",r),children:[C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"}),C("mask",{id:"mask0_46_2",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"41",y:"7",width:"225",height:"225",children:C("path",{d:"M266 119.5C266 181.632 215.632 232 153.5 232C91.368 232 41 181.632 41 119.5C41 57.368 91.368 7 153.5 7C215.632 7 266 57.368 266 119.5Z",fill:"currentColor"})}),t("g",{mask:"url(#mask0_46_2)",children:[C("ellipse",{cx:"153",cy:"124.5",rx:"58",ry:"57.5",fill:"white"}),C("path",{d:"M185 -10H211V181H185V-10Z",fill:"white"})]}),C("path",{d:"M397.25 213.75C385.25 213.75 374.833 211.083 366 205.75C357.167 200.417 350.25 192.917 345.25 183.25C340.417 173.417 338 161.917 338 148.75C338 135.417 340.5 123.75 345.5 113.75C350.5 103.583 357.583 95.6667 366.75 90C376.083 84.3333 387.083 81.5 399.75 81.5C407.583 81.5 414.833 82.9167 421.5 85.75C428.333 88.5833 433.583 92.3333 437.25 97V22H475.75V210.5H439.5L437.5 194.5C434.167 200.167 428.833 204.833 421.5 208.5C414.333 212 406.25 213.75 397.25 213.75ZM406.5 178.5C412.5 178.5 417.75 177.25 422.25 174.75C426.917 172.083 430.5 168.417 433 163.75C435.667 158.917 437 153.417 437 147.25C437 140.917 435.667 135.417 433 130.75C430.5 126.083 426.917 122.5 422.25 120C417.75 117.333 412.5 116 406.5 116C400.5 116 395.25 117.333 390.75 120C386.25 122.667 382.75 126.333 380.25 131C377.917 135.667 376.75 141.083 376.75 147.25C376.75 153.417 377.917 158.833 380.25 163.5C382.75 168.167 386.25 171.833 390.75 174.5C395.25 177.167 400.5 178.5 406.5 178.5Z",fill:"currentColor"}),C("path",{d:"M587.662 85.5H626.162C626.162 85.5 626.162 148.5 626.162 164C626.162 179.5 623.786 191.5 616.5 200.5C609.214 209.5 594 213.75 582.162 213.75C570.324 213.75 564.412 213.75 564.412 213.75C564.412 213.75 556.662 213.75 549.162 213.75C534.995 213.75 523.745 209.333 515.412 200.5C507.245 191.5 503.162 179.333 503.162 164V85.5H541.662V150C541.662 160.167 543.495 167.667 547.162 172.5C550.829 177.167 556.579 179.5 564.412 179.5C572.745 179.5 578.662 177.25 582.162 172.75C585.829 168.083 587.662 160.667 587.662 150.5V85.5Z",fill:"currentColor"}),C("path",{d:"M691.303 210.5H655.053V22H693.553V100C697.386 94.3333 703.053 89.8333 710.553 86.5C718.219 83 726.553 81.25 735.553 81.25C747.219 81.25 757.303 84.0833 765.803 89.75C774.469 95.4167 781.136 103.333 785.803 113.5C790.469 123.667 792.803 135.583 792.803 149.25C792.803 162.083 790.219 173.417 785.053 183.25C780.053 192.917 772.969 200.417 763.803 205.75C754.803 211.083 744.386 213.75 732.553 213.75C723.886 213.75 715.969 212 708.803 208.5C701.803 204.833 696.636 200.167 693.303 194.5L691.303 210.5ZM693.803 147.25C693.803 153.417 695.053 158.917 697.553 163.75C700.219 168.417 703.803 172.083 708.303 174.75C712.969 177.25 718.303 178.5 724.303 178.5C730.469 178.5 735.719 177.167 740.053 174.5C744.553 171.833 747.969 168.167 750.303 163.5C752.803 158.833 754.053 153.417 754.053 147.25C754.053 141.083 752.803 135.667 750.303 131C747.969 126.333 744.553 122.667 740.053 120C735.719 117.333 730.469 116 724.303 116C718.303 116 712.969 117.333 708.303 120C703.803 122.5 700.219 126.083 697.553 130.75C695.053 135.417 693.803 140.917 693.803 147.25Z",fill:"currentColor"})]})}export{e as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i}from"./chunk-O55GNWFL.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as o}from"./chunk-GIQ5X6YY.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{e as s}from"./chunk-LSKK47Z5.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-WEO54AEG.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{e as s}from"./chunk-D2PA3TQK.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as h}from"./chunk-A75RGEGE.mjs";import{a as p}from"./chunk-RH7ZBC46.mjs";import{a as g}from"./chunk-VWVFVW4E.mjs";import{a as d}from"./chunk-5EWSH7PD.mjs";import{a as n}from"./chunk-NLZZJJYD.mjs";import{a as c}from"./chunk-T4YFARK5.mjs";import{i}from"./chunk-GA6RCSAC.mjs";import o from"@vercel/analytics";import m from"next/link";import{useParams as f}from"next/navigation";import u from"next/image";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:h.map(({shortTitle:t,slug:s})=>({name:t,href:`/${s}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customer Stories",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:i.map(({name:t,slug:s})=>({name:t,href:`/tools/${s}`}))};function T(){let{domain:t="dub.co"}=f(),s=a=>t==="dub.co"?a:`https://dub.co${a}`;return r("footer",{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 py-8 backdrop-blur-lg",children:[e(p,{className:"py-10",children:r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-8",children:[r(m,{href:s("/"),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:"footer item (logo)"})}},children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(n,{className:"h-7 text-gray-600"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("div",{className:"flex items-center space-x-2",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Twitter"}),e(g,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"Github"}),e(c,{className:"h-5 w-5 text-gray-600"})]}),e("div",{className:"h-8 border-l border-gray-200"}),r("a",{href:"https://www.linkedin.com/company/dubinc/",target:"_blank",rel:"noreferrer",className:"rounded-md p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(d,{className:"h-5 w-5",fill:"#52525B"})]})]})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-900",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.features.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.product.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.legal.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-600",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.tools.map(a=>e("li",{children:e(m,{href:s(a.href),...t!=="dub.co"&&{onClick:()=>{o.track("Referred from custom domain",{domain:t,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-900",children:a.name})},a.name))})]})]})]})]})}),e(u,{src:"/_static/footer-bg.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})}export{T as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-YWLTLNUC.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{a as t,f as d,g as n}from"./chunk-GA6RCSAC.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import o from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function E(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f,isLoading:z}=L(r==="dub.co"&&"/api/auth/session",d,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:i,shortTitle:g})=>s(o,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(i,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:i})=>e("li",{className:"py-3",children:e(o,{href:r==="dub.co"?`/${i}`:`https://dub.co/${i}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},i)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(o,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(o,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(o,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{i as C}from"./chunk-O55GNWFL.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};