@dub/utils 0.0.30 → 0.0.31
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-ZNAHVPCM.mjs +1 -0
- package/dist/constants/index.d.ts +114 -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 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,119 @@ declare const PRO_PLAN: {
|
|
|
347
347
|
text: string;
|
|
348
348
|
}[];
|
|
349
349
|
};
|
|
350
|
+
declare const ENTERPRISE_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
|
+
};
|
|
350
463
|
declare const SELF_SERVE_PAID_PLANS: ({
|
|
351
464
|
name: string;
|
|
352
465
|
tagline: string;
|
|
@@ -831,4 +944,4 @@ declare const DUB_DOMAINS: {
|
|
|
831
944
|
projectId: string;
|
|
832
945
|
}[];
|
|
833
946
|
|
|
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 };
|
|
947
|
+
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, ENTERPRISE_PLAN, 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 };
|
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,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 D,t as E,u as F,v as G,w as H,x as I,y as J,z as K}from"../chunk-ZNAHVPCM.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 C}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{L as ADMIN_HOSTNAMES,j as ALL_TOOLS,K as API_DOMAIN,J as API_HOSTNAMES,H as APP_DOMAIN,I as APP_DOMAIN_WITH_NGROK,G as APP_HOSTNAMES,D as APP_NAME,k as COMPARE_PAGES,b as COUNTRIES,p as DEFAULT_LINK_PROPS,n as DEFAULT_REDIRECTS,O as DEMO_LINK_ID,S as DUB_DOMAINS,o as DUB_HEADERS,M as DUB_LOGO,P as DUB_PROJECT_ID,N as DUB_THUMBNAIL,w as ENTERPRISE_PLAN,h as FADE_IN_ANIMATION_SETTINGS,e as FRAMER_MOTION_LIST_ITEM_VARIANTS,u as FREE_PLAN,y as FREE_PROJECTS_LIMIT,q as GOOGLE_FAVICON_URL,i as HIDE_BACKGROUND_SEGMENTS,F as HOME_DOMAIN,Q as LEGAL_PROJECT_ID,R as LEGAL_USER_ID,l as LOCALHOST_GEO_DATA,m as LOCALHOST_IP,r as PAGINATION_LIMIT,t as PLANS,v as PRO_PLAN,C as SAML_PROVIDERS,c as SECOND_LEVEL_DOMAINS,x as SELF_SERVE_PAID_PLANS,E 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,B as getNextPlan,A as getPlanDetails,z as getPlanFromPriceId};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-ZNAHVPCM.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-ZNAHVPCM.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-ZNAHVPCM.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, 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, 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,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 go,t as ho,u as io,v as jo,w as ko,x as lo,y as no,z as qo}from"./chunk-ZNAHVPCM.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 co}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{so as ADMIN_HOSTNAMES,b as ALL_TOOLS,qo as API_DOMAIN,no as API_HOSTNAMES,ko as APP_DOMAIN,lo as APP_DOMAIN_WITH_NGROK,jo as APP_HOSTNAMES,go as APP_NAME,c as COMPARE_PAGES,r as COUNTRIES,j as DEFAULT_LINK_PROPS,h as DEFAULT_REDIRECTS,wo as DEMO_LINK_ID,Bo as DUB_DOMAINS,i as DUB_HEADERS,uo as DUB_LOGO,yo as DUB_PROJECT_ID,vo as DUB_THUMBNAIL,mo as ENTERPRISE_PLAN,x as FADE_IN_ANIMATION_SETTINGS,m as FRAMER_MOTION_LIST_ITEM_VARIANTS,eo as FREE_PLAN,to as FREE_PROJECTS_LIMIT,k as GOOGLE_FAVICON_URL,a as HIDE_BACKGROUND_SEGMENTS,io as HOME_DOMAIN,zo as LEGAL_PROJECT_ID,Ao as LEGAL_USER_ID,d as LOCALHOST_GEO_DATA,g as LOCALHOST_IP,l as PAGINATION_LIMIT,ro as PLANS,fo as PRO_PLAN,co as SAML_PROVIDERS,e as SECOND_LEVEL_DOMAINS,po as SELF_SERVE_PAID_PLANS,ho 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,bo as getNextPlan,H as getParamsFromURL,ao as getPlanDetails,xo 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};
|