@dub/ui 0.1.48 → 0.1.49
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.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/animated-size-container.d.ts +10 -10
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/card-list/card-list-card.mjs +1 -1
- package/dist/card-list/card-list.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-22NAXNYG.mjs +2 -0
- package/dist/chunk-23NNICQO.mjs +6 -0
- package/dist/chunk-23RDJUKP.mjs +2 -0
- package/dist/chunk-24FUTCT2.mjs +2 -0
- package/dist/chunk-25OHIYK3.mjs +2 -0
- package/dist/chunk-273URXQA.mjs +2 -0
- package/dist/chunk-2A5BIRIP.mjs +2 -0
- package/dist/chunk-2AIGND5R.mjs +2 -0
- package/dist/chunk-2DDAYBYE.mjs +6 -0
- package/dist/chunk-2EJMIJ6J.mjs +2 -0
- package/dist/chunk-2FG3IYHG.mjs +2 -0
- package/dist/chunk-2HLJNX72.mjs +2 -0
- package/dist/chunk-2IYW3UZE.mjs +2 -0
- package/dist/chunk-2IZ3D6KE.mjs +2 -0
- package/dist/chunk-2JCFTLI7.mjs +2 -0
- package/dist/chunk-2JCWLC66.mjs +2 -0
- package/dist/chunk-2ML7L6FM.mjs +2 -0
- package/dist/chunk-2ON6WNTR.mjs +2 -0
- package/dist/chunk-2OOIHGXY.mjs +2 -0
- package/dist/chunk-2QITJKMH.mjs +2 -0
- package/dist/chunk-2WUVJ2NH.mjs +2 -0
- package/dist/chunk-2XQRP4TN.mjs +2 -0
- package/dist/chunk-32DSMWY6.mjs +2 -0
- package/dist/chunk-33L42TAM.mjs +2 -0
- package/dist/chunk-35D45LRD.mjs +2 -0
- package/dist/chunk-35HXEBK7.mjs +2 -0
- package/dist/chunk-35YUYSFG.mjs +2 -0
- package/dist/chunk-36RWXJUP.mjs +2 -0
- package/dist/chunk-3BL7AWP4.mjs +2 -0
- package/dist/chunk-3CCNGLLD.mjs +2 -0
- package/dist/chunk-3DLHPB35.mjs +2 -0
- package/dist/chunk-3DRWIIKY.mjs +2 -0
- package/dist/chunk-3EMY45AJ.mjs +2 -0
- package/dist/chunk-3G22JO6L.mjs +2 -0
- package/dist/chunk-3GOEN7O7.mjs +2 -0
- package/dist/chunk-3IMH3BQB.mjs +2 -0
- package/dist/chunk-3IVWKAUU.mjs +2 -0
- package/dist/chunk-3KHJ3HAI.mjs +2 -0
- package/dist/chunk-3LXZKLV6.mjs +2 -0
- package/dist/chunk-3NDTY5YR.mjs +2 -0
- package/dist/chunk-3NZ4224O.mjs +2 -0
- package/dist/chunk-3OD5IBGM.mjs +2 -0
- package/dist/chunk-3SDASONQ.mjs +2 -0
- package/dist/chunk-3SKV6MV2.mjs +2 -0
- package/dist/chunk-3SLPIXPE.mjs +2 -0
- package/dist/chunk-3VI4NG4F.mjs +2 -0
- package/dist/chunk-3XXKAOTH.mjs +2 -0
- package/dist/chunk-3YT4FPKT.mjs +2 -0
- package/dist/chunk-422IY3JU.mjs +2 -0
- package/dist/chunk-4243CTIT.mjs +2 -0
- package/dist/chunk-427QXU2H.mjs +2 -0
- package/dist/chunk-43ATJEML.mjs +2 -0
- package/dist/chunk-43JMKRTI.mjs +2 -0
- package/dist/chunk-43P2RA3P.mjs +2 -0
- package/dist/chunk-44QF4Q4E.mjs +2 -0
- package/dist/chunk-44ZRHFQV.mjs +2 -0
- package/dist/chunk-453GQPSZ.mjs +2 -0
- package/dist/chunk-46QW5Z3L.mjs +2 -0
- package/dist/chunk-46W3YPVJ.mjs +6 -0
- package/dist/chunk-4BRQPCQX.mjs +6 -0
- package/dist/chunk-4C6AAVE5.mjs +2 -0
- package/dist/chunk-4C6SCIK5.mjs +2 -0
- package/dist/chunk-4C6YKVNK.mjs +2 -0
- package/dist/chunk-4DE3EGAX.mjs +2 -0
- package/dist/chunk-4DVEACY4.mjs +2 -0
- package/dist/chunk-4FJZ5HO2.mjs +2 -0
- package/dist/chunk-4HQNLVYZ.mjs +2 -0
- package/dist/chunk-4JWJBOID.mjs +2 -0
- package/dist/chunk-4KAIJ2PN.mjs +2 -0
- package/dist/chunk-4NFHXOYD.mjs +2 -0
- package/dist/chunk-4O5TZ2KC.mjs +2 -0
- package/dist/chunk-4OBKAEYD.mjs +2 -0
- package/dist/chunk-4ODM5B7S.mjs +2 -0
- package/dist/chunk-4PAED5GX.mjs +2 -0
- package/dist/chunk-4PJIUDQV.mjs +2 -0
- package/dist/chunk-4PTDXAPQ.mjs +2 -0
- package/dist/chunk-4RSWNV4O.mjs +2 -0
- package/dist/chunk-4WP25M2J.mjs +2 -0
- package/dist/chunk-4WS4LKYS.mjs +2 -0
- package/dist/chunk-4XABMYPC.mjs +2 -0
- package/dist/chunk-4XJKBFVU.mjs +2 -0
- package/dist/chunk-4YMEHZTF.mjs +2 -0
- package/dist/chunk-4YXRM7JD.mjs +2 -0
- package/dist/chunk-4Z6EDBRO.mjs +2 -0
- package/dist/chunk-4ZSDDMCN.mjs +2 -0
- package/dist/chunk-53KEBZCT.mjs +2 -0
- package/dist/chunk-53YNBNAF.mjs +2 -0
- package/dist/chunk-55JZH6UJ.mjs +2 -0
- package/dist/chunk-56SCTDCQ.mjs +2 -0
- package/dist/chunk-56XYCCOT.mjs +2 -0
- package/dist/chunk-572QH4JE.mjs +2 -0
- package/dist/chunk-5AIJBQD3.mjs +2 -0
- package/dist/chunk-5ASD7JKI.mjs +2 -0
- package/dist/chunk-5CRCLQ4G.mjs +2 -0
- package/dist/chunk-5ECHSMFM.mjs +2 -0
- package/dist/chunk-5GWKTEZF.mjs +6 -0
- package/dist/chunk-5GZULATY.mjs +2 -0
- package/dist/chunk-5HQOARUM.mjs +2 -0
- package/dist/chunk-5IELALXU.mjs +2 -0
- package/dist/chunk-5IUDKZRC.mjs +2 -0
- package/dist/chunk-5L2F5YGP.mjs +2 -0
- package/dist/chunk-5MQZ6DR6.mjs +2 -0
- package/dist/chunk-5NJUUM4A.mjs +2 -0
- package/dist/chunk-5OUBXYME.mjs +2 -0
- package/dist/chunk-5PKBPZWX.mjs +2 -0
- package/dist/chunk-5PYPFP3X.mjs +2 -0
- package/dist/chunk-5RUB24CM.mjs +2 -0
- package/dist/chunk-5UGUMIFA.mjs +2 -0
- package/dist/chunk-5UIHTMFP.mjs +2 -0
- package/dist/chunk-5UJFB4KV.mjs +2 -0
- package/dist/chunk-5VBDFOVR.mjs +2 -0
- package/dist/chunk-5WAK6JQN.mjs +2 -0
- package/dist/chunk-5YMZ7FRQ.mjs +2 -0
- package/dist/chunk-5YODJHK2.mjs +2 -0
- package/dist/chunk-5ZG62R72.mjs +2 -0
- package/dist/chunk-5ZKQOIW2.mjs +2 -0
- package/dist/chunk-5ZZLN5OB.mjs +2 -0
- package/dist/chunk-63MX7RQP.mjs +2 -0
- package/dist/chunk-63P7RIH6.mjs +42 -0
- package/dist/chunk-65LYF6WL.mjs +2 -0
- package/dist/chunk-66IPK5YP.mjs +2 -0
- package/dist/chunk-67YMHDJD.mjs +6 -0
- package/dist/chunk-6A75A2FH.mjs +2 -0
- package/dist/chunk-6C3PVW6W.mjs +2 -0
- package/dist/chunk-6GRCMJ3Q.mjs +2 -0
- package/dist/chunk-6IWIWNO7.mjs +2 -0
- package/dist/chunk-6IZETGO5.mjs +6 -0
- package/dist/chunk-6KDP7BFY.mjs +2 -0
- package/dist/chunk-6LAHF3Y4.mjs +2 -0
- package/dist/chunk-6NRGLTPE.mjs +2 -0
- package/dist/chunk-6O2Q3B33.mjs +2 -0
- package/dist/chunk-6QLFYB4S.mjs +2 -0
- package/dist/chunk-6QSYAPJO.mjs +2 -0
- package/dist/chunk-6R4575YD.mjs +2 -0
- package/dist/chunk-6RR5XDAM.mjs +2 -0
- package/dist/chunk-6T626G5C.mjs +2 -0
- package/dist/chunk-6U5NOONY.mjs +2 -0
- package/dist/chunk-6USOWHBO.mjs +2 -0
- package/dist/chunk-6UWR4G4N.mjs +2 -0
- package/dist/chunk-6YDLQ6KZ.mjs +2 -0
- package/dist/chunk-6ZCHSM5T.mjs +2 -0
- package/dist/chunk-6ZXVTFL4.mjs +2 -0
- package/dist/chunk-6ZZ4SRML.mjs +2 -0
- package/dist/chunk-72LH6S6F.mjs +2 -0
- package/dist/chunk-75L6HGDT.mjs +2 -0
- package/dist/chunk-76WN7CTM.mjs +2 -0
- package/dist/chunk-7AHOEIPO.mjs +2 -0
- package/dist/chunk-7CJZLDQ3.mjs +2 -0
- package/dist/chunk-7COBAAPH.mjs +2 -0
- package/dist/chunk-7COSJ6X3.mjs +2 -0
- package/dist/chunk-7H3UAXAJ.mjs +2 -0
- package/dist/chunk-7I5QU3JV.mjs +2 -0
- package/dist/chunk-7JOYJRZP.mjs +6 -0
- package/dist/chunk-7LP7MO74.mjs +2 -0
- package/dist/chunk-7NMYHXZ3.mjs +6 -0
- package/dist/chunk-7ODX4NR5.mjs +2 -0
- package/dist/chunk-7PWUGWTF.mjs +6 -0
- package/dist/chunk-7SISBAYR.mjs +2 -0
- package/dist/chunk-7VLOA36W.mjs +2 -0
- package/dist/chunk-7VON2AS5.mjs +2 -0
- package/dist/chunk-7WBKPYBU.mjs +2 -0
- package/dist/chunk-7WT5CJXO.mjs +2 -0
- package/dist/chunk-7XZFYZOD.mjs +6 -0
- package/dist/chunk-A2X6XOLM.mjs +2 -0
- package/dist/chunk-A3BUGDOC.mjs +2 -0
- package/dist/chunk-A4H3QFMY.mjs +2 -0
- package/dist/chunk-A4U2UREA.mjs +2 -0
- package/dist/chunk-A5JGLBFE.mjs +2 -0
- package/dist/chunk-A62HJFSN.mjs +2 -0
- package/dist/chunk-A6F7WIMG.mjs +2 -0
- package/dist/chunk-A73XLARM.mjs +2 -0
- package/dist/chunk-ACEQFX2H.mjs +2 -0
- package/dist/chunk-ACWLQVIB.mjs +2 -0
- package/dist/chunk-AE2EG64P.mjs +2 -0
- package/dist/chunk-AEK72E3W.mjs +2 -0
- package/dist/chunk-AFMH76RF.mjs +2 -0
- package/dist/chunk-AH3F2E7F.mjs +2 -0
- package/dist/chunk-AH4TPN5V.mjs +2 -0
- package/dist/chunk-AHDVMLND.mjs +2 -0
- package/dist/chunk-AI45C35P.mjs +2 -0
- package/dist/chunk-AJ2JKCIW.mjs +2 -0
- package/dist/chunk-AJNHTHD5.mjs +2 -0
- package/dist/chunk-AJV4PHI7.mjs +2 -0
- package/dist/chunk-AM7KIWH3.mjs +2 -0
- package/dist/chunk-ANJ66J6O.mjs +2 -0
- package/dist/chunk-ANRNBKRQ.mjs +2 -0
- package/dist/chunk-AOKSDYJ7.mjs +2 -0
- package/dist/chunk-ARLUDVHU.mjs +6 -0
- package/dist/chunk-ATYE6AUI.mjs +6 -0
- package/dist/chunk-AV7OGLS4.mjs +2 -0
- package/dist/chunk-AVTGNNNV.mjs +2 -0
- package/dist/chunk-AVZPH4DO.mjs +2 -0
- package/dist/chunk-AXOP3MI3.mjs +2 -0
- package/dist/chunk-AXT4XNL5.mjs +2 -0
- package/dist/chunk-AYP5YOCM.mjs +2 -0
- package/dist/chunk-B25RIBQD.mjs +2 -0
- package/dist/chunk-B46BKSNE.mjs +2 -0
- package/dist/chunk-B4GA3CWB.mjs +2 -0
- package/dist/chunk-B4VZN2SI.mjs +2 -0
- package/dist/chunk-B6EVUOVF.mjs +2 -0
- package/dist/chunk-B6G7YZJ2.mjs +2 -0
- package/dist/chunk-BAPWVLDP.mjs +2 -0
- package/dist/chunk-BBIPMNK4.mjs +2 -0
- package/dist/chunk-BCLJBZEI.mjs +2 -0
- package/dist/chunk-BDFPYSHL.mjs +2 -0
- package/dist/chunk-BDKOYMF5.mjs +2 -0
- package/dist/chunk-BDR36H4O.mjs +2 -0
- package/dist/chunk-BE3DYM6Z.mjs +2 -0
- package/dist/chunk-BHYOENDG.mjs +2 -0
- package/dist/chunk-BIQERMTV.mjs +2 -0
- package/dist/chunk-BIVNYJFP.mjs +2 -0
- package/dist/chunk-BK6REBI3.mjs +2 -0
- package/dist/chunk-BMBA3E5J.mjs +2 -0
- package/dist/chunk-BPGNPRRN.mjs +2 -0
- package/dist/chunk-BS5RLEUR.mjs +2 -0
- package/dist/chunk-BUTS2IB2.mjs +2 -0
- package/dist/chunk-BWGMAKU3.mjs +2 -0
- package/dist/chunk-BX3PO7IC.mjs +2 -0
- package/dist/chunk-BXUKX4G4.mjs +2 -0
- package/dist/chunk-BYDYC4RX.mjs +2 -0
- package/dist/chunk-BZSESK7P.mjs +2 -0
- package/dist/chunk-C4QFSH7H.mjs +2 -0
- package/dist/chunk-C4UARAHC.mjs +2 -0
- package/dist/chunk-C67XAOB2.mjs +2 -0
- package/dist/chunk-C6K2MQFZ.mjs +2 -0
- package/dist/chunk-C6NC44XO.mjs +2 -0
- package/dist/chunk-C6ZP7RAL.mjs +2 -0
- package/dist/chunk-C7ENMLVS.mjs +2 -0
- package/dist/chunk-C7UQSVRB.mjs +2 -0
- package/dist/chunk-CAISCJQR.mjs +2 -0
- package/dist/chunk-CAMXSPQG.mjs +2 -0
- package/dist/chunk-CANKYRZE.mjs +2 -0
- package/dist/chunk-CBUI36ZN.mjs +2 -0
- package/dist/chunk-CDHGJKKQ.mjs +2 -0
- package/dist/chunk-CDM57QCX.mjs +2 -0
- package/dist/chunk-CEENQJTK.mjs +2 -0
- package/dist/chunk-CELJF6PR.mjs +2 -0
- package/dist/chunk-CEOILQKG.mjs +2 -0
- package/dist/chunk-CFOCWHW5.mjs +2 -0
- package/dist/chunk-CG5WXGWN.mjs +2 -0
- package/dist/chunk-CGMAYXFS.mjs +2 -0
- package/dist/chunk-CI56ACV7.mjs +2 -0
- package/dist/chunk-CI6BTWGR.mjs +2 -0
- package/dist/chunk-CKICXCX6.mjs +2 -0
- package/dist/chunk-CO5CVBTL.mjs +2 -0
- package/dist/chunk-CP4SL6I7.mjs +2 -0
- package/dist/chunk-CP5YW3UG.mjs +2 -0
- package/dist/chunk-CQY4ZLJL.mjs +2 -0
- package/dist/chunk-CT2HDWKI.mjs +2 -0
- package/dist/chunk-CTZFJVQH.mjs +2 -0
- package/dist/chunk-CWUVRBAA.mjs +2 -0
- package/dist/chunk-D3J6OL5L.mjs +2 -0
- package/dist/chunk-D4KMHDYY.mjs +2 -0
- package/dist/chunk-D7P4TB65.mjs +6 -0
- package/dist/chunk-D7YHPRA2.mjs +2 -0
- package/dist/chunk-DACV7S7H.mjs +2 -0
- package/dist/chunk-DD7STCJA.mjs +2 -0
- package/dist/chunk-DF7W2LR7.mjs +2 -0
- package/dist/chunk-DH7HUD4M.mjs +2 -0
- package/dist/chunk-DJ4OHDEQ.mjs +2 -0
- package/dist/chunk-DJEESYVY.mjs +2 -0
- package/dist/chunk-DJGGRRJT.mjs +2 -0
- package/dist/chunk-DJM7MRIL.mjs +2 -0
- package/dist/chunk-DJUF462J.mjs +2 -0
- package/dist/chunk-DLR5NRDH.mjs +2 -0
- package/dist/chunk-DN4EFRAJ.mjs +2 -0
- package/dist/chunk-DO2GLTWB.mjs +2 -0
- package/dist/chunk-DOJW3SSP.mjs +2 -0
- package/dist/chunk-DOR5OC7V.mjs +2 -0
- package/dist/chunk-DPJPONF6.mjs +2 -0
- package/dist/chunk-DQIJNENA.mjs +2 -0
- package/dist/chunk-DRXALOUE.mjs +2 -0
- package/dist/chunk-DS4CRJMI.mjs +2 -0
- package/dist/chunk-DTZRWJVM.mjs +2 -0
- package/dist/chunk-DXVENRMC.mjs +2 -0
- package/dist/chunk-DZ6T5H4R.mjs +6 -0
- package/dist/chunk-E6ISNBOI.mjs +2 -0
- package/dist/chunk-EAON6EMD.mjs +2 -0
- package/dist/chunk-EAV2MQEB.mjs +6 -0
- package/dist/chunk-EBLSZAP3.mjs +6 -0
- package/dist/chunk-ECMEJZ5B.mjs +2 -0
- package/dist/chunk-EE2PYIB3.mjs +2 -0
- package/dist/chunk-EFYJCLRA.mjs +2 -0
- package/dist/chunk-EGAKI6AW.mjs +2 -0
- package/dist/chunk-EH6KAB6U.mjs +2 -0
- package/dist/chunk-EHBLPTMR.mjs +2 -0
- package/dist/chunk-EINQVAJR.mjs +2 -0
- package/dist/chunk-EK26SPLR.mjs +2 -0
- package/dist/chunk-EKYCGTYB.mjs +2 -0
- package/dist/chunk-ELX45NCU.mjs +2 -0
- package/dist/chunk-EN2GCI6U.mjs +2 -0
- package/dist/chunk-ENSJS5W5.mjs +2 -0
- package/dist/chunk-EOXNPWOZ.mjs +2 -0
- package/dist/chunk-EPNGI5OV.mjs +2 -0
- package/dist/chunk-EPT2TKGR.mjs +2 -0
- package/dist/chunk-ERAFKXGK.mjs +2 -0
- package/dist/chunk-ESK53FFP.mjs +2 -0
- package/dist/chunk-EUFF5X7K.mjs +2 -0
- package/dist/chunk-EUHWUMCT.mjs +2 -0
- package/dist/chunk-EUMXWAYY.mjs +2 -0
- package/dist/chunk-EVNMGS3H.mjs +2 -0
- package/dist/chunk-EWATFFJD.mjs +2 -0
- package/dist/chunk-EYBBQPQM.mjs +2 -0
- package/dist/chunk-EYD7MNZ3.mjs +2 -0
- package/dist/chunk-F4TGFSJU.mjs +2 -0
- package/dist/chunk-F4ZZMPP5.mjs +2 -0
- package/dist/chunk-FADLFNFJ.mjs +2 -0
- package/dist/chunk-FAYUVIFZ.mjs +2 -0
- package/dist/chunk-FBFDFRPO.mjs +2 -0
- package/dist/chunk-FBPPH4HJ.mjs +2 -0
- package/dist/chunk-FCRALFQ3.mjs +2 -0
- package/dist/chunk-FDSEM6XD.mjs +2 -0
- package/dist/chunk-FDTE77RX.mjs +2 -0
- package/dist/chunk-FEUOQJQC.mjs +2 -0
- package/dist/chunk-FEYPHQP6.mjs +2 -0
- package/dist/chunk-FGVCQTQX.mjs +2 -0
- package/dist/chunk-FHY5ADRE.mjs +2 -0
- package/dist/chunk-FK7TJH2E.mjs +2 -0
- package/dist/chunk-FLGNSDFW.mjs +2 -0
- package/dist/chunk-FNMS2OG4.mjs +2 -0
- package/dist/chunk-FP3RMEUJ.mjs +2 -0
- package/dist/chunk-FPALBQTK.mjs +2 -0
- package/dist/chunk-FPIO3G7K.mjs +2 -0
- package/dist/chunk-FPMBW4CY.mjs +2 -0
- package/dist/chunk-FQJSWC54.mjs +2 -0
- package/dist/chunk-FQZRRYLB.mjs +2 -0
- package/dist/chunk-FRBO77VK.mjs +2 -0
- package/dist/chunk-FSBJYIUO.mjs +2 -0
- package/dist/chunk-FT75GKSW.mjs +2 -0
- package/dist/chunk-FU2ZPWNL.mjs +2 -0
- package/dist/chunk-FU4AOOIZ.mjs +2 -0
- package/dist/chunk-FUECQ2KU.mjs +2 -0
- package/dist/chunk-FUIWQFR5.mjs +2 -0
- package/dist/chunk-FUKZZ2JR.mjs +2 -0
- package/dist/chunk-FVCTXMTQ.mjs +2 -0
- package/dist/chunk-FVRMEWFM.mjs +2 -0
- package/dist/chunk-FXAQV7EG.mjs +2 -0
- package/dist/chunk-FXK7UY3Z.mjs +2 -0
- package/dist/chunk-FZKQL7ZJ.mjs +2 -0
- package/dist/chunk-FZOWRCXO.mjs +2 -0
- package/dist/chunk-G27EKD3I.mjs +2 -0
- package/dist/chunk-G2PXZ25Q.mjs +2 -0
- package/dist/chunk-G44KSHJD.mjs +2 -0
- package/dist/chunk-G4IJBVVK.mjs +2 -0
- package/dist/chunk-G4KHMZL5.mjs +2 -0
- package/dist/chunk-G6C6GEM3.mjs +2 -0
- package/dist/chunk-GATV5MAA.mjs +2 -0
- package/dist/chunk-GE4DWTVW.mjs +2 -0
- package/dist/chunk-GHXIGUPQ.mjs +2 -0
- package/dist/chunk-GJF7ZDNK.mjs +2 -0
- package/dist/chunk-GK6SGLLH.mjs +2 -0
- package/dist/chunk-GKD2ZBKC.mjs +2 -0
- package/dist/chunk-GL3KA5IB.mjs +2 -0
- package/dist/chunk-GNDJFNMK.mjs +2 -0
- package/dist/chunk-GO2Q7ZTW.mjs +2 -0
- package/dist/chunk-GPI5MA4U.mjs +2 -0
- package/dist/chunk-GRGXUHMG.mjs +2 -0
- package/dist/chunk-GSOY3F74.mjs +2 -0
- package/dist/chunk-GSQHD2ND.mjs +2 -0
- package/dist/chunk-GV4UDZ2E.mjs +2 -0
- package/dist/chunk-GXHGVMSC.mjs +2 -0
- package/dist/chunk-GXZMMKF6.mjs +2 -0
- package/dist/chunk-GY5GQNYX.mjs +2 -0
- package/dist/chunk-H2ZUTAAV.mjs +2 -0
- package/dist/chunk-H4KJULVF.mjs +2 -0
- package/dist/chunk-H5R4PE75.mjs +2 -0
- package/dist/chunk-H6BB6ON6.mjs +2 -0
- package/dist/chunk-HA2O6KH7.mjs +2 -0
- package/dist/chunk-HA73SPKT.mjs +2 -0
- package/dist/chunk-HAH4TIC2.mjs +2 -0
- package/dist/chunk-HB6PA4ZE.mjs +2 -0
- package/dist/chunk-HCJIBK6P.mjs +2 -0
- package/dist/chunk-HCVGGIJI.mjs +2 -0
- package/dist/chunk-HCVWVKKQ.mjs +2 -0
- package/dist/chunk-HEJBH4RF.mjs +2 -0
- package/dist/chunk-HFTYTP7L.mjs +2 -0
- package/dist/chunk-HIRKF4HX.mjs +2 -0
- package/dist/chunk-HJC4BGHY.mjs +2 -0
- package/dist/chunk-HN6U7ERC.mjs +2 -0
- package/dist/chunk-HQ3YJ4WL.mjs +2 -0
- package/dist/chunk-HQLMOCT4.mjs +2 -0
- package/dist/chunk-HQTY5ZS3.mjs +2 -0
- package/dist/chunk-HQXXG5KN.mjs +2 -0
- package/dist/chunk-HR4W3O5S.mjs +2 -0
- package/dist/chunk-HRUCYWRQ.mjs +2 -0
- package/dist/chunk-HS5QTQMP.mjs +2 -0
- package/dist/chunk-HSXPGKCH.mjs +2 -0
- package/dist/chunk-HTDH67PN.mjs +2 -0
- package/dist/chunk-HTQ5AOBE.mjs +2 -0
- package/dist/chunk-HUPXLMDX.mjs +2 -0
- package/dist/chunk-HURUSY6V.mjs +2 -0
- package/dist/chunk-HXYZX7EO.mjs +2 -0
- package/dist/chunk-HYMMBJ33.mjs +2 -0
- package/dist/chunk-I6ILMACW.mjs +2 -0
- package/dist/chunk-I6WNZ74A.mjs +2 -0
- package/dist/chunk-I7XIQLVB.mjs +2 -0
- package/dist/chunk-IDCP7MTO.mjs +2 -0
- package/dist/chunk-IDG34L2A.mjs +2 -0
- package/dist/chunk-IFD4YAA5.mjs +6 -0
- package/dist/chunk-IFVFPQAV.mjs +2 -0
- package/dist/chunk-IFZ62UV7.mjs +2 -0
- package/dist/chunk-IIQ2WOKC.mjs +2 -0
- package/dist/chunk-IIT5MRZS.mjs +2 -0
- package/dist/chunk-IJLTZDPY.mjs +6 -0
- package/dist/chunk-IJMSIO7L.mjs +2 -0
- package/dist/chunk-IKGWBLWD.mjs +2 -0
- package/dist/chunk-ILBNOJZP.mjs +2 -0
- package/dist/chunk-INULGLE3.mjs +2 -0
- package/dist/chunk-IOD3HZUM.mjs +2 -0
- package/dist/chunk-IPCQEXZQ.mjs +2 -0
- package/dist/chunk-IQWLKJPF.mjs +2 -0
- package/dist/chunk-IRZ7DTTP.mjs +2 -0
- package/dist/chunk-ISY3E567.mjs +2 -0
- package/dist/chunk-IVZEKIJK.mjs +2 -0
- package/dist/chunk-IZGY6TIH.mjs +2 -0
- package/dist/chunk-J2D3PVOB.mjs +2 -0
- package/dist/chunk-J3QEY74O.mjs +2 -0
- package/dist/chunk-J3RECJUU.mjs +2 -0
- package/dist/chunk-J4JUWCCZ.mjs +2 -0
- package/dist/chunk-J4ZXUFOQ.mjs +2 -0
- package/dist/chunk-J5ARXNQF.mjs +2 -0
- package/dist/chunk-J5WNW5GN.mjs +2 -0
- package/dist/chunk-J7ICNTZZ.mjs +2 -0
- package/dist/chunk-JB6WLOY6.mjs +2 -0
- package/dist/chunk-JEMOXXDH.mjs +2 -0
- package/dist/chunk-JH44MBIA.mjs +2 -0
- package/dist/chunk-JHCSEMW6.mjs +2 -0
- package/dist/chunk-JIXB43GY.mjs +2 -0
- package/dist/chunk-JJCKCFE3.mjs +2 -0
- package/dist/chunk-JJPZIW3G.mjs +2 -0
- package/dist/chunk-JKMSDZTI.mjs +2 -0
- package/dist/chunk-JKXT2XTX.mjs +2 -0
- package/dist/chunk-JL7LR7MU.mjs +2 -0
- package/dist/chunk-JMTINCAY.mjs +2 -0
- package/dist/chunk-JNEGBWO7.mjs +2 -0
- package/dist/chunk-JP2R2YLI.mjs +2 -0
- package/dist/chunk-JPPFH5UJ.mjs +2 -0
- package/dist/chunk-JPZ2GQIU.mjs +2 -0
- package/dist/chunk-JRJTCAG3.mjs +2 -0
- package/dist/chunk-JRR2MXEZ.mjs +2 -0
- package/dist/chunk-JSHUNVYM.mjs +2 -0
- package/dist/chunk-JSLA6GSX.mjs +2 -0
- package/dist/chunk-JSSRWBD6.mjs +2 -0
- package/dist/chunk-JTDGM3O3.mjs +2 -0
- package/dist/chunk-JWEZDESX.mjs +2 -0
- package/dist/chunk-JX3LBTX5.mjs +2 -0
- package/dist/chunk-JXGIGHSU.mjs +2 -0
- package/dist/chunk-JXIYOJ33.mjs +2 -0
- package/dist/chunk-JZAK2PAL.mjs +2 -0
- package/dist/chunk-K3WQZM5G.mjs +6 -0
- package/dist/chunk-K6XSCMFN.mjs +2 -0
- package/dist/chunk-K7QNT5JU.mjs +2 -0
- package/dist/chunk-KA356Y5I.mjs +2 -0
- package/dist/chunk-KBAGIDFD.mjs +2 -0
- package/dist/chunk-KBYSDWVE.mjs +2 -0
- package/dist/chunk-KC66WCYT.mjs +2 -0
- package/dist/chunk-KGVHKITT.mjs +2 -0
- package/dist/chunk-KHHIGRQY.mjs +2 -0
- package/dist/chunk-KKIAVF4C.mjs +2 -0
- package/dist/chunk-KM4EVV2D.mjs +2 -0
- package/dist/chunk-KMM5CNSV.mjs +2 -0
- package/dist/chunk-KNU6YXYI.mjs +2 -0
- package/dist/chunk-KP4DJWIU.mjs +2 -0
- package/dist/chunk-KPWF5NED.mjs +2 -0
- package/dist/chunk-KPXQHFCX.mjs +2 -0
- package/dist/chunk-KQHEBBKB.mjs +2 -0
- package/dist/chunk-KQOA7F5L.mjs +2 -0
- package/dist/chunk-KYGMCAXC.mjs +2 -0
- package/dist/chunk-KYPA2FGS.mjs +2 -0
- package/dist/chunk-KZBFOZAI.mjs +2 -0
- package/dist/chunk-KZVFGIJQ.mjs +2 -0
- package/dist/chunk-L25IVHCF.mjs +2 -0
- package/dist/chunk-L2BB3NHG.mjs +6 -0
- package/dist/chunk-L2YVLLMT.mjs +2 -0
- package/dist/chunk-L5RHGBTC.mjs +2 -0
- package/dist/chunk-L5WFVUSW.mjs +2 -0
- package/dist/chunk-L7XKVAL5.mjs +2 -0
- package/dist/chunk-LA3PA7IH.mjs +2 -0
- package/dist/chunk-LA62RD65.mjs +2 -0
- package/dist/chunk-LAALG5IT.mjs +2 -0
- package/dist/chunk-LAR2O456.mjs +2 -0
- package/dist/chunk-LBQQETOX.mjs +2 -0
- package/dist/chunk-LC3ZEXAW.mjs +2 -0
- package/dist/chunk-LD5K5HX4.mjs +2 -0
- package/dist/chunk-LDKCMSFI.mjs +2 -0
- package/dist/chunk-LDWVJ2R6.mjs +6 -0
- package/dist/chunk-LEWW5UZB.mjs +2 -0
- package/dist/chunk-LIFSTNU2.mjs +2 -0
- package/dist/chunk-LJC2WLLQ.mjs +2 -0
- package/dist/chunk-LM3HP5UL.mjs +2 -0
- package/dist/chunk-LMHHMVKN.mjs +2 -0
- package/dist/chunk-LMLEUP7D.mjs +2 -0
- package/dist/chunk-LO7OFAGJ.mjs +2 -0
- package/dist/chunk-LQMB5IQY.mjs +2 -0
- package/dist/chunk-LT54V5FC.mjs +2 -0
- package/dist/chunk-LTHAQDNF.mjs +2 -0
- package/dist/chunk-LWC6GKT5.mjs +2 -0
- package/dist/chunk-LXZW6PCW.mjs +2 -0
- package/dist/chunk-LZ3HM5NI.mjs +2 -0
- package/dist/chunk-M3BWVKU4.mjs +2 -0
- package/dist/chunk-M4O5LLJY.mjs +2 -0
- package/dist/chunk-M65XFQLP.mjs +2 -0
- package/dist/chunk-M6E34RFX.mjs +2 -0
- package/dist/chunk-MAPLYWOT.mjs +2 -0
- package/dist/chunk-MASVAPJ5.mjs +2 -0
- package/dist/chunk-MCJCL2DA.mjs +2 -0
- package/dist/chunk-MDGJPT2P.mjs +2 -0
- package/dist/chunk-MDYOMSDR.mjs +2 -0
- package/dist/chunk-MMOBJPUB.mjs +2 -0
- package/dist/chunk-MNLX5HH5.mjs +2 -0
- package/dist/chunk-MPD2XPYY.mjs +2 -0
- package/dist/chunk-MXNJNXQB.mjs +2 -0
- package/dist/chunk-MYGZPM77.mjs +2 -0
- package/dist/chunk-N3L6ME4G.mjs +2 -0
- package/dist/chunk-N5KYKC2L.mjs +2 -0
- package/dist/chunk-N6KW4WHO.mjs +2 -0
- package/dist/chunk-NDTGUNTD.mjs +2 -0
- package/dist/chunk-NE5NSNHK.mjs +2 -0
- package/dist/chunk-NECGKCPR.mjs +2 -0
- package/dist/chunk-NEZZR4DT.mjs +2 -0
- package/dist/chunk-NFGRFGFO.mjs +2 -0
- package/dist/chunk-NG5CFUMB.mjs +2 -0
- package/dist/chunk-NGE4VLBC.mjs +2 -0
- package/dist/chunk-NGVO5OYK.mjs +2 -0
- package/dist/chunk-NHLTHLFZ.mjs +2 -0
- package/dist/chunk-NIFCGNAX.mjs +2 -0
- package/dist/chunk-NKGY7GQO.mjs +6 -0
- package/dist/chunk-NNGZY4T2.mjs +2 -0
- package/dist/chunk-NOR2NUP5.mjs +2 -0
- package/dist/chunk-NQ54M3MK.mjs +2 -0
- package/dist/chunk-NRFEUJQV.mjs +2 -0
- package/dist/chunk-NSXBQ3H6.mjs +2 -0
- package/dist/chunk-NTK5XKGP.mjs +2 -0
- package/dist/chunk-NUATTHU6.mjs +2 -0
- package/dist/chunk-NVAMFIYE.mjs +2 -0
- package/dist/chunk-NVS5AQXL.mjs +2 -0
- package/dist/chunk-NWGK4WXZ.mjs +2 -0
- package/dist/chunk-NY6NL5Y2.mjs +2 -0
- package/dist/chunk-NYMZVGKV.mjs +2 -0
- package/dist/chunk-O2BBLNO4.mjs +2 -0
- package/dist/chunk-O2SVQ432.mjs +2 -0
- package/dist/chunk-O3UUTCXF.mjs +2 -0
- package/dist/chunk-O53FFFVJ.mjs +2 -0
- package/dist/chunk-O7LOFABU.mjs +2 -0
- package/dist/chunk-OBSJ26DC.mjs +2 -0
- package/dist/chunk-OFH6ZRRM.mjs +2 -0
- package/dist/chunk-OFO2V2CL.mjs +2 -0
- package/dist/chunk-OFTO5PJX.mjs +2 -0
- package/dist/chunk-OG26DL5O.mjs +2 -0
- package/dist/chunk-OGCNPABA.mjs +2 -0
- package/dist/chunk-OH7X2AAM.mjs +2 -0
- package/dist/chunk-OLCVDQK2.mjs +2 -0
- package/dist/chunk-OLCXVUVR.mjs +2 -0
- package/dist/chunk-OLUB2ZJO.mjs +2 -0
- package/dist/chunk-OMUXQM6Z.mjs +2 -0
- package/dist/chunk-OPX3FSOC.mjs +2 -0
- package/dist/chunk-OTACYADH.mjs +2 -0
- package/dist/chunk-OTRA5GT4.mjs +2 -0
- package/dist/chunk-OUNBV4A6.mjs +2 -0
- package/dist/chunk-OW34YH3Y.mjs +2 -0
- package/dist/chunk-OYTED6VT.mjs +2 -0
- package/dist/chunk-OZ73YHQ2.mjs +2 -0
- package/dist/chunk-OZNU7B4F.mjs +2 -0
- package/dist/chunk-P2BOIC7D.mjs +2 -0
- package/dist/chunk-P2QJQNQK.mjs +2 -0
- package/dist/chunk-P2U4FWC2.mjs +2 -0
- package/dist/chunk-P2UWP7AS.mjs +2 -0
- package/dist/chunk-P2YIOQJL.mjs +2 -0
- package/dist/chunk-P5UVBSBF.mjs +2 -0
- package/dist/chunk-P6CPFI6N.mjs +2 -0
- package/dist/chunk-P6IC2G2M.mjs +2 -0
- package/dist/chunk-P76XGBTQ.mjs +2 -0
- package/dist/chunk-PAPGXELS.mjs +2 -0
- package/dist/chunk-PB7J3ZC2.mjs +2 -0
- package/dist/chunk-PCHRUCNB.mjs +2 -0
- package/dist/chunk-PE4VUGG5.mjs +2 -0
- package/dist/chunk-PFSKMYZI.mjs +2 -0
- package/dist/chunk-PHN7XP3N.mjs +2 -0
- package/dist/chunk-PHXVWZOC.mjs +2 -0
- package/dist/chunk-PIHNIQML.mjs +2 -0
- package/dist/chunk-PJ2NG35E.mjs +2 -0
- package/dist/chunk-PJNIYPR4.mjs +2 -0
- package/dist/chunk-PKSGS2NV.mjs +2 -0
- package/dist/chunk-PKUYPNUC.mjs +6 -0
- package/dist/chunk-PLAFAIXE.mjs +2 -0
- package/dist/chunk-PO4ANOG7.mjs +2 -0
- package/dist/chunk-PPVEC75Z.mjs +2 -0
- package/dist/chunk-PSNDORGS.mjs +2 -0
- package/dist/chunk-PTPL27UJ.mjs +2 -0
- package/dist/chunk-PU2LMK6H.mjs +2 -0
- package/dist/chunk-PV3ADSTI.mjs +2 -0
- package/dist/chunk-PXECNQDK.mjs +2 -0
- package/dist/chunk-PYOYRSSJ.mjs +2 -0
- package/dist/chunk-PZZNSQY3.mjs +2 -0
- package/dist/chunk-Q2OONXGP.mjs +2 -0
- package/dist/chunk-Q3EBVGRF.mjs +2 -0
- package/dist/chunk-QA63CHQK.mjs +2 -0
- package/dist/chunk-QAVNLHDH.mjs +2 -0
- package/dist/chunk-QCL4564N.mjs +2 -0
- package/dist/chunk-QEQNMWQQ.mjs +2 -0
- package/dist/chunk-QH63NBTN.mjs +2 -0
- package/dist/chunk-QHL2WILX.mjs +2 -0
- package/dist/chunk-QIPG66PH.mjs +2 -0
- package/dist/chunk-QIYSVA2R.mjs +2 -0
- package/dist/chunk-QJH5VZ3N.mjs +2 -0
- package/dist/chunk-QJPGTPEF.mjs +2 -0
- package/dist/chunk-QK2DN5ZU.mjs +2 -0
- package/dist/chunk-QKWFDEQ6.mjs +2 -0
- package/dist/chunk-QMRAHEMG.mjs +2 -0
- package/dist/chunk-QN2MDHKI.mjs +2 -0
- package/dist/chunk-QN7666I3.mjs +2 -0
- package/dist/chunk-QNGSXAMF.mjs +2 -0
- package/dist/chunk-QNLBX3DM.mjs +2 -0
- package/dist/chunk-QOVCHFKC.mjs +2 -0
- package/dist/chunk-QP5A27T3.mjs +2 -0
- package/dist/chunk-QQAOWKBK.mjs +2 -0
- package/dist/chunk-QVQPJP2E.mjs +2 -0
- package/dist/chunk-QW2FQUGK.mjs +2 -0
- package/dist/chunk-QW3RZBHV.mjs +2 -0
- package/dist/chunk-QXADUOFQ.mjs +2 -0
- package/dist/chunk-QXTA4IXG.mjs +2 -0
- package/dist/chunk-QY7S3OVF.mjs +2 -0
- package/dist/chunk-QYAK5WP7.mjs +2 -0
- package/dist/chunk-QYWP6BEE.mjs +2 -0
- package/dist/chunk-QZJWMSZB.mjs +2 -0
- package/dist/chunk-R2S7OIMH.mjs +2 -0
- package/dist/chunk-R5H2LLBM.mjs +2 -0
- package/dist/chunk-R7A65AUE.mjs +2 -0
- package/dist/chunk-RA2ZFAHV.mjs +2 -0
- package/dist/chunk-RAMYR4JT.mjs +2 -0
- package/dist/chunk-RBAQ6WKF.mjs +2 -0
- package/dist/chunk-RDIA3QQN.mjs +6 -0
- package/dist/chunk-RFI4IO7H.mjs +2 -0
- package/dist/chunk-RFNSSWJ5.mjs +2 -0
- package/dist/chunk-RFUIJMSR.mjs +6 -0
- package/dist/chunk-RHLE2FNS.mjs +6 -0
- package/dist/chunk-RK4H2UTZ.mjs +2 -0
- package/dist/chunk-RKUUDTHF.mjs +2 -0
- package/dist/chunk-RLAZ2OXA.mjs +2 -0
- package/dist/chunk-RPJKSGF3.mjs +2 -0
- package/dist/chunk-RRTRY4DS.mjs +2 -0
- package/dist/chunk-RSGSUMY5.mjs +2 -0
- package/dist/chunk-RSLUS3EQ.mjs +2 -0
- package/dist/chunk-RSYEQ36A.mjs +2 -0
- package/dist/chunk-RVIE5XDF.mjs +2 -0
- package/dist/chunk-RXF2NLZP.mjs +2 -0
- package/dist/chunk-RZRK5SAO.mjs +2 -0
- package/dist/chunk-S2ZCYKGQ.mjs +2 -0
- package/dist/chunk-SB3IKSBN.mjs +2 -0
- package/dist/chunk-SBXLCDP2.mjs +2 -0
- package/dist/chunk-SDLDQLZT.mjs +2 -0
- package/dist/chunk-SE5QSZCW.mjs +2 -0
- package/dist/chunk-SECCV3SC.mjs +2 -0
- package/dist/chunk-SEL247OY.mjs +2 -0
- package/dist/chunk-SF6IJTPT.mjs +2 -0
- package/dist/chunk-SIGNMMTD.mjs +2 -0
- package/dist/chunk-SKF2FJSG.mjs +2 -0
- package/dist/chunk-SLE6DQM2.mjs +2 -0
- package/dist/chunk-SLL4RXBJ.mjs +2 -0
- package/dist/chunk-SLWLJA7A.mjs +2 -0
- package/dist/chunk-SMC2DMMT.mjs +2 -0
- package/dist/chunk-SMGDX4AI.mjs +2 -0
- package/dist/chunk-SO7QXAMT.mjs +2 -0
- package/dist/chunk-SR5SKKJA.mjs +2 -0
- package/dist/chunk-SSF4EROF.mjs +2 -0
- package/dist/chunk-SUPZHV74.mjs +2 -0
- package/dist/chunk-SVMEK6N2.mjs +2 -0
- package/dist/chunk-SWHIZWDR.mjs +2 -0
- package/dist/chunk-SXYYB4TW.mjs +2 -0
- package/dist/chunk-SZCV74PV.mjs +2 -0
- package/dist/chunk-T4DOOPVI.mjs +2 -0
- package/dist/chunk-T5FGR56U.mjs +2 -0
- package/dist/chunk-T63SEMYC.mjs +2 -0
- package/dist/chunk-TDDLGIXX.mjs +2 -0
- package/dist/chunk-TEATKRSS.mjs +2 -0
- package/dist/chunk-TGBUAMA7.mjs +2 -0
- package/dist/chunk-TJJVZEUJ.mjs +2 -0
- package/dist/chunk-TKIFNHHS.mjs +2 -0
- package/dist/chunk-TL2W44XU.mjs +2 -0
- package/dist/chunk-TLOKOADV.mjs +2 -0
- package/dist/chunk-TNK6Q4WD.mjs +2 -0
- package/dist/chunk-TOPBU3ZW.mjs +2 -0
- package/dist/chunk-TP7CPD4Q.mjs +2 -0
- package/dist/chunk-TQC3TCMO.mjs +2 -0
- package/dist/chunk-TRCZBJBC.mjs +6 -0
- package/dist/chunk-TRUEZULU.mjs +2 -0
- package/dist/chunk-TSC2CQ5E.mjs +2 -0
- package/dist/chunk-TSFCDR2A.mjs +2 -0
- package/dist/chunk-TTABF6CQ.mjs +2 -0
- package/dist/chunk-TTJZKZ7H.mjs +2 -0
- package/dist/chunk-TVZO2PBW.mjs +2 -0
- package/dist/chunk-TWB4A5VM.mjs +2 -0
- package/dist/chunk-TWGUHIJA.mjs +2 -0
- package/dist/chunk-TY45VNQW.mjs +2 -0
- package/dist/chunk-TYZQQ2ZW.mjs +2 -0
- package/dist/chunk-U2DJTBYK.mjs +2 -0
- package/dist/chunk-U2KD5IJW.mjs +2 -0
- package/dist/chunk-U2PZUBEM.mjs +2 -0
- package/dist/chunk-U2UGHOBJ.mjs +2 -0
- package/dist/chunk-U33RQK3P.mjs +2 -0
- package/dist/chunk-U3FJDZO6.mjs +2 -0
- package/dist/chunk-U3HABLQF.mjs +2 -0
- package/dist/chunk-U3JXFKXG.mjs +2 -0
- package/dist/chunk-U3TLAK6Y.mjs +2 -0
- package/dist/chunk-U5ADITUK.mjs +2 -0
- package/dist/chunk-U66BK4CW.mjs +2 -0
- package/dist/chunk-U6VRYXJN.mjs +2 -0
- package/dist/chunk-UB23DUO2.mjs +2 -0
- package/dist/chunk-UGQJVNT2.mjs +6 -0
- package/dist/chunk-UGYAQALB.mjs +2 -0
- package/dist/chunk-UI34J2VK.mjs +2 -0
- package/dist/chunk-UJ4675KD.mjs +2 -0
- package/dist/chunk-UKS37JPM.mjs +2 -0
- package/dist/chunk-UM7BU4HC.mjs +2 -0
- package/dist/chunk-UMLEBJ2Q.mjs +2 -0
- package/dist/chunk-UPDHVOD6.mjs +2 -0
- package/dist/chunk-UPIALQSZ.mjs +6 -0
- package/dist/chunk-UQ2GAD6K.mjs +2 -0
- package/dist/chunk-URB652JL.mjs +2 -0
- package/dist/chunk-URG5JZMJ.mjs +2 -0
- package/dist/chunk-URSHTPFF.mjs +2 -0
- package/dist/chunk-URWRERFK.mjs +2 -0
- package/dist/chunk-USCUT5IA.mjs +2 -0
- package/dist/chunk-USLPMKC7.mjs +2 -0
- package/dist/chunk-UTR2RX3I.mjs +2 -0
- package/dist/chunk-UVBIGQ73.mjs +2 -0
- package/dist/chunk-UVNSTWUP.mjs +2 -0
- package/dist/chunk-UVSFG3MX.mjs +2 -0
- package/dist/chunk-UWQDJTXK.mjs +6 -0
- package/dist/chunk-UX3SZYZ5.mjs +2 -0
- package/dist/chunk-UYE63W5L.mjs +2 -0
- package/dist/chunk-UZQRJZVM.mjs +2 -0
- package/dist/chunk-V2A5OBJ2.mjs +2 -0
- package/dist/chunk-V3YMVQ5Y.mjs +6 -0
- package/dist/chunk-V4PAUHTF.mjs +2 -0
- package/dist/chunk-V5ACY27B.mjs +2 -0
- package/dist/chunk-V5U4LCDA.mjs +2 -0
- package/dist/chunk-VBYMKLBP.mjs +2 -0
- package/dist/chunk-VCCDADI4.mjs +6 -0
- package/dist/chunk-VGRBDLBT.mjs +2 -0
- package/dist/chunk-VH5Y3LG5.mjs +2 -0
- package/dist/chunk-VHEOT6ZJ.mjs +2 -0
- package/dist/chunk-VJFMMZLI.mjs +2 -0
- package/dist/chunk-VK3ZSZCX.mjs +2 -0
- package/dist/chunk-VL4SFNTZ.mjs +2 -0
- package/dist/chunk-VMSBZCHA.mjs +2 -0
- package/dist/chunk-VP3KZ4QM.mjs +2 -0
- package/dist/chunk-VQBYBUYE.mjs +2 -0
- package/dist/chunk-VQXA76VE.mjs +6 -0
- package/dist/chunk-VREBBD3I.mjs +2 -0
- package/dist/chunk-VRPZYTLB.mjs +2 -0
- package/dist/chunk-VV4NVTYT.mjs +2 -0
- package/dist/chunk-VV5A7JHZ.mjs +2 -0
- package/dist/chunk-VWIUFMYA.mjs +2 -0
- package/dist/chunk-VXBR7PFF.mjs +6 -0
- package/dist/chunk-VYH4KVTT.mjs +2 -0
- package/dist/chunk-W2JEFO3M.mjs +6 -0
- package/dist/chunk-W2Y232JX.mjs +2 -0
- package/dist/chunk-WAEORSLD.mjs +2 -0
- package/dist/chunk-WATLQ7U6.mjs +2 -0
- package/dist/chunk-WCU5PG4B.mjs +2 -0
- package/dist/chunk-WF53JPEH.mjs +2 -0
- package/dist/chunk-WGSLVFTX.mjs +2 -0
- package/dist/chunk-WGZ52YJ5.mjs +2 -0
- package/dist/chunk-WHIS23MX.mjs +2 -0
- package/dist/chunk-WIBL7I56.mjs +2 -0
- package/dist/chunk-WIIQNVVP.mjs +2 -0
- package/dist/chunk-WIPU5R3B.mjs +2 -0
- package/dist/chunk-WJ6GICH4.mjs +2 -0
- package/dist/chunk-WJM3HDAZ.mjs +2 -0
- package/dist/chunk-WJUFL6S2.mjs +2 -0
- package/dist/chunk-WLIFKPOU.mjs +2 -0
- package/dist/chunk-WMBFYNGL.mjs +2 -0
- package/dist/chunk-WNBKTOWB.mjs +2 -0
- package/dist/chunk-WS3BMXMV.mjs +2 -0
- package/dist/chunk-WTVXUTE7.mjs +2 -0
- package/dist/chunk-WUIPCH3T.mjs +2 -0
- package/dist/chunk-WUNAXGRE.mjs +2 -0
- package/dist/chunk-WV4C542Z.mjs +2 -0
- package/dist/chunk-WY6S52H7.mjs +2 -0
- package/dist/chunk-WZJCWMSW.mjs +2 -0
- package/dist/chunk-X2A2IFG2.mjs +2 -0
- package/dist/chunk-X2CF3IOS.mjs +2 -0
- package/dist/chunk-X2PXDKGN.mjs +2 -0
- package/dist/chunk-X2TJHCGL.mjs +2 -0
- package/dist/chunk-X3RQPLYP.mjs +2 -0
- package/dist/chunk-X4O6FSIU.mjs +2 -0
- package/dist/chunk-X5LVZRUT.mjs +2 -0
- package/dist/chunk-X5VFHX4X.mjs +2 -0
- package/dist/chunk-X5XLBUBO.mjs +2 -0
- package/dist/chunk-XBDHWIJI.mjs +2 -0
- package/dist/chunk-XGWAQNK6.mjs +6 -0
- package/dist/chunk-XJLT26S2.mjs +2 -0
- package/dist/chunk-XJUKX5FQ.mjs +2 -0
- package/dist/chunk-XKG5CBDL.mjs +2 -0
- package/dist/chunk-XLNQPLZL.mjs +2 -0
- package/dist/chunk-XNMXCQZ5.mjs +2 -0
- package/dist/chunk-XOPM2AKH.mjs +2 -0
- package/dist/chunk-XPFUOTEI.mjs +2 -0
- package/dist/chunk-XPPY4K7I.mjs +2 -0
- package/dist/chunk-XQNTK4RF.mjs +2 -0
- package/dist/chunk-XQRAPDQ4.mjs +2 -0
- package/dist/chunk-XTR6PZNW.mjs +2 -0
- package/dist/chunk-XVT5XHPO.mjs +2 -0
- package/dist/chunk-XXLGHYMJ.mjs +2 -0
- package/dist/chunk-Y3EEZZI2.mjs +2 -0
- package/dist/chunk-Y5FMUMKP.mjs +2 -0
- package/dist/chunk-Y5MK25CT.mjs +2 -0
- package/dist/chunk-Y6PLBUGC.mjs +2 -0
- package/dist/chunk-Y7SCJRIV.mjs +6 -0
- package/dist/chunk-YAAKNISY.mjs +2 -0
- package/dist/chunk-YAMBEIUJ.mjs +2 -0
- package/dist/chunk-YCXRFOZV.mjs +2 -0
- package/dist/chunk-YKNOYZCZ.mjs +2 -0
- package/dist/chunk-YLB5N6BJ.mjs +2 -0
- package/dist/chunk-YNHEUVP5.mjs +2 -0
- package/dist/chunk-YO6MZ77U.mjs +2 -0
- package/dist/chunk-YOGFXJJB.mjs +2 -0
- package/dist/chunk-YP64BQ5S.mjs +2 -0
- package/dist/chunk-YRP4CSXD.mjs +2 -0
- package/dist/chunk-YSLOWC3C.mjs +2 -0
- package/dist/chunk-YTEQ5D7E.mjs +2 -0
- package/dist/chunk-YTPOA65V.mjs +2 -0
- package/dist/chunk-YUAXPROQ.mjs +2 -0
- package/dist/chunk-YUGRNF2S.mjs +6 -0
- package/dist/chunk-YUOG3I3H.mjs +2 -0
- package/dist/chunk-YW6OFZDH.mjs +2 -0
- package/dist/chunk-YWMPI3MI.mjs +2 -0
- package/dist/chunk-YXFWA5FQ.mjs +2 -0
- package/dist/chunk-YZKQWEIS.mjs +2 -0
- package/dist/chunk-YZP5I42Y.mjs +2 -0
- package/dist/chunk-Z33FU5KI.mjs +2 -0
- package/dist/chunk-Z4PC6RTB.mjs +2 -0
- package/dist/chunk-Z4TC6GEC.mjs +2 -0
- package/dist/chunk-Z5RMBTVW.mjs +2 -0
- package/dist/chunk-Z5WEJMOO.mjs +2 -0
- package/dist/chunk-ZALLAWMF.mjs +2 -0
- package/dist/chunk-ZCKCTACQ.mjs +2 -0
- package/dist/chunk-ZEQ7ZM7W.mjs +2 -0
- package/dist/chunk-ZFRWYHQF.mjs +2 -0
- package/dist/chunk-ZGLPQULD.mjs +2 -0
- package/dist/chunk-ZIBSIGOS.mjs +2 -0
- package/dist/chunk-ZIU5FJ6L.mjs +2 -0
- package/dist/chunk-ZKQPCYUB.mjs +2 -0
- package/dist/chunk-ZLTIQE2L.mjs +2 -0
- package/dist/chunk-ZLVDQLOJ.mjs +2 -0
- package/dist/chunk-ZMQ53XFO.mjs +2 -0
- package/dist/chunk-ZMWUI7Y5.mjs +2 -0
- package/dist/chunk-ZN67BCKH.mjs +2 -0
- package/dist/chunk-ZOIY2S6B.mjs +2 -0
- package/dist/chunk-ZP6JVIEG.mjs +2 -0
- package/dist/chunk-ZQOKIENG.mjs +2 -0
- package/dist/chunk-ZR6WPZAQ.mjs +2 -0
- package/dist/chunk-ZRCWCTCR.mjs +2 -0
- package/dist/chunk-ZTRAEUDP.mjs +2 -0
- package/dist/chunk-ZUBR6CNH.mjs +2 -0
- package/dist/chunk-ZWCI5OUJ.mjs +2 -0
- package/dist/chunk-ZWI5WRVB.mjs +2 -0
- package/dist/chunk-ZWVU4WL2.mjs +2 -0
- package/dist/chunk-ZXTG3IZK.mjs +2 -0
- package/dist/chunk-ZZBV4SR4.mjs +2 -0
- package/dist/composite-logo.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/date-picker/calendar.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/date-picker/trigger.mjs +1 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-list.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/grid.mjs +1 -1
- package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
- package/dist/icons/continents/index.mjs +1 -1
- package/dist/icons/default-domains/amazon.mjs +1 -1
- package/dist/icons/default-domains/chatgpt.mjs +1 -1
- package/dist/icons/default-domains/figma.mjs +1 -1
- package/dist/icons/default-domains/github-enhanced.mjs +1 -1
- package/dist/icons/default-domains/google-enhanced.mjs +1 -1
- package/dist/icons/default-domains/spotify.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/linkedin.mjs +1 -1
- package/dist/icons/loading-circle.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/nucleo/arrow-turn-left.d.ts +6 -0
- package/dist/icons/nucleo/arrow-turn-left.mjs +2 -0
- package/dist/icons/nucleo/flag6.d.ts +6 -0
- package/dist/icons/nucleo/flag6.mjs +2 -0
- package/dist/icons/nucleo/globe-pointer.d.ts +6 -0
- package/dist/icons/nucleo/globe-pointer.mjs +2 -0
- package/dist/icons/nucleo/input-search.d.ts +6 -0
- package/dist/icons/nucleo/input-search.mjs +2 -0
- package/dist/icons/nucleo/pen2.d.ts +6 -0
- package/dist/icons/nucleo/pen2.mjs +2 -0
- package/dist/icons/nucleo/photo.d.ts +6 -0
- package/dist/icons/nucleo/photo.mjs +2 -0
- package/dist/icons/nucleo/satellite-dish.d.ts +6 -0
- package/dist/icons/nucleo/satellite-dish.mjs +2 -0
- package/dist/icons/sort-order.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-logo.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/sheet.mjs +1 -1
- package/dist/shimmer-dots.d.ts +10 -0
- package/dist/shimmer-dots.mjs +2 -0
- package/dist/status-badge.d.ts +2 -2
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/wordmark.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as A}from"./chunk-56XYCCOT.mjs";import{a as T}from"./chunk-WNBKTOWB.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as S}from"./chunk-NWME2ANF.mjs";import{a as M}from"./chunk-TNK6Q4WD.mjs";import{a as j}from"./chunk-LPV7TLRR.mjs";import{a as H}from"./chunk-RZRK5SAO.mjs";import{a as z}from"./chunk-YURUGH4S.mjs";import{m as O,q as k}from"./chunk-A4H3QFMY.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(T,{openPopover:x,setOpenPopover:f,onEscapeKeyDown:t=>{p&&(t.preventDefault(),C())},content:n(M,{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(j,{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(H,{})})}):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}=K(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(z,{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{a as o}from"./chunk-IGIB6XZB.mjs";import{a as i}from"./chunk-GYE7FFDN.mjs";import{a as c}from"./chunk-UUJYTAK4.mjs";import{a as s}from"./chunk-GV2NLM3E.mjs";import{j as a}from"./chunk-ZALLAWMF.mjs";import{cva as u}from"class-variance-authority";import{jsx as m,jsxs as x}from"react/jsx-runtime";var d=u("flex gap-1.5 items-center max-w-fit rounded-md px-2 py-1 text-xs font-medium whitespace-nowrap",{variants:{variant:{neutral:"bg-gray-500/[.15] text-gray-600",success:"bg-green-500/[.15] text-green-600",pending:"bg-orange-500/[.15] text-orange-600",error:"bg-red-500/[.15] text-red-600"}},defaultVariants:{variant:"neutral"}}),f={neutral:i,success:s,pending:o,error:c};function y({className:l,variant:e,icon:t,onClick:r,children:p,...g}){let n=t!==null?t??f[e??"neutral"]:null;return x("span",{className:a(d({variant:e}),r&&"cursor-pointer select-none transition-[filter] duration-150 hover:brightness-75 hover:saturate-[1.25]",l),onClick:r,...g,children:[n&&m(n,{className:"h-3 w-3 shrink-0"}),p]})}export{d as a,y as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as e}from"./chunk-ACEQFX2H.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{k as P}from"./chunk-TWB4A5VM.mjs";import{a as S}from"./chunk-NUATTHU6.mjs";import{a as h}from"./chunk-7WT5CJXO.mjs";import{j as c,k as w}from"./chunk-ACEQFX2H.mjs";import{flexRender as T,getCoreRowModel as W,useReactTable as A}from"@tanstack/react-table";import{AnimatePresence as B,motion as O}from"framer-motion";import{useEffect as N,useState as j}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>c(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function ne(t){let{data:n,rowCount:m,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=j(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var r;(r=t.onColumnVisibilityChange)==null||r.call(t,l)},[l]);let v=A({data:n,rowCount:m,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:W(),onPaginationChange:f,onColumnVisibilityChange:r=>p(r),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function oe({columns:t,data:n,loading:m,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,thClassName:r,tdClassName:k,table:o,pagination:s,resourceName:d,rowCount:R,children:I}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||m?a("div",{className:"relative min-h-[400px] overflow-x-auto rounded-[inherit]",children:[a("table",{className:c(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(u=>i("tr",{children:u.headers.map(e=>{let C=p.includes(e.column.id),M=C?"button":"div";return i("th",{className:c(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),r),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(M,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},u.id))}),i("tbody",{children:o.getRowModel().rows.map(u=>i("tr",{children:u.getVisibleCells().map(e=>i("td",{className:c(V(e.column.id),"group text-gray-600",D(e.column,u.index===o.getRowModel().rows.length-1),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},u.id))})]}),I]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(d==null?void 0:d(!0))||"items"} found.`}),s&&!g&&!!(n!=null&&n.length)&&!!R&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[(s.pageIndex-1)*s.pageSize+1,"-",Math.min((s.pageIndex-1)*s.pageSize+s.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(d==null?void 0:d(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:s.pageIndex===1}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:s.pageIndex===o.getPageCount()})]})]}),i(B,{children:m&&i(O.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let m=t.getIsPinned();return c(m&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{ne as a,oe as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as P}from"./chunk-V4PAUHTF.mjs";import{a as S}from"./chunk-FVCTXMTQ.mjs";import{a as h}from"./chunk-WTVXUTE7.mjs";import{j as c,k as w}from"./chunk-DO2GLTWB.mjs";import{flexRender as T,getCoreRowModel as W,useReactTable as A}from"@tanstack/react-table";import{AnimatePresence as B,motion as O}from"framer-motion";import{useEffect as N,useState as j}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>c(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function ne(t){let{data:n,rowCount:m,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=j(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var r;(r=t.onColumnVisibilityChange)==null||r.call(t,l)},[l]);let v=A({data:n,rowCount:m,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:W(),onPaginationChange:f,onColumnVisibilityChange:r=>p(r),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function oe({columns:t,data:n,loading:m,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,thClassName:r,tdClassName:k,table:o,pagination:s,resourceName:d,rowCount:R,children:I}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||m?a("div",{className:"relative min-h-[400px] overflow-x-auto rounded-[inherit]",children:[a("table",{className:c(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(u=>i("tr",{children:u.headers.map(e=>{let C=p.includes(e.column.id),M=C?"button":"div";return i("th",{className:c(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),r),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(M,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},u.id))}),i("tbody",{children:o.getRowModel().rows.map(u=>i("tr",{children:u.getVisibleCells().map(e=>i("td",{className:c(V(e.column.id),"group text-gray-600",D(e.column,u.index===o.getRowModel().rows.length-1),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},u.id))})]}),I]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(d==null?void 0:d(!0))||"items"} found.`}),s&&!g&&!!(n!=null&&n.length)&&!!R&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[(s.pageIndex-1)*s.pageSize+1,"-",Math.min((s.pageIndex-1)*s.pageSize+s.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(d==null?void 0:d(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:s.pageIndex===1}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:s.pageIndex===o.getPageCount()})]})]}),i(B,{children:m&&i(O.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let m=t.getIsPinned();return c(m&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{ne as a,oe as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as e}from"./chunk-ZALLAWMF.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{a as r}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-WCU5PG4B.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{j as n}from"./chunk-ZMWUI7Y5.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{q as a}from"./chunk-A4H3QFMY.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:e={},className:r}){return e?n("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:e.image||`https://api.dicebear.com/7.x/micah/svg?seed=${e.id||e.email}`,className:a("h-10 w-10 rounded-full border border-gray-300",r),draggable:!1}):n("div",{className:a("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",r)})}function d({id:e,className:r}){return n("img",{src:`https://api.dicebear.com/9.x/shapes/svg?seed=${e}`,alt:"avatar",className:a("h-10 w-10 rounded-full",r),draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as l}from"./chunk-D4KMHDYY.mjs";import{j as n}from"./chunk-WCU5PG4B.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{a as r}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-BKZ6TNZC.mjs";import{j as o}from"./chunk-DO2GLTWB.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,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-NSXBQ3H6.mjs";import{a as E}from"./chunk-ZEQ7ZM7W.mjs";import{a as H}from"./chunk-G27EKD3I.mjs";import{a as S,d as L,e as _}from"./chunk-KHHIGRQY.mjs";import{a as T}from"./chunk-TJJVZEUJ.mjs";import{a as w}from"./chunk-GK6SGLLH.mjs";import{a as V}from"./chunk-NECGKCPR.mjs";import{k as M}from"./chunk-D4KMHDYY.mjs";import{b as f,d as y,i as P,j as s,l as k}from"./chunk-WCU5PG4B.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import g 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 I,useState as Z}from"react";function x(r){let[e,m]=Z(!1),i=G(()=>{m(window.scrollY>r)},[r]);return I(()=>(window.addEventListener("scroll",i),()=>window.removeEventListener("scroll",i)),[i]),I(()=>{i()},[i]),e}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as j,LayoutGrid as z,Type as F}from"lucide-react";import{useParams as $}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as D}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),D.success("Copied to clipboard!")}catch(e){console.error("Failed to copy to clipboard.",e),D.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:e,className:m}){let{domain:i="dub.co"}=$(),{theme:l}=Y(C),[p,v]=q(!1),c=K(n=>{n.preventDefault(),v(!0)},[]);return B(d.Root,{open:p,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(T,{className:m}):o(w,{className:s("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:s("z-50 -mt-1.5 -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(w,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(F,{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"})}),e||i!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${e?"/home":""}`,"_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...e}){return o(M,{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),...e})}import{Fragment as nt,jsx as t,jsxs as u}from"react/jsx-runtime";var C=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:S},{name:"Solutions",content:H,childItems:L},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:E,childItems:_}],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 It({theme:r="light"}){let{domain:e="dub.co"}=tt(),m=x(80),i=x(40),l=et(),{data:p,isLoading:v}=rt(e==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return t(C.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:[t("div",{className:s("absolute inset-0 block transition-all lg:hidden",i&&(l&&k.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),t(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[t(g,{className:"grow basis-0",href:f("/",e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:"Logo"}),children:t(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:[t("div",{className:"absolute inset-0 -z-[1]",children:t("div",{className:s("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&k.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:b})=>{let N=n===`/${l}`||n==="/"&&l===null;return u(a.Item,{children:[t(it,{trigger:!!b,children:n!==void 0?t(g,{id:`nav-${n}`,href:f(n,e,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,utm_content:c}),className:O({isActive:N}),children:c}):t("button",{className:O({isActive:N}),children:c})}),b&&t(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:t(b,{domain:e})})]},c)})]}),t("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:t(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]")})})]}),t("div",{className:"hidden grow basis-0 justify-end lg:flex",children:p&&Object.keys(p).length>0?t(g,{href:y,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):v?null:u(nt,{children:[t(g,{href:"https://d.to/login",className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),t(g,{href:"https://d.to/try",className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function it({trigger:r,children:e}){return r?t(a.Trigger,{asChild:!0,children:e}):e}export{x as a,C as b,at as c,It as d,A as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as n}from"./chunk-ZMWUI7Y5.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:n("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as m}from"./chunk-V4PAUHTF.mjs";import{j as i}from"./chunk-DO2GLTWB.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{a as v}from"./chunk-NYK7ECCW.mjs";import{b as h}from"./chunk-V5K55UJ3.mjs";import{c as f,h as y,j as a}from"./chunk-N6TU54UG.mjs";import*as l from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as R}from"lucide-react";import B from"next/link";import{useState as C}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 disabled:border-gray-200",secondary:a("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:e,variant:t="primary",className:o,textWrapperClassName:n,loading:i,icon:u,shortcut:s,disabledTooltip:b,...m},N)=>b?p(d,{content:b,children:T("div",{className:a("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":t==null?void 0:t.endsWith("outline")},o),children:[u,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":t==null?void 0:t.endsWith("outline")}),children:s})]})}):T("button",{ref:N,type:m.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",m.disabled||i?"cursor-not-allowed bg-gray-100 text-gray-400":c({variant:t}),o),disabled:m.disabled||i,...m,children:[i?p(v,{}):u||null,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":t==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":t==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":t==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":t==="danger-outline"}),children:s})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:e}){return r(l.Provider,{delayDuration:100,children:e})}function d({children:e,content:t,side:o="top"}){let[n,i]=C(!1);return g(l.Root,{open:n,onOpenChange:i,delayDuration:0,children:[r(l.Trigger,{asChild:!0,onClick:()=>{i(!0)},onBlur:()=>{i(!1)},children:e}),r(l.Portal,{children:r(l.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,children:typeof t=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:t}):typeof t=="function"?t({setOpen:i}):t})})]})}function K({title:e,cta:t,href:o,target:n,onClick:i}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:e}),t&&(o?r(B,{href:o,...n?{target:n}:{},className:a(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:t}):i?r(x,{onClick:i,text:t,variant:"primary"}):null)]})}function Q({title:e,cta:t,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:n=>n.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:t})]})}function U({children:e}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function X(e){return r(d,{...e,children:r(R,{className:"h-4 w-4 text-gray-500"})})}function Y({value:e,unit:t="total clicks",prefix:o,children:n,lastClicked:i}){return(!e||e<1e3)&&!i?n:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(e||0,{full:!0})," ",t]}),i&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",y(i,{withAgo:!0})]})]}),children:n})}function Z({children:e,content:t,...o}){return r(d,{content:t,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function $({tooltipContent:e,children:t,...o}){return r(d,{content:e,children:r("div",{className:"flex cursor-pointer items-center",children:r("button",{type:"button",...o,children:t})})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as C}from"./chunk-PSNDORGS.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 g}from"./chunk-NWME2ANF.mjs";import{j as i}from"./chunk-4ODM5B7S.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:m,preventDefaultClose:u}){let p=D(),f=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=g();return b&&!m?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||f({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||f()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-7JOYJRZP.mjs";import{a as h}from"./chunk-JWY7OQUA.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-N6TU54UG.mjs";import{ChevronDown as w,Menu as x,X as C}from"lucide-react";import r from"next/link";import{useParams as N}from"next/navigation";import{useEffect as _,useState as v}from"react";import z from"swr";import{Fragment as D,jsx as e,jsxs as s}from"react/jsx-runtime";function j({theme:n="light"}){let{domain:m="dub.co"}=N(),[a,o]=v(!1);_(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:t}=z(m==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return s("div",{className:i(n==="dark"&&"dark"),children:[e("button",{onClick:()=>o(!a),className:i("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden dark:hover:bg-white/20 dark:active:bg-white/30",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(C,{className:"h-5 w-5 text-gray-600 dark:text-white/70"}):e(x,{className:"h-5 w-5 text-gray-600 dark:text-white/70"})}),e("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200 dark:divide-white/[0.15]",children:[b.map(({name:l,href:u,childItems:d},c)=>e(L,{name:l,href:u,childItems:d,setOpen:o},c)),t&&Object.keys(t).length>0?e("li",{className:"py-3",children:e(r,{href:f,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(D,{children:[e("li",{className:"py-3",children:e(r,{href:`${f}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(r,{href:`${f}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var L=({name:n,href:m,childItems:a,setOpen:o})=>{let{domain:t="dub.co"}=N(),[l,u]=v(!1);return a?e("li",{className:"py-3",children:s(h,{height:!0,children:[s("button",{className:"flex w-full justify-between",onClick:()=>u(!l),children:[e("p",{className:"font-semibold",children:n}),e(w,{className:i("h-5 w-5 text-gray-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:a.map(({title:d,href:c,icon:y,iconClassName:k})=>s(r,{href:p(c,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:d}),onClick:()=>o(!1),className:"flex w-full space-x-2",children:[e(y,{className:i("h-5 w-5 text-gray-500 dark:text-white/80",k)}),e("span",{className:"text-sm",children:d})]},c))})]})}):m?e("li",{className:"py-3",children:e(r,{href:p(m,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:n}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:n})}):null};export{j as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as h}from"./chunk-6LAHF3Y4.mjs";import{q as f}from"./chunk-A4H3QFMY.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{j as a}from"./chunk-PSNDORGS.mjs";import{cva as d}from"class-variance-authority";import*as i from"react";import{jsx as s}from"react/jsx-runtime";var o=d("relative w-full rounded-lg border px-4 py-6 [&>svg+div]:translate-y-[-3px] [&>svg]:absolute [&>svg]:left-4 [&>svg]:top-4 [&>svg]:text-foreground [&>svg~*]:pl-7",{variants:{variant:{default:"bg-background text-foreground",destructive:"border-destructive/50 text-destructive dark:border-destructive [&>svg]:text-destructive border-red-500 dark:border-red-500"}},defaultVariants:{variant:"default"}}),n=i.forwardRef(({className:e,variant:t,...r},l)=>s("div",{ref:l,role:"alert",className:a(o({variant:t}),e),...r}));n.displayName="Alert";var c=i.forwardRef(({className:e,...t},r)=>s("h5",{ref:r,className:a("text-md mb-2 font-medium leading-none tracking-tight",e),...t}));c.displayName="AlertTitle";var m=i.forwardRef(({className:e,...t},r)=>s("div",{ref:r,className:a("text-sm [&_p]:leading-relaxed",e),...t}));m.displayName="AlertDescription";export{n as a,c as b,m as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as c}from"./chunk-PHN7XP3N.mjs";import{j as s}from"./chunk-ZMWUI7Y5.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,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as u}from"./chunk-S2ZCYKGQ.mjs";import{a as m,c as g,e as k}from"./chunk-J2RC7JHQ.mjs";import{a as h}from"./chunk-E4DRL4SO.mjs";import{a as f}from"./chunk-SVSIQ7KN.mjs";import{a as d}from"./chunk-2EZXX4BT.mjs";import{a as p}from"./chunk-ZLV63KGL.mjs";import{a as c}from"./chunk-IE4P66H3.mjs";import{a as l}from"./chunk-Q42N5J7T.mjs";import{b as a,j as t}from"./chunk-N6TU54UG.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{j as l}from"./chunk-WCU5PG4B.mjs";import{LayoutGroup as g,motion as r}from"framer-motion";import{useId as d}from"react";import{jsx as t,jsxs as p}from"react/jsx-runtime";function y({options:i,selected:o,selectAction:n,className:u,style:s}){let a=d();return t(g,{id:a,children:t(r.div,{layout:!0,className:l("relative inline-flex items-center gap-1 rounded-xl border border-gray-200 bg-white p-1",u),style:s,children:i.map(e=>p("button",{type:"button",className:l("relative z-10 flex items-center gap-2 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":e.value!==o}),onClick:()=>n(e.value),children:[t("p",{children:e.label}),e.badge,e.value===o&&t(r.div,{layoutId:a,className:"absolute left-0 top-0 -z-[1] h-full w-full rounded-lg border border-gray-200 bg-gray-50",transition:{duration:.25}})]},e.value))})})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as c}from"./chunk-CI56ACV7.mjs";import{j as s}from"./chunk-UB23DUO2.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,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{j as d}from"./chunk-PSNDORGS.mjs";import*as o from"@radix-ui/react-popover";import{Drawer as r}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function u({children:t,content:n,align:m="center",openPopover:a,setOpenPopover:l,mobileOnly:v,popoverContentClassName:c,collisionBoundary:g,sticky:P,onEscapeKeyDown:s}){let{isMobile:b}=p();return v||b?i(r.Root,{open:a,onOpenChange:l,children:[e(r.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(r.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(r.Portal,{children:[i(r.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",onEscapeKeyDown:s,children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:n})]}),e(r.Overlay,{})]})]}):i(o.Root,{open:a,onOpenChange:l,children:[e(o.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(o.Portal,{children:e(o.Content,{sideOffset:8,align:m,className:d("animate-slide-up-fade z-50 items-center rounded-lg border border-gray-200 bg-white drop-shadow-lg sm:block",c),sticky:P,collisionBoundary:g,onEscapeKeyDown:s,children:n})})]})}export{u as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as r}from"./chunk-4ODM5B7S.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as m}from"./chunk-ZMWUI7Y5.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{a as v,b as g}from"./chunk-4PAED5GX.mjs";import{a as c,c as u,d as N}from"./chunk-GSOY3F74.mjs";import{a as l}from"./chunk-LWC6GKT5.mjs";import{b as o,j as i,n as d}from"./chunk-ZALLAWMF.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 t}from"./chunk-LIFSTNU2.mjs";import{a as o}from"./chunk-QC6GZ7KR.mjs";import{j as s,p as m}from"./chunk-4ODM5B7S.mjs";import{jsx as e}from"react/jsx-runtime";function n({apexDomain:r,className:l}){return r?e(t,{src:`${m}${r}`,alt:r,className:s("h-8 w-8 rounded-full sm:h-10 sm:w-10",l),width:20,height:20,draggable:!1}):e("div",{className:s("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",l),children:e(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{n as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-IDCP7MTO.mjs";import{a as D}from"./chunk-OZNU7B4F.mjs";import{a as E}from"./chunk-3G22JO6L.mjs";import{a as M,d as S,e as L}from"./chunk-KHHIGRQY.mjs";import{a as H}from"./chunk-EGAKI6AW.mjs";import{a as x}from"./chunk-SR5SKKJA.mjs";import{a as V}from"./chunk-HTDH67PN.mjs";import{k as _}from"./chunk-3BL7AWP4.mjs";import{a as f,c as g,h as w,p as P,q as s}from"./chunk-VV5A7JHZ.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{c as l,d as p}from"./chunk-M65XFQLP.mjs";import{a as n,c,d as u}from"./chunk-URSHTPFF.mjs";import{b as s,j as m}from"./chunk-PSNDORGS.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{e as _}from"./chunk-6IZETGO5.mjs";import{a as v}from"./chunk-M65XFQLP.mjs";import{a as N}from"./chunk-JIXB43GY.mjs";import{a as y}from"./chunk-C6K2MQFZ.mjs";import{a as x}from"./chunk-LMLEUP7D.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-OYTED6VT.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-4ODM5B7S.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as t}from"./chunk-ZALLAWMF.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{q as e}from"./chunk-VV5A7JHZ.mjs";import{jsx as t,jsxs as o}from"react/jsx-runtime";function i({className:r}){return o("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:e("text-[#ff0000]",r),children:[t("defs",{}),t("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"#ff0000",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:t("path",{d:"M 88.119 23.338 c -1.035 -3.872 -4.085 -6.922 -7.957 -7.957 C 73.144 13.5 45 13.5 45 13.5 s -28.144 0 -35.162 1.881 c -3.872 1.035 -6.922 4.085 -7.957 7.957 C 0 30.356 0 45 0 45 s 0 14.644 1.881 21.662 c 1.035 3.872 4.085 6.922 7.957 7.957 C 16.856 76.5 45 76.5 45 76.5 s 28.144 0 35.162 -1.881 c 3.872 -1.035 6.922 -4.085 7.957 -7.957 C 90 59.644 90 45 90 45 S 90 30.356 88.119 23.338 z M 36 58.5 v -27 L 59.382 45 L 36 58.5 z",style:{stroke:"none",strokeWidth:1,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"currentColor",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as b}from"./chunk-ARLUDVHU.mjs";import{a as h}from"./chunk-L52WIY4U.mjs";import{b as p,d as f,i as g,j as i}from"./chunk-KZBCSLN4.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{e as _}from"./chunk-K3WQZM5G.mjs";import{a as v}from"./chunk-M65XFQLP.mjs";import{a as N}from"./chunk-U3HABLQF.mjs";import{a as y}from"./chunk-P2U4FWC2.mjs";import{a as x}from"./chunk-4DVEACY4.mjs";import{a as f}from"./chunk-ALEYOCBW.mjs";import{a as b}from"./chunk-GL3KA5IB.mjs";import{b as o,i as d,j as n,m as g,n as p,o as h}from"./chunk-ZALLAWMF.mjs";import T from"next/image";import s from"next/link";import{useParams as E}from"next/navigation";import{useEffect as F,useState as w}from"react";import A from"swr";import{jsx as e,jsxs as r}from"react/jsx-runtime";var m={features:v.map(({title:a,href:t})=>({name:a,href:t})),product:[{name:"Blog",href:"/blog"},{name:"Brand",href:"/brand"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:t})=>({name:a,href:`/compare/${t}`})),legal:h.map(({name:a,slug:t})=>({name:a,href:`/legal/${t}`})),tools:g.map(({name:a,slug:t})=>({name:a,href:`/tools/${t}`}))};function Y(){let{domain:a="dub.co"}=E();return e("footer",{children:r(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[r("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[r("div",{className:"space-y-6",children:[r(s,{href:o("/",a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:"Logo"}),className:"block max-w-fit",children:[r("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(_,{className:"h-8 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),r("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),r("div",{className:"flex items-center space-x-3",children:[r("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(f,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),r("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),r("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e(D,{})]}),r("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.features.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.product.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"md:grid md:grid-cols-2",children:[r("div",{className:"flex flex-col space-y-8",children:[r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.compare.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]}),r("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.legal.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]}),r("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:m.tools.map(t=>e("li",{children:e(s,{href:o(t.href,a,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:a,utm_content:t.name}),className:"text-sm text-gray-500 hover:text-gray-800",children:t.name})},t.name))})]})]})]})]}),e(T,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function D(){let{data:a}=A("https://status.dub.co/api/v1/summary",d),[t,l]=w("bg-gray-200"),[i,c]=w("Loading status...");return F(()=>{if(!a)return;let{ongoing_incidents:u}=a;if(u.length>0){let{current_worst_impact:k,name:L}=u[0],C=k==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),l(C)}else c("All systems operational"),l("bg-green-500")},[a]),r(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[r("div",{className:"relative h-3 w-3",children:[e("div",{className:n("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,i==="Loading status..."&&"animate-none")}),e("div",{className:n("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",t)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{Y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as r}from"./chunk-WCU5PG4B.mjs";import{cva as n}from"class-variance-authority";import{createContext as e}from"react";import{jsx as t}from"react/jsx-runtime";var p=n("group/card-list w-full flex flex-col transition-[gap,opacity] min-w-0",{variants:{variant:{compact:"gap-0",loose:"gap-4"},loading:{true:"opacity-50"}}}),l=e({variant:"loose"});function m({variant:a="loose",loading:o=!1,className:i,children:s}){return t("ul",{className:r(p({variant:a,loading:o}),i),"data-variant":a,children:t(l.Provider,{value:{variant:a},children:s})})}export{l as a,m as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as g}from"./chunk-FUECQ2KU.mjs";import{j as c}from"./chunk-N6TU54UG.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as A}from"./chunk-AM7KIWH3.mjs";import{a as T}from"./chunk-U2UGHOBJ.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as S}from"./chunk-NWME2ANF.mjs";import{a as M}from"./chunk-E6ISNBOI.mjs";import{a as j}from"./chunk-LPV7TLRR.mjs";import{a as H}from"./chunk-VMSBZCHA.mjs";import{a as z}from"./chunk-YURUGH4S.mjs";import{f as O,j as k}from"./chunk-ZALLAWMF.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(T,{openPopover:x,setOpenPopover:f,onEscapeKeyDown:t=>{p&&(t.preventDefault(),C())},content:n(M,{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(j,{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(H,{})})}):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}=K(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(z,{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{j as h}from"./chunk-22NAXNYG.mjs";import{j as f}from"./chunk-4ODM5B7S.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{j as n}from"./chunk-ACEQFX2H.mjs";import{jsx as e,jsxs as a}from"react/jsx-runtime";function h({cellSize:t=12,strokeWidth:s=1,patternOffset:r=[0,0],className:i}){return a("svg",{className:n("pointer-events-none absolute inset-0 text-black/10",i),width:"100%",height:"100%",children:[e("defs",{children:e("pattern",{id:"grid",x:r[0]-1,y:r[1]-1,width:t,height:t,patternUnits:"userSpaceOnUse",children:e("path",{d:`M ${t} 0 L 0 0 0 ${t}`,fill:"transparent",stroke:"currentColor",strokeWidth:s})})}),e("rect",{fill:"url(#grid)",width:"100%",height:"100%"})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as P}from"./chunk-FUECQ2KU.mjs";import{a as S}from"./chunk-EXIDG7B4.mjs";import{a as h}from"./chunk-NYK7ECCW.mjs";import{j as c,k as w}from"./chunk-N6TU54UG.mjs";import{flexRender as T,getCoreRowModel as W,useReactTable as A}from"@tanstack/react-table";import{AnimatePresence as B,motion as O}from"framer-motion";import{useEffect as N,useState as j}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>c(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function ne(t){let{data:n,rowCount:m,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=j(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var r;(r=t.onColumnVisibilityChange)==null||r.call(t,l)},[l]);let v=A({data:n,rowCount:m,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:W(),onPaginationChange:f,onColumnVisibilityChange:r=>p(r),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function oe({columns:t,data:n,loading:m,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,thClassName:r,tdClassName:k,table:o,pagination:s,resourceName:d,rowCount:R,children:I}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||m?a("div",{className:"relative min-h-[400px] overflow-x-auto rounded-[inherit]",children:[a("table",{className:c(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(u=>i("tr",{children:u.headers.map(e=>{let C=p.includes(e.column.id),M=C?"button":"div";return i("th",{className:c(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),r),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(M,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},u.id))}),i("tbody",{children:o.getRowModel().rows.map(u=>i("tr",{children:u.getVisibleCells().map(e=>i("td",{className:c(V(e.column.id),"group text-gray-600",D(e.column,u.index===o.getRowModel().rows.length-1),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},u.id))})]}),I]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(d==null?void 0:d(!0))||"items"} found.`}),s&&!g&&!!(n!=null&&n.length)&&!!R&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[s.pageIndex*s.pageSize+1,"-",Math.min(s.pageIndex*s.pageSize+s.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(d==null?void 0:d(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:s.pageIndex===1}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:s.pageIndex===o.getPageCount()-1})]})]}),i(B,{children:m&&i(O.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let m=t.getIsPinned();return c(m&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{ne as a,oe as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as A}from"./chunk-F5XZSUN3.mjs";import{a as T}from"./chunk-M2YV3MX6.mjs";import{a as K}from"./chunk-GVBIGY6N.mjs";import{a as S}from"./chunk-NWME2ANF.mjs";import{a as M}from"./chunk-L52WIY4U.mjs";import{a as j}from"./chunk-LPV7TLRR.mjs";import{a as z}from"./chunk-YURUGH4S.mjs";import{a as H}from"./chunk-BXXWOVWD.mjs";import{f as O,j as k}from"./chunk-KZBCSLN4.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(T,{openPopover:x,setOpenPopover:f,onEscapeKeyDown:t=>{p&&(t.preventDefault(),C())},content:n(M,{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(j,{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(H,{})})}):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}=K(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(z,{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{b as l}from"./chunk-3BL7AWP4.mjs";import{q as n}from"./chunk-VV5A7JHZ.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,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-ZP6JVIEG.mjs";import{a as D}from"./chunk-XQRAPDQ4.mjs";import{a as E}from"./chunk-GV4UDZ2E.mjs";import{a as M,d as S,e as L}from"./chunk-S2ZCYKGQ.mjs";import{a as H}from"./chunk-PHAUPBRJ.mjs";import{a as x}from"./chunk-AOBZNMHC.mjs";import{a as V}from"./chunk-EWEBDEM5.mjs";import{k as _}from"./chunk-XKG5CBDL.mjs";import{b as g,d as f,i as P,j as s,l as w}from"./chunk-N6TU54UG.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-WCU5PG4B.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{e as u}from"./chunk-RW6EDAD4.mjs";import{a as m,c as g,e as k}from"./chunk-5ZJM5UX4.mjs";import{a as f}from"./chunk-33PF3SBJ.mjs";import{a as d}from"./chunk-OLD36DKY.mjs";import{a as p}from"./chunk-D2CMFYXY.mjs";import{a as c}from"./chunk-JMQNJUWH.mjs";import{a as l}from"./chunk-YSZVJJ6E.mjs";import{a as h}from"./chunk-YHZG6F5A.mjs";import{b as a,j as t}from"./chunk-KZBCSLN4.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{a as p}from"./chunk-NWME2ANF.mjs";import{a as s}from"./chunk-2IYW3UZE.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as g,e as f,i as b}from"./chunk-ZMWUI7Y5.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{q as C}from"./chunk-VV5A7JHZ.mjs";import{jsx as l,jsxs as i}from"react/jsx-runtime";function t({className:r}){return i("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as o}from"./chunk-WCU5PG4B.mjs";import{EyeIcon as d,EyeOffIcon as c}from"lucide-react";import u,{useCallback as m,useState as p}from"react";import{jsx as t,jsxs as x}from"react/jsx-runtime";var f=u.forwardRef(({className:n,type:s,...r},i)=>{let[e,a]=p(!1),l=m(()=>a(!e),[e,a]);return x("div",{className:"relative",children:[t("input",{type:e?"text":s,className:o("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",n),ref:i,...r}),s==="password"&&t("button",{className:"absolute inset-y-0 right-0 flex items-center rounded-lg px-2.5",type:"button",onClick:()=>l(),"aria-label":e?"Hide password":"Show Password",children:e?t(d,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0}):t(c,{className:"size-4 flex-none text-gray-500 transition hover:text-gray-700","aria-hidden":!0})}),r.error&&t("span",{className:"block text-sm text-red-500",role:"alert","aria-live":"assertive",children:r.error})]})});f.displayName="Input";export{f as a};
|