@dub/utils 0.0.30 → 0.0.32
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-32A5SDZL.mjs +1 -0
- package/dist/chunk-ZNAHVPCM.mjs +1 -0
- package/dist/constants/index.d.ts +340 -1
- package/dist/constants/index.mjs +1 -1
- package/dist/functions/construct-metadata.mjs +1 -1
- package/dist/functions/domains.mjs +1 -1
- package/dist/functions/index.mjs +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a as c}from"./chunk-I5Y5DKPK.mjs";import{a as x}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 O=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((s,i)=>s.length<i.length?s:i)}.to`},w=new RegExp(/^([a-zA-Z0-9]([a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?\.)+[a-zA-Z]{2,}$/),C=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),S=new RegExp(/^[a-zA-Z0-9\-]+$/),B=(e,t)=>e===t?null:e.slice(0,e.length-t.length-1),D=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},T=e=>{if(x(e))return new URL(e).hostname.replace(/^www\./,"");try{if(e.includes(".")&&!e.includes(" "))return new URL(`https://${e}`).hostname.replace(/^www\./,"")}catch{return null}},M=e=>g.some(t=>t.slug===e);var l=({name:e="Business",monthly:t=49,yearly:o=39,links:n=5e3,clicks:s=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:n,clicks:s,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(n,{full:!0})} links/mo`},{text:`${c(s)} 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"}}]}),r=[{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"}]}],A=r.find(e=>e.name==="Free"),k=r.find(e=>e.name==="Pro"),b=r.find(e=>e.name==="Business"),L=r.find(e=>e.name==="Enterprise"),se=[A,k,b,L],N=r.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),ne=2,ie=e=>r.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,ae=e=>N.find(t=>t.name.toLowerCase()===e.toLowerCase()),ce=e=>r[r.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+1];var pe=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}`,me=new Set([`app.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`preview.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"localhost:8888","localhost"]),ue=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",de=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",he=new Set([`api.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,`api.${_}`,"api.localhost:8888"]),xe=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",ge=new Set([`admin.${process.env.NEXT_PUBLIC_APP_DOMAIN}`,"admin.localhost:8888"]),_e="https://d2vwwcvoksz7ty.cloudfront.net/logo.png",fe="https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png",Pe="clqo10sum0006js08vutzfxt3",p="cl7pj5kq4006835rbjlt2ofka",Ee="clrflia0j0000vs7sqfhz9c7q",Ae="clqei1lgc0000vsnzi01pbf47",g=[{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:n=[{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:s=!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:n,metadataBase:new URL(f),...s&&{robots:{index:!1,follow:!1}}}}export{De as a,O as b,w as c,C as d,S as e,B as f,D as g,T as h,M as i,r as j,A as k,k as l,b as m,L as n,se as o,N as p,ne as q,ie as r,ae as s,ce as t,pe as u,_ as v,f as w,me as x,ue as y,de as z,he as A,xe as B,ge as C,_e as D,fe as E,Pe as F,p as G,Ee as H,Ae as I,g as J};
|
|
@@ -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,}$/),y=new RegExp(/^[0-9A-Za-z\u0080-\uFFFF\/\-]*$/u),I=new RegExp(/^[a-zA-Z0-9\-]+$/),O=(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])&&a.has(o[o.length-1])||h.has(o.slice(-2).join("."))?o.slice(-3).join("."):o.slice(-2).join("."):t},C=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}},D=e=>x.some(t=>t.slug===e);var l=({name:e="Business",monthly:t=49,yearly:o=39,links:n=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:n,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(n,{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"}}]}),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."}]},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"}]}],ee=s.find(e=>e.name==="Free"),te=s.find(e=>e.name==="Pro"),oe=s.find(e=>e.name==="Enterprise"),A=s.filter(e=>e.name!=="Free"&&e.name!=="Enterprise"),re=2,se=e=>s.find(t=>{var o;return(o=t.price.ids)==null?void 0:o.includes(e)})||null,ne=e=>A.find(t=>t.name.toLowerCase()===e.toLowerCase()),ie=e=>s[s.findIndex(t=>t.name.toLowerCase()===e.toLowerCase())+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:n=[{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:n,metadataBase:new URL(f),...r&&{robots:{index:!1,follow:!1}}}}export{De as a,N as b,v as c,y as d,I as e,O as f,w as g,C as h,D as i,s as j,ee as k,te as l,oe as m,A as n,re as o,se as p,ne as q,ie as r,ce as s,_ as t,f as u,le as v,pe as w,me as x,ue as y,de as z,he as A,ge as B,xe as C,_e as D,p as E,fe as F,Pe as G,x as H};
|
|
@@ -347,6 +347,345 @@ declare const PRO_PLAN: {
|
|
|
347
347
|
text: string;
|
|
348
348
|
}[];
|
|
349
349
|
};
|
|
350
|
+
declare const BUSINESS_PLAN: {
|
|
351
|
+
name: string;
|
|
352
|
+
tagline: string;
|
|
353
|
+
price: {
|
|
354
|
+
monthly: number;
|
|
355
|
+
yearly: number;
|
|
356
|
+
ids?: undefined;
|
|
357
|
+
};
|
|
358
|
+
limits: {
|
|
359
|
+
links: number;
|
|
360
|
+
clicks: number;
|
|
361
|
+
domains: number;
|
|
362
|
+
tags: number;
|
|
363
|
+
users: number;
|
|
364
|
+
};
|
|
365
|
+
colors: {
|
|
366
|
+
bg: string;
|
|
367
|
+
text: string;
|
|
368
|
+
};
|
|
369
|
+
cta: {
|
|
370
|
+
text: string;
|
|
371
|
+
href: string;
|
|
372
|
+
color: string;
|
|
373
|
+
shortText?: undefined;
|
|
374
|
+
};
|
|
375
|
+
featureTitle: string;
|
|
376
|
+
features: ({
|
|
377
|
+
text: string;
|
|
378
|
+
footnote?: undefined;
|
|
379
|
+
} | {
|
|
380
|
+
text: string;
|
|
381
|
+
footnote: string;
|
|
382
|
+
} | {
|
|
383
|
+
text: string;
|
|
384
|
+
footnote: {
|
|
385
|
+
title: string;
|
|
386
|
+
cta: string;
|
|
387
|
+
href: string;
|
|
388
|
+
};
|
|
389
|
+
})[];
|
|
390
|
+
link?: undefined;
|
|
391
|
+
} | {
|
|
392
|
+
name: string;
|
|
393
|
+
tagline: string;
|
|
394
|
+
link: string;
|
|
395
|
+
price: {
|
|
396
|
+
monthly: number;
|
|
397
|
+
yearly: number;
|
|
398
|
+
ids: string[];
|
|
399
|
+
};
|
|
400
|
+
limits: {
|
|
401
|
+
links: number;
|
|
402
|
+
clicks: number;
|
|
403
|
+
domains: number;
|
|
404
|
+
tags: number;
|
|
405
|
+
users: number;
|
|
406
|
+
};
|
|
407
|
+
colors: {
|
|
408
|
+
bg: string;
|
|
409
|
+
text: string;
|
|
410
|
+
};
|
|
411
|
+
cta: {
|
|
412
|
+
text: string;
|
|
413
|
+
shortText: string;
|
|
414
|
+
href: string;
|
|
415
|
+
color: string;
|
|
416
|
+
};
|
|
417
|
+
featureTitle: string;
|
|
418
|
+
features: ({
|
|
419
|
+
text: string;
|
|
420
|
+
footnote?: undefined;
|
|
421
|
+
} | {
|
|
422
|
+
text: string;
|
|
423
|
+
footnote: string;
|
|
424
|
+
} | {
|
|
425
|
+
text: string;
|
|
426
|
+
footnote: {
|
|
427
|
+
title: string;
|
|
428
|
+
cta: string;
|
|
429
|
+
href: string;
|
|
430
|
+
};
|
|
431
|
+
})[];
|
|
432
|
+
} | {
|
|
433
|
+
name: string;
|
|
434
|
+
tagline: string;
|
|
435
|
+
link: string;
|
|
436
|
+
price: {
|
|
437
|
+
monthly: null;
|
|
438
|
+
yearly: null;
|
|
439
|
+
ids?: undefined;
|
|
440
|
+
};
|
|
441
|
+
limits: {
|
|
442
|
+
links: null;
|
|
443
|
+
clicks: null;
|
|
444
|
+
domains: null;
|
|
445
|
+
tags?: undefined;
|
|
446
|
+
users?: undefined;
|
|
447
|
+
};
|
|
448
|
+
colors: {
|
|
449
|
+
bg: string;
|
|
450
|
+
text: string;
|
|
451
|
+
};
|
|
452
|
+
cta: {
|
|
453
|
+
text: string;
|
|
454
|
+
href: string;
|
|
455
|
+
color: string;
|
|
456
|
+
shortText?: undefined;
|
|
457
|
+
};
|
|
458
|
+
featureTitle: string;
|
|
459
|
+
features: {
|
|
460
|
+
text: string;
|
|
461
|
+
}[];
|
|
462
|
+
};
|
|
463
|
+
declare const ENTERPRISE_PLAN: {
|
|
464
|
+
name: string;
|
|
465
|
+
tagline: string;
|
|
466
|
+
price: {
|
|
467
|
+
monthly: number;
|
|
468
|
+
yearly: number;
|
|
469
|
+
ids?: undefined;
|
|
470
|
+
};
|
|
471
|
+
limits: {
|
|
472
|
+
links: number;
|
|
473
|
+
clicks: number;
|
|
474
|
+
domains: number;
|
|
475
|
+
tags: number;
|
|
476
|
+
users: number;
|
|
477
|
+
};
|
|
478
|
+
colors: {
|
|
479
|
+
bg: string;
|
|
480
|
+
text: string;
|
|
481
|
+
};
|
|
482
|
+
cta: {
|
|
483
|
+
text: string;
|
|
484
|
+
href: string;
|
|
485
|
+
color: string;
|
|
486
|
+
shortText?: undefined;
|
|
487
|
+
};
|
|
488
|
+
featureTitle: string;
|
|
489
|
+
features: ({
|
|
490
|
+
text: string;
|
|
491
|
+
footnote?: undefined;
|
|
492
|
+
} | {
|
|
493
|
+
text: string;
|
|
494
|
+
footnote: string;
|
|
495
|
+
} | {
|
|
496
|
+
text: string;
|
|
497
|
+
footnote: {
|
|
498
|
+
title: string;
|
|
499
|
+
cta: string;
|
|
500
|
+
href: string;
|
|
501
|
+
};
|
|
502
|
+
})[];
|
|
503
|
+
link?: undefined;
|
|
504
|
+
} | {
|
|
505
|
+
name: string;
|
|
506
|
+
tagline: string;
|
|
507
|
+
link: string;
|
|
508
|
+
price: {
|
|
509
|
+
monthly: number;
|
|
510
|
+
yearly: number;
|
|
511
|
+
ids: string[];
|
|
512
|
+
};
|
|
513
|
+
limits: {
|
|
514
|
+
links: number;
|
|
515
|
+
clicks: number;
|
|
516
|
+
domains: number;
|
|
517
|
+
tags: number;
|
|
518
|
+
users: number;
|
|
519
|
+
};
|
|
520
|
+
colors: {
|
|
521
|
+
bg: string;
|
|
522
|
+
text: string;
|
|
523
|
+
};
|
|
524
|
+
cta: {
|
|
525
|
+
text: string;
|
|
526
|
+
shortText: string;
|
|
527
|
+
href: string;
|
|
528
|
+
color: string;
|
|
529
|
+
};
|
|
530
|
+
featureTitle: string;
|
|
531
|
+
features: ({
|
|
532
|
+
text: string;
|
|
533
|
+
footnote?: undefined;
|
|
534
|
+
} | {
|
|
535
|
+
text: string;
|
|
536
|
+
footnote: string;
|
|
537
|
+
} | {
|
|
538
|
+
text: string;
|
|
539
|
+
footnote: {
|
|
540
|
+
title: string;
|
|
541
|
+
cta: string;
|
|
542
|
+
href: string;
|
|
543
|
+
};
|
|
544
|
+
})[];
|
|
545
|
+
} | {
|
|
546
|
+
name: string;
|
|
547
|
+
tagline: string;
|
|
548
|
+
link: string;
|
|
549
|
+
price: {
|
|
550
|
+
monthly: null;
|
|
551
|
+
yearly: null;
|
|
552
|
+
ids?: undefined;
|
|
553
|
+
};
|
|
554
|
+
limits: {
|
|
555
|
+
links: null;
|
|
556
|
+
clicks: null;
|
|
557
|
+
domains: null;
|
|
558
|
+
tags?: undefined;
|
|
559
|
+
users?: undefined;
|
|
560
|
+
};
|
|
561
|
+
colors: {
|
|
562
|
+
bg: string;
|
|
563
|
+
text: string;
|
|
564
|
+
};
|
|
565
|
+
cta: {
|
|
566
|
+
text: string;
|
|
567
|
+
href: string;
|
|
568
|
+
color: string;
|
|
569
|
+
shortText?: undefined;
|
|
570
|
+
};
|
|
571
|
+
featureTitle: string;
|
|
572
|
+
features: {
|
|
573
|
+
text: string;
|
|
574
|
+
}[];
|
|
575
|
+
};
|
|
576
|
+
declare const PUBLIC_PLANS: ({
|
|
577
|
+
name: string;
|
|
578
|
+
tagline: string;
|
|
579
|
+
price: {
|
|
580
|
+
monthly: number;
|
|
581
|
+
yearly: number;
|
|
582
|
+
ids?: undefined;
|
|
583
|
+
};
|
|
584
|
+
limits: {
|
|
585
|
+
links: number;
|
|
586
|
+
clicks: number;
|
|
587
|
+
domains: number;
|
|
588
|
+
tags: number;
|
|
589
|
+
users: number;
|
|
590
|
+
};
|
|
591
|
+
colors: {
|
|
592
|
+
bg: string;
|
|
593
|
+
text: string;
|
|
594
|
+
};
|
|
595
|
+
cta: {
|
|
596
|
+
text: string;
|
|
597
|
+
href: string;
|
|
598
|
+
color: string;
|
|
599
|
+
shortText?: undefined;
|
|
600
|
+
};
|
|
601
|
+
featureTitle: string;
|
|
602
|
+
features: ({
|
|
603
|
+
text: string;
|
|
604
|
+
footnote?: undefined;
|
|
605
|
+
} | {
|
|
606
|
+
text: string;
|
|
607
|
+
footnote: string;
|
|
608
|
+
} | {
|
|
609
|
+
text: string;
|
|
610
|
+
footnote: {
|
|
611
|
+
title: string;
|
|
612
|
+
cta: string;
|
|
613
|
+
href: string;
|
|
614
|
+
};
|
|
615
|
+
})[];
|
|
616
|
+
link?: undefined;
|
|
617
|
+
} | {
|
|
618
|
+
name: string;
|
|
619
|
+
tagline: string;
|
|
620
|
+
link: string;
|
|
621
|
+
price: {
|
|
622
|
+
monthly: number;
|
|
623
|
+
yearly: number;
|
|
624
|
+
ids: string[];
|
|
625
|
+
};
|
|
626
|
+
limits: {
|
|
627
|
+
links: number;
|
|
628
|
+
clicks: number;
|
|
629
|
+
domains: number;
|
|
630
|
+
tags: number;
|
|
631
|
+
users: number;
|
|
632
|
+
};
|
|
633
|
+
colors: {
|
|
634
|
+
bg: string;
|
|
635
|
+
text: string;
|
|
636
|
+
};
|
|
637
|
+
cta: {
|
|
638
|
+
text: string;
|
|
639
|
+
shortText: string;
|
|
640
|
+
href: string;
|
|
641
|
+
color: string;
|
|
642
|
+
};
|
|
643
|
+
featureTitle: string;
|
|
644
|
+
features: ({
|
|
645
|
+
text: string;
|
|
646
|
+
footnote?: undefined;
|
|
647
|
+
} | {
|
|
648
|
+
text: string;
|
|
649
|
+
footnote: string;
|
|
650
|
+
} | {
|
|
651
|
+
text: string;
|
|
652
|
+
footnote: {
|
|
653
|
+
title: string;
|
|
654
|
+
cta: string;
|
|
655
|
+
href: string;
|
|
656
|
+
};
|
|
657
|
+
})[];
|
|
658
|
+
} | {
|
|
659
|
+
name: string;
|
|
660
|
+
tagline: string;
|
|
661
|
+
link: string;
|
|
662
|
+
price: {
|
|
663
|
+
monthly: null;
|
|
664
|
+
yearly: null;
|
|
665
|
+
ids?: undefined;
|
|
666
|
+
};
|
|
667
|
+
limits: {
|
|
668
|
+
links: null;
|
|
669
|
+
clicks: null;
|
|
670
|
+
domains: null;
|
|
671
|
+
tags?: undefined;
|
|
672
|
+
users?: undefined;
|
|
673
|
+
};
|
|
674
|
+
colors: {
|
|
675
|
+
bg: string;
|
|
676
|
+
text: string;
|
|
677
|
+
};
|
|
678
|
+
cta: {
|
|
679
|
+
text: string;
|
|
680
|
+
href: string;
|
|
681
|
+
color: string;
|
|
682
|
+
shortText?: undefined;
|
|
683
|
+
};
|
|
684
|
+
featureTitle: string;
|
|
685
|
+
features: {
|
|
686
|
+
text: string;
|
|
687
|
+
}[];
|
|
688
|
+
})[];
|
|
350
689
|
declare const SELF_SERVE_PAID_PLANS: ({
|
|
351
690
|
name: string;
|
|
352
691
|
tagline: string;
|
|
@@ -831,4 +1170,4 @@ declare const DUB_DOMAINS: {
|
|
|
831
1170
|
projectId: string;
|
|
832
1171
|
}[];
|
|
833
1172
|
|
|
834
|
-
export { ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DEMO_LINK_ID, DUB_DOMAINS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FREE_PLAN, FREE_PROJECTS_LIMIT, HOME_DOMAIN, LEGAL_PROJECT_ID, LEGAL_USER_ID, PLANS, PRO_PLAN, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, getNextPlan, getPlanDetails, getPlanFromPriceId };
|
|
1173
|
+
export { ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, BUSINESS_PLAN, DEMO_LINK_ID, DUB_DOMAINS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, ENTERPRISE_PLAN, FREE_PLAN, FREE_PROJECTS_LIMIT, HOME_DOMAIN, LEGAL_PROJECT_ID, LEGAL_USER_ID, PLANS, PRO_PLAN, PUBLIC_PLANS, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, getNextPlan, getPlanDetails, getPlanFromPriceId };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as L,B as M,C as N,D as O,E as P,F as Q,G as R,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as
|
|
1
|
+
import{A as L,B as M,C as N,D as O,E as P,F as Q,G as R,H as S,I as T,J as U,j as t,k as u,l as v,m as w,n as x,o as y,p as z,q as A,r as B,s as C,t as D,u as F,v as G,w as H,x as I,y as J,z as K}from"../chunk-32A5SDZL.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-I5Y5DKPK.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-ZJKRLIJQ.mjs";import"../chunk-UUWTKITJ.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-6XPTKHZD.mjs";import"../chunk-XWSEDYR7.mjs";import"../chunk-3BUV2ANI.mjs";import"../chunk-5PD4TPH7.mjs";import{a as n,b as o}from"../chunk-5VUO5P2B.mjs";import{a as p,b as q,c as r,d as s}from"../chunk-PXSGKN2A.mjs";import{a as E}from"../chunk-PUFZASP4.mjs";import"../chunk-GTQBILTE.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-LXJVNY3R.mjs";import{a}from"../chunk-YUMUNL66.mjs";import{a as b}from"../chunk-2RCZ6Q6L.mjs";import{a as c,b as d}from"../chunk-SYT2IXG6.mjs";import{a as e,b as f,c as g,d as h}from"../chunk-2SICE2ZS.mjs";import{a as i,b as j,c as k}from"../chunk-WE5LUVZO.mjs";import{a as l,b as m}from"../chunk-FYXE2IZT.mjs";export{N as ADMIN_HOSTNAMES,j as ALL_TOOLS,M as API_DOMAIN,L as API_HOSTNAMES,J as APP_DOMAIN,K as APP_DOMAIN_WITH_NGROK,I as APP_HOSTNAMES,F as APP_NAME,w as BUSINESS_PLAN,k as COMPARE_PAGES,b as COUNTRIES,p as DEFAULT_LINK_PROPS,n as DEFAULT_REDIRECTS,Q as DEMO_LINK_ID,U as DUB_DOMAINS,o as DUB_HEADERS,O as DUB_LOGO,R as DUB_PROJECT_ID,P as DUB_THUMBNAIL,x as ENTERPRISE_PLAN,h as FADE_IN_ANIMATION_SETTINGS,e as FRAMER_MOTION_LIST_ITEM_VARIANTS,u as FREE_PLAN,A as FREE_PROJECTS_LIMIT,q as GOOGLE_FAVICON_URL,i as HIDE_BACKGROUND_SEGMENTS,H as HOME_DOMAIN,S as LEGAL_PROJECT_ID,T as LEGAL_USER_ID,l as LOCALHOST_GEO_DATA,m as LOCALHOST_IP,r as PAGINATION_LIMIT,t as PLANS,v as PRO_PLAN,y as PUBLIC_PLANS,E as SAML_PROVIDERS,c as SECOND_LEVEL_DOMAINS,z as SELF_SERVE_PAID_PLANS,G as SHORT_DOMAIN,d as SPECIAL_APEX_DOMAINS,f as STAGGER_CHILD_VARIANTS,g as SWIPE_REVEAL_ANIMATION_SETTINGS,s as TWO_WEEKS_IN_SECONDS,a as ccTLDs,D as getNextPlan,C as getPlanDetails,B as getPlanFromPriceId};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-32A5SDZL.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-I5Y5DKPK.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-ZJKRLIJQ.mjs";import"../chunk-UUWTKITJ.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-6XPTKHZD.mjs";import"../chunk-XWSEDYR7.mjs";import"../chunk-3BUV2ANI.mjs";import"../chunk-5PD4TPH7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-PXSGKN2A.mjs";import"../chunk-PUFZASP4.mjs";import"../chunk-GTQBILTE.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-LXJVNY3R.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-2RCZ6Q6L.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-2SICE2ZS.mjs";import"../chunk-WE5LUVZO.mjs";import"../chunk-FYXE2IZT.mjs";export{a as constructMetadata};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"../chunk-
|
|
1
|
+
import{b as a,c as b,d as c,e as d,f as e,g as f,h as g,i as h}from"../chunk-32A5SDZL.mjs";import"../chunk-GGIZK3EO.mjs";import"../chunk-OWYWG4M6.mjs";import"../chunk-I5Y5DKPK.mjs";import"../chunk-MPU6JRPV.mjs";import"../chunk-ZJKRLIJQ.mjs";import"../chunk-UUWTKITJ.mjs";import"../chunk-ZECUYKGD.mjs";import"../chunk-EMO4MGOU.mjs";import"../chunk-6XPTKHZD.mjs";import"../chunk-XWSEDYR7.mjs";import"../chunk-3BUV2ANI.mjs";import"../chunk-5PD4TPH7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-PXSGKN2A.mjs";import"../chunk-PUFZASP4.mjs";import"../chunk-GTQBILTE.mjs";import"../chunk-2OJAP233.mjs";import"../chunk-NEIHTFSW.mjs";import"../chunk-LXJVNY3R.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-2RCZ6Q6L.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-2SICE2ZS.mjs";import"../chunk-WE5LUVZO.mjs";import"../chunk-FYXE2IZT.mjs";export{a as generateDomainFromName,f as getApexDomain,g as getDomainWithoutWWW,e as getSubdomain,h as isDubDomain,b as validDomainRegex,c as validKeyRegex,d as validSlugRegex};
|
package/dist/functions/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as d,b as s,c as t,d as u,e as v,f as w,g as x,h as y,i as z}from"../chunk-
|
|
1
|
+
import{a as d,b as s,c as t,d as u,e as v,f as w,g as x,h as y,i as z}from"../chunk-32A5SDZL.mjs";import{a as F}from"../chunk-GGIZK3EO.mjs";import{a as G}from"../chunk-OWYWG4M6.mjs";import{a as H}from"../chunk-I5Y5DKPK.mjs";import{a as I}from"../chunk-MPU6JRPV.mjs";import{a as J}from"../chunk-ZJKRLIJQ.mjs";import{a as l,b as m,c as n,d as o,e as p,f as q,g as r}from"../chunk-UUWTKITJ.mjs";import{a as k}from"../chunk-ZECUYKGD.mjs";import{a as A}from"../chunk-EMO4MGOU.mjs";import{a as B}from"../chunk-6XPTKHZD.mjs";import{a as C}from"../chunk-XWSEDYR7.mjs";import{a as D}from"../chunk-3BUV2ANI.mjs";import{a as E}from"../chunk-5PD4TPH7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-PXSGKN2A.mjs";import"../chunk-PUFZASP4.mjs";import{a}from"../chunk-GTQBILTE.mjs";import{a as b}from"../chunk-2OJAP233.mjs";import{a as c}from"../chunk-NEIHTFSW.mjs";import{a as e,b as f,c as g,d as h,e as i,f as j}from"../chunk-LXJVNY3R.mjs";import"../chunk-YUMUNL66.mjs";import"../chunk-2RCZ6Q6L.mjs";import"../chunk-SYT2IXG6.mjs";import"../chunk-2SICE2ZS.mjs";import"../chunk-WE5LUVZO.mjs";import"../chunk-FYXE2IZT.mjs";export{a as capitalize,b as chunk,c as cn,d as constructMetadata,p as constructURLFromUTMParams,k as deepEqual,A as fetchWithTimeout,B as fetcher,f as formatDate,s as generateDomainFromName,C as generateMD5Hash,i as getAdjustedBillingCycleStart,x as getApexDomain,j as getBillingStartDate,e as getDateTimeLocal,y as getDomainWithoutWWW,g as getFirstAndLastDay,h as getLastDayOfMonth,o as getParamsFromURL,n as getSearchParams,w as getSubdomain,m as getUrlFromString,r as getUrlWithoutUTMParams,z as isDubDomain,D as isIframeable,l as isValidUrl,E as linkConstructor,F as log,H as nFormatter,G as nanoid,q as paramsMetadata,I as timeAgo,J as truncate,t as validDomainRegex,u as validKeyRegex,v as validSlugRegex};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, DEMO_LINK_ID, DUB_DOMAINS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FREE_PLAN, FREE_PROJECTS_LIMIT, HOME_DOMAIN, LEGAL_PROJECT_ID, LEGAL_USER_ID, PLANS, PRO_PLAN, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, getNextPlan, getPlanDetails, getPlanFromPriceId } from './constants/index.js';
|
|
1
|
+
export { ADMIN_HOSTNAMES, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, APP_NAME, BUSINESS_PLAN, DEMO_LINK_ID, DUB_DOMAINS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, ENTERPRISE_PLAN, FREE_PLAN, FREE_PROJECTS_LIMIT, HOME_DOMAIN, LEGAL_PROJECT_ID, LEGAL_USER_ID, PLANS, PRO_PLAN, PUBLIC_PLANS, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, getNextPlan, getPlanDetails, getPlanFromPriceId } from './constants/index.js';
|
|
2
2
|
export { capitalize } from './functions/capitalize.js';
|
|
3
3
|
export { chunk } from './functions/chunk.js';
|
|
4
4
|
export { cn } from './functions/cn.js';
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{A as so,B as uo,C as vo,D as wo,E as yo,F as zo,G as Ao,a as v,b as L,c as M,d as N,e as O,f as P,g as Q,h as R,i as S,j as ro,k as eo,l as fo,m as mo,n as po,o as to,p as xo,q as ao,r as
|
|
1
|
+
import{A as so,B as uo,C as vo,D as wo,E as yo,F as zo,G as Ao,H as Bo,I as Co,J as Do,a as v,b as L,c as M,d as N,e as O,f as P,g as Q,h as R,i as S,j as ro,k as eo,l as fo,m as mo,n as po,o as to,p as xo,q as ao,r as bo,s as co,t as go,u as io,v as jo,w as ko,x as lo,y as no,z as qo}from"./chunk-32A5SDZL.mjs";import{a as Y}from"./chunk-GGIZK3EO.mjs";import{a as Z}from"./chunk-OWYWG4M6.mjs";import{a as _}from"./chunk-I5Y5DKPK.mjs";import{a as $}from"./chunk-MPU6JRPV.mjs";import{a as oo}from"./chunk-ZJKRLIJQ.mjs";import{a as E,b as F,c as G,d as H,e as I,f as J,g as K}from"./chunk-UUWTKITJ.mjs";import{a as D}from"./chunk-ZECUYKGD.mjs";import{a as T}from"./chunk-EMO4MGOU.mjs";import{a as U}from"./chunk-6XPTKHZD.mjs";import{a as V}from"./chunk-XWSEDYR7.mjs";import{a as W}from"./chunk-3BUV2ANI.mjs";import{a as X}from"./chunk-5PD4TPH7.mjs";import{a as h,b as i}from"./chunk-5VUO5P2B.mjs";import{a as j,b as k,c as l,d as n}from"./chunk-PXSGKN2A.mjs";import{a as ho}from"./chunk-PUFZASP4.mjs";import{a as q}from"./chunk-GTQBILTE.mjs";import{a as s}from"./chunk-2OJAP233.mjs";import{a as u}from"./chunk-NEIHTFSW.mjs";import{a as w,b as y,c as z,d as A,e as B,f as C}from"./chunk-LXJVNY3R.mjs";import{a as o}from"./chunk-YUMUNL66.mjs";import{a as r}from"./chunk-2RCZ6Q6L.mjs";import{a as e,b as f}from"./chunk-SYT2IXG6.mjs";import{a as m,b as p,c as t,d as x}from"./chunk-2SICE2ZS.mjs";import{a,b,c}from"./chunk-WE5LUVZO.mjs";import{a as d,b as g}from"./chunk-FYXE2IZT.mjs";export{vo as ADMIN_HOSTNAMES,b as ALL_TOOLS,uo as API_DOMAIN,so as API_HOSTNAMES,no as APP_DOMAIN,qo as APP_DOMAIN_WITH_NGROK,lo as APP_HOSTNAMES,io as APP_NAME,mo as BUSINESS_PLAN,c as COMPARE_PAGES,r as COUNTRIES,j as DEFAULT_LINK_PROPS,h as DEFAULT_REDIRECTS,zo as DEMO_LINK_ID,Do as DUB_DOMAINS,i as DUB_HEADERS,wo as DUB_LOGO,Ao as DUB_PROJECT_ID,yo as DUB_THUMBNAIL,po as ENTERPRISE_PLAN,x as FADE_IN_ANIMATION_SETTINGS,m as FRAMER_MOTION_LIST_ITEM_VARIANTS,eo as FREE_PLAN,ao as FREE_PROJECTS_LIMIT,k as GOOGLE_FAVICON_URL,a as HIDE_BACKGROUND_SEGMENTS,ko as HOME_DOMAIN,Bo as LEGAL_PROJECT_ID,Co as LEGAL_USER_ID,d as LOCALHOST_GEO_DATA,g as LOCALHOST_IP,l as PAGINATION_LIMIT,ro as PLANS,fo as PRO_PLAN,to as PUBLIC_PLANS,ho as SAML_PROVIDERS,e as SECOND_LEVEL_DOMAINS,xo as SELF_SERVE_PAID_PLANS,jo as SHORT_DOMAIN,f as SPECIAL_APEX_DOMAINS,p as STAGGER_CHILD_VARIANTS,t as SWIPE_REVEAL_ANIMATION_SETTINGS,n as TWO_WEEKS_IN_SECONDS,q as capitalize,o as ccTLDs,s as chunk,u as cn,v as constructMetadata,I as constructURLFromUTMParams,D as deepEqual,T as fetchWithTimeout,U as fetcher,y as formatDate,L as generateDomainFromName,V as generateMD5Hash,B as getAdjustedBillingCycleStart,Q as getApexDomain,C as getBillingStartDate,w as getDateTimeLocal,R as getDomainWithoutWWW,z as getFirstAndLastDay,A as getLastDayOfMonth,go as getNextPlan,H as getParamsFromURL,co as getPlanDetails,bo as getPlanFromPriceId,G as getSearchParams,P as getSubdomain,F as getUrlFromString,K as getUrlWithoutUTMParams,S as isDubDomain,W as isIframeable,E as isValidUrl,X as linkConstructor,Y as log,_ as nFormatter,Z as nanoid,J as paramsMetadata,$ as timeAgo,oo as truncate,M as validDomainRegex,N as validKeyRegex,O as validSlugRegex};
|