@dub/ui 0.1.62 → 0.1.64

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 (601) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +12 -12
  4. package/dist/animated-size-container.mjs +1 -1
  5. package/dist/avatar.mjs +1 -1
  6. package/dist/badge.d.ts +1 -1
  7. package/dist/badge.mjs +1 -1
  8. package/dist/blur-image.mjs +1 -1
  9. package/dist/button.mjs +1 -1
  10. package/dist/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-22WFAFNE.mjs +2 -0
  15. package/dist/chunk-24FZHMUR.mjs +2 -0
  16. package/dist/chunk-24VKDXNY.mjs +2 -0
  17. package/dist/chunk-25YHMIJX.mjs +2 -0
  18. package/dist/chunk-26XCCUUB.mjs +6 -0
  19. package/dist/chunk-27ML5E2F.mjs +2 -0
  20. package/dist/chunk-2EYK7SJZ.mjs +2 -0
  21. package/dist/chunk-2IVBNILB.mjs +6 -0
  22. package/dist/chunk-2QQZCDLG.mjs +2 -0
  23. package/dist/chunk-2RNJXJNC.mjs +2 -0
  24. package/dist/chunk-2S3M6ZJW.mjs +2 -0
  25. package/dist/chunk-2TWKGUVF.mjs +2 -0
  26. package/dist/chunk-2TZWS3JQ.mjs +2 -0
  27. package/dist/chunk-2USPCSVN.mjs +2 -0
  28. package/dist/chunk-2ZD2XOGY.mjs +2 -0
  29. package/dist/chunk-34SLXBV6.mjs +2 -0
  30. package/dist/chunk-3FN3C6PS.mjs +2 -0
  31. package/dist/chunk-3IEYYM3P.mjs +6 -0
  32. package/dist/chunk-3ITB2VNJ.mjs +2 -0
  33. package/dist/chunk-3MNNMMX3.mjs +2 -0
  34. package/dist/chunk-3QWTC3RF.mjs +2 -0
  35. package/dist/chunk-3R6Y43NF.mjs +2 -0
  36. package/dist/chunk-3SJTHXXN.mjs +2 -0
  37. package/dist/chunk-3WWXDKJ5.mjs +2 -0
  38. package/dist/chunk-3XQHO73N.mjs +2 -0
  39. package/dist/chunk-3YSICMVK.mjs +6 -0
  40. package/dist/chunk-454XW77L.mjs +6 -0
  41. package/dist/chunk-45TVEKQB.mjs +2 -0
  42. package/dist/chunk-46A6V7VD.mjs +2 -0
  43. package/dist/chunk-4A7C7W5O.mjs +2 -0
  44. package/dist/chunk-4AU6LSVF.mjs +2 -0
  45. package/dist/chunk-4DNRRE3K.mjs +2 -0
  46. package/dist/chunk-4DQAW447.mjs +2 -0
  47. package/dist/chunk-4FYEEEYO.mjs +2 -0
  48. package/dist/chunk-4GNEYNVU.mjs +2 -0
  49. package/dist/chunk-4HUYN24V.mjs +2 -0
  50. package/dist/chunk-4ISGWLB6.mjs +2 -0
  51. package/dist/chunk-4NFFG6EA.mjs +2 -0
  52. package/dist/chunk-4NVSXEFD.mjs +2 -0
  53. package/dist/chunk-4S5ACOK7.mjs +2 -0
  54. package/dist/chunk-4UQSW3LZ.mjs +2 -0
  55. package/dist/chunk-4USYRZBY.mjs +2 -0
  56. package/dist/chunk-4X54WEZM.mjs +2 -0
  57. package/dist/chunk-52GQLJ2N.mjs +2 -0
  58. package/dist/chunk-54NWYMUV.mjs +2 -0
  59. package/dist/chunk-562X2L6C.mjs +2 -0
  60. package/dist/chunk-56B5ANEB.mjs +2 -0
  61. package/dist/chunk-5B5YNJWP.mjs +2 -0
  62. package/dist/chunk-5BN3FWVN.mjs +2 -0
  63. package/dist/chunk-5BX765AZ.mjs +2 -0
  64. package/dist/chunk-5CBHM2QV.mjs +2 -0
  65. package/dist/chunk-5EFMUFTZ.mjs +2 -0
  66. package/dist/chunk-5EXA2QJO.mjs +2 -0
  67. package/dist/chunk-5I3CWZFE.mjs +2 -0
  68. package/dist/chunk-5JA2HYOQ.mjs +2 -0
  69. package/dist/chunk-5MSVFIUL.mjs +2 -0
  70. package/dist/chunk-5OCD5DGL.mjs +2 -0
  71. package/dist/chunk-5SZ2YQPL.mjs +2 -0
  72. package/dist/chunk-5WW3CD6L.mjs +2 -0
  73. package/dist/chunk-5WZXM22N.mjs +2 -0
  74. package/dist/chunk-5XHMSXZL.mjs +2 -0
  75. package/dist/chunk-5XRXPM6I.mjs +6 -0
  76. package/dist/chunk-5ZWZE47I.mjs +2 -0
  77. package/dist/chunk-62UWETUV.mjs +2 -0
  78. package/dist/chunk-63VSLYV2.mjs +2 -0
  79. package/dist/chunk-66LHQXIL.mjs +2 -0
  80. package/dist/chunk-6B6GKNIN.mjs +6 -0
  81. package/dist/chunk-6DRPUSQW.mjs +2 -0
  82. package/dist/chunk-6G5IMRVT.mjs +6 -0
  83. package/dist/chunk-6HTDRA22.mjs +2 -0
  84. package/dist/chunk-6IWTD537.mjs +2 -0
  85. package/dist/chunk-6KB2KP74.mjs +2 -0
  86. package/dist/chunk-6NCLBSDR.mjs +2 -0
  87. package/dist/chunk-6OMTLIWF.mjs +2 -0
  88. package/dist/chunk-6P62QE2G.mjs +2 -0
  89. package/dist/chunk-6QQDGLTN.mjs +2 -0
  90. package/dist/chunk-6TLKOE5P.mjs +2 -0
  91. package/dist/chunk-6VDWZS7R.mjs +2 -0
  92. package/dist/chunk-6W7656X6.mjs +2 -0
  93. package/dist/chunk-6XZUNUMN.mjs +2 -0
  94. package/dist/chunk-7A7AJJHY.mjs +2 -0
  95. package/dist/chunk-7AT2OX3J.mjs +2 -0
  96. package/dist/chunk-7C6ZVZ4P.mjs +2 -0
  97. package/dist/chunk-7DFMJAU4.mjs +6 -0
  98. package/dist/chunk-7F6VNQII.mjs +2 -0
  99. package/dist/chunk-7FH4TKLX.mjs +2 -0
  100. package/dist/chunk-7LQDLMJZ.mjs +2 -0
  101. package/dist/chunk-7LZE2BG5.mjs +2 -0
  102. package/dist/chunk-7MALATC2.mjs +2 -0
  103. package/dist/chunk-7NMRIL36.mjs +2 -0
  104. package/dist/chunk-7OZYU3QM.mjs +2 -0
  105. package/dist/chunk-7PY5M5C6.mjs +2 -0
  106. package/dist/chunk-7QSUL4AK.mjs +2 -0
  107. package/dist/chunk-7RLUWTBT.mjs +2 -0
  108. package/dist/chunk-7TD4RPM3.mjs +2 -0
  109. package/dist/chunk-7YO6EVK6.mjs +2 -0
  110. package/dist/chunk-A25P7TQP.mjs +2 -0
  111. package/dist/chunk-A3CBDT65.mjs +2 -0
  112. package/dist/chunk-A43FVLPH.mjs +2 -0
  113. package/dist/chunk-A5LG5JLA.mjs +2 -0
  114. package/dist/chunk-A6SZUE5J.mjs +6 -0
  115. package/dist/chunk-AAXP2EFC.mjs +2 -0
  116. package/dist/chunk-AFHS2QXS.mjs +2 -0
  117. package/dist/chunk-AGVXHDJK.mjs +2 -0
  118. package/dist/chunk-AJ3CS53R.mjs +6 -0
  119. package/dist/chunk-AJW4HFHL.mjs +2 -0
  120. package/dist/chunk-AK2TTQ7X.mjs +2 -0
  121. package/dist/chunk-AKT5WNDG.mjs +2 -0
  122. package/dist/chunk-ALHRXAVJ.mjs +2 -0
  123. package/dist/chunk-AMSOTRQJ.mjs +2 -0
  124. package/dist/chunk-APRXCDHL.mjs +6 -0
  125. package/dist/chunk-ASW4CA57.mjs +2 -0
  126. package/dist/chunk-AUFUNDFR.mjs +2 -0
  127. package/dist/chunk-AXZJPLZ2.mjs +2 -0
  128. package/dist/chunk-AYHWIW4A.mjs +2 -0
  129. package/dist/chunk-AZS2GD57.mjs +2 -0
  130. package/dist/chunk-AZUBMWFL.mjs +2 -0
  131. package/dist/chunk-B2CCWVVK.mjs +2 -0
  132. package/dist/chunk-BHS6GAMC.mjs +6 -0
  133. package/dist/chunk-BIENTJRD.mjs +6 -0
  134. package/dist/chunk-BK7JY6YD.mjs +2 -0
  135. package/dist/chunk-BOBW4QDU.mjs +2 -0
  136. package/dist/chunk-BOUPQUXE.mjs +2 -0
  137. package/dist/chunk-BQJ3E6GJ.mjs +2 -0
  138. package/dist/chunk-BQJYDOMD.mjs +2 -0
  139. package/dist/chunk-BQVL2S5P.mjs +2 -0
  140. package/dist/chunk-BR2UQ2TG.mjs +2 -0
  141. package/dist/chunk-BRFI5EDU.mjs +2 -0
  142. package/dist/chunk-BTD2ZEUE.mjs +2 -0
  143. package/dist/chunk-BYQDVU3F.mjs +2 -0
  144. package/dist/chunk-C3HN4VWC.mjs +2 -0
  145. package/dist/chunk-C6YLUFWK.mjs +2 -0
  146. package/dist/chunk-CC2RPXVG.mjs +42 -0
  147. package/dist/chunk-CCVIXJ4T.mjs +2 -0
  148. package/dist/chunk-CFE6TCDR.mjs +2 -0
  149. package/dist/chunk-CGTLW2O5.mjs +2 -0
  150. package/dist/chunk-CJ3UITKZ.mjs +2 -0
  151. package/dist/chunk-CJE5CJUD.mjs +2 -0
  152. package/dist/chunk-CP7Z2HEE.mjs +2 -0
  153. package/dist/chunk-CQCAAKTW.mjs +2 -0
  154. package/dist/chunk-CR77UUHL.mjs +2 -0
  155. package/dist/chunk-CSKH27P4.mjs +2 -0
  156. package/dist/chunk-CUN3PQ2C.mjs +2 -0
  157. package/dist/chunk-CWL7MZRS.mjs +2 -0
  158. package/dist/chunk-CWZHL77S.mjs +2 -0
  159. package/dist/chunk-D65RDDTU.mjs +2 -0
  160. package/dist/chunk-D74G65YV.mjs +2 -0
  161. package/dist/chunk-D7GJVJLA.mjs +2 -0
  162. package/dist/chunk-DE46AQLE.mjs +2 -0
  163. package/dist/chunk-DGONAPA3.mjs +2 -0
  164. package/dist/chunk-DIQ6FNRJ.mjs +2 -0
  165. package/dist/chunk-DJ5LRPTL.mjs +2 -0
  166. package/dist/chunk-DOTBF6DU.mjs +2 -0
  167. package/dist/chunk-DPUTFBDB.mjs +2 -0
  168. package/dist/chunk-DUL2HWEJ.mjs +2 -0
  169. package/dist/chunk-DY4GFYEV.mjs +2 -0
  170. package/dist/chunk-DY5EA24P.mjs +2 -0
  171. package/dist/chunk-E26IO6IO.mjs +2 -0
  172. package/dist/chunk-E5TYUGW4.mjs +2 -0
  173. package/dist/chunk-E6F6JHJL.mjs +2 -0
  174. package/dist/chunk-E6IN7MJH.mjs +2 -0
  175. package/dist/chunk-EA2KFCNV.mjs +2 -0
  176. package/dist/chunk-EBUKVIVE.mjs +2 -0
  177. package/dist/chunk-EDFF24HB.mjs +2 -0
  178. package/dist/chunk-EFCU7CMH.mjs +2 -0
  179. package/dist/chunk-EI2TK2VL.mjs +2 -0
  180. package/dist/chunk-EROWF4YQ.mjs +2 -0
  181. package/dist/chunk-ERV24I34.mjs +2 -0
  182. package/dist/chunk-ET462HEE.mjs +2 -0
  183. package/dist/chunk-EUNCPGTG.mjs +2 -0
  184. package/dist/chunk-EYVALJ6V.mjs +2 -0
  185. package/dist/chunk-F5DVMX2D.mjs +2 -0
  186. package/dist/chunk-FAQF5KTS.mjs +2 -0
  187. package/dist/chunk-FDEFMRAX.mjs +2 -0
  188. package/dist/chunk-FEU22O3W.mjs +2 -0
  189. package/dist/chunk-FI3QD7BN.mjs +2 -0
  190. package/dist/chunk-FKKYWXO4.mjs +2 -0
  191. package/dist/chunk-FNEMZYAF.mjs +2 -0
  192. package/dist/chunk-FPBDCOSU.mjs +2 -0
  193. package/dist/chunk-FR4S6IXK.mjs +6 -0
  194. package/dist/chunk-FSIMAFIB.mjs +2 -0
  195. package/dist/chunk-FVQZMQJU.mjs +2 -0
  196. package/dist/chunk-FXW65LTB.mjs +2 -0
  197. package/dist/chunk-G262Y3YH.mjs +2 -0
  198. package/dist/chunk-G3N4ZIAG.mjs +2 -0
  199. package/dist/chunk-G76LKE44.mjs +2 -0
  200. package/dist/chunk-G7IQNJIO.mjs +2 -0
  201. package/dist/chunk-G7XXFWW4.mjs +2 -0
  202. package/dist/chunk-GB7UGR4P.mjs +2 -0
  203. package/dist/chunk-GC5FF2YJ.mjs +2 -0
  204. package/dist/chunk-GDIBRJN4.mjs +2 -0
  205. package/dist/chunk-GG4WW4NN.mjs +2 -0
  206. package/dist/chunk-GG7CLVAD.mjs +2 -0
  207. package/dist/chunk-GL4B6AWV.mjs +2 -0
  208. package/dist/chunk-GNWRM7HC.mjs +2 -0
  209. package/dist/chunk-GPAEMIBH.mjs +2 -0
  210. package/dist/chunk-GPZKUDZ5.mjs +2 -0
  211. package/dist/chunk-GRCPFWQU.mjs +2 -0
  212. package/dist/chunk-GRK7ZFJM.mjs +2 -0
  213. package/dist/chunk-GUUH6CFB.mjs +2 -0
  214. package/dist/chunk-GVKZS4WP.mjs +2 -0
  215. package/dist/chunk-GWQOCJ4B.mjs +2 -0
  216. package/dist/chunk-GYBVZS4K.mjs +2 -0
  217. package/dist/chunk-GYLY6ZXQ.mjs +2 -0
  218. package/dist/chunk-H3FIFF3C.mjs +2 -0
  219. package/dist/chunk-H5ABRSJS.mjs +2 -0
  220. package/dist/chunk-H5RSKKCI.mjs +2 -0
  221. package/dist/chunk-H5TWSNHJ.mjs +2 -0
  222. package/dist/chunk-H635B55O.mjs +2 -0
  223. package/dist/chunk-H6L2D2FL.mjs +2 -0
  224. package/dist/chunk-HANXXOS6.mjs +2 -0
  225. package/dist/chunk-HF3RWP3X.mjs +2 -0
  226. package/dist/chunk-HHFSH3VO.mjs +2 -0
  227. package/dist/chunk-HHXN2BYR.mjs +2 -0
  228. package/dist/chunk-HI5MHQ23.mjs +2 -0
  229. package/dist/chunk-HICYH6UT.mjs +2 -0
  230. package/dist/chunk-HK5IJK4V.mjs +2 -0
  231. package/dist/chunk-HKAOTFCA.mjs +2 -0
  232. package/dist/chunk-HLI6HXVQ.mjs +2 -0
  233. package/dist/chunk-HNOKTMBL.mjs +42 -0
  234. package/dist/chunk-HR3MIIQY.mjs +2 -0
  235. package/dist/chunk-HSHOV3IW.mjs +2 -0
  236. package/dist/chunk-HULIVSO7.mjs +2 -0
  237. package/dist/chunk-HUY2ZWLI.mjs +2 -0
  238. package/dist/chunk-HVIRCCOO.mjs +2 -0
  239. package/dist/chunk-I2IWTB5R.mjs +2 -0
  240. package/dist/chunk-I3HUQLRU.mjs +2 -0
  241. package/dist/chunk-I3NEQJ4I.mjs +2 -0
  242. package/dist/chunk-I6WOK6HL.mjs +2 -0
  243. package/dist/chunk-I73SBIBG.mjs +2 -0
  244. package/dist/chunk-IAZWTQDQ.mjs +2 -0
  245. package/dist/chunk-IB3CNNOR.mjs +2 -0
  246. package/dist/chunk-ICE2JY73.mjs +2 -0
  247. package/dist/chunk-IEYO7ARM.mjs +2 -0
  248. package/dist/chunk-IGHLBC7I.mjs +2 -0
  249. package/dist/chunk-IJQPFIHS.mjs +2 -0
  250. package/dist/chunk-IN2R3CZ2.mjs +2 -0
  251. package/dist/chunk-IQOP7HJT.mjs +2 -0
  252. package/dist/chunk-IZVAD4PC.mjs +2 -0
  253. package/dist/chunk-J2WWV5OI.mjs +2 -0
  254. package/dist/chunk-J5A5ZRH5.mjs +2 -0
  255. package/dist/chunk-J5USQ7V7.mjs +2 -0
  256. package/dist/chunk-JAM26LKJ.mjs +2 -0
  257. package/dist/chunk-JBH4NIZA.mjs +2 -0
  258. package/dist/chunk-JBWPEIIS.mjs +2 -0
  259. package/dist/chunk-JHICEJQD.mjs +2 -0
  260. package/dist/chunk-JJPNQP6K.mjs +2 -0
  261. package/dist/chunk-JOYJUH4X.mjs +2 -0
  262. package/dist/chunk-JR5OYRCS.mjs +2 -0
  263. package/dist/chunk-JU4A2ZEG.mjs +2 -0
  264. package/dist/chunk-JUOPPTUC.mjs +2 -0
  265. package/dist/chunk-K2HRM33I.mjs +2 -0
  266. package/dist/chunk-K2JE3SJY.mjs +2 -0
  267. package/dist/chunk-K2STHID6.mjs +2 -0
  268. package/dist/chunk-K3KWZ5TP.mjs +2 -0
  269. package/dist/chunk-K3OHB7UU.mjs +2 -0
  270. package/dist/chunk-K4LX4244.mjs +2 -0
  271. package/dist/chunk-KC32AHUO.mjs +2 -0
  272. package/dist/chunk-KDDZXXME.mjs +2 -0
  273. package/dist/chunk-KIY53LYE.mjs +2 -0
  274. package/dist/chunk-KJHGNDAM.mjs +2 -0
  275. package/dist/chunk-KKCRR74D.mjs +2 -0
  276. package/dist/chunk-KMFVXPPQ.mjs +6 -0
  277. package/dist/chunk-KMXD2D5U.mjs +2 -0
  278. package/dist/chunk-KO3KMZH7.mjs +2 -0
  279. package/dist/chunk-KQADMCRQ.mjs +2 -0
  280. package/dist/chunk-KRBHXS5G.mjs +2 -0
  281. package/dist/chunk-KUIBLYAD.mjs +2 -0
  282. package/dist/chunk-KXPRYJNR.mjs +2 -0
  283. package/dist/chunk-L23D3CAD.mjs +2 -0
  284. package/dist/chunk-L4AE7TFU.mjs +2 -0
  285. package/dist/chunk-L65SJHA2.mjs +2 -0
  286. package/dist/chunk-L6EJFT7W.mjs +2 -0
  287. package/dist/chunk-LBSQCMXE.mjs +2 -0
  288. package/dist/chunk-LFU5IYP6.mjs +2 -0
  289. package/dist/chunk-LIVP35CX.mjs +2 -0
  290. package/dist/chunk-LJH26UHW.mjs +2 -0
  291. package/dist/chunk-LJTB5EF4.mjs +2 -0
  292. package/dist/chunk-LK5Q7QNP.mjs +2 -0
  293. package/dist/chunk-LOBQM5QI.mjs +2 -0
  294. package/dist/chunk-LPHN7MVK.mjs +2 -0
  295. package/dist/chunk-LPTO6COC.mjs +2 -0
  296. package/dist/chunk-LQ4JPHD6.mjs +2 -0
  297. package/dist/chunk-LRX2V7TI.mjs +2 -0
  298. package/dist/chunk-LWXZH564.mjs +2 -0
  299. package/dist/chunk-LX5FC7F7.mjs +2 -0
  300. package/dist/chunk-LX6GYIQF.mjs +2 -0
  301. package/dist/chunk-LX6ZF63Y.mjs +2 -0
  302. package/dist/chunk-LY23PAB3.mjs +42 -0
  303. package/dist/chunk-M2YCPNZV.mjs +2 -0
  304. package/dist/chunk-MBMS57ZK.mjs +6 -0
  305. package/dist/chunk-MHOSMHS3.mjs +2 -0
  306. package/dist/chunk-MIMRAWCH.mjs +2 -0
  307. package/dist/chunk-MIQ7OWKA.mjs +2 -0
  308. package/dist/chunk-MMD6FOBN.mjs +2 -0
  309. package/dist/chunk-MMNY4KFD.mjs +2 -0
  310. package/dist/chunk-MNSQ7IOM.mjs +2 -0
  311. package/dist/chunk-MOKXJZVM.mjs +2 -0
  312. package/dist/chunk-MOYK3USR.mjs +2 -0
  313. package/dist/chunk-MPKGQ36Z.mjs +2 -0
  314. package/dist/chunk-MPMATF65.mjs +2 -0
  315. package/dist/chunk-MQLIDFV4.mjs +2 -0
  316. package/dist/chunk-MQW47S7J.mjs +2 -0
  317. package/dist/chunk-MRGRUACX.mjs +2 -0
  318. package/dist/chunk-MRKJ7JIQ.mjs +2 -0
  319. package/dist/chunk-MSKIXPNB.mjs +2 -0
  320. package/dist/chunk-MTVIRL4R.mjs +2 -0
  321. package/dist/chunk-MWYNP3VE.mjs +2 -0
  322. package/dist/chunk-N26OFWOY.mjs +2 -0
  323. package/dist/chunk-N2BMGLNP.mjs +2 -0
  324. package/dist/chunk-N5AXGBRH.mjs +2 -0
  325. package/dist/chunk-NDJTCVO7.mjs +6 -0
  326. package/dist/chunk-NEYVDPRJ.mjs +2 -0
  327. package/dist/chunk-NI6SKIGX.mjs +2 -0
  328. package/dist/chunk-NL52NSEB.mjs +2 -0
  329. package/dist/chunk-NMJ46UGU.mjs +2 -0
  330. package/dist/chunk-NPA4J6BW.mjs +2 -0
  331. package/dist/chunk-NSM4KZLT.mjs +2 -0
  332. package/dist/chunk-NT3FK2JD.mjs +2 -0
  333. package/dist/chunk-NUU735GW.mjs +2 -0
  334. package/dist/chunk-NWPFM45T.mjs +2 -0
  335. package/dist/chunk-NXERNQ2Z.mjs +2 -0
  336. package/dist/chunk-NXFUIA3P.mjs +2 -0
  337. package/dist/chunk-NZP4GB7A.mjs +2 -0
  338. package/dist/chunk-NZZ24BWG.mjs +2 -0
  339. package/dist/chunk-O2J4RDZE.mjs +2 -0
  340. package/dist/chunk-O4U45X6I.mjs +42 -0
  341. package/dist/chunk-O5AQV4UM.mjs +2 -0
  342. package/dist/chunk-O5QVAXKV.mjs +2 -0
  343. package/dist/chunk-O7ME7FDJ.mjs +2 -0
  344. package/dist/chunk-OA45J5IJ.mjs +2 -0
  345. package/dist/chunk-OAFGXAJR.mjs +2 -0
  346. package/dist/chunk-OAR3DH2V.mjs +2 -0
  347. package/dist/chunk-OBHRIPYE.mjs +2 -0
  348. package/dist/chunk-OD3OJQED.mjs +2 -0
  349. package/dist/chunk-OFCZDOES.mjs +2 -0
  350. package/dist/chunk-OFED4BPZ.mjs +2 -0
  351. package/dist/chunk-OFH4L5VB.mjs +2 -0
  352. package/dist/chunk-OGDJPWCE.mjs +2 -0
  353. package/dist/chunk-OKCFJH63.mjs +2 -0
  354. package/dist/chunk-OLEEOQIL.mjs +2 -0
  355. package/dist/chunk-OLIDMS6N.mjs +2 -0
  356. package/dist/chunk-OM3HXVEY.mjs +2 -0
  357. package/dist/chunk-OQA4J2OA.mjs +2 -0
  358. package/dist/chunk-OT54VY2T.mjs +2 -0
  359. package/dist/chunk-OTJXK6OZ.mjs +2 -0
  360. package/dist/chunk-OUMYFZQV.mjs +6 -0
  361. package/dist/chunk-OZFASLPY.mjs +2 -0
  362. package/dist/chunk-P4MB7JLY.mjs +2 -0
  363. package/dist/chunk-P74QJJAP.mjs +2 -0
  364. package/dist/chunk-PA3Q43MW.mjs +2 -0
  365. package/dist/chunk-PB2QUOBL.mjs +2 -0
  366. package/dist/chunk-PDKOPX6C.mjs +2 -0
  367. package/dist/chunk-PLDSN3O5.mjs +2 -0
  368. package/dist/chunk-PPSQV5DN.mjs +2 -0
  369. package/dist/chunk-Q2ME6JZM.mjs +2 -0
  370. package/dist/chunk-Q3SGECW5.mjs +2 -0
  371. package/dist/chunk-Q5QTNVPY.mjs +6 -0
  372. package/dist/chunk-Q6LB234W.mjs +2 -0
  373. package/dist/chunk-Q6OZDKO4.mjs +2 -0
  374. package/dist/chunk-QC5LOJNW.mjs +2 -0
  375. package/dist/chunk-QFC7W4UO.mjs +2 -0
  376. package/dist/chunk-QGSPNYCC.mjs +2 -0
  377. package/dist/chunk-QIWQ2GZB.mjs +42 -0
  378. package/dist/chunk-QJGBLFOQ.mjs +2 -0
  379. package/dist/chunk-QJUQTRIR.mjs +2 -0
  380. package/dist/chunk-QN36V5W5.mjs +2 -0
  381. package/dist/chunk-QRCLHF3T.mjs +2 -0
  382. package/dist/chunk-QRR6BOO3.mjs +2 -0
  383. package/dist/chunk-QRVWOOH6.mjs +2 -0
  384. package/dist/chunk-QSKR4KTS.mjs +2 -0
  385. package/dist/chunk-QSXL2BV6.mjs +2 -0
  386. package/dist/chunk-QSXXRNNP.mjs +2 -0
  387. package/dist/chunk-QXUTC5TR.mjs +2 -0
  388. package/dist/chunk-R34DA4U7.mjs +2 -0
  389. package/dist/chunk-R7IVIZFR.mjs +2 -0
  390. package/dist/chunk-R7YZWDX5.mjs +2 -0
  391. package/dist/chunk-RFIQJ2CN.mjs +2 -0
  392. package/dist/chunk-RGL7ODCM.mjs +2 -0
  393. package/dist/chunk-RHPO32CZ.mjs +2 -0
  394. package/dist/chunk-RIBS4LMA.mjs +6 -0
  395. package/dist/chunk-RIC7LZV2.mjs +2 -0
  396. package/dist/chunk-RITMH2KH.mjs +6 -0
  397. package/dist/chunk-RKWQQPTZ.mjs +2 -0
  398. package/dist/chunk-RM5F2PTL.mjs +2 -0
  399. package/dist/chunk-RTNOR7FG.mjs +2 -0
  400. package/dist/chunk-RVKV233H.mjs +2 -0
  401. package/dist/chunk-RXCJZ4EY.mjs +2 -0
  402. package/dist/chunk-RXTKZ5EU.mjs +2 -0
  403. package/dist/chunk-RXVVZPTG.mjs +2 -0
  404. package/dist/chunk-S3JLR24B.mjs +6 -0
  405. package/dist/chunk-S6TYCAKW.mjs +2 -0
  406. package/dist/chunk-S7SLPJUD.mjs +2 -0
  407. package/dist/chunk-SBD7QUFN.mjs +2 -0
  408. package/dist/chunk-SGR3AU5Y.mjs +2 -0
  409. package/dist/chunk-SIFCGI3S.mjs +2 -0
  410. package/dist/chunk-SJNNS5KO.mjs +2 -0
  411. package/dist/chunk-SKQA4XRH.mjs +2 -0
  412. package/dist/chunk-SKQMCKUT.mjs +2 -0
  413. package/dist/chunk-SLTX6CSR.mjs +2 -0
  414. package/dist/chunk-SM2N4NMR.mjs +2 -0
  415. package/dist/chunk-SMEDVMEH.mjs +2 -0
  416. package/dist/chunk-SOXECBQH.mjs +2 -0
  417. package/dist/chunk-SPRIK5WK.mjs +2 -0
  418. package/dist/chunk-SRLHTWK2.mjs +2 -0
  419. package/dist/chunk-SSBYUZKQ.mjs +2 -0
  420. package/dist/chunk-STMUD6H7.mjs +2 -0
  421. package/dist/chunk-SXEVTI5V.mjs +2 -0
  422. package/dist/chunk-SXSFQQ5G.mjs +2 -0
  423. package/dist/chunk-SYSDPAII.mjs +2 -0
  424. package/dist/chunk-SZYGCVGM.mjs +2 -0
  425. package/dist/chunk-T2NOWDAS.mjs +2 -0
  426. package/dist/chunk-T474MPQ6.mjs +2 -0
  427. package/dist/chunk-T4H5YFJL.mjs +2 -0
  428. package/dist/chunk-T56KYMRD.mjs +2 -0
  429. package/dist/chunk-T6MIDJ53.mjs +2 -0
  430. package/dist/chunk-TB6CB4YG.mjs +2 -0
  431. package/dist/chunk-TGD7DV3I.mjs +2 -0
  432. package/dist/chunk-TJDCIXGN.mjs +2 -0
  433. package/dist/chunk-TKPFM3JJ.mjs +2 -0
  434. package/dist/chunk-TMGWT5QJ.mjs +2 -0
  435. package/dist/chunk-TN7ZOQLF.mjs +2 -0
  436. package/dist/chunk-TPIWQVXO.mjs +2 -0
  437. package/dist/chunk-TRJOOFWN.mjs +2 -0
  438. package/dist/chunk-TT4Q3HA6.mjs +2 -0
  439. package/dist/chunk-TW4X3ZZW.mjs +2 -0
  440. package/dist/chunk-TWNYZYFS.mjs +2 -0
  441. package/dist/chunk-TZXBRVQB.mjs +2 -0
  442. package/dist/chunk-U677L7RN.mjs +2 -0
  443. package/dist/chunk-UGRWYMVU.mjs +2 -0
  444. package/dist/chunk-ULBOF2RM.mjs +2 -0
  445. package/dist/chunk-UNWQ2GDL.mjs +2 -0
  446. package/dist/chunk-UOEMAF5V.mjs +6 -0
  447. package/dist/chunk-UUJAPLJI.mjs +2 -0
  448. package/dist/chunk-UURJTIAG.mjs +2 -0
  449. package/dist/chunk-UWUGXKFT.mjs +2 -0
  450. package/dist/chunk-UXPFMQUP.mjs +2 -0
  451. package/dist/chunk-V42NCUDI.mjs +2 -0
  452. package/dist/chunk-VABJGP2A.mjs +2 -0
  453. package/dist/chunk-VBOCSI6C.mjs +2 -0
  454. package/dist/chunk-VC7BKJ4J.mjs +2 -0
  455. package/dist/chunk-VCWE4VHM.mjs +2 -0
  456. package/dist/chunk-VIAHXBAZ.mjs +2 -0
  457. package/dist/chunk-VIHCEQ35.mjs +2 -0
  458. package/dist/chunk-VJK3UDBP.mjs +2 -0
  459. package/dist/chunk-VMROV6KL.mjs +2 -0
  460. package/dist/chunk-VP5BOOFR.mjs +2 -0
  461. package/dist/chunk-VPZHMZWI.mjs +2 -0
  462. package/dist/chunk-VQPPIDK5.mjs +2 -0
  463. package/dist/chunk-VR523AKG.mjs +6 -0
  464. package/dist/chunk-VR6AMEJG.mjs +2 -0
  465. package/dist/chunk-VRJGODGN.mjs +2 -0
  466. package/dist/chunk-VTYYTF6B.mjs +2 -0
  467. package/dist/chunk-VUHK6PSF.mjs +2 -0
  468. package/dist/chunk-VV4QAFJO.mjs +2 -0
  469. package/dist/chunk-VVYINH53.mjs +2 -0
  470. package/dist/chunk-VWCRPZ6R.mjs +2 -0
  471. package/dist/chunk-W364H3FK.mjs +2 -0
  472. package/dist/chunk-W7MKCQML.mjs +2 -0
  473. package/dist/chunk-WA2SBQQN.mjs +2 -0
  474. package/dist/chunk-WCOEAWY3.mjs +2 -0
  475. package/dist/chunk-WHHAYBLN.mjs +2 -0
  476. package/dist/chunk-WN4QNRTA.mjs +2 -0
  477. package/dist/chunk-WODB4S73.mjs +2 -0
  478. package/dist/chunk-WOYEGCG5.mjs +2 -0
  479. package/dist/chunk-WPUW5C2X.mjs +2 -0
  480. package/dist/chunk-WSVFU347.mjs +2 -0
  481. package/dist/chunk-WTAGSMEQ.mjs +2 -0
  482. package/dist/chunk-WZ3D2P2L.mjs +2 -0
  483. package/dist/chunk-X33XKELU.mjs +2 -0
  484. package/dist/chunk-XB2SXI54.mjs +2 -0
  485. package/dist/chunk-XBAJM6LX.mjs +2 -0
  486. package/dist/chunk-XC3OGC6T.mjs +2 -0
  487. package/dist/chunk-XEBNXIVB.mjs +2 -0
  488. package/dist/chunk-XEMIUF7G.mjs +2 -0
  489. package/dist/chunk-XET57POI.mjs +2 -0
  490. package/dist/chunk-XGKQSPMT.mjs +2 -0
  491. package/dist/chunk-XHZDYDGA.mjs +2 -0
  492. package/dist/chunk-XJFFCJ4F.mjs +2 -0
  493. package/dist/chunk-XLUQRBXG.mjs +2 -0
  494. package/dist/chunk-XLYULPKE.mjs +42 -0
  495. package/dist/chunk-XOQYO3MD.mjs +2 -0
  496. package/dist/chunk-XSKSEXUS.mjs +2 -0
  497. package/dist/chunk-XSSTUAYF.mjs +2 -0
  498. package/dist/chunk-XTVSACXI.mjs +2 -0
  499. package/dist/chunk-XWJQPRZX.mjs +2 -0
  500. package/dist/chunk-XZ5NAQPG.mjs +2 -0
  501. package/dist/chunk-Y4SVPQBG.mjs +2 -0
  502. package/dist/chunk-Y6WIJ2QS.mjs +2 -0
  503. package/dist/chunk-YGFNA6GS.mjs +6 -0
  504. package/dist/chunk-YIMAVU5A.mjs +2 -0
  505. package/dist/chunk-YIOZBFRA.mjs +2 -0
  506. package/dist/chunk-YLSN2LF6.mjs +2 -0
  507. package/dist/chunk-YLXUKBAI.mjs +2 -0
  508. package/dist/chunk-YM32AZQI.mjs +2 -0
  509. package/dist/chunk-YMK4KMHG.mjs +6 -0
  510. package/dist/chunk-YPFLCYTU.mjs +2 -0
  511. package/dist/chunk-YQCS3KN5.mjs +2 -0
  512. package/dist/chunk-YREE6BEX.mjs +2 -0
  513. package/dist/chunk-YSTJ6GOV.mjs +6 -0
  514. package/dist/chunk-YTEMADT6.mjs +6 -0
  515. package/dist/chunk-YV55HH74.mjs +2 -0
  516. package/dist/chunk-YVX42D3Z.mjs +2 -0
  517. package/dist/chunk-Z45IQA7Z.mjs +2 -0
  518. package/dist/chunk-Z64XUHAW.mjs +2 -0
  519. package/dist/chunk-Z677VHF3.mjs +2 -0
  520. package/dist/chunk-Z7KAEZ4K.mjs +2 -0
  521. package/dist/chunk-ZCBQFOWD.mjs +2 -0
  522. package/dist/chunk-ZDDSDMS3.mjs +2 -0
  523. package/dist/chunk-ZE5ZODS7.mjs +2 -0
  524. package/dist/chunk-ZGBEFTKI.mjs +2 -0
  525. package/dist/chunk-ZGZ2TWEG.mjs +2 -0
  526. package/dist/chunk-ZJCUSBI5.mjs +2 -0
  527. package/dist/chunk-ZNS6UXYD.mjs +2 -0
  528. package/dist/chunk-ZPLAPR3N.mjs +2 -0
  529. package/dist/chunk-ZPNRC6LX.mjs +2 -0
  530. package/dist/chunk-ZRP2UI3U.mjs +2 -0
  531. package/dist/chunk-ZVJYHA3H.mjs +2 -0
  532. package/dist/chunk-ZWRU6TJF.mjs +2 -0
  533. package/dist/chunk-ZXIYIM5M.mjs +2 -0
  534. package/dist/combobox/index.mjs +1 -1
  535. package/dist/composite-logo.mjs +1 -1
  536. package/dist/copy-button.mjs +1 -1
  537. package/dist/copy-text.mjs +1 -1
  538. package/dist/counting-numbers.mjs +1 -1
  539. package/dist/date-picker/calendar.mjs +1 -1
  540. package/dist/date-picker/date-range-picker.mjs +1 -1
  541. package/dist/date-picker/presets.mjs +1 -1
  542. package/dist/date-picker/trigger.mjs +1 -1
  543. package/dist/file-upload.mjs +1 -1
  544. package/dist/filter/filter-list.mjs +1 -1
  545. package/dist/filter/filter-select.mjs +1 -1
  546. package/dist/footer.mjs +1 -1
  547. package/dist/form.mjs +1 -1
  548. package/dist/grid.mjs +1 -1
  549. package/dist/hooks/use-copy-to-clipboard.d.ts +3 -0
  550. package/dist/hooks/use-copy-to-clipboard.mjs +2 -0
  551. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  552. package/dist/icons/continents/index.mjs +1 -1
  553. package/dist/icons/default-domains/amazon.mjs +1 -1
  554. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  555. package/dist/icons/default-domains/figma.mjs +1 -1
  556. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  557. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  558. package/dist/icons/default-domains/spotify.mjs +1 -1
  559. package/dist/icons/expanding-arrow.mjs +1 -1
  560. package/dist/icons/index.mjs +1 -1
  561. package/dist/icons/linkedin.mjs +1 -1
  562. package/dist/icons/loading-circle.mjs +1 -1
  563. package/dist/icons/loading-spinner.mjs +1 -1
  564. package/dist/icons/sort-order.mjs +1 -1
  565. package/dist/icons/twitter.mjs +1 -1
  566. package/dist/icons/youtube.mjs +1 -1
  567. package/dist/index.css +1 -1
  568. package/dist/index.d.ts +11 -2
  569. package/dist/index.mjs +1 -1
  570. package/dist/input-select.mjs +1 -1
  571. package/dist/input.mjs +1 -1
  572. package/dist/label.mjs +1 -1
  573. package/dist/link-logo.mjs +1 -1
  574. package/dist/link-preview.mjs +1 -1
  575. package/dist/logo.mjs +1 -1
  576. package/dist/max-width-wrapper.mjs +1 -1
  577. package/dist/modal.mjs +1 -1
  578. package/dist/nav/content/product-content.mjs +1 -1
  579. package/dist/nav/content/resources-content.mjs +1 -1
  580. package/dist/nav/content/shared.mjs +1 -1
  581. package/dist/nav/content/solutions-content.mjs +1 -1
  582. package/dist/nav/nav-mobile.mjs +1 -1
  583. package/dist/nav/nav.mjs +1 -1
  584. package/dist/nav-logo.d.ts +2 -2
  585. package/dist/nav-logo.mjs +1 -1
  586. package/dist/nav-wordmark.d.ts +13 -0
  587. package/dist/nav-wordmark.mjs +2 -0
  588. package/dist/popover.mjs +1 -1
  589. package/dist/progress-bar.mjs +1 -1
  590. package/dist/radio-group.mjs +1 -1
  591. package/dist/sheet.mjs +1 -1
  592. package/dist/shimmer-dots.mjs +1 -1
  593. package/dist/status-badge.mjs +1 -1
  594. package/dist/switch.mjs +1 -1
  595. package/dist/tab-select.mjs +1 -1
  596. package/dist/table/table.mjs +1 -1
  597. package/dist/toggle-group.mjs +1 -1
  598. package/dist/tooltip.mjs +1 -1
  599. package/dist/utm-builder.mjs +1 -1
  600. package/dist/wordmark.mjs +1 -1
  601. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as Z}from"./chunk-OD3OJQED.mjs";import{a as B}from"./chunk-GVBIGY6N.mjs";import{a as j}from"./chunk-NWME2ANF.mjs";import{a as F}from"./chunk-FPBDCOSU.mjs";import{k as U}from"./chunk-GWQOCJ4B.mjs";import{a as Q}from"./chunk-WMTXO7RT.mjs";import{a as $}from"./chunk-JW75YDRU.mjs";import{a as V}from"./chunk-JOLDVN3E.mjs";import{a as K}from"./chunk-IHTRL6TU.mjs";import{a as P}from"./chunk-J5A5ZRH5.mjs";import{j as i}from"./chunk-PA3Q43MW.mjs";import{Command as h,CommandInput as ie,CommandItem as ce,useCommandState as me}from"cmdk";import{ChevronDown as de}from"lucide-react";import{forwardRef as pe,isValidElement as ue,useCallback as fe,useEffect as v,useRef as xe,useState as f}from"react";import{Fragment as I,jsx as e,jsxs as c}from"react/jsx-runtime";function ge(s,o){return s===!0}function De({multiple:s,selected:o,setSelected:l,options:a,icon:d,placeholder:y="Select...",searchPlaceholder:G="Search...",emptyState:x,createLabel:N,onCreate:g,buttonProps:m,shortcutHint:z,caret:J,side:X,open:Y,onOpenChange:_,onSearchChange:C,shouldFilter:R=!0,inputClassName:ee,optionRight:w,optionClassName:E,matchTriggerWidth:L,children:te}){let D=ge(s,l),n=Array.isArray(o)?o:o?[o]:[],{isMobile:se}=j(),[oe,ae]=f(!1),O=Y??oe,b=_??ae,[r,k]=f(""),[W,M]=f(!1),[S,ne]=f(void 0),[re,A]=f(!1),le=t=>{var p;if(D){let T=n.some(({value:u})=>u===t.value);l(T?n.filter(({value:u})=>u!==t.value):[...n,t])}else l(n.length&&((p=n[0])==null?void 0:p.value)===t.value?null:t),b(!1)},H=fe((t,p)=>p===""?[...n,...t.filter(T=>n.findIndex(u=>u.value===T.value)===-1)]:t,[n]);return v(()=>{W&&(ne(a&&H(a,r)),M(!1))},[W,a,H,r]),v(()=>{M(!0)},[a]),v(()=>{O||(k(""),M(!0))},[O]),v(()=>C==null?void 0:C(r),[r]),e(Z,{openPopover:O,setOpenPopover:b,align:"start",side:X,onWheel:t=>{t.stopPropagation()},popoverContentClassName:i(L&&"sm:w-[var(--radix-popover-trigger-width)]"),content:e(F,{width:!se&&!L,height:!0,style:{transform:"translateZ(0)"},transition:{ease:"easeInOut",duration:.1},children:c(h,{loop:!0,shouldFilter:R,children:[c("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[e(ie,{placeholder:G,value:r,onValueChange:k,className:i("grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",ee),onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!r)&&(t.preventDefault(),t.stopPropagation(),b(!1))}}),z&&e("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:z})]}),e(be,{children:e(h.List,{className:i("flex w-full min-w-[100px] flex-col gap-1 p-1"),children:S!==void 0?c(I,{children:[S.map(t=>e(ve,{option:t,multiple:D,selected:n.some(({value:p})=>p===t.value),onSelect:()=>le(t),right:w==null?void 0:w(t),className:E},`${t.label}, ${t.value}`)),r.length>0&&g&&c(ce,{className:i("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm text-gray-700","data-[selected=true]:bg-gray-100",E),onSelect:async()=>{A(!0),await(g==null?void 0:g(r))&&(k(""),b(!1)),A(!1)},children:[re?e(P,{className:"size-4 shrink-0"}):e(Q,{className:"size-4 shrink-0"}),e("div",{className:"grow truncate",children:(N==null?void 0:N(r))||`Create "${r}"`})]}),R?e(he,{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):S.length===0?e("div",{className:"flex min-h-12 items-center justify-center text-sm text-gray-500",children:x||"No matches"}):null]}):e(h.Loading,{children:e("div",{className:"flex h-12 items-center justify-center",children:e(P,{})})})})})]})}),children:e(U,{variant:"secondary",...m,className:i(m==null?void 0:m.className,"flex gap-2"),textWrapperClassName:i(m==null?void 0:m.textWrapperClassName,"w-full flex items-center justify-start"),text:c(I,{children:[e("div",{className:"min-w-0 grow truncate text-left",children:te||n.map(t=>t.label).join(", ")||y}),J&&e(de,{className:"ml-1 size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}),icon:d?q(d)?d:e(d,{className:"size-4 shrink-0"}):void 0})})}var be=({children:s})=>{let o=xe(null),{scrollProgress:l,updateScrollProgress:a}=B(o);return c(I,{children:[e("div",{className:"scrollbar-hide max-h-[min(50vh,250px)] w-screen overflow-y-scroll sm:w-auto",ref:o,onScroll:a,children:s}),e("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full rounded-b-lg bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})};function ve({option:s,onSelect:o,multiple:l,selected:a,right:d,className:y}){return c(h.Item,{className:i("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",y),onSelect:o,value:s.label+(s==null?void 0:s.value),children:[l&&e("div",{className:"shrink-0 text-gray-600",children:a?e(V,{className:"size-4 text-gray-600"}):e(K,{className:"size-4 text-gray-400"})}),c("div",{className:"flex min-w-0 grow items-center gap-1",children:[s.icon&&e("span",{className:"shrink-0 text-gray-600",children:q(s.icon)?s.icon:e(s.icon,{className:"h-4 w-4"})}),e("span",{className:"grow truncate",children:s.label})]}),d,!l&&a&&e($,{className:"size-4 shrink-0 text-gray-600"})]})}var q=s=>ue(s),he=pe((s,o)=>me(a=>a.filtered.count===0)?e("div",{ref:o,"cmdk-empty":"",role:"presentation",...s}):null);export{De as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as k}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.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 f}from"./chunk-BOCPUR5Z.mjs";import{a as g}from"./chunk-SBK5CRMY.mjs";import{a as u}from"./chunk-JBURS7BX.mjs";import{a as d}from"./chunk-DWACNU5E.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 h}from"./chunk-HYPLE4VW.mjs";import{a as i}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as r}from"./chunk-PRJVDP45.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 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 e}from"./chunk-ASW4CA57.mjs";import{jsx as t}from"react/jsx-runtime";function o({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((n,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as u}from"./chunk-ASW4CA57.mjs";import{addYears as P,format as O,isSameMonth as K}from"date-fns";import{ChevronLeft as k,ChevronRight as C,ChevronsLeft as S,ChevronsRight as H}from"lucide-react";import{forwardRef as E,useRef as G}from"react";import{DayPicker as I,useDayPicker as j,useDayRender as Y,useNavigation as A}from"react-day-picker";import{Fragment as z,jsx as e,jsxs as T}from"react/jsx-runtime";var c=E(({onClick:w,icon:N,disabled:m,...y},i)=>e("button",{ref:i,type:"button",disabled:m,className:u("flex h-7 w-7 shrink-0 select-none items-center justify-center rounded border p-1 outline-none transition","border-gray-200 text-gray-600 hover:text-gray-800","hover:bg-gray-50 active:bg-gray-100","disabled:pointer-events-none disabled:text-gray-400"),onClick:w,...y,children:e(N,{className:"h-full w-full shrink-0"})}));c.displayName="NavigationButton";function X({mode:w="single",weekStartsOn:N=1,numberOfMonths:m=1,showYearNavigation:y=!1,disableNavigation:i,locale:M,className:L,classNames:D,...R}){return e(I,{mode:w,weekStartsOn:N,numberOfMonths:m,locale:M,showOutsideDays:m===1,className:L,classNames:{months:"flex space-y-0",month:"space-y-4 p-3 w-full",nav:"gap-1 flex items-center rounded-full w-full h-full justify-between p-4",table:"w-full border-separate border-spacing-y-1",head_cell:"w-9 font-medium text-xs text-center text-gray-400 pb-2",row:"w-full",cell:"relative p-0 text-center focus-within:relative text-gray-900",day:u("relative h-10 w-full sm:h-9 sm:w-9 rounded-md text-sm text-gray-900","hover:bg-gray-100 active:bg-gray-200 outline outline-offset-2 outline-0 focus-visible:outline-2 outline-blue-500"),day_today:"font-semibold",day_selected:"rounded aria-selected:bg-blue-500 aria-selected:text-white",day_disabled:"!text-gray-300 line-through disabled:hover:bg-transparent",day_outside:"text-gray-400",day_range_middle:"!rounded-none aria-selected:!bg-blue-100 aria-selected:!text-blue-900",day_range_start:"rounded-r-none !rounded-l",day_range_end:"rounded-l-none !rounded-r",day_hidden:"invisible",...D},components:{IconLeft:()=>e(k,{className:"h-4 w-4"}),IconRight:()=>e(C,{className:"h-4 w-4"}),Caption:({...p})=>{let{goToMonth:r,nextMonth:t,previousMonth:n,currentMonth:s,displayMonths:d}=A(),{numberOfMonths:g,fromDate:l,toDate:o}=j(),b=d.findIndex(a=>K(p.displayMonth,a)),f=b===0,h=b===d.length-1,v=g>1&&(f||!h),x=g>1&&(h||!f),_=()=>{let a=P(s,-1);n&&(!l||a.getTime()>=l.getTime())&&r(a)},B=()=>{let a=P(s,1);t&&(!o||a.getTime()<=o.getTime())&&r(a)};return T("div",{className:"flex items-center justify-between",children:[T("div",{className:"flex items-center gap-1",children:[y&&!x&&e(c,{disabled:i||!n||l&&P(s,-1).getTime()<l.getTime(),"aria-label":"Go to previous year",onClick:_,icon:S}),!x&&e(c,{disabled:i||!n,"aria-label":"Go to previous month",onClick:()=>n&&r(n),icon:k})]}),e("div",{role:"presentation","aria-live":"polite",className:"text-sm font-medium capitalize tabular-nums text-gray-900",children:O(p.displayMonth,"LLLL yyy",{locale:M})}),T("div",{className:"flex items-center gap-1",children:[!v&&e(c,{disabled:i||!t,"aria-label":"Go to next month",onClick:()=>t&&r(t),icon:C}),y&&!v&&e(c,{disabled:i||!t||o&&P(s,1).getTime()>o.getTime(),"aria-label":"Go to next year",onClick:B,icon:H})]})]})},Day:({date:p,displayMonth:r})=>{let t=G(null),{activeModifiers:n,buttonProps:s,divProps:d,isButton:g,isHidden:l}=Y(p,r,t),{selected:o,today:b,disabled:f,range_middle:h}=n;if(l)return e(z,{});if(!g)return e("div",{...d,className:u("flex items-center justify-center",d.className)});let{children:v,...x}=s;return T("button",{ref:t,...x,type:"button",children:[v,b&&e("span",{className:u("absolute inset-x-1/2 bottom-1.5 h-0.5 w-4 -translate-x-1/2 rounded-[2px]",{"bg-blue-500":!o,"!bg-white":o,"!bg-blue-400":o&&h,"text-gray-400":f})})]})}},...R})}export{X as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-APRXCDHL.mjs";import{a as h}from"./chunk-MMNY4KFD.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-7OZYU3QM.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{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-PA3Q43MW.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{d as l,e as p}from"./chunk-DPUTFBDB.mjs";import{a as s,c as n}from"./chunk-YPFLCYTU.mjs";import{b as i,j as e}from"./chunk-KQADMCRQ.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{j as l}from"./chunk-5BX765AZ.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 n}from"./chunk-KQADMCRQ.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{j as t}from"./chunk-KQADMCRQ.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{d as l,e as p}from"./chunk-GG7CLVAD.mjs";import{a as s,c as n}from"./chunk-YPFLCYTU.mjs";import{b as i,j as e}from"./chunk-KQADMCRQ.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{j as i}from"./chunk-OTJXK6OZ.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{j as t}from"./chunk-KQADMCRQ.mjs";import{jsx as C,jsxs as a}from"react/jsx-runtime";function l({className:i}){return a("svg",{className:t("h-full w-full",i),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[C("circle",{cx:"111",cy:"111",r:"111",fill:"#0D1117"}),C("path",{d:"M111.001 44C72.8976 44 42 74.7556 42 112.696C42 143.048 61.7708 168.798 89.1868 177.882C92.6352 178.518 93.9013 176.392 93.9013 174.577C93.9013 172.939 93.8373 167.528 93.8076 161.787C74.6115 165.943 70.5609 153.682 70.5609 153.682C67.4222 145.742 62.8997 143.63 62.8997 143.63C56.6393 139.367 63.3716 139.454 63.3716 139.454C70.3004 139.939 73.9488 146.534 73.9488 146.534C80.103 157.036 90.0906 154 94.0281 152.244C94.6474 147.804 96.4356 144.774 98.4089 143.058C83.0829 141.321 66.972 135.431 66.972 109.108C66.972 101.608 69.6674 95.4801 74.0814 90.6693C73.3649 88.939 71.0031 81.952 74.7498 72.4896C74.7498 72.4896 80.544 70.6433 93.7299 79.5312C99.2339 78.0091 105.137 77.2458 111.001 77.2196C116.864 77.2458 122.772 78.0091 128.286 79.5312C141.456 70.6433 147.242 72.4896 147.242 72.4896C150.998 81.952 148.635 88.939 147.919 90.6693C152.343 95.4801 155.02 101.608 155.02 109.108C155.02 135.493 138.878 141.303 123.513 143.004C125.988 145.136 128.194 149.316 128.194 155.725C128.194 164.917 128.114 172.315 128.114 174.577C128.114 176.405 129.356 178.547 132.853 177.873C160.254 168.779 180 143.038 180 112.696C180 74.7556 149.107 44 111.001 44ZM67.843 141.859C67.691 142.201 67.1517 142.303 66.6603 142.069C66.1599 141.844 65.8788 141.379 66.041 141.037C66.1896 140.685 66.73 140.587 67.2294 140.823C67.731 141.047 68.0166 141.517 67.843 141.859ZM71.237 144.874C70.9079 145.178 70.2646 145.037 69.8282 144.557C69.3768 144.078 69.2923 143.438 69.6259 143.129C69.9653 142.826 70.5892 142.968 71.0416 143.447C71.493 143.931 71.5809 144.567 71.237 144.874ZM73.5655 148.732C73.1427 149.024 72.4514 148.75 72.0241 148.139C71.6013 147.529 71.6013 146.796 72.0332 146.502C72.4617 146.209 73.1427 146.473 73.5758 147.079C73.9974 147.7 73.9974 148.433 73.5655 148.732ZM77.5034 153.2C77.1252 153.615 76.3196 153.504 75.73 152.937C75.1267 152.383 74.9588 151.597 75.3381 151.182C75.7209 150.766 76.531 150.883 77.1252 151.445C77.7239 151.998 77.9067 152.789 77.5034 153.2ZM82.5928 154.708C82.4259 155.246 81.6501 155.491 80.8685 155.262C80.0881 155.027 79.5774 154.397 79.7351 153.853C79.8973 153.311 80.6766 153.056 81.4639 153.301C82.2431 153.535 82.755 154.161 82.5928 154.708ZM88.3847 155.348C88.4041 155.915 87.7414 156.384 86.921 156.395C86.096 156.413 85.4287 155.954 85.4196 155.397C85.4196 154.825 86.0674 154.359 86.8924 154.346C87.7128 154.33 88.3847 154.785 88.3847 155.348ZM94.0746 155.131C94.1729 155.684 93.6027 156.251 92.788 156.403C91.987 156.548 91.2455 156.207 91.1438 155.659C91.0444 155.092 91.6248 154.525 92.4247 154.378C93.2405 154.237 93.9706 154.569 94.0746 155.131Z",fill:"url(#paint0_radial_39_32)"}),C("defs",{children:a("radialGradient",{id:"paint0_radial_39_32",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(42 44) rotate(44.1575) scale(192.354 192.312)",children:[C("stop",{stopColor:"white",stopOpacity:"0.77"}),C("stop",{offset:"1",stopColor:"white",stopOpacity:"0.1"})]})})]})}export{l as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a}from"./chunk-AXZJPLZ2.mjs";import{a as n}from"./chunk-EHYVEIOL.mjs";import{a as r}from"./chunk-BKZ6TNZC.mjs";import{j as t}from"./chunk-7OZYU3QM.mjs";import{cva as d}from"class-variance-authority";import{toast as y}from"sonner";import{jsx as o,jsxs as b}from"react/jsx-runtime";var f=d("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 P({variant:s="default",value:i,className:e,icon:p,successMessage:c}){let[u,l]=a(),m=p||r;return b("button",{onClick:g=>{g.stopPropagation(),y.promise(l(i),{success:c||"Copied to clipboard!"})},className:t(f({variant:s}),e),type:"button",children:[o("span",{className:"sr-only",children:"Copy"}),u?o(n,{className:"h-3.5 w-3.5"}):o(m,{className:"h-3.5 w-3.5"})]})}export{P as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-26XCCUUB.mjs";import{a as v}from"./chunk-7PY5M5C6.mjs";import{a as N}from"./chunk-J2WWV5OI.mjs";import{a as x}from"./chunk-ZGBEFTKI.mjs";import{a as y}from"./chunk-KKCRR74D.mjs";import{a as b}from"./chunk-5JA2HYOQ.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-7OZYU3QM.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{a as k}from"./chunk-6JPO26GL.mjs";import{a as C}from"./chunk-32C65ISH.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 p}from"./chunk-3KFNNXJ6.mjs";import{a as c}from"./chunk-KDNSFAET.mjs";import{a as l}from"./chunk-2W2M7KTU.mjs";import{a as h}from"./chunk-HYPLE4VW.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 v}from"./chunk-OTJXK6OZ.mjs";import{jsx as h}from"react/jsx-runtime";function s({className:c}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",c),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as i}from"./chunk-PA3Q43MW.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{j as n}from"./chunk-ASW4CA57.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as m}from"./chunk-GWQOCJ4B.mjs";import{j as i}from"./chunk-PA3Q43MW.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-7OZYU3QM.mjs";import*as e from"@radix-ui/react-dialog";import{X as l}from"lucide-react";import*as s from"react";import{jsx as o,jsxs as n}from"react/jsx-runtime";var R=e.Root,y=e.Trigger,g=e.Close,c=e.Portal,h=s.forwardRef(({className:t,children:i,...r},m)=>o(c,{children:n(e.Content,{ref:m,className:a("fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm","data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",t),...r,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100",children:[o(l,{className:"size-4"}),o("span",{className:"sr-only",children:"Close"})]}),i]})}));h.displayName=e.Content.displayName;var p=({className:t,...i})=>o("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",t),...i});p.displayName="SheetHeader";var d=({className:t,...i})=>o("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});d.displayName="SheetFooter";var f=s.forwardRef(({className:t,...i},r)=>o(e.Title,{ref:r,className:a("text-foreground text-lg font-semibold",t),...i}));f.displayName=e.Title.displayName;var S=s.forwardRef(({className:t,...i},r)=>o(e.Description,{ref:r,className:a("text-muted-foreground text-sm",t),...i}));S.displayName=e.Description.displayName;export{R as a,y as b,g as c,c as d,h as e,p as f,d as g,f as h,S as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as t}from"./chunk-H5TWSNHJ.mjs";import{a as l}from"./chunk-QC6GZ7KR.mjs";import{j as m,o}from"./chunk-7OZYU3QM.mjs";import{jsx as s}from"react/jsx-runtime";function n({apexDomain:r,className:e,imageProps:a}){return r?s(t,{src:`${o}${r}`,alt:r,className:m("h-8 w-8 rounded-full sm:h-10 sm:w-10",e),width:20,height:20,draggable:!1,...a}):s("div",{className:m("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",e),children:s(l,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{n as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as s}from"./chunk-PA3Q43MW.mjs";import{Slot as R}from"@radix-ui/react-slot";import y,{useEffect as F,useState as V}from"react";import{jsxs as T}from"react/jsx-runtime";var E=y.forwardRef(({asChild:m,className:u,children:e,prefix:c,duration:t=250,as:i="span",variant:l="compact",...p},f)=>{let[n,N]=V(Number(e));return F(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let d=Number(e),o=n,b=d,C=performance.now(),r=()=>{let g=performance.now(),a=Math.min((g-C)/t,1),w=o+(b-o)*a;N(Math.round(w)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),T(m?R:i,{ref:f,className:u,...p,children:[c,s(n,l==="full"?{full:!0}:void 0)]})});E.displayName="CountingNumbers";export{E as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as m}from"./chunk-NWME2ANF.mjs";import{j as d}from"./chunk-OTJXK6OZ.mjs";import*as o from"@radix-ui/react-popover";import{Drawer as r}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function C({children:t,content:n,align:p="center",side:v="bottom",openPopover:a,setOpenPopover:l,mobileOnly:g,popoverContentClassName:c,collisionBoundary:P,sticky:b,onEscapeKeyDown:s,onWheel:f}){let{isMobile:h}=m();return g||h?i(r.Root,{open:a,onOpenChange:l,children:[e(r.Trigger,{className:"sm:hidden",asChild:!0,children:t}),i(r.Portal,{children:[e(r.Overlay,{className:"fixed inset-0 z-50 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(r.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",onEscapeKeyDown:s,children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:n})]}),e(r.Overlay,{})]})]}):i(o.Root,{open:a,onOpenChange:l,children:[e(o.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(o.Portal,{children:e(o.Content,{sideOffset:8,align:p,side:v,className:d("animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",c),sticky:b,collisionBoundary:P,onEscapeKeyDown:s,onWheel:f,children:n})})]})}export{C as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as n}from"./chunk-2QQZCDLG.mjs";import{j as i}from"./chunk-7OZYU3QM.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{j as n}from"./chunk-OTJXK6OZ.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as n}from"./chunk-VR6AMEJG.mjs";import{j as i}from"./chunk-ASW4CA57.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{a as t}from"./chunk-AXZJPLZ2.mjs";import{j as o}from"./chunk-7OZYU3QM.mjs";import{toast as a}from"sonner";import{jsx as d}from"react/jsx-runtime";function b({value:e,children:r,className:s,successMessage:c}){let[i,p]=t();return d("button",{onClick:n=>{n.stopPropagation(),a.promise(p(e),{success:c||"Copied to clipboard!"})},type:"button",className:o("cursor-copy text-sm text-gray-700 decoration-dotted hover:underline",i&&"cursor-default",s),children:r})}export{b as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as g}from"./chunk-SM2N4NMR.mjs";import{j as c}from"./chunk-ASW4CA57.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{c as C}from"./chunk-KO3KMZH7.mjs";import{a as U}from"./chunk-I73SBIBG.mjs";import{a as q}from"./chunk-BR2UQ2TG.mjs";import{a as I}from"./chunk-PLDSN3O5.mjs";import{a as H}from"./chunk-NZZ24BWG.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{j as T}from"./chunk-KQADMCRQ.mjs";import{enUS as Z}from"date-fns/locale";import{useEffect as N,useMemo as B,useState as S}from"react";import{format as M}from"date-fns";import{createContext as W}from"react";var A=W({isOpen:!1,setIsOpen:()=>{}}),X=()=>{let a=typeof window<"u"?window.navigator.language:"en-US",l=new Intl.DateTimeFormat(a,{hour:"numeric"}).format();return Number.isInteger(Number(l))},Y=(a,l,s=!1)=>{let i=!X(),e;return s?e=i?M(a,"d MMM, yyyy h:mm a",{locale:l}):M(a,"d MMM, yyyy HH:mm",{locale:l}):e=M(a,"d MMM, yyyy",{locale:l}),e},L=(a,l)=>{let{toYear:s,fromYear:i,fromMonth:e,toMonth:h,fromDay:y,toDay:P}=l;if(a&&a.length>0){let v=i,u=s;a.forEach(t=>{var R,$,x,g,E,D;if("date"in t){let d=t.date.getFullYear();if(i&&d<i)throw new Error(`Preset ${t.label} is before fromYear ${v}.`);if(s&&d>s)throw new Error(`Preset ${t.label} is after toYear ${u}.`);if(e&&t.date.getMonth()<e.getMonth())throw new Error(`Preset ${t.label} is before fromMonth ${e}.`);if(h&&t.date.getMonth()>h.getMonth())throw new Error(`Preset ${t.label} is after toMonth ${h}.`);if(y&&t.date.getDate()<y.getDate())throw new Error(`Preset ${t.label} is before fromDay ${y}.`);if(P&&t.date.getDate()>P.getDate())throw new Error(`Preset ${t.label} is after toDay ${M(P,"MMM dd, yyyy")}.`)}if("dateRange"in t){let d=(R=t.dateRange.from)==null?void 0:R.getFullYear(),f=($=t.dateRange.to)==null?void 0:$.getFullYear();if(d&&i&&d<i)throw new Error(`Preset ${t.label}'s 'from' is before fromYear ${v}.`);if(f&&s&&f>s)throw new Error(`Preset ${t.label}'s 'to' is after toYear ${u}.`);if(e){let n=(x=t.dateRange.from)==null?void 0:x.getMonth();if(n&&n<e.getMonth())throw new Error(`Preset ${t.label}'s 'from' is before fromMonth ${M(e,"MMM, yyyy")}.`)}if(h){let n=(g=t.dateRange.to)==null?void 0:g.getMonth();if(n&&n>h.getMonth())throw new Error(`Preset ${t.label}'s 'to' is after toMonth ${M(h,"MMM, yyyy")}.`)}if(y){let n=(E=t.dateRange.from)==null?void 0:E.getDate();if(n&&n<y.getDate())throw new Error(`Preset ${t.dateRange.from}'s 'from' is before fromDay ${M(y,"MMM dd, yyyy")}.`)}if(P){let n=(D=t.dateRange.to)==null?void 0:D.getDate();if(n&&n>P.getDate())throw new Error(`Preset ${t.label}'s 'to' is after toDay ${M(P,"MMM dd, yyyy")}.`)}}})}};import{jsx as m,jsxs as j}from"react/jsx-runtime";var _=({value:a,defaultValue:l,presetId:s,onChange:i,presets:e,disabled:h,disableNavigation:y,disabledDays:P,showYearNavigation:v=!1,locale:u=Z,placeholder:t="Select date range",hasError:R,align:$="center",className:x,...g})=>{let{isDesktop:E}=F(),[D,d]=S(!1),[f,n]=S(e&&s?e==null?void 0:e.find(({id:r})=>r===s):void 0),[o,w]=S((f==null?void 0:f.dateRange)??a??l??void 0),[K,k]=S(o==null?void 0:o.to),Q=B(()=>o,[D]);N(()=>{w(a)},[a]),N(()=>{let r=e==null?void 0:e.find(({id:b})=>b===s);n(r),w((r==null?void 0:r.dateRange)??a??l)},[e,s]),N(()=>{D?o&&k(o.to):k(o==null?void 0:o.to)},[D]);let V=(r,b)=>{let c=(o==null?void 0:o.from)&&(o==null?void 0:o.to)?{from:b}:r;w(c),n(void 0),(c==null?void 0:c.from)&&(c==null?void 0:c.to)&&(i==null||i(c),d(!1))},O=r=>{w(r.dateRange),n(r),i==null||i(r.dateRange,r),d(!1)},z=()=>{w(Q),d(!1)},G=r=>{r||z(),d(r)},J=B(()=>o?`${o.from?Y(o.from,u):""} - ${o.to?Y(o.to,u):""}`:null,[o,u]);return C((e==null?void 0:e.filter(r=>r.shortcut).map(r=>r.shortcut))??[],r=>{let b=e==null?void 0:e.find(c=>c.shortcut===r.key);b&&O(b)}),m(A.Provider,{value:{isOpen:D,setIsOpen:d},children:m(H,{align:$,openPopover:D,setOpenPopover:G,popoverContentClassName:"rounded-xl",content:m("div",{className:"flex w-full",children:j("div",{className:"scrollbar-hide flex w-full flex-col overflow-x-scroll sm:flex-row-reverse sm:items-start",children:[e&&e.length>0&&m("div",{className:T("relative flex h-16 w-full items-center sm:h-full sm:w-48","border-b border-gray-200 sm:border-b-0 sm:border-l","scrollbar-hide overflow-auto"),children:m("div",{className:"absolute px-3 sm:inset-0 sm:left-0 sm:p-3",children:m(U,{currentValue:o,presets:e,onSelect:O})})}),m("div",{className:"scrollbar-hide overflow-x-scroll",children:m(I,{mode:"range",selected:o,onSelect:V,month:K,onMonthChange:k,numberOfMonths:E?2:1,disabled:P,disableNavigation:y,showYearNavigation:v,locale:u,className:"scrollbar-hide overflow-x-scroll",classNames:{months:"flex flex-row divide-x divide-gray-200 overflow-x-scroll scrollbar-hide"},...g})})]})}),children:m(q,{placeholder:t,disabled:h,className:x,hasError:R,"aria-required":g.required||g["aria-required"],"aria-invalid":g["aria-invalid"],"aria-label":g["aria-label"],"aria-labelledby":g["aria-labelledby"],children:(f==null?void 0:f.label)??J})})})};function he({presets:a,...l}){return a&&L(a,l),m(_,{presets:a,...l})}export{A as a,he as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-5BX765AZ.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{j as e}from"./chunk-OTJXK6OZ.mjs";import{jsx as t}from"react/jsx-runtime";function o({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((n,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-KQADMCRQ.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{e as _}from"./chunk-AJ3CS53R.mjs";import{a as v}from"./chunk-O43YWKJJ.mjs";import{a as N}from"./chunk-J2WWV5OI.mjs";import{a as y}from"./chunk-KKCRR74D.mjs";import{a as x}from"./chunk-ZGBEFTKI.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-5JA2HYOQ.mjs";import{b as o,i as d,j as n,l as g,m as p,n as h}from"./chunk-7OZYU3QM.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 a}from"./chunk-5BX765AZ.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-ASW4CA57.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{j as v}from"./chunk-ASW4CA57.mjs";import{jsx as h}from"react/jsx-runtime";function s({className:c}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",c),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as x}from"./chunk-Y4SVPQBG.mjs";import{a as f}from"./chunk-3WWXDKJ5.mjs";import{g as u,j as b}from"./chunk-OTJXK6OZ.mjs";import{AnimatePresence as C,motion as h}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as O,jsx as t,jsxs as i}from"react/jsx-runtime";function K({filters:p,activeFilters:a,onRemove:v,onRemoveAll:l,className:N}){return x("Escape",l,{priority:1}),t(f,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:i("div",{className:b("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap",N),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(C,{children:a==null?void 0:a.map(({key:n,value:s})=>{if(n==="loader")return t(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"},`loader-${s}`);let e=p.find(r=>r.key===n);if(!e)throw new Error("Filter.List received an activeFilter without a corresponding filter");return(e.multiple&&Array.isArray(s)?s:[s]).map(r=>{var c,y,g;let o=(c=e.options)==null?void 0:c.find(d=>typeof d.value=="string"&&typeof r=="string"?d.value.toLowerCase()===r.toLowerCase():d.value===r),m=(o==null?void 0:o.icon)??((y=e.getOptionIcon)==null?void 0:y.call(e,r,{key:e.key,option:o}))??e.icon,k=(o==null?void 0:o.label)??((g=e.getOptionLabel)==null?void 0:g.call(e,r,{key:e.key,option:o}))??r;return i(h.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black",children:[i("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:w(e.icon)?e.icon:t(e.icon,{className:"h-4 w-4"})}),e.label]}),t("div",{className:"px-3 py-2 text-gray-500",children:"is"}),t("div",{className:"flex items-center gap-2.5 px-3 py-2",children:e.options?i(O,{children:[t("span",{className:"shrink-0 text-gray-600",children:w(m)?m:t(m,{className:"h-4 w-4"})}),u(k,30)]}):t("div",{className:"h-5 w-12 animate-pulse rounded-md bg-gray-200"})}),t("button",{type:"button",className:"h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1",onClick:()=>v(n,r),children:t(L,{className:"h-3.5 w-3.5"})})]},n)})})})}),(a==null?void 0:a.length)!==0&&i("button",{type:"button",className:"group mt-px flex items-center gap-2 whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none",onClick:l,children:["Clear Filters",t("kbd",{className:"rounded-md border border-gray-200 px-1.5 py-0.5 text-xs text-gray-950 group-hover:bg-gray-50",children:"ESC"})]})]})})}var w=p=>A(p);export{K as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as p}from"./chunk-NWME2ANF.mjs";import{a as s}from"./chunk-HICYH6UT.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as g,e as f,i as b}from"./chunk-PA3Q43MW.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-KQADMCRQ.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{a as r}from"./chunk-7TBGFJM2.mjs";import{j as t}from"./chunk-PA3Q43MW.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,6 @@
1
+ "use client"
2
+ import{a as W}from"./chunk-4HUYN24V.mjs";import{a as T}from"./chunk-ZGZ2TWEG.mjs";import{a as L,e as S}from"./chunk-CQCAAKTW.mjs";import{a as H}from"./chunk-6OMTLIWF.mjs";import{a as w}from"./chunk-RFIQJ2CN.mjs";import{a as V}from"./chunk-NUU735GW.mjs";import{a as M}from"./chunk-AXZJPLZ2.mjs";import{k as _}from"./chunk-GWQOCJ4B.mjs";import{b as k,d as y,i as P,j as s}from"./chunk-PA3Q43MW.mjs";import*as r from"@radix-ui/react-navigation-menu";import{cva as K}from"class-variance-authority";import Q from"js-cookie";import h from"next/link";import{useParams as X,useSelectedLayoutSegment as tt}from"next/navigation";import{createContext as et}from"react";import ot from"swr";import{useCallback as B,useEffect as E,useState as O}from"react";function C(a){let[e,m]=O(!1),i=B(()=>{m(window.scrollY>a)},[a]);return E(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),E(()=>{i()},[i]),e}import*as d from"@radix-ui/react-popover";import{BoxSelect as A,Home as Z,LayoutGrid as G,Type as j}from"lucide-react";import{useParams as z}from"next/navigation";import{useCallback as U,useContext as $,useState as F}from"react";import{toast as Y}from"sonner";import{jsx as o,jsxs as R}from"react/jsx-runtime";var q=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,J=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;function D({variant:a="full",isInApp:e,className:m}){let{domain:i="dub.co"}=z(),{theme:g}=$(x),[b,p]=F(!1),f=U(n=>{n.preventDefault(),p(!0)},[]),[,c]=M();function l(n){Y.promise(c(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return R(d.Root,{open:b,onOpenChange:p,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:f,className:"max-w-fit",children:a==="full"?o(H,{className:m}):o(w,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5",!e&&"-translate-x-8",g==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),p(!1)},children:R("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(v,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>l(q),icon:o(w,{className:"h-4 w-4"})}),o(v,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>l(J),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}),o(v,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(A,{strokeWidth:2,className:"h-4 w-4"})}),e||i!="dub.co"?o(v,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(Z,{strokeWidth:2,className:"h-4 w-4"})}):o(v,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(G,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function v({className:a,...e}){return o(_,{className:s("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",a),...e})}import{Fragment as it,jsx as t,jsxs as u}from"react/jsx-runtime";var x=et({theme:"light"}),rt=[{name:"Product",content:W,childItems:L},{name:"Resources",content:T,childItems:S},{name:"Enterprise",href:"/enterprise"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"}],I=K(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Rt({theme:a="light"}){let{domain:e="dub.co"}=X(),m=C(80),i=C(40),g=tt(),{data:b,isLoading:p}=ot(e==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4}),f=!!(e==="dub.co"&&Q.get("dub_id"));return t(x.Provider,{value:{theme:a},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",a==="dark"&&"dark"),children:[t("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&"bg-white/75 backdrop-blur-md dark:bg-black/75")}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(h,{className:"grow basis-0",href:k("/home",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Logo"}),children:t(D,{})}),u(r.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(r.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 bg-white/75 drop-shadow-sm backdrop-blur-lg transition-all dark:border-white/10 dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),rt.map(({name:c,href:l,content:n})=>{let N=l===`/${g}`||l==="/"&&g===null;return u(r.Item,{children:[t(at,{trigger:!!n,children:l!==void 0?t(h,{id:`nav-${l}`,href:k(l,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:c}),className:I({isActive:N}),children:c}):t("button",{className:I({isActive:N}),children:c})}),n&&t(r.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:t(n,{domain:e})})]},c)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(r.Viewport,{className:s("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?t(h,{href:y,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):p?null:u(it,{children:[t(h,{href:f?"https://app.dub.co/login":"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(h,{href:f?"https://app.dub.co/register":"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function at({trigger:a,children:e}){return a?t(r.Trigger,{asChild:!0,children:e}):e}export{C as a,x as b,rt as c,Rt as d,D as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-OTJXK6OZ.mjs";import*as e from"@radix-ui/react-dialog";import{X as l}from"lucide-react";import*as s from"react";import{jsx as o,jsxs as n}from"react/jsx-runtime";var R=e.Root,y=e.Trigger,g=e.Close,c=e.Portal,h=s.forwardRef(({className:t,children:i,...r},m)=>o(c,{children:n(e.Content,{ref:m,className:a("fixed inset-y-0 right-0 z-50 h-full w-3/4 gap-4 border-l border-gray-200 bg-white p-6 shadow-xl transition ease-in-out sm:max-w-sm","data-[state=closed]:animate-slide-out-to-right data-[state=open]:animate-slide-in-from-right data-[state=closed]:duration-300 data-[state=open]:duration-500",t),...r,children:[n(e.Close,{className:"absolute right-4 top-4 rounded-md p-1 transition-colors hover:bg-gray-100 focus:outline-none focus:ring-0 disabled:pointer-events-none data-[state=open]:bg-gray-100",children:[o(l,{className:"size-4"}),o("span",{className:"sr-only",children:"Close"})]}),i]})}));h.displayName=e.Content.displayName;var p=({className:t,...i})=>o("div",{className:a("flex flex-col space-y-2 text-center sm:text-left",t),...i});p.displayName="SheetHeader";var d=({className:t,...i})=>o("div",{className:a("flex flex-col-reverse sm:flex-row sm:justify-end sm:space-x-2",t),...i});d.displayName="SheetFooter";var f=s.forwardRef(({className:t,...i},r)=>o(e.Title,{ref:r,className:a("text-foreground text-lg font-semibold",t),...i}));f.displayName=e.Title.displayName;var S=s.forwardRef(({className:t,...i},r)=>o(e.Description,{ref:r,className:a("text-muted-foreground text-sm",t),...i}));S.displayName=e.Description.displayName;export{R as a,y as b,g as c,c as d,h as e,p as f,d as g,f as h,S as i};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as C}from"./chunk-7OZYU3QM.mjs";import{jsx as l,jsxs as f}from"react/jsx-runtime";function o({className:t}){return f("svg",{className:C("h-full w-full",t),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M110.999 0C49.6974 0 0 49.6973 0 111.001C0 172.307 49.6974 222 110.999 222C172.308 222 222 172.307 222 111.001C222 49.7012 172.308 0.00530203 110.998 0.00530203L110.999 0ZM161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.324 146.469 93.5163 142.863 54.8787 151.691C51.1554 152.539 47.4441 150.207 46.5958 146.482C45.7435 142.757 48.0671 139.046 51.7996 138.197C94.0823 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.904 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.655 135.228 163.586 132.723C133.75 114.383 88.2687 109.072 52.9779 119.785C48.4011 121.167 43.5671 118.588 42.178 114.019C40.7995 109.442 43.3802 104.617 47.9491 103.225C88.2608 90.9935 138.376 96.9185 172.639 117.974C176.708 120.479 177.994 125.808 175.489 129.872V129.871ZM176.655 98.3977C140.881 77.1485 81.8574 75.1947 47.7012 85.5615C42.2164 87.225 36.4161 84.1286 34.754 78.6437C33.0918 73.1561 36.1855 67.3596 41.6743 65.6922C80.8832 53.7891 146.063 56.0889 187.251 80.5405C192.195 83.4685 193.812 89.8403 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.655Z",fill:"#1ED760"}),l("path",{d:"M161.903 160.095C159.915 163.356 155.647 164.389 152.386 162.388C126.325 146.469 93.5164 142.863 54.8788 151.691C51.1556 152.539 47.4442 150.207 46.5959 146.482C45.7436 142.757 48.0672 139.046 51.7997 138.197C94.0824 128.537 130.351 132.697 159.61 150.578C162.871 152.579 163.905 156.834 161.903 160.095ZM175.489 129.871C172.984 133.943 167.656 135.228 163.586 132.723C133.75 114.383 88.2689 109.072 52.9781 119.785C48.4012 121.167 43.5672 118.588 42.1781 114.019C40.7996 109.442 43.3803 104.617 47.9492 103.225C88.2609 90.9934 138.376 96.9184 172.639 117.974C176.709 120.479 177.994 125.808 175.489 129.872V129.871ZM176.656 98.3977C140.881 77.1485 81.8576 75.1947 47.7014 85.5615C42.2165 87.225 36.4163 84.1286 34.7541 78.6437C33.092 73.1561 36.1856 67.3596 41.6744 65.6921C80.8833 53.7891 146.064 56.0888 187.251 80.5405C192.195 83.4685 193.813 89.8402 190.883 94.7672C187.967 99.7007 181.578 101.327 176.661 98.3977H176.656Z",fill:"white"})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-7OZYU3QM.mjs";import{jsx as t}from"react/jsx-runtime";function o({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((n,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-GG7CLVAD.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{j as r}from"./chunk-OTJXK6OZ.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 i}from"./chunk-5BX765AZ.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{d as l,e as p}from"./chunk-3SJTHXXN.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{e as _}from"./chunk-YMK4KMHG.mjs";import{a as x,f as y,g as v}from"./chunk-MTVIRL4R.mjs";import{a as N}from"./chunk-LOBQM5QI.mjs";import{a as f}from"./chunk-ET462HEE.mjs";import{a as b}from"./chunk-RIC7LZV2.mjs";import{a as h}from"./chunk-KRBHXS5G.mjs";import{a as p}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,l as g}from"./chunk-5BX765AZ.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:x.map(({title:t,href:a})=>({name:t,href:a})),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:y.map(({name:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:v.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="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("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,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(f,{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(p,{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(h,{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(b,{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(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;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")},[t]),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",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),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 E}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as T}from"./chunk-46A6V7VD.mjs";import{b as O}from"./chunk-LBSQCMXE.mjs";import{j as g}from"./chunk-OTJXK6OZ.mjs";import{flip as G,offset as J,size as U,useDismiss as W,useFloating as Y,useInteractions as Z}from"@floating-ui/react";import{Command as i,useCommandState as ee}from"cmdk";import{Check as te,ChevronDown as ae,Search as w,X as oe}from"lucide-react";import{createContext as re,forwardRef as se,useContext as L,useEffect as C,useMemo as le,useRef as F,useState as N}from"react";import{Drawer as f}from"vaul";import{jsx as e,jsxs as o}from"react/jsx-runtime";var v=re({inputAttrs:{},openCommandList:!1,setOpenCommandList:()=>{},inputValue:"",setInputValue:()=>{},disabled:!1,selectedItem:null,setSelectedItem:()=>{}});function we({items:r,selectedItem:a,setSelectedItem:d,className:s,disabled:t,adjustForMobile:u,icon:b,inputAttrs:x,noItemsElement:p}){let l=F(null),[c,y]=N(!1),[n,P]=N(""),[D,M]=N(!1);C(()=>{c&&M(!1)},[c]),C(()=>M(!0),[n]),C(()=>{a&&P(a.value)},[a]);let k=le(()=>{let m=n.toLowerCase();return D?r.filter(h=>h.value.toLowerCase().includes(m)):n?r.sort((h,q)=>(q.value.toLowerCase().includes(m)?1:0)-(h.value.toLowerCase().includes(m)?1:0)):r},[D,n,r]),{refs:R,floatingStyles:z,context:j}=Y({open:c,onOpenChange:y,middleware:[J(8),U({apply({elements:{floating:m},availableHeight:h}){Object.assign(m.style,{maxHeight:`${Math.max(75,Math.min(h,290))}px`})},padding:8}),G({fallbackStrategy:"initialPlacement",padding:8})]}),B=W(j),{getReferenceProps:K,getFloatingProps:$}=Z([B]),V=F(null),{scrollProgress:Q,updateScrollProgress:X}=E(V),{isMobile:_}=A();return e(v.Provider,{value:{inputAttrs:x||{},openCommandList:c,setOpenCommandList:y,inputValue:n,setInputValue:P,disabled:Boolean(t),selectedItem:a,setSelectedItem:d},children:_&&u?o(f.Root,{open:c,onOpenChange:y,children:[e(f.Trigger,{className:"sm:hidden",asChild:!0,children:e(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:o("div",{className:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]})})}),e(f.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),o(f.Portal,{children:[e(f.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",s),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{}),e(I,{})]})]}),c&&o(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(H,{items:k})]})]})}),e(f.Overlay,{})]})]}):o(i,{ref:l,className:"relative",shouldFilter:!1,loop:!0,children:[o("div",{className:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",s),children:[e("div",{onClick:()=>y(m=>!m),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:a&&a.image?e("img",{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full"}):b||e(w,{className:"h-4 w-4 text-gray-400"})}),o("div",{className:"flex h-10 px-8",children:[e(S,{ref:R.setReference,...K()}),e(I,{})]})]}),c&&o("div",{ref:R.setFloating,style:z,...$(),className:"z-20 flex w-full min-w-[160px] flex-col overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:[o("div",{ref:V,onScroll:X,className:"grow overflow-y-auto p-2",children:[o(i.List,{children:[r.length===0&&n===""&&(p?e("div",{children:p}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&e(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."})]}),e(H,{items:k})]}),e("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(Q,2)}})]})]})})}var S=se((r,a)=>{let d=ee(l=>l.filtered.count===0),{inputAttrs:s,openCommandList:t,setOpenCommandList:u,inputValue:b,setInputValue:x,disabled:p}=L(v);return e(i.Input,{ref:a,placeholder:(s==null?void 0:s.placeholder)||"Search...",autoFocus:t,onFocus:()=>u(!0),value:b,onValueChange:x,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),u(!1)):l.key==="Enter"&&d?u(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&u(!0)},disabled:p,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm",autoCapitalize:"none"})});function I(){let{setSelectedItem:r,openCommandList:a,setOpenCommandList:d,inputValue:s,setInputValue:t}=L(v);return e("button",{type:"button",onClick:()=>{d(u=>!u),r(null),t("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:s.length>0?e(oe,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(ae,{className:g("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":a})})})}function H({items:r}){let{setSelectedItem:a,setOpenCommandList:d,setInputValue:s}=L(v);return r.map(t=>o(i.Item,{value:t.value,disabled:t.disabled,onSelect:()=>{a(t),s(t.value),d(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[o("div",{className:"flex items-center space-x-2",children:[t.image&&e(T,{src:t.image,alt:t.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:g("whitespace-nowrap py-0.5 text-sm",t.color&&"rounded-md px-2",t.color==="red"&&"bg-red-100 text-red-600",t.color==="yellow"&&"bg-yellow-100 text-yellow-600",t.color==="green"&&"bg-green-100 text-green-600",t.color==="blue"&&"bg-blue-100 text-blue-600",t.color==="purple"&&"bg-purple-100 text-purple-600",t.color==="brown"&&"bg-brown-100 text-brown-600"),children:t.value}),t.label&&e(O,{className:"text-xs",variant:"neutral",children:t.label})]}),e(te,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},t.id))}export{we as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as n}from"./chunk-PA3Q43MW.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{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 p}from"./chunk-NWME2ANF.mjs";import{b as l}from"./chunk-SM2N4NMR.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 f}from"./chunk-GLJR2QX5.mjs";import{a as g}from"./chunk-3IVWKAUU.mjs";import{a as u}from"./chunk-GHXIGUPQ.mjs";import{j as n}from"./chunk-ASW4CA57.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{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{j as i}from"./chunk-5BX765AZ.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{e as _}from"./chunk-APRXCDHL.mjs";import{a as v}from"./chunk-7PY5M5C6.mjs";import{a as N}from"./chunk-J2WWV5OI.mjs";import{a as x}from"./chunk-ZGBEFTKI.mjs";import{a as y}from"./chunk-KKCRR74D.mjs";import{a as b}from"./chunk-5JA2HYOQ.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-7OZYU3QM.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:t,href:a})=>({name:t,href:a})),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:t,slug:a})=>({name:t,href:`/compare/${a}`})),legal:h.map(({name:t,slug:a})=>({name:t,href:`/legal/${a}`})),tools:g.map(({name:t,slug:a})=>({name:t,href:`/tools/${a}`}))};function Y(){let{domain:t="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("/",t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,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(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(a=>e("li",{children:e(s,{href:o(a.href,t,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:t,utm_content:a.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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:t}=A("https://status.dub.co/api/v1/summary",d),[a,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!t)return;let{ongoing_incidents:u}=t;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")},[t]),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",a,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",a)})]}),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{k as m}from"./chunk-O7ME7FDJ.mjs";import{j as i}from"./chunk-OTJXK6OZ.mjs";import{useMemo as x,useState as u}from"react";import{jsx as a,jsxs as r}from"react/jsx-runtime";function M({title:g,description:c,inputAttrs:e,helpText:s,buttonText:f="Save Changes",disabledTooltip:o,handleSubmit:y}){let[t,p]=u(e.defaultValue),[l,d]=u(!1),b=x(()=>l||!t||t===e.defaultValue,[l,t,e.defaultValue]);return r("form",{onSubmit:async n=>{n.preventDefault(),d(!0),await y({[e.name]:t}),d(!1)},className:"rounded-lg border border-gray-200 bg-white",children:[r("div",{className:"relative flex flex-col space-y-6 p-5 sm:p-10",children:[r("div",{className:"flex flex-col space-y-3",children:[a("h2",{className:"text-xl font-medium",children:g}),a("p",{className:"text-sm text-gray-500",children:c})]}),typeof e.defaultValue=="string"?a("input",{...e,type:e.type||"text",required:!0,disabled:!!o,onChange:n=>p(n.target.value),className:i("w-full max-w-md rounded-md border border-gray-300 text-gray-900 placeholder-gray-400 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};