@shriyanss/js-recon 1.0.0 → 1.1.0-beta.1
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/.api_gateway_config.json +1 -0
- package/.github/workflows/npm-publish.yml +35 -0
- package/.github/workflows/prettier.yaml +44 -0
- package/.prettierignore +2 -0
- package/.prettierrc +4 -0
- package/.resp_cache.json +1 -0
- package/.vscode/launch.json +27 -0
- package/CHANGELOG.md +40 -0
- package/README.md +35 -140
- package/build/api_gateway/checkFeasibility.js +32 -0
- package/build/api_gateway/checkFeasibility.js.map +1 -0
- package/build/api_gateway/checkFireWallBlocking.js +24 -0
- package/build/api_gateway/checkFireWallBlocking.js.map +1 -0
- package/build/api_gateway/genReq.js +202 -0
- package/build/api_gateway/genReq.js.map +1 -0
- package/build/api_gateway/index.js +277 -0
- package/build/api_gateway/index.js.map +1 -0
- package/build/endpoints/gen_report/gen_json.js +22 -0
- package/build/endpoints/gen_report/gen_json.js.map +1 -0
- package/build/endpoints/gen_report/gen_markdown.js +66 -0
- package/build/endpoints/gen_report/gen_markdown.js.map +1 -0
- package/build/endpoints/gen_report/utility/iterate_n_store.js +46 -0
- package/build/endpoints/gen_report/utility/iterate_n_store.js.map +1 -0
- package/build/endpoints/index.js +89 -0
- package/build/endpoints/index.js.map +1 -0
- package/build/endpoints/next_js/client_jsFilesHref.js +91 -0
- package/build/endpoints/next_js/client_jsFilesHref.js.map +1 -0
- package/build/endpoints/next_js/client_jsonParse.js +75 -0
- package/build/endpoints/next_js/client_jsonParse.js.map +1 -0
- package/build/endpoints/next_js/client_subsequentRequests.js +199 -0
- package/build/endpoints/next_js/client_subsequentRequests.js.map +1 -0
- package/build/endpoints/next_js/getWebpacks.js +45 -0
- package/build/endpoints/next_js/getWebpacks.js.map +1 -0
- package/build/globalConfig.js +11 -0
- package/build/globalConfig.js.map +1 -0
- package/build/index.js +166 -0
- package/build/index.js.map +1 -0
- package/build/lazyLoad/downloadFilesUtil.js +128 -0
- package/build/lazyLoad/downloadFilesUtil.js.map +1 -0
- package/build/lazyLoad/downloadLoadedJsUtil.js +51 -0
- package/build/lazyLoad/downloadLoadedJsUtil.js.map +1 -0
- package/build/lazyLoad/globals.js +25 -0
- package/build/lazyLoad/globals.js.map +1 -0
- package/build/lazyLoad/index.js +171 -0
- package/build/lazyLoad/index.js.map +1 -0
- package/build/lazyLoad/next_js/next_GetJSScript.js +94 -0
- package/build/lazyLoad/next_js/next_GetJSScript.js.map +1 -0
- package/build/lazyLoad/next_js/next_GetLazyResources.js +202 -0
- package/build/lazyLoad/next_js/next_GetLazyResources.js.map +1 -0
- package/build/lazyLoad/next_js/next_SubsequentRequests.js +120 -0
- package/build/lazyLoad/next_js/next_SubsequentRequests.js.map +1 -0
- package/build/lazyLoad/nuxt_js/nuxt_astParse.js +188 -0
- package/build/lazyLoad/nuxt_js/nuxt_astParse.js.map +1 -0
- package/build/lazyLoad/nuxt_js/nuxt_getFromPageSource.js +75 -0
- package/build/lazyLoad/nuxt_js/nuxt_getFromPageSource.js.map +1 -0
- package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js +94 -0
- package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js.map +1 -0
- package/build/lazyLoad/svelte/svelte_getFromPageSource.js +68 -0
- package/build/lazyLoad/svelte/svelte_getFromPageSource.js.map +1 -0
- package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js +95 -0
- package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js.map +1 -0
- package/build/map/index.js +58 -0
- package/build/map/index.js.map +1 -0
- package/build/map/next_js/getFetchInstances.js +105 -0
- package/build/map/next_js/getFetchInstances.js.map +1 -0
- package/build/map/next_js/getWebpackConnections.js +224 -0
- package/build/map/next_js/getWebpackConnections.js.map +1 -0
- package/build/map/next_js/interactive.js +32 -0
- package/build/map/next_js/interactive.js.map +1 -0
- package/build/map/next_js/interactive_helpers/commandHandler.js +190 -0
- package/build/map/next_js/interactive_helpers/commandHandler.js.map +1 -0
- package/build/map/next_js/interactive_helpers/commandHelpers.js +91 -0
- package/build/map/next_js/interactive_helpers/commandHelpers.js.map +1 -0
- package/build/map/next_js/interactive_helpers/helpMenu.js +11 -0
- package/build/map/next_js/interactive_helpers/helpMenu.js.map +1 -0
- package/build/map/next_js/interactive_helpers/keybindings.js +80 -0
- package/build/map/next_js/interactive_helpers/keybindings.js.map +1 -0
- package/build/map/next_js/interactive_helpers/printer.js +17 -0
- package/build/map/next_js/interactive_helpers/printer.js.map +1 -0
- package/build/map/next_js/interactive_helpers/ui.js +81 -0
- package/build/map/next_js/interactive_helpers/ui.js.map +1 -0
- package/build/map/next_js/resolveFetch.js +201 -0
- package/build/map/next_js/resolveFetch.js.map +1 -0
- package/build/run/index.js +62 -0
- package/build/run/index.js.map +1 -0
- package/build/strings/index.js +235 -0
- package/build/strings/index.js.map +1 -0
- package/build/strings/openapi.js +55 -0
- package/build/strings/openapi.js.map +1 -0
- package/build/strings/permutate.js +55 -0
- package/build/strings/permutate.js.map +1 -0
- package/build/strings/secrets.js +89 -0
- package/build/strings/secrets.js.map +1 -0
- package/build/techDetect/index.js +224 -0
- package/build/techDetect/index.js.map +1 -0
- package/build/utility/ai.js +69 -0
- package/build/utility/ai.js.map +1 -0
- package/build/utility/globals.js +84 -0
- package/build/utility/globals.js.map +1 -0
- package/build/utility/interfaces.js +2 -0
- package/build/utility/interfaces.js.map +1 -0
- package/build/utility/makeReq.js +265 -0
- package/build/utility/makeReq.js.map +1 -0
- package/build/utility/resolvePath.js +44 -0
- package/build/utility/resolvePath.js.map +1 -0
- package/{utility → build/utility}/runSandboxed.js +10 -13
- package/build/utility/runSandboxed.js.map +1 -0
- package/{utility → build/utility}/urlUtils.js +9 -11
- package/build/utility/urlUtils.js.map +1 -0
- package/docs/README.md +20 -0
- package/docs/api-gateway.md +68 -0
- package/docs/endpoints.md +49 -0
- package/docs/example-scenario.md +258 -0
- package/docs/interactive-mode.md +76 -0
- package/docs/lazyload.md +56 -0
- package/docs/map.md +53 -0
- package/docs/run.md +54 -0
- package/docs/strings.md +75 -0
- package/endpoints.json +77 -0
- package/extracted_urls-openapi.json +225 -0
- package/extracted_urls-swagger.json +225 -0
- package/extracted_urls.json +47 -0
- package/extracted_urls.txt +296 -0
- package/mapped.json +3413 -0
- package/output/ss0x00.com/_next/data/k7xKVnxmboK4SktY2dZWt/index.json +971 -0
- package/output/ss0x00.com/_next/static/chunks/12.7e6d2ac6e1808fc2.js +247 -0
- package/output/ss0x00.com/_next/static/chunks/128.160aa801ef0445bc.js +1074 -0
- package/output/ss0x00.com/_next/static/chunks/132.55df84f7707fc278.js +102 -0
- package/output/ss0x00.com/_next/static/chunks/142.77038c55d9ec10ba.js +96 -0
- package/output/ss0x00.com/_next/static/chunks/215.321479e91d330bfa.js +228 -0
- package/output/ss0x00.com/_next/static/chunks/229.097c396d86b4a882.js +458 -0
- package/output/ss0x00.com/_next/static/chunks/257.5fd052aa4ef06ef9.js +1327 -0
- package/output/ss0x00.com/_next/static/chunks/268.72cb3779f66db70b.js +10520 -0
- package/output/ss0x00.com/_next/static/chunks/320.57d528b0e9bf86f0.js +186 -0
- package/output/ss0x00.com/_next/static/chunks/325.302a44b604c35f17.js +88 -0
- package/output/ss0x00.com/_next/static/chunks/328.e4a0307a4fddf318.js +248 -0
- package/output/ss0x00.com/_next/static/chunks/432.3621f17504ef18f2.js +443 -0
- package/output/ss0x00.com/_next/static/chunks/44.e90dd963003a3d43.js +1094 -0
- package/output/ss0x00.com/_next/static/chunks/442.8c054f100f9e5e50.js +1082 -0
- package/output/ss0x00.com/_next/static/chunks/460.f8db9a5142598e2c.js +466 -0
- package/output/ss0x00.com/_next/static/chunks/487.05ca55420459c002.js +78 -0
- package/output/ss0x00.com/_next/static/chunks/567.1909a6b0a920114b.js +1374 -0
- package/output/ss0x00.com/_next/static/chunks/586.802fc9214d87fb29.js +752 -0
- package/output/ss0x00.com/_next/static/chunks/620.a2a3a6b94d30a4c8.js +1037 -0
- package/output/ss0x00.com/_next/static/chunks/642.6b3e487c9604cbb8.js +1628 -0
- package/output/ss0x00.com/_next/static/chunks/673.e5d77887e5c6a68c.js +1045 -0
- package/output/ss0x00.com/_next/static/chunks/684.8b8e52baca70524b.js +96 -0
- package/output/ss0x00.com/_next/static/chunks/686.79480519e5ccfb77.js +296 -0
- package/output/ss0x00.com/_next/static/chunks/756.7a3878a2e6765be7.js +504 -0
- package/output/ss0x00.com/_next/static/chunks/761.7bea7516c5d22b2a.js +1485 -0
- package/output/ss0x00.com/_next/static/chunks/794.e079ef369b41a3c5.js +1350 -0
- package/output/ss0x00.com/_next/static/chunks/826.31ba213e1d023c68.js +1031 -0
- package/output/ss0x00.com/_next/static/chunks/847.d8397a73efc81848.js +1068 -0
- package/output/ss0x00.com/_next/static/chunks/848.5feaeee1e2624aea.js +132 -0
- package/output/ss0x00.com/_next/static/chunks/850.ecc7c3c3d787ee03.js +1472 -0
- package/output/ss0x00.com/_next/static/chunks/853.50b9eb60b7d0e83c.js +1472 -0
- package/output/ss0x00.com/_next/static/chunks/856.7a7bb6c3c7bfc2ba.js +1320 -0
- package/output/ss0x00.com/_next/static/chunks/859.df4bd45c03a65f53.js +1306 -0
- package/output/ss0x00.com/_next/static/chunks/867.e8633955a147c978.js +541 -0
- package/output/ss0x00.com/_next/static/chunks/921.c3123f20a4c8d53c.js +96 -0
- package/output/ss0x00.com/_next/static/chunks/932.25cb421c466c99cb.js +999 -0
- package/output/ss0x00.com/_next/static/chunks/framework-64ad27b21261a9ce.js +9189 -0
- package/output/ss0x00.com/_next/static/chunks/main-710ab85aa9a8f10d.js +6583 -0
- package/output/ss0x00.com/_next/static/chunks/pages/5D-af5a23529ce3c337.js +486 -0
- package/output/ss0x00.com/_next/static/chunks/pages/_app-c449865c8af1faa0.js +39 -0
- package/output/ss0x00.com/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js +6383 -0
- package/output/ss0x00.com/_next/static/chunks/webpack-efff35ee26971294.js +271 -0
- package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_buildManifest.js +8 -0
- package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_ssgManifest.js +3 -0
- package/output/ss0x00.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js +82 -0
- package/package.json +50 -38
- package/strings.json +7407 -0
- package/api_gateway/checkFeasibility.js +0 -25
- package/api_gateway/checkFireWallBlocking.js +0 -17
- package/api_gateway/genReq.js +0 -214
- package/api_gateway/index.js +0 -325
- package/endpoints/index.js +0 -7
- package/globalConfig.js +0 -12
- package/index.js +0 -69
- package/lazyLoad/downloadFilesUtil.js +0 -122
- package/lazyLoad/downloadLoadedJsUtil.js +0 -54
- package/lazyLoad/globals.js +0 -15
- package/lazyLoad/index.js +0 -167
- package/lazyLoad/next_js/next_GetJSScript.js +0 -99
- package/lazyLoad/next_js/next_GetLazyResources.js +0 -201
- package/lazyLoad/next_js/next_SubsequentRequests.js +0 -138
- package/lazyLoad/nuxt_js/nuxt_astParse.js +0 -194
- package/lazyLoad/nuxt_js/nuxt_getFromPageSource.js +0 -77
- package/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js +0 -99
- package/research/firewall_bypass.md +0 -38
- package/research/next_js.md +0 -116
- package/research/nuxt_js.md +0 -125
- package/research/vue_js.md +0 -9
- package/strings/index.js +0 -145
- package/techDetect/index.js +0 -156
- package/utility/globals.js +0 -6
- package/utility/makeReq.js +0 -179
- package/utility/resolvePath.js +0 -43
|
@@ -0,0 +1,458 @@
|
|
|
1
|
+
// JS Source: https://ss0x00.com/_next/static/chunks/229.097c396d86b4a882.js
|
|
2
|
+
(self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
|
|
3
|
+
[229, 487],
|
|
4
|
+
{
|
|
5
|
+
487: function (e, t, r) {
|
|
6
|
+
"use strict";
|
|
7
|
+
(r.r(t),
|
|
8
|
+
r.d(t, {
|
|
9
|
+
default: function () {
|
|
10
|
+
return s;
|
|
11
|
+
},
|
|
12
|
+
}));
|
|
13
|
+
var n = r(5893);
|
|
14
|
+
r(7294);
|
|
15
|
+
var o = r(3967),
|
|
16
|
+
l = r.n(o),
|
|
17
|
+
i = r(6880);
|
|
18
|
+
function s(e) {
|
|
19
|
+
let { elementId: t, className: r, url: o, altText: s = "" } = e;
|
|
20
|
+
return o
|
|
21
|
+
? (0, n.jsx)(i.M, {
|
|
22
|
+
content: e,
|
|
23
|
+
children: (0, n.jsx)("img", {
|
|
24
|
+
id: t || null,
|
|
25
|
+
className: l()(
|
|
26
|
+
"sb-component",
|
|
27
|
+
"sb-component-block",
|
|
28
|
+
"sb-component-image-block",
|
|
29
|
+
r,
|
|
30
|
+
),
|
|
31
|
+
src: o,
|
|
32
|
+
alt: s,
|
|
33
|
+
}),
|
|
34
|
+
})
|
|
35
|
+
: null;
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
2229: function (e, t, r) {
|
|
39
|
+
"use strict";
|
|
40
|
+
(r.r(t),
|
|
41
|
+
r.d(t, {
|
|
42
|
+
default: function () {
|
|
43
|
+
return d;
|
|
44
|
+
},
|
|
45
|
+
}));
|
|
46
|
+
var n = r(5893);
|
|
47
|
+
r(7294);
|
|
48
|
+
var o = r(3967),
|
|
49
|
+
l = r.n(o),
|
|
50
|
+
i = r(9754),
|
|
51
|
+
s = r(6319),
|
|
52
|
+
a = r(487);
|
|
53
|
+
function d(e) {
|
|
54
|
+
let {
|
|
55
|
+
type: t,
|
|
56
|
+
elementId: r,
|
|
57
|
+
colors: o,
|
|
58
|
+
title: a,
|
|
59
|
+
subtitle: d,
|
|
60
|
+
images: c = [],
|
|
61
|
+
columns: f = 4,
|
|
62
|
+
spacing: g = 16,
|
|
63
|
+
aspectRatio: b = "1:1",
|
|
64
|
+
showCaption: m,
|
|
65
|
+
enableHover: p,
|
|
66
|
+
styles: h = {},
|
|
67
|
+
} = e;
|
|
68
|
+
return (0, n.jsxs)(s.Z, {
|
|
69
|
+
type: t,
|
|
70
|
+
elementId: r,
|
|
71
|
+
colors: o,
|
|
72
|
+
styles: h.self,
|
|
73
|
+
children: [
|
|
74
|
+
a &&
|
|
75
|
+
(0, n.jsx)("h2", {
|
|
76
|
+
className: l()(h.title ? (0, i.G)(h.title) : null),
|
|
77
|
+
children: a,
|
|
78
|
+
}),
|
|
79
|
+
d &&
|
|
80
|
+
(0, n.jsx)("p", {
|
|
81
|
+
className: l()(
|
|
82
|
+
"text-lg",
|
|
83
|
+
"sm:text-xl",
|
|
84
|
+
h.subtitle ? (0, i.G)(h.subtitle) : null,
|
|
85
|
+
{ "mt-6": a },
|
|
86
|
+
),
|
|
87
|
+
children: d,
|
|
88
|
+
}),
|
|
89
|
+
c.length > 0 &&
|
|
90
|
+
(0, n.jsx)("div", {
|
|
91
|
+
className: l()(
|
|
92
|
+
"grid",
|
|
93
|
+
"place-items-center",
|
|
94
|
+
(function (e) {
|
|
95
|
+
switch (e) {
|
|
96
|
+
case 2:
|
|
97
|
+
return "grid-cols-2";
|
|
98
|
+
case 3:
|
|
99
|
+
return "grid-cols-2 sm:grid-cols-3";
|
|
100
|
+
case 4:
|
|
101
|
+
return "grid-cols-2 sm:grid-cols-4";
|
|
102
|
+
case 5:
|
|
103
|
+
return "grid-cols-2 sm:grid-cols-3 md:grid-cols-5";
|
|
104
|
+
case 6:
|
|
105
|
+
return "grid-cols-2 sm:grid-cols-4 md:grid-cols-6";
|
|
106
|
+
case 7:
|
|
107
|
+
return "grid-cols-2 sm:grid-cols-4 md:grid-cols-7";
|
|
108
|
+
default:
|
|
109
|
+
return null;
|
|
110
|
+
}
|
|
111
|
+
})(f),
|
|
112
|
+
{ "mt-12": a || d },
|
|
113
|
+
),
|
|
114
|
+
style: { gap: g ? "".concat(g, "px") : void 0 },
|
|
115
|
+
children: c.map((e, t) =>
|
|
116
|
+
(0, n.jsx)(
|
|
117
|
+
u,
|
|
118
|
+
{
|
|
119
|
+
image: e,
|
|
120
|
+
showCaption: m,
|
|
121
|
+
enableHover: p,
|
|
122
|
+
aspectRatio: b,
|
|
123
|
+
},
|
|
124
|
+
t,
|
|
125
|
+
),
|
|
126
|
+
),
|
|
127
|
+
}),
|
|
128
|
+
],
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
function u(e) {
|
|
132
|
+
let { image: t, showCaption: r, enableHover: o, aspectRatio: i } = e;
|
|
133
|
+
return t
|
|
134
|
+
? (0, n.jsxs)("figure", {
|
|
135
|
+
className: l()(
|
|
136
|
+
"overflow-hidden",
|
|
137
|
+
"relative",
|
|
138
|
+
"w-full",
|
|
139
|
+
(function (e) {
|
|
140
|
+
switch (e) {
|
|
141
|
+
case "1:1":
|
|
142
|
+
return "pt-1/1";
|
|
143
|
+
case "2:3":
|
|
144
|
+
return "pt-3/2";
|
|
145
|
+
case "3:2":
|
|
146
|
+
return "pt-2/3";
|
|
147
|
+
case "3:4":
|
|
148
|
+
return "pt-4/3";
|
|
149
|
+
case "4:3":
|
|
150
|
+
return "pt-3/4";
|
|
151
|
+
case "16:9":
|
|
152
|
+
return "pt-9/16";
|
|
153
|
+
default:
|
|
154
|
+
return null;
|
|
155
|
+
}
|
|
156
|
+
})(i),
|
|
157
|
+
{ "h-0": "auto" !== i },
|
|
158
|
+
),
|
|
159
|
+
children: [
|
|
160
|
+
(0, n.jsx)(a.default, {
|
|
161
|
+
...t,
|
|
162
|
+
className: l()("w-full", {
|
|
163
|
+
"h-full absolute left-0 top-0 object-cover": "auto" !== i,
|
|
164
|
+
"transition-transform hover:scale-105": o,
|
|
165
|
+
}),
|
|
166
|
+
}),
|
|
167
|
+
r &&
|
|
168
|
+
t.caption &&
|
|
169
|
+
(0, n.jsx)("figcaption", {
|
|
170
|
+
className:
|
|
171
|
+
"absolute bg-white/50 text-dark left-0 mx-2 bottom-2 p-1.5 text-xs pointer-events-none",
|
|
172
|
+
children: t.caption,
|
|
173
|
+
}),
|
|
174
|
+
],
|
|
175
|
+
})
|
|
176
|
+
: null;
|
|
177
|
+
}
|
|
178
|
+
},
|
|
179
|
+
6319: function (e, t, r) {
|
|
180
|
+
"use strict";
|
|
181
|
+
r.d(t, {
|
|
182
|
+
Z: function () {
|
|
183
|
+
return s;
|
|
184
|
+
},
|
|
185
|
+
});
|
|
186
|
+
var n = r(5893);
|
|
187
|
+
r(7294);
|
|
188
|
+
var o = r(3967),
|
|
189
|
+
l = r.n(o),
|
|
190
|
+
i = r(9754);
|
|
191
|
+
function s(e) {
|
|
192
|
+
let { backgroundSize: t = "full", ...r } = e;
|
|
193
|
+
return "inset" === t
|
|
194
|
+
? (0, n.jsx)(a, { ...r })
|
|
195
|
+
: (0, n.jsx)(d, { ...r });
|
|
196
|
+
}
|
|
197
|
+
function a(e) {
|
|
198
|
+
var t, r, o, s;
|
|
199
|
+
let {
|
|
200
|
+
type: a,
|
|
201
|
+
elementId: d,
|
|
202
|
+
colors: u = "colors-f",
|
|
203
|
+
styles: c = {},
|
|
204
|
+
children: f,
|
|
205
|
+
} = e,
|
|
206
|
+
g = a && a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
207
|
+
return (0, n.jsx)("div", {
|
|
208
|
+
id: d || null,
|
|
209
|
+
className: l()(
|
|
210
|
+
"sb-component",
|
|
211
|
+
"sb-component-section",
|
|
212
|
+
g && "sb-component-".concat(g),
|
|
213
|
+
"flex",
|
|
214
|
+
(0, i.G)({
|
|
215
|
+
justifyContent:
|
|
216
|
+
null !== (t = c.justifyContent) && void 0 !== t ? t : "center",
|
|
217
|
+
}),
|
|
218
|
+
c.margin,
|
|
219
|
+
),
|
|
220
|
+
children: (0, n.jsx)("div", {
|
|
221
|
+
className: l()(
|
|
222
|
+
u,
|
|
223
|
+
"flex",
|
|
224
|
+
"flex-col",
|
|
225
|
+
"justify-center",
|
|
226
|
+
"relative",
|
|
227
|
+
"w-full",
|
|
228
|
+
(0, i.G)({
|
|
229
|
+
width: null !== (r = c.width) && void 0 !== r ? r : "wide",
|
|
230
|
+
}),
|
|
231
|
+
(0, i.G)({
|
|
232
|
+
height: null !== (o = c.height) && void 0 !== o ? o : "auto",
|
|
233
|
+
}),
|
|
234
|
+
null !== (s = c.padding) && void 0 !== s ? s : "py-12 px-4",
|
|
235
|
+
c.borderColor,
|
|
236
|
+
c.borderStyle ? (0, i.G)({ borderStyle: c.borderStyle }) : null,
|
|
237
|
+
c.borderRadius
|
|
238
|
+
? (0, i.G)({ borderRadius: c.borderRadius })
|
|
239
|
+
: null,
|
|
240
|
+
),
|
|
241
|
+
style: {
|
|
242
|
+
borderWidth: c.borderWidth
|
|
243
|
+
? "".concat(c.borderWidth, "px")
|
|
244
|
+
: null,
|
|
245
|
+
},
|
|
246
|
+
children: (0, n.jsx)("div", {
|
|
247
|
+
className: "relative w-full",
|
|
248
|
+
children: f,
|
|
249
|
+
}),
|
|
250
|
+
}),
|
|
251
|
+
});
|
|
252
|
+
}
|
|
253
|
+
function d(e) {
|
|
254
|
+
var t, r, o, s;
|
|
255
|
+
let {
|
|
256
|
+
type: a,
|
|
257
|
+
elementId: d,
|
|
258
|
+
colors: u = "colors-f",
|
|
259
|
+
styles: c = {},
|
|
260
|
+
children: f,
|
|
261
|
+
} = e,
|
|
262
|
+
g = a && a.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
|
|
263
|
+
return (0, n.jsx)("div", {
|
|
264
|
+
id: d || null,
|
|
265
|
+
className: l()(
|
|
266
|
+
"sb-component",
|
|
267
|
+
"sb-component-section",
|
|
268
|
+
g && "sb-component-".concat(g),
|
|
269
|
+
u,
|
|
270
|
+
"flex",
|
|
271
|
+
"flex-col",
|
|
272
|
+
"justify-center",
|
|
273
|
+
(0, i.G)({
|
|
274
|
+
height: null !== (t = c.height) && void 0 !== t ? t : "auto",
|
|
275
|
+
}),
|
|
276
|
+
c.margin,
|
|
277
|
+
null !== (r = c.padding) && void 0 !== r ? r : "py-12 px-4",
|
|
278
|
+
c.borderColor,
|
|
279
|
+
c.borderStyle ? (0, i.G)({ borderStyle: c.borderStyle }) : null,
|
|
280
|
+
c.borderRadius ? (0, i.G)({ borderRadius: c.borderRadius }) : null,
|
|
281
|
+
),
|
|
282
|
+
style: {
|
|
283
|
+
borderWidth: c.borderWidth ? "".concat(c.borderWidth, "px") : null,
|
|
284
|
+
},
|
|
285
|
+
children: (0, n.jsx)("div", {
|
|
286
|
+
className: l()(
|
|
287
|
+
"flex",
|
|
288
|
+
"w-full",
|
|
289
|
+
(0, i.G)({
|
|
290
|
+
justifyContent:
|
|
291
|
+
null !== (o = c.justifyContent) && void 0 !== o
|
|
292
|
+
? o
|
|
293
|
+
: "center",
|
|
294
|
+
}),
|
|
295
|
+
),
|
|
296
|
+
children: (0, n.jsx)("div", {
|
|
297
|
+
className: l()(
|
|
298
|
+
"relative",
|
|
299
|
+
"w-full",
|
|
300
|
+
(0, i.G)({
|
|
301
|
+
width: null !== (s = c.width) && void 0 !== s ? s : "wide",
|
|
302
|
+
}),
|
|
303
|
+
),
|
|
304
|
+
children: f,
|
|
305
|
+
}),
|
|
306
|
+
}),
|
|
307
|
+
});
|
|
308
|
+
}
|
|
309
|
+
},
|
|
310
|
+
9754: function (e, t, r) {
|
|
311
|
+
"use strict";
|
|
312
|
+
r.d(t, {
|
|
313
|
+
G: function () {
|
|
314
|
+
return o;
|
|
315
|
+
},
|
|
316
|
+
});
|
|
317
|
+
let n = {
|
|
318
|
+
alignItems: {
|
|
319
|
+
"flex-start": "items-start",
|
|
320
|
+
"flex-end": "items-end",
|
|
321
|
+
center: "items-center",
|
|
322
|
+
},
|
|
323
|
+
backgroundPosition: {
|
|
324
|
+
bottom: "bg-bottom",
|
|
325
|
+
center: "bg-center",
|
|
326
|
+
left: "bg-left",
|
|
327
|
+
"left-bottom": "bg-left-bottom",
|
|
328
|
+
"left-top": "bg-left-top",
|
|
329
|
+
right: "bg-right",
|
|
330
|
+
"right-bottom": "bg-right-bottom",
|
|
331
|
+
"right-top": "bg-right-top",
|
|
332
|
+
top: "bg-top",
|
|
333
|
+
},
|
|
334
|
+
backgroundRepeat: {
|
|
335
|
+
repeat: "bg-repeat",
|
|
336
|
+
"repeat-x": "bg-repeat-x",
|
|
337
|
+
"repeat-y": "bg-repeat-y",
|
|
338
|
+
"no-repeat": "bg-no-repeat",
|
|
339
|
+
},
|
|
340
|
+
backgroundSize: {
|
|
341
|
+
auto: "bg-auto",
|
|
342
|
+
cover: "bg-cover",
|
|
343
|
+
contain: "bg-contain",
|
|
344
|
+
},
|
|
345
|
+
borderRadius: {
|
|
346
|
+
none: "rounded-none",
|
|
347
|
+
"xx-small": "rounded-sm",
|
|
348
|
+
"x-small": "rounded",
|
|
349
|
+
small: "rounded-md",
|
|
350
|
+
medium: "rounded-lg",
|
|
351
|
+
large: "rounded-xl",
|
|
352
|
+
"x-large": "rounded-2xl",
|
|
353
|
+
"xx-large": "rounded-3xl",
|
|
354
|
+
full: "rounded-full",
|
|
355
|
+
},
|
|
356
|
+
borderStyle: {
|
|
357
|
+
none: "border-none",
|
|
358
|
+
solid: "border-solid",
|
|
359
|
+
dashed: "border-dashed",
|
|
360
|
+
dotted: "border-dotted",
|
|
361
|
+
double: "border-double",
|
|
362
|
+
},
|
|
363
|
+
fontStyle: { italic: "italic" },
|
|
364
|
+
fontWeight: {
|
|
365
|
+
400: "font-normal",
|
|
366
|
+
500: "font-medium",
|
|
367
|
+
700: "font-bold",
|
|
368
|
+
},
|
|
369
|
+
height: { auto: "min-h-0", screen: "min-h-screen" },
|
|
370
|
+
justifyContent: {
|
|
371
|
+
"flex-start": "justify-start",
|
|
372
|
+
"flex-end": "justify-end",
|
|
373
|
+
center: "justify-center",
|
|
374
|
+
},
|
|
375
|
+
margin: function (e) {
|
|
376
|
+
return Array.isArray(e)
|
|
377
|
+
? e.join(" ")
|
|
378
|
+
: (console.warn(
|
|
379
|
+
'cannot convert "margin" style field value to class name',
|
|
380
|
+
),
|
|
381
|
+
"");
|
|
382
|
+
},
|
|
383
|
+
padding: function (e) {
|
|
384
|
+
return Array.isArray(e)
|
|
385
|
+
? e.join(" ")
|
|
386
|
+
: (console.warn(
|
|
387
|
+
'cannot convert "padding" style field value to class name',
|
|
388
|
+
),
|
|
389
|
+
"");
|
|
390
|
+
},
|
|
391
|
+
textAlign: {
|
|
392
|
+
left: "text-left",
|
|
393
|
+
center: "text-center",
|
|
394
|
+
right: "text-right",
|
|
395
|
+
justify: "text-justify",
|
|
396
|
+
},
|
|
397
|
+
textDecoration: {
|
|
398
|
+
underline: "underline",
|
|
399
|
+
"line-through": "line-through",
|
|
400
|
+
},
|
|
401
|
+
width: { narrow: "max-w-5xl", wide: "max-w-7xl", full: "max-w-full" },
|
|
402
|
+
};
|
|
403
|
+
function o(e) {
|
|
404
|
+
return Object.entries(e)
|
|
405
|
+
.map((e) => {
|
|
406
|
+
let [t, r] = e;
|
|
407
|
+
return t in n
|
|
408
|
+
? "function" == typeof n[t]
|
|
409
|
+
? n[t](r)
|
|
410
|
+
: r in n[t]
|
|
411
|
+
? n[t][r]
|
|
412
|
+
: void 0
|
|
413
|
+
: r;
|
|
414
|
+
})
|
|
415
|
+
.join(" ");
|
|
416
|
+
}
|
|
417
|
+
},
|
|
418
|
+
3967: function (e, t) {
|
|
419
|
+
var r;
|
|
420
|
+
!(function () {
|
|
421
|
+
"use strict";
|
|
422
|
+
var n = {}.hasOwnProperty;
|
|
423
|
+
function o() {
|
|
424
|
+
for (var e = "", t = 0; t < arguments.length; t++) {
|
|
425
|
+
var r = arguments[t];
|
|
426
|
+
r &&
|
|
427
|
+
(e = l(
|
|
428
|
+
e,
|
|
429
|
+
(function (e) {
|
|
430
|
+
if ("string" == typeof e || "number" == typeof e) return e;
|
|
431
|
+
if ("object" != typeof e) return "";
|
|
432
|
+
if (Array.isArray(e)) return o.apply(null, e);
|
|
433
|
+
if (
|
|
434
|
+
e.toString !== Object.prototype.toString &&
|
|
435
|
+
!e.toString.toString().includes("[native code]")
|
|
436
|
+
)
|
|
437
|
+
return e.toString();
|
|
438
|
+
var t = "";
|
|
439
|
+
for (var r in e) n.call(e, r) && e[r] && (t = l(t, r));
|
|
440
|
+
return t;
|
|
441
|
+
})(r),
|
|
442
|
+
));
|
|
443
|
+
}
|
|
444
|
+
return e;
|
|
445
|
+
}
|
|
446
|
+
function l(e, t) {
|
|
447
|
+
return t ? (e ? e + " " + t : e + t) : e;
|
|
448
|
+
}
|
|
449
|
+
e.exports
|
|
450
|
+
? ((o.default = o), (e.exports = o))
|
|
451
|
+
: void 0 !==
|
|
452
|
+
(r = function () {
|
|
453
|
+
return o;
|
|
454
|
+
}.apply(t, [])) && (e.exports = r);
|
|
455
|
+
})();
|
|
456
|
+
},
|
|
457
|
+
},
|
|
458
|
+
]);
|