@dub/utils 0.0.19 → 0.0.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-46ZAT4QT.mjs +1 -0
- package/dist/chunk-55SCBQ2H.mjs +1 -0
- package/dist/chunk-6VTCBXHL.mjs +1 -0
- package/dist/chunk-7BOFASLY.mjs +1 -0
- package/dist/chunk-7HWAQH5A.mjs +1 -0
- package/dist/chunk-7LL45A5C.mjs +1 -0
- package/dist/chunk-A475NXUL.mjs +1 -0
- package/dist/chunk-DAHA5GJG.mjs +1 -0
- package/dist/chunk-DDLR3QDO.mjs +1 -0
- package/dist/chunk-DVXTYLVZ.mjs +1 -0
- package/dist/chunk-EV34LUTI.mjs +1 -0
- package/dist/chunk-J4ZB5AME.mjs +1 -0
- package/dist/chunk-JA25JCXC.mjs +1 -0
- package/dist/chunk-KOAGRBJQ.mjs +1 -0
- package/dist/chunk-OSNGB6DF.mjs +1 -0
- package/dist/chunk-PJILW4RV.mjs +1 -0
- package/dist/chunk-VPYQMFON.mjs +1 -0
- package/dist/constants/index.d.ts +210 -2
- package/dist/constants/index.mjs +1 -1
- package/dist/index.d.ts +108 -3
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},Z={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},m=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",h=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",g=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),y=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",A=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),x={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},I={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},E="https://www.google.com/s2/favicons?sz=64&domain_url=",N="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",k="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",P=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,Z as g,m as h,o as i,t as j,_ as k,e as l,h as m,g as n,y as o,A as p,x as q,I as r,E as s,N as t,k as u,P as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},h=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",E=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},N={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},y="https://www.google.com/s2/favicons?sz=64&domain_url=",k="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",P="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,h,o as i,t as j,_ as k,e as l,g as m,A as n,x as o,E as p,I as q,N as r,y as s,k as t,P as u,L as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{old:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{old:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),Z=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",x=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),y={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},I={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},E="https://www.google.com/s2/favicons?sz=64&domain_url=",N="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",k="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",P=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,g as m,A as n,Z as o,x as p,y as q,I as r,E as s,N as t,k as u,P as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:"https://app.dub.co/register",color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:"https://dub.co/docs/api-reference/introduction"}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3,domains:10},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:"https://dub.co/help/article/how-to-redirect-root-domain"}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5,domains:20},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:"https://app.dub.co/register",color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:"https://dub.co/help/article/custom-qr-codes"}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],s=o.filter(t=>t.name==="Pro"||t.name==="Business");var n={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},c="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},p={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},d={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},u={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},m=100,e=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",h=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",A=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",x=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${e}`,"api.localhost:8888"]),E=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",I=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),y={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},k={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},N="https://www.google.com/s2/favicons?sz=64&domain_url=",P="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",L="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",b=["stats","changelog","terms","privacy","abuse"],v=[{slug:e,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],f=new Set(["com","co","net","org","edu","gov","in"]),S=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},C="cl7pj5kq4006835rbjlt2ofka",M="clqei1lgc0000vsnzi01pbf47",w=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{o as a,s as b,n as c,c as d,l as e,p as f,d as g,u as h,m as i,e as j,h as k,_ as l,g as m,A as n,x as o,E as p,I as q,y as r,k as s,N as t,P as u,L as v,b as w,v as x,T as y,f as z,S as A,O as B,C,M as D,w as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"},yearly:{amount:19,id:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"},yearly:{amount:39,id:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",I=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),y={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},E={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},N="https://www.google.com/s2/favicons?sz=64&domain_url=",P="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",L="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",k=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,g as m,A as n,x as o,I as p,y as q,E as r,N as s,P as t,L as u,k as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Z=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",g=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),A=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",y=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),x={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},E={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},I="https://www.google.com/s2/favicons?sz=64&domain_url=",N="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",k="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",P=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,Z as m,g as n,A as o,y as p,x as q,E as r,I as s,N as t,k as u,P as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],n=s.filter(o=>o.name==="Pro"||o.name==="Business");var p={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},d="63.141.57.109",u={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},m={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},_={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},h={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},g=100,r=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,A=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",E=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${r}`,"api.localhost:8888"]),I=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",N=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),P={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},y={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},k="https://www.google.com/s2/favicons?sz=64&domain_url=",L="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",v="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",f=["stats","changelog","terms","privacy","abuse"],S=[{slug:r,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),O=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),C={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},M="cl7pj5kq4006835rbjlt2ofka",D="clqei1lgc0000vsnzi01pbf47",w=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,p as b,d as c,u as d,m as e,_ as f,h as g,g as h,r as i,t as j,A as k,e as l,x as m,E as n,I as o,N as p,P as q,y as r,k as s,L as t,v as u,f as v,S as w,T as x,b as y,O as z,C as A,M as B,D as C,w as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},h=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",E=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},N={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},y="https://www.google.com/s2/favicons?sz=64&domain_url=",k="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",P="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,h,o as i,t as j,_ as k,e as l,g as m,A as n,x as o,E as p,I as q,N as r,y as s,k as t,P as u,L as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:0,yearly:0},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},h=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",E=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},N={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},y="https://www.google.com/s2/favicons?sz=64&domain_url=",k="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",P="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,h,o as i,t as j,_ as k,e as l,g as m,A as n,x as o,E as p,I as q,N as r,y as s,k as t,P as u,L as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",y=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},E={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},N="https://www.google.com/s2/favicons?sz=64&domain_url=",k="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",P="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",Z=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,g as m,A as n,x as o,y as p,I as q,E as r,N as s,k as t,P as u,Z as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",y=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},E={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},N="https://www.google.com/s2/favicons?sz=64&domain_url=",P="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",Z="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],k=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,g as m,A as n,x as o,y as p,I as q,E as r,N as s,P as t,Z as u,L as v,k as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",E=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},N={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},k="https://www.google.com/s2/favicons?sz=64&domain_url=",P="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",y="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,g as m,A as n,x as o,E as p,I as q,N as r,k as s,P as t,y as u,L as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],n=r.filter(o=>o.name==="Pro"||o.name==="Business");var p={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},d="63.141.57.109",u={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},m={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},_={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},h={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},g=100,s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,A=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",E=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),I=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",N=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),P={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},y={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},k="https://www.google.com/s2/favicons?sz=64&domain_url=",L="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",v="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",f=["stats","changelog","terms","privacy","abuse"],T=[{slug:s,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],b=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],S=new Set(["com","co","net","org","edu","gov","in"]),O=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),C={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},M="cl7pj5kq4006835rbjlt2ofka",D="clqei1lgc0000vsnzi01pbf47",w=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{r as a,n as b,p as c,d,u as e,m as f,_ as g,h,g as i,s as j,t as k,A as l,e as m,x as n,E as o,I as p,N as q,P as r,y as s,k as t,L as u,v,f as w,T as x,b as y,S as z,O as A,C as B,M as C,D,w as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},Z={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},m=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",h=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",g=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),y=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",A=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),x={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},I={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},E="https://www.google.com/s2/favicons?sz=64&domain_url=",N="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",k="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",P=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,Z as g,m as h,o as i,t as j,_ as k,e as l,h as m,g as n,y as o,A as p,x as q,I as r,E as s,N as t,k as u,P as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},l="63.141.57.109",p={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},h=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,_=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",g=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",A=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",E=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),I={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},N={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},y="https://www.google.com/s2/favicons?sz=64&domain_url=",k="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",P="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",L=["stats","changelog","terms","privacy","abuse"],v=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],T=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],b=new Set(["com","co","net","org","edu","gov","in"]),f=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),O={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},S="cl7pj5kq4006835rbjlt2ofka",C="clqei1lgc0000vsnzi01pbf47",M=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,l as c,p as d,d as e,u as f,m as g,h,o as i,t as j,_ as k,e as l,g as m,A as n,x as o,E as p,I as q,N as r,y as s,k as t,P as u,L as v,v as w,T as x,b as y,f as z,O as A,S as B,C,M as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:1},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{name:"Pro",tagline:"For startups & small businesses",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ"]},limits:{links:250,clicks:25e3,domains:10},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"1-year analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{name:"Business",tagline:"For larger teams with increased usage",price:{monthly:49,yearly:39,ids:[]},limits:{links:1e3,clicks:1e5,domains:20},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",price:{monthly:null,yearly:null},limits:{links:null,clicks:null,domains:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}],n=r.filter(o=>o.name==="Pro"||o.name==="Business");var p={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},d="63.141.57.109",u={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},m={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},_={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},h={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},g=100,s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,A=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",x=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",E=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),I=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",N=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),P={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},y={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},k="https://www.google.com/s2/favicons?sz=64&domain_url=",L="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",v="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",f=["stats","changelog","terms","privacy","abuse"],T=[{slug:s,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],b=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],S=new Set(["com","co","net","org","edu","gov","in"]),O=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),C={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},M="cl7pj5kq4006835rbjlt2ofka",D="clqei1lgc0000vsnzi01pbf47",w=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{r as a,n as b,p as c,d,u as e,m as f,_ as g,h,g as i,s as j,t as k,A as l,e as m,x as n,E as o,I as p,N as q,P as r,y as s,k as t,L as u,v,f as w,T as x,b as y,S as z,O as A,C as B,M as C,D,w as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var s=[{plan:"Free",tagline:"For hobby & side projects",price:{monthly:{amount:0},yearly:{amount:0}},limits:{links:25,clicks:1e3},colors:{bg:"bg-black",text:"text-black"},cta:{text:"Start for free",href:e,color:"bg-black border-black hover:text-black"},featureTitle:"What's included:",features:[{text:" 25 links/mo"},{text:" 1K tracked clicks/mo"},{text:"30-day analytics retention"},{text:"1 custom domain"},{text:"1 user"},{text:"Community support",footnote:"Help center + GitHub discussions."},{text:"API Access",footnote:{title:"Programatically manage your links using our REST API.",cta:"Learn more.",href:`${t}/docs/api-reference/introduction`}}]},{plan:"Pro",tagline:"For startups & small businesses",price:{monthly:{amount:24,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:19,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},ids:["price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2","price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"]},limits:{links:250,clicks:25e3},colors:{bg:"bg-blue-500",text:"text-blue-500"},cta:{text:"Get started with Pro",shortText:"Get started",href:e,color:"bg-blue-500 border-blue-500 hover:text-blue-500"},featureTitle:"Everything in Free, plus:",features:[{text:" 250 links/mo"},{text:" 25K tracked clicks/mo"},{text:"90-day analytics retention"},{text:"10 custom domains"},{text:"5 users"},{text:"Basic support",footnote:"Basic email support."},{text:"Root domain redirect",footnote:{title:"Redirect vistors that land on the root of your domain (e.g. yourdomain.com) to a page of your choice.",cta:"Learn more.",href:`${t}/help/article/how-to-redirect-root-domain`}},{text:"Advanced link features",footnote:"Custom social media cards, password-protected links, link expiration, link cloaking, device targeting, geo targeting, link aliases, link monitoring etc."}]},{plan:"Business",tagline:"For larger teams with increased usage",price:{monthly:{amount:49,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}},yearly:{amount:39,id:{test:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2",production:"price_1JQZ2nGZqyqZ4Z2Z2Z2Z2Z2Z2"}}},limits:{links:1e3,clicks:1e5},colors:{bg:"bg-sky-900",text:"text-sky-900"},cta:{text:"Get started with Business",shortText:"Get started",href:e,color:"bg-sky-900 border-sky-900 hover:text-sky-900"},featureTitle:"Everything in Pro, plus:",features:[{text:" 1,000 links/mo"},{text:" 100K tracked clicks/mo"},{text:"2-year analytics retention"},{text:"20 custom domains"},{text:"15 users"},{text:"Elevated support",footnote:"Email and chat support."},{text:"Custom branding",footnote:{title:"Set custom QR code logos, password-protected links logos, and more.",cta:"Learn more.",href:`${t}/help/article/custom-qr-codes`}},{text:"Event callbacks",footnote:"Get notified when someone clicks on your links."}]},{plan:"Enterprise",price:{monthly:{amount:null},yearly:{amount:null}},limits:{links:null,clicks:null},colors:{bg:"bg-violet-600",text:"text-violet-600"},cta:{text:"Contact us",href:"/enterprise",color:"bg-violet-600 border-violet-600 hover:text-violet-600"},featureTitle:"Everything in Business, plus:",features:[{text:"Custom usage limits"},{text:"Volume discounts"},{text:"SSO/SAML"},{text:"Role-based access controls"},{text:"Custom contract & SLA"},{text:"Whiteglove onboarding"},{text:"Dedicated success manager"},{text:"Priority support"},{text:"Dedicated Slack channel"}]}];var c={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},p="63.141.57.109",l={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},d={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},u={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},m={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}},_=100,o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",t=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,h=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),e=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://localhost:8888",Z=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NGROK_URL||"http://localhost:8888",g=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),A=process.env.NEXT_PUBLIC_VERCEL_ENV==="production"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:process.env.NEXT_PUBLIC_VERCEL_ENV==="preview"?`https://api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`:"http://api.localhost:8888",y=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),x={home:"https://dub.co",dub:"https://dub.co",signin:"https://app.dub.co/login",login:"https://app.dub.co/login",register:"https://app.dub.co/register",signup:"https://app.dub.co/register",app:"https://app.dub.co",dashboard:"https://app.dub.co",links:"https://app.dub.co/links",settings:"https://app.dub.co/settings",welcome:"https://app.dub.co/welcome",discord:"https://twitter.com/dubdotco"},I={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},E="https://www.google.com/s2/favicons?sz=64&domain_url=",N="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",k="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",P=["stats","changelog","terms","privacy","abuse"],L=[{slug:o,verified:!0,primary:!0,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[]},...process.env.NEXT_PUBLIC_IS_DUB?[{slug:"chatg.pt",verified:!0,primary:!1,target:"https://dub.co/tools/chatgpt-link-shortener",type:"redirect",placeholder:"https://chat.openai.com/g/g-UGjKKONEe-domainsgpt",clicks:0,allowedHostnames:["chat.openai.com"]},{slug:"amzn.id",verified:!0,primary:!1,target:"https://dub.co/tools/amazon-link-shortener",type:"redirect",placeholder:"https://www.amazon.com/dp/B0BW4SWNC8",clicks:0,allowedHostnames:["amazon.com","amazon.co.uk","amazon.ca"]},{slug:"spti.fi",verified:!0,primary:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"]}]:[]],v=[{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code Generator",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],T=new Set(["com","co","net","org","edu","gov","in"]),b=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),f={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",proxy:!1},O="cl7pj5kq4006835rbjlt2ofka",S="clqei1lgc0000vsnzi01pbf47",C=[{name:"Okta",logo:"/_static/icons/okta.svg",saml:"okta",samlModalCopy:"Metadata URL",scim:"okta-scim-v2",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1},{name:"Azure AD",logo:"/_static/icons/azure.svg",saml:"azure",samlModalCopy:"App Federation Metadata URL",scim:"azure-scim-v2",scimModalCopy:{url:"Tenant URL",token:"Secret Token"},wip:!1},{name:"Google",logo:"/_static/icons/google.svg",saml:"google",samlModalCopy:"XML Metadata File",scim:"google",scimModalCopy:{url:"SCIM 2.0 Base URL",token:"OAuth Bearer Token"},wip:!1}];export{s as a,c as b,p as c,l as d,d as e,u as f,m as g,_ as h,o as i,t as j,h as k,e as l,Z as m,g as n,A as o,y as p,x as q,I as r,E as s,N as t,k as u,P as v,L as w,v as x,T as y,b as z,f as A,O as B,S as C,C as D};
|
|
@@ -1,6 +1,215 @@
|
|
|
1
1
|
export { default as ccTLDs } from './cctlds.js';
|
|
2
2
|
export { default as COUNTRIES } from './countries.js';
|
|
3
3
|
|
|
4
|
+
declare const PLANS: ({
|
|
5
|
+
name: string;
|
|
6
|
+
tagline: string;
|
|
7
|
+
price: {
|
|
8
|
+
monthly: number;
|
|
9
|
+
yearly: number;
|
|
10
|
+
ids?: undefined;
|
|
11
|
+
};
|
|
12
|
+
limits: {
|
|
13
|
+
links: number;
|
|
14
|
+
clicks: number;
|
|
15
|
+
domains: number;
|
|
16
|
+
};
|
|
17
|
+
colors: {
|
|
18
|
+
bg: string;
|
|
19
|
+
text: string;
|
|
20
|
+
};
|
|
21
|
+
cta: {
|
|
22
|
+
text: string;
|
|
23
|
+
href: string;
|
|
24
|
+
color: string;
|
|
25
|
+
shortText?: undefined;
|
|
26
|
+
};
|
|
27
|
+
featureTitle: string;
|
|
28
|
+
features: ({
|
|
29
|
+
text: string;
|
|
30
|
+
footnote?: undefined;
|
|
31
|
+
} | {
|
|
32
|
+
text: string;
|
|
33
|
+
footnote: string;
|
|
34
|
+
} | {
|
|
35
|
+
text: string;
|
|
36
|
+
footnote: {
|
|
37
|
+
title: string;
|
|
38
|
+
cta: string;
|
|
39
|
+
href: string;
|
|
40
|
+
};
|
|
41
|
+
})[];
|
|
42
|
+
} | {
|
|
43
|
+
name: string;
|
|
44
|
+
tagline: string;
|
|
45
|
+
price: {
|
|
46
|
+
monthly: number;
|
|
47
|
+
yearly: number;
|
|
48
|
+
ids: string[];
|
|
49
|
+
};
|
|
50
|
+
limits: {
|
|
51
|
+
links: number;
|
|
52
|
+
clicks: number;
|
|
53
|
+
domains: number;
|
|
54
|
+
};
|
|
55
|
+
colors: {
|
|
56
|
+
bg: string;
|
|
57
|
+
text: string;
|
|
58
|
+
};
|
|
59
|
+
cta: {
|
|
60
|
+
text: string;
|
|
61
|
+
shortText: string;
|
|
62
|
+
href: string;
|
|
63
|
+
color: string;
|
|
64
|
+
};
|
|
65
|
+
featureTitle: string;
|
|
66
|
+
features: ({
|
|
67
|
+
text: string;
|
|
68
|
+
footnote?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
text: string;
|
|
71
|
+
footnote: string;
|
|
72
|
+
} | {
|
|
73
|
+
text: string;
|
|
74
|
+
footnote: {
|
|
75
|
+
title: string;
|
|
76
|
+
cta: string;
|
|
77
|
+
href: string;
|
|
78
|
+
};
|
|
79
|
+
})[];
|
|
80
|
+
} | {
|
|
81
|
+
name: string;
|
|
82
|
+
price: {
|
|
83
|
+
monthly: null;
|
|
84
|
+
yearly: null;
|
|
85
|
+
ids?: undefined;
|
|
86
|
+
};
|
|
87
|
+
limits: {
|
|
88
|
+
links: null;
|
|
89
|
+
clicks: null;
|
|
90
|
+
domains: null;
|
|
91
|
+
};
|
|
92
|
+
colors: {
|
|
93
|
+
bg: string;
|
|
94
|
+
text: string;
|
|
95
|
+
};
|
|
96
|
+
cta: {
|
|
97
|
+
text: string;
|
|
98
|
+
href: string;
|
|
99
|
+
color: string;
|
|
100
|
+
shortText?: undefined;
|
|
101
|
+
};
|
|
102
|
+
featureTitle: string;
|
|
103
|
+
features: {
|
|
104
|
+
text: string;
|
|
105
|
+
}[];
|
|
106
|
+
tagline?: undefined;
|
|
107
|
+
})[];
|
|
108
|
+
declare const SELF_SERVE_PAID_PLANS: ({
|
|
109
|
+
name: string;
|
|
110
|
+
tagline: string;
|
|
111
|
+
price: {
|
|
112
|
+
monthly: number;
|
|
113
|
+
yearly: number;
|
|
114
|
+
ids?: undefined;
|
|
115
|
+
};
|
|
116
|
+
limits: {
|
|
117
|
+
links: number;
|
|
118
|
+
clicks: number;
|
|
119
|
+
domains: number;
|
|
120
|
+
};
|
|
121
|
+
colors: {
|
|
122
|
+
bg: string;
|
|
123
|
+
text: string;
|
|
124
|
+
};
|
|
125
|
+
cta: {
|
|
126
|
+
text: string;
|
|
127
|
+
href: string;
|
|
128
|
+
color: string;
|
|
129
|
+
shortText?: undefined;
|
|
130
|
+
};
|
|
131
|
+
featureTitle: string;
|
|
132
|
+
features: ({
|
|
133
|
+
text: string;
|
|
134
|
+
footnote?: undefined;
|
|
135
|
+
} | {
|
|
136
|
+
text: string;
|
|
137
|
+
footnote: string;
|
|
138
|
+
} | {
|
|
139
|
+
text: string;
|
|
140
|
+
footnote: {
|
|
141
|
+
title: string;
|
|
142
|
+
cta: string;
|
|
143
|
+
href: string;
|
|
144
|
+
};
|
|
145
|
+
})[];
|
|
146
|
+
} | {
|
|
147
|
+
name: string;
|
|
148
|
+
tagline: string;
|
|
149
|
+
price: {
|
|
150
|
+
monthly: number;
|
|
151
|
+
yearly: number;
|
|
152
|
+
ids: string[];
|
|
153
|
+
};
|
|
154
|
+
limits: {
|
|
155
|
+
links: number;
|
|
156
|
+
clicks: number;
|
|
157
|
+
domains: number;
|
|
158
|
+
};
|
|
159
|
+
colors: {
|
|
160
|
+
bg: string;
|
|
161
|
+
text: string;
|
|
162
|
+
};
|
|
163
|
+
cta: {
|
|
164
|
+
text: string;
|
|
165
|
+
shortText: string;
|
|
166
|
+
href: string;
|
|
167
|
+
color: string;
|
|
168
|
+
};
|
|
169
|
+
featureTitle: string;
|
|
170
|
+
features: ({
|
|
171
|
+
text: string;
|
|
172
|
+
footnote?: undefined;
|
|
173
|
+
} | {
|
|
174
|
+
text: string;
|
|
175
|
+
footnote: string;
|
|
176
|
+
} | {
|
|
177
|
+
text: string;
|
|
178
|
+
footnote: {
|
|
179
|
+
title: string;
|
|
180
|
+
cta: string;
|
|
181
|
+
href: string;
|
|
182
|
+
};
|
|
183
|
+
})[];
|
|
184
|
+
} | {
|
|
185
|
+
name: string;
|
|
186
|
+
price: {
|
|
187
|
+
monthly: null;
|
|
188
|
+
yearly: null;
|
|
189
|
+
ids?: undefined;
|
|
190
|
+
};
|
|
191
|
+
limits: {
|
|
192
|
+
links: null;
|
|
193
|
+
clicks: null;
|
|
194
|
+
domains: null;
|
|
195
|
+
};
|
|
196
|
+
colors: {
|
|
197
|
+
bg: string;
|
|
198
|
+
text: string;
|
|
199
|
+
};
|
|
200
|
+
cta: {
|
|
201
|
+
text: string;
|
|
202
|
+
href: string;
|
|
203
|
+
color: string;
|
|
204
|
+
shortText?: undefined;
|
|
205
|
+
};
|
|
206
|
+
featureTitle: string;
|
|
207
|
+
features: {
|
|
208
|
+
text: string;
|
|
209
|
+
}[];
|
|
210
|
+
tagline?: undefined;
|
|
211
|
+
})[];
|
|
212
|
+
|
|
4
213
|
declare const LOCALHOST_GEO_DATA: {
|
|
5
214
|
city: string;
|
|
6
215
|
region: string;
|
|
@@ -111,7 +320,6 @@ declare const ALL_TOOLS: {
|
|
|
111
320
|
name: string;
|
|
112
321
|
slug: string;
|
|
113
322
|
}[];
|
|
114
|
-
|
|
115
323
|
declare const SECOND_LEVEL_DOMAINS: Set<string>;
|
|
116
324
|
declare const SPECIAL_APEX_DOMAINS: Set<string>;
|
|
117
325
|
declare const DEFAULT_LINK_PROPS: {
|
|
@@ -146,4 +354,4 @@ declare const SAML_PROVIDERS: {
|
|
|
146
354
|
wip: boolean;
|
|
147
355
|
}[];
|
|
148
356
|
|
|
149
|
-
export { ADMIN_HOSTNAMES, ALL_TOOLS, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, DEFAULT_LINK_PROPS, DEFAULT_REDIRECTS, DUB_DOMAINS, DUB_HEADERS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, GOOGLE_FAVICON_URL, HIDE_BACKGROUND_SEGMENTS, HOME_DOMAIN, LEGAL_USER_ID, LOCALHOST_GEO_DATA, LOCALHOST_IP, PAGINATION_LIMIT, SAML_PROVIDERS, SECOND_LEVEL_DOMAINS, SHORT_DOMAIN, SPECIAL_APEX_DOMAINS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS };
|
|
357
|
+
export { ADMIN_HOSTNAMES, ALL_TOOLS, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, DEFAULT_LINK_PROPS, DEFAULT_REDIRECTS, DUB_DOMAINS, DUB_HEADERS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, GOOGLE_FAVICON_URL, HIDE_BACKGROUND_SEGMENTS, HOME_DOMAIN, LEGAL_USER_ID, LOCALHOST_GEO_DATA, LOCALHOST_IP, PAGINATION_LIMIT, PLANS, SAML_PROVIDERS, SECOND_LEVEL_DOMAINS, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, SPECIAL_APEX_DOMAINS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as C,B as D,C as E,a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as z,y as A,z as B}from"../chunk-
|
|
1
|
+
import{A as C,B as D,C as E,D as F,E as G,a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as z,y as A,z as B}from"../chunk-7BOFASLY.mjs";import{a}from"../chunk-MODISIUH.mjs";import{a as b}from"../chunk-3P54C65P.mjs";export{s as ADMIN_HOSTNAMES,A as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,b as COUNTRIES,D as DEFAULT_LINK_PROPS,t as DEFAULT_REDIRECTS,z as DUB_DOMAINS,u as DUB_HEADERS,w as DUB_LOGO,E as DUB_PROJECT_ID,x as DUB_THUMBNAIL,j as FADE_IN_ANIMATION_SETTINGS,g as FRAMER_MOTION_LIST_ITEM_VARIANTS,v as GOOGLE_FAVICON_URL,y as HIDE_BACKGROUND_SEGMENTS,m as HOME_DOMAIN,F as LEGAL_USER_ID,e as LOCALHOST_GEO_DATA,f as LOCALHOST_IP,k as PAGINATION_LIMIT,c as PLANS,G as SAML_PROVIDERS,B as SECOND_LEVEL_DOMAINS,d as SELF_SERVE_PAID_PLANS,l as SHORT_DOMAIN,C as SPECIAL_APEX_DOMAINS,h as STAGGER_CHILD_VARIANTS,i as SWIPE_REVEAL_ANIMATION_SETTINGS,a as ccTLDs};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import { Metadata } from 'next';
|
|
3
|
-
export { ADMIN_HOSTNAMES, ALL_TOOLS, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, DEFAULT_LINK_PROPS, DEFAULT_REDIRECTS, DUB_DOMAINS, DUB_HEADERS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, GOOGLE_FAVICON_URL, HIDE_BACKGROUND_SEGMENTS, HOME_DOMAIN, LEGAL_USER_ID, LOCALHOST_GEO_DATA, LOCALHOST_IP, PAGINATION_LIMIT, SAML_PROVIDERS, SECOND_LEVEL_DOMAINS, SHORT_DOMAIN, SPECIAL_APEX_DOMAINS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS } from './constants/index.js';
|
|
3
|
+
export { ADMIN_HOSTNAMES, ALL_TOOLS, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, DEFAULT_LINK_PROPS, DEFAULT_REDIRECTS, DUB_DOMAINS, DUB_HEADERS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, GOOGLE_FAVICON_URL, HIDE_BACKGROUND_SEGMENTS, HOME_DOMAIN, LEGAL_USER_ID, LOCALHOST_GEO_DATA, LOCALHOST_IP, PAGINATION_LIMIT, PLANS, SAML_PROVIDERS, SECOND_LEVEL_DOMAINS, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, SPECIAL_APEX_DOMAINS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS } from './constants/index.js';
|
|
4
4
|
export { default as ccTLDs } from './constants/cctlds.js';
|
|
5
5
|
export { default as COUNTRIES } from './constants/countries.js';
|
|
6
6
|
|
|
@@ -18,7 +18,7 @@ declare function nFormatter(num?: number, opts?: {
|
|
|
18
18
|
digits?: number;
|
|
19
19
|
full?: boolean;
|
|
20
20
|
}): string;
|
|
21
|
-
declare function capitalize(str
|
|
21
|
+
declare function capitalize(str?: string | null): string | null | undefined;
|
|
22
22
|
declare const chunk: <T>(array: T[], chunk_size: number) => T[][];
|
|
23
23
|
declare function linkConstructor({ domain, key, localhost, pretty, noDomain, }: {
|
|
24
24
|
domain?: string;
|
|
@@ -38,6 +38,111 @@ declare const getFirstAndLastDay: (day: number) => {
|
|
|
38
38
|
};
|
|
39
39
|
declare const getLastDayOfMonth: () => number;
|
|
40
40
|
declare const getAdjustedBillingCycleStart: (billingCycleStart: number) => number;
|
|
41
|
+
declare const getBillingStartDate: (billingCycleStart: number) => Date;
|
|
42
|
+
declare const getPlanFromPriceId: (priceId: string) => {
|
|
43
|
+
name: string;
|
|
44
|
+
tagline: string;
|
|
45
|
+
price: {
|
|
46
|
+
monthly: number;
|
|
47
|
+
yearly: number;
|
|
48
|
+
ids?: undefined;
|
|
49
|
+
};
|
|
50
|
+
limits: {
|
|
51
|
+
links: number;
|
|
52
|
+
clicks: number;
|
|
53
|
+
domains: number;
|
|
54
|
+
};
|
|
55
|
+
colors: {
|
|
56
|
+
bg: string;
|
|
57
|
+
text: string;
|
|
58
|
+
};
|
|
59
|
+
cta: {
|
|
60
|
+
text: string;
|
|
61
|
+
href: string;
|
|
62
|
+
color: string;
|
|
63
|
+
shortText?: undefined;
|
|
64
|
+
};
|
|
65
|
+
featureTitle: string;
|
|
66
|
+
features: ({
|
|
67
|
+
text: string;
|
|
68
|
+
footnote?: undefined;
|
|
69
|
+
} | {
|
|
70
|
+
text: string;
|
|
71
|
+
footnote: string;
|
|
72
|
+
} | {
|
|
73
|
+
text: string;
|
|
74
|
+
footnote: {
|
|
75
|
+
title: string;
|
|
76
|
+
cta: string;
|
|
77
|
+
href: string;
|
|
78
|
+
};
|
|
79
|
+
})[];
|
|
80
|
+
} | {
|
|
81
|
+
name: string;
|
|
82
|
+
tagline: string;
|
|
83
|
+
price: {
|
|
84
|
+
monthly: number;
|
|
85
|
+
yearly: number;
|
|
86
|
+
ids: string[];
|
|
87
|
+
};
|
|
88
|
+
limits: {
|
|
89
|
+
links: number;
|
|
90
|
+
clicks: number;
|
|
91
|
+
domains: number;
|
|
92
|
+
};
|
|
93
|
+
colors: {
|
|
94
|
+
bg: string;
|
|
95
|
+
text: string;
|
|
96
|
+
};
|
|
97
|
+
cta: {
|
|
98
|
+
text: string;
|
|
99
|
+
shortText: string;
|
|
100
|
+
href: string;
|
|
101
|
+
color: string;
|
|
102
|
+
};
|
|
103
|
+
featureTitle: string;
|
|
104
|
+
features: ({
|
|
105
|
+
text: string;
|
|
106
|
+
footnote?: undefined;
|
|
107
|
+
} | {
|
|
108
|
+
text: string;
|
|
109
|
+
footnote: string;
|
|
110
|
+
} | {
|
|
111
|
+
text: string;
|
|
112
|
+
footnote: {
|
|
113
|
+
title: string;
|
|
114
|
+
cta: string;
|
|
115
|
+
href: string;
|
|
116
|
+
};
|
|
117
|
+
})[];
|
|
118
|
+
} | {
|
|
119
|
+
name: string;
|
|
120
|
+
price: {
|
|
121
|
+
monthly: null;
|
|
122
|
+
yearly: null;
|
|
123
|
+
ids?: undefined;
|
|
124
|
+
};
|
|
125
|
+
limits: {
|
|
126
|
+
links: null;
|
|
127
|
+
clicks: null;
|
|
128
|
+
domains: null;
|
|
129
|
+
};
|
|
130
|
+
colors: {
|
|
131
|
+
bg: string;
|
|
132
|
+
text: string;
|
|
133
|
+
};
|
|
134
|
+
cta: {
|
|
135
|
+
text: string;
|
|
136
|
+
href: string;
|
|
137
|
+
color: string;
|
|
138
|
+
shortText?: undefined;
|
|
139
|
+
};
|
|
140
|
+
featureTitle: string;
|
|
141
|
+
features: {
|
|
142
|
+
text: string;
|
|
143
|
+
}[];
|
|
144
|
+
tagline?: undefined;
|
|
145
|
+
} | null;
|
|
41
146
|
declare const generateDomainFromName: (name: string) => string;
|
|
42
147
|
declare const validDomainRegex: RegExp;
|
|
43
148
|
declare const validKeyRegex: RegExp;
|
|
@@ -67,4 +172,4 @@ declare const log: ({ message, type, mention, }: {
|
|
|
67
172
|
type DeepEqual = (obj1: Record<string, any>, obj2: Record<string, any>) => boolean;
|
|
68
173
|
declare const deepEqual: DeepEqual;
|
|
69
174
|
|
|
70
|
-
export { capitalize, chunk, cn, constructMetadata, constructURLFromUTMParams, deepEqual, fetcher, formatDate, generateDomainFromName, generateMD5Hash, getAdjustedBillingCycleStart, getApexDomain, getDateTimeLocal, getDomainWithoutWWW, getFirstAndLastDay, getLastDayOfMonth, getParamsFromURL, getSearchParams, getSubdomain, getUrlFromString, getUrlWithoutUTMParams, isDubDomain, isValidUrl, linkConstructor, log, nFormatter, nanoid, paramsMetadata, timeAgo, truncate, validDomainRegex, validKeyRegex, validSlugRegex };
|
|
175
|
+
export { capitalize, chunk, cn, constructMetadata, constructURLFromUTMParams, deepEqual, fetcher, formatDate, generateDomainFromName, generateMD5Hash, getAdjustedBillingCycleStart, getApexDomain, getBillingStartDate, getDateTimeLocal, getDomainWithoutWWW, getFirstAndLastDay, getLastDayOfMonth, getParamsFromURL, getPlanFromPriceId, getSearchParams, getSubdomain, getUrlFromString, getUrlWithoutUTMParams, isDubDomain, isValidUrl, linkConstructor, log, nFormatter, nanoid, paramsMetadata, timeAgo, truncate, validDomainRegex, validKeyRegex, validSlugRegex };
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as
|
|
1
|
+
import{A as p,B as J,C as q,D as V,E as G,a as c,b as L,c as R,d as k,e as v,f as A,g as O,h as E,i as T,j as $,k as l,l as N,m as P,n as C,o as F,p as I,q as z,r as K,s as B,t as j,u as H,v as Y,w as Z,x as u,y as W,z as g}from"./chunk-7BOFASLY.mjs";import{a as i}from"./chunk-MODISIUH.mjs";import{a as _}from"./chunk-3P54C65P.mjs";import h from"@sindresorhus/slugify";import{clsx as d}from"clsx";import y from"ms";import{customAlphabet as x}from"nanoid";import{twMerge as D}from"tailwind-merge";function oe(...e){return D(d(e))}function se({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management infrastructure for modern marketing teams to create, share, and track short links.`,image:n="https://dub.co/_static/thumbnail.png",icons:o=[{rel:"apple-touch-icon",sizes:"32x32",url:"/apple-touch-icon.png"},{rel:"icon",type:"image/png",sizes:"32x32",url:"/favicon-32x32.png"},{rel:"icon",type:"image/png",sizes:"16x16",url:"/favicon-16x16.png"}],noIndex:r=!1}={}){return{title:e,description:t,openGraph:{title:e,description:t,images:[{url:n}]},twitter:{card:"summary_large_image",title:e,description:t,images:[n],creator:"@dubdotco"},icons:o,metadataBase:new URL(l),...r&&{robots:{index:!1,follow:!1}}}}var ae=x("0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz",7);async function ie(e,t){let n=await fetch(e,t);if(!n.ok){let o=await n.text(),r=new Error(o);throw r.status=n.status,r}return n.json()}function ce(e,t={digits:1}){if(!e)return"0";if(t.full)return Intl.NumberFormat("en-US").format(e);let n=[{value:1,symbol:""},{value:1e3,symbol:"K"},{value:1e6,symbol:"M"},{value:1e9,symbol:"G"},{value:1e12,symbol:"T"},{value:1e15,symbol:"P"},{value:1e18,symbol:"E"}],o=/\.0+$|(\.[0-9]*[1-9])0+$/;var r=n.slice().reverse().find(function(s){return e>=s.value});return r?(e/r.value).toFixed(t.digits).replace(o,"$1")+r.symbol:"0"}function le(e){return!e||typeof e!="string"?e:e.charAt(0).toUpperCase()+e.slice(1)}var ue=(e,t)=>e.reduce((n,o,r)=>{let s=Math.floor(r/t);return n[s]||(n[s]=[]),n[s].push(o),n},[]);function ge({domain:e="dub.sh",key:t,localhost:n,pretty:o,noDomain:r}){let s=`${n?"http://home.localhost:8888":`https://${e}`}${t&&t!=="_root"?`/${t}`:""}`;return r?`/${t}`:o?s.replace(/^https?:\/\//,""):s}var pe=(e,{withAgo:t}={})=>{if(!e)return"Never";let n=Date.now()-new Date(e).getTime();return n<1e3?"Just now":n>828e5?new Date(e).toLocaleDateString("en-US",{month:"short",day:"numeric",year:new Date(e).getFullYear()!==new Date().getFullYear()?"numeric":void 0}):`${y(n)}${t?" ago":""}`},me=e=>{let t=e?new Date(e):new Date;return t.toString()==="Invalid Date"?"":new Date(t.getTime()-t.getTimezoneOffset()*6e4).toISOString().split(":").slice(0,2).join(":")},fe=e=>new Date(`${e}T00:00:00Z`).toLocaleDateString("en-US",{day:"numeric",month:"long",year:"numeric",timeZone:"UTC"}),he=e=>{let t=new Date,n=t.getDate(),o=t.getMonth(),r=t.getFullYear();if(n>=e)return{firstDay:new Date(r,o,e),lastDay:new Date(r,o+1,e-1)};{let s=o===0?r-1:r,a=o===0?11:o-1;return{firstDay:new Date(s,a,e),lastDay:new Date(r,o,e-1)}}},w=()=>{let e=new Date;return new Date(e.getFullYear(),e.getMonth()+1,0).getDate()},b=e=>{let t=w();return e>t?t:e},de=e=>{let t=new Date,n=t.getDate(),o=t.getMonth(),r=t.getFullYear(),s=b(e);if(n<=s){let a=o===0?11:o-1,f=o===0?r-1:r;return new Date(f,a,s)}else return new Date(r,o,s)},ye=e=>c.find(t=>{var n;return(n=t.price.ids)==null?void 0:n.includes(e)})||null,xe=e=>{let t=h(e,{separator:""});if(t.length<3)return"";if(i.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let n=t.replace(/[aeiou]/g,"");return n.length>=3&&i.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[t,n].reduce((r,s)=>r.length<s.length?r:s)}.to`},De=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),we=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),be=new RegExp(/^[a-zA-Z0-9\-]+$/),Se=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),Ue=e=>{let t;try{t=new URL(e.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(t==="youtu.be")return"youtube.com";if(t==="raw.githubusercontent.com")return"github.com";if(t.endsWith(".vercel.app"))return"vercel.app";let n=t.split(".");return n.length>2?g.has(n[n.length-2])&&i.has(n[n.length-1])||p.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):t},m=e=>{try{return new URL(e),!0}catch{return!1}},Me=e=>{if(m(e))return new URL(e).toString();try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).toString()}catch{return null}},_e=e=>{if(m(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},Le=e=>u.some(t=>t.slug===e),Re=e=>{let t={};return new URL(e).searchParams.forEach(function(n,o){t[o]=n}),t},ke=(e,t)=>!e||e.length<=t?e:`${e.slice(0,t-3)}...`,ve=e=>{if(!e)return{};try{let t=new URL(e).searchParams,n={};for(let[o,r]of t.entries())r&&r!==""&&(n[o]=r);return n}catch{return{}}},Ae=(e,t)=>{if(!e)return"";try{let n=new URL(e);for(let[o,r]of Object.entries(t))r===""?n.searchParams.delete(o):n.searchParams.set(o,r);return n.toString()}catch{return""}},S=[{display:"Referral (ref)",key:"ref",examples:"twitter, facebook"},{display:"UTM Source",key:"utm_source",examples:"twitter, facebook"},{display:"UTM Medium",key:"utm_medium",examples:"social, email"},{display:"UTM Campaign",key:"utm_campaign",examples:"summer_sale"},{display:"UTM Term",key:"utm_term",examples:"blue_shoes"},{display:"UTM Content",key:"utm_content",examples:"logolink"}],Oe=e=>{try{let t=new URL(e);return S.forEach(n=>t.searchParams.delete(n.key)),t.toString()}catch{return e}};async function Ee(e){let n=new TextEncoder().encode(e),o=await crypto.subtle.digest("MD5",n);return Array.from(new Uint8Array(o)).map(a=>a.toString(16).padStart(2,"0")).join("")}var U={cron:process.env.DUB_SLACK_HOOK_CRON,links:process.env.DUB_SLACK_HOOK_LINKS},Te=async({message:e,type:t,mention:n=!1})=>{(process.env.NODE_ENV==="development"||!process.env.DUB_SLACK_HOOK_CRON||!process.env.DUB_SLACK_HOOK_LINKS)&&console.log(e);let o=U[t];if(!!o)try{return await fetch(o,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({blocks:[{type:"section",text:{type:"mrkdwn",text:`${n?"<@U0404G6J3NJ> ":""}${e}`}}]})})}catch(r){console.log(`Failed to log to Dub Slack. Error: ${r}`)}},M=(e,t)=>{if(e===t)return!0;if(typeof e!="object"||typeof t!="object"||e===null||t===null)return!1;let n=Object.keys(e),o=Object.keys(t);if(n.length!==o.length)return!1;for(let r of n)if(!o.includes(r)||!M(e[r],t[r]))return!1;return!0};export{z as ADMIN_HOSTNAMES,W as ALL_TOOLS,I as API_DOMAIN,F as API_HOSTNAMES,P as APP_DOMAIN,C as APP_DOMAIN_WITH_NGROK,N as APP_HOSTNAMES,_ as COUNTRIES,J as DEFAULT_LINK_PROPS,K as DEFAULT_REDIRECTS,u as DUB_DOMAINS,B as DUB_HEADERS,H as DUB_LOGO,q as DUB_PROJECT_ID,Y as DUB_THUMBNAIL,E as FADE_IN_ANIMATION_SETTINGS,v as FRAMER_MOTION_LIST_ITEM_VARIANTS,j as GOOGLE_FAVICON_URL,Z as HIDE_BACKGROUND_SEGMENTS,l as HOME_DOMAIN,V as LEGAL_USER_ID,R as LOCALHOST_GEO_DATA,k as LOCALHOST_IP,T as PAGINATION_LIMIT,c as PLANS,G as SAML_PROVIDERS,g as SECOND_LEVEL_DOMAINS,L as SELF_SERVE_PAID_PLANS,$ as SHORT_DOMAIN,p as SPECIAL_APEX_DOMAINS,A as STAGGER_CHILD_VARIANTS,O as SWIPE_REVEAL_ANIMATION_SETTINGS,le as capitalize,i as ccTLDs,ue as chunk,oe as cn,se as constructMetadata,Ae as constructURLFromUTMParams,M as deepEqual,ie as fetcher,fe as formatDate,xe as generateDomainFromName,Ee as generateMD5Hash,b as getAdjustedBillingCycleStart,Ue as getApexDomain,de as getBillingStartDate,me as getDateTimeLocal,_e as getDomainWithoutWWW,he as getFirstAndLastDay,w as getLastDayOfMonth,ve as getParamsFromURL,ye as getPlanFromPriceId,Re as getSearchParams,Se as getSubdomain,Me as getUrlFromString,Oe as getUrlWithoutUTMParams,Le as isDubDomain,m as isValidUrl,ge as linkConstructor,Te as log,ce as nFormatter,ae as nanoid,S as paramsMetadata,pe as timeAgo,ke as truncate,De as validDomainRegex,we as validKeyRegex,be as validSlugRegex};
|