@dub/utils 0.0.27 → 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-2DN4J7N7.mjs +1 -0
- package/dist/chunk-2J47GIUG.mjs +1 -0
- package/dist/chunk-2JOG52JO.mjs +1 -0
- package/dist/chunk-2OJAP233.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-34MPJURK.mjs +1 -0
- package/dist/chunk-3B5DP3T4.mjs +1 -0
- package/dist/chunk-3BUV2ANI.mjs +1 -0
- package/dist/chunk-3C2XEUEU.mjs +1 -0
- package/dist/chunk-3OOMLTJU.mjs +1 -0
- package/dist/chunk-3PRW7SAO.mjs +1 -0
- package/dist/chunk-3UBZ222G.mjs +1 -0
- package/dist/chunk-4BN7BHOL.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-5PD4TPH7.mjs +1 -0
- package/dist/chunk-5SBJ6SVD.mjs +1 -0
- package/dist/chunk-5SU2MWLU.mjs +0 -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-6N3NW2JB.mjs +1 -0
- package/dist/chunk-6Q2MCPZP.mjs +1 -0
- package/dist/chunk-6SBJPILW.mjs +1 -0
- package/dist/chunk-6TFUDH7S.mjs +1 -0
- package/dist/chunk-6XPTKHZD.mjs +1 -0
- package/dist/chunk-6ZJZL5CL.mjs +1 -0
- package/dist/chunk-76VXH2L6.mjs +1 -0
- package/dist/chunk-7CR3I247.mjs +1 -0
- package/dist/chunk-7OQSL4CI.mjs +2 -0
- package/dist/chunk-A4FADA67.mjs +1 -0
- package/dist/chunk-AI2STCLX.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-BE3FE22D.mjs +1 -0
- package/dist/chunk-BF4VFD3F.mjs +1 -0
- package/dist/chunk-BMMTE4CL.mjs +1 -0
- package/dist/chunk-BQ3MQSVS.mjs +1 -0
- package/dist/chunk-C7CFYTBV.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-DHOWTHOI.mjs +3 -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-EMO4MGOU.mjs +1 -0
- package/dist/chunk-F6C3QYRM.mjs +1 -0
- package/dist/chunk-FCP5HRN4.mjs +1 -0
- package/dist/chunk-FKZO6ZCE.mjs +1 -0
- package/dist/chunk-FLUV3ASQ.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-GQLUSHIW.mjs +1 -0
- package/dist/chunk-GSO7S5NU.mjs +1 -0
- package/dist/chunk-GTQBILTE.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-HX6TVXHR.mjs +1 -0
- package/dist/chunk-I5Y5DKPK.mjs +1 -0
- package/dist/chunk-IGSNFZ4Y.mjs +1 -0
- package/dist/chunk-IOI3AZRU.mjs +1 -0
- package/dist/chunk-IX5HENBH.mjs +1 -0
- package/dist/chunk-J6V4PKNC.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-KL7VCF4Y.mjs +1 -0
- package/dist/chunk-L2SFRDQT.mjs +1 -0
- package/dist/chunk-L7JSRS6V.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-LXJVNY3R.mjs +1 -0
- package/dist/chunk-M36MRN4N.mjs +1 -0
- package/dist/chunk-MPU6JRPV.mjs +1 -0
- package/dist/chunk-MT3GLHZG.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-NEIHTFSW.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-OANHZJ6X.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-OSU5S2YT.mjs +3 -0
- package/dist/chunk-OWYWG4M6.mjs +1 -0
- package/dist/chunk-PCCGH2UI.mjs +1 -0
- package/dist/chunk-PEPVOMPB.mjs +1 -0
- package/dist/chunk-PUFZASP4.mjs +1 -0
- package/dist/chunk-QGTFY7PK.mjs +1 -0
- package/dist/chunk-QQFYILG6.mjs +1 -0
- package/dist/chunk-QU7V46PO.mjs +1 -0
- package/dist/chunk-QYPFWXDY.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-SKVYWWBC.mjs +3 -0
- package/dist/chunk-SL5QAJSF.mjs +1 -0
- package/dist/chunk-SPSUTBZ7.mjs +0 -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-TXEDXHC5.mjs +1 -0
- package/dist/chunk-UAGJDHMS.mjs +1 -0
- package/dist/chunk-UBCCNLBS.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-UUWTKITJ.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-VZYPOBKB.mjs +1 -0
- package/dist/chunk-W5LUKKPM.mjs +1 -0
- package/dist/chunk-W7MK4ZQS.mjs +1 -0
- package/dist/chunk-WCOSO55V.mjs +1 -0
- package/dist/chunk-WCUHRXGZ.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-XWSEDYR7.mjs +1 -0
- package/dist/chunk-YUMUNL66.mjs +1 -0
- package/dist/chunk-YXHGPHL2.mjs +1 -0
- package/dist/chunk-YY4NGU5S.mjs +1 -0
- package/dist/chunk-ZBBENF7Y.mjs +1 -0
- package/dist/chunk-ZECUYKGD.mjs +1 -0
- package/dist/chunk-ZJKRLIJQ.mjs +1 -0
- package/dist/chunk-ZM4JP5B2.mjs +1 -0
- package/dist/chunk-ZQST7SKH.mjs +1 -0
- package/dist/constants/cctlds.d.ts +1 -1
- package/dist/constants/cctlds.mjs +1 -1
- package/dist/constants/countries.d.ts +1 -1
- 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 +132 -121
- 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/capitalize.d.ts +3 -0
- package/dist/functions/capitalize.mjs +1 -0
- package/dist/functions/chunk.d.ts +3 -0
- package/dist/functions/chunk.mjs +1 -0
- package/dist/functions/cn.d.ts +5 -0
- package/dist/functions/cn.mjs +1 -0
- package/dist/functions/construct-metadata.d.ts +11 -0
- package/dist/functions/construct-metadata.mjs +1 -0
- package/dist/functions/datetime.d.ts +11 -0
- package/dist/functions/datetime.mjs +1 -0
- package/dist/functions/deep-equal.d.ts +4 -0
- package/dist/functions/deep-equal.mjs +1 -0
- package/dist/functions/domains.d.ts +10 -0
- package/dist/functions/domains.mjs +1 -0
- package/dist/functions/fetch-with-timeout.d.ts +3 -0
- package/dist/functions/fetch-with-timeout.mjs +1 -0
- package/dist/functions/fetcher.d.ts +3 -0
- package/dist/functions/fetcher.mjs +1 -0
- package/dist/functions/hash.d.ts +3 -0
- package/dist/functions/hash.mjs +1 -0
- package/dist/functions/index.d.ts +21 -0
- package/dist/functions/index.mjs +1 -0
- package/dist/functions/is-iframeable.d.ts +6 -0
- package/dist/functions/is-iframeable.mjs +1 -0
- package/dist/functions/link-constructor.d.ts +9 -0
- package/dist/functions/link-constructor.mjs +1 -0
- package/dist/functions/log.d.ts +7 -0
- package/dist/functions/log.mjs +1 -0
- package/dist/functions/misc.d.ts +115 -0
- package/dist/functions/misc.mjs +1 -0
- package/dist/functions/nanoid.d.ts +3 -0
- package/dist/functions/nanoid.mjs +1 -0
- package/dist/functions/nformatter.d.ts +6 -0
- package/dist/functions/nformatter.mjs +1 -0
- package/dist/functions/time-ago.d.ts +5 -0
- package/dist/functions/time-ago.mjs +1 -0
- package/dist/functions/truncate.d.ts +3 -0
- package/dist/functions/truncate.mjs +1 -0
- package/dist/functions/urls.d.ts +13 -0
- package/dist/functions/urls.mjs +1 -0
- package/dist/index.d.ts +31 -181
- package/dist/index.mjs +1 -1
- package/dist/is-iframeable-4cf55b9f.d.ts +6 -0
- package/dist/url-to-deeplink-ac84c7cb.d.ts +6 -0
- package/package.json +3 -3
|
@@ -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-YUMUNL66.mjs";export{a as ccTLDs};
|
|
@@ -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
|
-
export {
|
|
2
|
-
export {
|
|
1
|
+
export { ccTLDs } from './cctlds.js';
|
|
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,9 +120,8 @@ declare const PLANS: ({
|
|
|
109
120
|
features: {
|
|
110
121
|
text: string;
|
|
111
122
|
}[];
|
|
112
|
-
tagline?: undefined;
|
|
113
123
|
})[];
|
|
114
|
-
declare const
|
|
124
|
+
declare const FREE_PLAN: {
|
|
115
125
|
name: string;
|
|
116
126
|
tagline: string;
|
|
117
127
|
price: {
|
|
@@ -151,9 +161,11 @@ declare const SELF_SERVE_PAID_PLANS: ({
|
|
|
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 SELF_SERVE_PAID_PLANS: ({
|
|
|
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,74 +233,123 @@ declare const SELF_SERVE_PAID_PLANS: ({
|
|
|
219
233
|
features: {
|
|
220
234
|
text: string;
|
|
221
235
|
}[];
|
|
222
|
-
tagline?: undefined;
|
|
223
|
-
})[];
|
|
224
|
-
|
|
225
|
-
declare const LOCALHOST_GEO_DATA: {
|
|
226
|
-
city: string;
|
|
227
|
-
region: string;
|
|
228
|
-
country: string;
|
|
229
|
-
latitude: string;
|
|
230
|
-
longitude: string;
|
|
231
236
|
};
|
|
232
|
-
declare const
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
scale: number;
|
|
240
|
-
opacity: number;
|
|
241
|
-
transition: {
|
|
242
|
-
type: string;
|
|
243
|
-
};
|
|
237
|
+
declare const SELF_SERVE_PAID_PLANS: ({
|
|
238
|
+
name: string;
|
|
239
|
+
tagline: string;
|
|
240
|
+
price: {
|
|
241
|
+
monthly: number;
|
|
242
|
+
yearly: number;
|
|
243
|
+
ids?: undefined;
|
|
244
244
|
};
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
show: {
|
|
252
|
-
opacity: number;
|
|
253
|
-
y: number;
|
|
254
|
-
transition: {
|
|
255
|
-
duration: number;
|
|
256
|
-
type: string;
|
|
257
|
-
};
|
|
245
|
+
limits: {
|
|
246
|
+
links: number;
|
|
247
|
+
clicks: number;
|
|
248
|
+
domains: number;
|
|
249
|
+
tags: number;
|
|
250
|
+
users: number;
|
|
258
251
|
};
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
height: number;
|
|
252
|
+
colors: {
|
|
253
|
+
bg: string;
|
|
254
|
+
text: string;
|
|
263
255
|
};
|
|
264
|
-
|
|
265
|
-
|
|
256
|
+
cta: {
|
|
257
|
+
text: string;
|
|
258
|
+
href: string;
|
|
259
|
+
color: string;
|
|
260
|
+
shortText?: undefined;
|
|
266
261
|
};
|
|
267
|
-
|
|
268
|
-
|
|
262
|
+
featureTitle: string;
|
|
263
|
+
features: ({
|
|
264
|
+
text: string;
|
|
265
|
+
footnote?: undefined;
|
|
266
|
+
} | {
|
|
267
|
+
text: string;
|
|
268
|
+
footnote: string;
|
|
269
|
+
} | {
|
|
270
|
+
text: string;
|
|
271
|
+
footnote: {
|
|
272
|
+
title: string;
|
|
273
|
+
cta: string;
|
|
274
|
+
href: string;
|
|
275
|
+
};
|
|
276
|
+
})[];
|
|
277
|
+
link?: undefined;
|
|
278
|
+
} | {
|
|
279
|
+
name: string;
|
|
280
|
+
tagline: string;
|
|
281
|
+
link: string;
|
|
282
|
+
price: {
|
|
283
|
+
monthly: number;
|
|
284
|
+
yearly: number;
|
|
285
|
+
ids: string[];
|
|
269
286
|
};
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
287
|
+
limits: {
|
|
288
|
+
links: number;
|
|
289
|
+
clicks: number;
|
|
290
|
+
domains: number;
|
|
291
|
+
tags: number;
|
|
292
|
+
users: number;
|
|
273
293
|
};
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
|
-
opacity: number;
|
|
294
|
+
colors: {
|
|
295
|
+
bg: string;
|
|
296
|
+
text: string;
|
|
278
297
|
};
|
|
279
|
-
|
|
280
|
-
|
|
298
|
+
cta: {
|
|
299
|
+
text: string;
|
|
300
|
+
shortText: string;
|
|
301
|
+
href: string;
|
|
302
|
+
color: string;
|
|
281
303
|
};
|
|
282
|
-
|
|
283
|
-
|
|
304
|
+
featureTitle: string;
|
|
305
|
+
features: ({
|
|
306
|
+
text: string;
|
|
307
|
+
footnote?: undefined;
|
|
308
|
+
} | {
|
|
309
|
+
text: string;
|
|
310
|
+
footnote: string;
|
|
311
|
+
} | {
|
|
312
|
+
text: string;
|
|
313
|
+
footnote: {
|
|
314
|
+
title: string;
|
|
315
|
+
cta: string;
|
|
316
|
+
href: string;
|
|
317
|
+
};
|
|
318
|
+
})[];
|
|
319
|
+
} | {
|
|
320
|
+
name: string;
|
|
321
|
+
tagline: string;
|
|
322
|
+
link: string;
|
|
323
|
+
price: {
|
|
324
|
+
monthly: null;
|
|
325
|
+
yearly: null;
|
|
326
|
+
ids?: undefined;
|
|
284
327
|
};
|
|
285
|
-
|
|
286
|
-
|
|
328
|
+
limits: {
|
|
329
|
+
links: null;
|
|
330
|
+
clicks: null;
|
|
331
|
+
domains: null;
|
|
332
|
+
tags?: undefined;
|
|
333
|
+
users?: undefined;
|
|
287
334
|
};
|
|
288
|
-
|
|
289
|
-
|
|
335
|
+
colors: {
|
|
336
|
+
bg: string;
|
|
337
|
+
text: string;
|
|
338
|
+
};
|
|
339
|
+
cta: {
|
|
340
|
+
text: string;
|
|
341
|
+
href: string;
|
|
342
|
+
color: string;
|
|
343
|
+
shortText?: undefined;
|
|
344
|
+
};
|
|
345
|
+
featureTitle: string;
|
|
346
|
+
features: {
|
|
347
|
+
text: string;
|
|
348
|
+
}[];
|
|
349
|
+
})[];
|
|
350
|
+
declare const FREE_PROJECTS_LIMIT = 2;
|
|
351
|
+
|
|
352
|
+
declare const APP_NAME: string;
|
|
290
353
|
declare const SHORT_DOMAIN: string;
|
|
291
354
|
declare const HOME_DOMAIN: string;
|
|
292
355
|
declare const APP_HOSTNAMES: Set<string>;
|
|
@@ -295,77 +358,25 @@ declare const APP_DOMAIN_WITH_NGROK: string;
|
|
|
295
358
|
declare const API_HOSTNAMES: Set<string>;
|
|
296
359
|
declare const API_DOMAIN: string;
|
|
297
360
|
declare const ADMIN_HOSTNAMES: Set<string>;
|
|
298
|
-
declare const DEFAULT_REDIRECTS: {
|
|
299
|
-
home: string;
|
|
300
|
-
dub: string;
|
|
301
|
-
signin: string;
|
|
302
|
-
login: string;
|
|
303
|
-
register: string;
|
|
304
|
-
signup: string;
|
|
305
|
-
app: string;
|
|
306
|
-
dashboard: string;
|
|
307
|
-
links: string;
|
|
308
|
-
settings: string;
|
|
309
|
-
welcome: string;
|
|
310
|
-
discord: string;
|
|
311
|
-
};
|
|
312
|
-
declare const DUB_HEADERS: {
|
|
313
|
-
headers: {
|
|
314
|
-
"x-powered-by": string;
|
|
315
|
-
};
|
|
316
|
-
};
|
|
317
|
-
declare const GOOGLE_FAVICON_URL = "https://www.google.com/s2/favicons?sz=64&domain_url=";
|
|
318
361
|
declare const DUB_LOGO = "https://d2vwwcvoksz7ty.cloudfront.net/logo.png";
|
|
319
362
|
declare const DUB_THUMBNAIL = "https://d2vwwcvoksz7ty.cloudfront.net/thumbnail.png";
|
|
320
|
-
declare const
|
|
363
|
+
declare const DEMO_LINK_ID = "clqo10sum0006js08vutzfxt3";
|
|
364
|
+
declare const DUB_PROJECT_ID = "cl7pj5kq4006835rbjlt2ofka";
|
|
365
|
+
declare const LEGAL_PROJECT_ID = "clrflia0j0000vs7sqfhz9c7q";
|
|
366
|
+
declare const LEGAL_USER_ID = "clqei1lgc0000vsnzi01pbf47";
|
|
321
367
|
declare const DUB_DOMAINS: {
|
|
368
|
+
id: string;
|
|
322
369
|
slug: string;
|
|
323
370
|
verified: boolean;
|
|
324
371
|
primary: boolean;
|
|
325
372
|
archived: boolean;
|
|
373
|
+
publicStats: boolean;
|
|
326
374
|
target: string;
|
|
327
375
|
type: string;
|
|
328
376
|
placeholder: string;
|
|
329
377
|
clicks: number;
|
|
330
378
|
allowedHostnames: string[];
|
|
331
|
-
|
|
332
|
-
declare const ALL_TOOLS: {
|
|
333
|
-
name: string;
|
|
334
|
-
slug: string;
|
|
335
|
-
}[];
|
|
336
|
-
declare const SECOND_LEVEL_DOMAINS: Set<string>;
|
|
337
|
-
declare const SPECIAL_APEX_DOMAINS: Set<string>;
|
|
338
|
-
declare const DEFAULT_LINK_PROPS: {
|
|
339
|
-
key: string;
|
|
340
|
-
url: string;
|
|
341
|
-
domain: string;
|
|
342
|
-
archived: boolean;
|
|
343
|
-
expiresAt: null;
|
|
344
|
-
password: null;
|
|
345
|
-
title: null;
|
|
346
|
-
description: null;
|
|
347
|
-
image: null;
|
|
348
|
-
rewrite: boolean;
|
|
349
|
-
ios: null;
|
|
350
|
-
android: null;
|
|
351
|
-
clicks: number;
|
|
352
|
-
userId: string;
|
|
353
|
-
proxy: boolean;
|
|
354
|
-
};
|
|
355
|
-
declare const DUB_PROJECT_ID = "cl7pj5kq4006835rbjlt2ofka";
|
|
356
|
-
declare const LEGAL_PROJECT_ID = "clrflia0j0000vs7sqfhz9c7q";
|
|
357
|
-
declare const LEGAL_USER_ID = "clqei1lgc0000vsnzi01pbf47";
|
|
358
|
-
declare const SAML_PROVIDERS: {
|
|
359
|
-
name: string;
|
|
360
|
-
logo: string;
|
|
361
|
-
saml: string;
|
|
362
|
-
samlModalCopy: string;
|
|
363
|
-
scim: string;
|
|
364
|
-
scimModalCopy: {
|
|
365
|
-
url: string;
|
|
366
|
-
token: string;
|
|
367
|
-
};
|
|
368
|
-
wip: boolean;
|
|
379
|
+
projectId: string;
|
|
369
380
|
}[];
|
|
370
381
|
|
|
371
|
-
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-GTQBILTE.mjs";export{a as capitalize};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-2OJAP233.mjs";export{a as chunk};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-NEIHTFSW.mjs";export{a as cn};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Metadata } from 'next';
|
|
2
|
+
|
|
3
|
+
declare function constructMetadata({ title, description, image, icons, noIndex, }?: {
|
|
4
|
+
title?: string;
|
|
5
|
+
description?: string;
|
|
6
|
+
image?: string;
|
|
7
|
+
icons?: Metadata["icons"];
|
|
8
|
+
noIndex?: boolean;
|
|
9
|
+
}): Metadata;
|
|
10
|
+
|
|
11
|
+
export { constructMetadata };
|
|
@@ -0,0 +1 @@
|
|
|
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};
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
declare const getDateTimeLocal: (timestamp?: Date) => string;
|
|
2
|
+
declare const formatDate: (dateString: string) => string;
|
|
3
|
+
declare const getFirstAndLastDay: (day: number) => {
|
|
4
|
+
firstDay: Date;
|
|
5
|
+
lastDay: Date;
|
|
6
|
+
};
|
|
7
|
+
declare const getLastDayOfMonth: () => number;
|
|
8
|
+
declare const getAdjustedBillingCycleStart: (billingCycleStart: number) => number;
|
|
9
|
+
declare const getBillingStartDate: (billingCycleStart: number) => Date;
|
|
10
|
+
|
|
11
|
+
export { formatDate, getAdjustedBillingCycleStart, getBillingStartDate, getDateTimeLocal, getFirstAndLastDay, getLastDayOfMonth };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a,b,c,d,e,f}from"../chunk-LXJVNY3R.mjs";export{b as formatDate,e as getAdjustedBillingCycleStart,f as getBillingStartDate,a as getDateTimeLocal,c as getFirstAndLastDay,d as getLastDayOfMonth};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-ZECUYKGD.mjs";export{a as deepEqual};
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
declare const generateDomainFromName: (name: string) => string;
|
|
2
|
+
declare const validDomainRegex: RegExp;
|
|
3
|
+
declare const validKeyRegex: RegExp;
|
|
4
|
+
declare const validSlugRegex: RegExp;
|
|
5
|
+
declare const getSubdomain: (name: string, apexName: string) => string | null;
|
|
6
|
+
declare const getApexDomain: (url: string) => string;
|
|
7
|
+
declare const getDomainWithoutWWW: (url: string) => string | null | undefined;
|
|
8
|
+
declare const isDubDomain: (domain: string) => boolean;
|
|
9
|
+
|
|
10
|
+
export { generateDomainFromName, getApexDomain, getDomainWithoutWWW, getSubdomain, isDubDomain, validDomainRegex, validKeyRegex, validSlugRegex };
|
|
@@ -0,0 +1 @@
|
|
|
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};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-EMO4MGOU.mjs";export{a as fetchWithTimeout};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-6XPTKHZD.mjs";export{a as fetcher};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{a}from"../chunk-XWSEDYR7.mjs";export{a as generateMD5Hash};
|