@dub/ui 0.1.10 → 0.1.12
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/avatar.mjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-276W46WF.mjs +2 -0
- package/dist/chunk-2CPZ4ZE6.mjs +2 -0
- package/dist/chunk-2GJ7BF6V.mjs +2 -0
- package/dist/chunk-2KKU2VSI.mjs +2 -0
- package/dist/chunk-2N5SLVQ5.mjs +2 -0
- package/dist/chunk-2P4WWFAB.mjs +2 -0
- package/dist/chunk-2QK6XSG7.mjs +2 -0
- package/dist/chunk-2REOLEIJ.mjs +2 -0
- package/dist/chunk-2RSMCJBJ.mjs +2 -0
- package/dist/chunk-2VLLL5HD.mjs +2 -0
- package/dist/chunk-36RGJUKR.mjs +2 -0
- package/dist/chunk-3DJZFJD4.mjs +2 -0
- package/dist/chunk-3FKL4G5K.mjs +2 -0
- package/dist/chunk-3HAKTGUV.mjs +2 -0
- package/dist/chunk-3I6NUXH5.mjs +2 -0
- package/dist/chunk-3JT332VY.mjs +2 -0
- package/dist/chunk-3LJRBTPA.mjs +2 -0
- package/dist/chunk-3MHDMKBK.mjs +2 -0
- package/dist/chunk-3VYGORTC.mjs +2 -0
- package/dist/chunk-3VZK4TDY.mjs +2 -0
- package/dist/chunk-3XAGCYYM.mjs +2 -0
- package/dist/chunk-43JNMWZJ.mjs +2 -0
- package/dist/chunk-45CHMYLW.mjs +2 -0
- package/dist/chunk-45YQQHIF.mjs +2 -0
- package/dist/chunk-46BDRFIO.mjs +2 -0
- package/dist/chunk-4AJKDN6G.mjs +2 -0
- package/dist/chunk-4BXZESTU.mjs +2 -0
- package/dist/chunk-4CA4TVFB.mjs +2 -0
- package/dist/chunk-4FF5OL62.mjs +2 -0
- package/dist/chunk-4QCGW2OY.mjs +2 -0
- package/dist/chunk-4RGG5CWR.mjs +2 -0
- package/dist/chunk-4RV5UX56.mjs +2 -0
- package/dist/chunk-4SBFFUVP.mjs +2 -0
- package/dist/chunk-4SG5CT6N.mjs +2 -0
- package/dist/chunk-4V45ZRSO.mjs +2 -0
- package/dist/chunk-4VIUDU2K.mjs +2 -0
- package/dist/chunk-4VQRLFHM.mjs +2 -0
- package/dist/chunk-4XT7DQYP.mjs +2 -0
- package/dist/chunk-53YL5O34.mjs +2 -0
- package/dist/chunk-5CSOBGFS.mjs +2 -0
- package/dist/chunk-5HKJIEQK.mjs +7 -0
- package/dist/chunk-5IFBEEHJ.mjs +2 -0
- package/dist/chunk-5MD762E4.mjs +2 -0
- package/dist/chunk-5SNSSF3X.mjs +14 -0
- package/dist/chunk-5VBCR6Z2.mjs +2 -0
- package/dist/chunk-5XABYFR7.mjs +2 -0
- package/dist/chunk-5ZVESORR.mjs +2 -0
- package/dist/chunk-62FC3PUD.mjs +2 -0
- package/dist/chunk-62YVEUMV.mjs +2 -0
- package/dist/chunk-65YBHFBQ.mjs +2 -0
- package/dist/chunk-66NCLB7F.mjs +2 -0
- package/dist/chunk-6DAS6BC3.mjs +2 -0
- package/dist/chunk-6EUXTYZS.mjs +2 -0
- package/dist/chunk-6GNET5PR.mjs +2 -0
- package/dist/chunk-6HCFJXK7.mjs +2 -0
- package/dist/chunk-6JH2N2EX.mjs +2 -0
- package/dist/chunk-6JNVH5EW.mjs +2 -0
- package/dist/chunk-6JWW7JNE.mjs +2 -0
- package/dist/chunk-6KEKSFFX.mjs +2 -0
- package/dist/chunk-6KH6UZ4O.mjs +2 -0
- package/dist/chunk-6PYUCKYQ.mjs +2 -0
- package/dist/chunk-6Q6EHRDZ.mjs +2 -0
- package/dist/chunk-6REG5FE6.mjs +2 -0
- package/dist/chunk-6TFL7ZBB.mjs +2 -0
- package/dist/chunk-73KEVVOX.mjs +2 -0
- package/dist/chunk-73ZNTC2B.mjs +2 -0
- package/dist/chunk-75G5SHEB.mjs +2 -0
- package/dist/chunk-75WZUXH4.mjs +2 -0
- package/dist/chunk-76WLXMIK.mjs +2 -0
- package/dist/chunk-77G6KT3W.mjs +2 -0
- package/dist/chunk-7ARJDC2Z.mjs +2 -0
- package/dist/chunk-7D4ZS4PH.mjs +2 -0
- package/dist/chunk-7FJL2LFN.mjs +2 -0
- package/dist/chunk-7GDJKFIP.mjs +2 -0
- package/dist/chunk-7HZEQINP.mjs +2 -0
- package/dist/chunk-7ILHLZNV.mjs +2 -0
- package/dist/chunk-7P2VLXDJ.mjs +2 -0
- package/dist/chunk-7USY3U5Y.mjs +2 -0
- package/dist/chunk-7WBQ3YV7.mjs +2 -0
- package/dist/chunk-7XGI2SRI.mjs +2 -0
- package/dist/chunk-7ZX6Q76X.mjs +2 -0
- package/dist/chunk-A325GSRX.mjs +2 -0
- package/dist/chunk-ABFV2QMX.mjs +2 -0
- package/dist/chunk-AIH2TIHT.mjs +2 -0
- package/dist/chunk-AMU5Y6S7.mjs +2 -0
- package/dist/chunk-ANSFSWL6.mjs +2 -0
- package/dist/chunk-AXBWAKNT.mjs +2 -0
- package/dist/chunk-AXFITTWG.mjs +2 -0
- package/dist/chunk-AXVXO3ZJ.mjs +2 -0
- package/dist/chunk-B2CTF7QG.mjs +2 -0
- package/dist/chunk-B3NNGVFI.mjs +2 -0
- package/dist/chunk-B4OQFBGG.mjs +2 -0
- package/dist/chunk-B6LOESRR.mjs +2 -0
- package/dist/chunk-B7JGWAIZ.mjs +2 -0
- package/dist/chunk-BA5ZKFLW.mjs +2 -0
- package/dist/chunk-BAFHO4XI.mjs +2 -0
- package/dist/chunk-BAOX5RS6.mjs +2 -0
- package/dist/chunk-BBHK44ON.mjs +2 -0
- package/dist/chunk-BC73ESZH.mjs +2 -0
- package/dist/chunk-BGCJQIDH.mjs +2 -0
- package/dist/chunk-BH6DDELO.mjs +2 -0
- package/dist/chunk-BMDN5BI3.mjs +2 -0
- package/dist/chunk-BMISRQY4.mjs +2 -0
- package/dist/chunk-BNAUWEYY.mjs +2 -0
- package/dist/chunk-BSGT2NF6.mjs +2 -0
- package/dist/chunk-BSXXM6QQ.mjs +2 -0
- package/dist/chunk-BUNVQ2WH.mjs +2 -0
- package/dist/chunk-BURE2TOC.mjs +2 -0
- package/dist/chunk-BW4C2OKQ.mjs +2 -0
- package/dist/chunk-C25EFVHY.mjs +2 -0
- package/dist/chunk-C2HXTN5P.mjs +2 -0
- package/dist/chunk-C2YEZKHR.mjs +2 -0
- package/dist/chunk-C45RMODA.mjs +14 -0
- package/dist/chunk-C4UOZW2Y.mjs +2 -0
- package/dist/chunk-C6UNPM2B.mjs +2 -0
- package/dist/chunk-C72IQ7KG.mjs +2 -0
- package/dist/chunk-C7INR5T7.mjs +2 -0
- package/dist/chunk-CCXMHRCG.mjs +2 -0
- package/dist/chunk-CDWU3DZQ.mjs +2 -0
- package/dist/chunk-CF4JO44M.mjs +2 -0
- package/dist/chunk-CFAMVXYR.mjs +2 -0
- package/dist/chunk-CHTNGVIK.mjs +2 -0
- package/dist/chunk-CIB3WAEE.mjs +2 -0
- package/dist/chunk-CPXTEC5G.mjs +2 -0
- package/dist/chunk-CRDVAGZA.mjs +2 -0
- package/dist/chunk-CUAZ6ZEB.mjs +2 -0
- package/dist/chunk-CX7WKM75.mjs +2 -0
- package/dist/chunk-CXZVSCQW.mjs +2 -0
- package/dist/chunk-D24LHUDA.mjs +2 -0
- package/dist/chunk-D2XRBZFY.mjs +2 -0
- package/dist/chunk-D4GOH7YF.mjs +2 -0
- package/dist/chunk-DCNUS6TK.mjs +2 -0
- package/dist/chunk-DDMBK7WX.mjs +2 -0
- package/dist/chunk-DDUF7PO7.mjs +2 -0
- package/dist/chunk-DFBU5AWJ.mjs +2 -0
- package/dist/chunk-DGYSR2N5.mjs +2 -0
- package/dist/chunk-DKF3JLZL.mjs +2 -0
- package/dist/chunk-DRHG63KA.mjs +2 -0
- package/dist/chunk-DRONHFRG.mjs +2 -0
- package/dist/chunk-DSISUPVI.mjs +2 -0
- package/dist/chunk-DTIT4522.mjs +2 -0
- package/dist/chunk-DWQMIUCJ.mjs +2 -0
- package/dist/chunk-E6C6TBON.mjs +2 -0
- package/dist/chunk-E6KU4VBW.mjs +2 -0
- package/dist/chunk-EARIQRPH.mjs +2 -0
- package/dist/chunk-EB4TUAE3.mjs +2 -0
- package/dist/chunk-EB6MTXOJ.mjs +2 -0
- package/dist/chunk-EC35JW5Z.mjs +2 -0
- package/dist/chunk-EDYEC2UW.mjs +2 -0
- package/dist/chunk-EEGRZG6M.mjs +2 -0
- package/dist/chunk-EERT6N22.mjs +2 -0
- package/dist/chunk-EFDUWF6D.mjs +2 -0
- package/dist/chunk-EHQ5Y6ZB.mjs +2 -0
- package/dist/chunk-EHT4LQK7.mjs +2 -0
- package/dist/chunk-EL4PVP7O.mjs +2 -0
- package/dist/chunk-EPABDYC7.mjs +2 -0
- package/dist/chunk-EQF7NWG3.mjs +2 -0
- package/dist/chunk-ERNUZHW7.mjs +2 -0
- package/dist/chunk-ESQ53AT2.mjs +2 -0
- package/dist/chunk-ESXKKCC3.mjs +2 -0
- package/dist/chunk-EUBCJR37.mjs +2 -0
- package/dist/chunk-EUZ4PLSH.mjs +2 -0
- package/dist/chunk-EWRWEAK2.mjs +2 -0
- package/dist/chunk-EXFD3JIZ.mjs +2 -0
- package/dist/chunk-F2YHVYSJ.mjs +2 -0
- package/dist/chunk-F5JCWKIV.mjs +2 -0
- package/dist/chunk-F7Q47HDH.mjs +2 -0
- package/dist/chunk-FF55SA3C.mjs +2 -0
- package/dist/chunk-FKFRJLV4.mjs +2 -0
- package/dist/chunk-FM2AMJG3.mjs +2 -0
- package/dist/chunk-FMSJKXUE.mjs +2 -0
- package/dist/chunk-FPYN2O6E.mjs +2 -0
- package/dist/chunk-FQ7WMEHO.mjs +2 -0
- package/dist/chunk-FRNLB4GJ.mjs +2 -0
- package/dist/chunk-FT7ASSHM.mjs +2 -0
- package/dist/chunk-FWYIB5LD.mjs +2 -0
- package/dist/chunk-FX5LCKM5.mjs +2 -0
- package/dist/chunk-FX5WDM5D.mjs +2 -0
- package/dist/chunk-G2SVDOAG.mjs +2 -0
- package/dist/chunk-G4W7RZQG.mjs +2 -0
- package/dist/chunk-G5OPSCY5.mjs +2 -0
- package/dist/chunk-G65VIGQW.mjs +2 -0
- package/dist/chunk-G732I6LI.mjs +2 -0
- package/dist/chunk-GAKKDOYT.mjs +2 -0
- package/dist/chunk-GBTTMOB5.mjs +2 -0
- package/dist/chunk-GBZOGF3I.mjs +2 -0
- package/dist/chunk-GFPHNLHE.mjs +2 -0
- package/dist/chunk-GGAGWXU5.mjs +2 -0
- package/dist/chunk-GGHP6SAM.mjs +2 -0
- package/dist/chunk-GGUJQ5NL.mjs +2 -0
- package/dist/chunk-GLHY6VUV.mjs +2 -0
- package/dist/chunk-GLISLC7O.mjs +2 -0
- package/dist/chunk-GLQVL5K4.mjs +2 -0
- package/dist/chunk-GMLYY3EY.mjs +2 -0
- package/dist/chunk-GNAFXE6P.mjs +2 -0
- package/dist/chunk-GP7GXSDV.mjs +2 -0
- package/dist/chunk-GUOMXSMW.mjs +2 -0
- package/dist/chunk-GV74USUK.mjs +2 -0
- package/dist/chunk-GWJFVOEZ.mjs +2 -0
- package/dist/chunk-GY7HGDFN.mjs +2 -0
- package/dist/chunk-GYQNT7RY.mjs +2 -0
- package/dist/chunk-GZI2D3DN.mjs +2 -0
- package/dist/chunk-HAEXLKFE.mjs +2 -0
- package/dist/chunk-HBVQHSNH.mjs +2 -0
- package/dist/chunk-HDWP2MGU.mjs +2 -0
- package/dist/chunk-HEKS3JVE.mjs +2 -0
- package/dist/chunk-HIK2DIR4.mjs +2 -0
- package/dist/chunk-HJ4OWUQO.mjs +2 -0
- package/dist/chunk-HKJTS35C.mjs +2 -0
- package/dist/chunk-HKMDKX54.mjs +2 -0
- package/dist/chunk-HL4NEJRB.mjs +2 -0
- package/dist/chunk-HOURN4VG.mjs +2 -0
- package/dist/chunk-HRDWRUGX.mjs +2 -0
- package/dist/chunk-HTXQPLBD.mjs +2 -0
- package/dist/chunk-HUFX2XVY.mjs +2 -0
- package/dist/chunk-HUYNOZML.mjs +2 -0
- package/dist/chunk-HV4RUFPX.mjs +2 -0
- package/dist/chunk-HVWGK34O.mjs +2 -0
- package/dist/chunk-HW5KVKW5.mjs +2 -0
- package/dist/chunk-HWHAH2NG.mjs +2 -0
- package/dist/chunk-HWM7RDK7.mjs +2 -0
- package/dist/chunk-HY52D5R5.mjs +2 -0
- package/dist/chunk-HYPEUX5Z.mjs +2 -0
- package/dist/chunk-I2ZSNU7M.mjs +2 -0
- package/dist/chunk-I7UOZVHN.mjs +2 -0
- package/dist/chunk-I7YWKY7N.mjs +2 -0
- package/dist/chunk-IBW4BSQG.mjs +2 -0
- package/dist/chunk-ICUT5XL7.mjs +2 -0
- package/dist/chunk-IELNX2OK.mjs +2 -0
- package/dist/chunk-IG54EI6V.mjs +2 -0
- package/dist/chunk-IH5CPO5C.mjs +2 -0
- package/dist/chunk-IHGR3PGW.mjs +2 -0
- package/dist/chunk-IK3CTUJX.mjs +2 -0
- package/dist/chunk-ILUUMP47.mjs +2 -0
- package/dist/chunk-IMMUTDGL.mjs +2 -0
- package/dist/chunk-INN6MCDG.mjs +2 -0
- package/dist/chunk-IO6OB2HL.mjs +2 -0
- package/dist/chunk-IP5CZOXG.mjs +2 -0
- package/dist/chunk-IP5P66MO.mjs +2 -0
- package/dist/chunk-IP7IEMZM.mjs +2 -0
- package/dist/chunk-IQJUIFEW.mjs +2 -0
- package/dist/chunk-IR4ADHH7.mjs +2 -0
- package/dist/chunk-IVNWJC3S.mjs +2 -0
- package/dist/chunk-IYYDSMUY.mjs +2 -0
- package/dist/chunk-IZM4MVAX.mjs +2 -0
- package/dist/chunk-J3ZMP25N.mjs +2 -0
- package/dist/chunk-J7VPYSLS.mjs +2 -0
- package/dist/chunk-JBZY2UHS.mjs +2 -0
- package/dist/chunk-JCINE5SP.mjs +2 -0
- package/dist/chunk-JDLQRN2O.mjs +2 -0
- package/dist/chunk-JE3CHKCR.mjs +2 -0
- package/dist/chunk-JG54P5HL.mjs +2 -0
- package/dist/chunk-JGAAC5ZN.mjs +7 -0
- package/dist/chunk-JH7AGUEZ.mjs +2 -0
- package/dist/chunk-JIHAEEF3.mjs +2 -0
- package/dist/chunk-JLJBCPUC.mjs +2 -0
- package/dist/chunk-JMRNEJZM.mjs +2 -0
- package/dist/chunk-JPELKCDR.mjs +2 -0
- package/dist/chunk-JQCN3C7X.mjs +2 -0
- package/dist/chunk-JQLVJ6PV.mjs +2 -0
- package/dist/chunk-JQNSL5A6.mjs +2 -0
- package/dist/chunk-JVKN3C4N.mjs +2 -0
- package/dist/chunk-JWZIVU4W.mjs +2 -0
- package/dist/chunk-JXSRE2HN.mjs +2 -0
- package/dist/chunk-JYM2SIJQ.mjs +2 -0
- package/dist/chunk-K2V7MFVV.mjs +2 -0
- package/dist/chunk-K45C6UUC.mjs +2 -0
- package/dist/chunk-K4SMVHNR.mjs +2 -0
- package/dist/chunk-K56GBSYW.mjs +2 -0
- package/dist/chunk-KJ5AJMBB.mjs +2 -0
- package/dist/chunk-KJHQ7NNN.mjs +2 -0
- package/dist/chunk-KJVQXK7J.mjs +2 -0
- package/dist/chunk-KM6KVVUZ.mjs +2 -0
- package/dist/chunk-KP6CPRI3.mjs +2 -0
- package/dist/chunk-KSE7J4TQ.mjs +2 -0
- package/dist/chunk-KSSUESCL.mjs +2 -0
- package/dist/chunk-L5YZUFNH.mjs +2 -0
- package/dist/chunk-LAPVCWYK.mjs +2 -0
- package/dist/chunk-LASO3JQ6.mjs +2 -0
- package/dist/chunk-LDLHQCLH.mjs +2 -0
- package/dist/chunk-LE4PSJ4R.mjs +2 -0
- package/dist/chunk-LFQAIDJD.mjs +2 -0
- package/dist/chunk-LIGAHPXL.mjs +2 -0
- package/dist/chunk-LPIBOG3O.mjs +2 -0
- package/dist/chunk-LPZEJBCS.mjs +2 -0
- package/dist/chunk-LRBNP3MC.mjs +2 -0
- package/dist/chunk-LY3QP3VI.mjs +2 -0
- package/dist/chunk-M3CPGPIQ.mjs +2 -0
- package/dist/chunk-M554Q6ZH.mjs +2 -0
- package/dist/chunk-M7Y7W566.mjs +2 -0
- package/dist/chunk-MCIFOWFO.mjs +2 -0
- package/dist/chunk-MH7EZQYG.mjs +2 -0
- package/dist/chunk-MI2CFPL3.mjs +2 -0
- package/dist/chunk-MN4RIHK7.mjs +2 -0
- package/dist/chunk-MPTCLEYO.mjs +2 -0
- package/dist/chunk-MVAWYBZA.mjs +2 -0
- package/dist/chunk-MYYGR2U3.mjs +2 -0
- package/dist/chunk-N3HAB7GY.mjs +2 -0
- package/dist/chunk-NABXTJAQ.mjs +2 -0
- package/dist/chunk-NAC6RHKR.mjs +2 -0
- package/dist/chunk-NAKB4NQA.mjs +2 -0
- package/dist/chunk-NAPMADZL.mjs +2 -0
- package/dist/chunk-NEDASB4A.mjs +2 -0
- package/dist/chunk-NPIAR444.mjs +2 -0
- package/dist/chunk-NPTRLMOC.mjs +2 -0
- package/dist/chunk-NUD3FMBI.mjs +2 -0
- package/dist/chunk-NYGYWO65.mjs +2 -0
- package/dist/chunk-O22BUYQL.mjs +2 -0
- package/dist/chunk-O3JPXY6R.mjs +2 -0
- package/dist/chunk-OEJN5XTE.mjs +2 -0
- package/dist/chunk-OGJH52W6.mjs +2 -0
- package/dist/chunk-OGVFBTEH.mjs +2 -0
- package/dist/chunk-OI37HXT5.mjs +2 -0
- package/dist/chunk-OIJQC2FH.mjs +2 -0
- package/dist/chunk-OMBLDCUP.mjs +2 -0
- package/dist/chunk-OOZGNBBK.mjs +2 -0
- package/dist/chunk-ORFZNAOB.mjs +2 -0
- package/dist/chunk-OSV2JM6L.mjs +2 -0
- package/dist/chunk-OT3YJFOL.mjs +2 -0
- package/dist/chunk-P24RLXHU.mjs +2 -0
- package/dist/chunk-P5ZKFNAS.mjs +2 -0
- package/dist/chunk-P7Z73MBW.mjs +2 -0
- package/dist/chunk-PE5EZAFA.mjs +2 -0
- package/dist/chunk-PMRBRBZ3.mjs +2 -0
- package/dist/chunk-PVOHSSAC.mjs +2 -0
- package/dist/chunk-Q2RUUCQX.mjs +2 -0
- package/dist/chunk-Q3ICZDSY.mjs +2 -0
- package/dist/chunk-QATSRBXB.mjs +2 -0
- package/dist/chunk-QE42YW4F.mjs +2 -0
- package/dist/chunk-QF3AY5DX.mjs +2 -0
- package/dist/chunk-QFQLYFYZ.mjs +2 -0
- package/dist/chunk-QG4UCTT3.mjs +2 -0
- package/dist/chunk-QGPF3DLI.mjs +2 -0
- package/dist/chunk-QKBKH3IM.mjs +2 -0
- package/dist/chunk-QN7ZKKZ6.mjs +2 -0
- package/dist/chunk-QQJ5Q7DN.mjs +2 -0
- package/dist/chunk-QSYIQL5W.mjs +2 -0
- package/dist/chunk-R2YDBCVQ.mjs +2 -0
- package/dist/chunk-R3W2SUYE.mjs +2 -0
- package/dist/chunk-R45O6VZE.mjs +2 -0
- package/dist/chunk-R4UAFXW3.mjs +2 -0
- package/dist/chunk-RB7RDGWP.mjs +2 -0
- package/dist/chunk-RC7DDQ76.mjs +2 -0
- package/dist/chunk-RDMJKH4Q.mjs +2 -0
- package/dist/chunk-REDTJAPX.mjs +2 -0
- package/dist/chunk-RH5RC23C.mjs +2 -0
- package/dist/chunk-RHDW32FC.mjs +2 -0
- package/dist/chunk-RNZHTSQU.mjs +2 -0
- package/dist/chunk-RTETES5P.mjs +2 -0
- package/dist/chunk-RTXJM4GI.mjs +2 -0
- package/dist/chunk-RUVYPZML.mjs +2 -0
- package/dist/chunk-RVUQLZX4.mjs +2 -0
- package/dist/chunk-RVZC5ZFT.mjs +2 -0
- package/dist/chunk-S5A22U7G.mjs +2 -0
- package/dist/chunk-S5I7CP2K.mjs +2 -0
- package/dist/chunk-SAAFESV7.mjs +2 -0
- package/dist/chunk-SALE3TDE.mjs +2 -0
- package/dist/chunk-SDPMZGG7.mjs +2 -0
- package/dist/chunk-SFKCN36S.mjs +2 -0
- package/dist/chunk-SFPRFO5Q.mjs +2 -0
- package/dist/chunk-SFPWWG4G.mjs +2 -0
- package/dist/chunk-SG3MG5ZQ.mjs +2 -0
- package/dist/chunk-SLE55SCS.mjs +2 -0
- package/dist/chunk-SMDLHLPZ.mjs +2 -0
- package/dist/chunk-SPJHQZVA.mjs +2 -0
- package/dist/chunk-SVKN5LSQ.mjs +2 -0
- package/dist/chunk-T2POBHOH.mjs +2 -0
- package/dist/chunk-T56OBLGW.mjs +2 -0
- package/dist/chunk-T6ESNZZD.mjs +2 -0
- package/dist/chunk-TKALKCOU.mjs +2 -0
- package/dist/chunk-TKTDCYUV.mjs +2 -0
- package/dist/chunk-TL6LHZZJ.mjs +2 -0
- package/dist/chunk-TLAQYBIA.mjs +2 -0
- package/dist/chunk-TM5UPJGQ.mjs +2 -0
- package/dist/chunk-TNCF2FDG.mjs +2 -0
- package/dist/chunk-TO6EQBPX.mjs +2 -0
- package/dist/chunk-TS6VATV2.mjs +2 -0
- package/dist/chunk-TZX3O6X7.mjs +2 -0
- package/dist/chunk-U4D22TY4.mjs +2 -0
- package/dist/chunk-UFCT5ISU.mjs +2 -0
- package/dist/chunk-UJ6GQOV2.mjs +2 -0
- package/dist/chunk-ULUGJ6IE.mjs +2 -0
- package/dist/chunk-UPEHAJRE.mjs +2 -0
- package/dist/chunk-UQMZULTJ.mjs +2 -0
- package/dist/chunk-UQPLM76H.mjs +2 -0
- package/dist/chunk-USPRDERW.mjs +2 -0
- package/dist/chunk-UT4TBZQU.mjs +2 -0
- package/dist/chunk-UT6UT7BV.mjs +2 -0
- package/dist/chunk-V5VWPCZ2.mjs +2 -0
- package/dist/chunk-V76FQRRS.mjs +2 -0
- package/dist/chunk-VBK5G5SS.mjs +2 -0
- package/dist/chunk-VEHHHDP2.mjs +2 -0
- package/dist/chunk-VLGUXNZQ.mjs +2 -0
- package/dist/chunk-VMUKI5UK.mjs +2 -0
- package/dist/chunk-VQ4VZPA7.mjs +2 -0
- package/dist/chunk-VQ6LLAYT.mjs +2 -0
- package/dist/chunk-VRHROBPL.mjs +2 -0
- package/dist/chunk-VT7KNQ5S.mjs +2 -0
- package/dist/chunk-VTLJ2PX3.mjs +2 -0
- package/dist/chunk-VX7ASFGG.mjs +2 -0
- package/dist/chunk-VYKQLSIL.mjs +2 -0
- package/dist/chunk-VZFFVSMM.mjs +2 -0
- package/dist/chunk-W6EYH5V2.mjs +2 -0
- package/dist/chunk-WARRQBSI.mjs +2 -0
- package/dist/chunk-WCRGFT4C.mjs +2 -0
- package/dist/chunk-WGP7JLBY.mjs +2 -0
- package/dist/chunk-WHLD23OA.mjs +2 -0
- package/dist/chunk-WKCMOLY3.mjs +2 -0
- package/dist/chunk-WKJ3WZMI.mjs +2 -0
- package/dist/chunk-WM2LAFXS.mjs +2 -0
- package/dist/chunk-WNCADJDT.mjs +2 -0
- package/dist/chunk-WO45KDL7.mjs +2 -0
- package/dist/chunk-WPJ364LM.mjs +2 -0
- package/dist/chunk-WR3R3VGQ.mjs +2 -0
- package/dist/chunk-WSQOQ4PH.mjs +2 -0
- package/dist/chunk-WXNE36A7.mjs +2 -0
- package/dist/chunk-X2MWPPGE.mjs +2 -0
- package/dist/chunk-X2TRZZL3.mjs +2 -0
- package/dist/chunk-X34XACN6.mjs +2 -0
- package/dist/chunk-X6CKOYUG.mjs +2 -0
- package/dist/chunk-XFH5DMTJ.mjs +2 -0
- package/dist/chunk-XHQLWOWW.mjs +2 -0
- package/dist/chunk-XPWKUREN.mjs +2 -0
- package/dist/chunk-XREE6ZVR.mjs +2 -0
- package/dist/chunk-XTUB6P5D.mjs +2 -0
- package/dist/chunk-XVJ6W6LX.mjs +2 -0
- package/dist/chunk-XVLXZU6W.mjs +2 -0
- package/dist/chunk-XWTZTTGM.mjs +2 -0
- package/dist/chunk-Y4YCDTJT.mjs +2 -0
- package/dist/chunk-Y5G5JLU7.mjs +2 -0
- package/dist/chunk-Y6TBA56C.mjs +2 -0
- package/dist/chunk-Y7E7HSNP.mjs +2 -0
- package/dist/chunk-YCWEB75F.mjs +2 -0
- package/dist/chunk-YEFQIZYN.mjs +2 -0
- package/dist/chunk-YFMGTIGH.mjs +2 -0
- package/dist/chunk-YG7NAPNH.mjs +2 -0
- package/dist/chunk-YJA5DA3B.mjs +2 -0
- package/dist/chunk-YOV6GK5Z.mjs +2 -0
- package/dist/chunk-YQSKZPSZ.mjs +2 -0
- package/dist/chunk-YYFSSUTW.mjs +2 -0
- package/dist/chunk-Z2PFQCGW.mjs +2 -0
- package/dist/chunk-Z2UKO4CH.mjs +2 -0
- package/dist/chunk-Z37YWFAH.mjs +2 -0
- package/dist/chunk-Z3AJJ3K4.mjs +2 -0
- package/dist/chunk-Z5G7RNAM.mjs +2 -0
- package/dist/chunk-ZALTAHRW.mjs +2 -0
- package/dist/chunk-ZOTNHFA4.mjs +2 -0
- package/dist/chunk-ZTAR5Q7A.mjs +2 -0
- package/dist/chunk-ZVBWHLLR.mjs +2 -0
- package/dist/composite-logo.d.ts +7 -0
- package/dist/composite-logo.mjs +2 -0
- package/dist/copiable-logo.mjs +2 -0
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/index.d.ts +0 -2
- 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/logo.mjs +1 -1
- package/dist/icons/logotype.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 +6 -4
- package/dist/index.mjs +1 -1
- package/dist/input-select.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.d.ts +7 -0
- package/dist/logo.mjs +2 -0
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav-logo.d.ts +13 -0
- package/dist/nav-logo.mjs +2 -0
- package/dist/nav-mobile.mjs +1 -1
- package/dist/nav.d.ts +9 -2
- package/dist/nav.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.d.ts +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/tooltip.d.ts +6 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/wordmark.d.ts +7 -0
- package/dist/wordmark.mjs +2 -0
- package/package.json +4 -2
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as i}from"./chunk-C2YEZKHR.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as e}from"./chunk-YCWEB75F.mjs";import{jsx as t,jsxs as s}from"react/jsx-runtime";function o({className:r}){return s("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{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{g as e}from"./chunk-YCWEB75F.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as l}from"./chunk-GV74USUK.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as y}from"./chunk-K4MP745I.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-DRHG63KA.mjs";import{b as g,c as f,f as b}from"./chunk-7ILHLZNV.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}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref: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(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as o}from"./chunk-7ILHLZNV.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as f}from"./chunk-K4MP745I.mjs";import{h as i}from"./chunk-EHT4LQK7.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as y}from"./chunk-K4MP745I.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-QFHN6IA7.mjs";import{a as g,d as f,e as b}from"./chunk-HH5T5KBM.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((void 0)(i),500),d=P(()=>(void 0)(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,void 0,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=y();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref: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(p,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as t}from"./chunk-GV74USUK.mjs";import{jsx as r}from"react/jsx-runtime";function s({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-C25EFVHY.mjs";import{a as l}from"./chunk-QN7ZKKZ6.mjs";import{h as t}from"./chunk-C6UNPM2B.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-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":e.endsWith("outline")},a),children:[i,o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("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-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as v}from"./chunk-7ILHLZNV.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-IP5CZOXG.mjs";import{a as y}from"./chunk-2CPZ4ZE6.mjs";import{a as x}from"./chunk-HV4RUFPX.mjs";import{a as f}from"./chunk-2QK6XSG7.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-XPWKUREN.mjs";import{f as u,h as l,j as g,k as p}from"./chunk-7D4ZS4PH.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(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:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("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(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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]"})]}),t("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(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("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:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("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:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("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:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{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 $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(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:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as e}from"./chunk-JQLVJ6PV.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:(void 0)("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:(void 0)("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as i}from"./chunk-LPIBOG3O.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:(void 0)("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as l}from"./chunk-HEKS3JVE.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as n}from"./chunk-UQMZULTJ.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as C}from"./chunk-C6UNPM2B.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as l}from"./chunk-C6UNPM2B.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-Y4YCDTJT.mjs";import{h as i}from"./chunk-HUYNOZML.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as s}from"./chunk-7ILHLZNV.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as n}from"./chunk-7ILHLZNV.mjs";import{jsx as e}from"react/jsx-runtime";function r({user:a={},className:l}){return a?e("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:n("h-10 w-10 rounded-full border border-gray-300",l),draggable:!1}):e("div",{className:n("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",l)})}function d({id:a}){return e("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{r as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as i}from"./chunk-HEKS3JVE.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as t}from"./chunk-EHT4LQK7.mjs";import{jsx as r}from"react/jsx-runtime";function s({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as n}from"./chunk-LPIBOG3O.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:(void 0)("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{b as c}from"./chunk-QSYIQL5W.mjs";import{a as p,e as m}from"./chunk-7D4ZS4PH.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function k({children:t}){return e(n.Provider,{delayDuration:100,children:t})}function s({children:t,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[e(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),e(n.Portal,{children:e(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function P({title:t,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(r?e(g,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:t,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function R({content:t}){return e(s,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function L({value:t,unit:o="total clicks",children:r,lastClicked:i}){return(!t||t<1e3)&&!i?r:e(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,...r}){return e(s,{content:o,...r,children:e("div",{className:"flex cursor-pointer items-center",children:e(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}export{k as a,s as b,P as c,w as d,C as e,R as f,L as g,B as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-JQCN3C7X.mjs";import{a as y}from"./chunk-O3JPXY6R.mjs";import{a as x}from"./chunk-USPRDERW.mjs";import{a as f}from"./chunk-GY7HGDFN.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-RVUQLZX4.mjs";import{f as u,h as l,j as g,k as p}from"./chunk-EHT4LQK7.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:p.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(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:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("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(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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]"})]}),t("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(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("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:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("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:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("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:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{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 $(){let{data:a}=R("https://status.dub.co/api/v1/summary",u),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(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:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as m}from"./chunk-VQ4VZPA7.mjs";import{a as p,e as c}from"./chunk-EHT4LQK7.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as l}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function s({children:e,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[t(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?t("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function k({title:e,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:e,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function R({content:e}){return t(s,{content:e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",children:r,lastClicked:i}){return(!e||e<1e3)&&!i?r:t(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(e||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",c(i,{withAgo:!0})]})]}),children:r})}function L({children:e,content:o,...r}){return t(s,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(m,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({tooltipContent:e,children:o,...r}){return t(s,{content:e,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:o})})})}export{P as a,s as b,k as c,w as d,C as e,R as f,B as g,L as h,O as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as t}from"./chunk-HEKS3JVE.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{k as e}from"./chunk-C2YEZKHR.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:(void 0)("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:(void 0)("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as f}from"./chunk-K4MP745I.mjs";import{g as i}from"./chunk-HH5T5KBM.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:(void 0)("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:(void 0)("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as r}from"./chunk-LPIBOG3O.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:(void 0)("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:(void 0)("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:(void 0)("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as e}from"./chunk-7ILHLZNV.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{g as e}from"./chunk-LPIBOG3O.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:(void 0)("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{h as e}from"./chunk-C6UNPM2B.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as a}from"./chunk-YCWEB75F.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as n}from"./chunk-C2YEZKHR.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:(void 0)(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-TL6LHZZJ.mjs";import{a as l}from"./chunk-5IFBEEHJ.mjs";import{k as t}from"./chunk-C2YEZKHR.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:(void 0)("flex h-10 w-full cursor-not-allowed items-center justify-center space-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":e.endsWith("outline")},a),children:[i,o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:(void 0)("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("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-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-GBTTMOB5.mjs";import{h as i}from"./chunk-HUYNOZML.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{g as o}from"./chunk-LPIBOG3O.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:(void 0)(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as L}from"./chunk-K4MP745I.mjs";import{a as k}from"./chunk-2KKU2VSI.mjs";import{b as S}from"./chunk-LAPVCWYK.mjs";import{h as u}from"./chunk-HUYNOZML.mjs";import{Command as s,useCommandState as P}from"cmdk";import{Check as T,ChevronDown as O,Search as v,X as j}from"lucide-react";import{memo as w,useEffect as z,useRef as H,useState as D}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function U({items:g,selectedItem:r,setSelectedItem:N,className:p,disabled:E,adjustForMobile:M,icon:b,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=D(!1),[d,f]=D((r==null?void 0:r.value)||"");z(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:R}=L(),h=w(()=>{let a=P(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:f,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:E,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),f("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(j,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(O,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>g.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),f(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(T,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return R&&M?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:u("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",p),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-7GDJKFIP.mjs";import{a as x}from"./chunk-UT4TBZQU.mjs";import{a as f}from"./chunk-E6KU4VBW.mjs";import{a as y}from"./chunk-EL4PVP7O.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-EFDUWF6D.mjs";import{e as l,g as u,h as g,j as p}from"./chunk-UQMZULTJ.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(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:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("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(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("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]"})]}),t("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(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("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:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("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:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("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:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("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:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{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 $(){let{data:a}=R("https://status.dub.co/api/v1/summary",void 0),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(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:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as s}from"./chunk-LPIBOG3O.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:(void 0)(n)})});F.displayName="CountingNumbers";export{F as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-MVAWYBZA.mjs";import{h as i}from"./chunk-C6UNPM2B.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 m}from"./chunk-F5JCWKIV.mjs";import{h as i}from"./chunk-7ILHLZNV.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{g as v}from"./chunk-HEKS3JVE.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as L}from"./chunk-K4MP745I.mjs";import{a as k}from"./chunk-KSE7J4TQ.mjs";import{b as S}from"./chunk-VQ4VZPA7.mjs";import{h as u}from"./chunk-EHT4LQK7.mjs";import{Command as s,useCommandState as P}from"cmdk";import{Check as T,ChevronDown as O,Search as v,X as j}from"lucide-react";import{memo as w,useEffect as z,useRef as H,useState as D}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function U({items:g,selectedItem:r,setSelectedItem:N,className:p,disabled:E,adjustForMobile:M,icon:b,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=D(!1),[d,f]=D((r==null?void 0:r.value)||"");z(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:R}=L(),h=w(()=>{let a=P(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:f,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:E,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),f("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(j,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(O,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>g.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),f(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(T,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return R&&M?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:u("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",p),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as L}from"./chunk-K4MP745I.mjs";import{a as k}from"./chunk-JVKN3C4N.mjs";import{b as S}from"./chunk-VZFFVSMM.mjs";import{h as u}from"./chunk-7ILHLZNV.mjs";import{Command as s,useCommandState as P}from"cmdk";import{Check as T,ChevronDown as O,Search as v,X as j}from"lucide-react";import{memo as w,useEffect as z,useRef as H,useState as D}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function U({items:g,selectedItem:r,setSelectedItem:N,className:p,disabled:E,adjustForMobile:M,icon:b,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=D(!1),[d,f]=D((r==null?void 0:r.value)||"");z(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:R}=L(),h=w(()=>{let a=P(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:f,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:E,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),f("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(j,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(O,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>g.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),f(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(T,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return R&&M?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:u("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",p),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{g as v}from"./chunk-YCWEB75F.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as e}from"./chunk-C6UNPM2B.mjs";import{jsx as t}from"react/jsx-runtime";function n({className:i}){return t("div",{className:e("h-5 w-5",i),children:t("div",{style:{position:"relative",top:"50%",left:"50%"},className:e("loading-spinner","h-5 w-5",i),children:[...Array(12)].map((r,a)=>t("div",{style:{animationDelay:`${-1.2+.1*a}s`,background:"gray",position:"absolute",borderRadius:"1rem",width:"30%",height:"8%",left:"-10%",top:"-4%",transform:`rotate(${30*a}deg) translate(120%)`},className:"animate-spinner"},a))})})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as l}from"./chunk-C2YEZKHR.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:(void 0)("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as t}from"./chunk-7D4ZS4PH.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{h as v}from"./chunk-C6UNPM2B.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-RH5RC23C.mjs";import{g as i}from"./chunk-HH5T5KBM.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:(void 0)("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{e as n}from"./chunk-UQMZULTJ.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{b as s}from"./chunk-62FC3PUD.mjs";import{a as l}from"./chunk-DTIT4522.mjs";import{g as t}from"./chunk-YCWEB75F.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-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":e.endsWith("outline")},a),children:[i,o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("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-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as r}from"./chunk-C2YEZKHR.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:l,selected:i,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:l.map(t=>o("button",{className:(void 0)("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==i}),onClick:()=>a(t),children:[e("p",{children:t}),t===i&&e(n.div,{layoutId:l.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as t}from"./chunk-C6UNPM2B.mjs";import{jsx as r}from"react/jsx-runtime";function s({className:o}){return r("svg",{width:"300",height:"300",viewBox:"0 0 300 300",version:"1.1",xmlns:"http://www.w3.org/2000/svg",className:t("p-px",o),children:r("path",{stroke:"currentColor",d:"M178.57 127.15 290.27 0h-26.46l-97.03 110.38L89.34 0H0l117.13 166.93L0 300.25h26.46l102.4-116.59 81.8 116.59h89.34M36.01 19.54H76.66l187.13 262.13h-40.66"})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as o}from"./chunk-JQLVJ6PV.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:(void 0)(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-HAEXLKFE.mjs";import{a as p,b as m}from"./chunk-UQMZULTJ.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import g from"next/link";import{useState as f}from"react";import{jsx as e,jsxs as l}from"react/jsx-runtime";function k({children:t}){return e(n.Provider,{delayDuration:100,children:t})}function s({children:t,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[e(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:t}),e(n.Portal,{children:e(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?e("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function P({title:t,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[e("p",{className:"text-sm text-gray-700",children:t}),o&&(r?e(g,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?e("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:t,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[t," ",e("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:t}){return e("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:e(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:t})})}function R({content:t}){return e(s,{content:t,children:e(x,{className:"h-4 w-4 text-gray-500"})})}function L({value:t,unit:o="total clicks",children:r,lastClicked:i}){return(!t||t<1e3)&&!i?r:e(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,...r}){return e(s,{content:o,...r,children:e("div",{className:"flex cursor-pointer items-center",children:e(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:t})})})}export{k as a,s as b,P as c,w as d,C as e,R as f,L as g,B as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-6JH2N2EX.mjs";import{a as l}from"./chunk-HFSH7TBM.mjs";import{g as t}from"./chunk-HH5T5KBM.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:(void 0)("flex h-10 w-full cursor-not-allowed items-center justify-center space-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":e.endsWith("outline")},a),children:[i,o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:(void 0)("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("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-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-XJNRNBWB.mjs";import{a as v}from"./chunk-JJHKE6ES.mjs";import{d as c,f as g,h as d,i as p}from"./chunk-W5KJ5RBG.mjs";import*as i from"@radix-ui/react-navigation-menu";import l from"@vercel/analytics";import{ChevronDown as P}from"lucide-react";import m from"next/link";import{useParams as L,useSelectedLayoutSegment as C}from"next/navigation";import S from"swr";import{useCallback as w,useEffect as x,useState as M}from"react";function h(t){let[u,n]=M(!1),r=w(()=>{n(window.scrollY>t)},[t]);return x(()=>(window.addEventListener("scroll",r),()=>window.removeEventListener("scroll",r)),[r]),x(()=>{r()},[r]),u}import{Fragment as E,jsx as e,jsxs as o}from"react/jsx-runtime";var R=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function G(){let{domain:t="dub.co"}=L(),u=h(80),n=C(),{data:r,isLoading:N}=S(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:d("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":u,"border-b border-gray-200 bg-white":n&&p.includes(n)}),children:e(f,{children:o("div",{className:"flex h-14 items-center justify-between",children:[o("div",{className:"flex items-center space-x-4",children:[e(m,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),o(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[o(i.List,{className:"flex flex-row space-x-2 p-4",children:[o(i.Item,{children:[o(i.Trigger,{className:"group flex items-center space-x-2 rounded-md px-3 py-2 text-sm font-medium hover:bg-gray-100 focus:outline-none",children:[e("p",{className:d("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":n==="features"}),children:"Features"}),e(P,{className:"h-4 w-4 transition-all group-data-[state=open]:rotate-180"})]}),e(i.Content,{children:e("div",{className:"grid w-[32rem] grid-cols-2 gap-1 p-3",children:b.map(({slug:s,icon:a,title:k,shortTitle:y})=>o(m,{href:t==="dub.co"?`/${s}`:`https://dub.co/${s}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (/${s})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[o("div",{className:"flex items-center space-x-2",children:[e(a,{className:"h-4 w-4 text-gray-700"}),e("p",{className:"text-sm font-medium text-gray-700",children:y})]}),e("p",{className:"mt-1 line-clamp-1 text-sm text-gray-500",children:k})]},s))})})]}),R.map(({name:s,slug:a})=>e(i.Item,{asChild:!0,children:e(m,{id:`nav-${a}`,href:t==="dub.co"?`/${a}`:`https://dub.co/${a}`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:`navbar item (${a})`})}},className:d("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":n===a}),children:s},a)},a))]}),e(i.Viewport,{className:"data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content absolute left-0 top-full flex w-[var(--radix-navigation-menu-viewport-width)] origin-[top_center] justify-start rounded-lg border border-gray-200 bg-white shadow-lg"})]})]}),e("div",{className:"hidden lg:block",children:r&&Object.keys(r).length>0?e(m,{href:c,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Dashboard"}):N?null:o(E,{children:[e(m,{href:`${c}/login`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (login)"})}},className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",children:"Log in"}),e(m,{href:`${c}/register`,...t!=="dub.co"&&{onClick:()=>{l.track("Referred from custom domain",{domain:t,medium:"navbar item (signup)"})}},className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-white hover:text-black",children:"Sign Up"})]})})]})})})}export{h as a,R as b,G as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as e}from"./chunk-HUYNOZML.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-DRONHFRG.mjs";import{k as i}from"./chunk-JQLVJ6PV.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:(void 0)("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{b as m}from"./chunk-LAPVCWYK.mjs";import{a as p,e as c}from"./chunk-HUYNOZML.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as l}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function s({children:e,content:o,side:r="top"}){let[i,a]=f(!1);return l(n.Root,{open:i,onOpenChange:a,children:[t(n.Trigger,{asChild:!0,onClick:()=>{a(!0)},onBlur:()=>{a(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-md border border-gray-200 bg-white shadow-md",children:typeof o=="string"?t("span",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:o}):o})})]})}function k({title:e,cta:o,href:r,target:i,onClick:a}){return l("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...i?{target:i}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):a?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:a,children:o}):null)]})}function w({title:e,cta:o,href:r}){return l("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:i=>i.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function R({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function C({content:e}){return t(s,{content:e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",children:r,lastClicked:i}){return(!e||e<1e3)&&!i?r:t(s,{content:l("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[l("p",{className:"text-sm font-semibold text-gray-700",children:[p(e||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",c(i,{withAgo:!0})]})]}),children:r})}function L({children:e,content:o,...r}){return t(s,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(m,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({children:e,content:o,buttonProps:r}){return t(s,{content:o,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:e})})})}export{P as a,s as b,k as c,w as d,R as e,C as f,B as g,L as h,O as i};
|