@dub/utils 0.0.28 → 0.0.29
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-3OOMLTJU.mjs +1 -0
- package/dist/chunk-3UBZ222G.mjs +1 -0
- package/dist/chunk-4M6WGMF5.mjs +1 -0
- package/dist/chunk-4Q6OLEY4.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-6MXR5XLJ.mjs +1 -0
- package/dist/chunk-6Q2MCPZP.mjs +1 -0
- package/dist/chunk-6SBJPILW.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-AIRQ6LHD.mjs +1 -0
- package/dist/chunk-ARUFZ3N7.mjs +1 -0
- package/dist/chunk-B4R2MH5C.mjs +1 -0
- package/dist/chunk-BF4VFD3F.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-DWGAAIZ7.mjs +1 -0
- package/dist/chunk-DZ5GL4XN.mjs +1 -0
- package/dist/chunk-E67KYH6T.mjs +1 -0
- package/dist/chunk-EEEOYXQI.mjs +1 -0
- package/dist/chunk-EMGP7EVH.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-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-IOI3AZRU.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-KKQDG22H.mjs +1 -0
- package/dist/chunk-KKUAJ54V.mjs +1 -0
- package/dist/chunk-LBQJ5TZQ.mjs +1 -0
- package/dist/chunk-LKZUZTIO.mjs +1 -0
- package/dist/chunk-LPIDPOIS.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-OWYWG4M6.mjs +1 -0
- package/dist/chunk-PCCGH2UI.mjs +1 -0
- package/dist/chunk-PUFZASP4.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-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-TVYDH6QM.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-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-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-ZM4JP5B2.mjs +1 -0
- package/dist/chunk-ZQST7SKH.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 +23 -125
- 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 +21 -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.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 -1
- package/dist/index.mjs +1 -1
- package/dist/url-to-deeplink-ac84c7cb.d.ts +6 -0
- package/package.json +3 -3
|
@@ -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};
|
|
@@ -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};
|
|
@@ -1,5 +1,12 @@
|
|
|
1
1
|
export { ccTLDs } from './cctlds.js';
|
|
2
2
|
export { COUNTRIES } from './countries.js';
|
|
3
|
+
export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './domains.js';
|
|
4
|
+
export { FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS } from './framer-motion.js';
|
|
5
|
+
export { ALL_TOOLS, COMPARE_PAGES, HIDE_BACKGROUND_SEGMENTS } from './layout.js';
|
|
6
|
+
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './localhost.js';
|
|
7
|
+
export { DEFAULT_REDIRECTS, DUB_HEADERS } from './middleware.js';
|
|
8
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, PAGINATION_LIMIT } from './misc.js';
|
|
9
|
+
export { SAML_PROVIDERS } from './saml.js';
|
|
3
10
|
|
|
4
11
|
declare const PLANS: ({
|
|
5
12
|
name: string;
|
|
@@ -41,9 +48,11 @@ declare const PLANS: ({
|
|
|
41
48
|
href: string;
|
|
42
49
|
};
|
|
43
50
|
})[];
|
|
51
|
+
link?: undefined;
|
|
44
52
|
} | {
|
|
45
53
|
name: string;
|
|
46
54
|
tagline: string;
|
|
55
|
+
link: string;
|
|
47
56
|
price: {
|
|
48
57
|
monthly: number;
|
|
49
58
|
yearly: number;
|
|
@@ -83,6 +92,8 @@ declare const PLANS: ({
|
|
|
83
92
|
})[];
|
|
84
93
|
} | {
|
|
85
94
|
name: string;
|
|
95
|
+
tagline: string;
|
|
96
|
+
link: string;
|
|
86
97
|
price: {
|
|
87
98
|
monthly: null;
|
|
88
99
|
yearly: null;
|
|
@@ -109,7 +120,6 @@ declare const PLANS: ({
|
|
|
109
120
|
features: {
|
|
110
121
|
text: string;
|
|
111
122
|
}[];
|
|
112
|
-
tagline?: undefined;
|
|
113
123
|
})[];
|
|
114
124
|
declare const FREE_PLAN: {
|
|
115
125
|
name: string;
|
|
@@ -151,9 +161,11 @@ declare const FREE_PLAN: {
|
|
|
151
161
|
href: string;
|
|
152
162
|
};
|
|
153
163
|
})[];
|
|
164
|
+
link?: undefined;
|
|
154
165
|
} | {
|
|
155
166
|
name: string;
|
|
156
167
|
tagline: string;
|
|
168
|
+
link: string;
|
|
157
169
|
price: {
|
|
158
170
|
monthly: number;
|
|
159
171
|
yearly: number;
|
|
@@ -193,6 +205,8 @@ declare const FREE_PLAN: {
|
|
|
193
205
|
})[];
|
|
194
206
|
} | {
|
|
195
207
|
name: string;
|
|
208
|
+
tagline: string;
|
|
209
|
+
link: string;
|
|
196
210
|
price: {
|
|
197
211
|
monthly: null;
|
|
198
212
|
yearly: null;
|
|
@@ -219,7 +233,6 @@ declare const FREE_PLAN: {
|
|
|
219
233
|
features: {
|
|
220
234
|
text: string;
|
|
221
235
|
}[];
|
|
222
|
-
tagline?: undefined;
|
|
223
236
|
};
|
|
224
237
|
declare const SELF_SERVE_PAID_PLANS: ({
|
|
225
238
|
name: string;
|
|
@@ -261,9 +274,11 @@ declare const SELF_SERVE_PAID_PLANS: ({
|
|
|
261
274
|
href: string;
|
|
262
275
|
};
|
|
263
276
|
})[];
|
|
277
|
+
link?: undefined;
|
|
264
278
|
} | {
|
|
265
279
|
name: string;
|
|
266
280
|
tagline: string;
|
|
281
|
+
link: string;
|
|
267
282
|
price: {
|
|
268
283
|
monthly: number;
|
|
269
284
|
yearly: number;
|
|
@@ -303,6 +318,8 @@ declare const SELF_SERVE_PAID_PLANS: ({
|
|
|
303
318
|
})[];
|
|
304
319
|
} | {
|
|
305
320
|
name: string;
|
|
321
|
+
tagline: string;
|
|
322
|
+
link: string;
|
|
306
323
|
price: {
|
|
307
324
|
monthly: null;
|
|
308
325
|
yearly: null;
|
|
@@ -329,75 +346,10 @@ declare const SELF_SERVE_PAID_PLANS: ({
|
|
|
329
346
|
features: {
|
|
330
347
|
text: string;
|
|
331
348
|
}[];
|
|
332
|
-
tagline?: undefined;
|
|
333
349
|
})[];
|
|
334
350
|
declare const FREE_PROJECTS_LIMIT = 2;
|
|
335
351
|
|
|
336
|
-
declare const
|
|
337
|
-
city: string;
|
|
338
|
-
region: string;
|
|
339
|
-
country: string;
|
|
340
|
-
latitude: string;
|
|
341
|
-
longitude: string;
|
|
342
|
-
};
|
|
343
|
-
declare const LOCALHOST_IP = "63.141.57.109";
|
|
344
|
-
declare const FRAMER_MOTION_LIST_ITEM_VARIANTS: {
|
|
345
|
-
hidden: {
|
|
346
|
-
scale: number;
|
|
347
|
-
opacity: number;
|
|
348
|
-
};
|
|
349
|
-
show: {
|
|
350
|
-
scale: number;
|
|
351
|
-
opacity: number;
|
|
352
|
-
transition: {
|
|
353
|
-
type: string;
|
|
354
|
-
};
|
|
355
|
-
};
|
|
356
|
-
};
|
|
357
|
-
declare const STAGGER_CHILD_VARIANTS: {
|
|
358
|
-
hidden: {
|
|
359
|
-
opacity: number;
|
|
360
|
-
y: number;
|
|
361
|
-
};
|
|
362
|
-
show: {
|
|
363
|
-
opacity: number;
|
|
364
|
-
y: number;
|
|
365
|
-
transition: {
|
|
366
|
-
duration: number;
|
|
367
|
-
type: string;
|
|
368
|
-
};
|
|
369
|
-
};
|
|
370
|
-
};
|
|
371
|
-
declare const SWIPE_REVEAL_ANIMATION_SETTINGS: {
|
|
372
|
-
initial: {
|
|
373
|
-
height: number;
|
|
374
|
-
};
|
|
375
|
-
animate: {
|
|
376
|
-
height: string;
|
|
377
|
-
};
|
|
378
|
-
exit: {
|
|
379
|
-
height: number;
|
|
380
|
-
};
|
|
381
|
-
transition: {
|
|
382
|
-
duration: number;
|
|
383
|
-
ease: string;
|
|
384
|
-
};
|
|
385
|
-
};
|
|
386
|
-
declare const FADE_IN_ANIMATION_SETTINGS: {
|
|
387
|
-
initial: {
|
|
388
|
-
opacity: number;
|
|
389
|
-
};
|
|
390
|
-
animate: {
|
|
391
|
-
opacity: number;
|
|
392
|
-
};
|
|
393
|
-
exit: {
|
|
394
|
-
opacity: number;
|
|
395
|
-
};
|
|
396
|
-
transition: {
|
|
397
|
-
duration: number;
|
|
398
|
-
};
|
|
399
|
-
};
|
|
400
|
-
declare const PAGINATION_LIMIT = 100;
|
|
352
|
+
declare const APP_NAME: string;
|
|
401
353
|
declare const SHORT_DOMAIN: string;
|
|
402
354
|
declare const HOME_DOMAIN: string;
|
|
403
355
|
declare const APP_HOSTNAMES: Set<string>;
|
|
@@ -406,38 +358,19 @@ declare const APP_DOMAIN_WITH_NGROK: string;
|
|
|
406
358
|
declare const API_HOSTNAMES: Set<string>;
|
|
407
359
|
declare const API_DOMAIN: string;
|
|
408
360
|
declare const ADMIN_HOSTNAMES: Set<string>;
|
|
409
|
-
declare const DEFAULT_REDIRECTS: {
|
|
410
|
-
home: string;
|
|
411
|
-
dub: string;
|
|
412
|
-
signin: string;
|
|
413
|
-
login: string;
|
|
414
|
-
register: string;
|
|
415
|
-
signup: string;
|
|
416
|
-
app: string;
|
|
417
|
-
dashboard: string;
|
|
418
|
-
links: string;
|
|
419
|
-
settings: string;
|
|
420
|
-
welcome: string;
|
|
421
|
-
discord: string;
|
|
422
|
-
};
|
|
423
|
-
declare const DUB_HEADERS: {
|
|
424
|
-
headers: {
|
|
425
|
-
"x-powered-by": string;
|
|
426
|
-
};
|
|
427
|
-
};
|
|
428
|
-
declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&domain_url=";
|
|
429
361
|
declare const DUB_LOGO = "https://d2vwwcvoksz7ty.cloudfront.net/logo.png";
|
|
430
362
|
declare const DUB_THUMBNAIL = "https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png";
|
|
363
|
+
declare const DEMO_LINK_ID = "clqo10sum0006js08vutzfxt3";
|
|
431
364
|
declare const DUB_PROJECT_ID = "cl7pj5kq4006835rbjlt2ofka";
|
|
432
365
|
declare const LEGAL_PROJECT_ID = "clrflia0j0000vs7sqfhz9c7q";
|
|
433
366
|
declare const LEGAL_USER_ID = "clqei1lgc0000vsnzi01pbf47";
|
|
434
|
-
declare const HIDE_BACKGROUND_SEGMENTS: string[];
|
|
435
367
|
declare const DUB_DOMAINS: {
|
|
436
368
|
id: string;
|
|
437
369
|
slug: string;
|
|
438
370
|
verified: boolean;
|
|
439
371
|
primary: boolean;
|
|
440
372
|
archived: boolean;
|
|
373
|
+
publicStats: boolean;
|
|
441
374
|
target: string;
|
|
442
375
|
type: string;
|
|
443
376
|
placeholder: string;
|
|
@@ -445,40 +378,5 @@ declare const DUB_DOMAINS: {
|
|
|
445
378
|
allowedHostnames: string[];
|
|
446
379
|
projectId: string;
|
|
447
380
|
}[];
|
|
448
|
-
declare const ALL_TOOLS: {
|
|
449
|
-
name: string;
|
|
450
|
-
slug: string;
|
|
451
|
-
}[];
|
|
452
|
-
declare const SECOND_LEVEL_DOMAINS: Set<string>;
|
|
453
|
-
declare const SPECIAL_APEX_DOMAINS: Set<string>;
|
|
454
|
-
declare const DEFAULT_LINK_PROPS: {
|
|
455
|
-
key: string;
|
|
456
|
-
url: string;
|
|
457
|
-
domain: string;
|
|
458
|
-
archived: boolean;
|
|
459
|
-
expiresAt: null;
|
|
460
|
-
password: null;
|
|
461
|
-
title: null;
|
|
462
|
-
description: null;
|
|
463
|
-
image: null;
|
|
464
|
-
rewrite: boolean;
|
|
465
|
-
ios: null;
|
|
466
|
-
android: null;
|
|
467
|
-
clicks: number;
|
|
468
|
-
userId: string;
|
|
469
|
-
proxy: boolean;
|
|
470
|
-
};
|
|
471
|
-
declare const SAML_PROVIDERS: {
|
|
472
|
-
name: string;
|
|
473
|
-
logo: string;
|
|
474
|
-
saml: string;
|
|
475
|
-
samlModalCopy: string;
|
|
476
|
-
scim: string;
|
|
477
|
-
scimModalCopy: {
|
|
478
|
-
url: string;
|
|
479
|
-
token: string;
|
|
480
|
-
};
|
|
481
|
-
wip: boolean;
|
|
482
|
-
}[];
|
|
483
381
|
|
|
484
|
-
export { ADMIN_HOSTNAMES,
|
|
382
|
+
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, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN };
|
package/dist/constants/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as s,b as t,c as u,d as v,e as x,f as y,g as z,h as A,i as B,j as C,k as D,l as E,m as F,n as G,o as H,p as I,q as J,r as K,s as L,t as M}from"../chunk-VTLX43W7.mjs";import{a as n,b as o}from"../chunk-5VUO5P2B.mjs";import{a as p,b as q,c as r}from"../chunk-5FPTMLJS.mjs";import{a as w}from"../chunk-PUFZASP4.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{F as ADMIN_HOSTNAMES,j as ALL_TOOLS,E as API_DOMAIN,D as API_HOSTNAMES,B as APP_DOMAIN,C as APP_DOMAIN_WITH_NGROK,A as APP_HOSTNAMES,x as APP_NAME,k as COMPARE_PAGES,b as COUNTRIES,p as DEFAULT_LINK_PROPS,n as DEFAULT_REDIRECTS,I as DEMO_LINK_ID,M as DUB_DOMAINS,o as DUB_HEADERS,G as DUB_LOGO,J as DUB_PROJECT_ID,H as DUB_THUMBNAIL,h as FADE_IN_ANIMATION_SETTINGS,e as FRAMER_MOTION_LIST_ITEM_VARIANTS,t as FREE_PLAN,v as FREE_PROJECTS_LIMIT,q as GOOGLE_FAVICON_URL,i as HIDE_BACKGROUND_SEGMENTS,z as HOME_DOMAIN,K as LEGAL_PROJECT_ID,L as LEGAL_USER_ID,l as LOCALHOST_GEO_DATA,m as LOCALHOST_IP,r as PAGINATION_LIMIT,s as PLANS,w as SAML_PROVIDERS,c as SECOND_LEVEL_DOMAINS,u as SELF_SERVE_PAID_PLANS,y as SHORT_DOMAIN,d as SPECIAL_APEX_DOMAINS,f as STAGGER_CHILD_VARIANTS,g as SWIPE_REVEAL_ANIMATION_SETTINGS,a as ccTLDs};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"../chunk-WE5LUVZO.mjs";export{b as ALL_TOOLS,c as COMPARE_PAGES,a as HIDE_BACKGROUND_SEGMENTS};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../chunk-FYXE2IZT.mjs";export{a as LOCALHOST_GEO_DATA,b as LOCALHOST_IP};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const DEFAULT_REDIRECTS: {
|
|
2
|
+
home: string;
|
|
3
|
+
dub: string;
|
|
4
|
+
signin: string;
|
|
5
|
+
login: string;
|
|
6
|
+
register: string;
|
|
7
|
+
signup: string;
|
|
8
|
+
app: string;
|
|
9
|
+
dashboard: string;
|
|
10
|
+
links: string;
|
|
11
|
+
settings: string;
|
|
12
|
+
welcome: string;
|
|
13
|
+
discord: string;
|
|
14
|
+
};
|
|
15
|
+
declare const DUB_HEADERS: {
|
|
16
|
+
headers: {
|
|
17
|
+
"x-powered-by": string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
export { DEFAULT_REDIRECTS, DUB_HEADERS };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b}from"../chunk-5VUO5P2B.mjs";export{a as DEFAULT_REDIRECTS,b as DUB_HEADERS};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare const DEFAULT_LINK_PROPS: {
|
|
2
|
+
key: string;
|
|
3
|
+
url: string;
|
|
4
|
+
domain: string;
|
|
5
|
+
archived: boolean;
|
|
6
|
+
expiresAt: null;
|
|
7
|
+
password: null;
|
|
8
|
+
title: null;
|
|
9
|
+
description: null;
|
|
10
|
+
image: null;
|
|
11
|
+
rewrite: boolean;
|
|
12
|
+
ios: null;
|
|
13
|
+
android: null;
|
|
14
|
+
clicks: number;
|
|
15
|
+
userId: string;
|
|
16
|
+
proxy: boolean;
|
|
17
|
+
};
|
|
18
|
+
declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&domain_url=";
|
|
19
|
+
declare const PAGINATION_LIMIT = 100;
|
|
20
|
+
|
|
21
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, PAGINATION_LIMIT };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c}from"../chunk-5FPTMLJS.mjs";export{a as DEFAULT_LINK_PROPS,b as GOOGLE_FAVICON_URL,c as PAGINATION_LIMIT};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-PUFZASP4.mjs";export{a as SAML_PROVIDERS};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-2TURBZEL.mjs";import"../chunk-VTLX43W7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-5FPTMLJS.mjs";import"../chunk-PUFZASP4.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{a,b,c,d,e,f,g,h}from"../chunk-
|
|
1
|
+
import{a,b,c,d,e,f,g,h}from"../chunk-VEUP2DC6.mjs";import"../chunk-UUWTKITJ.mjs";import"../chunk-VTLX43W7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-5FPTMLJS.mjs";import"../chunk-PUFZASP4.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"../chunk-SPSUTBZ7.mjs";import{a as
|
|
1
|
+
import"../chunk-SPSUTBZ7.mjs";import{a as F}from"../chunk-PEPVOMPB.mjs";import{a as G}from"../chunk-6Q2MCPZP.mjs";import{a as H}from"../chunk-OWYWG4M6.mjs";import{a as I}from"../chunk-I5Y5DKPK.mjs";import{a as J}from"../chunk-MPU6JRPV.mjs";import{a as K}from"../chunk-ZJKRLIJQ.mjs";import{a as k}from"../chunk-ZECUYKGD.mjs";import{a as s,b as t,c as u,d as v,e as w,f as x,g as y,h as z}from"../chunk-VEUP2DC6.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 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{a}from"../chunk-GTQBILTE.mjs";import{a as b}from"../chunk-2OJAP233.mjs";import{a as c}from"../chunk-NEIHTFSW.mjs";import{a as d}from"../chunk-2TURBZEL.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-VTLX43W7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-5FPTMLJS.mjs";import"../chunk-PUFZASP4.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,G as getPlanFromPriceId,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,I as nFormatter,H as nanoid,q as paramsMetadata,J as timeAgo,K as truncate,t as validDomainRegex,u as validKeyRegex,v as validSlugRegex};
|
package/dist/functions/misc.d.ts
CHANGED
|
@@ -38,9 +38,11 @@ declare const getPlanFromPriceId: (priceId: string) => {
|
|
|
38
38
|
href: string;
|
|
39
39
|
};
|
|
40
40
|
})[];
|
|
41
|
+
link?: undefined;
|
|
41
42
|
} | {
|
|
42
43
|
name: string;
|
|
43
44
|
tagline: string;
|
|
45
|
+
link: string;
|
|
44
46
|
price: {
|
|
45
47
|
monthly: number;
|
|
46
48
|
yearly: number;
|
|
@@ -80,6 +82,8 @@ declare const getPlanFromPriceId: (priceId: string) => {
|
|
|
80
82
|
})[];
|
|
81
83
|
} | {
|
|
82
84
|
name: string;
|
|
85
|
+
tagline: string;
|
|
86
|
+
link: string;
|
|
83
87
|
price: {
|
|
84
88
|
monthly: null;
|
|
85
89
|
yearly: null;
|
|
@@ -106,7 +110,6 @@ declare const getPlanFromPriceId: (priceId: string) => {
|
|
|
106
110
|
features: {
|
|
107
111
|
text: string;
|
|
108
112
|
}[];
|
|
109
|
-
tagline?: undefined;
|
|
110
113
|
} | null;
|
|
111
114
|
|
|
112
115
|
export { getPlanFromPriceId };
|
package/dist/functions/misc.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-6Q2MCPZP.mjs";import"../chunk-VTLX43W7.mjs";import"../chunk-5VUO5P2B.mjs";import"../chunk-5FPTMLJS.mjs";import"../chunk-PUFZASP4.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 getPlanFromPriceId};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a}from"../chunk-
|
|
1
|
+
import{a}from"../chunk-OWYWG4M6.mjs";export{a as nanoid};
|
package/dist/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { ADMIN_HOSTNAMES,
|
|
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, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN } 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';
|
|
@@ -20,5 +20,12 @@ export { truncate } from './functions/truncate.js';
|
|
|
20
20
|
export { constructURLFromUTMParams, getParamsFromURL, getSearchParams, getUrlFromString, getUrlWithoutUTMParams, isValidUrl, paramsMetadata } from './functions/urls.js';
|
|
21
21
|
export { ccTLDs } from './constants/cctlds.js';
|
|
22
22
|
export { COUNTRIES } from './constants/countries.js';
|
|
23
|
+
export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS } from './constants/domains.js';
|
|
24
|
+
export { FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS } from './constants/framer-motion.js';
|
|
25
|
+
export { ALL_TOOLS, COMPARE_PAGES, HIDE_BACKGROUND_SEGMENTS } from './constants/layout.js';
|
|
26
|
+
export { LOCALHOST_GEO_DATA, LOCALHOST_IP } from './constants/localhost.js';
|
|
27
|
+
export { DEFAULT_REDIRECTS, DUB_HEADERS } from './constants/middleware.js';
|
|
28
|
+
export { DEFAULT_LINK_PROPS, GOOGLE_FAVICON_URL, PAGINATION_LIMIT } from './constants/misc.js';
|
|
29
|
+
export { SAML_PROVIDERS } from './constants/saml.js';
|
|
23
30
|
import 'clsx';
|
|
24
31
|
import 'next';
|
package/dist/index.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import"./chunk-SPSUTBZ7.mjs";import{a as
|
|
1
|
+
import"./chunk-SPSUTBZ7.mjs";import{a as lo}from"./chunk-PEPVOMPB.mjs";import{a as no}from"./chunk-6Q2MCPZP.mjs";import{a as qo}from"./chunk-OWYWG4M6.mjs";import{a as so}from"./chunk-I5Y5DKPK.mjs";import{a as uo}from"./chunk-MPU6JRPV.mjs";import{a as vo}from"./chunk-ZJKRLIJQ.mjs";import{a as X}from"./chunk-ZECUYKGD.mjs";import{a as fo,b as mo,c as po,d as to,e as xo,f as ao,g as bo,h as co}from"./chunk-VEUP2DC6.mjs";import{a as Y,b as Z,c as _,d as $,e as oo,f as ro,g as eo}from"./chunk-UUWTKITJ.mjs";import{a as go}from"./chunk-EMO4MGOU.mjs";import{a as ho}from"./chunk-6XPTKHZD.mjs";import{a as io}from"./chunk-XWSEDYR7.mjs";import{a as jo}from"./chunk-3BUV2ANI.mjs";import{a as ko}from"./chunk-5PD4TPH7.mjs";import{a as N}from"./chunk-GTQBILTE.mjs";import{a as O}from"./chunk-2OJAP233.mjs";import{a as P}from"./chunk-NEIHTFSW.mjs";import{a as Q}from"./chunk-2TURBZEL.mjs";import{a as R,b as S,c as T,d as U,e as V,f as W}from"./chunk-LXJVNY3R.mjs";import{a as n,b as q,c as s,d as u,e as w,f as y,g as z,h as A,i as B,j as C,k as D,l as E,m as F,n as G,o as H,p as I,q as J,r as K,s as L,t as M}from"./chunk-VTLX43W7.mjs";import{a as h,b as i}from"./chunk-5VUO5P2B.mjs";import{a as j,b as k,c as l}from"./chunk-5FPTMLJS.mjs";import{a as v}from"./chunk-PUFZASP4.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{F as ADMIN_HOSTNAMES,b as ALL_TOOLS,E as API_DOMAIN,D as API_HOSTNAMES,B as APP_DOMAIN,C as APP_DOMAIN_WITH_NGROK,A as APP_HOSTNAMES,w as APP_NAME,c as COMPARE_PAGES,r as COUNTRIES,j as DEFAULT_LINK_PROPS,h as DEFAULT_REDIRECTS,I as DEMO_LINK_ID,M as DUB_DOMAINS,i as DUB_HEADERS,G as DUB_LOGO,J as DUB_PROJECT_ID,H as DUB_THUMBNAIL,x as FADE_IN_ANIMATION_SETTINGS,m as FRAMER_MOTION_LIST_ITEM_VARIANTS,q as FREE_PLAN,u as FREE_PROJECTS_LIMIT,k as GOOGLE_FAVICON_URL,a as HIDE_BACKGROUND_SEGMENTS,z as HOME_DOMAIN,K as LEGAL_PROJECT_ID,L as LEGAL_USER_ID,d as LOCALHOST_GEO_DATA,g as LOCALHOST_IP,l as PAGINATION_LIMIT,n as PLANS,v as SAML_PROVIDERS,e as SECOND_LEVEL_DOMAINS,s as SELF_SERVE_PAID_PLANS,y as SHORT_DOMAIN,f as SPECIAL_APEX_DOMAINS,p as STAGGER_CHILD_VARIANTS,t as SWIPE_REVEAL_ANIMATION_SETTINGS,N as capitalize,o as ccTLDs,O as chunk,P as cn,Q as constructMetadata,oo as constructURLFromUTMParams,X as deepEqual,go as fetchWithTimeout,ho as fetcher,S as formatDate,fo as generateDomainFromName,io as generateMD5Hash,V as getAdjustedBillingCycleStart,ao as getApexDomain,W as getBillingStartDate,R as getDateTimeLocal,bo as getDomainWithoutWWW,T as getFirstAndLastDay,U as getLastDayOfMonth,$ as getParamsFromURL,no as getPlanFromPriceId,_ as getSearchParams,xo as getSubdomain,Z as getUrlFromString,eo as getUrlWithoutUTMParams,co as isDubDomain,jo as isIframeable,Y as isValidUrl,ko as linkConstructor,lo as log,so as nFormatter,qo as nanoid,ro as paramsMetadata,uo as timeAgo,vo as truncate,mo as validDomainRegex,po as validKeyRegex,to as validSlugRegex};
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dub/utils",
|
|
3
3
|
"description": "Utility functions and constants for Dub.co",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.29",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "./dist/index.js",
|
|
7
7
|
"module": "./dist/index.mjs",
|
|
@@ -31,10 +31,10 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@sindresorhus/slugify": "^2.2.1",
|
|
34
|
-
"clsx": "^
|
|
34
|
+
"clsx": "^2.1.0",
|
|
35
35
|
"ms": "^2.1.3",
|
|
36
36
|
"nanoid": "^5.0.1",
|
|
37
|
-
"tailwind-merge": "^
|
|
37
|
+
"tailwind-merge": "^2.2.1"
|
|
38
38
|
},
|
|
39
39
|
"author": "Steven Tey <stevensteel97@gmail.com>",
|
|
40
40
|
"homepage": "https://dub.co",
|