@dub/ui 0.0.52 → 0.0.54

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 (425) 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.mjs +1 -1
  5. package/dist/blur-image.mjs +1 -1
  6. package/dist/button.d.ts +1 -1
  7. package/dist/button.mjs +1 -1
  8. package/dist/checkbox.mjs +1 -1
  9. package/dist/chunk-23UUKFVB.mjs +2 -0
  10. package/dist/chunk-23XEYY6W.mjs +2 -0
  11. package/dist/chunk-24BVYPYB.mjs +2 -0
  12. package/dist/chunk-27T4LQZ5.mjs +2 -0
  13. package/dist/chunk-2BBSB2TT.mjs +2 -0
  14. package/dist/chunk-2FLQXMEN.mjs +2 -0
  15. package/dist/chunk-2KIQW54G.mjs +2 -0
  16. package/dist/chunk-2LS5YKYL.mjs +2 -0
  17. package/dist/chunk-2NFMOTLU.mjs +2 -0
  18. package/dist/chunk-2PQ6WPCM.mjs +2 -0
  19. package/dist/chunk-37XMSLJL.mjs +2 -0
  20. package/dist/chunk-3BLHLT6S.mjs +2 -0
  21. package/dist/chunk-3EWFGVBB.mjs +2 -0
  22. package/dist/chunk-3H5Y5P24.mjs +2 -0
  23. package/dist/chunk-3LH6RXKX.mjs +2 -0
  24. package/dist/chunk-3LHOJMOC.mjs +2 -0
  25. package/dist/chunk-3OYCRJV5.mjs +2 -0
  26. package/dist/chunk-3VO3BWUU.mjs +2 -0
  27. package/dist/chunk-3ZSWAPIG.mjs +2 -0
  28. package/dist/chunk-42BY5K3U.mjs +2 -0
  29. package/dist/chunk-42OUR7VS.mjs +2 -0
  30. package/dist/chunk-4G3UNZBO.mjs +2 -0
  31. package/dist/chunk-4J7I7CFF.mjs +2 -0
  32. package/dist/chunk-4JTU3KQG.mjs +2 -0
  33. package/dist/chunk-4LBA2XEI.mjs +2 -0
  34. package/dist/chunk-4M4IDJOK.mjs +2 -0
  35. package/dist/chunk-4NONQOL6.mjs +2 -0
  36. package/dist/chunk-4PGJ5TFS.mjs +2 -0
  37. package/dist/chunk-4POC4S75.mjs +2 -0
  38. package/dist/chunk-4QGGYK6G.mjs +2 -0
  39. package/dist/chunk-4SBKQLTI.mjs +2 -0
  40. package/dist/chunk-4TLJU2PF.mjs +2 -0
  41. package/dist/chunk-4W26MVP7.mjs +2 -0
  42. package/dist/chunk-4W2FFTIM.mjs +2 -0
  43. package/dist/chunk-4ZF5VHQJ.mjs +2 -0
  44. package/dist/chunk-5AM3ASS6.mjs +2 -0
  45. package/dist/chunk-5EVMVOME.mjs +2 -0
  46. package/dist/chunk-5GMC2S3F.mjs +2 -0
  47. package/dist/chunk-5JO2CETU.mjs +2 -0
  48. package/dist/chunk-5KELKX5H.mjs +2 -0
  49. package/dist/chunk-5LTL3UY6.mjs +2 -0
  50. package/dist/chunk-5TGMO5WL.mjs +2 -0
  51. package/dist/chunk-5VCSOAR3.mjs +2 -0
  52. package/dist/chunk-5VV7TT33.mjs +2 -0
  53. package/dist/chunk-5XYYSQ7J.mjs +2 -0
  54. package/dist/chunk-5ZXBAGKJ.mjs +2 -0
  55. package/dist/chunk-624ACQGI.mjs +2 -0
  56. package/dist/chunk-63ZY5SGT.mjs +2 -0
  57. package/dist/chunk-6J7IF4YV.mjs +2 -0
  58. package/dist/chunk-6KE5NNIQ.mjs +2 -0
  59. package/dist/chunk-6KGJER4A.mjs +2 -0
  60. package/dist/chunk-6PZ5ZNIT.mjs +2 -0
  61. package/dist/chunk-6STPT3VI.mjs +2 -0
  62. package/dist/chunk-6SWOTB5C.mjs +2 -0
  63. package/dist/chunk-6TSVSSVF.mjs +2 -0
  64. package/dist/chunk-6URXBEKP.mjs +2 -0
  65. package/dist/chunk-6VNN5UXD.mjs +2 -0
  66. package/dist/chunk-6VRYLQGE.mjs +2 -0
  67. package/dist/chunk-6XH2T4JX.mjs +2 -0
  68. package/dist/chunk-72LYFDXB.mjs +2 -0
  69. package/dist/chunk-77WJEJMX.mjs +2 -0
  70. package/dist/chunk-7CO2LYCA.mjs +2 -0
  71. package/dist/chunk-7E2O4RPQ.mjs +2 -0
  72. package/dist/chunk-7EKWLNKU.mjs +2 -0
  73. package/dist/chunk-7EQGN56U.mjs +2 -0
  74. package/dist/chunk-7MVDWL64.mjs +2 -0
  75. package/dist/chunk-7NLE2HUU.mjs +2 -0
  76. package/dist/chunk-7O6YTSFK.mjs +2 -0
  77. package/dist/chunk-7OLRPOFX.mjs +2 -0
  78. package/dist/chunk-7SFMLUOZ.mjs +2 -0
  79. package/dist/chunk-7URWJ4WJ.mjs +2 -0
  80. package/dist/chunk-A72ZLXVJ.mjs +2 -0
  81. package/dist/chunk-AAAW7U2B.mjs +2 -0
  82. package/dist/chunk-AHSU5RJN.mjs +2 -0
  83. package/dist/chunk-AKLBNPUQ.mjs +2 -0
  84. package/dist/chunk-AOZIEXN5.mjs +2 -0
  85. package/dist/chunk-AT5M2UIZ.mjs +2 -0
  86. package/dist/chunk-AZXW22CE.mjs +2 -0
  87. package/dist/chunk-B4HHMQC4.mjs +2 -0
  88. package/dist/chunk-B6UBSN7H.mjs +2 -0
  89. package/dist/chunk-BD5LFRX6.mjs +2 -0
  90. package/dist/chunk-BGCP6GFH.mjs +2 -0
  91. package/dist/chunk-BJJG4IDP.mjs +2 -0
  92. package/dist/chunk-BKWBYFUB.mjs +2 -0
  93. package/dist/chunk-BPLCYPY4.mjs +2 -0
  94. package/dist/chunk-BTJU4ENV.mjs +2 -0
  95. package/dist/chunk-BTS4EI6G.mjs +2 -0
  96. package/dist/chunk-BW5BCHWL.mjs +2 -0
  97. package/dist/chunk-BX5MSDH5.mjs +2 -0
  98. package/dist/chunk-BXJGDOV2.mjs +2 -0
  99. package/dist/chunk-BZUNKNAW.mjs +2 -0
  100. package/dist/chunk-C5AOPRZQ.mjs +2 -0
  101. package/dist/chunk-C5DUGWN7.mjs +2 -0
  102. package/dist/chunk-C5HQZIHY.mjs +2 -0
  103. package/dist/chunk-CBKV77A2.mjs +2 -0
  104. package/dist/chunk-CCBNCMEV.mjs +2 -0
  105. package/dist/chunk-CCUY2FS7.mjs +2 -0
  106. package/dist/chunk-CDFVRTG7.mjs +2 -0
  107. package/dist/chunk-CF2RDN2Q.mjs +2 -0
  108. package/dist/chunk-CI7EHBKI.mjs +2 -0
  109. package/dist/chunk-CLB5JQG5.mjs +2 -0
  110. package/dist/chunk-CLFHDSPJ.mjs +2 -0
  111. package/dist/chunk-CNS3M5NE.mjs +2 -0
  112. package/dist/chunk-CNXZ7XJQ.mjs +2 -0
  113. package/dist/chunk-CO2RSMGE.mjs +2 -0
  114. package/dist/chunk-CPV26XYN.mjs +2 -0
  115. package/dist/chunk-CPXPUAND.mjs +2 -0
  116. package/dist/chunk-CQ5PAEA5.mjs +2 -0
  117. package/dist/chunk-CT3EW3A5.mjs +2 -0
  118. package/dist/chunk-CT3NBXW6.mjs +2 -0
  119. package/dist/chunk-CW37GSIA.mjs +2 -0
  120. package/dist/chunk-CYPWJJQH.mjs +2 -0
  121. package/dist/chunk-CYVXOXSJ.mjs +2 -0
  122. package/dist/chunk-CZRUUX6W.mjs +2 -0
  123. package/dist/chunk-D6SJZXKY.mjs +2 -0
  124. package/dist/chunk-D7YXOV26.mjs +2 -0
  125. package/dist/chunk-DC6P6ZXH.mjs +2 -0
  126. package/dist/chunk-DEUD6VLZ.mjs +2 -0
  127. package/dist/chunk-DSCUUAKG.mjs +8 -0
  128. package/dist/chunk-E2YN2VVO.mjs +2 -0
  129. package/dist/chunk-E3PKC7LI.mjs +2 -0
  130. package/dist/chunk-EA4CEYTF.mjs +2 -0
  131. package/dist/chunk-EANXVR6C.mjs +2 -0
  132. package/dist/chunk-EBAYV5RM.mjs +2 -0
  133. package/dist/chunk-EC6UDZWE.mjs +2 -0
  134. package/dist/chunk-EDB5M6YU.mjs +2 -0
  135. package/dist/chunk-EF344SP6.mjs +2 -0
  136. package/dist/chunk-EFMHCPRW.mjs +2 -0
  137. package/dist/chunk-EINDJDN4.mjs +2 -0
  138. package/dist/chunk-ELKJE4R4.mjs +2 -0
  139. package/dist/chunk-EM7JQKIF.mjs +2 -0
  140. package/dist/chunk-EMHJDI6O.mjs +2 -0
  141. package/dist/chunk-EMTPMKHT.mjs +2 -0
  142. package/dist/chunk-ET2VR7RJ.mjs +2 -0
  143. package/dist/chunk-ETNAJVOL.mjs +2 -0
  144. package/dist/chunk-F3HIT7WT.mjs +2 -0
  145. package/dist/chunk-FBCHGQCC.mjs +2 -0
  146. package/dist/chunk-FCVYAFIW.mjs +2 -0
  147. package/dist/chunk-FCWSXFTE.mjs +2 -0
  148. package/dist/chunk-FE5LXIUI.mjs +2 -0
  149. package/dist/chunk-FEWL3DMP.mjs +2 -0
  150. package/dist/chunk-FG2EWBSX.mjs +2 -0
  151. package/dist/chunk-FHDQEB2N.mjs +2 -0
  152. package/dist/chunk-FJR43ACW.mjs +2 -0
  153. package/dist/chunk-FJWYOMY3.mjs +2 -0
  154. package/dist/chunk-FMDM6SYP.mjs +2 -0
  155. package/dist/chunk-FNW54UHU.mjs +2 -0
  156. package/dist/chunk-FOSK44HV.mjs +2 -0
  157. package/dist/chunk-FQR34YZH.mjs +2 -0
  158. package/dist/chunk-FSFDH6GJ.mjs +2 -0
  159. package/dist/chunk-G4NT6HLB.mjs +2 -0
  160. package/dist/chunk-GDID6BSO.mjs +2 -0
  161. package/dist/chunk-GEZXH76P.mjs +2 -0
  162. package/dist/chunk-GFAFAMMF.mjs +2 -0
  163. package/dist/chunk-GFTAI6ER.mjs +2 -0
  164. package/dist/chunk-GGA7N4W4.mjs +2 -0
  165. package/dist/chunk-GILEZR5H.mjs +2 -0
  166. package/dist/chunk-GIXZIT5M.mjs +2 -0
  167. package/dist/chunk-GO6JTPBE.mjs +2 -0
  168. package/dist/chunk-GOKU2CQG.mjs +2 -0
  169. package/dist/chunk-GSWYFY3A.mjs +2 -0
  170. package/dist/chunk-GT6GSDBR.mjs +2 -0
  171. package/dist/chunk-GV3YSMMJ.mjs +2 -0
  172. package/dist/chunk-HAOZKHS4.mjs +2 -0
  173. package/dist/chunk-HAW7OISQ.mjs +2 -0
  174. package/dist/chunk-HBMTEU3Y.mjs +2 -0
  175. package/dist/chunk-HG2A2FJL.mjs +2 -0
  176. package/dist/chunk-HL3EG2ZM.mjs +2 -0
  177. package/dist/chunk-HLIT33RM.mjs +2 -0
  178. package/dist/chunk-HRHDVXLD.mjs +2 -0
  179. package/dist/chunk-HUIIIHIA.mjs +2 -0
  180. package/dist/chunk-HWEZCBNQ.mjs +2 -0
  181. package/dist/chunk-HYASLBQT.mjs +2 -0
  182. package/dist/chunk-HZRL5CAT.mjs +2 -0
  183. package/dist/chunk-I4O7KKYP.mjs +2 -0
  184. package/dist/chunk-IDJS7RYD.mjs +2 -0
  185. package/dist/chunk-IEYXQBO7.mjs +2 -0
  186. package/dist/chunk-IJAEOCDI.mjs +2 -0
  187. package/dist/chunk-IJLZICGB.mjs +2 -0
  188. package/dist/chunk-IKWRPBR6.mjs +2 -0
  189. package/dist/chunk-IO2SCCA6.mjs +2 -0
  190. package/dist/chunk-IUAMGRVT.mjs +2 -0
  191. package/dist/chunk-IUPGM55L.mjs +2 -0
  192. package/dist/chunk-IZOIFM53.mjs +2 -0
  193. package/dist/chunk-J3ODITVQ.mjs +2 -0
  194. package/dist/chunk-JEMVA5LQ.mjs +2 -0
  195. package/dist/chunk-JMNIBGRI.mjs +2 -0
  196. package/dist/chunk-JN2MG775.mjs +2 -0
  197. package/dist/chunk-JTB6YHCJ.mjs +2 -0
  198. package/dist/chunk-JTJNI5ZK.mjs +2 -0
  199. package/dist/chunk-JUEDK4E3.mjs +2 -0
  200. package/dist/chunk-JYC6FBL4.mjs +2 -0
  201. package/dist/chunk-K2ULGWVE.mjs +2 -0
  202. package/dist/chunk-K5IUDH5E.mjs +2 -0
  203. package/dist/chunk-KB4DAX7K.mjs +2 -0
  204. package/dist/chunk-KKANN6BX.mjs +2 -0
  205. package/dist/chunk-KNAPDQPO.mjs +2 -0
  206. package/dist/chunk-KSJWNP5B.mjs +2 -0
  207. package/dist/chunk-KSUVBYNX.mjs +2 -0
  208. package/dist/chunk-KZBJ7ALT.mjs +2 -0
  209. package/dist/chunk-L3IIPBNU.mjs +2 -0
  210. package/dist/chunk-L6HMKSGI.mjs +2 -0
  211. package/dist/chunk-LCVJMTYW.mjs +2 -0
  212. package/dist/chunk-LDWEGAOQ.mjs +2 -0
  213. package/dist/chunk-LIPYMYWM.mjs +2 -0
  214. package/dist/chunk-LM3O7N2V.mjs +2 -0
  215. package/dist/chunk-LR55ECMB.mjs +2 -0
  216. package/dist/chunk-LXND76JI.mjs +2 -0
  217. package/dist/chunk-LYPBBICK.mjs +2 -0
  218. package/dist/chunk-LYU7RP2O.mjs +2 -0
  219. package/dist/chunk-M2HOLUWS.mjs +2 -0
  220. package/dist/chunk-MBL4SULQ.mjs +2 -0
  221. package/dist/chunk-MC737LUD.mjs +2 -0
  222. package/dist/chunk-MFNN3ZBW.mjs +2 -0
  223. package/dist/chunk-MGOG3VPJ.mjs +2 -0
  224. package/dist/chunk-MK5PRM35.mjs +2 -0
  225. package/dist/chunk-MM23BM2Q.mjs +2 -0
  226. package/dist/chunk-MMOHT23R.mjs +2 -0
  227. package/dist/chunk-MN2KXQMZ.mjs +2 -0
  228. package/dist/chunk-MP2YOFPK.mjs +2 -0
  229. package/dist/chunk-MSNF3QA3.mjs +2 -0
  230. package/dist/chunk-MTNJQX2W.mjs +2 -0
  231. package/dist/chunk-MUDVOU3N.mjs +2 -0
  232. package/dist/chunk-MV72CWHL.mjs +2 -0
  233. package/dist/chunk-MVOVOGAX.mjs +2 -0
  234. package/dist/chunk-MZS5LLKM.mjs +2 -0
  235. package/dist/chunk-N5VRD2NY.mjs +2 -0
  236. package/dist/chunk-NB6ONN62.mjs +2 -0
  237. package/dist/chunk-NFTN7KXH.mjs +2 -0
  238. package/dist/chunk-NILOKQCL.mjs +2 -0
  239. package/dist/chunk-NLLOJOER.mjs +2 -0
  240. package/dist/chunk-NPEMZ2LO.mjs +2 -0
  241. package/dist/chunk-NQTM6SGW.mjs +2 -0
  242. package/dist/chunk-NSFOUTI6.mjs +2 -0
  243. package/dist/chunk-NSYPHA57.mjs +2 -0
  244. package/dist/chunk-NVKJRCEY.mjs +2 -0
  245. package/dist/chunk-NWJHE47R.mjs +2 -0
  246. package/dist/chunk-NYCI57MD.mjs +2 -0
  247. package/dist/chunk-NYQHLYN7.mjs +2 -0
  248. package/dist/chunk-OCHRSAOB.mjs +2 -0
  249. package/dist/chunk-OCWY7AWV.mjs +2 -0
  250. package/dist/chunk-OIATCLQ4.mjs +2 -0
  251. package/dist/chunk-OIPMY3HH.mjs +2 -0
  252. package/dist/chunk-OLI2LIZZ.mjs +2 -0
  253. package/dist/chunk-OLJBQZEM.mjs +2 -0
  254. package/dist/chunk-OMFFRRI2.mjs +2 -0
  255. package/dist/chunk-ONHQPIZN.mjs +2 -0
  256. package/dist/chunk-OPRCT2NZ.mjs +2 -0
  257. package/dist/chunk-ORD4HLFB.mjs +2 -0
  258. package/dist/chunk-ORKM2LBZ.mjs +2 -0
  259. package/dist/chunk-OW7RDAAA.mjs +2 -0
  260. package/dist/chunk-OXUOPUPS.mjs +2 -0
  261. package/dist/chunk-P2LABJRP.mjs +2 -0
  262. package/dist/chunk-P3DANSRS.mjs +2 -0
  263. package/dist/chunk-P4CWQDNW.mjs +2 -0
  264. package/dist/chunk-P7L3GDZU.mjs +2 -0
  265. package/dist/chunk-PAIUZAJ7.mjs +2 -0
  266. package/dist/chunk-PCHAUAYM.mjs +2 -0
  267. package/dist/chunk-PCOHCSJF.mjs +2 -0
  268. package/dist/chunk-PCSPV6UX.mjs +2 -0
  269. package/dist/chunk-PEV7OVUQ.mjs +2 -0
  270. package/dist/chunk-PIDCDREJ.mjs +2 -0
  271. package/dist/chunk-PNHFJMQE.mjs +2 -0
  272. package/dist/chunk-PTXQCDM6.mjs +2 -0
  273. package/dist/chunk-PTXSZVWF.mjs +2 -0
  274. package/dist/chunk-PUIVBY5I.mjs +2 -0
  275. package/dist/chunk-PZUYIMFB.mjs +2 -0
  276. package/dist/chunk-Q32EDFEL.mjs +2 -0
  277. package/dist/chunk-Q3PJJUNI.mjs +2 -0
  278. package/dist/chunk-Q3YQ34T3.mjs +2 -0
  279. package/dist/chunk-Q4WPLNV5.mjs +2 -0
  280. package/dist/chunk-Q6ARU7NX.mjs +2 -0
  281. package/dist/chunk-QCQA4ODV.mjs +2 -0
  282. package/dist/chunk-QFKMI3NA.mjs +2 -0
  283. package/dist/chunk-QHCN65A3.mjs +2 -0
  284. package/dist/chunk-QJWKBCQD.mjs +2 -0
  285. package/dist/chunk-QOV6KXW7.mjs +2 -0
  286. package/dist/chunk-QW3RISXP.mjs +2 -0
  287. package/dist/chunk-QXT2IIS3.mjs +2 -0
  288. package/dist/chunk-R4TJLK7M.mjs +2 -0
  289. package/dist/chunk-R5CVPFUR.mjs +2 -0
  290. package/dist/chunk-RC2FGWH3.mjs +2 -0
  291. package/dist/chunk-RD5MHH7S.mjs +2 -0
  292. package/dist/chunk-RD6O5XIR.mjs +2 -0
  293. package/dist/chunk-RDMVYUTS.mjs +2 -0
  294. package/dist/chunk-RFFPQROF.mjs +2 -0
  295. package/dist/chunk-RFR337K6.mjs +2 -0
  296. package/dist/chunk-RHPILY3G.mjs +2 -0
  297. package/dist/chunk-RISMYI2U.mjs +2 -0
  298. package/dist/chunk-RIWSYPL7.mjs +2 -0
  299. package/dist/chunk-RMPDIYKB.mjs +2 -0
  300. package/dist/chunk-RRA3BPHX.mjs +2 -0
  301. package/dist/chunk-RSMLT7D4.mjs +2 -0
  302. package/dist/chunk-RV3LTAGY.mjs +2 -0
  303. package/dist/chunk-RWZPHMZO.mjs +2 -0
  304. package/dist/chunk-RZ6IALUV.mjs +2 -0
  305. package/dist/chunk-SAKJUWBJ.mjs +2 -0
  306. package/dist/chunk-SANUGIKA.mjs +2 -0
  307. package/dist/chunk-SAP5RUJG.mjs +2 -0
  308. package/dist/chunk-SDEJPSNA.mjs +2 -0
  309. package/dist/chunk-SFOM22EL.mjs +2 -0
  310. package/dist/chunk-SJ5NLAIC.mjs +2 -0
  311. package/dist/chunk-SK3HFGXO.mjs +2 -0
  312. package/dist/chunk-SOMWIQDR.mjs +2 -0
  313. package/dist/chunk-T3VGPY6I.mjs +2 -0
  314. package/dist/chunk-T55OHLGM.mjs +2 -0
  315. package/dist/chunk-T74ULH5B.mjs +2 -0
  316. package/dist/chunk-TAGRDZQD.mjs +8 -0
  317. package/dist/chunk-TAVWDUCA.mjs +2 -0
  318. package/dist/chunk-TDAPSGBR.mjs +2 -0
  319. package/dist/chunk-TJGPUDQW.mjs +2 -0
  320. package/dist/chunk-TJUZXPMP.mjs +2 -0
  321. package/dist/chunk-TKS4NHBR.mjs +2 -0
  322. package/dist/chunk-TMSBNWFC.mjs +2 -0
  323. package/dist/chunk-TOILHATN.mjs +2 -0
  324. package/dist/chunk-TQ4JWFMB.mjs +2 -0
  325. package/dist/chunk-TQM2CTDB.mjs +2 -0
  326. package/dist/chunk-TR6WAHNT.mjs +2 -0
  327. package/dist/chunk-TVBQFM6T.mjs +2 -0
  328. package/dist/chunk-U47LCJRM.mjs +2 -0
  329. package/dist/chunk-U5QBTCC5.mjs +2 -0
  330. package/dist/chunk-U6BXBX3W.mjs +2 -0
  331. package/dist/chunk-U6V3WT5Y.mjs +2 -0
  332. package/dist/chunk-UFKEHFHL.mjs +2 -0
  333. package/dist/chunk-UIKENATD.mjs +2 -0
  334. package/dist/chunk-UKCAM6EI.mjs +2 -0
  335. package/dist/chunk-ULOJUGIN.mjs +2 -0
  336. package/dist/chunk-UMI23SUT.mjs +2 -0
  337. package/dist/chunk-UWHVOWKW.mjs +2 -0
  338. package/dist/chunk-V22JFMRO.mjs +2 -0
  339. package/dist/chunk-V7FW3GZ7.mjs +2 -0
  340. package/dist/chunk-VCTRTLFX.mjs +2 -0
  341. package/dist/chunk-VF26DYX6.mjs +2 -0
  342. package/dist/chunk-VGD3XYUG.mjs +2 -0
  343. package/dist/chunk-VJ7PDKUG.mjs +2 -0
  344. package/dist/chunk-VP4UE7GB.mjs +2 -0
  345. package/dist/chunk-VRKLZL2U.mjs +2 -0
  346. package/dist/chunk-VSWHWQCS.mjs +2 -0
  347. package/dist/chunk-VUSULKA7.mjs +2 -0
  348. package/dist/chunk-VWSMBXOJ.mjs +2 -0
  349. package/dist/chunk-VYDRZJ7Z.mjs +2 -0
  350. package/dist/chunk-W2IC7TNO.mjs +2 -0
  351. package/dist/chunk-W5Z2IBG7.mjs +2 -0
  352. package/dist/chunk-WF6HQH5U.mjs +2 -0
  353. package/dist/chunk-WFP5IZOL.mjs +2 -0
  354. package/dist/chunk-WPRZPEGU.mjs +2 -0
  355. package/dist/chunk-WROJ2SY4.mjs +2 -0
  356. package/dist/chunk-WYCT3UJB.mjs +2 -0
  357. package/dist/chunk-X4VIUXTB.mjs +2 -0
  358. package/dist/chunk-X5XZ466D.mjs +2 -0
  359. package/dist/chunk-X6NJUHLU.mjs +2 -0
  360. package/dist/chunk-X7GCG74U.mjs +2 -0
  361. package/dist/chunk-X7ZQ62FB.mjs +2 -0
  362. package/dist/chunk-XA23XJGJ.mjs +2 -0
  363. package/dist/chunk-XBROFHON.mjs +2 -0
  364. package/dist/chunk-XCLDO2Q6.mjs +2 -0
  365. package/dist/chunk-XEFAMFA7.mjs +2 -0
  366. package/dist/chunk-XIA6BRNK.mjs +2 -0
  367. package/dist/chunk-XJDU4XEE.mjs +2 -0
  368. package/dist/chunk-XPDDYLBK.mjs +2 -0
  369. package/dist/chunk-XSPANHR2.mjs +2 -0
  370. package/dist/chunk-XVYV32SY.mjs +2 -0
  371. package/dist/chunk-XWCSMNE6.mjs +2 -0
  372. package/dist/chunk-XZY3I5XK.mjs +2 -0
  373. package/dist/chunk-Y2AA4MB4.mjs +2 -0
  374. package/dist/chunk-Y5JEVGE3.mjs +2 -0
  375. package/dist/chunk-Y5QEEXZ5.mjs +2 -0
  376. package/dist/chunk-YCETBSUG.mjs +2 -0
  377. package/dist/chunk-YDGVBW67.mjs +2 -0
  378. package/dist/chunk-YHDWYC3R.mjs +2 -0
  379. package/dist/chunk-YHPU5UNH.mjs +2 -0
  380. package/dist/chunk-YHUOUDQ7.mjs +2 -0
  381. package/dist/chunk-YKSXPJFI.mjs +2 -0
  382. package/dist/chunk-YMBRK32D.mjs +2 -0
  383. package/dist/chunk-YOJQNL4R.mjs +2 -0
  384. package/dist/chunk-YOSZH6S2.mjs +2 -0
  385. package/dist/chunk-YQJURYQV.mjs +2 -0
  386. package/dist/chunk-YRYYIEFC.mjs +2 -0
  387. package/dist/chunk-YU57WVWB.mjs +2 -0
  388. package/dist/chunk-YUUIFTFG.mjs +2 -0
  389. package/dist/chunk-YVDMVPUQ.mjs +2 -0
  390. package/dist/chunk-YZSRS6KY.mjs +2 -0
  391. package/dist/chunk-Z42GUDCU.mjs +2 -0
  392. package/dist/chunk-Z5D6N4YM.mjs +2 -0
  393. package/dist/chunk-Z72YQIMV.mjs +2 -0
  394. package/dist/chunk-ZBDIFLI7.mjs +2 -0
  395. package/dist/chunk-ZCLMPLS2.mjs +2 -0
  396. package/dist/chunk-ZCZSWP3P.mjs +2 -0
  397. package/dist/chunk-ZHES7HBI.mjs +2 -0
  398. package/dist/chunk-ZJD4CVBT.mjs +2 -0
  399. package/dist/chunk-ZOO4IEKQ.mjs +2 -0
  400. package/dist/chunk-ZQMO76GU.mjs +2 -0
  401. package/dist/copy-button.mjs +1 -1
  402. package/dist/footer.mjs +1 -1
  403. package/dist/form.mjs +1 -1
  404. package/dist/icons/expanding-arrow.mjs +1 -1
  405. package/dist/icons/index.mjs +1 -1
  406. package/dist/icons/loading-circle.mjs +1 -1
  407. package/dist/icons/loading-spinner.mjs +1 -1
  408. package/dist/icons/logo.mjs +1 -1
  409. package/dist/icons/logotype.mjs +1 -1
  410. package/dist/index.css +1 -1
  411. package/dist/index.d.ts +5 -4
  412. package/dist/index.mjs +1 -1
  413. package/dist/label.mjs +1 -1
  414. package/dist/link-preview.mjs +1 -1
  415. package/dist/max-width-wrapper.mjs +1 -1
  416. package/dist/modal.mjs +1 -1
  417. package/dist/nav-mobile.mjs +1 -1
  418. package/dist/nav.mjs +1 -1
  419. package/dist/popover.mjs +1 -1
  420. package/dist/radio-group.mjs +1 -1
  421. package/dist/switch.mjs +1 -1
  422. package/dist/tab-select.mjs +1 -1
  423. package/dist/tooltip.d.ts +6 -4
  424. package/dist/tooltip.mjs +1 -1
  425. package/package.json +1 -1
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b,c,d}from"./chunk-WEDKDUIU.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
2
+ import{a,b,c,d}from"./chunk-OXUOPUPS.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
package/dist/avatar.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b}from"./chunk-XXWR7RVP.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
2
+ import{a,b}from"./chunk-P3DANSRS.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-5B3S5OJK.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Background};
2
+ import{a}from"./chunk-DSCUUAKG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Background};
package/dist/badge.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a,b}from"./chunk-AMHMX5SH.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
2
+ import{a,b}from"./chunk-XCLDO2Q6.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-7TQFXQUD.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
2
+ import{a}from"./chunk-MGOG3VPJ.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
package/dist/button.d.ts CHANGED
@@ -11,4 +11,4 @@ interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
11
11
  }
12
12
  declare function Button({ text, variant, className, loading, icon, shortcut, disabledTooltip, ...props }: ButtonProps): react_jsx_runtime.JSX.Element;
13
13
 
14
- export { Button };
14
+ export { Button, ButtonProps };
package/dist/button.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-3UYT52KE.mjs";import"./chunk-Y4JMWFGX.mjs";import"./chunk-YPE32NUI.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-VWVFVW4E.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-B5QYWKCW.mjs";import"./chunk-HEVVBB3H.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-QJNHYOHP.mjs";import"./chunk-7TIDFD7G.mjs";import"./chunk-V53OEVBD.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-ZJOL5CKP.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-BDMXJXHH.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
2
+ import{a}from"./chunk-A72ZLXVJ.mjs";import"./chunk-Q32EDFEL.mjs";import"./chunk-XCLDO2Q6.mjs";import"./chunk-YPE32NUI.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-VWVFVW4E.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-B5QYWKCW.mjs";import"./chunk-BDMXJXHH.mjs";import"./chunk-SDEJPSNA.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-YU57WVWB.mjs";import"./chunk-HRHDVXLD.mjs";import"./chunk-QJWKBCQD.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-Z5P2KHPP.mjs";import"./chunk-YMBRK32D.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
package/dist/checkbox.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  "use client"
2
- import{a}from"./chunk-FNMIMW4L.mjs";import"./chunk-WEO54AEG.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
2
+ import{a}from"./chunk-63ZY5SGT.mjs";import"./chunk-PUIVBY5I.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-NILOKQCL.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-RDMVYUTS.mjs";import{g as i}from"./chunk-IDJS7RYD.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as i}from"./chunk-AZXW22CE.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:(void 0)("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 n}from"./chunk-QOV6KXW7.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as l}from"./chunk-DEUD6VLZ.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{f as b}from"./chunk-BXJGDOV2.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{g as e}from"./chunk-NILOKQCL.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-A75RGEGE.mjs";import{a as h}from"./chunk-Q3YQ34T3.mjs";import{a as p}from"./chunk-VWVFVW4E.mjs";import{a as f}from"./chunk-B5QYWKCW.mjs";import{a as c}from"./chunk-FCVYAFIW.mjs";import{a as d}from"./chunk-T4YFARK5.mjs";import{a as g}from"./chunk-BDMXJXHH.mjs";import{i as n,j as i}from"./chunk-BXJGDOV2.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as b}from"next/navigation";import y from"next/image";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:u.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:i.map(({name:t,slug:o})=>({name:t,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:n.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function _(){let{domain:t="dub.co"}=b(),o=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:r(h,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[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(c,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",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(p,{className:"h-4 w-4 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(d,{className:"h-4 w-4 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(g,{className:"h-4 w-4 text-gray-600"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"YouTube"}),e(f,{className:"h-4 w-4 text-gray-600"})]})]})]}),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-800",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-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.compare.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-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]})]})]}),e(y,{src:"https://d2vwwcvoksz7ty.cloudfront.net/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-LIPYMYWM.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{g as l}from"./chunk-TKS4NHBR.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:(void 0)("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{e as f}from"./chunk-7O6YTSFK.mjs";import{g as i}from"./chunk-EF344SP6.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:(void 0)("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:(void 0)("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{a as s,b as p}from"./chunk-QOV6KXW7.mjs";import*as i from"@radix-ui/react-tooltip";import c from"linkify-react";import{HelpCircle as x}from"lucide-react";import d from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as a}from"react/jsx-runtime";function N({children:t}){return e(i.Provider,{delayDuration:100,children:t})}function m({children:t,content:o,side:n="top"}){let[r,l]=f(!1);return a(i.Root,{open:r,onOpenChange:l,children:[e(i.Trigger,{asChild:!0,onClick:()=>{l(!0)},onBlur:()=>{l(!1)},children:t}),e(i.Portal,{children:e(i.Content,{sideOffset:8,side:n,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function T({title:t,cta:o,href:n,target:r,onClick:l}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(n?e(d,{href:n,...r?{target:r}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):l?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:l,children:o}):null)]})}function k({title:t,cta:o,href:n}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:n,target:"_blank",rel:"noopener noreferrer",onClick:r=>r.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function w({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(c,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function P({content:t}){return e(m,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function C({value:t,unit:o="total clicks",children:n,lastClicked:r}){return(!t||t<1e3)&&!r?n:e(m,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[s(t||0,{full:!0})," ",o]}),r&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(r,{withAgo:!0})]})]}),children:n})}export{N as a,m as b,T as c,k as d,w as e,P as f,C as g};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-MV72CWHL.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-ULOJUGIN.mjs";import{f as i}from"./chunk-DEUD6VLZ.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{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{g as e}from"./chunk-XJDU4XEE.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 b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-EBAYV5RM.mjs";import{h as x}from"./chunk-NQTM6SGW.mjs";import{a as v}from"./chunk-MSNF3QA3.mjs";import{d as l,f as g,g as c,h as p}from"./chunk-MFNN3ZBW.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&p.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-BXJGDOV2.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{g as o}from"./chunk-IDJS7RYD.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}from"./chunk-QOV6KXW7.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{g as r}from"./chunk-IDJS7RYD.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-NILOKQCL.mjs";import{jsx as o}from"react/jsx-runtime";function c({className:r,children:a}){return o("div",{className:e("mx-auto w-full max-w-screen-xl px-2.5 lg:px-20",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as y}from"./chunk-2FLQXMEN.mjs";import{a as o}from"./chunk-7NLE2HUU.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{d as g,e as f,f as b}from"./chunk-BXJGDOV2.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{e as o}from"./chunk-QOV6KXW7.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-U47LCJRM.mjs";import{b as p,c as m}from"./chunk-BXJGDOV2.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function k({children:t}){return e(n.Provider,{delayDuration:100,children:t})}function s({children:t,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[e(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),e(n.Portal,{children:e(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function P({title:t,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(r?e(g,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:t,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function R({content:t}){return e(s,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function L({value:t,unit:o="total clicks",children:r,lastClicked:i}){return(!t||t<1e3)&&!i?r:e(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,side:r="bottom"}){return e(s,{content:o,side:r,children:e("div",{className:"flex cursor-pointer items-center",children:e(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}export{k as a,s as b,P as c,w as d,C as e,R as f,L as g,B as h};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as a}from"./chunk-MFNN3ZBW.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as e}from"./chunk-MV72CWHL.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{a as m}from"./chunk-YZSRS6KY.mjs";import{g as i}from"./chunk-BXJGDOV2.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{c as b}from"./chunk-QOV6KXW7.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{g as i}from"./chunk-BXJGDOV2.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{f as b}from"./chunk-MV72CWHL.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{f as n}from"./chunk-AZXW22CE.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:(void 0)(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as c}from"./chunk-4JTU3KQG.mjs";import{g as i}from"./chunk-BXJGDOV2.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-EF344SP6.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:(void 0)("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{e as s}from"./chunk-LM3O7N2V.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{f as b}from"./chunk-TKS4NHBR.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,void 0);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{g as e}from"./chunk-BXJGDOV2.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-A75RGEGE.mjs";import{a as h}from"./chunk-3ZSWAPIG.mjs";import{a as p}from"./chunk-VWVFVW4E.mjs";import{a as f}from"./chunk-B5QYWKCW.mjs";import{a as c}from"./chunk-YOSZH6S2.mjs";import{a as d}from"./chunk-T4YFARK5.mjs";import{a as g}from"./chunk-BDMXJXHH.mjs";import{i as n,j as i}from"./chunk-QOV6KXW7.mjs";import s from"@vercel/analytics";import m from"next/link";import{useParams as b}from"next/navigation";import y from"next/image";import{jsx as e,jsxs as r}from"react/jsx-runtime";var l={features:u.map(({shortTitle:t,slug:o})=>({name:t,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:i.map(({name:t,slug:o})=>({name:t,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:n.map(({name:t,slug:o})=>({name:t,href:`/tools/${o}`}))};function _(){let{domain:t="dub.co"}=b(),o=a=>t==="dub.co"?a:`https://dub.co${a}`;return e("footer",{children:r(h,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[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(c,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",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(p,{className:"h-4 w-4 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(d,{className:"h-4 w-4 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(g,{className:"h-4 w-4 text-gray-600"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[e("span",{className:"sr-only",children:"YouTube"}),e(f,{className:"h-4 w-4 text-gray-600"})]})]})]}),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-800",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-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:l.compare.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-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children: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-800",children:a.name})},a.name))})]})]})]})]}),e(y,{src:"https://d2vwwcvoksz7ty.cloudfront.net/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as C}from"./chunk-DEUD6VLZ.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as t}from"./chunk-QOV6KXW7.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{g as l}from"./chunk-NILOKQCL.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{f as l}from"./chunk-AZXW22CE.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:(void 0)("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{f as i}from"./chunk-AZXW22CE.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:(void 0)("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{e as s}from"./chunk-EANXVR6C.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 b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-Q3YQ34T3.mjs";import{h as x}from"./chunk-2FLQXMEN.mjs";import{a as v}from"./chunk-FCVYAFIW.mjs";import{a as l,f as g,g as c,h as p}from"./chunk-BXJGDOV2.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&p.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:u&&Object.keys(u).length>0?e(r,{href:l,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{C as a,U as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as i}from"./chunk-MV72CWHL.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{g as n}from"./chunk-NILOKQCL.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-B4HHMQC4.mjs";import{f as i}from"./chunk-AZXW22CE.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:(void 0)("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:(void 0)("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{g as i}from"./chunk-PUIVBY5I.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as f}from"./chunk-MK5PRM35.mjs";import{g as i}from"./chunk-PUIVBY5I.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{g as C}from"./chunk-XJDU4XEE.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as o}from"./chunk-MV72CWHL.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-MFNN3ZBW.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{e as f}from"./chunk-77WJEJMX.mjs";import{g as i}from"./chunk-NILOKQCL.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{g as r}from"./chunk-MV72CWHL.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-Z5P2KHPP.mjs";import{g as e}from"./chunk-IDJS7RYD.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 m}from"./chunk-FCWSXFTE.mjs";import{f as i}from"./chunk-DEUD6VLZ.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{g as a}from"./chunk-TKS4NHBR.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:(void 0)("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:(void 0)("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as r}from"./chunk-LIPYMYWM.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as a}from"./chunk-IDJS7RYD.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{g as l}from"./chunk-NILOKQCL.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{f as b}from"./chunk-NILOKQCL.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{e as f}from"./chunk-XPDDYLBK.mjs";import{g as i}from"./chunk-IDJS7RYD.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{a as u}from"./chunk-DC6P6ZXH.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{d as t,f as d,g as n}from"./chunk-XJDU4XEE.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{g as i}from"./chunk-NILOKQCL.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};