@dub/ui 0.1.8 → 0.1.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-23BDBA6R.mjs +2 -0
- package/dist/chunk-26X2G4OV.mjs +2 -0
- package/dist/chunk-2A5SASC5.mjs +2 -0
- package/dist/chunk-2ACDSAI4.mjs +2 -0
- package/dist/chunk-2AXJGLRO.mjs +2 -0
- package/dist/chunk-2BUFJ2AL.mjs +2 -0
- package/dist/chunk-2G3ITZK7.mjs +2 -0
- package/dist/chunk-2HDCXBSV.mjs +2 -0
- package/dist/chunk-2HFF4NLS.mjs +2 -0
- package/dist/chunk-2HZO32CL.mjs +2 -0
- package/dist/chunk-2IAV7Y57.mjs +2 -0
- package/dist/chunk-2JZ4YEIH.mjs +2 -0
- package/dist/chunk-2KN6G2MQ.mjs +2 -0
- package/dist/chunk-2KPISECJ.mjs +2 -0
- package/dist/chunk-2PRBV5LZ.mjs +2 -0
- package/dist/chunk-2R3FLGUG.mjs +2 -0
- package/dist/chunk-2TNNVIXD.mjs +2 -0
- package/dist/chunk-2UYCLR7P.mjs +2 -0
- package/dist/chunk-33I3FTTN.mjs +2 -0
- package/dist/chunk-34ZGILYN.mjs +2 -0
- package/dist/chunk-35MYWXBK.mjs +2 -0
- package/dist/chunk-3ARYUQMR.mjs +2 -0
- package/dist/chunk-3BUS3WSM.mjs +2 -0
- package/dist/chunk-3C5YQZNQ.mjs +2 -0
- package/dist/chunk-3DWE4EVV.mjs +2 -0
- package/dist/chunk-3E7HWIOC.mjs +2 -0
- package/dist/chunk-3GGNAQL3.mjs +2 -0
- package/dist/chunk-3GJEFMLQ.mjs +2 -0
- package/dist/chunk-3JXS6LD7.mjs +2 -0
- package/dist/chunk-3LCK334T.mjs +2 -0
- package/dist/chunk-3N5SZDPR.mjs +2 -0
- package/dist/chunk-3NEF3NBY.mjs +2 -0
- package/dist/chunk-3PVRMNXC.mjs +2 -0
- package/dist/chunk-3SOEGETE.mjs +2 -0
- package/dist/chunk-3UIWL224.mjs +2 -0
- package/dist/chunk-3VKLXI47.mjs +2 -0
- package/dist/chunk-3VTPXHVT.mjs +2 -0
- package/dist/chunk-4A5JFS7X.mjs +2 -0
- package/dist/chunk-4EVYVFVJ.mjs +2 -0
- package/dist/chunk-4FEVVAXK.mjs +2 -0
- package/dist/chunk-4LB6LSWL.mjs +2 -0
- package/dist/chunk-4OCRFEGD.mjs +2 -0
- package/dist/chunk-4OYYVTMY.mjs +2 -0
- package/dist/chunk-4PBVMH6Q.mjs +2 -0
- package/dist/chunk-4QJF3WCQ.mjs +2 -0
- package/dist/chunk-4QX4P3UP.mjs +2 -0
- package/dist/chunk-4RU4Q4SN.mjs +2 -0
- package/dist/chunk-4TK7SFRZ.mjs +2 -0
- package/dist/chunk-4TUZLMKS.mjs +2 -0
- package/dist/chunk-4Z5AT5GM.mjs +2 -0
- package/dist/chunk-4ZMWSMHJ.mjs +2 -0
- package/dist/chunk-52DDEEU2.mjs +2 -0
- package/dist/chunk-52DKUIK2.mjs +2 -0
- package/dist/chunk-5DDXJGUF.mjs +2 -0
- package/dist/chunk-5ESCWSKO.mjs +2 -0
- package/dist/chunk-5HXBUFL7.mjs +2 -0
- package/dist/chunk-5MYIKJLV.mjs +2 -0
- package/dist/chunk-5SHYULCL.mjs +2 -0
- package/dist/chunk-5TSYU42H.mjs +2 -0
- package/dist/chunk-5W5H6ROH.mjs +2 -0
- package/dist/chunk-5WJA4MX5.mjs +2 -0
- package/dist/chunk-5Z2UAXEC.mjs +2 -0
- package/dist/chunk-62YQRC25.mjs +2 -0
- package/dist/chunk-64KECIEC.mjs +2 -0
- package/dist/chunk-64Y7XARQ.mjs +2 -0
- package/dist/chunk-665U5QDK.mjs +2 -0
- package/dist/chunk-66IVMY6C.mjs +2 -0
- package/dist/chunk-6EIRICRR.mjs +2 -0
- package/dist/chunk-6IAYHKVP.mjs +2 -0
- package/dist/chunk-6JZYBAFP.mjs +2 -0
- package/dist/chunk-6L3RYZYF.mjs +2 -0
- package/dist/chunk-6LABDCKU.mjs +2 -0
- package/dist/chunk-6LVZW5VE.mjs +2 -0
- package/dist/chunk-6OVQQPPG.mjs +2 -0
- package/dist/chunk-6QTN56AC.mjs +2 -0
- package/dist/chunk-6RJOS7RO.mjs +2 -0
- package/dist/chunk-6RY7FC2G.mjs +2 -0
- package/dist/chunk-6RYPVUEJ.mjs +2 -0
- package/dist/chunk-6TMXQRND.mjs +2 -0
- package/dist/chunk-6WQGXG7E.mjs +2 -0
- package/dist/chunk-6X6O6MFS.mjs +2 -0
- package/dist/chunk-734MR4VW.mjs +2 -0
- package/dist/chunk-73UYJQ4A.mjs +2 -0
- package/dist/chunk-75GJKTI4.mjs +2 -0
- package/dist/chunk-75N6RNLS.mjs +2 -0
- package/dist/chunk-76H2GI6R.mjs +2 -0
- package/dist/chunk-7BAK7UYL.mjs +2 -0
- package/dist/chunk-7DNAASTO.mjs +2 -0
- package/dist/chunk-7DQBBJ7D.mjs +2 -0
- package/dist/chunk-7EG4S4HQ.mjs +2 -0
- package/dist/chunk-7GZX4EWB.mjs +2 -0
- package/dist/chunk-7JLFTAHD.mjs +2 -0
- package/dist/chunk-7KNFEWOG.mjs +2 -0
- package/dist/chunk-7KUONT5G.mjs +2 -0
- package/dist/chunk-7MCQFU7Z.mjs +2 -0
- package/dist/chunk-7MQX5QHJ.mjs +2 -0
- package/dist/chunk-7NW5W7KQ.mjs +2 -0
- package/dist/chunk-7PK5OFT4.mjs +2 -0
- package/dist/chunk-7PO2IC3U.mjs +2 -0
- package/dist/chunk-7RK25FO3.mjs +2 -0
- package/dist/chunk-7TNKXCKO.mjs +2 -0
- package/dist/chunk-7TUWRP5I.mjs +2 -0
- package/dist/chunk-7TYPUYUG.mjs +2 -0
- package/dist/chunk-7VIGTULN.mjs +2 -0
- package/dist/chunk-7W4C3XZZ.mjs +2 -0
- package/dist/chunk-7YBXDSJW.mjs +2 -0
- package/dist/chunk-A5JEQBNP.mjs +2 -0
- package/dist/chunk-A6E6BOJG.mjs +2 -0
- package/dist/chunk-A6OVPGDX.mjs +2 -0
- package/dist/chunk-A7GQB3GS.mjs +2 -0
- package/dist/chunk-AD5NXLCW.mjs +2 -0
- package/dist/chunk-ALL2W6HJ.mjs +2 -0
- package/dist/chunk-AMVI5KOE.mjs +2 -0
- package/dist/chunk-APLL6MSJ.mjs +2 -0
- package/dist/chunk-AQ4RGKCT.mjs +2 -0
- package/dist/chunk-AQ6ROFUK.mjs +2 -0
- package/dist/chunk-AROH6SMX.mjs +2 -0
- package/dist/chunk-AWZ7CIE3.mjs +2 -0
- package/dist/chunk-AXFIKBEZ.mjs +2 -0
- package/dist/chunk-AXUZDMNT.mjs +2 -0
- package/dist/chunk-AYK6R5KI.mjs +2 -0
- package/dist/chunk-B262WVQ5.mjs +2 -0
- package/dist/chunk-B2EPWEMW.mjs +2 -0
- package/dist/chunk-B2FY5RLA.mjs +2 -0
- package/dist/chunk-B3Z5SMWZ.mjs +2 -0
- package/dist/chunk-B4VROZFD.mjs +2 -0
- package/dist/chunk-BBQ4HFFN.mjs +2 -0
- package/dist/chunk-BGVUUOPM.mjs +2 -0
- package/dist/chunk-BISWHRHZ.mjs +2 -0
- package/dist/chunk-BKOAENEL.mjs +2 -0
- package/dist/chunk-BL6GOYNC.mjs +2 -0
- package/dist/chunk-BMOVY6GC.mjs +2 -0
- package/dist/chunk-BNB7CWIZ.mjs +2 -0
- package/dist/chunk-BO3PWSCU.mjs +2 -0
- package/dist/chunk-BO6ZSOS7.mjs +2 -0
- package/dist/chunk-BSBZFFU3.mjs +2 -0
- package/dist/chunk-BSIIGNH4.mjs +2 -0
- package/dist/chunk-BTH2JXCJ.mjs +2 -0
- package/dist/chunk-BUC57V7T.mjs +2 -0
- package/dist/chunk-BW2N5XHI.mjs +2 -0
- package/dist/chunk-BWMSE3IT.mjs +2 -0
- package/dist/chunk-BXXOKETB.mjs +2 -0
- package/dist/chunk-BY4ULOAD.mjs +2 -0
- package/dist/chunk-C2A35SBI.mjs +2 -0
- package/dist/chunk-C2PDAVTF.mjs +2 -0
- package/dist/chunk-C3XLADFL.mjs +2 -0
- package/dist/chunk-C4R2T73K.mjs +2 -0
- package/dist/chunk-C6ZHA3ZT.mjs +2 -0
- package/dist/chunk-CEHWNB6R.mjs +2 -0
- package/dist/chunk-CF2QS6ET.mjs +2 -0
- package/dist/chunk-CI4UGPOF.mjs +2 -0
- package/dist/chunk-CKQMFJEM.mjs +2 -0
- package/dist/chunk-CLT7NWT2.mjs +2 -0
- package/dist/chunk-CLUNRHX2.mjs +2 -0
- package/dist/chunk-CNRNFFHC.mjs +2 -0
- package/dist/chunk-CRCBKOXE.mjs +2 -0
- package/dist/chunk-CREK7XVA.mjs +2 -0
- package/dist/chunk-CSWTKW7N.mjs +2 -0
- package/dist/chunk-CWDLTRE4.mjs +2 -0
- package/dist/chunk-CYPREQHS.mjs +2 -0
- package/dist/chunk-D2UST2CA.mjs +2 -0
- package/dist/chunk-D4G3GVM7.mjs +2 -0
- package/dist/chunk-D523JVAY.mjs +2 -0
- package/dist/chunk-D5TLQZS4.mjs +2 -0
- package/dist/chunk-DDKNOUIY.mjs +2 -0
- package/dist/chunk-DIMQ5Y4Y.mjs +2 -0
- package/dist/chunk-DLGBGYHV.mjs +2 -0
- package/dist/chunk-DNVZBOPD.mjs +2 -0
- package/dist/chunk-DNW6I5PP.mjs +2 -0
- package/dist/chunk-DNXSEI4U.mjs +2 -0
- package/dist/chunk-DWLGSLFB.mjs +2 -0
- package/dist/chunk-DXMCDAAC.mjs +2 -0
- package/dist/chunk-DXV7ZAQ5.mjs +2 -0
- package/dist/chunk-DZ3UUOCK.mjs +2 -0
- package/dist/chunk-E25E3WR3.mjs +2 -0
- package/dist/chunk-E3W4U546.mjs +2 -0
- package/dist/chunk-E3Y5MG4Y.mjs +2 -0
- package/dist/chunk-E5SPKUXT.mjs +2 -0
- package/dist/chunk-E6MQDVXQ.mjs +2 -0
- package/dist/chunk-EEE3D3KU.mjs +2 -0
- package/dist/chunk-EH2LKK3I.mjs +2 -0
- package/dist/chunk-EHDDIBYC.mjs +2 -0
- package/dist/chunk-EIKXIESX.mjs +2 -0
- package/dist/chunk-EIOCSW4C.mjs +2 -0
- package/dist/chunk-EMKA5TSD.mjs +2 -0
- package/dist/chunk-ENFNX5CZ.mjs +2 -0
- package/dist/chunk-EPXDD5PJ.mjs +2 -0
- package/dist/chunk-ERN36O7L.mjs +2 -0
- package/dist/chunk-ESHVKPPC.mjs +2 -0
- package/dist/chunk-ESIJB4YE.mjs +2 -0
- package/dist/chunk-ESKSKHT3.mjs +2 -0
- package/dist/chunk-ETV4FBVT.mjs +2 -0
- package/dist/chunk-EUMZMFXX.mjs +2 -0
- package/dist/chunk-EUYIEEPE.mjs +2 -0
- package/dist/chunk-EXSPEKFE.mjs +2 -0
- package/dist/chunk-EY6WW2WH.mjs +2 -0
- package/dist/chunk-EZEKXCP7.mjs +2 -0
- package/dist/chunk-EZHRY4MG.mjs +2 -0
- package/dist/chunk-EZRINSIT.mjs +2 -0
- package/dist/chunk-F3MII4U4.mjs +2 -0
- package/dist/chunk-F3P5N2NJ.mjs +2 -0
- package/dist/chunk-F4URCYSP.mjs +2 -0
- package/dist/chunk-FBYMYFB6.mjs +2 -0
- package/dist/chunk-FC6OPS46.mjs +2 -0
- package/dist/chunk-FD743SIT.mjs +2 -0
- package/dist/chunk-FG3DMUXV.mjs +2 -0
- package/dist/chunk-FJ4HDNSI.mjs +2 -0
- package/dist/chunk-FL6HJR5H.mjs +2 -0
- package/dist/chunk-FMYXJVZZ.mjs +2 -0
- package/dist/chunk-FQW56OGV.mjs +2 -0
- package/dist/chunk-FQY5CPTI.mjs +2 -0
- package/dist/chunk-FRXPEPKX.mjs +2 -0
- package/dist/chunk-FX7M3AC6.mjs +2 -0
- package/dist/chunk-FZNBEV4F.mjs +2 -0
- package/dist/chunk-G4V6NLPT.mjs +2 -0
- package/dist/chunk-GB35VLGX.mjs +2 -0
- package/dist/chunk-GIMCRK46.mjs +2 -0
- package/dist/chunk-GIWDN4DX.mjs +2 -0
- package/dist/chunk-GJNFQV4Z.mjs +2 -0
- package/dist/chunk-GKA2MPKC.mjs +2 -0
- package/dist/chunk-GKOHADOM.mjs +2 -0
- package/dist/chunk-GLK2AZMQ.mjs +2 -0
- package/dist/chunk-GNY2HXR4.mjs +2 -0
- package/dist/chunk-GOEEPPPP.mjs +2 -0
- package/dist/chunk-GQFAUR5Z.mjs +2 -0
- package/dist/chunk-GRWRJB6Q.mjs +2 -0
- package/dist/chunk-GT4AC2Z6.mjs +2 -0
- package/dist/chunk-GTUZQYVL.mjs +2 -0
- package/dist/chunk-GVDSNETV.mjs +2 -0
- package/dist/chunk-GW77NV2E.mjs +2 -0
- package/dist/chunk-GZMI6UQ3.mjs +2 -0
- package/dist/chunk-GZWRL77K.mjs +2 -0
- package/dist/chunk-H2ZCV6XF.mjs +2 -0
- package/dist/chunk-H7EDQLTZ.mjs +2 -0
- package/dist/chunk-HC54Z2QS.mjs +2 -0
- package/dist/chunk-HCLJW53E.mjs +2 -0
- package/dist/chunk-HCNLT2GU.mjs +2 -0
- package/dist/chunk-HEPNZ3CZ.mjs +2 -0
- package/dist/chunk-HF2UHHLZ.mjs +2 -0
- package/dist/chunk-HFG7GZKE.mjs +2 -0
- package/dist/chunk-HG3V2HUD.mjs +2 -0
- package/dist/chunk-HGJMOGWM.mjs +2 -0
- package/dist/chunk-HHPG6X3B.mjs +2 -0
- package/dist/chunk-HIG4TRAT.mjs +2 -0
- package/dist/chunk-HJFYBD5M.mjs +2 -0
- package/dist/chunk-HKDYPQZ4.mjs +2 -0
- package/dist/chunk-HKUEXMI7.mjs +2 -0
- package/dist/chunk-HNHUM2IT.mjs +2 -0
- package/dist/chunk-HPEDTKLF.mjs +2 -0
- package/dist/chunk-HSSDD3ZI.mjs +2 -0
- package/dist/chunk-HTVU5HVU.mjs +2 -0
- package/dist/chunk-HV4AFWF3.mjs +2 -0
- package/dist/chunk-HVGY5MOZ.mjs +2 -0
- package/dist/chunk-HYWQRNPU.mjs +2 -0
- package/dist/chunk-HZCFRVHS.mjs +2 -0
- package/dist/chunk-HZG2CGYW.mjs +2 -0
- package/dist/chunk-I2EJJWQL.mjs +2 -0
- package/dist/chunk-I6FM6OZL.mjs +2 -0
- package/dist/chunk-I6SKAUKC.mjs +2 -0
- package/dist/chunk-IB2GPHKX.mjs +2 -0
- package/dist/chunk-IE4MKWQ4.mjs +2 -0
- package/dist/chunk-IFSNFJV7.mjs +2 -0
- package/dist/chunk-IGCQGLTX.mjs +2 -0
- package/dist/chunk-IHCD3Q2K.mjs +2 -0
- package/dist/chunk-IKQB7MBY.mjs +2 -0
- package/dist/chunk-IUQWM2U7.mjs +2 -0
- package/dist/chunk-IZPFYCU4.mjs +2 -0
- package/dist/chunk-J2JAWVPA.mjs +2 -0
- package/dist/chunk-J3Y6QKYJ.mjs +2 -0
- package/dist/chunk-J5IC4BIK.mjs +2 -0
- package/dist/chunk-J7OTBVAZ.mjs +2 -0
- package/dist/chunk-JAM6EQJQ.mjs +2 -0
- package/dist/chunk-JCRX7EQL.mjs +2 -0
- package/dist/chunk-JDIBPMPO.mjs +2 -0
- package/dist/chunk-JEBY7WDA.mjs +2 -0
- package/dist/chunk-JFEYEGAI.mjs +2 -0
- package/dist/chunk-JFPCFK7J.mjs +2 -0
- package/dist/chunk-JGSSDLMO.mjs +2 -0
- package/dist/chunk-JH7AV2AV.mjs +2 -0
- package/dist/chunk-JIMYSOAG.mjs +2 -0
- package/dist/chunk-JLWCMKMV.mjs +2 -0
- package/dist/chunk-JMYXPMS4.mjs +2 -0
- package/dist/chunk-JTXJVYTQ.mjs +2 -0
- package/dist/chunk-JUT4KUPD.mjs +2 -0
- package/dist/chunk-JXSHLJSQ.mjs +2 -0
- package/dist/chunk-K4MP745I.mjs +2 -0
- package/dist/chunk-KCURFR7X.mjs +2 -0
- package/dist/chunk-KDSXXLEI.mjs +2 -0
- package/dist/chunk-KE2NCDSJ.mjs +2 -0
- package/dist/chunk-KEIEFSBM.mjs +2 -0
- package/dist/chunk-KG4GUEGQ.mjs +2 -0
- package/dist/chunk-KKDP754P.mjs +2 -0
- package/dist/chunk-KKX55HCW.mjs +2 -0
- package/dist/chunk-KQ3BMXSL.mjs +2 -0
- package/dist/chunk-KQIVIXZV.mjs +2 -0
- package/dist/chunk-KRFXWYGO.mjs +2 -0
- package/dist/chunk-KSTEOW4L.mjs +2 -0
- package/dist/chunk-KSWV2X2L.mjs +2 -0
- package/dist/chunk-KTN7NP4S.mjs +2 -0
- package/dist/chunk-KVGN5TIP.mjs +2 -0
- package/dist/chunk-KVIMEH6V.mjs +2 -0
- package/dist/chunk-KVXEQPGX.mjs +2 -0
- package/dist/chunk-KW6RZLIT.mjs +2 -0
- package/dist/chunk-KWNB63QK.mjs +2 -0
- package/dist/chunk-L5VO3NYI.mjs +2 -0
- package/dist/chunk-L7IFAQ6M.mjs +2 -0
- package/dist/chunk-LARZ4IMS.mjs +2 -0
- package/dist/chunk-LPNVKDL7.mjs +2 -0
- package/dist/chunk-LQHPSBW3.mjs +2 -0
- package/dist/chunk-LR7M5PLV.mjs +2 -0
- package/dist/chunk-LRNUOLCR.mjs +2 -0
- package/dist/chunk-LVDH42MD.mjs +2 -0
- package/dist/chunk-LWB2HRYU.mjs +2 -0
- package/dist/chunk-M2FH2FKN.mjs +2 -0
- package/dist/chunk-M2IWKRAM.mjs +2 -0
- package/dist/chunk-M4PGLITQ.mjs +2 -0
- package/dist/chunk-M6NXBOKN.mjs +2 -0
- package/dist/chunk-M6P4R2EG.mjs +2 -0
- package/dist/chunk-MB43U2E6.mjs +2 -0
- package/dist/chunk-MBE3TVOG.mjs +2 -0
- package/dist/chunk-MBI3GBW2.mjs +2 -0
- package/dist/chunk-MBNJGIH7.mjs +2 -0
- package/dist/chunk-MC36WOGT.mjs +2 -0
- package/dist/chunk-MCBLXZM6.mjs +2 -0
- package/dist/chunk-MDHIMMGF.mjs +2 -0
- package/dist/chunk-MDSJUCZW.mjs +2 -0
- package/dist/chunk-MEW44XFA.mjs +2 -0
- package/dist/chunk-MGQI4BWT.mjs +2 -0
- package/dist/chunk-MIQ7TRW2.mjs +2 -0
- package/dist/chunk-MJGI4WOH.mjs +2 -0
- package/dist/chunk-MPZUXLO5.mjs +2 -0
- package/dist/chunk-MR5M4WDG.mjs +2 -0
- package/dist/chunk-MRO2V7LK.mjs +2 -0
- package/dist/chunk-MT76DTAM.mjs +2 -0
- package/dist/chunk-N2N24L2K.mjs +2 -0
- package/dist/chunk-N2WGVB4U.mjs +2 -0
- package/dist/chunk-N2ZXOZLN.mjs +2 -0
- package/dist/chunk-N3UPSX6K.mjs +2 -0
- package/dist/chunk-N45TV2EG.mjs +2 -0
- package/dist/chunk-N4XDKZSC.mjs +2 -0
- package/dist/chunk-NBCD3W4L.mjs +2 -0
- package/dist/chunk-NFEDJ6GF.mjs +2 -0
- package/dist/chunk-NHK6LUOF.mjs +2 -0
- package/dist/chunk-NIY7XBGM.mjs +2 -0
- package/dist/chunk-NKYF6YMY.mjs +2 -0
- package/dist/chunk-NLZNHBLA.mjs +2 -0
- package/dist/chunk-NRTSOH2K.mjs +2 -0
- package/dist/chunk-NUYAMK3Z.mjs +2 -0
- package/dist/chunk-NV4X6P3J.mjs +2 -0
- package/dist/chunk-NWAEMMX7.mjs +2 -0
- package/dist/chunk-NZ3WZX6F.mjs +2 -0
- package/dist/chunk-NZAAUQSE.mjs +2 -0
- package/dist/chunk-NZAMO72J.mjs +2 -0
- package/dist/chunk-O2WDJ2YR.mjs +2 -0
- package/dist/chunk-O3HCEM25.mjs +2 -0
- package/dist/chunk-O4MYNJLA.mjs +2 -0
- package/dist/chunk-O5SZ3SPU.mjs +2 -0
- package/dist/chunk-O72P6JA3.mjs +2 -0
- package/dist/chunk-OBXUCDL4.mjs +2 -0
- package/dist/chunk-OCXUHN53.mjs +2 -0
- package/dist/chunk-OENHPB7L.mjs +2 -0
- package/dist/chunk-OFMABX4R.mjs +2 -0
- package/dist/chunk-OH4PG3E4.mjs +2 -0
- package/dist/chunk-OIXR2WA5.mjs +2 -0
- package/dist/chunk-OPGIABSO.mjs +2 -0
- package/dist/chunk-OPUD3VXE.mjs +2 -0
- package/dist/chunk-OPUPL2FJ.mjs +2 -0
- package/dist/chunk-OQA5RAV7.mjs +2 -0
- package/dist/chunk-OQQWLTRK.mjs +2 -0
- package/dist/chunk-OROISO42.mjs +2 -0
- package/dist/chunk-OTS63QAS.mjs +2 -0
- package/dist/chunk-OU24FQ4E.mjs +2 -0
- package/dist/chunk-OVBGEIE4.mjs +2 -0
- package/dist/chunk-P44C55TN.mjs +2 -0
- package/dist/chunk-PBALMFHE.mjs +2 -0
- package/dist/chunk-PC4KLWHX.mjs +2 -0
- package/dist/chunk-PCFGRZHT.mjs +2 -0
- package/dist/chunk-PDDFI6FC.mjs +2 -0
- package/dist/chunk-PEITY6K3.mjs +2 -0
- package/dist/chunk-PGCH6YHH.mjs +2 -0
- package/dist/chunk-PH6VZGZE.mjs +2 -0
- package/dist/chunk-PI3RVPR7.mjs +2 -0
- package/dist/chunk-PPIAX4DF.mjs +2 -0
- package/dist/chunk-PQ2KVZHH.mjs +2 -0
- package/dist/chunk-PSKSJSQR.mjs +2 -0
- package/dist/chunk-PSQAMEO5.mjs +2 -0
- package/dist/chunk-PUBK2M3R.mjs +2 -0
- package/dist/chunk-PWT6NTKH.mjs +2 -0
- package/dist/chunk-PZCNEWWF.mjs +2 -0
- package/dist/chunk-Q7PNSPBK.mjs +2 -0
- package/dist/chunk-QB2MJDZB.mjs +2 -0
- package/dist/chunk-QBPRNJFR.mjs +2 -0
- package/dist/chunk-QC3IAS4M.mjs +2 -0
- package/dist/chunk-QDPDMBO5.mjs +2 -0
- package/dist/chunk-QF3GXNZX.mjs +2 -0
- package/dist/chunk-QLSK7Y2Q.mjs +2 -0
- package/dist/chunk-QOUNKPY6.mjs +2 -0
- package/dist/chunk-QPCK6WSQ.mjs +2 -0
- package/dist/chunk-QR6C37CG.mjs +2 -0
- package/dist/chunk-QSSR3SQT.mjs +2 -0
- package/dist/chunk-QVL2EZM7.mjs +2 -0
- package/dist/chunk-QXSUBYTQ.mjs +2 -0
- package/dist/chunk-QYG3ZLPK.mjs +2 -0
- package/dist/chunk-R2WG4XOF.mjs +2 -0
- package/dist/chunk-R3HE57DL.mjs +2 -0
- package/dist/chunk-R4VGSVOM.mjs +2 -0
- package/dist/chunk-R5GH2UF5.mjs +2 -0
- package/dist/chunk-R5OBTAGS.mjs +2 -0
- package/dist/chunk-R7FF73HA.mjs +2 -0
- package/dist/chunk-RF3Z54DU.mjs +2 -0
- package/dist/chunk-RHBRUUES.mjs +2 -0
- package/dist/chunk-RHNN53XQ.mjs +2 -0
- package/dist/chunk-RKNYOJIN.mjs +2 -0
- package/dist/chunk-RLAUGTEK.mjs +2 -0
- package/dist/chunk-RNGHFDYE.mjs +2 -0
- package/dist/chunk-RNV3RCPU.mjs +2 -0
- package/dist/chunk-RQR2H3NU.mjs +2 -0
- package/dist/chunk-RSN2GMLQ.mjs +2 -0
- package/dist/chunk-RXIURKQ4.mjs +2 -0
- package/dist/chunk-RZMMAMVU.mjs +2 -0
- package/dist/chunk-S3VPXUIZ.mjs +2 -0
- package/dist/chunk-S5LY2KT2.mjs +2 -0
- package/dist/chunk-S7L5PMPP.mjs +2 -0
- package/dist/chunk-SD2E4LFJ.mjs +2 -0
- package/dist/chunk-SEA2EL37.mjs +2 -0
- package/dist/chunk-SFHUTTD7.mjs +2 -0
- package/dist/chunk-SFPLTLIP.mjs +2 -0
- package/dist/chunk-SGVN4RDM.mjs +2 -0
- package/dist/chunk-SHLNADSQ.mjs +2 -0
- package/dist/chunk-SJKNO2Z7.mjs +2 -0
- package/dist/chunk-SPTSLYMY.mjs +2 -0
- package/dist/chunk-SQLUWD32.mjs +2 -0
- package/dist/chunk-SRB74GFD.mjs +2 -0
- package/dist/chunk-SRMKZFTN.mjs +2 -0
- package/dist/chunk-SSEOJ2O2.mjs +2 -0
- package/dist/chunk-SX6W626G.mjs +2 -0
- package/dist/chunk-SXHKHGMR.mjs +2 -0
- package/dist/chunk-SYPR67QL.mjs +2 -0
- package/dist/chunk-SZMCY3JH.mjs +2 -0
- package/dist/chunk-T2XPQQCR.mjs +2 -0
- package/dist/chunk-T4F2PJTT.mjs +2 -0
- package/dist/chunk-T4OOWQWY.mjs +2 -0
- package/dist/chunk-T65F2YOR.mjs +2 -0
- package/dist/chunk-T6AIMF4A.mjs +2 -0
- package/dist/chunk-T6B52GKG.mjs +2 -0
- package/dist/chunk-T6D2D6B5.mjs +2 -0
- package/dist/chunk-TBSLGNKC.mjs +2 -0
- package/dist/chunk-TINNHLXX.mjs +2 -0
- package/dist/chunk-TJGGDPBS.mjs +2 -0
- package/dist/chunk-TM7LUYVR.mjs +2 -0
- package/dist/chunk-TMC6DUQT.mjs +2 -0
- package/dist/chunk-TSYWOQE2.mjs +2 -0
- package/dist/chunk-TTKHDDI6.mjs +2 -0
- package/dist/chunk-TUGEWJ4T.mjs +2 -0
- package/dist/chunk-TUNZRQKB.mjs +2 -0
- package/dist/chunk-TXKJTTKI.mjs +2 -0
- package/dist/chunk-TYYNLZJ4.mjs +2 -0
- package/dist/chunk-U2P5YEAC.mjs +2 -0
- package/dist/chunk-U4NIZG75.mjs +2 -0
- package/dist/chunk-U6YDA6MK.mjs +2 -0
- package/dist/chunk-U7T3YLAF.mjs +2 -0
- package/dist/chunk-U7U7HA3J.mjs +2 -0
- package/dist/chunk-UAFXY22Z.mjs +2 -0
- package/dist/chunk-UCHMVSNM.mjs +2 -0
- package/dist/chunk-UDQ6Z3XB.mjs +2 -0
- package/dist/chunk-UE3OJMRH.mjs +2 -0
- package/dist/chunk-UJOCJBOX.mjs +2 -0
- package/dist/chunk-ULDDAKLI.mjs +2 -0
- package/dist/chunk-ULXFQ7Y5.mjs +2 -0
- package/dist/chunk-UNLB6LBC.mjs +2 -0
- package/dist/chunk-UNUO32HB.mjs +2 -0
- package/dist/chunk-URTHZ3T3.mjs +2 -0
- package/dist/chunk-URWKNOUI.mjs +2 -0
- package/dist/chunk-UTGP2PW2.mjs +2 -0
- package/dist/chunk-UW5YMZJ3.mjs +2 -0
- package/dist/chunk-UWXGQA5O.mjs +2 -0
- package/dist/chunk-UWXLBDO6.mjs +2 -0
- package/dist/chunk-UX7AY7S3.mjs +2 -0
- package/dist/chunk-UXEV7LLA.mjs +2 -0
- package/dist/chunk-UXFGMRSJ.mjs +2 -0
- package/dist/chunk-UZLUWHDO.mjs +2 -0
- package/dist/chunk-V2BBG7EV.mjs +2 -0
- package/dist/chunk-V2LC7ZPZ.mjs +2 -0
- package/dist/chunk-V2NSH4F2.mjs +2 -0
- package/dist/chunk-V47RPBMV.mjs +2 -0
- package/dist/chunk-V4BGW5Z6.mjs +2 -0
- package/dist/chunk-V4QCHDJT.mjs +2 -0
- package/dist/chunk-V5GJJNGR.mjs +2 -0
- package/dist/chunk-V76L4OHM.mjs +2 -0
- package/dist/chunk-VAEQBWNH.mjs +2 -0
- package/dist/chunk-VAWSZFKW.mjs +2 -0
- package/dist/chunk-VCMYJT2K.mjs +2 -0
- package/dist/chunk-VD2L2AH2.mjs +2 -0
- package/dist/chunk-VFCNW4JD.mjs +2 -0
- package/dist/chunk-VGPS6FYW.mjs +2 -0
- package/dist/chunk-VKPD7LQ6.mjs +2 -0
- package/dist/chunk-VLFLSLRK.mjs +2 -0
- package/dist/chunk-VNTXN4XX.mjs +2 -0
- package/dist/chunk-VSXICUMK.mjs +2 -0
- package/dist/chunk-VUA7C7JV.mjs +2 -0
- package/dist/chunk-VVAUZB56.mjs +2 -0
- package/dist/chunk-VWZO5IAV.mjs +2 -0
- package/dist/chunk-VZWNK3GT.mjs +2 -0
- package/dist/chunk-W2TJGIRX.mjs +2 -0
- package/dist/chunk-W3LWDKOJ.mjs +2 -0
- package/dist/chunk-W5S2NH76.mjs +2 -0
- package/dist/chunk-W7RH4B5A.mjs +2 -0
- package/dist/chunk-WBSN7Z4N.mjs +2 -0
- package/dist/chunk-WFJJ6344.mjs +2 -0
- package/dist/chunk-WHWWTCVD.mjs +2 -0
- package/dist/chunk-WKEVZZ23.mjs +2 -0
- package/dist/chunk-WL7USO4J.mjs +2 -0
- package/dist/chunk-WNLBMPWI.mjs +2 -0
- package/dist/chunk-WRAO3EXA.mjs +2 -0
- package/dist/chunk-WRL6DLYQ.mjs +2 -0
- package/dist/chunk-WUEERTQF.mjs +2 -0
- package/dist/chunk-WVGXBEIH.mjs +2 -0
- package/dist/chunk-X2DHSMTO.mjs +2 -0
- package/dist/chunk-X2LGAIFP.mjs +2 -0
- package/dist/chunk-X3VWYJLM.mjs +2 -0
- package/dist/chunk-X4KB6FL7.mjs +2 -0
- package/dist/chunk-X5KTMNVD.mjs +2 -0
- package/dist/chunk-XFUHBOF5.mjs +2 -0
- package/dist/chunk-XFVUJPHH.mjs +2 -0
- package/dist/chunk-XHETUG26.mjs +2 -0
- package/dist/chunk-XR4Y5H7B.mjs +2 -0
- package/dist/chunk-XRB2IXOO.mjs +2 -0
- package/dist/chunk-XRBB45BC.mjs +2 -0
- package/dist/chunk-XWPBJJC3.mjs +2 -0
- package/dist/chunk-XX2NNWML.mjs +2 -0
- package/dist/chunk-XYXBVIS2.mjs +2 -0
- package/dist/chunk-XZOWJZFX.mjs +2 -0
- package/dist/chunk-Y2GW4ANY.mjs +2 -0
- package/dist/chunk-Y2QJZV5M.mjs +2 -0
- package/dist/chunk-YAEDQG7J.mjs +2 -0
- package/dist/chunk-YBZTIJVZ.mjs +2 -0
- package/dist/chunk-YCQJWODP.mjs +2 -0
- package/dist/chunk-YDHGVEAQ.mjs +2 -0
- package/dist/chunk-YFX34ASB.mjs +2 -0
- package/dist/chunk-YI74ABLB.mjs +2 -0
- package/dist/chunk-YICCEHIB.mjs +2 -0
- package/dist/chunk-YIFCIE4P.mjs +2 -0
- package/dist/chunk-YJGELNV5.mjs +2 -0
- package/dist/chunk-YRV5GHON.mjs +2 -0
- package/dist/chunk-YTBJBOFP.mjs +2 -0
- package/dist/chunk-YYV32B2L.mjs +2 -0
- package/dist/chunk-Z2Y7SAVY.mjs +2 -0
- package/dist/chunk-Z4AIGOCP.mjs +2 -0
- package/dist/chunk-Z7ZNKTI3.mjs +2 -0
- package/dist/chunk-ZAA4SKBV.mjs +2 -0
- package/dist/chunk-ZDT4JAHU.mjs +2 -0
- package/dist/chunk-ZE5XLIUM.mjs +2 -0
- package/dist/chunk-ZGOW6XSV.mjs +2 -0
- package/dist/chunk-ZGR7S7GC.mjs +2 -0
- package/dist/chunk-ZGTK4CLI.mjs +2 -0
- package/dist/chunk-ZHD2XKE5.mjs +2 -0
- package/dist/chunk-ZJP2SJCG.mjs +2 -0
- package/dist/chunk-ZKVV3LNK.mjs +2 -0
- package/dist/chunk-ZM44IBZM.mjs +2 -0
- package/dist/chunk-ZMILBVOZ.mjs +2 -0
- package/dist/chunk-ZPJY3JFZ.mjs +2 -0
- package/dist/chunk-ZQIINY7Y.mjs +2 -0
- package/dist/chunk-ZRJPGTI4.mjs +2 -0
- package/dist/chunk-ZSAHYQ6B.mjs +2 -0
- package/dist/chunk-ZSKORCPE.mjs +2 -0
- package/dist/chunk-ZVCL454F.mjs +2 -0
- package/dist/chunk-ZVHHDXBO.mjs +2 -0
- package/dist/chunk-ZWOROFWQ.mjs +2 -0
- package/dist/chunk-ZWPBYVGX.mjs +2 -0
- package/dist/chunk-ZXLDWOIS.mjs +2 -0
- package/dist/chunk-ZZQJCDSQ.mjs +2 -0
- package/dist/chunk-ZZXX5ZOA.mjs +2 -0
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/hooks/use-toast-with-undo.d.ts +1 -1
- package/dist/hooks/use-toast-with-undo.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/index.d.ts +1 -0
- package/dist/icons/index.mjs +1 -1
- package/dist/icons/linkedin.mjs +1 -1
- package/dist/icons/loading-circle.mjs +1 -1
- package/dist/icons/loading-spinner.mjs +1 -1
- package/dist/icons/logo.mjs +1 -1
- package/dist/icons/logotype.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +16 -4
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/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 +1 -2
- package/dist/popup.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 +3 -3
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-RHBRUUES.mjs";import"./chunk-HIG4TRAT.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-2KN6G2MQ.mjs";import"./chunk-HIG4TRAT.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
|
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-ESHVKPPC.mjs";import"./chunk-HIG4TRAT.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-BW2N5XHI.mjs";import"./chunk-HIG4TRAT.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-PPIAX4DF.mjs";import"./chunk-YTBJBOFP.mjs";import"./chunk-XA6HZP2X.mjs";import"./chunk-MEW44XFA.mjs";import"./chunk-GSQUGPJ2.mjs";import"./chunk-UNLB6LBC.mjs";import"./chunk-NWAEMMX7.mjs";import"./chunk-WNLBMPWI.mjs";import"./chunk-V5GJJNGR.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-HFOXNTZ2.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-7RK25FO3.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-T4YFARK5.mjs";import"./chunk-QROG2QLI.mjs";import"./chunk-KTN7NP4S.mjs";import"./chunk-FMYXJVZZ.mjs";import"./chunk-QA2KCGIR.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-ESHVKPPC.mjs";import"./chunk-HIG4TRAT.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-EH2LKK3I.mjs";import"./chunk-HIG4TRAT.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as e}from"./chunk-4PBVMH6Q.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as s}from"./chunk-2BUFJ2AL.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{k as t}from"./chunk-U4NIZG75.mjs";import{cva as o}from"class-variance-authority";import{jsx as n}from"react/jsx-runtime";var i=o("max-w-fit rounded-full border px-2 py-px text-xs font-medium capitalize whitespace-nowrap",{variants:{variant:{default:"border-gray-400 text-gray-500",violet:"border-violet-600 bg-violet-600 text-white",blue:"border-blue-500 bg-blue-500 text-white",sky:"border-sky-900 bg-sky-900 text-white",black:"border-black bg-black text-white",gray:"border-gray-200 bg-gray-100 text-gray-800",neutral:"border-gray-400 text-gray-500",rainbow:"bg-gradient-to-r from-violet-600 to-pink-600 text-white border-transparent"}},defaultVariants:{variant:"neutral"}});function g({className:e,variant:r,...a}){return n("span",{className:t(i({variant:r}),e),...a})}export{i as a,g as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as L}from"./chunk-T6B52GKG.mjs";import{a as k}from"./chunk-MT76DTAM.mjs";import{b as S}from"./chunk-NBCD3W4L.mjs";import{f as u}from"./chunk-X2LGAIFP.mjs";import{Command as s,useCommandState as P}from"cmdk";import{Check as T,ChevronDown as O,Search as v,X as j}from"lucide-react";import{memo as w,useEffect as z,useRef as H,useState as D}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function U({items:g,selectedItem:r,setSelectedItem:N,className:p,disabled:E,adjustForMobile:M,icon:b,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=D(!1),[d,f]=D((r==null?void 0:r.value)||"");z(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:R}=L(),h=w(()=>{let a=P(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:f,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:E,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),f("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(j,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(O,{className:u("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>g.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),f(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:u("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(T,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return R&&M?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:u("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:u("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",p),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as o}from"./chunk-GW77NV2E.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as b}from"./chunk-DNVZBOPD.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,b);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{a as l}from"./chunk-7EG4S4HQ.mjs";import{e,f as s}from"./chunk-D523JVAY.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: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{a as l}from"./chunk-EUMZMFXX.mjs";import{d as e,g as s}from"./chunk-R3HE57DL.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{h as v}from"./chunk-DNVZBOPD.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as C}from"./chunk-HC54Z2QS.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as L}from"./chunk-OBXUCDL4.mjs";import{a as k}from"./chunk-EUMZMFXX.mjs";import{b as S}from"./chunk-3PVRMNXC.mjs";import{g as u}from"./chunk-R3HE57DL.mjs";import{Command as s,useCommandState as P}from"cmdk";import{Check as T,ChevronDown as O,Search as v,X as j}from"lucide-react";import{memo as w,useEffect as z,useRef as H,useState as D}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function U({items:g,selectedItem:r,setSelectedItem:N,className:p,disabled:E,adjustForMobile:M,icon:b,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=D(!1),[d,f]=D((r==null?void 0:r.value)||"");z(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]);let{isMobile:R}=L(),h=w(()=>{let a=P(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:d,onValueChange:f,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled:E,className:"block w-full truncate rounded-md border-none px-0 text-base text-gray-900 placeholder-gray-400 outline-none outline-0 transition-all duration-300 focus:ring-0 md:text-sm"})}),x=w(()=>e("button",{onClick:()=>{o(a=>!a),N(null),f("")},className:"absolute inset-y-0 right-0 my-auto pr-3",children:d.length>0?e(j,{className:"h-4 w-4 text-gray-400 transition-all hover:text-gray-700"}):e(O,{className:(void 0)("h-4 w-4 text-gray-400 transition-all hover:text-gray-700",{"rotate-180 transform":n})})})),C=w(()=>g.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),f(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:(void 0)("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(T,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return R&&M?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:(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]",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:(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",p),children:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:(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",p),children:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):b||e(v,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(x,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[g.length===0&&d===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),d!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{U as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-2TNNVIXD.mjs";import{e,f as s}from"./chunk-HC54Z2QS.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: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{h as e}from"./chunk-HIG4TRAT.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:a={},className:i}){return a?n("img",{alt:`Avatar for ${(a==null?void 0:a.name)||(a==null?void 0:a.email)}`,referrerPolicy:"no-referrer",src:(a==null?void 0:a.image)||`https://api.dicebear.com/7.x/micah/svg?seed=${a==null?void 0:a.email}`,className:e("h-10 w-10 rounded-full border border-gray-300",i),draggable:!1}):n("div",{className:e("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",i)})}function d({id:a}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${a}`,alt:"avatar",className:"h-10 w-10 rounded-full",draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-GZWRL77K.mjs";import{a as l}from"./chunk-KSTEOW4L.mjs";import{f as t}from"./chunk-X2LGAIFP.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:t("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[i,o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:t("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:t(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:t("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-UZLUWHDO.mjs";import{k as i}from"./chunk-U4NIZG75.mjs";import*as t from"@radix-ui/react-switch";import{jsx as e}from"react/jsx-runtime";function g({fn:o,trackDimensions:l,thumbDimensions:d,thumbTranslate:r,checked:h=!0,loading:n=!1,disabled:a=!1,disabledTooltip:s}){return s?e(c,{content:s,children:e("div",{className:"radix-state-checked:bg-gray-300 relative inline-flex h-4 w-8 flex-shrink-0 cursor-not-allowed rounded-full border-2 border-transparent bg-gray-200",children:e("div",{className:"h-3 w-3 transform rounded-full bg-white shadow-lg"})})}):e(t.Root,{checked:h,name:"switch",...o&&{onCheckedChange:o},disabled:a,className:i(n?"bg-gray-200":a?"cursor-not-allowed bg-gray-300":"radix-state-checked:bg-blue-500 radix-state-unchecked:bg-gray-200 cursor-pointer focus:outline-none focus-visible:ring focus-visible:ring-blue-500 focus-visible:ring-opacity-75","relative inline-flex h-4 w-8 flex-shrink-0 rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out",l),children:!n&&e(t.Thumb,{className:i(`radix-state-checked:${r}`,"radix-state-unchecked:translate-x-0","pointer-events-none h-3 w-3 translate-x-4 transform rounded-full bg-white shadow-lg ring-0 transition duration-200 ease-in-out",d,r)})})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as u}from"./chunk-VAWSZFKW.mjs";import{a as p}from"./chunk-A75RGEGE.mjs";import{c as t,f as n,k as d}from"./chunk-X2LGAIFP.mjs";import{ChevronDown as N,Menu as v,X as w}from"lucide-react";import i from"next/link";import{useParams as x}from"next/navigation";import{useEffect as k,useState as b}from"react";import L from"swr";import{Fragment as h,jsx as e,jsxs as s}from"react/jsx-runtime";function D(){let{domain:r="dub.co"}=x(),[a,c]=b(!1),[m,y]=b(!1);k(()=>{a?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[a]);let{data:f}=L(r==="dub.co"&&"/api/auth/session",void 0,{dedupingInterval:6e4});return s(h,{children:[e("button",{onClick:()=>c(!a),className:n("fixed right-3 top-3 z-40 rounded-full p-2 transition-colors duration-200 hover:bg-gray-200 focus:outline-none active:bg-gray-300 lg:hidden",a&&"hover:bg-gray-100 active:bg-gray-200"),children:a?e(w,{className:"h-5 w-5 text-gray-600"}):e(v,{className:"h-5 w-5 text-gray-600"})}),e("nav",{className:n("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden",a&&"block"),children:s("ul",{className:"grid divide-y divide-gray-200",children:[s("li",{className:"py-3",children:[s("button",{className:"flex w-full justify-between",onClick:()=>y(!m),children:[e("p",{className:"font-semibold",children:"Features"}),e(N,{className:n("h-5 w-5 text-gray-500 transition-all",m&&"rotate-180")})]}),m&&e("div",{className:"grid gap-4 overflow-hidden py-4",children:p.map(({slug:l,icon:o,shortTitle:g})=>s(i,{href:r==="dub.co"?`/${l}`:`https://dub.co/${l}`,onClick:()=>c(!1),className:"flex w-full space-x-2",children:[e(o,{className:"h-5 w-5 text-gray-500"}),e("span",{className:"text-sm",children:g})]},l))})]}),u.map(({name:l,slug:o})=>e("li",{className:"py-3",children:e(i,{href:r==="dub.co"?`/${o}`:`https://dub.co/${o}`,onClick:()=>c(!1),className:"flex w-full font-semibold capitalize",children:l})},o)),f&&Object.keys(f).length>0?e("li",{className:"py-3",children:e(i,{href:t,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):s(h,{children:[e("li",{className:"py-3",children:e(i,{href:`${t}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),e("li",{className:"py-3",children:e(i,{href:`${t}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as n}from"./chunk-HC54Z2QS.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as L}from"./chunk-QIOX7LWM.mjs";import{a as k}from"./chunk-SOH72QBG.mjs";import{b as S}from"./chunk-JNVNO46I.mjs";import{h as d}from"./chunk-GI3GN7Q7.mjs";import{Command as s,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as j,Search as x,X as z}from"lucide-react";import{memo as w,useEffect as D,useRef as H,useState as E}from"react";import{Drawer as c}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function W({items:p,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:f,inputAttrs:y,noItemsElement:m}){let i=H(null),[n,o]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");D(()=>{let a=l=>{i.current&&!i.current.contains(l.target)&&o(!1)};if(n)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[i,n]),D(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=w(()=>{let a=T(l=>l.filtered.count===0);return e(s.Input,{placeholder:(y==null?void 0:y.placeholder)||"Search...",autoFocus:n,onFocus:()=>o(!0),value:u,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled: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=w(()=>e("button",{onClick:()=>{N(null),g(""),o(a=>!a)},className:"absolute inset-y-0 right-0 my-auto",children:u.length>0?e(z,{className:"h-7 w-7 pr-3 text-gray-400 transition-colors hover:text-gray-700"}):e(j,{className:d("h-7 w-7 transform pr-3 text-gray-400 transition-all hover:text-gray-700",{"rotate-180":n})})})),C=w(()=>p.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),g(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:d("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return P&&R?t(c.Root,{open:n,onOpenChange:o,children:[e(c.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:i,className:"relative",loop:!0,children:t("div",{className:d("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:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):f||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]})})}),e(c.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(c.Portal,{children:[e(c.Content,{className:"fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-lg border-t border-gray-200 bg-white",children:t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:d("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:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):f||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]}),n&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[p.length===0&&u===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),u!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(c.Overlay,{})]})]}):t(s,{ref:i,className:"relative",loop:!0,children:[t("div",{className:d("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:[e("div",{onClick:()=>o(a=>!a),className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):f||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]}),n&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[p.length===0&&u===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),u!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{W as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{h as l}from"./chunk-ETV4FBVT.mjs";import{jsx as t,jsxs as e}from"react/jsx-runtime";function o({className:a}){return e("div",{className:"group relative flex items-center",children:[t("svg",{className:l("absolute h-4 w-4 transition-all group-hover:translate-x-1 group-hover:opacity-0",a),xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M6.22 3.22a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06L9.94 8 6.22 4.28a.75.75 0 010-1.06z"})}),t("svg",{className:`${a||"h-4 w-4"} absolute opacity-0 transition-all group-hover:translate-x-1 group-hover:opacity-100`,xmlns:"http://www.w3.org/2000/svg",fill:"currentColor",viewBox:"0 0 16 16",width:"16",height:"16",children:t("path",{fillRule:"evenodd",d:"M8.22 2.97a.75.75 0 011.06 0l4.25 4.25a.75.75 0 010 1.06l-4.25 4.25a.75.75 0 01-1.06-1.06l2.97-2.97H3.75a.75.75 0 010-1.5h7.44L8.22 4.03a.75.75 0 010-1.06z"})})]})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{motion as t}from"framer-motion";import{jsx as n}from"react/jsx-runtime";function l({value:i=0,max:r=100,className:o}){return n("div",{className:(void 0)("h-3 w-full overflow-hidden rounded-full bg-gray-200",o),children:n(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{l as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as s}from"./chunk-VWZO5IAV.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{a as r}from"./chunk-EHYVEIOL.mjs";import{a}from"./chunk-BKZ6TNZC.mjs";import{f as e}from"./chunk-X2LGAIFP.mjs";import{useState as u}from"react";import{toast as m}from"sonner";import{jsx as o,jsxs as g}from"react/jsx-runtime";function y({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||a;return g("button",{onClick:p=>{p.stopPropagation(),t(!0),navigator.clipboard.writeText(s).then(()=>{m.success("Copied to clipboard!")}),setTimeout(()=>t(!1),3e3)},className:e("group rounded-full bg-gray-100 p-1.5 transition-all duration-75 hover:scale-105 hover:bg-blue-100 active:scale-95",i),children:[o("span",{className:"sr-only",children:"Copy"}),l?o(r,{className:"text-gray-700 transition-all group-hover:text-blue-800"}):o(c,{className:"text-gray-700 transition-all group-hover:text-blue-800"})]})}export{y as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as s}from"./chunk-O5SZ3SPU.mjs";import{a as l}from"./chunk-ZGTK4CLI.mjs";import{g as t}from"./chunk-R3HE57DL.mjs";import{jsx as o,jsxs as u}from"react/jsx-runtime";function h({text:g,variant:e="primary",className:a,loading:d,icon:i,shortcut:r,disabledTooltip:b,...n}){return b?o(s,{content:b,children:u("div",{className:(void 0)("flex h-10 w-full cursor-not-allowed items-center justify-center space-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":e.endsWith("outline")},a),children:[i,o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":e.endsWith("outline")}),children:r})]})}):u("button",{type:n.onClick?"button":"submit",className:(void 0)("group flex h-10 w-full items-center justify-center space-x-2 rounded-md border px-4 text-sm transition-all",n.disabled||d?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":{"border-black bg-black text-white hover:bg-white hover:text-black":e==="primary","border-gray-200 bg-white text-gray-600 hover:bg-gray-100":e==="secondary","border-transparent text-gray-500 duration-75 hover:bg-gray-100":e==="outline","border-blue-500 bg-blue-500 text-white hover:bg-white hover:text-blue-500":e==="success","border-red-500 bg-red-500 text-white hover:bg-white hover:text-red-500":e==="danger","border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white":e==="danger-outline"},a),disabled:n.disabled||d,...n,children:[d?o(l,{}):i||null,g&&o("p",{className:(void 0)(r&&"flex-1 text-left"),children:g}),r&&o("kbd",{className:(void 0)("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":e==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":e==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":e==="danger-outline"}),children:r})]})}export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as b}from"./chunk-U4NIZG75.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,b);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{f as v}from"./chunk-D523JVAY.mjs";import{jsx as h}from"react/jsx-runtime";function c({className:t}){return h("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",className:v("text-[#0077b5]",t),children:h("path",{fill:"currentColor",d:"M19 0h-14c-2.761 0-5 2.239-5 5v14c0 2.761 2.239 5 5 5h14c2.762 0 5-2.239 5-5v-14c0-2.761-2.238-5-5-5zm-11 19h-3v-11h3v11zm-1.5-12.268c-.966 0-1.75-.79-1.75-1.764s.784-1.764 1.75-1.764 1.75.79 1.75 1.764-.783 1.764-1.75 1.764zm13.5 12.268h-3v-5.604c0-3.368-4-3.113-4 0v5.604h-3v-11h3v1.765c1.396-2.586 7-2.777 7 2.476v6.759z"})})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{f as i}from"./chunk-X2LGAIFP.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 focus-visible:outline-none disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{e as L}from"./chunk-QIOX7LWM.mjs";import{a as S}from"./chunk-SOH72QBG.mjs";import{b as k}from"./chunk-JNVNO46I.mjs";import{h as g}from"./chunk-GI3GN7Q7.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:g("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:g("group relative rounded-md border border-gray-300 bg-white px-1 focus-within:border-gray-500 focus-within:ring-1 focus-within:ring-gray-500 md:min-w-[140px]",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:g("group relative mb-2 rounded-t-md border-b border-gray-300 bg-white p-1 sm:border sm:py-0 sm:focus-within:border-gray-500 sm:focus-within:ring-1 sm:focus-within:ring-gray-200",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:g("group rounded-md border border-gray-200 bg-white px-1 transition-all focus-within:border-gray-500 focus-within:ring-4 focus-within:ring-gray-200",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{h as n}from"./chunk-ETV4FBVT.mjs";import g from"next/image";import{useEffect as i,useState as r}from"react";import{jsx as u}from"react/jsx-runtime";function v(t){let[o,c]=r(!0),[l,e]=r(t.src);i(()=>e(t.src),[t.src]);let m=s=>{c(!1);let a=s.target;a.naturalWidth<=16&&a.naturalHeight<=16&&e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)};return u(g,{...t,src:l,alt:t.alt,className:n(o?"blur-[2px]":"blur-0",t.className),onLoad:m,onError:()=>{e(`https://avatar.vercel.sh/${encodeURIComponent(t.alt)}`)},unoptimized:!0})}export{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{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{f as e}from"./chunk-HC54Z2QS.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{e as s}from"./chunk-V4BGW5Z6.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{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-JIMYSOAG.mjs";import{g as x}from"./chunk-7DQBBJ7D.mjs";import{a as v}from"./chunk-V5GJJNGR.mjs";import{d as l,f as g,h as c,i as p}from"./chunk-HIG4TRAT.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: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&&p.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{g as t}from"./chunk-R3HE57DL.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{g as i}from"./chunk-R3HE57DL.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function t({className:l}){return o("svg",{width:"191",height:"191",viewBox:"0 0 191 191",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:(void 0)("h-10 w-10 text-black",l),children:[e("g",{clipPath:"url(#clip0_1301_107)",children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M122 -14H144 9.17859 129.788 5.96937 122 3.72462V-14ZM122 3.72462C113.586 1.29941 104.695 0 95.5 0C42.7568 0 0 42.7568 0 95.5C0 148.243 42.7568 191 95.5 191C148.243 191 191 148.243 191 95.5C191 60.462 172.131 29.8311 144 13.2146V100V148H122V140.897C114.258 146.018 104.977 149 95 149C67.938 149 46 127.062 46 100C46 72.938 67.938 51 95 51C104.977 51 114.258 53.982 122 59.1034V3.72462Z",fill:"currentColor",shapeRendering:"geometricPrecision"})}),e("defs",{children:e("clipPath",{id:"clip0_1301_107",children:e("rect",{width:"191",height:"191",rx:"95.5",fill:"white"})})})]})}export{t as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-PWT6NTKH.mjs";import{h as i}from"./chunk-DNVZBOPD.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{k as e}from"./chunk-GW77NV2E.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{a}from"./chunk-EHYVEIOL.mjs";import{a as e}from"./chunk-BKZ6TNZC.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 v({value:s,className:i,icon:n}){let[l,t]=u(!1),c=n||e;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(a,{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{v as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as m}from"./chunk-QXSUBYTQ.mjs";import{f as i}from"./chunk-P44C55TN.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{e as L}from"./chunk-QIOX7LWM.mjs";import{a as k}from"./chunk-SOH72QBG.mjs";import{b as S}from"./chunk-JNVNO46I.mjs";import{h as c}from"./chunk-GI3GN7Q7.mjs";import{Command as s,useCommandState as T}from"cmdk";import{Check as O,ChevronDown as j,Search as x,X as z}from"lucide-react";import{memo as w,useEffect as D,useRef as H,useState as E}from"react";import{Drawer as d}from"vaul";import{jsx as e,jsxs as t}from"react/jsx-runtime";function W({items:p,selectedItem:r,setSelectedItem:N,className:b,disabled:M,adjustForMobile:R,icon:y,inputAttrs:f,noItemsElement:m}){let n=H(null),[i,o]=E(!1),[u,g]=E((r==null?void 0:r.value)||"");D(()=>{let a=l=>{n.current&&!n.current.contains(l.target)&&o(!1)};if(i)return document.addEventListener("click",a),()=>document.removeEventListener("click",a)},[n,i]),D(()=>{r!=null&&r.value||g("")},[r==null?void 0:r.value]);let{isMobile:P}=L(),h=w(()=>{let a=T(l=>l.filtered.count===0);return e(s.Input,{placeholder:(f==null?void 0:f.placeholder)||"Search...",autoFocus:i,onFocus:()=>o(!0),value:u,onValueChange:g,onKeyDown:l=>{l.key==="Escape"?(l.preventDefault(),o(!1)):l.key==="Enter"&&a?o(!1):l.key.match(/^[a-z0-9]$/i)&&!l.metaKey&&o(!0)},disabled: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=w(()=>e("button",{onClick:()=>{o(!0),N(null),g("")},className:"absolute inset-y-0 right-0 my-auto",children:u.length>0?e(z,{className:"h-7 w-7 pr-3 text-gray-400 transition-colors hover:text-gray-700"}):e(j,{className:"h-7 w-7 pr-3 text-gray-400 transition-colors hover:text-gray-700"})})),C=w(()=>p.map(a=>t(s.Item,{value:a.value,disabled:a.disabled,onSelect:()=>{N(a),g(a.value),o(!1)},className:"group flex cursor-pointer items-center justify-between rounded-md px-4 py-2 text-sm text-gray-900 hover:bg-gray-100 hover:text-gray-900 active:bg-gray-200 aria-disabled:cursor-not-allowed aria-disabled:opacity-75 aria-disabled:hover:bg-white aria-selected:bg-gray-100 aria-selected:text-gray-900",children:[t("div",{className:"flex items-center space-x-2",children:[a.image&&e(k,{src:a.image,alt:a.value,className:"h-4 w-4 rounded-full",width:16,height:16}),e("p",{className:c("whitespace-nowrap py-0.5 text-sm",a.color&&"rounded-md px-2",a.color==="red"&&"bg-red-100 text-red-600",a.color==="yellow"&&"bg-yellow-100 text-yellow-600",a.color==="green"&&"bg-green-100 text-green-600",a.color==="blue"&&"bg-blue-100 text-blue-600",a.color==="purple"&&"bg-purple-100 text-purple-600",a.color==="brown"&&"bg-brown-100 text-brown-600"),children:a.value}),a.label&&e(S,{className:"text-xs",variant:"neutral",children:a.label})]}),e(O,{className:"invisible h-5 w-5 text-gray-500 aria-selected:visible"})]},a.id)));return P&&R?t(d.Root,{open:i,onOpenChange:o,children:[e(d.Trigger,{className:"sm:hidden",asChild:!0,children:e(s,{ref:n,className:"relative",loop:!0,children:t("div",{className:c("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:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]})})}),e(d.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),t(d.Portal,{children:[e(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(s,{ref:n,className:"relative",loop:!0,children:[t("div",{className:c("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:[e("div",{className:"absolute inset-y-0 left-0 flex items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]}),i&&t(s.List,{className:"dub-scrollbar h-[70vh] overflow-y-auto p-2",children:[p.length===0&&u===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),u!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}),e(d.Overlay,{})]})]}):t(s,{ref:n,className:"relative",loop:!0,children:[t("div",{onClick:()=>o(a=>!a),className:c("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:[e("div",{className:"absolute inset-y-0 left-0 flex cursor-pointer items-center justify-center pl-3 text-gray-400",children:r&&r.image?e("img",{src:r.image,alt:r.value,className:"h-4 w-4 rounded-full"}):y||e(x,{className:"h-4 w-4 text-gray-400"})}),t("div",{className:"flex h-10 px-8",children:[e(h,{}),e(v,{})]})]}),i&&t(s.List,{className:"dub-scrollbar absolute z-20 mt-2 h-[calc(var(--cmdk-list-height)+17px)] max-h-[300px] w-full min-w-[160px] overflow-auto rounded-md border border-gray-200 bg-white p-2 shadow-md transition-all duration-75",children:[p.length===0&&u===""&&(m?e("div",{children:m}):e("p",{className:"px-4 py-2 text-sm text-gray-600",children:"No items found."})),u!==""&&e(s.Empty,{className:"px-4 py-2 text-sm text-gray-600",children:"No results found."}),e(C,{})]})]})}export{W as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-4PBVMH6Q.mjs";import{motion as n}from"framer-motion";import{jsx as e,jsxs as o}from"react/jsx-runtime";function m({options:i,selected:r,selectAction:a}){return e("div",{className:"relative inline-flex items-center space-x-1",children:i.map(t=>o("button",{className:l("relative z-10 px-3 py-1 text-sm font-medium capitalize",{"transition-all hover:text-gray-500":t!==r}),onClick:()=>a(t),children:[e("p",{children:t}),t===r&&e(n.div,{layoutId:i.join("-"),className:"absolute left-0 top-0 h-full w-full rounded-lg border border-gray-200 bg-gray-50",style:{zIndex:-1},transition:{duration:.25}})]},t))})}export{m as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-JIMYSOAG.mjs";import{a as v}from"./chunk-V5GJJNGR.mjs";import{d as l,f as g,h as c,i as p}from"./chunk-HIG4TRAT.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 O(){let{domain:t="dub.co"}=M(),h=(void 0)(80),m=P(),d=m==="help",{data:u,isLoading:N}=L(t==="dub.co"&&"/api/auth/session",g,{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&&p.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,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{d as f}from"./chunk-7DQBBJ7D.mjs";import{h as i}from"./chunk-HIG4TRAT.mjs";import*as o from"@radix-ui/react-dialog";import{useRouter as D}from"next/navigation";import{Drawer as a}from"vaul";import{jsx as t,jsxs as n}from"react/jsx-runtime";function x({children:l,className:d,showModal:s,setShowModal:r,onClose:c,desktopOnly:g,preventDefaultClose:u}){let p=D(),m=({dragged:e}={})=>{u&&!e||(c&&c(),r?r(!1):p.back())},{isMobile:b}=f();return b&&!g?n(a.Root,{open:r?s:!0,onOpenChange:e=>{e||m({dragged:!0})},children:[t(a.Overlay,{className:"fixed inset-0 z-40 bg-gray-100 bg-opacity-10 backdrop-blur"}),n(a.Portal,{children:[n(a.Content,{className:i("fixed bottom-0 left-0 right-0 z-50 mt-24 rounded-t-[10px] border-t border-gray-200 bg-white",d),children:[t("div",{className:"sticky top-0 z-20 flex w-full items-center justify-center rounded-t-[10px] bg-inherit",children:t("div",{className:"my-3 h-1 w-12 rounded-full bg-gray-300"})}),l]}),t(a.Overlay,{})]})]}):t(o.Root,{open:r?s:!0,onOpenChange:e=>{e||m()},children:n(o.Portal,{children:[t(o.Overlay,{id:"modal-backdrop",className:"animate-fade-in fixed inset-0 z-40 bg-gray-100 bg-opacity-50 backdrop-blur-md"}),t(o.Content,{onOpenAutoFocus:e=>e.preventDefault(),onCloseAutoFocus:e=>e.preventDefault(),className:i("animate-scale-in fixed inset-0 z-40 m-auto max-h-fit w-full max-w-md overflow-hidden border border-gray-200 bg-white p-0 shadow-xl sm:rounded-2xl",d),children:l})]})})}export{x as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-A75RGEGE.mjs";import{a as f}from"./chunk-V2BBG7EV.mjs";import{h as x}from"./chunk-SJKNO2Z7.mjs";import{a as v}from"./chunk-UCHMVSNM.mjs";import{d as l,f as g,h as c,i as p}from"./chunk-ZXLDWOIS.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: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&&p.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
|
+
function re(e){var r,t,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var a=e.length;for(r=0;r<a;r++)e[r]&&(t=re(e[r]))&&(o&&(o+=" "),o+=t)}else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}function te(){for(var e,r,t=0,o="",a=arguments.length;t<a;t++)(e=arguments[t])&&(r=re(e))&&(o&&(o+=" "),o+=r);return o}var V="-";function ue(e){let r=fe(e),{conflictingClassGroups:t,conflictingClassGroupModifiers:o}=e;function a(s){let c=s.split(V);return c[0]===""&&c.length!==1&&c.shift(),se(c,r)||pe(s)}function n(s,c){let p=t[s]||[];return c&&o[s]?[...p,...o[s]]:p}return{getClassGroupId:a,getConflictingClassGroupIds:n}}function se(e,r){var s;if(e.length===0)return r.classGroupId;let t=e[0],o=r.nextPart.get(t),a=o?se(e.slice(1),o):void 0;if(a)return a;if(r.validators.length===0)return;let n=e.join(V);return(s=r.validators.find(({validator:c})=>c(n)))==null?void 0:s.classGroupId}var oe=/^\[(.+)\]$/;function pe(e){if(oe.test(e)){let r=oe.exec(e)[1],t=r==null?void 0:r.substring(0,r.indexOf(":"));if(t)return"arbitrary.."+t}}function fe(e){let{theme:r,prefix:t}=e,o={nextPart:new Map,validators:[]};return be(Object.entries(e.classGroups),t).forEach(([n,s])=>{j(s,o,n,r)}),o}function j(e,r,t,o){e.forEach(a=>{if(typeof a=="string"){let n=a===""?r:ne(r,a);n.classGroupId=t;return}if(typeof a=="function"){if(me(a)){j(a(o),r,t,o);return}r.validators.push({validator:a,classGroupId:t});return}Object.entries(a).forEach(([n,s])=>{j(s,ne(r,n),t,o)})})}function ne(e,r){let t=e;return r.split(V).forEach(o=>{t.nextPart.has(o)||t.nextPart.set(o,{nextPart:new Map,validators:[]}),t=t.nextPart.get(o)}),t}function me(e){return e.isThemeGetter}function be(e,r){return r?e.map(([t,o])=>{let a=o.map(n=>typeof n=="string"?r+n:typeof n=="object"?Object.fromEntries(Object.entries(n).map(([s,c])=>[r+s,c])):n);return[t,a]}):e}function ge(e){if(e<1)return{get:()=>{},set:()=>{}};let r=0,t=new Map,o=new Map;function a(n,s){t.set(n,s),r++,r>e&&(r=0,o=t,t=new Map)}return{get(n){let s=t.get(n);if(s!==void 0)return s;if((s=o.get(n))!==void 0)return a(n,s),s},set(n,s){t.has(n)?t.set(n,s):a(n,s)}}}var ae="!";function he(e){let r=e.separator,t=r.length===1,o=r[0],a=r.length;return function(s){let c=[],p=0,m=0,f;for(let b=0;b<s.length;b++){let h=s[b];if(p===0){if(h===o&&(t||s.slice(b,b+a)===r)){c.push(s.slice(m,b)),m=b+a;continue}if(h==="/"){f=b;continue}}h==="["?p++:h==="]"&&p--}let g=c.length===0?s:s.substring(m),y=g.startsWith(ae),v=y?g.substring(1):g,E=f&&f>m?f-m:void 0;return{modifiers:c,hasImportantModifier:y,baseClassName:v,maybePostfixModifierPosition:E}}}function ye(e){if(e.length<=1)return e;let r=[],t=[];return e.forEach(o=>{o[0]==="["?(r.push(...t.sort(),o),t=[]):t.push(o)}),r.push(...t.sort()),r}function xe(e){return{cache:ge(e.cacheSize),splitModifiers:he(e),...ue(e)}}var we=/\s+/;function ve(e,r){let{splitModifiers:t,getClassGroupId:o,getConflictingClassGroupIds:a}=r,n=new Set;return e.trim().split(we).map(s=>{let{modifiers:c,hasImportantModifier:p,baseClassName:m,maybePostfixModifierPosition:f}=t(s),g=o(f?m.substring(0,f):m),y=Boolean(f);if(!g){if(!f)return{isTailwindClass:!1,originalClassName:s};if(g=o(m),!g)return{isTailwindClass:!1,originalClassName:s};y=!1}let v=ye(c).join(":"),E=p?v+ae:v;return{isTailwindClass:!0,modifierId:E,classGroupId:g,originalClassName:s,hasPostfixModifier:y}}).reverse().filter(s=>{if(!s.isTailwindClass)return!0;let{modifierId:c,classGroupId:p,hasPostfixModifier:m}=s,f=c+p;return n.has(f)?!1:(n.add(f),a(p,m).forEach(g=>n.add(c+g)),!0)}).reverse().map(s=>s.originalClassName).join(" ")}function Ae(){let e=0,r,t,o="";for(;e<arguments.length;)(r=arguments[e++])&&(t=ie(r))&&(o&&(o+=" "),o+=t);return o}function ie(e){if(typeof e=="string")return e;let r,t="";for(let o=0;o<e.length;o++)e[o]&&(r=ie(e[o]))&&(t&&(t+=" "),t+=r);return t}function Se(e,...r){let t,o,a,n=s;function s(p){let m=r.reduce((f,g)=>g(f),e());return t=xe(m),o=t.cache.get,a=t.cache.set,n=c,c(p)}function c(p){let m=o(p);if(m)return m;let f=ve(p,t);return a(p,f),f}return function(){return n(Ae.apply(null,arguments))}}function d(e){let r=t=>t[e]||[];return r.isThemeGetter=!0,r}var le=/^\[(?:([a-z-]+):)?(.+)\]$/i,_e=/^\d+\/\d+$/,Ee=new Set(["px","full","screen"]),Ie=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,Me=/\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$/,Ce=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,Pe=/^-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Re=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/;function w(e){return I(e)||Ee.has(e)||_e.test(e)}function S(e){return C(e,"length",Ge)}function I(e){return Boolean(e)&&!Number.isNaN(Number(e))}function D(e){return C(e,"number",I)}function T(e){return Boolean(e)&&Number.isInteger(Number(e))}function Te(e){return e.endsWith("%")&&I(e.slice(0,-1))}function i(e){return le.test(e)}function _(e){return Ie.test(e)}var ke=new Set(["length","size","percentage"]);function Le(e){return C(e,ke,ce)}function Ne(e){return C(e,"position",ce)}var Oe=new Set(["image","url"]);function ze(e){return C(e,Oe,We)}function De(e){return C(e,"",Ue)}function k(){return!0}function C(e,r,t){let o=le.exec(e);return o?o[1]?typeof r=="string"?o[1]===r:r.has(o[1]):t(o[2]):!1}function Ge(e){return Me.test(e)&&!Ce.test(e)}function ce(){return!1}function Ue(e){return Pe.test(e)}function We(e){return Re.test(e)}function Be(){let e=d("colors"),r=d("spacing"),t=d("blur"),o=d("brightness"),a=d("borderColor"),n=d("borderRadius"),s=d("borderSpacing"),c=d("borderWidth"),p=d("contrast"),m=d("grayscale"),f=d("hueRotate"),g=d("invert"),y=d("gap"),v=d("gradientColorStops"),E=d("gradientColorStopPositions"),b=d("inset"),h=d("margin"),A=d("opacity"),x=d("padding"),K=d("saturate"),G=d("scale"),$=d("sepia"),q=d("skew"),J=d("space"),Y=d("translate"),U=()=>["auto","contain","none"],W=()=>["auto","hidden","clip","visible","scroll"],B=()=>["auto",i,r],u=()=>[i,r],X=()=>["",w,S],N=()=>["auto",I,i],Z=()=>["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top"],O=()=>["solid","dashed","dotted","double","none"],Q=()=>["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter"],F=()=>["start","end","center","between","around","evenly","stretch"],P=()=>["","0",i],ee=()=>["auto","avoid","all","avoid-page","page","left","right","column"],R=()=>[I,D],z=()=>[I,i];return{cacheSize:500,separator:":",theme:{colors:[k],spacing:[w,S],blur:["none","",_,i],brightness:R(),borderColor:[e],borderRadius:["none","","full",_,i],borderSpacing:u(),borderWidth:X(),contrast:R(),grayscale:P(),hueRotate:z(),invert:P(),gap:u(),gradientColorStops:[e],gradientColorStopPositions:[Te,S],inset:B(),margin:B(),opacity:R(),padding:u(),saturate:R(),scale:R(),sepia:P(),skew:z(),space:u(),translate:u()},classGroups:{aspect:[{aspect:["auto","square","video",i]}],container:["container"],columns:[{columns:[_]}],"break-after":[{"break-after":ee()}],"break-before":[{"break-before":ee()}],"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:[...Z(),i]}],overflow:[{overflow:W()}],"overflow-x":[{"overflow-x":W()}],"overflow-y":[{"overflow-y":W()}],overscroll:[{overscroll:U()}],"overscroll-x":[{"overscroll-x":U()}],"overscroll-y":[{"overscroll-y":U()}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[b]}],"inset-x":[{"inset-x":[b]}],"inset-y":[{"inset-y":[b]}],start:[{start:[b]}],end:[{end:[b]}],top:[{top:[b]}],right:[{right:[b]}],bottom:[{bottom:[b]}],left:[{left:[b]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",T,i]}],basis:[{basis:B()}],"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:P()}],shrink:[{shrink:P()}],order:[{order:["first","last","none",T,i]}],"grid-cols":[{"grid-cols":[k]}],"col-start-end":[{col:["auto",{span:["full",T,i]},i]}],"col-start":[{"col-start":N()}],"col-end":[{"col-end":N()}],"grid-rows":[{"grid-rows":[k]}],"row-start-end":[{row:["auto",{span:[T,i]},i]}],"row-start":[{"row-start":N()}],"row-end":[{"row-end":N()}],"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:[y]}],"gap-x":[{"gap-x":[y]}],"gap-y":[{"gap-y":[y]}],"justify-content":[{justify:["normal",...F()]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal",...F(),"baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":[...F(),"baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[x]}],px:[{px:[x]}],py:[{py:[x]}],ps:[{ps:[x]}],pe:[{pe:[x]}],pt:[{pt:[x]}],pr:[{pr:[x]}],pb:[{pb:[x]}],pl:[{pl:[x]}],m:[{m:[h]}],mx:[{mx:[h]}],my:[{my:[h]}],ms:[{ms:[h]}],me:[{me:[h]}],mt:[{mt:[h]}],mr:[{mr:[h]}],mb:[{mb:[h]}],ml:[{ml:[h]}],"space-x":[{"space-x":[J]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[J]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",i,r]}],"min-w":[{"min-w":[i,r,"min","max","fit"]}],"max-w":[{"max-w":[i,r,"none","full","min","max","fit","prose",{screen:[_]},_]}],h:[{h:[i,r,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[i,r,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[i,r,"auto","min","max","fit"]}],"font-size":[{text:["base",_,S]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",D]}],"font-family":[{font:[k]}],"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",I,D]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",w,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":[A]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[A]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:[...O(),"wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",w,S]}],"underline-offset":[{"underline-offset":["auto",w,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:u()}],"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":[A]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:[...Z(),Ne]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Le]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},ze]}],"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:[n]}],"rounded-s":[{"rounded-s":[n]}],"rounded-e":[{"rounded-e":[n]}],"rounded-t":[{"rounded-t":[n]}],"rounded-r":[{"rounded-r":[n]}],"rounded-b":[{"rounded-b":[n]}],"rounded-l":[{"rounded-l":[n]}],"rounded-ss":[{"rounded-ss":[n]}],"rounded-se":[{"rounded-se":[n]}],"rounded-ee":[{"rounded-ee":[n]}],"rounded-es":[{"rounded-es":[n]}],"rounded-tl":[{"rounded-tl":[n]}],"rounded-tr":[{"rounded-tr":[n]}],"rounded-br":[{"rounded-br":[n]}],"rounded-bl":[{"rounded-bl":[n]}],"border-w":[{border:[c]}],"border-w-x":[{"border-x":[c]}],"border-w-y":[{"border-y":[c]}],"border-w-s":[{"border-s":[c]}],"border-w-e":[{"border-e":[c]}],"border-w-t":[{"border-t":[c]}],"border-w-r":[{"border-r":[c]}],"border-w-b":[{"border-b":[c]}],"border-w-l":[{"border-l":[c]}],"border-opacity":[{"border-opacity":[A]}],"border-style":[{border:[...O(),"hidden"]}],"divide-x":[{"divide-x":[c]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[c]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[A]}],"divide-style":[{divide:O()}],"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:["",...O()]}],"outline-offset":[{"outline-offset":[w,i]}],"outline-w":[{outline:[w,S]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:X()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[A]}],"ring-offset-w":[{"ring-offset":[w,S]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",_,De]}],"shadow-color":[{shadow:[k]}],opacity:[{opacity:[A]}],"mix-blend":[{"mix-blend":Q()}],"bg-blend":[{"bg-blend":Q()}],filter:[{filter:["","none"]}],blur:[{blur:[t]}],brightness:[{brightness:[o]}],contrast:[{contrast:[p]}],"drop-shadow":[{"drop-shadow":["","none",_,i]}],grayscale:[{grayscale:[m]}],"hue-rotate":[{"hue-rotate":[f]}],invert:[{invert:[g]}],saturate:[{saturate:[K]}],sepia:[{sepia:[$]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[t]}],"backdrop-brightness":[{"backdrop-brightness":[o]}],"backdrop-contrast":[{"backdrop-contrast":[p]}],"backdrop-grayscale":[{"backdrop-grayscale":[m]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[f]}],"backdrop-invert":[{"backdrop-invert":[g]}],"backdrop-opacity":[{"backdrop-opacity":[A]}],"backdrop-saturate":[{"backdrop-saturate":[K]}],"backdrop-sepia":[{"backdrop-sepia":[$]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[s]}],"border-spacing-x":[{"border-spacing-x":[s]}],"border-spacing-y":[{"border-spacing-y":[s]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",i]}],duration:[{duration:z()}],ease:[{ease:["linear","in","out","in-out",i]}],delay:[{delay:z()}],animate:[{animate:["none","spin","ping","pulse","bounce",i]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[G]}],"scale-x":[{"scale-x":[G]}],"scale-y":[{"scale-y":[G]}],rotate:[{rotate:[T,i]}],"translate-x":[{"translate-x":[Y]}],"translate-y":[{"translate-y":[Y]}],"skew-x":[{"skew-x":[q]}],"skew-y":[{"skew-y":[q]}],"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":u()}],"scroll-mx":[{"scroll-mx":u()}],"scroll-my":[{"scroll-my":u()}],"scroll-ms":[{"scroll-ms":u()}],"scroll-me":[{"scroll-me":u()}],"scroll-mt":[{"scroll-mt":u()}],"scroll-mr":[{"scroll-mr":u()}],"scroll-mb":[{"scroll-mb":u()}],"scroll-ml":[{"scroll-ml":u()}],"scroll-p":[{"scroll-p":u()}],"scroll-px":[{"scroll-px":u()}],"scroll-py":[{"scroll-py":u()}],"scroll-ps":[{"scroll-ps":u()}],"scroll-pe":[{"scroll-pe":u()}],"scroll-pt":[{"scroll-pt":u()}],"scroll-pr":[{"scroll-pr":u()}],"scroll-pb":[{"scroll-pb":u()}],"scroll-pl":[{"scroll-pl":u()}],"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:[w,S,D]}],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 de=Se(Be);function Fe(...e){return de(te(e))}export{Fe as a,l as b,je as c,Ve as d,M as e,He as f,L as g,H as h};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-A75RGEGE.mjs";import{a as N}from"./chunk-IZPFYCU4.mjs";import{a as x}from"./chunk-NHK6LUOF.mjs";import{a as f}from"./chunk-RNV3RCPU.mjs";import{a as y}from"./chunk-SSEOJ2O2.mjs";import{a as h}from"./chunk-T4YFARK5.mjs";import{a as b}from"./chunk-UJOCJBOX.mjs";import{f as l,h as u,i as g,k as p}from"./chunk-X2LGAIFP.mjs";import m from"@vercel/analytics";import C from"next/image";import s from"next/link";import{useParams as T}from"next/navigation";import{useEffect as P,useState as k}from"react";import R from"swr";import{jsx as e,jsxs as t}from"react/jsx-runtime";var n={features:v.map(({shortTitle:a,slug:o})=>({name:a,href:`/${o}`})),product:[{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Enterprise",href:"/enterprise"},{name:"Help Center",href:"/help"}],compare:g.map(({name:a,slug:o})=>({name:a,href:`/compare/${o}`})),legal:[{name:"Privacy",href:"/privacy"},{name:"Terms",href:"/terms"},{name:"Abuse",href:"/abuse"}],tools:u.map(({name:a,slug:o})=>({name:a,href:`/tools/${o}`}))};function D(){let{domain:a="dub.co"}=T(),o=r=>a==="dub.co"?r:`https://dub.co${r}`;return e("footer",{children:t(N,{className:"relative z-10 overflow-hidden border border-b-0 border-gray-200 bg-white/50 pb-60 pt-16 backdrop-blur-lg md:rounded-t-2xl",children:[t("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[t("div",{className:"space-y-6",children:[t(s,{href:o("/"),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:"footer item (logo)"})}},children:[t("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),e(f,{className:"h-7 text-gray-800"})]}),e("p",{className:"max-w-xs text-sm text-gray-500",children:"Giving modern marketing teams superpowers with short links that stand out."}),t("p",{className:"text-sm leading-5 text-gray-400",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]}),t("div",{className:"flex items-center space-x-3",children:[t("a",{href:"https://twitter.com/dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Twitter"}),e(y,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://github.com/dubinc/dub",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"Github"}),e(h,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-black"})]}),t("a",{href:"https://www.linkedin.com/company/dubinc",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"LinkedIn"}),e(b,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#0077b5]"})]}),t("a",{href:"https://www.youtube.com/@dubdotco",target:"_blank",rel:"noreferrer",className:"group rounded-full border border-gray-200 p-2 transition-colors hover:bg-gray-100",children:[e("span",{className:"sr-only",children:"YouTube"}),e(x,{className:"h-4 w-4 text-gray-600 transition-colors group-hover:text-[#ff0000]"})]})]}),e($,{})]}),t("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Features"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.features.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Product"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.product.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"md:grid md:grid-cols-2",children:[t("div",{className:"flex flex-col space-y-8",children:[t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Compare"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.compare.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]}),t("div",{children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Legal"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.legal.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]}),t("div",{className:"mt-10 md:mt-0",children:[e("h3",{className:"text-sm font-semibold text-gray-800",children:"Tools"}),e("ul",{role:"list",className:"mt-4 space-y-4",children:n.tools.map(r=>e("li",{children:e(s,{href:o(r.href),...a!=="dub.co"&&{onClick:()=>{m.track("Referred from custom domain",{domain:a,medium:`footer item (${r.name})`})}},className:"text-sm text-gray-500 hover:text-gray-800",children:r.name})},r.name))})]})]})]})]}),e(C,{src:"https://assets.dub.co/footer.png",alt:"Dub Technologies, Inc. Logo",width:1959,height:625,className:"pointer-events-none absolute inset-x-0 bottom-0 z-0"})]})})}function $(){let{data:a}=R("https://status.dub.co/api/v1/summary",void 0),[o,r]=k("bg-gray-200"),[i,c]=k("Loading status...");return P(()=>{if(!a)return;let{ongoing_incidents:d}=a;if(d.length>0){let{current_worst_impact:w,name:L}=d[0],_=w==="degraded_performance"?"bg-yellow-500":"bg-red-500";c(L),r(_)}else c("All systems operational"),r("bg-green-500")},[a]),t(s,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center space-x-2 rounded-md border border-gray-200 bg-white px-3 py-2 transition-colors hover:bg-gray-100",children:[t("div",{className:"relative h-3 w-3",children:[e("div",{className:l("absolute inset-0 m-auto h-3 w-3 animate-ping items-center justify-center rounded-full group-hover:animate-none",o,i==="Loading status..."&&"animate-none")}),e("div",{className:l("absolute inset-0 z-10 m-auto h-3 w-3 rounded-full",o)})]}),e("p",{className:"text-sm font-medium text-gray-800",children:i})]})}export{D as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-OFMABX4R.mjs";import{g as i}from"./chunk-HH5T5KBM.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:(void 0)(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:(void 0)(`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{b as c}from"./chunk-FX7M3AC6.mjs";import{h as i}from"./chunk-ETV4FBVT.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{f as C}from"./chunk-P44C55TN.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function i({className:r}){return t("svg",{"aria-hidden":"true",className:C("h-4 w-4 animate-spin fill-gray-600 text-gray-200",r),viewBox:"0 0 100 101",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("path",{d:"M100 50.5908C100 78.2051 77.6142 100.591 50 100.591C22.3858 100.591 0 78.2051 0 50.5908C0 22.9766 22.3858 0.59082 50 0.59082C77.6142 0.59082 100 22.9766 100 50.5908ZM9.08144 50.5908C9.08144 73.1895 27.4013 91.5094 50 91.5094C72.5987 91.5094 90.9186 73.1895 90.9186 50.5908C90.9186 27.9921 72.5987 9.67226 50 9.67226C27.4013 9.67226 9.08144 27.9921 9.08144 50.5908Z",fill:"currentColor"}),l("path",{d:"M93.9676 39.0409C96.393 38.4038 97.8624 35.9116 97.0079 33.5539C95.2932 28.8227 92.871 24.3692 89.8167 20.348C85.8452 15.1192 80.8826 10.7238 75.2124 7.41289C69.5422 4.10194 63.2754 1.94025 56.7698 1.05124C51.7666 0.367541 46.6976 0.446843 41.7345 1.27873C39.2613 1.69328 37.813 4.19778 38.4501 6.62326C39.0873 9.04874 41.5694 10.4717 44.0505 10.1071C47.8511 9.54855 51.7191 9.52689 55.5402 10.0491C60.8642 10.7766 65.9928 12.5457 70.6331 15.2552C75.2735 17.9648 79.3347 21.5619 82.5849 25.841C84.9175 28.9121 86.7997 32.2913 88.1811 35.8758C89.083 38.2158 91.5421 39.6781 93.9676 39.0409Z",fill:"currentFill"})]})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as l}from"./chunk-BW2N5XHI.mjs";import{g as e,h as s}from"./chunk-HIG4TRAT.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: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{b as c}from"./chunk-YTBJBOFP.mjs";import{h as i}from"./chunk-HIG4TRAT.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{f as o}from"./chunk-P44C55TN.mjs";import*as e from"@radix-ui/react-label";import{cva as m}from"class-variance-authority";import*as t from"react";import{jsx as s}from"react/jsx-runtime";var l=m("text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"),p=t.forwardRef(({className:a,...i},r)=>s(e.Root,{ref:r,className:o(l(),a),...i}));p.displayName=e.Root.displayName;export{p as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as s}from"./chunk-HC54Z2QS.mjs";import{Slot as g}from"@radix-ui/react-slot";import w,{useEffect as y,useState as R}from"react";import{jsx as V}from"react/jsx-runtime";var F=w.forwardRef(({asChild:m,className:u,children:e,duration:t=250,as:c="span",...i},p)=>{let[n,l]=R(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let f=Number(e),o=n,N=f,d=performance.now(),r=()=>{let b=performance.now(),a=Math.min((b-d)/t,1),C=o+(N-o)*a;l(Math.round(C)),a<1&&requestAnimationFrame(r)};requestAnimationFrame(r)},[e,t]),V(m?g:c,{ref:p,className:u,...i,children:s(n)})});F.displayName="CountingNumbers";export{F as a};
|