@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.
Files changed (234) hide show
  1. package/dist/chunk-2CBXK3IX.mjs +1 -0
  2. package/dist/chunk-2DN4J7N7.mjs +1 -0
  3. package/dist/chunk-2J47GIUG.mjs +1 -0
  4. package/dist/chunk-2JOG52JO.mjs +1 -0
  5. package/dist/chunk-2OJAP233.mjs +1 -0
  6. package/dist/chunk-2RCZ6Q6L.mjs +1 -0
  7. package/dist/chunk-2SICE2ZS.mjs +1 -0
  8. package/dist/chunk-2TURBZEL.mjs +1 -0
  9. package/dist/chunk-34MPJURK.mjs +1 -0
  10. package/dist/chunk-3B5DP3T4.mjs +1 -0
  11. package/dist/chunk-3BUV2ANI.mjs +1 -0
  12. package/dist/chunk-3C2XEUEU.mjs +1 -0
  13. package/dist/chunk-3OOMLTJU.mjs +1 -0
  14. package/dist/chunk-3PRW7SAO.mjs +1 -0
  15. package/dist/chunk-3UBZ222G.mjs +1 -0
  16. package/dist/chunk-4BN7BHOL.mjs +1 -0
  17. package/dist/chunk-4M6WGMF5.mjs +1 -0
  18. package/dist/chunk-4Q6OLEY4.mjs +1 -0
  19. package/dist/chunk-4VHMU2SN.mjs +1 -0
  20. package/dist/chunk-5FPTMLJS.mjs +1 -0
  21. package/dist/chunk-5IKS3MYC.mjs +1 -0
  22. package/dist/chunk-5KZBTOIK.mjs +1 -0
  23. package/dist/chunk-5PD4TPH7.mjs +1 -0
  24. package/dist/chunk-5SBJ6SVD.mjs +1 -0
  25. package/dist/chunk-5SU2MWLU.mjs +0 -0
  26. package/dist/chunk-5UMPAJJX.mjs +1 -0
  27. package/dist/chunk-5VUO5P2B.mjs +1 -0
  28. package/dist/chunk-6MXR5XLJ.mjs +1 -0
  29. package/dist/chunk-6N3NW2JB.mjs +1 -0
  30. package/dist/chunk-6Q2MCPZP.mjs +1 -0
  31. package/dist/chunk-6SBJPILW.mjs +1 -0
  32. package/dist/chunk-6TFUDH7S.mjs +1 -0
  33. package/dist/chunk-6XPTKHZD.mjs +1 -0
  34. package/dist/chunk-6ZJZL5CL.mjs +1 -0
  35. package/dist/chunk-76VXH2L6.mjs +1 -0
  36. package/dist/chunk-7CR3I247.mjs +1 -0
  37. package/dist/chunk-7OQSL4CI.mjs +2 -0
  38. package/dist/chunk-A4FADA67.mjs +1 -0
  39. package/dist/chunk-AI2STCLX.mjs +1 -0
  40. package/dist/chunk-AIRQ6LHD.mjs +1 -0
  41. package/dist/chunk-ARUFZ3N7.mjs +1 -0
  42. package/dist/chunk-B4R2MH5C.mjs +1 -0
  43. package/dist/chunk-BE3FE22D.mjs +1 -0
  44. package/dist/chunk-BF4VFD3F.mjs +1 -0
  45. package/dist/chunk-BMMTE4CL.mjs +1 -0
  46. package/dist/chunk-BQ3MQSVS.mjs +1 -0
  47. package/dist/chunk-C7CFYTBV.mjs +1 -0
  48. package/dist/chunk-CFRAJHSR.mjs +1 -0
  49. package/dist/chunk-CGKMNADD.mjs +1 -0
  50. package/dist/chunk-CLZKQYIL.mjs +1 -0
  51. package/dist/chunk-CWX6UGU4.mjs +1 -0
  52. package/dist/chunk-DHOWTHOI.mjs +3 -0
  53. package/dist/chunk-DNDRN3T4.mjs +1 -0
  54. package/dist/chunk-DWGAAIZ7.mjs +1 -0
  55. package/dist/chunk-DZ5GL4XN.mjs +1 -0
  56. package/dist/chunk-E67KYH6T.mjs +1 -0
  57. package/dist/chunk-EEEOYXQI.mjs +1 -0
  58. package/dist/chunk-EMGP7EVH.mjs +1 -0
  59. package/dist/chunk-EMO4MGOU.mjs +1 -0
  60. package/dist/chunk-F6C3QYRM.mjs +1 -0
  61. package/dist/chunk-FCP5HRN4.mjs +1 -0
  62. package/dist/chunk-FKZO6ZCE.mjs +1 -0
  63. package/dist/chunk-FLUV3ASQ.mjs +1 -0
  64. package/dist/chunk-FYXE2IZT.mjs +1 -0
  65. package/dist/chunk-GDTIZXZ3.mjs +1 -0
  66. package/dist/chunk-GLUCCYWG.mjs +1 -0
  67. package/dist/chunk-GQLUSHIW.mjs +1 -0
  68. package/dist/chunk-GSO7S5NU.mjs +1 -0
  69. package/dist/chunk-GTQBILTE.mjs +1 -0
  70. package/dist/chunk-GVB72EOZ.mjs +1 -0
  71. package/dist/chunk-H2EZ5ZIA.mjs +1 -0
  72. package/dist/chunk-H3CKT4E4.mjs +1 -0
  73. package/dist/chunk-HBI3VUWA.mjs +1 -0
  74. package/dist/chunk-HCAIWJBW.mjs +1 -0
  75. package/dist/chunk-HHZK2W6M.mjs +1 -0
  76. package/dist/chunk-HTKASIVN.mjs +1 -0
  77. package/dist/chunk-HX6TVXHR.mjs +1 -0
  78. package/dist/chunk-I5Y5DKPK.mjs +1 -0
  79. package/dist/chunk-IGSNFZ4Y.mjs +1 -0
  80. package/dist/chunk-IOI3AZRU.mjs +1 -0
  81. package/dist/chunk-IX5HENBH.mjs +1 -0
  82. package/dist/chunk-J6V4PKNC.mjs +1 -0
  83. package/dist/chunk-JD46NPAZ.mjs +1 -0
  84. package/dist/chunk-JGFJKSKU.mjs +1 -0
  85. package/dist/chunk-JQHV2HJR.mjs +1 -0
  86. package/dist/chunk-JUE3IN3O.mjs +1 -0
  87. package/dist/chunk-KKQDG22H.mjs +1 -0
  88. package/dist/chunk-KKUAJ54V.mjs +1 -0
  89. package/dist/chunk-KL7VCF4Y.mjs +1 -0
  90. package/dist/chunk-L2SFRDQT.mjs +1 -0
  91. package/dist/chunk-L7JSRS6V.mjs +1 -0
  92. package/dist/chunk-LBQJ5TZQ.mjs +1 -0
  93. package/dist/chunk-LKZUZTIO.mjs +1 -0
  94. package/dist/chunk-LPIDPOIS.mjs +1 -0
  95. package/dist/chunk-LREWF6LN.mjs +1 -0
  96. package/dist/chunk-LVZK27B4.mjs +1 -0
  97. package/dist/chunk-LXJVNY3R.mjs +1 -0
  98. package/dist/chunk-M36MRN4N.mjs +1 -0
  99. package/dist/chunk-MPU6JRPV.mjs +1 -0
  100. package/dist/chunk-MT3GLHZG.mjs +1 -0
  101. package/dist/chunk-MW23UGKA.mjs +1 -0
  102. package/dist/chunk-MWIL2V7E.mjs +1 -0
  103. package/dist/chunk-NDZIEH7M.mjs +1 -0
  104. package/dist/chunk-NEIHTFSW.mjs +1 -0
  105. package/dist/chunk-NI6IFTE4.mjs +1 -0
  106. package/dist/chunk-NQUREBTN.mjs +1 -0
  107. package/dist/chunk-NZ6LIVRY.mjs +1 -0
  108. package/dist/chunk-OANHZJ6X.mjs +1 -0
  109. package/dist/chunk-OBU4KABJ.mjs +1 -0
  110. package/dist/chunk-OQD4PMKZ.mjs +1 -0
  111. package/dist/chunk-OQGZM33B.mjs +1 -0
  112. package/dist/chunk-OSU5S2YT.mjs +3 -0
  113. package/dist/chunk-OWYWG4M6.mjs +1 -0
  114. package/dist/chunk-PCCGH2UI.mjs +1 -0
  115. package/dist/chunk-PEPVOMPB.mjs +1 -0
  116. package/dist/chunk-PUFZASP4.mjs +1 -0
  117. package/dist/chunk-QGTFY7PK.mjs +1 -0
  118. package/dist/chunk-QQFYILG6.mjs +1 -0
  119. package/dist/chunk-QU7V46PO.mjs +1 -0
  120. package/dist/chunk-QYPFWXDY.mjs +1 -0
  121. package/dist/chunk-QYTC2VMO.mjs +1 -0
  122. package/dist/chunk-R3RG2UW3.mjs +1 -0
  123. package/dist/chunk-RDVXOO55.mjs +1 -0
  124. package/dist/chunk-RQYMBQ7I.mjs +1 -0
  125. package/dist/chunk-S62WENCB.mjs +1 -0
  126. package/dist/chunk-SKVYWWBC.mjs +3 -0
  127. package/dist/chunk-SL5QAJSF.mjs +1 -0
  128. package/dist/chunk-SPSUTBZ7.mjs +0 -0
  129. package/dist/chunk-SQXHJWOE.mjs +1 -0
  130. package/dist/chunk-SYT2IXG6.mjs +1 -0
  131. package/dist/chunk-T3EPQH24.mjs +1 -0
  132. package/dist/chunk-TLVFY24T.mjs +1 -0
  133. package/dist/chunk-TVYDH6QM.mjs +1 -0
  134. package/dist/chunk-TXEDXHC5.mjs +1 -0
  135. package/dist/chunk-UAGJDHMS.mjs +1 -0
  136. package/dist/chunk-UBCCNLBS.mjs +1 -0
  137. package/dist/chunk-UD2ICHSZ.mjs +1 -0
  138. package/dist/chunk-UHFP5VHY.mjs +1 -0
  139. package/dist/chunk-ULWVKJS4.mjs +1 -0
  140. package/dist/chunk-UQ5D3U6Z.mjs +1 -0
  141. package/dist/chunk-UUWTKITJ.mjs +1 -0
  142. package/dist/chunk-V2RYRJWZ.mjs +1 -0
  143. package/dist/chunk-VCVRICBE.mjs +1 -0
  144. package/dist/chunk-VEUP2DC6.mjs +1 -0
  145. package/dist/chunk-VJZP4EP5.mjs +1 -0
  146. package/dist/chunk-VOGFN73W.mjs +1 -0
  147. package/dist/chunk-VT32LSIK.mjs +1 -0
  148. package/dist/chunk-VTLX43W7.mjs +1 -0
  149. package/dist/chunk-VZYPOBKB.mjs +1 -0
  150. package/dist/chunk-W5LUKKPM.mjs +1 -0
  151. package/dist/chunk-W7MK4ZQS.mjs +1 -0
  152. package/dist/chunk-WCOSO55V.mjs +1 -0
  153. package/dist/chunk-WCUHRXGZ.mjs +1 -0
  154. package/dist/chunk-WE5LUVZO.mjs +1 -0
  155. package/dist/chunk-WEC6YZEP.mjs +1 -0
  156. package/dist/chunk-WJXI5YEO.mjs +1 -0
  157. package/dist/chunk-XCPPFNWE.mjs +1 -0
  158. package/dist/chunk-XEJNQ2MU.mjs +1 -0
  159. package/dist/chunk-XLREFEL6.mjs +1 -0
  160. package/dist/chunk-XP4JQI4P.mjs +1 -0
  161. package/dist/chunk-XWSEDYR7.mjs +1 -0
  162. package/dist/chunk-YUMUNL66.mjs +1 -0
  163. package/dist/chunk-YXHGPHL2.mjs +1 -0
  164. package/dist/chunk-YY4NGU5S.mjs +1 -0
  165. package/dist/chunk-ZBBENF7Y.mjs +1 -0
  166. package/dist/chunk-ZECUYKGD.mjs +1 -0
  167. package/dist/chunk-ZJKRLIJQ.mjs +1 -0
  168. package/dist/chunk-ZM4JP5B2.mjs +1 -0
  169. package/dist/chunk-ZQST7SKH.mjs +1 -0
  170. package/dist/constants/cctlds.d.ts +1 -1
  171. package/dist/constants/cctlds.mjs +1 -1
  172. package/dist/constants/countries.d.ts +1 -1
  173. package/dist/constants/countries.mjs +1 -1
  174. package/dist/constants/domains.d.ts +4 -0
  175. package/dist/constants/domains.mjs +1 -0
  176. package/dist/constants/framer-motion.d.ts +58 -0
  177. package/dist/constants/framer-motion.mjs +1 -0
  178. package/dist/constants/index.d.ts +132 -121
  179. package/dist/constants/index.mjs +1 -1
  180. package/dist/constants/layout.d.ts +11 -0
  181. package/dist/constants/layout.mjs +1 -0
  182. package/dist/constants/localhost.d.ts +10 -0
  183. package/dist/constants/localhost.mjs +1 -0
  184. package/dist/constants/middleware.d.ts +21 -0
  185. package/dist/constants/middleware.mjs +1 -0
  186. package/dist/constants/misc.d.ts +21 -0
  187. package/dist/constants/misc.mjs +1 -0
  188. package/dist/constants/saml.d.ts +14 -0
  189. package/dist/constants/saml.mjs +1 -0
  190. package/dist/functions/capitalize.d.ts +3 -0
  191. package/dist/functions/capitalize.mjs +1 -0
  192. package/dist/functions/chunk.d.ts +3 -0
  193. package/dist/functions/chunk.mjs +1 -0
  194. package/dist/functions/cn.d.ts +5 -0
  195. package/dist/functions/cn.mjs +1 -0
  196. package/dist/functions/construct-metadata.d.ts +11 -0
  197. package/dist/functions/construct-metadata.mjs +1 -0
  198. package/dist/functions/datetime.d.ts +11 -0
  199. package/dist/functions/datetime.mjs +1 -0
  200. package/dist/functions/deep-equal.d.ts +4 -0
  201. package/dist/functions/deep-equal.mjs +1 -0
  202. package/dist/functions/domains.d.ts +10 -0
  203. package/dist/functions/domains.mjs +1 -0
  204. package/dist/functions/fetch-with-timeout.d.ts +3 -0
  205. package/dist/functions/fetch-with-timeout.mjs +1 -0
  206. package/dist/functions/fetcher.d.ts +3 -0
  207. package/dist/functions/fetcher.mjs +1 -0
  208. package/dist/functions/hash.d.ts +3 -0
  209. package/dist/functions/hash.mjs +1 -0
  210. package/dist/functions/index.d.ts +21 -0
  211. package/dist/functions/index.mjs +1 -0
  212. package/dist/functions/is-iframeable.d.ts +6 -0
  213. package/dist/functions/is-iframeable.mjs +1 -0
  214. package/dist/functions/link-constructor.d.ts +9 -0
  215. package/dist/functions/link-constructor.mjs +1 -0
  216. package/dist/functions/log.d.ts +7 -0
  217. package/dist/functions/log.mjs +1 -0
  218. package/dist/functions/misc.d.ts +115 -0
  219. package/dist/functions/misc.mjs +1 -0
  220. package/dist/functions/nanoid.d.ts +3 -0
  221. package/dist/functions/nanoid.mjs +1 -0
  222. package/dist/functions/nformatter.d.ts +6 -0
  223. package/dist/functions/nformatter.mjs +1 -0
  224. package/dist/functions/time-ago.d.ts +5 -0
  225. package/dist/functions/time-ago.mjs +1 -0
  226. package/dist/functions/truncate.d.ts +3 -0
  227. package/dist/functions/truncate.mjs +1 -0
  228. package/dist/functions/urls.d.ts +13 -0
  229. package/dist/functions/urls.mjs +1 -0
  230. package/dist/index.d.ts +31 -181
  231. package/dist/index.mjs +1 -1
  232. package/dist/is-iframeable-4cf55b9f.d.ts +6 -0
  233. package/dist/url-to-deeplink-ac84c7cb.d.ts +6 -0
  234. 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,3 +1,3 @@
1
1
  declare const ccTLDs: Set<string>;
2
2
 
3
- export { ccTLDs as default };
3
+ export { ccTLDs };
@@ -1 +1 @@
1
- import{a}from"../chunk-MODISIUH.mjs";export{a as default};
1
+ import{a}from"../chunk-YUMUNL66.mjs";export{a as ccTLDs};
@@ -2,4 +2,4 @@ declare const COUNTRIES: {
2
2
  [key: string]: string;
3
3
  };
4
4
 
5
- export { COUNTRIES as default };
5
+ export { COUNTRIES };
@@ -1 +1 @@
1
- import{a}from"../chunk-3P54C65P.mjs";export{a as default};
1
+ import{a}from"../chunk-2RCZ6Q6L.mjs";export{a as COUNTRIES};
@@ -0,0 +1,4 @@
1
+ declare const SECOND_LEVEL_DOMAINS: Set<string>;
2
+ declare const SPECIAL_APEX_DOMAINS: Set<string>;
3
+
4
+ export { SECOND_LEVEL_DOMAINS, SPECIAL_APEX_DOMAINS };
@@ -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 { default as ccTLDs } from './cctlds.js';
2
- export { default as COUNTRIES } from './countries.js';
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 SELF_SERVE_PAID_PLANS: ({
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 LOCALHOST_IP = "63.141.57.109";
233
- declare const FRAMER_MOTION_LIST_ITEM_VARIANTS: {
234
- hidden: {
235
- scale: number;
236
- opacity: number;
237
- };
238
- show: {
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
- declare const STAGGER_CHILD_VARIANTS: {
247
- hidden: {
248
- opacity: number;
249
- y: number;
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
- declare const SWIPE_REVEAL_ANIMATION_SETTINGS: {
261
- initial: {
262
- height: number;
252
+ colors: {
253
+ bg: string;
254
+ text: string;
263
255
  };
264
- animate: {
265
- height: string;
256
+ cta: {
257
+ text: string;
258
+ href: string;
259
+ color: string;
260
+ shortText?: undefined;
266
261
  };
267
- exit: {
268
- height: number;
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
- transition: {
271
- duration: number;
272
- ease: string;
287
+ limits: {
288
+ links: number;
289
+ clicks: number;
290
+ domains: number;
291
+ tags: number;
292
+ users: number;
273
293
  };
274
- };
275
- declare const FADE_IN_ANIMATION_SETTINGS: {
276
- initial: {
277
- opacity: number;
294
+ colors: {
295
+ bg: string;
296
+ text: string;
278
297
  };
279
- animate: {
280
- opacity: number;
298
+ cta: {
299
+ text: string;
300
+ shortText: string;
301
+ href: string;
302
+ color: string;
281
303
  };
282
- exit: {
283
- opacity: number;
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
- transition: {
286
- duration: number;
328
+ limits: {
329
+ links: null;
330
+ clicks: null;
331
+ domains: null;
332
+ tags?: undefined;
333
+ users?: undefined;
287
334
  };
288
- };
289
- declare const PAGINATION_LIMIT = 100;
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 HIDE_BACKGROUND_SEGMENTS: string[];
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, ALL_TOOLS, API_DOMAIN, API_HOSTNAMES, APP_DOMAIN, APP_DOMAIN_WITH_NGROK, APP_HOSTNAMES, DEFAULT_LINK_PROPS, DEFAULT_REDIRECTS, DUB_DOMAINS, DUB_HEADERS, DUB_LOGO, DUB_PROJECT_ID, DUB_THUMBNAIL, FADE_IN_ANIMATION_SETTINGS, FRAMER_MOTION_LIST_ITEM_VARIANTS, GOOGLE_FAVICON_URL, HIDE_BACKGROUND_SEGMENTS, HOME_DOMAIN, LEGAL_PROJECT_ID, LEGAL_USER_ID, LOCALHOST_GEO_DATA, LOCALHOST_IP, PAGINATION_LIMIT, PLANS, SAML_PROVIDERS, SECOND_LEVEL_DOMAINS, SELF_SERVE_PAID_PLANS, SHORT_DOMAIN, SPECIAL_APEX_DOMAINS, STAGGER_CHILD_VARIANTS, SWIPE_REVEAL_ANIMATION_SETTINGS };
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 };
@@ -1 +1 @@
1
- import{A as C,B as D,C as E,D as F,E as G,F as H,a as c,b as d,c as e,d as f,e as g,f as h,g as i,h as j,i as k,j as l,k as m,l as n,m as o,n as p,o as q,p as r,q as s,r as t,s as u,t as v,u as w,v as x,w as y,x as z,y as A,z as B}from"../chunk-MK4UFVOH.mjs";import{a}from"../chunk-MODISIUH.mjs";import{a as b}from"../chunk-3P54C65P.mjs";export{s as ADMIN_HOSTNAMES,A as ALL_TOOLS,r as API_DOMAIN,q as API_HOSTNAMES,o as APP_DOMAIN,p as APP_DOMAIN_WITH_NGROK,n as APP_HOSTNAMES,b as COUNTRIES,D as DEFAULT_LINK_PROPS,t as DEFAULT_REDIRECTS,z as DUB_DOMAINS,u as DUB_HEADERS,w as DUB_LOGO,E as DUB_PROJECT_ID,x as DUB_THUMBNAIL,j as FADE_IN_ANIMATION_SETTINGS,g as FRAMER_MOTION_LIST_ITEM_VARIANTS,v as GOOGLE_FAVICON_URL,y as HIDE_BACKGROUND_SEGMENTS,m as HOME_DOMAIN,F as LEGAL_PROJECT_ID,G as LEGAL_USER_ID,e as LOCALHOST_GEO_DATA,f as LOCALHOST_IP,k as PAGINATION_LIMIT,c as PLANS,H as SAML_PROVIDERS,B as SECOND_LEVEL_DOMAINS,d as SELF_SERVE_PAID_PLANS,l as SHORT_DOMAIN,C as SPECIAL_APEX_DOMAINS,h as STAGGER_CHILD_VARIANTS,i as SWIPE_REVEAL_ANIMATION_SETTINGS,a as ccTLDs};
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,11 @@
1
+ declare const HIDE_BACKGROUND_SEGMENTS: string[];
2
+ declare const ALL_TOOLS: {
3
+ name: string;
4
+ slug: string;
5
+ }[];
6
+ declare const COMPARE_PAGES: {
7
+ name: string;
8
+ slug: string;
9
+ }[];
10
+
11
+ export { ALL_TOOLS, COMPARE_PAGES, HIDE_BACKGROUND_SEGMENTS };
@@ -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,10 @@
1
+ declare const LOCALHOST_GEO_DATA: {
2
+ city: string;
3
+ region: string;
4
+ country: string;
5
+ latitude: string;
6
+ longitude: string;
7
+ };
8
+ declare const LOCALHOST_IP = "63.141.57.109";
9
+
10
+ export { LOCALHOST_GEO_DATA, LOCALHOST_IP };
@@ -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,14 @@
1
+ declare const SAML_PROVIDERS: {
2
+ name: string;
3
+ logo: string;
4
+ saml: string;
5
+ samlModalCopy: string;
6
+ scim: string;
7
+ scimModalCopy: {
8
+ url: string;
9
+ token: string;
10
+ };
11
+ wip: boolean;
12
+ }[];
13
+
14
+ export { SAML_PROVIDERS };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-PUFZASP4.mjs";export{a as SAML_PROVIDERS};
@@ -0,0 +1,3 @@
1
+ declare function capitalize(str?: string | null): string | null | undefined;
2
+
3
+ export { capitalize };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-GTQBILTE.mjs";export{a as capitalize};
@@ -0,0 +1,3 @@
1
+ declare const chunk: <T>(array: T[], chunk_size: number) => T[][];
2
+
3
+ export { chunk };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-2OJAP233.mjs";export{a as chunk};
@@ -0,0 +1,5 @@
1
+ import { ClassValue } from 'clsx';
2
+
3
+ declare function cn(...inputs: ClassValue[]): string;
4
+
5
+ export { cn };
@@ -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,4 @@
1
+ type DeepEqual = (obj1: Record<string, any>, obj2: Record<string, any>) => boolean;
2
+ declare const deepEqual: DeepEqual;
3
+
4
+ export { deepEqual };
@@ -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,3 @@
1
+ declare function fetchWithTimeout(input: RequestInfo | URL, init?: RequestInit | undefined, timeout?: number): Promise<Response>;
2
+
3
+ export { fetchWithTimeout };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-EMO4MGOU.mjs";export{a as fetchWithTimeout};
@@ -0,0 +1,3 @@
1
+ declare function fetcher<JSON = any>(input: RequestInfo, init?: RequestInit): Promise<JSON>;
2
+
3
+ export { fetcher };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-6XPTKHZD.mjs";export{a as fetcher};
@@ -0,0 +1,3 @@
1
+ declare function generateMD5Hash(message: string): Promise<string>;
2
+
3
+ export { generateMD5Hash };
@@ -0,0 +1 @@
1
+ import{a}from"../chunk-XWSEDYR7.mjs";export{a as generateMD5Hash};