@dub/utils 0.0.28 → 0.0.30
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/chunk-2CBXK3IX.mjs +1 -0
- package/dist/chunk-2JOG52JO.mjs +1 -0
- package/dist/chunk-2RCZ6Q6L.mjs +1 -0
- package/dist/chunk-2SICE2ZS.mjs +1 -0
- package/dist/chunk-2TURBZEL.mjs +1 -0
- package/dist/chunk-3C2XEUEU.mjs +1 -0
- package/dist/chunk-3DLEUJV3.mjs +1 -0
- package/dist/chunk-3OOMLTJU.mjs +1 -0
- package/dist/chunk-3UBZ222G.mjs +1 -0
- package/dist/chunk-46LXJSPI.mjs +1 -0
- package/dist/chunk-4CH6MXF3.mjs +1 -0
- package/dist/chunk-4M6WGMF5.mjs +1 -0
- package/dist/chunk-4Q6OLEY4.mjs +1 -0
- package/dist/chunk-4RSTNN7M.mjs +1 -0
- package/dist/chunk-4UYPINYJ.mjs +1 -0
- package/dist/chunk-4VHMU2SN.mjs +1 -0
- package/dist/chunk-5FPTMLJS.mjs +1 -0
- package/dist/chunk-5IKS3MYC.mjs +1 -0
- package/dist/chunk-5KZBTOIK.mjs +1 -0
- package/dist/chunk-5SBJ6SVD.mjs +1 -0
- package/dist/chunk-5UMPAJJX.mjs +1 -0
- package/dist/chunk-5VUO5P2B.mjs +1 -0
- package/dist/chunk-63ND5Z3I.mjs +1 -0
- package/dist/chunk-664ZT47I.mjs +1 -0
- package/dist/chunk-6F4SZBJ3.mjs +1 -0
- package/dist/chunk-6MXR5XLJ.mjs +1 -0
- package/dist/chunk-6Q2MCPZP.mjs +1 -0
- package/dist/chunk-6SBJPILW.mjs +1 -0
- package/dist/chunk-6VWTK5CW.mjs +1 -0
- package/dist/chunk-6ZJZL5CL.mjs +1 -0
- package/dist/chunk-76VXH2L6.mjs +1 -0
- package/dist/chunk-A4FADA67.mjs +1 -0
- package/dist/chunk-ABQ54CVL.mjs +1 -0
- package/dist/chunk-AIRQ6LHD.mjs +1 -0
- package/dist/chunk-ALOPKGPB.mjs +1 -0
- package/dist/chunk-ARUFZ3N7.mjs +1 -0
- package/dist/chunk-B4R2MH5C.mjs +1 -0
- package/dist/chunk-BEVRCJ4O.mjs +1 -0
- package/dist/chunk-BF4VFD3F.mjs +1 -0
- package/dist/chunk-C6XEPXSI.mjs +1 -0
- package/dist/chunk-CFRAJHSR.mjs +1 -0
- package/dist/chunk-CGKMNADD.mjs +1 -0
- package/dist/chunk-CLZKQYIL.mjs +1 -0
- package/dist/chunk-CWX6UGU4.mjs +1 -0
- package/dist/chunk-DNDRN3T4.mjs +1 -0
- package/dist/chunk-DPUZZ3ID.mjs +1 -0
- package/dist/chunk-DWGAAIZ7.mjs +1 -0
- package/dist/chunk-DZ5GL4XN.mjs +1 -0
- package/dist/chunk-E5X57EHU.mjs +1 -0
- package/dist/chunk-E67KYH6T.mjs +1 -0
- package/dist/chunk-EA7SA6OZ.mjs +1 -0
- package/dist/chunk-EEEOYXQI.mjs +1 -0
- package/dist/chunk-EHLVQXPN.mjs +1 -0
- package/dist/chunk-EMGP7EVH.mjs +1 -0
- package/dist/chunk-ET54P7CM.mjs +1 -0
- package/dist/chunk-FEGM4SDU.mjs +1 -0
- package/dist/chunk-FKZO6ZCE.mjs +1 -0
- package/dist/chunk-FYXE2IZT.mjs +1 -0
- package/dist/chunk-GDTIZXZ3.mjs +1 -0
- package/dist/chunk-GGIZK3EO.mjs +1 -0
- package/dist/chunk-GLUCCYWG.mjs +1 -0
- package/dist/chunk-GSO7S5NU.mjs +1 -0
- package/dist/chunk-GVB72EOZ.mjs +1 -0
- package/dist/chunk-H2EZ5ZIA.mjs +1 -0
- package/dist/chunk-H3CKT4E4.mjs +1 -0
- package/dist/chunk-HBI3VUWA.mjs +1 -0
- package/dist/chunk-HCAIWJBW.mjs +1 -0
- package/dist/chunk-HHZK2W6M.mjs +1 -0
- package/dist/chunk-HTKASIVN.mjs +1 -0
- package/dist/chunk-HZKMK3KA.mjs +1 -0
- package/dist/chunk-IOI3AZRU.mjs +1 -0
- package/dist/chunk-IVQJMP4E.mjs +1 -0
- package/dist/chunk-IX5HENBH.mjs +1 -0
- package/dist/chunk-JD46NPAZ.mjs +1 -0
- package/dist/chunk-JGFJKSKU.mjs +1 -0
- package/dist/chunk-JQHV2HJR.mjs +1 -0
- package/dist/chunk-JUE3IN3O.mjs +1 -0
- package/dist/chunk-K4QTPYBS.mjs +1 -0
- package/dist/chunk-KKQDG22H.mjs +1 -0
- package/dist/chunk-KKUAJ54V.mjs +1 -0
- package/dist/chunk-KT3MZAWK.mjs +1 -0
- package/dist/chunk-LBQJ5TZQ.mjs +1 -0
- package/dist/chunk-LHYOSLSW.mjs +1 -0
- package/dist/chunk-LKZUZTIO.mjs +1 -0
- package/dist/chunk-LMQ4666D.mjs +1 -0
- package/dist/chunk-LPIDPOIS.mjs +1 -0
- package/dist/chunk-LQLVMKKY.mjs +1 -0
- package/dist/chunk-LREWF6LN.mjs +1 -0
- package/dist/chunk-LVZK27B4.mjs +1 -0
- package/dist/chunk-M36MRN4N.mjs +1 -0
- package/dist/chunk-MW23UGKA.mjs +1 -0
- package/dist/chunk-MWIL2V7E.mjs +1 -0
- package/dist/chunk-NDZIEH7M.mjs +1 -0
- package/dist/chunk-NI6IFTE4.mjs +1 -0
- package/dist/chunk-NQUREBTN.mjs +1 -0
- package/dist/chunk-NZ6LIVRY.mjs +1 -0
- package/dist/chunk-OBU4KABJ.mjs +1 -0
- package/dist/chunk-OQD4PMKZ.mjs +1 -0
- package/dist/chunk-OQGZM33B.mjs +1 -0
- package/dist/chunk-OTWCQOKL.mjs +1 -0
- package/dist/chunk-OWV4H34S.mjs +1 -0
- package/dist/chunk-OWYWG4M6.mjs +1 -0
- package/dist/chunk-PCCGH2UI.mjs +1 -0
- package/dist/chunk-PUFZASP4.mjs +1 -0
- package/dist/chunk-PXBT4TKP.mjs +1 -0
- package/dist/chunk-PXSGKN2A.mjs +1 -0
- package/dist/chunk-QGTFY7PK.mjs +1 -0
- package/dist/chunk-QU7V46PO.mjs +1 -0
- package/dist/chunk-QYTC2VMO.mjs +1 -0
- package/dist/chunk-R3RG2UW3.mjs +1 -0
- package/dist/chunk-RDVXOO55.mjs +1 -0
- package/dist/chunk-RQYMBQ7I.mjs +1 -0
- package/dist/chunk-S62WENCB.mjs +1 -0
- package/dist/chunk-SL5QAJSF.mjs +1 -0
- package/dist/chunk-SNEDSZS7.mjs +1 -0
- package/dist/chunk-SQXHJWOE.mjs +1 -0
- package/dist/chunk-SYT2IXG6.mjs +1 -0
- package/dist/chunk-T3EPQH24.mjs +1 -0
- package/dist/chunk-TLVFY24T.mjs +1 -0
- package/dist/chunk-TM2H2P2D.mjs +1 -0
- package/dist/chunk-TTNDDYLJ.mjs +1 -0
- package/dist/chunk-TVYDH6QM.mjs +1 -0
- package/dist/chunk-TXJYGQAV.mjs +1 -0
- package/dist/chunk-UAGJDHMS.mjs +1 -0
- package/dist/chunk-UD2ICHSZ.mjs +1 -0
- package/dist/chunk-UHFP5VHY.mjs +1 -0
- package/dist/chunk-ULWVKJS4.mjs +1 -0
- package/dist/chunk-UQ5D3U6Z.mjs +1 -0
- package/dist/chunk-UVNDPH4P.mjs +1 -0
- package/dist/chunk-V2RYRJWZ.mjs +1 -0
- package/dist/chunk-VCVRICBE.mjs +1 -0
- package/dist/chunk-VEUP2DC6.mjs +1 -0
- package/dist/chunk-VJZP4EP5.mjs +1 -0
- package/dist/chunk-VOGFN73W.mjs +1 -0
- package/dist/chunk-VT32LSIK.mjs +1 -0
- package/dist/chunk-VTLX43W7.mjs +1 -0
- package/dist/chunk-W67C4SNA.mjs +1 -0
- package/dist/chunk-W7MK4ZQS.mjs +1 -0
- package/dist/chunk-WCOSO55V.mjs +1 -0
- package/dist/chunk-WE5LUVZO.mjs +1 -0
- package/dist/chunk-WEC6YZEP.mjs +1 -0
- package/dist/chunk-WJXI5YEO.mjs +1 -0
- package/dist/chunk-XCPPFNWE.mjs +1 -0
- package/dist/chunk-XEJNQ2MU.mjs +1 -0
- package/dist/chunk-XLREFEL6.mjs +1 -0
- package/dist/chunk-XP4JQI4P.mjs +1 -0
- package/dist/chunk-YDE3WII6.mjs +1 -0
- package/dist/chunk-YOOUKTVN.mjs +1 -0
- package/dist/chunk-ZM4JP5B2.mjs +1 -0
- package/dist/chunk-ZQST7SKH.mjs +1 -0
- package/dist/chunk-ZRPMW6I7.mjs +1 -0
- package/dist/constants/countries.mjs +1 -1
- package/dist/constants/domains.d.ts +4 -0
- package/dist/constants/domains.mjs +1 -0
- package/dist/constants/framer-motion.d.ts +58 -0
- package/dist/constants/framer-motion.mjs +1 -0
- package/dist/constants/index.d.ts +462 -112
- package/dist/constants/index.mjs +1 -1
- package/dist/constants/layout.d.ts +11 -0
- package/dist/constants/layout.mjs +1 -0
- package/dist/constants/localhost.d.ts +10 -0
- package/dist/constants/localhost.mjs +1 -0
- package/dist/constants/middleware.d.ts +21 -0
- package/dist/constants/middleware.mjs +1 -0
- package/dist/constants/misc.d.ts +22 -0
- package/dist/constants/misc.mjs +1 -0
- package/dist/constants/saml.d.ts +14 -0
- package/dist/constants/saml.mjs +1 -0
- package/dist/functions/construct-metadata.mjs +1 -1
- package/dist/functions/domains.mjs +1 -1
- package/dist/functions/index.d.ts +0 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/functions/log.d.ts +1 -1
- package/dist/functions/log.mjs +1 -1
- package/dist/functions/misc.d.ts +4 -1
- package/dist/functions/misc.mjs +1 -1
- package/dist/functions/nanoid.d.ts +1 -1
- package/dist/functions/nanoid.mjs +1 -1
- package/dist/index.d.ts +8 -2
- package/dist/index.mjs +1 -1
- package/dist/url-to-deeplink-ac84c7cb.d.ts +6 -0
- package/package.json +4 -4
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UUWTKITJ.mjs";import{H as c,I as l,a as s}from"./chunk-R3RG2UW3.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import g from"@sindresorhus/slugify";var f=t=>{let e=g(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,o)=>i.length<o.length?i:o)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),x=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),A=new RegExp(/^[a-zA-Z0-9\-]+$/),d=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),D=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";if(e==="raw.githubusercontent.com")return"github.com";if(e.endsWith(".vercel.app"))return"vercel.app";let n=e.split(".");return n.length>2?c.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},R=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>s.some(e=>e.slug===t);export{f as a,w as b,x as c,A as d,d as e,D as f,R as g,S as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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:"5,000 links/mo"},{text:"250K 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],r=o.find(t=>t.name==="free"),i=o.filter(t=>t.name==="Pro"||t.name==="Business"),a=2;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,s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,g=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),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}`:"http://localhost:8888",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}`:process.env.NGROK_URL||"http://localhost:8888",k=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"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",P=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"},L={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},b="https://www.google.com/s2/favicons?sz=64&domain_url=",y="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",N="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",e="cl7pj5kq4006835rbjlt2ofka",v="clrflia0j0000vs7sqfhz9c7q",f="clqei1lgc0000vsnzi01pbf47",T=["stats","changelog","terms","privacy","abuse"],O=[{id:"clce1z7ch00j0rbstbjufva4j",slug:s,verified:!0,primary:!0,archived:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:e},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!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"],projectId:e},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!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"],projectId:e},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:e}]:[]],S=[{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 API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],C=new Set(["com","co","net","org","edu","gov","in"]),w=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),M={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},D=[{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,r as b,i as c,a as d,c as e,l as f,p as g,d as h,u as i,m as j,h as k,s as l,_ as m,g as n,A as o,E as p,k as q,x as r,P as s,I as t,L as u,b as v,y as w,N as x,e as y,v as z,f as A,T as B,O as C,S as D,C as E,w as F,M as G,D as H};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as n}from"./chunk-KKQDG22H.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-I5Y5DKPK.mjs";import{a as g}from"./chunk-UUWTKITJ.mjs";import{a}from"./chunk-YUMUNL66.mjs";import{a as d,b as h}from"./chunk-SYT2IXG6.mjs";import E from"@sindresorhus/slugify";var N=e=>{let t=E(e,{separator:""});if(t.length<3)return"";if(a.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let o=t.replace(/[aeiou]/g,"");return o.length>=3&&a.has(o.slice(-2))?`${o.slice(0,-2)}.${o.slice(-2)}`:`${[t,o].reduce((r,i)=>r.length<i.length?r:i)}.to`},v=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),L=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),y=new RegExp(/^[a-zA-Z0-9\-]+$/),I=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),O=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 o=t.split(".");return o.length>2?d.has(o[o.length-2])&&a.has(o[o.length-1])||h.has(o.slice(-2).join("."))?o.slice(-3).join("."):o.slice(-2).join("."):t},w=e=>{if(g(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}},C=e=>x.some(t=>t.slug===e);var S=e=>n.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null;var l=({name:e="Business",monthly:t=49,yearly:o=39,links:s=5e3,clicks:r=15e4,domains:i=40,tags:m=150,users:u=15,ids:P=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:P},limits:{links:s,clicks:r,domains:i,tags:m,users:u},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:`${c(s,{full:!0})} links/mo`},{text:`${c(r)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${i} custom domains`},{text:`${c(m,{full:!0})} tags`},{text:`${u} 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"}}]}),n=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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."}]},l({name:"Business",monthly:49,yearly:39,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]}),l({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB"]}),l({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:["price_1OnWvCAlJJEpqkPVLzLHx5QD","price_1OnWvCAlJJEpqkPVHhCCvIOq"]}),l({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:["price_1OnWwLAlJJEpqkPVXtJyPqLk","price_1OnWwLAlJJEpqkPV4eMbOkNh"]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],re=n.find(e=>e.name==="Free"),se=n.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ne=2,ie=e=>n[n.findIndex(t=>t.name.toLowerCase()===e)+1];var ce=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",_=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",f=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,le=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),pe=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",me=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",ue=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${_}`,"api.localhost:8888"]),de=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",he=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),ge="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",xe="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",_e="clqo10sum0006js08vutzfxt3",p="cl7pj5kq4006835rbjlt2ofka",fe="clrflia0j0000vs7sqfhz9c7q",Pe="clqei1lgc0000vsnzi01pbf47",x=[{id:"clce1z7ch00j0rbstbjufva4j",slug:_,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:p},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:p},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:p},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:p}]:[]];function De({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:o="https://dub.co/_static/thumbnail.png",icons:s=[{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:o}]},twitter:{card:"summary_large_image",title:e,description:t,images:[o],creator:"@dubdotco"},icons:s,metadataBase:new URL(f),...r&&{robots:{index:!1,follow:!1}}}}export{De as a,N as b,v as c,L as d,y as e,I as f,O as g,w as h,C as i,S as j,n as k,re as l,se as m,ne as n,ie as o,ce as p,_ as q,f as r,le as s,pe as t,me as u,ue as v,de as w,he as x,ge as y,xe as z,_e as A,p as B,fe as C,Pe as D,x as E};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=[{id:"clce1z7ch00j0rbstbjufva4j",slug:o,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:t},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:t},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:t},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:t}]:[]];var n={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},c={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},l={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},p={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}};var s=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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:"5,000 links/mo"},{text:"250K 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],u=s.find(e=>e.name==="Free"),m=s.filter(e=>e.name==="Pro"||e.name==="Business"),_=2;var g=[{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}];var E={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},x="63.141.57.109",P=100,k=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",o=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",I=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,L=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),b=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",y=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",N=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${o}`,"api.localhost:8888"]),f=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",v=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),T={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"},O={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},S="https://www.google.com/s2/favicons?sz=64&domain_url=",C="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",M="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",w="clqo10sum0006js08vutzfxt3",t="cl7pj5kq4006835rbjlt2ofka",D="clrflia0j0000vs7sqfhz9c7q",B="clqei1lgc0000vsnzi01pbf47",R=["stats","changelog","terms","privacy","abuse"],U=[{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 API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],V=new Set(["com","co","net","org","edu","gov","in"]),G=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),J={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};export{a,n as b,c,l as d,p as e,s as f,u as g,m as h,_ as i,g as j,E as k,x as l,P as m,k as n,o,I as p,L as q,b as r,y as s,N as t,f as u,v,T as w,O as x,S as y,C as z,M as A,w as B,t as C,D,B as E,R as F,U as G,V as H,G as I,J};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{n}from"./chunk-PCCGH2UI.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UUWTKITJ.mjs";import{t as l}from"./chunk-VTLX43W7.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import{a as s,b as c}from"./chunk-SYT2IXG6.mjs";import g from"@sindresorhus/slugify";var f=t=>{let e=g(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,o)=>i.length<o.length?i:o)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),x=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),A=new RegExp(/^[a-zA-Z0-9\-]+$/),d=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),D=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";if(e==="raw.githubusercontent.com")return"github.com";if(e.endsWith(".vercel.app"))return"vercel.app";let n=e.split(".");return n.length>2?s.has(n[n.length-2])&&r.has(n[n.length-1])||c.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},R=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>l.some(e=>e.slug===t);export{f as a,w as b,x as c,A as d,d as e,D as f,R as g,S as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UUWTKITJ.mjs";import{I as l,a as s,b as c}from"./chunk-OQGZM33B.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import g from"@sindresorhus/slugify";var f=t=>{let e=g(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,o)=>i.length<o.length?i:o)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),x=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),A=new RegExp(/^[a-zA-Z0-9\-]+$/),d=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),D=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";if(e==="raw.githubusercontent.com")return"github.com";if(e.endsWith(".vercel.app"))return"vercel.app";let n=e.split(".");return n.length>2?s.has(n[n.length-2])&&r.has(n[n.length-1])||c.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},R=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>l.some(e=>e.slug===t);export{f as a,w as b,x as c,A as d,d as e,D as f,R as g,S as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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:"5,000 links/mo"},{text:"250K 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],r=o.find(t=>t.name==="free"),a=o.filter(t=>t.name==="Pro"||t.name==="Business"),i=2;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,s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",_=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,g=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),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}`:"http://localhost:8888",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}`:process.env.NGROK_URL||"http://localhost:8888",k=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"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",P=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"},L={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}},b="https://www.google.com/s2/favicons?sz=64&domain_url=",y="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",N="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",e="cl7pj5kq4006835rbjlt2ofka",v="clrflia0j0000vs7sqfhz9c7q",f="clqei1lgc0000vsnzi01pbf47",T=["stats","changelog","terms","privacy","abuse"],O=[{id:"clce1z7ch00j0rbstbjufva4j",slug:s,verified:!0,primary:!0,archived:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:e},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!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"],projectId:e},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!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","amazon.es"],projectId:e},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:e}]:[]],S=[{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 API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],C=new Set(["com","co","net","org","edu","gov","in"]),w=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]),M={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},D=[{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,r as b,a as c,i as d,c as e,l as f,p as g,d as h,u as i,m as j,h as k,s as l,_ as m,g as n,A as o,E as p,k as q,x as r,P as s,I as t,L as u,b as v,y as w,N as x,e as y,v as z,f as A,T as B,O as C,S as D,C as E,w as F,M as G,D as H};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as n}from"./chunk-CLZKQYIL.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var o=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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:"5,000 links/mo"},{text:"250K 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],r=o.find(t=>t.name==="Free"),c=o.filter(t=>t.name==="Pro"||t.name==="Business"),i=2;var l=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",n=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,p=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),d=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",u=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",m=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),_=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",h=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),P="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",x="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",E="clqo10sum0006js08vutzfxt3",e="cl7pj5kq4006835rbjlt2ofka",k="clrflia0j0000vs7sqfhz9c7q",g="clqei1lgc0000vsnzi01pbf47",f=[{id:"clce1z7ch00j0rbstbjufva4j",slug:s,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:e},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:e},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:e},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:e}]:[]];export{o as a,r as b,c,i as d,l as e,s as f,n as g,p as h,d as i,u as j,m as k,_ as l,h as m,P as n,x as o,E as p,e as q,k as r,g as s,f as t};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as n}from"./chunk-KT3MZAWK.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UUWTKITJ.mjs";import{D as s,F as c,G as l}from"./chunk-RQYMBQ7I.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import g from"@sindresorhus/slugify";var f=t=>{let e=g(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,o)=>i.length<o.length?i:o)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),x=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),A=new RegExp(/^[a-zA-Z0-9\-]+$/),d=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),D=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";if(e==="raw.githubusercontent.com")return"github.com";if(e.endsWith(".vercel.app"))return"vercel.app";let n=e.split(".");return n.length>2?c.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},R=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>s.some(e=>e.slug===t);export{f as a,w as b,x as c,A as d,d as e,D as f,R as g,S as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var a=({url:t,os:e})=>{if(!t)return t;let n=[[/https?:\/\/(?:www\.)?(youtube\.com|youtu\.be)\/([a-zA-Z0-9@_-]+)/,o=>({ios:`vnd.youtube://www.youtube.com/${o[1]}`,android:`intent://www.youtube.com/${o[1]}#Intent;package=com.google.android.youtube;scheme=https;end`})],[/https?:\/\/(?:www\.)?amazon\.(com|ca|co\.uk|in|es)\/([a-zA-Z0-9@_-]+)/,o=>({ios:`com.amazon.mobile.shopping.web://amazon.com/${o[1]}`,android:`com.amazon.mobile.shopping.web://amazon.com/${o[1]}`})],[/https?:\/\/(?:www\.)?instagram\.com\/p\/([a-zA-Z0-9_-]+)/,o=>({ios:`instagram://media?id=${o[1]}`,android:`intent://instagram.com/p/${o[1]}/#Intent;package=com.instagram.android;scheme=https;end`})],[/https?:\/\/(?:www\.)?instagram\.com\/([a-zA-Z0-9_-]+)/,o=>({ios:`instagram://user?username=${o[1]}`,android:`intent://instagram.com/${o[1]}/#Intent;package=com.instagram.android;scheme=https;end`})],[/https?:\/\/open\.spotify\.com\/([a-zA-Z0-9@_-]+)/,o=>({ios:`spotify://${o[1]}`,android:`spotify://${o[1]}`})]];for(let[o,m]of n){let r=t.match(o);if(r)return m(r)[e]}return t};export{a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var e=["stats","changelog","terms","privacy","abuse"],n=[{name:"Spotify Link Shortener",slug:"spotify-link-shortener"},{name:"ChatGPT Link Shortener",slug:"chatgpt-link-shortener"},{name:"Amazon Link Shortener",slug:"amazon-link-shortener"},{name:"Metatags API",slug:"metatags"},{name:"QR Code API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}],t=[{name:"Bitly",slug:"bitly"},{name:"Rebrandly",slug:"rebrandly"},{name:"Short.io",slug:"short"}];export{e as a,n as b,t as c};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{f as i}from"./chunk-EMGP7EVH.mjs";var o=n=>i.find(e=>{var r;return(r=e.price.ids)==null?void 0:r.includes(n)})||null;export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{m as n}from"./chunk-3C2XEUEU.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var i=({url:o,os:r})=>{if(!o)return o;let n=[[/https?:\/\/(?:www\.)?(youtube\.com|youtu\.be)\/([a-zA-Z0-9@_-]+)/,t=>({ios:`vnd.youtube://www.youtube.com/${t[1]}`,android:`intent://www.youtube.com/${t[1]}#Intent;package=com.google.android.youtube;scheme=https;end`})],[/https?:\/\/(?:www\.)?amazon\.(com|ca|co\.uk|in|es)\/([a-zA-Z0-9@_-]+)/,t=>({ios:`com.amazon.mobile.shopping.web://amazon.com/${t[1]}`,android:`com.amazon.mobile.shopping.web://amazon.com/${t[1]}`})],[/https?:\/\/(?:www\.)?instagram\.com\/p\/([a-zA-Z0-9_-]+)/,t=>({ios:`instagram://media?id=${t[1]}`,android:`intent://instagram.com/p/${t[1]}/#Intent;package=com.instagram.android;scheme=https;end`})],[/https?:\/\/(?:www\.)?instagram\.com\/([a-zA-Z0-9_-]+)/,t=>({ios:`instagram://user?username=${t[1]}`,android:`intent://instagram.com/${t[1]}/#Intent;package=com.instagram.android;scheme=https;end`})],[/https?:\/\/open\.spotify\.com\/([a-zA-Z0-9@_-]+)/,t=>({ios:`spotify://${t[1]}`,android:`spotify://${t[1]}`})],[/https?:\/\/(?:www\.)?twitter\.com\/([a-zA-Z0-9_-]+)\/status\/([0-9]+)/,t=>({ios:`twitter://status?id=${t[2]}`,android:`intent://twitter.com/${t[1]}/status/${t[2]}#Intent;package=com.twitter.android;scheme=https;end`})],[/https?:\/\/(?:www\.)?twitter\.com\/([a-zA-Z0-9_-]+)/,t=>({ios:`twitter://user?screen_name=${t[1]}`,android:`intent://twitter.com/${t[1]}/#Intent;package=com.twitter.android;scheme=https;end`})],[/https?:\/\/t\.me\/([a-zA-Z0-9_-]+)/,t=>({ios:`tg://resolve?domain=${t[1]}`,android:`intent://resolve?domain=${t[1]}#Intent;package=org.telegram.messenger;scheme=tg;end`})]];for(let[t,a]of n){let e=o.match(t);if(e)return a(e)[r]}return o};export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-UUWTKITJ.mjs";import{G as c,H as l,a as s}from"./chunk-CLZKQYIL.mjs";import{a as r}from"./chunk-YUMUNL66.mjs";import g from"@sindresorhus/slugify";var f=t=>{let e=g(t,{separator:""});if(e.length<3)return"";if(r.has(e.slice(-2)))return`${e.slice(0,-2)}.${e.slice(-2)}`;let n=e.replace(/[aeiou]/g,"");return n.length>=3&&r.has(n.slice(-2))?`${n.slice(0,-2)}.${n.slice(-2)}`:`${[e,n].reduce((i,o)=>i.length<o.length?i:o)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),x=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),A=new RegExp(/^[a-zA-Z0-9\-]+$/),d=(t,e)=>t===e?null:t.slice(0,t.length-e.length-1),D=t=>{let e;try{e=new URL(t.replace(/^[a-zA-Z]+:\/\//,"https://")).hostname}catch{return""}if(e==="youtu.be")return"youtube.com";if(e==="raw.githubusercontent.com")return"github.com";if(e.endsWith(".vercel.app"))return"vercel.app";let n=e.split(".");return n.length>2?c.has(n[n.length-2])&&r.has(n[n.length-1])||l.has(n.slice(-2).join("."))?n.slice(-3).join("."):n.slice(-2).join("."):e},R=t=>{if(a(t))return new URL(t).hostname.replace(/^www\./,"");try{if(t.includes(".")&&!t.includes(" "))return new URL(`https://${t}`).hostname.replace(/^www\./,"")}catch{return null}},S=t=>s.some(e=>e.slug===t);export{f as a,w as b,x as c,A as d,d as e,D as f,R as g,S as h};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{o as n}from"./chunk-EMGP7EVH.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{g as i}from"./chunk-5KZBTOIK.mjs";var o=n=>i.find(e=>{var r;return(r=e.price.ids)==null?void 0:r.includes(n)})||null;export{o as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"./chunk-I5Y5DKPK.mjs";import{a as g}from"./chunk-UUWTKITJ.mjs";import{a as i}from"./chunk-YUMUNL66.mjs";import{a as d,b as h}from"./chunk-SYT2IXG6.mjs";import E from"@sindresorhus/slugify";var N=e=>{let t=E(e,{separator:""});if(t.length<3)return"";if(i.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let o=t.replace(/[aeiou]/g,"");return o.length>=3&&i.has(o.slice(-2))?`${o.slice(0,-2)}.${o.slice(-2)}`:`${[t,o].reduce((r,n)=>r.length<n.length?r:n)}.to`},y=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),L=new RegExp(/^[a-zA-Z0-9\-]+$/),I=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),w=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 o=t.split(".");return o.length>2?d.has(o[o.length-2])&&i.has(o[o.length-1])||h.has(o.slice(-2).join("."))?o.slice(-3).join("."):o.slice(-2).join("."):t},O=e=>{if(g(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}},B=e=>x.some(t=>t.slug===e);var T=e=>c.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null;var l=({name:e="Business",monthly:t=49,yearly:o=39,links:s=5e3,clicks:r=15e4,domains:n=20,tags:m=150,users:u=15,ids:P=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:P},limits:{links:s,clicks:r,domains:n,tags:m,users:u},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:`${a(s,{full:!0})} links/mo`},{text:`${a(r)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${n} custom domains`},{text:`${a(m,{full:!0})} tags`},{text:`${u} 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"}}]}),c=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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."}]},l({name:"Business",monthly:49,yearly:39,links:5e3,clicks:15e4,domains:40,tags:150,users:15,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]}),l({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,domains:100,tags:300,users:40,ids:["price_1OnWu0AlJJEpqkPVWk4144ZG","price_1OnWu0AlJJEpqkPVkDWVriAB"]}),l({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,domains:250,tags:500,users:100,ids:[]}),l({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,domains:500,tags:1e3,users:250,ids:[]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],re=c.find(e=>e.name==="Free"),se=c.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ne=2;var ae=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",_=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",f=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,ce=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),le=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",pe=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",me=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${_}`,"api.localhost:8888"]),ue=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",de=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),he="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",ge="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",xe="clqo10sum0006js08vutzfxt3",p="cl7pj5kq4006835rbjlt2ofka",_e="clrflia0j0000vs7sqfhz9c7q",fe="clqei1lgc0000vsnzi01pbf47",x=[{id:"clce1z7ch00j0rbstbjufva4j",slug:_,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:p},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:p},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:p},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:p}]:[]];function Be({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:t=`${process.env.NEXT_PUBLIC_APP_NAME} is the open-source link management infrastructure for modern marketing teams to create, share, and track short links.`,image:o="https://dub.co/_static/thumbnail.png",icons:s=[{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:o}]},twitter:{card:"summary_large_image",title:e,description:t,images:[o],creator:"@dubdotco"},icons:s,metadataBase:new URL(f),...r&&{robots:{index:!1,follow:!1}}}}export{Be as a,N as b,y as c,v as d,L as e,I as f,w as g,O as h,B as i,T as j,c as k,re as l,se as m,ne as n,ae as o,_ as p,f as q,ce as r,le as s,pe as t,me as u,ue as v,de as w,he as x,ge as y,xe as z,p as A,_e as B,fe as C,x as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as p}from"./chunk-I5Y5DKPK.mjs";import{a as h}from"./chunk-UUWTKITJ.mjs";import{a as i}from"./chunk-YUMUNL66.mjs";import{a as u,b as d}from"./chunk-SYT2IXG6.mjs";import E from"@sindresorhus/slugify";var y=e=>{let t=E(e,{separator:""});if(t.length<3)return"";if(i.has(t.slice(-2)))return`${t.slice(0,-2)}.${t.slice(-2)}`;let o=t.replace(/[aeiou]/g,"");return o.length>=3&&i.has(o.slice(-2))?`${o.slice(0,-2)}.${o.slice(-2)}`:`${[t,o].reduce((r,n)=>r.length<n.length?r:n)}.to`},N=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),v=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),L=new RegExp(/^[a-zA-Z0-9\-]+$/),I=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),w=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 o=t.split(".");return o.length>2?u.has(o[o.length-2])&&i.has(o[o.length-1])||d.has(o.slice(-2).join("."))?o.slice(-3).join("."):o.slice(-2).join("."):t},B=e=>{if(h(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},O=e=>x.some(t=>t.slug===e);var D=e=>a.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null;var c=({name:e="Business",monthly:t=49,yearly:o=39,links:s=5e3,clicks:r=15e4,domains:n=20,tags:_=150,users:m=15,ids:P=[]})=>({name:e,tagline:"For larger teams with increased usage",link:"https://dub.co/help/article/business-plan",price:{monthly:t,yearly:o,ids:P},limits:{links:s,clicks:r,domains:n,tags:_,users:m},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:`${p(s,{full:!0})} links/mo`},{text:`${p(r)} tracked clicks/mo`},{text:"2-year analytics retention"},{text:`${n} custom domains`},{text:`${m} 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]}),a=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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."}]},c({name:"Business",monthly:49,yearly:39,links:5e3,clicks:15e4,users:15,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]}),c({name:"Business Plus",monthly:119,yearly:99,links:15e3,clicks:4e5,users:40,ids:[]}),c({name:"Business Extra",monthly:249,yearly:199,links:4e4,clicks:1e6,users:100,ids:[]}),c({name:"Business Max",monthly:499,yearly:399,links:1e5,clicks:25e5,users:250,ids:[]}),{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],re=a.find(e=>e.name==="Free"),se=a.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ne=2;var ae=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",g=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",f=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,ce=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),le=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",pe=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",me=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${g}`,"api.localhost:8888"]),ue=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",de=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),he="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",xe="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",ge="clqo10sum0006js08vutzfxt3",l="cl7pj5kq4006835rbjlt2ofka",fe="clrflia0j0000vs7sqfhz9c7q",_e="clqei1lgc0000vsnzi01pbf47",x=[{id:"clce1z7ch00j0rbstbjufva4j",slug:g,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:l},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:l},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:l},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:l}]:[]];function Oe({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:o="https://dub.co/_static/thumbnail.png",icons:s=[{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:o}]},twitter:{card:"summary_large_image",title:e,description:t,images:[o],creator:"@dubdotco"},icons:s,metadataBase:new URL(f),...r&&{robots:{index:!1,follow:!1}}}}export{Oe as a,y as b,N as c,v as d,L as e,I as f,w as g,B as h,O as i,D as j,a as k,re as l,se as m,ne as n,ae as o,g as p,f as q,ce as r,le as s,pe as t,me as u,ue as v,de as w,he as x,xe as y,ge as z,l as A,fe as B,_e as C,x as D};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var r=new Set(["com","co","net","org","edu","gov","in"]),a=new Set(["my.id","github.io","vercel.app","now.sh","pages.dev","webflow.io","netlify.app","fly.dev","web.app"]);var n={hidden:{scale:.8,opacity:0},show:{scale:1,opacity:1,transition:{type:"spring"}}},c={hidden:{opacity:0,y:20},show:{opacity:1,y:0,transition:{duration:.4,type:"spring"}}},l={initial:{height:0},animate:{height:"auto"},exit:{height:0},transition:{duration:.15,ease:"easeOut"}},p={initial:{opacity:0},animate:{opacity:1},exit:{opacity:0},transition:{duration:.2}};var u=["stats","changelog","terms","privacy","abuse"],m=[{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 API",slug:"qr-code"},{name:"Link Inspector",slug:"inspector"}];var _={city:"San Francisco",region:"CA",country:"US",latitude:"37.7695",longitude:"-122.385"},g="63.141.57.109";var E={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"},x={headers:{"x-powered-by":"Dub.co - Link management for modern marketing teams"}};var o=[{name:"Free",tagline:"For hobby & side projects",price:{monthly:0,yearly:0},limits:{links:25,clicks:1e3,domains:3,tags:5,users: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:"3 custom domains"},{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",link:"https://dub.co/help/article/pro-plan",price:{monthly:24,yearly:19,ids:["price_1LodNLAlJJEpqkPVQSrt33Lc","price_1LodNLAlJJEpqkPVRxUyCQgZ","price_1OTcQBAlJJEpqkPViGtGEsbb","price_1OYJeBAlJJEpqkPVLjTsjX0E","price_1OTcQBAlJJEpqkPVYlCMqdLL","price_1OYJeBAlJJEpqkPVnPGEZeb0"]},limits:{links:1e3,clicks:5e4,domains:10,tags:25,users:5},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:"1,000 links/mo"},{text:"50K 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",link:"https://dub.co/help/article/business-plan",price:{monthly:49,yearly:39,ids:["price_1LodLoAlJJEpqkPVJdwv5zrG","price_1LoyrCAlJJEpqkPVZ32BV3wm","price_1LodLoAlJJEpqkPV9rD0rlNL","price_1OTcRzAlJJEpqkPV6G9iP0Tb","price_1OZgmnAlJJEpqkPVOj4kV64R"]},limits:{links:5e3,clicks:25e4,domains:20,tags:150,users:15},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:"5,000 links/mo"},{text:"250K 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 (Beta)",footnote:"Get notified when someone clicks on your links."}]},{name:"Enterprise",tagline:"Custom tailored plans for large enterprises. Whether you're running a SMS campaign with millions of short links or a large marketing campaign with billions of clicks, we've got you covered.",link:"https://dub.co/enterprise",price:{monthly:null,yearly:null},limits:{links: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"}]}],k=o.find(t=>t.name==="Free"),I=o.filter(t=>t.name==="Pro"||t.name==="Business"),L=2;var f=[{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}];var N=100,v=process.env.NEXT_PUBLIC_APP_NAME||"Dub.co",s=process.env.NEXT_PUBLIC_APP_SHORT_DOMAIN||"dub.sh",T=`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,S=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),O=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",C=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",w=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${s}`,"api.localhost:8888"]),M=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",D=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),B="https://www.google.com/s2/favicons?sz=64&domain_url=",R="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",U="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",V="clqo10sum0006js08vutzfxt3",e="cl7pj5kq4006835rbjlt2ofka",G="clrflia0j0000vs7sqfhz9c7q",J="clqei1lgc0000vsnzi01pbf47",X=[{id:"clce1z7ch00j0rbstbjufva4j",slug:s,verified:!0,primary:!0,archived:!1,publicStats:!1,target:`https://${process.env.NEXT_PUBLIC_APP_DOMAIN}`,type:"redirect",placeholder:"https://dub.co/help/article/what-is-dub",clicks:0,allowedHostnames:[],projectId:e},...process.env.NEXT_PUBLIC_IS_DUB?[{id:"clce1z7cs00y8rbstk4xtnj0k",slug:"chatg.pt",verified:!0,primary:!1,archived:!1,publicStats:!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"],projectId:e},{id:"cloxw8qtk000bjt08n9b812vs",slug:"amzn.id",verified:!0,primary:!1,archived:!1,publicStats:!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","amazon.es"],projectId:e},{id:"cloxw8y2u0003js08a7mqg1j8",slug:"spti.fi",verified:!0,primary:!1,archived:!1,publicStats:!1,target:"https://dub.co/tools/spotify-link-shortener",type:"redirect",placeholder:"https://open.spotify.com/album/1SCyi9a5pOasikidToUY5y",clicks:0,allowedHostnames:["open.spotify.com"],projectId:e}]:[]],z={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};export{r as a,a as b,n as c,c as d,l as e,p as f,u as g,m as h,_ as i,g as j,E as k,x as l,o as m,k as n,I as o,L as p,f as q,N as r,v as s,s as t,T as u,S as v,O as w,C as x,w as y,M as z,D as A,B,R as C,U as D,V as E,e as F,G,J as H,X as I,z as J};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{u as n}from"./chunk-ZM4JP5B2.mjs";function i({title:e=`${process.env.NEXT_PUBLIC_APP_NAME} - Link Management for Modern Marketing Teams`,description:a=`${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:t="https://dub.co/_static/thumbnail.png",icons:r=[{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:o=!1}={}){return{title:e,description:a,openGraph:{title:e,description:a,images:[{url:t}]},twitter:{card:"summary_large_image",title:e,description:a,images:[t],creator:"@dubdotco"},icons:r,metadataBase:new URL(n),...o&&{robots:{index:!1,follow:!1}}}}export{i as a};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var l={key:"",url:"",domain:"",archived:!1,expiresAt:null,password:null,title:null,description:null,image:null,rewrite:!1,ios:null,android:null,clicks:0,userId:"",tags:[],proxy:!1},o="https://www.google.com/s2/favicons?sz=64&domain_url=",s=100,e=60*60*24*14;export{l as a,o as b,s as c,e as d};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-2RCZ6Q6L.mjs";export{a as COUNTRIES};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../chunk-SYT2IXG6.mjs";export{a as SECOND_LEVEL_DOMAINS,b as SPECIAL_APEX_DOMAINS};
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
declare const FRAMER_MOTION_LIST_ITEM_VARIANTS: {
|
|
2
|
+
hidden: {
|
|
3
|
+
scale: number;
|
|
4
|
+
opacity: number;
|
|
5
|
+
};
|
|
6
|
+
show: {
|
|
7
|
+
scale: number;
|
|
8
|
+
opacity: number;
|
|
9
|
+
transition: {
|
|
10
|
+
type: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
};
|
|
14
|
+
declare const STAGGER_CHILD_VARIANTS: {
|
|
15
|
+
hidden: {
|
|
16
|
+
opacity: number;
|
|
17
|
+
y: number;
|
|
18
|
+
};
|
|
19
|
+
show: {
|
|
20
|
+
opacity: number;
|
|
21
|
+
y: number;
|
|
22
|
+
transition: {
|
|
23
|
+
duration: number;
|
|
24
|
+
type: string;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
declare const SWIPE_REVEAL_ANIMATION_SETTINGS: {
|
|
29
|
+
initial: {
|
|
30
|
+
height: number;
|
|
31
|
+
};
|
|
32
|
+
animate: {
|
|
33
|
+
height: string;
|
|
34
|
+
};
|
|
35
|
+
exit: {
|
|
36
|
+
height: number;
|
|
37
|
+
};
|
|
38
|
+
transition: {
|
|
39
|
+
duration: number;
|
|
40
|
+
ease: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
declare const FADE_IN_ANIMATION_SETTINGS: {
|
|
44
|
+
initial: {
|
|
45
|
+
opacity: number;
|
|
46
|
+
};
|
|
47
|
+
animate: {
|
|
48
|
+
opacity: number;
|
|
49
|
+
};
|
|
50
|
+
exit: {
|
|
51
|
+
opacity: number;
|
|
52
|
+
};
|
|
53
|
+
transition: {
|
|
54
|
+
duration: number;
|
|
55
|
+
};
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
export { FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d}from"../chunk-2SICE2ZS.mjs";export{d as FADE_IN_ANIMATION_SETTINGS,a as FRAMER_MOTION_LIST_ITEM_VARIANTS,b as STAGGER_CHILD_VARIANTS,c as SWIPE_REVEAL_ANIMATION_SETTINGS};
|