@sakura-ui/markdown 0.0.11-beta.0 → 0.0.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs.js +46 -46
- package/dist/index.es.js +639 -634
- package/dist/types/components/Markdown.d.ts +2 -1
- package/dist/types/components/Markdown.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -36,14 +36,14 @@ function yc() {
|
|
|
36
36
|
va = 1;
|
|
37
37
|
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
38
38
|
function a(l, c, f) {
|
|
39
|
-
var d,
|
|
39
|
+
var d, m = {}, T = null, E = null;
|
|
40
40
|
f !== void 0 && (T = "" + f), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
41
41
|
for (d in c)
|
|
42
|
-
r.call(c, d) && !i.hasOwnProperty(d) && (
|
|
42
|
+
r.call(c, d) && !i.hasOwnProperty(d) && (m[d] = c[d]);
|
|
43
43
|
if (l && l.defaultProps)
|
|
44
44
|
for (d in c = l.defaultProps, c)
|
|
45
|
-
|
|
46
|
-
return { $$typeof: t, type: l, key: T, ref: E, props:
|
|
45
|
+
m[d] === void 0 && (m[d] = c[d]);
|
|
46
|
+
return { $$typeof: t, type: l, key: T, ref: E, props: m, _owner: u.current };
|
|
47
47
|
}
|
|
48
48
|
return vr.Fragment = n, vr.jsx = a, vr.jsxs = a, vr;
|
|
49
49
|
}
|
|
@@ -60,58 +60,58 @@ var wr = {};
|
|
|
60
60
|
var wa;
|
|
61
61
|
function Cc() {
|
|
62
62
|
return wa || (wa = 1, process.env.NODE_ENV !== "production" && function() {
|
|
63
|
-
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"),
|
|
64
|
-
function L(
|
|
65
|
-
if (
|
|
63
|
+
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), D = Symbol.iterator, F = "@@iterator";
|
|
64
|
+
function L(p) {
|
|
65
|
+
if (p === null || typeof p != "object")
|
|
66
66
|
return null;
|
|
67
|
-
var k = D &&
|
|
67
|
+
var k = D && p[D] || p[F];
|
|
68
68
|
return typeof k == "function" ? k : null;
|
|
69
69
|
}
|
|
70
70
|
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
71
|
-
function M(
|
|
71
|
+
function M(p) {
|
|
72
72
|
{
|
|
73
73
|
for (var k = arguments.length, R = new Array(k > 1 ? k - 1 : 0), G = 1; G < k; G++)
|
|
74
74
|
R[G - 1] = arguments[G];
|
|
75
|
-
V("error",
|
|
75
|
+
V("error", p, R);
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
function V(
|
|
78
|
+
function V(p, k, R) {
|
|
79
79
|
{
|
|
80
80
|
var G = w.ReactDebugCurrentFrame, de = G.getStackAddendum();
|
|
81
81
|
de !== "" && (k += "%s", R = R.concat([de]));
|
|
82
82
|
var Ee = R.map(function(ie) {
|
|
83
83
|
return String(ie);
|
|
84
84
|
});
|
|
85
|
-
Ee.unshift("Warning: " + k), Function.prototype.apply.call(console[
|
|
85
|
+
Ee.unshift("Warning: " + k), Function.prototype.apply.call(console[p], console, Ee);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
var ne = !1, K = !1, B = !1, U = !1, he = !1, ge;
|
|
89
89
|
ge = Symbol.for("react.module.reference");
|
|
90
|
-
function P(
|
|
91
|
-
return !!(typeof
|
|
90
|
+
function P(p) {
|
|
91
|
+
return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || he || p === u || p === f || p === d || U || p === E || ne || K || B || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === m || p.$$typeof === a || p.$$typeof === l || p.$$typeof === c || // This needs to include all possible module reference object
|
|
92
92
|
// types supported by any Flight configuration anywhere since
|
|
93
93
|
// we don't know which Flight build this will end up being used
|
|
94
94
|
// with.
|
|
95
|
-
|
|
95
|
+
p.$$typeof === ge || p.getModuleId !== void 0));
|
|
96
96
|
}
|
|
97
|
-
function te(
|
|
98
|
-
var G =
|
|
97
|
+
function te(p, k, R) {
|
|
98
|
+
var G = p.displayName;
|
|
99
99
|
if (G)
|
|
100
100
|
return G;
|
|
101
101
|
var de = k.displayName || k.name || "";
|
|
102
102
|
return de !== "" ? R + "(" + de + ")" : R;
|
|
103
103
|
}
|
|
104
|
-
function q(
|
|
105
|
-
return
|
|
104
|
+
function q(p) {
|
|
105
|
+
return p.displayName || "Context";
|
|
106
106
|
}
|
|
107
|
-
function ae(
|
|
108
|
-
if (
|
|
107
|
+
function ae(p) {
|
|
108
|
+
if (p == null)
|
|
109
109
|
return null;
|
|
110
|
-
if (typeof
|
|
111
|
-
return
|
|
112
|
-
if (typeof
|
|
113
|
-
return
|
|
114
|
-
switch (
|
|
110
|
+
if (typeof p.tag == "number" && M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof p == "function")
|
|
111
|
+
return p.displayName || p.name || null;
|
|
112
|
+
if (typeof p == "string")
|
|
113
|
+
return p;
|
|
114
|
+
switch (p) {
|
|
115
115
|
case r:
|
|
116
116
|
return "Fragment";
|
|
117
117
|
case n:
|
|
@@ -125,21 +125,21 @@ function Cc() {
|
|
|
125
125
|
case d:
|
|
126
126
|
return "SuspenseList";
|
|
127
127
|
}
|
|
128
|
-
if (typeof
|
|
129
|
-
switch (
|
|
128
|
+
if (typeof p == "object")
|
|
129
|
+
switch (p.$$typeof) {
|
|
130
130
|
case l:
|
|
131
|
-
var k =
|
|
131
|
+
var k = p;
|
|
132
132
|
return q(k) + ".Consumer";
|
|
133
133
|
case a:
|
|
134
|
-
var R =
|
|
134
|
+
var R = p;
|
|
135
135
|
return q(R._context) + ".Provider";
|
|
136
136
|
case c:
|
|
137
|
-
return te(
|
|
138
|
-
case
|
|
139
|
-
var G =
|
|
140
|
-
return G !== null ? G : ae(
|
|
137
|
+
return te(p, p.render, "ForwardRef");
|
|
138
|
+
case m:
|
|
139
|
+
var G = p.displayName || null;
|
|
140
|
+
return G !== null ? G : ae(p.type) || "Memo";
|
|
141
141
|
case T: {
|
|
142
|
-
var de =
|
|
142
|
+
var de = p, Ee = de._payload, ie = de._init;
|
|
143
143
|
try {
|
|
144
144
|
return ae(ie(Ee));
|
|
145
145
|
} catch {
|
|
@@ -157,20 +157,20 @@ function Cc() {
|
|
|
157
157
|
{
|
|
158
158
|
if (N === 0) {
|
|
159
159
|
De = console.log, Y = console.info, je = console.warn, We = console.error, S = console.group, b = console.groupCollapsed, I = console.groupEnd;
|
|
160
|
-
var
|
|
160
|
+
var p = {
|
|
161
161
|
configurable: !0,
|
|
162
162
|
enumerable: !0,
|
|
163
163
|
value: y,
|
|
164
164
|
writable: !0
|
|
165
165
|
};
|
|
166
166
|
Object.defineProperties(console, {
|
|
167
|
-
info:
|
|
168
|
-
log:
|
|
169
|
-
warn:
|
|
170
|
-
error:
|
|
171
|
-
group:
|
|
172
|
-
groupCollapsed:
|
|
173
|
-
groupEnd:
|
|
167
|
+
info: p,
|
|
168
|
+
log: p,
|
|
169
|
+
warn: p,
|
|
170
|
+
error: p,
|
|
171
|
+
group: p,
|
|
172
|
+
groupCollapsed: p,
|
|
173
|
+
groupEnd: p
|
|
174
174
|
});
|
|
175
175
|
}
|
|
176
176
|
N++;
|
|
@@ -179,31 +179,31 @@ function Cc() {
|
|
|
179
179
|
function ue() {
|
|
180
180
|
{
|
|
181
181
|
if (N--, N === 0) {
|
|
182
|
-
var
|
|
182
|
+
var p = {
|
|
183
183
|
configurable: !0,
|
|
184
184
|
enumerable: !0,
|
|
185
185
|
writable: !0
|
|
186
186
|
};
|
|
187
187
|
Object.defineProperties(console, {
|
|
188
|
-
log: le({},
|
|
188
|
+
log: le({}, p, {
|
|
189
189
|
value: De
|
|
190
190
|
}),
|
|
191
|
-
info: le({},
|
|
191
|
+
info: le({}, p, {
|
|
192
192
|
value: Y
|
|
193
193
|
}),
|
|
194
|
-
warn: le({},
|
|
194
|
+
warn: le({}, p, {
|
|
195
195
|
value: je
|
|
196
196
|
}),
|
|
197
|
-
error: le({},
|
|
197
|
+
error: le({}, p, {
|
|
198
198
|
value: We
|
|
199
199
|
}),
|
|
200
|
-
group: le({},
|
|
200
|
+
group: le({}, p, {
|
|
201
201
|
value: S
|
|
202
202
|
}),
|
|
203
|
-
groupCollapsed: le({},
|
|
203
|
+
groupCollapsed: le({}, p, {
|
|
204
204
|
value: b
|
|
205
205
|
}),
|
|
206
|
-
groupEnd: le({},
|
|
206
|
+
groupEnd: le({}, p, {
|
|
207
207
|
value: I
|
|
208
208
|
})
|
|
209
209
|
});
|
|
@@ -212,7 +212,7 @@ function Cc() {
|
|
|
212
212
|
}
|
|
213
213
|
}
|
|
214
214
|
var se = w.ReactCurrentDispatcher, pe;
|
|
215
|
-
function ce(
|
|
215
|
+
function ce(p, k, R) {
|
|
216
216
|
{
|
|
217
217
|
if (pe === void 0)
|
|
218
218
|
try {
|
|
@@ -222,7 +222,7 @@ function Cc() {
|
|
|
222
222
|
pe = G && G[1] || "";
|
|
223
223
|
}
|
|
224
224
|
return `
|
|
225
|
-
` + pe +
|
|
225
|
+
` + pe + p;
|
|
226
226
|
}
|
|
227
227
|
}
|
|
228
228
|
var fe = !1, Ce;
|
|
@@ -230,11 +230,11 @@ function Cc() {
|
|
|
230
230
|
var wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
231
231
|
Ce = new wt();
|
|
232
232
|
}
|
|
233
|
-
function Ht(
|
|
234
|
-
if (!
|
|
233
|
+
function Ht(p, k) {
|
|
234
|
+
if (!p || fe)
|
|
235
235
|
return "";
|
|
236
236
|
{
|
|
237
|
-
var R = Ce.get(
|
|
237
|
+
var R = Ce.get(p);
|
|
238
238
|
if (R !== void 0)
|
|
239
239
|
return R;
|
|
240
240
|
}
|
|
@@ -259,14 +259,14 @@ function Cc() {
|
|
|
259
259
|
} catch (ze) {
|
|
260
260
|
G = ze;
|
|
261
261
|
}
|
|
262
|
-
Reflect.construct(
|
|
262
|
+
Reflect.construct(p, [], ie);
|
|
263
263
|
} else {
|
|
264
264
|
try {
|
|
265
265
|
ie.call();
|
|
266
266
|
} catch (ze) {
|
|
267
267
|
G = ze;
|
|
268
268
|
}
|
|
269
|
-
|
|
269
|
+
p.call(ie.prototype);
|
|
270
270
|
}
|
|
271
271
|
} else {
|
|
272
272
|
try {
|
|
@@ -274,7 +274,7 @@ function Cc() {
|
|
|
274
274
|
} catch (ze) {
|
|
275
275
|
G = ze;
|
|
276
276
|
}
|
|
277
|
-
|
|
277
|
+
p();
|
|
278
278
|
}
|
|
279
279
|
} catch (ze) {
|
|
280
280
|
if (ze && G && typeof ze.stack == "string") {
|
|
@@ -289,7 +289,7 @@ function Cc() {
|
|
|
289
289
|
if (xe--, Ne--, Ne < 0 || re[xe] !== Me[Ne]) {
|
|
290
290
|
var $e = `
|
|
291
291
|
` + re[xe].replace(" at new ", " at ");
|
|
292
|
-
return
|
|
292
|
+
return p.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", p.displayName)), typeof p == "function" && Ce.set(p, $e), $e;
|
|
293
293
|
}
|
|
294
294
|
while (xe >= 1 && Ne >= 0);
|
|
295
295
|
break;
|
|
@@ -298,37 +298,37 @@ function Cc() {
|
|
|
298
298
|
} finally {
|
|
299
299
|
fe = !1, se.current = Ee, ue(), Error.prepareStackTrace = de;
|
|
300
300
|
}
|
|
301
|
-
var dt =
|
|
302
|
-
return typeof
|
|
301
|
+
var dt = p ? p.displayName || p.name : "", nt = dt ? ce(dt) : "";
|
|
302
|
+
return typeof p == "function" && Ce.set(p, nt), nt;
|
|
303
303
|
}
|
|
304
|
-
function gt(
|
|
305
|
-
return Ht(
|
|
304
|
+
function gt(p, k, R) {
|
|
305
|
+
return Ht(p, !1);
|
|
306
306
|
}
|
|
307
|
-
function en(
|
|
308
|
-
var k =
|
|
307
|
+
function en(p) {
|
|
308
|
+
var k = p.prototype;
|
|
309
309
|
return !!(k && k.isReactComponent);
|
|
310
310
|
}
|
|
311
|
-
function pt(
|
|
312
|
-
if (
|
|
311
|
+
function pt(p, k, R) {
|
|
312
|
+
if (p == null)
|
|
313
313
|
return "";
|
|
314
|
-
if (typeof
|
|
315
|
-
return Ht(
|
|
316
|
-
if (typeof
|
|
317
|
-
return ce(
|
|
318
|
-
switch (
|
|
314
|
+
if (typeof p == "function")
|
|
315
|
+
return Ht(p, en(p));
|
|
316
|
+
if (typeof p == "string")
|
|
317
|
+
return ce(p);
|
|
318
|
+
switch (p) {
|
|
319
319
|
case f:
|
|
320
320
|
return ce("Suspense");
|
|
321
321
|
case d:
|
|
322
322
|
return ce("SuspenseList");
|
|
323
323
|
}
|
|
324
|
-
if (typeof
|
|
325
|
-
switch (
|
|
324
|
+
if (typeof p == "object")
|
|
325
|
+
switch (p.$$typeof) {
|
|
326
326
|
case c:
|
|
327
|
-
return gt(
|
|
328
|
-
case
|
|
329
|
-
return pt(
|
|
327
|
+
return gt(p.render);
|
|
328
|
+
case m:
|
|
329
|
+
return pt(p.type, k, R);
|
|
330
330
|
case T: {
|
|
331
|
-
var G =
|
|
331
|
+
var G = p, de = G._payload, Ee = G._init;
|
|
332
332
|
try {
|
|
333
333
|
return pt(Ee(de), k, R);
|
|
334
334
|
} catch {
|
|
@@ -338,25 +338,25 @@ function Cc() {
|
|
|
338
338
|
return "";
|
|
339
339
|
}
|
|
340
340
|
var Ze = Object.prototype.hasOwnProperty, rt = {}, Ut = w.ReactDebugCurrentFrame;
|
|
341
|
-
function ut(
|
|
342
|
-
if (
|
|
343
|
-
var k =
|
|
341
|
+
function ut(p) {
|
|
342
|
+
if (p) {
|
|
343
|
+
var k = p._owner, R = pt(p.type, p._source, k ? k.type : null);
|
|
344
344
|
Ut.setExtraStackFrame(R);
|
|
345
345
|
} else
|
|
346
346
|
Ut.setExtraStackFrame(null);
|
|
347
347
|
}
|
|
348
|
-
function Ge(
|
|
348
|
+
function Ge(p, k, R, G, de) {
|
|
349
349
|
{
|
|
350
350
|
var Ee = Function.call.bind(Ze);
|
|
351
|
-
for (var ie in
|
|
352
|
-
if (Ee(
|
|
351
|
+
for (var ie in p)
|
|
352
|
+
if (Ee(p, ie)) {
|
|
353
353
|
var re = void 0;
|
|
354
354
|
try {
|
|
355
|
-
if (typeof
|
|
356
|
-
var Me = Error((G || "React class") + ": " + R + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
355
|
+
if (typeof p[ie] != "function") {
|
|
356
|
+
var Me = Error((G || "React class") + ": " + R + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
357
357
|
throw Me.name = "Invariant Violation", Me;
|
|
358
358
|
}
|
|
359
|
-
re =
|
|
359
|
+
re = p[ie](k, ie, G, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
360
360
|
} catch (xe) {
|
|
361
361
|
re = xe;
|
|
362
362
|
}
|
|
@@ -365,28 +365,28 @@ function Cc() {
|
|
|
365
365
|
}
|
|
366
366
|
}
|
|
367
367
|
var ot = Array.isArray;
|
|
368
|
-
function bt(
|
|
369
|
-
return ot(
|
|
368
|
+
function bt(p) {
|
|
369
|
+
return ot(p);
|
|
370
370
|
}
|
|
371
|
-
function jt(
|
|
371
|
+
function jt(p) {
|
|
372
372
|
{
|
|
373
|
-
var k = typeof Symbol == "function" && Symbol.toStringTag, R = k &&
|
|
373
|
+
var k = typeof Symbol == "function" && Symbol.toStringTag, R = k && p[Symbol.toStringTag] || p.constructor.name || "Object";
|
|
374
374
|
return R;
|
|
375
375
|
}
|
|
376
376
|
}
|
|
377
|
-
function zt(
|
|
377
|
+
function zt(p) {
|
|
378
378
|
try {
|
|
379
|
-
return Tt(
|
|
379
|
+
return Tt(p), !1;
|
|
380
380
|
} catch {
|
|
381
381
|
return !0;
|
|
382
382
|
}
|
|
383
383
|
}
|
|
384
|
-
function Tt(
|
|
385
|
-
return "" +
|
|
384
|
+
function Tt(p) {
|
|
385
|
+
return "" + p;
|
|
386
386
|
}
|
|
387
|
-
function j(
|
|
388
|
-
if (zt(
|
|
389
|
-
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(
|
|
387
|
+
function j(p) {
|
|
388
|
+
if (zt(p))
|
|
389
|
+
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(p)), Tt(p);
|
|
390
390
|
}
|
|
391
391
|
var W = w.ReactCurrentOwner, _e = {
|
|
392
392
|
key: !0,
|
|
@@ -395,56 +395,56 @@ function Cc() {
|
|
|
395
395
|
__source: !0
|
|
396
396
|
}, ke, Be, Ve;
|
|
397
397
|
Ve = {};
|
|
398
|
-
function _t(
|
|
399
|
-
if (Ze.call(
|
|
400
|
-
var k = Object.getOwnPropertyDescriptor(
|
|
398
|
+
function _t(p) {
|
|
399
|
+
if (Ze.call(p, "ref")) {
|
|
400
|
+
var k = Object.getOwnPropertyDescriptor(p, "ref").get;
|
|
401
401
|
if (k && k.isReactWarning)
|
|
402
402
|
return !1;
|
|
403
403
|
}
|
|
404
|
-
return
|
|
404
|
+
return p.ref !== void 0;
|
|
405
405
|
}
|
|
406
|
-
function lt(
|
|
407
|
-
if (Ze.call(
|
|
408
|
-
var k = Object.getOwnPropertyDescriptor(
|
|
406
|
+
function lt(p) {
|
|
407
|
+
if (Ze.call(p, "key")) {
|
|
408
|
+
var k = Object.getOwnPropertyDescriptor(p, "key").get;
|
|
409
409
|
if (k && k.isReactWarning)
|
|
410
410
|
return !1;
|
|
411
411
|
}
|
|
412
|
-
return
|
|
412
|
+
return p.key !== void 0;
|
|
413
413
|
}
|
|
414
|
-
function It(
|
|
415
|
-
if (typeof
|
|
414
|
+
function It(p, k) {
|
|
415
|
+
if (typeof p.ref == "string" && W.current && k && W.current.stateNode !== k) {
|
|
416
416
|
var R = ae(W.current.type);
|
|
417
|
-
Ve[R] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(W.current.type),
|
|
417
|
+
Ve[R] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(W.current.type), p.ref), Ve[R] = !0);
|
|
418
418
|
}
|
|
419
419
|
}
|
|
420
|
-
function Xe(
|
|
420
|
+
function Xe(p, k) {
|
|
421
421
|
{
|
|
422
422
|
var R = function() {
|
|
423
423
|
ke || (ke = !0, M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
424
424
|
};
|
|
425
|
-
R.isReactWarning = !0, Object.defineProperty(
|
|
425
|
+
R.isReactWarning = !0, Object.defineProperty(p, "key", {
|
|
426
426
|
get: R,
|
|
427
427
|
configurable: !0
|
|
428
428
|
});
|
|
429
429
|
}
|
|
430
430
|
}
|
|
431
|
-
function Ke(
|
|
431
|
+
function Ke(p, k) {
|
|
432
432
|
{
|
|
433
433
|
var R = function() {
|
|
434
434
|
Be || (Be = !0, M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
435
435
|
};
|
|
436
|
-
R.isReactWarning = !0, Object.defineProperty(
|
|
436
|
+
R.isReactWarning = !0, Object.defineProperty(p, "ref", {
|
|
437
437
|
get: R,
|
|
438
438
|
configurable: !0
|
|
439
439
|
});
|
|
440
440
|
}
|
|
441
441
|
}
|
|
442
|
-
var xt = function(
|
|
442
|
+
var xt = function(p, k, R, G, de, Ee, ie) {
|
|
443
443
|
var re = {
|
|
444
444
|
// This tag allows us to uniquely identify this as a React Element
|
|
445
445
|
$$typeof: t,
|
|
446
446
|
// Built-in properties that belong on the element
|
|
447
|
-
type:
|
|
447
|
+
type: p,
|
|
448
448
|
key: k,
|
|
449
449
|
ref: R,
|
|
450
450
|
props: ie,
|
|
@@ -468,58 +468,58 @@ function Cc() {
|
|
|
468
468
|
value: de
|
|
469
469
|
}), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
|
|
470
470
|
};
|
|
471
|
-
function ct(
|
|
471
|
+
function ct(p, k, R, G, de) {
|
|
472
472
|
{
|
|
473
473
|
var Ee, ie = {}, re = null, Me = null;
|
|
474
474
|
R !== void 0 && (j(R), re = "" + R), lt(k) && (j(k.key), re = "" + k.key), _t(k) && (Me = k.ref, It(k, de));
|
|
475
475
|
for (Ee in k)
|
|
476
476
|
Ze.call(k, Ee) && !_e.hasOwnProperty(Ee) && (ie[Ee] = k[Ee]);
|
|
477
|
-
if (
|
|
478
|
-
var xe =
|
|
477
|
+
if (p && p.defaultProps) {
|
|
478
|
+
var xe = p.defaultProps;
|
|
479
479
|
for (Ee in xe)
|
|
480
480
|
ie[Ee] === void 0 && (ie[Ee] = xe[Ee]);
|
|
481
481
|
}
|
|
482
482
|
if (re || Me) {
|
|
483
|
-
var Ne = typeof
|
|
483
|
+
var Ne = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
|
|
484
484
|
re && Xe(ie, Ne), Me && Ke(ie, Ne);
|
|
485
485
|
}
|
|
486
|
-
return xt(
|
|
486
|
+
return xt(p, re, Me, de, G, W.current, ie);
|
|
487
487
|
}
|
|
488
488
|
}
|
|
489
489
|
var Rt = w.ReactCurrentOwner, tn = w.ReactDebugCurrentFrame;
|
|
490
|
-
function tt(
|
|
491
|
-
if (
|
|
492
|
-
var k =
|
|
490
|
+
function tt(p) {
|
|
491
|
+
if (p) {
|
|
492
|
+
var k = p._owner, R = pt(p.type, p._source, k ? k.type : null);
|
|
493
493
|
tn.setExtraStackFrame(R);
|
|
494
494
|
} else
|
|
495
495
|
tn.setExtraStackFrame(null);
|
|
496
496
|
}
|
|
497
497
|
var At;
|
|
498
498
|
At = !1;
|
|
499
|
-
function ft(
|
|
500
|
-
return typeof
|
|
499
|
+
function ft(p) {
|
|
500
|
+
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
501
501
|
}
|
|
502
502
|
function yt() {
|
|
503
503
|
{
|
|
504
504
|
if (Rt.current) {
|
|
505
|
-
var
|
|
506
|
-
if (
|
|
505
|
+
var p = ae(Rt.current.type);
|
|
506
|
+
if (p)
|
|
507
507
|
return `
|
|
508
508
|
|
|
509
|
-
Check the render method of \`` +
|
|
509
|
+
Check the render method of \`` + p + "`.";
|
|
510
510
|
}
|
|
511
511
|
return "";
|
|
512
512
|
}
|
|
513
513
|
}
|
|
514
|
-
function xn(
|
|
514
|
+
function xn(p) {
|
|
515
515
|
return "";
|
|
516
516
|
}
|
|
517
517
|
var nn = {};
|
|
518
|
-
function Sn(
|
|
518
|
+
function Sn(p) {
|
|
519
519
|
{
|
|
520
520
|
var k = yt();
|
|
521
521
|
if (!k) {
|
|
522
|
-
var R = typeof
|
|
522
|
+
var R = typeof p == "string" ? p : p.displayName || p.name;
|
|
523
523
|
R && (k = `
|
|
524
524
|
|
|
525
525
|
Check the top-level render call using <` + R + ">.");
|
|
@@ -527,41 +527,41 @@ Check the top-level render call using <` + R + ">.");
|
|
|
527
527
|
return k;
|
|
528
528
|
}
|
|
529
529
|
}
|
|
530
|
-
function rn(
|
|
530
|
+
function rn(p, k) {
|
|
531
531
|
{
|
|
532
|
-
if (!
|
|
532
|
+
if (!p._store || p._store.validated || p.key != null)
|
|
533
533
|
return;
|
|
534
|
-
|
|
534
|
+
p._store.validated = !0;
|
|
535
535
|
var R = Sn(k);
|
|
536
536
|
if (nn[R])
|
|
537
537
|
return;
|
|
538
538
|
nn[R] = !0;
|
|
539
539
|
var G = "";
|
|
540
|
-
|
|
540
|
+
p && p._owner && p._owner !== Rt.current && (G = " It was passed a child from " + ae(p._owner.type) + "."), tt(p), M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, G), tt(null);
|
|
541
541
|
}
|
|
542
542
|
}
|
|
543
|
-
function un(
|
|
543
|
+
function un(p, k) {
|
|
544
544
|
{
|
|
545
|
-
if (typeof
|
|
545
|
+
if (typeof p != "object")
|
|
546
546
|
return;
|
|
547
|
-
if (bt(
|
|
548
|
-
for (var R = 0; R <
|
|
549
|
-
var G =
|
|
547
|
+
if (bt(p))
|
|
548
|
+
for (var R = 0; R < p.length; R++) {
|
|
549
|
+
var G = p[R];
|
|
550
550
|
ft(G) && rn(G, k);
|
|
551
551
|
}
|
|
552
|
-
else if (ft(
|
|
553
|
-
|
|
554
|
-
else if (
|
|
555
|
-
var de = L(
|
|
556
|
-
if (typeof de == "function" && de !==
|
|
557
|
-
for (var Ee = de.call(
|
|
552
|
+
else if (ft(p))
|
|
553
|
+
p._store && (p._store.validated = !0);
|
|
554
|
+
else if (p) {
|
|
555
|
+
var de = L(p);
|
|
556
|
+
if (typeof de == "function" && de !== p.entries)
|
|
557
|
+
for (var Ee = de.call(p), ie; !(ie = Ee.next()).done; )
|
|
558
558
|
ft(ie.value) && rn(ie.value, k);
|
|
559
559
|
}
|
|
560
560
|
}
|
|
561
561
|
}
|
|
562
|
-
function Ct(
|
|
562
|
+
function Ct(p) {
|
|
563
563
|
{
|
|
564
|
-
var k =
|
|
564
|
+
var k = p.type;
|
|
565
565
|
if (k == null || typeof k == "string")
|
|
566
566
|
return;
|
|
567
567
|
var R;
|
|
@@ -569,13 +569,13 @@ Check the top-level render call using <` + R + ">.");
|
|
|
569
569
|
R = k.propTypes;
|
|
570
570
|
else if (typeof k == "object" && (k.$$typeof === c || // Note: Memo only checks outer props here.
|
|
571
571
|
// Inner props are checked in the reconciler.
|
|
572
|
-
k.$$typeof ===
|
|
572
|
+
k.$$typeof === m))
|
|
573
573
|
R = k.propTypes;
|
|
574
574
|
else
|
|
575
575
|
return;
|
|
576
576
|
if (R) {
|
|
577
577
|
var G = ae(k);
|
|
578
|
-
Ge(R,
|
|
578
|
+
Ge(R, p.props, "prop", G, p);
|
|
579
579
|
} else if (k.PropTypes !== void 0 && !At) {
|
|
580
580
|
At = !0;
|
|
581
581
|
var de = ae(k);
|
|
@@ -584,31 +584,31 @@ Check the top-level render call using <` + R + ">.");
|
|
|
584
584
|
typeof k.getDefaultProps == "function" && !k.getDefaultProps.isReactClassApproved && M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
585
585
|
}
|
|
586
586
|
}
|
|
587
|
-
function Yt(
|
|
587
|
+
function Yt(p) {
|
|
588
588
|
{
|
|
589
|
-
for (var k = Object.keys(
|
|
589
|
+
for (var k = Object.keys(p.props), R = 0; R < k.length; R++) {
|
|
590
590
|
var G = k[R];
|
|
591
591
|
if (G !== "children" && G !== "key") {
|
|
592
|
-
tt(
|
|
592
|
+
tt(p), M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", G), tt(null);
|
|
593
593
|
break;
|
|
594
594
|
}
|
|
595
595
|
}
|
|
596
|
-
|
|
596
|
+
p.ref !== null && (tt(p), M("Invalid attribute `ref` supplied to `React.Fragment`."), tt(null));
|
|
597
597
|
}
|
|
598
598
|
}
|
|
599
599
|
var $t = {};
|
|
600
|
-
function an(
|
|
600
|
+
function an(p, k, R, G, de, Ee) {
|
|
601
601
|
{
|
|
602
|
-
var ie = P(
|
|
602
|
+
var ie = P(p);
|
|
603
603
|
if (!ie) {
|
|
604
604
|
var re = "";
|
|
605
|
-
(
|
|
605
|
+
(p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
606
606
|
var Me = xn();
|
|
607
607
|
Me ? re += Me : re += yt();
|
|
608
608
|
var xe;
|
|
609
|
-
|
|
609
|
+
p === null ? xe = "null" : bt(p) ? xe = "array" : p !== void 0 && p.$$typeof === t ? (xe = "<" + (ae(p.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof p, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, re);
|
|
610
610
|
}
|
|
611
|
-
var Ne = ct(
|
|
611
|
+
var Ne = ct(p, k, R, de, Ee);
|
|
612
612
|
if (Ne == null)
|
|
613
613
|
return Ne;
|
|
614
614
|
if (ie) {
|
|
@@ -617,15 +617,15 @@ Check the top-level render call using <` + R + ">.");
|
|
|
617
617
|
if (G)
|
|
618
618
|
if (bt($e)) {
|
|
619
619
|
for (var dt = 0; dt < $e.length; dt++)
|
|
620
|
-
un($e[dt],
|
|
620
|
+
un($e[dt], p);
|
|
621
621
|
Object.freeze && Object.freeze($e);
|
|
622
622
|
} else
|
|
623
623
|
M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
624
624
|
else
|
|
625
|
-
un($e,
|
|
625
|
+
un($e, p);
|
|
626
626
|
}
|
|
627
627
|
if (Ze.call(k, "key")) {
|
|
628
|
-
var nt = ae(
|
|
628
|
+
var nt = ae(p), ze = Object.keys(k).filter(function(On) {
|
|
629
629
|
return On !== "key";
|
|
630
630
|
}), Vt = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
631
631
|
if (!$t[nt + Vt]) {
|
|
@@ -638,14 +638,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
638
638
|
<%s key={someKey} {...props} />`, Vt, nt, Rn, nt), $t[nt + Vt] = !0;
|
|
639
639
|
}
|
|
640
640
|
}
|
|
641
|
-
return
|
|
641
|
+
return p === r ? Yt(Ne) : Ct(Ne), Ne;
|
|
642
642
|
}
|
|
643
643
|
}
|
|
644
|
-
function kn(
|
|
645
|
-
return an(
|
|
644
|
+
function kn(p, k, R) {
|
|
645
|
+
return an(p, k, R, !0);
|
|
646
646
|
}
|
|
647
|
-
function Nn(
|
|
648
|
-
return an(
|
|
647
|
+
function Nn(p, k, R) {
|
|
648
|
+
return an(p, k, R, !1);
|
|
649
649
|
}
|
|
650
650
|
var In = Nn, sn = kn;
|
|
651
651
|
wr.Fragment = r, wr.jsx = In, wr.jsxs = sn;
|
|
@@ -894,13 +894,13 @@ function Pc(e) {
|
|
|
894
894
|
return t.containerState = {}, e.check(
|
|
895
895
|
Ha,
|
|
896
896
|
d,
|
|
897
|
-
|
|
897
|
+
m
|
|
898
898
|
)(V);
|
|
899
899
|
}
|
|
900
900
|
function d(V) {
|
|
901
901
|
return u && M(), w(r), T(V);
|
|
902
902
|
}
|
|
903
|
-
function
|
|
903
|
+
function m(V) {
|
|
904
904
|
return t.parser.lazy[t.now().line] = r !== n.length, a = t.now().offset, D(V);
|
|
905
905
|
}
|
|
906
906
|
function T(V) {
|
|
@@ -1013,10 +1013,10 @@ function Mc(e, t) {
|
|
|
1013
1013
|
if ((e[r][1]._close || e[n][1]._open) && (e[n][1].end.offset - e[n][1].start.offset) % 3 && !((e[r][1].end.offset - e[r][1].start.offset + e[n][1].end.offset - e[n][1].start.offset) % 3))
|
|
1014
1014
|
continue;
|
|
1015
1015
|
c = e[r][1].end.offset - e[r][1].start.offset > 1 && e[n][1].end.offset - e[n][1].start.offset > 1 ? 2 : 1;
|
|
1016
|
-
const
|
|
1017
|
-
Ua(
|
|
1016
|
+
const m = Object.assign({}, e[r][1].end), T = Object.assign({}, e[n][1].start);
|
|
1017
|
+
Ua(m, -c), Ua(T, c), a = {
|
|
1018
1018
|
type: c > 1 ? "strongSequence" : "emphasisSequence",
|
|
1019
|
-
start:
|
|
1019
|
+
start: m,
|
|
1020
1020
|
end: Object.assign({}, e[r][1].end)
|
|
1021
1021
|
}, l = {
|
|
1022
1022
|
type: c > 1 ? "strongSequence" : "emphasisSequence",
|
|
@@ -1048,8 +1048,8 @@ function Hc(e, t) {
|
|
|
1048
1048
|
function l(c) {
|
|
1049
1049
|
if (c === i)
|
|
1050
1050
|
return e.consume(c), l;
|
|
1051
|
-
const f = e.exit("attentionSequence"), d = yu(c),
|
|
1052
|
-
return f._open = !!(i === 42 ?
|
|
1051
|
+
const f = e.exit("attentionSequence"), d = yu(c), m = !d || d === 2 && u || n.includes(c), T = !u || u === 2 && d || n.includes(r);
|
|
1052
|
+
return f._open = !!(i === 42 ? m : m && (u || !T)), f._close = !!(i === 42 ? T : T && (d || !m)), t(c);
|
|
1053
1053
|
}
|
|
1054
1054
|
}
|
|
1055
1055
|
function Ua(e, t) {
|
|
@@ -1081,14 +1081,14 @@ function jc(e, t, n) {
|
|
|
1081
1081
|
return E === 64 ? (e.consume(E), d) : Rc(E) ? (e.consume(E), f) : n(E);
|
|
1082
1082
|
}
|
|
1083
1083
|
function d(E) {
|
|
1084
|
-
return st(E) ?
|
|
1084
|
+
return st(E) ? m(E) : n(E);
|
|
1085
1085
|
}
|
|
1086
|
-
function
|
|
1086
|
+
function m(E) {
|
|
1087
1087
|
return E === 46 ? (e.consume(E), r = 0, d) : E === 62 ? (e.exit("autolinkProtocol").type = "autolinkEmail", e.enter("autolinkMarker"), e.consume(E), e.exit("autolinkMarker"), e.exit("autolink"), t) : T(E);
|
|
1088
1088
|
}
|
|
1089
1089
|
function T(E) {
|
|
1090
1090
|
if ((E === 45 || st(E)) && r++ < 63) {
|
|
1091
|
-
const D = E === 45 ? T :
|
|
1091
|
+
const D = E === 45 ? T : m;
|
|
1092
1092
|
return e.consume(E), D;
|
|
1093
1093
|
}
|
|
1094
1094
|
return n(E);
|
|
@@ -1165,21 +1165,21 @@ function Wc(e, t, n) {
|
|
|
1165
1165
|
const r = this;
|
|
1166
1166
|
let u = 0, i, a;
|
|
1167
1167
|
return l;
|
|
1168
|
-
function l(
|
|
1169
|
-
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(
|
|
1168
|
+
function l(m) {
|
|
1169
|
+
return e.enter("characterReference"), e.enter("characterReferenceMarker"), e.consume(m), e.exit("characterReferenceMarker"), c;
|
|
1170
1170
|
}
|
|
1171
|
-
function c(
|
|
1172
|
-
return
|
|
1171
|
+
function c(m) {
|
|
1172
|
+
return m === 35 ? (e.enter("characterReferenceMarkerNumeric"), e.consume(m), e.exit("characterReferenceMarkerNumeric"), f) : (e.enter("characterReferenceValue"), i = 31, a = st, d(m));
|
|
1173
1173
|
}
|
|
1174
|
-
function f(
|
|
1175
|
-
return
|
|
1174
|
+
function f(m) {
|
|
1175
|
+
return m === 88 || m === 120 ? (e.enter("characterReferenceMarkerHexadecimal"), e.consume(m), e.exit("characterReferenceMarkerHexadecimal"), e.enter("characterReferenceValue"), i = 6, a = Oc, d) : (e.enter("characterReferenceValue"), i = 7, a = Li, d(m));
|
|
1176
1176
|
}
|
|
1177
|
-
function d(
|
|
1178
|
-
if (
|
|
1177
|
+
function d(m) {
|
|
1178
|
+
if (m === 59 && u) {
|
|
1179
1179
|
const T = e.exit("characterReferenceValue");
|
|
1180
|
-
return a === st && !Kr(r.sliceSerialize(T)) ? n(
|
|
1180
|
+
return a === st && !Kr(r.sliceSerialize(T)) ? n(m) : (e.enter("characterReferenceMarker"), e.consume(m), e.exit("characterReferenceMarker"), e.exit("characterReference"), t);
|
|
1181
1181
|
}
|
|
1182
|
-
return a(
|
|
1182
|
+
return a(m) && u++ < i ? (e.consume(m), d) : n(m);
|
|
1183
1183
|
}
|
|
1184
1184
|
}
|
|
1185
1185
|
const ja = {
|
|
@@ -1205,23 +1205,23 @@ function Gc(e, t, n) {
|
|
|
1205
1205
|
return i = U && U[1].type === "linePrefix" ? U[2].sliceSerialize(U[1], !0).length : 0, l = B, e.enter("codeFenced"), e.enter("codeFencedFence"), e.enter("codeFencedFenceSequence"), d(B);
|
|
1206
1206
|
}
|
|
1207
1207
|
function d(B) {
|
|
1208
|
-
return B === l ? (a++, e.consume(B), d) : a < 3 ? n(B) : (e.exit("codeFencedFenceSequence"), Le(B) ? Re(e,
|
|
1208
|
+
return B === l ? (a++, e.consume(B), d) : a < 3 ? n(B) : (e.exit("codeFencedFenceSequence"), Le(B) ? Re(e, m, "whitespace")(B) : m(B));
|
|
1209
1209
|
}
|
|
1210
|
-
function
|
|
1210
|
+
function m(B) {
|
|
1211
1211
|
return B === null || me(B) ? (e.exit("codeFencedFence"), r.interrupt ? t(B) : e.check(ja, F, ne)(B)) : (e.enter("codeFencedFenceInfo"), e.enter("chunkString", {
|
|
1212
1212
|
contentType: "string"
|
|
1213
1213
|
}), T(B));
|
|
1214
1214
|
}
|
|
1215
1215
|
function T(B) {
|
|
1216
|
-
return B === null || me(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"),
|
|
1216
|
+
return B === null || me(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), m(B)) : Le(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceInfo"), Re(e, E, "whitespace")(B)) : B === 96 && B === l ? n(B) : (e.consume(B), T);
|
|
1217
1217
|
}
|
|
1218
1218
|
function E(B) {
|
|
1219
|
-
return B === null || me(B) ?
|
|
1219
|
+
return B === null || me(B) ? m(B) : (e.enter("codeFencedFenceMeta"), e.enter("chunkString", {
|
|
1220
1220
|
contentType: "string"
|
|
1221
1221
|
}), D(B));
|
|
1222
1222
|
}
|
|
1223
1223
|
function D(B) {
|
|
1224
|
-
return B === null || me(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"),
|
|
1224
|
+
return B === null || me(B) ? (e.exit("chunkString"), e.exit("codeFencedFenceMeta"), m(B)) : B === 96 && B === l ? n(B) : (e.consume(B), D);
|
|
1225
1225
|
}
|
|
1226
1226
|
function F(B) {
|
|
1227
1227
|
return e.attempt(u, ne, L)(B);
|
|
@@ -1334,20 +1334,20 @@ function tf(e) {
|
|
|
1334
1334
|
function nf(e, t, n) {
|
|
1335
1335
|
let r = 0, u, i;
|
|
1336
1336
|
return a;
|
|
1337
|
-
function a(
|
|
1338
|
-
return e.enter("codeText"), e.enter("codeTextSequence"), l(
|
|
1337
|
+
function a(m) {
|
|
1338
|
+
return e.enter("codeText"), e.enter("codeTextSequence"), l(m);
|
|
1339
1339
|
}
|
|
1340
|
-
function l(
|
|
1341
|
-
return
|
|
1340
|
+
function l(m) {
|
|
1341
|
+
return m === 96 ? (e.consume(m), r++, l) : (e.exit("codeTextSequence"), c(m));
|
|
1342
1342
|
}
|
|
1343
|
-
function c(
|
|
1344
|
-
return
|
|
1343
|
+
function c(m) {
|
|
1344
|
+
return m === null ? n(m) : m === 32 ? (e.enter("space"), e.consume(m), e.exit("space"), c) : m === 96 ? (i = e.enter("codeTextSequence"), u = 0, d(m)) : me(m) ? (e.enter("lineEnding"), e.consume(m), e.exit("lineEnding"), c) : (e.enter("codeTextData"), f(m));
|
|
1345
1345
|
}
|
|
1346
|
-
function f(
|
|
1347
|
-
return
|
|
1346
|
+
function f(m) {
|
|
1347
|
+
return m === null || m === 32 || m === 96 || me(m) ? (e.exit("codeTextData"), c(m)) : (e.consume(m), f);
|
|
1348
1348
|
}
|
|
1349
|
-
function d(
|
|
1350
|
-
return
|
|
1349
|
+
function d(m) {
|
|
1350
|
+
return m === 96 ? (e.consume(m), u++, d) : u === r ? (e.exit("codeTextSequence"), e.exit("codeText"), t(m)) : (i.type = "codeTextData", f(m));
|
|
1351
1351
|
}
|
|
1352
1352
|
}
|
|
1353
1353
|
class rf {
|
|
@@ -1546,12 +1546,12 @@ function uf(e, t) {
|
|
|
1546
1546
|
const n = e.get(t)[1], r = e.get(t)[2];
|
|
1547
1547
|
let u = t - 1;
|
|
1548
1548
|
const i = [], a = n._tokenizer || r.parser[n.contentType](n.start), l = a.events, c = [], f = {};
|
|
1549
|
-
let d,
|
|
1549
|
+
let d, m, T = -1, E = n, D = 0, F = 0;
|
|
1550
1550
|
const L = [F];
|
|
1551
1551
|
for (; E; ) {
|
|
1552
1552
|
for (; e.get(++u)[1] !== E; )
|
|
1553
1553
|
;
|
|
1554
|
-
i.push(u), E._tokenizer || (d = r.sliceStream(E), E.next || d.push(null),
|
|
1554
|
+
i.push(u), E._tokenizer || (d = r.sliceStream(E), E.next || d.push(null), m && a.defineSkip(E.start), E._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = !0), a.write(d), E._isInFirstContentOfListItem && (a._gfmTasklistFirstContentOfListItem = void 0)), m = E, E = E.next;
|
|
1555
1555
|
}
|
|
1556
1556
|
for (E = n; ++T < l.length; )
|
|
1557
1557
|
// Find a void token that includes a break.
|
|
@@ -1611,8 +1611,8 @@ function cf(e, t, n) {
|
|
|
1611
1611
|
function Eo(e, t, n, r, u, i, a, l, c) {
|
|
1612
1612
|
const f = c || Number.POSITIVE_INFINITY;
|
|
1613
1613
|
let d = 0;
|
|
1614
|
-
return
|
|
1615
|
-
function
|
|
1614
|
+
return m;
|
|
1615
|
+
function m(w) {
|
|
1616
1616
|
return w === 60 ? (e.enter(r), e.enter(u), e.enter(i), e.consume(w), e.exit(i), T) : w === null || w === 32 || w === 41 || Au(w) ? n(w) : (e.enter(r), e.enter(a), e.enter(l), e.enter("chunkString", {
|
|
1617
1617
|
contentType: "string"
|
|
1618
1618
|
}), F(w));
|
|
@@ -1650,13 +1650,13 @@ function go(e, t, n, r, u, i) {
|
|
|
1650
1650
|
/* c8 ignore next 3 */
|
|
1651
1651
|
E === 94 && !l && "_hiddenFootnoteSupport" in a.parser.constructs ? n(E) : E === 93 ? (e.exit(i), e.enter(u), e.consume(E), e.exit(u), e.exit(r), t) : me(E) ? (e.enter("lineEnding"), e.consume(E), e.exit("lineEnding"), d) : (e.enter("chunkString", {
|
|
1652
1652
|
contentType: "string"
|
|
1653
|
-
}),
|
|
1653
|
+
}), m(E));
|
|
1654
1654
|
}
|
|
1655
|
-
function
|
|
1656
|
-
return E === null || E === 91 || E === 93 || me(E) || l++ > 999 ? (e.exit("chunkString"), d(E)) : (e.consume(E), c || (c = !Le(E)), E === 92 ? T :
|
|
1655
|
+
function m(E) {
|
|
1656
|
+
return E === null || E === 91 || E === 93 || me(E) || l++ > 999 ? (e.exit("chunkString"), d(E)) : (e.consume(E), c || (c = !Le(E)), E === 92 ? T : m);
|
|
1657
1657
|
}
|
|
1658
1658
|
function T(E) {
|
|
1659
|
-
return E === 91 || E === 92 || E === 93 ? (e.consume(E), l++,
|
|
1659
|
+
return E === 91 || E === 92 || E === 93 ? (e.consume(E), l++, m) : m(E);
|
|
1660
1660
|
}
|
|
1661
1661
|
}
|
|
1662
1662
|
function bo(e, t, n, r, u, i) {
|
|
@@ -1674,9 +1674,9 @@ function bo(e, t, n, r, u, i) {
|
|
|
1674
1674
|
}), d(T));
|
|
1675
1675
|
}
|
|
1676
1676
|
function d(T) {
|
|
1677
|
-
return T === a || T === null || me(T) ? (e.exit("chunkString"), f(T)) : (e.consume(T), T === 92 ?
|
|
1677
|
+
return T === a || T === null || me(T) ? (e.exit("chunkString"), f(T)) : (e.consume(T), T === 92 ? m : d);
|
|
1678
1678
|
}
|
|
1679
|
-
function
|
|
1679
|
+
function m(T) {
|
|
1680
1680
|
return T === a || T === 92 ? (e.consume(T), d) : d(T);
|
|
1681
1681
|
}
|
|
1682
1682
|
}
|
|
@@ -1737,9 +1737,9 @@ function hf(e, t, n) {
|
|
|
1737
1737
|
)(E);
|
|
1738
1738
|
}
|
|
1739
1739
|
function d(E) {
|
|
1740
|
-
return e.attempt(df,
|
|
1740
|
+
return e.attempt(df, m, m)(E);
|
|
1741
1741
|
}
|
|
1742
|
-
function
|
|
1742
|
+
function m(E) {
|
|
1743
1743
|
return Le(E) ? Re(e, T, "whitespace")(E) : T(E);
|
|
1744
1744
|
}
|
|
1745
1745
|
function T(E) {
|
|
@@ -1903,9 +1903,9 @@ function xf(e, t, n) {
|
|
|
1903
1903
|
return d(y);
|
|
1904
1904
|
}
|
|
1905
1905
|
function d(y) {
|
|
1906
|
-
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(y),
|
|
1906
|
+
return e.enter("htmlFlow"), e.enter("htmlFlowData"), e.consume(y), m;
|
|
1907
1907
|
}
|
|
1908
|
-
function
|
|
1908
|
+
function m(y) {
|
|
1909
1909
|
return y === 33 ? (e.consume(y), T) : y === 47 ? (e.consume(y), i = !0, F) : y === 63 ? (e.consume(y), u = 3, r.interrupt ? t : S) : ht(y) ? (e.consume(y), a = String.fromCharCode(y), L) : n(y);
|
|
1910
1910
|
}
|
|
1911
1911
|
function T(y) {
|
|
@@ -2035,14 +2035,14 @@ function If(e, t, n) {
|
|
|
2035
2035
|
function d(S) {
|
|
2036
2036
|
return S === 45 ? (e.consume(S), E) : n(S);
|
|
2037
2037
|
}
|
|
2038
|
-
function
|
|
2039
|
-
return S === null ? n(S) : S === 45 ? (e.consume(S), T) : me(S) ? (a =
|
|
2038
|
+
function m(S) {
|
|
2039
|
+
return S === null ? n(S) : S === 45 ? (e.consume(S), T) : me(S) ? (a = m, Y(S)) : (e.consume(S), m);
|
|
2040
2040
|
}
|
|
2041
2041
|
function T(S) {
|
|
2042
|
-
return S === 45 ? (e.consume(S), E) :
|
|
2042
|
+
return S === 45 ? (e.consume(S), E) : m(S);
|
|
2043
2043
|
}
|
|
2044
2044
|
function E(S) {
|
|
2045
|
-
return S === 62 ? De(S) : S === 45 ? T(S) :
|
|
2045
|
+
return S === 62 ? De(S) : S === 45 ? T(S) : m(S);
|
|
2046
2046
|
}
|
|
2047
2047
|
function D(S) {
|
|
2048
2048
|
const b = "CDATA[";
|
|
@@ -2171,49 +2171,49 @@ function wf(e, t, n) {
|
|
|
2171
2171
|
}
|
|
2172
2172
|
return l;
|
|
2173
2173
|
function l(T) {
|
|
2174
|
-
return i ? i._inactive ?
|
|
2174
|
+
return i ? i._inactive ? m(T) : (a = r.parser.defined.includes(Gt(r.sliceSerialize({
|
|
2175
2175
|
start: i.end,
|
|
2176
2176
|
end: r.now()
|
|
2177
2177
|
}))), e.enter("labelEnd"), e.enter("labelMarker"), e.consume(T), e.exit("labelMarker"), e.exit("labelEnd"), c) : n(T);
|
|
2178
2178
|
}
|
|
2179
2179
|
function c(T) {
|
|
2180
|
-
return T === 40 ? e.attempt(Rf, d, a ? d :
|
|
2180
|
+
return T === 40 ? e.attempt(Rf, d, a ? d : m)(T) : T === 91 ? e.attempt(Of, d, a ? f : m)(T) : a ? d(T) : m(T);
|
|
2181
2181
|
}
|
|
2182
2182
|
function f(T) {
|
|
2183
|
-
return e.attempt(Lf, d,
|
|
2183
|
+
return e.attempt(Lf, d, m)(T);
|
|
2184
2184
|
}
|
|
2185
2185
|
function d(T) {
|
|
2186
2186
|
return t(T);
|
|
2187
2187
|
}
|
|
2188
|
-
function
|
|
2188
|
+
function m(T) {
|
|
2189
2189
|
return i._balanced = !0, n(T);
|
|
2190
2190
|
}
|
|
2191
2191
|
}
|
|
2192
2192
|
function Pf(e, t, n) {
|
|
2193
2193
|
return r;
|
|
2194
|
-
function r(
|
|
2195
|
-
return e.enter("resource"), e.enter("resourceMarker"), e.consume(
|
|
2194
|
+
function r(m) {
|
|
2195
|
+
return e.enter("resource"), e.enter("resourceMarker"), e.consume(m), e.exit("resourceMarker"), u;
|
|
2196
2196
|
}
|
|
2197
|
-
function u(
|
|
2198
|
-
return Ue(
|
|
2197
|
+
function u(m) {
|
|
2198
|
+
return Ue(m) ? mn(e, i)(m) : i(m);
|
|
2199
2199
|
}
|
|
2200
|
-
function i(
|
|
2201
|
-
return
|
|
2200
|
+
function i(m) {
|
|
2201
|
+
return m === 41 ? d(m) : Eo(e, a, l, "resourceDestination", "resourceDestinationLiteral", "resourceDestinationLiteralMarker", "resourceDestinationRaw", "resourceDestinationString", 32)(m);
|
|
2202
2202
|
}
|
|
2203
|
-
function a(
|
|
2204
|
-
return Ue(
|
|
2203
|
+
function a(m) {
|
|
2204
|
+
return Ue(m) ? mn(e, c)(m) : d(m);
|
|
2205
2205
|
}
|
|
2206
|
-
function l(
|
|
2207
|
-
return n(
|
|
2206
|
+
function l(m) {
|
|
2207
|
+
return n(m);
|
|
2208
2208
|
}
|
|
2209
|
-
function c(
|
|
2210
|
-
return
|
|
2209
|
+
function c(m) {
|
|
2210
|
+
return m === 34 || m === 39 || m === 40 ? bo(e, f, n, "resourceTitle", "resourceTitleMarker", "resourceTitleString")(m) : d(m);
|
|
2211
2211
|
}
|
|
2212
|
-
function f(
|
|
2213
|
-
return Ue(
|
|
2212
|
+
function f(m) {
|
|
2213
|
+
return Ue(m) ? mn(e, d)(m) : d(m);
|
|
2214
2214
|
}
|
|
2215
|
-
function d(
|
|
2216
|
-
return
|
|
2215
|
+
function d(m) {
|
|
2216
|
+
return m === 41 ? (e.enter("resourceMarker"), e.consume(m), e.exit("resourceMarker"), e.exit("resource"), t) : n(m);
|
|
2217
2217
|
}
|
|
2218
2218
|
}
|
|
2219
2219
|
function Bf(e, t, n) {
|
|
@@ -2339,13 +2339,13 @@ function Wf(e, t, n) {
|
|
|
2339
2339
|
tu,
|
|
2340
2340
|
// Can’t be empty when interrupting.
|
|
2341
2341
|
r.interrupt ? n : d,
|
|
2342
|
-
e.attempt(Vf, T,
|
|
2342
|
+
e.attempt(Vf, T, m)
|
|
2343
2343
|
);
|
|
2344
2344
|
}
|
|
2345
2345
|
function d(E) {
|
|
2346
2346
|
return r.containerState.initialBlankLine = !0, i++, T(E);
|
|
2347
2347
|
}
|
|
2348
|
-
function
|
|
2348
|
+
function m(E) {
|
|
2349
2349
|
return Le(E) ? (e.enter("listItemPrefixWhitespace"), e.consume(E), e.exit("listItemPrefixWhitespace"), T) : n(E);
|
|
2350
2350
|
}
|
|
2351
2351
|
function T(E) {
|
|
@@ -2412,13 +2412,13 @@ function Zf(e, t, n) {
|
|
|
2412
2412
|
let u;
|
|
2413
2413
|
return i;
|
|
2414
2414
|
function i(f) {
|
|
2415
|
-
let d = r.events.length,
|
|
2415
|
+
let d = r.events.length, m;
|
|
2416
2416
|
for (; d--; )
|
|
2417
2417
|
if (r.events[d][1].type !== "lineEnding" && r.events[d][1].type !== "linePrefix" && r.events[d][1].type !== "content") {
|
|
2418
|
-
|
|
2418
|
+
m = r.events[d][1].type === "paragraph";
|
|
2419
2419
|
break;
|
|
2420
2420
|
}
|
|
2421
|
-
return !r.parser.lazy[r.now().line] && (r.interrupt ||
|
|
2421
|
+
return !r.parser.lazy[r.now().line] && (r.interrupt || m) ? (e.enter("setextHeadingLine"), u = f, a(f)) : n(f);
|
|
2422
2422
|
}
|
|
2423
2423
|
function a(f) {
|
|
2424
2424
|
return e.enter("setextHeadingLineSequence"), l(f);
|
|
@@ -2498,11 +2498,11 @@ function To(e) {
|
|
|
2498
2498
|
function f(d) {
|
|
2499
2499
|
if (d === null)
|
|
2500
2500
|
return !0;
|
|
2501
|
-
const
|
|
2501
|
+
const m = u[d];
|
|
2502
2502
|
let T = -1;
|
|
2503
|
-
if (
|
|
2504
|
-
for (; ++T <
|
|
2505
|
-
const E =
|
|
2503
|
+
if (m)
|
|
2504
|
+
for (; ++T < m.length; ) {
|
|
2505
|
+
const E = m[T];
|
|
2506
2506
|
if (!E.previous || E.previous.call(r, r.previous))
|
|
2507
2507
|
return !0;
|
|
2508
2508
|
}
|
|
@@ -2596,11 +2596,11 @@ function a0(e, t, n) {
|
|
|
2596
2596
|
sliceSerialize: T,
|
|
2597
2597
|
now: D,
|
|
2598
2598
|
defineSkip: F,
|
|
2599
|
-
write:
|
|
2599
|
+
write: m
|
|
2600
2600
|
};
|
|
2601
2601
|
let d = t.tokenize.call(f, c);
|
|
2602
2602
|
return t.resolveAll && i.push(t), f;
|
|
2603
|
-
function
|
|
2603
|
+
function m(te) {
|
|
2604
2604
|
return a = Pt(a, te), L(), a[a.length - 1] !== null ? [] : (he(t, 0), f.events = Iu(i, f.events, f), f.events);
|
|
2605
2605
|
}
|
|
2606
2606
|
function T(te, q) {
|
|
@@ -2873,16 +2873,16 @@ function A0() {
|
|
|
2873
2873
|
return u;
|
|
2874
2874
|
function u(i, a, l) {
|
|
2875
2875
|
const c = [];
|
|
2876
|
-
let f, d,
|
|
2877
|
-
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)),
|
|
2878
|
-
if (Va.lastIndex =
|
|
2879
|
-
t = i.slice(
|
|
2876
|
+
let f, d, m, T, E;
|
|
2877
|
+
for (i = t + (typeof i == "string" ? i.toString() : new TextDecoder(a || void 0).decode(i)), m = 0, t = "", n && (i.charCodeAt(0) === 65279 && m++, n = void 0); m < i.length; ) {
|
|
2878
|
+
if (Va.lastIndex = m, f = Va.exec(i), T = f && f.index !== void 0 ? f.index : i.length, E = i.charCodeAt(T), !f) {
|
|
2879
|
+
t = i.slice(m);
|
|
2880
2880
|
break;
|
|
2881
2881
|
}
|
|
2882
|
-
if (E === 10 &&
|
|
2882
|
+
if (E === 10 && m === T && r)
|
|
2883
2883
|
c.push(-3), r = void 0;
|
|
2884
2884
|
else
|
|
2885
|
-
switch (r && (c.push(-5), r = void 0),
|
|
2885
|
+
switch (r && (c.push(-5), r = void 0), m < T && (c.push(i.slice(m, T)), e += T - m), E) {
|
|
2886
2886
|
case 0: {
|
|
2887
2887
|
c.push(65533), e++;
|
|
2888
2888
|
break;
|
|
@@ -2899,7 +2899,7 @@ function A0() {
|
|
|
2899
2899
|
default:
|
|
2900
2900
|
r = !0, e = 1;
|
|
2901
2901
|
}
|
|
2902
|
-
|
|
2902
|
+
m = T + 1;
|
|
2903
2903
|
}
|
|
2904
2904
|
return l && (r && c.push(-5), t && c.push(t), c.push(null)), c;
|
|
2905
2905
|
}
|
|
@@ -2969,7 +2969,7 @@ function x0(e) {
|
|
|
2969
2969
|
link: i(ut),
|
|
2970
2970
|
listItem: i(ot),
|
|
2971
2971
|
listItemValue: T,
|
|
2972
|
-
listOrdered: i(Ge,
|
|
2972
|
+
listOrdered: i(Ge, m),
|
|
2973
2973
|
listUnordered: i(Ge),
|
|
2974
2974
|
paragraph: i(bt),
|
|
2975
2975
|
reference: y,
|
|
@@ -3175,7 +3175,7 @@ function x0(e) {
|
|
|
3175
3175
|
function d() {
|
|
3176
3176
|
return Xr(this.stack.pop());
|
|
3177
3177
|
}
|
|
3178
|
-
function
|
|
3178
|
+
function m() {
|
|
3179
3179
|
this.data.expectingFirstListItemValue = !0;
|
|
3180
3180
|
}
|
|
3181
3181
|
function T(j) {
|
|
@@ -3624,13 +3624,13 @@ function L0(e) {
|
|
|
3624
3624
|
function F0(e, t, n, r) {
|
|
3625
3625
|
const u = L0(n), i = e.value || "", a = u === "`" ? "GraveAccent" : "Tilde";
|
|
3626
3626
|
if (wi(e, n)) {
|
|
3627
|
-
const
|
|
3628
|
-
return
|
|
3627
|
+
const m = n.enter("codeIndented"), T = n.indentLines(i, v0);
|
|
3628
|
+
return m(), T;
|
|
3629
3629
|
}
|
|
3630
3630
|
const l = n.createTracker(r), c = u.repeat(Math.max(O0(i, u) + 1, 3)), f = n.enter("codeFenced");
|
|
3631
3631
|
let d = l.move(c);
|
|
3632
3632
|
if (e.lang) {
|
|
3633
|
-
const
|
|
3633
|
+
const m = n.enter(`codeFencedLang${a}`);
|
|
3634
3634
|
d += l.move(
|
|
3635
3635
|
n.safe(e.lang, {
|
|
3636
3636
|
before: d,
|
|
@@ -3638,10 +3638,10 @@ function F0(e, t, n, r) {
|
|
|
3638
3638
|
encode: ["`"],
|
|
3639
3639
|
...l.current()
|
|
3640
3640
|
})
|
|
3641
|
-
),
|
|
3641
|
+
), m();
|
|
3642
3642
|
}
|
|
3643
3643
|
if (e.lang && e.meta) {
|
|
3644
|
-
const
|
|
3644
|
+
const m = n.enter(`codeFencedMeta${a}`);
|
|
3645
3645
|
d += l.move(" "), d += l.move(
|
|
3646
3646
|
n.safe(e.meta, {
|
|
3647
3647
|
before: d,
|
|
@@ -3650,7 +3650,7 @@ function F0(e, t, n, r) {
|
|
|
3650
3650
|
encode: ["`"],
|
|
3651
3651
|
...l.current()
|
|
3652
3652
|
})
|
|
3653
|
-
),
|
|
3653
|
+
), m();
|
|
3654
3654
|
}
|
|
3655
3655
|
return d += l.move(`
|
|
3656
3656
|
`), i && (d += l.move(i + `
|
|
@@ -3810,16 +3810,16 @@ function ra(e, t, n, r) {
|
|
|
3810
3810
|
const i = Ru(u), a = r ? -1 : 1;
|
|
3811
3811
|
l(e, void 0, [])();
|
|
3812
3812
|
function l(c, f, d) {
|
|
3813
|
-
const
|
|
3813
|
+
const m = (
|
|
3814
3814
|
/** @type {Record<string, unknown>} */
|
|
3815
3815
|
c && typeof c == "object" ? c : {}
|
|
3816
3816
|
);
|
|
3817
|
-
if (typeof
|
|
3817
|
+
if (typeof m.type == "string") {
|
|
3818
3818
|
const E = (
|
|
3819
3819
|
// `hast`
|
|
3820
|
-
typeof
|
|
3820
|
+
typeof m.tagName == "string" ? m.tagName : (
|
|
3821
3821
|
// `xast`
|
|
3822
|
-
typeof
|
|
3822
|
+
typeof m.name == "string" ? m.name : void 0
|
|
3823
3823
|
)
|
|
3824
3824
|
);
|
|
3825
3825
|
Object.defineProperty(T, "name", {
|
|
@@ -3855,8 +3855,8 @@ function Nt(e, t, n, r) {
|
|
|
3855
3855
|
let u, i, a;
|
|
3856
3856
|
typeof t == "function" && typeof n != "function" ? (i = void 0, a = t, u = n) : (i = t, a = n, u = r), ra(e, i, l, u);
|
|
3857
3857
|
function l(c, f) {
|
|
3858
|
-
const d = f[f.length - 1],
|
|
3859
|
-
return a(c,
|
|
3858
|
+
const d = f[f.length - 1], m = d ? d.children.indexOf(c) : void 0;
|
|
3859
|
+
return a(c, m, d);
|
|
3860
3860
|
}
|
|
3861
3861
|
}
|
|
3862
3862
|
function Io(e, t) {
|
|
@@ -3869,14 +3869,14 @@ function Io(e, t) {
|
|
|
3869
3869
|
function q0(e, t, n, r) {
|
|
3870
3870
|
const u = Math.max(Math.min(6, e.depth || 1), 1), i = n.createTracker(r);
|
|
3871
3871
|
if (Io(e, n)) {
|
|
3872
|
-
const d = n.enter("headingSetext"),
|
|
3872
|
+
const d = n.enter("headingSetext"), m = n.enter("phrasing"), T = n.containerPhrasing(e, {
|
|
3873
3873
|
...i.current(),
|
|
3874
3874
|
before: `
|
|
3875
3875
|
`,
|
|
3876
3876
|
after: `
|
|
3877
3877
|
`
|
|
3878
3878
|
});
|
|
3879
|
-
return
|
|
3879
|
+
return m(), d(), T + `
|
|
3880
3880
|
` + (u === 1 ? "=" : "-").repeat(
|
|
3881
3881
|
// The whole size…
|
|
3882
3882
|
T.length - // Minus the position of the character after the last EOL (or
|
|
@@ -3945,12 +3945,12 @@ function Lo(e, t, n, r) {
|
|
|
3945
3945
|
c += l.move(f + "]["), a();
|
|
3946
3946
|
const d = n.stack;
|
|
3947
3947
|
n.stack = [], a = n.enter("reference");
|
|
3948
|
-
const
|
|
3948
|
+
const m = n.safe(n.associationId(e), {
|
|
3949
3949
|
before: c,
|
|
3950
3950
|
after: "]",
|
|
3951
3951
|
...l.current()
|
|
3952
3952
|
});
|
|
3953
|
-
return a(), n.stack = d, i(), u === "full" || !f || f !==
|
|
3953
|
+
return a(), n.stack = d, i(), u === "full" || !f || f !== m ? c += l.move(m + "]") : u === "shortcut" ? c = c.slice(0, -1) : c += l.move("]"), c;
|
|
3954
3954
|
}
|
|
3955
3955
|
function Q0() {
|
|
3956
3956
|
return "!";
|
|
@@ -3992,14 +3992,14 @@ function wo(e, t, n, r) {
|
|
|
3992
3992
|
if (vo(e, n)) {
|
|
3993
3993
|
const d = n.stack;
|
|
3994
3994
|
n.stack = [], l = n.enter("autolink");
|
|
3995
|
-
let
|
|
3996
|
-
return
|
|
3995
|
+
let m = a.move("<");
|
|
3996
|
+
return m += a.move(
|
|
3997
3997
|
n.containerPhrasing(e, {
|
|
3998
|
-
before:
|
|
3998
|
+
before: m,
|
|
3999
3999
|
after: ">",
|
|
4000
4000
|
...a.current()
|
|
4001
4001
|
})
|
|
4002
|
-
),
|
|
4002
|
+
), m += a.move(">"), l(), n.stack = d, m;
|
|
4003
4003
|
}
|
|
4004
4004
|
l = n.enter("link"), c = n.enter("label");
|
|
4005
4005
|
let f = a.move("[");
|
|
@@ -4044,12 +4044,12 @@ function Po(e, t, n, r) {
|
|
|
4044
4044
|
c += l.move(f + "]["), a();
|
|
4045
4045
|
const d = n.stack;
|
|
4046
4046
|
n.stack = [], a = n.enter("reference");
|
|
4047
|
-
const
|
|
4047
|
+
const m = n.safe(n.associationId(e), {
|
|
4048
4048
|
before: c,
|
|
4049
4049
|
after: "]",
|
|
4050
4050
|
...l.current()
|
|
4051
4051
|
});
|
|
4052
|
-
return a(), n.stack = d, i(), u === "full" || !f || f !==
|
|
4052
|
+
return a(), n.stack = d, i(), u === "full" || !f || f !== m ? c += l.move(m + "]") : u === "shortcut" ? c = c.slice(0, -1) : c += l.move("]"), c;
|
|
4053
4053
|
}
|
|
4054
4054
|
function J0() {
|
|
4055
4055
|
return "[";
|
|
@@ -4106,9 +4106,9 @@ function td(e, t, n, r) {
|
|
|
4106
4106
|
n.stack[n.stack.length - 1] === "list" && n.stack[n.stack.length - 2] === "listItem" && n.stack[n.stack.length - 3] === "list" && n.stack[n.stack.length - 4] === "listItem" && // That are each the first child.
|
|
4107
4107
|
n.indexStack[n.indexStack.length - 1] === 0 && n.indexStack[n.indexStack.length - 2] === 0 && n.indexStack[n.indexStack.length - 3] === 0 && (c = !0), Bo(n) === a && d
|
|
4108
4108
|
) {
|
|
4109
|
-
let
|
|
4110
|
-
for (; ++
|
|
4111
|
-
const T = e.children[
|
|
4109
|
+
let m = -1;
|
|
4110
|
+
for (; ++m < e.children.length; ) {
|
|
4111
|
+
const T = e.children[m];
|
|
4112
4112
|
if (T && T.type === "listItem" && T.children && T.children[0] && T.children[0].type === "thematicBreak") {
|
|
4113
4113
|
c = !0;
|
|
4114
4114
|
break;
|
|
@@ -4141,8 +4141,8 @@ function rd(e, t, n, r) {
|
|
|
4141
4141
|
d
|
|
4142
4142
|
);
|
|
4143
4143
|
return c(), f;
|
|
4144
|
-
function d(
|
|
4145
|
-
return T ? (E ? "" : " ".repeat(a)) +
|
|
4144
|
+
function d(m, T, E) {
|
|
4145
|
+
return T ? (E ? "" : " ".repeat(a)) + m : (E ? i : i + " ".repeat(a - i.length)) + m;
|
|
4146
4146
|
}
|
|
4147
4147
|
}
|
|
4148
4148
|
function ud(e, t, n, r) {
|
|
@@ -4407,8 +4407,8 @@ function gd(e, t, n) {
|
|
|
4407
4407
|
const f = u[a];
|
|
4408
4408
|
let d;
|
|
4409
4409
|
if (r[r.length - 1] = a, a + 1 < u.length) {
|
|
4410
|
-
let
|
|
4411
|
-
|
|
4410
|
+
let m = t.handle.handlers[u[a + 1].type];
|
|
4411
|
+
m && m.peek && (m = m.peek), d = m ? m(u[a + 1], e, t, {
|
|
4412
4412
|
before: "",
|
|
4413
4413
|
after: "",
|
|
4414
4414
|
...c.current()
|
|
@@ -4490,9 +4490,9 @@ function yd(e, t, n) {
|
|
|
4490
4490
|
const d = e.unsafe[l];
|
|
4491
4491
|
if (!So(e.stack, d))
|
|
4492
4492
|
continue;
|
|
4493
|
-
const
|
|
4493
|
+
const m = e.compilePattern(d);
|
|
4494
4494
|
let T;
|
|
4495
|
-
for (; T =
|
|
4495
|
+
for (; T = m.exec(r); ) {
|
|
4496
4496
|
const E = "before" in d || !!d.atBreak, D = "after" in d, F = T.index + (E ? T[1].length : 0);
|
|
4497
4497
|
u.includes(F) ? (a[F].before && !E && (a[F].before = !1), a[F].after && !D && (a[F].after = !1)) : (u.push(F), a[F] = { before: E, after: D });
|
|
4498
4498
|
}
|
|
@@ -4531,8 +4531,8 @@ function Dd(e) {
|
|
|
4531
4531
|
r += f;
|
|
4532
4532
|
}
|
|
4533
4533
|
function c(f) {
|
|
4534
|
-
const d = f || "",
|
|
4535
|
-
return u +=
|
|
4534
|
+
const d = f || "", m = d.split(/\r?\n|\r/g), T = m[m.length - 1];
|
|
4535
|
+
return u += m.length - 1, i = m.length === 1 ? i + T.length : 1 + T.length + r, d;
|
|
4536
4536
|
}
|
|
4537
4537
|
}
|
|
4538
4538
|
function xd(e, t = {}) {
|
|
@@ -4672,13 +4672,13 @@ function vd() {
|
|
|
4672
4672
|
l(null, ...u);
|
|
4673
4673
|
function l(c, ...f) {
|
|
4674
4674
|
const d = e[++i];
|
|
4675
|
-
let
|
|
4675
|
+
let m = -1;
|
|
4676
4676
|
if (c) {
|
|
4677
4677
|
a(c);
|
|
4678
4678
|
return;
|
|
4679
4679
|
}
|
|
4680
|
-
for (; ++
|
|
4681
|
-
(f[
|
|
4680
|
+
for (; ++m < u.length; )
|
|
4681
|
+
(f[m] === null || f[m] === void 0) && (f[m] = u[m]);
|
|
4682
4682
|
u = f, d ? wd(d, l)(...f) : a(null, ...f);
|
|
4683
4683
|
}
|
|
4684
4684
|
}
|
|
@@ -5578,13 +5578,13 @@ class aa extends Gd {
|
|
|
5578
5578
|
/** @type {unknown} */
|
|
5579
5579
|
r.parse(l)
|
|
5580
5580
|
);
|
|
5581
|
-
r.run(c, l, function(d,
|
|
5582
|
-
if (d || !
|
|
5581
|
+
r.run(c, l, function(d, m, T) {
|
|
5582
|
+
if (d || !m || !T)
|
|
5583
5583
|
return f(d);
|
|
5584
5584
|
const E = (
|
|
5585
5585
|
/** @type {CompileTree extends undefined ? Node : CompileTree} */
|
|
5586
5586
|
/** @type {unknown} */
|
|
5587
|
-
|
|
5587
|
+
m
|
|
5588
5588
|
), D = r.stringify(E, T);
|
|
5589
5589
|
Kd(D) ? T.value = D : T.result = D, f(
|
|
5590
5590
|
d,
|
|
@@ -5592,8 +5592,8 @@ class aa extends Gd {
|
|
|
5592
5592
|
T
|
|
5593
5593
|
);
|
|
5594
5594
|
});
|
|
5595
|
-
function f(d,
|
|
5596
|
-
d || !
|
|
5595
|
+
function f(d, m) {
|
|
5596
|
+
d || !m ? a(d) : i ? i(m) : n(void 0, m);
|
|
5597
5597
|
}
|
|
5598
5598
|
}
|
|
5599
5599
|
}
|
|
@@ -5680,10 +5680,10 @@ class aa extends Gd {
|
|
|
5680
5680
|
function i(a, l) {
|
|
5681
5681
|
const c = su(n);
|
|
5682
5682
|
u.run(t, c, f);
|
|
5683
|
-
function f(d,
|
|
5683
|
+
function f(d, m, T) {
|
|
5684
5684
|
const E = (
|
|
5685
5685
|
/** @type {TailTree extends undefined ? Node : TailTree} */
|
|
5686
|
-
|
|
5686
|
+
m || t
|
|
5687
5687
|
);
|
|
5688
5688
|
d ? l(d) : a ? a(E) : r(void 0, E, T);
|
|
5689
5689
|
}
|
|
@@ -5819,11 +5819,11 @@ class aa extends Gd {
|
|
|
5819
5819
|
c(f, []);
|
|
5820
5820
|
else if (typeof f == "object")
|
|
5821
5821
|
if (Array.isArray(f)) {
|
|
5822
|
-
const [d, ...
|
|
5822
|
+
const [d, ...m] = (
|
|
5823
5823
|
/** @type {PluginTuple<Array<unknown>>} */
|
|
5824
5824
|
f
|
|
5825
5825
|
);
|
|
5826
|
-
c(d,
|
|
5826
|
+
c(d, m);
|
|
5827
5827
|
} else
|
|
5828
5828
|
a(f);
|
|
5829
5829
|
else
|
|
@@ -5841,17 +5841,17 @@ class aa extends Gd {
|
|
|
5841
5841
|
if (f != null)
|
|
5842
5842
|
if (Array.isArray(f))
|
|
5843
5843
|
for (; ++d < f.length; ) {
|
|
5844
|
-
const
|
|
5845
|
-
i(
|
|
5844
|
+
const m = f[d];
|
|
5845
|
+
i(m);
|
|
5846
5846
|
}
|
|
5847
5847
|
else
|
|
5848
5848
|
throw new TypeError("Expected a list of plugins, not `" + f + "`");
|
|
5849
5849
|
}
|
|
5850
5850
|
function c(f, d) {
|
|
5851
|
-
let
|
|
5852
|
-
for (; ++
|
|
5853
|
-
if (r[
|
|
5854
|
-
T =
|
|
5851
|
+
let m = -1, T = -1;
|
|
5852
|
+
for (; ++m < r.length; )
|
|
5853
|
+
if (r[m][0] === f) {
|
|
5854
|
+
T = m;
|
|
5855
5855
|
break;
|
|
5856
5856
|
}
|
|
5857
5857
|
if (T === -1)
|
|
@@ -5922,9 +5922,9 @@ function jo(e, t, n) {
|
|
|
5922
5922
|
for (; ++a < i.length; )
|
|
5923
5923
|
ra(e, "text", l);
|
|
5924
5924
|
function l(f, d) {
|
|
5925
|
-
let
|
|
5926
|
-
for (; ++
|
|
5927
|
-
const E = d[
|
|
5925
|
+
let m = -1, T;
|
|
5926
|
+
for (; ++m < d.length; ) {
|
|
5927
|
+
const E = d[m], D = T ? T.children : void 0;
|
|
5928
5928
|
if (u(
|
|
5929
5929
|
E,
|
|
5930
5930
|
D ? D.indexOf(E) : void 0,
|
|
@@ -5937,9 +5937,9 @@ function jo(e, t, n) {
|
|
|
5937
5937
|
return c(f, d);
|
|
5938
5938
|
}
|
|
5939
5939
|
function c(f, d) {
|
|
5940
|
-
const
|
|
5940
|
+
const m = d[d.length - 1], T = i[a][0], E = i[a][1];
|
|
5941
5941
|
let D = 0;
|
|
5942
|
-
const L =
|
|
5942
|
+
const L = m.children.indexOf(f);
|
|
5943
5943
|
let w = !1, M = [];
|
|
5944
5944
|
T.lastIndex = 0;
|
|
5945
5945
|
let V = T.exec(f.value);
|
|
@@ -5957,7 +5957,7 @@ function jo(e, t, n) {
|
|
|
5957
5957
|
break;
|
|
5958
5958
|
V = T.exec(f.value);
|
|
5959
5959
|
}
|
|
5960
|
-
return w ? (D < f.value.length && M.push({ type: "text", value: f.value.slice(D) }),
|
|
5960
|
+
return w ? (D < f.value.length && M.push({ type: "text", value: f.value.slice(D) }), m.children.splice(L, 1, ...M)) : M = [f], L + M.length;
|
|
5961
5961
|
}
|
|
5962
5962
|
}
|
|
5963
5963
|
function th(e) {
|
|
@@ -6265,7 +6265,7 @@ function wh(e, t = {}) {
|
|
|
6265
6265
|
u[d] = D;
|
|
6266
6266
|
}
|
|
6267
6267
|
d = -1;
|
|
6268
|
-
const
|
|
6268
|
+
const m = [], T = [];
|
|
6269
6269
|
for (; ++d < c; ) {
|
|
6270
6270
|
const D = u[d];
|
|
6271
6271
|
let F = "", L = "";
|
|
@@ -6275,9 +6275,9 @@ function wh(e, t = {}) {
|
|
|
6275
6275
|
l[d] - F.length - L.length
|
|
6276
6276
|
);
|
|
6277
6277
|
const M = F + "-".repeat(w) + L;
|
|
6278
|
-
t.alignDelimiters !== !1 && (w = F.length + w + L.length, w > l[d] && (l[d] = w), T[d] = w),
|
|
6278
|
+
t.alignDelimiters !== !1 && (w = F.length + w + L.length, w > l[d] && (l[d] = w), T[d] = w), m[d] = M;
|
|
6279
6279
|
}
|
|
6280
|
-
i.splice(1, 0,
|
|
6280
|
+
i.splice(1, 0, m), a.splice(1, 0, T), f = -1;
|
|
6281
6281
|
const E = [];
|
|
6282
6282
|
for (; ++f < i.length; ) {
|
|
6283
6283
|
const D = i[f], F = a[f];
|
|
@@ -6395,7 +6395,7 @@ function $h(e) {
|
|
|
6395
6395
|
return f(d(E, F, L), E.align);
|
|
6396
6396
|
}
|
|
6397
6397
|
function l(E, D, F, L) {
|
|
6398
|
-
const w =
|
|
6398
|
+
const w = m(E, F, L), M = f([w]);
|
|
6399
6399
|
return M.slice(0, M.indexOf(`
|
|
6400
6400
|
`));
|
|
6401
6401
|
}
|
|
@@ -6423,10 +6423,10 @@ function $h(e) {
|
|
|
6423
6423
|
let w = -1;
|
|
6424
6424
|
const M = [], V = D.enter("table");
|
|
6425
6425
|
for (; ++w < L.length; )
|
|
6426
|
-
M[w] =
|
|
6426
|
+
M[w] = m(L[w], D, F);
|
|
6427
6427
|
return V(), M;
|
|
6428
6428
|
}
|
|
6429
|
-
function
|
|
6429
|
+
function m(E, D, F) {
|
|
6430
6430
|
const L = E.children;
|
|
6431
6431
|
let w = -1;
|
|
6432
6432
|
const M = [], V = D.enter("tableRow");
|
|
@@ -6559,20 +6559,20 @@ function ep(e, t, n) {
|
|
|
6559
6559
|
const r = this;
|
|
6560
6560
|
let u, i;
|
|
6561
6561
|
return a;
|
|
6562
|
-
function a(
|
|
6563
|
-
return !Hi(
|
|
6562
|
+
function a(m) {
|
|
6563
|
+
return !Hi(m) || !Jo.call(r, r.previous) || sa(r.events) ? n(m) : (e.enter("literalAutolink"), e.enter("literalAutolinkEmail"), l(m));
|
|
6564
6564
|
}
|
|
6565
|
-
function l(
|
|
6566
|
-
return Hi(
|
|
6565
|
+
function l(m) {
|
|
6566
|
+
return Hi(m) ? (e.consume(m), l) : m === 64 ? (e.consume(m), c) : n(m);
|
|
6567
6567
|
}
|
|
6568
|
-
function c(
|
|
6569
|
-
return
|
|
6568
|
+
function c(m) {
|
|
6569
|
+
return m === 46 ? e.check(Jh, d, f)(m) : m === 45 || m === 95 || st(m) ? (i = !0, e.consume(m), c) : d(m);
|
|
6570
6570
|
}
|
|
6571
|
-
function f(
|
|
6572
|
-
return e.consume(
|
|
6571
|
+
function f(m) {
|
|
6572
|
+
return e.consume(m), u = !0, c;
|
|
6573
6573
|
}
|
|
6574
|
-
function d(
|
|
6575
|
-
return i && u && ht(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(
|
|
6574
|
+
function d(m) {
|
|
6575
|
+
return i && u && ht(r.previous) ? (e.exit("literalAutolinkEmail"), e.exit("literalAutolink"), t(m)) : n(m);
|
|
6576
6576
|
}
|
|
6577
6577
|
}
|
|
6578
6578
|
function tp(e, t, n) {
|
|
@@ -6589,27 +6589,27 @@ function np(e, t, n) {
|
|
|
6589
6589
|
const r = this;
|
|
6590
6590
|
let u = "", i = !1;
|
|
6591
6591
|
return a;
|
|
6592
|
-
function a(
|
|
6593
|
-
return (
|
|
6592
|
+
function a(m) {
|
|
6593
|
+
return (m === 72 || m === 104) && Ko.call(r, r.previous) && !sa(r.events) ? (e.enter("literalAutolink"), e.enter("literalAutolinkHttp"), u += String.fromCodePoint(m), e.consume(m), l) : n(m);
|
|
6594
6594
|
}
|
|
6595
|
-
function l(
|
|
6596
|
-
if (ht(
|
|
6597
|
-
return u += String.fromCodePoint(
|
|
6598
|
-
if (
|
|
6595
|
+
function l(m) {
|
|
6596
|
+
if (ht(m) && u.length < 5)
|
|
6597
|
+
return u += String.fromCodePoint(m), e.consume(m), l;
|
|
6598
|
+
if (m === 58) {
|
|
6599
6599
|
const T = u.toLowerCase();
|
|
6600
6600
|
if (T === "http" || T === "https")
|
|
6601
|
-
return e.consume(
|
|
6601
|
+
return e.consume(m), c;
|
|
6602
6602
|
}
|
|
6603
|
-
return n(
|
|
6603
|
+
return n(m);
|
|
6604
6604
|
}
|
|
6605
|
-
function c(
|
|
6606
|
-
return
|
|
6605
|
+
function c(m) {
|
|
6606
|
+
return m === 47 ? (e.consume(m), i ? f : (i = !0, c)) : n(m);
|
|
6607
6607
|
}
|
|
6608
|
-
function f(
|
|
6609
|
-
return
|
|
6608
|
+
function f(m) {
|
|
6609
|
+
return m === null || Au(m) || Ue(m) || Vn(m) || Nu(m) ? n(m) : e.attempt(Vo, e.attempt(qo, d), n)(m);
|
|
6610
6610
|
}
|
|
6611
|
-
function d(
|
|
6612
|
-
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(
|
|
6611
|
+
function d(m) {
|
|
6612
|
+
return e.exit("literalAutolinkHttp"), e.exit("literalAutolink"), t(m);
|
|
6613
6613
|
}
|
|
6614
6614
|
}
|
|
6615
6615
|
function rp(e, t, n) {
|
|
@@ -6809,30 +6809,30 @@ function dp(e, t, n) {
|
|
|
6809
6809
|
const r = this, u = r.parser.gfmFootnotes || (r.parser.gfmFootnotes = []);
|
|
6810
6810
|
let i = 0, a;
|
|
6811
6811
|
return l;
|
|
6812
|
-
function l(
|
|
6813
|
-
return e.enter("gfmFootnoteCall"), e.enter("gfmFootnoteCallLabelMarker"), e.consume(
|
|
6812
|
+
function l(m) {
|
|
6813
|
+
return e.enter("gfmFootnoteCall"), e.enter("gfmFootnoteCallLabelMarker"), e.consume(m), e.exit("gfmFootnoteCallLabelMarker"), c;
|
|
6814
6814
|
}
|
|
6815
|
-
function c(
|
|
6816
|
-
return
|
|
6815
|
+
function c(m) {
|
|
6816
|
+
return m !== 94 ? n(m) : (e.enter("gfmFootnoteCallMarker"), e.consume(m), e.exit("gfmFootnoteCallMarker"), e.enter("gfmFootnoteCallString"), e.enter("chunkString").contentType = "string", f);
|
|
6817
6817
|
}
|
|
6818
|
-
function f(
|
|
6818
|
+
function f(m) {
|
|
6819
6819
|
if (
|
|
6820
6820
|
// Too long.
|
|
6821
6821
|
i > 999 || // Closing brace with nothing.
|
|
6822
|
-
|
|
6822
|
+
m === 93 && !a || // Space or tab is not supported by GFM for some reason.
|
|
6823
6823
|
// `\n` and `[` not being supported makes sense.
|
|
6824
|
-
|
|
6824
|
+
m === null || m === 91 || Ue(m)
|
|
6825
6825
|
)
|
|
6826
|
-
return n(
|
|
6827
|
-
if (
|
|
6826
|
+
return n(m);
|
|
6827
|
+
if (m === 93) {
|
|
6828
6828
|
e.exit("chunkString");
|
|
6829
6829
|
const T = e.exit("gfmFootnoteCallString");
|
|
6830
|
-
return u.includes(Gt(r.sliceSerialize(T))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(
|
|
6830
|
+
return u.includes(Gt(r.sliceSerialize(T))) ? (e.enter("gfmFootnoteCallLabelMarker"), e.consume(m), e.exit("gfmFootnoteCallLabelMarker"), e.exit("gfmFootnoteCall"), t) : n(m);
|
|
6831
6831
|
}
|
|
6832
|
-
return Ue(
|
|
6832
|
+
return Ue(m) || (a = !0), i++, e.consume(m), m === 92 ? d : f;
|
|
6833
6833
|
}
|
|
6834
|
-
function d(
|
|
6835
|
-
return
|
|
6834
|
+
function d(m) {
|
|
6835
|
+
return m === 91 || m === 92 || m === 93 ? (e.consume(m), i++, f) : f(m);
|
|
6836
6836
|
}
|
|
6837
6837
|
}
|
|
6838
6838
|
function hp(e, t, n) {
|
|
@@ -6859,9 +6859,9 @@ function hp(e, t, n) {
|
|
|
6859
6859
|
const F = e.exit("gfmFootnoteDefinitionLabelString");
|
|
6860
6860
|
return i = Gt(r.sliceSerialize(F)), e.enter("gfmFootnoteDefinitionLabelMarker"), e.consume(D), e.exit("gfmFootnoteDefinitionLabelMarker"), e.exit("gfmFootnoteDefinitionLabel"), T;
|
|
6861
6861
|
}
|
|
6862
|
-
return Ue(D) || (l = !0), a++, e.consume(D), D === 92 ?
|
|
6862
|
+
return Ue(D) || (l = !0), a++, e.consume(D), D === 92 ? m : d;
|
|
6863
6863
|
}
|
|
6864
|
-
function
|
|
6864
|
+
function m(D) {
|
|
6865
6865
|
return D === 91 || D === 92 || D === 93 ? (e.consume(D), a++, d) : d(D);
|
|
6866
6866
|
}
|
|
6867
6867
|
function T(D) {
|
|
@@ -6916,12 +6916,12 @@ function gp(e) {
|
|
|
6916
6916
|
type: "strikethrough",
|
|
6917
6917
|
start: Object.assign({}, a[f][1].start),
|
|
6918
6918
|
end: Object.assign({}, a[c][1].end)
|
|
6919
|
-
},
|
|
6919
|
+
}, m = {
|
|
6920
6920
|
type: "strikethroughText",
|
|
6921
6921
|
start: Object.assign({}, a[f][1].end),
|
|
6922
6922
|
end: Object.assign({}, a[c][1].start)
|
|
6923
|
-
}, T = [["enter", d, l], ["enter", a[f][1], l], ["exit", a[f][1], l], ["enter",
|
|
6924
|
-
E && Bt(T, T.length, 0, Iu(E, a.slice(f + 1, c), l)), Bt(T, T.length, 0, [["exit",
|
|
6923
|
+
}, T = [["enter", d, l], ["enter", a[f][1], l], ["exit", a[f][1], l], ["enter", m, l]], E = l.parser.constructs.insideSpan.null;
|
|
6924
|
+
E && Bt(T, T.length, 0, Iu(E, a.slice(f + 1, c), l)), Bt(T, T.length, 0, [["exit", m, l], ["enter", a[c][1], l], ["exit", a[c][1], l], ["exit", d, l]]), Bt(a, f - 1, c - f + 3, T), c = f + T.length - 2;
|
|
6925
6925
|
break;
|
|
6926
6926
|
}
|
|
6927
6927
|
}
|
|
@@ -6931,7 +6931,7 @@ function gp(e) {
|
|
|
6931
6931
|
}
|
|
6932
6932
|
function i(a, l, c) {
|
|
6933
6933
|
const f = this.previous, d = this.events;
|
|
6934
|
-
let
|
|
6934
|
+
let m = 0;
|
|
6935
6935
|
return T;
|
|
6936
6936
|
function T(D) {
|
|
6937
6937
|
return f === 126 && d[d.length - 1][1].type !== "characterEscape" ? c(D) : (a.enter("strikethroughSequenceTemporary"), E(D));
|
|
@@ -6939,8 +6939,8 @@ function gp(e) {
|
|
|
6939
6939
|
function E(D) {
|
|
6940
6940
|
const F = yu(f);
|
|
6941
6941
|
if (D === 126)
|
|
6942
|
-
return
|
|
6943
|
-
if (
|
|
6942
|
+
return m > 1 ? c(D) : (a.consume(D), m++, E);
|
|
6943
|
+
if (m < 2 && !n)
|
|
6944
6944
|
return c(D);
|
|
6945
6945
|
const L = a.exit("strikethroughSequenceTemporary"), w = yu(D);
|
|
6946
6946
|
return L._open = !w || w === 2 && !!F, L._close = !F || F === 2 && !!w, l(D);
|
|
@@ -7068,13 +7068,13 @@ function yp(e, t, n) {
|
|
|
7068
7068
|
return P === 124 || (a = !0, i += 1), d(P);
|
|
7069
7069
|
}
|
|
7070
7070
|
function d(P) {
|
|
7071
|
-
return P === null ? n(P) : me(P) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(P), e.exit("lineEnding"), E) : n(P) : Le(P) ? Re(e, d, "whitespace")(P) : (i += 1, a && (a = !1, u += 1), P === 124 ? (e.enter("tableCellDivider"), e.consume(P), e.exit("tableCellDivider"), a = !0, d) : (e.enter("data"),
|
|
7071
|
+
return P === null ? n(P) : me(P) ? i > 1 ? (i = 0, r.interrupt = !0, e.exit("tableRow"), e.enter("lineEnding"), e.consume(P), e.exit("lineEnding"), E) : n(P) : Le(P) ? Re(e, d, "whitespace")(P) : (i += 1, a && (a = !1, u += 1), P === 124 ? (e.enter("tableCellDivider"), e.consume(P), e.exit("tableCellDivider"), a = !0, d) : (e.enter("data"), m(P)));
|
|
7072
7072
|
}
|
|
7073
|
-
function
|
|
7074
|
-
return P === null || P === 124 || Ue(P) ? (e.exit("data"), d(P)) : (e.consume(P), P === 92 ? T :
|
|
7073
|
+
function m(P) {
|
|
7074
|
+
return P === null || P === 124 || Ue(P) ? (e.exit("data"), d(P)) : (e.consume(P), P === 92 ? T : m);
|
|
7075
7075
|
}
|
|
7076
7076
|
function T(P) {
|
|
7077
|
-
return P === 92 || P === 124 ? (e.consume(P),
|
|
7077
|
+
return P === 92 || P === 124 ? (e.consume(P), m) : m(P);
|
|
7078
7078
|
}
|
|
7079
7079
|
function E(P) {
|
|
7080
7080
|
return r.interrupt = !1, r.parser.lazy[r.now().line] ? n(P) : (e.enter("tableDelimiterRow"), a = !1, Le(P) ? Re(e, D, "linePrefix", r.parser.constructs.disable.null.includes("codeIndented") ? void 0 : 4)(P) : D(P));
|
|
@@ -7117,7 +7117,7 @@ function yp(e, t, n) {
|
|
|
7117
7117
|
}
|
|
7118
7118
|
}
|
|
7119
7119
|
function Cp(e, t) {
|
|
7120
|
-
let n = -1, r = !0, u = 0, i = [0, 0, 0, 0], a = [0, 0, 0, 0], l = !1, c = 0, f, d,
|
|
7120
|
+
let n = -1, r = !0, u = 0, i = [0, 0, 0, 0], a = [0, 0, 0, 0], l = !1, c = 0, f, d, m;
|
|
7121
7121
|
const T = new bp();
|
|
7122
7122
|
for (; ++n < e.length; ) {
|
|
7123
7123
|
const E = e[n], D = E[1];
|
|
@@ -7126,12 +7126,12 @@ function Cp(e, t) {
|
|
|
7126
7126
|
start: Object.assign({}, D.start),
|
|
7127
7127
|
// Note: correct end is set later.
|
|
7128
7128
|
end: Object.assign({}, D.end)
|
|
7129
|
-
}, T.add(n, 0, [["enter", f, t]])) : D.type === "tableRow" || D.type === "tableDelimiterRow" ? (r = !0,
|
|
7129
|
+
}, T.add(n, 0, [["enter", f, t]])) : D.type === "tableRow" || D.type === "tableDelimiterRow" ? (r = !0, m = void 0, i = [0, 0, 0, 0], a = [0, n + 1, 0, 0], l && (l = !1, d = {
|
|
7130
7130
|
type: "tableBody",
|
|
7131
7131
|
start: Object.assign({}, D.start),
|
|
7132
7132
|
// Note: correct end is set later.
|
|
7133
7133
|
end: Object.assign({}, D.end)
|
|
7134
|
-
}, T.add(n, 0, [["enter", d, t]])), u = D.type === "tableDelimiterRow" ? 2 : d ? 3 : 1) : u && (D.type === "data" || D.type === "tableDelimiterMarker" || D.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (i[1] !== 0 && (a[0] = a[1],
|
|
7134
|
+
}, T.add(n, 0, [["enter", d, t]])), u = D.type === "tableDelimiterRow" ? 2 : d ? 3 : 1) : u && (D.type === "data" || D.type === "tableDelimiterMarker" || D.type === "tableDelimiterFiller") ? (r = !1, a[2] === 0 && (i[1] !== 0 && (a[0] = a[1], m = ou(T, t, i, u, void 0, m), i = [0, 0, 0, 0]), a[2] = n)) : D.type === "tableCellDivider" && (r ? r = !1 : (i[1] !== 0 && (a[0] = a[1], m = ou(T, t, i, u, void 0, m)), i = a, a = [i[1], n, 0, 0])) : D.type === "tableHead" ? (l = !0, c = n) : D.type === "tableRow" || D.type === "tableDelimiterRow" ? (c = n, i[1] !== 0 ? (a[0] = a[1], m = ou(T, t, i, u, n, m)) : a[1] !== 0 && (m = ou(T, t, a, u, n, m)), u = 0) : u && (D.type === "data" || D.type === "tableDelimiterMarker" || D.type === "tableDelimiterFiller") && (a[3] = n);
|
|
7135
7135
|
}
|
|
7136
7136
|
for (c !== 0 && ps(T, t, c, f, d), T.consume(t.events), n = -1; ++n < t.events.length; ) {
|
|
7137
7137
|
const E = t.events[n];
|
|
@@ -7149,19 +7149,19 @@ function ou(e, t, n, r, u, i) {
|
|
|
7149
7149
|
// Note: correct end is set later.
|
|
7150
7150
|
end: Object.assign({}, c)
|
|
7151
7151
|
}, e.add(n[1], 0, [["enter", i, t]]), n[2] !== 0) {
|
|
7152
|
-
const f = Kn(t.events, n[2]), d = Kn(t.events, n[3]),
|
|
7152
|
+
const f = Kn(t.events, n[2]), d = Kn(t.events, n[3]), m = {
|
|
7153
7153
|
type: l,
|
|
7154
7154
|
start: Object.assign({}, f),
|
|
7155
7155
|
end: Object.assign({}, d)
|
|
7156
7156
|
};
|
|
7157
|
-
if (e.add(n[2], 0, [["enter",
|
|
7157
|
+
if (e.add(n[2], 0, [["enter", m, t]]), r !== 2) {
|
|
7158
7158
|
const T = t.events[n[2]], E = t.events[n[3]];
|
|
7159
7159
|
if (T[1].end = Object.assign({}, E[1].end), T[1].type = "chunkText", T[1].contentType = "text", n[3] > n[2] + 1) {
|
|
7160
7160
|
const D = n[2] + 1, F = n[3] - n[2] - 1;
|
|
7161
7161
|
e.add(D, F, []);
|
|
7162
7162
|
}
|
|
7163
7163
|
}
|
|
7164
|
-
e.add(n[3] + 1, 0, [["exit",
|
|
7164
|
+
e.add(n[3] + 1, 0, [["exit", m, t]]);
|
|
7165
7165
|
}
|
|
7166
7166
|
return u !== void 0 && (i.end = Object.assign({}, Kn(t.events, u)), e.add(u, 0, [["exit", i, t]]), i = void 0), i;
|
|
7167
7167
|
}
|
|
@@ -7403,7 +7403,7 @@ function oa(e, t = {}) {
|
|
|
7403
7403
|
const n = typeof t.additional == "string" ? t.additional.charCodeAt(0) : t.additional, r = [];
|
|
7404
7404
|
let u = 0, i = -1, a = "", l, c;
|
|
7405
7405
|
t.position && ("start" in t.position || "indent" in t.position ? (c = t.position.indent, l = t.position.start) : l = t.position);
|
|
7406
|
-
let f = (l ? l.line : 0) || 1, d = (l ? l.column : 0) || 1,
|
|
7406
|
+
let f = (l ? l.line : 0) || 1, d = (l ? l.column : 0) || 1, m = E(), T;
|
|
7407
7407
|
for (u--; ++u <= e.length; )
|
|
7408
7408
|
if (T === 10 && (d = (c ? c[i] : 0) || 1), T = e.charCodeAt(u), T === 38) {
|
|
7409
7409
|
const L = e.charCodeAt(u + 1);
|
|
@@ -7468,14 +7468,14 @@ function oa(e, t = {}) {
|
|
|
7468
7468
|
}
|
|
7469
7469
|
}
|
|
7470
7470
|
if (te) {
|
|
7471
|
-
F(),
|
|
7471
|
+
F(), m = E(), u = V - 1, d += V - w + 1, r.push(te);
|
|
7472
7472
|
const q = E();
|
|
7473
7473
|
q.offset++, t.reference && t.reference.call(
|
|
7474
7474
|
t.referenceContext,
|
|
7475
7475
|
te,
|
|
7476
|
-
{ start:
|
|
7476
|
+
{ start: m, end: q },
|
|
7477
7477
|
e.slice(w - 1, V)
|
|
7478
|
-
),
|
|
7478
|
+
), m = q;
|
|
7479
7479
|
} else
|
|
7480
7480
|
U = e.slice(w - 1, V), a += U, d += U.length, u = V - 1;
|
|
7481
7481
|
} else
|
|
@@ -7499,7 +7499,7 @@ function oa(e, t = {}) {
|
|
|
7499
7499
|
}
|
|
7500
7500
|
function F() {
|
|
7501
7501
|
a && (r.push(a), t.text && t.text.call(t.textContext, a, {
|
|
7502
|
-
start:
|
|
7502
|
+
start: m,
|
|
7503
7503
|
end: E()
|
|
7504
7504
|
}), a = "");
|
|
7505
7505
|
}
|
|
@@ -7696,7 +7696,7 @@ function Eu(e, t, n, r) {
|
|
|
7696
7696
|
} else
|
|
7697
7697
|
c = e;
|
|
7698
7698
|
if (c && c.children && c.children.length > 0) {
|
|
7699
|
-
const f = n.enter("label"), d = `${e.type}Label`,
|
|
7699
|
+
const f = n.enter("label"), d = `${e.type}Label`, m = n.enter(d);
|
|
7700
7700
|
l += u.move("["), l += u.move(
|
|
7701
7701
|
// @ts-expect-error: `containerPhrasing` is typed correctly, but TS
|
|
7702
7702
|
// generates *hardcoded* types, which means that our dynamically added
|
|
@@ -7707,7 +7707,7 @@ function Eu(e, t, n, r) {
|
|
|
7707
7707
|
before: l,
|
|
7708
7708
|
after: "]"
|
|
7709
7709
|
})
|
|
7710
|
-
), l += u.move("]"),
|
|
7710
|
+
), l += u.move("]"), m(), f();
|
|
7711
7711
|
}
|
|
7712
7712
|
if (l += u.move(tm(e, n)), e.type === "containerDirective") {
|
|
7713
7713
|
const f = (e.children || [])[0];
|
|
@@ -7727,11 +7727,11 @@ function tm(e, t) {
|
|
|
7727
7727
|
let a, l, c, f;
|
|
7728
7728
|
for (f in u)
|
|
7729
7729
|
if (qp.call(u, f) && u[f] !== void 0 && u[f] !== null) {
|
|
7730
|
-
const
|
|
7730
|
+
const m = String(u[f]);
|
|
7731
7731
|
if (f === "id")
|
|
7732
|
-
c = bs.test(
|
|
7732
|
+
c = bs.test(m) ? "#" + m : d("id", m);
|
|
7733
7733
|
else if (f === "class") {
|
|
7734
|
-
const T =
|
|
7734
|
+
const T = m.split(/[\t\n\r ]+/g), E = [], D = [];
|
|
7735
7735
|
let F = -1;
|
|
7736
7736
|
for (; ++F < T.length; )
|
|
7737
7737
|
(bs.test(T[F]) ? D : E).push(
|
|
@@ -7739,11 +7739,11 @@ function tm(e, t) {
|
|
|
7739
7739
|
);
|
|
7740
7740
|
a = E.length > 0 ? d("class", E.join(" ")) : "", l = D.length > 0 ? "." + D.join(".") : "";
|
|
7741
7741
|
} else
|
|
7742
|
-
i.push(d(f,
|
|
7742
|
+
i.push(d(f, m));
|
|
7743
7743
|
}
|
|
7744
7744
|
return a && i.unshift(a), l && i.unshift(l), c && i.unshift(c), i.length > 0 ? "{" + i.join(" ") + "}" : "";
|
|
7745
|
-
function d(
|
|
7746
|
-
return
|
|
7745
|
+
function d(m, T) {
|
|
7746
|
+
return m + (T ? "=" + n + Vp(T, { subset: r }) + n : "");
|
|
7747
7747
|
}
|
|
7748
7748
|
}
|
|
7749
7749
|
function Ts(e) {
|
|
@@ -7760,7 +7760,7 @@ function nm(e) {
|
|
|
7760
7760
|
}
|
|
7761
7761
|
}), t += 3) : e.type === "leafDirective" ? t = 2 : t = 1, ":".repeat(t);
|
|
7762
7762
|
}
|
|
7763
|
-
function ca(e, t, n, r, u, i, a, l, c, f, d,
|
|
7763
|
+
function ca(e, t, n, r, u, i, a, l, c, f, d, m, T, E, D) {
|
|
7764
7764
|
let F, L;
|
|
7765
7765
|
return w;
|
|
7766
7766
|
function w(N) {
|
|
@@ -7804,16 +7804,16 @@ function ca(e, t, n, r, u, i, a, l, c, f, d, p, T, E, D) {
|
|
|
7804
7804
|
return N === 61 ? (e.enter(f), e.consume(N), e.exit(f), he) : (e.exit(i), M(N));
|
|
7805
7805
|
}
|
|
7806
7806
|
function he(N) {
|
|
7807
|
-
return N === null || N === 60 || N === 61 || N === 62 || N === 96 || N === 125 || D && me(N) ? n(N) : N === 34 || N === 39 ? (e.enter(d), e.enter(T), e.consume(N), e.exit(T), L = N, P) : D && Le(N) ? Re(e, he, "whitespace")(N) : !D && Ue(N) ? mn(e, he)(N) : (e.enter(
|
|
7807
|
+
return N === null || N === 60 || N === 61 || N === 62 || N === 96 || N === 125 || D && me(N) ? n(N) : N === 34 || N === 39 ? (e.enter(d), e.enter(T), e.consume(N), e.exit(T), L = N, P) : D && Le(N) ? Re(e, he, "whitespace")(N) : !D && Ue(N) ? mn(e, he)(N) : (e.enter(m), e.enter(E), e.consume(N), L = void 0, ge);
|
|
7808
7808
|
}
|
|
7809
7809
|
function ge(N) {
|
|
7810
|
-
return N === null || N === 34 || N === 39 || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 125 || Ue(N) ? (e.exit(E), e.exit(
|
|
7810
|
+
return N === null || N === 34 || N === 39 || N === 60 || N === 61 || N === 62 || N === 96 ? n(N) : N === 125 || Ue(N) ? (e.exit(E), e.exit(m), e.exit(i), M(N)) : (e.consume(N), ge);
|
|
7811
7811
|
}
|
|
7812
7812
|
function P(N) {
|
|
7813
|
-
return N === L ? (e.enter(T), e.consume(N), e.exit(T), e.exit(d), e.exit(i), ae) : (e.enter(
|
|
7813
|
+
return N === L ? (e.enter(T), e.consume(N), e.exit(T), e.exit(d), e.exit(i), ae) : (e.enter(m), te(N));
|
|
7814
7814
|
}
|
|
7815
7815
|
function te(N) {
|
|
7816
|
-
return N === L ? (e.exit(
|
|
7816
|
+
return N === L ? (e.exit(m), P(N)) : N === null ? n(N) : me(N) ? D ? n(N) : mn(e, te)(N) : (e.enter(E), e.consume(N), q);
|
|
7817
7817
|
}
|
|
7818
7818
|
function q(N) {
|
|
7819
7819
|
return N === L || N === null || me(N) ? (e.exit(E), te(N)) : (e.consume(N), q);
|
|
@@ -7829,9 +7829,9 @@ function fa(e, t, n, r, u, i, a) {
|
|
|
7829
7829
|
let l = 0, c = 0, f;
|
|
7830
7830
|
return d;
|
|
7831
7831
|
function d(L) {
|
|
7832
|
-
return e.enter(r), e.enter(u), e.consume(L), e.exit(u),
|
|
7832
|
+
return e.enter(r), e.enter(u), e.consume(L), e.exit(u), m;
|
|
7833
7833
|
}
|
|
7834
|
-
function
|
|
7834
|
+
function m(L) {
|
|
7835
7835
|
return L === 93 ? (e.enter(u), e.consume(L), e.exit(u), e.exit(r), t) : (e.enter(i), T(L));
|
|
7836
7836
|
}
|
|
7837
7837
|
function T(L) {
|
|
@@ -7887,9 +7887,9 @@ function am(e, t, n) {
|
|
|
7887
7887
|
return U === 58 ? (e.consume(U), a++, f) : a < 3 ? n(U) : (e.exit("directiveContainerSequence"), da.call(r, e, d, n, "directiveContainerName")(U));
|
|
7888
7888
|
}
|
|
7889
7889
|
function d(U) {
|
|
7890
|
-
return U === 91 ? e.attempt(um,
|
|
7890
|
+
return U === 91 ? e.attempt(um, m, m)(U) : m(U);
|
|
7891
7891
|
}
|
|
7892
|
-
function
|
|
7892
|
+
function m(U) {
|
|
7893
7893
|
return U === 123 ? e.attempt(im, T, T)(U) : T(U);
|
|
7894
7894
|
}
|
|
7895
7895
|
function T(U) {
|
|
@@ -8202,8 +8202,8 @@ function Mm(e, t, n) {
|
|
|
8202
8202
|
const r = e.all(t), u = n ? Hm(n) : tl(t), i = {}, a = [];
|
|
8203
8203
|
if (typeof t.checked == "boolean") {
|
|
8204
8204
|
const d = r[0];
|
|
8205
|
-
let
|
|
8206
|
-
d && d.type === "element" && d.tagName === "p" ?
|
|
8205
|
+
let m;
|
|
8206
|
+
d && d.type === "element" && d.tagName === "p" ? m = d : (m = { type: "element", tagName: "p", properties: {}, children: [] }, r.unshift(m)), m.children.length > 0 && m.children.unshift({ type: "text", value: " " }), m.children.unshift({
|
|
8207
8207
|
type: "element",
|
|
8208
8208
|
tagName: "input",
|
|
8209
8209
|
properties: { type: "checkbox", checked: t.checked, disabled: !0 },
|
|
@@ -8328,10 +8328,10 @@ function qm(e, t, n) {
|
|
|
8328
8328
|
let c = -1;
|
|
8329
8329
|
const f = [];
|
|
8330
8330
|
for (; ++c < l; ) {
|
|
8331
|
-
const
|
|
8331
|
+
const m = t.children[c], T = {}, E = a ? a[c] : void 0;
|
|
8332
8332
|
E && (T.align = E);
|
|
8333
8333
|
let D = { type: "element", tagName: i, properties: T, children: [] };
|
|
8334
|
-
|
|
8334
|
+
m && (D.children = e.all(m), e.patch(m, D), D = e.applyData(m, D)), f.push(D);
|
|
8335
8335
|
}
|
|
8336
8336
|
const d = {
|
|
8337
8337
|
type: "element",
|
|
@@ -8522,10 +8522,10 @@ const rl = -1, Fu = 0, Cu = 1, Du = 2, ha = 3, pa = 4, ma = 5, Ea = 6, ul = 7, i
|
|
|
8522
8522
|
case Cu: {
|
|
8523
8523
|
if (c)
|
|
8524
8524
|
return u([c, [...a]], a);
|
|
8525
|
-
const d = [],
|
|
8525
|
+
const d = [], m = u([l, d], a);
|
|
8526
8526
|
for (const T of a)
|
|
8527
8527
|
d.push(i(T));
|
|
8528
|
-
return
|
|
8528
|
+
return m;
|
|
8529
8529
|
}
|
|
8530
8530
|
case Du: {
|
|
8531
8531
|
if (c)
|
|
@@ -8539,28 +8539,28 @@ const rl = -1, Fu = 0, Cu = 1, Du = 2, ha = 3, pa = 4, ma = 5, Ea = 6, ul = 7, i
|
|
|
8539
8539
|
}
|
|
8540
8540
|
if (t && "toJSON" in a)
|
|
8541
8541
|
return i(a.toJSON());
|
|
8542
|
-
const d = [],
|
|
8542
|
+
const d = [], m = u([l, d], a);
|
|
8543
8543
|
for (const T of e1(a))
|
|
8544
8544
|
(e || !cu(Br(a[T]))) && d.push([i(T), i(a[T])]);
|
|
8545
|
-
return
|
|
8545
|
+
return m;
|
|
8546
8546
|
}
|
|
8547
8547
|
case ha:
|
|
8548
8548
|
return u([l, a.toISOString()], a);
|
|
8549
8549
|
case pa: {
|
|
8550
|
-
const { source: d, flags:
|
|
8551
|
-
return u([l, { source: d, flags:
|
|
8550
|
+
const { source: d, flags: m } = a;
|
|
8551
|
+
return u([l, { source: d, flags: m }], a);
|
|
8552
8552
|
}
|
|
8553
8553
|
case ma: {
|
|
8554
|
-
const d = [],
|
|
8554
|
+
const d = [], m = u([l, d], a);
|
|
8555
8555
|
for (const [T, E] of a)
|
|
8556
8556
|
(e || !(cu(Br(T)) || cu(Br(E)))) && d.push([i(T), i(E)]);
|
|
8557
|
-
return
|
|
8557
|
+
return m;
|
|
8558
8558
|
}
|
|
8559
8559
|
case Ea: {
|
|
8560
|
-
const d = [],
|
|
8560
|
+
const d = [], m = u([l, d], a);
|
|
8561
8561
|
for (const T of a)
|
|
8562
8562
|
(e || !cu(Br(T))) && d.push(i(T));
|
|
8563
|
-
return
|
|
8563
|
+
return m;
|
|
8564
8564
|
}
|
|
8565
8565
|
}
|
|
8566
8566
|
const { message: f } = a;
|
|
@@ -8597,9 +8597,9 @@ function u1(e) {
|
|
|
8597
8597
|
);
|
|
8598
8598
|
if (!f)
|
|
8599
8599
|
continue;
|
|
8600
|
-
const d = e.all(f),
|
|
8600
|
+
const d = e.all(f), m = String(f.identifier).toUpperCase(), T = ur(m.toLowerCase());
|
|
8601
8601
|
let E = 0;
|
|
8602
|
-
const D = [], F = e.footnoteCounts.get(
|
|
8602
|
+
const D = [], F = e.footnoteCounts.get(m);
|
|
8603
8603
|
for (; F !== void 0 && ++E <= F; ) {
|
|
8604
8604
|
D.length > 0 && D.push({ type: "text", value: " " });
|
|
8605
8605
|
let M = typeof n == "string" ? n : n(c, E);
|
|
@@ -8674,14 +8674,14 @@ function a1(e, t) {
|
|
|
8674
8674
|
};
|
|
8675
8675
|
return Nt(e, function(d) {
|
|
8676
8676
|
if (d.type === "definition" || d.type === "footnoteDefinition") {
|
|
8677
|
-
const
|
|
8678
|
-
|
|
8677
|
+
const m = d.type === "definition" ? r : u, T = String(d.identifier).toUpperCase();
|
|
8678
|
+
m.has(T) || m.set(T, d);
|
|
8679
8679
|
}
|
|
8680
8680
|
}), l;
|
|
8681
|
-
function c(d,
|
|
8681
|
+
function c(d, m) {
|
|
8682
8682
|
const T = d.type, E = l.handlers[T];
|
|
8683
8683
|
if (Ui.call(l.handlers, T) && E)
|
|
8684
|
-
return E(l, d,
|
|
8684
|
+
return E(l, d, m);
|
|
8685
8685
|
if (l.options.passThrough && l.options.passThrough.includes(T)) {
|
|
8686
8686
|
if ("children" in d) {
|
|
8687
8687
|
const { children: F, ...L } = d, w = En(L);
|
|
@@ -8689,10 +8689,10 @@ function a1(e, t) {
|
|
|
8689
8689
|
}
|
|
8690
8690
|
return En(d);
|
|
8691
8691
|
}
|
|
8692
|
-
return (l.options.unknownHandler || l1)(l, d,
|
|
8692
|
+
return (l.options.unknownHandler || l1)(l, d, m);
|
|
8693
8693
|
}
|
|
8694
8694
|
function f(d) {
|
|
8695
|
-
const
|
|
8695
|
+
const m = [];
|
|
8696
8696
|
if ("children" in d) {
|
|
8697
8697
|
const T = d.children;
|
|
8698
8698
|
let E = -1;
|
|
@@ -8703,11 +8703,11 @@ function a1(e, t) {
|
|
|
8703
8703
|
const F = D.children[0];
|
|
8704
8704
|
F && F.type === "text" && (F.value = ks(F.value));
|
|
8705
8705
|
}
|
|
8706
|
-
Array.isArray(D) ?
|
|
8706
|
+
Array.isArray(D) ? m.push(...D) : m.push(D);
|
|
8707
8707
|
}
|
|
8708
8708
|
}
|
|
8709
8709
|
}
|
|
8710
|
-
return
|
|
8710
|
+
return m;
|
|
8711
8711
|
}
|
|
8712
8712
|
}
|
|
8713
8713
|
function s1(e, t) {
|
|
@@ -10242,11 +10242,11 @@ function w1(e, t) {
|
|
|
10242
10242
|
const l = (
|
|
10243
10243
|
/** @type {P5Template} */
|
|
10244
10244
|
t
|
|
10245
|
-
), c = l.sourceCodeLocation, f = c && c.startTag && Zn(c.startTag), d = c && c.endTag && Zn(c.endTag),
|
|
10245
|
+
), c = l.sourceCodeLocation, f = c && c.startTag && Zn(c.startTag), d = c && c.endTag && Zn(c.endTag), m = (
|
|
10246
10246
|
/** @type {Root} */
|
|
10247
10247
|
ba(e, l.content)
|
|
10248
10248
|
);
|
|
10249
|
-
f && d && e.file && (
|
|
10249
|
+
f && d && e.file && (m.position = { start: f.end, end: d.start }), a.content = m;
|
|
10250
10250
|
}
|
|
10251
10251
|
return e.schema = n, a;
|
|
10252
10252
|
}
|
|
@@ -16163,8 +16163,8 @@ function Zl(e, t) {
|
|
|
16163
16163
|
l
|
|
16164
16164
|
);
|
|
16165
16165
|
if (d.value.stitch && f && c !== void 0) {
|
|
16166
|
-
const
|
|
16167
|
-
return
|
|
16166
|
+
const m = f.children;
|
|
16167
|
+
return m[c] = d.value.stitch, c;
|
|
16168
16168
|
}
|
|
16169
16169
|
}), a.type === "root" && a.children.length === 1 && a.children[0].type === e.type ? a.children[0] : a;
|
|
16170
16170
|
}
|
|
@@ -16414,7 +16414,7 @@ function Vb(e) {
|
|
|
16414
16414
|
if (i.tagName === "a" && typeof i.properties.href == "string" && r(i, a, l)) {
|
|
16415
16415
|
const c = i.properties.href;
|
|
16416
16416
|
if (jb(c) ? n.includes(c.slice(0, c.indexOf(":"))) : c.startsWith("//")) {
|
|
16417
|
-
const f = Ur(t.content, i), d = f && !Array.isArray(f) ? [f] : f,
|
|
16417
|
+
const f = Ur(t.content, i), d = f && !Array.isArray(f) ? [f] : f, m = Ur(t.rel, i) || Yb, T = typeof m == "string" ? Jr(m) : m, E = Ur(t.target, i), D = Ur(t.properties, i);
|
|
16418
16418
|
if (D && Object.assign(i.properties, En(D)), T.length > 0 && (i.properties.rel = [...T]), E && (i.properties.target = E), d) {
|
|
16419
16419
|
const F = Ur(t.contentProperties, i) || {};
|
|
16420
16420
|
i.children.push({
|
|
@@ -16505,11 +16505,11 @@ var ic = {}, Gs = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, eT = /\n/g, tT = /^\s*/, nT
|
|
|
16505
16505
|
}
|
|
16506
16506
|
function d(D) {
|
|
16507
16507
|
var F;
|
|
16508
|
-
for (D = D || []; F =
|
|
16508
|
+
for (D = D || []; F = m(); )
|
|
16509
16509
|
F !== !1 && D.push(F);
|
|
16510
16510
|
return D;
|
|
16511
16511
|
}
|
|
16512
|
-
function
|
|
16512
|
+
function m() {
|
|
16513
16513
|
var D = i();
|
|
16514
16514
|
if (!(Qs != e.charAt(0) || Xs != e.charAt(1))) {
|
|
16515
16515
|
for (var F = 2; Yn != e.charAt(F) && (Xs != e.charAt(F) || Qs != e.charAt(F + 1)); )
|
|
@@ -16526,7 +16526,7 @@ var ic = {}, Gs = /\/\*[^*]*\*+([^/*][^*]*\*+)*\//g, eT = /\n/g, tT = /^\s*/, nT
|
|
|
16526
16526
|
function T() {
|
|
16527
16527
|
var D = i(), F = c(nT);
|
|
16528
16528
|
if (F) {
|
|
16529
|
-
if (
|
|
16529
|
+
if (m(), !c(rT))
|
|
16530
16530
|
return l("property missing ':'");
|
|
16531
16531
|
var L = c(uT), w = D({
|
|
16532
16532
|
type: lT,
|
|
@@ -16953,9 +16953,9 @@ function VT() {
|
|
|
16953
16953
|
if (eo)
|
|
16954
16954
|
return ve;
|
|
16955
16955
|
eo = 1;
|
|
16956
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"),
|
|
16956
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), m = Symbol.iterator;
|
|
16957
16957
|
function T(b) {
|
|
16958
|
-
return b === null || typeof b != "object" ? null : (b =
|
|
16958
|
+
return b === null || typeof b != "object" ? null : (b = m && b[m] || b["@@iterator"], typeof b == "function" ? b : null);
|
|
16959
16959
|
}
|
|
16960
16960
|
var E = { isMounted: function() {
|
|
16961
16961
|
return !1;
|
|
@@ -17182,7 +17182,7 @@ function qT() {
|
|
|
17182
17182
|
return to || (to = 1, function(e, t) {
|
|
17183
17183
|
process.env.NODE_ENV !== "production" && function() {
|
|
17184
17184
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
17185
|
-
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"),
|
|
17185
|
+
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), L = Symbol.iterator, w = "@@iterator";
|
|
17186
17186
|
function M(s) {
|
|
17187
17187
|
if (s === null || typeof s != "object")
|
|
17188
17188
|
return null;
|
|
@@ -17409,7 +17409,7 @@ function qT() {
|
|
|
17409
17409
|
return "Profiler";
|
|
17410
17410
|
case a:
|
|
17411
17411
|
return "StrictMode";
|
|
17412
|
-
case
|
|
17412
|
+
case m:
|
|
17413
17413
|
return "Suspense";
|
|
17414
17414
|
case T:
|
|
17415
17415
|
return "SuspenseList";
|
|
@@ -17847,15 +17847,15 @@ Your code should look like:
|
|
|
17847
17847
|
}
|
|
17848
17848
|
var sn;
|
|
17849
17849
|
sn = Symbol.for("react.module.reference");
|
|
17850
|
-
function
|
|
17851
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === l || le || s === a || s ===
|
|
17850
|
+
function p(s) {
|
|
17851
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === l || le || s === a || s === m || s === T || ae || s === F || P || te || q || typeof s == "object" && s !== null && (s.$$typeof === D || s.$$typeof === E || s.$$typeof === c || s.$$typeof === f || s.$$typeof === d || // This needs to include all possible module reference object
|
|
17852
17852
|
// types supported by any Flight configuration anywhere since
|
|
17853
17853
|
// we don't know which Flight build this will end up being used
|
|
17854
17854
|
// with.
|
|
17855
17855
|
s.$$typeof === sn || s.getModuleId !== void 0));
|
|
17856
17856
|
}
|
|
17857
17857
|
function k(s, h) {
|
|
17858
|
-
|
|
17858
|
+
p(s) || Y("memo: The first argument must be a component. Instead received: %s", s === null ? "null" : typeof s);
|
|
17859
17859
|
var _ = {
|
|
17860
17860
|
$$typeof: E,
|
|
17861
17861
|
type: s,
|
|
@@ -18117,7 +18117,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
18117
18117
|
if (typeof s == "string")
|
|
18118
18118
|
return on(s);
|
|
18119
18119
|
switch (s) {
|
|
18120
|
-
case
|
|
18120
|
+
case m:
|
|
18121
18121
|
return on("Suspense");
|
|
18122
18122
|
case T:
|
|
18123
18123
|
return on("SuspenseList");
|
|
@@ -18273,7 +18273,7 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
18273
18273
|
}
|
|
18274
18274
|
}
|
|
18275
18275
|
function Sr(s, h, _) {
|
|
18276
|
-
var C =
|
|
18276
|
+
var C = p(s);
|
|
18277
18277
|
if (!C) {
|
|
18278
18278
|
var O = "";
|
|
18279
18279
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -18433,7 +18433,7 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
18433
18433
|
toArray: Sn,
|
|
18434
18434
|
only: rn
|
|
18435
18435
|
};
|
|
18436
|
-
t.Children = ni, t.Component = ee, t.Fragment = i, t.Profiler = l, t.PureComponent = fe, t.StrictMode = a, t.Suspense =
|
|
18436
|
+
t.Children = ni, t.Component = ee, t.Fragment = i, t.Profiler = l, t.PureComponent = fe, t.StrictMode = a, t.Suspense = m, t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = N, t.act = Rr, t.cloneElement = ei, t.createContext = un, t.createElement = Zu, t.createFactory = ti, t.createRef = wt, t.forwardRef = In, t.isValidElement = Xe, t.lazy = Nn, t.memo = k, t.startTransition = Ku, t.unstable_act = Rr, t.useCallback = Ne, t.useContext = G, t.useDebugValue = nt, t.useDeferredValue = Vt, t.useEffect = re, t.useId = Rn, t.useImperativeHandle = dt, t.useInsertionEffect = Me, t.useLayoutEffect = xe, t.useMemo = $e, t.useReducer = Ee, t.useRef = ie, t.useState = de, t.useSyncExternalStore = On, t.useTransition = ze, t.version = n, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
18437
18437
|
}();
|
|
18438
18438
|
}(Tu, Tu.exports)), Tu.exports;
|
|
18439
18439
|
}
|
|
@@ -18469,14 +18469,14 @@ function GT() {
|
|
|
18469
18469
|
no = 1;
|
|
18470
18470
|
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.fragment"), r = Object.prototype.hasOwnProperty, u = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner, i = { key: !0, ref: !0, __self: !0, __source: !0 };
|
|
18471
18471
|
function a(l, c, f) {
|
|
18472
|
-
var d,
|
|
18472
|
+
var d, m = {}, T = null, E = null;
|
|
18473
18473
|
f !== void 0 && (T = "" + f), c.key !== void 0 && (T = "" + c.key), c.ref !== void 0 && (E = c.ref);
|
|
18474
18474
|
for (d in c)
|
|
18475
|
-
r.call(c, d) && !i.hasOwnProperty(d) && (
|
|
18475
|
+
r.call(c, d) && !i.hasOwnProperty(d) && (m[d] = c[d]);
|
|
18476
18476
|
if (l && l.defaultProps)
|
|
18477
18477
|
for (d in c = l.defaultProps, c)
|
|
18478
|
-
|
|
18479
|
-
return { $$typeof: t, type: l, key: T, ref: E, props:
|
|
18478
|
+
m[d] === void 0 && (m[d] = c[d]);
|
|
18479
|
+
return { $$typeof: t, type: l, key: T, ref: E, props: m, _owner: u.current };
|
|
18480
18480
|
}
|
|
18481
18481
|
return jr.Fragment = n, jr.jsx = a, jr.jsxs = a, jr;
|
|
18482
18482
|
}
|
|
@@ -18493,58 +18493,58 @@ var hu = {};
|
|
|
18493
18493
|
var ro;
|
|
18494
18494
|
function QT() {
|
|
18495
18495
|
return ro || (ro = 1, process.env.NODE_ENV !== "production" && function() {
|
|
18496
|
-
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"),
|
|
18497
|
-
function L(
|
|
18498
|
-
if (
|
|
18496
|
+
var e = Dt, t = Symbol.for("react.element"), n = Symbol.for("react.portal"), r = Symbol.for("react.fragment"), u = Symbol.for("react.strict_mode"), i = Symbol.for("react.profiler"), a = Symbol.for("react.provider"), l = Symbol.for("react.context"), c = Symbol.for("react.forward_ref"), f = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), m = Symbol.for("react.memo"), T = Symbol.for("react.lazy"), E = Symbol.for("react.offscreen"), D = Symbol.iterator, F = "@@iterator";
|
|
18497
|
+
function L(p) {
|
|
18498
|
+
if (p === null || typeof p != "object")
|
|
18499
18499
|
return null;
|
|
18500
|
-
var k = D &&
|
|
18500
|
+
var k = D && p[D] || p[F];
|
|
18501
18501
|
return typeof k == "function" ? k : null;
|
|
18502
18502
|
}
|
|
18503
18503
|
var w = e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;
|
|
18504
|
-
function M(
|
|
18504
|
+
function M(p) {
|
|
18505
18505
|
{
|
|
18506
18506
|
for (var k = arguments.length, R = new Array(k > 1 ? k - 1 : 0), G = 1; G < k; G++)
|
|
18507
18507
|
R[G - 1] = arguments[G];
|
|
18508
|
-
V("error",
|
|
18508
|
+
V("error", p, R);
|
|
18509
18509
|
}
|
|
18510
18510
|
}
|
|
18511
|
-
function V(
|
|
18511
|
+
function V(p, k, R) {
|
|
18512
18512
|
{
|
|
18513
18513
|
var G = w.ReactDebugCurrentFrame, de = G.getStackAddendum();
|
|
18514
18514
|
de !== "" && (k += "%s", R = R.concat([de]));
|
|
18515
18515
|
var Ee = R.map(function(ie) {
|
|
18516
18516
|
return String(ie);
|
|
18517
18517
|
});
|
|
18518
|
-
Ee.unshift("Warning: " + k), Function.prototype.apply.call(console[
|
|
18518
|
+
Ee.unshift("Warning: " + k), Function.prototype.apply.call(console[p], console, Ee);
|
|
18519
18519
|
}
|
|
18520
18520
|
}
|
|
18521
18521
|
var ne = !1, K = !1, B = !1, U = !1, he = !1, ge;
|
|
18522
18522
|
ge = Symbol.for("react.module.reference");
|
|
18523
|
-
function P(
|
|
18524
|
-
return !!(typeof
|
|
18523
|
+
function P(p) {
|
|
18524
|
+
return !!(typeof p == "string" || typeof p == "function" || p === r || p === i || he || p === u || p === f || p === d || U || p === E || ne || K || B || typeof p == "object" && p !== null && (p.$$typeof === T || p.$$typeof === m || p.$$typeof === a || p.$$typeof === l || p.$$typeof === c || // This needs to include all possible module reference object
|
|
18525
18525
|
// types supported by any Flight configuration anywhere since
|
|
18526
18526
|
// we don't know which Flight build this will end up being used
|
|
18527
18527
|
// with.
|
|
18528
|
-
|
|
18528
|
+
p.$$typeof === ge || p.getModuleId !== void 0));
|
|
18529
18529
|
}
|
|
18530
|
-
function te(
|
|
18531
|
-
var G =
|
|
18530
|
+
function te(p, k, R) {
|
|
18531
|
+
var G = p.displayName;
|
|
18532
18532
|
if (G)
|
|
18533
18533
|
return G;
|
|
18534
18534
|
var de = k.displayName || k.name || "";
|
|
18535
18535
|
return de !== "" ? R + "(" + de + ")" : R;
|
|
18536
18536
|
}
|
|
18537
|
-
function q(
|
|
18538
|
-
return
|
|
18537
|
+
function q(p) {
|
|
18538
|
+
return p.displayName || "Context";
|
|
18539
18539
|
}
|
|
18540
|
-
function ae(
|
|
18541
|
-
if (
|
|
18540
|
+
function ae(p) {
|
|
18541
|
+
if (p == null)
|
|
18542
18542
|
return null;
|
|
18543
|
-
if (typeof
|
|
18544
|
-
return
|
|
18545
|
-
if (typeof
|
|
18546
|
-
return
|
|
18547
|
-
switch (
|
|
18543
|
+
if (typeof p.tag == "number" && M("Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."), typeof p == "function")
|
|
18544
|
+
return p.displayName || p.name || null;
|
|
18545
|
+
if (typeof p == "string")
|
|
18546
|
+
return p;
|
|
18547
|
+
switch (p) {
|
|
18548
18548
|
case r:
|
|
18549
18549
|
return "Fragment";
|
|
18550
18550
|
case n:
|
|
@@ -18558,21 +18558,21 @@ function QT() {
|
|
|
18558
18558
|
case d:
|
|
18559
18559
|
return "SuspenseList";
|
|
18560
18560
|
}
|
|
18561
|
-
if (typeof
|
|
18562
|
-
switch (
|
|
18561
|
+
if (typeof p == "object")
|
|
18562
|
+
switch (p.$$typeof) {
|
|
18563
18563
|
case l:
|
|
18564
|
-
var k =
|
|
18564
|
+
var k = p;
|
|
18565
18565
|
return q(k) + ".Consumer";
|
|
18566
18566
|
case a:
|
|
18567
|
-
var R =
|
|
18567
|
+
var R = p;
|
|
18568
18568
|
return q(R._context) + ".Provider";
|
|
18569
18569
|
case c:
|
|
18570
|
-
return te(
|
|
18571
|
-
case
|
|
18572
|
-
var G =
|
|
18573
|
-
return G !== null ? G : ae(
|
|
18570
|
+
return te(p, p.render, "ForwardRef");
|
|
18571
|
+
case m:
|
|
18572
|
+
var G = p.displayName || null;
|
|
18573
|
+
return G !== null ? G : ae(p.type) || "Memo";
|
|
18574
18574
|
case T: {
|
|
18575
|
-
var de =
|
|
18575
|
+
var de = p, Ee = de._payload, ie = de._init;
|
|
18576
18576
|
try {
|
|
18577
18577
|
return ae(ie(Ee));
|
|
18578
18578
|
} catch {
|
|
@@ -18590,20 +18590,20 @@ function QT() {
|
|
|
18590
18590
|
{
|
|
18591
18591
|
if (N === 0) {
|
|
18592
18592
|
De = console.log, Y = console.info, je = console.warn, We = console.error, S = console.group, b = console.groupCollapsed, I = console.groupEnd;
|
|
18593
|
-
var
|
|
18593
|
+
var p = {
|
|
18594
18594
|
configurable: !0,
|
|
18595
18595
|
enumerable: !0,
|
|
18596
18596
|
value: y,
|
|
18597
18597
|
writable: !0
|
|
18598
18598
|
};
|
|
18599
18599
|
Object.defineProperties(console, {
|
|
18600
|
-
info:
|
|
18601
|
-
log:
|
|
18602
|
-
warn:
|
|
18603
|
-
error:
|
|
18604
|
-
group:
|
|
18605
|
-
groupCollapsed:
|
|
18606
|
-
groupEnd:
|
|
18600
|
+
info: p,
|
|
18601
|
+
log: p,
|
|
18602
|
+
warn: p,
|
|
18603
|
+
error: p,
|
|
18604
|
+
group: p,
|
|
18605
|
+
groupCollapsed: p,
|
|
18606
|
+
groupEnd: p
|
|
18607
18607
|
});
|
|
18608
18608
|
}
|
|
18609
18609
|
N++;
|
|
@@ -18612,31 +18612,31 @@ function QT() {
|
|
|
18612
18612
|
function ue() {
|
|
18613
18613
|
{
|
|
18614
18614
|
if (N--, N === 0) {
|
|
18615
|
-
var
|
|
18615
|
+
var p = {
|
|
18616
18616
|
configurable: !0,
|
|
18617
18617
|
enumerable: !0,
|
|
18618
18618
|
writable: !0
|
|
18619
18619
|
};
|
|
18620
18620
|
Object.defineProperties(console, {
|
|
18621
|
-
log: le({},
|
|
18621
|
+
log: le({}, p, {
|
|
18622
18622
|
value: De
|
|
18623
18623
|
}),
|
|
18624
|
-
info: le({},
|
|
18624
|
+
info: le({}, p, {
|
|
18625
18625
|
value: Y
|
|
18626
18626
|
}),
|
|
18627
|
-
warn: le({},
|
|
18627
|
+
warn: le({}, p, {
|
|
18628
18628
|
value: je
|
|
18629
18629
|
}),
|
|
18630
|
-
error: le({},
|
|
18630
|
+
error: le({}, p, {
|
|
18631
18631
|
value: We
|
|
18632
18632
|
}),
|
|
18633
|
-
group: le({},
|
|
18633
|
+
group: le({}, p, {
|
|
18634
18634
|
value: S
|
|
18635
18635
|
}),
|
|
18636
|
-
groupCollapsed: le({},
|
|
18636
|
+
groupCollapsed: le({}, p, {
|
|
18637
18637
|
value: b
|
|
18638
18638
|
}),
|
|
18639
|
-
groupEnd: le({},
|
|
18639
|
+
groupEnd: le({}, p, {
|
|
18640
18640
|
value: I
|
|
18641
18641
|
})
|
|
18642
18642
|
});
|
|
@@ -18645,7 +18645,7 @@ function QT() {
|
|
|
18645
18645
|
}
|
|
18646
18646
|
}
|
|
18647
18647
|
var se = w.ReactCurrentDispatcher, pe;
|
|
18648
|
-
function ce(
|
|
18648
|
+
function ce(p, k, R) {
|
|
18649
18649
|
{
|
|
18650
18650
|
if (pe === void 0)
|
|
18651
18651
|
try {
|
|
@@ -18655,7 +18655,7 @@ function QT() {
|
|
|
18655
18655
|
pe = G && G[1] || "";
|
|
18656
18656
|
}
|
|
18657
18657
|
return `
|
|
18658
|
-
` + pe +
|
|
18658
|
+
` + pe + p;
|
|
18659
18659
|
}
|
|
18660
18660
|
}
|
|
18661
18661
|
var fe = !1, Ce;
|
|
@@ -18663,11 +18663,11 @@ function QT() {
|
|
|
18663
18663
|
var wt = typeof WeakMap == "function" ? WeakMap : Map;
|
|
18664
18664
|
Ce = new wt();
|
|
18665
18665
|
}
|
|
18666
|
-
function Ht(
|
|
18667
|
-
if (!
|
|
18666
|
+
function Ht(p, k) {
|
|
18667
|
+
if (!p || fe)
|
|
18668
18668
|
return "";
|
|
18669
18669
|
{
|
|
18670
|
-
var R = Ce.get(
|
|
18670
|
+
var R = Ce.get(p);
|
|
18671
18671
|
if (R !== void 0)
|
|
18672
18672
|
return R;
|
|
18673
18673
|
}
|
|
@@ -18692,14 +18692,14 @@ function QT() {
|
|
|
18692
18692
|
} catch (ze) {
|
|
18693
18693
|
G = ze;
|
|
18694
18694
|
}
|
|
18695
|
-
Reflect.construct(
|
|
18695
|
+
Reflect.construct(p, [], ie);
|
|
18696
18696
|
} else {
|
|
18697
18697
|
try {
|
|
18698
18698
|
ie.call();
|
|
18699
18699
|
} catch (ze) {
|
|
18700
18700
|
G = ze;
|
|
18701
18701
|
}
|
|
18702
|
-
|
|
18702
|
+
p.call(ie.prototype);
|
|
18703
18703
|
}
|
|
18704
18704
|
} else {
|
|
18705
18705
|
try {
|
|
@@ -18707,7 +18707,7 @@ function QT() {
|
|
|
18707
18707
|
} catch (ze) {
|
|
18708
18708
|
G = ze;
|
|
18709
18709
|
}
|
|
18710
|
-
|
|
18710
|
+
p();
|
|
18711
18711
|
}
|
|
18712
18712
|
} catch (ze) {
|
|
18713
18713
|
if (ze && G && typeof ze.stack == "string") {
|
|
@@ -18722,7 +18722,7 @@ function QT() {
|
|
|
18722
18722
|
if (xe--, Ne--, Ne < 0 || re[xe] !== Me[Ne]) {
|
|
18723
18723
|
var $e = `
|
|
18724
18724
|
` + re[xe].replace(" at new ", " at ");
|
|
18725
|
-
return
|
|
18725
|
+
return p.displayName && $e.includes("<anonymous>") && ($e = $e.replace("<anonymous>", p.displayName)), typeof p == "function" && Ce.set(p, $e), $e;
|
|
18726
18726
|
}
|
|
18727
18727
|
while (xe >= 1 && Ne >= 0);
|
|
18728
18728
|
break;
|
|
@@ -18731,37 +18731,37 @@ function QT() {
|
|
|
18731
18731
|
} finally {
|
|
18732
18732
|
fe = !1, se.current = Ee, ue(), Error.prepareStackTrace = de;
|
|
18733
18733
|
}
|
|
18734
|
-
var dt =
|
|
18735
|
-
return typeof
|
|
18734
|
+
var dt = p ? p.displayName || p.name : "", nt = dt ? ce(dt) : "";
|
|
18735
|
+
return typeof p == "function" && Ce.set(p, nt), nt;
|
|
18736
18736
|
}
|
|
18737
|
-
function gt(
|
|
18738
|
-
return Ht(
|
|
18737
|
+
function gt(p, k, R) {
|
|
18738
|
+
return Ht(p, !1);
|
|
18739
18739
|
}
|
|
18740
|
-
function en(
|
|
18741
|
-
var k =
|
|
18740
|
+
function en(p) {
|
|
18741
|
+
var k = p.prototype;
|
|
18742
18742
|
return !!(k && k.isReactComponent);
|
|
18743
18743
|
}
|
|
18744
|
-
function pt(
|
|
18745
|
-
if (
|
|
18744
|
+
function pt(p, k, R) {
|
|
18745
|
+
if (p == null)
|
|
18746
18746
|
return "";
|
|
18747
|
-
if (typeof
|
|
18748
|
-
return Ht(
|
|
18749
|
-
if (typeof
|
|
18750
|
-
return ce(
|
|
18751
|
-
switch (
|
|
18747
|
+
if (typeof p == "function")
|
|
18748
|
+
return Ht(p, en(p));
|
|
18749
|
+
if (typeof p == "string")
|
|
18750
|
+
return ce(p);
|
|
18751
|
+
switch (p) {
|
|
18752
18752
|
case f:
|
|
18753
18753
|
return ce("Suspense");
|
|
18754
18754
|
case d:
|
|
18755
18755
|
return ce("SuspenseList");
|
|
18756
18756
|
}
|
|
18757
|
-
if (typeof
|
|
18758
|
-
switch (
|
|
18757
|
+
if (typeof p == "object")
|
|
18758
|
+
switch (p.$$typeof) {
|
|
18759
18759
|
case c:
|
|
18760
|
-
return gt(
|
|
18761
|
-
case
|
|
18762
|
-
return pt(
|
|
18760
|
+
return gt(p.render);
|
|
18761
|
+
case m:
|
|
18762
|
+
return pt(p.type, k, R);
|
|
18763
18763
|
case T: {
|
|
18764
|
-
var G =
|
|
18764
|
+
var G = p, de = G._payload, Ee = G._init;
|
|
18765
18765
|
try {
|
|
18766
18766
|
return pt(Ee(de), k, R);
|
|
18767
18767
|
} catch {
|
|
@@ -18771,25 +18771,25 @@ function QT() {
|
|
|
18771
18771
|
return "";
|
|
18772
18772
|
}
|
|
18773
18773
|
var Ze = Object.prototype.hasOwnProperty, rt = {}, Ut = w.ReactDebugCurrentFrame;
|
|
18774
|
-
function ut(
|
|
18775
|
-
if (
|
|
18776
|
-
var k =
|
|
18774
|
+
function ut(p) {
|
|
18775
|
+
if (p) {
|
|
18776
|
+
var k = p._owner, R = pt(p.type, p._source, k ? k.type : null);
|
|
18777
18777
|
Ut.setExtraStackFrame(R);
|
|
18778
18778
|
} else
|
|
18779
18779
|
Ut.setExtraStackFrame(null);
|
|
18780
18780
|
}
|
|
18781
|
-
function Ge(
|
|
18781
|
+
function Ge(p, k, R, G, de) {
|
|
18782
18782
|
{
|
|
18783
18783
|
var Ee = Function.call.bind(Ze);
|
|
18784
|
-
for (var ie in
|
|
18785
|
-
if (Ee(
|
|
18784
|
+
for (var ie in p)
|
|
18785
|
+
if (Ee(p, ie)) {
|
|
18786
18786
|
var re = void 0;
|
|
18787
18787
|
try {
|
|
18788
|
-
if (typeof
|
|
18789
|
-
var Me = Error((G || "React class") + ": " + R + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof
|
|
18788
|
+
if (typeof p[ie] != "function") {
|
|
18789
|
+
var Me = Error((G || "React class") + ": " + R + " type `" + ie + "` is invalid; it must be a function, usually from the `prop-types` package, but received `" + typeof p[ie] + "`.This often happens because of typos such as `PropTypes.function` instead of `PropTypes.func`.");
|
|
18790
18790
|
throw Me.name = "Invariant Violation", Me;
|
|
18791
18791
|
}
|
|
18792
|
-
re =
|
|
18792
|
+
re = p[ie](k, ie, G, R, null, "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");
|
|
18793
18793
|
} catch (xe) {
|
|
18794
18794
|
re = xe;
|
|
18795
18795
|
}
|
|
@@ -18798,28 +18798,28 @@ function QT() {
|
|
|
18798
18798
|
}
|
|
18799
18799
|
}
|
|
18800
18800
|
var ot = Array.isArray;
|
|
18801
|
-
function bt(
|
|
18802
|
-
return ot(
|
|
18801
|
+
function bt(p) {
|
|
18802
|
+
return ot(p);
|
|
18803
18803
|
}
|
|
18804
|
-
function jt(
|
|
18804
|
+
function jt(p) {
|
|
18805
18805
|
{
|
|
18806
|
-
var k = typeof Symbol == "function" && Symbol.toStringTag, R = k &&
|
|
18806
|
+
var k = typeof Symbol == "function" && Symbol.toStringTag, R = k && p[Symbol.toStringTag] || p.constructor.name || "Object";
|
|
18807
18807
|
return R;
|
|
18808
18808
|
}
|
|
18809
18809
|
}
|
|
18810
|
-
function zt(
|
|
18810
|
+
function zt(p) {
|
|
18811
18811
|
try {
|
|
18812
|
-
return Tt(
|
|
18812
|
+
return Tt(p), !1;
|
|
18813
18813
|
} catch {
|
|
18814
18814
|
return !0;
|
|
18815
18815
|
}
|
|
18816
18816
|
}
|
|
18817
|
-
function Tt(
|
|
18818
|
-
return "" +
|
|
18817
|
+
function Tt(p) {
|
|
18818
|
+
return "" + p;
|
|
18819
18819
|
}
|
|
18820
|
-
function j(
|
|
18821
|
-
if (zt(
|
|
18822
|
-
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(
|
|
18820
|
+
function j(p) {
|
|
18821
|
+
if (zt(p))
|
|
18822
|
+
return M("The provided key is an unsupported type %s. This value must be coerced to a string before before using it here.", jt(p)), Tt(p);
|
|
18823
18823
|
}
|
|
18824
18824
|
var W = w.ReactCurrentOwner, _e = {
|
|
18825
18825
|
key: !0,
|
|
@@ -18828,56 +18828,56 @@ function QT() {
|
|
|
18828
18828
|
__source: !0
|
|
18829
18829
|
}, ke, Be, Ve;
|
|
18830
18830
|
Ve = {};
|
|
18831
|
-
function _t(
|
|
18832
|
-
if (Ze.call(
|
|
18833
|
-
var k = Object.getOwnPropertyDescriptor(
|
|
18831
|
+
function _t(p) {
|
|
18832
|
+
if (Ze.call(p, "ref")) {
|
|
18833
|
+
var k = Object.getOwnPropertyDescriptor(p, "ref").get;
|
|
18834
18834
|
if (k && k.isReactWarning)
|
|
18835
18835
|
return !1;
|
|
18836
18836
|
}
|
|
18837
|
-
return
|
|
18837
|
+
return p.ref !== void 0;
|
|
18838
18838
|
}
|
|
18839
|
-
function lt(
|
|
18840
|
-
if (Ze.call(
|
|
18841
|
-
var k = Object.getOwnPropertyDescriptor(
|
|
18839
|
+
function lt(p) {
|
|
18840
|
+
if (Ze.call(p, "key")) {
|
|
18841
|
+
var k = Object.getOwnPropertyDescriptor(p, "key").get;
|
|
18842
18842
|
if (k && k.isReactWarning)
|
|
18843
18843
|
return !1;
|
|
18844
18844
|
}
|
|
18845
|
-
return
|
|
18845
|
+
return p.key !== void 0;
|
|
18846
18846
|
}
|
|
18847
|
-
function It(
|
|
18848
|
-
if (typeof
|
|
18847
|
+
function It(p, k) {
|
|
18848
|
+
if (typeof p.ref == "string" && W.current && k && W.current.stateNode !== k) {
|
|
18849
18849
|
var R = ae(W.current.type);
|
|
18850
|
-
Ve[R] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(W.current.type),
|
|
18850
|
+
Ve[R] || (M('Component "%s" contains the string ref "%s". Support for string refs will be removed in a future major release. This case cannot be automatically converted to an arrow function. We ask you to manually fix this case by using useRef() or createRef() instead. Learn more about using refs safely here: https://reactjs.org/link/strict-mode-string-ref', ae(W.current.type), p.ref), Ve[R] = !0);
|
|
18851
18851
|
}
|
|
18852
18852
|
}
|
|
18853
|
-
function Xe(
|
|
18853
|
+
function Xe(p, k) {
|
|
18854
18854
|
{
|
|
18855
18855
|
var R = function() {
|
|
18856
18856
|
ke || (ke = !0, M("%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
18857
18857
|
};
|
|
18858
|
-
R.isReactWarning = !0, Object.defineProperty(
|
|
18858
|
+
R.isReactWarning = !0, Object.defineProperty(p, "key", {
|
|
18859
18859
|
get: R,
|
|
18860
18860
|
configurable: !0
|
|
18861
18861
|
});
|
|
18862
18862
|
}
|
|
18863
18863
|
}
|
|
18864
|
-
function Ke(
|
|
18864
|
+
function Ke(p, k) {
|
|
18865
18865
|
{
|
|
18866
18866
|
var R = function() {
|
|
18867
18867
|
Be || (Be = !0, M("%s: `ref` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://reactjs.org/link/special-props)", k));
|
|
18868
18868
|
};
|
|
18869
|
-
R.isReactWarning = !0, Object.defineProperty(
|
|
18869
|
+
R.isReactWarning = !0, Object.defineProperty(p, "ref", {
|
|
18870
18870
|
get: R,
|
|
18871
18871
|
configurable: !0
|
|
18872
18872
|
});
|
|
18873
18873
|
}
|
|
18874
18874
|
}
|
|
18875
|
-
var xt = function(
|
|
18875
|
+
var xt = function(p, k, R, G, de, Ee, ie) {
|
|
18876
18876
|
var re = {
|
|
18877
18877
|
// This tag allows us to uniquely identify this as a React Element
|
|
18878
18878
|
$$typeof: t,
|
|
18879
18879
|
// Built-in properties that belong on the element
|
|
18880
|
-
type:
|
|
18880
|
+
type: p,
|
|
18881
18881
|
key: k,
|
|
18882
18882
|
ref: R,
|
|
18883
18883
|
props: ie,
|
|
@@ -18901,58 +18901,58 @@ function QT() {
|
|
|
18901
18901
|
value: de
|
|
18902
18902
|
}), Object.freeze && (Object.freeze(re.props), Object.freeze(re)), re;
|
|
18903
18903
|
};
|
|
18904
|
-
function ct(
|
|
18904
|
+
function ct(p, k, R, G, de) {
|
|
18905
18905
|
{
|
|
18906
18906
|
var Ee, ie = {}, re = null, Me = null;
|
|
18907
18907
|
R !== void 0 && (j(R), re = "" + R), lt(k) && (j(k.key), re = "" + k.key), _t(k) && (Me = k.ref, It(k, de));
|
|
18908
18908
|
for (Ee in k)
|
|
18909
18909
|
Ze.call(k, Ee) && !_e.hasOwnProperty(Ee) && (ie[Ee] = k[Ee]);
|
|
18910
|
-
if (
|
|
18911
|
-
var xe =
|
|
18910
|
+
if (p && p.defaultProps) {
|
|
18911
|
+
var xe = p.defaultProps;
|
|
18912
18912
|
for (Ee in xe)
|
|
18913
18913
|
ie[Ee] === void 0 && (ie[Ee] = xe[Ee]);
|
|
18914
18914
|
}
|
|
18915
18915
|
if (re || Me) {
|
|
18916
|
-
var Ne = typeof
|
|
18916
|
+
var Ne = typeof p == "function" ? p.displayName || p.name || "Unknown" : p;
|
|
18917
18917
|
re && Xe(ie, Ne), Me && Ke(ie, Ne);
|
|
18918
18918
|
}
|
|
18919
|
-
return xt(
|
|
18919
|
+
return xt(p, re, Me, de, G, W.current, ie);
|
|
18920
18920
|
}
|
|
18921
18921
|
}
|
|
18922
18922
|
var Rt = w.ReactCurrentOwner, tn = w.ReactDebugCurrentFrame;
|
|
18923
|
-
function tt(
|
|
18924
|
-
if (
|
|
18925
|
-
var k =
|
|
18923
|
+
function tt(p) {
|
|
18924
|
+
if (p) {
|
|
18925
|
+
var k = p._owner, R = pt(p.type, p._source, k ? k.type : null);
|
|
18926
18926
|
tn.setExtraStackFrame(R);
|
|
18927
18927
|
} else
|
|
18928
18928
|
tn.setExtraStackFrame(null);
|
|
18929
18929
|
}
|
|
18930
18930
|
var At;
|
|
18931
18931
|
At = !1;
|
|
18932
|
-
function ft(
|
|
18933
|
-
return typeof
|
|
18932
|
+
function ft(p) {
|
|
18933
|
+
return typeof p == "object" && p !== null && p.$$typeof === t;
|
|
18934
18934
|
}
|
|
18935
18935
|
function yt() {
|
|
18936
18936
|
{
|
|
18937
18937
|
if (Rt.current) {
|
|
18938
|
-
var
|
|
18939
|
-
if (
|
|
18938
|
+
var p = ae(Rt.current.type);
|
|
18939
|
+
if (p)
|
|
18940
18940
|
return `
|
|
18941
18941
|
|
|
18942
|
-
Check the render method of \`` +
|
|
18942
|
+
Check the render method of \`` + p + "`.";
|
|
18943
18943
|
}
|
|
18944
18944
|
return "";
|
|
18945
18945
|
}
|
|
18946
18946
|
}
|
|
18947
|
-
function xn(
|
|
18947
|
+
function xn(p) {
|
|
18948
18948
|
return "";
|
|
18949
18949
|
}
|
|
18950
18950
|
var nn = {};
|
|
18951
|
-
function Sn(
|
|
18951
|
+
function Sn(p) {
|
|
18952
18952
|
{
|
|
18953
18953
|
var k = yt();
|
|
18954
18954
|
if (!k) {
|
|
18955
|
-
var R = typeof
|
|
18955
|
+
var R = typeof p == "string" ? p : p.displayName || p.name;
|
|
18956
18956
|
R && (k = `
|
|
18957
18957
|
|
|
18958
18958
|
Check the top-level render call using <` + R + ">.");
|
|
@@ -18960,41 +18960,41 @@ Check the top-level render call using <` + R + ">.");
|
|
|
18960
18960
|
return k;
|
|
18961
18961
|
}
|
|
18962
18962
|
}
|
|
18963
|
-
function rn(
|
|
18963
|
+
function rn(p, k) {
|
|
18964
18964
|
{
|
|
18965
|
-
if (!
|
|
18965
|
+
if (!p._store || p._store.validated || p.key != null)
|
|
18966
18966
|
return;
|
|
18967
|
-
|
|
18967
|
+
p._store.validated = !0;
|
|
18968
18968
|
var R = Sn(k);
|
|
18969
18969
|
if (nn[R])
|
|
18970
18970
|
return;
|
|
18971
18971
|
nn[R] = !0;
|
|
18972
18972
|
var G = "";
|
|
18973
|
-
|
|
18973
|
+
p && p._owner && p._owner !== Rt.current && (G = " It was passed a child from " + ae(p._owner.type) + "."), tt(p), M('Each child in a list should have a unique "key" prop.%s%s See https://reactjs.org/link/warning-keys for more information.', R, G), tt(null);
|
|
18974
18974
|
}
|
|
18975
18975
|
}
|
|
18976
|
-
function un(
|
|
18976
|
+
function un(p, k) {
|
|
18977
18977
|
{
|
|
18978
|
-
if (typeof
|
|
18978
|
+
if (typeof p != "object")
|
|
18979
18979
|
return;
|
|
18980
|
-
if (bt(
|
|
18981
|
-
for (var R = 0; R <
|
|
18982
|
-
var G =
|
|
18980
|
+
if (bt(p))
|
|
18981
|
+
for (var R = 0; R < p.length; R++) {
|
|
18982
|
+
var G = p[R];
|
|
18983
18983
|
ft(G) && rn(G, k);
|
|
18984
18984
|
}
|
|
18985
|
-
else if (ft(
|
|
18986
|
-
|
|
18987
|
-
else if (
|
|
18988
|
-
var de = L(
|
|
18989
|
-
if (typeof de == "function" && de !==
|
|
18990
|
-
for (var Ee = de.call(
|
|
18985
|
+
else if (ft(p))
|
|
18986
|
+
p._store && (p._store.validated = !0);
|
|
18987
|
+
else if (p) {
|
|
18988
|
+
var de = L(p);
|
|
18989
|
+
if (typeof de == "function" && de !== p.entries)
|
|
18990
|
+
for (var Ee = de.call(p), ie; !(ie = Ee.next()).done; )
|
|
18991
18991
|
ft(ie.value) && rn(ie.value, k);
|
|
18992
18992
|
}
|
|
18993
18993
|
}
|
|
18994
18994
|
}
|
|
18995
|
-
function Ct(
|
|
18995
|
+
function Ct(p) {
|
|
18996
18996
|
{
|
|
18997
|
-
var k =
|
|
18997
|
+
var k = p.type;
|
|
18998
18998
|
if (k == null || typeof k == "string")
|
|
18999
18999
|
return;
|
|
19000
19000
|
var R;
|
|
@@ -19002,13 +19002,13 @@ Check the top-level render call using <` + R + ">.");
|
|
|
19002
19002
|
R = k.propTypes;
|
|
19003
19003
|
else if (typeof k == "object" && (k.$$typeof === c || // Note: Memo only checks outer props here.
|
|
19004
19004
|
// Inner props are checked in the reconciler.
|
|
19005
|
-
k.$$typeof ===
|
|
19005
|
+
k.$$typeof === m))
|
|
19006
19006
|
R = k.propTypes;
|
|
19007
19007
|
else
|
|
19008
19008
|
return;
|
|
19009
19009
|
if (R) {
|
|
19010
19010
|
var G = ae(k);
|
|
19011
|
-
Ge(R,
|
|
19011
|
+
Ge(R, p.props, "prop", G, p);
|
|
19012
19012
|
} else if (k.PropTypes !== void 0 && !At) {
|
|
19013
19013
|
At = !0;
|
|
19014
19014
|
var de = ae(k);
|
|
@@ -19017,31 +19017,31 @@ Check the top-level render call using <` + R + ">.");
|
|
|
19017
19017
|
typeof k.getDefaultProps == "function" && !k.getDefaultProps.isReactClassApproved && M("getDefaultProps is only used on classic React.createClass definitions. Use a static property named `defaultProps` instead.");
|
|
19018
19018
|
}
|
|
19019
19019
|
}
|
|
19020
|
-
function Yt(
|
|
19020
|
+
function Yt(p) {
|
|
19021
19021
|
{
|
|
19022
|
-
for (var k = Object.keys(
|
|
19022
|
+
for (var k = Object.keys(p.props), R = 0; R < k.length; R++) {
|
|
19023
19023
|
var G = k[R];
|
|
19024
19024
|
if (G !== "children" && G !== "key") {
|
|
19025
|
-
tt(
|
|
19025
|
+
tt(p), M("Invalid prop `%s` supplied to `React.Fragment`. React.Fragment can only have `key` and `children` props.", G), tt(null);
|
|
19026
19026
|
break;
|
|
19027
19027
|
}
|
|
19028
19028
|
}
|
|
19029
|
-
|
|
19029
|
+
p.ref !== null && (tt(p), M("Invalid attribute `ref` supplied to `React.Fragment`."), tt(null));
|
|
19030
19030
|
}
|
|
19031
19031
|
}
|
|
19032
19032
|
var $t = {};
|
|
19033
|
-
function an(
|
|
19033
|
+
function an(p, k, R, G, de, Ee) {
|
|
19034
19034
|
{
|
|
19035
|
-
var ie = P(
|
|
19035
|
+
var ie = P(p);
|
|
19036
19036
|
if (!ie) {
|
|
19037
19037
|
var re = "";
|
|
19038
|
-
(
|
|
19038
|
+
(p === void 0 || typeof p == "object" && p !== null && Object.keys(p).length === 0) && (re += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
19039
19039
|
var Me = xn();
|
|
19040
19040
|
Me ? re += Me : re += yt();
|
|
19041
19041
|
var xe;
|
|
19042
|
-
|
|
19042
|
+
p === null ? xe = "null" : bt(p) ? xe = "array" : p !== void 0 && p.$$typeof === t ? (xe = "<" + (ae(p.type) || "Unknown") + " />", re = " Did you accidentally export a JSX literal instead of a component?") : xe = typeof p, M("React.jsx: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: %s.%s", xe, re);
|
|
19043
19043
|
}
|
|
19044
|
-
var Ne = ct(
|
|
19044
|
+
var Ne = ct(p, k, R, de, Ee);
|
|
19045
19045
|
if (Ne == null)
|
|
19046
19046
|
return Ne;
|
|
19047
19047
|
if (ie) {
|
|
@@ -19050,15 +19050,15 @@ Check the top-level render call using <` + R + ">.");
|
|
|
19050
19050
|
if (G)
|
|
19051
19051
|
if (bt($e)) {
|
|
19052
19052
|
for (var dt = 0; dt < $e.length; dt++)
|
|
19053
|
-
un($e[dt],
|
|
19053
|
+
un($e[dt], p);
|
|
19054
19054
|
Object.freeze && Object.freeze($e);
|
|
19055
19055
|
} else
|
|
19056
19056
|
M("React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead.");
|
|
19057
19057
|
else
|
|
19058
|
-
un($e,
|
|
19058
|
+
un($e, p);
|
|
19059
19059
|
}
|
|
19060
19060
|
if (Ze.call(k, "key")) {
|
|
19061
|
-
var nt = ae(
|
|
19061
|
+
var nt = ae(p), ze = Object.keys(k).filter(function(On) {
|
|
19062
19062
|
return On !== "key";
|
|
19063
19063
|
}), Vt = ze.length > 0 ? "{key: someKey, " + ze.join(": ..., ") + ": ...}" : "{key: someKey}";
|
|
19064
19064
|
if (!$t[nt + Vt]) {
|
|
@@ -19071,14 +19071,14 @@ React keys must be passed directly to JSX without using spread:
|
|
|
19071
19071
|
<%s key={someKey} {...props} />`, Vt, nt, Rn, nt), $t[nt + Vt] = !0;
|
|
19072
19072
|
}
|
|
19073
19073
|
}
|
|
19074
|
-
return
|
|
19074
|
+
return p === r ? Yt(Ne) : Ct(Ne), Ne;
|
|
19075
19075
|
}
|
|
19076
19076
|
}
|
|
19077
|
-
function kn(
|
|
19078
|
-
return an(
|
|
19077
|
+
function kn(p, k, R) {
|
|
19078
|
+
return an(p, k, R, !0);
|
|
19079
19079
|
}
|
|
19080
|
-
function Nn(
|
|
19081
|
-
return an(
|
|
19080
|
+
function Nn(p, k, R) {
|
|
19081
|
+
return an(p, k, R, !1);
|
|
19082
19082
|
}
|
|
19083
19083
|
var In = Nn, sn = kn;
|
|
19084
19084
|
hu.Fragment = r, hu.jsx = In, hu.jsxs = sn;
|
|
@@ -19102,9 +19102,9 @@ function XT() {
|
|
|
19102
19102
|
if (uo)
|
|
19103
19103
|
return we;
|
|
19104
19104
|
uo = 1;
|
|
19105
|
-
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"),
|
|
19105
|
+
var e = Symbol.for("react.element"), t = Symbol.for("react.portal"), n = Symbol.for("react.fragment"), r = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), i = Symbol.for("react.provider"), a = Symbol.for("react.context"), l = Symbol.for("react.forward_ref"), c = Symbol.for("react.suspense"), f = Symbol.for("react.memo"), d = Symbol.for("react.lazy"), m = Symbol.iterator;
|
|
19106
19106
|
function T(b) {
|
|
19107
|
-
return b === null || typeof b != "object" ? null : (b =
|
|
19107
|
+
return b === null || typeof b != "object" ? null : (b = m && b[m] || b["@@iterator"], typeof b == "function" ? b : null);
|
|
19108
19108
|
}
|
|
19109
19109
|
var E = { isMounted: function() {
|
|
19110
19110
|
return !1;
|
|
@@ -19331,7 +19331,7 @@ function KT() {
|
|
|
19331
19331
|
return io || (io = 1, function(e, t) {
|
|
19332
19332
|
process.env.NODE_ENV !== "production" && function() {
|
|
19333
19333
|
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStart(new Error());
|
|
19334
|
-
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"),
|
|
19334
|
+
var n = "18.3.1", r = Symbol.for("react.element"), u = Symbol.for("react.portal"), i = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), l = Symbol.for("react.profiler"), c = Symbol.for("react.provider"), f = Symbol.for("react.context"), d = Symbol.for("react.forward_ref"), m = Symbol.for("react.suspense"), T = Symbol.for("react.suspense_list"), E = Symbol.for("react.memo"), D = Symbol.for("react.lazy"), F = Symbol.for("react.offscreen"), L = Symbol.iterator, w = "@@iterator";
|
|
19335
19335
|
function M(s) {
|
|
19336
19336
|
if (s === null || typeof s != "object")
|
|
19337
19337
|
return null;
|
|
@@ -19558,7 +19558,7 @@ function KT() {
|
|
|
19558
19558
|
return "Profiler";
|
|
19559
19559
|
case a:
|
|
19560
19560
|
return "StrictMode";
|
|
19561
|
-
case
|
|
19561
|
+
case m:
|
|
19562
19562
|
return "Suspense";
|
|
19563
19563
|
case T:
|
|
19564
19564
|
return "SuspenseList";
|
|
@@ -19996,15 +19996,15 @@ Your code should look like:
|
|
|
19996
19996
|
}
|
|
19997
19997
|
var sn;
|
|
19998
19998
|
sn = Symbol.for("react.module.reference");
|
|
19999
|
-
function
|
|
20000
|
-
return !!(typeof s == "string" || typeof s == "function" || s === i || s === l || le || s === a || s ===
|
|
19999
|
+
function p(s) {
|
|
20000
|
+
return !!(typeof s == "string" || typeof s == "function" || s === i || s === l || le || s === a || s === m || s === T || ae || s === F || P || te || q || typeof s == "object" && s !== null && (s.$$typeof === D || s.$$typeof === E || s.$$typeof === c || s.$$typeof === f || s.$$typeof === d || // This needs to include all possible module reference object
|
|
20001
20001
|
// types supported by any Flight configuration anywhere since
|
|
20002
20002
|
// we don't know which Flight build this will end up being used
|
|
20003
20003
|
// with.
|
|
20004
20004
|
s.$$typeof === sn || s.getModuleId !== void 0));
|
|
20005
20005
|
}
|
|
20006
20006
|
function k(s, h) {
|
|
20007
|
-
|
|
20007
|
+
p(s) || Y("memo: The first argument must be a component. Instead received: %s", s === null ? "null" : typeof s);
|
|
20008
20008
|
var _ = {
|
|
20009
20009
|
$$typeof: E,
|
|
20010
20010
|
type: s,
|
|
@@ -20266,7 +20266,7 @@ See https://reactjs.org/link/invalid-hook-call for tips about how to debug and f
|
|
|
20266
20266
|
if (typeof s == "string")
|
|
20267
20267
|
return on(s);
|
|
20268
20268
|
switch (s) {
|
|
20269
|
-
case
|
|
20269
|
+
case m:
|
|
20270
20270
|
return on("Suspense");
|
|
20271
20271
|
case T:
|
|
20272
20272
|
return on("SuspenseList");
|
|
@@ -20422,7 +20422,7 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
20422
20422
|
}
|
|
20423
20423
|
}
|
|
20424
20424
|
function Sr(s, h, _) {
|
|
20425
|
-
var C =
|
|
20425
|
+
var C = p(s);
|
|
20426
20426
|
if (!C) {
|
|
20427
20427
|
var O = "";
|
|
20428
20428
|
(s === void 0 || typeof s == "object" && s !== null && Object.keys(s).length === 0) && (O += " You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.");
|
|
@@ -20582,7 +20582,7 @@ Check the top-level render call using <` + _ + ">.");
|
|
|
20582
20582
|
toArray: Sn,
|
|
20583
20583
|
only: rn
|
|
20584
20584
|
};
|
|
20585
|
-
t.Children = ni, t.Component = ee, t.Fragment = i, t.Profiler = l, t.PureComponent = fe, t.StrictMode = a, t.Suspense =
|
|
20585
|
+
t.Children = ni, t.Component = ee, t.Fragment = i, t.Profiler = l, t.PureComponent = fe, t.StrictMode = a, t.Suspense = m, t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = N, t.act = Rr, t.cloneElement = ei, t.createContext = un, t.createElement = Zu, t.createFactory = ti, t.createRef = wt, t.forwardRef = In, t.isValidElement = Xe, t.lazy = Nn, t.memo = k, t.startTransition = Ku, t.unstable_act = Rr, t.useCallback = Ne, t.useContext = G, t.useDebugValue = nt, t.useDeferredValue = Vt, t.useEffect = re, t.useId = Rn, t.useImperativeHandle = dt, t.useInsertionEffect = Me, t.useLayoutEffect = xe, t.useMemo = $e, t.useReducer = Ee, t.useRef = ie, t.useState = de, t.useSyncExternalStore = On, t.useTransition = ze, t.version = n, typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ < "u" && typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop == "function" && __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop(new Error());
|
|
20586
20586
|
}();
|
|
20587
20587
|
}(_u, _u.exports)), _u.exports;
|
|
20588
20588
|
}
|
|
@@ -20947,7 +20947,7 @@ const Ec = Dt.createContext({ href: "" }), o_ = ({
|
|
|
20947
20947
|
className: c,
|
|
20948
20948
|
children: f,
|
|
20949
20949
|
...d
|
|
20950
|
-
} = e,
|
|
20950
|
+
} = e, m = `${u === "xs" ? "scale-105" : "scale-125"}`, T = `
|
|
20951
20951
|
inline-block
|
|
20952
20952
|
align-middle
|
|
20953
20953
|
mb-1
|
|
@@ -20972,7 +20972,7 @@ const Ec = Dt.createContext({ href: "" }), o_ = ({
|
|
|
20972
20972
|
i === "left" && /* @__PURE__ */ Te.jsx(
|
|
20973
20973
|
"span",
|
|
20974
20974
|
{
|
|
20975
|
-
className: Pe(T,
|
|
20975
|
+
className: Pe(T, m),
|
|
20976
20976
|
"aria-hidden": D,
|
|
20977
20977
|
children: a
|
|
20978
20978
|
}
|
|
@@ -20981,7 +20981,7 @@ const Ec = Dt.createContext({ href: "" }), o_ = ({
|
|
|
20981
20981
|
i === "right" && /* @__PURE__ */ Te.jsx(
|
|
20982
20982
|
"span",
|
|
20983
20983
|
{
|
|
20984
|
-
className: Pe(T,
|
|
20984
|
+
className: Pe(T, m),
|
|
20985
20985
|
"aria-hidden": D,
|
|
20986
20986
|
children: a
|
|
20987
20987
|
}
|
|
@@ -21428,14 +21428,19 @@ const H_ = () => (e) => {
|
|
|
21428
21428
|
lg:w-[${e.width}px]
|
|
21429
21429
|
lg:h-[${e.height}px]
|
|
21430
21430
|
`), /* @__PURE__ */ Ye.jsx("iframe", { className: nr(u, i, t), ...r, children: n });
|
|
21431
|
-
}, Z_ = ({
|
|
21432
|
-
|
|
21431
|
+
}, Z_ = ({
|
|
21432
|
+
children: e,
|
|
21433
|
+
showToc: t,
|
|
21434
|
+
tocTitle: n = "目次",
|
|
21435
|
+
shiftHeding: r = 0
|
|
21436
|
+
}) => {
|
|
21437
|
+
const [u, i] = Dt.useState([]), [a, l] = Dt.useState(/* @__PURE__ */ Ye.jsx(Dt.Fragment, {}));
|
|
21433
21438
|
Dt.useEffect(() => {
|
|
21434
|
-
|
|
21439
|
+
i(c(e)), l(d(e));
|
|
21435
21440
|
}, [e]);
|
|
21436
|
-
const
|
|
21437
|
-
(
|
|
21438
|
-
),
|
|
21441
|
+
const c = (T) => Zd().use(V_).processSync(T).data.fm.headings.filter(
|
|
21442
|
+
(F) => F.depth < 3
|
|
21443
|
+
), f = {
|
|
21439
21444
|
...xc,
|
|
21440
21445
|
components: {
|
|
21441
21446
|
a: W_,
|
|
@@ -21465,9 +21470,9 @@ const H_ = () => (e) => {
|
|
|
21465
21470
|
td: I_,
|
|
21466
21471
|
div: Q_
|
|
21467
21472
|
}
|
|
21468
|
-
},
|
|
21473
|
+
}, d = (T) => Uo().use(Do).use(Rp).use(Dm).use(p1).use(H_).use(F_).use(U_).use(z_).use(Y_).use($_).use(j_).use(f1, {
|
|
21469
21474
|
allowDangerousHtml: !0
|
|
21470
|
-
}).use(vb).use(Vb, { target: "_blank" }).use(Gb, { shift:
|
|
21475
|
+
}).use(vb).use(Vb, { target: "_blank" }).use(Gb, { shift: r }).use($T).use(BT, f).processSync(T).result;
|
|
21471
21476
|
return /* @__PURE__ */ Ye.jsxs("div", { className: "py-8 flex flex-col gap-8", children: [
|
|
21472
21477
|
t && /* @__PURE__ */ Ye.jsxs("nav", { className: `
|
|
21473
21478
|
rounded-3xl
|
|
@@ -21475,9 +21480,9 @@ const H_ = () => (e) => {
|
|
|
21475
21480
|
bg-wood-50
|
|
21476
21481
|
`, children: [
|
|
21477
21482
|
/* @__PURE__ */ Ye.jsx("h2", { className: "mb-4 font-bold text-h-xs-m sm:text-h-xs", children: n }),
|
|
21478
|
-
/* @__PURE__ */ Ye.jsx(Ki, { children: /* @__PURE__ */ Ye.jsx(Tc, { items:
|
|
21483
|
+
/* @__PURE__ */ Ye.jsx(Ki, { children: /* @__PURE__ */ Ye.jsx(Tc, { items: u }) })
|
|
21479
21484
|
] }),
|
|
21480
|
-
|
|
21485
|
+
a
|
|
21481
21486
|
] });
|
|
21482
21487
|
};
|
|
21483
21488
|
export {
|