@dub/ui 0.1.61 → 0.1.63

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 (414) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +7 -7
  4. package/dist/animated-size-container.mjs +1 -1
  5. package/dist/avatar.mjs +1 -1
  6. package/dist/badge.mjs +1 -1
  7. package/dist/blur-image.mjs +1 -1
  8. package/dist/button.d.ts +1 -1
  9. package/dist/button.mjs +1 -1
  10. package/dist/card-list/card-list-card.mjs +1 -1
  11. package/dist/card-list/card-list.mjs +1 -1
  12. package/dist/carousel.mjs +1 -1
  13. package/dist/checkbox.mjs +1 -1
  14. package/dist/chunk-24FZHMUR.mjs +2 -0
  15. package/dist/chunk-24VKDXNY.mjs +2 -0
  16. package/dist/chunk-2A2X4MB5.mjs +2 -0
  17. package/dist/chunk-2CAOXWMS.mjs +2 -0
  18. package/dist/chunk-2DRA56DT.mjs +2 -0
  19. package/dist/chunk-2IVBNILB.mjs +6 -0
  20. package/dist/chunk-2NOS3JIJ.mjs +2 -0
  21. package/dist/chunk-2NYHNUVN.mjs +2 -0
  22. package/dist/chunk-2QQZCDLG.mjs +2 -0
  23. package/dist/chunk-2RNJXJNC.mjs +2 -0
  24. package/dist/chunk-2TZWS3JQ.mjs +2 -0
  25. package/dist/chunk-3FCJMXWB.mjs +2 -0
  26. package/dist/chunk-3IEYYM3P.mjs +6 -0
  27. package/dist/chunk-3ITB2VNJ.mjs +2 -0
  28. package/dist/chunk-3MNNMMX3.mjs +2 -0
  29. package/dist/chunk-3QTUO6Z4.mjs +2 -0
  30. package/dist/chunk-3QWTC3RF.mjs +2 -0
  31. package/dist/chunk-3VZ7G4KP.mjs +2 -0
  32. package/dist/chunk-3XQHO73N.mjs +2 -0
  33. package/dist/chunk-3YSICMVK.mjs +6 -0
  34. package/dist/chunk-46A5DZU6.mjs +2 -0
  35. package/dist/chunk-47N2EIBK.mjs +2 -0
  36. package/dist/chunk-4A7C7W5O.mjs +2 -0
  37. package/dist/chunk-4AU6LSVF.mjs +2 -0
  38. package/dist/chunk-4FYEEEYO.mjs +2 -0
  39. package/dist/chunk-4GNEYNVU.mjs +2 -0
  40. package/dist/chunk-4MPUVSLU.mjs +2 -0
  41. package/dist/chunk-4MWFGGKN.mjs +2 -0
  42. package/dist/chunk-4NVSXEFD.mjs +2 -0
  43. package/dist/chunk-4YPRE64N.mjs +2 -0
  44. package/dist/chunk-54NWYMUV.mjs +2 -0
  45. package/dist/chunk-552UU7TH.mjs +2 -0
  46. package/dist/chunk-562X2L6C.mjs +2 -0
  47. package/dist/chunk-57P2OXOS.mjs +2 -0
  48. package/dist/chunk-5B5YNJWP.mjs +2 -0
  49. package/dist/chunk-5BZ3GYDV.mjs +2 -0
  50. package/dist/chunk-5C6YSGD3.mjs +2 -0
  51. package/dist/chunk-5G6WIETO.mjs +2 -0
  52. package/dist/chunk-5IQU72QI.mjs +6 -0
  53. package/dist/chunk-5JA2HYOQ.mjs +2 -0
  54. package/dist/chunk-5OCD5DGL.mjs +2 -0
  55. package/dist/chunk-5RTA7MHL.mjs +2 -0
  56. package/dist/chunk-5WETDUAN.mjs +2 -0
  57. package/dist/chunk-5WW3CD6L.mjs +2 -0
  58. package/dist/chunk-62UWETUV.mjs +2 -0
  59. package/dist/chunk-63VSLYV2.mjs +2 -0
  60. package/dist/chunk-6B6GKNIN.mjs +6 -0
  61. package/dist/chunk-6HTDRA22.mjs +2 -0
  62. package/dist/chunk-6NCLBSDR.mjs +2 -0
  63. package/dist/chunk-6VWFJYKA.mjs +2 -0
  64. package/dist/chunk-6XZUNUMN.mjs +2 -0
  65. package/dist/chunk-7BGLUDW3.mjs +2 -0
  66. package/dist/chunk-7C6ZVZ4P.mjs +2 -0
  67. package/dist/chunk-7FH4TKLX.mjs +2 -0
  68. package/dist/chunk-7LZE2BG5.mjs +2 -0
  69. package/dist/chunk-7OBFRYL5.mjs +2 -0
  70. package/dist/chunk-7OZYU3QM.mjs +2 -0
  71. package/dist/chunk-7Q2HODLD.mjs +2 -0
  72. package/dist/chunk-7RLUWTBT.mjs +2 -0
  73. package/dist/chunk-7YO6EVK6.mjs +2 -0
  74. package/dist/chunk-A5LG5JLA.mjs +2 -0
  75. package/dist/chunk-A72DLXZO.mjs +2 -0
  76. package/dist/chunk-ACUKFV6N.mjs +2 -0
  77. package/dist/chunk-AFHS2QXS.mjs +2 -0
  78. package/dist/chunk-AJ3CS53R.mjs +6 -0
  79. package/dist/chunk-ALHRXAVJ.mjs +2 -0
  80. package/dist/chunk-ASNLYQOY.mjs +2 -0
  81. package/dist/chunk-ATMR5VFQ.mjs +2 -0
  82. package/dist/chunk-AUFUNDFR.mjs +2 -0
  83. package/dist/chunk-AZS2GD57.mjs +2 -0
  84. package/dist/chunk-AZUBMWFL.mjs +2 -0
  85. package/dist/chunk-B4OOKBZ6.mjs +2 -0
  86. package/dist/chunk-BH5NOYE2.mjs +2 -0
  87. package/dist/chunk-BOUPQUXE.mjs +2 -0
  88. package/dist/chunk-BPJY23XC.mjs +2 -0
  89. package/dist/chunk-BQJ3E6GJ.mjs +2 -0
  90. package/dist/chunk-BQJYDOMD.mjs +2 -0
  91. package/dist/chunk-BQVL2S5P.mjs +2 -0
  92. package/dist/chunk-BR2UQ2TG.mjs +2 -0
  93. package/dist/chunk-BY4HF73L.mjs +2 -0
  94. package/dist/chunk-C3SBXJWC.mjs +2 -0
  95. package/dist/chunk-CCVIXJ4T.mjs +2 -0
  96. package/dist/chunk-CEYYIVSB.mjs +2 -0
  97. package/dist/chunk-CJ3UITKZ.mjs +2 -0
  98. package/dist/chunk-CS5PVLJB.mjs +2 -0
  99. package/dist/chunk-CTXDEINA.mjs +2 -0
  100. package/dist/chunk-CWZHL77S.mjs +2 -0
  101. package/dist/chunk-CYOF3O7Y.mjs +2 -0
  102. package/dist/chunk-D2UHRZEN.mjs +2 -0
  103. package/dist/chunk-D74G65YV.mjs +2 -0
  104. package/dist/chunk-D7GJVJLA.mjs +2 -0
  105. package/dist/chunk-DAONAYTS.mjs +2 -0
  106. package/dist/chunk-DE46AQLE.mjs +2 -0
  107. package/dist/chunk-DIQ6FNRJ.mjs +2 -0
  108. package/dist/chunk-DPUTFBDB.mjs +2 -0
  109. package/dist/chunk-DTC7LNMK.mjs +2 -0
  110. package/dist/chunk-E32PQ5ZD.mjs +2 -0
  111. package/dist/chunk-E3MKT7TI.mjs +2 -0
  112. package/dist/chunk-E5TYUGW4.mjs +2 -0
  113. package/dist/chunk-E6F6JHJL.mjs +2 -0
  114. package/dist/chunk-E7MWJVCU.mjs +2 -0
  115. package/dist/chunk-EBUKVIVE.mjs +2 -0
  116. package/dist/chunk-EIWAAKMC.mjs +6 -0
  117. package/dist/chunk-ENDDSOPU.mjs +2 -0
  118. package/dist/chunk-ERV24I34.mjs +2 -0
  119. package/dist/chunk-EYVALJ6V.mjs +2 -0
  120. package/dist/chunk-EZVC74VR.mjs +2 -0
  121. package/dist/chunk-F5DVMX2D.mjs +2 -0
  122. package/dist/chunk-FI44IJXT.mjs +6 -0
  123. package/dist/chunk-FNEMZYAF.mjs +2 -0
  124. package/dist/chunk-FOZBHJCU.mjs +2 -0
  125. package/dist/chunk-FUQA3OXP.mjs +2 -0
  126. package/dist/chunk-FVQZMQJU.mjs +2 -0
  127. package/dist/chunk-FXW65LTB.mjs +2 -0
  128. package/dist/chunk-G262Y3YH.mjs +2 -0
  129. package/dist/chunk-G5SMGCJN.mjs +2 -0
  130. package/dist/chunk-GDIBRJN4.mjs +2 -0
  131. package/dist/chunk-GG7CLVAD.mjs +2 -0
  132. package/dist/chunk-GL4B6AWV.mjs +2 -0
  133. package/dist/chunk-GNEZCVAY.mjs +2 -0
  134. package/dist/chunk-GPFRZDSO.mjs +2 -0
  135. package/dist/chunk-GUUH6CFB.mjs +2 -0
  136. package/dist/chunk-GW2XXAWH.mjs +2 -0
  137. package/dist/chunk-GWREO5QF.mjs +2 -0
  138. package/dist/chunk-H2SAZ2A2.mjs +2 -0
  139. package/dist/chunk-H5ABRSJS.mjs +2 -0
  140. package/dist/chunk-H5TWSNHJ.mjs +2 -0
  141. package/dist/chunk-H635B55O.mjs +2 -0
  142. package/dist/chunk-HANXXOS6.mjs +2 -0
  143. package/dist/chunk-HCTA37JX.mjs +2 -0
  144. package/dist/chunk-HFYWICNR.mjs +2 -0
  145. package/dist/chunk-HHFSH3VO.mjs +2 -0
  146. package/dist/chunk-HHXN2BYR.mjs +2 -0
  147. package/dist/chunk-HI5MHQ23.mjs +2 -0
  148. package/dist/chunk-HJEO7QP3.mjs +2 -0
  149. package/dist/chunk-HK5IJK4V.mjs +2 -0
  150. package/dist/chunk-HLI6HXVQ.mjs +2 -0
  151. package/dist/chunk-HNNP24NU.mjs +2 -0
  152. package/dist/chunk-HRFFDN6H.mjs +2 -0
  153. package/dist/chunk-HVIRCCOO.mjs +2 -0
  154. package/dist/chunk-I4EAKRK6.mjs +2 -0
  155. package/dist/chunk-I6YAMCPZ.mjs +2 -0
  156. package/dist/chunk-I73SBIBG.mjs +2 -0
  157. package/dist/chunk-IAM6JPPG.mjs +2 -0
  158. package/dist/chunk-IAYWE7X4.mjs +2 -0
  159. package/dist/chunk-IB3CNNOR.mjs +2 -0
  160. package/dist/chunk-IEYO7ARM.mjs +2 -0
  161. package/dist/chunk-IMW224AO.mjs +2 -0
  162. package/dist/chunk-INC2JBOL.mjs +2 -0
  163. package/dist/chunk-J25LNEST.mjs +2 -0
  164. package/dist/chunk-J2AQIYSO.mjs +2 -0
  165. package/dist/chunk-J2WWV5OI.mjs +2 -0
  166. package/dist/chunk-J5USQ7V7.mjs +2 -0
  167. package/dist/chunk-JAM26LKJ.mjs +2 -0
  168. package/dist/chunk-JBTAZKBR.mjs +2 -0
  169. package/dist/chunk-JGNSDUMX.mjs +2 -0
  170. package/dist/chunk-JIS6PZYL.mjs +2 -0
  171. package/dist/chunk-JJPNQP6K.mjs +2 -0
  172. package/dist/chunk-JOYJUH4X.mjs +2 -0
  173. package/dist/chunk-JU4A2ZEG.mjs +2 -0
  174. package/dist/chunk-K2JE3SJY.mjs +2 -0
  175. package/dist/chunk-K2STHID6.mjs +2 -0
  176. package/dist/chunk-K3KWZ5TP.mjs +2 -0
  177. package/dist/chunk-K3OHB7UU.mjs +2 -0
  178. package/dist/chunk-K6HTCQMN.mjs +2 -0
  179. package/dist/chunk-KDAFGTAR.mjs +2 -0
  180. package/dist/chunk-KHNRROPC.mjs +2 -0
  181. package/dist/chunk-KIY53LYE.mjs +2 -0
  182. package/dist/chunk-KJBZU2OD.mjs +2 -0
  183. package/dist/chunk-KJHGNDAM.mjs +2 -0
  184. package/dist/chunk-KKCRR74D.mjs +2 -0
  185. package/dist/chunk-KMXD2D5U.mjs +2 -0
  186. package/dist/chunk-KO3KMZH7.mjs +2 -0
  187. package/dist/chunk-KQADMCRQ.mjs +2 -0
  188. package/dist/chunk-KXMJQCY2.mjs +2 -0
  189. package/dist/chunk-L23D3CAD.mjs +2 -0
  190. package/dist/chunk-L6EJFT7W.mjs +2 -0
  191. package/dist/chunk-LFU5IYP6.mjs +2 -0
  192. package/dist/chunk-LIVP35CX.mjs +2 -0
  193. package/dist/chunk-LK5Q7QNP.mjs +2 -0
  194. package/dist/chunk-LN32TCKT.mjs +2 -0
  195. package/dist/chunk-LNYDOSX4.mjs +2 -0
  196. package/dist/chunk-LPHN7MVK.mjs +2 -0
  197. package/dist/chunk-LPTO6COC.mjs +2 -0
  198. package/dist/chunk-LWAS2GGO.mjs +2 -0
  199. package/dist/chunk-LWXZH564.mjs +2 -0
  200. package/dist/chunk-LY23PAB3.mjs +42 -0
  201. package/dist/chunk-M2R2IDDR.mjs +2 -0
  202. package/dist/chunk-M3YAVRL2.mjs +2 -0
  203. package/dist/chunk-MBMS57ZK.mjs +6 -0
  204. package/dist/chunk-MMNY4KFD.mjs +2 -0
  205. package/dist/chunk-MOKXJZVM.mjs +2 -0
  206. package/dist/chunk-MPKGQ36Z.mjs +2 -0
  207. package/dist/chunk-MPMATF65.mjs +2 -0
  208. package/dist/chunk-MQLIDFV4.mjs +2 -0
  209. package/dist/chunk-MRKJ7JIQ.mjs +2 -0
  210. package/dist/chunk-MRVUVJQT.mjs +2 -0
  211. package/dist/chunk-MSKIXPNB.mjs +2 -0
  212. package/dist/chunk-MVVAIFVO.mjs +2 -0
  213. package/dist/chunk-N2VQT6R5.mjs +2 -0
  214. package/dist/chunk-NDJTCVO7.mjs +6 -0
  215. package/dist/chunk-NFLSXDKG.mjs +2 -0
  216. package/dist/chunk-NL52NSEB.mjs +2 -0
  217. package/dist/chunk-NQZ2IDBB.mjs +2 -0
  218. package/dist/chunk-NRJN7JBT.mjs +2 -0
  219. package/dist/chunk-NVIKWM4W.mjs +2 -0
  220. package/dist/chunk-NWPFM45T.mjs +2 -0
  221. package/dist/chunk-NZP4GB7A.mjs +2 -0
  222. package/dist/chunk-NZZ24BWG.mjs +2 -0
  223. package/dist/chunk-O43YWKJJ.mjs +2 -0
  224. package/dist/chunk-O4U45X6I.mjs +42 -0
  225. package/dist/chunk-OBHRIPYE.mjs +2 -0
  226. package/dist/chunk-OC6WDPQV.mjs +2 -0
  227. package/dist/chunk-OFED4BPZ.mjs +2 -0
  228. package/dist/chunk-OKCFJH63.mjs +2 -0
  229. package/dist/chunk-OLIDMS6N.mjs +2 -0
  230. package/dist/chunk-OO3OLQL3.mjs +2 -0
  231. package/dist/chunk-OQTNTLXZ.mjs +2 -0
  232. package/dist/chunk-OT54VY2T.mjs +2 -0
  233. package/dist/chunk-OVTEJWQH.mjs +2 -0
  234. package/dist/chunk-OZFASLPY.mjs +2 -0
  235. package/dist/chunk-OZV4ZCJU.mjs +2 -0
  236. package/dist/chunk-P5PWSY4R.mjs +2 -0
  237. package/dist/chunk-P74QJJAP.mjs +2 -0
  238. package/dist/chunk-PC56SYLH.mjs +2 -0
  239. package/dist/chunk-PDKOPX6C.mjs +2 -0
  240. package/dist/chunk-PKXJC6FP.mjs +2 -0
  241. package/dist/chunk-PLDSN3O5.mjs +2 -0
  242. package/dist/chunk-PPSQV5DN.mjs +2 -0
  243. package/dist/chunk-Q2ME6JZM.mjs +2 -0
  244. package/dist/chunk-Q6OZDKO4.mjs +2 -0
  245. package/dist/chunk-QB3KQUFM.mjs +2 -0
  246. package/dist/chunk-QFC7W4UO.mjs +2 -0
  247. package/dist/chunk-QIIP4BMG.mjs +2 -0
  248. package/dist/chunk-QKHH4NOF.mjs +2 -0
  249. package/dist/chunk-QKXETO5X.mjs +2 -0
  250. package/dist/chunk-QM7CSCEI.mjs +2 -0
  251. package/dist/chunk-QNYWFC5O.mjs +2 -0
  252. package/dist/chunk-QR2P74OO.mjs +6 -0
  253. package/dist/chunk-QRR6BOO3.mjs +2 -0
  254. package/dist/chunk-QSKR4KTS.mjs +2 -0
  255. package/dist/chunk-R34DA4U7.mjs +2 -0
  256. package/dist/chunk-R5EYZEVB.mjs +2 -0
  257. package/dist/chunk-R724V2H3.mjs +2 -0
  258. package/dist/chunk-RHPO32CZ.mjs +2 -0
  259. package/dist/chunk-RXTKZ5EU.mjs +2 -0
  260. package/dist/chunk-RXVVZPTG.mjs +2 -0
  261. package/dist/chunk-S37ONGSO.mjs +2 -0
  262. package/dist/chunk-S4MR3WH3.mjs +2 -0
  263. package/dist/chunk-S6TYCAKW.mjs +2 -0
  264. package/dist/chunk-SBDB4H5O.mjs +2 -0
  265. package/dist/chunk-SDI34LGV.mjs +2 -0
  266. package/dist/chunk-SEG6PNEP.mjs +2 -0
  267. package/dist/chunk-SKQMCKUT.mjs +2 -0
  268. package/dist/chunk-SMCKDKWN.mjs +2 -0
  269. package/dist/chunk-SMEDVMEH.mjs +2 -0
  270. package/dist/chunk-SP4QXCKS.mjs +2 -0
  271. package/dist/chunk-SPRIK5WK.mjs +2 -0
  272. package/dist/chunk-SRLHTWK2.mjs +2 -0
  273. package/dist/chunk-SSBYUZKQ.mjs +2 -0
  274. package/dist/chunk-SVBY2M2W.mjs +2 -0
  275. package/dist/chunk-SXEVTI5V.mjs +2 -0
  276. package/dist/chunk-SYSDPAII.mjs +2 -0
  277. package/dist/chunk-T2NOWDAS.mjs +2 -0
  278. package/dist/chunk-T56KYMRD.mjs +2 -0
  279. package/dist/chunk-T5QWKL7V.mjs +2 -0
  280. package/dist/chunk-T7XA6MR4.mjs +2 -0
  281. package/dist/chunk-TDJUF7PC.mjs +2 -0
  282. package/dist/chunk-TJDCIXGN.mjs +2 -0
  283. package/dist/chunk-TLII2EK5.mjs +2 -0
  284. package/dist/chunk-TPIWQVXO.mjs +2 -0
  285. package/dist/chunk-TT4Q3HA6.mjs +2 -0
  286. package/dist/chunk-TZXBRVQB.mjs +2 -0
  287. package/dist/chunk-U3WMNJPM.mjs +2 -0
  288. package/dist/chunk-U677L7RN.mjs +2 -0
  289. package/dist/chunk-U7AGBMUO.mjs +2 -0
  290. package/dist/chunk-UCMEBPMB.mjs +2 -0
  291. package/dist/chunk-UGRWYMVU.mjs +2 -0
  292. package/dist/chunk-UOEMAF5V.mjs +6 -0
  293. package/dist/chunk-UQEULOV7.mjs +2 -0
  294. package/dist/chunk-URRAM5KR.mjs +2 -0
  295. package/dist/chunk-UURJTIAG.mjs +2 -0
  296. package/dist/chunk-UWLIGCNP.mjs +6 -0
  297. package/dist/chunk-UXPFMQUP.mjs +2 -0
  298. package/dist/chunk-V42NCUDI.mjs +2 -0
  299. package/dist/chunk-VBOCSI6C.mjs +2 -0
  300. package/dist/chunk-VCWE4VHM.mjs +2 -0
  301. package/dist/chunk-VJK3UDBP.mjs +2 -0
  302. package/dist/chunk-VJYLOASD.mjs +2 -0
  303. package/dist/chunk-VQPPIDK5.mjs +2 -0
  304. package/dist/chunk-VR523AKG.mjs +6 -0
  305. package/dist/chunk-VV4QAFJO.mjs +2 -0
  306. package/dist/chunk-VWCRPZ6R.mjs +2 -0
  307. package/dist/chunk-W6665XFV.mjs +2 -0
  308. package/dist/chunk-W72IS3NW.mjs +2 -0
  309. package/dist/chunk-WA2SBQQN.mjs +2 -0
  310. package/dist/chunk-WCOEAWY3.mjs +2 -0
  311. package/dist/chunk-WED4I3UR.mjs +2 -0
  312. package/dist/chunk-WN4QNRTA.mjs +2 -0
  313. package/dist/chunk-WOBSEVUY.mjs +2 -0
  314. package/dist/chunk-WTAGSMEQ.mjs +2 -0
  315. package/dist/chunk-X33XKELU.mjs +2 -0
  316. package/dist/chunk-X6DMMDWV.mjs +2 -0
  317. package/dist/chunk-XBAJM6LX.mjs +2 -0
  318. package/dist/chunk-XH4WILJG.mjs +2 -0
  319. package/dist/chunk-XJFFCJ4F.mjs +2 -0
  320. package/dist/chunk-XJPPELGD.mjs +2 -0
  321. package/dist/chunk-XKNDCHBO.mjs +2 -0
  322. package/dist/chunk-XL4TS4DD.mjs +2 -0
  323. package/dist/chunk-XQG6PFDK.mjs +2 -0
  324. package/dist/chunk-XQUDRC36.mjs +42 -0
  325. package/dist/chunk-XRBBJHLW.mjs +6 -0
  326. package/dist/chunk-XSKSEXUS.mjs +2 -0
  327. package/dist/chunk-XSSTUAYF.mjs +2 -0
  328. package/dist/chunk-XUGILZBT.mjs +2 -0
  329. package/dist/chunk-XWJQPRZX.mjs +2 -0
  330. package/dist/chunk-XZ5NAQPG.mjs +2 -0
  331. package/dist/chunk-Y6WIJ2QS.mjs +2 -0
  332. package/dist/chunk-YE6TSUI4.mjs +2 -0
  333. package/dist/chunk-YGFNA6GS.mjs +6 -0
  334. package/dist/chunk-YIKV7JI7.mjs +2 -0
  335. package/dist/chunk-YIMIS5FP.mjs +2 -0
  336. package/dist/chunk-YJYQLDPX.mjs +2 -0
  337. package/dist/chunk-YPFLCYTU.mjs +2 -0
  338. package/dist/chunk-YTEMADT6.mjs +6 -0
  339. package/dist/chunk-YUEHTPEG.mjs +2 -0
  340. package/dist/chunk-YV55HH74.mjs +2 -0
  341. package/dist/chunk-YXIB5ABY.mjs +42 -0
  342. package/dist/chunk-Z45IQA7Z.mjs +2 -0
  343. package/dist/chunk-Z677VHF3.mjs +2 -0
  344. package/dist/chunk-ZCBQFOWD.mjs +2 -0
  345. package/dist/chunk-ZCTVXZVQ.mjs +2 -0
  346. package/dist/chunk-ZE5ZODS7.mjs +2 -0
  347. package/dist/chunk-ZGBEFTKI.mjs +2 -0
  348. package/dist/chunk-ZOVR7S52.mjs +2 -0
  349. package/dist/chunk-ZPNRC6LX.mjs +2 -0
  350. package/dist/chunk-ZTJNXM3D.mjs +2 -0
  351. package/dist/chunk-ZVJYHA3H.mjs +2 -0
  352. package/dist/combobox/index.mjs +1 -1
  353. package/dist/composite-logo.mjs +1 -1
  354. package/dist/copy-button.mjs +1 -1
  355. package/dist/copy-text.mjs +1 -1
  356. package/dist/counting-numbers.mjs +1 -1
  357. package/dist/date-picker/calendar.mjs +1 -1
  358. package/dist/date-picker/date-range-picker.mjs +1 -1
  359. package/dist/date-picker/presets.mjs +1 -1
  360. package/dist/date-picker/trigger.mjs +1 -1
  361. package/dist/file-upload.mjs +1 -1
  362. package/dist/filter/filter-list.mjs +1 -1
  363. package/dist/filter/filter-select.mjs +1 -1
  364. package/dist/footer.mjs +1 -1
  365. package/dist/form.mjs +1 -1
  366. package/dist/grid.mjs +1 -1
  367. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  368. package/dist/icons/continents/index.mjs +1 -1
  369. package/dist/icons/default-domains/amazon.mjs +1 -1
  370. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  371. package/dist/icons/default-domains/figma.mjs +1 -1
  372. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  373. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  374. package/dist/icons/default-domains/spotify.mjs +1 -1
  375. package/dist/icons/expanding-arrow.mjs +1 -1
  376. package/dist/icons/index.mjs +1 -1
  377. package/dist/icons/linkedin.mjs +1 -1
  378. package/dist/icons/loading-circle.mjs +1 -1
  379. package/dist/icons/loading-spinner.mjs +1 -1
  380. package/dist/icons/sort-order.mjs +1 -1
  381. package/dist/icons/twitter.mjs +1 -1
  382. package/dist/icons/youtube.mjs +1 -1
  383. package/dist/index.d.ts +2 -1
  384. package/dist/index.mjs +1 -1
  385. package/dist/input-select.mjs +1 -1
  386. package/dist/input.mjs +1 -1
  387. package/dist/label.mjs +1 -1
  388. package/dist/link-logo.mjs +1 -1
  389. package/dist/link-preview.mjs +1 -1
  390. package/dist/logo.mjs +1 -1
  391. package/dist/max-width-wrapper.mjs +1 -1
  392. package/dist/modal.mjs +1 -1
  393. package/dist/nav/content/product-content.mjs +1 -1
  394. package/dist/nav/content/resources-content.mjs +1 -1
  395. package/dist/nav/content/shared.mjs +1 -1
  396. package/dist/nav/content/solutions-content.mjs +1 -1
  397. package/dist/nav/nav-mobile.mjs +1 -1
  398. package/dist/nav/nav.mjs +1 -1
  399. package/dist/nav-logo.mjs +1 -1
  400. package/dist/popover.mjs +1 -1
  401. package/dist/progress-bar.mjs +1 -1
  402. package/dist/radio-group.mjs +1 -1
  403. package/dist/sheet.mjs +1 -1
  404. package/dist/shimmer-dots.mjs +1 -1
  405. package/dist/status-badge.mjs +1 -1
  406. package/dist/switch.mjs +1 -1
  407. package/dist/tab-select.mjs +1 -1
  408. package/dist/table/table.mjs +1 -1
  409. package/dist/toggle-group.mjs +1 -1
  410. package/dist/tooltip.d.ts +1 -1
  411. package/dist/tooltip.mjs +1 -1
  412. package/dist/utm-builder.mjs +1 -1
  413. package/dist/wordmark.mjs +1 -1
  414. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-NWME2ANF.mjs";import{b as l}from"./chunk-S37ONGSO.mjs";import{a as v}from"./chunk-4KAIJ2PN.mjs";import{a as h}from"./chunk-U4QIRPVU.mjs";import{a as b}from"./chunk-RKUUDTHF.mjs";import{a as g}from"./chunk-3IVWKAUU.mjs";import{a as u}from"./chunk-GHXIGUPQ.mjs";import{a as f}from"./chunk-GLJR2QX5.mjs";import{p as n}from"./chunk-5BZ3GYDV.mjs";import{useEffect as k,useId as C,useRef as P,useState as A}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var H=[{key:"utm_source",icon:g,label:"Source",placeholder:"google",description:"Where the traffic is coming from"},{key:"utm_medium",icon:v,label:"Medium",placeholder:"cpc",description:"How the traffic is coming"},{key:"utm_campaign",icon:u,label:"Campaign",placeholder:"summer_sale",description:"The name of the campaign"},{key:"utm_term",icon:b,label:"Term",placeholder:"running shoes",description:"The term of the campaign"},{key:"utm_content",icon:h,label:"Content",placeholder:"logolink",description:"The content of the campaign"},{key:"ref",icon:f,label:"Referral",placeholder:"yoursite.com",description:"The referral of the campaign"}];function B({values:t,onChange:a,disabled:y,autoFocus:T,disabledTooltip:c,className:N}){let{isMobile:x}=p(),d=C(),[m,R]=A(!1),r=P(null);return k(()=>{r.current&&!x&&T&&setTimeout(()=>{var o;return(o=r.current)==null?void 0:o.focus()},10)},[]),e("div",{className:n("grid gap-y-3",N),children:H.map(({key:o,icon:M,label:_,placeholder:w,description:E},S)=>e("div",{className:"group relative",children:s("div",{className:"relative z-10 flex",children:[e(l,{content:s("div",{className:"p-3 text-center text-xs",children:[e("p",{className:"text-gray-600",children:E}),e("span",{className:"font-mono text-gray-400",children:o})]}),sideOffset:4,disableHoverableContent:!0,children:s("div",{className:n("flex items-center gap-1.5 rounded-l-md border-y border-l border-gray-300 bg-gray-50 px-3 py-1.5 text-gray-700",m?"sm:min-w-36":"sm:min-w-28"),onClick:()=>R(i=>!i),children:[e(M,{className:"size-4 shrink-0"}),e("label",{htmlFor:`${d}-${o}`,className:"select-none text-sm",children:m?e("span",{className:"font-mono text-xs",children:o}):_})]})}),e("div",{className:"min-w-0 grow",children:e(U,{disabledTooltip:c,children:e("input",{type:"text",id:`${d}-${o}`,ref:S===0?r:void 0,placeholder:w,disabled:y||Boolean(c),className:"size-full rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm",value:t[o]||"",onChange:i=>a(o,i.target.value)})})})]})},o))})}function U({children:t,disabledTooltip:a}){return a?e(l,{content:a,disableHoverableContent:!0,children:t}):t}export{H as a,B as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-7OZYU3QM.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as C}from"./chunk-32C65ISH.mjs";import{a as k}from"./chunk-6JPO26GL.mjs";import{a as b}from"./chunk-LFGWL3ID.mjs";import{a as y}from"./chunk-CZSSD6PV.mjs";import{a as m}from"./chunk-D7SRRREC.mjs";import{a as u}from"./chunk-JBURS7BX.mjs";import{a as f}from"./chunk-BOCPUR5Z.mjs";import{a as g}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-DWACNU5E.mjs";import{a as h}from"./chunk-HYPLE4VW.mjs";import{a as p}from"./chunk-3KFNNXJ6.mjs";import{a as c}from"./chunk-KDNSFAET.mjs";import{a as l}from"./chunk-2W2M7KTU.mjs";import{a as i}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as e}from"./chunk-NPWONPKN.mjs";import{a as n}from"./chunk-KYMBX7DZ.mjs";import{a as t}from"./chunk-2LBJI2KO.mjs";import{a as s}from"./chunk-TNAH7N5Q.mjs";import{a as r}from"./chunk-PRJVDP45.mjs";import{a as o}from"./chunk-ZJICX3BL.mjs";var x=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:p,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:g,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:b,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:m,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:C,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:k,href:"/docs/api-reference/introduction"}],R=[{icon:t,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"How Raycast added link-sharing features to Ray.so with Dub.co's link infrastructure",href:"/customers/raycast"},{icon:i,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:e,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],S=[{icon:d,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:y,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:n,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:o,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:s,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],T=[{icon:c,title:"Blog",href:"/blog"},{icon:h,title:"Changelog",href:"/changelog"},{icon:l,title:"Docs",href:"/docs"},{icon:u,title:"Help Center",href:"/help"},{icon:f,title:"Brand",href:"/brand"}];export{x as a,R as b,S as c,v as d,T as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as o}from"./chunk-7OZYU3QM.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{p as t}from"./chunk-5BZ3GYDV.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:t(m({hasError:n}),o),...s,children:[r(p,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as r}from"./chunk-U3WMNJPM.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as C}from"./chunk-KQADMCRQ.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z",fill:"currentColor"})]})}export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-XRBBJHLW.mjs";import{a as h}from"./chunk-4KHRHLZM.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-BIZR2B7Q.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-U3WMNJPM.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as g}from"./chunk-S37ONGSO.mjs";import{p as c}from"./chunk-5BZ3GYDV.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-NWME2ANF.mjs";import{b as l}from"./chunk-CCVIXJ4T.mjs";import{a as v}from"./chunk-4KAIJ2PN.mjs";import{a as h}from"./chunk-U4QIRPVU.mjs";import{a as b}from"./chunk-RKUUDTHF.mjs";import{a as g}from"./chunk-3IVWKAUU.mjs";import{a as u}from"./chunk-GHXIGUPQ.mjs";import{a as f}from"./chunk-GLJR2QX5.mjs";import{j as n}from"./chunk-7OZYU3QM.mjs";import{useEffect as k,useId as C,useRef as P,useState as A}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var H=[{key:"utm_source",icon:g,label:"Source",placeholder:"google",description:"Where the traffic is coming from"},{key:"utm_medium",icon:v,label:"Medium",placeholder:"cpc",description:"How the traffic is coming"},{key:"utm_campaign",icon:u,label:"Campaign",placeholder:"summer_sale",description:"The name of the campaign"},{key:"utm_term",icon:b,label:"Term",placeholder:"running shoes",description:"The term of the campaign"},{key:"utm_content",icon:h,label:"Content",placeholder:"logolink",description:"The content of the campaign"},{key:"ref",icon:f,label:"Referral",placeholder:"yoursite.com",description:"The referral of the campaign"}];function B({values:t,onChange:a,disabled:y,autoFocus:T,disabledTooltip:c,className:N}){let{isMobile:x}=p(),d=C(),[m,R]=A(!1),r=P(null);return k(()=>{r.current&&!x&&T&&setTimeout(()=>{var o;return(o=r.current)==null?void 0:o.focus()},10)},[]),e("div",{className:n("grid gap-y-3",N),children:H.map(({key:o,icon:M,label:_,placeholder:w,description:E},S)=>e("div",{className:"group relative",children:s("div",{className:"relative z-10 flex",children:[e(l,{content:s("div",{className:"p-3 text-center text-xs",children:[e("p",{className:"text-gray-600",children:E}),e("span",{className:"font-mono text-gray-400",children:o})]}),sideOffset:4,disableHoverableContent:!0,children:s("div",{className:n("flex items-center gap-1.5 rounded-l-md border-y border-l border-gray-300 bg-gray-50 px-3 py-1.5 text-gray-700",m?"sm:min-w-36":"sm:min-w-28"),onClick:()=>R(i=>!i),children:[e(M,{className:"size-4 shrink-0"}),e("label",{htmlFor:`${d}-${o}`,className:"select-none text-sm",children:m?e("span",{className:"font-mono text-xs",children:o}):_})]})}),e("div",{className:"min-w-0 grow",children:e(U,{disabledTooltip:c,children:e("input",{type:"text",id:`${d}-${o}`,ref:S===0?r:void 0,placeholder:w,disabled:y||Boolean(c),className:"size-full rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm",value:t[o]||"",onChange:i=>a(o,i.target.value)})})})]})},o))})}function U({children:t,disabledTooltip:a}){return a?e(l,{content:a,disableHoverableContent:!0,children:t}):t}export{H as a,B as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-7OZYU3QM.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{d as l,e as p}from"./chunk-DXAEXHSE.mjs";import{a as s,c as n}from"./chunk-EBUKVIVE.mjs";import{b as i,j as e}from"./chunk-7OZYU3QM.mjs";import{jsx as r,jsxs as c}from"react/jsx-runtime";function N({domain:a}){return c("div",{className:"grid w-[28rem] grid-cols-2",children:[c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"SDKs"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:m,iconClassName:t,title:o,href:d})=>r(n,{href:i(d,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:o}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",t)}),title:o,showArrow:!0},d))})]}),c("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[r("p",{className:e(s,"mb-2"),children:"Content"}),r("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:m,title:t,href:o})=>r(n,{href:i(o,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:t}),icon:r(m,{className:e("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:t,showArrow:!0}))})]})]})}export{N as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-NDJTCVO7.mjs";import{a as h}from"./chunk-KJHGNDAM.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-KQADMCRQ.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as M}from"./chunk-YE6TSUI4.mjs";import{a as $}from"./chunk-2CAOXWMS.mjs";import{a as z}from"./chunk-GVBIGY6N.mjs";import{a as P}from"./chunk-NWME2ANF.mjs";import{a as H}from"./chunk-OC6WDPQV.mjs";import{a as T}from"./chunk-LPV7TLRR.mjs";import{a as j}from"./chunk-XQG6PFDK.mjs";import{a as W}from"./chunk-YURUGH4S.mjs";import{g as K,j as k}from"./chunk-U3WMNJPM.mjs";import{Command as y,useCommandState as G}from"cmdk";import{ChevronDown as J,ListFilter as X}from"lucide-react";import{Fragment as Y,forwardRef as _,isValidElement as V,useCallback as N,useEffect as w,useImperativeHandle as ee,useRef as S,useState as D}from"react";import{Fragment as se,jsx as n,jsxs as m}from"react/jsx-runtime";function be({filters:t,onSelect:o,onRemove:a,onOpenFilter:s,onSearchChange:l,onSelectedFilterChange:g,activeFilters:i,askAI:h,children:v,emptyState:c,className:Q}){var L,A;let{isMobile:U}=P(),f=S(null),C=S(),[x,b]=D(!1);M("f",()=>b(!0),{enabled:!x});let[d,R]=D(""),[u,F]=D(null),E=N(()=>{R(""),F(null)},[]);w(()=>{x||E()},[x]);let r=u?t.find(({key:e})=>e===u):null,Z=N(e=>{f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight}),R(""),F(e),s==null||s(e)},[]),I=N(e=>{if(!r||!i)return!1;let p=i.find(({key:q})=>q===u);return(p==null?void 0:p.value)===e||p&&r.multiple&&Array.isArray(p.value)&&p.value.includes(e)},[r]),O=N(e=>{r&&(I(e)?a(r.key,e):o(r.key,e),r.multiple||b(!1))},[i,r,h]);return w(()=>{l==null||l(d)},[d]),w(()=>{g==null||g(u)},[u]),w(()=>{(r==null?void 0:r.options)&&f.current&&(C.current={width:f.current.clientWidth,height:f.current.clientHeight})},[r==null?void 0:r.options]),n($,{openPopover:x,setOpenPopover:b,onEscapeKeyDown:e=>{u&&(e.preventDefault(),E())},content:n(H,{width:!U,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:m(y,{loop:!0,shouldFilter:!r||r.shouldFilter!==!1,children:[m("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(re,{placeholder:`${(r==null?void 0:r.label)||"Filter"}...`,value:d,onValueChange:R,onKeyDown:e=>{(e.key==="Escape"||e.key==="Backspace"&&!d)&&(e.preventDefault(),e.stopPropagation(),u?E():b(!1))},emptySubmit:e=>{e.preventDefault(),e.stopPropagation(),h?(o("ai",r?`${r.label} ${d}`:d),b(!1)):O(d)}}),!r&&n("kbd",{className:"mr-2 hidden shrink-0 rounded border border-gray-200 bg-gray-100 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ne,{ref:f,children:m(y.List,{className:k("flex w-full flex-col gap-1 p-1",r?"min-w-[100px]":"min-w-[180px]"),children:[r?((A=(L=r.options)==null?void 0:L.filter(e=>!d||!e.hideDuringSearch))==null?void 0:A.map(e=>{let p=I(e.value);return n(B,{filter:r,option:e,right:p?n(T,{className:"h-4 w-4"}):e.right,onSelect:()=>O(e.value)},e.value)}))??n(y.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:C.current,children:n(j,{})})}):t.map(e=>m(Y,{children:[n(B,{filter:e,onSelect:()=>Z(e.key)}),e.separatorAfter&&n(y.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]},e.key)),(!r||r.options)&&n(oe,{search:d,askAI:h,children:c?te(c)?(c==null?void 0:c[u??"default"])??"No matches":c:"No matches"})]})},u)]})}),children:m("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",Q),children:[n(X,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:v??"Filter"}),i!=null&&i.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:i.length}):n(J,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function te(t){return typeof t=="object"&&t!==null&&!V(t)}var re=t=>{let o=G(a=>a.filtered.count===0);return n(y.Input,{...t,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var s,l;(s=t.onKeyDown)==null||s.call(t,a),a.key==="Enter"&&o&&((l=t.emptySubmit)==null||l.call(t,a))},autoCapitalize:"none"})},ne=_(({children:t},o)=>{let a=S(null);ee(o,()=>a.current);let{scrollProgress:s,updateScrollProgress:l}=z(a);return m(se,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:l,children:t}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(s,2)}})]})});function B({filter:t,option:o,right:a,onSelect:s}){var h,v;let{isMobile:l}=P(),g=o?o.icon??((h=t.getOptionIcon)==null?void 0:h.call(t,o.value,{key:t.key,option:o}))??t.icon:t.icon,i=o?o.label??((v=t.getOptionLabel)==null?void 0:v.call(t,o.value,{key:t.key,option:o})):t.label;return m(y.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:c=>{c.preventDefault()},onPointerUp:c=>{c.preventDefault(),l?setTimeout(s,100):s()},onSelect:s,value:i+(o==null?void 0:o.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ae(g)?g:n(g,{className:"h-4 w-4"})}),K(i,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var oe=({search:t,askAI:o,children:a})=>o&&t?m(y.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(W,{className:"h-4 w-4"}),m("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",m("span",{className:"text-black",children:['"',t,'"']})]})]}):n(y.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ae=t=>V(t);export{be as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as t}from"./chunk-5BZ3GYDV.mjs";import{motion as r}from"framer-motion";import{jsx as e,jsxs as c}from"react/jsx-runtime";var n="M6.75 8.25L4 11L1.25 8.25",s="M6.75 3.75L4 1L1.25 3.75";function i({order:o,className:a}){return c("svg",{className:t("w-2 text-gray-950",a),viewBox:"0 0 8 12",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[e(r.path,{className:t(!o&&"opacity-40"),animate:{d:o==="asc"?s:n},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),e(r.path,{className:"opacity-40",animate:{d:o==="asc"?n:s},stroke:"currentColor",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-7OZYU3QM.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-KQADMCRQ.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{j as a}from"./chunk-7OZYU3QM.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-U3WMNJPM.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{j as t}from"./chunk-KQADMCRQ.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function r({className:L}){return a("svg",{className:t("h-full w-full",L),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"black"}),C("path",{d:"M173.607 97.7454C176.886 87.8002 175.751 76.9142 170.492 67.8719C162.584 54.0098 146.691 46.8792 131.17 50.2298C122.423 40.4311 109.151 36.0738 96.3504 38.7981C83.5497 41.5224 73.1632 50.9148 69.1005 63.4398C58.9049 65.5455 50.1051 71.9745 44.9529 81.0819C36.9593 94.9215 38.7736 112.379 49.4395 124.252C46.1479 134.192 47.2727 145.08 52.5258 154.125C60.4432 167.992 76.3466 175.122 91.8764 171.767C98.784 179.601 108.708 184.058 119.11 183.999C135.02 184.014 149.114 173.67 153.974 158.414C164.168 156.304 172.967 149.876 178.122 140.771C186.019 126.956 184.197 109.593 173.607 97.7454ZM119.11 174.444C112.76 174.454 106.609 172.213 101.735 168.112L102.593 167.623L131.456 150.844C132.917 149.981 133.818 148.406 133.827 146.7V105.717L146.03 112.826C146.152 112.889 146.237 113.006 146.258 113.143V147.103C146.227 162.19 134.091 174.412 119.11 174.444ZM60.756 149.348C57.5714 143.81 56.428 137.318 57.5268 131.015L58.3841 131.533L87.2755 148.312C88.7311 149.172 90.535 149.172 91.9907 148.312L127.283 127.82V142.009C127.277 142.158 127.203 142.296 127.083 142.383L97.849 159.363C84.8581 166.9 68.2607 162.419 60.756 149.348ZM53.1545 86.032C56.3612 80.4583 61.4227 76.207 67.443 74.0308V108.567C67.4209 110.266 68.3188 111.843 69.7863 112.682L104.907 133.087L92.7051 140.196C92.5711 140.267 92.4105 140.267 92.2764 140.196L63.0993 123.244C50.134 115.676 45.6875 98.9734 53.1545 85.8881V86.032ZM153.403 109.488L118.167 88.8812L130.341 81.8013C130.475 81.7297 130.636 81.7297 130.77 81.8013L159.947 98.7815C169.053 104.074 174.307 114.185 173.432 124.737C172.557 135.289 165.712 144.383 155.86 148.082V113.546C155.809 111.851 154.875 110.309 153.403 109.488ZM165.548 91.0973L164.691 90.5792L135.856 73.6566C134.392 72.7912 132.577 72.7912 131.113 73.6566L95.8486 94.1479V79.9594C95.8333 79.8125 95.8991 79.6689 96.02 79.5853L125.197 62.6339C134.326 57.3376 145.672 57.8319 154.312 63.9022C162.953 69.9726 167.331 80.5253 165.548 90.9821V91.0973ZM89.1901 116.251L76.9877 109.171C76.8644 109.096 76.7807 108.969 76.7591 108.826V74.9517C76.773 64.3439 82.8721 54.6994 92.4112 50.201C101.95 45.7026 113.211 47.1605 121.311 53.9424L120.453 54.4316L91.5906 71.2103C90.1293 72.0736 89.2279 73.6485 89.2187 75.3546L89.1901 116.251ZM95.82 101.861L111.537 92.7377L127.283 101.861V120.107L111.595 129.231L95.8486 120.107L95.82 101.861Z",fill:"url(#paint0_radial_39_26)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_26",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(40 38) rotate(45.5947) scale(204.365 204.365)",children:[C("stop",{stopColor:"white",stopOpacity:"0.85"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{r as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-YGFNA6GS.mjs";import{a as v}from"./chunk-O43YWKJJ.mjs";import{a as N}from"./chunk-EYVALJ6V.mjs";import{a as x}from"./chunk-BOUPQUXE.mjs";import{a as y}from"./chunk-HHXN2BYR.mjs";import{a as b}from"./chunk-RXTKZ5EU.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g,m as p,n as h}from"./chunk-KQADMCRQ.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),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",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),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:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-U3WMNJPM.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-U3WMNJPM.mjs";import{jsx as r}from"react/jsx-runtime";function h({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as u}from"./chunk-7OZYU3QM.mjs";import{createContext as L,useCallback as f,useContext as h,useEffect as l,useId as K,useState as p}from"react";import{jsx as g}from"react/jsx-runtime";var b=L({listeners:[],setListeners:()=>{}});function C({children:t}){let[s,r]=p([]);return g(b.Provider,{value:{listeners:s,setListeners:r},children:t})}function N(t,s,r={}){let i=K(),{listeners:d,setListeners:c}=h(b),a=f(e=>{let n=e.target,S=document.getElementById("modal-backdrop");if(e.metaKey||e.ctrlKey||n.tagName==="INPUT"||n.tagName==="TEXTAREA"||!!S!=!!r.modal||(Array.isArray(t)?!t.includes(e.key):e.key!==t))return;let y=d.filter(o=>o.enabled!==!1&&(Array.isArray(o.key)?o.key.includes(e.key):o.key===e.key));!y.length||u(y,(o,m)=>(m.priority??0)-(o.priority??0)).slice(-1)[0].id!==i||(e.preventDefault(),s(e))},[t,d,i,s]);l(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]),l(()=>(c(e=>[...e.filter(n=>n.id!==i),{id:i,key:t,...r}]),()=>c(e=>e.filter(n=>n.id!==i))),[JSON.stringify(t),r.enabled,r.priority])}export{b as a,C as b,N as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{j as a}from"./chunk-U3WMNJPM.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as i}from"./chunk-5BZ3GYDV.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 bg-white outline-none focus-visible:border-black 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{b as g}from"./chunk-4FYEEEYO.mjs";import{j as c}from"./chunk-KQADMCRQ.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{p as a}from"./chunk-5BZ3GYDV.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-NWME2ANF.mjs";import{p as l}from"./chunk-5BZ3GYDV.mjs";import*as o from"@radix-ui/react-dialog";import*as n from"@radix-ui/react-visually-hidden";import{useRouter as w}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function C({children:d,className:s,showModal:p,setShowModal:i,onClose:c,desktopOnly:g,preventDefaultClose:f,drawerRootProps:D}){let b=w(),m=({dragged:t}={})=>{f&&!t||(c&&c(),i?i(!1):b.back())},{isMobile:y}=u();return y&&!g?e(a.Root,{open:i?p:!0,onOpenChange:t=>{t||m({dragged:!0})},...D,children:r(a.Portal,{children:[e(a.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(a.Content,{className:l("fixed bottom-0 left-0 right-0 z-50 rounded-t-[10px] border-t border-gray-200 bg-white",s),children:[r(n.Root,{children:[e(a.Title,{children:"Modal"}),e(a.Description,{children:"This is a modal"})]}),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"})}),d]}),e(a.Overlay,{})]})}):e(o.Root,{open:i?p:!0,onOpenChange:t=>{t||m()},children:r(o.Portal,{children:[e(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),r(o.Content,{onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),className:l("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",s),children:[r(n.Root,{children:[e(o.Title,{children:"Modal"}),e(o.Description,{children:"This is a modal"})]}),d]})]})})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as C}from"./chunk-7OZYU3QM.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z",fill:"currentColor"})]})}export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as r}from"./chunk-7OZYU3QM.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{e as _}from"./chunk-XRBBJHLW.mjs";import{a as v}from"./chunk-VSFCK26M.mjs";import{a as N}from"./chunk-SCXC2JDI.mjs";import{a as y}from"./chunk-ZTYDU6SX.mjs";import{a as x}from"./chunk-PILLNIZI.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-3ROS3Z2T.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-BIZR2B7Q.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),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",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),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:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as a}from"./chunk-5BZ3GYDV.mjs";import{cva as d}from"class-variance-authority";import*as i from"react";import{jsx as s}from"react/jsx-runtime";var o=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),n=i.forwardRef(({className:e,variant:t,...r},l)=>s("div",{ref:l,role:"alert",className:a(o({variant:t}),e),...r}));n.displayName="Alert";var c=i.forwardRef(({className:e,...t},r)=>s("h5",{ref:r,className:a("text-md mb-2 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=i.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{n as a,c as b,m as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-FI44IJXT.mjs";import{a as v}from"./chunk-O43YWKJJ.mjs";import{a as N}from"./chunk-NVIKWM4W.mjs";import{a as y}from"./chunk-PKXJC6FP.mjs";import{a as x}from"./chunk-SVBY2M2W.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-YIKV7JI7.mjs";import{c as o,h as d,i as g,j as p,o as h,p as n}from"./chunk-5BZ3GYDV.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:p.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:d.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),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",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),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:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.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:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",h),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as c}from"./chunk-GPFRZDSO.mjs";import{j as s}from"./chunk-U3WMNJPM.mjs";import{cva as C}from"class-variance-authority";import{createContext as b,useContext as h,useEffect as g,useRef as x,useState as L}from"react";import{jsx as d}from"react/jsx-runtime";var E=C("w-full group/card border-gray-200 bg-white",{variants:{variant:{compact:"first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",loose:"border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover"}}}),y="w-full py-2.5 px-4",w=b({hovered:!1});function H({outerClassName:u,innerClassName:f,children:p,onClick:i,hoverStateEnabled:v=!0}){let{variant:m}=h(c),r=x(null),[a,o]=L(!1);return g(()=>{if(!a||!r.current)return;let t=setInterval(()=>{var n;((n=r.current)==null?void 0:n.matches(":hover"))===!1&&o(!1)},1e3);return()=>clearInterval(t)},[a]),d("li",{ref:r,className:s(E({variant:m}),u),onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),"data-hover-state-enabled":v,children:d("div",{className:s(y,f),onClick:i?t=>{if(!document.getElementById("modal-backdrop")){for(let e=t.target,l=0;e&&e!==t.currentTarget&&l<100;e=e.parentElement,l++)if(["button","a","input","textarea"].includes(e.tagName.toLowerCase())||e.getAttribute("data-radix-popper-content-wrapper")!==null)return;i()}}:void 0,children:d(w.Provider,{value:{hovered:a},children:p})})})}export{w as a,H as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-7OZYU3QM.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-3 lg:px-10",r),children:a})}export{c as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as l}from"./chunk-KQADMCRQ.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{j as l}from"./chunk-KQADMCRQ.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as n}from"./chunk-HJEO7QP3.mjs";import{j as i}from"./chunk-U3WMNJPM.mjs";import s from"next/link";import{jsx as e,jsxs as a}from"react/jsx-runtime";var b="text-xs uppercase text-gray-500 dark:text-white/60",l="group rounded-[8px] p-2 transition-colors hover:bg-gray-100 active:bg-gray-200 dark:hover:bg-white/[0.15] dark:active:bg-white/20";function v({icon:t,title:o,description:r,descriptionLines:d=1,className:p,showArrow:c,...m}){return e(s,{className:i(l,p),...m,children:a("div",{className:"flex items-center justify-between gap-3",children:[t,a("div",{className:"flex-1",children:[e("p",{className:"text-sm font-medium text-gray-700 dark:text-white",children:o}),r&&e("p",{className:i("text-xs text-gray-500/80 dark:text-white/60",["line-clamp-1","line-clamp-2"][d-1]),children:r})]}),c&&e(n,{className:"invisible -ml-6 h-4 w-4 text-gray-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})}function k({icon:t}){return e("div",{className:"shrink-0 rounded-[10px] border border-gray-200 bg-white/50 p-3 dark:border-white/20 dark:bg-white/10",children:e(t,{className:"h-4 w-4 text-black transition-transform group-hover:scale-110 dark:text-white/80"})})}function w({name:t,href:o,icon:r}){return a(s,{href:o,className:"group relative isolate overflow-hidden rounded-[8px] border border-gray-100 p-3 text-sm font-medium text-gray-800 transition-colors hover:border-gray-200 hover:bg-gray-100 active:bg-gray-200 dark:border-white/20 dark:text-white/80 dark:hover:bg-white/[0.15] dark:active:bg-white/20",children:[e("div",{className:"absolute -bottom-5 -right-3 -z-[1] w-14",children:r}),t]})}export{b as a,l as b,v as c,k as d,w as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as i}from"./chunk-5BZ3GYDV.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as C}from"./chunk-5BZ3GYDV.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("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{t as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as r}from"./chunk-7OZYU3QM.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-O43YWKJJ.mjs";import{a as c,c as u,d as N}from"./chunk-EBUKVIVE.mjs";import{a as l}from"./chunk-2QQZCDLG.mjs";import{b as o,j as i,m as d}from"./chunk-7OZYU3QM.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-XZ5NAQPG.mjs";import{a as c,c as u,d as N}from"./chunk-YPFLCYTU.mjs";import{a as l}from"./chunk-J5USQ7V7.mjs";import{b as o,j as i,m as d}from"./chunk-KQADMCRQ.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as g}from"./chunk-CCVIXJ4T.mjs";import{j as c}from"./chunk-7OZYU3QM.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as h}from"./chunk-4FYEEEYO.mjs";import{j as p}from"./chunk-KQADMCRQ.mjs";import{cva as E}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as I}from"lucide-react";import*as e from"react";import{jsx as r,jsxs as C}from"react/jsx-runtime";var w=2e3,S=e.createContext(null);function b(){let t=e.useContext(S);if(!t)throw new Error("useCarousel must be used within a <Carousel />");return t}function W(){let{api:t}=b(),[l,s]=e.useState(0),o=e.useCallback(c=>s((c==null?void 0:c.selectedScrollSnap())??0),[]);return e.useEffect(()=>{!t||(o(t),t.on("reInit",o),t.on("select",o))},[t,o]),l}var z=e.forwardRef(({orientation:t="horizontal",opts:l,setApi:s,autoplay:o,plugins:c,className:d,children:n,...i},y)=>{let[x,a]=T({...l,axis:t==="horizontal"?"x":"y"},[...o?[k(typeof o=="object"?o:{delay:w})]:[],...c||[]]),[N,v]=e.useState(!1),[R,g]=e.useState(!1),u=e.useCallback(f=>{!f||(v(f.canScrollPrev()),g(f.canScrollNext()))},[]),m=e.useCallback(()=>{a==null||a.scrollPrev()},[a]),P=e.useCallback(()=>{a==null||a.scrollNext()},[a]),A=e.useCallback(f=>{f.key==="ArrowLeft"?(f.preventDefault(),m()):f.key==="ArrowRight"&&(f.preventDefault(),P())},[m,P]);return e.useEffect(()=>{!a||!s||s(a)},[a,s]),e.useEffect(()=>{if(!!a)return u(a),a.on("reInit",u),a.on("select",u),()=>{a==null||a.off("select",u)}},[a,u]),r(S.Provider,{value:{carouselRef:x,api:a,opts:l,orientation:t||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:m,scrollNext:P,canScrollPrev:N,canScrollNext:R},children:r("div",{ref:y,onKeyDownCapture:A,className:p("relative",d),role:"region","aria-roledescription":"carousel",...i,children:n})})});z.displayName="Carousel";var U=e.forwardRef(({className:t,...l},s)=>{let{carouselRef:o,orientation:c}=b();return r("div",{ref:o,className:"overflow-hidden",children:r("div",{ref:s,className:p("flex",c==="horizontal"?"-ml-4":"-mt-4 flex-col",t),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:t,...l},s)=>{let{orientation:o}=b();return r("div",{ref:s,role:"group","aria-roledescription":"slide",className:p("min-w-0 shrink-0 grow-0 basis-full",o==="horizontal"?"pl-4":"pt-4",t),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollPrev:c,canScrollPrev:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(D,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:t,...l},s)=>{let{orientation:o,scrollNext:c,canScrollNext:d}=b();return C("button",{ref:s,className:p("absolute",o==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),t),disabled:!d,onClick:c,...l,children:[r(H,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=E("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),X=({variant:t="simple",className:l})=>{var g;let{scrollNext:s,scrollPrev:o,canScrollNext:c,canScrollPrev:d,api:n}=b(),i=(g=n==null?void 0:n.plugins())==null?void 0:g.autoplay,[y,x]=e.useState(0),[a,N]=e.useState(!1),v=e.useCallback(u=>{x((u==null?void 0:u.selectedScrollSnap())??0)},[]),R=e.useCallback(u=>()=>{i&&i.isPlaying()&&i.stop(),u()},[i]);return e.useEffect(()=>{!n||(v(n),N((i==null?void 0:i.isPlaying())??!1),n.on("reInit",v),n.on("select",v),n.on("autoplay:play",()=>N(!0)),n.on("autoplay:stop",()=>N(!1)))},[n,i,v]),C("div",{className:p(K({variant:t}),l),children:[t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:R(o),children:[r(M,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Previous slide"})]}),n!=null&&r("div",{className:"flex items-center gap-1",children:n.slideNodes().map((u,m)=>C("button",{onClick:R(()=>n.scrollTo(m)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[r("div",{className:p("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",m===y?"bg-black":"bg-black/20",a&&m===y&&"w-6 bg-black/20"),children:a&&m===y&&r(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((i==null?void 0:i.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",m+1]})]},m))}),t!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!c,onClick:R(s),children:[r(I,{className:"h-4 w-4"}),r("span",{className:"sr-only",children:"Next slide"})]})]})};export{w as a,b,W as c,z as d,U as e,B as f,O as g,V as h,X as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as e}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-7OZYU3QM.mjs";import{cva as g}from"class-variance-authority";import{useState as f}from"react";import{toast as d}from"sonner";import{jsx as t,jsxs as b}from"react/jsx-runtime";var y=g("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-gray-100 active:bg-gray-200",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function B({variant:n="default",value:s,className:i,icon:p,successMessage:c}){let[u,a]=f(!1),l=p||r;return b("button",{onClick:m=>{m.stopPropagation(),a(!0),navigator.clipboard.writeText(s).then(()=>{d.success(c||"Copied to clipboard!")}),setTimeout(()=>a(!1),3e3)},className:o(y({variant:n}),i),type:"button",children:[t("span",{className:"sr-only",children:"Copy"}),u?t(e,{className:"h-3.5 w-3.5"}):t(l,{className:"h-3.5 w-3.5"})]})}export{B as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-NWME2ANF.mjs";import{b as l}from"./chunk-4FYEEEYO.mjs";import{a as v}from"./chunk-4KAIJ2PN.mjs";import{a as h}from"./chunk-U4QIRPVU.mjs";import{a as b}from"./chunk-RKUUDTHF.mjs";import{a as g}from"./chunk-3IVWKAUU.mjs";import{a as u}from"./chunk-GHXIGUPQ.mjs";import{a as f}from"./chunk-GLJR2QX5.mjs";import{j as n}from"./chunk-KQADMCRQ.mjs";import{useEffect as k,useId as C,useRef as P,useState as A}from"react";import{jsx as e,jsxs as s}from"react/jsx-runtime";var H=[{key:"utm_source",icon:g,label:"Source",placeholder:"google",description:"Where the traffic is coming from"},{key:"utm_medium",icon:v,label:"Medium",placeholder:"cpc",description:"How the traffic is coming"},{key:"utm_campaign",icon:u,label:"Campaign",placeholder:"summer_sale",description:"The name of the campaign"},{key:"utm_term",icon:b,label:"Term",placeholder:"running shoes",description:"The term of the campaign"},{key:"utm_content",icon:h,label:"Content",placeholder:"logolink",description:"The content of the campaign"},{key:"ref",icon:f,label:"Referral",placeholder:"yoursite.com",description:"The referral of the campaign"}];function B({values:t,onChange:a,disabled:y,autoFocus:T,disabledTooltip:c,className:N}){let{isMobile:x}=p(),d=C(),[m,R]=A(!1),r=P(null);return k(()=>{r.current&&!x&&T&&setTimeout(()=>{var o;return(o=r.current)==null?void 0:o.focus()},10)},[]),e("div",{className:n("grid gap-y-3",N),children:H.map(({key:o,icon:M,label:_,placeholder:w,description:E},S)=>e("div",{className:"group relative",children:s("div",{className:"relative z-10 flex",children:[e(l,{content:s("div",{className:"p-3 text-center text-xs",children:[e("p",{className:"text-gray-600",children:E}),e("span",{className:"font-mono text-gray-400",children:o})]}),sideOffset:4,disableHoverableContent:!0,children:s("div",{className:n("flex items-center gap-1.5 rounded-l-md border-y border-l border-gray-300 bg-gray-50 px-3 py-1.5 text-gray-700",m?"sm:min-w-36":"sm:min-w-28"),onClick:()=>R(i=>!i),children:[e(M,{className:"size-4 shrink-0"}),e("label",{htmlFor:`${d}-${o}`,className:"select-none text-sm",children:m?e("span",{className:"font-mono text-xs",children:o}):_})]})}),e("div",{className:"min-w-0 grow",children:e(U,{disabledTooltip:c,children:e("input",{type:"text",id:`${d}-${o}`,ref:S===0?r:void 0,placeholder:w,disabled:y||Boolean(c),className:"size-full rounded-r-md border border-gray-300 placeholder-gray-400 focus:border-gray-500 focus:ring-gray-500 disabled:cursor-not-allowed sm:text-sm",value:t[o]||"",onChange:i=>a(o,i.target.value)})})})]})},o))})}function U({children:t,disabledTooltip:a}){return a?e(l,{content:a,disableHoverableContent:!0,children:t}):t}export{H as a,B as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{p as r}from"./chunk-5BZ3GYDV.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as u}from"./chunk-NWME2ANF.mjs";import{j as l}from"./chunk-U3WMNJPM.mjs";import*as o from"@radix-ui/react-dialog";import*as n from"@radix-ui/react-visually-hidden";import{useRouter as w}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as e,jsxs as r}from"react/jsx-runtime";function C({children:d,className:s,showModal:p,setShowModal:i,onClose:c,desktopOnly:g,preventDefaultClose:f,drawerRootProps:D}){let b=w(),m=({dragged:t}={})=>{f&&!t||(c&&c(),i?i(!1):b.back())},{isMobile:y}=u();return y&&!g?e(a.Root,{open:i?p:!0,onOpenChange:t=>{t||m({dragged:!0})},...D,children:r(a.Portal,{children:[e(a.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),r(a.Content,{className:l("fixed bottom-0 left-0 right-0 z-50 rounded-t-[10px] border-t border-gray-200 bg-white",s),children:[r(n.Root,{children:[e(a.Title,{children:"Modal"}),e(a.Description,{children:"This is a modal"})]}),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"})}),d]}),e(a.Overlay,{})]})}):e(o.Root,{open:i?p:!0,onOpenChange:t=>{t||m()},children:r(o.Portal,{children:[e(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),r(o.Content,{onOpenAutoFocus:t=>t.preventDefault(),onCloseAutoFocus:t=>t.preventDefault(),className:l("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",s),children:[r(n.Root,{children:[e(o.Title,{children:"Modal"}),e(o.Description,{children:"This is a modal"})]}),d]})]})})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-U3WMNJPM.mjs";import{cva as d}from"class-variance-authority";import*as i from"react";import{jsx as s}from"react/jsx-runtime";var o=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),n=i.forwardRef(({className:e,variant:t,...r},l)=>s("div",{ref:l,role:"alert",className:a(o({variant:t}),e),...r}));n.displayName="Alert";var c=i.forwardRef(({className:e,...t},r)=>s("h5",{ref:r,className:a("text-md mb-2 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=i.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{n as a,c as b,m as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-7OZYU3QM.mjs";import{useState as n}from"react";import{toast as u}from"sonner";import{jsx as p}from"react/jsx-runtime";function g({value:o,children:s,className:r,successMessage:a}){let[c,t]=n(!1);return p("button",{onClick:i=>{i.stopPropagation(),t(!0),navigator.clipboard.writeText(o).then(()=>{u.success(a||"Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},type:"button",className:e("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",c&&"cursor-default",r),children:s})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-U3WMNJPM.mjs";import{sha256 as o}from"js-sha256";import{useState as d}from"react";import{jsx as t}from"react/jsx-runtime";function c(e){if(e!=null&&e.image)return e.image;if(!(e!=null&&e.id))return"https://api.dicebear.com/9.x/micah/svg";let a=`https://api.dicebear.com/9.x/micah/svg?seed=${encodeURIComponent(e.id)}`,r=`https://api.dicebear.com/9.x/micah/png/${encodeURIComponent(`seed=${encodeURIComponent(e.id)}`)}`;return e.email?`https://www.gravatar.com/avatar/${o(e.email)}?d=${encodeURIComponent(r)}`:a}function g({user:e={},className:a}){if(!e)return t("div",{className:n("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",a)});let[r,i]=d(c(e));return t("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:r,className:n("h-10 w-10 rounded-full border border-gray-300",a),draggable:!1,onError:()=>{i(`https://api.dicebear.com/9.x/micah/svg?seed=${encodeURIComponent(e.id||"")}`)}})}function p({id:e,className:a}){return t("img",{src:`https://api.dicebear.com/9.x/shapes/svg?seed=${e}`,alt:"avatar",className:n("h-10 w-10 rounded-full",a),draggable:!1})}export{c as a,g as b,p as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-7TBGFJM2.mjs";import{j as t}from"./chunk-KQADMCRQ.mjs";import{motion as c}from"framer-motion";import{forwardRef as u,useRef as C}from"react";import{jsx as d}from"react/jsx-runtime";var R=u(({width:i=!1,height:e=!1,className:p,transition:f,children:s,...h},l)=>{var a,m;let n=C(null),o=r(n);return d(c.div,{ref:l,className:t("overflow-hidden",p),animate:{width:i?((a=o==null?void 0:o.contentRect)==null?void 0:a.width)??"auto":"auto",height:e?((m=o==null?void 0:o.contentRect)==null?void 0:m.height)??"auto":"auto"},transition:f??{type:"spring",duration:.3},...h,children:d("div",{ref:n,className:t(e&&"h-max",i&&"w-max"),children:s})})});R.displayName="AnimatedSizeContainer";export{R as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-7OZYU3QM.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as i}from"./chunk-7OZYU3QM.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{h as u}from"./chunk-KQADMCRQ.mjs";import{createContext as L,useCallback as f,useContext as h,useEffect as l,useId as K,useState as p}from"react";import{jsx as g}from"react/jsx-runtime";var b=L({listeners:[],setListeners:()=>{}});function C({children:t}){let[s,r]=p([]);return g(b.Provider,{value:{listeners:s,setListeners:r},children:t})}function N(t,s,r={}){let i=K(),{listeners:d,setListeners:c}=h(b),a=f(e=>{let n=e.target,S=document.getElementById("modal-backdrop");if(e.metaKey||e.ctrlKey||n.tagName==="INPUT"||n.tagName==="TEXTAREA"||!!S!=!!r.modal||(Array.isArray(t)?!t.includes(e.key):e.key!==t))return;let y=d.filter(o=>o.enabled!==!1&&(Array.isArray(o.key)?o.key.includes(e.key):o.key===e.key));!y.length||u(y,(o,m)=>(m.priority??0)-(o.priority??0)).slice(-1)[0].id!==i||(e.preventDefault(),s(e))},[t,d,i,s]);l(()=>(document.addEventListener("keydown",a),()=>document.removeEventListener("keydown",a)),[a]),l(()=>(c(e=>[...e.filter(n=>n.id!==i),{id:i,key:t,...r}]),()=>c(e=>e.filter(n=>n.id!==i))),[JSON.stringify(t),r.enabled,r.priority])}export{b as a,C as b,N as c};