@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,1327 @@
1
+ // JS Source: https://ss0x00.com/_next/static/chunks/257.5fd052aa4ef06ef9.js
2
+ "use strict";
3
+ (self.webpackChunk_N_E = self.webpackChunk_N_E || []).push([
4
+ [257, 44],
5
+ {
6
+ 487: function (e, t, n) {
7
+ (n.r(t),
8
+ n.d(t, {
9
+ default: function () {
10
+ return c;
11
+ },
12
+ }));
13
+ var r = n(5893);
14
+ n(7294);
15
+ var l = n(3967),
16
+ i = n.n(l),
17
+ a = n(6880);
18
+ function c(e) {
19
+ let { elementId: t, className: n, url: l, altText: c = "" } = e;
20
+ return l
21
+ ? (0, r.jsx)(a.M, {
22
+ content: e,
23
+ children: (0, r.jsx)("img", {
24
+ id: t || null,
25
+ className: i()(
26
+ "sb-component",
27
+ "sb-component-block",
28
+ "sb-component-image-block",
29
+ n,
30
+ ),
31
+ src: l,
32
+ alt: c,
33
+ }),
34
+ })
35
+ : null;
36
+ }
37
+ },
38
+ 4044: function (e, t, n) {
39
+ (n.r(t),
40
+ n.d(t, {
41
+ default: function () {
42
+ return d;
43
+ },
44
+ }));
45
+ var r = n(5893);
46
+ n(7294);
47
+ var l = n(3967),
48
+ i = n.n(l),
49
+ a = n(5576),
50
+ c = n(9754),
51
+ o = n(7603),
52
+ s = n(487);
53
+ function d(e) {
54
+ let {
55
+ elementId: t,
56
+ title: n,
57
+ subtitle: l,
58
+ text: o,
59
+ featuredImage: d,
60
+ actions: p = [],
61
+ styles: f = {},
62
+ } = e,
63
+ { self: m = {} } = f,
64
+ { borderWidth: h, ...g } = m;
65
+ return (0, r.jsxs)("article", {
66
+ id: t || null,
67
+ className: i()(
68
+ "sb-component",
69
+ "sb-component-block",
70
+ "sb-component-item",
71
+ (0, c.G)(g),
72
+ ),
73
+ style: { borderWidth: h ? "".concat(h, "px") : null },
74
+ children: [
75
+ d &&
76
+ (0, r.jsx)("div", {
77
+ className: "mb-6",
78
+ children: (0, r.jsx)(s.default, {
79
+ ...d,
80
+ className: "inline-block",
81
+ }),
82
+ }),
83
+ n &&
84
+ (0, r.jsx)("h3", {
85
+ className: i()(f.title ? (0, c.G)(f.title) : null),
86
+ children: n,
87
+ }),
88
+ l &&
89
+ (0, r.jsx)("p", {
90
+ className: i()(
91
+ "text-lg",
92
+ f.subtitle ? (0, c.G)(f.subtitle) : null,
93
+ { "mt-1": n },
94
+ ),
95
+ children: l,
96
+ }),
97
+ o &&
98
+ (0, r.jsx)(a.ZP, {
99
+ options: { forceBlock: !0, forceWrapper: !0 },
100
+ className: i()("sb-markdown", { "mt-4": n || l }),
101
+ children: o,
102
+ }),
103
+ (0, r.jsx)(u, {
104
+ actions: p,
105
+ textAlign: g.textAlign,
106
+ hasTopMargin: !!(n || l || o),
107
+ }),
108
+ ],
109
+ });
110
+ }
111
+ function u(e) {
112
+ let { actions: t = [], textAlign: n, hasTopMargin: l } = e;
113
+ return 0 === t.length
114
+ ? null
115
+ : (0, r.jsx)("div", {
116
+ className: i()("overflow-x-hidden", { "mt-4": l }),
117
+ children: (0, r.jsx)("div", {
118
+ className: i()("flex", "flex-wrap", "items-center", "-mx-2", {
119
+ "justify-center": "center" === n,
120
+ "justify-end": "right" === n,
121
+ }),
122
+ children: t.map((e, t) =>
123
+ (0, r.jsx)(
124
+ o.Z,
125
+ { ...e, className: "my-2 mx-2 lg:whitespace-nowrap" },
126
+ t,
127
+ ),
128
+ ),
129
+ }),
130
+ });
131
+ }
132
+ },
133
+ 2257: function (e, t, n) {
134
+ (n.r(t),
135
+ n.d(t, {
136
+ default: function () {
137
+ return d;
138
+ },
139
+ }));
140
+ var r = n(5893);
141
+ n(7294);
142
+ var l = n(3967),
143
+ i = n.n(l),
144
+ a = n(9754),
145
+ c = n(6319),
146
+ o = n(7603),
147
+ s = n(4044);
148
+ function d(e) {
149
+ let {
150
+ type: t,
151
+ elementId: n,
152
+ colors: l,
153
+ title: o,
154
+ subtitle: d,
155
+ actions: p = [],
156
+ items: f = [],
157
+ columns: m = 3,
158
+ spacingX: h = 16,
159
+ spacingY: g = 16,
160
+ styles: y = {},
161
+ } = e;
162
+ return (0, r.jsxs)(c.Z, {
163
+ type: t,
164
+ elementId: n,
165
+ colors: l,
166
+ styles: y.self,
167
+ children: [
168
+ o &&
169
+ (0, r.jsx)("h2", {
170
+ className: i()(y.title ? (0, a.G)(y.title) : null),
171
+ children: o,
172
+ }),
173
+ d &&
174
+ (0, r.jsx)("p", {
175
+ className: i()(
176
+ "text-lg",
177
+ "sm:text-xl",
178
+ y.subtitle ? (0, a.G)(y.subtitle) : null,
179
+ { "mt-6": o },
180
+ ),
181
+ children: d,
182
+ }),
183
+ f.length > 0 &&
184
+ (0, r.jsx)("div", {
185
+ className: i()(
186
+ "grid",
187
+ (function (e) {
188
+ switch (e) {
189
+ case 4:
190
+ return "md:grid-cols-4";
191
+ case 3:
192
+ return "md:grid-cols-3";
193
+ case 2:
194
+ return "md:grid-cols-2";
195
+ default:
196
+ return null;
197
+ }
198
+ })(m),
199
+ { "mt-12": o || d },
200
+ ),
201
+ style: {
202
+ columnGap: h ? "".concat(h, "px") : null,
203
+ rowGap: g ? "".concat(g, "px") : null,
204
+ },
205
+ children: f.map((e, t) => (0, r.jsx)(s.default, { ...e }, t)),
206
+ }),
207
+ (0, r.jsx)(u, { actions: p, styles: y.actions }),
208
+ ],
209
+ });
210
+ }
211
+ function u(e) {
212
+ let { actions: t = [], styles: n = {} } = e;
213
+ return 0 === t.length
214
+ ? null
215
+ : (0, r.jsx)("div", {
216
+ className: "mt-10 overflow-x-hidden",
217
+ children: (0, r.jsx)("div", {
218
+ className: i()(
219
+ "flex",
220
+ "flex-wrap",
221
+ "items-center",
222
+ "-mx-2",
223
+ (0, a.G)(n),
224
+ ),
225
+ children: t.map((e, t) =>
226
+ (0, r.jsx)(
227
+ o.Z,
228
+ { ...e, className: "my-2 mx-2 lg:whitespace-nowrap" },
229
+ t,
230
+ ),
231
+ ),
232
+ }),
233
+ });
234
+ }
235
+ },
236
+ 6319: function (e, t, n) {
237
+ n.d(t, {
238
+ Z: function () {
239
+ return c;
240
+ },
241
+ });
242
+ var r = n(5893);
243
+ n(7294);
244
+ var l = n(3967),
245
+ i = n.n(l),
246
+ a = n(9754);
247
+ function c(e) {
248
+ let { backgroundSize: t = "full", ...n } = e;
249
+ return "inset" === t
250
+ ? (0, r.jsx)(o, { ...n })
251
+ : (0, r.jsx)(s, { ...n });
252
+ }
253
+ function o(e) {
254
+ var t, n, l, c;
255
+ let {
256
+ type: o,
257
+ elementId: s,
258
+ colors: d = "colors-f",
259
+ styles: u = {},
260
+ children: p,
261
+ } = e,
262
+ f = o && o.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
263
+ return (0, r.jsx)("div", {
264
+ id: s || null,
265
+ className: i()(
266
+ "sb-component",
267
+ "sb-component-section",
268
+ f && "sb-component-".concat(f),
269
+ "flex",
270
+ (0, a.G)({
271
+ justifyContent:
272
+ null !== (t = u.justifyContent) && void 0 !== t ? t : "center",
273
+ }),
274
+ u.margin,
275
+ ),
276
+ children: (0, r.jsx)("div", {
277
+ className: i()(
278
+ d,
279
+ "flex",
280
+ "flex-col",
281
+ "justify-center",
282
+ "relative",
283
+ "w-full",
284
+ (0, a.G)({
285
+ width: null !== (n = u.width) && void 0 !== n ? n : "wide",
286
+ }),
287
+ (0, a.G)({
288
+ height: null !== (l = u.height) && void 0 !== l ? l : "auto",
289
+ }),
290
+ null !== (c = u.padding) && void 0 !== c ? c : "py-12 px-4",
291
+ u.borderColor,
292
+ u.borderStyle ? (0, a.G)({ borderStyle: u.borderStyle }) : null,
293
+ u.borderRadius
294
+ ? (0, a.G)({ borderRadius: u.borderRadius })
295
+ : null,
296
+ ),
297
+ style: {
298
+ borderWidth: u.borderWidth
299
+ ? "".concat(u.borderWidth, "px")
300
+ : null,
301
+ },
302
+ children: (0, r.jsx)("div", {
303
+ className: "relative w-full",
304
+ children: p,
305
+ }),
306
+ }),
307
+ });
308
+ }
309
+ function s(e) {
310
+ var t, n, l, c;
311
+ let {
312
+ type: o,
313
+ elementId: s,
314
+ colors: d = "colors-f",
315
+ styles: u = {},
316
+ children: p,
317
+ } = e,
318
+ f = o && o.replace(/([a-z0-9])([A-Z])/g, "$1-$2").toLowerCase();
319
+ return (0, r.jsx)("div", {
320
+ id: s || null,
321
+ className: i()(
322
+ "sb-component",
323
+ "sb-component-section",
324
+ f && "sb-component-".concat(f),
325
+ d,
326
+ "flex",
327
+ "flex-col",
328
+ "justify-center",
329
+ (0, a.G)({
330
+ height: null !== (t = u.height) && void 0 !== t ? t : "auto",
331
+ }),
332
+ u.margin,
333
+ null !== (n = u.padding) && void 0 !== n ? n : "py-12 px-4",
334
+ u.borderColor,
335
+ u.borderStyle ? (0, a.G)({ borderStyle: u.borderStyle }) : null,
336
+ u.borderRadius ? (0, a.G)({ borderRadius: u.borderRadius }) : null,
337
+ ),
338
+ style: {
339
+ borderWidth: u.borderWidth ? "".concat(u.borderWidth, "px") : null,
340
+ },
341
+ children: (0, r.jsx)("div", {
342
+ className: i()(
343
+ "flex",
344
+ "w-full",
345
+ (0, a.G)({
346
+ justifyContent:
347
+ null !== (l = u.justifyContent) && void 0 !== l
348
+ ? l
349
+ : "center",
350
+ }),
351
+ ),
352
+ children: (0, r.jsx)("div", {
353
+ className: i()(
354
+ "relative",
355
+ "w-full",
356
+ (0, a.G)({
357
+ width: null !== (c = u.width) && void 0 !== c ? c : "wide",
358
+ }),
359
+ ),
360
+ children: p,
361
+ }),
362
+ }),
363
+ });
364
+ }
365
+ },
366
+ 5576: function (e, t, n) {
367
+ var r,
368
+ l,
369
+ i,
370
+ a,
371
+ c = n(7294);
372
+ function o() {
373
+ return (o = Object.assign
374
+ ? Object.assign.bind()
375
+ : function (e) {
376
+ for (var t = 1; t < arguments.length; t++) {
377
+ var n = arguments[t];
378
+ for (var r in n)
379
+ Object.prototype.hasOwnProperty.call(n, r) && (e[r] = n[r]);
380
+ }
381
+ return e;
382
+ }).apply(this, arguments);
383
+ }
384
+ let s = ["children", "options"];
385
+ (((r = i || (i = {})).blockQuote = "0"),
386
+ (r.breakLine = "1"),
387
+ (r.breakThematic = "2"),
388
+ (r.codeBlock = "3"),
389
+ (r.codeFenced = "4"),
390
+ (r.codeInline = "5"),
391
+ (r.footnote = "6"),
392
+ (r.footnoteReference = "7"),
393
+ (r.gfmTask = "8"),
394
+ (r.heading = "9"),
395
+ (r.headingSetext = "10"),
396
+ (r.htmlBlock = "11"),
397
+ (r.htmlComment = "12"),
398
+ (r.htmlSelfClosing = "13"),
399
+ (r.image = "14"),
400
+ (r.link = "15"),
401
+ (r.linkAngleBraceStyleDetector = "16"),
402
+ (r.linkBareUrlDetector = "17"),
403
+ (r.linkMailtoDetector = "18"),
404
+ (r.newlineCoalescer = "19"),
405
+ (r.orderedList = "20"),
406
+ (r.paragraph = "21"),
407
+ (r.ref = "22"),
408
+ (r.refImage = "23"),
409
+ (r.refLink = "24"),
410
+ (r.table = "25"),
411
+ (r.tableSeparator = "26"),
412
+ (r.text = "27"),
413
+ (r.textBolded = "28"),
414
+ (r.textEmphasized = "29"),
415
+ (r.textEscaped = "30"),
416
+ (r.textMarked = "31"),
417
+ (r.textStrikethroughed = "32"),
418
+ (r.unorderedList = "33"),
419
+ ((l = a || (a = {}))[(l.MAX = 0)] = "MAX"),
420
+ (l[(l.HIGH = 1)] = "HIGH"),
421
+ (l[(l.MED = 2)] = "MED"),
422
+ (l[(l.LOW = 3)] = "LOW"),
423
+ (l[(l.MIN = 4)] = "MIN"));
424
+ let d = [
425
+ "allowFullScreen",
426
+ "allowTransparency",
427
+ "autoComplete",
428
+ "autoFocus",
429
+ "autoPlay",
430
+ "cellPadding",
431
+ "cellSpacing",
432
+ "charSet",
433
+ "className",
434
+ "classId",
435
+ "colSpan",
436
+ "contentEditable",
437
+ "contextMenu",
438
+ "crossOrigin",
439
+ "encType",
440
+ "formAction",
441
+ "formEncType",
442
+ "formMethod",
443
+ "formNoValidate",
444
+ "formTarget",
445
+ "frameBorder",
446
+ "hrefLang",
447
+ "inputMode",
448
+ "keyParams",
449
+ "keyType",
450
+ "marginHeight",
451
+ "marginWidth",
452
+ "maxLength",
453
+ "mediaGroup",
454
+ "minLength",
455
+ "noValidate",
456
+ "radioGroup",
457
+ "readOnly",
458
+ "rowSpan",
459
+ "spellCheck",
460
+ "srcDoc",
461
+ "srcLang",
462
+ "srcSet",
463
+ "tabIndex",
464
+ "useMap",
465
+ ].reduce((e, t) => ((e[t.toLowerCase()] = t), e), { for: "htmlFor" }),
466
+ u = { amp: "&", apos: "'", gt: ">", lt: "<", nbsp: "\xa0", quot: "“" },
467
+ p = ["style", "script"],
468
+ f =
469
+ /([-A-Z0-9_:]+)(?:\s*=\s*(?:(?:"((?:\\.|[^"])*)")|(?:'((?:\\.|[^'])*)')|(?:\{((?:\\.|{[^}]*?}|[^}])*)\})))?/gi,
470
+ m = /mailto:/i,
471
+ h = /\n{2,}$/,
472
+ g = /^(\s*>[\s\S]*?)(?=\n{2,})/,
473
+ y = /^ *> ?/gm,
474
+ x = /^ {2,}\n/,
475
+ k = /^(?:( *[-*_])){3,} *(?:\n *)+\n/,
476
+ b =
477
+ /^\s*(`{3,}|~{3,}) *(\S+)?([^\n]*?)?\n([\s\S]+?)\s*\1 *(?:\n *)*\n?/,
478
+ v = /^(?: {4}[^\n]+\n*)+(?:\n *)+\n?/,
479
+ j = /^(`+)\s*([\s\S]*?[^`])\s*\1(?!`)/,
480
+ w = /^(?:\n *)*\n/,
481
+ N = /\r\n?/g,
482
+ $ = /^\[\^([^\]]+)](:(.*)((\n+ {4,}.*)|(\n(?!\[\^).+))*)/,
483
+ C = /^\[\^([^\]]+)]/,
484
+ S = /\f/g,
485
+ E = /^---[ \t]*\n(.|\n)*\n---[ \t]*\n/,
486
+ G = /^\s*?\[(x|\s)\]/,
487
+ A = /^ *(#{1,6}) *([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,
488
+ R = /^ *(#{1,6}) +([^\n]+?)(?: +#*)?(?:\n *)*(?:\n|$)/,
489
+ L = /^([^\n]+)\n *(=|-){3,} *(?:\n *)+\n/,
490
+ O =
491
+ /^ *(?!<[a-z][^ >/]* ?\/>)<([a-z][^ >/]*) ?((?:[^>]*[^/])?)>\n?(\s*(?:<\1[^>]*?>[\s\S]*?<\/\1>|(?!<\1\b)[\s\S])*?)<\/\1>(?!<\/\1>)\n*/i,
492
+ T = /&([a-z0-9]+|#[0-9]{1,6}|#x[0-9a-fA-F]{1,6});/gi,
493
+ z = /^<!--[\s\S]*?(?:-->)/,
494
+ M = /^(data|aria|x)-[a-z_][a-z\d_.-]*$/,
495
+ W =
496
+ /^ *<([a-z][a-z0-9:]*)(?:\s+((?:<.*?>|[^>])*))?\/?>(?!<\/\1>)(\s*\n)?/i,
497
+ I = /^\{.*\}$/,
498
+ Z = /^(https?:\/\/[^\s<]+[^<.,:;"')\]\s])/,
499
+ _ = /^<([^ >]+@[^ >]+)>/,
500
+ B = /^<([^ >]+:\/[^ >]+)>/,
501
+ U = /-([a-z])?/gi,
502
+ P = /^(.*\|.*)\n(?: *(\|? *[-:]+ *\|[-| :]*)\n((?:.*\|.*\n)*))?\n?/,
503
+ H = /^\[([^\]]*)\]:\s+<?([^\s>]+)>?\s*("([^"]*)")?/,
504
+ D = /^!\[([^\]]*)\] ?\[([^\]]*)\]/,
505
+ F = /^\[([^\]]*)\] ?\[([^\]]*)\]/,
506
+ q = /(\[|\])/g,
507
+ V = /(\n|^[-*]\s|^#|^ {2,}|^-{2,}|^>\s)/,
508
+ X = /\t/g,
509
+ Q = /(^ *\||\| *$)/g,
510
+ J = /^ *:-+: *$/,
511
+ K = /^ *:-+ *$/,
512
+ Y = /^ *-+: *$/,
513
+ ee =
514
+ "((?:\\[.*?\\][([].*?[)\\]]|<.*?>(?:.*?<.*?>)?|`.*?`|~~.*?~~|==.*?==|.|\\n)*?)",
515
+ et = RegExp(`^([*_])\\1${ee}\\1\\1(?!\\1)`),
516
+ en = RegExp(`^([*_])${ee}\\1(?!\\1|\\w)`),
517
+ er = RegExp(`^==${ee}==`),
518
+ el = RegExp(`^~~${ee}~~`),
519
+ ei = /^\\([^0-9A-Za-z\s])/,
520
+ ea =
521
+ /^[\s\S]+?(?=[^0-9A-Z\s\u00c0-\uffff&#;.()'"]|\d+\.|\n\n| {2,}\n|\w+:\S|$)/i,
522
+ ec = /^\n+/,
523
+ eo = /^([ \t]*)/,
524
+ es = /\\([^\\])/g,
525
+ ed = / *\n+$/,
526
+ eu = /(?:^|\n)( *)$/,
527
+ ep = "(?:\\d+\\.)",
528
+ ef = "(?:[*+-])";
529
+ function em(e) {
530
+ return "( *)(" + (1 === e ? ep : ef) + ") +";
531
+ }
532
+ let eh = em(1),
533
+ eg = em(2);
534
+ function ey(e) {
535
+ return RegExp("^" + (1 === e ? eh : eg));
536
+ }
537
+ let ex = ey(1),
538
+ ek = ey(2);
539
+ function eb(e) {
540
+ return RegExp(
541
+ "^" +
542
+ (1 === e ? eh : eg) +
543
+ "[^\\n]*(?:\\n(?!\\1" +
544
+ (1 === e ? ep : ef) +
545
+ " )[^\\n]*)*(\\n|$)",
546
+ "gm",
547
+ );
548
+ }
549
+ let ev = eb(1),
550
+ ej = eb(2);
551
+ function ew(e) {
552
+ let t = 1 === e ? ep : ef;
553
+ return RegExp(
554
+ "^( *)(" +
555
+ t +
556
+ ") [\\s\\S]+?(?:\\n{2,}(?! )(?!\\1" +
557
+ t +
558
+ " (?!" +
559
+ t +
560
+ " ))\\n*|\\s*\\n*$)",
561
+ );
562
+ }
563
+ let eN = ew(1),
564
+ e$ = ew(2);
565
+ function eC(e, t) {
566
+ let n = 1 === t,
567
+ r = n ? eN : e$,
568
+ l = n ? ev : ej,
569
+ i = n ? ex : ek;
570
+ return {
571
+ match(e, t, n) {
572
+ let l = eu.exec(n);
573
+ return l && (t.list || (!t.inline && !t.simple))
574
+ ? r.exec((e = l[1] + e))
575
+ : null;
576
+ },
577
+ order: 1,
578
+ parse(e, t, r) {
579
+ let a = n ? +e[2] : void 0,
580
+ c = e[0].replace(h, "\n").match(l),
581
+ o = !1;
582
+ return {
583
+ items: c.map(function (e, n) {
584
+ let l;
585
+ let a = RegExp("^ {1," + i.exec(e)[0].length + "}", "gm"),
586
+ s = e.replace(a, "").replace(i, ""),
587
+ d = n === c.length - 1,
588
+ u = -1 !== s.indexOf("\n\n") || (d && o);
589
+ o = u;
590
+ let p = r.inline,
591
+ f = r.list;
592
+ ((r.list = !0),
593
+ u
594
+ ? ((r.inline = !1), (l = s.replace(ed, "\n\n")))
595
+ : ((r.inline = !0), (l = s.replace(ed, ""))));
596
+ let m = t(l, r);
597
+ return ((r.inline = p), (r.list = f), m);
598
+ }),
599
+ ordered: n,
600
+ start: a,
601
+ };
602
+ },
603
+ render: (t, n, r) =>
604
+ e(
605
+ t.ordered ? "ol" : "ul",
606
+ { key: r.key, start: "20" === t.type ? t.start : void 0 },
607
+ t.items.map(function (t, l) {
608
+ return e("li", { key: l }, n(t, r));
609
+ }),
610
+ ),
611
+ };
612
+ }
613
+ let eS = RegExp(
614
+ "^\\[((?:\\[[^\\]]*\\]|[^\\[\\]]|\\](?=[^\\[]*\\]))*)\\]\\(\\s*<?((?:\\([^)]*\\)|[^\\s\\\\]|\\\\.)*?)>?(?:\\s+['\"]([\\s\\S]*?)['\"])?\\s*\\)",
615
+ ),
616
+ eE = /^!\[(.*?)\]\( *((?:\([^)]*\)|[^() ])*) *"?([^)"]*)?"?\)/,
617
+ eG = [g, b, v, A, L, R, z, P, ev, eN, ej, e$],
618
+ eA = [...eG, /^[^\n]+(?: \n|\n{2,})/, O, W];
619
+ function eR(e) {
620
+ return e
621
+ .replace(/[ÀÁÂÃÄÅàáâãä忯]/g, "a")
622
+ .replace(/[çÇ]/g, "c")
623
+ .replace(/[ðÐ]/g, "d")
624
+ .replace(/[ÈÉÊËéèêë]/g, "e")
625
+ .replace(/[ÏïÎîÍíÌì]/g, "i")
626
+ .replace(/[Ññ]/g, "n")
627
+ .replace(/[øØœŒÕõÔôÓóÒò]/g, "o")
628
+ .replace(/[ÜüÛûÚúÙù]/g, "u")
629
+ .replace(/[ŸÿÝý]/g, "y")
630
+ .replace(/[^a-z0-9- ]/gi, "")
631
+ .replace(/ /gi, "-")
632
+ .toLowerCase();
633
+ }
634
+ function eL(e) {
635
+ return Y.test(e)
636
+ ? "right"
637
+ : J.test(e)
638
+ ? "center"
639
+ : K.test(e)
640
+ ? "left"
641
+ : null;
642
+ }
643
+ function eO(e, t, n, r) {
644
+ let l = n.inTable;
645
+ n.inTable = !0;
646
+ let i = e
647
+ .trim()
648
+ .split(/( *(?:`[^`]*`|<.*?>.*?<\/.*?>(?!<\/.*?>)|\\\||\|) *)/)
649
+ .reduce(
650
+ (e, l) => (
651
+ "|" === l.trim()
652
+ ? e.push(r ? { type: "26" } : { type: "27", text: l })
653
+ : "" !== l && e.push.apply(e, t(l, n)),
654
+ e
655
+ ),
656
+ [],
657
+ );
658
+ n.inTable = l;
659
+ let a = [[]];
660
+ return (
661
+ i.forEach(function (e, t) {
662
+ "26" === e.type
663
+ ? 0 !== t && t !== i.length - 1 && a.push([])
664
+ : ("27" !== e.type ||
665
+ (null != i[t + 1] && "26" !== i[t + 1].type) ||
666
+ (e.text = e.text.trimEnd()),
667
+ a[a.length - 1].push(e));
668
+ }),
669
+ a
670
+ );
671
+ }
672
+ function eT(e, t, n) {
673
+ n.inline = !0;
674
+ let r = e[2] ? e[2].replace(Q, "").split("|").map(eL) : [],
675
+ l = e[3]
676
+ ? e[3]
677
+ .trim()
678
+ .split("\n")
679
+ .map(function (e) {
680
+ return eO(e, t, n, !0);
681
+ })
682
+ : [],
683
+ i = eO(e[1], t, n, !!l.length);
684
+ return (
685
+ (n.inline = !1),
686
+ l.length
687
+ ? { align: r, cells: l, header: i, type: "25" }
688
+ : { children: i, type: "21" }
689
+ );
690
+ }
691
+ function ez(e, t) {
692
+ return null == e.align[t] ? {} : { textAlign: e.align[t] };
693
+ }
694
+ function eM(e) {
695
+ return function (t, n) {
696
+ return n.inline ? e.exec(t) : null;
697
+ };
698
+ }
699
+ function eW(e) {
700
+ return function (t, n) {
701
+ return n.inline || n.simple ? e.exec(t) : null;
702
+ };
703
+ }
704
+ function eI(e) {
705
+ return function (t, n) {
706
+ return n.inline || n.simple ? null : e.exec(t);
707
+ };
708
+ }
709
+ function eZ(e) {
710
+ return function (t) {
711
+ return e.exec(t);
712
+ };
713
+ }
714
+ function e_(e, t, n) {
715
+ if (t.inline || t.simple || (n && !n.endsWith("\n"))) return null;
716
+ let r = "";
717
+ e.split("\n").every(
718
+ (e) => !eG.some((t) => t.test(e)) && ((r += e + "\n"), e.trim()),
719
+ );
720
+ let l = r.trimEnd();
721
+ return "" == l ? null : [r, l];
722
+ }
723
+ function eB(e) {
724
+ try {
725
+ if (
726
+ decodeURIComponent(e)
727
+ .replace(/[^A-Za-z0-9/:]/g, "")
728
+ .match(/^\s*(javascript|vbscript|data(?!:image)):/i)
729
+ )
730
+ return;
731
+ } catch (e) {
732
+ return null;
733
+ }
734
+ return e;
735
+ }
736
+ function eU(e) {
737
+ return e.replace(es, "$1");
738
+ }
739
+ function eP(e, t, n) {
740
+ let r = n.inline || !1,
741
+ l = n.simple || !1;
742
+ ((n.inline = !0), (n.simple = !0));
743
+ let i = e(t, n);
744
+ return ((n.inline = r), (n.simple = l), i);
745
+ }
746
+ function eH(e, t, n) {
747
+ let r = n.inline || !1;
748
+ n.inline = !1;
749
+ let l = e(t, n);
750
+ return ((n.inline = r), l);
751
+ }
752
+ let eD = (e, t, n) => ({ children: eP(t, e[1], n) });
753
+ function eF() {
754
+ return {};
755
+ }
756
+ function eq() {
757
+ return null;
758
+ }
759
+ function eV(e, t, n) {
760
+ let r = e,
761
+ l = t.split(".");
762
+ for (; l.length && void 0 !== (r = r[l[0]]); ) l.shift();
763
+ return r || n;
764
+ }
765
+ t.ZP = (e) => {
766
+ let { children: t = "", options: n } = e,
767
+ r = (function (e, t) {
768
+ if (null == e) return {};
769
+ var n,
770
+ r,
771
+ l = {},
772
+ i = Object.keys(e);
773
+ for (r = 0; r < i.length; r++)
774
+ t.indexOf((n = i[r])) >= 0 || (l[n] = e[n]);
775
+ return l;
776
+ })(e, s);
777
+ return c.cloneElement(
778
+ (function (e = "", t = {}) {
779
+ var n, r;
780
+ let l;
781
+ ((t.overrides = t.overrides || {}),
782
+ (t.slugify = t.slugify || eR),
783
+ (t.namedCodesToUnicode = t.namedCodesToUnicode
784
+ ? o({}, u, t.namedCodesToUnicode)
785
+ : u));
786
+ let i = t.createElement || c.createElement;
787
+ function a(e, n, ...r) {
788
+ let l = eV(t.overrides, `${e}.props`, {});
789
+ return i(
790
+ (function (e, t) {
791
+ let n = eV(t, e);
792
+ return n
793
+ ? "function" == typeof n ||
794
+ ("object" == typeof n && "render" in n)
795
+ ? n
796
+ : eV(t, `${e}.component`, e)
797
+ : e;
798
+ })(e, t.overrides),
799
+ o({}, n, l, {
800
+ className:
801
+ (function (...e) {
802
+ return e.filter(Boolean).join(" ");
803
+ })(null == n ? void 0 : n.className, l.className) || void 0,
804
+ }),
805
+ ...r,
806
+ );
807
+ }
808
+ function s(e) {
809
+ let n;
810
+ e = e.replace(E, "");
811
+ let r = !1;
812
+ t.forceInline ? (r = !0) : t.forceBlock || (r = !1 === V.test(e));
813
+ let l = ee(
814
+ Y(
815
+ r
816
+ ? e
817
+ : `${e.trimEnd().replace(ec, "")}
818
+
819
+ `,
820
+ { inline: r },
821
+ ),
822
+ );
823
+ for (
824
+ ;
825
+ "string" == typeof l[l.length - 1] && !l[l.length - 1].trim();
826
+
827
+ )
828
+ l.pop();
829
+ if (null === t.wrapper) return l;
830
+ let i = t.wrapper || (r ? "span" : "div");
831
+ if (l.length > 1 || t.forceWrapper) n = l;
832
+ else {
833
+ if (1 === l.length)
834
+ return "string" == typeof (n = l[0])
835
+ ? a("span", { key: "outer" }, n)
836
+ : n;
837
+ n = null;
838
+ }
839
+ return c.createElement(i, { key: "outer" }, n);
840
+ }
841
+ function h(e) {
842
+ let t = e.match(f);
843
+ return t
844
+ ? t.reduce(function (e, t, n) {
845
+ let r = t.indexOf("=");
846
+ if (-1 !== r) {
847
+ var l, i;
848
+ let a = (-1 !== (l = t.slice(0, r)).indexOf("-") &&
849
+ null === l.match(M) &&
850
+ (l = l.replace(U, function (e, t) {
851
+ return t.toUpperCase();
852
+ })),
853
+ l).trim(),
854
+ o = (function (e) {
855
+ let t = e[0];
856
+ return ('"' === t || "'" === t) &&
857
+ e.length >= 2 &&
858
+ e[e.length - 1] === t
859
+ ? e.slice(1, -1)
860
+ : e;
861
+ })(t.slice(r + 1).trim()),
862
+ u = d[a] || a,
863
+ p = (e[u] =
864
+ ((i = o),
865
+ "style" === a
866
+ ? i.split(/;\s?/).reduce(function (e, t) {
867
+ let n = t.slice(0, t.indexOf(":"));
868
+ return (
869
+ (e[
870
+ n
871
+ .trim()
872
+ .replace(/(-[a-z])/g, (e) =>
873
+ e[1].toUpperCase(),
874
+ )
875
+ ] = t.slice(n.length + 1).trim()),
876
+ e
877
+ );
878
+ }, {})
879
+ : "href" === a || "src" === a
880
+ ? eB(i)
881
+ : (i.match(I) && (i = i.slice(1, i.length - 1)),
882
+ "true" === i || ("false" !== i && i))));
883
+ "string" == typeof p &&
884
+ (O.test(p) || W.test(p)) &&
885
+ (e[u] = c.cloneElement(s(p.trim()), { key: n }));
886
+ } else "style" !== t && (e[d[t] || t] = !0);
887
+ return e;
888
+ }, {})
889
+ : null;
890
+ }
891
+ let Q = [],
892
+ J = {},
893
+ K = {
894
+ 0: {
895
+ match: eI(g),
896
+ order: 1,
897
+ parse: (e, t, n) => ({ children: t(e[0].replace(y, ""), n) }),
898
+ render: (e, t, n) =>
899
+ a("blockquote", { key: n.key }, t(e.children, n)),
900
+ },
901
+ 1: {
902
+ match: eZ(x),
903
+ order: 1,
904
+ parse: eF,
905
+ render: (e, t, n) => a("br", { key: n.key }),
906
+ },
907
+ 2: {
908
+ match: eI(k),
909
+ order: 1,
910
+ parse: eF,
911
+ render: (e, t, n) => a("hr", { key: n.key }),
912
+ },
913
+ 3: {
914
+ match: eI(v),
915
+ order: 0,
916
+ parse: (e) => ({
917
+ lang: void 0,
918
+ text: e[0].replace(/^ {4}/gm, "").replace(/\n+$/, ""),
919
+ }),
920
+ render: (e, t, n) =>
921
+ a(
922
+ "pre",
923
+ { key: n.key },
924
+ a(
925
+ "code",
926
+ o({}, e.attrs, {
927
+ className: e.lang ? `lang-${e.lang}` : "",
928
+ }),
929
+ e.text,
930
+ ),
931
+ ),
932
+ },
933
+ 4: {
934
+ match: eI(b),
935
+ order: 0,
936
+ parse: (e) => ({
937
+ attrs: h(e[3] || ""),
938
+ lang: e[2] || void 0,
939
+ text: e[4],
940
+ type: "3",
941
+ }),
942
+ },
943
+ 5: {
944
+ match: eW(j),
945
+ order: 3,
946
+ parse: (e) => ({ text: e[2] }),
947
+ render: (e, t, n) => a("code", { key: n.key }, e.text),
948
+ },
949
+ 6: {
950
+ match: eI($),
951
+ order: 0,
952
+ parse: (e) => (
953
+ Q.push({ footnote: e[2], identifier: e[1] }),
954
+ {}
955
+ ),
956
+ render: eq,
957
+ },
958
+ 7: {
959
+ match: eM(C),
960
+ order: 1,
961
+ parse: (e) => ({ target: `#${t.slugify(e[1])}`, text: e[1] }),
962
+ render: (e, t, n) =>
963
+ a(
964
+ "a",
965
+ { key: n.key, href: eB(e.target) },
966
+ a("sup", { key: n.key }, e.text),
967
+ ),
968
+ },
969
+ 8: {
970
+ match: eM(G),
971
+ order: 1,
972
+ parse: (e) => ({ completed: "x" === e[1].toLowerCase() }),
973
+ render: (e, t, n) =>
974
+ a("input", {
975
+ checked: e.completed,
976
+ key: n.key,
977
+ readOnly: !0,
978
+ type: "checkbox",
979
+ }),
980
+ },
981
+ 9: {
982
+ match: eI(t.enforceAtxHeadings ? R : A),
983
+ order: 1,
984
+ parse: (e, n, r) => ({
985
+ children: eP(n, e[2], r),
986
+ id: t.slugify(e[2]),
987
+ level: e[1].length,
988
+ }),
989
+ render: (e, t, n) =>
990
+ a(
991
+ `h${e.level}`,
992
+ { id: e.id, key: n.key },
993
+ t(e.children, n),
994
+ ),
995
+ },
996
+ 10: {
997
+ match: eI(L),
998
+ order: 0,
999
+ parse: (e, t, n) => ({
1000
+ children: eP(t, e[1], n),
1001
+ level: "=" === e[2] ? 1 : 2,
1002
+ type: "9",
1003
+ }),
1004
+ },
1005
+ 11: {
1006
+ match: eZ(O),
1007
+ order: 1,
1008
+ parse(e, t, n) {
1009
+ let [, r] = e[3].match(eo),
1010
+ l = RegExp(`^${r}`, "gm"),
1011
+ i = e[3].replace(l, ""),
1012
+ a = eA.some((e) => e.test(i)) ? eH : eP,
1013
+ c = e[1].toLowerCase(),
1014
+ o = -1 !== p.indexOf(c),
1015
+ s = {
1016
+ attrs: h(e[2]),
1017
+ noInnerParse: o,
1018
+ tag: (o ? c : e[1]).trim(),
1019
+ };
1020
+ return (
1021
+ (n.inAnchor = n.inAnchor || "a" === c),
1022
+ o ? (s.text = e[3]) : (s.children = a(t, i, n)),
1023
+ (n.inAnchor = !1),
1024
+ s
1025
+ );
1026
+ },
1027
+ render: (e, t, n) =>
1028
+ a(
1029
+ e.tag,
1030
+ o({ key: n.key }, e.attrs),
1031
+ e.text || t(e.children, n),
1032
+ ),
1033
+ },
1034
+ 13: {
1035
+ match: eZ(W),
1036
+ order: 1,
1037
+ parse: (e) => ({ attrs: h(e[2] || ""), tag: e[1].trim() }),
1038
+ render: (e, t, n) => a(e.tag, o({}, e.attrs, { key: n.key })),
1039
+ },
1040
+ 12: { match: eZ(z), order: 1, parse: () => ({}), render: eq },
1041
+ 14: {
1042
+ match: eW(eE),
1043
+ order: 1,
1044
+ parse: (e) => ({ alt: e[1], target: eU(e[2]), title: e[3] }),
1045
+ render: (e, t, n) =>
1046
+ a("img", {
1047
+ key: n.key,
1048
+ alt: e.alt || void 0,
1049
+ title: e.title || void 0,
1050
+ src: eB(e.target),
1051
+ }),
1052
+ },
1053
+ 15: {
1054
+ match: eM(eS),
1055
+ order: 3,
1056
+ parse: (e, t, n) => ({
1057
+ children: (function (e, t, n) {
1058
+ let r = n.inline || !1,
1059
+ l = n.simple || !1;
1060
+ ((n.inline = !1), (n.simple = !0));
1061
+ let i = e(t, n);
1062
+ return ((n.inline = r), (n.simple = l), i);
1063
+ })(t, e[1], n),
1064
+ target: eU(e[2]),
1065
+ title: e[3],
1066
+ }),
1067
+ render: (e, t, n) =>
1068
+ a(
1069
+ "a",
1070
+ { key: n.key, href: eB(e.target), title: e.title },
1071
+ t(e.children, n),
1072
+ ),
1073
+ },
1074
+ 16: {
1075
+ match: eM(B),
1076
+ order: 0,
1077
+ parse: (e) => ({
1078
+ children: [{ text: e[1], type: "27" }],
1079
+ target: e[1],
1080
+ type: "15",
1081
+ }),
1082
+ },
1083
+ 17: {
1084
+ match: (e, t) => (t.inAnchor ? null : eM(Z)(e, t)),
1085
+ order: 0,
1086
+ parse: (e) => ({
1087
+ children: [{ text: e[1], type: "27" }],
1088
+ target: e[1],
1089
+ title: void 0,
1090
+ type: "15",
1091
+ }),
1092
+ },
1093
+ 18: {
1094
+ match: eM(_),
1095
+ order: 0,
1096
+ parse(e) {
1097
+ let t = e[1],
1098
+ n = e[1];
1099
+ return (
1100
+ m.test(n) || (n = "mailto:" + n),
1101
+ {
1102
+ children: [
1103
+ { text: t.replace("mailto:", ""), type: "27" },
1104
+ ],
1105
+ target: n,
1106
+ type: "15",
1107
+ }
1108
+ );
1109
+ },
1110
+ },
1111
+ 20: eC(a, 1),
1112
+ 33: eC(a, 2),
1113
+ 19: { match: eI(w), order: 3, parse: eF, render: () => "\n" },
1114
+ 21: {
1115
+ match: e_,
1116
+ order: 3,
1117
+ parse: eD,
1118
+ render: (e, t, n) => a("p", { key: n.key }, t(e.children, n)),
1119
+ },
1120
+ 22: {
1121
+ match: eM(H),
1122
+ order: 0,
1123
+ parse: (e) => ((J[e[1]] = { target: e[2], title: e[4] }), {}),
1124
+ render: eq,
1125
+ },
1126
+ 23: {
1127
+ match: eW(D),
1128
+ order: 0,
1129
+ parse: (e) => ({ alt: e[1] || void 0, ref: e[2] }),
1130
+ render: (e, t, n) =>
1131
+ J[e.ref]
1132
+ ? a("img", {
1133
+ key: n.key,
1134
+ alt: e.alt,
1135
+ src: eB(J[e.ref].target),
1136
+ title: J[e.ref].title,
1137
+ })
1138
+ : null,
1139
+ },
1140
+ 24: {
1141
+ match: eM(F),
1142
+ order: 0,
1143
+ parse: (e, t, n) => ({
1144
+ children: t(e[1], n),
1145
+ fallbackChildren: t(e[0].replace(q, "\\$1"), n),
1146
+ ref: e[2],
1147
+ }),
1148
+ render: (e, t, n) =>
1149
+ J[e.ref]
1150
+ ? a(
1151
+ "a",
1152
+ {
1153
+ key: n.key,
1154
+ href: eB(J[e.ref].target),
1155
+ title: J[e.ref].title,
1156
+ },
1157
+ t(e.children, n),
1158
+ )
1159
+ : a("span", { key: n.key }, t(e.fallbackChildren, n)),
1160
+ },
1161
+ 25: {
1162
+ match: eI(P),
1163
+ order: 1,
1164
+ parse: eT,
1165
+ render: (e, t, n) =>
1166
+ a(
1167
+ "table",
1168
+ { key: n.key },
1169
+ a(
1170
+ "thead",
1171
+ null,
1172
+ a(
1173
+ "tr",
1174
+ null,
1175
+ e.header.map(function (r, l) {
1176
+ return a(
1177
+ "th",
1178
+ { key: l, style: ez(e, l) },
1179
+ t(r, n),
1180
+ );
1181
+ }),
1182
+ ),
1183
+ ),
1184
+ a(
1185
+ "tbody",
1186
+ null,
1187
+ e.cells.map(function (r, l) {
1188
+ return a(
1189
+ "tr",
1190
+ { key: l },
1191
+ r.map(function (r, l) {
1192
+ return a(
1193
+ "td",
1194
+ { key: l, style: ez(e, l) },
1195
+ t(r, n),
1196
+ );
1197
+ }),
1198
+ );
1199
+ }),
1200
+ ),
1201
+ ),
1202
+ },
1203
+ 27: {
1204
+ match: eZ(ea),
1205
+ order: 4,
1206
+ parse: (e) => ({
1207
+ text: e[0].replace(T, (e, n) =>
1208
+ t.namedCodesToUnicode[n] ? t.namedCodesToUnicode[n] : e,
1209
+ ),
1210
+ }),
1211
+ render: (e) => e.text,
1212
+ },
1213
+ 28: {
1214
+ match: eW(et),
1215
+ order: 2,
1216
+ parse: (e, t, n) => ({ children: t(e[2], n) }),
1217
+ render: (e, t, n) =>
1218
+ a("strong", { key: n.key }, t(e.children, n)),
1219
+ },
1220
+ 29: {
1221
+ match: eW(en),
1222
+ order: 3,
1223
+ parse: (e, t, n) => ({ children: t(e[2], n) }),
1224
+ render: (e, t, n) =>
1225
+ a("em", { key: n.key }, t(e.children, n)),
1226
+ },
1227
+ 30: {
1228
+ match: eW(ei),
1229
+ order: 1,
1230
+ parse: (e) => ({ text: e[1], type: "27" }),
1231
+ },
1232
+ 31: {
1233
+ match: eW(er),
1234
+ order: 3,
1235
+ parse: eD,
1236
+ render: (e, t, n) =>
1237
+ a("mark", { key: n.key }, t(e.children, n)),
1238
+ },
1239
+ 32: {
1240
+ match: eW(el),
1241
+ order: 3,
1242
+ parse: eD,
1243
+ render: (e, t, n) =>
1244
+ a("del", { key: n.key }, t(e.children, n)),
1245
+ },
1246
+ };
1247
+ !0 === t.disableParsingRawHTML && (delete K[11], delete K[13]);
1248
+ let Y =
1249
+ ((l = Object.keys(K)).sort(function (e, t) {
1250
+ let n = K[e].order,
1251
+ r = K[t].order;
1252
+ return n !== r ? n - r : e < t ? -1 : 1;
1253
+ }),
1254
+ function (e, t) {
1255
+ return (function e(t, n) {
1256
+ let r = [],
1257
+ i = "";
1258
+ for (; t; ) {
1259
+ let a = 0;
1260
+ for (; a < l.length; ) {
1261
+ let c = l[a],
1262
+ o = K[c],
1263
+ s = o.match(t, n, i);
1264
+ if (s) {
1265
+ let l = s[0];
1266
+ t = t.substring(l.length);
1267
+ let a = o.parse(s, e, n);
1268
+ (null == a.type && (a.type = c), r.push(a), (i = l));
1269
+ break;
1270
+ }
1271
+ a++;
1272
+ }
1273
+ }
1274
+ return r;
1275
+ })(e.replace(N, "\n").replace(S, "").replace(X, " "), t);
1276
+ }),
1277
+ ee =
1278
+ ((r = t.renderRule),
1279
+ (n = function (e, t, n) {
1280
+ let l = K[e.type].render;
1281
+ return r ? r(() => l(e, t, n), e, t, n) : l(e, t, n);
1282
+ }),
1283
+ function e(t, r = {}) {
1284
+ if (Array.isArray(t)) {
1285
+ let n = r.key,
1286
+ l = [],
1287
+ i = !1;
1288
+ for (let n = 0; n < t.length; n++) {
1289
+ r.key = n;
1290
+ let a = e(t[n], r),
1291
+ c = "string" == typeof a;
1292
+ (c && i
1293
+ ? (l[l.length - 1] += a)
1294
+ : null !== a && l.push(a),
1295
+ (i = c));
1296
+ }
1297
+ return ((r.key = n), l);
1298
+ }
1299
+ return n(t, e, r);
1300
+ }),
1301
+ es = s(e);
1302
+ return Q.length
1303
+ ? a(
1304
+ "div",
1305
+ null,
1306
+ es,
1307
+ a(
1308
+ "footer",
1309
+ { key: "footer" },
1310
+ Q.map(function (e) {
1311
+ return a(
1312
+ "div",
1313
+ { id: t.slugify(e.identifier), key: e.identifier },
1314
+ e.identifier,
1315
+ ee(Y(e.footnote, { inline: !0 })),
1316
+ );
1317
+ }),
1318
+ ),
1319
+ )
1320
+ : es;
1321
+ })(t, n),
1322
+ r,
1323
+ );
1324
+ };
1325
+ },
1326
+ },
1327
+ ]);