@dub/ui 0.1.6 → 0.1.8
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.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-24ZUEHCC.mjs +2 -0
- package/dist/chunk-26MVMZNZ.mjs +2 -0
- package/dist/chunk-2ADAYQMU.mjs +2 -0
- package/dist/chunk-2DXY3AWQ.mjs +2 -0
- package/dist/chunk-2IXC2EEG.mjs +2 -0
- package/dist/chunk-2IYBPKU6.mjs +2 -0
- package/dist/chunk-2MRRN5CV.mjs +2 -0
- package/dist/chunk-2S6KEHF7.mjs +2 -0
- package/dist/chunk-2ZO3JRB5.mjs +2 -0
- package/dist/chunk-32Y6VWLQ.mjs +2 -0
- package/dist/chunk-37XAOWFG.mjs +2 -0
- package/dist/chunk-3DHBCOGV.mjs +2 -0
- package/dist/chunk-3GIUPYEY.mjs +2 -0
- package/dist/chunk-3HK46A2N.mjs +2 -0
- package/dist/chunk-3HOR7XUZ.mjs +2 -0
- package/dist/chunk-3K3SDHTH.mjs +2 -0
- package/dist/chunk-3KDO7AWB.mjs +2 -0
- package/dist/chunk-3LDOIFKM.mjs +2 -0
- package/dist/chunk-3N5PGMX7.mjs +2 -0
- package/dist/chunk-3OZFXG32.mjs +2 -0
- package/dist/chunk-3RDLJPU3.mjs +2 -0
- package/dist/chunk-3UTRAQWG.mjs +2 -0
- package/dist/chunk-3VFCMN7K.mjs +2 -0
- package/dist/chunk-432QTAJK.mjs +2 -0
- package/dist/chunk-47VKJSIB.mjs +2 -0
- package/dist/chunk-4G7PYH2Q.mjs +2 -0
- package/dist/chunk-4LUYCYRE.mjs +2 -0
- package/dist/chunk-4OQAAKGX.mjs +2 -0
- package/dist/chunk-4PXG6GVK.mjs +2 -0
- package/dist/chunk-4WDXMEEW.mjs +2 -0
- package/dist/chunk-4WOL67MO.mjs +2 -0
- package/dist/chunk-5A3CHOWZ.mjs +2 -0
- package/dist/chunk-5I6IS5CH.mjs +2 -0
- package/dist/chunk-5L6BGN5G.mjs +2 -0
- package/dist/chunk-5OOLIHWT.mjs +2 -0
- package/dist/chunk-5P7KVMLV.mjs +2 -0
- package/dist/chunk-5RYCMD7D.mjs +2 -0
- package/dist/chunk-5TRMU5QZ.mjs +2 -0
- package/dist/chunk-5XABV2G2.mjs +2 -0
- package/dist/chunk-5YN5Y5VJ.mjs +2 -0
- package/dist/chunk-6D6LC5FG.mjs +2 -0
- package/dist/chunk-6DEF6JUY.mjs +2 -0
- package/dist/chunk-6FM2RYQX.mjs +2 -0
- package/dist/chunk-6JVAM7T5.mjs +2 -0
- package/dist/chunk-6S6Y4DNI.mjs +2 -0
- package/dist/chunk-6SFJQ6UX.mjs +2 -0
- package/dist/chunk-6VNH74EJ.mjs +2 -0
- package/dist/chunk-6X7GHM7F.mjs +2 -0
- package/dist/chunk-754CRMC6.mjs +2 -0
- package/dist/chunk-7574536H.mjs +2 -0
- package/dist/chunk-7BRBQTLF.mjs +2 -0
- package/dist/chunk-7IDMMOBD.mjs +2 -0
- package/dist/chunk-7OSQNJUP.mjs +2 -0
- package/dist/chunk-7SO7THSF.mjs +2 -0
- package/dist/chunk-7UN4BOXA.mjs +2 -0
- package/dist/chunk-7VLRNLAX.mjs +2 -0
- package/dist/chunk-7VUK73JC.mjs +2 -0
- package/dist/chunk-7WZ4CHJC.mjs +2 -0
- package/dist/chunk-7YZ7PFIZ.mjs +2 -0
- package/dist/chunk-A4BQ7SC4.mjs +2 -0
- package/dist/chunk-A53WBV37.mjs +2 -0
- package/dist/chunk-AHWIKLBG.mjs +2 -0
- package/dist/chunk-AJFL2TVZ.mjs +2 -0
- package/dist/chunk-AQJGFPDK.mjs +2 -0
- package/dist/chunk-ARXC4PTN.mjs +2 -0
- package/dist/chunk-ATT544K2.mjs +2 -0
- package/dist/chunk-AWLTT4J7.mjs +2 -0
- package/dist/chunk-AWOW5YKE.mjs +2 -0
- package/dist/chunk-AWY4QQFD.mjs +2 -0
- package/dist/chunk-AY5R32XE.mjs +2 -0
- package/dist/chunk-B2HJWQN6.mjs +2 -0
- package/dist/chunk-B3NBAVU5.mjs +2 -0
- package/dist/chunk-B6GRYMVJ.mjs +2 -0
- package/dist/chunk-BDRDVFTR.mjs +2 -0
- package/dist/chunk-BKKQONMF.mjs +2 -0
- package/dist/chunk-BOGOLW47.mjs +2 -0
- package/dist/chunk-BSHBI3DC.mjs +2 -0
- package/dist/chunk-BUCZV5GP.mjs +2 -0
- package/dist/chunk-C2TGXYLN.mjs +2 -0
- package/dist/chunk-C2VK7UKT.mjs +2 -0
- package/dist/chunk-C6M5TN5Z.mjs +2 -0
- package/dist/chunk-CBX6XMS5.mjs +2 -0
- package/dist/chunk-CCPK36B5.mjs +2 -0
- package/dist/chunk-CCVJ32TF.mjs +2 -0
- package/dist/chunk-CD5IGEVN.mjs +2 -0
- package/dist/chunk-CDDU2T25.mjs +2 -0
- package/dist/chunk-CJTBJCEN.mjs +2 -0
- package/dist/chunk-CK5XFMYX.mjs +2 -0
- package/dist/chunk-CKFPP66I.mjs +2 -0
- package/dist/chunk-CN5IFEHF.mjs +2 -0
- package/dist/chunk-CT6645JZ.mjs +2 -0
- package/dist/chunk-CY74GUGQ.mjs +2 -0
- package/dist/chunk-DC3WAGZS.mjs +2 -0
- package/dist/chunk-DFSUUK7Z.mjs +2 -0
- package/dist/chunk-DH46R22X.mjs +2 -0
- package/dist/chunk-DKRHK2YU.mjs +2 -0
- package/dist/chunk-DMREGDCK.mjs +2 -0
- package/dist/chunk-DXXRHZGW.mjs +2 -0
- package/dist/chunk-DYFGNOHN.mjs +2 -0
- package/dist/chunk-DZF5D5F6.mjs +2 -0
- package/dist/chunk-E47ETLWX.mjs +2 -0
- package/dist/chunk-E4IZTA5R.mjs +2 -0
- package/dist/chunk-E7TDSU3K.mjs +2 -0
- package/dist/chunk-EGGPDO5U.mjs +2 -0
- package/dist/chunk-EGSHOUSJ.mjs +2 -0
- package/dist/chunk-EHXHW75R.mjs +2 -0
- package/dist/chunk-EIPMBGAW.mjs +2 -0
- package/dist/chunk-ERV2GISJ.mjs +2 -0
- package/dist/chunk-EYOFVLNA.mjs +2 -0
- package/dist/chunk-F5V7MVU3.mjs +2 -0
- package/dist/chunk-FFSTAAM6.mjs +2 -0
- package/dist/chunk-FOW5JGSZ.mjs +2 -0
- package/dist/chunk-FWZLTPEW.mjs +2 -0
- package/dist/chunk-FZK6UHSH.mjs +2 -0
- package/dist/chunk-G63JLOSX.mjs +2 -0
- package/dist/chunk-GB4DHHC6.mjs +2 -0
- package/dist/chunk-GI3GN7Q7.mjs +2 -0
- package/dist/chunk-GJMJ54O5.mjs +2 -0
- package/dist/chunk-GKRHGVOL.mjs +2 -0
- package/dist/chunk-GLGERLWV.mjs +2 -0
- package/dist/chunk-GQTTHETT.mjs +2 -0
- package/dist/chunk-GWD3KI3U.mjs +2 -0
- package/dist/chunk-HADI4EED.mjs +2 -0
- package/dist/chunk-HDEDVXLU.mjs +2 -0
- package/dist/chunk-HDZUAKMG.mjs +2 -0
- package/dist/chunk-HFOXNTZ2.mjs +2 -0
- package/dist/chunk-HFRAFOLB.mjs +2 -0
- package/dist/chunk-HFSH7TBM.mjs +2 -0
- package/dist/chunk-HH5T5KBM.mjs +2 -0
- package/dist/chunk-HJAHJ7MP.mjs +2 -0
- package/dist/chunk-HKCRRVJM.mjs +2 -0
- package/dist/chunk-HLVZYJAG.mjs +2 -0
- package/dist/chunk-HRWL5HAT.mjs +2 -0
- package/dist/chunk-HSGA5S5V.mjs +2 -0
- package/dist/chunk-HSJ3RH6K.mjs +2 -0
- package/dist/chunk-HVJQ3H77.mjs +2 -0
- package/dist/chunk-I4QYAGPT.mjs +2 -0
- package/dist/chunk-IABYIDE5.mjs +2 -0
- package/dist/chunk-IAC7JAVS.mjs +2 -0
- package/dist/chunk-IC3JNRIF.mjs +2 -0
- package/dist/chunk-IDIODIUK.mjs +2 -0
- package/dist/chunk-IFSJGCZ5.mjs +2 -0
- package/dist/chunk-IGWOZ4ZZ.mjs +2 -0
- package/dist/chunk-IIJSETZY.mjs +2 -0
- package/dist/chunk-IJIHPJZ4.mjs +2 -0
- package/dist/chunk-IOCEOSQ6.mjs +2 -0
- package/dist/chunk-IPL6UWWS.mjs +2 -0
- package/dist/chunk-IS7TWI2E.mjs +2 -0
- package/dist/chunk-ISW4IPSY.mjs +2 -0
- package/dist/chunk-IUOAVXV7.mjs +2 -0
- package/dist/chunk-IWUL7VK4.mjs +2 -0
- package/dist/chunk-IYDMMXDE.mjs +2 -0
- package/dist/chunk-J5ZRWID4.mjs +2 -0
- package/dist/chunk-JAZSJGJR.mjs +2 -0
- package/dist/chunk-JKH733PA.mjs +2 -0
- package/dist/chunk-JKQZSV3Y.mjs +2 -0
- package/dist/chunk-JMGMXNIO.mjs +2 -0
- package/dist/chunk-JNE7PBQJ.mjs +2 -0
- package/dist/chunk-JNQEL3JP.mjs +2 -0
- package/dist/chunk-JNVNO46I.mjs +2 -0
- package/dist/chunk-JVZAOFHI.mjs +2 -0
- package/dist/chunk-JWUYI4F4.mjs +2 -0
- package/dist/chunk-JYFR2E7G.mjs +2 -0
- package/dist/chunk-K3UON74Y.mjs +2 -0
- package/dist/chunk-K54LIU5G.mjs +2 -0
- package/dist/chunk-KA4M6WOV.mjs +2 -0
- package/dist/chunk-KDJWX4IP.mjs +2 -0
- package/dist/chunk-KEH573NY.mjs +2 -0
- package/dist/chunk-KH7ZT2MC.mjs +2 -0
- package/dist/chunk-KO7UPEPI.mjs +2 -0
- package/dist/chunk-KOOIZREV.mjs +2 -0
- package/dist/chunk-KSCNDDSQ.mjs +2 -0
- package/dist/chunk-KTKWGDAH.mjs +2 -0
- package/dist/chunk-KV2NB6U6.mjs +2 -0
- package/dist/chunk-KV4AY6XD.mjs +2 -0
- package/dist/chunk-KWQHACDJ.mjs +2 -0
- package/dist/chunk-KYAFGTAR.mjs +2 -0
- package/dist/chunk-KZZ2RMPJ.mjs +2 -0
- package/dist/chunk-L23BITUK.mjs +2 -0
- package/dist/chunk-L47XC67T.mjs +2 -0
- package/dist/chunk-L5O5YRCH.mjs +2 -0
- package/dist/chunk-L6355EHM.mjs +2 -0
- package/dist/chunk-L67XSKVP.mjs +2 -0
- package/dist/chunk-LE5SPNK6.mjs +2 -0
- package/dist/chunk-LEOPHPZN.mjs +2 -0
- package/dist/chunk-LIGWPR7U.mjs +2 -0
- package/dist/chunk-LJDXKUHK.mjs +2 -0
- package/dist/chunk-LJVTQWAS.mjs +2 -0
- package/dist/chunk-LNJTMND4.mjs +2 -0
- package/dist/chunk-LNU7VIFN.mjs +2 -0
- package/dist/chunk-LO2MF3SE.mjs +2 -0
- package/dist/chunk-LQUBIB26.mjs +2 -0
- package/dist/chunk-LTPGTC5F.mjs +2 -0
- package/dist/chunk-LXNS5TCM.mjs +2 -0
- package/dist/chunk-M4C3F3UC.mjs +2 -0
- package/dist/chunk-MAPS7CGR.mjs +2 -0
- package/dist/chunk-MCXNS53S.mjs +2 -0
- package/dist/chunk-MGRXAVNA.mjs +2 -0
- package/dist/chunk-MI34H255.mjs +2 -0
- package/dist/chunk-MIXGYRTY.mjs +2 -0
- package/dist/chunk-MLZXCQ2Y.mjs +2 -0
- package/dist/chunk-MMGDMDRM.mjs +2 -0
- package/dist/chunk-MQP6NPNK.mjs +2 -0
- package/dist/chunk-MZPA2XTY.mjs +2 -0
- package/dist/chunk-N3FQ36PA.mjs +2 -0
- package/dist/chunk-N46RANZZ.mjs +2 -0
- package/dist/chunk-N7E3VKAH.mjs +2 -0
- package/dist/chunk-NBATYMTX.mjs +2 -0
- package/dist/chunk-NBPMEGLD.mjs +2 -0
- package/dist/chunk-NJI5XP6E.mjs +2 -0
- package/dist/chunk-NMV7FMEZ.mjs +2 -0
- package/dist/chunk-NOAASY22.mjs +2 -0
- package/dist/chunk-NTW2NMAM.mjs +2 -0
- package/dist/chunk-O2VMCQAO.mjs +2 -0
- package/dist/chunk-O6HWIMMC.mjs +2 -0
- package/dist/chunk-O7MH2NLA.mjs +2 -0
- package/dist/chunk-OAB726RR.mjs +2 -0
- package/dist/chunk-OJGDWULD.mjs +2 -0
- package/dist/chunk-OJSXFFL2.mjs +2 -0
- package/dist/chunk-OKZSDZBW.mjs +2 -0
- package/dist/chunk-OLKIRT6H.mjs +2 -0
- package/dist/chunk-OQ6GMG7U.mjs +2 -0
- package/dist/chunk-OQD3PLYN.mjs +2 -0
- package/dist/chunk-OYOA22FF.mjs +2 -0
- package/dist/chunk-PBDB6C6A.mjs +2 -0
- package/dist/chunk-PCXZYI3T.mjs +2 -0
- package/dist/chunk-PFQ5QF5X.mjs +2 -0
- package/dist/chunk-PGN3IVQH.mjs +2 -0
- package/dist/chunk-PPUP6FHC.mjs +2 -0
- package/dist/chunk-PX2NTE3N.mjs +2 -0
- package/dist/chunk-Q4FER62O.mjs +2 -0
- package/dist/chunk-Q5MI4R4H.mjs +2 -0
- package/dist/chunk-QBFXFK6Z.mjs +2 -0
- package/dist/chunk-QCS5JEAW.mjs +2 -0
- package/dist/chunk-QDSAPNCW.mjs +2 -0
- package/dist/chunk-QFHN6IA7.mjs +2 -0
- package/dist/chunk-QFW2SJDI.mjs +2 -0
- package/dist/chunk-QIBAG4Y6.mjs +2 -0
- package/dist/chunk-QIOX7LWM.mjs +2 -0
- package/dist/chunk-QIZUWBYD.mjs +2 -0
- package/dist/chunk-QM3HOPC7.mjs +2 -0
- package/dist/chunk-QP43UDHR.mjs +2 -0
- package/dist/chunk-QPLDLSOR.mjs +2 -0
- package/dist/chunk-QVNGKS7D.mjs +2 -0
- package/dist/chunk-QXZQ7KFE.mjs +2 -0
- package/dist/chunk-R7DAC5OF.mjs +2 -0
- package/dist/chunk-RCACRYBW.mjs +2 -0
- package/dist/chunk-RLU5KZRJ.mjs +2 -0
- package/dist/chunk-RNJVIHHV.mjs +2 -0
- package/dist/chunk-RNXDXC6G.mjs +2 -0
- package/dist/chunk-RPRGYYNQ.mjs +2 -0
- package/dist/chunk-RVKN3OZQ.mjs +2 -0
- package/dist/chunk-RW6VYU27.mjs +2 -0
- package/dist/chunk-RYTBEDJJ.mjs +2 -0
- package/dist/chunk-S25MO75E.mjs +2 -0
- package/dist/chunk-S2KOK4RQ.mjs +2 -0
- package/dist/chunk-S33GNVRU.mjs +2 -0
- package/dist/chunk-S5WQ6664.mjs +2 -0
- package/dist/chunk-S7VGKT4H.mjs +2 -0
- package/dist/chunk-SERT4MAK.mjs +2 -0
- package/dist/chunk-SERTTJ6B.mjs +2 -0
- package/dist/chunk-SICTFKNO.mjs +2 -0
- package/dist/chunk-SJYE4ISS.mjs +2 -0
- package/dist/chunk-SKDMCCGL.mjs +2 -0
- package/dist/chunk-SOH72QBG.mjs +2 -0
- package/dist/chunk-SVB47L4G.mjs +2 -0
- package/dist/chunk-SYFYJLHQ.mjs +2 -0
- package/dist/chunk-SZFOL54K.mjs +2 -0
- package/dist/chunk-TEVT546E.mjs +2 -0
- package/dist/chunk-TFN3QTCW.mjs +2 -0
- package/dist/chunk-TIHB6I7P.mjs +2 -0
- package/dist/chunk-TO7ES3WU.mjs +2 -0
- package/dist/chunk-TP7EBGGM.mjs +2 -0
- package/dist/chunk-TSPNDZ22.mjs +2 -0
- package/dist/chunk-TTNVMAT4.mjs +2 -0
- package/dist/chunk-TVZUIRYY.mjs +2 -0
- package/dist/chunk-U3OWRGQR.mjs +2 -0
- package/dist/chunk-UBDGDZX3.mjs +2 -0
- package/dist/chunk-UIVM3Q7T.mjs +2 -0
- package/dist/chunk-UJWMCK33.mjs +2 -0
- package/dist/chunk-UNZLJDEE.mjs +2 -0
- package/dist/chunk-UQEC4KF2.mjs +2 -0
- package/dist/chunk-UQS24NOE.mjs +2 -0
- package/dist/chunk-USDBNGIG.mjs +2 -0
- package/dist/chunk-V6OVQLS4.mjs +2 -0
- package/dist/chunk-VDWXTNLZ.mjs +2 -0
- package/dist/chunk-VIDTMWXO.mjs +2 -0
- package/dist/chunk-VJ6EA5BI.mjs +2 -0
- package/dist/chunk-VLIVYEMN.mjs +2 -0
- package/dist/chunk-VM3S6S3E.mjs +2 -0
- package/dist/chunk-VMBWSJGO.mjs +2 -0
- package/dist/chunk-VNMXO66S.mjs +2 -0
- package/dist/chunk-VOPHGQ6A.mjs +2 -0
- package/dist/chunk-VUSOPX7F.mjs +2 -0
- package/dist/chunk-VZLQQUAS.mjs +2 -0
- package/dist/chunk-W4K2SCRV.mjs +2 -0
- package/dist/chunk-W4XM7WOB.mjs +2 -0
- package/dist/chunk-WBG4PJ5A.mjs +2 -0
- package/dist/chunk-WCVAHSHW.mjs +2 -0
- package/dist/chunk-WFO5EVTJ.mjs +2 -0
- package/dist/chunk-WLJ4IS4W.mjs +2 -0
- package/dist/chunk-WMJCZTBE.mjs +2 -0
- package/dist/chunk-WXLWUU2B.mjs +2 -0
- package/dist/chunk-X3DFE7NE.mjs +2 -0
- package/dist/chunk-XA6HZP2X.mjs +1 -0
- package/dist/chunk-XB5SAOVP.mjs +2 -0
- package/dist/chunk-XDOAMVK4.mjs +2 -0
- package/dist/chunk-XF6UKTZS.mjs +2 -0
- package/dist/chunk-XFGV73AQ.mjs +2 -0
- package/dist/chunk-XFQ67UOL.mjs +2 -0
- package/dist/chunk-XHWHK5XI.mjs +2 -0
- package/dist/chunk-XLS2MRDP.mjs +2 -0
- package/dist/chunk-XWOU6GVM.mjs +2 -0
- package/dist/chunk-XWQSEMNF.mjs +2 -0
- package/dist/chunk-XYXF7OGA.mjs +2 -0
- package/dist/chunk-Y5FHYRSG.mjs +2 -0
- package/dist/chunk-Y73YSCZ6.mjs +2 -0
- package/dist/chunk-Y76FFTMB.mjs +2 -0
- package/dist/chunk-YCBPGXWJ.mjs +2 -0
- package/dist/chunk-YEIDNEGQ.mjs +2 -0
- package/dist/chunk-YID66YZY.mjs +2 -0
- package/dist/chunk-YJPUXWUD.mjs +2 -0
- package/dist/chunk-YKKGRKWB.mjs +2 -0
- package/dist/chunk-YSKZCP3E.mjs +2 -0
- package/dist/chunk-YTA72QV7.mjs +2 -0
- package/dist/chunk-YUISZ7X6.mjs +2 -0
- package/dist/chunk-Z2GE5MIQ.mjs +2 -0
- package/dist/chunk-Z3BXP4PL.mjs +2 -0
- package/dist/chunk-Z7FGJ5AC.mjs +2 -0
- package/dist/chunk-ZA7ABSOP.mjs +2 -0
- package/dist/chunk-ZBX6JYDE.mjs +2 -0
- package/dist/chunk-ZLMDD676.mjs +2 -0
- package/dist/chunk-ZU672PFE.mjs +2 -0
- package/dist/chunk-ZUDHZKXC.mjs +2 -0
- package/dist/chunk-ZYRDGCEA.mjs +2 -0
- package/dist/client-only.d.ts +2 -2
- package/dist/client-only.mjs +1 -1
- 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.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/product-hunt.d.ts +7 -0
- package/dist/icons/product-hunt.mjs +2 -0
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.css +1 -1
- 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/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav-mobile.mjs +1 -1
- package/dist/nav.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/popup.d.ts +14 -0
- package/dist/popup.mjs +2 -0
- package/dist/product-hunt-f8a3747c.d.ts +7 -0
- package/dist/product-hunt.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.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/package.json +1 -1
package/dist/accordion.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d}from"./chunk-
|
|
2
|
+
import{a,b,c,d}from"./chunk-KV4AY6XD.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
package/dist/avatar.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-DMREGDCK.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
|
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "black" | "blue" | "gray" | "violet" | "default" | "sky" | "neutral" | "rainbow" | null | undefined;
|
|
7
7
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
package/dist/badge.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-JNVNO46I.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Badge,a as badgeVariants};
|
package/dist/blur-image.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-SOH72QBG.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as BlurImage};
|
package/dist/button.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-OJGDWULD.mjs";import"./chunk-5YN5Y5VJ.mjs";import"./chunk-YPE32NUI.mjs";import"./chunk-3N5PGMX7.mjs";import"./chunk-HVJQ3H77.mjs";import"./chunk-RW6VYU27.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-VWVFVW4E.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-BDMXJXHH.mjs";import"./chunk-KTKWGDAH.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-LIGWPR7U.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-VOPHGQ6A.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-JNVNO46I.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Button};
|
package/dist/checkbox.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-Z3BXP4PL.mjs";import"./chunk-GI3GN7Q7.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-I4QYAGPT.mjs";import{f as s,h as e}from"./chunk-UQEC4KF2.mjs";import{Globe as o}from"lucide-react";import{jsx as m}from"react/jsx-runtime";function f({apexDomain:r,className:t}){return r?m(l,{src:`${void 0}${r}`,alt:r,className:s("h-8 w-8 rounded-full sm:h-10 sm:w-10",t),width:20,height:20}):m("div",{className:s("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",t),children:m(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{f as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as y}from"./chunk-5P7KVMLV.mjs";import{a as p}from"./chunk-2TGXECZQ.mjs";import{a as o}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 k,useSearchParams as R}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as j}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function I({defaultUrl:t}){let x=k(),l=R(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=j((void 0)(i),500),d=P(()=>(void 0)(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${a}`,void 0,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},s=W(null);E(()=>{!t&&s.current&&s.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:s,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(o,{})}),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(o,{})})})]})}export{I as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-M4C3F3UC.mjs";import{b as p,c as m}from"./chunk-HH5T5KBM.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:[(void 0)(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",(void 0)(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,side:r="bottom"}){return e(s,{content:o,side: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 c}from"./chunk-FZK6UHSH.mjs";import{d as p,k as m}from"./chunk-KSCNDDSQ.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:[(void 0)(t||0,{full:!0})," ",o]}),i&&l("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",p(i,{withAgo:!0})]})]}),children:r})}function B({children:t,content:o,side:r="bottom"}){return e(s,{content:o,side: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 s}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as m,motion as c}from"framer-motion";import a from"js-cookie";import{X as n}from"lucide-react";import h from"next/image";import g from"next/link";import{createContext as v,useContext as u,useState as b}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var r=v({hidePopup:()=>{}});function H({children:o,hiddenCookieId:i}){let[d,p]=b(a.get(i)==="1"),l=()=>{p(!0),a.set(i,"1")};return e(s,{children:e(r.Provider,{value:{hidePopup:l},children:e(m,{children:!d&&e(c.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:o},"popup")})})})}var _=()=>{let{hidePopup:o}=u(r);return t("div",{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(n,{className:"h-4 w-4 text-gray-500"})}),t(g,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(h,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]})},z=()=>{let{hidePopup:o}=u(r);return t("div",{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-4 shadow-md",children:[e("button",{className:"absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90",onClick:o,children:e(n,{className:"h-4 w-4 text-gray-500"})}),t("div",{children:[e("p",{className:"mb-2 text-gray-800",children:"Hey there! We're looking to improve our website and would love to hear your thoughts. Can you spare a few minutes to fill out a quick survey?"}),e("a",{className:"text-blue-600 underline",children:"Take the survey"})]})]})};export{r as a,H as b,_ as c,z as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as s}from"./chunk-KOOIZREV.mjs";import*as r from"@radix-ui/react-popover";import{Drawer as o}from"vaul";import{jsx as e,jsxs as i}from"react/jsx-runtime";function v({children:t,content:a,align:d="center",openPopover:n,setOpenPopover:l,mobileOnly:m}){let{isMobile:p}=s();return m||p?i(o.Root,{open:n,onOpenChange:l,children:[e(o.Trigger,{className:"sm:hidden",asChild:!0,children:t}),e(o.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),i(o.Portal,{children:[i(o.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",children:[e("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:e("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),e("div",{className:"flex min-h-[150px] w-full items-center justify-center overflow-hidden bg-white pb-8 align-middle shadow-xl",children:a})]}),e(o.Overlay,{})]})]}):i(r.Root,{open:n,onOpenChange:l,children:[e(r.Trigger,{className:"sm:inline-flex",asChild:!0,children:t}),e(r.Portal,{children:e(r.Content,{sideOffset:8,align:d,className:"animate-slide-up-fade z-50 items-center rounded-md border border-gray-200 bg-white drop-shadow-lg sm:block",children:a})})]})}export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as e}from"./chunk-GI3GN7Q7.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:"none",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",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{e as f}from"./chunk-IPL6UWWS.mjs";import{g as i}from"./chunk-IDIODIUK.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{d as s}from"./chunk-IDIODIUK.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 r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{g as e}from"./chunk-IDIODIUK.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-WFO5EVTJ.mjs";import{AnimatePresence as p,motion as m}from"framer-motion";import s from"js-cookie";import{X as d}from"lucide-react";import l from"next/image";import c from"next/link";import{createContext as g,useState as h}from"react";import{Fragment as v,jsx as e,jsxs as o}from"react/jsx-runtime";var b=g({hidePopup:()=>{}});function H({children:i,hiddenCookieId:t}){let[n,a]=h(t&&s.get(t)==="1"),u=()=>{a(!0),t&&s.set(t,"1")};return e(r,{children:e(b.Provider,{value:{hidePopup:u},children:e(p,{children:!n&&e(m.div,{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:i},"popup")})})})}var _=({hidePopup:i})=>o(v,{children:[o("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:i,children:e(d,{className:"h-4 w-4 text-gray-500"})}),o(c,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(l,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),o("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]});export{b as a,H as b,_ as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as e}from"./chunk-UQEC4KF2.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{h as v}from"./chunk-YV33XVHD.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-[#0A66C2]",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 s}from"./chunk-V73RCVXE.mjs";import{a}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as c,motion as h}from"framer-motion";import n from"js-cookie";import{X as u}from"lucide-react";import g from"next/image";import b from"next/link";import{createContext as v,useContext as d,useState as x}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var i=v({hidePopup:()=>{}});function z({children:o,hiddenCookieId:r}){let[l,m]=x(n.get(r)==="1"),p=()=>{m(!0),n.set(r,"1")};return e(a,{children:e(i.Provider,{value:{hidePopup:p},children:e(c,{children:!l&&e(h.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:o},"popup")})})})}var L=()=>{let{hidePopup:o}=d(i);return t("div",{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(u,{className:"h-4 w-4 text-gray-500"})}),t(b,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(g,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]})},A=()=>{let{hidePopup:o}=d(i);return t("div",{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-4 shadow-md",children:[e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(u,{className:"h-4 w-4 text-gray-500"})}),t("div",{className:"flex flex-col space-y-4",children:[e(s,{className:"h-8 w-8"}),e("p",{className:"text-sm font-medium text-gray-700",children:"Where did you hear about Dub?"}),e("a",{className:"text-blue-600 underline",children:"Take the survey"})]})]})};export{i as a,z as b,L as c,A as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as t}from"./chunk-GI3GN7Q7.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";function r({className:o}){return s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",children:[e("defs",{}),e("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},className:t("text-[#ff0000]",o),transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:e("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{r as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-Z2GE5MIQ.mjs";import{b as e,g as s}from"./chunk-IDIODIUK.mjs";import{Globe as o}from"lucide-react";import{jsx as m}from"react/jsx-runtime";function f({apexDomain:r,className:t}){return r?m(l,{src:`${e}${r}`,alt:r,className:(void 0)("h-8 w-8 rounded-full sm:h-10 sm:w-10",t),width:20,height:20}):m("div",{className:(void 0)("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",t),children:m(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{f as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as s}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as c,motion as h}from"framer-motion";import a from"js-cookie";import{X as n}from"lucide-react";import g from"next/image";import v from"next/link";import{createContext as b,useContext as u,useState as x}from"react";import{Fragment as p,jsx as e,jsxs as t}from"react/jsx-runtime";var r=b({hidePopup:()=>{}});function _({children:o,hiddenCookieId:i}){let[l,d]=x(a.get(i)==="1"),m=()=>{d(!0),a.set(i,"1")};return e(s,{children:e(r.Provider,{value:{hidePopup:m},children:e(c,{children:!l&&e(h.div,{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:o},"popup")})})})}var z=()=>{let{hidePopup:o}=u(r);return t(p,{children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(n,{className:"h-4 w-4 text-gray-500"})}),t(v,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(g,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]})},A=()=>{let{hidePopup:o}=u(r);return t(p,{children:[e("button",{className:"absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90",onClick:o,children:e(n,{className:"h-4 w-4 text-gray-500"})}),t("div",{children:[e("p",{className:"mb-2 text-gray-800",children:"Hey there! We're looking to improve our website and would love to hear your thoughts. Can you spare a few minutes to fill out a quick survey?"}),e("a",{className:"text-blue-600 underline",children:"Take the survey"})]})]})};export{r as a,_ as b,z as c,A as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as r}from"./chunk-WFO5EVTJ.mjs";import{AnimatePresence as p,motion as m}from"framer-motion";import n from"js-cookie";import{X as l}from"lucide-react";import c from"next/image";import h from"next/link";import{createContext as g,useContext as v,useState as b}from"react";import{jsx as e,jsxs as t}from"react/jsx-runtime";var s=g({hidePopup:()=>{}});function H({children:o,hiddenCookieId:i}){let[a,u]=b(n.get(i)==="1"),d=()=>{u(!0),n.set(i,"1")};return e(r,{children:e(s.Provider,{value:{hidePopup:d},children:e(p,{children:!a&&e(m.div,{initial:{opacity:0,y:50},animate:{opacity:1,y:0},exit:{y:250},children:o},"popup")})})})}var _=()=>{let{hidePopup:o}=v(s);return t("div",{className:"xs:left-4 xs:mx-auto xs:max-w-xs group fixed bottom-4 z-40 mx-2 rounded-lg border border-gray-200 bg-white p-2 pb-4 pr-4 shadow-md",children:[t("div",{className:"invisible absolute right-4 top-4 h-3 w-3 group-hover:invisible sm:visible",children:[e("div",{className:"absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full bg-green-500"}),e("div",{className:"absolute inset-0 z-10 m-auto h-3 w-3 rounded-full bg-green-500"})]}),e("button",{className:"visible absolute right-2.5 top-2.5 rounded-full p-1 transition-colors hover:bg-gray-100 active:scale-90 group-hover:visible sm:invisible",onClick:o,children:e(l,{className:"h-4 w-4 text-gray-500"})}),t(h,{href:"https://d.to/ph?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-dub",target:"_blank",children:[e(c,{src:"https://assets.dub.co/misc/product-hunt.png",alt:"Product Hunt",width:100,height:100,className:"h-24"}),t("div",{className:"-mt-2 px-4",children:[e("p",{className:"mb-1 font-medium text-gray-800",children:"We're live on Product Hunt!"}),e("p",{className:"text-sm text-gray-500 underline-offset-4 transition-all group-hover:text-gray-800 group-hover:underline",children:"Join the conversation and help us get to #1 Product of the Month \u2197"})]})]})]})};export{s as a,H as b,_ as c};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as e}from"./chunk-GI3GN7Q7.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{b as c}from"./chunk-5YN5Y5VJ.mjs";import{h as i}from"./chunk-GI3GN7Q7.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{e as D}from"./chunk-NJODFR67.mjs";import{a as S}from"./chunk-4FIKBXJ3.mjs";import{b as L}from"./chunk-3MGZP5EP.mjs";import{h as p}from"./chunk-YV33XVHD.mjs";import{Command as n,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as E,useRef as j,useState as M}from"react";import{Drawer as d}from"vaul";import{Fragment as z,jsx as a,jsxs as t}from"react/jsx-runtime";function U({items:b,selectedItem:r,setSelectedItem:c,className:y,disabled:R,adjustForMobile:P,icon:h,inputAttrs:f,noItemsElement:m}){let u=j(null),[i,e]=M(!1),[s,g]=M((r==null?void 0:r.value)||"");E(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&e(!1)};if(i)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,i]),E(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:C}=D(),v=()=>{let o=T(l=>l.filtered.count===0);return a(z,{children:a(n.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:i&&!(C&&!i),onFocus:()=>e(!0),value:s,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),e(!1)):l.key==="Enter"&&o?e(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&e(!0)},disabled:R,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"})})},k=()=>b.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{c(o),g(o.value),e(!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:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:p("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(L,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return C&&P?t(d.Root,{open:i,onOpenChange:e,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:u,className:"relative",loop:!0,children:t("div",{className:p("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]",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),s||(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(d.Portal,{children:[a(d.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(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),s&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),i&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[b.length===0&&s===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),s!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}),a(d.Overlay,{})]})]}):t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),s&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${i&&"rotate-180"}`})]})]}),i&&t(n.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:[b.length===0&&s===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),s!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-B6GRYMVJ.mjs";import{h as x}from"./chunk-IPL6UWWS.mjs";import{a as v}from"./chunk-PPUP6FHC.mjs";import{a as g,c as l,g as c,h as p}from"./chunk-IDIODIUK.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{dedupingInterval:6e4});return e("div",{className:(void 0)("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&(void 0).includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(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:(void 0)("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{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:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{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})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:(void 0)("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),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:u&&Object.keys(u).length>0?e(r,{href:void 0,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:a(R,{children:[e(r,{href:`${void 0}/login`,...t!=="dub.co"&&{onClick:()=>{s.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(r,{href:`${void 0}/register`,...t!=="dub.co"&&{onClick:()=>{s.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{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as D}from"./chunk-NJODFR67.mjs";import{a as S}from"./chunk-4FIKBXJ3.mjs";import{b as L}from"./chunk-3MGZP5EP.mjs";import{h as p}from"./chunk-YV33XVHD.mjs";import{Command as n,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as E,useRef as j,useState as M}from"react";import{Drawer as g}from"vaul";import{Fragment as z,jsx as a,jsxs as t}from"react/jsx-runtime";function U({items:b,selectedItem:r,setSelectedItem:c,className:y,disabled:R,adjustForMobile:P,icon:h,inputAttrs:f,noItemsElement:m}){let u=j(null),[s,e]=M(!1),[i,d]=M((r==null?void 0:r.value)||"");E(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&e(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),E(()=>{r!=null&&r.value||d("")},[r==null?void 0:r.value]);let{isMobile:C}=D(),v=()=>{let o=T(l=>l.filtered.count===0);return a(z,{children:a(n.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s&&!C,onFocus:()=>e(!0),value:i,onValueChange:d,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),e(!1)):l.key==="Enter"&&o?e(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&e(!0)},disabled:R,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"})})},k=()=>b.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{c(o),d(o.value),e(!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:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:p("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(L,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return C&&P?t(g.Root,{open:s,onOpenChange:e,children:[a(g.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:u,className:"relative",loop:!0,children:t("div",{className:p("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]",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i||(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),c(null),d("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(g.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(g.Portal,{children:[a(g.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(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),d("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}),a(g.Overlay,{})]})]}):t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),d("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&t(n.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:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(k,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as L}from"./chunk-IPL6UWWS.mjs";import{a as S}from"./chunk-Z2GE5MIQ.mjs";import{b as k}from"./chunk-5A3CHOWZ.mjs";import{g}from"./chunk-IDIODIUK.mjs";import{Command as i,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as j}from"lucide-react";import{memo as z,useEffect as D,useRef as B,useState as E}from"react";import{Drawer as d}from"vaul";import{jsx as a,jsxs as e}from"react/jsx-runtime";function W({items:m,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:y,inputAttrs:f,noItemsElement:p}){let u=B(null),[s,t]=E(!1),[n,c]=E((r==null?void 0:r.value)||"");D(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&t(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),D(()=>{r!=null&&r.value||c("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=z(()=>{let o=T(l=>l.filtered.count===0);return a(i.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s,onFocus:()=>t(!0),value:n,onValueChange:c,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),t(!1)):l.key==="Enter"&&o?t(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&t(!0)},disabled:M,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"})}),v=()=>a("button",{onClick:()=>{N(null),c("")},className:"absolute inset-y-0 right-0 my-auto",children:a(j,{className:"h-7 w-7 pr-3 text-gray-400"})}),C=()=>m.map(o=>e(i.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{N(o),c(o.value),t(!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:[e("div",{className:"flex items-center space-x-2",children:[o.image&&a(S,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:(void 0)("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(k,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return P&&R?e(d.Root,{open:s,onOpenChange:t,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(i,{ref:u,className:"relative",loop:!0,children:e("div",{className:(void 0)("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]",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),e(d.Portal,{children:[a(d.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:(void 0)("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",b),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&e(i.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}),a(d.Overlay,{})]})]}):e(i,{ref:u,className:"relative",loop:!0,children:[e("div",{className:(void 0)("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",b),children:[a("div",{onClick:()=>t(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||a(w,{className:"h-4 w-4 text-gray-400"})}),e("div",{className:"flex h-10 px-8",children:[a(h,{}),n||(r==null?void 0:r.value)!==""?a(v,{}):a(x,{onClick:()=>t(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&e(i.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:[m.length===0&&n===""&&(p?a("div",{children:p}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),n!==""&&a(i.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}export{W as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-XLS2MRDP.mjs";import{h as x}from"./chunk-L23BITUK.mjs";import{a as v}from"./chunk-ZYRDGCEA.mjs";import{b as l,e as g,g as c,h as p}from"./chunk-XFGV73AQ.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return e("div",{className:(void 0)("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&(void 0).includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(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:(void 0)("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{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:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{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})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:(void 0)("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),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:u&&Object.keys(u).length>0?e(r,{href:void 0,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:a(R,{children:[e(r,{href:`${void 0}/login`,...t!=="dub.co"&&{onClick:()=>{s.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(r,{href:`${void 0}/register`,...t!=="dub.co"&&{onClick:()=>{s.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{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as a}from"./chunk-CJTBJCEN.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{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-B2HJWQN6.mjs";import{h as x}from"./chunk-JNE7PBQJ.mjs";import{a as v}from"./chunk-UNZLJDEE.mjs";import{c as l,f as c,g,k as p}from"./chunk-CJTBJCEN.mjs";import*as i from"@radix-ui/react-navigation-menu";import s from"@vercel/analytics";import{ChevronDown as w}from"lucide-react";import r from"next/link";import{useParams as M,useSelectedLayoutSegment as P}from"next/navigation";import L from"swr";import{Fragment as R,jsx as e,jsxs as a}from"react/jsx-runtime";var C=[{name:"Customers",slug:"customers"},{name:"Pricing",slug:"pricing"},{name:"Enterprise",slug:"enterprise"},{name:"Blog",slug:"blog"},{name:"Changelog",slug:"changelog"}];function U(){let{domain:t="dub.co"}=M(),h=x(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return e("div",{className:c("sticky inset-x-0 top-0 z-30 w-full transition-all",{"border-b border-gray-200 bg-white/75 backdrop-blur-lg":h,"border-b border-gray-200 bg-white":m&&g.includes(m)}),children:e(f,{...d&&{className:"max-w-screen-lg"},children:a("div",{className:"flex h-14 items-center justify-between",children:[a("div",{className:"flex items-center space-x-4",children:[e(r,{href:t==="dub.co"?"/":"https://dub.co",...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:"logo"})}},children:e(v,{})}),d?a("div",{className:"flex items-center",children:[e("div",{className:"mr-3 h-5 border-l-2 border-gray-400"}),e(r,{href:"/help",className:"font-display text-lg font-bold text-gray-700",children:"Help Center"})]}):a(i.Root,{delayDuration:0,className:"relative hidden lg:block",children:[a(i.List,{className:"flex flex-row space-x-2 p-4",children:[a(i.Item,{children:[a(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:c("text-sm font-medium text-gray-500 transition-colors ease-out group-hover:text-black",{"text-black":m==="features"}),children:"Features"}),e(w,{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:n,icon:o,title:k,shortTitle:y})=>a(r,{href:t==="dub.co"?`/${n}`:`https://dub.co/${n}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (/${n})`})}},className:"rounded-lg p-3 transition-colors hover:bg-gray-100 active:bg-gray-200",children:[a("div",{className:"flex items-center space-x-2",children:[e(o,{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})]},n))})})]}),C.map(({name:n,slug:o})=>e(i.Item,{asChild:!0,children:e(r,{id:`nav-${o}`,href:t==="dub.co"?`/${o}`:`https://dub.co/${o}`,...t!=="dub.co"&&{onClick:()=>{s.track("Referred from custom domain",{domain:t,medium:`navbar item (${o})`})}},className:c("rounded-md px-3 py-2 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black",{"text-black":m===o}),children:n},o)},o))]}),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:u&&Object.keys(u).length>0?e(r,{href:l,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:a(R,{children:[e(r,{href:`${l}/login`,...t!=="dub.co"&&{onClick:()=>{s.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(r,{href:`${l}/register`,...t!=="dub.co"&&{onClick:()=>{s.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{C as a,U as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as n}from"./chunk-GI3GN7Q7.mjs";import{motion as t}from"framer-motion";import{jsx as e}from"react/jsx-runtime";function s({value:i=0,max:r=100,className:o}){return e("div",{className:n("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:e(t.div,{initial:{width:0},animate:{width:i&&r?i/r*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${i&&r&&i>r?"bg-red-500":"bg-blue-500"} h-full`})})}export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-IWUL7VK4.mjs";import{a as x}from"./chunk-JKQZSV3Y.mjs";import{a as f}from"./chunk-RW6VYU27.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{f as u,h as l,j as g,k as p}from"./chunk-GI3GN7Q7.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:r,slug:o})=>({name:r,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:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:g.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;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("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,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"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"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"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"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"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"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"})]})]}),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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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:r}=R("https://status.dub.co/api/v1/summary",u),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),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{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-B2HJWQN6.mjs";import{a as x}from"./chunk-B5QYWKCW.mjs";import{a as f}from"./chunk-UNZLJDEE.mjs";import{a as y}from"./chunk-VWVFVW4E.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-BDMXJXHH.mjs";import{f as l,h as u,i as g,k as p}from"./chunk-CJTBJCEN.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:r,slug:o})=>({name:r,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:r,slug:o})=>({name:r,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:r,slug:o})=>({name:r,href:`/tools/${o}`}))};function D(){let{domain:r="dub.co"}=T(),o=a=>r==="dub.co"?a:`https://dub.co${a}`;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("/"),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,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"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"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"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"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"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"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"})]})]}),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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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(a=>e("li",{children:e(s,{href:o(a.href),...r!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:r,medium:`footer item (${a.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:a.name})},a.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:r}=R("https://status.dub.co/api/v1/summary",void 0),[o,a]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!r)return;let{ongoing_incidents:d}=r;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),a(_)}else c("All systems operational"),a("bg-green-500")},[r]),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{a as m}from"./chunk-OJGDWULD.mjs";import{h as i}from"./chunk-GI3GN7Q7.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 t}from"./chunk-IDIODIUK.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:(void 0)(i({variant:r}),e),...a})}export{i as a,g as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-S7VGKT4H.mjs";import{g as i}from"./chunk-IDIODIUK.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-300 focus:border-gray-500 focus:outline-none focus:ring-gray-500 sm:text-sm",{"cursor-not-allowed bg-gray-100 text-gray-400":o})}):a("div",{className:"h-[2.35rem] w-full max-w-md animate-pulse rounded-md bg-gray-200"})]}),r("div",{className:"flex items-center justify-between space-x-4 rounded-b-lg border-t border-gray-200 bg-gray-50 p-3 sm:px-10",children:[typeof s=="string"?a("p",{className:"prose-sm prose-a:underline prose-a:underline-offset-4 hover:prose-a:text-gray-700 text-gray-500 transition-colors",dangerouslySetInnerHTML:{__html:s||""}}):s,a("div",{className:"shrink-0",children:a(m,{text:f,loading:l,disabled:b,disabledTooltip:o})})]})]})}export{M as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as o,jsxs as a}from"react/jsx-runtime";function t({className:e}){return a("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 26.245 26.256",width:"64",height:"64",className:e,children:[o("path",{d:"M26.254 13.128c0 7.253-5.875 13.128-13.128 13.128S-.003 20.382-.003 13.128 5.872 0 13.125 0s13.128 5.875 13.128 13.128",fill:"#ff6055"}),o("path",{d:"M14.876 13.128h-3.72V9.2h3.72c1.083 0 1.97.886 1.97 1.97s-.886 1.97-1.97 1.97m0-6.564H8.53v13.128h2.626v-3.938h3.72c2.538 0 4.595-2.057 4.595-4.595s-2.057-4.595-4.595-4.595",fill:"#fff"})]})}export{t 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-HH5T5KBM.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{e as b}from"./chunk-HH5T5KBM.mjs";import p from"js-cookie";import{useEffect as A,useState as R}from"react";function w(e,r,t){let[n,u]=R(()=>{let s=p.get(e);return s?JSON.parse(s):r});return A(()=>{let s=()=>{let o=p.get(e);o&&u(JSON.parse(o))};return window.addEventListener("storage",s),()=>{window.removeEventListener("storage",s)}},[e]),[n,s=>{u(s),p.set(e,JSON.stringify(s),t)}]}import{useEffect as V,useState as j}from"react";function S(){let[e,r]=j(null);return V(()=>{let t=document.querySelector("[data-mdx-container]");if(!t)return;let n=t.offsetTop-1,u=new IntersectionObserver(o=>{var f,d,h;let c=o[0];if(!c)return;let l=(((f=c.rootBounds)==null?void 0:f.height)||0)*.3+n;for(let g=1;g<o.length;g++){let m=o[g];if(!m)break;(m.boundingClientRect.top<c.boundingClientRect.top||c.boundingClientRect.bottom<n)&&(c=m)}let a=c.target;for(;a&&a.getBoundingClientRect().bottom<n;)a=(d=i.get(a))==null?void 0:d.next;for(;a&&a.getBoundingClientRect().top>l;)a=(h=i.get(a))==null?void 0:h.prev;a&&r(a.getAttribute("href"))},{threshold:1,rootMargin:`-${n}px 0px 0px 0px`}),i=new Map;return(t==null?void 0:t.querySelectorAll("[data-mdx-heading]")).forEach(o=>u.observe(o)),()=>{u.disconnect()}},[]),e==null?void 0:e.replace("#","")}import{useEffect as k,useState as y}from"react";function x(e,{threshold:r=0,root:t=null,rootMargin:n="0%",freezeOnceVisible:u=!1}){let[i,s]=y(),o=(i==null?void 0:i.isIntersecting)&&u,c=([l])=>{s(l)};return k(()=>{let l=e==null?void 0:e.current;if(!!!window.IntersectionObserver||o||!l)return;let f={threshold:r,root:t,rootMargin:n},d=new IntersectionObserver(c,f);return d.observe(l),()=>d.disconnect()},[e,JSON.stringify(r),t,n,o]),i}import{useEffect as M,useState as N}from"react";function v(e,r){let[t,n]=N(r);return M(()=>{let i=window.localStorage.getItem(e);i&&n(JSON.parse(i))},[e]),[t,i=>{n(i),window.localStorage.setItem(e,JSON.stringify(i))}]}import{useEffect as q,useState as E}from"react";function O(){let[e,r]=E(null),[t,n]=E(null);return q(()=>{let u=()=>{window.matchMedia("(max-width: 640px)").matches?r("mobile"):window.matchMedia("(min-width: 641px) and (max-width: 1024px)").matches?r("tablet"):r("desktop"),n({width:window.innerWidth,height:window.innerHeight})};return u(),window.addEventListener("resize",u),()=>{window.removeEventListener("resize",u)}},[]),{device:e,width:t==null?void 0:t.width,height:t==null?void 0:t.height,isMobile:e==="mobile",isTablet:e==="tablet",isDesktop:e==="desktop"}}import{toast as J}from"sonner";import U from"swr";function T(e,r){let{data:t,isLoading:n,mutate:u}=U(e,void 0);return{data:t,isLoading:n,update:async(i,s)=>J.promise(u(i(t),{optimisticData:s,rollbackOnError:!0,populateCache:!0,revalidate:!0}),{loading:(r==null?void 0:r.loading)||"Updating...",success:(r==null?void 0:r.success)||"Successfully updated",error:(r==null?void 0:r.error)||"Failed to update"})}}import{usePathname as D,useRouter as $,useSearchParams as z}from"next/navigation";function I(){let e=D(),r=$(),t=z(),n=Object.fromEntries(t);return{pathname:e,router:r,searchParams:t,searchParamsObj:n,queryParams:({set:s,del:o,replace:c,getNewPath:l,arrayDelimiter:a=","})=>{let f=new URLSearchParams(t);s&&Object.entries(s).forEach(([g,m])=>f.set(g,Array.isArray(m)?m.join(a):m)),o&&(Array.isArray(o)?o.forEach(g=>f.delete(g)):f.delete(o));let d=f.toString(),h=`${e}${d.length>0?`?${d}`:""}`;if(l)return h;c?r.replace(h,{scroll:!1}):r.push(h)},getQueryString:(s,o)=>{let c=new URLSearchParams(t);s&&Object.entries(s).forEach(([a,f])=>c.set(a,f)),o!=null&&o.ignore&&o.ignore.forEach(a=>c.delete(a));let l=c.toString();return l.length>0?`?${l}`:""}}}import{useCallback as B,useEffect as P,useState as Q}from"react";function L(e){let[r,t]=Q(!1),n=B(()=>{t(window.scrollY>e)},[e]);return P(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),P(()=>{n()},[n]),r}export{w as a,S as b,x as c,v as d,O as e,T as f,I as g,L as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as t}from"./chunk-GI3GN7Q7.mjs";import{jsx as e,jsxs as s}from"react/jsx-runtime";function r({className:o}){return s("svg",{xmlns:"http://www.w3.org/2000/svg",version:"1.1",width:"256",height:"256",viewBox:"0 0 256 256",className:t("text-[#ff0000]",o),children:[e("defs",{}),e("g",{style:{stroke:"none",strokeWidth:0,strokeDasharray:"none",strokeLinecap:"butt",strokeLinejoin:"miter",strokeMiterlimit:10,fill:"none",fillRule:"nonzero",opacity:1},transform:"translate(1.4065934065934016 1.4065934065934016) scale(2.81 2.81)",children:e("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:"inherit",fillRule:"nonzero",opacity:1},transform:" matrix(1 0 0 1 0 0) ",strokeLinecap:"round"})})]})}export{r as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as S}from"./chunk-NJODFR67.mjs";import{a as L}from"./chunk-4FIKBXJ3.mjs";import{b as k}from"./chunk-3MGZP5EP.mjs";import{h as p}from"./chunk-YV33XVHD.mjs";import{Command as n,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as x,Search as w,X as N}from"lucide-react";import{useEffect as D,useRef as j,useState as E}from"react";import{Drawer as d}from"vaul";import{Fragment as z,jsx as a,jsxs as t}from"react/jsx-runtime";function U({items:b,selectedItem:r,setSelectedItem:c,className:y,disabled:M,adjustForMobile:R,icon:h,inputAttrs:f,noItemsElement:m}){let u=j(null),[s,e]=E(!1),[i,g]=E((r==null?void 0:r.value)||"");D(()=>{let o=l=>{u.current&&!u.current.contains(l.target)&&e(!1)};if(s)return document.addEventListener("click",o),()=>document.removeEventListener("click",o)},[u,s]),D(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:P}=S(),v=()=>{let o=T(l=>l.filtered.count===0);return a(z,{children:a(n.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:s,onFocus:()=>e(!0),value:i,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),e(!1)):l.key==="Enter"&&o?e(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&e(!0)},disabled:M,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"})})},C=()=>b.map(o=>t(n.Item,{value:o.value,disabled:o.disabled,onSelect:()=>{c(o),g(o.value),e(!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:[o.image&&a(L,{src:o.image,alt:o.value,className:"h-4 w-4 rounded-full",width:16,height:16}),a("p",{className:p("whitespace-nowrap py-0.5 text-sm",o.color&&"rounded-md px-2",o.color==="red"&&"bg-red-100 text-red-600",o.color==="yellow"&&"bg-yellow-100 text-yellow-600",o.color==="green"&&"bg-green-100 text-green-600",o.color==="blue"&&"bg-blue-100 text-blue-600",o.color==="purple"&&"bg-purple-100 text-purple-600",o.color==="brown"&&"bg-brown-100 text-brown-600"),children:o.value}),o.label&&a(k,{className:"text-xs",variant:"neutral",children:o.label})]}),a(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},o.id));return P&&R?t(d.Root,{open:s,onOpenChange:e,children:[a(d.Trigger,{className:"sm:hidden",asChild:!0,children:a(n,{ref:u,className:"relative",loop:!0,children:t("div",{className:p("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]",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:o=>{o.preventDefault(),c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 pr-3 text-gray-400 transition-all"})]})]})})}),a(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(d.Portal,{children:[a(d.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(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{className:"absolute inset-y-0 right-0 my-auto h-7 w-7 rotate-180 pl-3 text-gray-400 transition-all"})]})]}),s&&t(n.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}),a(d.Overlay,{})]})]}):t(n,{ref:u,className:"relative",loop:!0,children:[t("div",{className:p("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",y),children:[a("div",{onClick:()=>e(o=>!o),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?a("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):h||a(w,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[a(v,{}),i&&(r==null?void 0:r.value)!==""?a("button",{onClick:()=>{c(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:a(N,{className:"h-7 w-7 pr-3 text-gray-400"})}):a(x,{onClick:()=>e(o=>!o),className:`absolute inset-y-0 right-0 my-auto mr-3 h-4 w-4 cursor-pointer text-gray-400 transition-all ${s&&"rotate-180"}`})]})]}),s&&t(n.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:[b.length===0&&i===""&&(m?a("div",{children:m}):a("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),i!==""&&a(n.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),a(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as ke,b as Ee}from"./chunk-AUBFB4SI.mjs";var ue=ke((Qt,de)=>{var O=1e3,C=O*60,L=C*60,S=L*24,Fe=S*7,qe=S*365.25;de.exports=function(e,t){t=t||{};var r=typeof e;if(r==="string"&&e.length>0)return We(e);if(r==="number"&&isFinite(e))return t.long?Ke(e):He(e);throw new Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))};function We(e){if(e=String(e),!(e.length>100)){var t=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(e);if(!!t){var r=parseFloat(t[1]),o=(t[2]||"ms").toLowerCase();switch(o){case"years":case"year":case"yrs":case"yr":case"y":return r*qe;case"weeks":case"week":case"w":return r*Fe;case"days":case"day":case"d":return r*S;case"hours":case"hour":case"hrs":case"hr":case"h":return r*L;case"minutes":case"minute":case"mins":case"min":case"m":return r*C;case"seconds":case"second":case"secs":case"sec":case"s":return r*O;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return r;default:return}}}}function He(e){var t=Math.abs(e);return t>=S?Math.round(e/S)+"d":t>=L?Math.round(e/L)+"h":t>=C?Math.round(e/C)+"m":t>=O?Math.round(e/O)+"s":e+"ms"}function Ke(e){var t=Math.abs(e);return t>=S?$(e,t,S,"day"):t>=L?$(e,t,L,"hour"):t>=C?$(e,t,C,"minute"):t>=O?$(e,t,O,"second"):e+" ms"}function $(e,t,r,o){var a=t>=r*1.5;return Math.round(e/r)+" "+o+(a?"s":"")}});function M(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let r=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var a=r.slice().reverse().find(function(s){return e>=s.value});return a?(e/a.value).toFixed(t.digits).replace(o,"$1")+a.symbol:"0"}var J=e=>{try{return new URL(e),!0}catch{return!1}},Pe=e=>{if(J(e))return e;try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{}return""};var _e=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),Ie=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),Oe=new RegExp(/^[a-zA-Z0-9\-]+$/);var Ce=e=>{if(J(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}};var j=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:a=15e4,domains:s=40,tags:n=150,users:l=15,ids:u=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:u},limits:{links:o,clicks:a,domains:s,tags:n,users:l},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:`${M(o,{full:!0})} new links/mo`},{text:`${M(a)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${s} custom domains`},{text:`${l} users`},{text:`${M(n,{full:!0})} tags`,footnote:{title:"Organize your links with tags.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-use-tags"}},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}}]}),I=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."}]},j({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),j({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),j({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),j({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],Le=I.find(e=>e.name==="Free"),Te=I.find(e=>e.name==="Pro"),Ne=I.find(e=>e.name==="Business"),ze=I.find(e=>e.name==="Enterprise");var Me=I.filter(e=>e.name!=="Free"&&e.name!=="Enterprise");var Re=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",X=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",Ue=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,De=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),Be=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Ge=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",Ve=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${X}`,"api.localhost:8888"]),Je=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",je=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]);var P="cl7pj5kq4006835rbjlt2ofka";var ce=[{id:"clce1z7ch00j0rbstbjufva4j",slug:X,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:P},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"],projectId:P},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:P},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/github-link-shortener",type:"redirect",placeholder:"https://github.com/dubinc/dub",clicks:0,allowedHostnames:["github.com","gist.github.com"],projectId:P},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es"],projectId:P},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,publicStats:!0,target:"https://dub.co/tools/url-lengthener",type:"redirect",placeholder:"https://d.to/long",clicks:0,projectId:P}]:[]],$e=ce.map(e=>e.slug);var pe=Ee(ue(),1),Ye=(e,{withAgo:t}={})=>{if(!e)return"Never";let r=Date.now()-new Date(e).getTime();return r<1e3?"Just now":r>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${(0,pe.default)(r)}${t?" ago":""}`};async function Xe(e,t){let r=await fetch(e,t);if(!r.ok){let o=await r.text(),a=new Error(o);throw a.status=r.status,a}return r.json()}function me(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(t=0;t<a;t++)e[t]&&(r=me(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function fe(){for(var e,t,r=0,o="",a=arguments.length;r<a;r++)(e=arguments[r])&&(t=me(e))&&(o&&(o+=" "),o+=t);return o}var Q="-";function Ze(e){let t=et(e),{conflictingClassGroups:r,conflictingClassGroupModifiers:o}=e;function a(n){let l=n.split(Q);return l[0]===""&&l.length!==1&&l.shift(),be(l,t)||Qe(n)}function s(n,l){let u=r[n]||[];return l&&o[n]?[...u,...o[n]]:u}return{getClassGroupId:a,getConflictingClassGroupIds:s}}function be(e,t){var n;if(e.length===0)return t.classGroupId;let r=e[0],o=t.nextPart.get(r),a=o?be(e.slice(1),o):void 0;if(a)return a;if(t.validators.length===0)return;let s=e.join(Q);return(n=t.validators.find(({validator:l})=>l(s)))==null?void 0:n.classGroupId}var he=/^\[(.+)\]$/;function Qe(e){if(he.test(e)){let t=he.exec(e)[1],r=t==null?void 0:t.substring(0,t.indexOf(":"));if(r)return"arbitrary.."+r}}function et(e){let{theme:t,prefix:r}=e,o={nextPart:new Map,validators:[]};return rt(Object.entries(e.classGroups),r).forEach(([s,n])=>{Z(n,o,s,t)}),o}function Z(e,t,r,o){e.forEach(a=>{if(typeof a=="string"){let s=a===""?t:ge(t,a);s.classGroupId=r;return}if(typeof a=="function"){if(tt(a)){Z(a(o),t,r,o);return}t.validators.push({validator:a,classGroupId:r});return}Object.entries(a).forEach(([s,n])=>{Z(n,ge(t,s),r,o)})})}function ge(e,t){let r=e;return t.split(Q).forEach(o=>{r.nextPart.has(o)||r.nextPart.set(o,{nextPart:new Map,validators:[]}),r=r.nextPart.get(o)}),r}function tt(e){return e.isThemeGetter}function rt(e,t){return t?e.map(([r,o])=>{let a=o.map(s=>typeof s=="string"?t+s:typeof s=="object"?Object.fromEntries(Object.entries(s).map(([n,l])=>[t+n,l])):s);return[r,a]}):e}function ot(e){if(e<1)return{get:()=>{},set:()=>{}};let t=0,r=new Map,o=new Map;function a(s,n){r.set(s,n),t++,t>e&&(t=0,o=r,r=new Map)}return{get(s){let n=r.get(s);if(n!==void 0)return n;if((n=o.get(s))!==void 0)return a(s,n),n},set(s,n){r.has(s)?r.set(s,n):a(s,n)}}}var ye="!";function st(e){let t=e.separator,r=t.length===1,o=t[0],a=t.length;return function(n){let l=[],u=0,m=0,p;for(let f=0;f<n.length;f++){let g=n[f];if(u===0){if(g===o&&(r||n.slice(f,f+a)===t)){l.push(n.slice(m,f)),m=f+a;continue}if(g==="/"){p=f;continue}}g==="["?u++:g==="]"&&u--}let h=l.length===0?n:n.substring(m),b=h.startsWith(ye),v=b?h.substring(1):h,E=p&&p>m?p-m:void 0;return{modifiers:l,hasImportantModifier:b,baseClassName:v,maybePostfixModifierPosition:E}}}function at(e){if(e.length<=1)return e;let t=[],r=[];return e.forEach(o=>{o[0]==="["?(t.push(...r.sort(),o),r=[]):r.push(o)}),t.push(...r.sort()),t}function nt(e){return{cache:ot(e.cacheSize),splitModifiers:st(e),...Ze(e)}}var it=/\s+/;function lt(e,t){let{splitModifiers:r,getClassGroupId:o,getConflictingClassGroupIds:a}=t,s=new Set;return e.trim().split(it).map(n=>{let{modifiers:l,hasImportantModifier:u,baseClassName:m,maybePostfixModifierPosition:p}=r(n),h=o(p?m.substring(0,p):m),b=Boolean(p);if(!h){if(!p)return{isTailwindClass:!1,originalClassName:n};if(h=o(m),!h)return{isTailwindClass:!1,originalClassName:n};b=!1}let v=at(l).join(":"),E=u?v+ye:v;return{isTailwindClass:!0,modifierId:E,classGroupId:h,originalClassName:n,hasPostfixModifier:b}}).reverse().filter(n=>{if(!n.isTailwindClass)return!0;let{modifierId:l,classGroupId:u,hasPostfixModifier:m}=n,p=l+u;return s.has(p)?!1:(s.add(p),a(u,m).forEach(h=>s.add(l+h)),!0)}).reverse().map(n=>n.originalClassName).join(" ")}function ct(){let e=0,t,r,o="";for(;e<arguments.length;)(t=arguments[e++])&&(r=xe(t))&&(o&&(o+=" "),o+=r);return o}function xe(e){if(typeof e=="string")return e;let t,r="";for(let o=0;o<e.length;o++)e[o]&&(t=xe(e[o]))&&(r&&(r+=" "),r+=t);return r}function dt(e,...t){let r,o,a,s=n;function n(u){let m=t.reduce((p,h)=>h(p),e());return r=nt(m),o=r.cache.get,a=r.cache.set,s=l,l(u)}function l(u){let m=o(u);if(m)return m;let p=lt(u,r);return a(u,p),p}return function(){return s(ct.apply(null,arguments))}}function c(e){let t=r=>r[e]||[];return t.isThemeGetter=!0,t}var ve=/^\[(?:([a-z-]+):)?(.+)\]$/i,ut=/^\d+\/\d+$/,pt=new Set(["px","full","screen"]),mt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,ft=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,ht=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,gt=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,bt=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function x(e){return _(e)||pt.has(e)||ut.test(e)}function A(e){return T(e,"length",Pt)}function _(e){return Boolean(e)&&!Number.isNaN(Number(e))}function F(e){return T(e,"number",_)}function R(e){return Boolean(e)&&Number.isInteger(Number(e))}function yt(e){return e.endsWith("%")&&_(e.slice(0,-1))}function i(e){return ve.test(e)}function k(e){return mt.test(e)}var xt=new Set(["length","size","percentage"]);function vt(e){return T(e,xt,we)}function wt(e){return T(e,"position",we)}var At=new Set(["image","url"]);function kt(e){return T(e,At,_t)}function Et(e){return T(e,"",St)}function U(){return!0}function T(e,t,r){let o=ve.exec(e);return o?o[1]?typeof t=="string"?o[1]===t:t.has(o[1]):r(o[2]):!1}function Pt(e){return ft.test(e)&&!ht.test(e)}function we(){return!1}function St(e){return gt.test(e)}function _t(e){return bt.test(e)}function It(){let e=c("colors"),t=c("spacing"),r=c("blur"),o=c("brightness"),a=c("borderColor"),s=c("borderRadius"),n=c("borderSpacing"),l=c("borderWidth"),u=c("contrast"),m=c("grayscale"),p=c("hueRotate"),h=c("invert"),b=c("gap"),v=c("gradientColorStops"),E=c("gradientColorStopPositions"),f=c("inset"),g=c("margin"),w=c("opacity"),y=c("padding"),ee=c("saturate"),q=c("scale"),te=c("sepia"),re=c("skew"),oe=c("space"),se=c("translate"),W=()=>["auto","contain","none"],H=()=>["auto","hidden","clip","visible","scroll"],K=()=>["auto",i,t],d=()=>[i,t],ae=()=>["",x,A],B=()=>["auto",_,i],ne=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],G=()=>["solid","dashed","dotted","double","none"],ie=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],Y=()=>["start","end","center","between","around","evenly","stretch"],N=()=>["","0",i],le=()=>["auto","avoid","all","avoid-page","page","left","right","column"],z=()=>[_,F],V=()=>[_,i];return{cacheSize:500,separator:":",theme:{colors:[U],spacing:[x,A],blur:["none","",k,i],brightness:z(),borderColor:[e],borderRadius:["none","","full",k,i],borderSpacing:d(),borderWidth:ae(),contrast:z(),grayscale:N(),hueRotate:V(),invert:N(),gap:d(),gradientColorStops:[e],gradientColorStopPositions:[yt,A],inset:K(),margin:K(),opacity:z(),padding:d(),saturate:z(),scale:z(),sepia:N(),skew:V(),space:d(),translate:d()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[k]}],"break-after":[{"break-after":le()}],"break-before":[{"break-before":le()}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:[...ne(),i]}],overflow:[{overflow:H()}],"overflow-x":[{"overflow-x":H()}],"overflow-y":[{"overflow-y":H()}],overscroll:[{overscroll:W()}],"overscroll-x":[{"overscroll-x":W()}],"overscroll-y":[{"overscroll-y":W()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[f]}],"inset-x":[{"inset-x":[f]}],"inset-y":[{"inset-y":[f]}],start:[{start:[f]}],end:[{end:[f]}],top:[{top:[f]}],right:[{right:[f]}],bottom:[{bottom:[f]}],left:[{left:[f]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",R,i]}],basis:[{basis:K()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",i]}],grow:[{grow:N()}],shrink:[{shrink:N()}],order:[{order:["first","last","none",R,i]}],"grid-cols":[{"grid-cols":[U]}],"col-start-end":[{col:["auto",{span:["full",R,i]},i]}],"col-start":[{"col-start":B()}],"col-end":[{"col-end":B()}],"grid-rows":[{"grid-rows":[U]}],"row-start-end":[{row:["auto",{span:[R,i]},i]}],"row-start":[{"row-start":B()}],"row-end":[{"row-end":B()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",i]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",i]}],gap:[{gap:[b]}],"gap-x":[{"gap-x":[b]}],"gap-y":[{"gap-y":[b]}],"justify-content":[{justify:["normal",...Y()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...Y(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...Y(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[y]}],px:[{px:[y]}],py:[{py:[y]}],ps:[{ps:[y]}],pe:[{pe:[y]}],pt:[{pt:[y]}],pr:[{pr:[y]}],pb:[{pb:[y]}],pl:[{pl:[y]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[oe]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[oe]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,t]}],"min-w":[{"min-w":[i,t,"min","max","fit"]}],"max-w":[{"max-w":[i,t,"none","full","min","max","fit","prose",{screen:[k]},k]}],h:[{h:[i,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,t,"auto","min","max","fit"]}],"font-size":[{text:["base",k,A]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",F]}],"font-family":[{font:[U]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",i]}],"line-clamp":[{"line-clamp":["none",_,F]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",x,i]}],"list-image":[{"list-image":["none",i]}],"list-style-type":[{list:["none","disc","decimal",i]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[w]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[w]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...G(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",x,A]}],"underline-offset":[{"underline-offset":["auto",x,i]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:d()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",i]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",i]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[w]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...ne(),wt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",vt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},kt]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[E]}],"gradient-via-pos":[{via:[E]}],"gradient-to-pos":[{to:[E]}],"gradient-from":[{from:[v]}],"gradient-via":[{via:[v]}],"gradient-to":[{to:[v]}],rounded:[{rounded:[s]}],"rounded-s":[{"rounded-s":[s]}],"rounded-e":[{"rounded-e":[s]}],"rounded-t":[{"rounded-t":[s]}],"rounded-r":[{"rounded-r":[s]}],"rounded-b":[{"rounded-b":[s]}],"rounded-l":[{"rounded-l":[s]}],"rounded-ss":[{"rounded-ss":[s]}],"rounded-se":[{"rounded-se":[s]}],"rounded-ee":[{"rounded-ee":[s]}],"rounded-es":[{"rounded-es":[s]}],"rounded-tl":[{"rounded-tl":[s]}],"rounded-tr":[{"rounded-tr":[s]}],"rounded-br":[{"rounded-br":[s]}],"rounded-bl":[{"rounded-bl":[s]}],"border-w":[{border:[l]}],"border-w-x":[{"border-x":[l]}],"border-w-y":[{"border-y":[l]}],"border-w-s":[{"border-s":[l]}],"border-w-e":[{"border-e":[l]}],"border-w-t":[{"border-t":[l]}],"border-w-r":[{"border-r":[l]}],"border-w-b":[{"border-b":[l]}],"border-w-l":[{"border-l":[l]}],"border-opacity":[{"border-opacity":[w]}],"border-style":[{border:[...G(),"hidden"]}],"divide-x":[{"divide-x":[l]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[l]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[w]}],"divide-style":[{divide:G()}],"border-color":[{border:[a]}],"border-color-x":[{"border-x":[a]}],"border-color-y":[{"border-y":[a]}],"border-color-t":[{"border-t":[a]}],"border-color-r":[{"border-r":[a]}],"border-color-b":[{"border-b":[a]}],"border-color-l":[{"border-l":[a]}],"divide-color":[{divide:[a]}],"outline-style":[{outline:["",...G()]}],"outline-offset":[{"outline-offset":[x,i]}],"outline-w":[{outline:[x,A]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:ae()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[w]}],"ring-offset-w":[{"ring-offset":[x,A]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",k,Et]}],"shadow-color":[{shadow:[U]}],opacity:[{opacity:[w]}],"mix-blend":[{"mix-blend":ie()}],"bg-blend":[{"bg-blend":ie()}],filter:[{filter:["","none"]}],blur:[{blur:[r]}],brightness:[{brightness:[o]}],contrast:[{contrast:[u]}],"drop-shadow":[{"drop-shadow":["","none",k,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[p]}],invert:[{invert:[h]}],saturate:[{saturate:[ee]}],sepia:[{sepia:[te]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[r]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[u]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[p]}],"backdrop-invert":[{"backdrop-invert":[h]}],"backdrop-opacity":[{"backdrop-opacity":[w]}],"backdrop-saturate":[{"backdrop-saturate":[ee]}],"backdrop-sepia":[{"backdrop-sepia":[te]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[n]}],"border-spacing-x":[{"border-spacing-x":[n]}],"border-spacing-y":[{"border-spacing-y":[n]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:V()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:V()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[q]}],"scale-x":[{"scale-x":[q]}],"scale-y":[{"scale-y":[q]}],rotate:[{rotate:[R,i]}],"translate-x":[{"translate-x":[se]}],"translate-y":[{"translate-y":[se]}],"skew-x":[{"skew-x":[re]}],"skew-y":[{"skew-y":[re]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",i]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",i]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":d()}],"scroll-mx":[{"scroll-mx":d()}],"scroll-my":[{"scroll-my":d()}],"scroll-ms":[{"scroll-ms":d()}],"scroll-me":[{"scroll-me":d()}],"scroll-mt":[{"scroll-mt":d()}],"scroll-mr":[{"scroll-mr":d()}],"scroll-mb":[{"scroll-mb":d()}],"scroll-ml":[{"scroll-ml":d()}],"scroll-p":[{"scroll-p":d()}],"scroll-px":[{"scroll-px":d()}],"scroll-py":[{"scroll-py":d()}],"scroll-ps":[{"scroll-ps":d()}],"scroll-pe":[{"scroll-pe":d()}],"scroll-pt":[{"scroll-pt":d()}],"scroll-pr":[{"scroll-pr":d()}],"scroll-pb":[{"scroll-pb":d()}],"scroll-pl":[{"scroll-pl":d()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",i]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[x,A,F]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}}var Ae=dt(It);function Ot(...e){return Ae(fe(e))}var Ct=["stats","changelog","terms","privacy","abuse"],Lt=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],Tt=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{M as a,Pe as b,Ce as c,Be as d,Ye as e,Xe as f,Ot as g,Ct as h,Lt as i,Tt as j,D as k};
|