@dub/utils 0.1.36 → 0.1.38

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 (81) hide show
  1. package/dist/chunk-2N7XAD3K.mjs +1 -0
  2. package/dist/chunk-2XEQCQCO.mjs +1 -0
  3. package/dist/chunk-3JKXD7E2.mjs +1 -0
  4. package/dist/chunk-4P6GHMLV.mjs +1 -0
  5. package/dist/chunk-53SHSIYA.mjs +1 -0
  6. package/dist/chunk-6MSKYUTE.mjs +1 -0
  7. package/dist/chunk-7A3T55MZ.mjs +1 -0
  8. package/dist/chunk-7PMRDNDM.mjs +1 -0
  9. package/dist/chunk-7TXYRHU2.mjs +1 -0
  10. package/dist/chunk-AH5BZZU3.mjs +1 -0
  11. package/dist/chunk-BHMZXE4J.mjs +1 -0
  12. package/dist/chunk-C64B7KBS.mjs +1 -0
  13. package/dist/chunk-DHYATWMX.mjs +1 -0
  14. package/dist/chunk-EAGRAF55.mjs +1 -0
  15. package/dist/chunk-EDQF2CR7.mjs +1 -0
  16. package/dist/chunk-HCG7KJDE.mjs +1 -0
  17. package/dist/chunk-HFHGAGNQ.mjs +1 -0
  18. package/dist/chunk-HKYEDB4D.mjs +1 -0
  19. package/dist/chunk-HZ6VYDJA.mjs +1 -0
  20. package/dist/chunk-IQKET7XX.mjs +1 -0
  21. package/dist/chunk-IZYOBDI3.mjs +1 -0
  22. package/dist/chunk-JBBJTENQ.mjs +1 -0
  23. package/dist/chunk-JXS3GWPQ.mjs +1 -0
  24. package/dist/chunk-KDM5NZ2D.mjs +1 -0
  25. package/dist/chunk-LADYNFXU.mjs +1 -0
  26. package/dist/chunk-LQLFTUBF.mjs +1 -0
  27. package/dist/chunk-MOOMLN2C.mjs +1 -0
  28. package/dist/chunk-MY66K6YB.mjs +1 -0
  29. package/dist/chunk-NV2MNZJB.mjs +1 -0
  30. package/dist/chunk-PPA4SC4X.mjs +1 -0
  31. package/dist/chunk-PW4SKXNP.mjs +1 -0
  32. package/dist/chunk-QEALULGU.mjs +1 -0
  33. package/dist/chunk-RFDM4NES.mjs +1 -0
  34. package/dist/chunk-RVR4B7QE.mjs +1 -0
  35. package/dist/chunk-RYKERHB3.mjs +1 -0
  36. package/dist/chunk-SFXH3WMV.mjs +1 -0
  37. package/dist/chunk-STMJW3HF.mjs +1 -0
  38. package/dist/chunk-TELHVULO.mjs +1 -0
  39. package/dist/chunk-TJORVGDN.mjs +1 -0
  40. package/dist/chunk-TUWVUGBN.mjs +1 -0
  41. package/dist/chunk-UCO6SXQA.mjs +1 -0
  42. package/dist/chunk-UOBOVFJS.mjs +1 -0
  43. package/dist/chunk-WMPCVSUD.mjs +1 -0
  44. package/dist/chunk-WSUKJUPG.mjs +1 -0
  45. package/dist/chunk-YGPWYMNC.mjs +1 -0
  46. package/dist/chunk-Z6KX5L77.mjs +1 -0
  47. package/dist/chunk-ZPQZFQE2.mjs +1 -0
  48. package/dist/constants/dub-domains.d.ts +2 -12
  49. package/dist/constants/dub-domains.mjs +1 -1
  50. package/dist/constants/index.d.ts +2 -1
  51. package/dist/constants/index.mjs +1 -1
  52. package/dist/constants/misc.d.ts +1 -1
  53. package/dist/constants/misc.mjs +1 -1
  54. package/dist/constants/paypal-supported-countries.d.ts +4 -0
  55. package/dist/constants/paypal-supported-countries.mjs +1 -0
  56. package/dist/constants/reserved-slugs.mjs +1 -1
  57. package/dist/functions/currency-formatter.d.ts +1 -1
  58. package/dist/functions/currency-formatter.mjs +1 -1
  59. package/dist/functions/datetime/format-date-smart.d.ts +3 -0
  60. package/dist/functions/datetime/format-date-smart.mjs +1 -0
  61. package/dist/functions/datetime/format-datetime-smart.mjs +1 -1
  62. package/dist/functions/datetime/format-period.mjs +1 -1
  63. package/dist/functions/datetime/index.d.ts +1 -0
  64. package/dist/functions/datetime/index.mjs +1 -1
  65. package/dist/functions/domains.mjs +1 -1
  66. package/dist/functions/fetch-with-retry.mjs +1 -1
  67. package/dist/functions/index.d.ts +2 -0
  68. package/dist/functions/index.mjs +1 -1
  69. package/dist/functions/link-constructor.mjs +1 -1
  70. package/dist/functions/log.d.ts +1 -1
  71. package/dist/functions/log.mjs +1 -1
  72. package/dist/functions/promises.d.ts +4 -0
  73. package/dist/functions/promises.mjs +1 -0
  74. package/dist/index.d.ts +4 -1
  75. package/dist/index.mjs +1 -1
  76. package/dist/plan-compare-063562e8.d.ts +928 -0
  77. package/dist/plan-compare-219a46d5.d.ts +925 -0
  78. package/dist/plan-compare-dd5a56ab.d.ts +926 -0
  79. package/dist/plan-compare-f37c943c.d.ts +927 -0
  80. package/dist/promises-d1d066fb.d.ts +4 -0
  81. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-QQHB6G47.mjs";var h=["AD","AR","AU","AT","BS","BH","BE","BM","BW","BR","BG","CA","KY","CL","C2","CO","CR","HR","CY","CZ","DK","DO","EC","SV","EE","FO","FI","FR","GE","DE","GI","GR","GL","GT","HN","HK","HU","IS","IN","ID","IE","IL","IT","JM","JP","JO","KZ","KE","KW","LV","LS","LI","LT","LU","MY","MT","MU","MX","MD","MC","MA","MZ","NL","NZ","NI","NO","OM","PA","PE","PH","PL","PT","QA","RE","RO","SM","SA","SN","RS","SG","SK","SI","ZA","ES","SE","CH","TR","AE","GB","US","UY","VE","VN"];import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var g=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),P=o.find(e=>e.name==="Business"),E=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),A=2,L=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,J=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),w=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,_=e=>{if(!e)return u;let s=e.toLowerCase().split(" ")[0];return o[o.findIndex(l=>l.name.toLowerCase()===s)+1]},v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{h as a,g as b,o as c,d,u as e,P as f,E as g,f as h,A as i,L as j,J as k,w as l,_ as m,v as n};
@@ -0,0 +1 @@
1
+ import{b as e,p as o}from"./chunk-ARPOY53H.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","calendar.google.com","calendar.notion.so","chillipiper.com","fantastical.app","hubspot.com","savvycal.com","scheduler.default.com","tidycal.com","you.ashbyhq.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}]:[]],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
+ var c=e=>{if(!e)return"";let F=e,r=e.replace(/^\uFEFF/,"").replace(/^\uFFFE/,"").replace(/^\uEFBBBF/,"").replace(/^\u0000\uFEFF/,"").replace(/^\uFFFE0000/,"").replace(/^\u2028/,"").replace(/^\u2029/,"").replace(/[\x00-\x08\x0B\x0C\x0E-\x1F\x7F-\x9F]/g,"").replace(/\s+/g," ").trim();return process.env.NODE_ENV,r};export{c as a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No tracked sales":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.sales/100)}`})," ","tracked sales",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"1-click global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,sales:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,sales:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,sales:25e5,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,sales:1e7,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,sales:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ var n={alerts:process.env.DUB_SLACK_HOOK_ALERTS,cron:process.env.DUB_SLACK_HOOK_CRON,errors:process.env.DUB_SLACK_HOOK_ERRORS,links:process.env.DUB_SLACK_HOOK_LINKS,payouts:process.env.DUB_SLACK_HOOK_PAYOUTS},c=async({message:e,type:o,mention:s=!1})=>{console.log(e);let r=n[o];if(!!r)try{return await fetch(r,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({blocks:[{type:"section",text:{type:"mrkdwn",text:`${s?"<@U0404G6J3NJ> ":""}${o==="alerts"||o==="errors"?":alert: ":""}${e}`}}]})})}catch(t){console.log(`Failed to log to Dub Slack. Error: ${t}`)}};export{c as a};
@@ -0,0 +1 @@
1
+ var a=(e,t)=>{let n=new Date(e),r=new Date;return new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",hour:"numeric",hour12:!0,minute:"numeric",...n.getUTCFullYear()!==r.getUTCFullYear()?{year:"numeric"}:{},...t})};export{a};
@@ -0,0 +1 @@
1
+ import{a}from"./chunk-NWFCCRLG.mjs";import{g as n}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===n?"Unlimited":a(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===n?"Unlimited":a(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${a(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":a(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":a(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:n,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"sales",text:"$25K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:n,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"sales",text:"$100K tracked sales/mo",tooltip:{title:"Use Dub Conversions to track how your link clicks are converting to signups and sales. Limits are based on the total sale amount tracked within a given month.",cta:"Learn more.",href:"https://d.to/conversions"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:1e8,domains:1e3,tags:n,folders:n,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,v=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,v as m};
@@ -0,0 +1 @@
1
+ import{a as p}from"./chunk-CP4WO7MM.mjs";import{a as n}from"./chunk-IHX4EDUF.mjs";var a=(r,o)=>{let t=new Date(r),e=new Date;return t.toLocaleDateString("en-US",{day:"numeric",month:"long",...t.getUTCFullYear()!==e.getUTCFullYear()?{year:"numeric"}:{hour:"numeric",minute:"numeric",hour12:!0},...o})};function y({domain:r,key:o,pretty:t,searchParams:e}){if(!r)return"";let m=`https://${n(r)}${o&&o!=="_root"?`/${n(o)}`:""}`;if(e){let f=new URLSearchParams;for(let[x,i]of Object.entries(e))f.set(x,i);m+=`?${f.toString()}`}return t?m.replace(/^https?:\/\//,""):m}function F({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var lr=r=>!r.periodStart||!r.periodEnd?"-":`${p(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${p(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{a,lr as b,y as c,F as d};
@@ -0,0 +1 @@
1
+ var r=(e,n)=>{let t=new Date(e),a=new Date;return t.toLocaleDateString("en-US",{day:"numeric",month:"long",...t.getUTCFullYear()!==a.getUTCFullYear()?{year:"numeric"}:{},...n})};export{r as a};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>{if(!e)return u;let s=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(l=>l.name.toLowerCase()===s)+1,o.length-1)]},J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-QQHB6G47.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"volume",text:"Lower payout fees",tooltip:{title:"Lower fees associated with Partner payouts.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>e?o[o.findIndex(s=>s.name.toLowerCase()===e.toLowerCase())+1]:u,J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m};
@@ -0,0 +1 @@
1
+ async function f(u,l,w={}){let{timeout:m=5e3,maxRetries:s=10,retryDelay:n=1e3}=w,i=null;for(let o=0;o<s;o++){let a=new AbortController,c=setTimeout(()=>{a.abort()},m);try{let r=await fetch(u,{...l,signal:a.signal});if(clearTimeout(c),r.ok)return r;if(r.status===429||r.status>=500){let e=n+Math.pow(o,2)*50;await new Promise(t=>setTimeout(t,e));continue}if(r.status===403)throw new Error("Unauthorized");if(!r.ok){let e;try{e=(await r.json()).error||`HTTP error ${r.status}`}catch{e=`HTTP error ${r.status}`}throw console.error(`fetchWithRetry error: ${e}`),new Error(e)}}catch(r){if(clearTimeout(c),i=r instanceof Error?r:new Error(String(r)),o===s-1){let t=`Failed after ${s} retries. Last error: ${i.message}`;throw console.error(`fetchWithRetry error: ${t}`),new Error(t)}let e=n+Math.pow(o,2)*50;await new Promise(t=>setTimeout(t,e))}}throw new Error(`Failed after ${s} retries`)}export{f as a};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-QQHB6G47.mjs";import{a as p}from"./chunk-JO76EBDG.mjs";var u=["AD","AR","AU","AT","BS","BH","BE","BM","BW","BR","BG","CA","KY","CL","CN","CO","CR","HR","CY","CZ","DK","DO","EC","SV","EE","FO","FI","FR","GE","DE","GI","GR","GL","GT","HN","HK","HU","IS","IN","ID","IE","IL","IT","JM","JP","JO","KZ","KE","KW","LV","LS","LI","LT","LU","MY","MT","MU","MX","MD","MC","MA","MZ","NL","NZ","NI","NO","OM","PA","PE","PH","PL","PT","QA","RE","RO","SM","SA","SN","RS","SG","SK","SI","ZA","ES","SE","CH","TR","AE","GB","US","UY","VE","VN"],x=u.filter(e=>!p.includes(e));import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var P=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],f=o.find(e=>e.name==="Free"),h=o.find(e=>e.name==="Pro"),L=o.find(e=>e.name==="Business"),J=o.find(e=>e.name==="Advanced"),m=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),_=2,w=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,R=e=>m.find(s=>s.name.toLowerCase()===e.toLowerCase()),v=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||f,S=e=>{if(!e)return h;let s=e.toLowerCase().split(" ")[0];return o[o.findIndex(l=>l.name.toLowerCase()===s)+1]},N=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),d=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>d};export{u as a,x as b,P as c,o as d,f as e,h as f,L as g,J as h,m as i,_ as j,w as k,R as l,v as m,S as n,N as o};
@@ -0,0 +1 @@
1
+ import{g as a}from"./chunk-MY66K6YB.mjs";import{a as n}from"./chunk-NWFCCRLG.mjs";import{Fragment as s,jsx as r,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(s,{children:[r("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:t.name==="Enterprise"?"Unlimited":`$${n(t.limits.payouts/100)}`})," ","partner payouts",t.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>r(s,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(s,{children:["Premium ",r("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(s,{children:["Free ",r("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:t})=>i(s,{children:[r("strong",{children:e==="enterprise"?"Custom":n(t.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>r(s,{children:r("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(s,{children:[r("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(t=>{var l;return(l=t.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(t=>t.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(t=>t.name.toLowerCase()===e.toLowerCase())||d,w=e=>{if(!e)return u;let t=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(l=>l.name.toLowerCase()===t)+1,o.length-1)]},J=(e,t)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===t.toLowerCase());return l>p},_=(e,t)=>e==="business"&&t===0;export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m,_ as n};
@@ -0,0 +1 @@
1
+ import{a as E}from"./chunk-JO76EBDG.mjs";var P=["AD","AR","AU","AT","BS","BH","BE","BM","BW","BR","BG","CA","KY","CL","CN","CO","CR","HR","CY","CZ","DK","DO","EC","SV","EE","FO","FI","FR","GE","DE","GI","GR","GL","GT","HN","HK","HU","IS","IN","ID","IE","IL","IT","JM","JP","JO","KZ","KE","KW","LV","LS","LI","LT","LU","MY","MT","MU","MX","MD","MC","MA","MZ","NL","NZ","NI","NO","OM","PA","PE","PH","PL","PT","QA","RE","RO","SM","SA","SN","RS","SG","SK","SI","ZA","ES","SE","CH","TR","AE","GB","US","UY","VE","VN"],R=P.filter(S=>!E.includes(S));console.log("PAYPAL_SUPPORTED_COUNTRIES:",R);export{P as a,R as b};
@@ -0,0 +1 @@
1
+ import{a as n}from"./chunk-NWFCCRLG.mjs";import{g as a}from"./chunk-MY66K6YB.mjs";import{Fragment as s,jsx as r,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(s,{children:[r("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(s,{children:[r("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:t})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:t.name==="Enterprise"?"Unlimited":`$${n(t.limits.payouts/100)}`})," ","partner payouts",t.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(s,{children:[r("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>r(s,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(s,{children:["Premium ",r("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(s,{children:["Free ",r("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:t})=>i(s,{children:[r("strong",{children:e==="enterprise"?"Custom":n(t.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(s,{children:[r("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>r(s,{children:r("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(s,{children:[r("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(t=>{var l;return(l=t.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(t=>t.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(t=>t.name.toLowerCase()===e.toLowerCase())||d,w=e=>{if(!e)return u;let t=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(l=>l.name.toLowerCase()===t)+1,o.length-1)]},J=(e,t)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===t.toLowerCase());return l>p},_=(e,t)=>e==="business"&&t===0;export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m,_ as n};
@@ -0,0 +1 @@
1
+ import{g as a}from"./chunk-QQHB6G47.mjs";import{a as n}from"./chunk-NWFCCRLG.mjs";import{Fragment as r,jsx as t,jsxs as i}from"react/jsx-runtime";var k=[{category:"Links",href:"https://dub.co/links",features:[{text:()=>i(r,{children:[t("strong",{children:"Unlimited"})," clicks"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.links)})," ","new links",e.name==="Enterprise"?"":"/mo"]})},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.tags===a?"Unlimited":n(e.limits.tags)})," ","tags"]}),href:"https://dub.co/help/article/how-to-use-tags"},{check:{free:!1,default:!0},text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.folders===a?"Unlimited":n(e.limits.folders)})," ","folders"]})},{text:"Custom QR codes",href:"https://dub.co/help/article/custom-qr-codes"},{text:"UTM builder + templates",href:"https://dub.co/help/article/how-to-create-utm-templates"},{check:{free:!1,default:!0},text:"Custom link previews",href:"https://dub.co/help/article/custom-link-previews"},{check:{free:!1,default:!0},text:"Deep links",href:"https://dub.co/help/article/custom-domain-deep-links"},{check:{free:!1,default:!0},text:"Link cloaking",href:"https://dub.co/help/article/link-cloaking"},{check:{free:!1,default:!0},text:"Link expiration",href:"https://dub.co/help/article/link-expiration"},{check:{free:!1,default:!0},text:"Password protection",href:"https://dub.co/help/article/password-protected-links"},{check:{free:!1,default:!0},text:"Device targeting",href:"https://dub.co/help/article/device-targeting"},{check:{free:!1,default:!0},text:"Geo targeting",href:"https://dub.co/help/article/geo-targeting"},{check:{free:!1,pro:!1,default:!0},text:"A/B testing"}]},{category:"Analytics",href:"https://dub.co/analytics",features:[{text:"Advanced analytics",href:"https://dub.co/help/article/dub-analytics"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.clicks)})," ","tracked clicks",e.name==="Enterprise"?"":"/mo"]}),href:"https://dub.co/help/article/dub-analytics-limits"},{text:({plan:e})=>i(r,{children:[t("strong",{children:e.limits.retention})," retention"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Conversion tracking",href:"https://dub.co/help/article/dub-conversions"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Customer insights",href:"https://dub.co/help/article/customer-insights"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Real-time events stream",href:"https://dub.co/help/article/real-time-events-stream"}]},{category:"Partners",href:"https://dub.co/partners",features:[{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Partner management",href:"https://dub.co/partners"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Automated global payouts",href:"https://dub.co/help/article/partner-payouts"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e,plan:s})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:s.name==="Enterprise"?"Unlimited":`$${n(s.limits.payouts/100)}`})," ","partner payouts",s.name==="Enterprise"?"":"/mo"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:({id:e})=>e==="free"||e==="pro"?"No partner payouts":i(r,{children:[t("strong",{children:{business:"5%",advanced:"5%",enterprise:"3%"}[e]})," ","payout fees"]}),href:"https://dub.co/help/article/partner-payouts#payout-fees-and-timing"},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Tax compliance",href:"https://dub.co/help/article/partner-payouts#tax-compliance"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"White-labeling support",href:"https://dub.co/docs/partners/white-labeling"},{check:{default:!1,business:!1,advanced:!0,enterprise:!0},text:"Partners API",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}]},{category:"Domains",href:"https://dub.co/help/category/custom-domains",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.domains,{full:!0})})," ","custom domains"]})},{text:()=>t(r,{children:"SSL certificates"})},{check:{default:!0,free:!1},text:()=>i(r,{children:["Premium ",t("strong",{children:"dub.link"})," domain"]}),href:"https://dub.co/help/article/default-dub-domains#premium-dublink-domain"},{check:{default:!0,free:!1},text:()=>i(r,{children:["Free ",t("strong",{children:".link"})," domain"]}),href:"https://dub.co/help/article/free-dot-link-domain"}]},{category:"API",href:"https://dub.co/docs/api-reference/introduction",features:[{text:"API Access",href:"https://dub.co/docs/api-reference/introduction"},{text:"Native SDKs",href:"https://dub.co/docs/sdks/overview"},{text:({id:e,plan:s})=>i(r,{children:[t("strong",{children:e==="enterprise"?"Custom":n(s.limits.api,{full:!0})+"/min"})," ","rate limit"]})},{check:{default:!1,business:!0,advanced:!0,enterprise:!0},text:"Event webhooks",href:"https://dub.co/docs/concepts/webhooks/introduction"}]},{category:"Workspace",href:"https://dub.co/help/category/workspaces",features:[{text:({plan:e})=>i(r,{children:[t("strong",{children:e.name==="Enterprise"?"Unlimited":n(e.limits.users)})," ","user",e.limits.users===1?"":"s"]})},{check:{default:!1,advanced:!0,enterprise:!0},text:"Role-based access control"},{check:{default:!1,enterprise:!0},text:"SAML/SSO",href:"https://dub.co/help/category/saml-sso"},{check:{default:!1,enterprise:!0},text:"Custom SLA"},{check:{default:!1,enterprise:!0},text:"Audit logs"}]},{category:"Support",href:"https://dub.co/contact/support",features:[{text:({id:e})=>t(r,{children:t("strong",{children:{free:"Basic support",pro:"Elevated support",business:"Priority support",advanced:"Priority via Slack",enterprise:"Priority with SLA"}[e]})})},{check:{default:!1,enterprise:!0},text:()=>i(r,{children:[t("strong",{children:"Dedicated"})," success manager"]})}]}];var o=[{name:"Free",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,payouts:0,domains:3,tags:5,folders:0,users:1,ai:10,api:60,retention:"30-day"}},{name:"Pro",link:"https://dub.co/help/article/pro-plan",price:{monthly:30,yearly:25,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0","price_1R8XtyAlJJEpqkPV5WZ4c0jF","price_1R8XtEAlJJEpqkPV4opVvVPq","price_1R8XxZAlJJEpqkPVqGi0wOqD","price_1R7oeBAlJJEpqkPVh6q5q3h8"]},limits:{links:1e3,clicks:5e4,payouts:0,domains:10,tags:25,folders:3,users:3,ai:1e3,api:600,retention:"1-year"},featureTitle:"Everything in Free, plus:",features:[{id:"clicks",text:"50K tracked clicks/mo"},{id:"links",text:"1K new links/mo"},{id:"retention",text:"1-year analytics retention"},{id:"domains",text:"10 domains"},{id:"users",text:"3 users"},{id:"advanced",text:"Advanced link features",tooltip:"ADVANCED_LINK_FEATURES"},{id:"ai",text:"Unlimited AI credits",tooltip:{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"}},{id:"dotlink",text:"Free .link domain",tooltip:{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"}},{id:"folders",text:"Link folders",tooltip:{title:"Organize and manage access to your links on Dub using folders.",cta:"Learn more.",href:"https://dub.co/help/article/link-folders"}},{id:"deeplinks",text:"Deep links",tooltip:{title:"Redirect users to a specific page within your mobile application using deep links.",cta:"Learn more.",href:"https://dub.co//help/article/custom-domain-deep-links"}}]},{name:"Business",price:{monthly:90,yearly:75,ids:["price_1LodLoAlJJEpqkPV9rD0rlNL","price_1LodLoAlJJEpqkPVJdwv5zrG","price_1OZgmnAlJJEpqkPVOj4kV64R","price_1OzNlmAlJJEpqkPV7s9HXNAC","price_1OzNmXAlJJEpqkPVYO89lTdx","price_1OzOFIAlJJEpqkPVJxzc9irl","price_1OzOXMAlJJEpqkPV9ERrjjbw","price_1R3j01AlJJEpqkPVXuG1eNzm","price_1R6JedAlJJEpqkPVMUkfjch4","price_1R8XypAlJJEpqkPVdjzOcYUC","price_1R7ofLAlJJEpqkPV3MlgDpyx"]},limits:{links:1e4,clicks:25e4,payouts:25e4,domains:100,tags:a,folders:20,users:10,ai:1e3,api:1200,retention:"3-year"},featureTitle:"Everything in Pro, plus:",features:[{id:"clicks",text:"250K tracked clicks/mo"},{id:"links",text:"10K new links/mo"},{id:"retention",text:"3-year analytics retention"},{id:"payouts",text:"$2.5K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"10 users"},{id:"events",text:"Real-time events stream",tooltip:{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://dub.co/help/article/real-time-events-stream"}},{id:"partners",text:"Partner management",tooltip:{title:"Use Dub Partners to manage and pay out your affiliates.",cta:"Learn more.",href:"https://dub.co/partners"}},{id:"tests",text:"A/B testing (beta)"},{id:"roles",text:"Customer insights",tooltip:{title:"Get real-time insights into your customers' behavior and preferences.",cta:"Learn more.",href:"https://dub.co/help/article/customer-insights"}},{id:"webhooks",text:"Event webhooks",tooltip:{title:"Get real-time notifications when a link is clicked or a QR code is scanned using webhooks.",cta:"Learn more.",href:"https://dub.co/docs/concepts/webhooks/introduction"}}]},{name:"Advanced",price:{monthly:300,yearly:250,ids:["price_1R8Xw4AlJJEpqkPV6nwdink9","price_1R3j0qAlJJEpqkPVkfGNXRwb","price_1R8XztAlJJEpqkPVnHmIU2tf","price_1R7ofzAlJJEpqkPV0L2TwyJo"]},limits:{links:5e4,clicks:1e6,payouts:15e5,domains:250,tags:a,folders:50,users:20,ai:1e3,api:3e3,retention:"5-year"},featureTitle:"Everything in Business, plus:",features:[{id:"clicks",text:"1M tracked clicks/mo"},{id:"links",text:"50K new links/mo"},{id:"retention",text:"5-year analytics retention"},{id:"payouts",text:"$15K partner payouts/mo",tooltip:{title:"Send payouts to your partners with 1-click (or automate it completely) \u2013 all across the world.",cta:"Learn more.",href:"https://dub.co/help/article/partner-payouts"}},{id:"users",text:"20 users"},{id:"whitelabel",text:"White-labeling support",tooltip:{title:"Embed a white-labeled referral dashboard directly in your app in just a few lines of code.",cta:"Learn more.",href:"https://dub.co/docs/partners/white-labeling"}},{id:"api",text:"Partners API",tooltip:{title:"Leverage our partners API to build a bespoke, white-labeled referral program that lives within your app.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/endpoint/create-a-partner"}},{id:"slack",text:"Priority Slack support"}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:25e4,clicks:5e6,payouts:a,domains:1e3,tags:a,folders:a,users:500,ai:1e4,api:1e4,retention:"Unlimited"}}],d=o.find(e=>e.name==="Free"),u=o.find(e=>e.name==="Pro"),b=o.find(e=>e.name==="Business"),y=o.find(e=>e.name==="Advanced"),f=o.filter(e=>["Pro","Business","Advanced"].includes(e.name)),P=2,A=e=>o.find(s=>{var l;return(l=s.price.ids)==null?void 0:l.includes(e)})||null,E=e=>f.find(s=>s.name.toLowerCase()===e.toLowerCase()),L=e=>o.find(s=>s.name.toLowerCase()===e.toLowerCase())||d,w=e=>{if(!e)return u;let s=e.toLowerCase().split(" ")[0];return o[Math.min(o.findIndex(l=>l.name.toLowerCase()===s)+1,o.length-1)]},J=(e,s)=>{let l=o.findIndex(c=>c.name.toLowerCase()===e.toLowerCase()),p=o.findIndex(c=>c.name.toLowerCase()===s.toLowerCase());return l>p};export{k as a,o as b,d as c,u as d,b as e,y as f,f as g,P as h,A as i,E as j,L as k,w as l,J as m};
@@ -0,0 +1 @@
1
+ import{a as m}from"./chunk-CP4WO7MM.mjs";import{a as f}from"./chunk-IHX4EDUF.mjs";var a=(r,o)=>{let t=new Date(r),e=new Date;return t.toLocaleDateString("en-US",{day:"numeric",month:"long",...t.getUTCFullYear()!==e.getUTCFullYear()?{year:"numeric"}:{},...o})};function y({domain:r,key:o,pretty:t,searchParams:e}){if(!r)return"";let p=`https://${f(r)}${o&&o!=="_root"?`/${f(o)}`:""}`;if(e){let n=new URLSearchParams;for(let[x,i]of Object.entries(e))n.set(x,i);p+=`?${n.toString()}`}return t?p.replace(/^https?:\/\//,""):p}function F({domain:r,key:o}){return`https://${r}${o==="_root"?"":`/${o}`}`}var cr=r=>!r.periodStart||!r.periodEnd?"-":`${m(r.periodStart,{month:"short",year:new Date(r.periodStart).getUTCFullYear()===new Date(r.periodEnd).getUTCFullYear()?void 0:"numeric",timeZone:"utc"})}-${m(r.periodEnd,{month:"short",timeZone:"utc"})}`;export{a,cr as b,y as c,F as d};
@@ -1,4 +1,4 @@
1
- declare const DUB_DOMAINS: ({
1
+ declare const DUB_DOMAINS: {
2
2
  id: string;
3
3
  slug: string;
4
4
  verified: boolean;
@@ -8,17 +8,7 @@ declare const DUB_DOMAINS: ({
8
8
  allowedHostnames: string[];
9
9
  description: string;
10
10
  projectId: string;
11
- } | {
12
- id: string;
13
- slug: string;
14
- verified: boolean;
15
- primary: boolean;
16
- archived: boolean;
17
- placeholder: string;
18
- description: string;
19
- projectId: string;
20
- allowedHostnames?: undefined;
21
- })[];
11
+ }[];
22
12
  declare const DUB_DOMAINS_ARRAY: string[];
23
13
  declare const DUB_DEMO_LINKS: {
24
14
  id: string;
@@ -1 +1 @@
1
- import{a,b,c}from"../chunk-N72TTVUG.mjs";import"../chunk-ARPOY53H.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
1
+ import{a,b,c}from"../chunk-PPA4SC4X.mjs";import"../chunk-ARPOY53H.mjs";export{c as DUB_DEMO_LINKS,a as DUB_DOMAINS,b as DUB_DOMAINS_ARRAY};
@@ -12,7 +12,8 @@ export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './localhost.js';
12
12
  export { ACME_PROGRAM_ID, ACME_WORKSPACE_ID, ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DUB_LOGO, DUB_QR_LOGO, DUB_THUMBNAIL, DUB_WORDMARK, DUB_WORKSPACE_ID, LEGAL_USER_ID, LEGAL_WORKSPACE_ID, PARTNERS_DOMAIN, PARTNERS_DOMAIN_WITH_NGROK, PARTNERS_HOSTNAMES, R2_URL, SHORT_DOMAIN } from './main.js';
13
13
  export { DEFAULT_REDIRECTS, DUB_HEADERS, REDIRECTION_QUERY_PARAM } from './middleware.js';
14
14
  export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, INFINITY_NUMBER, OG_AVATAR_URL, PAGINATION_LIMIT, THE_BEGINNING_OF_TIME, TWO_WEEKS_IN_SECONDS } from './misc.js';
15
- export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan } from '../plan-compare-a546903b.js';
15
+ export { PAYPAL_SUPPORTED_COUNTRIES, PAYPAL_SUPPORTED_COUNTRIES_FULL } from './paypal-supported-countries.js';
16
+ export { A as ADVANCED_PLAN, B as BUSINESS_PLAN, F as FREE_PLAN, d as FREE_WORKSPACES_LIMIT, b as PLANS, P as PLAN_COMPARE_FEATURES, c as PRO_PLAN, a as PlanFeature, S as SELF_SERVE_PAID_PLANS, f as getCurrentPlan, h as getNextPlan, e as getPlanDetails, g as getPlanFromPriceId, i as isDowngradePlan, j as isLegacyBusinessPlan } from '../plan-compare-dd5a56ab.js';
16
17
  export { REGIONS, REGION_CODES } from './regions.js';
17
18
  export { RESERVED_SLUGS } from './reserved-slugs.js';
18
19
  export { SAML_PROVIDERS } from './saml.js';
@@ -1 +1 @@
1
- import{a as ba,b as ca,c as da,d as ea,e as fa,f as ga,g as ha,h as ia,i as ja,j as ka,k as la,l as ma,m as na}from"../chunk-V2WFYUL6.mjs";import"../chunk-NWFCCRLG.mjs";import{a as oa,b as pa}from"../chunk-KQ4NF54J.mjs";import{a as qa}from"../chunk-B5RDJTTU.mjs";import{a as ra}from"../chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"../chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"../chunk-YICE6QF7.mjs";import{a as Q}from"../chunk-PYD75RYX.mjs";import{a as R,b as S}from"../chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"../chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"../chunk-QQHB6G47.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.mjs";import{a as c,b as d}from"../chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"../chunk-6YGW3G46.mjs";import{a as h}from"../chunk-CELI6EJU.mjs";import{a as i,b as j}from"../chunk-SYT2IXG6.mjs";import{a as F,b as G,c as H}from"../chunk-N72TTVUG.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D,u as E}from"../chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ga as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,fa as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,da as FREE_PLAN,ia as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,ca as PLANS,ba as PLAN_COMPARE_FEATURES,ea as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,oa as REGIONS,pa as REGION_CODES,qa as RESERVED_SLUGS,ra as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ha as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,O as ZAPIER_INTEGRATION_ID,a as ccTLDs,la as getCurrentPlan,ma as getNextPlan,ka as getPlanDetails,ja as getPlanFromPriceId,na as isDowngradePlan};
1
+ import{a as da,b as ea,c as fa,d as ga,e as ha,f as ia,g as ja,h as ka,i as la,j as ma,k as na,l as oa,m as pa,n as qa}from"../chunk-JXS3GWPQ.mjs";import"../chunk-NWFCCRLG.mjs";import{a as ba,b as ca}from"../chunk-2N7XAD3K.mjs";import{a as ra,b as sa}from"../chunk-KQ4NF54J.mjs";import{a as ta}from"../chunk-3JKXD7E2.mjs";import{a as ua}from"../chunk-6MXH6P2P.mjs";import{a as I,b as J,c as K}from"../chunk-L3IOBXLP.mjs";import{a as L,b as M,c as N,d as O,e as P}from"../chunk-YICE6QF7.mjs";import{a as Q}from"../chunk-PYD75RYX.mjs";import{a as R,b as S}from"../chunk-2OGPCKQX.mjs";import{a as T,b as U,c as V}from"../chunk-DEIZ6NOQ.mjs";import{a as W,b as X,c as Y,d as Z,e as _,f as $,g as aa}from"../chunk-MY66K6YB.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-JO76EBDG.mjs";import{a as c,b as d}from"../chunk-MH5LZNIE.mjs";import{a as e,b as f,c as g}from"../chunk-6YGW3G46.mjs";import{a as h}from"../chunk-CELI6EJU.mjs";import{a as i,b as j}from"../chunk-SYT2IXG6.mjs";import{a as F,b as G,c as H}from"../chunk-PPA4SC4X.mjs";import{a as k,b as l,c as m,d as n,e as o,f as p,g as q,h as r,i as s,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D,u as E}from"../chunk-ARPOY53H.mjs";export{B as ACME_PROGRAM_ID,A as ACME_WORKSPACE_ID,r as ADMIN_HOSTNAMES,ia as ADVANCED_PLAN,Q as ALL_TOOLS,q as API_DOMAIN,p as API_HOSTNAMES,n as APP_DOMAIN,o as APP_DOMAIN_WITH_NGROK,m as APP_HOSTNAMES,k as APP_NAME,ha as BUSINESS_PLAN,b as CONNECT_SUPPORTED_COUNTRIES,c as CONTINENTS,d as CONTINENT_CODES,e as COUNTRIES,f as COUNTRY_CODES,h as COUNTRY_PHONE_CODES,W as DEFAULT_LINK_PROPS,T as DEFAULT_REDIRECTS,H as DUB_DEMO_LINKS,F as DUB_DOMAINS,G as DUB_DOMAINS_ARRAY,U as DUB_HEADERS,v as DUB_LOGO,w as DUB_QR_LOGO,y as DUB_THUMBNAIL,x as DUB_WORDMARK,z as DUB_WORKSPACE_ID,g as EU_COUNTRY_CODES,I as FRAMER_MOTION_LIST_ITEM_VARIANTS,fa as FREE_PLAN,ka as FREE_WORKSPACES_LIMIT,X as GOOGLE_FAVICON_URL,aa as INFINITY_NUMBER,D as LEGAL_USER_ID,C as LEGAL_WORKSPACE_ID,R as LOCALHOST_GEO_DATA,S as LOCALHOST_IP,Y as OG_AVATAR_URL,Z as PAGINATION_LIMIT,t as PARTNERS_DOMAIN,u as PARTNERS_DOMAIN_WITH_NGROK,s as PARTNERS_HOSTNAMES,ca as PAYPAL_SUPPORTED_COUNTRIES,ba as PAYPAL_SUPPORTED_COUNTRIES_FULL,ea as PLANS,da as PLAN_COMPARE_FEATURES,ga as PRO_PLAN,E as R2_URL,V as REDIRECTION_QUERY_PARAM,ra as REGIONS,sa as REGION_CODES,ta as RESERVED_SLUGS,ua as SAML_PROVIDERS,i as SECOND_LEVEL_DOMAINS,N as SEGMENT_INTEGRATION_ID,ja as SELF_SERVE_PAID_PLANS,P as SHOPIFY_INTEGRATION_ID,l as SHORT_DOMAIN,L as SLACK_INTEGRATION_ID,j as SPECIAL_APEX_DOMAINS,J as STAGGER_CHILD_VARIANTS,M as STRIPE_INTEGRATION_ID,K as TAB_ITEM_ANIMATION_SETTINGS,$ as THE_BEGINNING_OF_TIME,_ as TWO_WEEKS_IN_SECONDS,O as ZAPIER_INTEGRATION_ID,a as ccTLDs,na as getCurrentPlan,oa as getNextPlan,ma as getPlanDetails,la as getPlanFromPriceId,pa as isDowngradePlan,qa as isLegacyBusinessPlan};
@@ -1,6 +1,6 @@
1
1
  declare const DEFAULT_LINK_PROPS: any;
2
2
  declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&domain_url=";
3
- declare const OG_AVATAR_URL = "https://api.dub.co/og/avatar?seed=";
3
+ declare const OG_AVATAR_URL = "https://api.dub.co/og/avatar/";
4
4
  declare const PAGINATION_LIMIT = 100;
5
5
  declare const TWO_WEEKS_IN_SECONDS: number;
6
6
  declare const THE_BEGINNING_OF_TIME: Date;
@@ -1 +1 @@
1
- import{a,b,c,d,e,f,g}from"../chunk-QQHB6G47.mjs";export{a as DEFAULT_LINK_PROPS,b as GOOGLE_FAVICON_URL,g as INFINITY_NUMBER,c as OG_AVATAR_URL,d as PAGINATION_LIMIT,f as THE_BEGINNING_OF_TIME,e as TWO_WEEKS_IN_SECONDS};
1
+ import{a,b,c,d,e,f,g}from"../chunk-MY66K6YB.mjs";export{a as DEFAULT_LINK_PROPS,b as GOOGLE_FAVICON_URL,g as INFINITY_NUMBER,c as OG_AVATAR_URL,d as PAGINATION_LIMIT,f as THE_BEGINNING_OF_TIME,e as TWO_WEEKS_IN_SECONDS};
@@ -0,0 +1,4 @@
1
+ declare const PAYPAL_SUPPORTED_COUNTRIES_FULL: string[];
2
+ declare const PAYPAL_SUPPORTED_COUNTRIES: string[];
3
+
4
+ export { PAYPAL_SUPPORTED_COUNTRIES, PAYPAL_SUPPORTED_COUNTRIES_FULL };
@@ -0,0 +1 @@
1
+ import{a,b}from"../chunk-2N7XAD3K.mjs";import"../chunk-JO76EBDG.mjs";export{b as PAYPAL_SUPPORTED_COUNTRIES,a as PAYPAL_SUPPORTED_COUNTRIES_FULL};
@@ -1 +1 @@
1
- import{a}from"../chunk-B5RDJTTU.mjs";export{a as RESERVED_SLUGS};
1
+ import{a}from"../chunk-3JKXD7E2.mjs";export{a as RESERVED_SLUGS};
@@ -1,3 +1,3 @@
1
- declare const currencyFormatter: (value: number, options?: Intl.NumberFormatOptions) => string;
1
+ declare const currencyFormatter: (value: number, options?: Intl.NumberFormatOptions, currency?: string) => string;
2
2
 
3
3
  export { currencyFormatter };
@@ -1 +1 @@
1
- import{a}from"../chunk-J7REM3DA.mjs";export{a as currencyFormatter};
1
+ import{a}from"../chunk-7TXYRHU2.mjs";export{a as currencyFormatter};
@@ -0,0 +1,3 @@
1
+ declare const formatDateSmart: (datetime: Date | string, options?: Intl.DateTimeFormatOptions) => string;
2
+
3
+ export { formatDateSmart };
@@ -0,0 +1 @@
1
+ import{a}from"../../chunk-STMJW3HF.mjs";export{a as formatDateSmart};
@@ -1 +1 @@
1
- import{a}from"../../chunk-NBHXSY6E.mjs";export{a as formatDateTimeSmart};
1
+ import{a}from"../../chunk-2XEQCQCO.mjs";export{a as formatDateTimeSmart};