@dub/ui 0.1.46 → 0.1.47

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 (635) hide show
  1. package/dist/accordion.mjs +1 -1
  2. package/dist/alert.mjs +1 -1
  3. package/dist/animated-size-container.d.ts +7 -7
  4. package/dist/animated-size-container.mjs +1 -1
  5. package/dist/avatar.mjs +1 -1
  6. package/dist/badge.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-26VOQMZS.mjs +2 -0
  15. package/dist/chunk-2BHYOYKX.mjs +2 -0
  16. package/dist/chunk-2C4QT43M.mjs +2 -0
  17. package/dist/chunk-2CFXIG6X.mjs +2 -0
  18. package/dist/chunk-2DHDHPDQ.mjs +2 -0
  19. package/dist/chunk-2FNLR7JS.mjs +2 -0
  20. package/dist/chunk-2HUZ3XJN.mjs +2 -0
  21. package/dist/chunk-2HXHE7AO.mjs +2 -0
  22. package/dist/chunk-2JTDS4MP.mjs +2 -0
  23. package/dist/chunk-2Q7TCKA5.mjs +2 -0
  24. package/dist/chunk-2QPEKZF6.mjs +2 -0
  25. package/dist/chunk-2QRGSRUC.mjs +2 -0
  26. package/dist/chunk-2RBRNJI6.mjs +2 -0
  27. package/dist/chunk-2TOY4BQB.mjs +2 -0
  28. package/dist/chunk-2WCIAXIU.mjs +6 -0
  29. package/dist/chunk-32WFP5U4.mjs +6 -0
  30. package/dist/chunk-33FEHM4E.mjs +2 -0
  31. package/dist/chunk-33ZUPSWF.mjs +2 -0
  32. package/dist/chunk-345QVL57.mjs +2 -0
  33. package/dist/chunk-34IIFR45.mjs +2 -0
  34. package/dist/chunk-3EP6CMAM.mjs +2 -0
  35. package/dist/chunk-3JQX6PL2.mjs +2 -0
  36. package/dist/chunk-3L377CYF.mjs +2 -0
  37. package/dist/chunk-3M3BIAQR.mjs +2 -0
  38. package/dist/chunk-3PKILZDE.mjs +2 -0
  39. package/dist/chunk-3QG4GKOG.mjs +2 -0
  40. package/dist/chunk-3QGICZIB.mjs +2 -0
  41. package/dist/chunk-3QIYECDT.mjs +2 -0
  42. package/dist/chunk-3RK4MAH4.mjs +2 -0
  43. package/dist/chunk-3X52TJBU.mjs +2 -0
  44. package/dist/chunk-3ZEB26VZ.mjs +2 -0
  45. package/dist/chunk-42V6NIF4.mjs +2 -0
  46. package/dist/chunk-44QIUPJ5.mjs +6 -0
  47. package/dist/chunk-45A4X3GG.mjs +2 -0
  48. package/dist/chunk-464I7ZAP.mjs +2 -0
  49. package/dist/chunk-46IF73QS.mjs +2 -0
  50. package/dist/chunk-473WQ7OC.mjs +2 -0
  51. package/dist/chunk-4AHUBY72.mjs +2 -0
  52. package/dist/chunk-4AY7EYUX.mjs +2 -0
  53. package/dist/chunk-4CP5IEMJ.mjs +2 -0
  54. package/dist/chunk-4F3PQSHZ.mjs +2 -0
  55. package/dist/chunk-4JGI4OPO.mjs +2 -0
  56. package/dist/chunk-4LBIU7YD.mjs +2 -0
  57. package/dist/chunk-4OZ7WMBY.mjs +2 -0
  58. package/dist/chunk-4QWUXQQ4.mjs +2 -0
  59. package/dist/chunk-4SKSVILO.mjs +2 -0
  60. package/dist/chunk-4TC2J5BQ.mjs +2 -0
  61. package/dist/chunk-4TLJYKJE.mjs +2 -0
  62. package/dist/chunk-4VD2QOGT.mjs +6 -0
  63. package/dist/chunk-4VIAOAHQ.mjs +6 -0
  64. package/dist/chunk-4XT5LMDL.mjs +2 -0
  65. package/dist/chunk-4ZEBIMKJ.mjs +2 -0
  66. package/dist/chunk-52PXK2TT.mjs +2 -0
  67. package/dist/chunk-52UAW34K.mjs +2 -0
  68. package/dist/chunk-54U22AZB.mjs +2 -0
  69. package/dist/chunk-5BUGRDVX.mjs +2 -0
  70. package/dist/chunk-5CXIVLES.mjs +6 -0
  71. package/dist/chunk-5CYRRDAD.mjs +2 -0
  72. package/dist/chunk-5EQGPKMQ.mjs +2 -0
  73. package/dist/chunk-5FRVAFM7.mjs +6 -0
  74. package/dist/chunk-5H4JZP4M.mjs +2 -0
  75. package/dist/chunk-5INS4B2M.mjs +2 -0
  76. package/dist/chunk-5KJW6SQB.mjs +2 -0
  77. package/dist/chunk-5MWWHIZ6.mjs +2 -0
  78. package/dist/chunk-5RAVSUEQ.mjs +2 -0
  79. package/dist/chunk-5RCBQPCU.mjs +2 -0
  80. package/dist/chunk-5RVZQMWH.mjs +2 -0
  81. package/dist/chunk-5WRG7BDG.mjs +2 -0
  82. package/dist/chunk-5X7VC674.mjs +2 -0
  83. package/dist/chunk-5YMHNYAM.mjs +2 -0
  84. package/dist/chunk-63OT3YAO.mjs +2 -0
  85. package/dist/chunk-66DVL5PA.mjs +2 -0
  86. package/dist/chunk-66EQZ7XO.mjs +2 -0
  87. package/dist/chunk-6AFUSKXP.mjs +2 -0
  88. package/dist/chunk-6CP4OSYZ.mjs +2 -0
  89. package/dist/chunk-6DIYJ56I.mjs +2 -0
  90. package/dist/chunk-6F3O54PT.mjs +2 -0
  91. package/dist/chunk-6H7BE76S.mjs +2 -0
  92. package/dist/chunk-6IZNWCYO.mjs +2 -0
  93. package/dist/chunk-6KJUIHCY.mjs +2 -0
  94. package/dist/chunk-6KT4IOVV.mjs +2 -0
  95. package/dist/chunk-6L6VI46D.mjs +2 -0
  96. package/dist/chunk-6P5UJYPW.mjs +2 -0
  97. package/dist/chunk-6PAE3NDZ.mjs +2 -0
  98. package/dist/chunk-6QR43STO.mjs +2 -0
  99. package/dist/chunk-6QTA6QWP.mjs +2 -0
  100. package/dist/chunk-6TBZB657.mjs +2 -0
  101. package/dist/chunk-6UD7OVBM.mjs +2 -0
  102. package/dist/chunk-6UNYDFUD.mjs +2 -0
  103. package/dist/chunk-72MBCOAI.mjs +2 -0
  104. package/dist/chunk-73EYNZIY.mjs +6 -0
  105. package/dist/chunk-743VJ5XG.mjs +2 -0
  106. package/dist/chunk-77JTB4EP.mjs +2 -0
  107. package/dist/chunk-77KPDKPF.mjs +2 -0
  108. package/dist/chunk-77XK4MPL.mjs +2 -0
  109. package/dist/chunk-7B3GF743.mjs +2 -0
  110. package/dist/chunk-7E7HUEMR.mjs +2 -0
  111. package/dist/chunk-7GHU3CQ4.mjs +2 -0
  112. package/dist/chunk-7JLZ3EBD.mjs +2 -0
  113. package/dist/chunk-7PDHGDNG.mjs +2 -0
  114. package/dist/chunk-7PU6IQML.mjs +2 -0
  115. package/dist/chunk-7RF2R6AE.mjs +2 -0
  116. package/dist/chunk-7SV7GOZQ.mjs +2 -0
  117. package/dist/chunk-7TVVSC7H.mjs +2 -0
  118. package/dist/chunk-7Y7AL7ZT.mjs +2 -0
  119. package/dist/chunk-7YG7PIL7.mjs +2 -0
  120. package/dist/chunk-7ZCL7ZLZ.mjs +2 -0
  121. package/dist/chunk-A45CKYHI.mjs +2 -0
  122. package/dist/chunk-A4QOESZ2.mjs +2 -0
  123. package/dist/chunk-A5CFYFID.mjs +2 -0
  124. package/dist/chunk-A7NYUQN4.mjs +2 -0
  125. package/dist/chunk-AAPERUYS.mjs +2 -0
  126. package/dist/chunk-AFSYLOLK.mjs +2 -0
  127. package/dist/chunk-AHGX3FYQ.mjs +2 -0
  128. package/dist/chunk-AHIZTZHF.mjs +2 -0
  129. package/dist/chunk-AHVBHFFP.mjs +2 -0
  130. package/dist/chunk-AJ3N5KMX.mjs +2 -0
  131. package/dist/chunk-AJHCIIEC.mjs +2 -0
  132. package/dist/chunk-AKLFUST4.mjs +2 -0
  133. package/dist/chunk-ALISNYZP.mjs +2 -0
  134. package/dist/chunk-AMNQGLMY.mjs +2 -0
  135. package/dist/chunk-ANBOYEAB.mjs +2 -0
  136. package/dist/chunk-ANCLQBRG.mjs +2 -0
  137. package/dist/chunk-ANRZZFYR.mjs +2 -0
  138. package/dist/chunk-AODSW7YE.mjs +2 -0
  139. package/dist/chunk-AT7652OM.mjs +2 -0
  140. package/dist/chunk-ATBP42AE.mjs +2 -0
  141. package/dist/chunk-AUVIUB37.mjs +2 -0
  142. package/dist/chunk-AVLFYBWC.mjs +2 -0
  143. package/dist/chunk-AXYLQ725.mjs +2 -0
  144. package/dist/chunk-B2EPEHHE.mjs +2 -0
  145. package/dist/chunk-B3RC25PV.mjs +2 -0
  146. package/dist/chunk-B5BSJRA3.mjs +2 -0
  147. package/dist/chunk-BB2L46OP.mjs +2 -0
  148. package/dist/chunk-BBGU2SNS.mjs +2 -0
  149. package/dist/chunk-BBKJNFZD.mjs +2 -0
  150. package/dist/chunk-BDAPCC2M.mjs +2 -0
  151. package/dist/chunk-BFXWYVBF.mjs +2 -0
  152. package/dist/chunk-BGQTIMNF.mjs +2 -0
  153. package/dist/chunk-BGUNR3SF.mjs +2 -0
  154. package/dist/chunk-BGWM2NHZ.mjs +2 -0
  155. package/dist/chunk-BHP2YLZM.mjs +2 -0
  156. package/dist/chunk-BIALFYHT.mjs +2 -0
  157. package/dist/chunk-BOYWXFCE.mjs +2 -0
  158. package/dist/chunk-BP5A5HHN.mjs +2 -0
  159. package/dist/chunk-BRRHSRQN.mjs +2 -0
  160. package/dist/chunk-BRXUFRDC.mjs +2 -0
  161. package/dist/chunk-BTBTSC6T.mjs +2 -0
  162. package/dist/chunk-BTGXOJAN.mjs +2 -0
  163. package/dist/chunk-BU5YUTJH.mjs +2 -0
  164. package/dist/chunk-BV5X4CPX.mjs +2 -0
  165. package/dist/chunk-C25DZXVX.mjs +6 -0
  166. package/dist/chunk-C3WQGMZ6.mjs +2 -0
  167. package/dist/chunk-C4V3J6MN.mjs +2 -0
  168. package/dist/chunk-C5S7BYZJ.mjs +2 -0
  169. package/dist/chunk-C7A44MOD.mjs +2 -0
  170. package/dist/chunk-CAIU6ML7.mjs +6 -0
  171. package/dist/chunk-CEFYN4GE.mjs +2 -0
  172. package/dist/chunk-CGDN5CPA.mjs +2 -0
  173. package/dist/chunk-CGI4KTZR.mjs +2 -0
  174. package/dist/chunk-CM534RPO.mjs +2 -0
  175. package/dist/chunk-CSA5LCDZ.mjs +2 -0
  176. package/dist/chunk-CUVHJITJ.mjs +2 -0
  177. package/dist/chunk-CV5UV4EO.mjs +6 -0
  178. package/dist/chunk-CZ2I3ZFJ.mjs +2 -0
  179. package/dist/chunk-CZ6UY4U3.mjs +2 -0
  180. package/dist/chunk-CZUK4QIC.mjs +2 -0
  181. package/dist/chunk-CZXSO5WV.mjs +2 -0
  182. package/dist/chunk-D3ZSIF6E.mjs +2 -0
  183. package/dist/chunk-D4UAWM5Q.mjs +2 -0
  184. package/dist/chunk-D626Q3HA.mjs +2 -0
  185. package/dist/chunk-DG7PEGUJ.mjs +2 -0
  186. package/dist/chunk-DQNJDREL.mjs +2 -0
  187. package/dist/chunk-DSGIPVPR.mjs +2 -0
  188. package/dist/chunk-DUL3IJ6P.mjs +2 -0
  189. package/dist/chunk-E45ZE3U7.mjs +2 -0
  190. package/dist/chunk-E4EALXGF.mjs +2 -0
  191. package/dist/chunk-E7IX7SYA.mjs +2 -0
  192. package/dist/chunk-ECPBQNVR.mjs +2 -0
  193. package/dist/chunk-ECTQAWFA.mjs +2 -0
  194. package/dist/chunk-ED3JRAWM.mjs +2 -0
  195. package/dist/chunk-EDXXT7MA.mjs +2 -0
  196. package/dist/chunk-EEBTCFJA.mjs +2 -0
  197. package/dist/chunk-EECWYWNB.mjs +2 -0
  198. package/dist/chunk-EFOE5HKJ.mjs +2 -0
  199. package/dist/chunk-EGYJPLYC.mjs +2 -0
  200. package/dist/chunk-EHC3DQ5P.mjs +6 -0
  201. package/dist/chunk-EIG72OEE.mjs +2 -0
  202. package/dist/chunk-EN5WL75R.mjs +2 -0
  203. package/dist/chunk-ENROZ42Q.mjs +2 -0
  204. package/dist/chunk-EODHAF4D.mjs +2 -0
  205. package/dist/chunk-ES6ZKHIK.mjs +2 -0
  206. package/dist/chunk-EU6VTBE4.mjs +2 -0
  207. package/dist/chunk-EUP2TEBA.mjs +2 -0
  208. package/dist/chunk-EWJFX53S.mjs +2 -0
  209. package/dist/chunk-EYLIZPFU.mjs +2 -0
  210. package/dist/chunk-EYLZYKQF.mjs +2 -0
  211. package/dist/chunk-F3IFGUMF.mjs +2 -0
  212. package/dist/chunk-F3TMVTL7.mjs +2 -0
  213. package/dist/chunk-F5D5BNX4.mjs +2 -0
  214. package/dist/chunk-F5DS2MCG.mjs +2 -0
  215. package/dist/chunk-F6JYPMKX.mjs +2 -0
  216. package/dist/chunk-FBSP62FL.mjs +2 -0
  217. package/dist/chunk-FIJ5MMB7.mjs +2 -0
  218. package/dist/chunk-FMA4L563.mjs +2 -0
  219. package/dist/chunk-FNDZXU5W.mjs +2 -0
  220. package/dist/chunk-FNOYTFFY.mjs +2 -0
  221. package/dist/chunk-FOHZVBO3.mjs +2 -0
  222. package/dist/chunk-FPEYQDSW.mjs +2 -0
  223. package/dist/chunk-FXCRIELR.mjs +2 -0
  224. package/dist/chunk-FXV5U4RU.mjs +2 -0
  225. package/dist/chunk-FYB4AZ6L.mjs +6 -0
  226. package/dist/chunk-G2YX3W5E.mjs +2 -0
  227. package/dist/chunk-GF5QCQZM.mjs +2 -0
  228. package/dist/chunk-GFCA6YGR.mjs +2 -0
  229. package/dist/chunk-GFGWBEKA.mjs +2 -0
  230. package/dist/chunk-GIQYO2RI.mjs +2 -0
  231. package/dist/chunk-GIX7XAQV.mjs +2 -0
  232. package/dist/chunk-GJI672PW.mjs +2 -0
  233. package/dist/chunk-GKO6ETVO.mjs +2 -0
  234. package/dist/chunk-GLPXNPWS.mjs +2 -0
  235. package/dist/chunk-GM6I2XA5.mjs +2 -0
  236. package/dist/chunk-GME634U5.mjs +2 -0
  237. package/dist/chunk-GMNCF2MG.mjs +6 -0
  238. package/dist/chunk-GMULY7PI.mjs +2 -0
  239. package/dist/chunk-GVTFLJ4D.mjs +2 -0
  240. package/dist/chunk-GWCLIGRQ.mjs +2 -0
  241. package/dist/chunk-H3M3MTA6.mjs +2 -0
  242. package/dist/chunk-H4U6AR53.mjs +2 -0
  243. package/dist/chunk-H5B2UMH4.mjs +2 -0
  244. package/dist/chunk-H5BXE6KQ.mjs +2 -0
  245. package/dist/chunk-H5U2WDV2.mjs +2 -0
  246. package/dist/chunk-HAKTG2SL.mjs +2 -0
  247. package/dist/chunk-HBOI5765.mjs +2 -0
  248. package/dist/chunk-HC6JN37T.mjs +2 -0
  249. package/dist/chunk-HCRYGBF4.mjs +2 -0
  250. package/dist/chunk-HENUQKRS.mjs +2 -0
  251. package/dist/chunk-HGXBCZ6F.mjs +2 -0
  252. package/dist/chunk-HH5Q3WMN.mjs +2 -0
  253. package/dist/chunk-HITJ22BW.mjs +2 -0
  254. package/dist/chunk-HKPYZQ6P.mjs +2 -0
  255. package/dist/chunk-HL3GAQXZ.mjs +2 -0
  256. package/dist/chunk-HM6DOTMN.mjs +2 -0
  257. package/dist/chunk-HNDAOBVD.mjs +2 -0
  258. package/dist/chunk-HOKVPRVC.mjs +2 -0
  259. package/dist/chunk-HOY4F3VA.mjs +2 -0
  260. package/dist/chunk-HPYU7IK5.mjs +2 -0
  261. package/dist/chunk-HQZF676X.mjs +2 -0
  262. package/dist/chunk-HSZWTQEL.mjs +2 -0
  263. package/dist/chunk-HUOWFLPE.mjs +2 -0
  264. package/dist/chunk-HVOTPXXF.mjs +2 -0
  265. package/dist/chunk-HYJNJFSD.mjs +2 -0
  266. package/dist/chunk-HYXJOJEI.mjs +2 -0
  267. package/dist/chunk-HZHGV2FJ.mjs +2 -0
  268. package/dist/chunk-I4NPNBDK.mjs +2 -0
  269. package/dist/chunk-I5XKJ4O5.mjs +2 -0
  270. package/dist/chunk-I7YEG3EC.mjs +2 -0
  271. package/dist/chunk-IAYXZFJL.mjs +2 -0
  272. package/dist/chunk-ICC7QZDB.mjs +2 -0
  273. package/dist/chunk-IDRVIJ2H.mjs +2 -0
  274. package/dist/chunk-IFBQYIRJ.mjs +2 -0
  275. package/dist/chunk-IGWJ6N5N.mjs +2 -0
  276. package/dist/chunk-IGY75J76.mjs +2 -0
  277. package/dist/chunk-IIYAO3JL.mjs +2 -0
  278. package/dist/chunk-ITAZZT6Z.mjs +2 -0
  279. package/dist/chunk-IVNOQU2S.mjs +2 -0
  280. package/dist/chunk-IWQTF2VZ.mjs +2 -0
  281. package/dist/chunk-IY7PSK5J.mjs +6 -0
  282. package/dist/chunk-IZKKODJN.mjs +2 -0
  283. package/dist/chunk-IZMZSCKN.mjs +6 -0
  284. package/dist/chunk-IZTC72QB.mjs +2 -0
  285. package/dist/chunk-JEQNKBBZ.mjs +2 -0
  286. package/dist/chunk-JG3HYOWD.mjs +2 -0
  287. package/dist/chunk-JG7Y3VXG.mjs +2 -0
  288. package/dist/chunk-JGFNE7UG.mjs +2 -0
  289. package/dist/chunk-JHGXCLPD.mjs +2 -0
  290. package/dist/chunk-JHR4TXRV.mjs +2 -0
  291. package/dist/chunk-JISTEA6M.mjs +2 -0
  292. package/dist/chunk-JIU6NTME.mjs +2 -0
  293. package/dist/chunk-JIZSWIZV.mjs +6 -0
  294. package/dist/chunk-JJACCUMS.mjs +2 -0
  295. package/dist/chunk-JJM63M7C.mjs +2 -0
  296. package/dist/chunk-JKDVJGJU.mjs +2 -0
  297. package/dist/chunk-JNLGRKZW.mjs +2 -0
  298. package/dist/chunk-JOQOP3MZ.mjs +2 -0
  299. package/dist/chunk-JRMB5IWL.mjs +2 -0
  300. package/dist/chunk-K2E5OLPE.mjs +2 -0
  301. package/dist/chunk-K33XQSJP.mjs +2 -0
  302. package/dist/chunk-K3JXPQHE.mjs +2 -0
  303. package/dist/chunk-K5JQUIGT.mjs +6 -0
  304. package/dist/chunk-K6DHFMJG.mjs +2 -0
  305. package/dist/chunk-KAVIPV47.mjs +2 -0
  306. package/dist/chunk-KCHQHBEO.mjs +2 -0
  307. package/dist/chunk-KGZDF445.mjs +2 -0
  308. package/dist/chunk-KJEI3YU4.mjs +2 -0
  309. package/dist/chunk-KNQ65ICE.mjs +2 -0
  310. package/dist/chunk-KX6Z3D7W.mjs +2 -0
  311. package/dist/chunk-KZJZF2V3.mjs +2 -0
  312. package/dist/chunk-L4OOMW4Q.mjs +2 -0
  313. package/dist/chunk-L5TVY5QL.mjs +2 -0
  314. package/dist/chunk-L5ZNCGJ4.mjs +2 -0
  315. package/dist/chunk-L6WJL7W5.mjs +2 -0
  316. package/dist/chunk-LBCFCZCE.mjs +2 -0
  317. package/dist/chunk-LDAWSZ3X.mjs +2 -0
  318. package/dist/chunk-LEZXL2XQ.mjs +2 -0
  319. package/dist/chunk-LMDGFZBF.mjs +2 -0
  320. package/dist/chunk-LMLVXREA.mjs +2 -0
  321. package/dist/chunk-LNQ4SUAG.mjs +2 -0
  322. package/dist/chunk-LP3ONTPJ.mjs +2 -0
  323. package/dist/chunk-LQSNOKVB.mjs +2 -0
  324. package/dist/chunk-LWGROTOF.mjs +2 -0
  325. package/dist/chunk-LY72JEJC.mjs +2 -0
  326. package/dist/chunk-LYUPN4ZE.mjs +2 -0
  327. package/dist/chunk-M2AYZG6A.mjs +2 -0
  328. package/dist/chunk-M43MBOU5.mjs +2 -0
  329. package/dist/chunk-M5MHULFV.mjs +2 -0
  330. package/dist/chunk-MBJQXJK3.mjs +2 -0
  331. package/dist/chunk-ME5OU4NR.mjs +2 -0
  332. package/dist/chunk-MKRDG7UO.mjs +2 -0
  333. package/dist/chunk-MM4KDGBY.mjs +2 -0
  334. package/dist/chunk-MMQARHSQ.mjs +6 -0
  335. package/dist/chunk-MNBC3AC2.mjs +2 -0
  336. package/dist/chunk-MNH6RK3Y.mjs +2 -0
  337. package/dist/chunk-MOZAZLWT.mjs +2 -0
  338. package/dist/chunk-MPZU4HQP.mjs +2 -0
  339. package/dist/chunk-MRNNHESV.mjs +2 -0
  340. package/dist/chunk-MSVLGFSF.mjs +2 -0
  341. package/dist/chunk-MTJREJTK.mjs +2 -0
  342. package/dist/chunk-MWQSQRTG.mjs +2 -0
  343. package/dist/chunk-MYEM2ZN4.mjs +2 -0
  344. package/dist/chunk-N2XLUNHL.mjs +2 -0
  345. package/dist/chunk-N5F4E6NS.mjs +2 -0
  346. package/dist/chunk-N5YPLIA6.mjs +2 -0
  347. package/dist/chunk-NBCAXPMQ.mjs +2 -0
  348. package/dist/chunk-NCW574BA.mjs +2 -0
  349. package/dist/chunk-NGLZDXLV.mjs +2 -0
  350. package/dist/chunk-NJKVIJCI.mjs +2 -0
  351. package/dist/chunk-NKM2EXXX.mjs +2 -0
  352. package/dist/chunk-NLE43PHJ.mjs +2 -0
  353. package/dist/chunk-NNQPTR6U.mjs +2 -0
  354. package/dist/chunk-NS2R336Y.mjs +2 -0
  355. package/dist/chunk-NUOYVOTS.mjs +2 -0
  356. package/dist/chunk-NUWWJHQG.mjs +2 -0
  357. package/dist/chunk-NXBO3TOT.mjs +6 -0
  358. package/dist/chunk-O2HAY2FQ.mjs +6 -0
  359. package/dist/chunk-O2WAVMFU.mjs +2 -0
  360. package/dist/chunk-O72TGI3M.mjs +2 -0
  361. package/dist/chunk-O7AHCTKP.mjs +6 -0
  362. package/dist/chunk-OB4PACAK.mjs +2 -0
  363. package/dist/chunk-OBQEWS4J.mjs +2 -0
  364. package/dist/chunk-OCSJPB44.mjs +2 -0
  365. package/dist/chunk-ODV6KJ34.mjs +2 -0
  366. package/dist/chunk-OEUU723H.mjs +2 -0
  367. package/dist/chunk-OK535YON.mjs +2 -0
  368. package/dist/chunk-OK75QSSL.mjs +2 -0
  369. package/dist/chunk-OKR4CLFD.mjs +2 -0
  370. package/dist/chunk-OL3D4AXX.mjs +2 -0
  371. package/dist/chunk-OO4YGAYK.mjs +2 -0
  372. package/dist/chunk-OQPASOAE.mjs +2 -0
  373. package/dist/chunk-OT66PTZ2.mjs +2 -0
  374. package/dist/chunk-OVF2Y65N.mjs +2 -0
  375. package/dist/chunk-OVKAXJ67.mjs +2 -0
  376. package/dist/chunk-OVL3724E.mjs +2 -0
  377. package/dist/chunk-OVSU3DGI.mjs +2 -0
  378. package/dist/chunk-OW5OE32G.mjs +2 -0
  379. package/dist/chunk-OWRUG6I7.mjs +2 -0
  380. package/dist/chunk-OXFRAGJQ.mjs +2 -0
  381. package/dist/chunk-OYRGLWH7.mjs +2 -0
  382. package/dist/chunk-OYVPHVWT.mjs +2 -0
  383. package/dist/chunk-OZKF662J.mjs +6 -0
  384. package/dist/chunk-P2WD3O5W.mjs +2 -0
  385. package/dist/chunk-P3XOCH7J.mjs +2 -0
  386. package/dist/chunk-P5EZPZ6B.mjs +2 -0
  387. package/dist/chunk-P63IJSD4.mjs +2 -0
  388. package/dist/chunk-PBUHFJE3.mjs +2 -0
  389. package/dist/chunk-PFBGIKHC.mjs +2 -0
  390. package/dist/chunk-PI6VELOM.mjs +2 -0
  391. package/dist/chunk-PLNPHJCD.mjs +6 -0
  392. package/dist/chunk-PMW3J5DG.mjs +2 -0
  393. package/dist/chunk-PO5A6ZTF.mjs +2 -0
  394. package/dist/chunk-PRJFKBXX.mjs +2 -0
  395. package/dist/chunk-PRJVDP45.mjs +2 -0
  396. package/dist/chunk-PUA2QUOF.mjs +2 -0
  397. package/dist/chunk-PUMTYUDO.mjs +2 -0
  398. package/dist/chunk-PURIUKLM.mjs +2 -0
  399. package/dist/chunk-PVHUV77P.mjs +2 -0
  400. package/dist/chunk-PW3AY4B2.mjs +6 -0
  401. package/dist/chunk-PXCTTDUX.mjs +2 -0
  402. package/dist/chunk-PXMKM77R.mjs +2 -0
  403. package/dist/chunk-Q3BR6XMZ.mjs +2 -0
  404. package/dist/chunk-Q3FKH3KP.mjs +6 -0
  405. package/dist/chunk-Q3T4RSHS.mjs +2 -0
  406. package/dist/chunk-Q7OV32Y2.mjs +2 -0
  407. package/dist/chunk-QF7HBH6X.mjs +2 -0
  408. package/dist/chunk-QFFSQ677.mjs +2 -0
  409. package/dist/chunk-QHM7BYN5.mjs +2 -0
  410. package/dist/chunk-QMNLYP3J.mjs +2 -0
  411. package/dist/chunk-QPDE34VN.mjs +2 -0
  412. package/dist/chunk-QPTFAZNN.mjs +2 -0
  413. package/dist/chunk-QRW2ATDC.mjs +2 -0
  414. package/dist/chunk-QT63LYLU.mjs +2 -0
  415. package/dist/chunk-QTSNND3V.mjs +2 -0
  416. package/dist/chunk-QUXLE6HF.mjs +2 -0
  417. package/dist/chunk-QVXGNQOM.mjs +2 -0
  418. package/dist/chunk-QWVHXNSN.mjs +2 -0
  419. package/dist/chunk-QZVADNDO.mjs +2 -0
  420. package/dist/chunk-R2LTYHB6.mjs +2 -0
  421. package/dist/chunk-R34ERHDH.mjs +2 -0
  422. package/dist/chunk-R4IMIT7L.mjs +2 -0
  423. package/dist/chunk-R4MIRVDD.mjs +2 -0
  424. package/dist/chunk-R5ORX2EN.mjs +2 -0
  425. package/dist/chunk-RAC23T6I.mjs +2 -0
  426. package/dist/chunk-RB4OT4SH.mjs +2 -0
  427. package/dist/chunk-RC2HRK6V.mjs +2 -0
  428. package/dist/chunk-RCWXB5F7.mjs +2 -0
  429. package/dist/chunk-RDVP3GQQ.mjs +2 -0
  430. package/dist/chunk-RFFTXCOF.mjs +2 -0
  431. package/dist/chunk-RG7IFULU.mjs +2 -0
  432. package/dist/chunk-RHM3RHPC.mjs +2 -0
  433. package/dist/chunk-RJIZ2L5Y.mjs +6 -0
  434. package/dist/chunk-RK27H4EP.mjs +2 -0
  435. package/dist/chunk-RLLEYROC.mjs +2 -0
  436. package/dist/chunk-RLUY75C3.mjs +2 -0
  437. package/dist/chunk-RLVPIEV4.mjs +6 -0
  438. package/dist/chunk-RMINWGTA.mjs +6 -0
  439. package/dist/chunk-RNGTNFC4.mjs +2 -0
  440. package/dist/chunk-RO2T5YDU.mjs +2 -0
  441. package/dist/chunk-RQD542X4.mjs +2 -0
  442. package/dist/chunk-RS2DK25U.mjs +1 -0
  443. package/dist/chunk-RW6EDAD4.mjs +2 -0
  444. package/dist/chunk-RZHE3CY5.mjs +2 -0
  445. package/dist/chunk-S3R4J4E2.mjs +2 -0
  446. package/dist/chunk-S3SFIA4R.mjs +2 -0
  447. package/dist/chunk-S5DASXVE.mjs +2 -0
  448. package/dist/chunk-S7HYSDBK.mjs +2 -0
  449. package/dist/chunk-S7NTGYXW.mjs +2 -0
  450. package/dist/chunk-SCJPEX4L.mjs +2 -0
  451. package/dist/chunk-SD4DH5Z4.mjs +2 -0
  452. package/dist/chunk-SEQMHRKS.mjs +2 -0
  453. package/dist/chunk-SGDXEG27.mjs +2 -0
  454. package/dist/chunk-SGG7ST2R.mjs +2 -0
  455. package/dist/chunk-SHKODP4X.mjs +2 -0
  456. package/dist/chunk-SJGTIIC7.mjs +2 -0
  457. package/dist/chunk-SKMCA7C5.mjs +2 -0
  458. package/dist/chunk-SPAZHZEL.mjs +2 -0
  459. package/dist/chunk-SULQZRBJ.mjs +2 -0
  460. package/dist/chunk-SVSQXDZR.mjs +2 -0
  461. package/dist/chunk-SVVQJ72W.mjs +2 -0
  462. package/dist/chunk-SYG5TEMD.mjs +2 -0
  463. package/dist/chunk-SZUJZIHZ.mjs +2 -0
  464. package/dist/chunk-T3ITI5FJ.mjs +2 -0
  465. package/dist/chunk-T64P2R5H.mjs +2 -0
  466. package/dist/chunk-TA3ZNMS6.mjs +2 -0
  467. package/dist/chunk-TBBKYE32.mjs +2 -0
  468. package/dist/chunk-TE2K64EB.mjs +2 -0
  469. package/dist/chunk-TGFRUL4N.mjs +2 -0
  470. package/dist/chunk-TP3DJ5XB.mjs +2 -0
  471. package/dist/chunk-TPRD5PGE.mjs +2 -0
  472. package/dist/chunk-TRDR6CNX.mjs +2 -0
  473. package/dist/chunk-TRK3IFQG.mjs +6 -0
  474. package/dist/chunk-TSZCWJ45.mjs +2 -0
  475. package/dist/chunk-TVX765TJ.mjs +2 -0
  476. package/dist/chunk-TZMFRMD4.mjs +2 -0
  477. package/dist/chunk-U27I6NQH.mjs +2 -0
  478. package/dist/chunk-U3U7ZMG6.mjs +2 -0
  479. package/dist/chunk-U5YJ4XZX.mjs +2 -0
  480. package/dist/chunk-U5ZKPBCY.mjs +2 -0
  481. package/dist/chunk-UIPGT7CR.mjs +2 -0
  482. package/dist/chunk-UJGAQ3SM.mjs +2 -0
  483. package/dist/chunk-ULF6FU4N.mjs +2 -0
  484. package/dist/chunk-UMOYOPNT.mjs +2 -0
  485. package/dist/chunk-UMRNMAI7.mjs +2 -0
  486. package/dist/chunk-UOZNZ7H4.mjs +2 -0
  487. package/dist/chunk-US7U6QFG.mjs +2 -0
  488. package/dist/chunk-UYNWUWWM.mjs +2 -0
  489. package/dist/chunk-V3OUUAU5.mjs +2 -0
  490. package/dist/chunk-V4VSVHK4.mjs +2 -0
  491. package/dist/chunk-V5JL6S7O.mjs +6 -0
  492. package/dist/chunk-VBRYFB57.mjs +2 -0
  493. package/dist/chunk-VCWE5ZQL.mjs +2 -0
  494. package/dist/chunk-VDVXOLVP.mjs +2 -0
  495. package/dist/chunk-VGWCXNBJ.mjs +2 -0
  496. package/dist/chunk-VP4RHVZP.mjs +6 -0
  497. package/dist/chunk-VXOMKZ7Z.mjs +6 -0
  498. package/dist/chunk-VY3PPM7I.mjs +2 -0
  499. package/dist/chunk-VZEELN4Z.mjs +2 -0
  500. package/dist/chunk-W2I3NIFZ.mjs +2 -0
  501. package/dist/chunk-W3H6T7GN.mjs +2 -0
  502. package/dist/chunk-W4QFVVYG.mjs +6 -0
  503. package/dist/chunk-W5DLPTBP.mjs +2 -0
  504. package/dist/chunk-W72CMW66.mjs +2 -0
  505. package/dist/chunk-WC3G4V2C.mjs +2 -0
  506. package/dist/chunk-WEY6OPHV.mjs +2 -0
  507. package/dist/chunk-WG5QC3EU.mjs +2 -0
  508. package/dist/chunk-WGGLN6D7.mjs +2 -0
  509. package/dist/chunk-WKOUFIN6.mjs +2 -0
  510. package/dist/chunk-WMM2QYJP.mjs +2 -0
  511. package/dist/chunk-WNRMVHFZ.mjs +2 -0
  512. package/dist/chunk-WNV6JH63.mjs +2 -0
  513. package/dist/chunk-WTC4CZDS.mjs +2 -0
  514. package/dist/chunk-X4BL2MPO.mjs +2 -0
  515. package/dist/chunk-X6YY6OCT.mjs +2 -0
  516. package/dist/chunk-X7HBODBP.mjs +2 -0
  517. package/dist/chunk-XABMOYQ7.mjs +6 -0
  518. package/dist/chunk-XCI3YN46.mjs +2 -0
  519. package/dist/chunk-XECEEQ4X.mjs +2 -0
  520. package/dist/chunk-XENFQOV6.mjs +2 -0
  521. package/dist/chunk-XF3XZU3T.mjs +2 -0
  522. package/dist/chunk-XLKVPQIX.mjs +2 -0
  523. package/dist/chunk-XNF65HDE.mjs +2 -0
  524. package/dist/chunk-XP545OXD.mjs +2 -0
  525. package/dist/chunk-XP7CB4B6.mjs +2 -0
  526. package/dist/chunk-XQ74XO3O.mjs +2 -0
  527. package/dist/chunk-XQQELGOU.mjs +2 -0
  528. package/dist/chunk-XQZ5CU7B.mjs +2 -0
  529. package/dist/chunk-XS6EWSQ2.mjs +2 -0
  530. package/dist/chunk-XTT743O4.mjs +2 -0
  531. package/dist/chunk-XUM5L5KQ.mjs +2 -0
  532. package/dist/chunk-XVM4TBVM.mjs +2 -0
  533. package/dist/chunk-XWC7EITT.mjs +2 -0
  534. package/dist/chunk-Y6P52YJQ.mjs +2 -0
  535. package/dist/chunk-Y6XX4YRW.mjs +2 -0
  536. package/dist/chunk-Y7WY5VWK.mjs +2 -0
  537. package/dist/chunk-YA5O5JUJ.mjs +2 -0
  538. package/dist/chunk-YAUU2OE2.mjs +2 -0
  539. package/dist/chunk-YBHLOACP.mjs +2 -0
  540. package/dist/chunk-YCXKJ6IW.mjs +2 -0
  541. package/dist/chunk-YD4LLDDS.mjs +6 -0
  542. package/dist/chunk-YISU66T3.mjs +2 -0
  543. package/dist/chunk-YJB7NMIN.mjs +2 -0
  544. package/dist/chunk-YJPYKKJA.mjs +2 -0
  545. package/dist/chunk-YKH753MJ.mjs +6 -0
  546. package/dist/chunk-YLZMTUK7.mjs +2 -0
  547. package/dist/chunk-YMAV53AC.mjs +2 -0
  548. package/dist/chunk-YNI73A45.mjs +2 -0
  549. package/dist/chunk-YP3O2SV2.mjs +2 -0
  550. package/dist/chunk-YRULVDEV.mjs +2 -0
  551. package/dist/chunk-YSLO7SNY.mjs +2 -0
  552. package/dist/chunk-YWNDJDTN.mjs +2 -0
  553. package/dist/chunk-Z3YJBW5X.mjs +2 -0
  554. package/dist/chunk-Z6ZRFPOP.mjs +2 -0
  555. package/dist/chunk-Z7VERCPI.mjs +6 -0
  556. package/dist/chunk-ZA4MCASU.mjs +2 -0
  557. package/dist/chunk-ZDB6QBNZ.mjs +2 -0
  558. package/dist/chunk-ZG2YNXYZ.mjs +2 -0
  559. package/dist/chunk-ZIH2X3O6.mjs +2 -0
  560. package/dist/chunk-ZLQVHGBX.mjs +2 -0
  561. package/dist/chunk-ZMZP2PE6.mjs +2 -0
  562. package/dist/chunk-ZOPTSCGC.mjs +2 -0
  563. package/dist/chunk-ZUXCAQNE.mjs +2 -0
  564. package/dist/chunk-ZVC2UKOA.mjs +2 -0
  565. package/dist/chunk-ZWHEF7BE.mjs +6 -0
  566. package/dist/chunk-ZXGA5T2Q.mjs +2 -0
  567. package/dist/chunk-ZZYQ7LWX.mjs +2 -0
  568. package/dist/composite-logo.mjs +1 -1
  569. package/dist/copy-button.mjs +1 -1
  570. package/dist/counting-numbers.mjs +1 -1
  571. package/dist/date-picker/calendar.mjs +1 -1
  572. package/dist/date-picker/date-range-picker.mjs +1 -1
  573. package/dist/date-picker/presets.mjs +1 -1
  574. package/dist/date-picker/trigger.mjs +1 -1
  575. package/dist/file-upload.mjs +1 -1
  576. package/dist/filter/filter-list.mjs +1 -1
  577. package/dist/filter/filter-select.mjs +1 -1
  578. package/dist/footer.mjs +1 -1
  579. package/dist/form.mjs +1 -1
  580. package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
  581. package/dist/icons/continents/index.mjs +1 -1
  582. package/dist/icons/default-domains/amazon.mjs +1 -1
  583. package/dist/icons/default-domains/chatgpt.mjs +1 -1
  584. package/dist/icons/default-domains/figma.mjs +1 -1
  585. package/dist/icons/default-domains/github-enhanced.mjs +1 -1
  586. package/dist/icons/default-domains/google-enhanced.mjs +1 -1
  587. package/dist/icons/default-domains/spotify.mjs +1 -1
  588. package/dist/icons/expanding-arrow.mjs +1 -1
  589. package/dist/icons/index.d.ts +8 -4
  590. package/dist/icons/index.mjs +1 -1
  591. package/dist/icons/linkedin.mjs +1 -1
  592. package/dist/icons/loading-circle.mjs +1 -1
  593. package/dist/icons/loading-spinner.mjs +1 -1
  594. package/dist/icons/nucleo/circle-dotted.d.ts +6 -0
  595. package/dist/icons/nucleo/circle-dotted.mjs +2 -0
  596. package/dist/icons/nucleo/link-broken.d.ts +6 -0
  597. package/dist/icons/nucleo/link-broken.mjs +2 -0
  598. package/dist/icons/php.d.ts +6 -0
  599. package/dist/icons/php.mjs +2 -0
  600. package/dist/icons/sort-order.mjs +1 -1
  601. package/dist/icons/twitter.mjs +1 -1
  602. package/dist/icons/youtube.mjs +1 -1
  603. package/dist/index.css +1 -1
  604. package/dist/index.d.ts +13 -4
  605. package/dist/index.mjs +1 -1
  606. package/dist/input-select.mjs +1 -1
  607. package/dist/input.mjs +1 -1
  608. package/dist/label.mjs +1 -1
  609. package/dist/link-logo.mjs +1 -1
  610. package/dist/link-preview.mjs +1 -1
  611. package/dist/logo.mjs +1 -1
  612. package/dist/max-width-wrapper.mjs +1 -1
  613. package/dist/modal.mjs +1 -1
  614. package/dist/nav/content/product-content.mjs +1 -1
  615. package/dist/nav/content/resources-content.mjs +1 -1
  616. package/dist/nav/content/shared.mjs +1 -1
  617. package/dist/nav/content/solutions-content.mjs +1 -1
  618. package/dist/nav/nav-mobile.mjs +1 -1
  619. package/dist/nav/nav.mjs +1 -1
  620. package/dist/nav-logo.mjs +1 -1
  621. package/dist/popover.mjs +1 -1
  622. package/dist/progress-bar.mjs +1 -1
  623. package/dist/radio-group.mjs +1 -1
  624. package/dist/sheet.mjs +1 -1
  625. package/dist/status-badge.d.ts +9 -5
  626. package/dist/status-badge.mjs +1 -1
  627. package/dist/switch.mjs +1 -1
  628. package/dist/tab-select.mjs +1 -1
  629. package/dist/table/table.mjs +1 -1
  630. package/dist/toggle-group.d.ts +4 -1
  631. package/dist/toggle-group.mjs +1 -1
  632. package/dist/tooltip.d.ts +1 -1
  633. package/dist/tooltip.mjs +1 -1
  634. package/dist/wordmark.mjs +1 -1
  635. package/package.json +1 -1
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{e as _}from"./chunk-C25DZXVX.mjs";import{a as v}from"./chunk-2JTDS4MP.mjs";import{a as N}from"./chunk-R34ERHDH.mjs";import{a as x}from"./chunk-ANRZZFYR.mjs";import{a as y}from"./chunk-DG7PEGUJ.mjs";import{a as b}from"./chunk-AMNQGLMY.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-P3XOCH7J.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 v,b as g}from"./chunk-4F3PQSHZ.mjs";import{a as c,c as u,d as N}from"./chunk-P63IJSD4.mjs";import{a as l}from"./chunk-BV5X4CPX.mjs";import{b as o,j as i,n as d}from"./chunk-P3XOCH7J.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{c as l,d as p}from"./chunk-5MWWHIZ6.mjs";import{a as n,c,d as u}from"./chunk-52PXK2TT.mjs";import{b as s,j as m}from"./chunk-6DIYJ56I.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as e}from"./chunk-P3XOCH7J.mjs";import{jsx as l}from"react/jsx-runtime";function i({className:t}){return l("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e("h-10 w-10 text-black dark:text-white",t),children:l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 64C49.6731 64 64 49.6731 64 32C64 20.1555 57.5648 9.81398 48 4.28103V31.9999V47.9999H40V45.8594C37.6466 47.2208 34.9143 47.9999 32 47.9999C23.1634 47.9999 16 40.8365 16 31.9999C16 23.1634 23.1634 15.9999 32 15.9999C34.9143 15.9999 37.6466 16.7791 40 18.1404V1.00814C37.443 0.350024 34.7624 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"currentColor"})})}export{i as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as b}from"./chunk-5FRVAFM7.mjs";import{a as h}from"./chunk-NBCAXPMQ.mjs";import{a as f,c as p,p as g,q as i}from"./chunk-PUMTYUDO.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 c}from"./chunk-OO4YGAYK.mjs";import{j as s}from"./chunk-6DIYJ56I.mjs";import{cva as C}from"class-variance-authority";import{createContext as h,useContext as b,useEffect as g,useRef as x,useState as L}from"react";import{jsx as d}from"react/jsx-runtime";var E=C("w-full group/card border-gray-200 bg-white",{variants:{variant:{compact:"first-of-type:rounded-t-xl last-of-type:rounded-b-xl first-of-type:border-t border-b border-x data-[hover-state-enabled=true]:hover:bg-gray-50 transition-colors",loose:"border rounded-xl transition-[filter] data-[hover-state-enabled=true]:hover:drop-shadow-card-hover"}}}),y="w-full py-2.5 px-4",N=h({hovered:!1});function H({outerClassName:u,innerClassName:f,children:v,onClick:i,hoverStateEnabled:m=!0}){let{variant:p}=b(c),t=x(null),[a,o]=L(!1);return g(()=>{if(!a||!t.current)return;let r=setInterval(()=>{var n;((n=t.current)==null?void 0:n.matches(":hover"))===!1&&o(!1)},1e3);return()=>clearInterval(r)},[a]),d("li",{ref:t,className:s(E({variant:p}),u),onPointerEnter:()=>o(!0),onPointerLeave:()=>o(!1),"data-hover-state-enabled":m,children:d("div",{className:s(y,f),onClick:i?r=>{if(!document.getElementById("modal-backdrop")){for(let e=r.target,l=0;e&&e!==r.currentTarget&&l<100;e=e.parentElement,l++)if(["button","a","input","textarea"].includes(e.tagName.toLowerCase()))return;i()}}:void 0,children:d(N.Provider,{value:{hovered:a},children:v})})})}export{N as a,H as b};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-ZZYQ7LWX.mjs";import{a as W}from"./chunk-F3IFGUMF.mjs";import{a as D}from"./chunk-HCRYGBF4.mjs";import{a as M,d as S,e as L}from"./chunk-YMAV53AC.mjs";import{a as H}from"./chunk-CZXSO5WV.mjs";import{a as x}from"./chunk-3X52TJBU.mjs";import{a as V}from"./chunk-R34ERHDH.mjs";import{k as _}from"./chunk-YLZMTUK7.mjs";import{b as g,d as f,i as P,j as s,l as w}from"./chunk-P3XOCH7J.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{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 -translate-x-10",l==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),v(!1)},children:B("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){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",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),i=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:n,content:k})=>{let y=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:n!==void 0?e(p,{id:`nav-${n}`,href:g(n,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:O({isActive:y}),children:c})}),k&&e(a.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:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.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]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,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"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"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"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),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 it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as h}from"./chunk-M2AYZG6A.mjs";import{d as f}from"./chunk-AJ3N5KMX.mjs";import{cva as A}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as z}from"lucide-react";import*as e from"react";import{jsx as o,jsxs as C}from"react/jsx-runtime";var w=2e3,E=e.createContext(null);function g(){let a=e.useContext(E);if(!a)throw new Error("useCarousel must be used within a <Carousel />");return a}var I=e.forwardRef(({orientation:a="horizontal",opts:l,setApi:s,autoplay:n,plugins:m,className:d,children:r,...c},v)=>{let[P,t]=T({...l,axis:a==="horizontal"?"x":"y"},[...n?[k(typeof n=="object"?n:{delay:w})]:[],...m||[]]),[b,y]=e.useState(!1),[N,R]=e.useState(!1),i=e.useCallback(p=>{!p||(y(p.canScrollPrev()),R(p.canScrollNext()))},[]),u=e.useCallback(()=>{t==null||t.scrollPrev()},[t]),x=e.useCallback(()=>{t==null||t.scrollNext()},[t]),S=e.useCallback(p=>{p.key==="ArrowLeft"?(p.preventDefault(),u()):p.key==="ArrowRight"&&(p.preventDefault(),x())},[u,x]);return e.useEffect(()=>{!t||!s||s(t)},[t,s]),e.useEffect(()=>{if(!!t)return i(t),t.on("reInit",i),t.on("select",i),()=>{t==null||t.off("select",i)}},[t,i]),o(E.Provider,{value:{carouselRef:P,api:t,opts:l,orientation:a||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:u,scrollNext:x,canScrollPrev:b,canScrollNext:N},children:o("div",{ref:v,onKeyDownCapture:S,className:f("relative",d),role:"region","aria-roledescription":"carousel",...c,children:r})})});I.displayName="Carousel";var U=e.forwardRef(({className:a,...l},s)=>{let{carouselRef:n,orientation:m}=g();return o("div",{ref:n,className:"overflow-hidden",children:o("div",{ref:s,className:f("flex",m==="horizontal"?"-ml-4":"-mt-4 flex-col",a),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:a,...l},s)=>{let{orientation:n}=g();return o("div",{ref:s,role:"group","aria-roledescription":"slide",className:f("min-w-0 shrink-0 grow-0 basis-full",n==="horizontal"?"pl-4":"pt-4",a),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollPrev:m,canScrollPrev:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(D,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollNext:m,canScrollNext:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(H,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=A("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),W=({variant:a="simple",className:l})=>{var R;let{scrollNext:s,scrollPrev:n,canScrollNext:m,canScrollPrev:d,api:r}=g(),c=(R=r==null?void 0:r.plugins())==null?void 0:R.autoplay,[v,P]=e.useState(0),[t,b]=e.useState(!1),y=e.useCallback(i=>{P(i.selectedScrollSnap())},[]),N=e.useCallback(i=>()=>{c&&c.isPlaying()&&c.stop(),i()},[c]);return e.useEffect(()=>{!r||(y(r),b((c==null?void 0:c.isPlaying())??!1),r.on("reInit",y),r.on("select",y),r.on("autoplay:play",()=>b(!0)),r.on("autoplay:stop",()=>b(!1)))},[r,c,y]),C("div",{className:f(K({variant:a}),l),children:[a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:N(n),children:[o(M,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]}),r!=null&&o("div",{className:"flex items-center gap-1",children:r.slideNodes().map((i,u)=>C("button",{onClick:N(()=>r.scrollTo(u)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[o("div",{className:f("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",u===v?"bg-black":"bg-black/20",t&&u===v&&"w-6 bg-black/20"),children:t&&u===v&&o(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((c==null?void 0:c.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",u+1]})]},u))}),a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!m,onClick:N(s),children:[o(z,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})]})};export{g as a,I as b,U as c,B as d,O as e,V as f,W as g};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-BKZ6TNZC.mjs";import{a as o}from"./chunk-W3H6T7GN.mjs";import{cva as m}from"class-variance-authority";import{useState as f}from"react";import{toast as d}from"sonner";import{jsx as t,jsxs as v}from"react/jsx-runtime";var g=m("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-gray-100 hover:scale-105 hover:bg-blue-100 active:scale-95 text-gray-700 hover:text-blue-800",neutral:"bg-transparent hover:bg-gray-100 active:bg-gray-200"}},defaultVariants:{variant:"default"}});function w({variant:n="default",value:s,className:i,icon:c}){let[p,a]=f(!1),l=c||e;return v("button",{onClick:u=>{u.stopPropagation(),a(!0),navigator.clipboard.writeText(s).then(()=>{d.success("Copied to clipboard!")}),setTimeout(()=>a(!1),3e3)},className:o(g({variant:n}),i),type:"button",children:[t("span",{className:"sr-only",children:"Copy"}),p?t(r,{className:"h-3.5 w-3.5"}):t(l,{className:"h-3.5 w-3.5"})]})}export{w as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{c as m}from"./chunk-6DIYJ56I.mjs";import{Slot as w}from"@radix-ui/react-slot";import R,{useEffect as y,useState as F}from"react";import{jsxs as E}from"react/jsx-runtime";var V=R.forwardRef(({asChild:u,className:i,children:e,prefix:c,duration:t=250,as:l="span",...n},f)=>{let[r,p]=F(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let N=Number(e),o=r,d=N,b=performance.now(),a=()=>{let C=performance.now(),s=Math.min((C-b)/t,1),g=o+(d-o)*s;p(Math.round(g)),s<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},[e,t]),E(u?w:l,{ref:f,className:i,...n,children:[c,m(r,n.fullNumber?{full:!0}:void 0)]})});V.displayName="CountingNumbers";export{V as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as a}from"./chunk-6DIYJ56I.mjs";import{cva as d}from"class-variance-authority";import{jsx as s}from"react/jsx-runtime";var i=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),o=({ref:e,className:t,variant:r,...l})=>s("div",{ref:e,role:"alert",className:a(i({variant:r}),t),...l});o.displayName="Alert";var n=({ref:e,className:t,...r})=>s("h5",{ref:e,className:a("text-md mb-2 font-medium leading-none tracking-tight",t),...r});n.displayName="AlertTitle";var c=({ref:e,className:t,...r})=>s("div",{ref:e,className:a("text-sm [&_p]:leading-relaxed",t),...r});c.displayName="AlertDescription";export{o as a,n as b,c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as m}from"./chunk-YLZMTUK7.mjs";import{j as i}from"./chunk-P3XOCH7J.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{jsx as r,jsxs as n}from"react/jsx-runtime";function i(t){return r("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...t,children:n("g",{fill:"currentColor",children:[r("circle",{cx:"3.873",cy:"14.127",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"1.75",cy:"9",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"3.873",cy:"3.873",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"6.226",cy:"15.698",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"2.302",cy:"11.774",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"2.302",cy:"6.226",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"6.226",cy:"2.302",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"9",cy:"1.75",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"9",cy:"16.25",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"14.127",cy:"14.127",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"16.25",cy:"9",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"14.127",cy:"3.873",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"11.774",cy:"15.698",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"15.698",cy:"11.774",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"15.698",cy:"6.226",fill:"currentColor",r:".75",stroke:"none"}),r("circle",{cx:"11.774",cy:"2.302",fill:"currentColor",r:".75",stroke:"none"})]})})}import{jsx as e,jsxs as l}from"react/jsx-runtime";function f(t){return e("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...t,children:l("g",{fill:"currentColor",children:[e("rect",{height:"4.5",width:"4.5",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"2.75",y:"2.75"}),e("rect",{height:"4.5",width:"4.5",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"10.75",y:"2.75"}),e("rect",{height:"4.5",width:"4.5",fill:"none",rx:"1",ry:"1",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x:"2.75",y:"10.75"}),e("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"13",x2:"13",y1:"10.25",y2:"15.25"}),e("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"15.5",x2:"10.5",y1:"12.75",y2:"12.75"})]})})}import{jsx as o,jsxs as c}from"react/jsx-runtime";function p(t){return o("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...t,children:c("g",{fill:"currentColor",children:[o("path",{d:"M8.5,6.827c-.352,.168-.682,.398-.973,.69l-.01,.01c-1.381,1.381-1.381,3.619,0,5l2.175,2.175c1.381,1.381,3.619,1.381,5,0l.01-.01c1.381-1.381,1.381-3.619,0-5l-.931-.931",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M9.5,11.173c.352-.168,.682-.398,.973-.69l.01-.01c1.381-1.381,1.381-3.619,0-5l-2.175-2.175c-1.381-1.381-3.619-1.381-5,0l-.01,.01c-1.381,1.381-1.381,3.619,0,5l.931,.931",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"12.25",x2:"13",y1:"3.75",y2:"1.5"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"14.25",x2:"16.5",y1:"5.75",y2:"5"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"3.75",x2:"1.5",y1:"12.25",y2:"13"}),o("line",{fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",x1:"5.75",x2:"5",y1:"14.25",y2:"16.5"})]})})}export{i as a,f as b,p as c};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as T}from"./chunk-GVBIGY6N.mjs";import{a as A}from"./chunk-NWME2ANF.mjs";import{a as O}from"./chunk-7YG7PIL7.mjs";import{b as E}from"./chunk-FXCRIELR.mjs";import{a as g}from"./chunk-W3H6T7GN.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}=T(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(O,{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(E,{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{a as y}from"./chunk-32C65ISH.mjs";import{a as _}from"./chunk-6JPO26GL.mjs";import{a as m}from"./chunk-JFSNPBO7.mjs";import{a as L}from"./chunk-LFGWL3ID.mjs";import{a as g}from"./chunk-CZSSD6PV.mjs";import{a as H}from"./chunk-D7SRRREC.mjs";import{a as u}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as h}from"./chunk-DWACNU5E.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as C}from"./chunk-HYPLE4VW.mjs";import{a as p}from"./chunk-3KFNNXJ6.mjs";import{a as l}from"./chunk-KDNSFAET.mjs";import{a as s}from"./chunk-DMUERTF2.mjs";import{a}from"./chunk-PDSUXFDU.mjs";import{a as t}from"./chunk-NPWONPKN.mjs";import{a as r}from"./chunk-KYMBX7DZ.mjs";import{a as o}from"./chunk-2LBJI2KO.mjs";import{a as n}from"./chunk-TNAH7N5Q.mjs";import{a as i}from"./chunk-ZJICX3BL.mjs";import{jsx as e,jsxs as P}from"react/jsx-runtime";function b(S){return e("svg",{width:"130",height:"62",viewBox:"0 0 130 62",fill:"none",xmlns:"http://www.w3.org/2000/svg",...S,children:P("g",{filter:"url(#filter0_ii_6002_28760)",children:[e("path",{d:"M26.0001 20.7441C27.4318 20.5641 28.8849 20.6696 30.2755 21.0545C31.6661 21.4394 32.9666 22.096 34.102 22.9865C34.8345 24.1149 35.3016 25.3947 35.468 26.7296C35.6345 28.0646 35.496 29.4199 35.063 30.6936C34.6832 33.8292 33.1667 36.7166 30.8009 38.8092C27.9478 40.647 24.5751 41.5089 21.1901 41.2653H14.6901L18.6829 20.7859L26.0001 20.7441ZM0 62H10.6786L13.209 49.0002H22.3415C25.706 49.0858 29.0636 48.6521 32.2959 47.7141C34.9505 46.8377 37.3769 45.3819 39.3995 43.452C42.8974 40.3066 45.255 36.0912 46.1038 31.4643C46.7738 29.1614 46.8918 26.733 46.4481 24.376C46.0044 22.019 45.0117 19.7997 43.5502 17.898C41.7883 16.152 39.6664 14.8116 37.3329 13.9704C34.9993 13.1292 32.5102 12.8075 30.0394 13.0277H9.5504L0 62Z",fill:"url(#paint0_linear_6002_28760)"}),e("path",{d:"M26.0001 20.7441C27.4318 20.5641 28.8849 20.6696 30.2755 21.0545C31.6661 21.4394 32.9666 22.096 34.102 22.9865C34.8345 24.1149 35.3016 25.3947 35.468 26.7296C35.6345 28.0646 35.496 29.4199 35.063 30.6936C34.6832 33.8292 33.1667 36.7166 30.8009 38.8092C27.9478 40.647 24.5751 41.5089 21.1901 41.2653H14.6901L18.6829 20.7859L26.0001 20.7441ZM0 62H10.6786L13.209 49.0002H22.3415C25.706 49.0858 29.0636 48.6521 32.2959 47.7141C34.9505 46.8377 37.3769 45.3819 39.3995 43.452C42.8974 40.3066 45.255 36.0912 46.1038 31.4643C46.7738 29.1614 46.8918 26.733 46.4481 24.376C46.0044 22.019 45.0117 19.7997 43.5502 17.898C41.7883 16.152 39.6664 14.8116 37.3329 13.9704C34.9993 13.1292 32.5102 12.8075 30.0394 13.0277H9.5504L0 62Z",fill:"url(#paint1_radial_6002_28760)"}),e("path",{d:"M53.9367 0H64.5364L61.9689 12.9998H71.3986C75.7309 12.5462 80.0834 13.6471 83.679 16.1059C84.8687 17.4583 85.682 19.0997 86.0373 20.8655C86.3926 22.6313 86.2774 24.4595 85.7033 26.1668L81.274 48.9583H70.5489L74.7647 27.2904C75.058 26.4637 75.1627 25.5818 75.0711 24.7094C74.9795 23.837 74.694 22.9961 74.2354 22.2483C72.6985 21.1456 70.7989 20.6707 68.9239 20.9205H60.46L55.0046 48.9816H44.3817L53.9367 0Z",fill:"url(#paint2_linear_6002_28760)"}),e("path",{d:"M53.9367 0H64.5364L61.9689 12.9998H71.3986C75.7309 12.5462 80.0834 13.6471 83.679 16.1059C84.8687 17.4583 85.682 19.0997 86.0373 20.8655C86.3926 22.6313 86.2774 24.4595 85.7033 26.1668L81.274 48.9583H70.5489L74.7647 27.2904C75.058 26.4637 75.1627 25.5818 75.0711 24.7094C74.9795 23.837 74.694 22.9961 74.2354 22.2483C72.6985 21.1456 70.7989 20.6707 68.9239 20.9205H60.46L55.0046 48.9816H44.3817L53.9367 0Z",fill:"url(#paint3_radial_6002_28760)"}),e("path",{d:"M109.289 20.744C110.72 20.564 112.173 20.6695 113.564 21.0544C114.955 21.4393 116.255 22.096 117.39 22.9865C118.123 24.1148 118.59 25.3946 118.757 26.7296C118.923 28.0645 118.784 29.4198 118.351 30.6935C117.972 33.8291 116.455 36.7166 114.089 38.8092C111.231 40.6509 107.851 41.513 104.46 41.2652H97.9646L101.948 20.7626L109.289 20.744ZM83.2885 62H93.9671L96.4975 49.0001H105.635C109.005 49.0877 112.369 48.6539 115.608 47.7141C118.262 46.8377 120.689 45.3818 122.711 43.452C126.201 40.3032 128.55 36.0881 129.392 31.4642C130.062 29.1613 130.18 26.733 129.737 24.376C129.293 22.019 128.3 19.7997 126.839 17.898C125.076 16.1551 122.954 14.8176 120.622 13.9788C118.289 13.1401 115.802 12.8202 113.333 13.0416H92.811L83.2885 62Z",fill:"url(#paint4_linear_6002_28760)"}),e("path",{d:"M109.289 20.744C110.72 20.564 112.173 20.6695 113.564 21.0544C114.955 21.4393 116.255 22.096 117.39 22.9865C118.123 24.1148 118.59 25.3946 118.757 26.7296C118.923 28.0645 118.784 29.4198 118.351 30.6935C117.972 33.8291 116.455 36.7166 114.089 38.8092C111.231 40.6509 107.851 41.513 104.46 41.2652H97.9646L101.948 20.7626L109.289 20.744ZM83.2885 62H93.9671L96.4975 49.0001H105.635C109.005 49.0877 112.369 48.6539 115.608 47.7141C118.262 46.8377 120.689 45.3818 122.711 43.452C126.201 40.3032 128.55 36.0881 129.392 31.4642C130.062 29.1613 130.18 26.733 129.737 24.376C129.293 22.019 128.3 19.7997 126.839 17.898C125.076 16.1551 122.954 14.8176 120.622 13.9788C118.289 13.1401 115.802 12.8202 113.333 13.0416H92.811L83.2885 62Z",fill:"url(#paint5_radial_6002_28760)"})]})})}var R=[{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:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:L,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:H,href:"/features/personalization"},{title:"Collaboration",description:"Collaborate With Your Team",icon:y,href:"/features/collaboration"},{title:"API",description:"Programmatic Link Creation",icon:_,href:"/docs/api-reference/introduction"}],M=[{icon:o,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:s,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:t,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],w=[{icon:h,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:g,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],T=[{icon:a,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:r,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:i,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:n,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:b,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],B=[{icon:d,title:"Help Center",href:"/help"},{icon:c,title:"Docs",href:"/docs"},{icon:l,title:"Blog",href:"/blog"},{icon:C,title:"Changelog",href:"/changelog"},{icon:m,title:"Customers",href:"/customers"},{icon:u,title:"Brand",href:"/brand"}];export{R as a,M as b,w as c,T as d,B as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as q}from"./chunk-EWJFX53S.mjs";import{c as C}from"./chunk-AUVIUB37.mjs";import{a as H}from"./chunk-B3RC25PV.mjs";import{a as U}from"./chunk-EU6VTBE4.mjs";import{a as I}from"./chunk-CEFYN4GE.mjs";import{a as F}from"./chunk-NWME2ANF.mjs";import{d as T}from"./chunk-AJ3N5KMX.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(I,{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(H,{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 C}from"./chunk-6DIYJ56I.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"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:"currentColor"})})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as i}from"./chunk-W3H6T7GN.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{e as u}from"./chunk-RW6EDAD4.mjs";import{a as m,c as g,e as k}from"./chunk-P63IJSD4.mjs";import{a as f}from"./chunk-A7NYUQN4.mjs";import{a as d}from"./chunk-33FEHM4E.mjs";import{a as p}from"./chunk-BB2L46OP.mjs";import{a as c}from"./chunk-A45CKYHI.mjs";import{a as l}from"./chunk-GVTFLJ4D.mjs";import{a as h}from"./chunk-SKMCA7C5.mjs";import{b as a,j as t}from"./chunk-P3XOCH7J.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as g}from"./chunk-XQ74XO3O.mjs";import{j as c}from"./chunk-6DIYJ56I.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{e as _}from"./chunk-Z7VERCPI.mjs";import{a as v}from"./chunk-VWI4J7G4.mjs";import{a as N}from"./chunk-LMDGFZBF.mjs";import{a as x}from"./chunk-R5ORX2EN.mjs";import{a as y}from"./chunk-MKRDG7UO.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-C7A44MOD.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-6DIYJ56I.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{e as u}from"./chunk-C7R42YPC.mjs";import{a as m,c as g,e as k}from"./chunk-52PXK2TT.mjs";import{a as d}from"./chunk-ECTQAWFA.mjs";import{a as p}from"./chunk-TP3DJ5XB.mjs";import{a as c}from"./chunk-HYJNJFSD.mjs";import{a as l}from"./chunk-QRW2ATDC.mjs";import{a as h}from"./chunk-G2YX3W5E.mjs";import{a as f}from"./chunk-ZIH2X3O6.mjs";import{b as a,j as t}from"./chunk-6DIYJ56I.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";var v=[{name:"Spotify Link Shortener",href:"/tools/spotify-link-shortener",icon:p},{name:"ChatGPT Link Shortener",href:"/tools/chatgpt-link-shortener",icon:l},{name:"GitHub Link Shortener",href:"/tools/github-link-shortener",icon:f},{name:"Google Link Shortener",href:"/tools/google-link-shortener",icon:d},{name:"Amazon Link Shortener",href:"/tools/amazon-link-shortener",icon:c},{name:"Figma Link Shortener",href:"/tools/figma-link-shortener",icon:h}];function _({domain:o}){return s("div",{className:"grid w-[32rem] grid-cols-[7fr_5fr]",children:[s("div",{className:"p-5",children:[e("p",{className:t(m,"mb-2"),children:"Tools"}),e("div",{className:"flex flex-col gap-2",children:v.map(({name:r,href:n,icon:i})=>e(k,{name:r,href:a(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(i,{})}))})]}),s("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:t(m,"mb-2"),children:"Resources"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:u.map(({icon:r,title:n,href:i})=>e(g,{href:a(i,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:n}),icon:e(r,{className:t("h-5 w-5 shrink-0 text-gray-600 dark:text-white/60")}),title:n,showArrow:!0}))})]})]})}export{_ as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-ALISNYZP.mjs";import{a as W}from"./chunk-CZ2I3ZFJ.mjs";import{a as D}from"./chunk-TBBKYE32.mjs";import{a as M,d as S,e as L}from"./chunk-H5U2WDV2.mjs";import{a as H}from"./chunk-4LBIU7YD.mjs";import{a as x}from"./chunk-ITAZZT6Z.mjs";import{a as V}from"./chunk-LMDGFZBF.mjs";import{k as _}from"./chunk-XQ74XO3O.mjs";import{b as g,d as f,i as P,j as s,l as w}from"./chunk-6DIYJ56I.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{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 -translate-x-10",l==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),v(!1)},children:B("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){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",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),i=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:n,content:k})=>{let y=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:n!==void 0?e(p,{id:`nav-${n}`,href:g(n,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:O({isActive:y}),children:c})}),k&&e(a.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:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.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]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,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"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"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"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),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 it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as W}from"./chunk-HL3GAQXZ.mjs";import{a as D}from"./chunk-4TLJYKJE.mjs";import{a as E}from"./chunk-GIQYO2RI.mjs";import{a as M,d as S,e as L}from"./chunk-C7R42YPC.mjs";import{a as H}from"./chunk-4LBIU7YD.mjs";import{a as x}from"./chunk-ITAZZT6Z.mjs";import{a as V}from"./chunk-LMDGFZBF.mjs";import{k as _}from"./chunk-TA3ZNMS6.mjs";import{b as g,d as f,i as P,j as s,l as w}from"./chunk-6DIYJ56I.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{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 -translate-x-10",l==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),v(!1)},children:B("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){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",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),i=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:n,content:k})=>{let y=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:n!==void 0?e(p,{id:`nav-${n}`,href:g(n,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:O({isActive:y}),children:c})}),k&&e(a.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:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.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]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,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"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"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"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),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 it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-P3XOCH7J.mjs";import{cva as g}from"class-variance-authority";import{Calendar as p,ChevronDown as l}from"lucide-react";import{forwardRef as d}from"react";import{jsx as r,jsxs as f}from"react/jsx-runtime";var m=g(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),y=d(({className:o,children:e,placeholder:a,hasError:n,...s},i)=>f("button",{ref:i,className:t(m({hasError:n}),o),...s,children:[r(p,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]}));y.displayName="DatePicker.Trigger";export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as t}from"./chunk-6DIYJ56I.mjs";import{cva as p}from"class-variance-authority";import{Calendar as g,ChevronDown as l}from"lucide-react";import{jsx as r,jsxs as c}from"react/jsx-runtime";var d=p(["group peer flex cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 h-10 outline-none transition-all text-sm","bg-white border-gray-200 text-gray-900 placeholder-gray-400 transition-all","disabled:pointer-events-none disabled:bg-gray-100 disabled:text-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"],{variants:{hasError:{true:"ring-2 ring-red-200 border-red-500"}}}),m=({ref:o,className:n,children:e,placeholder:a,hasError:s,...i})=>c("button",{ref:o,className:t(d({hasError:s}),n),...i,children:[r(g,{className:t("h-4 w-4 shrink-0 text-gray-400",!!e&&"text-gray-900")}),r("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:e||(a?r("span",{className:"text-gray-400",children:a}):null)}),r(l,{className:"h-4 w-4 flex-shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]});m.displayName="DatePicker.Trigger";export{m as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as n}from"./chunk-I7YEG3EC.mjs";import{j as i}from"./chunk-6DIYJ56I.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 v,b as g}from"./chunk-LQSNOKVB.mjs";import{a as c,c as u,d as N}from"./chunk-P63IJSD4.mjs";import{a as l}from"./chunk-BV5X4CPX.mjs";import{b as o,j as i,n as d}from"./chunk-P3XOCH7J.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as v,b as g}from"./chunk-VBRYFB57.mjs";import{a as c,c as u,d as N}from"./chunk-52PXK2TT.mjs";import{a as l}from"./chunk-I7YEG3EC.mjs";import{b as o,j as i,n as d}from"./chunk-6DIYJ56I.mjs";import{ChevronRight as h}from"lucide-react";import _ from"next/link";import{jsx as t,jsxs as a}from"react/jsx-runtime";function y({domain:e}){return a("div",{className:"grid w-[40rem] grid-cols-2",children:[a("div",{className:"p-5",children:[t("p",{className:i(c,"mb-2"),children:"Features"}),t("div",{className:"-mx-2 -mb-2 grid grid-cols-1 gap-0.5",children:v.map(({icon:m,title:r,description:s,href:n})=>t(u,{href:o(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:r}),icon:t(N,{icon:m}),title:r,description:s},n))})]}),a("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[a(_,{href:o("/customers",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Customer Stories"}),className:i(c,"group mb-2 flex items-center transition-colors hover:text-black dark:hover:text-white"),children:["Customer Stories",t(h,{className:"ml-0.5 h-2.5 w-2.5 transition-transform group-hover:translate-x-px"})]}),t("div",{className:"grid grid-cols-1",children:g.map(({icon:m,iconClassName:r,title:s,description:n,href:p})=>t(u,{href:o(p,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:s}),className:"-mx-2",icon:t(m,{className:i("h-7 w-7 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:s,description:n,descriptionLines:2},p))}),t("p",{className:i(c,"my-4"),children:"Compare"}),t("div",{className:"flex flex-col gap-1.5",children:d.map(({name:m,slug:r})=>a(_,{href:o(`/compare/${r}`,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:`Dub vs. ${m}`}),className:"group flex items-center gap-0.5 text-gray-500 transition-colors hover:text-gray-700 dark:text-white/60 dark:hover:text-white/80",children:[a("p",{className:"text-sm font-medium",children:["Dub vs. ",m]})," ",t(l,{className:"h-3 w-3"})]},r))})]})]})}export{y as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as b}from"./chunk-CUVHJITJ.mjs";import{h as g,j as u}from"./chunk-6DIYJ56I.mjs";import{AnimatePresence as k,motion as x}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as C,jsx as t,jsxs as s}from"react/jsx-runtime";function I({filters:l,activeFilters:i,onRemove:h,onRemoveAll:w,className:v}){return t(b,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:s("div",{className:u("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap sm:items-center",v),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(k,{children:i==null?void 0:i.map(({key:o,value:a})=>{if(o==="loader")return t(x.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-${a}`);let e=l.find(r=>r.key===o);if(!e)throw new Error("Filter.List received an activeFilter without a corresponding filter");return(e.multiple&&Array.isArray(a)?a:[a]).map(r=>{var d,c,y;let n=(d=e.options)==null?void 0:d.find(p=>typeof p.value=="string"&&typeof r=="string"?p.value.toLowerCase()===r.toLowerCase():p.value===r),m=(n==null?void 0:n.icon)??((c=e.getOptionIcon)==null?void 0:c.call(e,r,{key:e.key,option:n}))??e.icon,N=(n==null?void 0:n.label)??((y=e.getOptionLabel)==null?void 0:y.call(e,r,{key:e.key,option:n}))??r;return s(x.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:[s("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:f(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?s(C,{children:[t("span",{className:"shrink-0 text-gray-600",children:f(m)?m:t(m,{className:"h-4 w-4"})}),g(N,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:()=>h(o,r),children:t(L,{className:"h-3.5 w-3.5"})})]},o)})})})}),(i==null?void 0:i.length)!==0&&t("button",{type:"button",className:"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:w,children:"Clear Filters"})]})})}var f=l=>A(l);export{I as a};
@@ -0,0 +1,6 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-RDVP3GQQ.mjs";import{a as W}from"./chunk-I4NPNBDK.mjs";import{a as D}from"./chunk-YWNDJDTN.mjs";import{a as M,d as S,e as L}from"./chunk-KGZDF445.mjs";import{a as H}from"./chunk-4LBIU7YD.mjs";import{a as x}from"./chunk-ITAZZT6Z.mjs";import{a as V}from"./chunk-LMDGFZBF.mjs";import{k as _}from"./chunk-XQ74XO3O.mjs";import{b as g,d as f,i as P,j as s,l as w}from"./chunk-6DIYJ56I.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{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 -translate-x-10",l==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),v(!1)},children:B("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){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",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),i=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:n,content:k})=>{let y=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:n!==void 0?e(p,{id:`nav-${n}`,href:g(n,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:O({isActive:y}),children:c})}),k&&e(a.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:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.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]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,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"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"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"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),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 it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{b as l}from"./chunk-BGUNR3SF.mjs";import{q as n}from"./chunk-PUMTYUDO.mjs";import*as i from"@radix-ui/react-switch";import{useMemo as b}from"react";import{jsx as t}from"react/jsx-runtime";function S({fn:r,trackDimensions:d,thumbDimensions:u,thumbTranslate:s,checked:h=!0,loading:o=!1,disabled:a=!1,disabledTooltip:e}){let m=b(()=>e?!0:a||o,[e,a,o]),c=t(i.Root,{checked:o?!1:h,name:"switch",...r&&{onCheckedChange:r},disabled:m,className:n("radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 relative inline-flex h-4 w-8 flex-shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out","focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","data-[disabled]:cursor-not-allowed",d),children:t(i.Thumb,{className:n(`radix-state-checked:${s}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",u,s)})});return e?t(l,{content:e,children:t("div",{children:c})}):c}export{S as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{k as m}from"./chunk-BGUNR3SF.mjs";import{q as i}from"./chunk-PUMTYUDO.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,6 @@
1
+ "use client"
2
+ import{a as E}from"./chunk-BIALFYHT.mjs";import{a as W}from"./chunk-EN5WL75R.mjs";import{a as D}from"./chunk-RFFTXCOF.mjs";import{a as M,d as S,e as L}from"./chunk-VWI4J7G4.mjs";import{a as H}from"./chunk-ENROZ42Q.mjs";import{a as x}from"./chunk-N2XLUNHL.mjs";import{a as V}from"./chunk-ANCLQBRG.mjs";import{k as _}from"./chunk-BGUNR3SF.mjs";import{a as f,c as g,f as w,p as P,q as s}from"./chunk-PUMTYUDO.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),T(()=>{i()},[i]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
3
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
4
+ </svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
5
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
6
+ </svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:i="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{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 -translate-x-10",l==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),v(!1)},children:B("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(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){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",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),i=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:s("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:n,content:k})=>{let y=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:n!==void 0?e(p,{id:`nav-${n}`,href:g(n,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:O({isActive:y}),children:c})}),k&&e(a.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:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.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]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,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"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"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"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),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 it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as t}from"./chunk-AJ3N5KMX.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{c as b}from"./chunk-5CXIVLES.mjs";import{a as h}from"./chunk-HZHGV2FJ.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-6DIYJ56I.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 n}from"./chunk-GV2NLM3E.mjs";import{a as s}from"./chunk-IGIB6XZB.mjs";import{a as o}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as r}from"./chunk-W3H6T7GN.mjs";import{cva as g}from"class-variance-authority";import{jsx as f,jsxs as m}from"react/jsx-runtime";var d=g("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"}}),u={neutral:o,success:n,pending:s,error:c};function B({className:i,variant:e,icon:t,children:l,...p}){let a=t!==null?t??u[e??"neutral"]:null;return m("span",{className:r(d({variant:e}),i),...p,children:[a&&f(a,{className:"h-3 w-3 shrink-0"}),l]})}export{d 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-JFSNPBO7.mjs";import{a as m}from"./chunk-LFGWL3ID.mjs";import{a as g}from"./chunk-CZSSD6PV.mjs";import{a as y}from"./chunk-D7SRRREC.mjs";import{a as u}from"./chunk-BOCPUR5Z.mjs";import{a as f}from"./chunk-SBK5CRMY.mjs";import{a as d}from"./chunk-JBURS7BX.mjs";import{a as p}from"./chunk-DWACNU5E.mjs";import{a as c}from"./chunk-2W2M7KTU.mjs";import{a as l}from"./chunk-HYPLE4VW.mjs";import{a as h}from"./chunk-3KFNNXJ6.mjs";import{a}from"./chunk-KDNSFAET.mjs";import{a as n}from"./chunk-DMUERTF2.mjs";import{a as s}from"./chunk-PDSUXFDU.mjs";import{a as t}from"./chunk-NPWONPKN.mjs";import{a as o}from"./chunk-KYMBX7DZ.mjs";import{a as i}from"./chunk-2LBJI2KO.mjs";import{a as r}from"./chunk-TNAH7N5Q.mjs";import{a as e}from"./chunk-ZJICX3BL.mjs";var R=[{title:"Advanced Analytics",description:"Powerful Analytics For The Modern Marketer",icon:h,href:"/help/article/dub-analytics"},{title:"Branded Links",description:"Branded Links That Stand Out",icon:f,href:"/features/branded-links"},{title:"QR Codes",description:"Gorgeous QR codes for your links",icon:m,href:"/features/qr-codes"},{title:"Personalization",description:"Personalize Your Short Links",icon:y,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"}],x=[{icon:i,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:n,iconClassName:"group-hover:text-[#268472]",title:"Tinybird",description:"How Tinybird uses Dub.co to enhance their digital marketing strategies",href:"/customers/tinybird"},{icon:t,iconClassName:"group-hover:text-[#4C51BF]",title:"Prisma",description:"How Prisma uses Dub.co to improve insights for pris.ly links",href:"/customers/prisma"}],P=[{icon:p,title:"Developers",description:"API for efficient link management",href:"/docs/introduction"},{icon:g,title:"Enterprise",description:"Scalable link management solutions",href:"/enterprise"}],v=[{icon:s,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:o,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:e,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:r,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"}],T=[{icon:d,title:"Help Center",href:"/help"},{icon:c,title:"Docs",href:"/docs"},{icon:a,title:"Blog",href:"/blog"},{icon:l,title:"Changelog",href:"/changelog"},{icon:b,title:"Customers",href:"/customers"},{icon:u,title:"Brand",href:"/brand"}];export{R as a,x as b,P as c,v as d,T as e};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as o}from"./chunk-P3XOCH7J.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{c as A}from"./chunk-6CP4OSYZ.mjs";import{a as j}from"./chunk-L4OOMW4Q.mjs";import{a as T}from"./chunk-GVBIGY6N.mjs";import{a as S}from"./chunk-NWME2ANF.mjs";import{a as K}from"./chunk-HZHGV2FJ.mjs";import{a as H}from"./chunk-LPV7TLRR.mjs";import{a as M}from"./chunk-YURUGH4S.mjs";import{a as z}from"./chunk-HBOI5765.mjs";import{h as O,j as k}from"./chunk-6DIYJ56I.mjs";import{Command as d,useCommandState as U}from"cmdk";import{ChevronDown as Z,ListFilter as q}from"lucide-react";import{forwardRef as G,isValidElement as $,useCallback as N,useEffect as J,useImperativeHandle as X,useRef as E,useState as R}from"react";import{Fragment as B,jsx as n,jsxs as i}from"react/jsx-runtime";function ye({filters:e,onSelect:r,onRemove:a,onOpenFilter:l,activeFilters:s,askAI:u,children:h,emptyState:c,className:b}){var L;let{isMobile:g}=S(),v=E(null),P=E(),[x,f]=R(!1);A("f",()=>f(!0),{enabled:!x});let[y,w]=R(""),[p,F]=R(null),C=N(()=>{w(""),F(null)},[]);J(()=>{x||C()},[x]);let o=p?e.find(({key:t})=>t===p):null,V=N(t=>{v.current&&(P.current={width:v.current.scrollWidth,height:v.current.scrollHeight}),w(""),F(t),l==null||l(t)},[]),D=N(t=>{if(!o||!s)return!1;let m=s.find(({key:Q})=>Q===p);return(m==null?void 0:m.value)===t||m&&o.multiple&&Array.isArray(m.value)&&m.value.includes(t)},[o]),I=N(t=>{o&&(D(t)?a(o.key,t):r(o.key,t),o.multiple||f(!1))},[s,o,u]);return n(j,{openPopover:x,setOpenPopover:f,onEscapeKeyDown:t=>{p&&(t.preventDefault(),C())},content:n(K,{width:!g,height:!0,className:"rounded-[inherit]",style:{transform:"translateZ(0)"},children:i(d,{loop:!0,children:[i("div",{className:"flex items-center overflow-hidden rounded-t-lg border-b border-gray-200",children:[n(_,{placeholder:`${(o==null?void 0:o.label)||"Filter"}...`,value:y,onValueChange:w,onKeyDown:t=>{(t.key==="Escape"||t.key==="Backspace"&&!y)&&(t.preventDefault(),t.stopPropagation(),p?C():f(!1))},emptySubmit:t=>{t.preventDefault(),t.stopPropagation(),u?(r("ai",o?`${o.label} ${y}`:y),f(!1)):I(y)}}),!o&&n("kbd",{className:"mr-2 hidden shrink-0 rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-500 md:block",children:"F"})]}),n(ee,{ref:v,children:i(d.List,{className:k("flex w-full flex-col gap-1 p-1",o?"min-w-[100px]":"min-w-[180px]"),children:[o?((L=o.options)==null?void 0:L.map(t=>{let m=D(t.value);return n(W,{filter:o,option:t,right:m?n(H,{className:"h-4 w-4"}):t.right,onSelect:()=>I(t.value)},t.value)}))??n(d.Loading,{children:n("div",{className:"-m-1 flex items-center justify-center",style:P.current,children:n(z,{})})}):e.map(t=>i(B,{children:[n(W,{filter:t,onSelect:()=>V(t.key)},t.key),t.separatorAfter&&n(d.Separator,{className:"-mx-1 my-1 border-b border-gray-200"})]})),(!o||o.options)&&n(te,{search:y,askAI:u,children:c?Y(c)?(c==null?void 0:c[p??"default"])??"No matches":c:"No matches"})]})},p)]})}),children:i("button",{type:"button",className:k("group flex h-10 cursor-pointer appearance-none items-center gap-x-2 truncate rounded-md border px-3 text-sm outline-none transition-all","border-gray-200 bg-white text-gray-900 placeholder-gray-400","focus-visible:border-gray-500 data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200",b),children:[n(q,{className:"size-4 shrink-0"}),n("span",{className:"flex-1 overflow-hidden text-ellipsis whitespace-nowrap text-left text-gray-900",children:h??"Filter"}),s!=null&&s.length?n("div",{className:"flex size-4 shrink-0 items-center justify-center rounded-full bg-black text-[0.625rem] text-white",children:s.length}):n(Z,{className:"size-4 shrink-0 text-gray-400 transition-transform duration-75 group-data-[state=open]:rotate-180"})]})})}function Y(e){return typeof e=="object"&&e!==null&&!$(e)}var _=e=>{let r=U(a=>a.filtered.count===0);return n(d.Input,{...e,size:1,className:"grow border-0 py-3 pl-4 pr-2 outline-none placeholder:text-gray-400 focus:ring-0 sm:text-sm",onKeyDown:a=>{var l,s;(l=e.onKeyDown)==null||l.call(e,a),a.key==="Enter"&&r&&((s=e.emptySubmit)==null||s.call(e,a))},autoCapitalize:"none"})},ee=G(({children:e},r)=>{let a=E(null);X(r,()=>a.current);let{scrollProgress:l,updateScrollProgress:s}=T(a);return i(B,{children:[n("div",{className:"scrollbar-hide max-h-[50vh] w-screen overflow-y-scroll sm:w-auto",ref:a,onScroll:s,children:e}),n("div",{className:"pointer-events-none absolute bottom-0 left-0 hidden h-16 w-full bg-gradient-to-t from-white sm:block",style:{opacity:1-Math.pow(l,2)}})]})});function W({filter:e,option:r,right:a,onSelect:l}){var c,b;let{isMobile:s}=S(),u=r?r.icon??((c=e.getOptionIcon)==null?void 0:c.call(e,r.value,{key:e.key,option:r}))??e.icon:e.icon,h=r?r.label??((b=e.getOptionLabel)==null?void 0:b.call(e,r.value,{key:e.key,option:r})):e.label;return i(d.Item,{className:k("flex cursor-pointer items-center gap-3 whitespace-nowrap rounded-md px-3 py-2 text-left text-sm","data-[selected=true]:bg-gray-100"),onPointerDown:g=>{g.preventDefault()},onPointerUp:g=>{g.preventDefault(),s?setTimeout(l,100):l()},onSelect:l,value:h+(r==null?void 0:r.value),children:[n("span",{className:"shrink-0 text-gray-600",children:ne(u)?u:n(u,{className:"h-4 w-4"})}),O(h,48),n("div",{className:"ml-1 flex shrink-0 grow justify-end text-gray-500",children:a})]})}var te=({search:e,askAI:r,children:a})=>r&&e?i(d.Empty,{className:"flex min-w-[180px] items-center space-x-2 rounded-md bg-gray-100 px-3 py-2",children:[n(M,{className:"h-4 w-4"}),i("p",{className:"text-center text-sm text-gray-600",children:["Ask AI ",i("span",{className:"text-black",children:['"',e,'"']})]})]}):n(d.Empty,{className:"p-2 text-center text-sm text-gray-400",children:a}),ne=e=>$(e);export{ye as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{d as e}from"./chunk-AJ3N5KMX.mjs";import{jsx as t,jsxs as C}from"react/jsx-runtime";function o({className:a}){return C("svg",{className:e("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[t("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_linear_39_35)"}),t("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M167.627 151.288C165.868 148.976 155.967 150.187 151.538 150.74C150.176 150.91 149.967 149.698 151.198 148.825C159.073 143.144 172.023 144.772 173.515 146.687C175.032 148.602 173.137 161.895 165.718 168.236C164.584 169.22 163.503 168.692 164.012 167.402C165.66 163.141 169.406 153.595 167.627 151.288ZM161.889 158.017C148.087 168.43 128.096 174 110.873 174C86.7384 174 65.0031 164.852 48.5549 149.615C47.2658 148.423 48.424 146.794 49.9749 147.72C67.7121 158.308 89.6704 164.668 112.331 164.668C127.607 164.668 144.438 161.43 159.888 154.686C162.233 153.683 164.186 156.257 161.894 158.002M120.018 102.131C120.018 108.758 120.187 114.27 116.989 120.141C114.415 124.911 110.325 127.849 105.765 127.849C99.5374 127.849 95.9221 122.889 95.9221 115.559C95.9221 101.093 108.304 98.4611 120.022 98.4611L120.022 102.136M136.379 143.493C135.317 144.496 133.766 144.574 132.555 143.91C127.18 139.231 126.211 137.055 123.24 132.585C114.343 142.092 108.057 144.932 96.5085 144.932C82.8614 144.932 72.2288 136.129 72.2288 118.497C72.2288 104.729 79.3673 95.3391 89.5105 90.753C98.2967 86.7002 110.601 85.9828 120.008 84.863L120.008 82.6669C120.008 78.6335 120.313 73.8632 118.06 70.3776C116.073 67.2508 112.288 65.9661 108.954 65.9661C102.765 65.9661 97.2548 69.2819 95.9124 76.1562C95.6265 77.6881 94.57 79.1861 93.0919 79.2637L77.361 77.5039C76.0379 77.1839 74.5792 76.0641 74.9379 73.9456C78.5725 54.0258 95.8009 48 111.207 48C119.102 48 129.419 50.1961 135.632 56.4449C143.527 64.153 142.771 74.4352 142.771 85.6289L142.771 112.064C142.771 120.019 145.911 123.5 148.887 127.8C149.929 129.318 150.156 131.169 148.848 132.309C145.533 135.227 139.65 140.564 136.412 143.575L136.354 143.517",fill:"url(#paint1_radial_39_35)"}),C("defs",{children:[C("linearGradient",{id:"paint0_linear_39_35",x1:"0",y1:"0",x2:"222",y2:"222",gradientUnits:"userSpaceOnUse",children:[t("stop",{stopColor:"#FF9900"}),t("stop",{offset:"0.5",stopColor:"#FF9900"}),t("stop",{offset:"1",stopColor:"#EA580C"})]}),C("radialGradient",{id:"paint1_radial_39_35",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(48 48) rotate(45) scale(178.191 178.229)",children:[t("stop",{stopColor:"white"}),t("stop",{offset:"1",stopColor:"white",stopOpacity:"0.5"})]})]})]})}export{o as a};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{a as r}from"./chunk-GV2NLM3E.mjs";import{a as n}from"./chunk-IGIB6XZB.mjs";import{a as s}from"./chunk-GYE7FFDN.mjs";import{a as o}from"./chunk-UUJYTAK4.mjs";import{cva as g}from"class-variance-authority";import{jsx as f,jsxs as m}from"react/jsx-runtime";var d=g("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"}}),u={neutral:s,success:r,pending:n,error:o};function y({className:i,variant:e,icon:t,children:l,...p}){let a=t!==null?t??u[e??"neutral"]:null;return m("span",{className:(void 0)(d({variant:e}),i),...p,children:[a&&f(a,{className:"h-3 w-3 shrink-0"}),l]})}export{d as a,y as b};
@@ -0,0 +1,2 @@
1
+ "use client"
2
+ import{j as r}from"./chunk-6DIYJ56I.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as a}from"lucide-react";import{jsx as c,jsxs as f}from"react/jsx-runtime";var A=e.Root,m=({ref:t,className:o,...i})=>c(e.Item,{ref:t,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...i});m.displayName="AccordionItem";var d=({ref:t,className:o,children:i,...n})=>c(e.Header,{className:"flex",children:f(e.Trigger,{ref:t,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...n,children:[i,c(a,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})});d.displayName=e.Trigger.displayName;var s=({ref:t,className:o,children:i,...n})=>c(e.Content,{ref:t,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...n,children:i});s.displayName=e.Content.displayName;export{A as a,m as b,d as c,s as d};