@dub/ui 0.1.44 → 0.1.45
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/accordion.mjs +1 -1
- package/dist/alert.mjs +1 -1
- package/dist/animated-size-container.d.ts +7 -7
- package/dist/animated-size-container.mjs +1 -1
- package/dist/avatar.mjs +1 -1
- package/dist/badge.d.ts +1 -1
- package/dist/badge.mjs +1 -1
- package/dist/blur-image.mjs +1 -1
- package/dist/button.mjs +1 -1
- package/dist/card-list/card-list-card.mjs +1 -1
- package/dist/card-list/card-list-pagination.mjs +1 -1
- package/dist/card-list/card-list.mjs +1 -1
- package/dist/carousel.mjs +1 -1
- package/dist/checkbox.mjs +1 -1
- package/dist/chunk-23K4PNNY.mjs +6 -0
- package/dist/chunk-2BITQN7L.mjs +2 -0
- package/dist/chunk-2GCCJAOZ.mjs +2 -0
- package/dist/chunk-2UZEHBDA.mjs +2 -0
- package/dist/chunk-35HZNCEN.mjs +2 -0
- package/dist/chunk-3CH6GAUS.mjs +2 -0
- package/dist/chunk-3ETGZOT6.mjs +2 -0
- package/dist/chunk-3G25TGDS.mjs +2 -0
- package/dist/chunk-3N4QCCDO.mjs +2 -0
- package/dist/chunk-3SZW2NNP.mjs +2 -0
- package/dist/chunk-3VMKHYTB.mjs +2 -0
- package/dist/chunk-424FXBME.mjs +2 -0
- package/dist/chunk-43RKCJIO.mjs +2 -0
- package/dist/chunk-4EWRR3YY.mjs +2 -0
- package/dist/chunk-4GZ6XFKN.mjs +2 -0
- package/dist/chunk-4JE24Z6Y.mjs +2 -0
- package/dist/chunk-4MUFXKUU.mjs +2 -0
- package/dist/chunk-4RSVZDIH.mjs +2 -0
- package/dist/chunk-4YGRHWMR.mjs +2 -0
- package/dist/chunk-4ZEMUVM6.mjs +2 -0
- package/dist/chunk-4ZQFFQWV.mjs +2 -0
- package/dist/chunk-5F6AL77V.mjs +6 -0
- package/dist/chunk-5IABWV3L.mjs +2 -0
- package/dist/chunk-5JWMKDKT.mjs +2 -0
- package/dist/chunk-5LVDJMHY.mjs +2 -0
- package/dist/chunk-5NEBWSII.mjs +2 -0
- package/dist/chunk-5O7XJYSA.mjs +2 -0
- package/dist/chunk-5VNFQUD2.mjs +2 -0
- package/dist/chunk-5XK3AUQL.mjs +2 -0
- package/dist/chunk-63DLYNQS.mjs +2 -0
- package/dist/chunk-64I4NAG3.mjs +2 -0
- package/dist/chunk-66ZF5L2A.mjs +2 -0
- package/dist/chunk-6FBRNVQ4.mjs +2 -0
- package/dist/chunk-6GXRBCLX.mjs +2 -0
- package/dist/chunk-6LS727EV.mjs +2 -0
- package/dist/chunk-6M7KP6RO.mjs +2 -0
- package/dist/chunk-6N2O3ZDV.mjs +2 -0
- package/dist/chunk-6RNJBBZC.mjs +2 -0
- package/dist/chunk-726PHA6E.mjs +2 -0
- package/dist/chunk-74256ZUS.mjs +2 -0
- package/dist/chunk-7AATABKD.mjs +2 -0
- package/dist/chunk-7CXPZLUV.mjs +2 -0
- package/dist/chunk-7DTUCSTG.mjs +2 -0
- package/dist/chunk-7FEYJ7H6.mjs +2 -0
- package/dist/chunk-7KZMQOAV.mjs +2 -0
- package/dist/chunk-7NOAN2PI.mjs +2 -0
- package/dist/chunk-7NQCWS7F.mjs +2 -0
- package/dist/chunk-7RGQYVJN.mjs +2 -0
- package/dist/chunk-7RPRDGQU.mjs +2 -0
- package/dist/chunk-7W2Y5IYC.mjs +2 -0
- package/dist/chunk-7WDG5DPJ.mjs +6 -0
- package/dist/chunk-7Y5WRK3I.mjs +2 -0
- package/dist/chunk-AGB2SR3M.mjs +2 -0
- package/dist/chunk-ALMHSPZW.mjs +2 -0
- package/dist/chunk-AO3XZCQ3.mjs +2 -0
- package/dist/chunk-ARMS6H7Z.mjs +2 -0
- package/dist/chunk-AVIVXNKB.mjs +2 -0
- package/dist/chunk-AWD2WSJE.mjs +2 -0
- package/dist/chunk-AZWARWHS.mjs +2 -0
- package/dist/chunk-B3BB6YGQ.mjs +2 -0
- package/dist/chunk-B6VZ5JF7.mjs +2 -0
- package/dist/chunk-BBWSENSQ.mjs +2 -0
- package/dist/chunk-BCCCSZXG.mjs +2 -0
- package/dist/chunk-BOBMEAEC.mjs +2 -0
- package/dist/chunk-BODWBKJG.mjs +2 -0
- package/dist/chunk-BOIEDTT7.mjs +2 -0
- package/dist/chunk-BT73SHZR.mjs +2 -0
- package/dist/chunk-BUVE7BBE.mjs +2 -0
- package/dist/chunk-C5X34M37.mjs +2 -0
- package/dist/chunk-C7XRRKG7.mjs +6 -0
- package/dist/chunk-CC43EGPC.mjs +6 -0
- package/dist/chunk-CLFWN5YQ.mjs +2 -0
- package/dist/chunk-CNWGIPOZ.mjs +2 -0
- package/dist/chunk-D7NAQW2I.mjs +2 -0
- package/dist/chunk-DDXDA2QV.mjs +2 -0
- package/dist/chunk-DETXMYNC.mjs +2 -0
- package/dist/chunk-DFIADYNY.mjs +2 -0
- package/dist/chunk-DJSJT5LZ.mjs +2 -0
- package/dist/chunk-DMGRNXHB.mjs +2 -0
- package/dist/chunk-DOCCEZ6A.mjs +2 -0
- package/dist/chunk-DSJGAMVL.mjs +2 -0
- package/dist/chunk-DTTWNDX2.mjs +2 -0
- package/dist/chunk-EKW2J4TE.mjs +2 -0
- package/dist/chunk-EL3BJ5GH.mjs +2 -0
- package/dist/chunk-ERJ7CRD2.mjs +2 -0
- package/dist/chunk-EYP7PSBL.mjs +2 -0
- package/dist/chunk-F4FC6MAS.mjs +2 -0
- package/dist/chunk-F76Y3UVX.mjs +6 -0
- package/dist/chunk-FBP6BOO4.mjs +2 -0
- package/dist/chunk-FJBK4GZA.mjs +2 -0
- package/dist/chunk-FLLOEAKK.mjs +2 -0
- package/dist/chunk-GANPTQMZ.mjs +2 -0
- package/dist/chunk-GCI7OJQO.mjs +2 -0
- package/dist/chunk-GEHVXRRM.mjs +2 -0
- package/dist/chunk-GKEIBE52.mjs +2 -0
- package/dist/chunk-GKMT7XDA.mjs +2 -0
- package/dist/chunk-GTC4EGAP.mjs +2 -0
- package/dist/chunk-GTUAEI2Q.mjs +2 -0
- package/dist/chunk-GUQEBYBS.mjs +2 -0
- package/dist/chunk-GZPCBE62.mjs +2 -0
- package/dist/chunk-HBRMM5JY.mjs +2 -0
- package/dist/chunk-HCAN6X6H.mjs +2 -0
- package/dist/chunk-HFB4LLMH.mjs +2 -0
- package/dist/chunk-HU4H7DTN.mjs +2 -0
- package/dist/chunk-HUEDPLDC.mjs +2 -0
- package/dist/chunk-HVIQDRLC.mjs +2 -0
- package/dist/chunk-HWYP66KQ.mjs +2 -0
- package/dist/chunk-HX4FXR4K.mjs +2 -0
- package/dist/chunk-I34LUR4A.mjs +2 -0
- package/dist/chunk-I64YT2A7.mjs +6 -0
- package/dist/chunk-IB3MPCPA.mjs +2 -0
- package/dist/chunk-IBIM63QA.mjs +2 -0
- package/dist/chunk-IDEMN4XI.mjs +2 -0
- package/dist/chunk-IEPG3F4D.mjs +2 -0
- package/dist/chunk-IFQRP7MU.mjs +2 -0
- package/dist/chunk-IJHXYV46.mjs +2 -0
- package/dist/chunk-IJR3EUHA.mjs +2 -0
- package/dist/chunk-IPBUK377.mjs +2 -0
- package/dist/chunk-JBBBBXFQ.mjs +2 -0
- package/dist/chunk-JESTPNMP.mjs +2 -0
- package/dist/chunk-JKRSAAJL.mjs +2 -0
- package/dist/chunk-JSJVOAOF.mjs +2 -0
- package/dist/chunk-JVEYD7PC.mjs +2 -0
- package/dist/chunk-JVQUODKC.mjs +2 -0
- package/dist/chunk-JWGE7C5U.mjs +2 -0
- package/dist/chunk-JY5T33U6.mjs +2 -0
- package/dist/chunk-KLRQQXPJ.mjs +2 -0
- package/dist/chunk-KMKSZSYF.mjs +2 -0
- package/dist/chunk-KN6KGXP2.mjs +2 -0
- package/dist/chunk-KNDKLH6E.mjs +2 -0
- package/dist/chunk-KSHARA7P.mjs +2 -0
- package/dist/chunk-KUAIPSKI.mjs +2 -0
- package/dist/chunk-KVJAFAHQ.mjs +2 -0
- package/dist/chunk-KXLPXDM3.mjs +2 -0
- package/dist/chunk-L2XNSEBQ.mjs +6 -0
- package/dist/chunk-L3AEKCJS.mjs +2 -0
- package/dist/chunk-LISMC7DK.mjs +2 -0
- package/dist/chunk-LNTHJINU.mjs +2 -0
- package/dist/chunk-LQHHNVB3.mjs +2 -0
- package/dist/chunk-LR6N7JS6.mjs +2 -0
- package/dist/chunk-LWAEWQZW.mjs +2 -0
- package/dist/chunk-MBPBKZLI.mjs +2 -0
- package/dist/chunk-MCWVMZF2.mjs +2 -0
- package/dist/chunk-MDHK4BY2.mjs +2 -0
- package/dist/chunk-MDSJR3QA.mjs +2 -0
- package/dist/chunk-MIHTECV6.mjs +2 -0
- package/dist/chunk-MIPWWFMY.mjs +2 -0
- package/dist/chunk-MJXXQJOW.mjs +2 -0
- package/dist/chunk-MN5YM2PN.mjs +2 -0
- package/dist/chunk-NER74LCK.mjs +2 -0
- package/dist/chunk-NO67M6MP.mjs +2 -0
- package/dist/chunk-NPCSGRYA.mjs +2 -0
- package/dist/chunk-NPUCHMYX.mjs +2 -0
- package/dist/chunk-NQEII2E6.mjs +2 -0
- package/dist/chunk-NYUM7O5F.mjs +2 -0
- package/dist/chunk-O3KM72SK.mjs +2 -0
- package/dist/chunk-O6ONCS4N.mjs +2 -0
- package/dist/chunk-OB77IUBQ.mjs +2 -0
- package/dist/chunk-P2JLYDIA.mjs +2 -0
- package/dist/chunk-P6CETRFV.mjs +2 -0
- package/dist/chunk-PEFWYPMG.mjs +2 -0
- package/dist/chunk-PFEGGWM6.mjs +2 -0
- package/dist/chunk-PFLLM2JW.mjs +2 -0
- package/dist/chunk-PINKJXLP.mjs +2 -0
- package/dist/chunk-PJCZ2JPB.mjs +2 -0
- package/dist/chunk-PN4KMZHR.mjs +2 -0
- package/dist/chunk-PPJVLO3Q.mjs +2 -0
- package/dist/chunk-PSYUBNNS.mjs +2 -0
- package/dist/chunk-PVMETJ4T.mjs +2 -0
- package/dist/chunk-QKRY6FW5.mjs +2 -0
- package/dist/chunk-QLHPIHWD.mjs +2 -0
- package/dist/chunk-QP7EPYCF.mjs +2 -0
- package/dist/chunk-QQLW7FG3.mjs +2 -0
- package/dist/chunk-QSISMDOU.mjs +2 -0
- package/dist/chunk-QVZANORC.mjs +2 -0
- package/dist/chunk-RBSV64AD.mjs +2 -0
- package/dist/chunk-RH2FYX7G.mjs +2 -0
- package/dist/chunk-RH5NNF6Q.mjs +2 -0
- package/dist/chunk-RJ3GTNZG.mjs +2 -0
- package/dist/chunk-ROFDR4AU.mjs +2 -0
- package/dist/chunk-RXD7MHYO.mjs +2 -0
- package/dist/chunk-SB3SIBVK.mjs +2 -0
- package/dist/chunk-SFPOW3ZF.mjs +2 -0
- package/dist/chunk-SI7O6NNC.mjs +2 -0
- package/dist/chunk-SIHVWAGO.mjs +2 -0
- package/dist/chunk-SKJRR3N6.mjs +2 -0
- package/dist/chunk-SMUGRT5E.mjs +2 -0
- package/dist/chunk-SNJF5DK2.mjs +2 -0
- package/dist/chunk-SS7DMO7X.mjs +2 -0
- package/dist/chunk-STK67UH6.mjs +2 -0
- package/dist/chunk-SXJXVCZY.mjs +2 -0
- package/dist/chunk-SYNS4AMU.mjs +2 -0
- package/dist/chunk-SZN7TTOA.mjs +2 -0
- package/dist/chunk-T2NVDVCS.mjs +2 -0
- package/dist/chunk-T3RA2DC6.mjs +2 -0
- package/dist/chunk-T4J773IB.mjs +2 -0
- package/dist/chunk-T5R6AXXZ.mjs +2 -0
- package/dist/chunk-TBCVOCTV.mjs +2 -0
- package/dist/chunk-TCGLDGKP.mjs +2 -0
- package/dist/chunk-TELN475A.mjs +2 -0
- package/dist/chunk-TJ3SHUFD.mjs +2 -0
- package/dist/chunk-TKRVP67G.mjs +2 -0
- package/dist/chunk-TLNGVBBD.mjs +2 -0
- package/dist/chunk-TNS4IOPO.mjs +2 -0
- package/dist/chunk-U4ZIQW23.mjs +6 -0
- package/dist/chunk-UHAF53MX.mjs +2 -0
- package/dist/chunk-UK7JKY6E.mjs +2 -0
- package/dist/chunk-UPN24RZZ.mjs +2 -0
- package/dist/chunk-UW2TGU2G.mjs +2 -0
- package/dist/chunk-V4QKT3WE.mjs +2 -0
- package/dist/chunk-V6D25QNL.mjs +2 -0
- package/dist/chunk-VBL4MN3N.mjs +2 -0
- package/dist/chunk-VBXI5HP2.mjs +2 -0
- package/dist/chunk-VFFFZOGZ.mjs +2 -0
- package/dist/chunk-VK6JZ3DM.mjs +2 -0
- package/dist/chunk-VNDJBYPJ.mjs +2 -0
- package/dist/chunk-VP4AOKQG.mjs +2 -0
- package/dist/chunk-VTRYTUSF.mjs +2 -0
- package/dist/chunk-WAHTBPFG.mjs +2 -0
- package/dist/chunk-WCY5VNQR.mjs +2 -0
- package/dist/chunk-WDMQKDSJ.mjs +2 -0
- package/dist/chunk-WEIWUZCF.mjs +2 -0
- package/dist/chunk-WGG37NDB.mjs +2 -0
- package/dist/chunk-WQJTPQ4O.mjs +2 -0
- package/dist/chunk-WY7UU4LI.mjs +2 -0
- package/dist/chunk-X2RKCT25.mjs +2 -0
- package/dist/chunk-X32FWF65.mjs +2 -0
- package/dist/chunk-X4XY7GMQ.mjs +2 -0
- package/dist/chunk-XCDK2CO5.mjs +2 -0
- package/dist/chunk-XD6KFKCJ.mjs +2 -0
- package/dist/chunk-XGGDSUQO.mjs +2 -0
- package/dist/chunk-XI4GXO4J.mjs +6 -0
- package/dist/chunk-XKUGG5TB.mjs +2 -0
- package/dist/chunk-XLKQCRKF.mjs +2 -0
- package/dist/chunk-XMO2QMBK.mjs +2 -0
- package/dist/chunk-XRO56RNB.mjs +2 -0
- package/dist/chunk-XUMEHVGM.mjs +2 -0
- package/dist/chunk-Y4TRE7I7.mjs +2 -0
- package/dist/chunk-Y5H2N3VV.mjs +2 -0
- package/dist/chunk-Y6FISWND.mjs +6 -0
- package/dist/chunk-YD47XRGO.mjs +2 -0
- package/dist/chunk-YDRGN6PM.mjs +2 -0
- package/dist/chunk-YKK3S6Y7.mjs +2 -0
- package/dist/chunk-YMCRTHOP.mjs +2 -0
- package/dist/chunk-YQMQ4HIL.mjs +2 -0
- package/dist/chunk-YZG3XMUZ.mjs +2 -0
- package/dist/chunk-Z26IDDFC.mjs +2 -0
- package/dist/chunk-Z4NGRA4Q.mjs +2 -0
- package/dist/chunk-Z7BVFRD6.mjs +2 -0
- package/dist/chunk-ZA56CB4Q.mjs +2 -0
- package/dist/chunk-ZBFHGIZ3.mjs +2 -0
- package/dist/chunk-ZCYIXF5P.mjs +2 -0
- package/dist/chunk-ZIVCZBAC.mjs +2 -0
- package/dist/chunk-ZJUUHGRI.mjs +2 -0
- package/dist/chunk-ZLOLQZRK.mjs +2 -0
- package/dist/chunk-ZRL6WCT5.mjs +2 -0
- package/dist/chunk-ZV2PDBKS.mjs +2 -0
- package/dist/chunk-ZVQYXNZ5.mjs +2 -0
- package/dist/composite-logo.mjs +1 -1
- package/dist/copy-button.mjs +1 -1
- package/dist/counting-numbers.mjs +1 -1
- package/dist/date-picker/calendar.mjs +1 -1
- package/dist/date-picker/date-range-picker.mjs +1 -1
- package/dist/date-picker/presets.mjs +1 -1
- package/dist/date-picker/trigger.mjs +1 -1
- package/dist/file-upload.mjs +1 -1
- package/dist/filter/filter-list.mjs +1 -1
- package/dist/filter/filter-select.mjs +1 -1
- package/dist/footer.mjs +1 -1
- package/dist/form.mjs +1 -1
- package/dist/hooks/use-keyboard-shortcut.mjs +1 -1
- package/dist/icons/default-domains/amazon.mjs +1 -1
- package/dist/icons/default-domains/chatgpt.mjs +1 -1
- package/dist/icons/default-domains/figma.mjs +1 -1
- package/dist/icons/default-domains/github-enhanced.mjs +1 -1
- package/dist/icons/default-domains/google-enhanced.mjs +1 -1
- package/dist/icons/default-domains/spotify.mjs +1 -1
- package/dist/icons/expanding-arrow.mjs +1 -1
- package/dist/icons/index.d.ts +5 -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/nucleo/circles.d.ts +6 -0
- package/dist/icons/nucleo/circles.mjs +2 -0
- package/dist/icons/nucleo/circles3.d.ts +6 -0
- package/dist/icons/nucleo/circles3.mjs +2 -0
- package/dist/icons/nucleo/icosahedron.d.ts +6 -0
- package/dist/icons/nucleo/icosahedron.mjs +2 -0
- package/dist/icons/nucleo/pyramid.d.ts +6 -0
- package/dist/icons/nucleo/pyramid.mjs +2 -0
- package/dist/icons/nucleo/scribble.d.ts +6 -0
- package/dist/icons/nucleo/scribble.mjs +2 -0
- package/dist/icons/sort-order.mjs +1 -1
- package/dist/icons/twitter.mjs +1 -1
- package/dist/icons/youtube.mjs +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.mjs +1 -1
- package/dist/input-select.mjs +1 -1
- package/dist/input.mjs +1 -1
- package/dist/label.mjs +1 -1
- package/dist/link-logo.mjs +1 -1
- package/dist/link-preview.mjs +1 -1
- package/dist/logo.mjs +1 -1
- package/dist/max-width-wrapper.mjs +1 -1
- package/dist/modal.mjs +1 -1
- package/dist/nav/content/product-content.mjs +1 -1
- package/dist/nav/content/resources-content.mjs +1 -1
- package/dist/nav/content/shared.mjs +1 -1
- package/dist/nav/content/solutions-content.mjs +1 -1
- package/dist/nav/nav-mobile.mjs +1 -1
- package/dist/nav/nav.mjs +1 -1
- package/dist/nav-logo.mjs +1 -1
- package/dist/popover.mjs +1 -1
- package/dist/progress-bar.mjs +1 -1
- package/dist/radio-group.mjs +1 -1
- package/dist/status-badge.d.ts +5 -0
- package/dist/status-badge.mjs +1 -1
- package/dist/switch.mjs +1 -1
- package/dist/tab-select.mjs +1 -1
- package/dist/table/table.mjs +1 -1
- package/dist/toggle-group.mjs +1 -1
- package/dist/tooltip.d.ts +1 -1
- package/dist/tooltip.mjs +1 -1
- package/dist/wordmark.mjs +1 -1
- package/package.json +1 -1
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-JVEYD7PC.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Accordion,d as AccordionContent,b as AccordionItem,c as AccordionTrigger};
|
package/dist/alert.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c}from"./chunk-
|
|
2
|
+
import{a,b,c}from"./chunk-BT73SHZR.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Alert,c as AlertDescription,b as AlertTitle};
|
|
@@ -19,7 +19,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
19
19
|
accessKey?: string | undefined;
|
|
20
20
|
autoFocus?: boolean | undefined;
|
|
21
21
|
className?: string | undefined;
|
|
22
|
-
contentEditable?:
|
|
22
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
23
23
|
contextMenu?: string | undefined;
|
|
24
24
|
dir?: string | undefined;
|
|
25
25
|
draggable?: (boolean | "true" | "false") | undefined;
|
|
@@ -55,12 +55,12 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
55
55
|
results?: number | undefined;
|
|
56
56
|
security?: string | undefined;
|
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
|
58
|
-
inputMode?: "
|
|
58
|
+
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
|
59
59
|
is?: string | undefined;
|
|
60
60
|
tw?: string | undefined;
|
|
61
61
|
"aria-activedescendant"?: string | undefined;
|
|
62
62
|
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
63
|
-
"aria-autocomplete"?: "
|
|
63
|
+
"aria-autocomplete"?: "list" | "none" | "inline" | "both" | undefined;
|
|
64
64
|
"aria-braillelabel"?: string | undefined;
|
|
65
65
|
"aria-brailleroledescription"?: string | undefined;
|
|
66
66
|
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
@@ -75,12 +75,12 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
75
75
|
"aria-description"?: string | undefined;
|
|
76
76
|
"aria-details"?: string | undefined;
|
|
77
77
|
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-dropeffect"?: "
|
|
78
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
|
79
79
|
"aria-errormessage"?: string | undefined;
|
|
80
80
|
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
81
81
|
"aria-flowto"?: string | undefined;
|
|
82
82
|
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
83
|
-
"aria-haspopup"?: boolean | "
|
|
83
|
+
"aria-haspopup"?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree" | undefined;
|
|
84
84
|
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
85
85
|
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
|
86
86
|
"aria-keyshortcuts"?: string | undefined;
|
|
@@ -97,7 +97,7 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
97
97
|
"aria-posinset"?: number | undefined;
|
|
98
98
|
"aria-pressed"?: boolean | "true" | "false" | "mixed" | undefined;
|
|
99
99
|
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
100
|
-
"aria-relevant"?: "
|
|
100
|
+
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
101
101
|
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
102
102
|
"aria-roledescription"?: string | undefined;
|
|
103
103
|
"aria-rowcount"?: number | undefined;
|
|
@@ -272,6 +272,6 @@ declare const AnimatedSizeContainer: react.ForwardRefExoticComponent<{
|
|
|
272
272
|
onAnimationIterationCapture?: react.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
273
273
|
onTransitionEnd?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
274
274
|
onTransitionEndCapture?: react.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
275
|
-
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "
|
|
275
|
+
} & framer_motion.MotionProps & react.RefAttributes<HTMLDivElement>, "ref">, "animate" | "children"> & react.RefAttributes<HTMLDivElement>>;
|
|
276
276
|
|
|
277
277
|
export { AnimatedSizeContainer };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-SB3SIBVK.mjs";import"./chunk-7TBGFJM2.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{a as AnimatedSizeContainer};
|
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-3N4QCCDO.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Avatar,b as TokenAvatar};
|
package/dist/badge.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import * as class_variance_authority_dist_types from 'class-variance-authority/d
|
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
|
|
5
5
|
declare const badgeVariants: (props?: ({
|
|
6
|
-
variant?: "
|
|
6
|
+
variant?: "default" | "black" | "blue" | "gray" | "violet" | "sky" | "neutral" | "rainbow" | null | undefined;
|
|
7
7
|
} & class_variance_authority_dist_types.ClassProp) | undefined) => string;
|
|
8
8
|
interface BadgeProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof badgeVariants> {
|
|
9
9
|
}
|
package/dist/badge.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"./chunk-
|
|
2
|
+
import{a,b}from"./chunk-YZG3XMUZ.mjs";import"./chunk-GTUAEI2Q.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-DTTWNDX2.mjs";import"./chunk-GTUAEI2Q.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,b}from"./chunk-
|
|
2
|
+
import{j as a,k as b}from"./chunk-DOCCEZ6A.mjs";import"./chunk-ZFPCRWL4.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-WB4ATGR6.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-WDAMFRJJ.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-KM4WRZJP.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-TNS4IOPO.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-7RGQYVJN.mjs";import"./chunk-JKRSAAJL.mjs";import"./chunk-4ZQFFQWV.mjs";import"./chunk-QP7EPYCF.mjs";import"./chunk-VP4AOKQG.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-GZPCBE62.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-HCAN6X6H.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-WEIWUZCF.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-DSJGAMVL.mjs";import"./chunk-SMUGRT5E.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-SFPOW3ZF.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-6RNJBBZC.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-YZG3XMUZ.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Button,a as buttonVariants};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-UK7JKY6E.mjs";import"../chunk-YDRGN6PM.mjs";import"../chunk-GTUAEI2Q.mjs";import"../chunk-AUBFB4SI.mjs";export{a as CardContext,b as CardListCard};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"../chunk-
|
|
2
|
+
import{a}from"../chunk-6M7KP6RO.mjs";import"../chunk-DOCCEZ6A.mjs";import"../chunk-ZFPCRWL4.mjs";import"../chunk-FW3IXMVC.mjs";import"../chunk-TMFXOLAX.mjs";import"../chunk-BOPNDXYJ.mjs";import"../chunk-XCO6TYE2.mjs";import"../chunk-H2RARDXL.mjs";import"../chunk-IQZRESCY.mjs";import"../chunk-32C65ISH.mjs";import"../chunk-REMU6JDP.mjs";import"../chunk-6HFOWUNK.mjs";import"../chunk-6JPO26GL.mjs";import"../chunk-PFEGGWM6.mjs";import"../chunk-WB4ATGR6.mjs";import"../chunk-RB2WIZ7A.mjs";import"../chunk-ODZV737U.mjs";import"../chunk-JFSNPBO7.mjs";import"../chunk-XCEWXSTL.mjs";import"../chunk-42Y3WP6A.mjs";import"../chunk-PFE7XPKG.mjs";import"../chunk-D7SRRREC.mjs";import"../chunk-VETEWFVX.mjs";import"../chunk-EL3BJ5GH.mjs";import"../chunk-LFGWL3ID.mjs";import"../chunk-TDNQCEQH.mjs";import"../chunk-HBXAUCXR.mjs";import"../chunk-IOYSFSEC.mjs";import"../chunk-C27HVKJD.mjs";import"../chunk-RVNLURMM.mjs";import"../chunk-DDH3RGOS.mjs";import"../chunk-O2Q5X4BD.mjs";import"../chunk-SZYWGXLX.mjs";import"../chunk-VX7JFYOR.mjs";import"../chunk-XVZSZKJJ.mjs";import"../chunk-CZSSD6PV.mjs";import"../chunk-U4QIRPVU.mjs";import"../chunk-QC6GZ7KR.mjs";import"../chunk-PXGRN26D.mjs";import"../chunk-JBURS7BX.mjs";import"../chunk-BOCPUR5Z.mjs";import"../chunk-SBK5CRMY.mjs";import"../chunk-2UZEHBDA.mjs";import"../chunk-4QV6SMAW.mjs";import"../chunk-LGBCPCZI.mjs";import"../chunk-QZR75WPQ.mjs";import"../chunk-HFXHAVJK.mjs";import"../chunk-RAPTAKTT.mjs";import"../chunk-R27OFGXD.mjs";import"../chunk-3W34NPBH.mjs";import"../chunk-GM7MJ5YV.mjs";import"../chunk-FGMEH6RM.mjs";import"../chunk-DJJD7VHE.mjs";import"../chunk-7JOFCAZW.mjs";import"../chunk-YA7GX4GF.mjs";import"../chunk-YIQYPU22.mjs";import"../chunk-OUWJF64C.mjs";import"../chunk-PT4MR4NI.mjs";import"../chunk-BPQSDPGU.mjs";import"../chunk-PGPTYK4W.mjs";import"../chunk-7NSJS37T.mjs";import"../chunk-WDAMFRJJ.mjs";import"../chunk-ZHXYP44Q.mjs";import"../chunk-PFLLM2JW.mjs";import"../chunk-GUQEBYBS.mjs";import"../chunk-2AVTXLJA.mjs";import"../chunk-DWACNU5E.mjs";import"../chunk-VHJB3C2A.mjs";import"../chunk-KM4WRZJP.mjs";import"../chunk-PI7GNHXR.mjs";import"../chunk-HYPLE4VW.mjs";import"../chunk-EARKUZEZ.mjs";import"../chunk-3KFNNXJ6.mjs";import"../chunk-LPV7TLRR.mjs";import"../chunk-GV2NLM3E.mjs";import"../chunk-IGIB6XZB.mjs";import"../chunk-GYE7FFDN.mjs";import"../chunk-TNS4IOPO.mjs";import"../chunk-X6BT5NYY.mjs";import"../chunk-36GFRX4D.mjs";import"../chunk-O5ED4ULH.mjs";import"../chunk-V7RF4LCH.mjs";import"../chunk-KDNSFAET.mjs";import"../chunk-3YI5TNDO.mjs";import"../chunk-2W2M7KTU.mjs";import"../chunk-7RGQYVJN.mjs";import"../chunk-JKRSAAJL.mjs";import"../chunk-4ZQFFQWV.mjs";import"../chunk-QP7EPYCF.mjs";import"../chunk-VP4AOKQG.mjs";import"../chunk-INQSSLYX.mjs";import"../chunk-IODGUY4G.mjs";import"../chunk-KCK3HMV3.mjs";import"../chunk-URNITXJC.mjs";import"../chunk-KUT7JPA7.mjs";import"../chunk-EX6WLDZE.mjs";import"../chunk-2COCR43F.mjs";import"../chunk-EHYVEIOL.mjs";import"../chunk-DMUERTF2.mjs";import"../chunk-GZPCBE62.mjs";import"../chunk-PDSUXFDU.mjs";import"../chunk-E6VJQMTO.mjs";import"../chunk-HCAN6X6H.mjs";import"../chunk-2TGXECZQ.mjs";import"../chunk-NPWONPKN.mjs";import"../chunk-ZOMZCD5I.mjs";import"../chunk-KYMBX7DZ.mjs";import"../chunk-2LBJI2KO.mjs";import"../chunk-TNAH7N5Q.mjs";import"../chunk-WEIWUZCF.mjs";import"../chunk-ZJICX3BL.mjs";import"../chunk-HJMQR6M2.mjs";import"../chunk-DSJGAMVL.mjs";import"../chunk-SMUGRT5E.mjs";import"../chunk-CUYZMDRN.mjs";import"../chunk-SFPOW3ZF.mjs";import"../chunk-YURUGH4S.mjs";import"../chunk-XSZV33MB.mjs";import"../chunk-BKZ6TNZC.mjs";import"../chunk-6RNJBBZC.mjs";import"../chunk-MURAUI3W.mjs";import"../chunk-ALEYOCBW.mjs";import"../chunk-YZG3XMUZ.mjs";import"../chunk-GTUAEI2Q.mjs";import"../chunk-AUBFB4SI.mjs";export{a as CardListPagination};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b}from"../chunk-
|
|
2
|
+
import{a,b}from"../chunk-YDRGN6PM.mjs";import"../chunk-GTUAEI2Q.mjs";import"../chunk-AUBFB4SI.mjs";export{b as CardList,a as CardListContext};
|
package/dist/carousel.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a,b,c,d,e,f,g}from"./chunk-
|
|
2
|
+
import{a,b,c,d,e,f,g}from"./chunk-6GXRBCLX.mjs";import"./chunk-DOCCEZ6A.mjs";import"./chunk-ZFPCRWL4.mjs";import"./chunk-FW3IXMVC.mjs";import"./chunk-TMFXOLAX.mjs";import"./chunk-BOPNDXYJ.mjs";import"./chunk-XCO6TYE2.mjs";import"./chunk-H2RARDXL.mjs";import"./chunk-IQZRESCY.mjs";import"./chunk-32C65ISH.mjs";import"./chunk-REMU6JDP.mjs";import"./chunk-6HFOWUNK.mjs";import"./chunk-6JPO26GL.mjs";import"./chunk-PFEGGWM6.mjs";import"./chunk-WB4ATGR6.mjs";import"./chunk-RB2WIZ7A.mjs";import"./chunk-ODZV737U.mjs";import"./chunk-JFSNPBO7.mjs";import"./chunk-XCEWXSTL.mjs";import"./chunk-42Y3WP6A.mjs";import"./chunk-PFE7XPKG.mjs";import"./chunk-D7SRRREC.mjs";import"./chunk-VETEWFVX.mjs";import"./chunk-EL3BJ5GH.mjs";import"./chunk-LFGWL3ID.mjs";import"./chunk-TDNQCEQH.mjs";import"./chunk-HBXAUCXR.mjs";import"./chunk-IOYSFSEC.mjs";import"./chunk-C27HVKJD.mjs";import"./chunk-RVNLURMM.mjs";import"./chunk-DDH3RGOS.mjs";import"./chunk-O2Q5X4BD.mjs";import"./chunk-SZYWGXLX.mjs";import"./chunk-VX7JFYOR.mjs";import"./chunk-XVZSZKJJ.mjs";import"./chunk-CZSSD6PV.mjs";import"./chunk-U4QIRPVU.mjs";import"./chunk-QC6GZ7KR.mjs";import"./chunk-PXGRN26D.mjs";import"./chunk-JBURS7BX.mjs";import"./chunk-BOCPUR5Z.mjs";import"./chunk-SBK5CRMY.mjs";import"./chunk-2UZEHBDA.mjs";import"./chunk-4QV6SMAW.mjs";import"./chunk-LGBCPCZI.mjs";import"./chunk-QZR75WPQ.mjs";import"./chunk-HFXHAVJK.mjs";import"./chunk-RAPTAKTT.mjs";import"./chunk-R27OFGXD.mjs";import"./chunk-3W34NPBH.mjs";import"./chunk-GM7MJ5YV.mjs";import"./chunk-FGMEH6RM.mjs";import"./chunk-DJJD7VHE.mjs";import"./chunk-7JOFCAZW.mjs";import"./chunk-YA7GX4GF.mjs";import"./chunk-YIQYPU22.mjs";import"./chunk-OUWJF64C.mjs";import"./chunk-PT4MR4NI.mjs";import"./chunk-BPQSDPGU.mjs";import"./chunk-PGPTYK4W.mjs";import"./chunk-7NSJS37T.mjs";import"./chunk-WDAMFRJJ.mjs";import"./chunk-ZHXYP44Q.mjs";import"./chunk-PFLLM2JW.mjs";import"./chunk-GUQEBYBS.mjs";import"./chunk-2AVTXLJA.mjs";import"./chunk-DWACNU5E.mjs";import"./chunk-VHJB3C2A.mjs";import"./chunk-KM4WRZJP.mjs";import"./chunk-PI7GNHXR.mjs";import"./chunk-HYPLE4VW.mjs";import"./chunk-EARKUZEZ.mjs";import"./chunk-3KFNNXJ6.mjs";import"./chunk-LPV7TLRR.mjs";import"./chunk-GV2NLM3E.mjs";import"./chunk-IGIB6XZB.mjs";import"./chunk-GYE7FFDN.mjs";import"./chunk-TNS4IOPO.mjs";import"./chunk-X6BT5NYY.mjs";import"./chunk-36GFRX4D.mjs";import"./chunk-O5ED4ULH.mjs";import"./chunk-V7RF4LCH.mjs";import"./chunk-KDNSFAET.mjs";import"./chunk-3YI5TNDO.mjs";import"./chunk-2W2M7KTU.mjs";import"./chunk-7RGQYVJN.mjs";import"./chunk-JKRSAAJL.mjs";import"./chunk-4ZQFFQWV.mjs";import"./chunk-QP7EPYCF.mjs";import"./chunk-VP4AOKQG.mjs";import"./chunk-INQSSLYX.mjs";import"./chunk-IODGUY4G.mjs";import"./chunk-KCK3HMV3.mjs";import"./chunk-URNITXJC.mjs";import"./chunk-KUT7JPA7.mjs";import"./chunk-EX6WLDZE.mjs";import"./chunk-2COCR43F.mjs";import"./chunk-EHYVEIOL.mjs";import"./chunk-DMUERTF2.mjs";import"./chunk-GZPCBE62.mjs";import"./chunk-PDSUXFDU.mjs";import"./chunk-E6VJQMTO.mjs";import"./chunk-HCAN6X6H.mjs";import"./chunk-2TGXECZQ.mjs";import"./chunk-NPWONPKN.mjs";import"./chunk-ZOMZCD5I.mjs";import"./chunk-KYMBX7DZ.mjs";import"./chunk-2LBJI2KO.mjs";import"./chunk-TNAH7N5Q.mjs";import"./chunk-WEIWUZCF.mjs";import"./chunk-ZJICX3BL.mjs";import"./chunk-HJMQR6M2.mjs";import"./chunk-DSJGAMVL.mjs";import"./chunk-SMUGRT5E.mjs";import"./chunk-CUYZMDRN.mjs";import"./chunk-SFPOW3ZF.mjs";import"./chunk-YURUGH4S.mjs";import"./chunk-XSZV33MB.mjs";import"./chunk-BKZ6TNZC.mjs";import"./chunk-6RNJBBZC.mjs";import"./chunk-MURAUI3W.mjs";import"./chunk-ALEYOCBW.mjs";import"./chunk-YZG3XMUZ.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{b as Carousel,c as CarouselContent,d as CarouselItem,g as CarouselNavBar,f as CarouselNext,e as CarouselPrevious,a as useCarousel};
|
package/dist/checkbox.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
"use client"
|
|
2
|
-
import{a}from"./chunk-
|
|
2
|
+
import{a}from"./chunk-PJCZ2JPB.mjs";import"./chunk-GTUAEI2Q.mjs";import"./chunk-AUBFB4SI.mjs";export{a as Checkbox};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as W}from"./chunk-SZN7TTOA.mjs";import{a as D}from"./chunk-UW2TGU2G.mjs";import{a as E}from"./chunk-NYUM7O5F.mjs";import{a as M,d as S,e as L}from"./chunk-EZB3E4CO.mjs";import{a as H}from"./chunk-74256ZUS.mjs";import{a as x}from"./chunk-LQHHNVB3.mjs";import{a as V}from"./chunk-GCI7OJQO.mjs";import{k as _}from"./chunk-DOCCEZ6A.mjs";import{b as g,d as f,i,k as P,l as w}from"./chunk-GTUAEI2Q.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),n=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),T(()=>{n()},[n]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:n="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(s=>{s.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5 -translate-x-10",l==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),v(!1)},children:B("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||n!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){return o(_,{className:i("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),n=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:i("absolute inset-0 block transition-all lg:hidden",n&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:i("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:s,content:k})=>{let y=s===`/${l}`||s==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:s!==void 0?e(p,{id:`nav-${s}`,href:g(s,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:i(O({isActive:y}),"cursor-default"),children:c})}),k&&e(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.Viewport,{className:i("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Login"}),className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as P}from"./chunk-AVIVXNKB.mjs";import{a as S}from"./chunk-T3RA2DC6.mjs";import{a as h}from"./chunk-AGB2SR3M.mjs";import{i as c,j as w}from"./chunk-EKW2J4TE.mjs";import{flexRender as T,getCoreRowModel as A,useReactTable as B}from"@tanstack/react-table";import{AnimatePresence as I,motion as O}from"framer-motion";import{useEffect as N,useState as j}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>c(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function ne(t){let{data:n,rowCount:s,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=j(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var m;(m=t.onColumnVisibilityChange)==null||m.call(t,l)},[l]);let v=B({data:n,rowCount:s,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:A(),onPaginationChange:f,onColumnVisibilityChange:m=>p(m),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function oe({columns:t,data:n,loading:s,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,thClassName:m,tdClassName:k,table:o,pagination:r,resourceName:u,rowCount:R,children:M}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||s?a("div",{className:"relative min-h-[400px] overflow-x-auto rounded-[inherit]",children:[a("table",{className:c(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(d=>i("tr",{children:d.headers.map(e=>{let C=p.includes(e.column.id),W=C?"button":"div";return i("th",{className:c(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),m),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(W,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},d.id))}),i("tbody",{children:o.getRowModel().rows.map(d=>i("tr",{children:d.getVisibleCells().map(e=>i("td",{className:c(V(e.column.id),"group text-gray-600",D(e.column,d.index===o.getRowModel().rows.length-1),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},d.id))})]}),M]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(u==null?void 0:u(!0))||"items"} found.`}),r&&!g&&!!(n!=null&&n.length)&&!!R&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[r.pageIndex*r.pageSize+1,"-",Math.min(r.pageIndex*r.pageSize+r.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(u==null?void 0:u(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:!o.getCanPreviousPage()}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:!o.getCanNextPage()})]})]}),i(I,{children:s&&i(O.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let s=t.getIsPinned();return c(s&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{ne as a,oe as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{jsx as o,jsxs as n}from"react/jsx-runtime";function e(r){return o("svg",{height:"18",width:"18",viewBox:"0 0 18 18",xmlns:"http://www.w3.org/2000/svg",...r,children:n("g",{fill:"currentColor",children:[o("polygon",{fill:"none",points:"9 2.062 2.907 12.25 15.093 12.25 9 2.062",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"}),o("path",{d:"M15.25,11.473V6.527c0-.713-.38-1.372-.997-1.73l-4.25-2.465c-.621-.36-1.386-.36-2.007,0L3.747,4.797c-.617,.358-.997,1.017-.997,1.73v4.946c0,.713,.38,1.372,.997,1.73l4.25,2.465c.621,.36,1.386,.36,2.007,0l4.25-2.465c.617-.358,.997-1.017,.997-1.73Z",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5"})]})})}export{e as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{a as s}from"./chunk-DETXMYNC.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as g,e as f,k as b}from"./chunk-EKW2J4TE.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{j as h}from"./chunk-AO3XZCQ3.mjs";import{p as f}from"./chunk-EYP7PSBL.mjs";import{cva as A}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as z}from"lucide-react";import*as e from"react";import{jsx as o,jsxs as C}from"react/jsx-runtime";var w=2e3,E=e.createContext(null);function g(){let a=e.useContext(E);if(!a)throw new Error("useCarousel must be used within a <Carousel />");return a}var I=e.forwardRef(({orientation:a="horizontal",opts:l,setApi:s,autoplay:n,plugins:m,className:d,children:r,...c},v)=>{let[P,t]=T({...l,axis:a==="horizontal"?"x":"y"},[...n?[k(typeof n=="object"?n:{delay:w})]:[],...m||[]]),[b,y]=e.useState(!1),[N,R]=e.useState(!1),i=e.useCallback(p=>{!p||(y(p.canScrollPrev()),R(p.canScrollNext()))},[]),u=e.useCallback(()=>{t==null||t.scrollPrev()},[t]),x=e.useCallback(()=>{t==null||t.scrollNext()},[t]),S=e.useCallback(p=>{p.key==="ArrowLeft"?(p.preventDefault(),u()):p.key==="ArrowRight"&&(p.preventDefault(),x())},[u,x]);return e.useEffect(()=>{!t||!s||s(t)},[t,s]),e.useEffect(()=>{if(!!t)return i(t),t.on("reInit",i),t.on("select",i),()=>{t==null||t.off("select",i)}},[t,i]),o(E.Provider,{value:{carouselRef:P,api:t,opts:l,orientation:a||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:u,scrollNext:x,canScrollPrev:b,canScrollNext:N},children:o("div",{ref:v,onKeyDownCapture:S,className:f("relative",d),role:"region","aria-roledescription":"carousel",...c,children:r})})});I.displayName="Carousel";var U=e.forwardRef(({className:a,...l},s)=>{let{carouselRef:n,orientation:m}=g();return o("div",{ref:n,className:"overflow-hidden",children:o("div",{ref:s,className:f("flex",m==="horizontal"?"-ml-4":"-mt-4 flex-col",a),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:a,...l},s)=>{let{orientation:n}=g();return o("div",{ref:s,role:"group","aria-roledescription":"slide",className:f("min-w-0 shrink-0 grow-0 basis-full",n==="horizontal"?"pl-4":"pt-4",a),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollPrev:m,canScrollPrev:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(D,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollNext:m,canScrollNext:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(H,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=A("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),W=({variant:a="simple",className:l})=>{var R;let{scrollNext:s,scrollPrev:n,canScrollNext:m,canScrollPrev:d,api:r}=g(),c=(R=r==null?void 0:r.plugins())==null?void 0:R.autoplay,[v,P]=e.useState(0),[t,b]=e.useState(!1),y=e.useCallback(i=>{P(i.selectedScrollSnap())},[]),N=e.useCallback(i=>()=>{c&&c.isPlaying()&&c.stop(),i()},[c]);return e.useEffect(()=>{!r||(y(r),b((c==null?void 0:c.isPlaying())??!1),r.on("reInit",y),r.on("select",y),r.on("autoplay:play",()=>b(!0)),r.on("autoplay:stop",()=>b(!1)))},[r,c,y]),C("div",{className:f(K({variant:a}),l),children:[a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:N(n),children:[o(M,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]}),r!=null&&o("div",{className:"flex items-center gap-1",children:r.slideNodes().map((i,u)=>C("button",{onClick:N(()=>r.scrollTo(u)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[o("div",{className:f("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",u===v?"bg-black":"bg-black/20",t&&u===v&&"w-6 bg-black/20"),children:t&&u===v&&o(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((c==null?void 0:c.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",u+1]})]},u))}),a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!m,onClick:N(s),children:[o(z,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})]})};export{g as a,I as b,U as c,B as d,O as e,V as f,W as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as C}from"./chunk-EKW2J4TE.mjs";import{jsx as e}from"react/jsx-runtime";function o({className:t}){return e("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",t),children:e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z",fill:"currentColor"})})}export{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as i}from"./chunk-EYP7PSBL.mjs";import*as e from"@radix-ui/react-checkbox";import{Check as m}from"lucide-react";import*as t from"react";import{jsx as o}from"react/jsx-runtime";var s=t.forwardRef(({className:r,...c},a)=>o(e.Root,{ref:a,className:i("peer h-5 w-5 shrink-0 rounded-md border border-gray-200 bg-white outline-none focus-visible:border-black disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-blue-500",r),...c,children:o(e.Indicator,{className:"flex items-center justify-center",children:o(m,{className:"h-3 w-3 text-white"})})}));s.displayName=e.Root.displayName;export{s as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as a}from"./chunk-GTUAEI2Q.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:e={},className:r}){return e?n("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:e.image||`https://api.dicebear.com/7.x/micah/svg?seed=${e.id||e.email}`,className:a("h-10 w-10 rounded-full border border-gray-300",r),draggable:!1}):n("div",{className:a("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",r)})}function d({id:e,className:r}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${e}`,alt:"avatar",className:a("h-10 w-10 rounded-full",r),draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as m}from"./chunk-AO3XZCQ3.mjs";import{p as i}from"./chunk-EYP7PSBL.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{j as h}from"./chunk-SKJRR3N6.mjs";import{i as f}from"./chunk-USWPT2N2.mjs";import{cva as A}from"class-variance-authority";import k from"embla-carousel-autoplay";import T from"embla-carousel-react";import{motion as L}from"framer-motion";import{ArrowLeft as D,ArrowRight as H,ChevronLeft as M,ChevronRight as z}from"lucide-react";import*as e from"react";import{jsx as o,jsxs as C}from"react/jsx-runtime";var w=2e3,E=e.createContext(null);function g(){let a=e.useContext(E);if(!a)throw new Error("useCarousel must be used within a <Carousel />");return a}var I=e.forwardRef(({orientation:a="horizontal",opts:l,setApi:s,autoplay:n,plugins:m,className:d,children:r,...c},v)=>{let[P,t]=T({...l,axis:a==="horizontal"?"x":"y"},[...n?[k(typeof n=="object"?n:{delay:w})]:[],...m||[]]),[b,y]=e.useState(!1),[N,R]=e.useState(!1),i=e.useCallback(p=>{!p||(y(p.canScrollPrev()),R(p.canScrollNext()))},[]),u=e.useCallback(()=>{t==null||t.scrollPrev()},[t]),x=e.useCallback(()=>{t==null||t.scrollNext()},[t]),S=e.useCallback(p=>{p.key==="ArrowLeft"?(p.preventDefault(),u()):p.key==="ArrowRight"&&(p.preventDefault(),x())},[u,x]);return e.useEffect(()=>{!t||!s||s(t)},[t,s]),e.useEffect(()=>{if(!!t)return i(t),t.on("reInit",i),t.on("select",i),()=>{t==null||t.off("select",i)}},[t,i]),o(E.Provider,{value:{carouselRef:P,api:t,opts:l,orientation:a||((l==null?void 0:l.axis)==="y"?"vertical":"horizontal"),scrollPrev:u,scrollNext:x,canScrollPrev:b,canScrollNext:N},children:o("div",{ref:v,onKeyDownCapture:S,className:f("relative",d),role:"region","aria-roledescription":"carousel",...c,children:r})})});I.displayName="Carousel";var U=e.forwardRef(({className:a,...l},s)=>{let{carouselRef:n,orientation:m}=g();return o("div",{ref:n,className:"overflow-hidden",children:o("div",{ref:s,className:f("flex",m==="horizontal"?"-ml-4":"-mt-4 flex-col",a),...l})})});U.displayName="CarouselContent";var B=e.forwardRef(({className:a,...l},s)=>{let{orientation:n}=g();return o("div",{ref:s,role:"group","aria-roledescription":"slide",className:f("min-w-0 shrink-0 grow-0 basis-full",n==="horizontal"?"pl-4":"pt-4",a),...l})});B.displayName="CarouselItem";var O=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollPrev:m,canScrollPrev:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-left-12 top-1/2 -translate-y-1/2":"-top-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(D,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]})});O.displayName="CarouselPrevious";var V=e.forwardRef(({className:a,...l},s)=>{let{orientation:n,scrollNext:m,canScrollNext:d}=g();return C("button",{ref:s,className:f("absolute",n==="horizontal"?"-right-12 top-1/2 -translate-y-1/2":"-bottom-12 left-1/2 -translate-x-1/2 rotate-90",h({variant:"secondary",className:"p-2"}),a),disabled:!d,onClick:m,...l,children:[o(H,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})});V.displayName="CarouselNext";var K=A("flex items-center justify-center gap-3 sm:gap-6",{variants:{variant:{simple:"relative",floating:"absolute bottom-4 left-1/2 -translate-x-1/2 rounded-full border border-gray-800/10 bg-white sm:bottom-6 "}}}),W=({variant:a="simple",className:l})=>{var R;let{scrollNext:s,scrollPrev:n,canScrollNext:m,canScrollPrev:d,api:r}=g(),c=(R=r==null?void 0:r.plugins())==null?void 0:R.autoplay,[v,P]=e.useState(0),[t,b]=e.useState(!1),y=e.useCallback(i=>{P(i.selectedScrollSnap())},[]),N=e.useCallback(i=>()=>{c&&c.isPlaying()&&c.stop(),i()},[c]);return e.useEffect(()=>{!r||(y(r),b((c==null?void 0:c.isPlaying())??!1),r.on("reInit",y),r.on("select",y),r.on("autoplay:play",()=>b(!0)),r.on("autoplay:stop",()=>b(!1)))},[r,c,y]),C("div",{className:f(K({variant:a}),l),children:[a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!d,onClick:N(n),children:[o(M,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Previous slide"})]}),r!=null&&o("div",{className:"flex items-center gap-1",children:r.slideNodes().map((i,u)=>C("button",{onClick:N(()=>r.scrollTo(u)),className:"rounded-full p-0.5 hover:bg-gray-100 active:bg-gray-200 sm:p-1.5",children:[o("div",{className:f("relative isolate h-1.5 w-1.5 overflow-hidden rounded-full transition-all",u===v?"bg-black":"bg-black/20",t&&u===v&&"w-6 bg-black/20"),children:t&&u===v&&o(L.div,{initial:{x:"-100%"},animate:{x:0},transition:{type:"tween",duration:((c==null?void 0:c.options.delay)??w)/1e3},className:"animate-fill-width h-full w-full rounded-full bg-black"})}),C("span",{className:"sr-only",children:["Slide ",u+1]})]},u))}),a!=="simple"&&C("button",{className:"cursor-pointer rounded-full p-2 hover:bg-gray-50 active:bg-gray-100",disabled:!m,onClick:N(s),children:[o(z,{className:"h-4 w-4"}),o("span",{className:"sr-only",children:"Next slide"})]})]})};export{g as a,I as b,U as c,B as d,O as e,V as f,W as g};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as l,d as p}from"./chunk-EZB3E4CO.mjs";import{a as n,c,d as u}from"./chunk-V6D25QNL.mjs";import{b as s,p as m}from"./chunk-EYP7PSBL.mjs";import{jsx as e,jsxs as d}from"react/jsx-runtime";function g({domain:o}){return d("div",{className:"grid w-[32rem] grid-cols-[5fr_3.5fr]",children:[d("div",{className:"p-5",children:[e("p",{className:m(n,"mb-2"),children:"Profiles"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:l.map(({icon:i,title:r,description:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:r}),icon:e(u,{icon:i}),title:r,description:t}))})]}),d("div",{className:"border-l border-gray-200 p-5 dark:border-white/20",children:[e("p",{className:m(n,"mb-2"),children:"SDKs"}),e("div",{className:"-mx-2 flex flex-col gap-0.5",children:p.map(({icon:i,iconClassName:r,title:t,href:a})=>e(c,{href:s(a,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:t}),icon:e(i,{className:m("h-5 w-5 shrink-0 text-gray-600 transition-colors dark:text-white/60",r)}),title:t,showArrow:!0},a))})]})]})}export{g as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{c as m}from"./chunk-GTUAEI2Q.mjs";import{Slot as w}from"@radix-ui/react-slot";import R,{useEffect as y,useState as F}from"react";import{jsxs as E}from"react/jsx-runtime";var V=R.forwardRef(({asChild:u,className:i,children:e,prefix:c,duration:t=250,as:l="span",...n},f)=>{let[r,p]=F(Number(e));return y(()=>{if(isNaN(Number(e))){console.warn("CountingNumbers expects a numeric value as children.");return}let N=Number(e),o=r,d=N,b=performance.now(),a=()=>{let C=performance.now(),s=Math.min((C-b)/t,1),g=o+(d-o)*s;p(Math.round(g)),s<1&&requestAnimationFrame(a)};requestAnimationFrame(a)},[e,t]),E(u?w:l,{ref:f,className:i,...n,children:[c,m(r,n.fullNumber?{full:!0}:void 0)]})});V.displayName="CountingNumbers";export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as r}from"./chunk-AVIVXNKB.mjs";import{p as l}from"./chunk-EKW2J4TE.mjs";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function c({page:s,onPageChange:d,pageSize:t=l,totalCount:a,resourceName:m=n=>`item${n?"s":""}`,children:o}){return i(p,{children:[e("div",{className:"h-[90px]"}),e("div",{className:"fixed bottom-4 left-1/2 w-full max-w-[768px] -translate-x-1/2 px-2.5 max-[920px]:bottom-5 max-[920px]:pr-20",children:i("nav",{className:"flex w-full items-center justify-between rounded-xl border border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600 [filter:drop-shadow(0_5px_8px_#222A351d)]",children:[i("div",{className:"flex items-center gap-2",children:[i("div",{children:[e("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",i("span",{className:"font-medium",children:[s*t+(a?1:0),"-",Math.min(s*t+t,a)]})," ","of"," ",e("span",{className:"font-medium",children:a.toLocaleString()})," ",(m==null?void 0:m(a!==1))||"items"]}),o]}),i("div",{className:"flex items-center gap-2",children:[e(r,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>d(n=>n-1),disabled:s<1}),e(r,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>d(n=>n+1),disabled:(s+1)*t>=a})]})]})})]})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as P}from"./chunk-4MUFXKUU.mjs";import{a as S}from"./chunk-OZTMAK2F.mjs";import{a as h}from"./chunk-EAEI3KDY.mjs";import{i as c,j as w}from"./chunk-USWPT2N2.mjs";import{flexRender as T,getCoreRowModel as A,useReactTable as B}from"@tanstack/react-table";import{AnimatePresence as I,motion as O}from"framer-motion";import{useEffect as N,useState as j}from"react";import{jsx as i,jsxs as a}from"react/jsx-runtime";var V=t=>c(["py-2.5 text-left text-sm leading-6 whitespace-nowrap border-gray-200 px-4 relative","border-l border-b",t==="menu"&&"bg-white border-l-transparent py-0 px-1"]);function ne(t){let{data:n,rowCount:s,columns:g,defaultColumn:x,columnPinning:b,pagination:y,onPaginationChange:f}=t,[l,p]=j(t.columnVisibility??{});N(()=>{t.columnVisibility&&!w(t.columnVisibility,l)&&p(t.columnVisibility??{})},[t.columnVisibility]),N(()=>{var m;(m=t.onColumnVisibilityChange)==null||m.call(t,l)},[l]);let v=B({data:n,rowCount:s,columns:g,defaultColumn:{minSize:120,size:0,maxSize:300,...x},getCoreRowModel:A(),onPaginationChange:f,onColumnVisibilityChange:m=>p(m),state:{pagination:y,columnVisibility:l,columnPinning:{left:[],right:[],...b}},manualPagination:!0,autoResetPageIndex:!1,manualSorting:!0});return{...t,columnVisibility:l,table:v}}function oe({columns:t,data:n,loading:s,error:g,emptyState:x,cellRight:b,sortBy:y,sortOrder:f,onSortChange:l,sortableColumns:p=[],className:v,thClassName:m,tdClassName:k,table:o,pagination:r,resourceName:u,rowCount:R,children:M}){return a("div",{className:"relative border border-gray-200 bg-white sm:rounded-xl",children:[!g&&!!(n!=null&&n.length)||s?a("div",{className:"relative min-h-[400px] overflow-x-auto rounded-[inherit]",children:[a("table",{className:c(["group/table w-full border-separate border-spacing-0 transition-[border-spacing,margin-top]","[&_tr>*:first-child]:border-l-transparent","[&_tr>*:last-child]:border-r-transparent"],v),children:[i("thead",{children:o.getHeaderGroups().map(d=>i("tr",{children:d.headers.map(e=>{let C=p.includes(e.column.id),W=C?"button":"div";return i("th",{className:c(V(e.id),"select-none font-medium",D(e.column,!o.getRowModel().rows.length),m),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:i("div",{className:"flex items-center justify-between gap-6 !pr-0",children:a(W,{className:"flex items-center gap-2",...C&&{type:"button",disabled:!C,"aria-label":"Sort by column",onClick:()=>l==null?void 0:l({sortBy:e.column.id,sortOrder:y!==e.column.id||f==="asc"?"desc":"asc"})},children:[i("span",{children:e.isPlaceholder?null:T(e.column.columnDef.header,e.getContext())}),C&&i(S,{order:y===e.column.id?f||"desc":null})]})})},e.id)})},d.id))}),i("tbody",{children:o.getRowModel().rows.map(d=>i("tr",{children:d.getVisibleCells().map(e=>i("td",{className:c(V(e.column.id),"group text-gray-600",D(e.column,d.index===o.getRowModel().rows.length-1),k),style:{minWidth:e.column.columnDef.minSize,maxWidth:e.column.columnDef.maxSize,width:e.column.columnDef.size||"auto",...z(e.column)},children:a("div",{className:"flex w-full items-center justify-between overflow-hidden truncate",children:[i("div",{className:"min-w-0 shrink grow truncate",children:T(e.column.columnDef.cell,e.getContext())}),b==null?void 0:b(e)]})},e.id))},d.id))})]}),M]}):i("div",{className:"flex h-96 w-full items-center justify-center text-sm text-gray-500",children:g||x||`No ${(u==null?void 0:u(!0))||"items"} found.`}),r&&!g&&!!(n!=null&&n.length)&&!!R&&a("div",{className:"sticky bottom-0 mx-auto -mt-px flex w-full max-w-full items-center justify-between rounded-b-[inherit] border-t border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600",children:[a("div",{children:[i("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",a("span",{className:"font-medium",children:[r.pageIndex*r.pageSize+1,"-",Math.min(r.pageIndex*r.pageSize+r.pageSize,o.getRowCount())]})," ","of"," ",i("span",{className:"font-medium",children:o.getRowCount().toLocaleString()})," ",(u==null?void 0:u(o.getRowCount()!==1))||"items"]}),a("div",{className:"flex items-center gap-2",children:[i(P,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>o.previousPage(),disabled:!o.getCanPreviousPage()}),i(P,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>o.nextPage(),disabled:!o.getCanNextPage()})]})]}),i(I,{children:s&&i(O.div,{initial:{opacity:0},animate:{opacity:1},className:"absolute inset-0 flex items-center justify-center rounded-xl bg-white/50",children:i(h,{})})})]})}var D=(t,n)=>{let s=t.getIsPinned();return c(s&&!n&&"animate-table-pinned-shadow [animation-timeline:scroll(inline)]")},z=t=>{let n=t.getIsPinned();return{left:n==="left"?`${t.getStart("left")}px`:void 0,right:n==="right"?`${t.getAfter("right")}px`:void 0,position:n?"sticky":"relative"}};export{ne as a,oe as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as g}from"./chunk-4MUFXKUU.mjs";import{i as c}from"./chunk-USWPT2N2.mjs";import{Command as s}from"cmdk";import{Lock as T}from"lucide-react";import{jsx as o,jsxs as w}from"react/jsx-runtime";var h=({presets:f,onSelect:p,currentValue:r})=>{let P=e=>"dateRange"in e,b=e=>"date"in e,a=(e,t)=>e.getDate()===t.getDate()&&e.getMonth()===t.getMonth()&&e.getFullYear()===t.getFullYear(),y=(e,t)=>{let n=e.from,l=t.from,i=!1;n&&l&&a(n,l)&&(i=!0);let m=e.to,d=t.to,u=!1;return m&&d&&a(m,d)&&(u=!0),i&&u},x=e=>{if(P(e)){let t=r;return t&&y(t,e.dateRange)}else if(b(e)){let t=r;return t&&a(t,e.date)}return!1};return o(s,{className:"w-full rounded ring-gray-200 ring-offset-2 focus:outline-none",tabIndex:0,autoFocus:!0,loop:!0,children:o(s.List,{className:"[&>*]:flex [&>*]:w-full [&>*]:items-start [&>*]:gap-x-2 [&>*]:gap-y-0.5 [&>*]:sm:flex-col",children:f.map((e,t)=>w(s.Item,{disabled:e.requiresUpgrade,onSelect:()=>p(e),title:e.label,value:e.id,className:c("group relative flex cursor-pointer items-center justify-between overflow-hidden text-ellipsis whitespace-nowrap rounded border border-gray-200","px-2.5 py-1.5 text-left text-sm text-gray-700 shadow-sm outline-none sm:w-full sm:border-none sm:py-2 sm:shadow-none","disabled:pointer-events-none disabled:opacity-50","sm:data-[selected=true]:bg-gray-100",x(e)&&"font-semibold text-gray-800"),children:[o("span",{children:e.label}),e.requiresUpgrade?o(T,{className:"h-3.5 w-3.5","aria-hidden":"true"}):e.shortcut?o("kbd",{className:"text-gray-4000 hidden rounded bg-gray-100 px-2 py-0.5 text-xs font-light group-data-[selected=true]:bg-gray-200 md:block",children:e.shortcut.toUpperCase()}):null,e.requiresUpgrade&&e.tooltipContent&&o(g,{side:"bottom",content:e.tooltipContent,children:o("div",{className:"absolute inset-0 cursor-not-allowed"})})]},t))})})};h.displayName="DatePicker.Presets";export{h as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-EAEI3KDY.mjs";import{b as h}from"./chunk-TLMC3GAF.mjs";import{c as f,g as y,i as a}from"./chunk-USWPT2N2.mjs";import*as l from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import R from"next/link";import{useState as C}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:a("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:e,variant:t="primary",className:o,textWrapperClassName:n,loading:i,icon:u,shortcut:s,disabledTooltip:b,...m},N)=>b?p(d,{content:b,children:T("div",{className:a("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":t==null?void 0:t.endsWith("outline")},o),children:[u,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":t==null?void 0:t.endsWith("outline")}),children:s})]})}):T("button",{ref:N,type:m.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",m.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":c({variant:t}),o),disabled:m.disabled||i,...m,children:[i?p(v,{}):u||null,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":t==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":t==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":t==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":t==="danger-outline"}),children:s})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:e}){return r(l.Provider,{delayDuration:100,children:e})}function d({children:e,content:t,side:o="top"}){let[n,i]=C(!1);return g(l.Root,{open:n,onOpenChange:i,delayDuration:0,children:[r(l.Trigger,{asChild:!0,onClick:()=>{i(!0)},onBlur:()=>{i(!1)},children:e}),r(l.Portal,{children:r(l.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,children:typeof t=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:t}):typeof t=="function"?t({setOpen:i}):t})})]})}function K({title:e,cta:t,href:o,target:n,onClick:i}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:e}),t&&(o?r(R,{href:o,...n?{target:n}:{},className:a(c({variant:"primary"}),"flex h-9 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:t}):i?r(x,{onClick:i,text:t,variant:"primary"}):null)]})}function Q({title:e,cta:t,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:n=>n.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:t})]})}function U({children:e}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function X(e){return r(d,{...e,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:e,unit:t="total clicks",prefix:o,children:n,lastClicked:i}){return(!e||e<1e3)&&!i?n:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(e||0,{full:!0})," ",t]}),i&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",y(i,{withAgo:!0})]})]}),children:n})}function Z({children:e,content:t,...o}){return r(d,{content:t,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function $({tooltipContent:e,children:t,...o}){return r(d,{content:e,children:r("div",{className:"flex cursor-pointer items-center",children:r("button",{type:"button",...o,children:t})})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as b}from"./chunk-JESTPNMP.mjs";import{n as g,p as u}from"./chunk-EYP7PSBL.mjs";import{AnimatePresence as k,motion as x}from"framer-motion";import{X as L}from"lucide-react";import{isValidElement as A}from"react";import{Fragment as C,jsx as t,jsxs as s}from"react/jsx-runtime";function I({filters:l,activeFilters:i,onRemove:h,onRemoveAll:w,className:v}){return t(b,{height:!0,className:"w-full",transition:{type:"tween",duration:.3},children:s("div",{className:u("flex w-full flex-wrap items-start gap-4 sm:flex-nowrap sm:items-center",v),children:[t("div",{className:"flex grow flex-wrap gap-x-4 gap-y-2",children:t(k,{children:i==null?void 0:i.map(({key:o,value:a})=>{if(o==="loader")return t(x.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"h-9 w-48 animate-pulse rounded-md border border-gray-200 bg-white"},`loader-${a}`);let e=l.find(r=>r.key===o);if(!e)throw new Error("Filter.List received an activeFilter without a corresponding filter");return(e.multiple&&Array.isArray(a)?a:[a]).map(r=>{var d,c,y;let n=(d=e.options)==null?void 0:d.find(p=>typeof p.value=="string"&&typeof r=="string"?p.value.toLowerCase()===r.toLowerCase():p.value===r),m=(n==null?void 0:n.icon)??((c=e.getOptionIcon)==null?void 0:c.call(e,r,{key:e.key,option:n}))??e.icon,N=(n==null?void 0:n.label)??((y=e.getOptionLabel)==null?void 0:y.call(e,r,{key:e.key,option:n}))??r;return s(x.div,{initial:{opacity:0,y:4},animate:{opacity:1,y:0},className:"flex items-center divide-x rounded-md border border-gray-200 bg-white text-sm text-black",children:[s("div",{className:"flex items-center gap-2.5 px-3 py-2",children:[t("span",{className:"shrink-0 text-gray-600",children:f(e.icon)?e.icon:t(e.icon,{className:"h-4 w-4"})}),e.label]}),t("div",{className:"px-3 py-2 text-gray-500",children:"is"}),t("div",{className:"flex items-center gap-2.5 px-3 py-2",children:e.options?s(C,{children:[t("span",{className:"shrink-0 text-gray-600",children:f(m)?m:t(m,{className:"h-4 w-4"})}),g(N,30)]}):t("div",{className:"h-5 w-12 animate-pulse rounded-md bg-gray-200"})}),t("button",{type:"button",className:"h-full rounded-r-md p-2 text-gray-500 ring-inset ring-gray-500 hover:bg-gray-100 hover:text-gray-800 focus:outline-none focus-visible:ring-1",onClick:()=>h(o,r),children:t(L,{className:"h-3.5 w-3.5"})})]},o)})})})}),(i==null?void 0:i.length)!==0&&t("button",{type:"button",className:"whitespace-nowrap rounded-lg border border-transparent px-3 py-2 text-sm text-gray-500 ring-inset ring-gray-500 transition-colors hover:border-gray-200 hover:bg-white hover:text-black focus:outline-none",onClick:w,children:"Clear Filters"})]})})}var f=l=>A(l);export{I as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as e}from"./chunk-EYP7PSBL.mjs";import{jsx as t}from"react/jsx-runtime";function o({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((n,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{o as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as e}from"./chunk-EKW2J4TE.mjs";import{jsx as l}from"react/jsx-runtime";function i({className:t}){return l("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:e("h-10 w-10 text-black dark:text-white",t),children:l("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32 64C49.6731 64 64 49.6731 64 32C64 20.1555 57.5648 9.81398 48 4.28103V31.9999V47.9999H40V45.8594C37.6466 47.2208 34.9143 47.9999 32 47.9999C23.1634 47.9999 16 40.8365 16 31.9999C16 23.1634 23.1634 15.9999 32 15.9999C34.9143 15.9999 37.6466 16.7791 40 18.1404V1.00814C37.443 0.350024 34.7624 0 32 0C14.3269 0 0 14.3269 0 32C0 49.6731 14.3269 64 32 64Z",fill:"currentColor"})})}export{i as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i}from"./chunk-GTUAEI2Q.mjs";import{jsx as l,jsxs as t}from"react/jsx-runtime";function s({className:a}){return t("svg",{className:i("h-full w-full",a),viewBox:"0 0 222 222",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[l("circle",{cx:"111",cy:"111",r:"111",fill:"url(#paint0_radial_8328_50)"}),t("g",{"clip-path":"url(#clip0_8328_50)",children:[l("path",{d:"M85.0053 196C99.3544 196 111 184.352 111 170V144H85.0053C70.6562 144 59.0105 155.648 59.0105 170C59.0105 184.352 70.6562 196 85.0053 196Z",fill:"#0ACF83"}),l("path",{d:"M59.0105 118C59.0105 103.648 70.6562 92 85.0053 92H111V144H85.0053C70.6562 144 59.0105 132.352 59.0105 118Z",fill:"#A259FF"}),l("path",{d:"M59.0103 66C59.0103 51.648 70.6559 40 85.0051 40H111V92H85.0051C70.6559 92 59.0103 80.352 59.0103 66Z",fill:"#F24E1E"}),l("path",{d:"M111 40H136.995C151.344 40 162.99 51.648 162.99 66C162.99 80.352 151.344 92 136.995 92H111V40Z",fill:"#FF7262"}),l("path",{d:"M162.99 118C162.99 132.352 151.344 144 136.995 144C122.646 144 111 132.352 111 118C111 103.648 122.646 92 136.995 92C151.344 92 162.99 103.648 162.99 118Z",fill:"#1ABCFE"})]}),t("defs",{children:[t("radialGradient",{id:"paint0_radial_8328_50",cx:"0",cy:"0",r:"1",gradientUnits:"userSpaceOnUse",gradientTransform:"translate(226.5 207.5) rotate(-140.591) scale(286.681)",children:[l("stop",{stopColor:"white"}),l("stop",{offset:"0.5",stopColor:"white"}),l("stop",{offset:"1",stopColor:"#E8E8E8"})]}),l("clipPath",{id:"clip0_8328_50",children:l("rect",{width:"104",height:"156",fill:"white",transform:"translate(59 40)"})})]})]})}export{s as a};
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as E}from"./chunk-O3DLC62J.mjs";import{a as W}from"./chunk-5UMBPLXX.mjs";import{a as D}from"./chunk-PE3MN6UU.mjs";import{a as M,d as S,e as L}from"./chunk-ZGXX6G7G.mjs";import{a as H}from"./chunk-FN6Z5LVE.mjs";import{a as x}from"./chunk-ZMUCF3OV.mjs";import{a as V}from"./chunk-WNWCIVVE.mjs";import{k as _}from"./chunk-4MUFXKUU.mjs";import{b as g,d as f,i,k as P,l as w}from"./chunk-USWPT2N2.mjs";import*as a from"@radix-ui/react-navigation-menu";import{cva as X}from"class-variance-authority";import p from"next/link";import{useParams as tt,useSelectedLayoutSegment as et}from"next/navigation";import{createContext as ot}from"react";import rt from"swr";import{useCallback as G,useEffect as T,useState as Z}from"react";function C(r){let[t,m]=Z(!1),n=G(()=>{m(window.scrollY>r)},[r]);return T(()=>(window.addEventListener("scroll",n),()=>window.removeEventListener("scroll",n)),[n]),T(()=>{n()},[n]),t}import*as d from"@radix-ui/react-popover";import{BoxSelect as U,Home as $,LayoutGrid as j,Type as z}from"lucide-react";import{useParams as F}from"next/navigation";import{useCallback as K,useContext as Y,useState as q}from"react";import{toast as I}from"sonner";import{jsx as o,jsxs as B}from"react/jsx-runtime";var J=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
3
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z" fill="black"/>
|
|
4
|
+
</svg>`,Q=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
5
|
+
<path fill-rule="evenodd" clip-rule="evenodd" d="M11 2H14V13.9332L14.0003 13.9731L14.0003 14C14.0003 14.0223 14.0002 14.0445 14 14.0668V21H11V19.7455C9.86619 20.5362 8.48733 21 7.00016 21C3.13408 21 0 17.866 0 14C0 10.134 3.13408 7 7.00016 7C8.48733 7 9.86619 7.46375 11 8.25452V2ZM7 17.9998C9.20914 17.9998 11 16.209 11 13.9999C11 11.7908 9.20914 10 7 10C4.79086 10 3 11.7908 3 13.9999C3 16.209 4.79086 17.9998 7 17.9998ZM32 2H35V8.25474C36.1339 7.46383 37.5128 7 39.0002 7C42.8662 7 46.0003 10.134 46.0003 14C46.0003 17.866 42.8662 21 39.0002 21C35.1341 21 32 17.866 32 14V2ZM39 17.9998C41.2091 17.9998 43 16.209 43 13.9999C43 11.7908 41.2091 10 39 10C36.7909 10 35 11.7908 35 13.9999C35 16.209 36.7909 17.9998 39 17.9998ZM19 7H16V14C16 14.9192 16.1811 15.8295 16.5329 16.6788C16.8846 17.5281 17.4003 18.2997 18.0503 18.9497C18.7003 19.5997 19.472 20.1154 20.3213 20.4671C21.1706 20.8189 22.0809 21 23.0002 21C23.9194 21 24.8297 20.8189 25.679 20.4671C26.5283 20.1154 27.3 19.5997 27.95 18.9497C28.6 18.2997 29.1157 17.5281 29.4675 16.6788C29.8192 15.8295 30.0003 14.9192 30.0003 14H30V7H27V14C27 15.0608 26.5785 16.0782 25.8284 16.8283C25.0783 17.5784 24.0609 17.9998 23 17.9998C21.9391 17.9998 20.9217 17.5784 20.1716 16.8283C19.4215 16.0782 19 15.0608 19 14V7Z" fill="black"/>
|
|
6
|
+
</svg>`;async function R(r){try{await navigator.clipboard.writeText(r),I.success("Copied to clipboard!")}catch(t){console.error("Failed to copy to clipboard.",t),I.error("Failed to copy to clipboard.")}}function A({variant:r="full",isInApp:t,className:m}){let{domain:n="dub.co"}=F(),{theme:l}=Y(N),[b,v]=q(!1),c=K(s=>{s.preventDefault(),v(!0)},[]);return B(d.Root,{open:b,onOpenChange:v,children:[o(d.Anchor,{asChild:!0,children:o("div",{onContextMenu:c,className:"max-w-fit",children:r==="full"?o(H,{className:m}):o(x,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",m)})})}),o(d.Portal,{children:o(d.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5 -translate-x-10",l==="dark"&&"dark"),onClick:s=>{s.stopPropagation(),v(!1)},children:B("div",{className:"grid gap-1 rounded-lg border border-gray-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[o(h,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>R(J),icon:o(x,{className:"h-4 w-4"})}),o(h,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>R(Q),icon:o(z,{strokeWidth:2,className:"h-4 w-4"})}),o(h,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:o(U,{strokeWidth:2,className:"h-4 w-4"})}),t||n!="dub.co"?o(h,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:o($,{strokeWidth:2,className:"h-4 w-4"})}):o(h,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:o(j,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function h({className:r,...t}){return o(_,{className:i("h-9 justify-start px-3 font-medium hover:text-gray-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",r),...t})}import{Fragment as nt,jsx as e,jsxs as u}from"react/jsx-runtime";var N=ot({theme:"light"}),at=[{name:"Product",content:W,childItems:M},{name:"Solutions",content:E,childItems:S},{name:"Customers",href:"/customers"},{name:"Pricing",href:"/pricing"},{name:"Resources",content:D,childItems:L}],O=X(["block rounded-md px-3 py-1.5 text-sm text-gray-900/60 hover:text-gray-900/80","dark:text-white/70 dark:hover:text-white","transition-colors ease-out"],{variants:{isActive:{true:"text-gray-900/80 dark:text-white"}}});function Tt({theme:r="light"}){let{domain:t="dub.co"}=tt(),m=C(80),n=C(40),l=et(),{data:b,isLoading:v}=rt(t==="dub.co"&&"/api/auth/session",P,{dedupingInterval:6e4});return e(N.Provider,{value:{theme:r},children:u("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",r==="dark"&&"dark"),children:[e("div",{className:i("absolute inset-0 block transition-all lg:hidden",n&&(l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-md dark:bg-black/75"))}),e(V,{className:"relative",children:u("div",{className:"flex h-14 items-center justify-between",children:[e(p,{className:"grow basis-0",href:g("/",t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Logo"}),children:e(A,{})}),u(a.Root,{delayDuration:0,className:"relative hidden lg:block",children:[u(a.List,{className:"relative flex flex-row gap-2 px-2 py-0.5",children:[e("div",{className:"absolute inset-0 -z-[1]",children:e("div",{className:i("absolute left-1/2 top-1/2 h-full w-full -translate-x-1/2 -translate-y-1/2 rounded-full border border-gray-200 drop-shadow-sm transition-all dark:border-white/10",l&&w.includes(l)?"bg-white dark:bg-black":"bg-white/75 backdrop-blur-lg dark:bg-black/75",m&&"h-14 w-screen rounded-none drop-shadow-none")})}),at.map(({name:c,href:s,content:k})=>{let y=s===`/${l}`||s==="/"&&l===null;return u(a.Item,{children:[e(it,{trigger:!!k,children:s!==void 0?e(p,{id:`nav-${s}`,href:g(s,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:c}),className:O({isActive:y}),children:c}):e("button",{className:i(O({isActive:y}),"cursor-default"),children:c})}),k&&e(a.Content,{className:"data-[motion=from-start]:animate-enter-from-left data-[motion=from-end]:animate-enter-from-right data-[motion=to-start]:animate-exit-to-left data-[motion=to-end]:animate-exit-to-right absolute left-0 top-0",children:e(k,{domain:t})})]},c)})]}),e("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:e(a.Viewport,{className:i("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-gray-200 bg-white shadow-md dark:border-white/[0.15] dark:bg-black","data-[state=closed]:animate-scale-out-content data-[state=open]:animate-scale-in-content","h-[var(--radix-navigation-menu-viewport-height)] w-[var(--radix-navigation-menu-viewport-width)] transition-[width,height]")})})]}),e("div",{className:"hidden grow basis-0 justify-end lg:flex",children:b&&Object.keys(b).length>0?e(p,{href:f,className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Dashboard"}):v?null:u(nt,{children:[e(p,{href:g(`${f}/login`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Login"}),className:"animate-fade-in rounded-full px-4 py-1.5 text-sm font-medium text-gray-500 transition-colors ease-out hover:text-black dark:text-white dark:hover:text-white/70",children:"Log in"}),e(p,{href:g(`${f}/register`,t,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:t,utm_content:"Sign Up"}),className:"animate-fade-in rounded-full border border-black bg-black px-4 py-1.5 text-sm text-white transition-all hover:bg-gray-800 hover:ring-4 hover:ring-gray-200 dark:border-white dark:bg-white dark:text-gray-600 dark:hover:bg-white dark:hover:text-gray-800 dark:hover:hover:shadow-[0_0_25px_5px_rgba(256,256,256,0.2)] dark:hover:ring-0",children:"Sign Up"})]})})]})})]})})}function it({trigger:r,children:t}){return r?e(a.Trigger,{asChild:!0,children:t}):t}export{C as a,N as b,at as c,Tt as d,A as e};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{b as c}from"./chunk-ZA56CB4Q.mjs";import{c as s,g as m}from"./chunk-EKW2J4TE.mjs";import*as n from"@radix-ui/react-tooltip";import d from"linkify-react";import{HelpCircle as x}from"lucide-react";import u from"next/link";import{useState as f}from"react";import{jsx as t,jsxs as a}from"react/jsx-runtime";function P({children:e}){return t(n.Provider,{delayDuration:100,children:e})}function p({children:e,content:o,side:r="top"}){let[l,i]=f(!1);return a(n.Root,{open:l,onOpenChange:i,delayDuration:0,children:[t(n.Trigger,{asChild:!0,onClick:()=>{i(!0)},onBlur:()=>{i(!1)},children:e}),t(n.Portal,{children:t(n.Content,{sideOffset:8,side:r,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,children:typeof o=="string"?t("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:o}):typeof o=="function"?o({setOpen:i}):o})})]})}function k({title:e,cta:o,href:r,target:l,onClick:i}){return a("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[t("p",{className:"text-sm text-gray-700",children:e}),o&&(r?t(u,{href:r,...l?{target:l}:{},className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",children:o}):i?t("button",{type:"button",className:"mt-4 w-full rounded-md border border-black bg-black px-3 py-1.5 text-center text-sm text-white transition-all hover:bg-white hover:text-black",onClick:i,children:o}):null)]})}function w({title:e,cta:o,href:r}){return a("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",t("a",{href:r,target:"_blank",rel:"noopener noreferrer",onClick:l=>l.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:o})]})}function C({children:e}){return t("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:t(d,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function R(e){return t(p,{...e,children:t(x,{className:"h-4 w-4 text-gray-500"})})}function B({value:e,unit:o="total clicks",prefix:r,children:l,lastClicked:i}){return(!e||e<1e3)&&!i?l:t(p,{content:a("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[a("p",{className:"text-sm font-semibold text-gray-700",children:[r,s(e||0,{full:!0})," ",o]}),i&&a("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",m(i,{withAgo:!0})]})]}),children:l})}function L({children:e,content:o,...r}){return t(p,{content:o,...r,children:t("div",{className:"flex cursor-pointer items-center",children:t(c,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function O({tooltipContent:e,children:o,...r}){return t(p,{content:e,children:t("div",{className:"flex cursor-pointer items-center",children:t("button",{type:"button",...r,children:o})})})}export{P as a,p as b,k as c,w as d,C as e,R as f,B as g,L as h,O as i};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as C}from"./chunk-GTUAEI2Q.mjs";import{jsx as e,jsxs as o}from"react/jsx-runtime";function V({className:l}){return o("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:C("h-6 w-auto text-black dark:text-white",l),children:[e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M106.5 8H112.5V31.8666C112.5 31.911 112.501 31.9554 112.501 31.9999C112.501 32.0444 112.5 32.0888 112.5 32.1332V46H106.5V43.4909C104.232 45.0724 101.475 45.9999 98.5003 45.9999C90.7682 45.9999 84.5 39.7319 84.5 31.9999C84.5 24.2679 90.7682 17.9999 98.5003 17.9999C101.475 17.9999 104.232 18.9274 106.5 20.5089V8ZM98.5 39.9996C102.918 39.9996 106.5 36.418 106.5 31.9998C106.5 27.5816 102.918 24 98.5 24C94.0818 24 90.5 27.5816 90.5 31.9998C90.5 36.418 94.0818 39.9996 98.5 39.9996ZM148.5 8.0001H154.5V20.5096C156.768 18.9278 159.526 18.0002 162.5 18.0002C170.233 18.0002 176.501 24.2682 176.501 32.0002C176.501 39.7322 170.233 46.0002 162.5 46.0002C154.768 46.0002 148.5 39.7322 148.5 32.0002V32.0001V8.0001ZM162.5 39.9997C166.918 39.9997 170.5 36.4181 170.5 31.9999C170.5 27.5817 166.918 24.0001 162.5 24.0001C158.082 24.0001 154.5 27.5817 154.5 31.9999C154.5 36.4181 158.082 39.9997 162.5 39.9997ZM122.5 18H116.5V32C116.5 33.8385 116.862 35.659 117.566 37.3576C118.269 39.0561 119.301 40.5995 120.601 41.8995C121.901 43.1995 123.444 44.2307 125.143 44.9343C126.841 45.6379 128.662 46 130.5 46C132.339 46 134.159 45.6379 135.858 44.9343C137.557 44.2307 139.1 43.1995 140.4 41.8995C141.7 40.5995 142.731 39.0561 143.435 37.3576C144.139 35.659 144.501 33.8385 144.501 32H144.5V18H138.5V32H138.5C138.5 34.1216 137.657 36.1563 136.157 37.6566C134.657 39.1568 132.622 39.9996 130.5 39.9996C128.378 39.9996 126.344 39.1568 124.843 37.6566C123.343 36.1563 122.5 34.1216 122.5 32H122.5V18Z",fill:"currentColor"}),e("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M32.5 64C50.1731 64 64.5 49.6731 64.5 32C64.5 20.1555 58.0648 9.81393 48.5 4.28099V31.9999V47.9998H40.5V45.8594C38.1466 47.2207 35.4143 47.9999 32.5 47.9999C23.6634 47.9999 16.5 40.8364 16.5 31.9999C16.5 23.1633 23.6634 15.9999 32.5 15.9999C35.4143 15.9999 38.1466 16.779 40.5 18.1404V1.00812C37.943 0.350018 35.2624 0 32.5 0C14.8269 0 0.500038 14.3269 0.500038 32C0.500038 49.6731 14.8269 64 32.5 64Z",fill:"currentColor"})]})}export{V as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as r}from"./chunk-EKW2J4TE.mjs";import*as e from"@radix-ui/react-accordion";import{ChevronDown as m}from"lucide-react";import*as c from"react";import{jsx as n,jsxs as l}from"react/jsx-runtime";var v=e.Root,d=c.forwardRef(({className:o,...t},i)=>n(e.Item,{ref:i,className:r("border-b border-b-slate-200 py-3 last:border-none",o),...t}));d.displayName="AccordionItem";var s=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Header,{className:"flex",children:l(e.Trigger,{ref:a,className:r("flex flex-1 items-center justify-between font-medium transition-all sm:text-lg [&[data-state=open]>svg]:rotate-180",o),...i,children:[t,n(m,{className:"h-5 w-5 flex-none transition-transform duration-300"})]})}));s.displayName=e.Trigger.displayName;var f=c.forwardRef(({className:o,children:t,...i},a)=>n(e.Content,{ref:a,className:r("data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down overflow-hidden text-sm text-gray-500 transition-all sm:text-base",o),...i,children:t}));f.displayName=e.Content.displayName;export{v as a,d as b,s as c,f as d};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{p as a}from"./chunk-EYP7PSBL.mjs";import{jsx as n}from"react/jsx-runtime";function l({user:e={},className:r}){return e?n("img",{alt:`Avatar for ${e.name||e.email}`,referrerPolicy:"no-referrer",src:e.image||`https://api.dicebear.com/7.x/micah/svg?seed=${e.id||e.email}`,className:a("h-10 w-10 rounded-full border border-gray-300",r),draggable:!1}):n("div",{className:a("h-10 w-10 animate-pulse rounded-full border border-gray-300 bg-gray-100",r)})}function d({id:e,className:r}){return n("img",{src:`https://api.dicebear.com/7.x/shapes/svg?seed=${e}`,alt:"avatar",className:a("h-10 w-10 rounded-full",r),draggable:!1})}export{l as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{k as r}from"./chunk-AO3XZCQ3.mjs";import{k as l}from"./chunk-EYP7PSBL.mjs";import{Fragment as p,jsx as e,jsxs as i}from"react/jsx-runtime";function c({page:s,onPageChange:d,pageSize:t=l,totalCount:a,resourceName:m=n=>`item${n?"s":""}`,children:o}){return i(p,{children:[e("div",{className:"h-[90px]"}),e("div",{className:"fixed bottom-4 left-1/2 w-full max-w-[768px] -translate-x-1/2 px-2.5 max-[920px]:bottom-5 max-[920px]:pr-20",children:i("nav",{className:"flex w-full items-center justify-between rounded-xl border border-gray-200 bg-white px-4 py-3.5 text-sm leading-6 text-gray-600 [filter:drop-shadow(0_5px_8px_#222A351d)]",children:[i("div",{className:"flex items-center gap-2",children:[i("div",{children:[e("span",{className:"hidden sm:inline-block",children:"Viewing"})," ",i("span",{className:"font-medium",children:[s*t+(a?1:0),"-",Math.min(s*t+t,a)]})," ","of"," ",e("span",{className:"font-medium",children:a.toLocaleString()})," ",(m==null?void 0:m(a!==1))||"items"]}),o]}),i("div",{className:"flex items-center gap-2",children:[e(r,{variant:"secondary",text:"Previous",className:"h-7 px-2",onClick:()=>d(n=>n-1),disabled:s<1}),e(r,{variant:"secondary",text:"Next",className:"h-7 px-2",onClick:()=>d(n=>n+1),disabled:(s+1)*t>=a})]})]})})]})}export{c as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as v}from"./chunk-EAEI3KDY.mjs";import{b as h}from"./chunk-TLMC3GAF.mjs";import{c as f,g as y,i as a}from"./chunk-USWPT2N2.mjs";import*as l from"@radix-ui/react-tooltip";import k from"linkify-react";import{HelpCircle as B}from"lucide-react";import R from"next/link";import{useState as C}from"react";import{cva as w}from"class-variance-authority";import{forwardRef as P}from"react";import{jsx as p,jsxs as T}from"react/jsx-runtime";var c=w("transition-all",{variants:{variant:{primary:"border-black bg-black text-white hover:bg-gray-800 hover:ring-4 hover:ring-gray-200",secondary:a("border-gray-200 bg-white text-gray-900 hover:bg-gray-50 focus-visible:border-gray-500 outline-none","data-[state=open]:border-gray-500 data-[state=open]:ring-4 data-[state=open]:ring-gray-200"),outline:"border-transparent text-gray-500 duration-75 hover:bg-gray-100",success:"border-blue-500 bg-blue-500 text-white hover:bg-blue-600 hover:ring-4 hover:ring-blue-100",danger:"border-red-500 bg-red-500 text-white hover:bg-red-600 hover:ring-4 hover:ring-red-100","danger-outline":"border-transparent bg-white text-red-500 hover:bg-red-600 hover:text-white"}},defaultVariants:{variant:"primary"}}),x=P(({text:e,variant:t="primary",className:o,textWrapperClassName:n,loading:i,icon:u,shortcut:s,disabledTooltip:b,...m},N)=>b?p(d,{content:b,children:T("div",{className:a("flex h-10 w-full cursor-not-allowed items-center justify-center gap-x-2 rounded-md border border-gray-200 bg-gray-100 px-4 text-sm text-gray-400 transition-all focus:outline-none",{"border-transparent bg-transparent":t==null?void 0:t.endsWith("outline")},o),children:[u,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded bg-gray-200 px-2 py-0.5 text-xs font-light text-gray-400 md:inline-block",{"bg-gray-100":t==null?void 0:t.endsWith("outline")}),children:s})]})}):T("button",{ref:N,type:m.onClick?"button":"submit",className:a("group flex h-10 w-full items-center justify-center gap-2 whitespace-nowrap rounded-md border px-4 text-sm",m.disabled||i?"cursor-not-allowed border-gray-200 bg-gray-100 text-gray-400":c({variant:t}),o),disabled:m.disabled||i,...m,children:[i?p(v,{}):u||null,e&&p("div",{className:a("min-w-0 truncate",s&&"flex-1 text-left",n),children:e}),s&&p("kbd",{className:a("hidden rounded px-2 py-0.5 text-xs font-light transition-all duration-75 md:inline-block",{"bg-gray-700 text-gray-400 group-hover:bg-gray-600 group-hover:text-gray-300":t==="primary","bg-gray-200 text-gray-400 group-hover:bg-gray-100 group-hover:text-gray-500":t==="secondary","bg-gray-100 text-gray-500 group-hover:bg-gray-200":t==="outline","bg-red-100 text-red-600 group-hover:bg-red-500 group-hover:text-white":t==="danger-outline"}),children:s})]}));x.displayName="Button";import{jsx as r,jsxs as g}from"react/jsx-runtime";function J({children:e}){return r(l.Provider,{delayDuration:100,children:e})}function d({children:e,content:t,side:o="top"}){let[n,i]=C(!1);return g(l.Root,{open:n,onOpenChange:i,delayDuration:0,children:[r(l.Trigger,{asChild:!0,onClick:()=>{i(!0)},onBlur:()=>{i(!1)},children:e}),r(l.Portal,{children:r(l.Content,{sideOffset:8,side:o,className:"animate-slide-up-fade z-[99] items-center overflow-hidden rounded-xl border border-gray-200 bg-white shadow-sm",collisionPadding:0,children:typeof t=="string"?r("span",{className:"block max-w-xs text-pretty px-4 py-2 text-center text-sm text-gray-700",children:t}):typeof t=="function"?t({setOpen:i}):t})})]})}function K({title:e,cta:t,href:o,target:n,onClick:i}){return g("div",{className:"flex max-w-xs flex-col items-center space-y-3 p-4 text-center",children:[r("p",{className:"text-sm text-gray-700",children:e}),t&&(o?r(R,{href:o,...n?{target:n}:{},className:a(c({variant:"primary"}),"flex h-10 w-full items-center justify-center whitespace-nowrap rounded-lg border px-4 text-sm"),children:t}):i?r(x,{onClick:i,text:t,variant:"primary"}):null)]})}function Q({title:e,cta:t,href:o}){return g("div",{className:"max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[e," ",r("a",{href:o,target:"_blank",rel:"noopener noreferrer",onClick:n=>n.stopPropagation(),className:"inline-flex text-gray-500 underline underline-offset-4 hover:text-gray-800",children:t})]})}function U({children:e}){return r("div",{className:"block max-w-md whitespace-pre-wrap px-4 py-2 text-center text-sm text-gray-700",children:r(k,{as:"p",options:{target:"_blank",rel:"noopener noreferrer nofollow",className:"underline underline-offset-4 text-gray-400 hover:text-gray-700"},children:e})})}function X(e){return r(d,{...e,children:r(B,{className:"h-4 w-4 text-gray-500"})})}function Y({value:e,unit:t="total clicks",prefix:o,children:n,lastClicked:i}){return(!e||e<1e3)&&!i?n:r(d,{content:g("div",{className:"block max-w-xs px-4 py-2 text-center text-sm text-gray-700",children:[g("p",{className:"text-sm font-semibold text-gray-700",children:[o,f(e||0,{full:!0})," ",t]}),i&&g("p",{className:"mt-1 text-xs text-gray-500",suppressHydrationWarning:!0,children:["Last clicked ",y(i,{withAgo:!0})]})]}),children:n})}function Z({children:e,content:t,...o}){return r(d,{content:t,...o,children:r("div",{className:"flex cursor-pointer items-center",children:r(h,{variant:"gray",className:"border-gray-300 transition-all hover:bg-gray-200",children:e})})})}function $({tooltipContent:e,children:t,...o}){return r(d,{content:e,children:r("div",{className:"flex cursor-pointer items-center",children:r("button",{type:"button",...o,children:t})})})}export{J as a,d as b,K as c,Q as d,U as e,X as f,Y as g,Z as h,$ as i,c as j,x as k};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as t}from"./chunk-IJHXYV46.mjs";import{a as o}from"./chunk-QC6GZ7KR.mjs";import{j as m,p as s}from"./chunk-EYP7PSBL.mjs";import{jsx as e}from"react/jsx-runtime";function n({apexDomain:r,className:l}){return r?e(t,{src:`${m}${r}`,alt:r,className:s("h-8 w-8 rounded-full sm:h-10 sm:w-10",l),width:20,height:20,draggable:!1}):e("div",{className:s("flex h-8 w-8 items-center justify-center rounded-full bg-gray-100 px-0 sm:h-10 sm:w-10",l),children:e(o,{className:"h-4 w-4 text-gray-600 sm:h-5 sm:w-5"})})}export{n as a};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{i as a}from"./chunk-EKW2J4TE.mjs";import*as i from"@radix-ui/react-radio-group";import{Circle as p}from"lucide-react";import*as m from"react";import{jsx as e}from"react/jsx-runtime";var s=m.forwardRef(({className:o,...r},t)=>e(i.Root,{className:a("grid gap-2",o),...r,ref:t}));s.displayName=i.Root.displayName;var d=m.forwardRef(({className:o,...r},t)=>e(i.Item,{ref:t,className:a("border-primary text-primary ring-offset-background focus-visible:ring-ring aspect-square h-4 w-4 rounded-full border focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 disabled:cursor-not-allowed disabled:opacity-50",o),...r,children:e(i.Indicator,{className:"flex items-center justify-center",children:e(p,{className:"h-2.5 w-2.5 fill-current text-current"})})}));d.displayName=i.Item.displayName;export{s as a,d as b};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
"use client"
|
|
2
|
+
import{a as p}from"./chunk-NWME2ANF.mjs";import{a as y}from"./chunk-2TGXECZQ.mjs";import{a as s}from"./chunk-BCCCSZXG.mjs";import{a as g,e as f,o as b}from"./chunk-EYP7PSBL.mjs";import{Link2 as v}from"lucide-react";import{useRouter as R,useSearchParams as k}from"next/navigation";import{useEffect as E,useMemo as P,useRef as W}from"react";import M from"swr";import{useDebounce as U}from"use-debounce";import{Fragment as h,jsx as e,jsxs as r}from"react/jsx-runtime";function H({defaultUrl:t}){let x=R(),l=k(),i=t||(l==null?void 0:l.get("url"))||"https://github.com/dubinc/dub",[a]=U(g(i),500),d=P(()=>f(a||""),[a]),{data:N,isValidating:w}=M(a&&`/api/metatags?url=${encodeURIComponent(a)}`,b,{revalidateOnFocus:!1}),{title:n,description:u,image:c}=N||{},o=W(null);E(()=>{!t&&o.current&&o.current.select()},[t]);let{isMobile:L}=p();return r(h,{children:[!t&&r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{ref:o,name:"url",id:"url",type:"url",autoFocus:!L,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:i,onChange:m=>x.replace(`/tools/metatags${m.target.value.length>0?`?url=${m.target.value}`:""}`),"aria-invalid":"true"})]}),r("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:[w&&e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})}),c?e("img",{src:c,alt:"Preview",className:"h-[250px] w-full border-b border-gray-300 object-cover"}):r("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300",children:[e(y,{className:"h-8 w-8 text-gray-400"}),e("p",{className:"text-sm text-gray-400",children:"Enter a link to generate a preview."})]}),r("div",{className:"grid gap-1 bg-white p-3 text-left",children:[d?e("p",{className:"text-sm text-[#536471]",children:d}):e("div",{className:"mb-1 h-4 w-24 rounded-md bg-gray-100"}),n?e("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:n}):e("div",{className:"mb-1 h-4 w-full rounded-md bg-gray-100"}),u?e("p",{className:"line-clamp-2 text-sm text-[#536471]",children:u}):r("div",{className:"grid gap-2",children:[e("div",{className:"h-4 w-full rounded-md bg-gray-100"}),e("div",{className:"h-4 w-48 rounded-md bg-gray-100"})]})]})]})]})}function O({defaultUrl:t}){return r(h,{children:[r("div",{className:"relative flex items-center",children:[e(v,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-gray-400"}),e("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-gray-200 pl-10 text-sm text-gray-900 placeholder-gray-400 shadow-lg focus:border-gray-500 focus:outline-none focus:ring-gray-500",placeholder:"Enter your URL",defaultValue:t||"https://github.com/dubinc/dub"})]}),e("div",{className:"relative overflow-hidden rounded-md border border-gray-300 bg-gray-50",children:e("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-gray-300 bg-gray-50",children:e(s,{})})})]})}export{H as a,O as b};
|