@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.
Files changed (198) hide show
  1. package/.api_gateway_config.json +1 -0
  2. package/.github/workflows/npm-publish.yml +35 -0
  3. package/.github/workflows/prettier.yaml +44 -0
  4. package/.prettierignore +2 -0
  5. package/.prettierrc +4 -0
  6. package/.resp_cache.json +1 -0
  7. package/.vscode/launch.json +27 -0
  8. package/CHANGELOG.md +40 -0
  9. package/README.md +35 -140
  10. package/build/api_gateway/checkFeasibility.js +32 -0
  11. package/build/api_gateway/checkFeasibility.js.map +1 -0
  12. package/build/api_gateway/checkFireWallBlocking.js +24 -0
  13. package/build/api_gateway/checkFireWallBlocking.js.map +1 -0
  14. package/build/api_gateway/genReq.js +202 -0
  15. package/build/api_gateway/genReq.js.map +1 -0
  16. package/build/api_gateway/index.js +277 -0
  17. package/build/api_gateway/index.js.map +1 -0
  18. package/build/endpoints/gen_report/gen_json.js +22 -0
  19. package/build/endpoints/gen_report/gen_json.js.map +1 -0
  20. package/build/endpoints/gen_report/gen_markdown.js +66 -0
  21. package/build/endpoints/gen_report/gen_markdown.js.map +1 -0
  22. package/build/endpoints/gen_report/utility/iterate_n_store.js +46 -0
  23. package/build/endpoints/gen_report/utility/iterate_n_store.js.map +1 -0
  24. package/build/endpoints/index.js +89 -0
  25. package/build/endpoints/index.js.map +1 -0
  26. package/build/endpoints/next_js/client_jsFilesHref.js +91 -0
  27. package/build/endpoints/next_js/client_jsFilesHref.js.map +1 -0
  28. package/build/endpoints/next_js/client_jsonParse.js +75 -0
  29. package/build/endpoints/next_js/client_jsonParse.js.map +1 -0
  30. package/build/endpoints/next_js/client_subsequentRequests.js +199 -0
  31. package/build/endpoints/next_js/client_subsequentRequests.js.map +1 -0
  32. package/build/endpoints/next_js/getWebpacks.js +45 -0
  33. package/build/endpoints/next_js/getWebpacks.js.map +1 -0
  34. package/build/globalConfig.js +11 -0
  35. package/build/globalConfig.js.map +1 -0
  36. package/build/index.js +166 -0
  37. package/build/index.js.map +1 -0
  38. package/build/lazyLoad/downloadFilesUtil.js +128 -0
  39. package/build/lazyLoad/downloadFilesUtil.js.map +1 -0
  40. package/build/lazyLoad/downloadLoadedJsUtil.js +51 -0
  41. package/build/lazyLoad/downloadLoadedJsUtil.js.map +1 -0
  42. package/build/lazyLoad/globals.js +25 -0
  43. package/build/lazyLoad/globals.js.map +1 -0
  44. package/build/lazyLoad/index.js +171 -0
  45. package/build/lazyLoad/index.js.map +1 -0
  46. package/build/lazyLoad/next_js/next_GetJSScript.js +94 -0
  47. package/build/lazyLoad/next_js/next_GetJSScript.js.map +1 -0
  48. package/build/lazyLoad/next_js/next_GetLazyResources.js +202 -0
  49. package/build/lazyLoad/next_js/next_GetLazyResources.js.map +1 -0
  50. package/build/lazyLoad/next_js/next_SubsequentRequests.js +120 -0
  51. package/build/lazyLoad/next_js/next_SubsequentRequests.js.map +1 -0
  52. package/build/lazyLoad/nuxt_js/nuxt_astParse.js +188 -0
  53. package/build/lazyLoad/nuxt_js/nuxt_astParse.js.map +1 -0
  54. package/build/lazyLoad/nuxt_js/nuxt_getFromPageSource.js +75 -0
  55. package/build/lazyLoad/nuxt_js/nuxt_getFromPageSource.js.map +1 -0
  56. package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js +94 -0
  57. package/build/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js.map +1 -0
  58. package/build/lazyLoad/svelte/svelte_getFromPageSource.js +68 -0
  59. package/build/lazyLoad/svelte/svelte_getFromPageSource.js.map +1 -0
  60. package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js +95 -0
  61. package/build/lazyLoad/svelte/svelte_stringAnalysisJSFiles.js.map +1 -0
  62. package/build/map/index.js +58 -0
  63. package/build/map/index.js.map +1 -0
  64. package/build/map/next_js/getFetchInstances.js +105 -0
  65. package/build/map/next_js/getFetchInstances.js.map +1 -0
  66. package/build/map/next_js/getWebpackConnections.js +224 -0
  67. package/build/map/next_js/getWebpackConnections.js.map +1 -0
  68. package/build/map/next_js/interactive.js +32 -0
  69. package/build/map/next_js/interactive.js.map +1 -0
  70. package/build/map/next_js/interactive_helpers/commandHandler.js +190 -0
  71. package/build/map/next_js/interactive_helpers/commandHandler.js.map +1 -0
  72. package/build/map/next_js/interactive_helpers/commandHelpers.js +91 -0
  73. package/build/map/next_js/interactive_helpers/commandHelpers.js.map +1 -0
  74. package/build/map/next_js/interactive_helpers/helpMenu.js +11 -0
  75. package/build/map/next_js/interactive_helpers/helpMenu.js.map +1 -0
  76. package/build/map/next_js/interactive_helpers/keybindings.js +80 -0
  77. package/build/map/next_js/interactive_helpers/keybindings.js.map +1 -0
  78. package/build/map/next_js/interactive_helpers/printer.js +17 -0
  79. package/build/map/next_js/interactive_helpers/printer.js.map +1 -0
  80. package/build/map/next_js/interactive_helpers/ui.js +81 -0
  81. package/build/map/next_js/interactive_helpers/ui.js.map +1 -0
  82. package/build/map/next_js/resolveFetch.js +201 -0
  83. package/build/map/next_js/resolveFetch.js.map +1 -0
  84. package/build/run/index.js +62 -0
  85. package/build/run/index.js.map +1 -0
  86. package/build/strings/index.js +235 -0
  87. package/build/strings/index.js.map +1 -0
  88. package/build/strings/openapi.js +55 -0
  89. package/build/strings/openapi.js.map +1 -0
  90. package/build/strings/permutate.js +55 -0
  91. package/build/strings/permutate.js.map +1 -0
  92. package/build/strings/secrets.js +89 -0
  93. package/build/strings/secrets.js.map +1 -0
  94. package/build/techDetect/index.js +224 -0
  95. package/build/techDetect/index.js.map +1 -0
  96. package/build/utility/ai.js +69 -0
  97. package/build/utility/ai.js.map +1 -0
  98. package/build/utility/globals.js +84 -0
  99. package/build/utility/globals.js.map +1 -0
  100. package/build/utility/interfaces.js +2 -0
  101. package/build/utility/interfaces.js.map +1 -0
  102. package/build/utility/makeReq.js +265 -0
  103. package/build/utility/makeReq.js.map +1 -0
  104. package/build/utility/resolvePath.js +44 -0
  105. package/build/utility/resolvePath.js.map +1 -0
  106. package/{utility → build/utility}/runSandboxed.js +10 -13
  107. package/build/utility/runSandboxed.js.map +1 -0
  108. package/{utility → build/utility}/urlUtils.js +9 -11
  109. package/build/utility/urlUtils.js.map +1 -0
  110. package/docs/README.md +20 -0
  111. package/docs/api-gateway.md +68 -0
  112. package/docs/endpoints.md +49 -0
  113. package/docs/example-scenario.md +258 -0
  114. package/docs/interactive-mode.md +76 -0
  115. package/docs/lazyload.md +56 -0
  116. package/docs/map.md +53 -0
  117. package/docs/run.md +54 -0
  118. package/docs/strings.md +75 -0
  119. package/endpoints.json +77 -0
  120. package/extracted_urls-openapi.json +225 -0
  121. package/extracted_urls-swagger.json +225 -0
  122. package/extracted_urls.json +47 -0
  123. package/extracted_urls.txt +296 -0
  124. package/mapped.json +3413 -0
  125. package/output/ss0x00.com/_next/data/k7xKVnxmboK4SktY2dZWt/index.json +971 -0
  126. package/output/ss0x00.com/_next/static/chunks/12.7e6d2ac6e1808fc2.js +247 -0
  127. package/output/ss0x00.com/_next/static/chunks/128.160aa801ef0445bc.js +1074 -0
  128. package/output/ss0x00.com/_next/static/chunks/132.55df84f7707fc278.js +102 -0
  129. package/output/ss0x00.com/_next/static/chunks/142.77038c55d9ec10ba.js +96 -0
  130. package/output/ss0x00.com/_next/static/chunks/215.321479e91d330bfa.js +228 -0
  131. package/output/ss0x00.com/_next/static/chunks/229.097c396d86b4a882.js +458 -0
  132. package/output/ss0x00.com/_next/static/chunks/257.5fd052aa4ef06ef9.js +1327 -0
  133. package/output/ss0x00.com/_next/static/chunks/268.72cb3779f66db70b.js +10520 -0
  134. package/output/ss0x00.com/_next/static/chunks/320.57d528b0e9bf86f0.js +186 -0
  135. package/output/ss0x00.com/_next/static/chunks/325.302a44b604c35f17.js +88 -0
  136. package/output/ss0x00.com/_next/static/chunks/328.e4a0307a4fddf318.js +248 -0
  137. package/output/ss0x00.com/_next/static/chunks/432.3621f17504ef18f2.js +443 -0
  138. package/output/ss0x00.com/_next/static/chunks/44.e90dd963003a3d43.js +1094 -0
  139. package/output/ss0x00.com/_next/static/chunks/442.8c054f100f9e5e50.js +1082 -0
  140. package/output/ss0x00.com/_next/static/chunks/460.f8db9a5142598e2c.js +466 -0
  141. package/output/ss0x00.com/_next/static/chunks/487.05ca55420459c002.js +78 -0
  142. package/output/ss0x00.com/_next/static/chunks/567.1909a6b0a920114b.js +1374 -0
  143. package/output/ss0x00.com/_next/static/chunks/586.802fc9214d87fb29.js +752 -0
  144. package/output/ss0x00.com/_next/static/chunks/620.a2a3a6b94d30a4c8.js +1037 -0
  145. package/output/ss0x00.com/_next/static/chunks/642.6b3e487c9604cbb8.js +1628 -0
  146. package/output/ss0x00.com/_next/static/chunks/673.e5d77887e5c6a68c.js +1045 -0
  147. package/output/ss0x00.com/_next/static/chunks/684.8b8e52baca70524b.js +96 -0
  148. package/output/ss0x00.com/_next/static/chunks/686.79480519e5ccfb77.js +296 -0
  149. package/output/ss0x00.com/_next/static/chunks/756.7a3878a2e6765be7.js +504 -0
  150. package/output/ss0x00.com/_next/static/chunks/761.7bea7516c5d22b2a.js +1485 -0
  151. package/output/ss0x00.com/_next/static/chunks/794.e079ef369b41a3c5.js +1350 -0
  152. package/output/ss0x00.com/_next/static/chunks/826.31ba213e1d023c68.js +1031 -0
  153. package/output/ss0x00.com/_next/static/chunks/847.d8397a73efc81848.js +1068 -0
  154. package/output/ss0x00.com/_next/static/chunks/848.5feaeee1e2624aea.js +132 -0
  155. package/output/ss0x00.com/_next/static/chunks/850.ecc7c3c3d787ee03.js +1472 -0
  156. package/output/ss0x00.com/_next/static/chunks/853.50b9eb60b7d0e83c.js +1472 -0
  157. package/output/ss0x00.com/_next/static/chunks/856.7a7bb6c3c7bfc2ba.js +1320 -0
  158. package/output/ss0x00.com/_next/static/chunks/859.df4bd45c03a65f53.js +1306 -0
  159. package/output/ss0x00.com/_next/static/chunks/867.e8633955a147c978.js +541 -0
  160. package/output/ss0x00.com/_next/static/chunks/921.c3123f20a4c8d53c.js +96 -0
  161. package/output/ss0x00.com/_next/static/chunks/932.25cb421c466c99cb.js +999 -0
  162. package/output/ss0x00.com/_next/static/chunks/framework-64ad27b21261a9ce.js +9189 -0
  163. package/output/ss0x00.com/_next/static/chunks/main-710ab85aa9a8f10d.js +6583 -0
  164. package/output/ss0x00.com/_next/static/chunks/pages/5D-af5a23529ce3c337.js +486 -0
  165. package/output/ss0x00.com/_next/static/chunks/pages/_app-c449865c8af1faa0.js +39 -0
  166. package/output/ss0x00.com/_next/static/chunks/polyfills-78c92fac7aa8fdd8.js +6383 -0
  167. package/output/ss0x00.com/_next/static/chunks/webpack-efff35ee26971294.js +271 -0
  168. package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_buildManifest.js +8 -0
  169. package/output/ss0x00.com/_next/static/k7xKVnxmboK4SktY2dZWt/_ssgManifest.js +3 -0
  170. package/output/ss0x00.com/cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js +82 -0
  171. package/package.json +50 -38
  172. package/strings.json +7407 -0
  173. package/api_gateway/checkFeasibility.js +0 -25
  174. package/api_gateway/checkFireWallBlocking.js +0 -17
  175. package/api_gateway/genReq.js +0 -214
  176. package/api_gateway/index.js +0 -325
  177. package/endpoints/index.js +0 -7
  178. package/globalConfig.js +0 -12
  179. package/index.js +0 -69
  180. package/lazyLoad/downloadFilesUtil.js +0 -122
  181. package/lazyLoad/downloadLoadedJsUtil.js +0 -54
  182. package/lazyLoad/globals.js +0 -15
  183. package/lazyLoad/index.js +0 -167
  184. package/lazyLoad/next_js/next_GetJSScript.js +0 -99
  185. package/lazyLoad/next_js/next_GetLazyResources.js +0 -201
  186. package/lazyLoad/next_js/next_SubsequentRequests.js +0 -138
  187. package/lazyLoad/nuxt_js/nuxt_astParse.js +0 -194
  188. package/lazyLoad/nuxt_js/nuxt_getFromPageSource.js +0 -77
  189. package/lazyLoad/nuxt_js/nuxt_stringAnalysisJSFiles.js +0 -99
  190. package/research/firewall_bypass.md +0 -38
  191. package/research/next_js.md +0 -116
  192. package/research/nuxt_js.md +0 -125
  193. package/research/vue_js.md +0 -9
  194. package/strings/index.js +0 -145
  195. package/techDetect/index.js +0 -156
  196. package/utility/globals.js +0 -6
  197. package/utility/makeReq.js +0 -179
  198. package/utility/resolvePath.js +0 -43
@@ -0,0 +1,96 @@
1
+ // JS Source: https://ss0x00.com/_next/static/chunks/684.8b8e52baca70524b.js
2
+ (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
3
+ [684],
4
+ {
5
+ 7684: function (r, t, n) {
6
+ "use strict";
7
+ (n.r(t),
8
+ n.d(t, {
9
+ default: function () {
10
+ return i;
11
+ },
12
+ }));
13
+ var e = n(5893);
14
+ n(7294);
15
+ var l = n(3967),
16
+ o = n.n(l);
17
+ function i(r) {
18
+ let {
19
+ name: t,
20
+ label: n,
21
+ hideLabel: l,
22
+ placeholder: i,
23
+ isRequired: a,
24
+ width: u = "full",
25
+ } = r,
26
+ s = "".concat(t, "-label"),
27
+ c = {};
28
+ return (
29
+ n && (c["aria-labelledby"] = s),
30
+ a && (c.required = !0),
31
+ i && (c.placeholder = i),
32
+ (0, e.jsxs)("div", {
33
+ className: o()("sb-form-control", {
34
+ "sb-form-control-full": "full" === u,
35
+ }),
36
+ children: [
37
+ n &&
38
+ (0, e.jsx)("label", {
39
+ id: s,
40
+ className: o()("sb-label", { "sr-only": l }),
41
+ htmlFor: t,
42
+ children: n,
43
+ }),
44
+ (0, e.jsx)("input", {
45
+ id: t,
46
+ className: "sb-input",
47
+ type: "email",
48
+ name: t,
49
+ ...c,
50
+ }),
51
+ ],
52
+ })
53
+ );
54
+ }
55
+ },
56
+ 3967: function (r, t) {
57
+ var n;
58
+ !(function () {
59
+ "use strict";
60
+ var e = {}.hasOwnProperty;
61
+ function l() {
62
+ for (var r = "", t = 0; t < arguments.length; t++) {
63
+ var n = arguments[t];
64
+ n &&
65
+ (r = o(
66
+ r,
67
+ (function (r) {
68
+ if ("string" == typeof r || "number" == typeof r) return r;
69
+ if ("object" != typeof r) return "";
70
+ if (Array.isArray(r)) return l.apply(null, r);
71
+ if (
72
+ r.toString !== Object.prototype.toString &&
73
+ !r.toString.toString().includes("[native code]")
74
+ )
75
+ return r.toString();
76
+ var t = "";
77
+ for (var n in r) e.call(r, n) && r[n] && (t = o(t, n));
78
+ return t;
79
+ })(n),
80
+ ));
81
+ }
82
+ return r;
83
+ }
84
+ function o(r, t) {
85
+ return t ? (r ? r + " " + t : r + t) : r;
86
+ }
87
+ r.exports
88
+ ? ((l.default = l), (r.exports = l))
89
+ : void 0 !==
90
+ (n = function () {
91
+ return l;
92
+ }.apply(t, [])) && (r.exports = n);
93
+ })();
94
+ },
95
+ },
96
+ ]);
@@ -0,0 +1,296 @@
1
+ // JS Source: https://ss0x00.com/_next/static/chunks/686.79480519e5ccfb77.js
2
+ "use strict";
3
+ (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
4
+ [686],
5
+ {
6
+ 8154: function (e, n, l) {
7
+ l.d(n, {
8
+ aU: function () {
9
+ return t.Z;
10
+ },
11
+ Xd: function () {
12
+ return i;
13
+ },
14
+ rU: function () {
15
+ return d.Z;
16
+ },
17
+ g_: function () {
18
+ return b;
19
+ },
20
+ });
21
+ var t = l(7603),
22
+ o = l(5893);
23
+ l(7294);
24
+ var r = l(3967),
25
+ s = l.n(r),
26
+ c = l(9754);
27
+ function i(e) {
28
+ let {
29
+ url: n,
30
+ className: l,
31
+ backgroundSize: t,
32
+ backgroundPosition: r,
33
+ backgroundRepeat: i,
34
+ opacity: d,
35
+ } = e;
36
+ return n
37
+ ? (0, o.jsx)("div", {
38
+ className: s()(
39
+ "fixed",
40
+ "inset-0",
41
+ (0, c.G)({
42
+ backgroundSize: null != t ? t : "cover",
43
+ backgroundPosition: null != r ? r : "center",
44
+ backgroundRepeat: null != i ? i : "no-repeat",
45
+ }),
46
+ l,
47
+ ),
48
+ style: {
49
+ backgroundImage: "url('".concat(n, "')"),
50
+ opacity: (null != d ? d : 100) * 0.01,
51
+ },
52
+ })
53
+ : null;
54
+ }
55
+ var d = l(4377),
56
+ u = l(3435),
57
+ a = l(6880);
58
+ function b(e) {
59
+ let {
60
+ elementId: n,
61
+ className: l,
62
+ label: t,
63
+ altText: r,
64
+ url: c,
65
+ icon: i = "facebook",
66
+ } = e,
67
+ b = u.q[i];
68
+ return (0, o.jsx)(a.M, {
69
+ content: e,
70
+ children: (0, o.jsxs)(d.Z, {
71
+ href: c,
72
+ "aria-label": r,
73
+ id: n || null,
74
+ className: s()(
75
+ "sb-component",
76
+ "sb-component-block",
77
+ "sb-component-social",
78
+ l,
79
+ ),
80
+ children: [
81
+ t && (0, o.jsx)("span", { className: "sr-only", children: t }),
82
+ b && (0, o.jsx)(b, { className: "fill-current h-5 w-5" }),
83
+ ],
84
+ }),
85
+ });
86
+ }
87
+ },
88
+ 6686: function (e, n, l) {
89
+ (l.r(n),
90
+ l.d(n, {
91
+ default: function () {
92
+ return u;
93
+ },
94
+ }));
95
+ var t = l(5893);
96
+ l(7294);
97
+ var o = l(3967),
98
+ r = l.n(o),
99
+ s = l(8154),
100
+ c = l(9754),
101
+ i = l(6319),
102
+ d = l(6880);
103
+ function u(e) {
104
+ let {
105
+ type: n,
106
+ elementId: l,
107
+ colors: o,
108
+ title: s,
109
+ subtitle: d,
110
+ items: u = [],
111
+ styles: b = {},
112
+ } = e;
113
+ return (0, t.jsxs)(i.Z, {
114
+ type: n,
115
+ elementId: l,
116
+ colors: o,
117
+ styles: b.self,
118
+ children: [
119
+ s &&
120
+ (0, t.jsx)("h2", {
121
+ className: r()(b.title ? (0, c.G)(b.title) : null),
122
+ children: s,
123
+ }),
124
+ d &&
125
+ (0, t.jsx)("p", {
126
+ className: r()(
127
+ "text-lg",
128
+ "sm:text-xl",
129
+ b.subtitle ? (0, c.G)(b.subtitle) : null,
130
+ { "mt-6": s },
131
+ ),
132
+ children: d,
133
+ }),
134
+ u.length > 0 &&
135
+ (0, t.jsx)("div", {
136
+ className: r()("flex", "flex-wrap", {
137
+ "mt-12 lg:mt-16": s || d,
138
+ }),
139
+ children: u.map((e, n) => (0, t.jsx)(a, { ...e }, n)),
140
+ }),
141
+ ],
142
+ });
143
+ }
144
+ function a(e) {
145
+ let { label: n, url: l } = e;
146
+ return n
147
+ ? (0, t.jsx)(d.M, {
148
+ content: e,
149
+ children: l
150
+ ? (0, t.jsx)(s.rU, {
151
+ href: l,
152
+ className:
153
+ "sb-component sb-component-block sb-component-button sb-component-button-secondary mr-6 mb-6",
154
+ children: (0, t.jsx)("span", { children: n }),
155
+ })
156
+ : (0, t.jsx)("div", {
157
+ className:
158
+ "sb-component sb-component-block sb-component-button sb-component-button-secondary sb-component-button-no-hover mr-6 mb-6",
159
+ children: (0, t.jsx)("span", { children: n }),
160
+ }),
161
+ })
162
+ : null;
163
+ }
164
+ },
165
+ 6319: function (e, n, l) {
166
+ l.d(n, {
167
+ Z: function () {
168
+ return c;
169
+ },
170
+ });
171
+ var t = l(5893);
172
+ l(7294);
173
+ var o = l(3967),
174
+ r = l.n(o),
175
+ s = l(9754);
176
+ function c(e) {
177
+ let { backgroundSize: n = "full", ...l } = e;
178
+ return "inset" === n
179
+ ? (0, t.jsx)(i, { ...l })
180
+ : (0, t.jsx)(d, { ...l });
181
+ }
182
+ function i(e) {
183
+ var n, l, o, c;
184
+ let {
185
+ type: i,
186
+ elementId: d,
187
+ colors: u = "colors-f",
188
+ styles: a = {},
189
+ children: b,
190
+ } = e,
191
+ f = i && i.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
192
+ return (0, t.jsx)("div", {
193
+ id: d || null,
194
+ className: r()(
195
+ "sb-component",
196
+ "sb-component-section",
197
+ f && "sb-component-".concat(f),
198
+ "flex",
199
+ (0, s.G)({
200
+ justifyContent:
201
+ null !== (n = a.justifyContent) && void 0 !== n ? n : "center",
202
+ }),
203
+ a.margin,
204
+ ),
205
+ children: (0, t.jsx)("div", {
206
+ className: r()(
207
+ u,
208
+ "flex",
209
+ "flex-col",
210
+ "justify-center",
211
+ "relative",
212
+ "w-full",
213
+ (0, s.G)({
214
+ width: null !== (l = a.width) && void 0 !== l ? l : "wide",
215
+ }),
216
+ (0, s.G)({
217
+ height: null !== (o = a.height) && void 0 !== o ? o : "auto",
218
+ }),
219
+ null !== (c = a.padding) && void 0 !== c ? c : "py-12 px-4",
220
+ a.borderColor,
221
+ a.borderStyle ? (0, s.G)({ borderStyle: a.borderStyle }) : null,
222
+ a.borderRadius
223
+ ? (0, s.G)({ borderRadius: a.borderRadius })
224
+ : null,
225
+ ),
226
+ style: {
227
+ borderWidth: a.borderWidth
228
+ ? "".concat(a.borderWidth, "px")
229
+ : null,
230
+ },
231
+ children: (0, t.jsx)("div", {
232
+ className: "relative w-full",
233
+ children: b,
234
+ }),
235
+ }),
236
+ });
237
+ }
238
+ function d(e) {
239
+ var n, l, o, c;
240
+ let {
241
+ type: i,
242
+ elementId: d,
243
+ colors: u = "colors-f",
244
+ styles: a = {},
245
+ children: b,
246
+ } = e,
247
+ f = i && i.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
248
+ return (0, t.jsx)("div", {
249
+ id: d || null,
250
+ className: r()(
251
+ "sb-component",
252
+ "sb-component-section",
253
+ f && "sb-component-".concat(f),
254
+ u,
255
+ "flex",
256
+ "flex-col",
257
+ "justify-center",
258
+ (0, s.G)({
259
+ height: null !== (n = a.height) && void 0 !== n ? n : "auto",
260
+ }),
261
+ a.margin,
262
+ null !== (l = a.padding) && void 0 !== l ? l : "py-12 px-4",
263
+ a.borderColor,
264
+ a.borderStyle ? (0, s.G)({ borderStyle: a.borderStyle }) : null,
265
+ a.borderRadius ? (0, s.G)({ borderRadius: a.borderRadius }) : null,
266
+ ),
267
+ style: {
268
+ borderWidth: a.borderWidth ? "".concat(a.borderWidth, "px") : null,
269
+ },
270
+ children: (0, t.jsx)("div", {
271
+ className: r()(
272
+ "flex",
273
+ "w-full",
274
+ (0, s.G)({
275
+ justifyContent:
276
+ null !== (o = a.justifyContent) && void 0 !== o
277
+ ? o
278
+ : "center",
279
+ }),
280
+ ),
281
+ children: (0, t.jsx)("div", {
282
+ className: r()(
283
+ "relative",
284
+ "w-full",
285
+ (0, s.G)({
286
+ width: null !== (c = a.width) && void 0 !== c ? c : "wide",
287
+ }),
288
+ ),
289
+ children: b,
290
+ }),
291
+ }),
292
+ });
293
+ }
294
+ },
295
+ },
296
+ ]);