@dub/ui 0.2.33 → 0.2.35
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 Su from"next/image";import Ve from"next/link";import{useParams as Mu}from"next/navigation";import{jsx as An}from"react/jsx-runtime";function Dn(e){return An("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:An("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 br=[{title:"Dub Links",description:"Short links with superpowers",icon:ga,href:"/home"},{title:"Dub Analytics",description:"Powerful real-time analytics",icon:xa,href:"/analytics"},{title:"Dub API",description:"Programmatic link creation at scale",icon:Vt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Ht,href:"/integrations"}],In=[{icon:Bo,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"Programmatic link sharing",href:"/customers/raycast"},{icon:Vo,iconClassName:"group-hover:text-[#FF6154]",title:"Product Hunt",description:"Unlocking new growth",href:"/customers/product-hunt"},{icon:Dn,iconClassName:"group-hover:text-[#353D7C]",title:"Elxo",description:"Overcoming API latency",href:"/customers/elxo"}],uo=[{icon:$o,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/sdks/typescript"},{icon:Uo,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/sdks/python"},{icon:Wo,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/sdks/go"},{icon:Go,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/sdks/ruby"},{icon:Fo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/sdks/php"}],zn=[{icon:Bt,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:Ut,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"},{label:"SDKs",items:uo}],xr=[{icon:jo,title:"Docs",description:"Platform documentation",href:"/docs/introduction"},{icon:ma,title:"Help Center",description:"Answers to your questions",href:"/help"},{icon:sa,title:"Blog",description:"Insights and stories",href:"/blog"},{icon:Yo,title:"Changelog",description:"Releases and updates",href:"/changelog"},{icon:pa,title:"Customers",description:"Success stories and use cases",href:"/customers"},{icon:fa,title:"Dub Brand",description:"Logos, wordmark, etc.",href:"/brand"}],yr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],On=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}],Ex=[{name:"X (Twitter)",icon:Ot,href:"https://x.com/dubdotco"},{name:"LinkedIn",icon:zt,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:It,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:_t,href:"https://www.youtube.com/@dubdotco"}];import{jsx as Ud}from"react/jsx-runtime";function wr({className:e,children:t}){return Ud("div",{className:i("mx-auto w-full max-w-screen-xl px-3 lg:px-10",e),children:t})}import*as He from"@radix-ui/react-popover";import{BoxSelect as gu,Home as hu,LayoutGrid as vu,Type as bu}from"lucide-react";import{useParams as xu}from"next/navigation";import{useCallback as yu,useContext as wu,useState as Cu}from"react";import{toast as Nu}from"sonner";import{jsx as _n}from"react/jsx-runtime";function mo({className:e}){return _n("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:_n("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 ue from"@radix-ui/react-navigation-menu";import{LayoutGroup as Qd}from"framer-motion";import Tt from"next/link";import{useParams as eu,usePathname as tu}from"next/navigation";import{createContext as ru,useId as ou}from"react";import au from"swr";import{Link as Fn}from"@radix-ui/react-navigation-menu";import Un from"next/link";import{jsx as S,jsxs as po}from"react/jsx-runtime";function Hn(e){return po("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:[po("g",{className:"text-[var(--grid)]",children:[S("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"}),S("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"}),S("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"}),S("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"}),S("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"}),S("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"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 241h48v48h-48z"})]}),S("path",{stroke:"#14B8A6",d:"M.667 196.5c93-1 267-35.5 324.5-184.5"}),S("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M204.667 145h96v48h-96z"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M204.667 145h96v48h-96z"}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"158.909",children:"Clicks"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"158.909",children:"12.5K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"171.909",children:"Leads"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"171.909",children:"8.2K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"184.909",children:"Sales"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"184.909",children:"$10K"})}),S("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M108.667 193h96v48h-96z"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M108.667 193h96v48h-96z"}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"206.909",children:"Desktop"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"206.909",children:"2.5K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"219.909",children:"Mobile"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"219.909",children:"1.3K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"232.909",children:"Tablet"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"232.909",children:"402"})}),S("g",{filter:"url(#a)",children:S("circle",{cx:"204.667",cy:"145",r:"3",fill:"#14B8A6"})}),S("circle",{cx:"204.667",cy:"145",r:"4",stroke:"#3EC5B8",strokeOpacity:"0.3",strokeWidth:"2"}),S("defs",{children:po("filter",{id:"a",width:"10",height:"12",x:"199.667",y:"140",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[S("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),S("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),S("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"}),S("feOffset",{dy:"2"}),S("feGaussianBlur",{stdDeviation:"1"}),S("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),S("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.65 0"}),S("feBlend",{in2:"shape",result:"effect1_innerShadow_9_286"})]})})]})}import{useId as Gd}from"react";import{jsx as p,jsxs as V}from"react/jsx-runtime";function Vn(e){let t=Gd();return V("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:[V("g",{clipPath:`url(#${t}-a)`,children:[p("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"}),p("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),p("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),p("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),p("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),p("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),p("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),p("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),p("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),p("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),p("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),p("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),p("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),p("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),p("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),V("g",{children:[p("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"}),p("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"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),p("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:p("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),p("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:p("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),p("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),V("g",{children:[p("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),p("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),p("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),p("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:p("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),p("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),p("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),p("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:p("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),p("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"}),p("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"}),p("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:p("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"})}),p("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:p("tspan",{x:"251",y:"171.636",children:"51K"})})]}),V("defs",{children:[V("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EAB308",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#EAB308"})]}),V("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EAB308",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#EAB308"})]}),V("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#030712",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),V("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[p("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),p("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),p("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),V("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[p("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),p("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),p("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),p("clipPath",{id:`${t}-a`,children:p("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),p("clipPath",{id:`${t}-y`,children:p("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),p("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:p("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),p("image",{href:`${Dt}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}import{Link as Bn}from"@radix-ui/react-navigation-menu";import Wn from"next/link";import{jsx as we,jsxs as Cr}from"react/jsx-runtime";var st="text-xs uppercase text-neutral-500 dark:text-white/60",$d="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 lt({icon:e,title:t,description:r,descriptionLines:o=1,className:a,showArrow:c,...s}){return we(Bn,{asChild:!0,children:we(Wn,{className:i($d,a),...s,children:Cr("div",{className:"flex items-center justify-between gap-3",children:[e,Cr("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})]}),c&&we(Do,{className:"invisible -ml-6 h-4 w-4 text-neutral-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})})}function Nr({icon:e,title:t,description:r,iconClassName:o,...a}){return we(Bn,{asChild:!0,children:we(Wn,{...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:Cr("div",{className:"flex items-center justify-between px-5 py-4",children:[Cr("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 K,jsxs as Te}from"react/jsx-runtime";var Kd=[{title:"Dub API",description:"Programmatic link creation at scale",icon:Vt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Ht,href:"/integrations"}];function Gn({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:[K(Fn,{asChild:!0,children:Te(Un,{href:z("/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:[K("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),K("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"})]}),K("div",{className:"relative grow overflow-hidden",children:K(Vn,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),K("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:[K(Fn,{asChild:!0,children:Te(Un,{href:z("/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:[K(Hn,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),K("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:[K("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),K("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]})}),K("div",{className:"grid grow grid-rows-2 gap-4",children:Kd.map(({title:t,description:r,icon:o,href:a})=>K(Nr,{title:t,description:r,icon:o,href:z(a,e,te({domain:e,utm_content:t}))},t))})]})]}),Te("div",{className:"px-6 py-4",children:[K("p",{className:i(st,"mb-2"),children:"Customer Stories"}),Te("div",{className:"grid grid-cols-1",children:[In.map(({icon:t,iconClassName:r,title:o,description:a,href:c})=>K(lt,{className:"-mx-2",href:z(c,e,te({domain:e,utm_content:o})),icon:K("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:K(t,{className:i("h-4 w-4 shrink-0 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,description:a},c)),K(lt,{className:"-mx-2",href:z("/customers",e,te({domain:e,utm_content:"Customer Stories"})),title:"View all stories",showArrow:!0})]}),K("p",{className:i(st,"mb-2 mt-5"),children:"Compare"}),K("div",{className:"flex flex-col",children:yr.map(({name:t,slug:r})=>K(lt,{className:"-mx-2",href:z(`/compare/${r}`,e,te({domain:e,utm_content:`Dub vs. ${t}`})),title:`Dub vs. ${t}`,showArrow:!0},r))})]})]})}import{Link as Kn}from"@radix-ui/react-navigation-menu";import Yd from"next/image";import jn from"next/link";import{useId as jd}from"react";import{jsx as y,jsxs as ct}from"react/jsx-runtime";function $n({className:e,...t}){let r=jd();return ct("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"114",viewBox:"0 0 247 114",fill:"none",className:i("",e),...t,children:[y("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"}),ct("g",{opacity:"0.5",children:[y("mask",{id:`${r}-a`,width:"187",height:"89",x:"27",y:"12",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:y("ellipse",{cx:"120.71",cy:"56.432",fill:"#D9D9D9",rx:"92.717",ry:"44.041"})}),y("g",{stroke:"#fff",strokeWidth:"0.089",mask:`url(#${r}-a)`,children:y("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"})})]}),y("g",{filter:`url(#${r}-b)`,opacity:"0.3",children:y("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"})}),y("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"}),y("circle",{cx:"85.073",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"147.866",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"147.866",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"180.426",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"189.496",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"99.957",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"99.957",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"120.888",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"112.516",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"101.586",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"139.959",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"129.494",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"120.888",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"141.82",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"141.82",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"61.118",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"52.281",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),ct("defs",{children:[ct("linearGradient",{id:`${r}-c`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[y("stop",{stopColor:"#fff",stopOpacity:"0"}),y("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0.3"})]}),ct("linearGradient",{id:`${r}-d`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[y("stop",{stopColor:"#5B5B5B"}),y("stop",{offset:"1",stopColor:"#757575"})]}),ct("filter",{id:`${r}-b`,width:"154.246",height:"73.748",x:"43.768",y:"19.38",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[y("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),y("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"4.262"}),y("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_7_2"}),y("feBlend",{in:"SourceGraphic",in2:"effect1_backgroundBlur_7_2",result:"shape"}),y("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"}),y("feOffset",{dx:"-0.991",dy:"0.991"}),y("feGaussianBlur",{stdDeviation:"0.496"}),y("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),y("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.354 0"}),y("feBlend",{in2:"shape",result:"effect2_innerShadow_7_2"}),y("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"}),y("feOffset",{dx:"0.991",dy:"-0.991"}),y("feGaussianBlur",{stdDeviation:"0.496"}),y("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),y("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"}),y("feBlend",{in2:"effect2_innerShadow_7_2",result:"effect3_innerShadow_7_2"}),y("feGaussianBlur",{result:"effect4_foregroundBlur_7_2",stdDeviation:"0.357"})]})]})]})}import{jsx as ee,jsxs as qe}from"react/jsx-runtime";var qd=[{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 Yn({domain:e}){return qe("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.45fr] divide-x divide-neutral-200 dark:divide-white/20",children:[ee("div",{className:"grid grid-cols-2 gap-4 p-4",children:qd.map(({title:t,description:r,thumbnail:o,href:a})=>ee(Kn,{asChild:!0,children:qe(jn,{href:z(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:[qe("div",{className:"p-5 pb-0",children:[ee("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:t}),ee("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:r})]}),ee("div",{className:"relative mt-7 grow overflow-hidden pl-5 [mask-image:linear-gradient(90deg,black_50%,transparent)]",children:ee("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:ee(Yd,{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))}),qe("div",{className:"flex flex-col gap-4 p-4",children:[xr.filter(({title:t})=>!["Docs","Help Center","Dub Brand"].includes(t)).map(({title:t,description:r,icon:o,href:a})=>ee(Nr,{title:t,description:r,icon:o,iconClassName:"size-5",href:z(a,e,te({domain:e,utm_content:t}))},t)),ee(Kn,{asChild:!0,children:qe(jn,{href:z("/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:[qe("div",{className:"pointer-events-none absolute inset-0",children:[ee("div",{className:"absolute -inset-[50%] opacity-30 blur-[20px] transition-opacity duration-300 group-hover:opacity-40 dark:group-hover:opacity-35",children:ee("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)]")})}),ee($n,{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)]"})]}),ee("div",{className:"relative flex items-center justify-between px-5 py-4",children:qe("div",{children:[ee("span",{className:"block text-sm font-medium text-white",children:"Dub Brand"}),ee("p",{className:"text-sm text-white/60",children:"Logos, wordmark, etc."})]})})]})})]})]})}import{Link as Zd}from"@radix-ui/react-navigation-menu";import Xd from"next/link";import{jsx as re,jsxs as dt}from"react/jsx-runtime";var Jd=[{icon:Bt,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:Ut,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"}];function qn({domain:e}){return dt("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[dt("div",{className:"flex h-full flex-col p-4",children:[re("p",{className:i(st,"mb-4 ml-2"),children:"Use case"}),re("div",{className:"grid grow grid-cols-3 gap-4",children:Jd.map(({icon:t,title:r,description:o,href:a})=>re(Zd,{asChild:!0,children:dt(Xd,{href:z(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:[dt("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(fn,{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"}),dt("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))})]}),dt("div",{className:"px-6 py-4",children:[re("p",{className:i(st,"mb-2"),children:"SDKs"}),re("div",{className:"flex flex-col gap-0.5",children:uo.map(({icon:t,iconClassName:r,title:o,href:a})=>re(lt,{className:"-mx-2",href:z(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 su,jsx as W,jsxs as ut}from"react/jsx-runtime";var fo=ru({theme:"light"}),go=[{name:"Product",content:Gn,childItems:br,segments:["/home","/analytics","/features","/compare"]},{name:"Solutions",content:qn,childItems:zn,segments:["/solutions"]},{name:"Resources",content:Yn,childItems:xr,segments:["/docs","/help","/brand","/blog","/changelog","/customers"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],Zn=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 B5({theme:e="light",staticDomain:t,maxWidthWrapperClassName:r}){let{domain:o="dub.co"}=eu();t&&(o=t);let a=ou(),c=Fa(40),s=tu(),{data:l,isLoading:m}=au(o.endsWith("dub.co")&&"/api/auth/session",ge,{dedupingInterval:6e4});return W(fo.Provider,{value:{theme:e},children:W(Qd,{id:a,children:ut("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",e==="dark"&&"dark"),children:[W("div",{className:i("absolute inset-0 block border-b border-transparent transition-all",c&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),W(wr,{className:i("relative",r),children:ut("div",{className:"flex h-14 items-center justify-between",children:[W("div",{className:"grow basis-0",children:W(Tt,{className:"block w-fit py-2 pr-2",href:z("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:W(kr,{})})}),ut(ue.Root,{delayDuration:0,className:"relative hidden lg:block",children:[W(ue.List,{className:"group relative z-0 flex",children:go.map(({name:d,href:n,segments:u,content:f})=>{let v=u.some(b=>s==null?void 0:s.startsWith(b));return ut(ue.Item,{children:[W(iu,{trigger:!!f,children:n!==void 0?W(Tt,{id:`nav-${n}`,href:z(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:d}),className:Zn,"data-active":v,children:d}):ut("button",{className:Zn,"data-active":v,children:[d,W(nu,{className:"ml-1.5 size-2.5 text-neutral-700"})]})}),f&&W(ue.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:W(f,{domain:o})})]},d)})}),W("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:W(ue.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]")})})]}),W("div",{className:"hidden grow basis-0 justify-end gap-2 lg:flex",children:l&&Object.keys(l).length>0?W(Tt,{href:Ce,className:i(se({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"}):m?null:ut(su,{children:[W(Tt,{href:"https://app.dub.co/login",className:i(se({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"}),W(Tt,{href:"https://app.dub.co/register",className:i(se({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 nu(e){return W("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",fill:"none",viewBox:"0 0 9 9",...e,children:W("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 iu({trigger:e,children:t}){return e?W(ue.Trigger,{asChild:!0,children:t}):t}import{ChevronDown as lu,Menu as cu,X as du}from"lucide-react";import mt from"next/link";import{useParams as vo}from"next/navigation";import{useEffect as uu,useState as Jn}from"react";import mu from"swr";import{Fragment as fu,jsx as O,jsxs as Le}from"react/jsx-runtime";function Q5({theme:e="light",staticDomain:t}){let{domain:r="dub.co"}=vo();t&&(r=t);let[o,a]=Jn(!1);uu(()=>{o?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[o]);let{data:c}=mu(r.endsWith("dub.co")&&"/api/auth/session",ge,{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:[c&&Object.keys(c).length>0?O(ho,{href:Ce,className:"max-[280px]:hidden",children:"Dashboard"}):Le("div",{className:"flex gap-2 max-[280px]:hidden",children:[O(ho,{variant:"secondary",href:`${Ce}/login`,children:"Log in"}),O(ho,{href:`${Ce}/register`,children:"Sign Up"})]}),O("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?O(du,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"}):O(cu,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"})}),O("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:[go.map(({name:s,href:l,childItems:m},d)=>O(pu,{name:s,href:l,childItems:m,setOpen:a},d)),c&&Object.keys(c).length>0?O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:Ce,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):Le(fu,{children:[O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:`${Ce}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:`${Ce}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var pu=({name:e,href:t,childItems:r,setOpen:o})=>{let{domain:a="dub.co"}=vo(),[c,s]=Jn(!1);return r?O("li",{className:"py-3",children:Le(Pe,{height:!0,children:[Le("button",{className:"flex w-full justify-between",onClick:()=>s(!c),children:[O("p",{className:"font-semibold",children:e}),O(lu,{className:i("h-5 w-5 text-neutral-500 transition-all dark:text-white/50",c&&"rotate-180")})]}),c&&O("div",{className:"grid grid-cols-1 gap-4 overflow-hidden py-4",children:r.map((l,m)=>"items"in l?Le("div",{className:"grid grid-cols-1 gap-3",children:[O("span",{className:"text-xs font-medium uppercase text-neutral-500 dark:text-white/50",children:l.label}),l.items.map((d,n)=>O(Xn,{item:d,setOpen:o,size:"small"},n))]},m):O(Xn,{item:l,setOpen:o},m))})]})}):t?O("li",{className:"py-3",children:O(mt,{href:z(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},Xn=({item:{title:e,description:t,href:r,icon:o},setOpen:a,size:c="normal"})=>{let{domain:s="dub.co"}=vo();return Le(mt,{href:z(r,s,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:s,utm_content:e}),onClick:()=>a(!1),className:"flex w-full items-center gap-3",children:[O("div",{className:i("flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",c==="small"&&"size-8"),children:O(o,{className:i("size-5 text-neutral-700 grayscale",c==="small"&&"size-4")})}),Le("div",{children:[O("div",{className:"flex items-center gap-2",children:O("h2",{className:"text-sm font-medium text-neutral-900",children:e})}),t&&O("p",{className:"text-sm text-neutral-500",children:t})]})]})};function ho({variant:e,className:t,...r}){return O(mt,{...r,className:i("flex h-8 w-fit items-center whitespace-nowrap rounded-lg border px-3 text-[0.8125rem]",se({variant:e}),t)})}import{jsx as Qn}from"react/jsx-runtime";function ei({className:e}){return Qn("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:Qn("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 Z,jsxs as ti}from"react/jsx-runtime";var ku=`<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 Su from"next/image";import Ve from"next/link";import{useParams as Mu}from"next/navigation";import{jsx as An}from"react/jsx-runtime";function Dn(e){return An("svg",{width:"16",height:"11",viewBox:"0 0 16 11",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e,children:An("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 br=[{title:"Dub Links",description:"Short links with superpowers",icon:ga,href:"/home"},{title:"Dub Analytics",description:"Powerful real-time analytics",icon:xa,href:"/analytics"},{title:"Dub API",description:"Programmatic link creation at scale",icon:Vt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Ht,href:"/integrations"}],In=[{icon:Bo,iconClassName:"group-hover:text-[#FF6363]",title:"Raycast",description:"Programmatic link sharing",href:"/customers/raycast"},{icon:Vo,iconClassName:"group-hover:text-[#FF6154]",title:"Product Hunt",description:"Unlocking new growth",href:"/customers/product-hunt"},{icon:Dn,iconClassName:"group-hover:text-[#353D7C]",title:"Elxo",description:"Overcoming API latency",href:"/customers/elxo"}],uo=[{icon:$o,iconClassName:"py-0.5 group-hover:text-[#3178C6]",title:"Typescript",href:"/sdks/typescript"},{icon:Uo,iconClassName:"py-0.5 [&_.snake]:transition-colors group-hover:[&_.snake1]:text-[#3776ab] group-hover:[&_.snake2]:text-[#ffd343]",title:"Python",href:"/sdks/python"},{icon:Wo,iconClassName:"group-hover:text-[#00ACD7]",title:"Go",href:"/sdks/go"},{icon:Go,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"Ruby",href:"/sdks/ruby"},{icon:Fo,iconClassName:"py-[3px] grayscale brightness-150 transition-[filter] group-hover:grayscale-0 group-hover:brightness-100",title:"PHP",href:"/sdks/php"}],zn=[{icon:Bt,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:Ut,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"},{label:"SDKs",items:uo}],xr=[{icon:jo,title:"Docs",description:"Platform documentation",href:"/docs/introduction"},{icon:ma,title:"Help Center",description:"Answers to your questions",href:"/help"},{icon:sa,title:"Blog",description:"Insights and stories",href:"/blog"},{icon:Yo,title:"Changelog",description:"Releases and updates",href:"/changelog"},{icon:pa,title:"Customers",description:"Success stories and use cases",href:"/customers"},{icon:fa,title:"Dub Brand",description:"Logos, wordmark, etc.",href:"/brand"}],yr=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"},{name:"Bl.ink",slug:"blink"}],On=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}],Ex=[{name:"X (Twitter)",icon:Ot,href:"https://x.com/dubdotco"},{name:"LinkedIn",icon:zt,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:It,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:_t,href:"https://www.youtube.com/@dubdotco"}];import{jsx as Ud}from"react/jsx-runtime";function wr({className:e,children:t}){return Ud("div",{className:i("mx-auto w-full max-w-screen-xl px-3 lg:px-10",e),children:t})}import*as He from"@radix-ui/react-popover";import{BoxSelect as gu,Home as hu,LayoutGrid as vu,Type as bu}from"lucide-react";import{useParams as xu}from"next/navigation";import{useCallback as yu,useContext as wu,useState as Cu}from"react";import{toast as Nu}from"sonner";import{jsx as _n}from"react/jsx-runtime";function mo({className:e}){return _n("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:_n("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 ue from"@radix-ui/react-navigation-menu";import{LayoutGroup as Qd}from"framer-motion";import Tt from"next/link";import{useParams as eu,usePathname as tu}from"next/navigation";import{createContext as ru,useId as ou}from"react";import au from"swr";import{Link as Fn}from"@radix-ui/react-navigation-menu";import Un from"next/link";import{jsx as S,jsxs as po}from"react/jsx-runtime";function Hn(e){return po("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:[po("g",{className:"text-[var(--grid)]",children:[S("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"}),S("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"}),S("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"}),S("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"}),S("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"}),S("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"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",d:"M300.667 241h48v48h-48z"})]}),S("path",{stroke:"#14B8A6",d:"M.667 196.5c93-1 267-35.5 324.5-184.5"}),S("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M204.667 145h96v48h-96z"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M204.667 145h96v48h-96z"}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"158.909",children:"Clicks"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"158.909",children:"12.5K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"171.909",children:"Leads"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"171.909",children:"8.2K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"213.667",y:"184.909",children:"Sales"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"244.667",y:"184.909",children:"$10K"})}),S("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M108.667 193h96v48h-96z"}),S("path",{stroke:"currentColor",strokeWidth:"0.5",className:"text-[var(--grid)]",d:"M108.667 193h96v48h-96z"}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"206.909",children:"Desktop"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"206.909",children:"2.5K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"219.909",children:"Mobile"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"219.909",children:"1.3K"})}),S("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"117.667",y:"232.909",children:"Tablet"})}),S("text",{xmlSpace:"preserve",fill:"#525252",fontSize:"8",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:S("tspan",{x:"157.667",y:"232.909",children:"402"})}),S("g",{filter:"url(#a)",children:S("circle",{cx:"204.667",cy:"145",r:"3",fill:"#14B8A6"})}),S("circle",{cx:"204.667",cy:"145",r:"4",stroke:"#3EC5B8",strokeOpacity:"0.3",strokeWidth:"2"}),S("defs",{children:po("filter",{id:"a",width:"10",height:"12",x:"199.667",y:"140",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[S("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),S("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),S("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"}),S("feOffset",{dy:"2"}),S("feGaussianBlur",{stdDeviation:"1"}),S("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),S("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.65 0"}),S("feBlend",{in2:"shape",result:"effect1_innerShadow_9_286"})]})})]})}import{useId as Gd}from"react";import{jsx as p,jsxs as V}from"react/jsx-runtime";function Vn(e){let t=Gd();return V("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:[V("g",{clipPath:`url(#${t}-a)`,children:[p("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"}),p("circle",{cx:"192",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"192",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-b)`,d:"M192 144v-35"}),p("circle",{cx:"192",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"192",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"192",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-c)`,d:"M192 228v-35"}),p("circle",{cx:"144",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"144",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-d)`,d:"M144 144v-35"}),p("circle",{cx:"144",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"144",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"144",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-e)`,d:"M144 228v-35"}),p("circle",{cx:"96",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"96",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-f)`,d:"M96 144v-35"}),p("circle",{cx:"96",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"96",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"96",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-g)`,d:"M96 228v-35"}),p("circle",{cx:"240",cy:"144",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"108",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"108",r:"2",fill:"#EA580C"}),p("circle",{cx:"240",cy:"144",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-h)`,d:"M240 144v-35"}),p("circle",{cx:"240",cy:"228",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"192",r:"4",fill:"#EA580C",opacity:"0.1"}),p("circle",{cx:"240",cy:"192",r:"2",fill:"#EA580C"}),p("circle",{cx:"240",cy:"228",r:"2",fill:"#EA580C"}),p("path",{stroke:`url(#${t}-i)`,d:"M240 228v-35"}),p("circle",{cx:"48",cy:"168",r:"4",fill:"#EAB308",opacity:"0.1"}),p("circle",{cx:"48",cy:"168",r:"2",fill:"#EAB308"}),p("path",{stroke:`url(#${t}-j)`,d:"M13 168h34"}),p("circle",{cx:"4",cy:"4",r:"4",fill:"#EAB308",opacity:"0.1",transform:"matrix(-1 0 0 1 292 164)"}),p("circle",{cx:"2",cy:"2",r:"2",fill:"#EAB308",transform:"matrix(-1 0 0 1 290 166)"}),p("path",{stroke:`url(#${t}-k)`,d:"M323 168h-34"}),V("g",{children:[p("rect",{width:"24",height:"24",x:"228",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"228.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 92.222V96l2.889 2"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M240 89.555a6.444 6.444 0 0 1 0 12.889"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"228",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"228.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"}),p("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"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M242.889 242.889v-1.778a1.333 1.333 0 0 1 2.667 0v1.778"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"180",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"180.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"180",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"180.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"132",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"132.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"132",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"132.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"84",y:"84",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"84.5",y:"84.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"m96.889 93.778 2 2-2 2"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M98.889 95.778h-3.111c-.982 0-1.778.795-1.778 1.778V98"}),p("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"})]}),V("g",{children:[p("rect",{width:"24",height:"24",x:"84",y:"228",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"23",height:"23",x:"84.5",y:"228.5",stroke:"currentColor",className:"text-[var(--grid)]",rx:"7.5"}),p("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"}),p("path",{stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",d:"M94.738 243.415a1.775 1.775 0 0 1 2.524 0"})]}),p("g",{filter:`url(#${t}-t)`,opacity:"0.16",children:p("ellipse",{cx:"62",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),p("g",{filter:`url(#${t}-u)`,opacity:"0.16",children:p("ellipse",{cx:"276",cy:"168",fill:"#EAB308",rx:"33",ry:"8"})}),p("rect",{width:"240",height:"48",x:"48",y:"144",fill:"currentColor",className:"text-[var(--bg)]",rx:"8"}),p("rect",{width:"240",height:"48",x:"48",y:"144",stroke:"currentColor",className:"text-[var(--grid)]",strokeOpacity:"0.5",strokeWidth:"0.5",rx:"8"}),V("g",{children:[p("rect",{width:"24",height:"24",x:"61",y:"156",fill:`url(#${t}-w)`,rx:"12"}),p("rect",{width:"25",height:"25",x:"60.5",y:"155.5",stroke:"#030712",strokeOpacity:"0.1",rx:"12.5"}),p("circle",{cx:"73",cy:"168",r:"6",fill:`url(#${t}-x)`})]}),p("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"12",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:p("tspan",{x:"97",y:"165.364",children:"d.to/try"})}),p("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"M104.931 176.792h-4.084a.78.78 0 0 1-.778-.778v-1.556"}),p("path",{stroke:"#A3A3A3",strokeLinecap:"round",strokeLinejoin:"round",d:"m103.278 175.139 1.653 1.653-1.653 1.653"}),p("text",{xmlSpace:"preserve",fill:"#A3A3A3",fontSize:"9",letterSpacing:"-.02em",style:{whiteSpace:"pre"},children:p("tspan",{x:"110",y:"179.773",children:"app.dub.co/register"})}),p("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"}),p("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"}),p("g",{stroke:"currentColor",strokeOpacity:"0.7",strokeLinecap:"round",strokeLinejoin:"round",clipPath:`url(#${t}-y)`,children:p("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"})}),p("text",{xmlSpace:"preserve",fill:"currentColor",className:"text-[var(--fg)]",fontSize:"10",fontWeight:"500",letterSpacing:"0em",style:{whiteSpace:"pre"},children:p("tspan",{x:"251",y:"171.636",children:"51K"})})]}),V("defs",{children:[V("linearGradient",{id:`${t}-b`,x1:"192.5",x2:"192.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-c`,x1:"192.5",x2:"192.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-d`,x1:"144.5",x2:"144.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-e`,x1:"144.5",x2:"144.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-f`,x1:"96.5",x2:"96.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-g`,x1:"96.5",x2:"96.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-h`,x1:"240.5",x2:"240.5",y1:"109",y2:"144",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-i`,x1:"240.5",x2:"240.5",y1:"193",y2:"228",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EA580C"}),p("stop",{offset:"0.625",stopColor:"#EA580C",stopOpacity:"0.5"}),p("stop",{offset:"1",stopColor:"#EA580C"})]}),V("linearGradient",{id:`${t}-j`,x1:"13",x2:"47",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EAB308",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#EAB308"})]}),V("linearGradient",{id:`${t}-k`,x1:"323",x2:"289",y1:"168.5",y2:"168.5",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#EAB308",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#EAB308"})]}),V("linearGradient",{id:`${t}-w`,x1:"73",x2:"73",y1:"156",y2:"180",gradientUnits:"userSpaceOnUse",children:[p("stop",{stopColor:"#030712",stopOpacity:"0"}),p("stop",{offset:"1",stopColor:"#030712",stopOpacity:"0.05"})]}),V("filter",{id:`${t}-t`,width:"96",height:"46",x:"14",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[p("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),p("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),p("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),V("filter",{id:`${t}-u`,width:"96",height:"46",x:"228",y:"145",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[p("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),p("feBlend",{in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),p("feGaussianBlur",{result:"effect1_foregroundBlur_5_744",stdDeviation:"7.5"})]}),p("clipPath",{id:`${t}-a`,children:p("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M0 0h336v336H0z"})}),p("clipPath",{id:`${t}-y`,children:p("path",{fill:"currentColor",className:"text-[var(--bg)]",d:"M235 162h12v12h-12z"})}),p("pattern",{id:`${t}-x`,width:"1",height:"1",patternContentUnits:"objectBoundingBox",children:p("use",{xlinkHref:`#${t}-z`,transform:"scale(.01563)"})}),p("image",{href:`${Dt}dub.co`,id:`${t}-z`,width:"64",height:"64"})]})]})}import{Link as Bn}from"@radix-ui/react-navigation-menu";import Wn from"next/link";import{jsx as we,jsxs as Cr}from"react/jsx-runtime";var st="text-xs uppercase text-neutral-500 dark:text-white/60",$d="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 lt({icon:e,title:t,description:r,descriptionLines:o=1,className:a,showArrow:c,...s}){return we(Bn,{asChild:!0,children:we(Wn,{className:i($d,a),...s,children:Cr("div",{className:"flex items-center justify-between gap-3",children:[e,Cr("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})]}),c&&we(Do,{className:"invisible -ml-6 h-4 w-4 text-neutral-700 group-aria-selected:visible sm:group-hover:visible dark:text-white/80"})]})})})}function Nr({icon:e,title:t,description:r,iconClassName:o,...a}){return we(Bn,{asChild:!0,children:we(Wn,{...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:Cr("div",{className:"flex items-center justify-between px-5 py-4",children:[Cr("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 K,jsxs as Te}from"react/jsx-runtime";var Kd=[{title:"Dub API",description:"Programmatic link creation at scale",icon:Vt,href:"/docs/api-reference/introduction"},{title:"Dub Integrations",description:"Connect Dub with your favorite tools",icon:Ht,href:"/integrations"}];function Gn({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:[K(Fn,{asChild:!0,children:Te(Un,{href:z("/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:[K("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Links"}),K("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"})]}),K("div",{className:"relative grow overflow-hidden",children:K(Vn,{className:"absolute bottom-0 h-auto w-full [mask-image:linear-gradient(transparent,black_20%,black_80%,transparent)]"})}),K("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:[K(Fn,{asChild:!0,children:Te(Un,{href:z("/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:[K(Hn,{className:"absolute bottom-0 h-auto w-full translate-y-[15%] [mask-image:linear-gradient(90deg,transparent,black)]"}),K("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:[K("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:"Dub Analytics"}),K("p",{className:"mt-3 max-w-48 text-sm text-neutral-500 dark:text-white/60",children:"Powerful real-time analytics with conversion tracking"})]})]})}),K("div",{className:"grid grow grid-rows-2 gap-4",children:Kd.map(({title:t,description:r,icon:o,href:a})=>K(Nr,{title:t,description:r,icon:o,href:z(a,e,te({domain:e,utm_content:t}))},t))})]})]}),Te("div",{className:"px-6 py-4",children:[K("p",{className:i(st,"mb-2"),children:"Customer Stories"}),Te("div",{className:"grid grid-cols-1",children:[In.map(({icon:t,iconClassName:r,title:o,description:a,href:c})=>K(lt,{className:"-mx-2",href:z(c,e,te({domain:e,utm_content:o})),icon:K("div",{className:"shrink-0 rounded-[10px] border border-neutral-200 bg-white/50 p-2 dark:border-white/20 dark:bg-white/10",children:K(t,{className:i("h-4 w-4 shrink-0 text-neutral-600 transition-colors dark:text-white/60",r)})}),title:o,description:a},c)),K(lt,{className:"-mx-2",href:z("/customers",e,te({domain:e,utm_content:"Customer Stories"})),title:"View all stories",showArrow:!0})]}),K("p",{className:i(st,"mb-2 mt-5"),children:"Compare"}),K("div",{className:"flex flex-col",children:yr.map(({name:t,slug:r})=>K(lt,{className:"-mx-2",href:z(`/compare/${r}`,e,te({domain:e,utm_content:`Dub vs. ${t}`})),title:`Dub vs. ${t}`,showArrow:!0},r))})]})]})}import{Link as Kn}from"@radix-ui/react-navigation-menu";import Yd from"next/image";import jn from"next/link";import{useId as jd}from"react";import{jsx as y,jsxs as ct}from"react/jsx-runtime";function $n({className:e,...t}){let r=jd();return ct("svg",{xmlns:"http://www.w3.org/2000/svg",width:"247",height:"114",viewBox:"0 0 247 114",fill:"none",className:i("",e),...t,children:[y("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"}),ct("g",{opacity:"0.5",children:[y("mask",{id:`${r}-a`,width:"187",height:"89",x:"27",y:"12",maskUnits:"userSpaceOnUse",style:{maskType:"alpha"},children:y("ellipse",{cx:"120.71",cy:"56.432",fill:"#D9D9D9",rx:"92.717",ry:"44.041"})}),y("g",{stroke:"#fff",strokeWidth:"0.089",mask:`url(#${r}-a)`,children:y("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"})})]}),y("g",{filter:`url(#${r}-b)`,opacity:"0.3",children:y("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"})}),y("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"}),y("circle",{cx:"85.073",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"147.866",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"147.866",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"168.565",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"180.426",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"189.496",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"99.957",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"99.957",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"120.888",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"112.516",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"101.586",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"139.959",cy:"71.782",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"129.494",cy:"72.247",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"120.888",cy:"84.806",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"132.982",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"156.704",cy:"28.059",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"108.795",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"141.82",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"141.82",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"42.944",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"75.736",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"51.781",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"73.213",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"46.665",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"61.118",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"52.281",cy:"63.875",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"80.852",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"85.073",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),y("circle",{cx:"93.911",cy:"84.573",r:"0.814",fill:"#565656",stroke:"#fffa",strokeWidth:"0.233"}),ct("defs",{children:[ct("linearGradient",{id:`${r}-c`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[y("stop",{stopColor:"#fff",stopOpacity:"0"}),y("stop",{offset:"1",stopColor:"#fff",stopOpacity:"0.3"})]}),ct("linearGradient",{id:`${r}-d`,x1:"120.889",x2:"120.889",y1:"27.982",y2:"84.689",gradientUnits:"userSpaceOnUse",children:[y("stop",{stopColor:"#5B5B5B"}),y("stop",{offset:"1",stopColor:"#757575"})]}),ct("filter",{id:`${r}-b`,width:"154.246",height:"73.748",x:"43.768",y:"19.38",colorInterpolationFilters:"sRGB",filterUnits:"userSpaceOnUse",children:[y("feFlood",{floodOpacity:"0",result:"BackgroundImageFix"}),y("feGaussianBlur",{in:"BackgroundImageFix",stdDeviation:"4.262"}),y("feComposite",{in2:"SourceAlpha",operator:"in",result:"effect1_backgroundBlur_7_2"}),y("feBlend",{in:"SourceGraphic",in2:"effect1_backgroundBlur_7_2",result:"shape"}),y("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"}),y("feOffset",{dx:"-0.991",dy:"0.991"}),y("feGaussianBlur",{stdDeviation:"0.496"}),y("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),y("feColorMatrix",{values:"0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 0.354 0"}),y("feBlend",{in2:"shape",result:"effect2_innerShadow_7_2"}),y("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"}),y("feOffset",{dx:"0.991",dy:"-0.991"}),y("feGaussianBlur",{stdDeviation:"0.496"}),y("feComposite",{in2:"hardAlpha",k2:"-1",k3:"1",operator:"arithmetic"}),y("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"}),y("feBlend",{in2:"effect2_innerShadow_7_2",result:"effect3_innerShadow_7_2"}),y("feGaussianBlur",{result:"effect4_foregroundBlur_7_2",stdDeviation:"0.357"})]})]})]})}import{jsx as ee,jsxs as qe}from"react/jsx-runtime";var qd=[{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 Yn({domain:e}){return qe("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.45fr] divide-x divide-neutral-200 dark:divide-white/20",children:[ee("div",{className:"grid grid-cols-2 gap-4 p-4",children:qd.map(({title:t,description:r,thumbnail:o,href:a})=>ee(Kn,{asChild:!0,children:qe(jn,{href:z(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:[qe("div",{className:"p-5 pb-0",children:[ee("span",{className:"text-sm font-medium text-neutral-900 dark:text-white",children:t}),ee("p",{className:"mt-3 max-w-56 text-sm text-neutral-500 dark:text-white/60",children:r})]}),ee("div",{className:"relative mt-7 grow overflow-hidden pl-5 [mask-image:linear-gradient(90deg,black_50%,transparent)]",children:ee("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:ee(Yd,{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))}),qe("div",{className:"flex flex-col gap-4 p-4",children:[xr.filter(({title:t})=>!["Docs","Help Center","Dub Brand"].includes(t)).map(({title:t,description:r,icon:o,href:a})=>ee(Nr,{title:t,description:r,icon:o,iconClassName:"size-5",href:z(a,e,te({domain:e,utm_content:t}))},t)),ee(Kn,{asChild:!0,children:qe(jn,{href:z("/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:[qe("div",{className:"pointer-events-none absolute inset-0",children:[ee("div",{className:"absolute -inset-[50%] opacity-30 blur-[20px] transition-opacity duration-300 group-hover:opacity-40 dark:group-hover:opacity-35",children:ee("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)]")})}),ee($n,{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)]"})]}),ee("div",{className:"relative flex items-center justify-between px-5 py-4",children:qe("div",{children:[ee("span",{className:"block text-sm font-medium text-white",children:"Dub Brand"}),ee("p",{className:"text-sm text-white/60",children:"Logos, wordmark, etc."})]})})]})})]})]})}import{Link as Zd}from"@radix-ui/react-navigation-menu";import Xd from"next/link";import{jsx as re,jsxs as dt}from"react/jsx-runtime";var Jd=[{icon:Bt,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:Ut,title:"Affiliate Management",description:"Manage affiliates and automate payouts",href:"/partners"}];function qn({domain:e}){return dt("div",{className:"grid w-[1020px] grid-cols-[minmax(0,1fr),0.4fr] divide-x divide-neutral-200 dark:divide-white/20",children:[dt("div",{className:"flex h-full flex-col p-4",children:[re("p",{className:i(st,"mb-4 ml-2"),children:"Use case"}),re("div",{className:"grid grow grid-cols-3 gap-4",children:Jd.map(({icon:t,title:r,description:o,href:a})=>re(Zd,{asChild:!0,children:dt(Xd,{href:z(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:[dt("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(fn,{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"}),dt("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))})]}),dt("div",{className:"px-6 py-4",children:[re("p",{className:i(st,"mb-2"),children:"SDKs"}),re("div",{className:"flex flex-col gap-0.5",children:uo.map(({icon:t,iconClassName:r,title:o,href:a})=>re(lt,{className:"-mx-2",href:z(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 su,jsx as W,jsxs as ut}from"react/jsx-runtime";var fo=ru({theme:"light"}),go=[{name:"Product",content:Gn,childItems:br,segments:["/home","/analytics","/features","/compare","/integrations"]},{name:"Solutions",content:qn,childItems:zn,segments:["/solutions","/sdks"]},{name:"Resources",content:Yn,childItems:xr,segments:["/docs","/help","/brand","/blog","/changelog","/customers"]},{name:"Enterprise",href:"/enterprise",segments:["/enterprise"]},{name:"Pricing",href:"/pricing",segments:["/pricing"]}],Zn=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 B5({theme:e="light",staticDomain:t,maxWidthWrapperClassName:r}){let{domain:o="dub.co"}=eu();t&&(o=t);let a=ou(),c=Fa(40),s=tu(),{data:l,isLoading:m}=au(o.endsWith("dub.co")&&"/api/auth/session",ge,{dedupingInterval:6e4});return W(fo.Provider,{value:{theme:e},children:W(Qd,{id:a,children:ut("div",{className:i("sticky inset-x-0 top-0 z-30 w-full transition-all",e==="dark"&&"dark"),children:[W("div",{className:i("absolute inset-0 block border-b border-transparent transition-all",c&&"border-neutral-100 bg-white/75 backdrop-blur-lg dark:border-white/10 dark:bg-black/75")}),W(wr,{className:i("relative",r),children:ut("div",{className:"flex h-14 items-center justify-between",children:[W("div",{className:"grow basis-0",children:W(Tt,{className:"block w-fit py-2 pr-2",href:z("/home",o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:"Logo"}),children:W(kr,{})})}),ut(ue.Root,{delayDuration:0,className:"relative hidden lg:block",children:[W(ue.List,{className:"group relative z-0 flex",children:go.map(({name:d,href:n,segments:u,content:f})=>{let v=u.some(b=>s==null?void 0:s.startsWith(b));return ut(ue.Item,{children:[W(iu,{trigger:!!f,children:n!==void 0?W(Tt,{id:`nav-${n}`,href:z(n,o,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:o,utm_content:d}),className:Zn,"data-active":v,children:d}):ut("button",{className:Zn,"data-active":v,children:[d,W(nu,{className:"ml-1.5 size-2.5 text-neutral-700"})]})}),f&&W(ue.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:W(f,{domain:o})})]},d)})}),W("div",{className:"absolute left-1/2 top-full mt-3 -translate-x-1/2",children:W(ue.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]")})})]}),W("div",{className:"hidden grow basis-0 justify-end gap-2 lg:flex",children:l&&Object.keys(l).length>0?W(Tt,{href:Ce,className:i(se({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"}):m?null:ut(su,{children:[W(Tt,{href:"https://app.dub.co/login",className:i(se({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"}),W(Tt,{href:"https://app.dub.co/register",className:i(se({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 nu(e){return W("svg",{xmlns:"http://www.w3.org/2000/svg",width:"9",height:"9",fill:"none",viewBox:"0 0 9 9",...e,children:W("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 iu({trigger:e,children:t}){return e?W(ue.Trigger,{asChild:!0,children:t}):t}import{ChevronDown as lu,Menu as cu,X as du}from"lucide-react";import mt from"next/link";import{useParams as vo}from"next/navigation";import{useEffect as uu,useState as Jn}from"react";import mu from"swr";import{Fragment as fu,jsx as O,jsxs as Le}from"react/jsx-runtime";function Q5({theme:e="light",staticDomain:t}){let{domain:r="dub.co"}=vo();t&&(r=t);let[o,a]=Jn(!1);uu(()=>{o?document.body.style.overflow="hidden":document.body.style.overflow="auto"},[o]);let{data:c}=mu(r.endsWith("dub.co")&&"/api/auth/session",ge,{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:[c&&Object.keys(c).length>0?O(ho,{href:Ce,className:"max-[280px]:hidden",children:"Dashboard"}):Le("div",{className:"flex gap-2 max-[280px]:hidden",children:[O(ho,{variant:"secondary",href:`${Ce}/login`,children:"Log in"}),O(ho,{href:`${Ce}/register`,children:"Sign Up"})]}),O("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?O(du,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"}):O(cu,{className:"h-5 w-5 text-neutral-600 dark:text-white/70"})}),O("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:[go.map(({name:s,href:l,childItems:m},d)=>O(pu,{name:s,href:l,childItems:m,setOpen:a},d)),c&&Object.keys(c).length>0?O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:Ce,className:"flex w-full font-semibold capitalize",children:"Dashboard"})}):Le(fu,{children:[O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:`${Ce}/login`,className:"flex w-full font-semibold capitalize",children:"Log in"})}),O("li",{className:"py-3 min-[281px]:hidden",children:O(mt,{href:`${Ce}/register`,className:"flex w-full font-semibold capitalize",children:"Sign Up"})})]})]})})]})}var pu=({name:e,href:t,childItems:r,setOpen:o})=>{let{domain:a="dub.co"}=vo(),[c,s]=Jn(!1);return r?O("li",{className:"py-3",children:Le(Pe,{height:!0,children:[Le("button",{className:"flex w-full justify-between",onClick:()=>s(!c),children:[O("p",{className:"font-semibold",children:e}),O(lu,{className:i("h-5 w-5 text-neutral-500 transition-all dark:text-white/50",c&&"rotate-180")})]}),c&&O("div",{className:"grid grid-cols-1 gap-4 overflow-hidden py-4",children:r.map((l,m)=>"items"in l?Le("div",{className:"grid grid-cols-1 gap-3",children:[O("span",{className:"text-xs font-medium uppercase text-neutral-500 dark:text-white/50",children:l.label}),l.items.map((d,n)=>O(Xn,{item:d,setOpen:o,size:"small"},n))]},m):O(Xn,{item:l,setOpen:o},m))})]})}):t?O("li",{className:"py-3",children:O(mt,{href:z(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},Xn=({item:{title:e,description:t,href:r,icon:o},setOpen:a,size:c="normal"})=>{let{domain:s="dub.co"}=vo();return Le(mt,{href:z(r,s,{utm_source:"Custom Domain",utm_medium:"Navbar",utm_campaign:s,utm_content:e}),onClick:()=>a(!1),className:"flex w-full items-center gap-3",children:[O("div",{className:i("flex size-10 items-center justify-center rounded-lg border border-neutral-200 bg-gradient-to-t from-neutral-100",c==="small"&&"size-8"),children:O(o,{className:i("size-5 text-neutral-700 grayscale",c==="small"&&"size-4")})}),Le("div",{children:[O("div",{className:"flex items-center gap-2",children:O("h2",{className:"text-sm font-medium text-neutral-900",children:e})}),t&&O("p",{className:"text-sm text-neutral-500",children:t})]})]})};function ho({variant:e,className:t,...r}){return O(mt,{...r,className:i("flex h-8 w-fit items-center whitespace-nowrap rounded-lg border px-3 text-[0.8125rem]",se({variant:e}),t)})}import{jsx as Qn}from"react/jsx-runtime";function ei({className:e}){return Qn("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:Qn("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 Z,jsxs as ti}from"react/jsx-runtime";var ku=`<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 kr({variant:e="full",isInApp:t,className:r}){let{domain:o="dub.co"}=xu(),{theme:a}=wu(fo),[c,s]=Cu(!1),l=yu(n=>{n.preventDefault(),s(!0)},[]),[,m]=et();function d(n){Nu.promise(m(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return ti(He.Root,{open:c,onOpenChange:s,children:[Z(He.Anchor,{asChild:!0,children:Z("div",{onContextMenu:l,className:"max-w-fit",children:e==="full"?Z(ei,{className:r}):Z(mo,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",r)})})}),Z(He.Portal,{children:Z(He.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5",!t&&"-translate-x-8",a==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),s(!1)},children:ti("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:[Z(Lt,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>d(ku),icon:Z(mo,{className:"h-4 w-4"})}),Z(Lt,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>d(Pu),icon:Z(bu,{strokeWidth:2,className:"h-4 w-4"})}),Z(Lt,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:Z(gu,{strokeWidth:2,className:"h-4 w-4"})}),t||o!="dub.co"?Z(Lt,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:Z(hu,{strokeWidth:2,className:"h-4 w-4"})}):Z(Lt,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:Z(vu,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function Lt({className:e,...t}){return Z(le,{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 E,jsxs as j}from"react/jsx-runtime";var Ru=[{name:"Twitter",icon:Ot,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:zt,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:It,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:_t,href:"https://www.youtube.com/@dubdotco"}],pt={product:[...br.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:yr.map(({name:e,slug:t})=>({name:e,href:`/compare/${t}`})),legal:On.map(({name:e,slug:t})=>({name:e,href:`/legal/${t}`})),tools:Eo.map(({name:e,slug:t})=>({name:e,href:`/tools/${t}`}))},ft="text-sm font-medium text-neutral-900",gt="flex flex-col mt-2.5 gap-2.5",Ze="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function P8({staticDomain:e,className:t}){let{domain:r="dub.co"}=Mu();return e&&(r=e),E(wr,{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:j("footer",{children:[j("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[j("div",{className:"flex flex-col gap-6",children:[E("div",{className:"grow",children:j(Ve,{href:z("/",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"Logo"}),className:"block max-w-fit",children:[j("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),E(kr,{className:"h-8 text-neutral-800"})]})}),E("div",{className:"flex items-center gap-3",children:Ru.map(({name:o,icon:a,href:c})=>j("a",{href:c,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[E("span",{className:"sr-only",children:o}),E(a,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},o))})]}),j("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[j("div",{className:"md:grid md:grid-cols-2",children:[j("div",{className:"grid gap-8",children:[j("div",{children:[E("h3",{className:ft,children:"Product"}),E("ul",{role:"list",className:gt,children:pt.product.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]}),j("div",{children:[E("h3",{className:ft,children:"Solutions"}),E("ul",{role:"list",className:gt,children:pt.solutions.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]}),j("div",{className:"mt-10 md:mt-0",children:[E("h3",{className:ft,children:"Resources"}),E("ul",{role:"list",className:gt,children:pt.resources.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]}),j("div",{className:"md:grid md:grid-cols-2",children:[j("div",{className:"grid gap-8",children:[j("div",{children:[E("h3",{className:ft,children:"Compare"}),E("ul",{role:"list",className:gt,children:pt.compare.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]}),j("div",{children:[E("h3",{className:ft,children:"Legal"}),j("ul",{role:"list",className:gt,children:[pt.legal.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name)),E("li",{children:j("a",{href:"https://security.dub.co",target:"_blank",rel:"noreferrer",className:i(Ze,"flex items-center gap-1"),children:["Trust Center ",E(wa,{className:"size-3.5"})]})})]})]})]}),j("div",{className:"mt-10 md:mt-0",children:[E("h3",{className:ft,children:"Tools"}),E("ul",{role:"list",className:gt,children:pt.tools.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]})]})]}),j("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[E(tn,{}),E(Ve,{href:z("/blog/soc2",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"SOC2"}),className:"flex sm:justify-center",children:E(Su,{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"})}),j("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}import{AnimatePresence as Tu,motion as Lu}from"framer-motion";import{useEffect as Eu,useState as Au}from"react";import{jsx as ri}from"react/jsx-runtime";var oi=({children:e,fallback:t,fadeInDuration:r=.5,className:o})=>{let[a,c]=Au(!1);Eu(()=>{c(!0)},[]);let s=r?Lu.div:"div";return ri(Tu,{children:a?ri(s,{...r?{initial:{opacity:0},animate:{opacity:1},transition:{duration:r}}:{},className:o,children:e}):t||null})};import{cva as Du}from"class-variance-authority";import{toast as Iu}from"sonner";import{jsx as bo,jsxs as Ou}from"react/jsx-runtime";var zu=Du("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 _8({variant:e="default",value:t,className:r,icon:o,successMessage:a}){let[c,s]=et(),l=o||Ao;return Ou("button",{onClick:m=>{m.stopPropagation(),Iu.promise(s(t),{success:a||"Copied to clipboard!"})},className:i(zu({variant:e}),r),type:"button",children:[bo("span",{className:"sr-only",children:"Copy"}),c?bo(Ho,{className:"h-3.5 w-3.5"}):bo(l,{className:"h-3.5 w-3.5"})]})}import{toast as _u}from"sonner";import{jsx as Hu}from"react/jsx-runtime";function F8({value:e,children:t,className:r,successMessage:o}){let[a,c]=et();return Hu("button",{onClick:s=>{s.stopPropagation(),_u.promise(c(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 Vu,jsxs as Bu}from"react/jsx-runtime";function G8({icon:e,text:t}){return Bu("div",{className:"flex items-center justify-start space-x-2 truncate",children:[e,Vu("p",{className:"truncate text-sm",children:t})]})}import{jsx as Wu}from"react/jsx-runtime";var K8=({children:e})=>Wu("span",{className:"inline-block rounded-md bg-blue-100 px-1 py-0.5 font-mono text-blue-900",children:e});import{jsx as xo}from"react/jsx-runtime";function X8({apexDomain:e,className:t,imageProps:r}){return e?xo(Rt,{src:`${Dt}${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}):xo("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:xo(ua,{className:"h-4 w-4 text-neutral-600 sm:h-5 sm:w-5"})})}import{Link2 as ai}from"lucide-react";import{useRouter as Fu,useSearchParams as Uu}from"next/navigation";import{useEffect as Gu,useMemo as $u,useRef as Ku}from"react";import ju from"swr";import{useDebounce as Yu}from"use-debounce";import{Fragment as ni,jsx as Y,jsxs as Be}from"react/jsx-runtime";function s6({defaultUrl:e}){let t=Fu(),r=Uu(),o=e||(r==null?void 0:r.get("url"))||"https://github.com/dubinc/dub",[a]=Yu(Ro(o),500),c=$u(()=>To(a||""),[a]),{data:s,isValidating:l}=ju(a&&`/api/metatags?url=${encodeURIComponent(a)}`,ge,{revalidateOnFocus:!1}),{title:m,description:d,image:n}=s||{},u=Ku(null);Gu(()=>{!e&&u.current&&u.current.select()},[e]);let{isMobile:f}=q();return Be(ni,{children:[!e&&Be("div",{className:"relative flex items-center",children:[Y(ai,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{ref:u,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:v=>t.replace(`/tools/metatags${v.target.value.length>0?`?url=${v.target.value}`:""}`),"aria-invalid":"true"})]}),Be("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:[l&&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(zo,{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:[c?Y("p",{className:"text-sm text-[#536471]",children:c}):Y("div",{className:"mb-1 h-4 w-24 rounded-md bg-neutral-100"}),m?Y("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:m}):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 l6({defaultUrl:e}){return Be(ni,{children:[Be("div",{className:"relative flex items-center",children:[Y(ai,{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 qu}from"framer-motion";import ii from"js-cookie";import{createContext as Zu,useState as Xu}from"react";import{jsx as yo}from"react/jsx-runtime";var Ju=Zu({hidePopup:()=>{}});function g6({children:e,hiddenCookieId:t}){let[r,o]=Xu(ii.get(t)==="1"),a=()=>{o(!0),ii.set(t,"1")};return yo(oi,{children:yo(Ju.Provider,{value:{hidePopup:a},children:yo(qu,{children:!r&&e})})})}import{motion as Qu}from"framer-motion";import{jsx as si}from"react/jsx-runtime";function x6({value:e=0,max:t=100,className:r}){return si("div",{className:i("h-3 w-full overflow-hidden rounded-full bg-neutral-200",r),children:si(Qu.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 ci}from"class-variance-authority";import{LayoutGroup as em,motion as tm}from"framer-motion";import{useId as rm}from"react";import{jsx as Et,jsxs as li}from"react/jsx-runtime";var om=ci("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"}}),am=ci("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-bg-inverted",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function T6({variant:e,options:t,selected:r,onSelect:o,className:a}){let c=rm();return Et("div",{className:i("flex text-sm",a),children:Et(em,{id:c,children:t.map(({id:s,label:l,href:m})=>{let d=s===r;return li(m?"a":"div",{className:"relative",href:m??"#",target:m?"_blank":void 0,children:[li("button",{type:"button",...!m&&{onClick:()=>o==null?void 0:o(s)},className:i(om({variant:e}),m&&"group flex items-center gap-1.5"),"data-selected":d,"aria-selected":d,children:[l,m&&Et(Ko,{className:"size-2.5"})]}),d&&Et(tm.div,{layoutId:"indicator",transition:{duration:.1},className:am({variant:e}),children:Et("div",{className:"h-0.5 rounded-t-full bg-current"})})]},s)})})})}import{jsx as wo,jsxs as di}from"react/jsx-runtime";var nm=[{icon:ka,text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{icon:aa,text:"Geo/device targeting",href:"https://dub.co/help/article/geo-targeting"},{icon:va,text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{icon:Na,text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{icon:ha,text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"}];function A6(){return di("div",{className:"p-3",children:[wo("span",{className:"block text-sm font-semibold text-neutral-600",children:"Advanced link features"}),wo("div",{className:"mt-2 flex flex-col gap-2.5 text-xs text-neutral-600",children:nm.map(({text:e,icon:t,href:r})=>di("a",{href:r,target:"_blank",className:"flex items-center gap-2.5 underline decoration-dotted underline-offset-2",children:[wo(t,{className:"size-3.5 shrink-0"}),e]},e))})]})}import{jsx as ui,jsxs as im}from"react/jsx-runtime";function z6({className:e}){return im("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:[ui("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"}),ui("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{zr as AUTOPLAY_DEFAULT_DELAY,t1 as Accordion,bi as AccordionContent,hi as AccordionItem,vi as AccordionTrigger,A6 as AdvancedLinkFeaturesTooltip,Nm as Africa,zm as Airtm,Ci as Alert,ki as AlertDescription,Ni as AlertTitle,Tm as Amazon,Wm as AndroidLogo,Pe as AnimatedSizeContainer,Fm as AppleLogo,Um as ArrowBoldUp,Gm as ArrowRight,$m as ArrowTrendUp,Km as ArrowTurnLeft,jm as ArrowTurnRight2,Ko as ArrowUpRight,Ym as ArrowsOppositeDirectionY,km as Asia,ho as AuthButton,c1 as Avatar,Sx as Background,jt as Badge,qm as BadgeCheck,Zm as BadgeCheck2Fill,L1 as BadgeTooltip,Xm as Blog,Rt as BlurImage,Jm as Bolt,Qm as BoltFill,t0 as Book2,jo as Book2Fill,r0 as Book2Small,e0 as BookOpen,o0 as Books2,a0 as BoxArchive,n0 as BulletList,Yo as BulletListFill,le as Button,E1 as ButtonTooltip,yr as COMPARE_PAGES,In as CUSTOMER_STORIES,qa as Calendar,c0 as Calendar6,s0 as CalendarDays,i0 as CalendarIcon,l0 as CalendarRefresh,xm as CardAmex,ym as CardDiscover,tg as CardList,wm as CardMastercard,Cm as CardVisa,d0 as Cards,u0 as CaretUpFill,ts as Carousel,rs as CarouselContent,os as CarouselItem,xg as CarouselNavBar,ns as CarouselNext,as as CarouselPrevious,Tg as CarouselThumbnail,Rg as CarouselThumbnails,Om as CashApp,m0 as ChartActivity2,p0 as ChartArea2,f0 as ChartLine,Lm as ChatGPT,qo as Check,Zo as Check2,hs as Checkbox,Xo as CheckboxCheckedFill,Jo as CheckboxUnchecked,Qo as CircleCheck,g0 as CircleCheckFill,h0 as CircleDollar,v0 as CircleDotted,ea as CircleHalfDottedCheck,ta as CircleHalfDottedClock,ra as CircleInfo,b0 as CirclePercentage,x0 as CirclePlay,y0 as CirclePlayFill,w0 as CircleQuestion,C0 as CircleUser,Tr as CircleWarning,N0 as CircleXmark,k0 as Circles,P0 as Circles3,oi as ClientOnly,oa as CloudUpload,S0 as Code,M0 as ColorPalette2,yv as Combobox,z6 as CompositeLogo,R0 as ConnectedDots,T0 as ConnectedDots4,Ht as ConnectedDotsFill,L0 as Connections3,Ao as Copy,_8 as CopyButton,F8 as CopyText,E0 as CreditCard,A0 as Crosshairs3,D0 as Crown,sm as CrownSmall,I0 as Cube,z0 as CubeSettings,Vt as CubeSettingsFill,O0 as CurrencyDollar,_0 as CursorRays,H0 as DatabaseKey,Br as DatePickerContext,a2 as DateRangePicker,V0 as Desktop,B0 as DiamondTurnRight,Bt as DiamondTurnRightFill,W0 as Directions,F0 as Discount,U0 as Dots,G0 as Download,lm as DubCraftedShield,tn as DubStatusBadge,$0 as Duplicate,Yt as DynamicTooltipWrapper,aa as Earth,K0 as EarthPosition,h2 as EmptyState,j0 as Envelope,Y0 as EnvelopeAlert,q0 as EnvelopeArrowRight,Pm as Europe,Do as ExpandingArrow,na as Eye,ia as EyeSlash,br as FEATURES_LIST,um as Facebook,sa as FeatherFill,Em as Figma,Z0 as FileContent,M2 as FileUpload,X0 as FileZip2,Q2 as Filter,Q0 as Filter2,J0 as FilterBars,tp as Flag2,la as Flag6,ep as FlagWavy,rp as Flask,op as FlaskSmall,ap as Folder,cp as Folder5,np as FolderBookmark,ip as FolderLock,sp as FolderPlus,lp as FolderShield,P8 as Footer,ib as Form,dp as GamingConsole,up as Gauge6,mp as Gear,pp as Gear2,fp as Gear3,gp as Gem,ca as Gift,hp as GiftFill,Am as GitHubEnhanced,It as Github,vp as Globe,ua as Globe2,da as GlobePointer,bp as GlobeSearch,Wo as Go,mm as Google,Dm as GoogleEnhanced,xp as GreekTemple,fn as Grid,yp as GridIcon,wp as GridLayoutRows,Cp as GridPlus,Np as Headset,ma as HeadsetFill,pa as HeartFill,fa as HexadecagonStar,kp as History,ga as Hyperlink,G8 as IconMenu,Pp as Icosahedron,ha as Incognito,R1 as InfoTooltip,K8 as InlineSnippet,Cc as Input,Sp as InputPassword,va as InputPasswordPointer,ba as InputSearch,Ob as InputSelect,pm as Instagram,Mp as InvoiceDollar,Rp as Key,za as KeyboardShortcutContext,lh as KeyboardShortcutProvider,On as LEGAL_PAGES,Fc as Label,Tp as LayoutSidebar,Lp as License,xa as LinesY,Ap as Link4,Ep as LinkBroken,X8 as LinkLogo,s6 as LinkPreview,l6 as LinkPreviewPlaceholder,zt as LinkedIn,M1 as LinkifyTooltipContent,bt as LoadingCircle,dm as LoadingDots,Ne as LoadingSpinner,Dp as LocationPin,Ip as LockFill,mo as Logo,Io as Magic,zp as Magnifier,Op as MapPosition,_p as MarketingTarget,cm as MatrixLines,wr as MaxWidthWrapper,Hp as Menu3,Yb as MenuItem,Vp as MessageSmile,Wt as MicrophoneFill,a4 as MiniAreaChart,Bp as MobilePhone,d4 as Modal,Wp as MoneyBill,Fp as MoneyBill2,Up as MoneyBills2,Gp as Msgs,B5 as Nav,fo as NavContext,Q5 as NavMobile,kr as NavWordmark,Sm as NorthAmerica,$p as Note,Qp as NucleoPhoto,T1 as NumberTooltip,Mm as Oceania,Kp as OfficeBuilding,qf as PLAN_FEATURE_ICONS,ya as Page2,p4 as PaginationControls,jp as Paintbrush,Yp as Palette2,qp as PaperPlane,_m as Payoneer,Hm as Paypal,Xp as Pen2,Zp as PenWriting,Jp as PercentageArrowDown,zo as Photo,Fo as Php,ef as Plug2,Ft as Plus,ot as Popover,g6 as Popup,Ju as PopupContext,tf as Post,fm as Prisma,Vo as ProductHunt,x6 as ProgressBar,rf as Pyramid,Uo as Python,of as QRCode,xr as RESOURCES,sd as RadioGroup,ld as RadioGroupItem,Bo as Raycast,af as Receipt2,wa as ReferredVia,nf as Refresh2,sf as Robot,Go as Ruby,uo as SDKS,Ex as SOCIAL_LINKS,zn as SOLUTIONS,Ca as SatelliteDish,lf as ScanText,cf as Scribble,w4 as Sheet,df as ShieldAlert,uf as ShieldCheck,mf as ShieldKeyhole,pf as ShieldSlash,ff as ShieldUser,P4 as ShimmerDots,gf as Shuffle,S1 as SimpleTooltipContent,gm as Slack,hf as Sliders,Oo as SortOrder,Rm as SouthAmerica,vf as Sparkle3,Im as Spotify,bf as SquareChart,xf as SquareLayoutGrid5,yf as SquareLayoutGrid6,wf as SquareXmark,Cf as Stars2,A4 as StatusBadge,Vm as StripeLink,_o as Success,B4 as Switch,Ef as TV,T6 as TabSelect,ux as Table,Nf as TableIcon,kf as TableRows2,Pf as Tablet,Sf as Tag,Mf as Tags,Ho as Tick,hm as TikTok,Na as Timer2,vm as Tinybird,Rf as Toggle2Fill,hx as ToggleGroup,d1 as TokenAvatar,J as Tooltip,P1 as TooltipContent,k1 as TooltipProvider,Tf as Trash,Lf as TriangleWarning,Ot as Twitter,$o as Typescript,kx as UTMBuilder,Wd as UTM_PARAMETERS,Af as UiCard,bm as Unsplash,Df as User,If as UserCheck,zf as UserCrown,Of as UserDelete,_f as UserPlus,Hf as Users,Bf as Users2,Wf as Users6,Ut as UsersFill,Vf as UsersSettings,Bm as Venmo,Ff as Versions2,ka as Views,Uf as Watch,Gf as Webhook,$f as Window,Kf as WindowSearch,jf as WindowSettings,ei as Wordmark,Yf as Xmark,_t as YouTube,Ti as badgeVariants,se as buttonVariants,Mi as getUserAvatarUrl,go as navItems,Cd as statusBadgeVariants,ve as useCarousel,Ea as useCarouselActiveIndex,Og as useCookies,et as useCopyToClipboard,Wg as useCurrentAnchor,$g as useEnterSubmit,qg as useInViewport,Jg as useInputFocused,rh as useIntersectionObserver,tt as useKeyboardShortcut,uh as useLocalStorage,q as useMediaQuery,hh as useOptimisticUpdate,Rh as usePagination,Eh as useRemoveGAParams,Zt as useResizeObserver,Va as useRouterStuff,Fa as useScroll,Ae as useScrollProgress,dx as useTable,Ha as useTablePagination,$h as useToastWithUndo};
|
|
52
|
+
</svg>`;function kr({variant:e="full",isInApp:t,className:r}){let{domain:o="dub.co"}=xu(),{theme:a}=wu(fo),[c,s]=Cu(!1),l=yu(n=>{n.preventDefault(),s(!0)},[]),[,m]=et();function d(n){Nu.promise(m(n),{success:"Copied to clipboard!",error:"Failed to copy to clipboard"})}return ti(He.Root,{open:c,onOpenChange:s,children:[Z(He.Anchor,{asChild:!0,children:Z("div",{onContextMenu:l,className:"max-w-fit",children:e==="full"?Z(ei,{className:r}):Z(mo,{className:i("h-8 w-8 transition-all duration-75 active:scale-95",r)})})}),Z(He.Portal,{children:Z(He.Content,{sideOffset:14,align:"start",className:i("z-50 -mt-1.5",!t&&"-translate-x-8",a==="dark"&&"dark"),onClick:n=>{n.stopPropagation(),s(!1)},children:ti("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:[Z(Lt,{text:"Copy Logo as SVG",variant:"outline",onClick:()=>d(ku),icon:Z(mo,{className:"h-4 w-4"})}),Z(Lt,{text:"Copy Wordmark as SVG",variant:"outline",onClick:()=>d(Pu),icon:Z(bu,{strokeWidth:2,className:"h-4 w-4"})}),Z(Lt,{text:"Brand Guidelines",variant:"outline",onClick:()=>window.open("https://dub.co/brand","_blank"),icon:Z(gu,{strokeWidth:2,className:"h-4 w-4"})}),t||o!="dub.co"?Z(Lt,{text:"Home Page",variant:"outline",onClick:()=>window.open(`https://dub.co${t?"/home":""}`,"_blank"),icon:Z(hu,{strokeWidth:2,className:"h-4 w-4"})}):Z(Lt,{text:"Dashboard",variant:"outline",onClick:()=>window.open("https://app.dub.co","_blank"),icon:Z(vu,{strokeWidth:2,className:"h-4 w-4"})})]})})})]})}function Lt({className:e,...t}){return Z(le,{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 E,jsxs as j}from"react/jsx-runtime";var Ru=[{name:"Twitter",icon:Ot,href:"https://twitter.com/dubdotco"},{name:"LinkedIn",icon:zt,href:"https://www.linkedin.com/company/dubinc"},{name:"GitHub",icon:It,href:"https://github.com/dubinc/dub"},{name:"YouTube",icon:_t,href:"https://www.youtube.com/@dubdotco"}],pt={product:[...br.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:"Changelog",href:"/changelog"},{name:"Blog",href:"/blog"},{name:"Customers",href:"/customers"},{name:"About",href:"/about"},{name:"Brand",href:"/brand"},{name:"Contact",href:"/contact"}],compare:yr.map(({name:e,slug:t})=>({name:e,href:`/compare/${t}`})),legal:On.map(({name:e,slug:t})=>({name:e,href:`/legal/${t}`})),tools:Eo.map(({name:e,slug:t})=>({name:e,href:`/tools/${t}`}))},ft="text-sm font-medium text-neutral-900",gt="flex flex-col mt-2.5 gap-2.5",Ze="text-sm text-neutral-500 hover:text-neutral-700 transition-colors duration-75";function P8({staticDomain:e,className:t}){let{domain:r="dub.co"}=Mu();return e&&(r=e),E(wr,{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:j("footer",{children:[j("div",{className:"xl:grid xl:grid-cols-3 xl:gap-8",children:[j("div",{className:"flex flex-col gap-6",children:[E("div",{className:"grow",children:j(Ve,{href:z("/",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"Logo"}),className:"block max-w-fit",children:[j("span",{className:"sr-only",children:[process.env.NEXT_PUBLIC_APP_NAME," Logo"]}),E(kr,{className:"h-8 text-neutral-800"})]})}),E("div",{className:"flex items-center gap-3",children:Ru.map(({name:o,icon:a,href:c})=>j("a",{href:c,target:"_blank",rel:"noreferrer",className:"group rounded-full p-1",children:[E("span",{className:"sr-only",children:o}),E(a,{className:"size-4 text-neutral-900 transition-colors duration-75 group-hover:text-neutral-600"})]},o))})]}),j("div",{className:"mt-16 grid grid-cols-2 gap-4 xl:col-span-2 xl:mt-0",children:[j("div",{className:"md:grid md:grid-cols-2",children:[j("div",{className:"grid gap-8",children:[j("div",{children:[E("h3",{className:ft,children:"Product"}),E("ul",{role:"list",className:gt,children:pt.product.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]}),j("div",{children:[E("h3",{className:ft,children:"Solutions"}),E("ul",{role:"list",className:gt,children:pt.solutions.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]}),j("div",{className:"mt-10 md:mt-0",children:[E("h3",{className:ft,children:"Resources"}),E("ul",{role:"list",className:gt,children:pt.resources.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]}),j("div",{className:"md:grid md:grid-cols-2",children:[j("div",{className:"grid gap-8",children:[j("div",{children:[E("h3",{className:ft,children:"Compare"}),E("ul",{role:"list",className:gt,children:pt.compare.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]}),j("div",{children:[E("h3",{className:ft,children:"Legal"}),j("ul",{role:"list",className:gt,children:[pt.legal.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name)),E("li",{children:j("a",{href:"https://security.dub.co",target:"_blank",rel:"noreferrer",className:i(Ze,"flex items-center gap-1"),children:["Trust Center ",E(wa,{className:"size-3.5"})]})})]})]})]}),j("div",{className:"mt-10 md:mt-0",children:[E("h3",{className:ft,children:"Tools"}),E("ul",{role:"list",className:gt,children:pt.tools.map(o=>E("li",{children:E(Ve,{href:z(o.href,r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:o.name}),className:Ze,children:o.name})},o.name))})]})]})]})]}),j("div",{className:"mt-12 grid grid-cols-1 items-center gap-8 sm:grid-cols-3",children:[E(tn,{}),E(Ve,{href:z("/blog/soc2",r,{utm_source:"Custom Domain",utm_medium:"Footer",utm_campaign:r,utm_content:"SOC2"}),className:"flex sm:justify-center",children:E(Su,{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"})}),j("p",{className:"text-xs text-neutral-500 sm:text-right",children:["\xA9 ",new Date().getFullYear()," Dub Technologies, Inc."]})]})]})})}import{AnimatePresence as Tu,motion as Lu}from"framer-motion";import{useEffect as Eu,useState as Au}from"react";import{jsx as ri}from"react/jsx-runtime";var oi=({children:e,fallback:t,fadeInDuration:r=.5,className:o})=>{let[a,c]=Au(!1);Eu(()=>{c(!0)},[]);let s=r?Lu.div:"div";return ri(Tu,{children:a?ri(s,{...r?{initial:{opacity:0},animate:{opacity:1},transition:{duration:r}}:{},className:o,children:e}):t||null})};import{cva as Du}from"class-variance-authority";import{toast as Iu}from"sonner";import{jsx as bo,jsxs as Ou}from"react/jsx-runtime";var zu=Du("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 _8({variant:e="default",value:t,className:r,icon:o,successMessage:a}){let[c,s]=et(),l=o||Ao;return Ou("button",{onClick:m=>{m.stopPropagation(),Iu.promise(s(t),{success:a||"Copied to clipboard!"})},className:i(zu({variant:e}),r),type:"button",children:[bo("span",{className:"sr-only",children:"Copy"}),c?bo(Ho,{className:"h-3.5 w-3.5"}):bo(l,{className:"h-3.5 w-3.5"})]})}import{toast as _u}from"sonner";import{jsx as Hu}from"react/jsx-runtime";function F8({value:e,children:t,className:r,successMessage:o}){let[a,c]=et();return Hu("button",{onClick:s=>{s.stopPropagation(),_u.promise(c(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 Vu,jsxs as Bu}from"react/jsx-runtime";function G8({icon:e,text:t}){return Bu("div",{className:"flex items-center justify-start space-x-2 truncate",children:[e,Vu("p",{className:"truncate text-sm",children:t})]})}import{jsx as Wu}from"react/jsx-runtime";var K8=({children:e})=>Wu("span",{className:"inline-block rounded-md bg-blue-100 px-1 py-0.5 font-mono text-blue-900",children:e});import{jsx as xo}from"react/jsx-runtime";function X8({apexDomain:e,className:t,imageProps:r}){return e?xo(Rt,{src:`${Dt}${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}):xo("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:xo(ua,{className:"h-4 w-4 text-neutral-600 sm:h-5 sm:w-5"})})}import{Link2 as ai}from"lucide-react";import{useRouter as Fu,useSearchParams as Uu}from"next/navigation";import{useEffect as Gu,useMemo as $u,useRef as Ku}from"react";import ju from"swr";import{useDebounce as Yu}from"use-debounce";import{Fragment as ni,jsx as Y,jsxs as Be}from"react/jsx-runtime";function s6({defaultUrl:e}){let t=Fu(),r=Uu(),o=e||(r==null?void 0:r.get("url"))||"https://github.com/dubinc/dub",[a]=Yu(Ro(o),500),c=$u(()=>To(a||""),[a]),{data:s,isValidating:l}=ju(a&&`/api/metatags?url=${encodeURIComponent(a)}`,ge,{revalidateOnFocus:!1}),{title:m,description:d,image:n}=s||{},u=Ku(null);Gu(()=>{!e&&u.current&&u.current.select()},[e]);let{isMobile:f}=q();return Be(ni,{children:[!e&&Be("div",{className:"relative flex items-center",children:[Y(ai,{className:"absolute inset-y-0 left-0 my-2 ml-3 w-5 text-neutral-400"}),Y("input",{ref:u,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:v=>t.replace(`/tools/metatags${v.target.value.length>0?`?url=${v.target.value}`:""}`),"aria-invalid":"true"})]}),Be("div",{className:"relative overflow-hidden rounded-md border border-neutral-300 bg-neutral-50",children:[l&&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(zo,{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:[c?Y("p",{className:"text-sm text-[#536471]",children:c}):Y("div",{className:"mb-1 h-4 w-24 rounded-md bg-neutral-100"}),m?Y("h3",{className:"truncate text-sm font-medium text-[#0f1419]",children:m}):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 l6({defaultUrl:e}){return Be(ni,{children:[Be("div",{className:"relative flex items-center",children:[Y(ai,{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 qu}from"framer-motion";import ii from"js-cookie";import{createContext as Zu,useState as Xu}from"react";import{jsx as yo}from"react/jsx-runtime";var Ju=Zu({hidePopup:()=>{}});function g6({children:e,hiddenCookieId:t}){let[r,o]=Xu(ii.get(t)==="1"),a=()=>{o(!0),ii.set(t,"1")};return yo(oi,{children:yo(Ju.Provider,{value:{hidePopup:a},children:yo(qu,{children:!r&&e})})})}import{motion as Qu}from"framer-motion";import{jsx as si}from"react/jsx-runtime";function x6({value:e=0,max:t=100,className:r}){return si("div",{className:i("h-3 w-full overflow-hidden rounded-full bg-neutral-200",r),children:si(Qu.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 ci}from"class-variance-authority";import{LayoutGroup as em,motion as tm}from"framer-motion";import{useId as rm}from"react";import{jsx as Et,jsxs as li}from"react/jsx-runtime";var om=ci("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"}}),am=ci("absolute bottom-0 w-full px-1.5",{variants:{variant:{default:"text-bg-inverted",accent:"text-blue-600"}},defaultVariants:{variant:"default"}});function T6({variant:e,options:t,selected:r,onSelect:o,className:a}){let c=rm();return Et("div",{className:i("flex text-sm",a),children:Et(em,{id:c,children:t.map(({id:s,label:l,href:m})=>{let d=s===r;return li(m?"a":"div",{className:"relative",href:m??"#",target:m?"_blank":void 0,children:[li("button",{type:"button",...!m&&{onClick:()=>o==null?void 0:o(s)},className:i(om({variant:e}),m&&"group flex items-center gap-1.5"),"data-selected":d,"aria-selected":d,children:[l,m&&Et(Ko,{className:"size-2.5"})]}),d&&Et(tm.div,{layoutId:"indicator",transition:{duration:.1},className:am({variant:e}),children:Et("div",{className:"h-0.5 rounded-t-full bg-current"})})]},s)})})})}import{jsx as wo,jsxs as di}from"react/jsx-runtime";var nm=[{icon:ka,text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{icon:aa,text:"Geo/device targeting",href:"https://dub.co/help/article/geo-targeting"},{icon:va,text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{icon:Na,text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{icon:ha,text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"}];function A6(){return di("div",{className:"p-3",children:[wo("span",{className:"block text-sm font-semibold text-neutral-600",children:"Advanced link features"}),wo("div",{className:"mt-2 flex flex-col gap-2.5 text-xs text-neutral-600",children:nm.map(({text:e,icon:t,href:r})=>di("a",{href:r,target:"_blank",className:"flex items-center gap-2.5 underline decoration-dotted underline-offset-2",children:[wo(t,{className:"size-3.5 shrink-0"}),e]},e))})]})}import{jsx as ui,jsxs as im}from"react/jsx-runtime";function z6({className:e}){return im("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:[ui("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"}),ui("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{zr as AUTOPLAY_DEFAULT_DELAY,t1 as Accordion,bi as AccordionContent,hi as AccordionItem,vi as AccordionTrigger,A6 as AdvancedLinkFeaturesTooltip,Nm as Africa,zm as Airtm,Ci as Alert,ki as AlertDescription,Ni as AlertTitle,Tm as Amazon,Wm as AndroidLogo,Pe as AnimatedSizeContainer,Fm as AppleLogo,Um as ArrowBoldUp,Gm as ArrowRight,$m as ArrowTrendUp,Km as ArrowTurnLeft,jm as ArrowTurnRight2,Ko as ArrowUpRight,Ym as ArrowsOppositeDirectionY,km as Asia,ho as AuthButton,c1 as Avatar,Sx as Background,jt as Badge,qm as BadgeCheck,Zm as BadgeCheck2Fill,L1 as BadgeTooltip,Xm as Blog,Rt as BlurImage,Jm as Bolt,Qm as BoltFill,t0 as Book2,jo as Book2Fill,r0 as Book2Small,e0 as BookOpen,o0 as Books2,a0 as BoxArchive,n0 as BulletList,Yo as BulletListFill,le as Button,E1 as ButtonTooltip,yr as COMPARE_PAGES,In as CUSTOMER_STORIES,qa as Calendar,c0 as Calendar6,s0 as CalendarDays,i0 as CalendarIcon,l0 as CalendarRefresh,xm as CardAmex,ym as CardDiscover,tg as CardList,wm as CardMastercard,Cm as CardVisa,d0 as Cards,u0 as CaretUpFill,ts as Carousel,rs as CarouselContent,os as CarouselItem,xg as CarouselNavBar,ns as CarouselNext,as as CarouselPrevious,Tg as CarouselThumbnail,Rg as CarouselThumbnails,Om as CashApp,m0 as ChartActivity2,p0 as ChartArea2,f0 as ChartLine,Lm as ChatGPT,qo as Check,Zo as Check2,hs as Checkbox,Xo as CheckboxCheckedFill,Jo as CheckboxUnchecked,Qo as CircleCheck,g0 as CircleCheckFill,h0 as CircleDollar,v0 as CircleDotted,ea as CircleHalfDottedCheck,ta as CircleHalfDottedClock,ra as CircleInfo,b0 as CirclePercentage,x0 as CirclePlay,y0 as CirclePlayFill,w0 as CircleQuestion,C0 as CircleUser,Tr as CircleWarning,N0 as CircleXmark,k0 as Circles,P0 as Circles3,oi as ClientOnly,oa as CloudUpload,S0 as Code,M0 as ColorPalette2,yv as Combobox,z6 as CompositeLogo,R0 as ConnectedDots,T0 as ConnectedDots4,Ht as ConnectedDotsFill,L0 as Connections3,Ao as Copy,_8 as CopyButton,F8 as CopyText,E0 as CreditCard,A0 as Crosshairs3,D0 as Crown,sm as CrownSmall,I0 as Cube,z0 as CubeSettings,Vt as CubeSettingsFill,O0 as CurrencyDollar,_0 as CursorRays,H0 as DatabaseKey,Br as DatePickerContext,a2 as DateRangePicker,V0 as Desktop,B0 as DiamondTurnRight,Bt as DiamondTurnRightFill,W0 as Directions,F0 as Discount,U0 as Dots,G0 as Download,lm as DubCraftedShield,tn as DubStatusBadge,$0 as Duplicate,Yt as DynamicTooltipWrapper,aa as Earth,K0 as EarthPosition,h2 as EmptyState,j0 as Envelope,Y0 as EnvelopeAlert,q0 as EnvelopeArrowRight,Pm as Europe,Do as ExpandingArrow,na as Eye,ia as EyeSlash,br as FEATURES_LIST,um as Facebook,sa as FeatherFill,Em as Figma,Z0 as FileContent,M2 as FileUpload,X0 as FileZip2,Q2 as Filter,Q0 as Filter2,J0 as FilterBars,tp as Flag2,la as Flag6,ep as FlagWavy,rp as Flask,op as FlaskSmall,ap as Folder,cp as Folder5,np as FolderBookmark,ip as FolderLock,sp as FolderPlus,lp as FolderShield,P8 as Footer,ib as Form,dp as GamingConsole,up as Gauge6,mp as Gear,pp as Gear2,fp as Gear3,gp as Gem,ca as Gift,hp as GiftFill,Am as GitHubEnhanced,It as Github,vp as Globe,ua as Globe2,da as GlobePointer,bp as GlobeSearch,Wo as Go,mm as Google,Dm as GoogleEnhanced,xp as GreekTemple,fn as Grid,yp as GridIcon,wp as GridLayoutRows,Cp as GridPlus,Np as Headset,ma as HeadsetFill,pa as HeartFill,fa as HexadecagonStar,kp as History,ga as Hyperlink,G8 as IconMenu,Pp as Icosahedron,ha as Incognito,R1 as InfoTooltip,K8 as InlineSnippet,Cc as Input,Sp as InputPassword,va as InputPasswordPointer,ba as InputSearch,Ob as InputSelect,pm as Instagram,Mp as InvoiceDollar,Rp as Key,za as KeyboardShortcutContext,lh as KeyboardShortcutProvider,On as LEGAL_PAGES,Fc as Label,Tp as LayoutSidebar,Lp as License,xa as LinesY,Ap as Link4,Ep as LinkBroken,X8 as LinkLogo,s6 as LinkPreview,l6 as LinkPreviewPlaceholder,zt as LinkedIn,M1 as LinkifyTooltipContent,bt as LoadingCircle,dm as LoadingDots,Ne as LoadingSpinner,Dp as LocationPin,Ip as LockFill,mo as Logo,Io as Magic,zp as Magnifier,Op as MapPosition,_p as MarketingTarget,cm as MatrixLines,wr as MaxWidthWrapper,Hp as Menu3,Yb as MenuItem,Vp as MessageSmile,Wt as MicrophoneFill,a4 as MiniAreaChart,Bp as MobilePhone,d4 as Modal,Wp as MoneyBill,Fp as MoneyBill2,Up as MoneyBills2,Gp as Msgs,B5 as Nav,fo as NavContext,Q5 as NavMobile,kr as NavWordmark,Sm as NorthAmerica,$p as Note,Qp as NucleoPhoto,T1 as NumberTooltip,Mm as Oceania,Kp as OfficeBuilding,qf as PLAN_FEATURE_ICONS,ya as Page2,p4 as PaginationControls,jp as Paintbrush,Yp as Palette2,qp as PaperPlane,_m as Payoneer,Hm as Paypal,Xp as Pen2,Zp as PenWriting,Jp as PercentageArrowDown,zo as Photo,Fo as Php,ef as Plug2,Ft as Plus,ot as Popover,g6 as Popup,Ju as PopupContext,tf as Post,fm as Prisma,Vo as ProductHunt,x6 as ProgressBar,rf as Pyramid,Uo as Python,of as QRCode,xr as RESOURCES,sd as RadioGroup,ld as RadioGroupItem,Bo as Raycast,af as Receipt2,wa as ReferredVia,nf as Refresh2,sf as Robot,Go as Ruby,uo as SDKS,Ex as SOCIAL_LINKS,zn as SOLUTIONS,Ca as SatelliteDish,lf as ScanText,cf as Scribble,w4 as Sheet,df as ShieldAlert,uf as ShieldCheck,mf as ShieldKeyhole,pf as ShieldSlash,ff as ShieldUser,P4 as ShimmerDots,gf as Shuffle,S1 as SimpleTooltipContent,gm as Slack,hf as Sliders,Oo as SortOrder,Rm as SouthAmerica,vf as Sparkle3,Im as Spotify,bf as SquareChart,xf as SquareLayoutGrid5,yf as SquareLayoutGrid6,wf as SquareXmark,Cf as Stars2,A4 as StatusBadge,Vm as StripeLink,_o as Success,B4 as Switch,Ef as TV,T6 as TabSelect,ux as Table,Nf as TableIcon,kf as TableRows2,Pf as Tablet,Sf as Tag,Mf as Tags,Ho as Tick,hm as TikTok,Na as Timer2,vm as Tinybird,Rf as Toggle2Fill,hx as ToggleGroup,d1 as TokenAvatar,J as Tooltip,P1 as TooltipContent,k1 as TooltipProvider,Tf as Trash,Lf as TriangleWarning,Ot as Twitter,$o as Typescript,kx as UTMBuilder,Wd as UTM_PARAMETERS,Af as UiCard,bm as Unsplash,Df as User,If as UserCheck,zf as UserCrown,Of as UserDelete,_f as UserPlus,Hf as Users,Bf as Users2,Wf as Users6,Ut as UsersFill,Vf as UsersSettings,Bm as Venmo,Ff as Versions2,ka as Views,Uf as Watch,Gf as Webhook,$f as Window,Kf as WindowSearch,jf as WindowSettings,ei as Wordmark,Yf as Xmark,_t as YouTube,Ti as badgeVariants,se as buttonVariants,Mi as getUserAvatarUrl,go as navItems,Cd as statusBadgeVariants,ve as useCarousel,Ea as useCarouselActiveIndex,Og as useCookies,et as useCopyToClipboard,Wg as useCurrentAnchor,$g as useEnterSubmit,qg as useInViewport,Jg as useInputFocused,rh as useIntersectionObserver,tt as useKeyboardShortcut,uh as useLocalStorage,q as useMediaQuery,hh as useOptimisticUpdate,Rh as usePagination,Eh as useRemoveGAParams,Zt as useResizeObserver,Va as useRouterStuff,Fa as useScroll,Ae as useScrollProgress,dx as useTable,Ha as useTablePagination,$h as useToastWithUndo};
|