@dub/ui 0.2.28 → 0.2.30
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/index.mjs +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -45,8 +45,8 @@ void main(void) {
|
|
|
45
45
|
radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%),
|
|
46
46
|
radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%),
|
|
47
47
|
radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%),
|
|
48
|
-
radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%)`,position:"absolute",height:"100%",filter:"blur(100px) saturate(150%)",top:"80px",opacity:.15}};import fu from"next/image";import Ee from"next/link";import{useParams as gu}from"next/navigation";import{useEffect as hu,useState as Xn}from"react";import vu from"swr";import{jsx as Mn}from"react/jsx-runtime";function Rn(e){return Mn("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Mn("path",{d:"M10.1552 10.5H5.8442C3.15868 10.5 0.840663 8.4364 0.706388 5.75088C0.565045 2.88163 2.86186 0.5 5.70285 0.5H10.1622C12.9184 0.5 15.3071 2.74028 15.3 5.50353C15.3 5.95583 14.9325 6.32332 14.4732 6.32332H3.8442C3.61805 6.32332 3.4343 6.13958 3.4343 5.91343V5.08657C3.4343 4.86042 3.61805 4.67668 3.8442 4.67668H13.2647C12.8972 3.22792 11.5827 2.14664 10.0138 2.14664H6.10568C4.32476 2.14664 2.76292 3.4894 2.64278 5.27032C2.51557 7.22085 4.06328 8.85336 5.98554 8.85336H10.1552C11.2435 8.85336 12.1198 8.33039 12.7488 7.43993L12.9891 7.10777C13.1233 6.92403 13.3778 6.88163 13.5615 7.00883L14.5156 7.4894C14.6993 7.62367 14.7417 7.87809 14.6145 8.06184L14.3742 8.39399C13.4414 9.71555 11.7806 10.5 10.1552 10.5Z",fill:"currentColor"})})}var vr=[{title:"Dub Links",description:"Short links with superpowers",icon:fa,href:"/home"},{title:"Dub Analytics",description:"Powerful real-time analytics",icon:ba,href:"/analytics"},{title:"Dub API",description:"Programmatic link creation at scale",icon:Bt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Vt,href:"/docs/integrations"}],Tn=[{icon:Vo,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"Programmatic link sharing",href:"/customers/raycast"},{icon:Ho,iconClassName:"group-hover:text-[#FF6154]",title:"Product Hunt",description:"Unlocking new growth",href:"/customers/product-hunt"},{icon:Rn,iconClassName:"group-hover:text-[#353D7C]",title:"Elxo",description:"Overcoming API latency",href:"/customers/elxo"}],lo=[{icon:Go,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:Wo,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:Bo,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:Uo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:Fo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],Ln=[{icon:Ft,title:"Marketing Attribution",description:"Easily track and measure marketing impact",href:"/analytics"},{icon:Wt,title:"Content Creators",description:"Intelligent audience insights and link tracking",href:"/solutions/creators"},{icon:Gt,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"},{label:"SDKs",items:lo}],br=[{icon:Ko,title:"Docs",description:"Platform documentation",href:"/docs/introduction"},{icon:ua,title:"Help Center",description:"Answers to your questions",href:"/help"},{icon:ia,title:"Blog",description:"Insights and stories",href:"/blog"},{icon:jo,title:"Changelog",description:"Releases and updates",href:"/changelog"},{icon:ma,title:"Customers",description:"Success stories and use cases",href:"/customers"},{icon:pa,title:"Dub Brand",description:"Logos, wordmark, etc.",href:"/brand"}],xr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],En=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}],n4=[{name:"X (Twitter)",icon:_t,href:"https://x.com/dubdotco"},{name:"LinkedIn",icon:Ot,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:zt,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:Ht,href:"https://www.youtube.com/@dubdotco"}];import{jsx as Ed}from"react/jsx-runtime";function yr({className:e,children:t}){return Ed("div",{className:i("mx-auto w-full max-w-screen-xl px-3 lg:px-10",e),children:t})}import*as Ve from"@radix-ui/react-popover";import{BoxSelect as ou,Home as au,LayoutGrid as nu,Type as iu}from"lucide-react";import{useParams as su}from"next/navigation";import{useCallback as lu,useContext as cu,useState as du}from"react";import{toast as uu}from"sonner";import{jsx as An}from"react/jsx-runtime";function co({className:e}){return An("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-10 w-10 text-black dark:text-white",e),children:An("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"})})}import*as de from"@radix-ui/react-navigation-menu";import{LayoutGroup as Fd}from"framer-motion";import Tt from"next/link";import{useParams as Wd,usePathname as Ud}from"next/navigation";import{createContext as Gd,useId as $d}from"react";import Kd from"swr";import{Link as _n}from"@radix-ui/react-navigation-menu";import Hn from"next/link";import{jsx as P,jsxs as uo}from"react/jsx-runtime";function Dn(e){return uo("svg",{xmlns:"http://www.w3.org/2000/svg",width:"349",height:"290",fill:"none",viewBox:"0 0 349 290",...e,className:i("pointer-events-none [--bg:white] [--grid:#e5e5e5] dark:[--bg:black] dark:[--grid:#fff2]",e.className),children:[uo("g",{className:"text-[var(--grid)]",children:[P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M12.667 1h48v48h-48zM60.667 1h48v48h-48zM108.667 1h48v48h-48zM156.667 1h48v48h-48zM204.667 1h48v48h-48zM252.667 1h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 1h48v48h-48zM12.667 49h48v48h-48zM60.667 49h48v48h-48zM108.667 49h48v48h-48zM156.667 49h48v48h-48zM204.667 49h48v48h-48zM252.667 49h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 49h48v48h-48zM12.667 97h48v48h-48zM60.667 97h48v48h-48zM108.667 97h48v48h-48zM156.667 97h48v48h-48zM204.667 97h48v48h-48zM252.667 97h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 97h48v48h-48zM12.667 145h48v48h-48zM60.667 145h48v48h-48zM108.667 145h48v48h-48zM156.667 145h48v48h-48zM204.667 145h48v48h-48zM252.667 145h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 145h48v48h-48zM12.667 193h48v48h-48zM60.667 193h48v48h-48zM108.667 193h48v48h-48zM156.667 193h48v48h-48zM204.667 193h48v48h-48zM252.667 193h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 193h48v48h-48zM12.667 241h48v48h-48zM60.667 241h48v48h-48zM108.667 241h48v48h-48zM156.667 241h48v48h-48zM204.667 241h48v48h-48zM252.667 241h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 241h48v48h-48z"})]}),P("path",{stroke:"#14B8A6",d:"M.667 196.5c93-1 267-35.5 324.5-184.5"}),P("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M204.667 145h96v48h-96z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M204.667 145h96v48h-96z"}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"158.909",children:"Clicks"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"158.909",children:"12.5K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"171.909",children:"Leads"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"171.909",children:"8.2K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"184.909",children:"Sales"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"184.909",children:"$10K"})}),P("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M108.667 193h96v48h-96z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M108.667 193h96v48h-96z"}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"206.909",children:"Desktop"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"206.909",children:"2.5K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"219.909",children:"Mobile"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"219.909",children:"1.3K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"232.909",children:"Tablet"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"232.909",children:"402"})}),P("g",{filter:"url(#a)",children:P("circle",{cx:"204.667",cy:"145",r:"3",fill:"#14B8A6"})}),P("circle",{cx:"204.667",cy:"145",r:"4",stroke:"#3EC5B8",strokeOpacity:"0.3",strokeWidth:"2"}),P("defs",{children:uo("filter",{id:"a",width:"10",height:"12",x:"199.667",y:"140",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[P("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),P("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),P("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),P("feOffset",{dy:"2"}),P("feGaussianBlur",{stdDeviation:"1"}),P("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),P("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.65 0"}),P("feBlend",{in2:"shape",result:"effect1_innerShadow_9_286"})]})})]})}import{useId as Ad}from"react";import{jsx as m,jsxs as B}from"react/jsx-runtime";function In(e){let t=Ad();return B("svg",{xmlns:"http://www.w3.org/2000/svg",width:"336",height:"336",fill:"none",viewBox:"0 0 336 336",...e,className:i("pointer-events-none text-[var(--fg)] [--bg:white] [--fg:#222] [--grid:#e5e5e5] dark:[--bg:black] dark:[--fg:#fffa] dark:[--grid:#fff2]",e.className),children:[B("g",{clipPath:`url(#${t}-a)`,children:[m("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M0 0h48v48H0zM48 0h48v48H48zM96 0h48v48H96zM144 0h48v48h-48zM192 0h48v48h-48zM240 0h48v48h-48zM288 0h48v48h-48zM0 48h48v48H0zM48 48h48v48H48zM96 48h48v48H96zM144 48h48v48h-48zM192 48h48v48h-48zM240 48h48v48h-48zM288 48h48v48h-48zM0 96h48v48H0zM48 96h48v48H48zM96 96h48v48H96zM144 96h48v48h-48zM192 96h48v48h-48zM240 96h48v48h-48zM288 96h48v48h-48zM0 144h48v48H0zM48 144h48v48H48zM96 144h48v48H96zM144 144h48v48h-48zM192 144h48v48h-48zM240 144h48v48h-48zM288 144h48v48h-48zM0 192h48v48H0zM48 192h48v48H48zM96 192h48v48H96zM144 192h48v48h-48zM192 192h48v48h-48zM240 192h48v48h-48zM288 192h48v48h-48zM0 240h48v48H0zM48 240h48v48H48zM96 240h48v48H96zM144 240h48v48h-48zM192 240h48v48h-48zM240 240h48v48h-48zM288 240h48v48h-48zM0 288h48v48H0zM48 288h48v48H48zM96 288h48v48H96zM144 288h48v48h-48zM192 288h48v48h-48zM240 288h48v48h-48zM288 288h48v48h-48z"}),m("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),m("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),m("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),m("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),m("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),m("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),m("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),m("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),m("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),m("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),m("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),m("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),m("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),m("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),B("g",{children:[m("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M235.276 100.891a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.389 96.333a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M235.276 91.776a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.367 102.288a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 98.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 93.868a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.368 90.38a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M238.889 243.778h-3.556a1.777 1.777 0 0 1-1.777-1.778v-4c0-.982.795-1.778 1.777-1.778h9.334c.982 0 1.777.796 1.777 1.778v.222"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M236.889 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778M240 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778"}),m("path",{fill:"currentColor",fillOpacity:"0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M246 242.889h-3.556a.89.89 0 0 0-.888.889v1.777c0 .491.398.889.888.889H246a.89.89 0 0 0 .889-.889v-1.777a.89.89 0 0 0-.889-.889"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M188.667 90h-2a.666.666 0 0 0-.667.667v2c0 .368.298.666.667.666h2a.666.666 0 0 0 .666-.666v-2a.666.666 0 0 0-.666-.667M197.333 90h-2a.666.666 0 0 0-.666.667v2c0 .368.298.666.666.666h2a.667.667 0 0 0 .667-.666v-2a.667.667 0 0 0-.667-.667M188.667 98.667h-2a.666.666 0 0 0-.667.666v2c0 .368.298.667.667.667h2a.667.667 0 0 0 .666-.667v-2a.666.666 0 0 0-.666-.666M198 98.667h-2a1.333 1.333 0 0 0-1.333 1.333v2M198 102v.01M192 92.667v2A1.334 1.334 0 0 1 190.667 96h-2M186 96h.01M192 90h.01M192 98.667v.01M194.667 96h.666M198 96v.01M192 102v-.667"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M192 246.445a6.445 6.445 0 1 0-.002-12.89 6.445 6.445 0 0 0 .002 12.89M192 238.222v-2M193.778 240h2M192 241.778v2M190.222 240h-2"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M148.667 90h-9.334c-.736 0-1.333.597-1.333 1.333v9.334c0 .736.597 1.333 1.333 1.333h9.334c.736 0 1.333-.597 1.333-1.333v-9.334c0-.736-.597-1.333-1.333-1.333"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M142 95.333a1.333 1.333 0 1 0 0-2.666 1.333 1.333 0 0 0 0 2.666M150 98l-2.057-2.057a1.334 1.334 0 0 0-1.886 0L140 102"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M138.889 234h4.375c.471 0 .924.188 1.257.521l5.111 5.111c.694.694.694 1.82 0 2.514l-3.486 3.486a1.78 1.78 0 0 1-2.514 0l-5.111-5.111a1.78 1.78 0 0 1-.521-1.257v-4.375c0-.491.398-.889.889-.889"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M141.556 238.667a1.112 1.112 0 1 0-.002-2.224 1.112 1.112 0 0 0 .002 2.224"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m97.258 101.854 4.596-4.597a1.777 1.777 0 0 0 0-2.514l-4.596-4.597a1.78 1.78 0 0 0-2.514 0l-4.597 4.597a1.78 1.78 0 0 0 0 2.514l4.597 4.597c.694.694 1.82.694 2.514 0"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M92.667 246.444a2.222 2.222 0 1 0 .001-4.443 2.222 2.222 0 0 0-.001 4.443M99.333 246.444a2.222 2.222 0 1 0 .002-4.443 2.222 2.222 0 0 0-.002 4.443M98.563 233.556h-5.126a.89.89 0 0 0-.88.763l-.335 2.348-2.666 2.666h12.888l-2.666-2.666-.335-2.348a.89.89 0 0 0-.88-.763M92.222 236.667h7.556"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),m("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:m("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),m("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:m("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),m("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),B("g",{children:[m("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),m("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),m("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),m("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:m("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),m("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),m("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),m("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:m("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),m("path",{className:"text-[var(--fg)]",fill:"currentColor",fillOpacity:"0.04",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),m("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),m("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:m("path",{d:"m240.395 167.185 4.876 1.673c.148.051.15.259.004.313l-2.186.822a.17.17 0 0 0-.097.098l-.822 2.186a.166.166 0 0 1-.313-.005l-1.674-4.876a.167.167 0 0 1 .212-.212zM243.019 170.021l2.808 2.808M240.165 163.167v1.333M242.995 164.338l-.943.943M237.338 169.995l.943-.943M236.166 167.166h1.333M237.338 164.338l.943.943"})}),m("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:m("tspan",{x:"251",y:"171.636",children:"51K"})})]}),B("defs",{children:[B("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EAB308",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#EAB308"})]}),B("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EAB308",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#EAB308"})]}),B("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#030712",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),B("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[m("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),m("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),B("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[m("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),m("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),m("clipPath",{id:`${t}-a`,children:m("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),m("clipPath",{id:`${t}-y`,children:m("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),m("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:m("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),m("image",{href:`${It}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}import{Link as zn}from"@radix-ui/react-navigation-menu";import On from"next/link";import{jsx as we,jsxs as wr}from"react/jsx-runtime";var lt="text-xs uppercase text-neutral-500 dark:text-white/60",Dd="group rounded-[8px] p-2 transition-colors hover:bg-neutral-50 active:bg-neutral-100 dark:hover:bg-white/[0.15] dark:active:bg-white/20",te=({domain:e,...t})=>({utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,...t});function ct({icon:e,title:t,description:r,descriptionLines:o=1,className:a,showArrow:l,...c}){return we(zn,{asChild:!0,children:we(On,{className:i(Dd,a),...c,children:wr("div",{className:"flex items-center justify-between gap-3",children:[e,wr("div",{className:"flex-1",children:[we("p",{className:"text-sm font-medium text-neutral-700 dark:text-white",children:t}),r&&we("p",{className:i("text-xs text-neutral-500 dark:text-white/60",["line-clamp-1","line-clamp-2"][o-1]),children:r})]}),l&&we(Ao,{className:"invisible -ml-6 h-4 w-4 text-neutral-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})})}function Cr({icon:e,title:t,description:r,iconClassName:o,...a}){return we(zn,{asChild:!0,children:we(On,{...a,className:"group relative flex flex-col justify-center rounded-xl border border-neutral-100 bg-neutral-50 transition-colors duration-150 hover:bg-neutral-100 active:bg-neutral-200 dark:border-white/20 dark:bg-white/10 dark:hover:bg-white/15 dark:active:bg-white/20",children:wr("div",{className:"flex items-center justify-between px-5 py-4",children:[wr("div",{children:[we("span",{className:"text-sm font-medium leading-none text-neutral-900 dark:text-white",children:t}),we("p",{className:"mt-1 text-sm text-neutral-500 dark:text-white/60",children:r})]}),we(e,{className:i("size-6 text-neutral-700 dark:text-neutral-200",o)})]})})})}import{jsx as j,jsxs as Te}from"react/jsx-runtime";var Id=[{title:"Dub API",description:"Programmatic link creation at scale",icon:Bt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Vt,href:"/docs/integrations"}];function Vn({domain:e}){return Te("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[Te("div",{className:"grid grid-cols-2 gap-4 p-4",children:[j(_n,{asChild:!0,children:Te(Hn,{href:O("/home",e,te({domain:e,utm_content:"Dub Links"})),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[Te("div",{className:"p-5 pb-0",children:[j("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),j("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),j("div",{className:"relative grow overflow-hidden",children:j(In,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),j("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"})]})}),Te("div",{className:"flex flex-col gap-4",children:[j(_n,{asChild:!0,children:Te(Hn,{href:O("/analytics",e,te({domain:e,utm_content:"Dub Analytics"})),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[j(Dn,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),j("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"}),Te("div",{className:"h-56 p-5",children:[j("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),j("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]})}),j("div",{className:"grid grow grid-rows-2 gap-4",children:Id.map(({title:t,description:r,icon:o,href:a})=>j(Cr,{title:t,description:r,icon:o,href:O(a,e,te({domain:e,utm_content:t}))},t))})]})]}),Te("div",{className:"px-6 py-4",children:[j("p",{className:i(lt,"mb-2"),children:"Customer Stories"}),Te("div",{className:"grid grid-cols-1",children:[Tn.map(({icon:t,iconClassName:r,title:o,description:a,href:l})=>j(ct,{className:"-mx-2",href:O(l,e,te({domain:e,utm_content:o})),icon:j("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:j(t,{className:i("h-4 w-4 shrink-0 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,description:a},l)),j(ct,{className:"-mx-2",href:O("/customers",e,te({domain:e,utm_content:"Customer Stories"})),title:"View all stories",showArrow:!0})]}),j("p",{className:i(lt,"mb-2 mt-5"),children:"Compare"}),j("div",{className:"flex flex-col",children:xr.map(({name:t,slug:r})=>j(ct,{className:"-mx-2",href:O(`/compare/${r}`,e,te({domain:e,utm_content:`Dub vs. ${t}`})),title:`Dub vs. ${t}`,showArrow:!0},r))})]})]})}import{Link as Fn}from"@radix-ui/react-navigation-menu";import Od from"next/image";import Wn from"next/link";import{useId as zd}from"react";import{jsx as x,jsxs as dt}from"react/jsx-runtime";function Bn({className:e,...t}){let r=zd();return dt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"114",viewBox:"0 0 247 114",fill:"none",className:i("",e),...t,children:[x("path",{stroke:"#fff",strokeWidth:"0.089",d:"M147.901 0v113.578M141.661 0v113.578M132.924 0v113.578M108.854 0v113.578M100.116 0v113.578M93.876 0v113.578M85.139 0v113.578M52.509 0v113.578M156.639 0v113.578M189.267 0v113.578m56.79-85.496H0M246.057 43.06H0m246.057 41.544H0",opacity:"0.3"}),dt("g",{opacity:"0.5",children:[x("mask",{id:`${r}-a`,width:"187",height:"89",x:"27",y:"12",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:x("ellipse",{cx:"120.71",cy:"56.432",fill:"#D9D9D9",rx:"92.717",ry:"44.041"})}),x("g",{stroke:"#fff",strokeWidth:"0.089",mask:`url(#${r}-a)`,children:x("path",{d:"M147.901 0v113.578M141.661 0v113.578M132.924 0v113.578M108.853 0v113.578M100.116 0v113.578M93.876 0v113.578M85.139 0v113.578M52.509 0v113.578M156.639 0v113.578M189.267 0v113.578m56.789-85.496H-.001M246.056 43.06H-.001m246.057 41.544H-.001"})})]}),x("g",{filter:`url(#${r}-b)`,opacity:"0.3",children:x("path",{fill:"#fff",fillOpacity:"0.077",fillRule:"evenodd",d:"M147.733 29.33c0-.787.639-1.426 1.427-1.426h6.094c.788 0 1.427.639 1.427 1.427V46.57a20.77 20.77 0 0 1 11.93-3.745c11.531 0 20.878 9.353 20.878 20.89s-9.347 20.89-20.878 20.89c-11.53 0-20.878-9.353-20.878-20.89zm20.878 46.32c6.588 0 11.93-5.343 11.93-11.936 0-6.592-5.342-11.936-11.93-11.936-6.589 0-11.931 5.344-11.931 11.936 0 6.593 5.342 11.937 11.931 11.937M85.099 29.33c0-.787.639-1.426 1.427-1.426h6.095c.787 0 1.426.639 1.426 1.427v34.166a20 20 0 0 1 0 .436v19.245c0 .788-.639 1.426-1.426 1.426h-6.095a1.426 1.426 0 0 1-1.427-1.426V80.86a20.77 20.77 0 0 1-11.93 3.743c-11.53 0-20.877-9.352-20.877-20.89 0-11.536 9.347-20.889 20.878-20.889 4.435 0 8.548 1.384 11.93 3.744zM73.17 75.652c6.589 0 11.93-5.344 11.93-11.936 0-6.593-5.341-11.937-11.93-11.937s-11.93 5.344-11.93 11.937S66.58 75.65 73.17 75.65m28.27-32.826c-.788 0-1.427.639-1.427 1.427v19.463a20.9 20.9 0 0 0 6.116 14.77 20.87 20.87 0 0 0 29.526 0 20.9 20.9 0 0 0 6.115-14.77h-.001V44.252c0-.788-.639-1.427-1.427-1.427h-6.095c-.787 0-1.426.639-1.426 1.427v19.463a11.94 11.94 0 0 1-3.494 8.44 11.929 11.929 0 0 1-20.366-8.44V44.252c0-.788-.639-1.427-1.426-1.427z",clipRule:"evenodd"})}),x("path",{fill:`url(#${r}-c)`,fillOpacity:"0.4",stroke:`url(#${r}-d)`,strokeWidth:"0.233",d:"M93.926 63.996v20.577H85.21v-3.85l-.183.127a20.66 20.66 0 0 1-11.865 3.723c-11.468 0-20.765-9.302-20.765-20.776s9.297-20.776 20.765-20.776a20.66 20.66 0 0 1 11.865 3.723l.183.128V28.098h8.716v35.898Zm53.925-.199V28.098h8.717v18.775l.182-.128a20.66 20.66 0 0 1 11.866-3.724c11.468 0 20.765 9.302 20.765 20.776s-9.297 20.776-20.765 20.776-20.765-9.301-20.765-20.776Zm-6.198 0v.116h.001a20.8 20.8 0 0 1-6.082 14.575 20.757 20.757 0 0 1-29.366 0 20.79 20.79 0 0 1-6.082-14.69V43.02h8.717v20.776a12.047 12.047 0 1 0 24.096 0V43.021h8.716zM73.162 75.851c6.654 0 12.048-5.397 12.048-12.054 0-6.658-5.394-12.055-12.048-12.055S61.114 57.14 61.114 63.797 66.508 75.85 73.162 75.85Zm95.454 0c6.654 0 12.048-5.397 12.048-12.054 0-6.658-5.394-12.055-12.048-12.055s-12.048 5.397-12.048 12.055 5.394 12.054 12.048 12.054Z"}),x("circle",{cx:"85.073",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"147.866",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"147.866",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"180.426",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"189.496",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"99.957",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"99.957",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"120.888",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"112.516",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"101.586",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"139.959",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"129.494",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"120.888",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"141.82",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"141.82",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"61.118",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"52.281",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),dt("defs",{children:[dt("linearGradient",{id:`${r}-c`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[x("stop",{stopColor:"#fff",stopOpacity:"0"}),x("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0.3"})]}),dt("linearGradient",{id:`${r}-d`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[x("stop",{stopColor:"#5B5B5B"}),x("stop",{offset:"1",stopColor:"#757575"})]}),dt("filter",{id:`${r}-b`,width:"154.246",height:"73.748",x:"43.768",y:"19.38",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[x("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),x("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"4.262"}),x("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_7_2"}),x("feBlend",{in:"SourceGraphic",in2:"effect1_backgroundBlur_7_2",result:"shape"}),x("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),x("feOffset",{dx:"-0.991",dy:"0.991"}),x("feGaussianBlur",{stdDeviation:"0.496"}),x("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),x("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.354 0"}),x("feBlend",{in2:"shape",result:"effect2_innerShadow_7_2"}),x("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),x("feOffset",{dx:"0.991",dy:"-0.991"}),x("feGaussianBlur",{stdDeviation:"0.496"}),x("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),x("feColorMatrix",{values:"0 0 0 0 0.84 0 0 0 0 0.84 0 0 0 0 0.84 0 0 0 0.354 0"}),x("feBlend",{in2:"effect2_innerShadow_7_2",result:"effect3_innerShadow_7_2"}),x("feGaussianBlur",{result:"effect4_foregroundBlur_7_2",stdDeviation:"0.357"})]})]})]})}import{jsx as Q,jsxs as Ze}from"react/jsx-runtime";var _d=[{title:"Docs",description:"Platform documentation",thumbnail:"https://assets.dub.co/misc/docs-thumbnail.jpg",href:"/docs/introduction"},{title:"Help Center",description:"Answers to your questions",thumbnail:"https://assets.dub.co/misc/help-thumbnail.jpg",href:"/help"}];function Un({domain:e}){return Ze("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.45fr] divide-x divide-neutral-200 dark:divide-white/20",children:[Q("div",{className:"grid grid-cols-2 gap-4 p-4",children:_d.map(({title:t,description:r,thumbnail:o,href:a})=>Q(Fn,{asChild:!0,children:Ze(Wn,{href:O(a,e,te({domain:e,utm_content:t})),className:i("group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 transition-colors duration-75 hover:bg-neutral-100/80","dark:border-white/20 dark:bg-white/10 dark:hover:bg-white/15"),children:[Ze("div",{className:"p-5 pb-0",children:[Q("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:t}),Q("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:r})]}),Q("div",{className:"relative mt-7 grow overflow-hidden pl-5 [mask-image:linear-gradient(90deg,black_50%,transparent)]",children:Q("div",{className:i("relative size-full overflow-hidden rounded-tl-lg border-l border-t border-black/10","[mask-image:linear-gradient(black_50%,transparent)]"),children:Q(Od,{src:o,alt:`${t} thumbnail`,fill:!0,className:"bg-white object-cover object-left-top grayscale transition-[filter] duration-75 group-hover:grayscale-0 dark:opacity-50"})})})]},t)},t))}),Ze("div",{className:"flex flex-col gap-4 p-4",children:[br.filter(({title:t})=>!["Docs","Help Center","Dub Brand"].includes(t)).map(({title:t,description:r,icon:o,href:a})=>Q(Cr,{title:t,description:r,icon:o,iconClassName:"size-5",href:O(a,e,te({domain:e,utm_content:t}))},t)),Q(Fn,{asChild:!0,children:Ze(Wn,{href:O("/brand",e,te({domain:e,utm_content:"Dub Brand"})),className:"group relative flex flex-col overflow-hidden rounded-xl bg-black transition-colors duration-75 dark:border dark:border-white/20",children:[Ze("div",{className:"pointer-events-none absolute inset-0",children:[Q("div",{className:"absolute -inset-[50%] opacity-30 blur-[20px] transition-opacity duration-300 group-hover:opacity-40 dark:group-hover:opacity-35",children:Q("div",{className:i("absolute inset-0 rounded-xl","bg-[radial-gradient(20%_80%_at_50%_100%,#fd3a4e,transparent),radial-gradient(30%_80%_at_40%_50%,#855afc,transparent),radial-gradient(30%_80%_at_60%_50%,#72fe7d,transparent),radial-gradient(30%_100%_at_50%_50%,#e4c795,transparent)]")})}),Q(Bn,{className:"absolute right-0 top-1/2 h-auto w-full -translate-y-1/2 translate-x-[33%] [mask-image:linear-gradient(90deg,#000a,transparent)]"})]}),Q("div",{className:"relative flex items-center justify-between px-5 py-4",children:Ze("div",{children:[Q("span",{className:"block text-sm font-medium text-white",children:"Dub Brand"}),Q("p",{className:"text-sm text-white/60",children:"Logos, wordmark, etc."})]})})]})})]})]})}import{Link as Hd}from"@radix-ui/react-navigation-menu";import Vd from"next/link";import{jsx as re,jsxs as ut}from"react/jsx-runtime";var Bd=[{icon:Ft,title:"Marketing Attribution",description:"Easily track and measure marketing impact",href:"/analytics"},{icon:Wt,title:"Content Creators",description:"Intelligent audience insights and link tracking",href:"/solutions/creators"},{icon:Gt,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"}];function Gn({domain:e}){return ut("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[ut("div",{className:"flex h-full flex-col p-4",children:[re("p",{className:i(lt,"mb-4 ml-2"),children:"By use case"}),re("div",{className:"grid grow grid-cols-3 gap-4",children:Bd.map(({icon:t,title:r,description:o,href:a})=>re(Hd,{asChild:!0,children:ut(Vd,{href:O(a,e,te({domain:e,utm_content:r})),className:i("group relative isolate z-0 flex flex-col justify-between overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 px-5 py-4 transition-colors duration-75","dark:border-white/20 dark:bg-neutral-900"),children:[ut("div",{className:"absolute inset-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:[re("div",{className:"absolute -inset-[25%] -skew-y-12 [mask-image:linear-gradient(225deg,black,transparent_50%)]",children:re(dn,{cellSize:46,patternOffset:[0,-14],className:"translate-y-2 text-[#ad1f3288] transition-transform duration-150 ease-out group-hover:translate-y-0"})}),re("div",{className:i("absolute -inset-[10%] opacity-10 blur-[50px] dark:brightness-150","bg-[conic-gradient(#F35066_0deg,#F35066_117deg,#9071F9_180deg,#5182FC_240deg,#F35066_360deg)]")})]}),re(t,{className:"relative size-5 text-neutral-700 dark:text-white/60"}),ut("div",{className:"relative",children:[re("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:r}),re("p",{className:"mt-2 text-xs text-neutral-500 dark:text-white/60",children:o})]})]},r)},r))})]}),ut("div",{className:"px-6 py-4",children:[re("p",{className:i(lt,"mb-2"),children:"SDKs"}),re("div",{className:"flex flex-col gap-0.5",children:lo.map(({icon:t,iconClassName:r,title:o,href:a})=>re(ct,{className:"-mx-2",href:O(a,e,te({domain:e,utm_content:o})),icon:re("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-1 dark:border-white/20 dark:bg-white/10",children:re(t,{className:i("size-5 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,showArrow:!0},a))})]})]})}import{Fragment as Zd,jsx as U,jsxs as mt}from"react/jsx-runtime";var mo=Gd({theme:"light"}),po=[{name:"Product",content:Vn,childItems:vr,segments:["/home","/analytics","/features","/compare"]},{name:"Solutions",content:Gn,childItems:Ln,segments:["/solutions"]},{name:"Resources",content:Un,childItems:br,segments:["/docs","/help","/brand","/blog","/changelog","/customers"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],$n=i("relative group/item flex items-center rounded-md px-4 py-2 text-sm rounded-lg font-medium text-neutral-700 hover:text-neutral-900 transition-colors","dark:text-white/90 dark:hover:text-white","hover:bg-neutral-900/5 dark:hover:bg-white/10","data-[active=true]:bg-neutral-900/5 dark:data-[active=true]:bg-white/10","group-has-[:hover]:data-[active=true]:[&:not(:hover)]:bg-transparent");function f5({theme:e="light",staticDomain:t,maxWidthWrapperClassName:r}){let{domain:o="dub.co"}=Wd();t&&(o=t);let a=$d(),l=Wa(40),c=Ud(),{data:s,isLoading:u}=Kd(o.endsWith("dub.co")&&"/api/auth/session",fe,{dedupingInterval:6e4});return U(mo.Provider,{value:{theme:e},children:U(Fd,{id:a,children:mt("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",e==="dark"&&"dark"),children:[U("div",{className:i("absolute inset-0 block border-b border-transparent transition-all",l&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),U(yr,{className:i("relative",r),children:mt("div",{className:"flex h-14 items-center justify-between",children:[U("div",{className:"grow basis-0",children:U(Tt,{className:"block w-fit py-2 pr-2",href:O("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:U(Nr,{})})}),mt(de.Root,{delayDuration:0,className:"relative hidden lg:block",children:[U(de.List,{className:"group relative z-0 flex",children:po.map(({name:d,href:n,segments:p,content:f})=>{let g=p.some(b=>c==null?void 0:c.startsWith(b));return mt(de.Item,{children:[U(Yd,{trigger:!!f,children:n!==void 0?U(Tt,{id:`nav-${n}`,href:O(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:d}),className:$n,"data-active":g,children:d}):mt("button",{className:$n,"data-active":g,children:[d,U(jd,{className:"ml-1.5 size-2.5 text-neutral-700"})]})}),f&&U(de.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:U(f,{domain:o})})]},d)})}),U("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:U(de.Viewport,{className:i("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-neutral-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]")})})]}),U("div",{className:"hidden grow basis-0 justify-end gap-2 lg:flex",children:s&&Object.keys(s).length>0?U(Tt,{href:Ce,className:i(ie({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Dashboard"}):u?null:mt(Zd,{children:[U(Tt,{href:"https://app.dub.co/login",className:i(ie({variant:"secondary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white/10 dark:bg-black dark:text-white dark:hover:bg-neutral-900"),children:"Log in"}),U(Tt,{href:"https://app.dub.co/register",className:i(ie({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Sign up"})]})})]})})]})})})}function jd(e){return U("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",fill:"none",viewBox:"0 0 9 9",...e,children:U("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.278 3.389 4.5 6.167 1.722 3.389",className:"transition-transform duration-150 [transform-box:view-box] [transform-origin:center] [vector-effect:non-scaling-stroke] group-data-[state=open]/item:-scale-y-100"})})}function Yd({trigger:e,children:t}){return e?U(de.Trigger,{asChild:!0,children:t}):t}import{ChevronDown as qd,Menu as Xd,X as Jd}from"lucide-react";import pt from"next/link";import{useParams as go}from"next/navigation";import{useEffect as Qd,useState as jn}from"react";import eu from"swr";import{Fragment as ru,jsx as _,jsxs as Le}from"react/jsx-runtime";function M5({theme:e="light",staticDomain:t}){let{domain:r="dub.co"}=go();t&&(r=t);let[o,a]=jn(!1);Qd(()=>{o?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[o]);let{data:l}=eu(r.endsWith("dub.co")&&"/api/auth/session",fe,{dedupingInterval:6e4});return Le("div",{className:i("fixed right-0 top-0 z-40 flex items-center gap-4 p-2.5 lg:hidden",e==="dark"&&"dark"),children:[l&&Object.keys(l).length>0?_(fo,{href:Ce,className:"max-[280px]:hidden",children:"Dashboard"}):Le("div",{className:"flex gap-2 max-[280px]:hidden",children:[_(fo,{variant:"secondary",href:`${Ce}/login`,children:"Log in"}),_(fo,{href:`${Ce}/register`,children:"Sign Up"})]}),_("button",{onClick:()=>a(!o),className:i("z-30 rounded-full p-2 transition-colors duration-200 hover:bg-neutral-200 focus:outline-none active:bg-neutral-300 dark:hover:bg-white/20 dark:active:bg-white/30",o&&"hover:bg-neutral-100 active:bg-neutral-200"),children:o?_(Jd,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"}):_(Xd,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"})}),_("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",o&&"block"),children:Le("ul",{className:"grid divide-y divide-neutral-200 dark:divide-white/[0.15]",children:[po.map(({name:c,href:s,childItems:u},d)=>_(tu,{name:c,href:s,childItems:u,setOpen:a},d)),l&&Object.keys(l).length>0?_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:Ce,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):Le(ru,{children:[_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:`${Ce}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:`${Ce}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var tu=({name:e,href:t,childItems:r,setOpen:o})=>{let{domain:a="dub.co"}=go(),[l,c]=jn(!1);return r?_("li",{className:"py-3",children:Le(Pe,{height:!0,children:[Le("button",{className:"flex w-full justify-between",onClick:()=>c(!l),children:[_("p",{className:"font-semibold",children:e}),_(qd,{className:i("h-5 w-5 text-neutral-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&_("div",{className:"grid grid-cols-1 gap-4 overflow-hidden py-4",children:r.map((s,u)=>"items"in s?Le("div",{className:"grid grid-cols-1 gap-3",children:[_("span",{className:"text-xs font-medium uppercase text-neutral-500 dark:text-white/50",children:s.label}),s.items.map((d,n)=>_(Kn,{item:d,setOpen:o,size:"small"},n))]},u):_(Kn,{item:s,setOpen:o},u))})]})}):t?_("li",{className:"py-3",children:_(pt,{href:O(t,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:e}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:e})}):null},Kn=({item:{title:e,description:t,href:r,icon:o},setOpen:a,size:l="normal"})=>{let{domain:c="dub.co"}=go();return Le(pt,{href:O(r,c,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:c,utm_content:e}),onClick:()=>a(!1),className:"flex w-full items-center gap-3",children:[_("div",{className:i("flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",l==="small"&&"size-8"),children:_(o,{className:i("size-5 text-neutral-700 grayscale",l==="small"&&"size-4")})}),Le("div",{children:[_("div",{className:"flex items-center gap-2",children:_("h2",{className:"text-sm font-medium text-neutral-900",children:e})}),t&&_("p",{className:"text-sm text-neutral-500",children:t})]})]})};function fo({variant:e,className:t,...r}){return _(pt,{...r,className:i("flex h-8 w-fit items-center whitespace-nowrap rounded-lg border px-3 text-[0.8125rem]",ie({variant:e}),t)})}import{jsx as Yn}from"react/jsx-runtime";function Zn({className:e}){return Yn("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-6 w-auto text-black dark:text-white",e),children:Yn("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"})})}import{jsx as q,jsxs as qn}from"react/jsx-runtime";var mu=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
48
|
+
radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%)`,position:"absolute",height:"100%",filter:"blur(100px) saturate(150%)",top:"80px",opacity:.15}};import fu from"next/image";import Ee from"next/link";import{useParams as gu}from"next/navigation";import{useEffect as hu,useState as Xn}from"react";import vu from"swr";import{jsx as Mn}from"react/jsx-runtime";function Rn(e){return Mn("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:Mn("path",{d:"M10.1552 10.5H5.8442C3.15868 10.5 0.840663 8.4364 0.706388 5.75088C0.565045 2.88163 2.86186 0.5 5.70285 0.5H10.1622C12.9184 0.5 15.3071 2.74028 15.3 5.50353C15.3 5.95583 14.9325 6.32332 14.4732 6.32332H3.8442C3.61805 6.32332 3.4343 6.13958 3.4343 5.91343V5.08657C3.4343 4.86042 3.61805 4.67668 3.8442 4.67668H13.2647C12.8972 3.22792 11.5827 2.14664 10.0138 2.14664H6.10568C4.32476 2.14664 2.76292 3.4894 2.64278 5.27032C2.51557 7.22085 4.06328 8.85336 5.98554 8.85336H10.1552C11.2435 8.85336 12.1198 8.33039 12.7488 7.43993L12.9891 7.10777C13.1233 6.92403 13.3778 6.88163 13.5615 7.00883L14.5156 7.4894C14.6993 7.62367 14.7417 7.87809 14.6145 8.06184L14.3742 8.39399C13.4414 9.71555 11.7806 10.5 10.1552 10.5Z",fill:"currentColor"})})}var vr=[{title:"Dub Links",description:"Short links with superpowers",icon:fa,href:"/home"},{title:"Dub Analytics",description:"Powerful real-time analytics",icon:ba,href:"/analytics"},{title:"Dub API",description:"Programmatic link creation at scale",icon:Bt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Vt,href:"/docs/integrations"}],Tn=[{icon:Vo,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"Programmatic link sharing",href:"/customers/raycast"},{icon:Ho,iconClassName:"group-hover:text-[#FF6154]",title:"Product Hunt",description:"Unlocking new growth",href:"/customers/product-hunt"},{icon:Rn,iconClassName:"group-hover:text-[#353D7C]",title:"Elxo",description:"Overcoming API latency",href:"/customers/elxo"}],lo=[{icon:Go,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/solutions/typescript"},{icon:Wo,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/solutions/python"},{icon:Bo,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/solutions/go"},{icon:Uo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/solutions/ruby"},{icon:Fo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/solutions/php"}],Ln=[{icon:Ft,title:"Marketing Attribution",description:"Easily track and measure marketing impact",href:"/analytics"},{icon:Wt,title:"Content Creators",description:"Intelligent audience insights and link tracking",href:"/solutions/creators"},{icon:Gt,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"},{label:"SDKs",items:lo}],br=[{icon:Ko,title:"Docs",description:"Platform documentation",href:"/docs/introduction"},{icon:ua,title:"Help Center",description:"Answers to your questions",href:"/help"},{icon:ia,title:"Blog",description:"Insights and stories",href:"/blog"},{icon:jo,title:"Changelog",description:"Releases and updates",href:"/changelog"},{icon:ma,title:"Customers",description:"Success stories and use cases",href:"/customers"},{icon:pa,title:"Dub Brand",description:"Logos, wordmark, etc.",href:"/brand"}],xr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],En=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}],n4=[{name:"X (Twitter)",icon:_t,href:"https://x.com/dubdotco"},{name:"LinkedIn",icon:Ot,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:zt,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:Ht,href:"https://www.youtube.com/@dubdotco"}];import{jsx as Ed}from"react/jsx-runtime";function yr({className:e,children:t}){return Ed("div",{className:i("mx-auto w-full max-w-screen-xl px-3 lg:px-10",e),children:t})}import*as Ve from"@radix-ui/react-popover";import{BoxSelect as ou,Home as au,LayoutGrid as nu,Type as iu}from"lucide-react";import{useParams as su}from"next/navigation";import{useCallback as lu,useContext as cu,useState as du}from"react";import{toast as uu}from"sonner";import{jsx as An}from"react/jsx-runtime";function co({className:e}){return An("svg",{width:"64",height:"64",viewBox:"0 0 64 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-10 w-10 text-black dark:text-white",e),children:An("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"})})}import*as de from"@radix-ui/react-navigation-menu";import{LayoutGroup as Fd}from"framer-motion";import Tt from"next/link";import{useParams as Wd,usePathname as Ud}from"next/navigation";import{createContext as Gd,useId as $d}from"react";import Kd from"swr";import{Link as _n}from"@radix-ui/react-navigation-menu";import Hn from"next/link";import{jsx as P,jsxs as uo}from"react/jsx-runtime";function Dn(e){return uo("svg",{xmlns:"http://www.w3.org/2000/svg",width:"349",height:"290",fill:"none",viewBox:"0 0 349 290",...e,className:i("pointer-events-none [--bg:white] [--grid:#e5e5e5] dark:[--bg:black] dark:[--grid:#fff2]",e.className),children:[uo("g",{className:"text-[var(--grid)]",children:[P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M12.667 1h48v48h-48zM60.667 1h48v48h-48zM108.667 1h48v48h-48zM156.667 1h48v48h-48zM204.667 1h48v48h-48zM252.667 1h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 1h48v48h-48zM12.667 49h48v48h-48zM60.667 49h48v48h-48zM108.667 49h48v48h-48zM156.667 49h48v48h-48zM204.667 49h48v48h-48zM252.667 49h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 49h48v48h-48zM12.667 97h48v48h-48zM60.667 97h48v48h-48zM108.667 97h48v48h-48zM156.667 97h48v48h-48zM204.667 97h48v48h-48zM252.667 97h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 97h48v48h-48zM12.667 145h48v48h-48zM60.667 145h48v48h-48zM108.667 145h48v48h-48zM156.667 145h48v48h-48zM204.667 145h48v48h-48zM252.667 145h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 145h48v48h-48zM12.667 193h48v48h-48zM60.667 193h48v48h-48zM108.667 193h48v48h-48zM156.667 193h48v48h-48zM204.667 193h48v48h-48zM252.667 193h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 193h48v48h-48zM12.667 241h48v48h-48zM60.667 241h48v48h-48zM108.667 241h48v48h-48zM156.667 241h48v48h-48zM204.667 241h48v48h-48zM252.667 241h48v48h-48z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 241h48v48h-48z"})]}),P("path",{stroke:"#14B8A6",d:"M.667 196.5c93-1 267-35.5 324.5-184.5"}),P("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M204.667 145h96v48h-96z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M204.667 145h96v48h-96z"}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"158.909",children:"Clicks"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"158.909",children:"12.5K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"171.909",children:"Leads"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"171.909",children:"8.2K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"213.667",y:"184.909",children:"Sales"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"244.667",y:"184.909",children:"$10K"})}),P("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M108.667 193h96v48h-96z"}),P("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M108.667 193h96v48h-96z"}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"206.909",children:"Desktop"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"206.909",children:"2.5K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"219.909",children:"Mobile"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"219.909",children:"1.3K"})}),P("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"117.667",y:"232.909",children:"Tablet"})}),P("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:P("tspan",{x:"157.667",y:"232.909",children:"402"})}),P("g",{filter:"url(#a)",children:P("circle",{cx:"204.667",cy:"145",r:"3",fill:"#14B8A6"})}),P("circle",{cx:"204.667",cy:"145",r:"4",stroke:"#3EC5B8",strokeOpacity:"0.3",strokeWidth:"2"}),P("defs",{children:uo("filter",{id:"a",width:"10",height:"12",x:"199.667",y:"140",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[P("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),P("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),P("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),P("feOffset",{dy:"2"}),P("feGaussianBlur",{stdDeviation:"1"}),P("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),P("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.65 0"}),P("feBlend",{in2:"shape",result:"effect1_innerShadow_9_286"})]})})]})}import{useId as Ad}from"react";import{jsx as m,jsxs as B}from"react/jsx-runtime";function In(e){let t=Ad();return B("svg",{xmlns:"http://www.w3.org/2000/svg",width:"336",height:"336",fill:"none",viewBox:"0 0 336 336",...e,className:i("pointer-events-none text-[var(--fg)] [--bg:white] [--fg:#222] [--grid:#e5e5e5] dark:[--bg:black] dark:[--fg:#fffa] dark:[--grid:#fff2]",e.className),children:[B("g",{clipPath:`url(#${t}-a)`,children:[m("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M0 0h48v48H0zM48 0h48v48H48zM96 0h48v48H96zM144 0h48v48h-48zM192 0h48v48h-48zM240 0h48v48h-48zM288 0h48v48h-48zM0 48h48v48H0zM48 48h48v48H48zM96 48h48v48H96zM144 48h48v48h-48zM192 48h48v48h-48zM240 48h48v48h-48zM288 48h48v48h-48zM0 96h48v48H0zM48 96h48v48H48zM96 96h48v48H96zM144 96h48v48h-48zM192 96h48v48h-48zM240 96h48v48h-48zM288 96h48v48h-48zM0 144h48v48H0zM48 144h48v48H48zM96 144h48v48H96zM144 144h48v48h-48zM192 144h48v48h-48zM240 144h48v48h-48zM288 144h48v48h-48zM0 192h48v48H0zM48 192h48v48H48zM96 192h48v48H96zM144 192h48v48h-48zM192 192h48v48h-48zM240 192h48v48h-48zM288 192h48v48h-48zM0 240h48v48H0zM48 240h48v48H48zM96 240h48v48H96zM144 240h48v48h-48zM192 240h48v48h-48zM240 240h48v48h-48zM288 240h48v48h-48zM0 288h48v48H0zM48 288h48v48H48zM96 288h48v48H96zM144 288h48v48h-48zM192 288h48v48h-48zM240 288h48v48h-48zM288 288h48v48h-48z"}),m("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),m("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),m("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),m("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),m("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),m("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),m("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),m("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),m("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),m("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),m("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),m("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),m("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),m("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),m("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),m("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),m("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),m("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),B("g",{children:[m("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M235.276 100.891a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.389 96.333a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M235.276 91.776a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.367 102.288a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 98.8a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M233.879 93.868a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1M237.368 90.38a.5.5 0 1 0 0-1 .5.5 0 0 0 0 1"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M238.889 243.778h-3.556a1.777 1.777 0 0 1-1.777-1.778v-4c0-.982.795-1.778 1.777-1.778h9.334c.982 0 1.777.796 1.777 1.778v.222"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M236.889 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778M240 240.889a.889.889 0 1 0 0-1.778.889.889 0 0 0 0 1.778"}),m("path",{fill:"currentColor",fillOpacity:"0.5",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M246 242.889h-3.556a.89.89 0 0 0-.888.889v1.777c0 .491.398.889.888.889H246a.89.89 0 0 0 .889-.889v-1.777a.89.89 0 0 0-.889-.889"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M188.667 90h-2a.666.666 0 0 0-.667.667v2c0 .368.298.666.667.666h2a.666.666 0 0 0 .666-.666v-2a.666.666 0 0 0-.666-.667M197.333 90h-2a.666.666 0 0 0-.666.667v2c0 .368.298.666.666.666h2a.667.667 0 0 0 .667-.666v-2a.667.667 0 0 0-.667-.667M188.667 98.667h-2a.666.666 0 0 0-.667.666v2c0 .368.298.667.667.667h2a.667.667 0 0 0 .666-.667v-2a.666.666 0 0 0-.666-.666M198 98.667h-2a1.333 1.333 0 0 0-1.333 1.333v2M198 102v.01M192 92.667v2A1.334 1.334 0 0 1 190.667 96h-2M186 96h.01M192 90h.01M192 98.667v.01M194.667 96h.666M198 96v.01M192 102v-.667"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M192 246.445a6.445 6.445 0 1 0-.002-12.89 6.445 6.445 0 0 0 .002 12.89M192 238.222v-2M193.778 240h2M192 241.778v2M190.222 240h-2"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M148.667 90h-9.334c-.736 0-1.333.597-1.333 1.333v9.334c0 .736.597 1.333 1.333 1.333h9.334c.736 0 1.333-.597 1.333-1.333v-9.334c0-.736-.597-1.333-1.333-1.333"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M142 95.333a1.333 1.333 0 1 0 0-2.666 1.333 1.333 0 0 0 0 2.666M150 98l-2.057-2.057a1.334 1.334 0 0 0-1.886 0L140 102"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M138.889 234h4.375c.471 0 .924.188 1.257.521l5.111 5.111c.694.694.694 1.82 0 2.514l-3.486 3.486a1.78 1.78 0 0 1-2.514 0l-5.111-5.111a1.78 1.78 0 0 1-.521-1.257v-4.375c0-.491.398-.889.889-.889"}),m("path",{fill:"currentColor",fillOpacity:"0.5",d:"M141.556 238.667a1.112 1.112 0 1 0-.002-2.224 1.112 1.112 0 0 0 .002 2.224"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m97.258 101.854 4.596-4.597a1.777 1.777 0 0 0 0-2.514l-4.596-4.597a1.78 1.78 0 0 0-2.514 0l-4.597 4.597a1.78 1.78 0 0 0 0 2.514l4.597 4.597c.694.694 1.82.694 2.514 0"})]}),B("g",{children:[m("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M92.667 246.444a2.222 2.222 0 1 0 .001-4.443 2.222 2.222 0 0 0-.001 4.443M99.333 246.444a2.222 2.222 0 1 0 .002-4.443 2.222 2.222 0 0 0-.002 4.443M98.563 233.556h-5.126a.89.89 0 0 0-.88.763l-.335 2.348-2.666 2.666h12.888l-2.666-2.666-.335-2.348a.89.89 0 0 0-.88-.763M92.222 236.667h7.556"}),m("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),m("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:m("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),m("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:m("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),m("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),m("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),B("g",{children:[m("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),m("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),m("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),m("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:m("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),m("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),m("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),m("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:m("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),m("path",{className:"text-[var(--fg)]",fill:"currentColor",fillOpacity:"0.04",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),m("path",{className:"text-[var(--grid)]",stroke:"currentColor",strokeWidth:"0.5",d:"M229.25 164.6c0-1.684 0-2.932.081-3.92.08-.985.24-1.69.546-2.29a5.75 5.75 0 0 1 2.513-2.513c.6-.306 1.305-.466 2.29-.546.988-.081 2.236-.081 3.92-.081h26.8c1.684 0 2.932 0 3.92.081.985.08 1.69.24 2.29.546a5.75 5.75 0 0 1 2.513 2.513c.306.6.466 1.305.546 2.29.081.988.081 2.236.081 3.92v6.8c0 1.684 0 2.932-.081 3.92-.08.985-.24 1.69-.546 2.29a5.75 5.75 0 0 1-2.513 2.513c-.6.306-1.305.466-2.29.546-.988.081-2.236.081-3.92.081h-26.8c-1.684 0-2.932 0-3.92-.081-.985-.08-1.69-.24-2.29-.546a5.75 5.75 0 0 1-2.513-2.513c-.306-.6-.466-1.305-.546-2.29-.081-.988-.081-2.236-.081-3.92z"}),m("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:m("path",{d:"m240.395 167.185 4.876 1.673c.148.051.15.259.004.313l-2.186.822a.17.17 0 0 0-.097.098l-.822 2.186a.166.166 0 0 1-.313-.005l-1.674-4.876a.167.167 0 0 1 .212-.212zM243.019 170.021l2.808 2.808M240.165 163.167v1.333M242.995 164.338l-.943.943M237.338 169.995l.943-.943M236.166 167.166h1.333M237.338 164.338l.943.943"})}),m("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:m("tspan",{x:"251",y:"171.636",children:"51K"})})]}),B("defs",{children:[B("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EA580C"}),m("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),m("stop",{offset:"1",stopColor:"#EA580C"})]}),B("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EAB308",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#EAB308"})]}),B("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#EAB308",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#EAB308"})]}),B("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[m("stop",{stopColor:"#030712",stopOpacity:"0"}),m("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),B("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[m("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),m("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),B("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[m("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),m("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),m("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),m("clipPath",{id:`${t}-a`,children:m("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),m("clipPath",{id:`${t}-y`,children:m("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),m("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:m("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),m("image",{href:`${It}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}import{Link as zn}from"@radix-ui/react-navigation-menu";import On from"next/link";import{jsx as we,jsxs as wr}from"react/jsx-runtime";var lt="text-xs uppercase text-neutral-500 dark:text-white/60",Dd="group rounded-[8px] p-2 transition-colors hover:bg-neutral-50 active:bg-neutral-100 dark:hover:bg-white/[0.15] dark:active:bg-white/20",te=({domain:e,...t})=>({utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:e,...t});function ct({icon:e,title:t,description:r,descriptionLines:o=1,className:a,showArrow:l,...c}){return we(zn,{asChild:!0,children:we(On,{className:i(Dd,a),...c,children:wr("div",{className:"flex items-center justify-between gap-3",children:[e,wr("div",{className:"flex-1",children:[we("p",{className:"text-sm font-medium text-neutral-700 dark:text-white",children:t}),r&&we("p",{className:i("text-xs text-neutral-500 dark:text-white/60",["line-clamp-1","line-clamp-2"][o-1]),children:r})]}),l&&we(Ao,{className:"invisible -ml-6 h-4 w-4 text-neutral-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})})}function Cr({icon:e,title:t,description:r,iconClassName:o,...a}){return we(zn,{asChild:!0,children:we(On,{...a,className:"group relative flex flex-col justify-center rounded-xl border border-neutral-100 bg-neutral-50 transition-colors duration-150 hover:bg-neutral-100 active:bg-neutral-200 dark:border-white/20 dark:bg-white/10 dark:hover:bg-white/15 dark:active:bg-white/20",children:wr("div",{className:"flex items-center justify-between px-5 py-4",children:[wr("div",{children:[we("span",{className:"text-sm font-medium leading-none text-neutral-900 dark:text-white",children:t}),we("p",{className:"mt-1 text-sm text-neutral-500 dark:text-white/60",children:r})]}),we(e,{className:i("size-6 text-neutral-700 dark:text-neutral-200",o)})]})})})}import{jsx as j,jsxs as Te}from"react/jsx-runtime";var Id=[{title:"Dub API",description:"Programmatic link creation at scale",icon:Bt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Vt,href:"/docs/integrations"}];function Vn({domain:e}){return Te("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[Te("div",{className:"grid grid-cols-2 gap-4 p-4",children:[j(_n,{asChild:!0,children:Te(Hn,{href:O("/home",e,te({domain:e,utm_content:"Dub Links"})),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[Te("div",{className:"p-5 pb-0",children:[j("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),j("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:"Short links with superpowers for the modern marketer"})]}),j("div",{className:"relative grow overflow-hidden",children:j(In,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),j("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#f4950c,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"})]})}),Te("div",{className:"flex flex-col gap-4",children:[j(_n,{asChild:!0,children:Te(Hn,{href:O("/analytics",e,te({domain:e,utm_content:"Dub Analytics"})),className:"group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 dark:border-white/20 dark:bg-white/10",children:[j(Dn,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),j("div",{className:"pointer-events-none absolute inset-0 bg-[radial-gradient(circle_at_50%_100%,#36D78F,transparent)] opacity-[0.07] transition-opacity duration-150 group-hover:opacity-[0.2]"}),Te("div",{className:"h-56 p-5",children:[j("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),j("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]})}),j("div",{className:"grid grow grid-rows-2 gap-4",children:Id.map(({title:t,description:r,icon:o,href:a})=>j(Cr,{title:t,description:r,icon:o,href:O(a,e,te({domain:e,utm_content:t}))},t))})]})]}),Te("div",{className:"px-6 py-4",children:[j("p",{className:i(lt,"mb-2"),children:"Customer Stories"}),Te("div",{className:"grid grid-cols-1",children:[Tn.map(({icon:t,iconClassName:r,title:o,description:a,href:l})=>j(ct,{className:"-mx-2",href:O(l,e,te({domain:e,utm_content:o})),icon:j("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:j(t,{className:i("h-4 w-4 shrink-0 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,description:a},l)),j(ct,{className:"-mx-2",href:O("/customers",e,te({domain:e,utm_content:"Customer Stories"})),title:"View all stories",showArrow:!0})]}),j("p",{className:i(lt,"mb-2 mt-5"),children:"Compare"}),j("div",{className:"flex flex-col",children:xr.map(({name:t,slug:r})=>j(ct,{className:"-mx-2",href:O(`/compare/${r}`,e,te({domain:e,utm_content:`Dub vs. ${t}`})),title:`Dub vs. ${t}`,showArrow:!0},r))})]})]})}import{Link as Fn}from"@radix-ui/react-navigation-menu";import Od from"next/image";import Wn from"next/link";import{useId as zd}from"react";import{jsx as x,jsxs as dt}from"react/jsx-runtime";function Bn({className:e,...t}){let r=zd();return dt("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"114",viewBox:"0 0 247 114",fill:"none",className:i("",e),...t,children:[x("path",{stroke:"#fff",strokeWidth:"0.089",d:"M147.901 0v113.578M141.661 0v113.578M132.924 0v113.578M108.854 0v113.578M100.116 0v113.578M93.876 0v113.578M85.139 0v113.578M52.509 0v113.578M156.639 0v113.578M189.267 0v113.578m56.79-85.496H0M246.057 43.06H0m246.057 41.544H0",opacity:"0.3"}),dt("g",{opacity:"0.5",children:[x("mask",{id:`${r}-a`,width:"187",height:"89",x:"27",y:"12",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:x("ellipse",{cx:"120.71",cy:"56.432",fill:"#D9D9D9",rx:"92.717",ry:"44.041"})}),x("g",{stroke:"#fff",strokeWidth:"0.089",mask:`url(#${r}-a)`,children:x("path",{d:"M147.901 0v113.578M141.661 0v113.578M132.924 0v113.578M108.853 0v113.578M100.116 0v113.578M93.876 0v113.578M85.139 0v113.578M52.509 0v113.578M156.639 0v113.578M189.267 0v113.578m56.789-85.496H-.001M246.056 43.06H-.001m246.057 41.544H-.001"})})]}),x("g",{filter:`url(#${r}-b)`,opacity:"0.3",children:x("path",{fill:"#fff",fillOpacity:"0.077",fillRule:"evenodd",d:"M147.733 29.33c0-.787.639-1.426 1.427-1.426h6.094c.788 0 1.427.639 1.427 1.427V46.57a20.77 20.77 0 0 1 11.93-3.745c11.531 0 20.878 9.353 20.878 20.89s-9.347 20.89-20.878 20.89c-11.53 0-20.878-9.353-20.878-20.89zm20.878 46.32c6.588 0 11.93-5.343 11.93-11.936 0-6.592-5.342-11.936-11.93-11.936-6.589 0-11.931 5.344-11.931 11.936 0 6.593 5.342 11.937 11.931 11.937M85.099 29.33c0-.787.639-1.426 1.427-1.426h6.095c.787 0 1.426.639 1.426 1.427v34.166a20 20 0 0 1 0 .436v19.245c0 .788-.639 1.426-1.426 1.426h-6.095a1.426 1.426 0 0 1-1.427-1.426V80.86a20.77 20.77 0 0 1-11.93 3.743c-11.53 0-20.877-9.352-20.877-20.89 0-11.536 9.347-20.889 20.878-20.889 4.435 0 8.548 1.384 11.93 3.744zM73.17 75.652c6.589 0 11.93-5.344 11.93-11.936 0-6.593-5.341-11.937-11.93-11.937s-11.93 5.344-11.93 11.937S66.58 75.65 73.17 75.65m28.27-32.826c-.788 0-1.427.639-1.427 1.427v19.463a20.9 20.9 0 0 0 6.116 14.77 20.87 20.87 0 0 0 29.526 0 20.9 20.9 0 0 0 6.115-14.77h-.001V44.252c0-.788-.639-1.427-1.427-1.427h-6.095c-.787 0-1.426.639-1.426 1.427v19.463a11.94 11.94 0 0 1-3.494 8.44 11.929 11.929 0 0 1-20.366-8.44V44.252c0-.788-.639-1.427-1.426-1.427z",clipRule:"evenodd"})}),x("path",{fill:`url(#${r}-c)`,fillOpacity:"0.4",stroke:`url(#${r}-d)`,strokeWidth:"0.233",d:"M93.926 63.996v20.577H85.21v-3.85l-.183.127a20.66 20.66 0 0 1-11.865 3.723c-11.468 0-20.765-9.302-20.765-20.776s9.297-20.776 20.765-20.776a20.66 20.66 0 0 1 11.865 3.723l.183.128V28.098h8.716v35.898Zm53.925-.199V28.098h8.717v18.775l.182-.128a20.66 20.66 0 0 1 11.866-3.724c11.468 0 20.765 9.302 20.765 20.776s-9.297 20.776-20.765 20.776-20.765-9.301-20.765-20.776Zm-6.198 0v.116h.001a20.8 20.8 0 0 1-6.082 14.575 20.757 20.757 0 0 1-29.366 0 20.79 20.79 0 0 1-6.082-14.69V43.02h8.717v20.776a12.047 12.047 0 1 0 24.096 0V43.021h8.716zM73.162 75.851c6.654 0 12.048-5.397 12.048-12.054 0-6.658-5.394-12.055-12.048-12.055S61.114 57.14 61.114 63.797 66.508 75.85 73.162 75.85Zm95.454 0c6.654 0 12.048-5.397 12.048-12.054 0-6.658-5.394-12.055-12.048-12.055s-12.048 5.397-12.048 12.055 5.394 12.054 12.048 12.054Z"}),x("circle",{cx:"85.073",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"147.866",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"147.866",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"168.565",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"180.426",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"189.496",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"99.957",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"99.957",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"120.888",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"112.516",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"101.586",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"139.959",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"129.494",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"120.888",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"132.982",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"156.704",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"108.795",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"141.82",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"141.82",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"73.213",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"61.118",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"52.281",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"85.073",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),x("circle",{cx:"93.911",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),dt("defs",{children:[dt("linearGradient",{id:`${r}-c`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[x("stop",{stopColor:"#fff",stopOpacity:"0"}),x("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0.3"})]}),dt("linearGradient",{id:`${r}-d`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[x("stop",{stopColor:"#5B5B5B"}),x("stop",{offset:"1",stopColor:"#757575"})]}),dt("filter",{id:`${r}-b`,width:"154.246",height:"73.748",x:"43.768",y:"19.38",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[x("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),x("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"4.262"}),x("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_7_2"}),x("feBlend",{in:"SourceGraphic",in2:"effect1_backgroundBlur_7_2",result:"shape"}),x("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),x("feOffset",{dx:"-0.991",dy:"0.991"}),x("feGaussianBlur",{stdDeviation:"0.496"}),x("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),x("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.354 0"}),x("feBlend",{in2:"shape",result:"effect2_innerShadow_7_2"}),x("feColorMatrix",{in:"SourceAlpha",result:"hardAlpha",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0"}),x("feOffset",{dx:"0.991",dy:"-0.991"}),x("feGaussianBlur",{stdDeviation:"0.496"}),x("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),x("feColorMatrix",{values:"0 0 0 0 0.84 0 0 0 0 0.84 0 0 0 0 0.84 0 0 0 0.354 0"}),x("feBlend",{in2:"effect2_innerShadow_7_2",result:"effect3_innerShadow_7_2"}),x("feGaussianBlur",{result:"effect4_foregroundBlur_7_2",stdDeviation:"0.357"})]})]})]})}import{jsx as Q,jsxs as Ze}from"react/jsx-runtime";var _d=[{title:"Docs",description:"Platform documentation",thumbnail:"https://assets.dub.co/misc/docs-thumbnail.jpg",href:"/docs/introduction"},{title:"Help Center",description:"Answers to your questions",thumbnail:"https://assets.dub.co/misc/help-thumbnail.jpg",href:"/help"}];function Un({domain:e}){return Ze("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.45fr] divide-x divide-neutral-200 dark:divide-white/20",children:[Q("div",{className:"grid grid-cols-2 gap-4 p-4",children:_d.map(({title:t,description:r,thumbnail:o,href:a})=>Q(Fn,{asChild:!0,children:Ze(Wn,{href:O(a,e,te({domain:e,utm_content:t})),className:i("group relative flex flex-col overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 transition-colors duration-75 hover:bg-neutral-100/80","dark:border-white/20 dark:bg-white/10 dark:hover:bg-white/15"),children:[Ze("div",{className:"p-5 pb-0",children:[Q("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:t}),Q("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:r})]}),Q("div",{className:"relative mt-7 grow overflow-hidden pl-5 [mask-image:linear-gradient(90deg,black_50%,transparent)]",children:Q("div",{className:i("relative size-full overflow-hidden rounded-tl-lg border-l border-t border-black/10","[mask-image:linear-gradient(black_50%,transparent)]"),children:Q(Od,{src:o,alt:`${t} thumbnail`,fill:!0,className:"bg-white object-cover object-left-top grayscale transition-[filter] duration-75 group-hover:grayscale-0 dark:opacity-50"})})})]},t)},t))}),Ze("div",{className:"flex flex-col gap-4 p-4",children:[br.filter(({title:t})=>!["Docs","Help Center","Dub Brand"].includes(t)).map(({title:t,description:r,icon:o,href:a})=>Q(Cr,{title:t,description:r,icon:o,iconClassName:"size-5",href:O(a,e,te({domain:e,utm_content:t}))},t)),Q(Fn,{asChild:!0,children:Ze(Wn,{href:O("/brand",e,te({domain:e,utm_content:"Dub Brand"})),className:"group relative flex flex-col overflow-hidden rounded-xl bg-black transition-colors duration-75 dark:border dark:border-white/20",children:[Ze("div",{className:"pointer-events-none absolute inset-0",children:[Q("div",{className:"absolute -inset-[50%] opacity-30 blur-[20px] transition-opacity duration-300 group-hover:opacity-40 dark:group-hover:opacity-35",children:Q("div",{className:i("absolute inset-0 rounded-xl","bg-[radial-gradient(20%_80%_at_50%_100%,#fd3a4e,transparent),radial-gradient(30%_80%_at_40%_50%,#855afc,transparent),radial-gradient(30%_80%_at_60%_50%,#72fe7d,transparent),radial-gradient(30%_100%_at_50%_50%,#e4c795,transparent)]")})}),Q(Bn,{className:"absolute right-0 top-1/2 h-auto w-full -translate-y-1/2 translate-x-[33%] [mask-image:linear-gradient(90deg,#000a,transparent)]"})]}),Q("div",{className:"relative flex items-center justify-between px-5 py-4",children:Ze("div",{children:[Q("span",{className:"block text-sm font-medium text-white",children:"Dub Brand"}),Q("p",{className:"text-sm text-white/60",children:"Logos, wordmark, etc."})]})})]})})]})]})}import{Link as Hd}from"@radix-ui/react-navigation-menu";import Vd from"next/link";import{jsx as re,jsxs as ut}from"react/jsx-runtime";var Bd=[{icon:Ft,title:"Marketing Attribution",description:"Easily track and measure marketing impact",href:"/analytics"},{icon:Wt,title:"Content Creators",description:"Intelligent audience insights and link tracking",href:"/solutions/creators"},{icon:Gt,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"}];function Gn({domain:e}){return ut("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[ut("div",{className:"flex h-full flex-col p-4",children:[re("p",{className:i(lt,"mb-4 ml-2"),children:"Use case"}),re("div",{className:"grid grow grid-cols-3 gap-4",children:Bd.map(({icon:t,title:r,description:o,href:a})=>re(Hd,{asChild:!0,children:ut(Vd,{href:O(a,e,te({domain:e,utm_content:r})),className:i("group relative isolate z-0 flex flex-col justify-between overflow-hidden rounded-xl border border-neutral-100 bg-neutral-50 px-5 py-4 transition-colors duration-75","dark:border-white/20 dark:bg-neutral-900"),children:[ut("div",{className:"absolute inset-0 opacity-0 transition-opacity duration-150 group-hover:opacity-100",children:[re("div",{className:"absolute -inset-[25%] -skew-y-12 [mask-image:linear-gradient(225deg,black,transparent_50%)]",children:re(dn,{cellSize:46,patternOffset:[0,-14],className:"translate-y-2 text-[#ad1f3288] transition-transform duration-150 ease-out group-hover:translate-y-0"})}),re("div",{className:i("absolute -inset-[10%] opacity-10 blur-[50px] dark:brightness-150","bg-[conic-gradient(#F35066_0deg,#F35066_117deg,#9071F9_180deg,#5182FC_240deg,#F35066_360deg)]")})]}),re(t,{className:"relative size-5 text-neutral-700 dark:text-white/60"}),ut("div",{className:"relative",children:[re("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:r}),re("p",{className:"mt-2 text-xs text-neutral-500 dark:text-white/60",children:o})]})]},r)},r))})]}),ut("div",{className:"px-6 py-4",children:[re("p",{className:i(lt,"mb-2"),children:"SDKs"}),re("div",{className:"flex flex-col gap-0.5",children:lo.map(({icon:t,iconClassName:r,title:o,href:a})=>re(ct,{className:"-mx-2",href:O(a,e,te({domain:e,utm_content:o})),icon:re("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-1 dark:border-white/20 dark:bg-white/10",children:re(t,{className:i("size-5 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,showArrow:!0},a))})]})]})}import{Fragment as Zd,jsx as U,jsxs as mt}from"react/jsx-runtime";var mo=Gd({theme:"light"}),po=[{name:"Product",content:Vn,childItems:vr,segments:["/home","/analytics","/features","/compare"]},{name:"Solutions",content:Gn,childItems:Ln,segments:["/solutions"]},{name:"Resources",content:Un,childItems:br,segments:["/docs","/help","/brand","/blog","/changelog","/customers"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],$n=i("relative group/item flex items-center rounded-md px-4 py-2 text-sm rounded-lg font-medium text-neutral-700 hover:text-neutral-900 transition-colors","dark:text-white/90 dark:hover:text-white","hover:bg-neutral-900/5 dark:hover:bg-white/10","data-[active=true]:bg-neutral-900/5 dark:data-[active=true]:bg-white/10","group-has-[:hover]:data-[active=true]:[&:not(:hover)]:bg-transparent");function f5({theme:e="light",staticDomain:t,maxWidthWrapperClassName:r}){let{domain:o="dub.co"}=Wd();t&&(o=t);let a=$d(),l=Wa(40),c=Ud(),{data:s,isLoading:u}=Kd(o.endsWith("dub.co")&&"/api/auth/session",fe,{dedupingInterval:6e4});return U(mo.Provider,{value:{theme:e},children:U(Fd,{id:a,children:mt("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",e==="dark"&&"dark"),children:[U("div",{className:i("absolute inset-0 block border-b border-transparent transition-all",l&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),U(yr,{className:i("relative",r),children:mt("div",{className:"flex h-14 items-center justify-between",children:[U("div",{className:"grow basis-0",children:U(Tt,{className:"block w-fit py-2 pr-2",href:O("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:U(Nr,{})})}),mt(de.Root,{delayDuration:0,className:"relative hidden lg:block",children:[U(de.List,{className:"group relative z-0 flex",children:po.map(({name:d,href:n,segments:p,content:f})=>{let g=p.some(b=>c==null?void 0:c.startsWith(b));return mt(de.Item,{children:[U(Yd,{trigger:!!f,children:n!==void 0?U(Tt,{id:`nav-${n}`,href:O(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:d}),className:$n,"data-active":g,children:d}):mt("button",{className:$n,"data-active":g,children:[d,U(jd,{className:"ml-1.5 size-2.5 text-neutral-700"})]})}),f&&U(de.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:U(f,{domain:o})})]},d)})}),U("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:U(de.Viewport,{className:i("relative flex origin-[top_center] justify-start overflow-hidden rounded-[20px] border border-neutral-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]")})})]}),U("div",{className:"hidden grow basis-0 justify-end gap-2 lg:flex",children:s&&Object.keys(s).length>0?U(Tt,{href:Ce,className:i(ie({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Dashboard"}):u?null:mt(Zd,{children:[U(Tt,{href:"https://app.dub.co/login",className:i(ie({variant:"secondary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white/10 dark:bg-black dark:text-white dark:hover:bg-neutral-900"),children:"Log in"}),U(Tt,{href:"https://app.dub.co/register",className:i(ie({variant:"primary"}),"flex h-8 items-center rounded-lg border px-4 text-sm","dark:border-white dark:bg-white dark:text-black dark:hover:bg-neutral-50 dark:hover:ring-white/10"),children:"Sign up"})]})})]})})]})})})}function jd(e){return U("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",fill:"none",viewBox:"0 0 9 9",...e,children:U("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:"1.5",d:"M7.278 3.389 4.5 6.167 1.722 3.389",className:"transition-transform duration-150 [transform-box:view-box] [transform-origin:center] [vector-effect:non-scaling-stroke] group-data-[state=open]/item:-scale-y-100"})})}function Yd({trigger:e,children:t}){return e?U(de.Trigger,{asChild:!0,children:t}):t}import{ChevronDown as qd,Menu as Xd,X as Jd}from"lucide-react";import pt from"next/link";import{useParams as go}from"next/navigation";import{useEffect as Qd,useState as jn}from"react";import eu from"swr";import{Fragment as ru,jsx as _,jsxs as Le}from"react/jsx-runtime";function M5({theme:e="light",staticDomain:t}){let{domain:r="dub.co"}=go();t&&(r=t);let[o,a]=jn(!1);Qd(()=>{o?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[o]);let{data:l}=eu(r.endsWith("dub.co")&&"/api/auth/session",fe,{dedupingInterval:6e4});return Le("div",{className:i("fixed right-0 top-0 z-40 flex items-center gap-4 p-2.5 lg:hidden",e==="dark"&&"dark"),children:[l&&Object.keys(l).length>0?_(fo,{href:Ce,className:"max-[280px]:hidden",children:"Dashboard"}):Le("div",{className:"flex gap-2 max-[280px]:hidden",children:[_(fo,{variant:"secondary",href:`${Ce}/login`,children:"Log in"}),_(fo,{href:`${Ce}/register`,children:"Sign Up"})]}),_("button",{onClick:()=>a(!o),className:i("z-30 rounded-full p-2 transition-colors duration-200 hover:bg-neutral-200 focus:outline-none active:bg-neutral-300 dark:hover:bg-white/20 dark:active:bg-white/30",o&&"hover:bg-neutral-100 active:bg-neutral-200"),children:o?_(Jd,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"}):_(Xd,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"})}),_("nav",{className:i("fixed inset-0 z-20 hidden w-full bg-white px-5 py-16 lg:hidden dark:bg-black dark:text-white/70",o&&"block"),children:Le("ul",{className:"grid divide-y divide-neutral-200 dark:divide-white/[0.15]",children:[po.map(({name:c,href:s,childItems:u},d)=>_(tu,{name:c,href:s,childItems:u,setOpen:a},d)),l&&Object.keys(l).length>0?_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:Ce,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):Le(ru,{children:[_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:`${Ce}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),_("li",{className:"py-3 min-[281px]:hidden",children:_(pt,{href:`${Ce}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var tu=({name:e,href:t,childItems:r,setOpen:o})=>{let{domain:a="dub.co"}=go(),[l,c]=jn(!1);return r?_("li",{className:"py-3",children:Le(Pe,{height:!0,children:[Le("button",{className:"flex w-full justify-between",onClick:()=>c(!l),children:[_("p",{className:"font-semibold",children:e}),_(qd,{className:i("h-5 w-5 text-neutral-500 transition-all dark:text-white/50",l&&"rotate-180")})]}),l&&_("div",{className:"grid grid-cols-1 gap-4 overflow-hidden py-4",children:r.map((s,u)=>"items"in s?Le("div",{className:"grid grid-cols-1 gap-3",children:[_("span",{className:"text-xs font-medium uppercase text-neutral-500 dark:text-white/50",children:s.label}),s.items.map((d,n)=>_(Kn,{item:d,setOpen:o,size:"small"},n))]},u):_(Kn,{item:s,setOpen:o},u))})]})}):t?_("li",{className:"py-3",children:_(pt,{href:O(t,a,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:a,utm_content:e}),onClick:()=>o(!1),className:"flex w-full font-semibold capitalize",children:e})}):null},Kn=({item:{title:e,description:t,href:r,icon:o},setOpen:a,size:l="normal"})=>{let{domain:c="dub.co"}=go();return Le(pt,{href:O(r,c,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:c,utm_content:e}),onClick:()=>a(!1),className:"flex w-full items-center gap-3",children:[_("div",{className:i("flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",l==="small"&&"size-8"),children:_(o,{className:i("size-5 text-neutral-700 grayscale",l==="small"&&"size-4")})}),Le("div",{children:[_("div",{className:"flex items-center gap-2",children:_("h2",{className:"text-sm font-medium text-neutral-900",children:e})}),t&&_("p",{className:"text-sm text-neutral-500",children:t})]})]})};function fo({variant:e,className:t,...r}){return _(pt,{...r,className:i("flex h-8 w-fit items-center whitespace-nowrap rounded-lg border px-3 text-[0.8125rem]",ie({variant:e}),t)})}import{jsx as Yn}from"react/jsx-runtime";function Zn({className:e}){return Yn("svg",{width:"46",height:"24",viewBox:"0 0 46 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-6 w-auto text-black dark:text-white",e),children:Yn("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"})})}import{jsx as q,jsxs as qn}from"react/jsx-runtime";var mu=`<svg width="65" height="64" viewBox="0 0 65 64" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
49
49
|
<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"/>
|
|
50
50
|
</svg>`,pu=`<svg width="46" height="24" viewBox="0 0 46 24" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
51
51
|
<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"/>
|
|
52
|
-
</svg>`;function Nr({variant:e="full",isInApp:t,className:r}){let{domain:o="dub.co"}=su(),{theme:a}=cu(mo),[l,c]=du(!1),s=lu(n=>{n.preventDefault(),c(!0)},[]),[,u]=et();function d(n){uu.promise(u(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return qn(Ve.Root,{open:l,onOpenChange:c,children:[q(Ve.Anchor,{asChild:!0,children:q("div",{onContextMenu:s,className:"max-w-fit",children:e==="full"?q(Zn,{className:r}):q(co,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",r)})})}),q(Ve.Portal,{children:q(Ve.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5",!t&&"-translate-x-8",a==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),c(!1)},children:qn("div",{className:"grid gap-1 rounded-lg border border-neutral-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[q(Lt,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>d(mu),icon:q(co,{className:"h-4 w-4"})}),q(Lt,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>d(pu),icon:q(iu,{strokeWidth:2,className:"h-4 w-4"})}),q(Lt,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:q(ou,{strokeWidth:2,className:"h-4 w-4"})}),t||o!="dub.co"?q(Lt,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:q(au,{strokeWidth:2,className:"h-4 w-4"})}):q(Lt,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:q(nu,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function Lt({className:e,...t}){return q(se,{className:i("h-9 justify-start px-3 font-medium hover:text-neutral-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",e),...t})}import{jsx as T,jsxs as W}from"react/jsx-runtime";var bu=[{name:"Twitter",icon:_t,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:Ot,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:zt,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:Ht,href:"https://www.youtube.com/@dubdotco"}],ft={product:[...vr.map(({title:e,href:t})=>({name:e,href:t})),{name:"Dub Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"}],solutions:[{name:"Marketing attribution",href:"/analytics"},{name:"Content creators",href:"/solutions/creators"},{name:"Affiliate management",href:"/partners"}],resources:[{name:"Docs",href:"/docs/introduction"},{name:"Help Center",href:"/help"},{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Brand",href:"/brand"}],compare:xr.map(({name:e,slug:t})=>({name:e,href:`/compare/${t}`})),legal:En.map(({name:e,slug:t})=>({name:e,href:`/legal/${t}`})),tools:Lo.map(({name:e,slug:t})=>({name:e,href:`/tools/${t}`}))},gt="text-sm font-medium text-neutral-900",ht="flex flex-col mt-2.5 gap-2.5",qe="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function e8({staticDomain:e,className:t}){let{domain:r="dub.co"}=gu();return e&&(r=e),T(yr,{className:i("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",t),children:W("footer",{children:[W("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[W("div",{className:"flex flex-col gap-6",children:[T("div",{className:"grow",children:W(Ee,{href:O("/",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"Logo"}),className:"block max-w-fit",children:[W("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),T(Nr,{className:"h-8 text-neutral-800"})]})}),T("div",{className:"flex items-center gap-3",children:bu.map(({name:o,icon:a,href:l})=>W("a",{href:l,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[T("span",{className:"sr-only",children:o}),T(a,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},o))})]}),W("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[W("div",{className:"md:grid md:grid-cols-2",children:[W("div",{className:"grid gap-8",children:[W("div",{children:[T("h3",{className:gt,children:"Product"}),T("ul",{role:"list",className:ht,children:ft.product.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]}),W("div",{children:[T("h3",{className:gt,children:"Solutions"}),T("ul",{role:"list",className:ht,children:ft.solutions.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]}),W("div",{className:"mt-10 md:mt-0",children:[T("h3",{className:gt,children:"Resources"}),T("ul",{role:"list",className:ht,children:ft.resources.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]}),W("div",{className:"md:grid md:grid-cols-2",children:[W("div",{className:"grid gap-8",children:[W("div",{children:[T("h3",{className:gt,children:"Compare"}),T("ul",{role:"list",className:ht,children:ft.compare.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]}),W("div",{children:[T("h3",{className:gt,children:"Legal"}),W("ul",{role:"list",className:ht,children:[ft.legal.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name)),T("li",{children:W("a",{href:"https://security.dub.co",target:"_blank",rel:"noreferrer",className:i(qe,"flex items-center gap-1"),children:["Trust Center ",T(ya,{className:"size-3.5"})]})})]})]})]}),W("div",{className:"mt-10 md:mt-0",children:[T("h3",{className:gt,children:"Tools"}),T("ul",{role:"list",className:ht,children:ft.tools.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]})]})]}),W("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[T(xu,{}),T(Ee,{href:O("/blog/soc2",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"SOC2"}),className:"flex sm:justify-center",children:T(fu,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),W("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function xu(){let{data:e}=vu("https://status.dub.co/api/v1/summary",fe),[t,r]=Xn("bg-neutral-200"),[o,a]=Xn("Loading status...");return hu(()=>{if(!e)return;let{ongoing_incidents:l}=e;if(l.length>0){let{current_worst_impact:c,name:s}=l[0],u=c==="degraded_performance"?"bg-yellow-500":"bg-red-500";a(s),r(u)}else a("All systems operational"),r("bg-green-500")},[e]),W(Ee,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[W("div",{className:"relative size-2",children:[T("div",{className:i("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,o==="Loading status..."&&"animate-none")}),T("div",{className:i("absolute inset-0 z-10 m-auto size-2 rounded-full",t)})]}),T("p",{className:"text-xs font-medium leading-none text-neutral-600",children:o})]})}import{AnimatePresence as yu,motion as wu}from"framer-motion";import{useEffect as Cu,useState as Nu}from"react";import{jsx as Jn}from"react/jsx-runtime";var Qn=({children:e,fallback:t,fadeInDuration:r=.5,className:o})=>{let[a,l]=Nu(!1);Cu(()=>{l(!0)},[]);let c=r?wu.div:"div";return Jn(yu,{children:a?Jn(c,{...r?{initial:{opacity:0},animate:{opacity:1},transition:{duration:r}}:{},className:o,children:e}):t||null})};import{cva as ku}from"class-variance-authority";import{toast as Pu}from"sonner";import{jsx as ho,jsxs as Mu}from"react/jsx-runtime";var Su=ku("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-neutral-100 active:bg-neutral-200",neutral:"bg-transparent hover:bg-neutral-100 active:bg-neutral-200"}},defaultVariants:{variant:"default"}});function m8({variant:e="default",value:t,className:r,icon:o,successMessage:a}){let[l,c]=et(),s=o||Eo;return Mu("button",{onClick:u=>{u.stopPropagation(),Pu.promise(c(t),{success:a||"Copied to clipboard!"})},className:i(Su({variant:e}),r),type:"button",children:[ho("span",{className:"sr-only",children:"Copy"}),l?ho(_o,{className:"h-3.5 w-3.5"}):ho(s,{className:"h-3.5 w-3.5"})]})}import{toast as Ru}from"sonner";import{jsx as Tu}from"react/jsx-runtime";function v8({value:e,children:t,className:r,successMessage:o}){let[a,l]=et();return Tu("button",{onClick:c=>{c.stopPropagation(),Ru.promise(l(e),{success:o||"Copied to clipboard!"})},type:"button",className:i("cursor-copy text-sm text-neutral-700 decoration-dotted hover:underline",a&&"cursor-default",r),children:t})}import{jsx as Lu,jsxs as Eu}from"react/jsx-runtime";function x8({icon:e,text:t}){return Eu("div",{className:"flex items-center justify-start space-x-2 truncate",children:[e,Lu("p",{className:"truncate text-sm",children:t})]})}import{jsx as Au}from"react/jsx-runtime";var w8=({children:e})=>Au("span",{className:"inline-block rounded-md bg-blue-100 px-1 py-0.5 font-mono text-blue-900",children:e});import{jsx as vo}from"react/jsx-runtime";function S8({apexDomain:e,className:t,imageProps:r}){return e?vo(Rt,{src:`${It}${e}`,alt:e,className:i("h-8 w-8 rounded-full sm:h-10 sm:w-10",t),width:20,height:20,draggable:!1,...r}):vo("div",{className:i("flex h-8 w-8 items-center justify-center rounded-full bg-neutral-100 px-0 sm:h-10 sm:w-10",t),children:vo(da,{className:"h-4 w-4 text-neutral-600 sm:h-5 sm:w-5"})})}import{Link2 as ei}from"lucide-react";import{useRouter as Du,useSearchParams as Iu}from"next/navigation";import{useEffect as zu,useMemo as Ou,useRef as _u}from"react";import Hu from"swr";import{useDebounce as Vu}from"use-debounce";import{Fragment as ti,jsx as Y,jsxs as Be}from"react/jsx-runtime";function O8({defaultUrl:e}){let t=Du(),r=Iu(),o=e||(r==null?void 0:r.get("url"))||"https://github.com/dubinc/dub",[a]=Vu(Mo(o),500),l=Ou(()=>Ro(a||""),[a]),{data:c,isValidating:s}=Hu(a&&`/api/metatags?url=${encodeURIComponent(a)}`,fe,{revalidateOnFocus:!1}),{title:u,description:d,image:n}=c||{},p=_u(null);zu(()=>{!e&&p.current&&p.current.select()},[e]);let{isMobile:f}=Z();return Be(ti,{children:[!e&&Be("div",{className:"relative flex items-center",children:[Y(ei,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{ref:p,name:"url",id:"url",type:"url",autoFocus:!f,className:"block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",placeholder:"Enter your URL",defaultValue:o,onChange:g=>t.replace(`/tools/metatags${g.target.value.length>0?`?url=${g.target.value}`:""}`),"aria-invalid":"true"})]}),Be("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:[s&&Y("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50",children:Y(bt,{})}),n?Y("img",{src:n,alt:"Preview",className:"h-[250px] w-full border-b border-neutral-300 object-cover"}):Be("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300",children:[Y(Io,{className:"h-8 w-8 text-neutral-400"}),Y("p",{className:"text-sm text-neutral-400",children:"Enter a link to generate a preview."})]}),Be("div",{className:"grid gap-1 bg-white p-3 text-left",children:[l?Y("p",{className:"text-sm text-[#536471]",children:l}):Y("div",{className:"mb-1 h-4 w-24 rounded-md bg-neutral-100"}),u?Y("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:u}):Y("div",{className:"mb-1 h-4 w-full rounded-md bg-neutral-100"}),d?Y("p",{className:"line-clamp-2 text-sm text-[#536471]",children:d}):Be("div",{className:"grid gap-2",children:[Y("div",{className:"h-4 w-full rounded-md bg-neutral-100"}),Y("div",{className:"h-4 w-48 rounded-md bg-neutral-100"})]})]})]})]})}function _8({defaultUrl:e}){return Be(ti,{children:[Be("div",{className:"relative flex items-center",children:[Y(ei,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",placeholder:"Enter your URL",defaultValue:e||"https://github.com/dubinc/dub"})]}),Y("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:Y("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50",children:Y(bt,{})})})]})}import{AnimatePresence as Bu}from"framer-motion";import ri from"js-cookie";import{createContext as Fu,useState as Wu}from"react";import{jsx as bo}from"react/jsx-runtime";var Uu=Fu({hidePopup:()=>{}});function G8({children:e,hiddenCookieId:t}){let[r,o]=Wu(ri.get(t)==="1"),a=()=>{o(!0),ri.set(t,"1")};return bo(Qn,{children:bo(Uu.Provider,{value:{hidePopup:a},children:bo(Bu,{children:!r&&e})})})}import{motion as Gu}from"framer-motion";import{jsx as oi}from"react/jsx-runtime";function Y8({value:e=0,max:t=100,className:r}){return oi("div",{className:i("h-3 w-full overflow-hidden rounded-full bg-neutral-200",r),children:oi(Gu.div,{initial:{width:0},animate:{width:e&&t?e/t*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${e&&t&&e>t?"bg-red-500":"bg-blue-500"} h-full`})})}import{cva as ni}from"class-variance-authority";import{LayoutGroup as $u,motion as Ku}from"framer-motion";import{useId as ju}from"react";import{jsx as Et,jsxs as ai}from"react/jsx-runtime";var Yu=ni("p-4 transition-colors duration-75",{variants:{variant:{default:"text-content-subtle data-[selected=true]:text-content-emphasis data-[selected=false]:hover:text-content-default",accent:"text-content-subtle transition-[color,font-weight] data-[selected=true]:text-blue-600 data-[selected=false]:hover:text-content-default data-[selected=true]:font-medium"}},defaultVariants:{variant:"default"}}),Zu=ni("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-bg-inverted",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function a6({variant:e,options:t,selected:r,onSelect:o,className:a}){let l=ju();return Et("div",{className:i("flex text-sm",a),children:Et($u,{id:l,children:t.map(({id:c,label:s,href:u})=>{let d=c===r;return ai(u?"a":"div",{className:"relative",href:u??"#",target:u?"_blank":void 0,children:[ai("button",{type:"button",...!u&&{onClick:()=>o==null?void 0:o(c)},className:i(Yu({variant:e}),u&&"group flex items-center gap-1.5"),"data-selected":d,"aria-selected":d,children:[s,u&&Et($o,{className:"size-2.5"})]}),d&&Et(Ku.div,{layoutId:"indicator",transition:{duration:.1},className:Zu({variant:e}),children:Et("div",{className:"h-0.5 rounded-t-full bg-current"})})]},c)})})})}import{jsx as xo,jsxs as ii}from"react/jsx-runtime";var qu=[{icon:Na,text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{icon:oa,text:"Geo/device targeting",href:"https://dub.co/help/article/geo-targeting"},{icon:ha,text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{icon:Ca,text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{icon:ga,text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"}];function s6(){return ii("div",{className:"p-3",children:[xo("span",{className:"block text-sm font-semibold text-neutral-600",children:"Advanced link features"}),xo("div",{className:"mt-2 flex flex-col gap-2.5 text-xs text-neutral-600",children:qu.map(({text:e,icon:t,href:r})=>ii("a",{href:r,target:"_blank",className:"flex items-center gap-2.5 underline decoration-dotted underline-offset-2",children:[xo(t,{className:"size-3.5 shrink-0"}),e]},e))})]})}import{jsx as si,jsxs as Xu}from"react/jsx-runtime";function d6({className:e}){return Xu("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-6 w-auto text-black dark:text-white",e),children:[si("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"}),si("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{Dr as AUTOPLAY_DEFAULT_DELAY,Ff as Accordion,fi as AccordionContent,mi as AccordionItem,pi as AccordionTrigger,s6 as AdvancedLinkFeaturesTooltip,fm as Africa,Sm as Airtm,bi as Alert,yi as AlertDescription,xi as AlertTitle,ym as Amazon,Am as AndroidLogo,Pe as AnimatedSizeContainer,Dm as AppleLogo,Im as ArrowBoldUp,zm as ArrowRight,Om as ArrowTrendUp,_m as ArrowTurnLeft,Hm as ArrowTurnRight2,$o as ArrowUpRight,Vm as ArrowsOppositeDirectionY,gm as Asia,fo as AuthButton,Zf as Avatar,e4 as Background,Yt as Badge,Bm as BadgeCheck,Fm as BadgeCheck2Fill,h1 as BadgeTooltip,Wm as Blog,Rt as BlurImage,Um as Bolt,Gm as BoltFill,Km as Book2,Ko as Book2Fill,jm as Book2Small,$m as BookOpen,Ym as Books2,Zm as BoxArchive,qm as BulletList,jo as BulletListFill,se as Button,v1 as ButtonTooltip,xr as COMPARE_PAGES,Tn as CUSTOMER_STORIES,Za as Calendar,e0 as Calendar6,Jm as CalendarDays,Xm as CalendarIcon,Qm as CalendarRefresh,dm as CardAmex,um as CardDiscover,F1 as CardList,mm as CardMastercard,pm as CardVisa,t0 as Cards,r0 as CaretUpFill,Xi as Carousel,Ji as CarouselContent,Qi as CarouselItem,ng as CarouselNavBar,ts as CarouselNext,es as CarouselPrevious,gg as CarouselThumbnail,fg as CarouselThumbnails,Mm as CashApp,o0 as ChartActivity2,a0 as ChartArea2,n0 as ChartLine,wm as ChatGPT,Yo as Check,Zo as Check2,ms as Checkbox,qo as CheckboxCheckedFill,Xo as CheckboxUnchecked,Jo as CircleCheck,i0 as CircleCheckFill,s0 as CircleDollar,l0 as CircleDotted,Qo as CircleHalfDottedCheck,ea as CircleHalfDottedClock,ta as CircleInfo,c0 as CirclePercentage,d0 as CirclePlay,u0 as CirclePlayFill,m0 as CircleQuestion,p0 as CircleUser,Mr as CircleWarning,f0 as CircleXmark,g0 as Circles,h0 as Circles3,Qn as ClientOnly,ra as CloudUpload,v0 as Code,b0 as ColorPalette2,av as Combobox,d6 as CompositeLogo,x0 as ConnectedDots,y0 as ConnectedDots4,Vt as ConnectedDotsFill,w0 as Connections3,Eo as Copy,m8 as CopyButton,v8 as CopyText,C0 as CreditCard,N0 as Crosshairs3,k0 as Crown,Ju as CrownSmall,P0 as Cube,S0 as CubeSettings,Bt as CubeSettingsFill,M0 as CurrencyDollar,R0 as CursorRays,T0 as DatabaseKey,Hr as DatePickerContext,Fv as DateRangePicker,L0 as Desktop,E0 as DiamondTurnRight,Ft as DiamondTurnRightFill,A0 as Directions,D0 as Discount,I0 as Dots,z0 as Download,Qu as DubCraftedShield,O0 as Duplicate,ka as DynamicTooltipWrapper,oa as Earth,_0 as EarthPosition,jv as EmptyState,H0 as EnvelopeAlert,V0 as EnvelopeArrowRight,hm as Europe,Ao as ExpandingArrow,aa as Eye,na as EyeSlash,vr as FEATURES_LIST,rm as Facebook,ia as FeatherFill,Cm as Figma,B0 as FileContent,a2 as FileUpload,F0 as FileZip2,R2 as Filter,U0 as Filter2,W0 as FilterBars,$0 as Flag2,sa as Flag6,G0 as FlagWavy,K0 as Flask,j0 as Folder,J0 as Folder5,Y0 as FolderBookmark,Z0 as FolderLock,q0 as FolderPlus,X0 as FolderShield,e8 as Footer,z2 as Form,Q0 as GamingConsole,ep as Gauge6,tp as Gear,rp as Gear2,op as Gear3,ap as Gem,la as Gift,np as GiftFill,Nm as GitHubEnhanced,zt as Github,ip as Globe,da as Globe2,ca as GlobePointer,sp as GlobeSearch,Bo as Go,om as Google,km as GoogleEnhanced,lp as GreekTemple,dn as Grid,cp as GridIcon,dp as GridLayoutRows,up as GridPlus,mp as Headset,ua as HeadsetFill,ma as HeartFill,pa as HexadecagonStar,pp as History,fa as Hyperlink,x8 as IconMenu,fp as Icosahedron,ga as Incognito,f1 as InfoTooltip,w8 as InlineSnippet,uc as Input,gp as InputPassword,ha as InputPasswordPointer,va as InputSearch,ub as InputSelect,am as Instagram,hp as InvoiceDollar,vp as Key,za as KeyboardShortcutContext,Kg as KeyboardShortcutProvider,En as LEGAL_PAGES,Ec as Label,bp as LayoutSidebar,xp as License,ba as LinesY,wp as Link4,yp as LinkBroken,S8 as LinkLogo,O8 as LinkPreview,_8 as LinkPreviewPlaceholder,Ot as LinkedIn,p1 as LinkifyTooltipContent,bt as LoadingCircle,tm as LoadingDots,Ne as LoadingSpinner,Cp as LocationPin,Np as LockFill,co as Logo,Do as Magic,kp as Magnifier,Pp as MapPosition,Sp as MarketingTarget,em as MatrixLines,yr as MaxWidthWrapper,Mp as Menu3,Nb as MenuItem,Rp as MessageSmile,Wt as MicrophoneFill,Db as MiniAreaChart,Tp as MobilePhone,Vb as Modal,Lp as MoneyBill,Ep as MoneyBill2,Ap as MoneyBills2,f5 as Nav,mo as NavContext,M5 as NavMobile,Nr as NavWordmark,vm as NorthAmerica,Dp as Note,Fp as NucleoPhoto,g1 as NumberTooltip,bm as Oceania,Ip as OfficeBuilding,zf as PLAN_FEATURE_ICONS,xa as Page2,Wb as PaginationControls,zp as Paintbrush,Op as Palette2,_p as PaperPlane,Rm as Payoneer,Tm as Paypal,Vp as Pen2,Hp as PenWriting,Bp as PercentageArrowDown,Io as Photo,Fo as Php,Wp as Plug2,Ut as Plus,at as Popover,G8 as Popup,Uu as PopupContext,Up as Post,nm as Prisma,Ho as ProductHunt,Y8 as ProgressBar,Gp as Pyramid,Wo as Python,$p as QRCode,br as RESOURCES,Zc as RadioGroup,qc as RadioGroupItem,Vo as Raycast,Kp as Receipt2,ya as ReferredVia,jp as Refresh2,Yp as Robot,Uo as Ruby,lo as SDKS,n4 as SOCIAL_LINKS,Ln as SOLUTIONS,wa as SatelliteDish,Zp as ScanText,qp as Scribble,qb as Sheet,Xp as ShieldAlert,Jp as ShieldCheck,Qp as ShieldKeyhole,ef as ShieldSlash,ex as ShimmerDots,tf as Shuffle,m1 as SimpleTooltipContent,im as Slack,rf as Sliders,zo as SortOrder,xm as SouthAmerica,of as Sparkle3,Pm as Spotify,af as SquareChart,nf as SquareLayoutGrid5,sf as SquareLayoutGrid6,lf as SquareXmark,cf as Stars2,ix as StatusBadge,Lm as StripeLink,Oo as Success,fx as Switch,vf as TV,a6 as TabSelect,Vx as Table,df as TableIcon,uf as TableRows2,mf as Tablet,pf as Tag,ff as Tags,_o as Tick,sm as TikTok,Ca as Timer2,lm as Tinybird,gf as Toggle2Fill,Gx as ToggleGroup,qf as TokenAvatar,J as Tooltip,u1 as TooltipContent,d1 as TooltipProvider,hf as Trash,_t as Twitter,Go as Typescript,Jx as UTMBuilder,Td as UTM_PARAMETERS,bf as UiCard,cm as Unsplash,xf as User,yf as UserCheck,wf as UserCrown,Cf as UserDelete,Nf as UserPlus,kf as Users,Sf as Users2,Mf as Users6,Gt as UsersFill,Pf as UsersSettings,Em as Venmo,Rf as Versions2,Na as Views,Tf as Watch,Lf as Webhook,Ef as Window,Af as WindowSearch,Df as WindowSettings,Zn as Wordmark,If as Xmark,Ht as YouTube,Pi as badgeVariants,ie as buttonVariants,Ni as getUserAvatarUrl,po as navItems,dd as statusBadgeVariants,he as useCarousel,Ea as useCarouselActiveIndex,Cg as useCookies,et as useCopyToClipboard,Mg as useCurrentAnchor,Tg as useEnterSubmit,Dg as useInViewport,Og as useInputFocused,Bg as useIntersectionObserver,tt as useKeyboardShortcut,Zg as useLocalStorage,Z as useMediaQuery,eh as useOptimisticUpdate,mh as usePagination,gh as useRemoveGAParams,qt as useResizeObserver,Va as useRouterStuff,Wa as useScroll,rt as useScrollProgress,Hx as useTable,Ha as useTablePagination,Th as useToastWithUndo};
|
|
52
|
+
</svg>`;function Nr({variant:e="full",isInApp:t,className:r}){let{domain:o="dub.co"}=su(),{theme:a}=cu(mo),[l,c]=du(!1),s=lu(n=>{n.preventDefault(),c(!0)},[]),[,u]=et();function d(n){uu.promise(u(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return qn(Ve.Root,{open:l,onOpenChange:c,children:[q(Ve.Anchor,{asChild:!0,children:q("div",{onContextMenu:s,className:"max-w-fit",children:e==="full"?q(Zn,{className:r}):q(co,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",r)})})}),q(Ve.Portal,{children:q(Ve.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5",!t&&"-translate-x-8",a==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),c(!1)},children:qn("div",{className:"grid gap-1 rounded-lg border border-neutral-200 bg-white p-2 drop-shadow-sm sm:min-w-[240px] dark:border-white/[0.15] dark:bg-black",children:[q(Lt,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>d(mu),icon:q(co,{className:"h-4 w-4"})}),q(Lt,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>d(pu),icon:q(iu,{strokeWidth:2,className:"h-4 w-4"})}),q(Lt,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:q(ou,{strokeWidth:2,className:"h-4 w-4"})}),t||o!="dub.co"?q(Lt,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:q(au,{strokeWidth:2,className:"h-4 w-4"})}):q(Lt,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:q(nu,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function Lt({className:e,...t}){return q(se,{className:i("h-9 justify-start px-3 font-medium hover:text-neutral-700 dark:text-white/70 dark:hover:bg-white/[0.15] dark:hover:text-white",e),...t})}import{jsx as T,jsxs as W}from"react/jsx-runtime";var bu=[{name:"Twitter",icon:_t,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:Ot,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:zt,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:Ht,href:"https://www.youtube.com/@dubdotco"}],ft={product:[...vr.map(({title:e,href:t})=>({name:e,href:t})),{name:"Dub Enterprise",href:"/enterprise"},{name:"Pricing",href:"/pricing"}],solutions:[{name:"Marketing attribution",href:"/analytics"},{name:"Content creators",href:"/solutions/creators"},{name:"Affiliate management",href:"/partners"}],resources:[{name:"About",href:"/about"},{name:"Blog",href:"/blog"},{name:"Changelog",href:"/changelog"},{name:"Customers",href:"/customers"},{name:"Docs",href:"/docs/introduction"},{name:"Help Center",href:"/help"},{name:"Brand",href:"/brand"}],compare:xr.map(({name:e,slug:t})=>({name:e,href:`/compare/${t}`})),legal:En.map(({name:e,slug:t})=>({name:e,href:`/legal/${t}`})),tools:Lo.map(({name:e,slug:t})=>({name:e,href:`/tools/${t}`}))},gt="text-sm font-medium text-neutral-900",ht="flex flex-col mt-2.5 gap-2.5",qe="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function e8({staticDomain:e,className:t}){let{domain:r="dub.co"}=gu();return e&&(r=e),T(yr,{className:i("relative z-10 overflow-hidden border border-b-0 border-neutral-200 bg-white/50 py-16 backdrop-blur-lg md:rounded-t-2xl",t),children:W("footer",{children:[W("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[W("div",{className:"flex flex-col gap-6",children:[T("div",{className:"grow",children:W(Ee,{href:O("/",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"Logo"}),className:"block max-w-fit",children:[W("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),T(Nr,{className:"h-8 text-neutral-800"})]})}),T("div",{className:"flex items-center gap-3",children:bu.map(({name:o,icon:a,href:l})=>W("a",{href:l,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[T("span",{className:"sr-only",children:o}),T(a,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},o))})]}),W("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[W("div",{className:"md:grid md:grid-cols-2",children:[W("div",{className:"grid gap-8",children:[W("div",{children:[T("h3",{className:gt,children:"Product"}),T("ul",{role:"list",className:ht,children:ft.product.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]}),W("div",{children:[T("h3",{className:gt,children:"Solutions"}),T("ul",{role:"list",className:ht,children:ft.solutions.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]}),W("div",{className:"mt-10 md:mt-0",children:[T("h3",{className:gt,children:"Resources"}),T("ul",{role:"list",className:ht,children:ft.resources.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]}),W("div",{className:"md:grid md:grid-cols-2",children:[W("div",{className:"grid gap-8",children:[W("div",{children:[T("h3",{className:gt,children:"Compare"}),T("ul",{role:"list",className:ht,children:ft.compare.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]}),W("div",{children:[T("h3",{className:gt,children:"Legal"}),W("ul",{role:"list",className:ht,children:[ft.legal.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name)),T("li",{children:W("a",{href:"https://security.dub.co",target:"_blank",rel:"noreferrer",className:i(qe,"flex items-center gap-1"),children:["Trust Center ",T(ya,{className:"size-3.5"})]})})]})]})]}),W("div",{className:"mt-10 md:mt-0",children:[T("h3",{className:gt,children:"Tools"}),T("ul",{role:"list",className:ht,children:ft.tools.map(o=>T("li",{children:T(Ee,{href:O(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:qe,children:o.name})},o.name))})]})]})]})]}),W("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[T(xu,{}),T(Ee,{href:O("/blog/soc2",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"SOC2"}),className:"flex sm:justify-center",children:T(fu,{src:"https://assets.dub.co/misc/soc2.svg",alt:"AICPA SOC 2 Type II Certified",width:63,height:32,className:"h-8 transition-[filter] duration-75 hover:brightness-90"})}),W("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}function xu(){let{data:e}=vu("https://status.dub.co/api/v1/summary",fe),[t,r]=Xn("bg-neutral-200"),[o,a]=Xn("Loading status...");return hu(()=>{if(!e)return;let{ongoing_incidents:l}=e;if(l.length>0){let{current_worst_impact:c,name:s}=l[0],u=c==="degraded_performance"?"bg-yellow-500":"bg-red-500";a(s),r(u)}else a("All systems operational"),r("bg-green-500")},[e]),W(Ee,{href:"https://status.dub.co",target:"_blank",className:"group flex max-w-fit items-center gap-2 rounded-lg border border-neutral-200 bg-white py-2 pl-2 pr-2.5 transition-colors hover:bg-neutral-50 active:bg-neutral-100",children:[W("div",{className:"relative size-2",children:[T("div",{className:i("absolute inset-0 m-auto size-2 animate-ping items-center justify-center rounded-full group-hover:animate-none",t,o==="Loading status..."&&"animate-none")}),T("div",{className:i("absolute inset-0 z-10 m-auto size-2 rounded-full",t)})]}),T("p",{className:"text-xs font-medium leading-none text-neutral-600",children:o})]})}import{AnimatePresence as yu,motion as wu}from"framer-motion";import{useEffect as Cu,useState as Nu}from"react";import{jsx as Jn}from"react/jsx-runtime";var Qn=({children:e,fallback:t,fadeInDuration:r=.5,className:o})=>{let[a,l]=Nu(!1);Cu(()=>{l(!0)},[]);let c=r?wu.div:"div";return Jn(yu,{children:a?Jn(c,{...r?{initial:{opacity:0},animate:{opacity:1},transition:{duration:r}}:{},className:o,children:e}):t||null})};import{cva as ku}from"class-variance-authority";import{toast as Pu}from"sonner";import{jsx as ho,jsxs as Mu}from"react/jsx-runtime";var Su=ku("relative group rounded-full p-1.5 transition-all duration-75",{variants:{variant:{default:"bg-transparent hover:bg-neutral-100 active:bg-neutral-200",neutral:"bg-transparent hover:bg-neutral-100 active:bg-neutral-200"}},defaultVariants:{variant:"default"}});function m8({variant:e="default",value:t,className:r,icon:o,successMessage:a}){let[l,c]=et(),s=o||Eo;return Mu("button",{onClick:u=>{u.stopPropagation(),Pu.promise(c(t),{success:a||"Copied to clipboard!"})},className:i(Su({variant:e}),r),type:"button",children:[ho("span",{className:"sr-only",children:"Copy"}),l?ho(_o,{className:"h-3.5 w-3.5"}):ho(s,{className:"h-3.5 w-3.5"})]})}import{toast as Ru}from"sonner";import{jsx as Tu}from"react/jsx-runtime";function v8({value:e,children:t,className:r,successMessage:o}){let[a,l]=et();return Tu("button",{onClick:c=>{c.stopPropagation(),Ru.promise(l(e),{success:o||"Copied to clipboard!"})},type:"button",className:i("cursor-copy text-sm text-neutral-700 decoration-dotted hover:underline",a&&"cursor-default",r),children:t})}import{jsx as Lu,jsxs as Eu}from"react/jsx-runtime";function x8({icon:e,text:t}){return Eu("div",{className:"flex items-center justify-start space-x-2 truncate",children:[e,Lu("p",{className:"truncate text-sm",children:t})]})}import{jsx as Au}from"react/jsx-runtime";var w8=({children:e})=>Au("span",{className:"inline-block rounded-md bg-blue-100 px-1 py-0.5 font-mono text-blue-900",children:e});import{jsx as vo}from"react/jsx-runtime";function S8({apexDomain:e,className:t,imageProps:r}){return e?vo(Rt,{src:`${It}${e}`,alt:e,className:i("h-8 w-8 rounded-full sm:h-10 sm:w-10",t),width:20,height:20,draggable:!1,...r}):vo("div",{className:i("flex h-8 w-8 items-center justify-center rounded-full bg-neutral-100 px-0 sm:h-10 sm:w-10",t),children:vo(da,{className:"h-4 w-4 text-neutral-600 sm:h-5 sm:w-5"})})}import{Link2 as ei}from"lucide-react";import{useRouter as Du,useSearchParams as Iu}from"next/navigation";import{useEffect as zu,useMemo as Ou,useRef as _u}from"react";import Hu from"swr";import{useDebounce as Vu}from"use-debounce";import{Fragment as ti,jsx as Y,jsxs as Be}from"react/jsx-runtime";function O8({defaultUrl:e}){let t=Du(),r=Iu(),o=e||(r==null?void 0:r.get("url"))||"https://github.com/dubinc/dub",[a]=Vu(Mo(o),500),l=Ou(()=>Ro(a||""),[a]),{data:c,isValidating:s}=Hu(a&&`/api/metatags?url=${encodeURIComponent(a)}`,fe,{revalidateOnFocus:!1}),{title:u,description:d,image:n}=c||{},p=_u(null);zu(()=>{!e&&p.current&&p.current.select()},[e]);let{isMobile:f}=Z();return Be(ti,{children:[!e&&Be("div",{className:"relative flex items-center",children:[Y(ei,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{ref:p,name:"url",id:"url",type:"url",autoFocus:!f,className:"block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",placeholder:"Enter your URL",defaultValue:o,onChange:g=>t.replace(`/tools/metatags${g.target.value.length>0?`?url=${g.target.value}`:""}`),"aria-invalid":"true"})]}),Be("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:[s&&Y("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50",children:Y(bt,{})}),n?Y("img",{src:n,alt:"Preview",className:"h-[250px] w-full border-b border-neutral-300 object-cover"}):Be("div",{className:"flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300",children:[Y(Io,{className:"h-8 w-8 text-neutral-400"}),Y("p",{className:"text-sm text-neutral-400",children:"Enter a link to generate a preview."})]}),Be("div",{className:"grid gap-1 bg-white p-3 text-left",children:[l?Y("p",{className:"text-sm text-[#536471]",children:l}):Y("div",{className:"mb-1 h-4 w-24 rounded-md bg-neutral-100"}),u?Y("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:u}):Y("div",{className:"mb-1 h-4 w-full rounded-md bg-neutral-100"}),d?Y("p",{className:"line-clamp-2 text-sm text-[#536471]",children:d}):Be("div",{className:"grid gap-2",children:[Y("div",{className:"h-4 w-full rounded-md bg-neutral-100"}),Y("div",{className:"h-4 w-48 rounded-md bg-neutral-100"})]})]})]})]})}function _8({defaultUrl:e}){return Be(ti,{children:[Be("div",{className:"relative flex items-center",children:[Y(ei,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{name:"url",id:"url",type:"url",disabled:!0,className:"block w-full rounded-md border-neutral-200 pl-10 text-sm text-neutral-900 placeholder-neutral-400 shadow-lg focus:border-neutral-500 focus:outline-none focus:ring-neutral-500",placeholder:"Enter your URL",defaultValue:e||"https://github.com/dubinc/dub"})]}),Y("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:Y("div",{className:"absolute flex h-[250px] w-full flex-col items-center justify-center space-y-4 border-b border-neutral-300 bg-neutral-50",children:Y(bt,{})})})]})}import{AnimatePresence as Bu}from"framer-motion";import ri from"js-cookie";import{createContext as Fu,useState as Wu}from"react";import{jsx as bo}from"react/jsx-runtime";var Uu=Fu({hidePopup:()=>{}});function G8({children:e,hiddenCookieId:t}){let[r,o]=Wu(ri.get(t)==="1"),a=()=>{o(!0),ri.set(t,"1")};return bo(Qn,{children:bo(Uu.Provider,{value:{hidePopup:a},children:bo(Bu,{children:!r&&e})})})}import{motion as Gu}from"framer-motion";import{jsx as oi}from"react/jsx-runtime";function Y8({value:e=0,max:t=100,className:r}){return oi("div",{className:i("h-3 w-full overflow-hidden rounded-full bg-neutral-200",r),children:oi(Gu.div,{initial:{width:0},animate:{width:e&&t?e/t*100+"%":"0%"},transition:{duration:.5,type:"spring",delay:.2},className:`${e&&t&&e>t?"bg-red-500":"bg-blue-500"} h-full`})})}import{cva as ni}from"class-variance-authority";import{LayoutGroup as $u,motion as Ku}from"framer-motion";import{useId as ju}from"react";import{jsx as Et,jsxs as ai}from"react/jsx-runtime";var Yu=ni("p-4 transition-colors duration-75",{variants:{variant:{default:"text-content-subtle data-[selected=true]:text-content-emphasis data-[selected=false]:hover:text-content-default",accent:"text-content-subtle transition-[color,font-weight] data-[selected=true]:text-blue-600 data-[selected=false]:hover:text-content-default data-[selected=true]:font-medium"}},defaultVariants:{variant:"default"}}),Zu=ni("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-bg-inverted",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function a6({variant:e,options:t,selected:r,onSelect:o,className:a}){let l=ju();return Et("div",{className:i("flex text-sm",a),children:Et($u,{id:l,children:t.map(({id:c,label:s,href:u})=>{let d=c===r;return ai(u?"a":"div",{className:"relative",href:u??"#",target:u?"_blank":void 0,children:[ai("button",{type:"button",...!u&&{onClick:()=>o==null?void 0:o(c)},className:i(Yu({variant:e}),u&&"group flex items-center gap-1.5"),"data-selected":d,"aria-selected":d,children:[s,u&&Et($o,{className:"size-2.5"})]}),d&&Et(Ku.div,{layoutId:"indicator",transition:{duration:.1},className:Zu({variant:e}),children:Et("div",{className:"h-0.5 rounded-t-full bg-current"})})]},c)})})})}import{jsx as xo,jsxs as ii}from"react/jsx-runtime";var qu=[{icon:Na,text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{icon:oa,text:"Geo/device targeting",href:"https://dub.co/help/article/geo-targeting"},{icon:ha,text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{icon:Ca,text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{icon:ga,text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"}];function s6(){return ii("div",{className:"p-3",children:[xo("span",{className:"block text-sm font-semibold text-neutral-600",children:"Advanced link features"}),xo("div",{className:"mt-2 flex flex-col gap-2.5 text-xs text-neutral-600",children:qu.map(({text:e,icon:t,href:r})=>ii("a",{href:r,target:"_blank",className:"flex items-center gap-2.5 underline decoration-dotted underline-offset-2",children:[xo(t,{className:"size-3.5 shrink-0"}),e]},e))})]})}import{jsx as si,jsxs as Xu}from"react/jsx-runtime";function d6({className:e}){return Xu("svg",{width:"177",height:"64",viewBox:"0 0 177 64",fill:"none",xmlns:"http://www.w3.org/2000/svg",className:i("h-6 w-auto text-black dark:text-white",e),children:[si("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"}),si("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{Dr as AUTOPLAY_DEFAULT_DELAY,Ff as Accordion,fi as AccordionContent,mi as AccordionItem,pi as AccordionTrigger,s6 as AdvancedLinkFeaturesTooltip,fm as Africa,Sm as Airtm,bi as Alert,yi as AlertDescription,xi as AlertTitle,ym as Amazon,Am as AndroidLogo,Pe as AnimatedSizeContainer,Dm as AppleLogo,Im as ArrowBoldUp,zm as ArrowRight,Om as ArrowTrendUp,_m as ArrowTurnLeft,Hm as ArrowTurnRight2,$o as ArrowUpRight,Vm as ArrowsOppositeDirectionY,gm as Asia,fo as AuthButton,Zf as Avatar,e4 as Background,Yt as Badge,Bm as BadgeCheck,Fm as BadgeCheck2Fill,h1 as BadgeTooltip,Wm as Blog,Rt as BlurImage,Um as Bolt,Gm as BoltFill,Km as Book2,Ko as Book2Fill,jm as Book2Small,$m as BookOpen,Ym as Books2,Zm as BoxArchive,qm as BulletList,jo as BulletListFill,se as Button,v1 as ButtonTooltip,xr as COMPARE_PAGES,Tn as CUSTOMER_STORIES,Za as Calendar,e0 as Calendar6,Jm as CalendarDays,Xm as CalendarIcon,Qm as CalendarRefresh,dm as CardAmex,um as CardDiscover,F1 as CardList,mm as CardMastercard,pm as CardVisa,t0 as Cards,r0 as CaretUpFill,Xi as Carousel,Ji as CarouselContent,Qi as CarouselItem,ng as CarouselNavBar,ts as CarouselNext,es as CarouselPrevious,gg as CarouselThumbnail,fg as CarouselThumbnails,Mm as CashApp,o0 as ChartActivity2,a0 as ChartArea2,n0 as ChartLine,wm as ChatGPT,Yo as Check,Zo as Check2,ms as Checkbox,qo as CheckboxCheckedFill,Xo as CheckboxUnchecked,Jo as CircleCheck,i0 as CircleCheckFill,s0 as CircleDollar,l0 as CircleDotted,Qo as CircleHalfDottedCheck,ea as CircleHalfDottedClock,ta as CircleInfo,c0 as CirclePercentage,d0 as CirclePlay,u0 as CirclePlayFill,m0 as CircleQuestion,p0 as CircleUser,Mr as CircleWarning,f0 as CircleXmark,g0 as Circles,h0 as Circles3,Qn as ClientOnly,ra as CloudUpload,v0 as Code,b0 as ColorPalette2,av as Combobox,d6 as CompositeLogo,x0 as ConnectedDots,y0 as ConnectedDots4,Vt as ConnectedDotsFill,w0 as Connections3,Eo as Copy,m8 as CopyButton,v8 as CopyText,C0 as CreditCard,N0 as Crosshairs3,k0 as Crown,Ju as CrownSmall,P0 as Cube,S0 as CubeSettings,Bt as CubeSettingsFill,M0 as CurrencyDollar,R0 as CursorRays,T0 as DatabaseKey,Hr as DatePickerContext,Fv as DateRangePicker,L0 as Desktop,E0 as DiamondTurnRight,Ft as DiamondTurnRightFill,A0 as Directions,D0 as Discount,I0 as Dots,z0 as Download,Qu as DubCraftedShield,O0 as Duplicate,ka as DynamicTooltipWrapper,oa as Earth,_0 as EarthPosition,jv as EmptyState,H0 as EnvelopeAlert,V0 as EnvelopeArrowRight,hm as Europe,Ao as ExpandingArrow,aa as Eye,na as EyeSlash,vr as FEATURES_LIST,rm as Facebook,ia as FeatherFill,Cm as Figma,B0 as FileContent,a2 as FileUpload,F0 as FileZip2,R2 as Filter,U0 as Filter2,W0 as FilterBars,$0 as Flag2,sa as Flag6,G0 as FlagWavy,K0 as Flask,j0 as Folder,J0 as Folder5,Y0 as FolderBookmark,Z0 as FolderLock,q0 as FolderPlus,X0 as FolderShield,e8 as Footer,z2 as Form,Q0 as GamingConsole,ep as Gauge6,tp as Gear,rp as Gear2,op as Gear3,ap as Gem,la as Gift,np as GiftFill,Nm as GitHubEnhanced,zt as Github,ip as Globe,da as Globe2,ca as GlobePointer,sp as GlobeSearch,Bo as Go,om as Google,km as GoogleEnhanced,lp as GreekTemple,dn as Grid,cp as GridIcon,dp as GridLayoutRows,up as GridPlus,mp as Headset,ua as HeadsetFill,ma as HeartFill,pa as HexadecagonStar,pp as History,fa as Hyperlink,x8 as IconMenu,fp as Icosahedron,ga as Incognito,f1 as InfoTooltip,w8 as InlineSnippet,uc as Input,gp as InputPassword,ha as InputPasswordPointer,va as InputSearch,ub as InputSelect,am as Instagram,hp as InvoiceDollar,vp as Key,za as KeyboardShortcutContext,Kg as KeyboardShortcutProvider,En as LEGAL_PAGES,Ec as Label,bp as LayoutSidebar,xp as License,ba as LinesY,wp as Link4,yp as LinkBroken,S8 as LinkLogo,O8 as LinkPreview,_8 as LinkPreviewPlaceholder,Ot as LinkedIn,p1 as LinkifyTooltipContent,bt as LoadingCircle,tm as LoadingDots,Ne as LoadingSpinner,Cp as LocationPin,Np as LockFill,co as Logo,Do as Magic,kp as Magnifier,Pp as MapPosition,Sp as MarketingTarget,em as MatrixLines,yr as MaxWidthWrapper,Mp as Menu3,Nb as MenuItem,Rp as MessageSmile,Wt as MicrophoneFill,Db as MiniAreaChart,Tp as MobilePhone,Vb as Modal,Lp as MoneyBill,Ep as MoneyBill2,Ap as MoneyBills2,f5 as Nav,mo as NavContext,M5 as NavMobile,Nr as NavWordmark,vm as NorthAmerica,Dp as Note,Fp as NucleoPhoto,g1 as NumberTooltip,bm as Oceania,Ip as OfficeBuilding,zf as PLAN_FEATURE_ICONS,xa as Page2,Wb as PaginationControls,zp as Paintbrush,Op as Palette2,_p as PaperPlane,Rm as Payoneer,Tm as Paypal,Vp as Pen2,Hp as PenWriting,Bp as PercentageArrowDown,Io as Photo,Fo as Php,Wp as Plug2,Ut as Plus,at as Popover,G8 as Popup,Uu as PopupContext,Up as Post,nm as Prisma,Ho as ProductHunt,Y8 as ProgressBar,Gp as Pyramid,Wo as Python,$p as QRCode,br as RESOURCES,Zc as RadioGroup,qc as RadioGroupItem,Vo as Raycast,Kp as Receipt2,ya as ReferredVia,jp as Refresh2,Yp as Robot,Uo as Ruby,lo as SDKS,n4 as SOCIAL_LINKS,Ln as SOLUTIONS,wa as SatelliteDish,Zp as ScanText,qp as Scribble,qb as Sheet,Xp as ShieldAlert,Jp as ShieldCheck,Qp as ShieldKeyhole,ef as ShieldSlash,ex as ShimmerDots,tf as Shuffle,m1 as SimpleTooltipContent,im as Slack,rf as Sliders,zo as SortOrder,xm as SouthAmerica,of as Sparkle3,Pm as Spotify,af as SquareChart,nf as SquareLayoutGrid5,sf as SquareLayoutGrid6,lf as SquareXmark,cf as Stars2,ix as StatusBadge,Lm as StripeLink,Oo as Success,fx as Switch,vf as TV,a6 as TabSelect,Vx as Table,df as TableIcon,uf as TableRows2,mf as Tablet,pf as Tag,ff as Tags,_o as Tick,sm as TikTok,Ca as Timer2,lm as Tinybird,gf as Toggle2Fill,Gx as ToggleGroup,qf as TokenAvatar,J as Tooltip,u1 as TooltipContent,d1 as TooltipProvider,hf as Trash,_t as Twitter,Go as Typescript,Jx as UTMBuilder,Td as UTM_PARAMETERS,bf as UiCard,cm as Unsplash,xf as User,yf as UserCheck,wf as UserCrown,Cf as UserDelete,Nf as UserPlus,kf as Users,Sf as Users2,Mf as Users6,Gt as UsersFill,Pf as UsersSettings,Em as Venmo,Rf as Versions2,Na as Views,Tf as Watch,Lf as Webhook,Ef as Window,Af as WindowSearch,Df as WindowSettings,Zn as Wordmark,If as Xmark,Ht as YouTube,Pi as badgeVariants,ie as buttonVariants,Ni as getUserAvatarUrl,po as navItems,dd as statusBadgeVariants,he as useCarousel,Ea as useCarouselActiveIndex,Cg as useCookies,et as useCopyToClipboard,Mg as useCurrentAnchor,Tg as useEnterSubmit,Dg as useInViewport,Og as useInputFocused,Bg as useIntersectionObserver,tt as useKeyboardShortcut,Zg as useLocalStorage,Z as useMediaQuery,eh as useOptimisticUpdate,mh as usePagination,gh as useRemoveGAParams,qt as useResizeObserver,Va as useRouterStuff,Wa as useScroll,rt as useScrollProgress,Hx as useTable,Ha as useTablePagination,Th as useToastWithUndo};
|