@dub/utils 0.1.7 → 0.1.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (183) hide show
  1. package/dist/chunk-2C6JT3YN.mjs +1 -0
  2. package/dist/chunk-2E4ZJMS2.mjs +1 -0
  3. package/dist/chunk-2LKJGWYU.mjs +1 -0
  4. package/dist/chunk-2WKZENUE.mjs +1 -0
  5. package/dist/chunk-2ZADNO6Z.mjs +1 -0
  6. package/dist/chunk-3UP5462L.mjs +1 -0
  7. package/dist/chunk-4DPLRXR3.mjs +1 -0
  8. package/dist/chunk-4H44K7TT.mjs +1 -0
  9. package/dist/chunk-4YB6JWKG.mjs +1 -0
  10. package/dist/chunk-5ATVVBIE.mjs +1 -0
  11. package/dist/chunk-5IYH7MF2.mjs +1 -0
  12. package/dist/chunk-5SX5SSNU.mjs +1 -0
  13. package/dist/chunk-5T2N3QI5.mjs +1 -0
  14. package/dist/chunk-64FWRGMH.mjs +1 -0
  15. package/dist/chunk-6FABV754.mjs +1 -0
  16. package/dist/chunk-6TZENOZO.mjs +1 -0
  17. package/dist/chunk-72GPCQNI.mjs +1 -0
  18. package/dist/chunk-7A6BRRJ3.mjs +1 -0
  19. package/dist/chunk-7VA5FZFA.mjs +1 -0
  20. package/dist/chunk-A4HY7E7C.mjs +1 -0
  21. package/dist/chunk-A7KTYOSE.mjs +1 -0
  22. package/dist/chunk-ADRSAMMR.mjs +1 -0
  23. package/dist/chunk-ANN4JIPN.mjs +1 -0
  24. package/dist/chunk-ANU4BK2I.mjs +1 -0
  25. package/dist/chunk-AO4D6N4P.mjs +1 -0
  26. package/dist/chunk-AQF6D7CT.mjs +1 -0
  27. package/dist/chunk-BQEVFKRG.mjs +1 -0
  28. package/dist/chunk-BXFDHYXL.mjs +1 -0
  29. package/dist/chunk-CDXV6DH3.mjs +1 -0
  30. package/dist/chunk-CED75RXF.mjs +1 -0
  31. package/dist/chunk-CELI6EJU.mjs +1 -0
  32. package/dist/chunk-CMO2G5RY.mjs +1 -0
  33. package/dist/chunk-D5HJ3MTB.mjs +1 -0
  34. package/dist/chunk-DEYKYCG4.mjs +1 -0
  35. package/dist/chunk-DLPYA5IQ.mjs +1 -0
  36. package/dist/chunk-DWLTSQJI.mjs +1 -0
  37. package/dist/chunk-E2ABVYOV.mjs +1 -0
  38. package/dist/chunk-EAEAYTVB.mjs +1 -0
  39. package/dist/chunk-EG44G3XF.mjs +1 -0
  40. package/dist/chunk-EHUYHMHD.mjs +1 -0
  41. package/dist/chunk-EJMPVHA4.mjs +1 -0
  42. package/dist/chunk-EPHZ7MZV.mjs +1 -0
  43. package/dist/chunk-FBPSOXUC.mjs +1 -0
  44. package/dist/chunk-FDIOGXZD.mjs +1 -0
  45. package/dist/chunk-FGUSVROX.mjs +1 -0
  46. package/dist/chunk-FUCDEMXS.mjs +1 -0
  47. package/dist/chunk-FUJXE2NK.mjs +1 -0
  48. package/dist/chunk-GAHHTNVS.mjs +1 -0
  49. package/dist/chunk-GBBBAXKP.mjs +1 -0
  50. package/dist/chunk-GG6CZNIT.mjs +1 -0
  51. package/dist/chunk-GRUKVCIY.mjs +1 -0
  52. package/dist/chunk-H2K3S4OU.mjs +1 -0
  53. package/dist/chunk-H2SWSED4.mjs +1 -0
  54. package/dist/chunk-IB7564WN.mjs +1 -0
  55. package/dist/chunk-IDC6LYZA.mjs +1 -0
  56. package/dist/chunk-IJT4ECV4.mjs +1 -0
  57. package/dist/chunk-IPYX7MSU.mjs +1 -0
  58. package/dist/chunk-JDFSPALC.mjs +1 -0
  59. package/dist/chunk-JLI2OQLQ.mjs +1 -0
  60. package/dist/chunk-JN4T2QUJ.mjs +1 -0
  61. package/dist/chunk-JV2JCLRN.mjs +1 -0
  62. package/dist/chunk-KHXV7NAF.mjs +1 -0
  63. package/dist/chunk-KJXLKAGP.mjs +1 -0
  64. package/dist/chunk-KOYUPR3G.mjs +1 -0
  65. package/dist/chunk-KQ4NF54J.mjs +1 -0
  66. package/dist/chunk-KS7CDTQS.mjs +1 -0
  67. package/dist/chunk-L3IOBXLP.mjs +1 -0
  68. package/dist/chunk-L43FE253.mjs +1 -0
  69. package/dist/chunk-LFKHBEKC.mjs +1 -0
  70. package/dist/chunk-LMLO7VSF.mjs +1 -0
  71. package/dist/chunk-LWCRLX5G.mjs +1 -0
  72. package/dist/chunk-M2IIGIDB.mjs +1 -0
  73. package/dist/chunk-MAWZ5UAV.mjs +1 -0
  74. package/dist/chunk-MJIUYLFC.mjs +1 -0
  75. package/dist/chunk-MKWY2GMC.mjs +1 -0
  76. package/dist/chunk-MOGVVNDO.mjs +1 -0
  77. package/dist/chunk-MS7GVEQA.mjs +1 -0
  78. package/dist/chunk-MV4ZFT7Y.mjs +1 -0
  79. package/dist/chunk-N4XUTAG4.mjs +1 -0
  80. package/dist/chunk-N7WIXZTI.mjs +1 -0
  81. package/dist/chunk-NZ4UYKAT.mjs +1 -0
  82. package/dist/chunk-NZI3GX7M.mjs +1 -0
  83. package/dist/chunk-OFLSI3F6.mjs +1 -0
  84. package/dist/chunk-OQGBPW6N.mjs +1 -0
  85. package/dist/chunk-ORCLXU4B.mjs +1 -0
  86. package/dist/chunk-PGQG2GM2.mjs +1 -0
  87. package/dist/chunk-PL3HVM7M.mjs +0 -0
  88. package/dist/chunk-PMLJ5E7P.mjs +1 -0
  89. package/dist/chunk-PNMJWUFQ.mjs +1 -0
  90. package/dist/chunk-PTQITUKB.mjs +1 -0
  91. package/dist/chunk-Q4LGL37L.mjs +1 -0
  92. package/dist/chunk-QIAJU3N3.mjs +1 -0
  93. package/dist/chunk-QNSUJ2JJ.mjs +1 -0
  94. package/dist/chunk-RKFY4XOJ.mjs +1 -0
  95. package/dist/chunk-SLJS5U74.mjs +1 -0
  96. package/dist/chunk-SLR3IAM2.mjs +1 -0
  97. package/dist/chunk-SQEUXPXM.mjs +1 -0
  98. package/dist/chunk-SVXSPIII.mjs +1 -0
  99. package/dist/chunk-TB6RFMVA.mjs +1 -0
  100. package/dist/chunk-TBHWA3C3.mjs +1 -0
  101. package/dist/chunk-TKVGV5IR.mjs +1 -0
  102. package/dist/chunk-UE6PQNJX.mjs +1 -0
  103. package/dist/chunk-USWEC3QP.mjs +1 -0
  104. package/dist/chunk-UWHBSWPR.mjs +1 -0
  105. package/dist/chunk-VSPMXVQS.mjs +1 -0
  106. package/dist/chunk-WC5NKWLA.mjs +1 -0
  107. package/dist/chunk-WOXMDEZZ.mjs +1 -0
  108. package/dist/chunk-WRUKTTJF.mjs +1 -0
  109. package/dist/chunk-WVPZN7G4.mjs +1 -0
  110. package/dist/chunk-WVYJT25Y.mjs +1 -0
  111. package/dist/chunk-XICQORW7.mjs +1 -0
  112. package/dist/chunk-XZ5PZ5A5.mjs +1 -0
  113. package/dist/chunk-XZ7NABO6.mjs +1 -0
  114. package/dist/chunk-Y37NQHZ4.mjs +1 -0
  115. package/dist/chunk-YD7ZALD4.mjs +1 -0
  116. package/dist/chunk-YHBY4URG.mjs +1 -0
  117. package/dist/chunk-YNRSM2RV.mjs +1 -0
  118. package/dist/chunk-Z3D2VTF7.mjs +1 -0
  119. package/dist/chunk-Z3FWCTMG.mjs +1 -0
  120. package/dist/chunk-ZLYZ7EEY.mjs +1 -0
  121. package/dist/chunk-ZPSSVFWM.mjs +1 -0
  122. package/dist/chunk-ZUPWYIRB.mjs +1 -0
  123. package/dist/chunk-ZWMMHSLV.mjs +1 -0
  124. package/dist/constants/connect-supported-countries.d.ts +3 -0
  125. package/dist/constants/connect-supported-countries.mjs +1 -0
  126. package/dist/constants/country-phone-codes.d.ts +5 -0
  127. package/dist/constants/country-phone-codes.mjs +1 -0
  128. package/dist/constants/dub-domains.d.ts +1 -0
  129. package/dist/constants/dub-domains.mjs +1 -1
  130. package/dist/constants/framer-motion.d.ts +6 -17
  131. package/dist/constants/framer-motion.mjs +1 -1
  132. package/dist/constants/index.d.ts +10 -7
  133. package/dist/constants/index.mjs +1 -1
  134. package/dist/constants/integrations.d.ts +2 -1
  135. package/dist/constants/integrations.mjs +1 -1
  136. package/dist/constants/layout.d.ts +1 -9
  137. package/dist/constants/layout.mjs +1 -1
  138. package/dist/constants/main.d.ts +2 -1
  139. package/dist/constants/main.mjs +1 -1
  140. package/dist/constants/middleware.d.ts +2 -1
  141. package/dist/constants/middleware.mjs +1 -1
  142. package/dist/constants/misc.d.ts +2 -1
  143. package/dist/constants/misc.mjs +1 -1
  144. package/dist/constants/partners.d.ts +3 -0
  145. package/dist/constants/partners.mjs +1 -0
  146. package/dist/constants/regions.d.ts +6 -0
  147. package/dist/constants/regions.mjs +1 -0
  148. package/dist/functions/construct-metadata.mjs +1 -1
  149. package/dist/functions/datetime.mjs +1 -1
  150. package/dist/functions/domains.mjs +1 -1
  151. package/dist/functions/fetcher.mjs +1 -1
  152. package/dist/functions/images.d.ts +1 -1
  153. package/dist/functions/index.d.ts +6 -2
  154. package/dist/functions/index.mjs +1 -1
  155. package/dist/functions/is-click-on-interactive-child.d.ts +5 -0
  156. package/dist/functions/is-click-on-interactive-child.mjs +1 -0
  157. package/dist/functions/is-iframeable.mjs +1 -1
  158. package/dist/functions/keys.mjs +1 -1
  159. package/dist/functions/link-constructor.mjs +1 -1
  160. package/dist/functions/normalize-string.d.ts +3 -0
  161. package/dist/functions/normalize-string.mjs +1 -0
  162. package/dist/functions/pluralize.d.ts +5 -0
  163. package/dist/functions/pluralize.mjs +1 -0
  164. package/dist/functions/resize-image.d.ts +7 -0
  165. package/dist/functions/resize-image.mjs +1 -0
  166. package/dist/functions/urls.d.ts +2 -1
  167. package/dist/functions/urls.mjs +1 -1
  168. package/dist/index.d.ts +16 -9
  169. package/dist/index.mjs +1 -1
  170. package/dist/is-click-on-interactive-child-7e8a389c.d.ts +5 -0
  171. package/dist/normalize-string-2c9d949d.d.ts +3 -0
  172. package/dist/normalize-string-a8b4efc6.d.ts +3 -0
  173. package/dist/pricing-43a628b4.d.ts +1279 -0
  174. package/dist/pricing-7190da8b.d.ts +1281 -0
  175. package/dist/pricing-76114ec6.d.ts +1282 -0
  176. package/dist/pricing-7fceef11.d.ts +1261 -0
  177. package/dist/pricing-85528da6.d.ts +1281 -0
  178. package/dist/pricing-c218546a.d.ts +1283 -0
  179. package/dist/pricing-d1da90c4.d.ts +1281 -0
  180. package/dist/regions-5d3b7967.d.ts +1284 -0
  181. package/dist/stripe-connect-supported-countries-5d836e51.d.ts +1281 -0
  182. package/dist/stripe-connect-supported-countries-aceb8cb2.d.ts +1281 -0
  183. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import{b as e,o}from"./chunk-ZUPWYIRB.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","chillipiper.com","hubspot.com","savvycal.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],s=d.map(a=>a.slug),l=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,s as b,l as c};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-ZPSSVFWM.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";var J={US:1,GB:44,CA:1,AU:61,NZ:64,IE:353,SG:60,HK:852,JP:81,KR:82};import y from"@sindresorhus/slugify";var S=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},v=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),C=new RegExp(/^[a-zA-Z0-9\-]+$/),N=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},q=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},R=e=>x.some(t=>t.slug===e);function B({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),be=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ye=2,Pe=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Ee=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),Ae=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Je=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Te({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{J as a,Te as b,S as c,v as d,C as e,N as f,V as g,q as h,R as i,B as j,M as k,s as l,k as m,b as n,P as o,E as p,be as q,A as r,ye as s,Pe as t,Ee as u,Ae as v,Je as w};
File without changes
@@ -0,0 +1 @@
1
+ var i=({name:e="Business",monthly:t=59,yearly:o=49,links:s=5e3,clicks:n=15e4,domains:a=40,users:l=15,ids:m=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:m},limits:{links:s,clicks:n,domains:a,tags:1e9,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${Intl.NumberFormat("en-US").format(s)} new links/mo`},{text:`${Intl.NumberFormat("en-US").format(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${l} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},i({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),i({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),i({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),i({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],c=r.find(e=>e.name==="Free"),p=r.find(e=>e.name==="Pro"),u=r.find(e=>e.name==="Business"),d=r.find(e=>e.name==="Enterprise"),k=[c,p,u,d],g=r.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),x=2,h=e=>r.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,f=e=>g.find(t=>t.name.toLowerCase()===e.toLowerCase()),b=e=>r.find(t=>t.name.toLowerCase()===e.toLowerCase())||c,y=e=>e?e.toLowerCase()==="enterprise"?null:r[r.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:p;export{r as a,c as b,p as c,u as d,d as e,k as f,g,x as h,h as i,f as j,b as k,y as l};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-GBBBAXKP.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),ke=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),be=2,ye=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Pe=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),Ee=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Ae=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Te({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Te as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,ke as p,A as q,be as r,ye as s,Pe as t,Ee as u,Ae as v};
@@ -0,0 +1 @@
1
+ import{b as o,o as e}from"./chunk-2XAMRYVK.mjs";var i=[{id:"clce1z7ch00j0rbstbjufva4j",slug:o,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:e},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:e},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:e},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:e},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:e},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","chillipiper.com","hubspot.com","savvycal.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:e},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:e},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:e},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:e},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:e}]:[]],l=i.map(a=>a.slug),t=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub"}];export{i as a,l as b,t as c};
@@ -0,0 +1 @@
1
+ var e={key:"",url:"",domain:"",archived:!1,tags:[],webhookIds:[],title:null,description:null,image:null,video:null,trackConversion:!1,proxy:!1,rewrite:!1,expiresAt:null,password:null,ios:null,android:null,doIndex:!1,clicks:0,userId:""},o="https://www.google.com/s2/favicons?sz=64&domain_url=",n="https://api.dicebear.com/7.x/initials/svg?backgroundType=gradientLinear&fontFamily=Helvetica&fontSize=40&seed=",t=100,s=60*60*24*14,l=new Date("2022-09-22T00:00:00.000Z"),i=1e9;export{e as a,o as b,n as c,t as d,s as e,l as f,i as g};
@@ -0,0 +1 @@
1
+ var e={US:1,GB:44,CA:1,AU:61,NZ:64,IE:353,SG:60,HK:852,JP:81,KR:82};export{e as a};
@@ -0,0 +1 @@
1
+ var t={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},i={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}};export{t as a,i as b};
@@ -0,0 +1 @@
1
+ import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-FUJXE2NK.mjs";import{c as f}from"./chunk-ZUPWYIRB.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),ke=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),be=2,ye=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Pe=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),Ee=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Ae=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Te({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Te as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,ke as p,A as q,be as r,ye as s,Pe as t,Ee as u,Ae as v};
@@ -0,0 +1 @@
1
+ var g=["AT","AU","BE","BG","CA","CH","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","JP","LI","LT","LU","LV","MT","MX","MY","NL","NO","NZ","PL","PT","RO","SE","SG","SI","SK","US"];var i=({name:e="Business",monthly:t=59,yearly:o=49,links:s=5e3,clicks:n=15e4,domains:a=40,users:l=15,ids:m=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:m},limits:{links:s,clicks:n,domains:a,tags:1e9,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${Intl.NumberFormat("en-US").format(s)} new links/mo`},{text:`${Intl.NumberFormat("en-US").format(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${l} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},i({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),i({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),i({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),i({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],c=r.find(e=>e.name==="Free"),p=r.find(e=>e.name==="Pro"),u=r.find(e=>e.name==="Business"),d=r.find(e=>e.name==="Enterprise"),h=[c,p,u,d],x=r.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),f=2,b=e=>r.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,P=e=>x.find(t=>t.name.toLowerCase()===e.toLowerCase()),y=e=>r.find(t=>t.name.toLowerCase()===e.toLowerCase())||c,E=e=>e?r[r.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:p;export{g as a,r as b,c,p as d,u as e,d as f,h as g,x as h,f as i,b as j,P as k,y as l,E as m};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-ZPSSVFWM.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},V=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},N=e=>x.some(t=>t.slug===e);function R({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function z({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var B=e=>{let t=e,r=e.replace(/^\uFEFF/,"").replace(/^\uFFFE/,"").replace(/^\uEFBBBF/,"").replace(/^\u0000\uFEFF/,"").replace(/^\uFFFE0000/,"").replace(/^\u2028/,"").replace(/^\u2029/,"").trim();return t!==r&&(console.log(`Normalized key: "${t}" -> "${r}"`),console.log("Original char codes:",Array.from(t).map(o=>o.charCodeAt(0))),console.log("Normalized char codes:",Array.from(r).map(o=>o.charCodeAt(0)))),r};var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),E=s.find(e=>e.name==="Business"),P=s.find(e=>e.name==="Enterprise"),be=[k,b,E,P],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ye=2,Ee=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,Pe=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),Ae=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Je=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Me({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Me as a,w as b,O as c,v as d,S as e,C as f,V as g,N as h,R as i,z as j,B as k,s as l,k as m,b as n,E as o,P as p,be as q,A as r,ye as s,Ee as t,Pe as u,Ae as v,Je as w};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-IJT4ECV4.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import P from"@sindresorhus/slugify";var O=e=>{let t=P(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},v=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),S=new RegExp(/^[a-zA-Z0-9\-]+$/),V=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},q=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},N=e=>x.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,l]of Object.entries(o))i.set(a,l);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,tags:a=150,users:l=15,ids:y=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:y},limits:{links:o,clicks:n,domains:i,tags:a,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${l} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),E=s.find(e=>e.name==="Business"),A=s.find(e=>e.name==="Enterprise"),xe=[k,b,E,A],J=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>J.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Be({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Be as a,O as b,v as c,S as d,V as e,C as f,q as g,N as h,D as i,M as j,s as k,k as l,b as m,E as n,A as o,xe as p,J as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ var t={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},i={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},o={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}};export{t as a,i as b,o as c};
@@ -0,0 +1 @@
1
+ var c=r=>{try{return new URL(r),!0}catch{return!1}},i=r=>{if(c(r))return r;try{if(r.includes(".")&&!r.includes(" "))return new URL(`https://${r}`).toString()}catch{}return null},m=r=>{let t={};return new URL(r).searchParams.forEach(function(e,s){t[s]=e}),t},u=r=>{let t={};return new URL(r).searchParams.forEach(function(e,s){if(s in t){let n=t[s];Array.isArray(n)?n.push(e):t[s]=[n,e]}else t[s]=e}),t},p=r=>{if(!r)return{};try{let t=new URL(r).searchParams,e={};for(let[s,n]of t.entries())n&&n!==""&&(e[s]=n);return e}catch{return{}}},l=["utm_source","utm_medium","utm_campaign","utm_term","utm_content","ref"],g=(r,t)=>{if(!r)return"";try{let e=new URL(r);for(let[s,n]of Object.entries(t))n===""?e.searchParams.delete(s):e.searchParams.set(s,n);return e.toString()}catch{return""}},o=[{display:"UTM Source",key:"utm_source",examples:"twitter, facebook"},{display:"UTM Medium",key:"utm_medium",examples:"social, email"},{display:"UTM Campaign",key:"utm_campaign",examples:"summer_sale"},{display:"UTM Term",key:"utm_term",examples:"blue_shoes"},{display:"UTM Content",key:"utm_content",examples:"logolink"},{display:"Referral (ref)",key:"ref",examples:"twitter, facebook"}],f=r=>{try{let t=new URL(r);return o.forEach(e=>t.searchParams.delete(e.key)),t.toString()}catch{return r}},U=r=>r?r.replace(/(^\w+:|^)\/\//,"").replace("www.","").replace(/\/$/,""):"",d=(r,t,e)=>{if(t==="dub.co")return r;let s=new URL(r.startsWith("/")?`https://dub.co${r}`:r);return e&&Object.entries(e).forEach(([n,a])=>{s.searchParams.set(n,a)}),s.toString()};export{c as a,i as b,m as c,u as d,p as e,l as f,g,o as h,f as i,U as j,d as k};
@@ -0,0 +1 @@
1
+ import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-IJT4ECV4.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),xe=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function ze({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{ze as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,xe as p,A as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-ZPSSVFWM.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),xe=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function ze({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{ze as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,xe as p,A as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ var _=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",e=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,s,o=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,(s=process.env.NEXT_PUBLIC_NGROK_URL)==null?void 0:s.replace("https://",""),"localhost:8888","localhost"]),p=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",r=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_NGROK_URL||"http://localhost:8888",P=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${e}`,"api.localhost:8888"]),n=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",c=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),N=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://partners.localhost:8888",E=new Set([`partners.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`partners-staging.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"partners.localhost:8888"]),A="https://assets.dub.co/logo.png",I="https://assets.dub.co/logo.png",L="https://assets.dub.co/wordmark.png",O="https://assets.dub.co/thumbnail.jpg",a="cl7pj5kq4006835rbjlt2ofka",C="clrei1gld0002vs9mzn93p8ik",v="clrflia0j0000vs7sqfhz9c7q",T="clqei1lgc0000vsnzi01pbf47",U=process.env.STORAGE_BASE_URL;export{_ as a,e as b,t as c,o as d,p as e,r as f,P as g,n as h,c as i,N as j,E as k,A as l,I as m,L as n,O as o,a as p,C as q,v as r,T as s,U as t};
@@ -0,0 +1 @@
1
+ var e=(r,l,t={})=>l===1?r:t.plural||`${r}s`;export{e as a};
@@ -0,0 +1 @@
1
+ var i=({name:e="Business",monthly:t=59,yearly:o=49,links:s=5e3,clicks:n=15e4,domains:a=40,users:l=15,ids:m=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:m},limits:{links:s,clicks:n,domains:a,tags:1e9,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${Intl.NumberFormat("en-US").format(s)} new links/mo`},{text:`${Intl.NumberFormat("en-US").format(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${l} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},i({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),i({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),i({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),i({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],c=r.find(e=>e.name==="Free"),p=r.find(e=>e.name==="Pro"),u=r.find(e=>e.name==="Business"),d=r.find(e=>e.name==="Enterprise"),k=[c,p,u,d],g=r.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),x=2,h=e=>r.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,f=e=>g.find(t=>t.name.toLowerCase()===e.toLowerCase()),b=e=>r.find(t=>t.name.toLowerCase()===e.toLowerCase())||c,y=e=>e?r[r.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:p;export{r as a,c as b,p as c,u as d,d as e,k as f,g,x as h,h as i,f as j,b as k,y as l};
@@ -0,0 +1 @@
1
+ var E=["AT","AU","BE","BG","CA","CH","CY","CZ","DE","DK","EE","ES","FI","FR","GB","GR","HR","HU","IE","IT","JP","LI","LT","LU","LV","MT","MX","MY","NL","NO","NZ","PL","PT","RO","SE","SG","SI","SK","US"];export{E as a};
@@ -0,0 +1 @@
1
+ import{b as e,o}from"./chunk-2XAMRYVK.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","chillipiper.com","hubspot.com","savvycal.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),t=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub"}];export{d as a,l as b,t as c};
@@ -0,0 +1 @@
1
+ var t={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},i={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},o={initial:{opacity:0,y:10},animate:{opacity:1,y:0},exit:{opacity:0,y:10},transition:{duration:.2,type:"spring"}};export{t as a,i as b,o as c};
@@ -0,0 +1 @@
1
+ var g=1e5;var i=({name:e="Business",monthly:t=59,yearly:o=49,links:s=5e3,clicks:n=15e4,domains:a=40,users:l=15,ids:m=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:m},limits:{links:s,clicks:n,domains:a,tags:1e9,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${Intl.NumberFormat("en-US").format(s)} new links/mo`},{text:`${Intl.NumberFormat("en-US").format(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${a} custom domains`},{text:`${l} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},i({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),i({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),i({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),i({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],c=r.find(e=>e.name==="Free"),p=r.find(e=>e.name==="Pro"),u=r.find(e=>e.name==="Business"),d=r.find(e=>e.name==="Enterprise"),h=[c,p,u,d],x=r.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),f=2,b=e=>r.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,y=e=>x.find(t=>t.name.toLowerCase()===e.toLowerCase()),P=e=>r.find(t=>t.name.toLowerCase()===e.toLowerCase())||c,J=e=>e?r[r.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:p;export{g as a,r as b,c,p as d,u as e,d as f,h as g,x as h,f as i,b as j,y as k,P as l,J as m};
@@ -0,0 +1 @@
1
+ import{a as u,b as d}from"./chunk-SYT2IXG6.mjs";import{a as f}from"./chunk-IJT4ECV4.mjs";import{c as g}from"./chunk-2XAMRYVK.mjs";import{a as x}from"./chunk-6QCWHFAZ.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as p}from"./chunk-NWFCCRLG.mjs";import{a as m}from"./chunk-IHX4EDUF.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?u.has(r[r.length-2])&&l.has(r[r.length-1])||d.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(x(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>f.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${m(e)}${t&&t!=="_root"?`/${m(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,b]of Object.entries(o))i.set(a,b);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,ids:a=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:a},limits:{links:o,clicks:n,domains:i,tags:1e9,users:20,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${p(o,{full:!0})} new links/mo`},{text:`${p(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:"20 users"},{text:"Unlimited tags"},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],h=s.find(e=>e.name==="Free"),k=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),xe=[h,k,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||h,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:k;function Be({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(g),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Be as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,h as l,k as m,P as n,E as o,xe as p,A as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-ZPSSVFWM.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&l.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links and filter by them in your analytics dashboard.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),he=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ke=2,be=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,ye=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),Pe=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Ee=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function $e({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{$e as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,he as p,A as q,ke as r,be as s,ye as t,Pe as u,Ee as v};
@@ -0,0 +1 @@
1
+ var e=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"GitHub Link Shortener",slug:"github-link-shortener"},{name:"Calendar Link Shortener",slug:"cal-link-shortener"},{name:"Google Link Shortener",slug:"google-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Figma Link Shortener",slug:"figma-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"Link Inspector",slug:"inspector"},{name:"QR Code API",slug:"qr-code"},{name:"UTM Builder",slug:"utm-builder"}],n=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}],r=[{name:"Privacy",slug:"privacy"},{name:"Terms",slug:"terms"},{name:"Trust Center",slug:"trust"},{name:"DPA",slug:"dpa"},{name:"Subprocessors",slug:"subprocessors"},{name:"Report Abuse",slug:"abuse"}];export{e as a,n as b,r as c};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-JDFSPALC.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import P from"@sindresorhus/slugify";var O=e=>{let t=P(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},v=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),S=new RegExp(/^[a-zA-Z0-9\-]+$/),V=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},q=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},N=e=>x.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,l]of Object.entries(o))i.set(a,l);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,tags:a=150,users:l=15,ids:y=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:y},limits:{links:o,clicks:n,domains:i,tags:a,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${l} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),E=s.find(e=>e.name==="Business"),A=s.find(e=>e.name==="Enterprise"),xe=[k,b,E,A],J=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>J.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Be({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Be as a,O as b,v as c,S as d,V as e,C as f,q as g,N as h,D as i,M as j,s as k,k as l,b as m,E as n,A as o,xe as p,J as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ var c=async({url:n,requestDomain:i})=>{let s=await fetch(n),t=s.headers.get("content-security-policy");if(t){let e=t.match(/frame-ancestors\s+([\s\S]+?)(?=;|$)/i);if(e&&(e[1]==="*"||e[1].split(/\s+/).includes(i)))return!0}let r=s.headers.get("X-Frame-Options");return r==="DENY"||r==="SAMEORIGIN",!1};export{c as a};
@@ -0,0 +1 @@
1
+ var x=(b,s={width:1200,height:630,quality:1})=>new Promise((f,l)=>{let g=new FileReader;g.onload=h=>{var m;let e=new Image;e.src=(m=h.target)==null?void 0:m.result,e.onload=()=>{let t=s.width,c=s.height,r=document.createElement("canvas");r.width=t,r.height=c;let u=r.getContext("2d");u.imageSmoothingQuality="high";let a=e.width,n=e.height,I=a/n,d=t/c,o,i,w=0,R=0;I>d?(i=n,o=n*d,w=(a-o)/2):(o=a,i=a/d,R=(n-i)/2),u.drawImage(e,w,R,o,i,0,0,t,c);let v=r.toDataURL("image/jpeg",s.quality);f(v)},e.onerror=t=>l(new Error("Image loading error: "+t))},g.onerror=h=>l(new Error("FileReader error: "+h)),g.readAsDataURL(b)});export{x as a};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-MAWZ5UAV.mjs";var d=[{id:"clce1z7ch00j0rbstbjufva4j",slug:e,verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"The default domain for all new accounts.",projectId:o},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clxp3lfsb00011na8tfs7t0lx",slug:"dub.link",verified:!0,primary:!0,archived:!1,placeholder:"https://dub.co/help/article/what-is-dub",allowedHostnames:[],description:"Premium short domain on Dub \u2013 only available on our Pro plan and above.",projectId:o},{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",allowedHostnames:["openai.com","chatgpt.com"],description:"Branded domain for ChatGPT links (convos, custom GPTs).",projectId:o},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",allowedHostnames:["spotify.com"],description:"Branded domain for Spotify links (songs, playlists, etc.).",projectId:o},{id:"cltgtd6s5000341itdszz20u2",slug:"git.new",verified:!0,primary:!1,archived:!1,placeholder:"https://github.com/dubinc/dub",allowedHostnames:["github.com"],description:"Branded domain for GitHub links (repositories, gists, etc.).",projectId:o},{id:"cm23qevp4000412mqwvtkthzw",slug:"cal.link",verified:!0,primary:!1,archived:!1,placeholder:"https://cal.com/steven",allowedHostnames:["cal.com","calendly.com","calendar.app.google","chillipiper.com","hubspot.com","savvycal.com","tidycal.com","zcal.co"],description:"Branded domain for your scheduling links (Cal.com, Calendly, etc.).",projectId:o},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca","amazon.es","amazon.fr"],description:"Branded domain for Amazon links (products, wishlists, etc.).",projectId:o},{id:"clymd6zkc0001elilr1215tj9",slug:"ggl.link",verified:!0,primary:!1,archived:!1,placeholder:"https://docs.google.com/document/d/15-GOZA12SXGEh8lNwU5QI1jBi04TCPgY2-LChTbXVpA",allowedHostnames:["google.com","google.co.uk","google.co.id","google.ca","google.es","google.fr","googleblog.com","blog.google","g.co","g.page","youtube.com","youtu.be"],description:"Branded domain for Google links (Search, Docs, Sheets, Slides, Drive, Maps, etc.).",projectId:o},{id:"clymczttm0001jgkore3ltr37",slug:"fig.page",verified:!0,primary:!1,archived:!1,placeholder:"https://www.figma.com/design/YAfTk6SGV2HcSvL2415oED/Dub.co-Brand-Assets-(Public)?node-id=1-36593&t=QMKQNtUzxSSzG3hX-1",allowedHostnames:["figma.com"],description:"Branded domain for Figma links (portfolios, prototypes, presentations, etc.).",projectId:o},{id:"clugy7euh000a11h6ignmj42o",slug:"loooooooo.ng",verified:!0,primary:!1,archived:!0,placeholder:"https://d.to/long",description:"Branded domain for lengthening links instead of shortening them (April Fool's Prank).",projectId:o}]:[]],l=d.map(a=>a.slug),s=[{id:"clqo10sum0006js08vutzfxt3",domain:"d.to",key:"try",dashboardId:"dash_Rqy6tVEO5Ib4iVFvmYYTK4kO"},{id:"cltshzzpd0005126z3rd2lvo4",domain:"dub.sh",key:"try",dashboardId:"dash_bUNOfMQVcKS0VMDa2HaYhOjg"},{id:"clot0z5rg000djp08ue98hxkn",domain:"chatg.pt",key:"domains",dashboardId:"dash_lX4or5Yj6ZrPk3qW4SwgrQ5t"},{id:"clp4jh9av0001l308ormavtlu",domain:"spti.fi",key:"hans",dashboardId:"dash_v2Ygwn3hZNYx6kFYfBT4IApM"},{id:"cltgtsex40003ck8z444hum5u",domain:"git.new",key:"dub",dashboardId:"dash_FX5HKOKhtQ6uoIeSDxWM8eIb"},{id:"clymd5vqj0005jgkorsopklsk",domain:"fig.page",key:"dub",dashboardId:"dash_no9BFlfSjHDG6K7XIAuwLt5p"},{id:"clp3k3yoi0001ju0874nz899q",domain:"amzn.id",key:"tv",dashboardId:"dash_fKwai9V9nsLcC0IaY0rTF1yA"},{id:"clymd73o50001ulmzzxjumr8l",domain:"ggl.link",key:"dub",dashboardId:"dash_rx5c7pQPnx2MUCX3cL4t1Zpn"},{id:"cm24785ki0001ainw2qks4uq5",domain:"cal.link",key:"demo",dashboardId:"dash_zbzP2UVvTrv5SkIEPP2pV5pC"}];export{d as a,l as b,s as c};
@@ -0,0 +1 @@
1
+ import{c as r}from"./chunk-2WKZENUE.mjs";function p({title:t=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:n=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:a="https://assets.dub.co/thumbnail.jpg",video:e,icons:o=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:s,noIndex:i=!1}={}){return{title:t,description:n,openGraph:{title:t,description:n,...a&&{images:a},...e&&{videos:e}},twitter:{title:t,description:n,...a&&{card:"summary_large_image",images:[a]},...e&&{player:e},creator:"@dubdotco"},icons:o,metadataBase:new URL(r),...s&&{alternates:{canonical:s}},...i&&{robots:{index:!1,follow:!1}}}}export{p as a};
@@ -0,0 +1 @@
1
+ var o=new RegExp(/^[0-9A-Za-z_\u0080-\uFFFF\/\-\p{Emoji}.]+$/u),i=e=>{let t=[".well-known","_"],n=[".php",".php7"];return t.some(s=>e.startsWith(s))||n.some(s=>e.endsWith(s))},r=e=>["favicon.ico","sitemap.xml","robots.txt","manifest.webmanifest","manifest.json","apple-app-site-association"].includes(e);export{o as a,i as b,r as c};
@@ -0,0 +1 @@
1
+ import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import{a as c}from"./chunk-YUMUNL66.mjs";import{a as d,b as g}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-PTQITUKB.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import P from"@sindresorhus/slugify";var O=e=>{let t=P(e,{separator:""});if(t.length<3)return"";if(c.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&c.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},v=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),S=new RegExp(/^[a-zA-Z0-9\-]+$/),V=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),C=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?d.has(r[r.length-2])&&c.has(r[r.length-1])||g.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},q=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},N=e=>x.some(t=>t.slug===e);function D({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,l]of Object.entries(o))i.set(a,l);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function M({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var p=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,tags:a=150,users:l=15,ids:y=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:y},limits:{links:o,clicks:n,domains:i,tags:a,users:l,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${l} users`},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},p({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),p({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),p({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),p({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),E=s.find(e=>e.name==="Business"),A=s.find(e=>e.name==="Enterprise"),xe=[k,b,E,A],J=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>J.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function Be({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{Be as a,O as b,v as c,S as d,V as e,C as f,q as g,N as h,D as i,M as j,s as k,k as l,b as m,E as n,A as o,xe as p,J as q,he as r,ke as s,be as t,ye as u,Pe as v};
@@ -0,0 +1 @@
1
+ import{a as g,b as d}from"./chunk-SYT2IXG6.mjs";import{a as x}from"./chunk-IJT4ECV4.mjs";import{c as f}from"./chunk-2XAMRYVK.mjs";import{a as h}from"./chunk-6QCWHFAZ.mjs";import{a as l}from"./chunk-YUMUNL66.mjs";import{a as m}from"./chunk-NWFCCRLG.mjs";import{a as u}from"./chunk-IHX4EDUF.mjs";import y from"@sindresorhus/slugify";var w=e=>{let t=y(e,{separator:""});if(t.length<3)return"";if(l.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let r=t.replace(/[aeiou]/g,"");return r.length>=3&&l.has(r.slice(-2))?`${r.slice(0,-2)}.${r.slice(-2)}`:`${[t,r].reduce((n,i)=>n.length<i.length?n:i)}.link`},O=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[a-zA-Z0-9\-]+$/),S=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),V=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";let r=t.split(".");return r.length>2?g.has(r[r.length-2])&&l.has(r[r.length-1])||d.has(r.slice(-2).join("."))?r.slice(-3).join("."):r.slice(-2).join("."):t},C=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},q=e=>x.some(t=>t.slug===e);function I({domain:e,key:t,pretty:r,searchParams:o}){if(!e)return"";let n=`https://${u(e)}${t&&t!=="_root"?`/${u(t)}`:""}`;if(o){let i=new URLSearchParams;for(let[a,p]of Object.entries(o))i.set(a,p);n+=`?${i.toString()}`}return r?n.replace(/^https?:\/\//,""):n}function D({domain:e,key:t}){return`https://${e}${t==="_root"?"":`/${t}`}`}var c=({name:e="Business",monthly:t=59,yearly:r=49,links:o=5e3,clicks:n=15e4,domains:i=40,users:a=15,ids:p=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:r,ids:p},limits:{links:o,clicks:n,domains:i,tags:1e9,users:a,ai:1e3,api:3e3},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"Everything in Pro, plus:",features:[{text:`${m(o,{full:!0})} new links/mo`},{text:`${m(n)} tracked clicks/mo`},{text:"3-year analytics retention"},{text:`${i} custom domains`},{text:`${a} users`},{text:"Unlimited tags",footnote:{title:"Use tags to organize your links.",cta:"Learn more.",href:"https://d.to/tags"}},{text:"Real-time events stream",footnote:{title:"Get more data on your link clicks and QR code scans with a detailed, real-time stream of events in your workspace",cta:"Learn more.",href:"https://d.to/events"}},{text:"Event webhooks (beta)",footnote:{title:"Get notified when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://d.to/webhooks"}}]}),s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users:1,ai:10,api:60},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black hover:bg-gray-800 hover:ring-gray-200"},featureTitle:"What's included:",features:[{text:"25 new links/mo"},{text:"1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"3 custom domains"},{text:"1 user"},{text:"Advanced analytics",footnote:{title:"Get location (country, city, continent), device (type, browser, OS), and referer data on your clicks.",cta:"Learn more.",href:"https://dub.co/help/article/dub-analytics"}},{text:"10 AI credits/mo"},{text:"Basic support"},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5,ai:1e3,api:600},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-600 hover:bg-blue-700 hover:ring-blue-100"},featureTitle:"Everything in Free, plus:",features:[{text:"1,000 new links/mo"},{text:"50K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting etc."},{text:"Unlimited AI credits",footnote:{title:"Subject to fair use policy \u2013 you will be notified if you exceed the limit, which are high enough for frequent usage.",cta:"Learn more.",href:"https://dub.co/blog/introducing-dub-ai"}},{text:"Priority support"},{text:"Premium dub.link domain",footnote:{title:"Stand out from the crowd with a premium dub.link domain.",cta:"Learn more.",href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"}},{text:"Complimentary custom domain",footnote:{title:"All our paid plans come with a free .link custom domain, which helps improve click-through rates.",cta:"Learn more.",href:"https://dub.co/help/article/free-dot-link-domain"}}]},c({name:"Business",monthly:59,yearly:49,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:30,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB","price_1OnaK3AlJJEpqkPVaCfCPdHi","price_1OzObrAlJJEpqkPVh6D9HWGO"]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:50,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq","price_1OnaKJAlJJEpqkPVeJSvPfJb","price_1OzOg1AlJJEpqkPVPlsrxoWm"]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:100,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh","price_1OnaKOAlJJEpqkPVV6gkZPgt","price_1OzOh5AlJJEpqkPVtCSX7dlE"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,domains:1e3,tags:1e3,users:500,ai:1e4,api:1e4},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-gradient-to-r from-violet-600 to-pink-600 hover:ring-violet-100"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],k=s.find(e=>e.name==="Free"),b=s.find(e=>e.name==="Pro"),P=s.find(e=>e.name==="Business"),E=s.find(e=>e.name==="Enterprise"),xe=[k,b,P,E],A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),he=2,ke=e=>s.find(t=>{var r;return(r=t.price.ids)==null?void 0:r.includes(e)})||null,be=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),ye=e=>s.find(t=>t.name.toLowerCase()===e.toLowerCase())||k,Pe=e=>e?s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1]:b;function ze({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management platform for modern marketing teams to create marketing campaigns, link sharing features, and referral programs.`,image:r="https://assets.dub.co/thumbnail.jpg",video:o,icons:n=[{rel:"apple-touch-icon",sizes:"32x32",url:"https://assets.dub.co/favicons/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"https://assets.dub.co/favicons/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"https://assets.dub.co/favicons/favicon-16x16.png"}],canonicalUrl:i,noIndex:a=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,...r&&{images:r},...o&&{videos:o}},twitter:{title:e,description:t,...r&&{card:"summary_large_image",images:[r]},...o&&{player:o},creator:"@dubdotco"},icons:n,metadataBase:new URL(f),...i&&{alternates:{canonical:i}},...a&&{robots:{index:!1,follow:!1}}}}export{ze as a,w as b,O as c,v as d,S as e,V as f,C as g,q as h,I as i,D as j,s as k,k as l,b as m,P as n,E as o,xe as p,A as q,he as r,ke as s,be as t,ye as u,Pe as v};