@kong-ui-public/documentation 0.4.12 → 0.4.13
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/{arc-C2t0ExPw-CR_0vqRg.js → arc-C2t0ExPw-DLpexKUK.js} +1 -1
- package/dist/{blockDiagram-6b2b5046-BabM1eIl-C85stHtj.js → blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js} +5 -5
- package/dist/{c4Diagram-b947cdbb-BBGJ9ivn-Dwz3JGTI.js → c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js} +2 -2
- package/dist/{channel-DXyvEer2-OyVZq8Xo.js → channel-DXyvEer2-Do9TwFFf.js} +1 -1
- package/dist/{classDiagram-35230388-CRYNduH8-BOSSyxwU.js → classDiagram-35230388-CRYNduH8-CLsxllrW.js} +5 -5
- package/dist/{classDiagram-v2-412acd34-5HbyJrnL-ST64CPx5.js → classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js} +5 -5
- package/dist/{clone-BoeTe_OS-CjGEkx_F.js → clone-BoeTe_OS-CQarmEZE.js} +1 -1
- package/dist/{createText-423428c9-Q0HfccbL-DBcIXsnc.js → createText-423428c9-Q0HfccbL-Bwaom8lh.js} +1 -1
- package/dist/documentation.es.js +1 -1
- package/dist/documentation.umd.js +3 -3
- package/dist/{edges-d417c7a0-DEJA2PwU-c5o-9uno.js → edges-d417c7a0-DEJA2PwU-BX5bd8a1.js} +3 -3
- package/dist/{erDiagram-0ea73325-C3DQ6B1e-DjAGdzcu.js → erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js} +4 -4
- package/dist/{flowDb-d35e309a-RvFFqjek-pyC_lUzm.js → flowDb-d35e309a-RvFFqjek-t_Dexseh.js} +1 -1
- package/dist/{flowDiagram-d949d7c1-Boa20b_n-BKdBxRnq.js → flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js} +6 -6
- package/dist/{flowDiagram-v2-49332944-BJtijxhz-BfL0l3kS.js → flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js} +5 -5
- package/dist/{flowchart-elk-definition-27cc417a-BBD3LS9k-DhfRKjaQ.js → flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js} +4 -4
- package/dist/{ganttDiagram-5c869e3b-CRDFjzTp-C3-yl36r.js → ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js} +2 -2
- package/dist/{gitGraphDiagram-b9d81de9-D1rNIGL0-BG2n_b9U.js → gitGraphDiagram-b9d81de9-D1rNIGL0-DDkwKLsk.js} +1 -1
- package/dist/{graph-BIq67vWs-B7ta0ZdY.js → graph-BIq67vWs-Bc3nX8P0.js} +1 -1
- package/dist/{index-8fae9850-CaUboB89-KhmQqIkN.js → index-8fae9850-CaUboB89-B0nma_3r.js} +6 -6
- package/dist/{index-_NcqxG2P.js → index-Bh6WVkCI.js} +864 -864
- package/dist/{infoDiagram-db7b18fc-DKsewKnu-nKlnfk12.js → infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js} +1 -1
- package/dist/{journeyDiagram-d5636530-ClddNDmR-DXRHq-4M.js → journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js} +3 -3
- package/dist/{layout-Cz0dAJah-BTgthZsZ.js → layout-Cz0dAJah-C3YaSszT.js} +2 -2
- package/dist/{line-BCVITS7s-Ckay3mGw.js → line-BCVITS7s-Du1xeoK-.js} +1 -1
- package/dist/{linear-CLHAbj67-CRi7BpMp.js → linear-CLHAbj67-1tzRLAFO.js} +1 -1
- package/dist/{mindmap-definition-377f8f1f-BwEJ-DVg-DWk6Jo2n.js → mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js} +2 -2
- package/dist/{pieDiagram-b0208e96-Cyz2Kcfu-BKQLF9sW.js → pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js} +2 -2
- package/dist/{quadrantDiagram-0332be45-CDMkEQj0-B8KMwkcO.js → quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js} +2 -2
- package/dist/{requirementDiagram-bf7890df-Jk3SQ-Q1-ub7Z0GPl.js → requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js} +4 -4
- package/dist/{sankeyDiagram-0acdec17-BJuIUJd_-BnkIVf8S.js → sankeyDiagram-0acdec17-BJuIUJd_-Ce7q-NNk.js} +1 -1
- package/dist/{sequenceDiagram-c18d009d-B4IxGCEM-B3uFgxU_.js → sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js} +2 -2
- package/dist/{stateDiagram-43596fc0-0xEMkbt_-BALY6uIB.js → stateDiagram-43596fc0-0xEMkbt_-jFUk_xdU.js} +5 -5
- package/dist/{stateDiagram-v2-2ead4f9c-DS4afpcC-B7o3rR3l.js → stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js} +5 -5
- package/dist/{styles-6860f46c-ZdhsT5S9-obFqRkzA.js → styles-6860f46c-ZdhsT5S9-Du_QdneE.js} +1 -1
- package/dist/{styles-7383a064-C7WyH3qz-C_v2lpXJ.js → styles-7383a064-C7WyH3qz-B1ftH-y8.js} +4 -4
- package/dist/{styles-b2c874b6-BFg-Nblp-DDESTBsS.js → styles-b2c874b6-BFg-Nblp-B0z_umAE.js} +1 -1
- package/dist/{svgDrawCommon-0ee1b4e9-CpOZq9bS-Cw8Tr_3J.js → svgDrawCommon-0ee1b4e9-CpOZq9bS-BwyJFwu6.js} +1 -1
- package/dist/{timeline-definition-d977decf-BqZwyTB6-C3j7tbKa.js → timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js} +2 -2
- package/dist/{xychartDiagram-e50adddc-C1fuuOEQ-CF13knJk.js → xychartDiagram-e50adddc-C1fuuOEQ-DHvZ99O1.js} +4 -4
- package/package.json +2 -2
|
@@ -119,7 +119,7 @@ Ie.prototype.constructor = Ie;
|
|
|
119
119
|
Ie.prototype.toString = function(A) {
|
|
120
120
|
return this.name + ": " + qt(this, A);
|
|
121
121
|
};
|
|
122
|
-
var
|
|
122
|
+
var te = Ie, ai = [
|
|
123
123
|
"kind",
|
|
124
124
|
"multi",
|
|
125
125
|
"resolve",
|
|
@@ -146,15 +146,15 @@ function li$1(A) {
|
|
|
146
146
|
function si(A, g) {
|
|
147
147
|
if (g = g || {}, Object.keys(g).forEach(function(B) {
|
|
148
148
|
if (ai.indexOf(B) === -1)
|
|
149
|
-
throw new
|
|
149
|
+
throw new te('Unknown option "' + B + '" is met in definition of "' + A + '" YAML type.');
|
|
150
150
|
}), this.options = g, this.tag = A, this.kind = g.kind || null, this.resolve = g.resolve || function() {
|
|
151
151
|
return !0;
|
|
152
152
|
}, this.construct = g.construct || function(B) {
|
|
153
153
|
return B;
|
|
154
154
|
}, this.instanceOf = g.instanceOf || null, this.predicate = g.predicate || null, this.represent = g.represent || null, this.representName = g.representName || null, this.defaultStyle = g.defaultStyle || null, this.multi = g.multi || !1, this.styleAliases = li$1(g.styleAliases || null), oi.indexOf(this.kind) === -1)
|
|
155
|
-
throw new
|
|
155
|
+
throw new te('Unknown kind "' + this.kind + '" is specified for "' + A + '" YAML type.');
|
|
156
156
|
}
|
|
157
|
-
var
|
|
157
|
+
var X = si;
|
|
158
158
|
function mt(A, g) {
|
|
159
159
|
var B = [];
|
|
160
160
|
return A[g].forEach(function(E) {
|
|
@@ -189,39 +189,39 @@ function We(A) {
|
|
|
189
189
|
}
|
|
190
190
|
We.prototype.extend = function(A) {
|
|
191
191
|
var g = [], B = [];
|
|
192
|
-
if (A instanceof
|
|
192
|
+
if (A instanceof X)
|
|
193
193
|
B.push(A);
|
|
194
194
|
else if (Array.isArray(A))
|
|
195
195
|
B = B.concat(A);
|
|
196
196
|
else if (A && (Array.isArray(A.implicit) || Array.isArray(A.explicit)))
|
|
197
197
|
A.implicit && (g = g.concat(A.implicit)), A.explicit && (B = B.concat(A.explicit));
|
|
198
198
|
else
|
|
199
|
-
throw new
|
|
199
|
+
throw new te("Schema.extend argument should be a Type, [ Type ], or a schema definition ({ implicit: [...], explicit: [...] })");
|
|
200
200
|
g.forEach(function(C) {
|
|
201
|
-
if (!(C instanceof
|
|
202
|
-
throw new
|
|
201
|
+
if (!(C instanceof X))
|
|
202
|
+
throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
203
203
|
if (C.loadKind && C.loadKind !== "scalar")
|
|
204
|
-
throw new
|
|
204
|
+
throw new te("There is a non-scalar type in the implicit list of a schema. Implicit resolving of such types is not supported.");
|
|
205
205
|
if (C.multi)
|
|
206
|
-
throw new
|
|
206
|
+
throw new te("There is a multi type in the implicit list of a schema. Multi tags can only be listed as explicit.");
|
|
207
207
|
}), B.forEach(function(C) {
|
|
208
|
-
if (!(C instanceof
|
|
209
|
-
throw new
|
|
208
|
+
if (!(C instanceof X))
|
|
209
|
+
throw new te("Specified list of YAML types (or a single Type object) contains a non-Type object.");
|
|
210
210
|
});
|
|
211
211
|
var E = Object.create(We.prototype);
|
|
212
212
|
return E.implicit = (this.implicit || []).concat(g), E.explicit = (this.explicit || []).concat(B), E.compiledImplicit = mt(E, "implicit"), E.compiledExplicit = mt(E, "explicit"), E.compiledTypeMap = ci(E.compiledImplicit, E.compiledExplicit), E;
|
|
213
213
|
};
|
|
214
|
-
var Pt$1 = We, Ht = new
|
|
214
|
+
var Pt$1 = We, Ht = new X("tag:yaml.org,2002:str", {
|
|
215
215
|
kind: "scalar",
|
|
216
216
|
construct: function(A) {
|
|
217
217
|
return A !== null ? A : "";
|
|
218
218
|
}
|
|
219
|
-
}), Vt = new
|
|
219
|
+
}), Vt = new X("tag:yaml.org,2002:seq", {
|
|
220
220
|
kind: "sequence",
|
|
221
221
|
construct: function(A) {
|
|
222
222
|
return A !== null ? A : [];
|
|
223
223
|
}
|
|
224
|
-
}), Yt = new
|
|
224
|
+
}), Yt = new X("tag:yaml.org,2002:map", {
|
|
225
225
|
kind: "mapping",
|
|
226
226
|
construct: function(A) {
|
|
227
227
|
return A !== null ? A : {};
|
|
@@ -245,7 +245,7 @@ function di() {
|
|
|
245
245
|
function fi(A) {
|
|
246
246
|
return A === null;
|
|
247
247
|
}
|
|
248
|
-
var Wt = new
|
|
248
|
+
var Wt = new X("tag:yaml.org,2002:null", {
|
|
249
249
|
kind: "scalar",
|
|
250
250
|
resolve: ui,
|
|
251
251
|
construct: di,
|
|
@@ -281,7 +281,7 @@ function hi(A) {
|
|
|
281
281
|
function mi(A) {
|
|
282
282
|
return Object.prototype.toString.call(A) === "[object Boolean]";
|
|
283
283
|
}
|
|
284
|
-
var Jt = new
|
|
284
|
+
var Jt = new X("tag:yaml.org,2002:bool", {
|
|
285
285
|
kind: "scalar",
|
|
286
286
|
resolve: pi$1,
|
|
287
287
|
construct: hi,
|
|
@@ -372,7 +372,7 @@ function xi(A) {
|
|
|
372
372
|
function Ci(A) {
|
|
373
373
|
return Object.prototype.toString.call(A) === "[object Number]" && A % 1 === 0 && !G.isNegativeZero(A);
|
|
374
374
|
}
|
|
375
|
-
var Gt$1 = new
|
|
375
|
+
var Gt$1 = new X("tag:yaml.org,2002:int", {
|
|
376
376
|
kind: "scalar",
|
|
377
377
|
resolve: bi,
|
|
378
378
|
construct: xi,
|
|
@@ -449,7 +449,7 @@ function Si(A, g) {
|
|
|
449
449
|
function Ii(A) {
|
|
450
450
|
return Object.prototype.toString.call(A) === "[object Number]" && (A % 1 !== 0 || G.isNegativeZero(A));
|
|
451
451
|
}
|
|
452
|
-
var Zt = new
|
|
452
|
+
var Zt = new X("tag:yaml.org,2002:float", {
|
|
453
453
|
kind: "scalar",
|
|
454
454
|
resolve: ki,
|
|
455
455
|
construct: wi,
|
|
@@ -487,7 +487,7 @@ function Ti(A) {
|
|
|
487
487
|
function Fi$1(A) {
|
|
488
488
|
return A.toISOString();
|
|
489
489
|
}
|
|
490
|
-
var nn = new
|
|
490
|
+
var nn = new X("tag:yaml.org,2002:timestamp", {
|
|
491
491
|
kind: "scalar",
|
|
492
492
|
resolve: Ei$1,
|
|
493
493
|
construct: Ti,
|
|
@@ -497,7 +497,7 @@ var nn = new Q("tag:yaml.org,2002:timestamp", {
|
|
|
497
497
|
function Oi(A) {
|
|
498
498
|
return A === "<<" || A === null;
|
|
499
499
|
}
|
|
500
|
-
var rn = new
|
|
500
|
+
var rn = new X("tag:yaml.org,2002:merge", {
|
|
501
501
|
kind: "scalar",
|
|
502
502
|
resolve: Oi
|
|
503
503
|
}), tt = `ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=
|
|
@@ -529,7 +529,7 @@ function Ni(A) {
|
|
|
529
529
|
function Ri(A) {
|
|
530
530
|
return Object.prototype.toString.call(A) === "[object Uint8Array]";
|
|
531
531
|
}
|
|
532
|
-
var an = new
|
|
532
|
+
var an = new X("tag:yaml.org,2002:binary", {
|
|
533
533
|
kind: "scalar",
|
|
534
534
|
resolve: $i,
|
|
535
535
|
construct: Li,
|
|
@@ -561,7 +561,7 @@ function Mi$1(A) {
|
|
|
561
561
|
function Di$1(A) {
|
|
562
562
|
return A !== null ? A : [];
|
|
563
563
|
}
|
|
564
|
-
var on = new
|
|
564
|
+
var on = new X("tag:yaml.org,2002:omap", {
|
|
565
565
|
kind: "sequence",
|
|
566
566
|
resolve: Mi$1,
|
|
567
567
|
construct: Di$1
|
|
@@ -585,7 +585,7 @@ function qi(A) {
|
|
|
585
585
|
E = w[g], C = Object.keys(E), I[g] = [C[0], E[C[0]]];
|
|
586
586
|
return I;
|
|
587
587
|
}
|
|
588
|
-
var ln = new
|
|
588
|
+
var ln = new X("tag:yaml.org,2002:pairs", {
|
|
589
589
|
kind: "sequence",
|
|
590
590
|
resolve: ji,
|
|
591
591
|
construct: qi
|
|
@@ -602,7 +602,7 @@ function Hi$1(A) {
|
|
|
602
602
|
function Vi$1(A) {
|
|
603
603
|
return A !== null ? A : {};
|
|
604
604
|
}
|
|
605
|
-
var sn = new
|
|
605
|
+
var sn = new X("tag:yaml.org,2002:set", {
|
|
606
606
|
kind: "mapping",
|
|
607
607
|
resolve: Hi$1,
|
|
608
608
|
construct: Vi$1
|
|
@@ -656,9 +656,9 @@ const ts = /* @__PURE__ */ defineComponent({
|
|
|
656
656
|
isAllowed: B.value
|
|
657
657
|
}) : createCommentVNode("", !0);
|
|
658
658
|
}
|
|
659
|
-
}),
|
|
659
|
+
}), Q = [];
|
|
660
660
|
for (let A = 0; A < 256; ++A)
|
|
661
|
-
|
|
661
|
+
Q.push((A + 256).toString(16).slice(1));
|
|
662
662
|
typeof crypto < "u" && crypto.randomUUID && crypto.randomUUID.bind(crypto);
|
|
663
663
|
var ye = Object.defineProperty, ke = (A, g, B) => g in A ? ye(A, g, { enumerable: !0, configurable: !0, writable: !0, value: B }) : A[g] = B, K = (A, g, B) => (ke(A, typeof g != "symbol" ? g + "" : g, B), B);
|
|
664
664
|
const UNIQUE_ID_INJECTION_KEY = Symbol("The unique id that prefixes all identifiers within a single instance of the component"), TEXTAREA_ID_INJECTION_KEY = Symbol("Textarea unique id"), MODE_INJECTION_KEY = Symbol("Markdown component mode"), EDITABLE_INJECTION_KEY = Symbol("Is the markdown component editable"), FULLSCREEN_INJECTION_KEY = Symbol("Is the markdown component displaying fullscreen"), THEME_INJECTION_KEY = Symbol("Active theme, light or dark"), HTML_PREVIEW_INJECTION_KEY = Symbol("Is the html preview enabled");
|
|
@@ -838,14 +838,14 @@ function useScroll(A, g = {}) {
|
|
|
838
838
|
x(void 0, W);
|
|
839
839
|
}
|
|
840
840
|
});
|
|
841
|
-
function x(W,
|
|
842
|
-
var
|
|
841
|
+
function x(W, aA) {
|
|
842
|
+
var CA, QA, EA;
|
|
843
843
|
if (!m)
|
|
844
844
|
return;
|
|
845
|
-
const
|
|
846
|
-
|
|
847
|
-
top: (
|
|
848
|
-
left: (
|
|
845
|
+
const cA = toValue(A);
|
|
846
|
+
cA && ((EA = cA instanceof Document ? m.document.body : cA) == null || EA.scrollTo({
|
|
847
|
+
top: (CA = toValue(aA)) != null ? CA : F.value,
|
|
848
|
+
left: (QA = toValue(W)) != null ? QA : L.value,
|
|
849
849
|
behavior: toValue(D)
|
|
850
850
|
}));
|
|
851
851
|
}
|
|
@@ -862,23 +862,23 @@ function useScroll(A, g = {}) {
|
|
|
862
862
|
}), J = (W) => {
|
|
863
863
|
H.value && (H.value = !1, U.left = !1, U.right = !1, U.top = !1, U.bottom = !1, C(W));
|
|
864
864
|
}, q = useDebounceFn(J, B + E), O = (W) => {
|
|
865
|
-
var
|
|
865
|
+
var aA;
|
|
866
866
|
if (!m)
|
|
867
867
|
return;
|
|
868
|
-
const
|
|
869
|
-
U.left =
|
|
870
|
-
const
|
|
871
|
-
|
|
872
|
-
let
|
|
873
|
-
W === m.document && !
|
|
874
|
-
const
|
|
875
|
-
|
|
868
|
+
const CA = ((aA = W == null ? void 0 : W.document) == null ? void 0 : aA.documentElement) || (W == null ? void 0 : W.documentElement) || unrefElement(W), { display: QA, flexDirection: EA } = getComputedStyle(CA), cA = CA.scrollLeft;
|
|
869
|
+
U.left = cA < k.value, U.right = cA > k.value;
|
|
870
|
+
const pA = Math.abs(cA) <= (w.left || 0), oA = Math.abs(cA) + CA.clientWidth >= CA.scrollWidth - (w.right || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
871
|
+
QA === "flex" && EA === "row-reverse" ? (Y.left = oA, Y.right = pA) : (Y.left = pA, Y.right = oA), k.value = cA;
|
|
872
|
+
let V = CA.scrollTop;
|
|
873
|
+
W === m.document && !V && (V = m.document.body.scrollTop), U.top = V < M.value, U.bottom = V > M.value;
|
|
874
|
+
const AA = Math.abs(V) <= (w.top || 0), nA = Math.abs(V) + CA.clientHeight >= CA.scrollHeight - (w.bottom || 0) - ARRIVED_STATE_THRESHOLD_PIXELS;
|
|
875
|
+
QA === "flex" && EA === "column-reverse" ? (Y.top = nA, Y.bottom = AA) : (Y.top = AA, Y.bottom = nA), M.value = V;
|
|
876
876
|
}, j = (W) => {
|
|
877
|
-
var
|
|
877
|
+
var aA;
|
|
878
878
|
if (!m)
|
|
879
879
|
return;
|
|
880
|
-
const
|
|
881
|
-
O(
|
|
880
|
+
const CA = (aA = W.target.documentElement) != null ? aA : W.target;
|
|
881
|
+
O(CA), H.value = !0, q(W), I(W);
|
|
882
882
|
};
|
|
883
883
|
return useEventListener(
|
|
884
884
|
A,
|
|
@@ -4423,7 +4423,7 @@ class BasicScopeAttributes {
|
|
|
4423
4423
|
K(this, "languageId"), K(this, "tokenType"), this.languageId = g, this.tokenType = B;
|
|
4424
4424
|
}
|
|
4425
4425
|
}
|
|
4426
|
-
const VA = class
|
|
4426
|
+
const VA = class ce {
|
|
4427
4427
|
constructor(g, B) {
|
|
4428
4428
|
K(this, "_defaultAttributes"), K(this, "_embeddedLanguagesMatcher"), K(this, "_getBasicScopeAttributes", new CachedFn((E) => {
|
|
4429
4429
|
const C = this._scopeToLanguage(E), I = this._toStandardTokenType(E);
|
|
@@ -4438,7 +4438,7 @@ const VA = class Ce {
|
|
|
4438
4438
|
return this._defaultAttributes;
|
|
4439
4439
|
}
|
|
4440
4440
|
getBasicScopeAttributes(g) {
|
|
4441
|
-
return g === null ?
|
|
4441
|
+
return g === null ? ce._NULL_SCOPE_METADATA : this._getBasicScopeAttributes.get(g);
|
|
4442
4442
|
}
|
|
4443
4443
|
/**
|
|
4444
4444
|
* Given a produced TM scope, return the language that token describes or null if unknown.
|
|
@@ -4448,7 +4448,7 @@ const VA = class Ce {
|
|
|
4448
4448
|
return this._embeddedLanguagesMatcher.match(g) || 0;
|
|
4449
4449
|
}
|
|
4450
4450
|
_toStandardTokenType(g) {
|
|
4451
|
-
const B = g.match(
|
|
4451
|
+
const B = g.match(ce.STANDARD_TOKEN_TYPE_REGEXP);
|
|
4452
4452
|
if (!B)
|
|
4453
4453
|
return 8;
|
|
4454
4454
|
switch (B[1]) {
|
|
@@ -4890,7 +4890,7 @@ class AttributedScopeStack {
|
|
|
4890
4890
|
return C === g ? E.reverse() : void 0;
|
|
4891
4891
|
}
|
|
4892
4892
|
}
|
|
4893
|
-
const zA = class
|
|
4893
|
+
const zA = class ge {
|
|
4894
4894
|
/**
|
|
4895
4895
|
* Invariant:
|
|
4896
4896
|
* ```
|
|
@@ -4906,7 +4906,7 @@ const zA = class ne {
|
|
|
4906
4906
|
K(this, "parent"), K(this, "ruleId"), K(this, "beginRuleCapturedEOL"), K(this, "endRule"), K(this, "nameScopesList"), K(this, "contentNameScopesList"), K(this, "_stackElementBrand"), K(this, "_enterPos"), K(this, "_anchorPos"), K(this, "depth"), this.parent = g, this.ruleId = B, this.beginRuleCapturedEOL = I, this.endRule = w, this.nameScopesList = h, this.contentNameScopesList = D, this.depth = this.parent ? this.parent.depth + 1 : 1, this._enterPos = E, this._anchorPos = C;
|
|
4907
4907
|
}
|
|
4908
4908
|
equals(g) {
|
|
4909
|
-
return g === null ? !1 :
|
|
4909
|
+
return g === null ? !1 : ge._equals(this, g);
|
|
4910
4910
|
}
|
|
4911
4911
|
static _equals(g, B) {
|
|
4912
4912
|
return g === B ? !0 : this._structuralEquals(g, B) ? AttributedScopeStack.equals(g.contentNameScopesList, B.contentNameScopesList) : !1;
|
|
@@ -4931,7 +4931,7 @@ const zA = class ne {
|
|
|
4931
4931
|
g._enterPos = -1, g._anchorPos = -1, g = g.parent;
|
|
4932
4932
|
}
|
|
4933
4933
|
reset() {
|
|
4934
|
-
|
|
4934
|
+
ge._reset(this);
|
|
4935
4935
|
}
|
|
4936
4936
|
pop() {
|
|
4937
4937
|
return this.parent;
|
|
@@ -4940,7 +4940,7 @@ const zA = class ne {
|
|
|
4940
4940
|
return this.parent ? this.parent : this;
|
|
4941
4941
|
}
|
|
4942
4942
|
push(g, B, E, C, I, w, h) {
|
|
4943
|
-
return new
|
|
4943
|
+
return new ge(this, g, B, E, C, I, w, h);
|
|
4944
4944
|
}
|
|
4945
4945
|
getEnterPos() {
|
|
4946
4946
|
return this._enterPos;
|
|
@@ -4963,7 +4963,7 @@ const zA = class ne {
|
|
|
4963
4963
|
return this.contentNameScopesList === g ? this : this.parent.push(this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, this.endRule, this.nameScopesList, g);
|
|
4964
4964
|
}
|
|
4965
4965
|
withEndRule(g) {
|
|
4966
|
-
return this.endRule === g ? this : new
|
|
4966
|
+
return this.endRule === g ? this : new ge(this.parent, this.ruleId, this._enterPos, this._anchorPos, this.beginRuleCapturedEOL, g, this.nameScopesList, this.contentNameScopesList);
|
|
4967
4967
|
}
|
|
4968
4968
|
// Used to warn of endless loops
|
|
4969
4969
|
hasSameRuleAs(g) {
|
|
@@ -4987,7 +4987,7 @@ const zA = class ne {
|
|
|
4987
4987
|
}
|
|
4988
4988
|
static pushFrame(g, B) {
|
|
4989
4989
|
const E = AttributedScopeStack.fromExtension((g == null ? void 0 : g.nameScopesList) ?? null, B.nameScopesList);
|
|
4990
|
-
return new
|
|
4990
|
+
return new ge(g, B.ruleId, B.enterPos ?? -1, B.anchorPos ?? -1, B.beginRuleCapturedEOL, B.endRule, E, AttributedScopeStack.fromExtension(E, B.contentNameScopesList));
|
|
4991
4991
|
}
|
|
4992
4992
|
};
|
|
4993
4993
|
K(zA, "NULL", new zA(null, 0, 0, 0, !1, null, null, null));
|
|
@@ -5605,24 +5605,24 @@ function tokenizeWithTheme(A, g, B, E, C) {
|
|
|
5605
5605
|
const j = J.tokens[2 * O], W = O + 1 < q ? J.tokens[2 * O + 2] : F.length;
|
|
5606
5606
|
if (j === W)
|
|
5607
5607
|
continue;
|
|
5608
|
-
const
|
|
5608
|
+
const aA = J.tokens[2 * O + 1], CA = StackElementMetadata.getForeground(aA), QA = applyColorReplacements(E[CA], I), EA = StackElementMetadata.getFontStyle(aA), cA = {
|
|
5609
5609
|
content: F.substring(j, W),
|
|
5610
5610
|
offset: x + j,
|
|
5611
|
-
color:
|
|
5612
|
-
fontStyle:
|
|
5611
|
+
color: QA,
|
|
5612
|
+
fontStyle: EA
|
|
5613
5613
|
};
|
|
5614
5614
|
if (C.includeExplanation) {
|
|
5615
|
-
|
|
5616
|
-
let
|
|
5617
|
-
for (; j +
|
|
5618
|
-
const
|
|
5619
|
-
|
|
5620
|
-
content:
|
|
5621
|
-
scopes: explainThemeScopes(B,
|
|
5615
|
+
cA.explanation = [];
|
|
5616
|
+
let pA = 0;
|
|
5617
|
+
for (; j + pA < W; ) {
|
|
5618
|
+
const oA = Y[U], V = F.substring(oA.startIndex, oA.endIndex);
|
|
5619
|
+
pA += V.length, cA.explanation.push({
|
|
5620
|
+
content: V,
|
|
5621
|
+
scopes: explainThemeScopes(B, oA.scopes)
|
|
5622
5622
|
}), U += 1;
|
|
5623
5623
|
}
|
|
5624
5624
|
}
|
|
5625
|
-
y.push(
|
|
5625
|
+
y.push(cA);
|
|
5626
5626
|
}
|
|
5627
5627
|
k.push(y), y = [], m = J.ruleStack;
|
|
5628
5628
|
}
|
|
@@ -8086,13 +8086,13 @@ class UtfString {
|
|
|
8086
8086
|
return g.HEAPU8.set(this.utf8Value, B), B;
|
|
8087
8087
|
}
|
|
8088
8088
|
}
|
|
8089
|
-
const PA = class
|
|
8089
|
+
const PA = class qA {
|
|
8090
8090
|
constructor(g) {
|
|
8091
|
-
if (K(this, "id", ++
|
|
8091
|
+
if (K(this, "id", ++qA.LAST_ID), K(this, "_onigBinding"), K(this, "content"), K(this, "utf16Length"), K(this, "utf8Length"), K(this, "utf16OffsetToUtf8"), K(this, "utf8OffsetToUtf16"), K(this, "ptr"), !onigBinding)
|
|
8092
8092
|
throw new ShikiError("Must invoke loadWasm first.");
|
|
8093
8093
|
this._onigBinding = onigBinding, this.content = g;
|
|
8094
8094
|
const B = new UtfString(g);
|
|
8095
|
-
this.utf16Length = B.utf16Length, this.utf8Length = B.utf8Length, this.utf16OffsetToUtf8 = B.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = B.utf8OffsetToUtf16, this.utf8Length < 1e4 && !
|
|
8095
|
+
this.utf16Length = B.utf16Length, this.utf8Length = B.utf8Length, this.utf16OffsetToUtf8 = B.utf16OffsetToUtf8, this.utf8OffsetToUtf16 = B.utf8OffsetToUtf16, this.utf8Length < 1e4 && !qA._sharedPtrInUse ? (qA._sharedPtr || (qA._sharedPtr = onigBinding.omalloc(1e4)), qA._sharedPtrInUse = !0, onigBinding.HEAPU8.set(B.utf8Value, qA._sharedPtr), this.ptr = qA._sharedPtr) : this.ptr = B.createString(onigBinding);
|
|
8096
8096
|
}
|
|
8097
8097
|
convertUtf8OffsetToUtf16(g) {
|
|
8098
8098
|
return this.utf8OffsetToUtf16 ? g < 0 ? 0 : g > this.utf8Length ? this.utf16Length : this.utf8OffsetToUtf16[g] : g;
|
|
@@ -8101,7 +8101,7 @@ const PA = class JA {
|
|
|
8101
8101
|
return this.utf16OffsetToUtf8 ? g < 0 ? 0 : g > this.utf16Length ? this.utf8Length : this.utf16OffsetToUtf8[g] : g;
|
|
8102
8102
|
}
|
|
8103
8103
|
dispose() {
|
|
8104
|
-
this.ptr ===
|
|
8104
|
+
this.ptr === qA._sharedPtr ? qA._sharedPtrInUse = !1 : this._onigBinding.ofree(this.ptr);
|
|
8105
8105
|
}
|
|
8106
8106
|
};
|
|
8107
8107
|
K(PA, "LAST_ID", 0), K(PA, "_sharedPtr", 0), // a pointer to a string of 10000 bytes
|
|
@@ -10083,16 +10083,16 @@ function blockquote(A, g, B, E) {
|
|
|
10083
10083
|
if (A.src.charCodeAt(C++) === 62 && !J) {
|
|
10084
10084
|
let O = A.sCount[F] + 1, j, W;
|
|
10085
10085
|
A.src.charCodeAt(C) === 32 ? (C++, O++, W = !1, j = !0) : A.src.charCodeAt(C) === 9 ? (j = !0, (A.bsCount[F] + O) % 4 === 3 ? (C++, O++, W = !1) : W = !0) : j = !1;
|
|
10086
|
-
let
|
|
10086
|
+
let aA = O;
|
|
10087
10087
|
for (h.push(A.bMarks[F]), A.bMarks[F] = C; C < I; ) {
|
|
10088
|
-
const
|
|
10089
|
-
if (isSpace(
|
|
10090
|
-
|
|
10088
|
+
const CA = A.src.charCodeAt(C);
|
|
10089
|
+
if (isSpace(CA))
|
|
10090
|
+
CA === 9 ? aA += 4 - (aA + A.bsCount[F] + (W ? 1 : 0)) % 4 : aA++;
|
|
10091
10091
|
else
|
|
10092
10092
|
break;
|
|
10093
10093
|
C++;
|
|
10094
10094
|
}
|
|
10095
|
-
L = C >= I, D.push(A.bsCount[F]), A.bsCount[F] = A.sCount[F] + 1 + (j ? 1 : 0), m.push(A.sCount[F]), A.sCount[F] =
|
|
10095
|
+
L = C >= I, D.push(A.bsCount[F]), A.bsCount[F] = A.sCount[F] + 1 + (j ? 1 : 0), m.push(A.sCount[F]), A.sCount[F] = aA - O, y.push(A.tShift[F]), A.tShift[F] = C - A.bMarks[F];
|
|
10096
10096
|
continue;
|
|
10097
10097
|
}
|
|
10098
10098
|
if (L)
|
|
@@ -10213,10 +10213,10 @@ function list(A, g, B, E) {
|
|
|
10213
10213
|
const q = A.sCount[D] + L - (A.bMarks[D] + A.tShift[D]);
|
|
10214
10214
|
let O = q;
|
|
10215
10215
|
for (; I < C; ) {
|
|
10216
|
-
const
|
|
10217
|
-
if (
|
|
10216
|
+
const V = A.src.charCodeAt(I);
|
|
10217
|
+
if (V === 9)
|
|
10218
10218
|
O += 4 - (O + A.bsCount[D]) % 4;
|
|
10219
|
-
else if (
|
|
10219
|
+
else if (V === 32)
|
|
10220
10220
|
O++;
|
|
10221
10221
|
else
|
|
10222
10222
|
break;
|
|
@@ -10225,20 +10225,20 @@ function list(A, g, B, E) {
|
|
|
10225
10225
|
const j = I;
|
|
10226
10226
|
let W;
|
|
10227
10227
|
j >= C ? W = 1 : W = O - q, W > 4 && (W = 1);
|
|
10228
|
-
const
|
|
10228
|
+
const aA = q + W;
|
|
10229
10229
|
h = A.push("list_item_open", "li", 1), h.markup = String.fromCharCode(F);
|
|
10230
|
-
const
|
|
10231
|
-
h.map =
|
|
10232
|
-
const
|
|
10233
|
-
if (A.listIndent = A.blkIndent, A.blkIndent =
|
|
10230
|
+
const CA = [D, 0];
|
|
10231
|
+
h.map = CA, k && (h.info = A.src.slice(w, L - 1));
|
|
10232
|
+
const QA = A.tight, EA = A.tShift[D], cA = A.sCount[D], pA = A.listIndent;
|
|
10233
|
+
if (A.listIndent = A.blkIndent, A.blkIndent = aA, A.tight = !0, A.tShift[D] = j - A.bMarks[D], A.sCount[D] = O, j >= C && A.isEmpty(D + 1) ? A.line = Math.min(A.line + 2, B) : A.md.block.tokenize(A, D, B, !0), (!A.tight || Y) && (m = !1), Y = A.line - D > 1 && A.isEmpty(A.line - 1), A.blkIndent = A.listIndent, A.listIndent = pA, A.tShift[D] = EA, A.sCount[D] = cA, A.tight = QA, h = A.push("list_item_close", "li", -1), h.markup = String.fromCharCode(F), D = A.line, CA[1] = D, D >= B || A.sCount[D] < A.blkIndent || A.sCount[D] - A.blkIndent >= 4)
|
|
10234
10234
|
break;
|
|
10235
|
-
let
|
|
10236
|
-
for (let
|
|
10237
|
-
if (U[
|
|
10238
|
-
|
|
10235
|
+
let oA = !1;
|
|
10236
|
+
for (let V = 0, AA = U.length; V < AA; V++)
|
|
10237
|
+
if (U[V](A, D, B, !0)) {
|
|
10238
|
+
oA = !0;
|
|
10239
10239
|
break;
|
|
10240
10240
|
}
|
|
10241
|
-
if (
|
|
10241
|
+
if (oA)
|
|
10242
10242
|
break;
|
|
10243
10243
|
if (k) {
|
|
10244
10244
|
if (L = skipOrderedListMarker(A, D), L < 0)
|
|
@@ -11771,15 +11771,15 @@ function abbr_plugin(A) {
|
|
|
11771
11771
|
let O;
|
|
11772
11772
|
for (; O = M.exec(J); ) {
|
|
11773
11773
|
if (O.index > 0 || O[1].length > 0) {
|
|
11774
|
-
const
|
|
11775
|
-
|
|
11774
|
+
const CA = new D.Token("text", "", 0);
|
|
11775
|
+
CA.content = J.slice(U, O.index + O[1].length), q.push(CA);
|
|
11776
11776
|
}
|
|
11777
11777
|
const j = new D.Token("abbr_open", "abbr", 1);
|
|
11778
11778
|
j.attrs = [["title", D.env.abbreviations[":" + O[2]]]], q.push(j);
|
|
11779
11779
|
const W = new D.Token("text", "", 0);
|
|
11780
11780
|
W.content = O[2], q.push(W);
|
|
11781
|
-
const
|
|
11782
|
-
q.push(
|
|
11781
|
+
const aA = new D.Token("abbr_close", "abbr", -1);
|
|
11782
|
+
q.push(aA), M.lastIndex -= O[3].length, U = M.lastIndex;
|
|
11783
11783
|
}
|
|
11784
11784
|
if (q.length) {
|
|
11785
11785
|
if (U < J.length) {
|
|
@@ -12490,18 +12490,18 @@ function deflist_plugin(A) {
|
|
|
12490
12490
|
q.map = O;
|
|
12491
12491
|
let j = y;
|
|
12492
12492
|
const W = I.eMarks[H];
|
|
12493
|
-
let
|
|
12493
|
+
let aA = I.sCount[H] + y - (I.bMarks[H] + I.tShift[H]);
|
|
12494
12494
|
for (; j < W; ) {
|
|
12495
|
-
const
|
|
12496
|
-
if (g(
|
|
12497
|
-
|
|
12495
|
+
const V = I.src.charCodeAt(j);
|
|
12496
|
+
if (g(V))
|
|
12497
|
+
V === 9 ? aA += 4 - aA % 4 : aA++;
|
|
12498
12498
|
else
|
|
12499
12499
|
break;
|
|
12500
12500
|
j++;
|
|
12501
12501
|
}
|
|
12502
12502
|
y = j;
|
|
12503
|
-
const
|
|
12504
|
-
if (I.blkIndent = I.ddIndent = I.sCount[H] + 2, I.tShift[H] = y - I.bMarks[H], I.sCount[H] =
|
|
12503
|
+
const CA = I.tight, QA = I.ddIndent, EA = I.blkIndent, cA = I.tShift[H], pA = I.sCount[H], oA = I.parentType;
|
|
12504
|
+
if (I.blkIndent = I.ddIndent = I.sCount[H] + 2, I.tShift[H] = y - I.bMarks[H], I.sCount[H] = aA, I.tight = !0, I.parentType = "deflist", I.md.block.tokenize(I, H, h, !0), (!I.tight || Y) && (M = !1), Y = I.line - H > 1 && I.isEmpty(I.line - 1), I.tShift[H] = cA, I.sCount[H] = pA, I.tight = CA, I.parentType = oA, I.blkIndent = EA, I.ddIndent = QA, I.push("dd_close", "dd", -1), O[1] = m = I.line, m >= h || I.sCount[m] < I.blkIndent)
|
|
12505
12505
|
break A;
|
|
12506
12506
|
if (y = B(I, m), y < 0)
|
|
12507
12507
|
break;
|
|
@@ -16396,9 +16396,9 @@ function footnote_plugin(A) {
|
|
|
16396
16396
|
const H = h.bMarks[D], Y = h.tShift[D], U = h.sCount[D], J = h.parentType, q = L, O = h.sCount[D] + L - (h.bMarks[D] + h.tShift[D]);
|
|
16397
16397
|
let j = O;
|
|
16398
16398
|
for (; L < M; ) {
|
|
16399
|
-
const
|
|
16400
|
-
if (B(
|
|
16401
|
-
|
|
16399
|
+
const aA = h.src.charCodeAt(L);
|
|
16400
|
+
if (B(aA))
|
|
16401
|
+
aA === 9 ? j += 4 - j % 4 : j++;
|
|
16402
16402
|
else
|
|
16403
16403
|
break;
|
|
16404
16404
|
L++;
|
|
@@ -19499,7 +19499,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19499
19499
|
throw new TypeError(
|
|
19500
19500
|
"The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type " + typeof N
|
|
19501
19501
|
);
|
|
19502
|
-
if (
|
|
19502
|
+
if (RA(N, ArrayBuffer) || N && RA(N.buffer, ArrayBuffer) || typeof SharedArrayBuffer < "u" && (RA(N, SharedArrayBuffer) || N && RA(N.buffer, SharedArrayBuffer)))
|
|
19503
19503
|
return x(N, _, S);
|
|
19504
19504
|
if (typeof N == "number")
|
|
19505
19505
|
throw new TypeError(
|
|
@@ -19555,7 +19555,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19555
19555
|
return S;
|
|
19556
19556
|
}
|
|
19557
19557
|
function F(N) {
|
|
19558
|
-
if (
|
|
19558
|
+
if (RA(N, Uint8Array)) {
|
|
19559
19559
|
const _ = new Uint8Array(N);
|
|
19560
19560
|
return x(_.buffer, _.byteOffset, _.byteLength);
|
|
19561
19561
|
}
|
|
@@ -19575,7 +19575,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19575
19575
|
return S.length === 0 || N.copy(S, 0, 0, _), S;
|
|
19576
19576
|
}
|
|
19577
19577
|
if (N.length !== void 0)
|
|
19578
|
-
return typeof N.length != "number" ||
|
|
19578
|
+
return typeof N.length != "number" || OA(N.length) ? w(0) : L(N);
|
|
19579
19579
|
if (N.type === "Buffer" && Array.isArray(N.data))
|
|
19580
19580
|
return L(N.data);
|
|
19581
19581
|
}
|
|
@@ -19590,7 +19590,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19590
19590
|
h.isBuffer = function(N) {
|
|
19591
19591
|
return N != null && N._isBuffer === !0 && N !== h.prototype;
|
|
19592
19592
|
}, h.compare = function(N, _) {
|
|
19593
|
-
if (
|
|
19593
|
+
if (RA(N, Uint8Array) && (N = h.from(N, N.offset, N.byteLength)), RA(_, Uint8Array) && (_ = h.from(_, _.offset, _.byteLength)), !h.isBuffer(N) || !h.isBuffer(_))
|
|
19594
19594
|
throw new TypeError(
|
|
19595
19595
|
'The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array'
|
|
19596
19596
|
);
|
|
@@ -19633,7 +19633,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19633
19633
|
let z = 0;
|
|
19634
19634
|
for (S = 0; S < N.length; ++S) {
|
|
19635
19635
|
let $ = N[S];
|
|
19636
|
-
if (
|
|
19636
|
+
if (RA($, Uint8Array))
|
|
19637
19637
|
z + $.length > T.length ? (h.isBuffer($) || ($ = h.from($)), $.copy(T, z)) : Uint8Array.prototype.set.call(
|
|
19638
19638
|
T,
|
|
19639
19639
|
$,
|
|
@@ -19650,7 +19650,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19650
19650
|
function J(N, _) {
|
|
19651
19651
|
if (h.isBuffer(N))
|
|
19652
19652
|
return N.length;
|
|
19653
|
-
if (ArrayBuffer.isView(N) ||
|
|
19653
|
+
if (ArrayBuffer.isView(N) || RA(N, ArrayBuffer))
|
|
19654
19654
|
return N.byteLength;
|
|
19655
19655
|
if (typeof N != "string")
|
|
19656
19656
|
throw new TypeError(
|
|
@@ -19668,7 +19668,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19668
19668
|
return S;
|
|
19669
19669
|
case "utf8":
|
|
19670
19670
|
case "utf-8":
|
|
19671
|
-
return
|
|
19671
|
+
return $A(N).length;
|
|
19672
19672
|
case "ucs2":
|
|
19673
19673
|
case "ucs-2":
|
|
19674
19674
|
case "utf16le":
|
|
@@ -19677,10 +19677,10 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19677
19677
|
case "hex":
|
|
19678
19678
|
return S >>> 1;
|
|
19679
19679
|
case "base64":
|
|
19680
|
-
return
|
|
19680
|
+
return YA(N).length;
|
|
19681
19681
|
default:
|
|
19682
19682
|
if (z)
|
|
19683
|
-
return T ? -1 :
|
|
19683
|
+
return T ? -1 : $A(N).length;
|
|
19684
19684
|
_ = ("" + _).toLowerCase(), z = !0;
|
|
19685
19685
|
}
|
|
19686
19686
|
}
|
|
@@ -19692,22 +19692,22 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19692
19692
|
for (N || (N = "utf8"); ; )
|
|
19693
19693
|
switch (N) {
|
|
19694
19694
|
case "hex":
|
|
19695
|
-
return
|
|
19695
|
+
return rA(this, _, S);
|
|
19696
19696
|
case "utf8":
|
|
19697
19697
|
case "utf-8":
|
|
19698
|
-
return
|
|
19698
|
+
return oA(this, _, S);
|
|
19699
19699
|
case "ascii":
|
|
19700
|
-
return
|
|
19700
|
+
return nA(this, _, S);
|
|
19701
19701
|
case "latin1":
|
|
19702
19702
|
case "binary":
|
|
19703
|
-
return
|
|
19703
|
+
return eA(this, _, S);
|
|
19704
19704
|
case "base64":
|
|
19705
|
-
return
|
|
19705
|
+
return pA(this, _, S);
|
|
19706
19706
|
case "ucs2":
|
|
19707
19707
|
case "ucs-2":
|
|
19708
19708
|
case "utf16le":
|
|
19709
19709
|
case "utf-16le":
|
|
19710
|
-
return
|
|
19710
|
+
return lA(this, _, S);
|
|
19711
19711
|
default:
|
|
19712
19712
|
if (T)
|
|
19713
19713
|
throw new TypeError("Unknown encoding: " + N);
|
|
@@ -19742,7 +19742,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19742
19742
|
return this;
|
|
19743
19743
|
}, h.prototype.toString = function() {
|
|
19744
19744
|
const N = this.length;
|
|
19745
|
-
return N === 0 ? "" : arguments.length === 0 ?
|
|
19745
|
+
return N === 0 ? "" : arguments.length === 0 ? oA(this, 0, N) : q.apply(this, arguments);
|
|
19746
19746
|
}, h.prototype.toLocaleString = h.prototype.toString, h.prototype.equals = function(N) {
|
|
19747
19747
|
if (!h.isBuffer(N))
|
|
19748
19748
|
throw new TypeError("Argument must be a Buffer");
|
|
@@ -19752,7 +19752,7 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19752
19752
|
const _ = A.INSPECT_MAX_BYTES;
|
|
19753
19753
|
return N = this.toString("hex", 0, _).replace(/(.{2})/g, "$1 ").trim(), this.length > _ && (N += " ... "), "<Buffer " + N + ">";
|
|
19754
19754
|
}, E && (h.prototype[E] = h.prototype.inspect), h.prototype.compare = function(N, _, S, T, z) {
|
|
19755
|
-
if (
|
|
19755
|
+
if (RA(N, Uint8Array) && (N = h.from(N, N.offset, N.byteLength)), !h.isBuffer(N))
|
|
19756
19756
|
throw new TypeError(
|
|
19757
19757
|
'The "target" argument must be one of type Buffer or Uint8Array. Received type ' + typeof N
|
|
19758
19758
|
);
|
|
@@ -19766,19 +19766,19 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19766
19766
|
return 1;
|
|
19767
19767
|
if (_ >>>= 0, S >>>= 0, T >>>= 0, z >>>= 0, this === N)
|
|
19768
19768
|
return 0;
|
|
19769
|
-
let $ = z - T,
|
|
19770
|
-
const
|
|
19771
|
-
for (let
|
|
19772
|
-
if (
|
|
19773
|
-
$ =
|
|
19769
|
+
let $ = z - T, tA = S - _;
|
|
19770
|
+
const uA = Math.min($, tA), FA = this.slice(T, z), hA = N.slice(_, S);
|
|
19771
|
+
for (let yA = 0; yA < uA; ++yA)
|
|
19772
|
+
if (FA[yA] !== hA[yA]) {
|
|
19773
|
+
$ = FA[yA], tA = hA[yA];
|
|
19774
19774
|
break;
|
|
19775
19775
|
}
|
|
19776
|
-
return $ <
|
|
19776
|
+
return $ < tA ? -1 : tA < $ ? 1 : 0;
|
|
19777
19777
|
};
|
|
19778
19778
|
function j(N, _, S, T, z) {
|
|
19779
19779
|
if (N.length === 0)
|
|
19780
19780
|
return -1;
|
|
19781
|
-
if (typeof S == "string" ? (T = S, S = 0) : S > 2147483647 ? S = 2147483647 : S < -2147483648 && (S = -2147483648), S = +S,
|
|
19781
|
+
if (typeof S == "string" ? (T = S, S = 0) : S > 2147483647 ? S = 2147483647 : S < -2147483648 && (S = -2147483648), S = +S, OA(S) && (S = z ? 0 : N.length - 1), S < 0 && (S = N.length + S), S >= N.length) {
|
|
19782
19782
|
if (z)
|
|
19783
19783
|
return -1;
|
|
19784
19784
|
S = N.length - 1;
|
|
@@ -19794,34 +19794,34 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19794
19794
|
throw new TypeError("val must be string, number or Buffer");
|
|
19795
19795
|
}
|
|
19796
19796
|
function W(N, _, S, T, z) {
|
|
19797
|
-
let $ = 1,
|
|
19797
|
+
let $ = 1, tA = N.length, uA = _.length;
|
|
19798
19798
|
if (T !== void 0 && (T = String(T).toLowerCase(), T === "ucs2" || T === "ucs-2" || T === "utf16le" || T === "utf-16le")) {
|
|
19799
19799
|
if (N.length < 2 || _.length < 2)
|
|
19800
19800
|
return -1;
|
|
19801
|
-
$ = 2,
|
|
19801
|
+
$ = 2, tA /= 2, uA /= 2, S /= 2;
|
|
19802
19802
|
}
|
|
19803
|
-
function
|
|
19804
|
-
return $ === 1 ?
|
|
19803
|
+
function FA(yA, LA) {
|
|
19804
|
+
return $ === 1 ? yA[LA] : yA.readUInt16BE(LA * $);
|
|
19805
19805
|
}
|
|
19806
|
-
let
|
|
19806
|
+
let hA;
|
|
19807
19807
|
if (z) {
|
|
19808
|
-
let
|
|
19809
|
-
for (
|
|
19810
|
-
if (
|
|
19811
|
-
if (
|
|
19812
|
-
return
|
|
19808
|
+
let yA = -1;
|
|
19809
|
+
for (hA = S; hA < tA; hA++)
|
|
19810
|
+
if (FA(N, hA) === FA(_, yA === -1 ? 0 : hA - yA)) {
|
|
19811
|
+
if (yA === -1 && (yA = hA), hA - yA + 1 === uA)
|
|
19812
|
+
return yA * $;
|
|
19813
19813
|
} else
|
|
19814
|
-
|
|
19814
|
+
yA !== -1 && (hA -= hA - yA), yA = -1;
|
|
19815
19815
|
} else
|
|
19816
|
-
for (S +
|
|
19817
|
-
let
|
|
19818
|
-
for (let
|
|
19819
|
-
if (
|
|
19820
|
-
|
|
19816
|
+
for (S + uA > tA && (S = tA - uA), hA = S; hA >= 0; hA--) {
|
|
19817
|
+
let yA = !0;
|
|
19818
|
+
for (let LA = 0; LA < uA; LA++)
|
|
19819
|
+
if (FA(N, hA + LA) !== FA(_, LA)) {
|
|
19820
|
+
yA = !1;
|
|
19821
19821
|
break;
|
|
19822
19822
|
}
|
|
19823
|
-
if (
|
|
19824
|
-
return
|
|
19823
|
+
if (yA)
|
|
19824
|
+
return hA;
|
|
19825
19825
|
}
|
|
19826
19826
|
return -1;
|
|
19827
19827
|
}
|
|
@@ -19832,32 +19832,32 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19832
19832
|
}, h.prototype.lastIndexOf = function(N, _, S) {
|
|
19833
19833
|
return j(this, N, _, S, !1);
|
|
19834
19834
|
};
|
|
19835
|
-
function
|
|
19835
|
+
function aA(N, _, S, T) {
|
|
19836
19836
|
S = Number(S) || 0;
|
|
19837
19837
|
const z = N.length - S;
|
|
19838
19838
|
T ? (T = Number(T), T > z && (T = z)) : T = z;
|
|
19839
19839
|
const $ = _.length;
|
|
19840
19840
|
T > $ / 2 && (T = $ / 2);
|
|
19841
|
-
let
|
|
19842
|
-
for (
|
|
19843
|
-
const
|
|
19844
|
-
if (
|
|
19845
|
-
return
|
|
19846
|
-
N[S +
|
|
19841
|
+
let tA;
|
|
19842
|
+
for (tA = 0; tA < T; ++tA) {
|
|
19843
|
+
const uA = parseInt(_.substr(tA * 2, 2), 16);
|
|
19844
|
+
if (OA(uA))
|
|
19845
|
+
return tA;
|
|
19846
|
+
N[S + tA] = uA;
|
|
19847
19847
|
}
|
|
19848
|
-
return
|
|
19849
|
-
}
|
|
19850
|
-
function EA(N, _, S, T) {
|
|
19851
|
-
return TA(jA(_, N.length - S), N, S, T);
|
|
19848
|
+
return tA;
|
|
19852
19849
|
}
|
|
19853
|
-
function
|
|
19854
|
-
return
|
|
19850
|
+
function CA(N, _, S, T) {
|
|
19851
|
+
return vA($A(_, N.length - S), N, S, T);
|
|
19855
19852
|
}
|
|
19856
19853
|
function QA(N, _, S, T) {
|
|
19857
|
-
return
|
|
19854
|
+
return vA(ee(_), N, S, T);
|
|
19858
19855
|
}
|
|
19859
|
-
function
|
|
19860
|
-
return
|
|
19856
|
+
function EA(N, _, S, T) {
|
|
19857
|
+
return vA(YA(_), N, S, T);
|
|
19858
|
+
}
|
|
19859
|
+
function cA(N, _, S, T) {
|
|
19860
|
+
return vA(oe(_, N.length - S), N, S, T);
|
|
19861
19861
|
}
|
|
19862
19862
|
h.prototype.write = function(N, _, S, T) {
|
|
19863
19863
|
if (_ === void 0)
|
|
@@ -19878,21 +19878,21 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19878
19878
|
for (; ; )
|
|
19879
19879
|
switch (T) {
|
|
19880
19880
|
case "hex":
|
|
19881
|
-
return
|
|
19881
|
+
return aA(this, N, _, S);
|
|
19882
19882
|
case "utf8":
|
|
19883
19883
|
case "utf-8":
|
|
19884
|
-
return
|
|
19884
|
+
return CA(this, N, _, S);
|
|
19885
19885
|
case "ascii":
|
|
19886
19886
|
case "latin1":
|
|
19887
19887
|
case "binary":
|
|
19888
|
-
return aA(this, N, _, S);
|
|
19889
|
-
case "base64":
|
|
19890
19888
|
return QA(this, N, _, S);
|
|
19889
|
+
case "base64":
|
|
19890
|
+
return EA(this, N, _, S);
|
|
19891
19891
|
case "ucs2":
|
|
19892
19892
|
case "ucs-2":
|
|
19893
19893
|
case "utf16le":
|
|
19894
19894
|
case "utf-16le":
|
|
19895
|
-
return
|
|
19895
|
+
return cA(this, N, _, S);
|
|
19896
19896
|
default:
|
|
19897
19897
|
if ($)
|
|
19898
19898
|
throw new TypeError("Unknown encoding: " + T);
|
|
@@ -19904,72 +19904,72 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19904
19904
|
data: Array.prototype.slice.call(this._arr || this, 0)
|
|
19905
19905
|
};
|
|
19906
19906
|
};
|
|
19907
|
-
function
|
|
19907
|
+
function pA(N, _, S) {
|
|
19908
19908
|
return _ === 0 && S === N.length ? g.fromByteArray(N) : g.fromByteArray(N.slice(_, S));
|
|
19909
19909
|
}
|
|
19910
|
-
function
|
|
19910
|
+
function oA(N, _, S) {
|
|
19911
19911
|
S = Math.min(N.length, S);
|
|
19912
19912
|
const T = [];
|
|
19913
19913
|
let z = _;
|
|
19914
19914
|
for (; z < S; ) {
|
|
19915
19915
|
const $ = N[z];
|
|
19916
|
-
let
|
|
19917
|
-
if (z +
|
|
19918
|
-
let
|
|
19919
|
-
switch (
|
|
19916
|
+
let tA = null, uA = $ > 239 ? 4 : $ > 223 ? 3 : $ > 191 ? 2 : 1;
|
|
19917
|
+
if (z + uA <= S) {
|
|
19918
|
+
let FA, hA, yA, LA;
|
|
19919
|
+
switch (uA) {
|
|
19920
19920
|
case 1:
|
|
19921
|
-
$ < 128 && (
|
|
19921
|
+
$ < 128 && (tA = $);
|
|
19922
19922
|
break;
|
|
19923
19923
|
case 2:
|
|
19924
|
-
|
|
19924
|
+
FA = N[z + 1], (FA & 192) === 128 && (LA = ($ & 31) << 6 | FA & 63, LA > 127 && (tA = LA));
|
|
19925
19925
|
break;
|
|
19926
19926
|
case 3:
|
|
19927
|
-
|
|
19927
|
+
FA = N[z + 1], hA = N[z + 2], (FA & 192) === 128 && (hA & 192) === 128 && (LA = ($ & 15) << 12 | (FA & 63) << 6 | hA & 63, LA > 2047 && (LA < 55296 || LA > 57343) && (tA = LA));
|
|
19928
19928
|
break;
|
|
19929
19929
|
case 4:
|
|
19930
|
-
|
|
19930
|
+
FA = N[z + 1], hA = N[z + 2], yA = N[z + 3], (FA & 192) === 128 && (hA & 192) === 128 && (yA & 192) === 128 && (LA = ($ & 15) << 18 | (FA & 63) << 12 | (hA & 63) << 6 | yA & 63, LA > 65535 && LA < 1114112 && (tA = LA));
|
|
19931
19931
|
}
|
|
19932
19932
|
}
|
|
19933
|
-
|
|
19933
|
+
tA === null ? (tA = 65533, uA = 1) : tA > 65535 && (tA -= 65536, T.push(tA >>> 10 & 1023 | 55296), tA = 56320 | tA & 1023), T.push(tA), z += uA;
|
|
19934
19934
|
}
|
|
19935
|
-
return
|
|
19935
|
+
return AA(T);
|
|
19936
19936
|
}
|
|
19937
|
-
const
|
|
19938
|
-
function
|
|
19937
|
+
const V = 4096;
|
|
19938
|
+
function AA(N) {
|
|
19939
19939
|
const _ = N.length;
|
|
19940
|
-
if (_ <=
|
|
19940
|
+
if (_ <= V)
|
|
19941
19941
|
return String.fromCharCode.apply(String, N);
|
|
19942
19942
|
let S = "", T = 0;
|
|
19943
19943
|
for (; T < _; )
|
|
19944
19944
|
S += String.fromCharCode.apply(
|
|
19945
19945
|
String,
|
|
19946
|
-
N.slice(T, T +=
|
|
19946
|
+
N.slice(T, T += V)
|
|
19947
19947
|
);
|
|
19948
19948
|
return S;
|
|
19949
19949
|
}
|
|
19950
|
-
function
|
|
19950
|
+
function nA(N, _, S) {
|
|
19951
19951
|
let T = "";
|
|
19952
19952
|
S = Math.min(N.length, S);
|
|
19953
19953
|
for (let z = _; z < S; ++z)
|
|
19954
19954
|
T += String.fromCharCode(N[z] & 127);
|
|
19955
19955
|
return T;
|
|
19956
19956
|
}
|
|
19957
|
-
function
|
|
19957
|
+
function eA(N, _, S) {
|
|
19958
19958
|
let T = "";
|
|
19959
19959
|
S = Math.min(N.length, S);
|
|
19960
19960
|
for (let z = _; z < S; ++z)
|
|
19961
19961
|
T += String.fromCharCode(N[z]);
|
|
19962
19962
|
return T;
|
|
19963
19963
|
}
|
|
19964
|
-
function
|
|
19964
|
+
function rA(N, _, S) {
|
|
19965
19965
|
const T = N.length;
|
|
19966
19966
|
(!_ || _ < 0) && (_ = 0), (!S || S < 0 || S > T) && (S = T);
|
|
19967
19967
|
let z = "";
|
|
19968
19968
|
for (let $ = _; $ < S; ++$)
|
|
19969
|
-
z +=
|
|
19969
|
+
z += Be[N[$]];
|
|
19970
19970
|
return z;
|
|
19971
19971
|
}
|
|
19972
|
-
function
|
|
19972
|
+
function lA(N, _, S) {
|
|
19973
19973
|
const T = N.slice(_, S);
|
|
19974
19974
|
let z = "";
|
|
19975
19975
|
for (let $ = 0; $ < T.length - 1; $ += 2)
|
|
@@ -19982,95 +19982,95 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
19982
19982
|
const T = this.subarray(N, _);
|
|
19983
19983
|
return Object.setPrototypeOf(T, h.prototype), T;
|
|
19984
19984
|
};
|
|
19985
|
-
function
|
|
19985
|
+
function gA(N, _, S) {
|
|
19986
19986
|
if (N % 1 !== 0 || N < 0)
|
|
19987
19987
|
throw new RangeError("offset is not uint");
|
|
19988
19988
|
if (N + _ > S)
|
|
19989
19989
|
throw new RangeError("Trying to access beyond buffer length");
|
|
19990
19990
|
}
|
|
19991
19991
|
h.prototype.readUintLE = h.prototype.readUIntLE = function(N, _, S) {
|
|
19992
|
-
N = N >>> 0, _ = _ >>> 0, S ||
|
|
19992
|
+
N = N >>> 0, _ = _ >>> 0, S || gA(N, _, this.length);
|
|
19993
19993
|
let T = this[N], z = 1, $ = 0;
|
|
19994
19994
|
for (; ++$ < _ && (z *= 256); )
|
|
19995
19995
|
T += this[N + $] * z;
|
|
19996
19996
|
return T;
|
|
19997
19997
|
}, h.prototype.readUintBE = h.prototype.readUIntBE = function(N, _, S) {
|
|
19998
|
-
N = N >>> 0, _ = _ >>> 0, S ||
|
|
19998
|
+
N = N >>> 0, _ = _ >>> 0, S || gA(N, _, this.length);
|
|
19999
19999
|
let T = this[N + --_], z = 1;
|
|
20000
20000
|
for (; _ > 0 && (z *= 256); )
|
|
20001
20001
|
T += this[N + --_] * z;
|
|
20002
20002
|
return T;
|
|
20003
20003
|
}, h.prototype.readUint8 = h.prototype.readUInt8 = function(N, _) {
|
|
20004
|
-
return N = N >>> 0, _ ||
|
|
20004
|
+
return N = N >>> 0, _ || gA(N, 1, this.length), this[N];
|
|
20005
20005
|
}, h.prototype.readUint16LE = h.prototype.readUInt16LE = function(N, _) {
|
|
20006
|
-
return N = N >>> 0, _ ||
|
|
20006
|
+
return N = N >>> 0, _ || gA(N, 2, this.length), this[N] | this[N + 1] << 8;
|
|
20007
20007
|
}, h.prototype.readUint16BE = h.prototype.readUInt16BE = function(N, _) {
|
|
20008
|
-
return N = N >>> 0, _ ||
|
|
20008
|
+
return N = N >>> 0, _ || gA(N, 2, this.length), this[N] << 8 | this[N + 1];
|
|
20009
20009
|
}, h.prototype.readUint32LE = h.prototype.readUInt32LE = function(N, _) {
|
|
20010
|
-
return N = N >>> 0, _ ||
|
|
20010
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), (this[N] | this[N + 1] << 8 | this[N + 2] << 16) + this[N + 3] * 16777216;
|
|
20011
20011
|
}, h.prototype.readUint32BE = h.prototype.readUInt32BE = function(N, _) {
|
|
20012
|
-
return N = N >>> 0, _ ||
|
|
20013
|
-
}, h.prototype.readBigUInt64LE =
|
|
20014
|
-
N = N >>> 0,
|
|
20012
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), this[N] * 16777216 + (this[N + 1] << 16 | this[N + 2] << 8 | this[N + 3]);
|
|
20013
|
+
}, h.prototype.readBigUInt64LE = TA(function(N) {
|
|
20014
|
+
N = N >>> 0, fA(N, "offset");
|
|
20015
20015
|
const _ = this[N], S = this[N + 7];
|
|
20016
|
-
(_ === void 0 || S === void 0) &&
|
|
20016
|
+
(_ === void 0 || S === void 0) && MA(N, this.length - 8);
|
|
20017
20017
|
const T = _ + this[++N] * 2 ** 8 + this[++N] * 2 ** 16 + this[++N] * 2 ** 24, z = this[++N] + this[++N] * 2 ** 8 + this[++N] * 2 ** 16 + S * 2 ** 24;
|
|
20018
20018
|
return BigInt(T) + (BigInt(z) << BigInt(32));
|
|
20019
|
-
}), h.prototype.readBigUInt64BE =
|
|
20020
|
-
N = N >>> 0,
|
|
20019
|
+
}), h.prototype.readBigUInt64BE = TA(function(N) {
|
|
20020
|
+
N = N >>> 0, fA(N, "offset");
|
|
20021
20021
|
const _ = this[N], S = this[N + 7];
|
|
20022
|
-
(_ === void 0 || S === void 0) &&
|
|
20022
|
+
(_ === void 0 || S === void 0) && MA(N, this.length - 8);
|
|
20023
20023
|
const T = _ * 2 ** 24 + this[++N] * 2 ** 16 + this[++N] * 2 ** 8 + this[++N], z = this[++N] * 2 ** 24 + this[++N] * 2 ** 16 + this[++N] * 2 ** 8 + S;
|
|
20024
20024
|
return (BigInt(T) << BigInt(32)) + BigInt(z);
|
|
20025
20025
|
}), h.prototype.readIntLE = function(N, _, S) {
|
|
20026
|
-
N = N >>> 0, _ = _ >>> 0, S ||
|
|
20026
|
+
N = N >>> 0, _ = _ >>> 0, S || gA(N, _, this.length);
|
|
20027
20027
|
let T = this[N], z = 1, $ = 0;
|
|
20028
20028
|
for (; ++$ < _ && (z *= 256); )
|
|
20029
20029
|
T += this[N + $] * z;
|
|
20030
20030
|
return z *= 128, T >= z && (T -= Math.pow(2, 8 * _)), T;
|
|
20031
20031
|
}, h.prototype.readIntBE = function(N, _, S) {
|
|
20032
|
-
N = N >>> 0, _ = _ >>> 0, S ||
|
|
20032
|
+
N = N >>> 0, _ = _ >>> 0, S || gA(N, _, this.length);
|
|
20033
20033
|
let T = _, z = 1, $ = this[N + --T];
|
|
20034
20034
|
for (; T > 0 && (z *= 256); )
|
|
20035
20035
|
$ += this[N + --T] * z;
|
|
20036
20036
|
return z *= 128, $ >= z && ($ -= Math.pow(2, 8 * _)), $;
|
|
20037
20037
|
}, h.prototype.readInt8 = function(N, _) {
|
|
20038
|
-
return N = N >>> 0, _ ||
|
|
20038
|
+
return N = N >>> 0, _ || gA(N, 1, this.length), this[N] & 128 ? (255 - this[N] + 1) * -1 : this[N];
|
|
20039
20039
|
}, h.prototype.readInt16LE = function(N, _) {
|
|
20040
|
-
N = N >>> 0, _ ||
|
|
20040
|
+
N = N >>> 0, _ || gA(N, 2, this.length);
|
|
20041
20041
|
const S = this[N] | this[N + 1] << 8;
|
|
20042
20042
|
return S & 32768 ? S | 4294901760 : S;
|
|
20043
20043
|
}, h.prototype.readInt16BE = function(N, _) {
|
|
20044
|
-
N = N >>> 0, _ ||
|
|
20044
|
+
N = N >>> 0, _ || gA(N, 2, this.length);
|
|
20045
20045
|
const S = this[N + 1] | this[N] << 8;
|
|
20046
20046
|
return S & 32768 ? S | 4294901760 : S;
|
|
20047
20047
|
}, h.prototype.readInt32LE = function(N, _) {
|
|
20048
|
-
return N = N >>> 0, _ ||
|
|
20048
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), this[N] | this[N + 1] << 8 | this[N + 2] << 16 | this[N + 3] << 24;
|
|
20049
20049
|
}, h.prototype.readInt32BE = function(N, _) {
|
|
20050
|
-
return N = N >>> 0, _ ||
|
|
20051
|
-
}, h.prototype.readBigInt64LE =
|
|
20052
|
-
N = N >>> 0,
|
|
20050
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), this[N] << 24 | this[N + 1] << 16 | this[N + 2] << 8 | this[N + 3];
|
|
20051
|
+
}, h.prototype.readBigInt64LE = TA(function(N) {
|
|
20052
|
+
N = N >>> 0, fA(N, "offset");
|
|
20053
20053
|
const _ = this[N], S = this[N + 7];
|
|
20054
|
-
(_ === void 0 || S === void 0) &&
|
|
20054
|
+
(_ === void 0 || S === void 0) && MA(N, this.length - 8);
|
|
20055
20055
|
const T = this[N + 4] + this[N + 5] * 2 ** 8 + this[N + 6] * 2 ** 16 + (S << 24);
|
|
20056
20056
|
return (BigInt(T) << BigInt(32)) + BigInt(_ + this[++N] * 2 ** 8 + this[++N] * 2 ** 16 + this[++N] * 2 ** 24);
|
|
20057
|
-
}), h.prototype.readBigInt64BE =
|
|
20058
|
-
N = N >>> 0,
|
|
20057
|
+
}), h.prototype.readBigInt64BE = TA(function(N) {
|
|
20058
|
+
N = N >>> 0, fA(N, "offset");
|
|
20059
20059
|
const _ = this[N], S = this[N + 7];
|
|
20060
|
-
(_ === void 0 || S === void 0) &&
|
|
20060
|
+
(_ === void 0 || S === void 0) && MA(N, this.length - 8);
|
|
20061
20061
|
const T = (_ << 24) + // Overflow
|
|
20062
20062
|
this[++N] * 2 ** 16 + this[++N] * 2 ** 8 + this[++N];
|
|
20063
20063
|
return (BigInt(T) << BigInt(32)) + BigInt(this[++N] * 2 ** 24 + this[++N] * 2 ** 16 + this[++N] * 2 ** 8 + S);
|
|
20064
20064
|
}), h.prototype.readFloatLE = function(N, _) {
|
|
20065
|
-
return N = N >>> 0, _ ||
|
|
20065
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), B.read(this, N, !0, 23, 4);
|
|
20066
20066
|
}, h.prototype.readFloatBE = function(N, _) {
|
|
20067
|
-
return N = N >>> 0, _ ||
|
|
20067
|
+
return N = N >>> 0, _ || gA(N, 4, this.length), B.read(this, N, !1, 23, 4);
|
|
20068
20068
|
}, h.prototype.readDoubleLE = function(N, _) {
|
|
20069
|
-
return N = N >>> 0, _ ||
|
|
20069
|
+
return N = N >>> 0, _ || gA(N, 8, this.length), B.read(this, N, !0, 52, 8);
|
|
20070
20070
|
}, h.prototype.readDoubleBE = function(N, _) {
|
|
20071
|
-
return N = N >>> 0, _ ||
|
|
20071
|
+
return N = N >>> 0, _ || gA(N, 8, this.length), B.read(this, N, !1, 52, 8);
|
|
20072
20072
|
};
|
|
20073
|
-
function
|
|
20073
|
+
function wA(N, _, S, T, z, $) {
|
|
20074
20074
|
if (!h.isBuffer(N))
|
|
20075
20075
|
throw new TypeError('"buffer" argument must be a Buffer instance');
|
|
20076
20076
|
if (_ > z || _ < $)
|
|
@@ -20080,8 +20080,8 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20080
20080
|
}
|
|
20081
20081
|
h.prototype.writeUintLE = h.prototype.writeUIntLE = function(N, _, S, T) {
|
|
20082
20082
|
if (N = +N, _ = _ >>> 0, S = S >>> 0, !T) {
|
|
20083
|
-
const
|
|
20084
|
-
|
|
20083
|
+
const tA = Math.pow(2, 8 * S) - 1;
|
|
20084
|
+
wA(this, N, _, S, tA, 0);
|
|
20085
20085
|
}
|
|
20086
20086
|
let z = 1, $ = 0;
|
|
20087
20087
|
for (this[_] = N & 255; ++$ < S && (z *= 256); )
|
|
@@ -20089,96 +20089,96 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20089
20089
|
return _ + S;
|
|
20090
20090
|
}, h.prototype.writeUintBE = h.prototype.writeUIntBE = function(N, _, S, T) {
|
|
20091
20091
|
if (N = +N, _ = _ >>> 0, S = S >>> 0, !T) {
|
|
20092
|
-
const
|
|
20093
|
-
|
|
20092
|
+
const tA = Math.pow(2, 8 * S) - 1;
|
|
20093
|
+
wA(this, N, _, S, tA, 0);
|
|
20094
20094
|
}
|
|
20095
20095
|
let z = S - 1, $ = 1;
|
|
20096
20096
|
for (this[_ + z] = N & 255; --z >= 0 && ($ *= 256); )
|
|
20097
20097
|
this[_ + z] = N / $ & 255;
|
|
20098
20098
|
return _ + S;
|
|
20099
20099
|
}, h.prototype.writeUint8 = h.prototype.writeUInt8 = function(N, _, S) {
|
|
20100
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20100
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 1, 255, 0), this[_] = N & 255, _ + 1;
|
|
20101
20101
|
}, h.prototype.writeUint16LE = h.prototype.writeUInt16LE = function(N, _, S) {
|
|
20102
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20102
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 2, 65535, 0), this[_] = N & 255, this[_ + 1] = N >>> 8, _ + 2;
|
|
20103
20103
|
}, h.prototype.writeUint16BE = h.prototype.writeUInt16BE = function(N, _, S) {
|
|
20104
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20104
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 2, 65535, 0), this[_] = N >>> 8, this[_ + 1] = N & 255, _ + 2;
|
|
20105
20105
|
}, h.prototype.writeUint32LE = h.prototype.writeUInt32LE = function(N, _, S) {
|
|
20106
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20106
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 4, 4294967295, 0), this[_ + 3] = N >>> 24, this[_ + 2] = N >>> 16, this[_ + 1] = N >>> 8, this[_] = N & 255, _ + 4;
|
|
20107
20107
|
}, h.prototype.writeUint32BE = h.prototype.writeUInt32BE = function(N, _, S) {
|
|
20108
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20108
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 4, 4294967295, 0), this[_] = N >>> 24, this[_ + 1] = N >>> 16, this[_ + 2] = N >>> 8, this[_ + 3] = N & 255, _ + 4;
|
|
20109
20109
|
};
|
|
20110
|
-
function
|
|
20111
|
-
|
|
20110
|
+
function IA(N, _, S, T, z) {
|
|
20111
|
+
DA(_, T, z, N, S, 7);
|
|
20112
20112
|
let $ = Number(_ & BigInt(4294967295));
|
|
20113
20113
|
N[S++] = $, $ = $ >> 8, N[S++] = $, $ = $ >> 8, N[S++] = $, $ = $ >> 8, N[S++] = $;
|
|
20114
|
-
let
|
|
20115
|
-
return N[S++] =
|
|
20114
|
+
let tA = Number(_ >> BigInt(32) & BigInt(4294967295));
|
|
20115
|
+
return N[S++] = tA, tA = tA >> 8, N[S++] = tA, tA = tA >> 8, N[S++] = tA, tA = tA >> 8, N[S++] = tA, S;
|
|
20116
20116
|
}
|
|
20117
|
-
function
|
|
20118
|
-
|
|
20117
|
+
function dA(N, _, S, T, z) {
|
|
20118
|
+
DA(_, T, z, N, S, 7);
|
|
20119
20119
|
let $ = Number(_ & BigInt(4294967295));
|
|
20120
20120
|
N[S + 7] = $, $ = $ >> 8, N[S + 6] = $, $ = $ >> 8, N[S + 5] = $, $ = $ >> 8, N[S + 4] = $;
|
|
20121
|
-
let
|
|
20122
|
-
return N[S + 3] =
|
|
20121
|
+
let tA = Number(_ >> BigInt(32) & BigInt(4294967295));
|
|
20122
|
+
return N[S + 3] = tA, tA = tA >> 8, N[S + 2] = tA, tA = tA >> 8, N[S + 1] = tA, tA = tA >> 8, N[S] = tA, S + 8;
|
|
20123
20123
|
}
|
|
20124
|
-
h.prototype.writeBigUInt64LE =
|
|
20125
|
-
return
|
|
20126
|
-
}), h.prototype.writeBigUInt64BE =
|
|
20127
|
-
return
|
|
20124
|
+
h.prototype.writeBigUInt64LE = TA(function(N, _ = 0) {
|
|
20125
|
+
return IA(this, N, _, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
20126
|
+
}), h.prototype.writeBigUInt64BE = TA(function(N, _ = 0) {
|
|
20127
|
+
return dA(this, N, _, BigInt(0), BigInt("0xffffffffffffffff"));
|
|
20128
20128
|
}), h.prototype.writeIntLE = function(N, _, S, T) {
|
|
20129
20129
|
if (N = +N, _ = _ >>> 0, !T) {
|
|
20130
|
-
const
|
|
20131
|
-
|
|
20130
|
+
const uA = Math.pow(2, 8 * S - 1);
|
|
20131
|
+
wA(this, N, _, S, uA - 1, -uA);
|
|
20132
20132
|
}
|
|
20133
|
-
let z = 0, $ = 1,
|
|
20133
|
+
let z = 0, $ = 1, tA = 0;
|
|
20134
20134
|
for (this[_] = N & 255; ++z < S && ($ *= 256); )
|
|
20135
|
-
N < 0 &&
|
|
20135
|
+
N < 0 && tA === 0 && this[_ + z - 1] !== 0 && (tA = 1), this[_ + z] = (N / $ >> 0) - tA & 255;
|
|
20136
20136
|
return _ + S;
|
|
20137
20137
|
}, h.prototype.writeIntBE = function(N, _, S, T) {
|
|
20138
20138
|
if (N = +N, _ = _ >>> 0, !T) {
|
|
20139
|
-
const
|
|
20140
|
-
|
|
20139
|
+
const uA = Math.pow(2, 8 * S - 1);
|
|
20140
|
+
wA(this, N, _, S, uA - 1, -uA);
|
|
20141
20141
|
}
|
|
20142
|
-
let z = S - 1, $ = 1,
|
|
20142
|
+
let z = S - 1, $ = 1, tA = 0;
|
|
20143
20143
|
for (this[_ + z] = N & 255; --z >= 0 && ($ *= 256); )
|
|
20144
|
-
N < 0 &&
|
|
20144
|
+
N < 0 && tA === 0 && this[_ + z + 1] !== 0 && (tA = 1), this[_ + z] = (N / $ >> 0) - tA & 255;
|
|
20145
20145
|
return _ + S;
|
|
20146
20146
|
}, h.prototype.writeInt8 = function(N, _, S) {
|
|
20147
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20147
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 1, 127, -128), N < 0 && (N = 255 + N + 1), this[_] = N & 255, _ + 1;
|
|
20148
20148
|
}, h.prototype.writeInt16LE = function(N, _, S) {
|
|
20149
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20149
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 2, 32767, -32768), this[_] = N & 255, this[_ + 1] = N >>> 8, _ + 2;
|
|
20150
20150
|
}, h.prototype.writeInt16BE = function(N, _, S) {
|
|
20151
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20151
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 2, 32767, -32768), this[_] = N >>> 8, this[_ + 1] = N & 255, _ + 2;
|
|
20152
20152
|
}, h.prototype.writeInt32LE = function(N, _, S) {
|
|
20153
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20153
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 4, 2147483647, -2147483648), this[_] = N & 255, this[_ + 1] = N >>> 8, this[_ + 2] = N >>> 16, this[_ + 3] = N >>> 24, _ + 4;
|
|
20154
20154
|
}, h.prototype.writeInt32BE = function(N, _, S) {
|
|
20155
|
-
return N = +N, _ = _ >>> 0, S ||
|
|
20156
|
-
}, h.prototype.writeBigInt64LE =
|
|
20157
|
-
return
|
|
20158
|
-
}), h.prototype.writeBigInt64BE =
|
|
20159
|
-
return
|
|
20155
|
+
return N = +N, _ = _ >>> 0, S || wA(this, N, _, 4, 2147483647, -2147483648), N < 0 && (N = 4294967295 + N + 1), this[_] = N >>> 24, this[_ + 1] = N >>> 16, this[_ + 2] = N >>> 8, this[_ + 3] = N & 255, _ + 4;
|
|
20156
|
+
}, h.prototype.writeBigInt64LE = TA(function(N, _ = 0) {
|
|
20157
|
+
return IA(this, N, _, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
20158
|
+
}), h.prototype.writeBigInt64BE = TA(function(N, _ = 0) {
|
|
20159
|
+
return dA(this, N, _, -BigInt("0x8000000000000000"), BigInt("0x7fffffffffffffff"));
|
|
20160
20160
|
});
|
|
20161
|
-
function
|
|
20161
|
+
function NA(N, _, S, T, z, $) {
|
|
20162
20162
|
if (S + T > N.length)
|
|
20163
20163
|
throw new RangeError("Index out of range");
|
|
20164
20164
|
if (S < 0)
|
|
20165
20165
|
throw new RangeError("Index out of range");
|
|
20166
20166
|
}
|
|
20167
|
-
function
|
|
20168
|
-
return _ = +_, S = S >>> 0, z ||
|
|
20167
|
+
function UA(N, _, S, T, z) {
|
|
20168
|
+
return _ = +_, S = S >>> 0, z || NA(N, _, S, 4), B.write(N, _, S, T, 23, 4), S + 4;
|
|
20169
20169
|
}
|
|
20170
20170
|
h.prototype.writeFloatLE = function(N, _, S) {
|
|
20171
|
-
return
|
|
20171
|
+
return UA(this, N, _, !0, S);
|
|
20172
20172
|
}, h.prototype.writeFloatBE = function(N, _, S) {
|
|
20173
|
-
return
|
|
20173
|
+
return UA(this, N, _, !1, S);
|
|
20174
20174
|
};
|
|
20175
|
-
function
|
|
20176
|
-
return _ = +_, S = S >>> 0, z ||
|
|
20175
|
+
function bA(N, _, S, T, z) {
|
|
20176
|
+
return _ = +_, S = S >>> 0, z || NA(N, _, S, 8), B.write(N, _, S, T, 52, 8), S + 8;
|
|
20177
20177
|
}
|
|
20178
20178
|
h.prototype.writeDoubleLE = function(N, _, S) {
|
|
20179
|
-
return
|
|
20179
|
+
return bA(this, N, _, !0, S);
|
|
20180
20180
|
}, h.prototype.writeDoubleBE = function(N, _, S) {
|
|
20181
|
-
return
|
|
20181
|
+
return bA(this, N, _, !1, S);
|
|
20182
20182
|
}, h.prototype.copy = function(N, _, S, T) {
|
|
20183
20183
|
if (!h.isBuffer(N))
|
|
20184
20184
|
throw new TypeError("argument should be a Buffer");
|
|
@@ -20219,17 +20219,17 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20219
20219
|
for (z = _; z < S; ++z)
|
|
20220
20220
|
this[z] = N;
|
|
20221
20221
|
else {
|
|
20222
|
-
const $ = h.isBuffer(N) ? N : h.from(N, T),
|
|
20223
|
-
if (
|
|
20222
|
+
const $ = h.isBuffer(N) ? N : h.from(N, T), tA = $.length;
|
|
20223
|
+
if (tA === 0)
|
|
20224
20224
|
throw new TypeError('The value "' + N + '" is invalid for argument "value"');
|
|
20225
20225
|
for (z = 0; z < S - _; ++z)
|
|
20226
|
-
this[z + _] = $[z %
|
|
20226
|
+
this[z + _] = $[z % tA];
|
|
20227
20227
|
}
|
|
20228
20228
|
return this;
|
|
20229
20229
|
};
|
|
20230
|
-
const
|
|
20231
|
-
function
|
|
20232
|
-
|
|
20230
|
+
const GA = {};
|
|
20231
|
+
function xA(N, _, S) {
|
|
20232
|
+
GA[N] = class extends S {
|
|
20233
20233
|
constructor() {
|
|
20234
20234
|
super(), Object.defineProperty(this, "message", {
|
|
20235
20235
|
value: _.apply(this, arguments),
|
|
@@ -20253,76 +20253,76 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20253
20253
|
}
|
|
20254
20254
|
};
|
|
20255
20255
|
}
|
|
20256
|
-
|
|
20256
|
+
xA(
|
|
20257
20257
|
"ERR_BUFFER_OUT_OF_BOUNDS",
|
|
20258
20258
|
function(N) {
|
|
20259
20259
|
return N ? `${N} is outside of buffer bounds` : "Attempt to access memory outside buffer bounds";
|
|
20260
20260
|
},
|
|
20261
20261
|
RangeError
|
|
20262
|
-
),
|
|
20262
|
+
), xA(
|
|
20263
20263
|
"ERR_INVALID_ARG_TYPE",
|
|
20264
20264
|
function(N, _) {
|
|
20265
20265
|
return `The "${N}" argument must be of type number. Received type ${typeof _}`;
|
|
20266
20266
|
},
|
|
20267
20267
|
TypeError
|
|
20268
|
-
),
|
|
20268
|
+
), xA(
|
|
20269
20269
|
"ERR_OUT_OF_RANGE",
|
|
20270
20270
|
function(N, _, S) {
|
|
20271
20271
|
let T = `The value of "${N}" is out of range.`, z = S;
|
|
20272
|
-
return Number.isInteger(S) && Math.abs(S) > 2 ** 32 ? z =
|
|
20272
|
+
return Number.isInteger(S) && Math.abs(S) > 2 ** 32 ? z = kA(String(S)) : typeof S == "bigint" && (z = String(S), (S > BigInt(2) ** BigInt(32) || S < -(BigInt(2) ** BigInt(32))) && (z = kA(z)), z += "n"), T += ` It must be ${_}. Received ${z}`, T;
|
|
20273
20273
|
},
|
|
20274
20274
|
RangeError
|
|
20275
20275
|
);
|
|
20276
|
-
function
|
|
20276
|
+
function kA(N) {
|
|
20277
20277
|
let _ = "", S = N.length;
|
|
20278
20278
|
const T = N[0] === "-" ? 1 : 0;
|
|
20279
20279
|
for (; S >= T + 4; S -= 3)
|
|
20280
20280
|
_ = `_${N.slice(S - 3, S)}${_}`;
|
|
20281
20281
|
return `${N.slice(0, S)}${_}`;
|
|
20282
20282
|
}
|
|
20283
|
-
function
|
|
20284
|
-
|
|
20283
|
+
function BA(N, _, S) {
|
|
20284
|
+
fA(_, "offset"), (N[_] === void 0 || N[_ + S] === void 0) && MA(_, N.length - (S + 1));
|
|
20285
20285
|
}
|
|
20286
|
-
function
|
|
20286
|
+
function DA(N, _, S, T, z, $) {
|
|
20287
20287
|
if (N > S || N < _) {
|
|
20288
|
-
const
|
|
20289
|
-
let
|
|
20290
|
-
throw $ > 3 ? _ === 0 || _ === BigInt(0) ?
|
|
20288
|
+
const tA = typeof _ == "bigint" ? "n" : "";
|
|
20289
|
+
let uA;
|
|
20290
|
+
throw $ > 3 ? _ === 0 || _ === BigInt(0) ? uA = `>= 0${tA} and < 2${tA} ** ${($ + 1) * 8}${tA}` : uA = `>= -(2${tA} ** ${($ + 1) * 8 - 1}${tA}) and < 2 ** ${($ + 1) * 8 - 1}${tA}` : uA = `>= ${_}${tA} and <= ${S}${tA}`, new GA.ERR_OUT_OF_RANGE("value", uA, N);
|
|
20291
20291
|
}
|
|
20292
|
-
|
|
20292
|
+
BA(T, z, $);
|
|
20293
20293
|
}
|
|
20294
|
-
function
|
|
20294
|
+
function fA(N, _) {
|
|
20295
20295
|
if (typeof N != "number")
|
|
20296
|
-
throw new
|
|
20296
|
+
throw new GA.ERR_INVALID_ARG_TYPE(_, "number", N);
|
|
20297
20297
|
}
|
|
20298
|
-
function
|
|
20299
|
-
throw Math.floor(N) !== N ? (
|
|
20298
|
+
function MA(N, _, S) {
|
|
20299
|
+
throw Math.floor(N) !== N ? (fA(N, S), new GA.ERR_OUT_OF_RANGE(S || "offset", "an integer", N)) : _ < 0 ? new GA.ERR_BUFFER_OUT_OF_BOUNDS() : new GA.ERR_OUT_OF_RANGE(
|
|
20300
20300
|
S || "offset",
|
|
20301
20301
|
`>= ${S ? 1 : 0} and <= ${_}`,
|
|
20302
20302
|
N
|
|
20303
20303
|
);
|
|
20304
20304
|
}
|
|
20305
|
-
const
|
|
20306
|
-
function
|
|
20307
|
-
if (N = N.split("=")[0], N = N.trim().replace(
|
|
20305
|
+
const WA = /[^+/0-9A-Za-z-_]/g;
|
|
20306
|
+
function jA(N) {
|
|
20307
|
+
if (N = N.split("=")[0], N = N.trim().replace(WA, ""), N.length < 2)
|
|
20308
20308
|
return "";
|
|
20309
20309
|
for (; N.length % 4 !== 0; )
|
|
20310
20310
|
N = N + "=";
|
|
20311
20311
|
return N;
|
|
20312
20312
|
}
|
|
20313
|
-
function
|
|
20313
|
+
function $A(N, _) {
|
|
20314
20314
|
_ = _ || 1 / 0;
|
|
20315
20315
|
let S;
|
|
20316
20316
|
const T = N.length;
|
|
20317
20317
|
let z = null;
|
|
20318
20318
|
const $ = [];
|
|
20319
|
-
for (let
|
|
20320
|
-
if (S = N.charCodeAt(
|
|
20319
|
+
for (let tA = 0; tA < T; ++tA) {
|
|
20320
|
+
if (S = N.charCodeAt(tA), S > 55295 && S < 57344) {
|
|
20321
20321
|
if (!z) {
|
|
20322
20322
|
if (S > 56319) {
|
|
20323
20323
|
(_ -= 3) > -1 && $.push(239, 191, 189);
|
|
20324
20324
|
continue;
|
|
20325
|
-
} else if (
|
|
20325
|
+
} else if (tA + 1 === T) {
|
|
20326
20326
|
(_ -= 3) > -1 && $.push(239, 191, 189);
|
|
20327
20327
|
continue;
|
|
20328
20328
|
}
|
|
@@ -20369,35 +20369,35 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20369
20369
|
}
|
|
20370
20370
|
return $;
|
|
20371
20371
|
}
|
|
20372
|
-
function
|
|
20372
|
+
function ee(N) {
|
|
20373
20373
|
const _ = [];
|
|
20374
20374
|
for (let S = 0; S < N.length; ++S)
|
|
20375
20375
|
_.push(N.charCodeAt(S) & 255);
|
|
20376
20376
|
return _;
|
|
20377
20377
|
}
|
|
20378
|
-
function
|
|
20378
|
+
function oe(N, _) {
|
|
20379
20379
|
let S, T, z;
|
|
20380
20380
|
const $ = [];
|
|
20381
|
-
for (let
|
|
20382
|
-
S = N.charCodeAt(
|
|
20381
|
+
for (let tA = 0; tA < N.length && !((_ -= 2) < 0); ++tA)
|
|
20382
|
+
S = N.charCodeAt(tA), T = S >> 8, z = S % 256, $.push(z), $.push(T);
|
|
20383
20383
|
return $;
|
|
20384
20384
|
}
|
|
20385
|
-
function
|
|
20386
|
-
return g.toByteArray(
|
|
20385
|
+
function YA(N) {
|
|
20386
|
+
return g.toByteArray(jA(N));
|
|
20387
20387
|
}
|
|
20388
|
-
function
|
|
20388
|
+
function vA(N, _, S, T) {
|
|
20389
20389
|
let z;
|
|
20390
20390
|
for (z = 0; z < T && !(z + S >= _.length || z >= N.length); ++z)
|
|
20391
20391
|
_[z + S] = N[z];
|
|
20392
20392
|
return z;
|
|
20393
20393
|
}
|
|
20394
|
-
function
|
|
20394
|
+
function RA(N, _) {
|
|
20395
20395
|
return N instanceof _ || N != null && N.constructor != null && N.constructor.name != null && N.constructor.name === _.name;
|
|
20396
20396
|
}
|
|
20397
|
-
function
|
|
20397
|
+
function OA(N) {
|
|
20398
20398
|
return N !== N;
|
|
20399
20399
|
}
|
|
20400
|
-
const
|
|
20400
|
+
const Be = function() {
|
|
20401
20401
|
const N = "0123456789abcdef", _ = new Array(256);
|
|
20402
20402
|
for (let S = 0; S < 16; ++S) {
|
|
20403
20403
|
const T = S * 16;
|
|
@@ -20406,10 +20406,10 @@ ieee754.write = function(A, g, B, E, C, I) {
|
|
|
20406
20406
|
}
|
|
20407
20407
|
return _;
|
|
20408
20408
|
}();
|
|
20409
|
-
function
|
|
20410
|
-
return typeof BigInt > "u" ?
|
|
20409
|
+
function TA(N) {
|
|
20410
|
+
return typeof BigInt > "u" ? se : N;
|
|
20411
20411
|
}
|
|
20412
|
-
function
|
|
20412
|
+
function se() {
|
|
20413
20413
|
throw new Error("BigInt not supported");
|
|
20414
20414
|
}
|
|
20415
20415
|
})(buffer);
|
|
@@ -20677,289 +20677,289 @@ var dayjs_min = { exports: {} };
|
|
|
20677
20677
|
(function(B, E) {
|
|
20678
20678
|
A.exports = E();
|
|
20679
20679
|
})(commonjsGlobal, function() {
|
|
20680
|
-
var B = 1e3, E = 6e4, C = 36e5, I = "millisecond", w = "second", h = "minute", D = "hour", m = "day", y = "week", k = "month", M = "quarter", L = "year", F = "date", x = "Invalid Date", H = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(
|
|
20681
|
-
var
|
|
20682
|
-
return "[" +
|
|
20683
|
-
} }, J = function(
|
|
20684
|
-
var
|
|
20685
|
-
return !
|
|
20686
|
-
}, q = { s: J, z: function(
|
|
20687
|
-
var
|
|
20688
|
-
return (
|
|
20689
|
-
}, m: function
|
|
20690
|
-
if (
|
|
20691
|
-
return -
|
|
20692
|
-
var
|
|
20693
|
-
return +(-(
|
|
20694
|
-
}, a: function(
|
|
20695
|
-
return
|
|
20696
|
-
}, p: function(
|
|
20697
|
-
return { M: k, y: L, w: y, d: m, D: F, h: D, m: h, s: w, ms: I, Q: M }[
|
|
20698
|
-
}, u: function(
|
|
20699
|
-
return
|
|
20680
|
+
var B = 1e3, E = 6e4, C = 36e5, I = "millisecond", w = "second", h = "minute", D = "hour", m = "day", y = "week", k = "month", M = "quarter", L = "year", F = "date", x = "Invalid Date", H = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, Y = /\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, U = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(oA) {
|
|
20681
|
+
var V = ["th", "st", "nd", "rd"], AA = oA % 100;
|
|
20682
|
+
return "[" + oA + (V[(AA - 20) % 10] || V[AA] || V[0]) + "]";
|
|
20683
|
+
} }, J = function(oA, V, AA) {
|
|
20684
|
+
var nA = String(oA);
|
|
20685
|
+
return !nA || nA.length >= V ? oA : "" + Array(V + 1 - nA.length).join(AA) + oA;
|
|
20686
|
+
}, q = { s: J, z: function(oA) {
|
|
20687
|
+
var V = -oA.utcOffset(), AA = Math.abs(V), nA = Math.floor(AA / 60), eA = AA % 60;
|
|
20688
|
+
return (V <= 0 ? "+" : "-") + J(nA, 2, "0") + ":" + J(eA, 2, "0");
|
|
20689
|
+
}, m: function oA(V, AA) {
|
|
20690
|
+
if (V.date() < AA.date())
|
|
20691
|
+
return -oA(AA, V);
|
|
20692
|
+
var nA = 12 * (AA.year() - V.year()) + (AA.month() - V.month()), eA = V.clone().add(nA, k), rA = AA - eA < 0, lA = V.clone().add(nA + (rA ? -1 : 1), k);
|
|
20693
|
+
return +(-(nA + (AA - eA) / (rA ? eA - lA : lA - eA)) || 0);
|
|
20694
|
+
}, a: function(oA) {
|
|
20695
|
+
return oA < 0 ? Math.ceil(oA) || 0 : Math.floor(oA);
|
|
20696
|
+
}, p: function(oA) {
|
|
20697
|
+
return { M: k, y: L, w: y, d: m, D: F, h: D, m: h, s: w, ms: I, Q: M }[oA] || String(oA || "").toLowerCase().replace(/s$/, "");
|
|
20698
|
+
}, u: function(oA) {
|
|
20699
|
+
return oA === void 0;
|
|
20700
20700
|
} }, O = "en", j = {};
|
|
20701
20701
|
j[O] = U;
|
|
20702
|
-
var W = "$isDayjsObject",
|
|
20703
|
-
return
|
|
20704
|
-
},
|
|
20705
|
-
var
|
|
20706
|
-
if (!
|
|
20702
|
+
var W = "$isDayjsObject", aA = function(oA) {
|
|
20703
|
+
return oA instanceof cA || !(!oA || !oA[W]);
|
|
20704
|
+
}, CA = function oA(V, AA, nA) {
|
|
20705
|
+
var eA;
|
|
20706
|
+
if (!V)
|
|
20707
20707
|
return O;
|
|
20708
|
-
if (typeof
|
|
20709
|
-
var
|
|
20710
|
-
j[
|
|
20711
|
-
var
|
|
20712
|
-
if (!
|
|
20713
|
-
return
|
|
20708
|
+
if (typeof V == "string") {
|
|
20709
|
+
var rA = V.toLowerCase();
|
|
20710
|
+
j[rA] && (eA = rA), AA && (j[rA] = AA, eA = rA);
|
|
20711
|
+
var lA = V.split("-");
|
|
20712
|
+
if (!eA && lA.length > 1)
|
|
20713
|
+
return oA(lA[0]);
|
|
20714
20714
|
} else {
|
|
20715
|
-
var
|
|
20716
|
-
j[
|
|
20715
|
+
var gA = V.name;
|
|
20716
|
+
j[gA] = V, eA = gA;
|
|
20717
20717
|
}
|
|
20718
|
-
return !
|
|
20719
|
-
},
|
|
20720
|
-
if (
|
|
20721
|
-
return
|
|
20722
|
-
var
|
|
20723
|
-
return
|
|
20724
|
-
},
|
|
20725
|
-
|
|
20726
|
-
return
|
|
20718
|
+
return !nA && eA && (O = eA), eA || !nA && O;
|
|
20719
|
+
}, QA = function(oA, V) {
|
|
20720
|
+
if (aA(oA))
|
|
20721
|
+
return oA.clone();
|
|
20722
|
+
var AA = typeof V == "object" ? V : {};
|
|
20723
|
+
return AA.date = oA, AA.args = arguments, new cA(AA);
|
|
20724
|
+
}, EA = q;
|
|
20725
|
+
EA.l = CA, EA.i = aA, EA.w = function(oA, V) {
|
|
20726
|
+
return QA(oA, { locale: V.$L, utc: V.$u, x: V.$x, $offset: V.$offset });
|
|
20727
20727
|
};
|
|
20728
|
-
var
|
|
20729
|
-
function
|
|
20730
|
-
this.$L =
|
|
20728
|
+
var cA = function() {
|
|
20729
|
+
function oA(AA) {
|
|
20730
|
+
this.$L = CA(AA.locale, null, !0), this.parse(AA), this.$x = this.$x || AA.x || {}, this[W] = !0;
|
|
20731
20731
|
}
|
|
20732
|
-
var
|
|
20733
|
-
return
|
|
20734
|
-
this.$d = function(
|
|
20735
|
-
var
|
|
20736
|
-
if (
|
|
20732
|
+
var V = oA.prototype;
|
|
20733
|
+
return V.parse = function(AA) {
|
|
20734
|
+
this.$d = function(nA) {
|
|
20735
|
+
var eA = nA.date, rA = nA.utc;
|
|
20736
|
+
if (eA === null)
|
|
20737
20737
|
return /* @__PURE__ */ new Date(NaN);
|
|
20738
|
-
if (
|
|
20738
|
+
if (EA.u(eA))
|
|
20739
20739
|
return /* @__PURE__ */ new Date();
|
|
20740
|
-
if (
|
|
20741
|
-
return new Date(
|
|
20742
|
-
if (typeof
|
|
20743
|
-
var
|
|
20744
|
-
if (
|
|
20745
|
-
var
|
|
20746
|
-
return
|
|
20740
|
+
if (eA instanceof Date)
|
|
20741
|
+
return new Date(eA);
|
|
20742
|
+
if (typeof eA == "string" && !/Z$/i.test(eA)) {
|
|
20743
|
+
var lA = eA.match(H);
|
|
20744
|
+
if (lA) {
|
|
20745
|
+
var gA = lA[2] - 1 || 0, wA = (lA[7] || "0").substring(0, 3);
|
|
20746
|
+
return rA ? new Date(Date.UTC(lA[1], gA, lA[3] || 1, lA[4] || 0, lA[5] || 0, lA[6] || 0, wA)) : new Date(lA[1], gA, lA[3] || 1, lA[4] || 0, lA[5] || 0, lA[6] || 0, wA);
|
|
20747
20747
|
}
|
|
20748
20748
|
}
|
|
20749
|
-
return new Date(
|
|
20750
|
-
}(
|
|
20751
|
-
},
|
|
20752
|
-
var
|
|
20753
|
-
this.$y =
|
|
20754
|
-
},
|
|
20755
|
-
return
|
|
20756
|
-
},
|
|
20749
|
+
return new Date(eA);
|
|
20750
|
+
}(AA), this.init();
|
|
20751
|
+
}, V.init = function() {
|
|
20752
|
+
var AA = this.$d;
|
|
20753
|
+
this.$y = AA.getFullYear(), this.$M = AA.getMonth(), this.$D = AA.getDate(), this.$W = AA.getDay(), this.$H = AA.getHours(), this.$m = AA.getMinutes(), this.$s = AA.getSeconds(), this.$ms = AA.getMilliseconds();
|
|
20754
|
+
}, V.$utils = function() {
|
|
20755
|
+
return EA;
|
|
20756
|
+
}, V.isValid = function() {
|
|
20757
20757
|
return this.$d.toString() !== x;
|
|
20758
|
-
},
|
|
20759
|
-
var
|
|
20760
|
-
return this.startOf(
|
|
20761
|
-
},
|
|
20762
|
-
return
|
|
20763
|
-
},
|
|
20764
|
-
return this.endOf(
|
|
20765
|
-
},
|
|
20766
|
-
return
|
|
20767
|
-
},
|
|
20758
|
+
}, V.isSame = function(AA, nA) {
|
|
20759
|
+
var eA = QA(AA);
|
|
20760
|
+
return this.startOf(nA) <= eA && eA <= this.endOf(nA);
|
|
20761
|
+
}, V.isAfter = function(AA, nA) {
|
|
20762
|
+
return QA(AA) < this.startOf(nA);
|
|
20763
|
+
}, V.isBefore = function(AA, nA) {
|
|
20764
|
+
return this.endOf(nA) < QA(AA);
|
|
20765
|
+
}, V.$g = function(AA, nA, eA) {
|
|
20766
|
+
return EA.u(AA) ? this[nA] : this.set(eA, AA);
|
|
20767
|
+
}, V.unix = function() {
|
|
20768
20768
|
return Math.floor(this.valueOf() / 1e3);
|
|
20769
|
-
},
|
|
20769
|
+
}, V.valueOf = function() {
|
|
20770
20770
|
return this.$d.getTime();
|
|
20771
|
-
},
|
|
20772
|
-
var
|
|
20773
|
-
var
|
|
20774
|
-
return
|
|
20775
|
-
},
|
|
20776
|
-
return
|
|
20777
|
-
},
|
|
20778
|
-
switch (
|
|
20771
|
+
}, V.startOf = function(AA, nA) {
|
|
20772
|
+
var eA = this, rA = !!EA.u(nA) || nA, lA = EA.p(AA), gA = function(xA, kA) {
|
|
20773
|
+
var BA = EA.w(eA.$u ? Date.UTC(eA.$y, kA, xA) : new Date(eA.$y, kA, xA), eA);
|
|
20774
|
+
return rA ? BA : BA.endOf(m);
|
|
20775
|
+
}, wA = function(xA, kA) {
|
|
20776
|
+
return EA.w(eA.toDate()[xA].apply(eA.toDate("s"), (rA ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(kA)), eA);
|
|
20777
|
+
}, IA = this.$W, dA = this.$M, NA = this.$D, UA = "set" + (this.$u ? "UTC" : "");
|
|
20778
|
+
switch (lA) {
|
|
20779
20779
|
case L:
|
|
20780
|
-
return
|
|
20780
|
+
return rA ? gA(1, 0) : gA(31, 11);
|
|
20781
20781
|
case k:
|
|
20782
|
-
return
|
|
20782
|
+
return rA ? gA(1, dA) : gA(0, dA + 1);
|
|
20783
20783
|
case y:
|
|
20784
|
-
var
|
|
20785
|
-
return rA
|
|
20784
|
+
var bA = this.$locale().weekStart || 0, GA = (IA < bA ? IA + 7 : IA) - bA;
|
|
20785
|
+
return gA(rA ? NA - GA : NA + (6 - GA), dA);
|
|
20786
20786
|
case m:
|
|
20787
20787
|
case F:
|
|
20788
|
-
return
|
|
20788
|
+
return wA(UA + "Hours", 0);
|
|
20789
20789
|
case D:
|
|
20790
|
-
return
|
|
20790
|
+
return wA(UA + "Minutes", 1);
|
|
20791
20791
|
case h:
|
|
20792
|
-
return
|
|
20792
|
+
return wA(UA + "Seconds", 2);
|
|
20793
20793
|
case w:
|
|
20794
|
-
return
|
|
20794
|
+
return wA(UA + "Milliseconds", 3);
|
|
20795
20795
|
default:
|
|
20796
20796
|
return this.clone();
|
|
20797
20797
|
}
|
|
20798
|
-
},
|
|
20799
|
-
return this.startOf(
|
|
20800
|
-
},
|
|
20801
|
-
var
|
|
20802
|
-
if (
|
|
20803
|
-
var
|
|
20804
|
-
|
|
20798
|
+
}, V.endOf = function(AA) {
|
|
20799
|
+
return this.startOf(AA, !1);
|
|
20800
|
+
}, V.$set = function(AA, nA) {
|
|
20801
|
+
var eA, rA = EA.p(AA), lA = "set" + (this.$u ? "UTC" : ""), gA = (eA = {}, eA[m] = lA + "Date", eA[F] = lA + "Date", eA[k] = lA + "Month", eA[L] = lA + "FullYear", eA[D] = lA + "Hours", eA[h] = lA + "Minutes", eA[w] = lA + "Seconds", eA[I] = lA + "Milliseconds", eA)[rA], wA = rA === m ? this.$D + (nA - this.$W) : nA;
|
|
20802
|
+
if (rA === k || rA === L) {
|
|
20803
|
+
var IA = this.clone().set(F, 1);
|
|
20804
|
+
IA.$d[gA](wA), IA.init(), this.$d = IA.set(F, Math.min(this.$D, IA.daysInMonth())).$d;
|
|
20805
20805
|
} else
|
|
20806
|
-
|
|
20806
|
+
gA && this.$d[gA](wA);
|
|
20807
20807
|
return this.init(), this;
|
|
20808
|
-
},
|
|
20809
|
-
return this.clone().$set(
|
|
20810
|
-
},
|
|
20811
|
-
return this[
|
|
20812
|
-
},
|
|
20813
|
-
var
|
|
20814
|
-
|
|
20815
|
-
var
|
|
20816
|
-
var
|
|
20817
|
-
return
|
|
20808
|
+
}, V.set = function(AA, nA) {
|
|
20809
|
+
return this.clone().$set(AA, nA);
|
|
20810
|
+
}, V.get = function(AA) {
|
|
20811
|
+
return this[EA.p(AA)]();
|
|
20812
|
+
}, V.add = function(AA, nA) {
|
|
20813
|
+
var eA, rA = this;
|
|
20814
|
+
AA = Number(AA);
|
|
20815
|
+
var lA = EA.p(nA), gA = function(dA) {
|
|
20816
|
+
var NA = QA(rA);
|
|
20817
|
+
return EA.w(NA.date(NA.date() + Math.round(dA * AA)), rA);
|
|
20818
20818
|
};
|
|
20819
|
-
if (
|
|
20820
|
-
return this.set(k, this.$M +
|
|
20821
|
-
if (
|
|
20822
|
-
return this.set(L, this.$y +
|
|
20823
|
-
if (
|
|
20824
|
-
return
|
|
20825
|
-
if (
|
|
20826
|
-
return
|
|
20827
|
-
var
|
|
20828
|
-
return
|
|
20829
|
-
},
|
|
20830
|
-
return this.add(-1 *
|
|
20831
|
-
},
|
|
20832
|
-
var
|
|
20819
|
+
if (lA === k)
|
|
20820
|
+
return this.set(k, this.$M + AA);
|
|
20821
|
+
if (lA === L)
|
|
20822
|
+
return this.set(L, this.$y + AA);
|
|
20823
|
+
if (lA === m)
|
|
20824
|
+
return gA(1);
|
|
20825
|
+
if (lA === y)
|
|
20826
|
+
return gA(7);
|
|
20827
|
+
var wA = (eA = {}, eA[h] = E, eA[D] = C, eA[w] = B, eA)[lA] || 1, IA = this.$d.getTime() + AA * wA;
|
|
20828
|
+
return EA.w(IA, this);
|
|
20829
|
+
}, V.subtract = function(AA, nA) {
|
|
20830
|
+
return this.add(-1 * AA, nA);
|
|
20831
|
+
}, V.format = function(AA) {
|
|
20832
|
+
var nA = this, eA = this.$locale();
|
|
20833
20833
|
if (!this.isValid())
|
|
20834
|
-
return
|
|
20835
|
-
var
|
|
20836
|
-
return
|
|
20837
|
-
},
|
|
20838
|
-
return
|
|
20839
|
-
},
|
|
20840
|
-
var
|
|
20841
|
-
return
|
|
20834
|
+
return eA.invalidDate || x;
|
|
20835
|
+
var rA = AA || "YYYY-MM-DDTHH:mm:ssZ", lA = EA.z(this), gA = this.$H, wA = this.$m, IA = this.$M, dA = eA.weekdays, NA = eA.months, UA = eA.meridiem, bA = function(kA, BA, DA, fA) {
|
|
20836
|
+
return kA && (kA[BA] || kA(nA, rA)) || DA[BA].slice(0, fA);
|
|
20837
|
+
}, GA = function(kA) {
|
|
20838
|
+
return EA.s(gA % 12 || 12, kA, "0");
|
|
20839
|
+
}, xA = UA || function(kA, BA, DA) {
|
|
20840
|
+
var fA = kA < 12 ? "AM" : "PM";
|
|
20841
|
+
return DA ? fA.toLowerCase() : fA;
|
|
20842
20842
|
};
|
|
20843
|
-
return
|
|
20844
|
-
return
|
|
20845
|
-
switch (
|
|
20843
|
+
return rA.replace(Y, function(kA, BA) {
|
|
20844
|
+
return BA || function(DA) {
|
|
20845
|
+
switch (DA) {
|
|
20846
20846
|
case "YY":
|
|
20847
|
-
return String(
|
|
20847
|
+
return String(nA.$y).slice(-2);
|
|
20848
20848
|
case "YYYY":
|
|
20849
|
-
return
|
|
20849
|
+
return EA.s(nA.$y, 4, "0");
|
|
20850
20850
|
case "M":
|
|
20851
|
-
return
|
|
20851
|
+
return IA + 1;
|
|
20852
20852
|
case "MM":
|
|
20853
|
-
return
|
|
20853
|
+
return EA.s(IA + 1, 2, "0");
|
|
20854
20854
|
case "MMM":
|
|
20855
|
-
return
|
|
20855
|
+
return bA(eA.monthsShort, IA, NA, 3);
|
|
20856
20856
|
case "MMMM":
|
|
20857
|
-
return
|
|
20857
|
+
return bA(NA, IA);
|
|
20858
20858
|
case "D":
|
|
20859
|
-
return
|
|
20859
|
+
return nA.$D;
|
|
20860
20860
|
case "DD":
|
|
20861
|
-
return
|
|
20861
|
+
return EA.s(nA.$D, 2, "0");
|
|
20862
20862
|
case "d":
|
|
20863
|
-
return String(
|
|
20863
|
+
return String(nA.$W);
|
|
20864
20864
|
case "dd":
|
|
20865
|
-
return
|
|
20865
|
+
return bA(eA.weekdaysMin, nA.$W, dA, 2);
|
|
20866
20866
|
case "ddd":
|
|
20867
|
-
return
|
|
20867
|
+
return bA(eA.weekdaysShort, nA.$W, dA, 3);
|
|
20868
20868
|
case "dddd":
|
|
20869
|
-
return
|
|
20869
|
+
return dA[nA.$W];
|
|
20870
20870
|
case "H":
|
|
20871
|
-
return String(
|
|
20871
|
+
return String(gA);
|
|
20872
20872
|
case "HH":
|
|
20873
|
-
return
|
|
20873
|
+
return EA.s(gA, 2, "0");
|
|
20874
20874
|
case "h":
|
|
20875
|
-
return
|
|
20875
|
+
return GA(1);
|
|
20876
20876
|
case "hh":
|
|
20877
|
-
return
|
|
20877
|
+
return GA(2);
|
|
20878
20878
|
case "a":
|
|
20879
|
-
return
|
|
20879
|
+
return xA(gA, wA, !0);
|
|
20880
20880
|
case "A":
|
|
20881
|
-
return
|
|
20881
|
+
return xA(gA, wA, !1);
|
|
20882
20882
|
case "m":
|
|
20883
|
-
return String(
|
|
20883
|
+
return String(wA);
|
|
20884
20884
|
case "mm":
|
|
20885
|
-
return
|
|
20885
|
+
return EA.s(wA, 2, "0");
|
|
20886
20886
|
case "s":
|
|
20887
|
-
return String(
|
|
20887
|
+
return String(nA.$s);
|
|
20888
20888
|
case "ss":
|
|
20889
|
-
return
|
|
20889
|
+
return EA.s(nA.$s, 2, "0");
|
|
20890
20890
|
case "SSS":
|
|
20891
|
-
return
|
|
20891
|
+
return EA.s(nA.$ms, 3, "0");
|
|
20892
20892
|
case "Z":
|
|
20893
|
-
return
|
|
20893
|
+
return lA;
|
|
20894
20894
|
}
|
|
20895
20895
|
return null;
|
|
20896
|
-
}(
|
|
20896
|
+
}(kA) || lA.replace(":", "");
|
|
20897
20897
|
});
|
|
20898
|
-
},
|
|
20898
|
+
}, V.utcOffset = function() {
|
|
20899
20899
|
return 15 * -Math.round(this.$d.getTimezoneOffset() / 15);
|
|
20900
|
-
},
|
|
20901
|
-
var
|
|
20902
|
-
return
|
|
20900
|
+
}, V.diff = function(AA, nA, eA) {
|
|
20901
|
+
var rA, lA = this, gA = EA.p(nA), wA = QA(AA), IA = (wA.utcOffset() - this.utcOffset()) * E, dA = this - wA, NA = function() {
|
|
20902
|
+
return EA.m(lA, wA);
|
|
20903
20903
|
};
|
|
20904
|
-
switch (
|
|
20904
|
+
switch (gA) {
|
|
20905
20905
|
case L:
|
|
20906
|
-
|
|
20906
|
+
rA = NA() / 12;
|
|
20907
20907
|
break;
|
|
20908
20908
|
case k:
|
|
20909
|
-
|
|
20909
|
+
rA = NA();
|
|
20910
20910
|
break;
|
|
20911
20911
|
case M:
|
|
20912
|
-
|
|
20912
|
+
rA = NA() / 3;
|
|
20913
20913
|
break;
|
|
20914
20914
|
case y:
|
|
20915
|
-
|
|
20915
|
+
rA = (dA - IA) / 6048e5;
|
|
20916
20916
|
break;
|
|
20917
20917
|
case m:
|
|
20918
|
-
|
|
20918
|
+
rA = (dA - IA) / 864e5;
|
|
20919
20919
|
break;
|
|
20920
20920
|
case D:
|
|
20921
|
-
|
|
20921
|
+
rA = dA / C;
|
|
20922
20922
|
break;
|
|
20923
20923
|
case h:
|
|
20924
|
-
|
|
20924
|
+
rA = dA / E;
|
|
20925
20925
|
break;
|
|
20926
20926
|
case w:
|
|
20927
|
-
|
|
20927
|
+
rA = dA / B;
|
|
20928
20928
|
break;
|
|
20929
20929
|
default:
|
|
20930
|
-
|
|
20930
|
+
rA = dA;
|
|
20931
20931
|
}
|
|
20932
|
-
return
|
|
20933
|
-
},
|
|
20932
|
+
return eA ? rA : EA.a(rA);
|
|
20933
|
+
}, V.daysInMonth = function() {
|
|
20934
20934
|
return this.endOf(k).$D;
|
|
20935
|
-
},
|
|
20935
|
+
}, V.$locale = function() {
|
|
20936
20936
|
return j[this.$L];
|
|
20937
|
-
},
|
|
20938
|
-
if (!
|
|
20937
|
+
}, V.locale = function(AA, nA) {
|
|
20938
|
+
if (!AA)
|
|
20939
20939
|
return this.$L;
|
|
20940
|
-
var
|
|
20941
|
-
return
|
|
20942
|
-
},
|
|
20943
|
-
return
|
|
20944
|
-
},
|
|
20940
|
+
var eA = this.clone(), rA = CA(AA, nA, !0);
|
|
20941
|
+
return rA && (eA.$L = rA), eA;
|
|
20942
|
+
}, V.clone = function() {
|
|
20943
|
+
return EA.w(this.$d, this);
|
|
20944
|
+
}, V.toDate = function() {
|
|
20945
20945
|
return new Date(this.valueOf());
|
|
20946
|
-
},
|
|
20946
|
+
}, V.toJSON = function() {
|
|
20947
20947
|
return this.isValid() ? this.toISOString() : null;
|
|
20948
|
-
},
|
|
20948
|
+
}, V.toISOString = function() {
|
|
20949
20949
|
return this.$d.toISOString();
|
|
20950
|
-
},
|
|
20950
|
+
}, V.toString = function() {
|
|
20951
20951
|
return this.$d.toUTCString();
|
|
20952
|
-
},
|
|
20953
|
-
}(),
|
|
20954
|
-
return
|
|
20955
|
-
|
|
20956
|
-
return this.$g(
|
|
20952
|
+
}, oA;
|
|
20953
|
+
}(), pA = cA.prototype;
|
|
20954
|
+
return QA.prototype = pA, [["$ms", I], ["$s", w], ["$m", h], ["$H", D], ["$W", m], ["$M", k], ["$y", L], ["$D", F]].forEach(function(oA) {
|
|
20955
|
+
pA[oA[1]] = function(V) {
|
|
20956
|
+
return this.$g(V, oA[0], oA[1]);
|
|
20957
20957
|
};
|
|
20958
|
-
}),
|
|
20959
|
-
return
|
|
20960
|
-
},
|
|
20961
|
-
return
|
|
20962
|
-
},
|
|
20958
|
+
}), QA.extend = function(oA, V) {
|
|
20959
|
+
return oA.$i || (oA(V, cA, QA), oA.$i = !0), QA;
|
|
20960
|
+
}, QA.locale = CA, QA.isDayjs = aA, QA.unix = function(oA) {
|
|
20961
|
+
return QA(1e3 * oA);
|
|
20962
|
+
}, QA.en = j[O], QA.Ls = j, QA.p = {}, QA;
|
|
20963
20963
|
});
|
|
20964
20964
|
})(dayjs_min);
|
|
20965
20965
|
var dayjs_minExports = dayjs_min.exports;
|
|
@@ -23636,28 +23636,28 @@ function createDOMPurify() {
|
|
|
23636
23636
|
implementation: O,
|
|
23637
23637
|
createNodeIterator: j,
|
|
23638
23638
|
createDocumentFragment: W,
|
|
23639
|
-
getElementsByTagName:
|
|
23639
|
+
getElementsByTagName: aA
|
|
23640
23640
|
} = B, {
|
|
23641
|
-
importNode:
|
|
23641
|
+
importNode: CA
|
|
23642
23642
|
} = E;
|
|
23643
|
-
let
|
|
23643
|
+
let QA = {};
|
|
23644
23644
|
g.isSupported = typeof entries == "function" && typeof U == "function" && O && O.createHTMLDocument !== void 0;
|
|
23645
23645
|
const {
|
|
23646
|
-
MUSTACHE_EXPR:
|
|
23647
|
-
ERB_EXPR:
|
|
23648
|
-
TMPLIT_EXPR:
|
|
23649
|
-
DATA_ATTR:
|
|
23650
|
-
ARIA_ATTR:
|
|
23651
|
-
IS_SCRIPT_OR_DATA:
|
|
23652
|
-
ATTR_WHITESPACE:
|
|
23646
|
+
MUSTACHE_EXPR: EA,
|
|
23647
|
+
ERB_EXPR: cA,
|
|
23648
|
+
TMPLIT_EXPR: pA,
|
|
23649
|
+
DATA_ATTR: oA,
|
|
23650
|
+
ARIA_ATTR: V,
|
|
23651
|
+
IS_SCRIPT_OR_DATA: AA,
|
|
23652
|
+
ATTR_WHITESPACE: nA
|
|
23653
23653
|
} = EXPRESSIONS;
|
|
23654
23654
|
let {
|
|
23655
|
-
IS_ALLOWED_URI:
|
|
23656
|
-
} = EXPRESSIONS,
|
|
23657
|
-
const
|
|
23658
|
-
let
|
|
23659
|
-
const
|
|
23660
|
-
let
|
|
23655
|
+
IS_ALLOWED_URI: eA
|
|
23656
|
+
} = EXPRESSIONS, rA = null;
|
|
23657
|
+
const lA = addToSet({}, [...html$1, ...svg$1, ...svgFilters, ...mathMl$1, ...text]);
|
|
23658
|
+
let gA = null;
|
|
23659
|
+
const wA = addToSet({}, [...html, ...svg, ...mathMl, ...xml]);
|
|
23660
|
+
let IA = Object.seal(create(null, {
|
|
23661
23661
|
tagNameCheck: {
|
|
23662
23662
|
writable: !0,
|
|
23663
23663
|
configurable: !1,
|
|
@@ -23676,40 +23676,40 @@ function createDOMPurify() {
|
|
|
23676
23676
|
enumerable: !0,
|
|
23677
23677
|
value: !1
|
|
23678
23678
|
}
|
|
23679
|
-
})),
|
|
23680
|
-
const
|
|
23681
|
-
let
|
|
23682
|
-
const
|
|
23683
|
-
let
|
|
23684
|
-
const
|
|
23679
|
+
})), dA = null, NA = null, UA = !0, bA = !0, GA = !1, xA = !0, kA = !1, BA = !1, DA = !1, fA = !1, MA = !1, WA = !1, jA = !1, $A = !0, ee = !1;
|
|
23680
|
+
const oe = "user-content-";
|
|
23681
|
+
let YA = !0, vA = !1, RA = {}, OA = null;
|
|
23682
|
+
const Be = addToSet({}, ["annotation-xml", "audio", "colgroup", "desc", "foreignobject", "head", "iframe", "math", "mi", "mn", "mo", "ms", "mtext", "noembed", "noframes", "noscript", "plaintext", "script", "style", "svg", "template", "thead", "title", "video", "xmp"]);
|
|
23683
|
+
let TA = null;
|
|
23684
|
+
const se = addToSet({}, ["audio", "video", "img", "source", "image", "track"]);
|
|
23685
23685
|
let N = null;
|
|
23686
23686
|
const _ = addToSet({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), S = "http://www.w3.org/1998/Math/MathML", T = "http://www.w3.org/2000/svg", z = "http://www.w3.org/1999/xhtml";
|
|
23687
|
-
let $ = z,
|
|
23688
|
-
const
|
|
23689
|
-
let
|
|
23690
|
-
const
|
|
23691
|
-
let
|
|
23692
|
-
const
|
|
23687
|
+
let $ = z, tA = !1, uA = null;
|
|
23688
|
+
const FA = addToSet({}, [S, T, z], stringToString);
|
|
23689
|
+
let hA = null;
|
|
23690
|
+
const yA = ["application/xhtml+xml", "text/html"], LA = "text/html";
|
|
23691
|
+
let SA = null, ie = null;
|
|
23692
|
+
const Le = B.createElement("form"), le = function(v) {
|
|
23693
23693
|
return v instanceof RegExp || v instanceof Function;
|
|
23694
|
-
},
|
|
23694
|
+
}, Qe = function() {
|
|
23695
23695
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
23696
|
-
if (!(
|
|
23697
|
-
if ((!v || typeof v != "object") && (v = {}), v = clone(v),
|
|
23698
|
-
|
|
23696
|
+
if (!(ie && ie === v)) {
|
|
23697
|
+
if ((!v || typeof v != "object") && (v = {}), v = clone(v), hA = // eslint-disable-next-line unicorn/prefer-includes
|
|
23698
|
+
yA.indexOf(v.PARSER_MEDIA_TYPE) === -1 ? hA = LA : hA = v.PARSER_MEDIA_TYPE, SA = hA === "application/xhtml+xml" ? stringToString : stringToLowerCase, rA = "ALLOWED_TAGS" in v ? addToSet({}, v.ALLOWED_TAGS, SA) : lA, gA = "ALLOWED_ATTR" in v ? addToSet({}, v.ALLOWED_ATTR, SA) : wA, uA = "ALLOWED_NAMESPACES" in v ? addToSet({}, v.ALLOWED_NAMESPACES, stringToString) : FA, N = "ADD_URI_SAFE_ATTR" in v ? addToSet(
|
|
23699
23699
|
clone(_),
|
|
23700
23700
|
// eslint-disable-line indent
|
|
23701
23701
|
v.ADD_URI_SAFE_ATTR,
|
|
23702
23702
|
// eslint-disable-line indent
|
|
23703
|
-
|
|
23703
|
+
SA
|
|
23704
23704
|
// eslint-disable-line indent
|
|
23705
|
-
) : _,
|
|
23706
|
-
clone(
|
|
23705
|
+
) : _, TA = "ADD_DATA_URI_TAGS" in v ? addToSet(
|
|
23706
|
+
clone(se),
|
|
23707
23707
|
// eslint-disable-line indent
|
|
23708
23708
|
v.ADD_DATA_URI_TAGS,
|
|
23709
23709
|
// eslint-disable-line indent
|
|
23710
|
-
|
|
23710
|
+
SA
|
|
23711
23711
|
// eslint-disable-line indent
|
|
23712
|
-
) :
|
|
23712
|
+
) : se, OA = "FORBID_CONTENTS" in v ? addToSet({}, v.FORBID_CONTENTS, SA) : Be, dA = "FORBID_TAGS" in v ? addToSet({}, v.FORBID_TAGS, SA) : {}, NA = "FORBID_ATTR" in v ? addToSet({}, v.FORBID_ATTR, SA) : {}, RA = "USE_PROFILES" in v ? v.USE_PROFILES : !1, UA = v.ALLOW_ARIA_ATTR !== !1, bA = v.ALLOW_DATA_ATTR !== !1, GA = v.ALLOW_UNKNOWN_PROTOCOLS || !1, xA = v.ALLOW_SELF_CLOSE_IN_ATTR !== !1, kA = v.SAFE_FOR_TEMPLATES || !1, BA = v.WHOLE_DOCUMENT || !1, MA = v.RETURN_DOM || !1, WA = v.RETURN_DOM_FRAGMENT || !1, jA = v.RETURN_TRUSTED_TYPE || !1, fA = v.FORCE_BODY || !1, $A = v.SANITIZE_DOM !== !1, ee = v.SANITIZE_NAMED_PROPS || !1, YA = v.KEEP_CONTENT !== !1, vA = v.IN_PLACE || !1, eA = v.ALLOWED_URI_REGEXP || IS_ALLOWED_URI, $ = v.NAMESPACE || z, IA = v.CUSTOM_ELEMENT_HANDLING || {}, v.CUSTOM_ELEMENT_HANDLING && le(v.CUSTOM_ELEMENT_HANDLING.tagNameCheck) && (IA.tagNameCheck = v.CUSTOM_ELEMENT_HANDLING.tagNameCheck), v.CUSTOM_ELEMENT_HANDLING && le(v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck) && (IA.attributeNameCheck = v.CUSTOM_ELEMENT_HANDLING.attributeNameCheck), v.CUSTOM_ELEMENT_HANDLING && typeof v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements == "boolean" && (IA.allowCustomizedBuiltInElements = v.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements), kA && (bA = !1), WA && (MA = !0), RA && (rA = addToSet({}, [...text]), gA = [], RA.html === !0 && (addToSet(rA, html$1), addToSet(gA, html)), RA.svg === !0 && (addToSet(rA, svg$1), addToSet(gA, svg), addToSet(gA, xml)), RA.svgFilters === !0 && (addToSet(rA, svgFilters), addToSet(gA, svg), addToSet(gA, xml)), RA.mathMl === !0 && (addToSet(rA, mathMl$1), addToSet(gA, mathMl), addToSet(gA, xml))), v.ADD_TAGS && (rA === lA && (rA = clone(rA)), addToSet(rA, v.ADD_TAGS, SA)), v.ADD_ATTR && (gA === wA && (gA = clone(gA)), addToSet(gA, v.ADD_ATTR, SA)), v.ADD_URI_SAFE_ATTR && addToSet(N, v.ADD_URI_SAFE_ATTR, SA), v.FORBID_CONTENTS && (OA === Be && (OA = clone(OA)), addToSet(OA, v.FORBID_CONTENTS, SA)), YA && (rA["#text"] = !0), BA && addToSet(rA, ["html", "head", "body"]), rA.table && (addToSet(rA, ["tbody"]), delete dA.tbody), v.TRUSTED_TYPES_POLICY) {
|
|
23713
23713
|
if (typeof v.TRUSTED_TYPES_POLICY.createHTML != "function")
|
|
23714
23714
|
throw typeErrorCreate('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
|
|
23715
23715
|
if (typeof v.TRUSTED_TYPES_POLICY.createScriptURL != "function")
|
|
@@ -23717,21 +23717,21 @@ function createDOMPurify() {
|
|
|
23717
23717
|
J = v.TRUSTED_TYPES_POLICY, q = J.createHTML("");
|
|
23718
23718
|
} else
|
|
23719
23719
|
J === void 0 && (J = _createTrustedTypesPolicy(L, C)), J !== null && typeof q == "string" && (q = J.createHTML(""));
|
|
23720
|
-
freeze && freeze(v),
|
|
23721
|
-
}
|
|
23722
|
-
},
|
|
23723
|
-
addToSet(
|
|
23724
|
-
const
|
|
23725
|
-
addToSet(
|
|
23726
|
-
const
|
|
23727
|
-
let
|
|
23728
|
-
(!
|
|
23720
|
+
freeze && freeze(v), ie = v;
|
|
23721
|
+
}
|
|
23722
|
+
}, we = addToSet({}, ["mi", "mo", "mn", "ms", "mtext"]), he = addToSet({}, ["foreignobject", "desc", "title", "annotation-xml"]), Fe = addToSet({}, ["title", "style", "font", "a", "script"]), ae = addToSet({}, svg$1);
|
|
23723
|
+
addToSet(ae, svgFilters), addToSet(ae, svgDisallowed);
|
|
23724
|
+
const Ee = addToSet({}, mathMl$1);
|
|
23725
|
+
addToSet(Ee, mathMlDisallowed);
|
|
23726
|
+
const _e = function(v) {
|
|
23727
|
+
let sA = U(v);
|
|
23728
|
+
(!sA || !sA.tagName) && (sA = {
|
|
23729
23729
|
namespaceURI: $,
|
|
23730
23730
|
tagName: "template"
|
|
23731
23731
|
});
|
|
23732
|
-
const
|
|
23733
|
-
return
|
|
23734
|
-
},
|
|
23732
|
+
const iA = stringToLowerCase(v.tagName), mA = stringToLowerCase(sA.tagName);
|
|
23733
|
+
return uA[v.namespaceURI] ? v.namespaceURI === T ? sA.namespaceURI === z ? iA === "svg" : sA.namespaceURI === S ? iA === "svg" && (mA === "annotation-xml" || we[mA]) : !!ae[iA] : v.namespaceURI === S ? sA.namespaceURI === z ? iA === "math" : sA.namespaceURI === T ? iA === "math" && he[mA] : !!Ee[iA] : v.namespaceURI === z ? sA.namespaceURI === T && !he[mA] || sA.namespaceURI === S && !we[mA] ? !1 : !Ee[iA] && (Fe[iA] || !ae[iA]) : !!(hA === "application/xhtml+xml" && uA[v.namespaceURI]) : !1;
|
|
23734
|
+
}, ne = function(v) {
|
|
23735
23735
|
arrayPush(g.removed, {
|
|
23736
23736
|
element: v
|
|
23737
23737
|
});
|
|
@@ -23740,54 +23740,54 @@ function createDOMPurify() {
|
|
|
23740
23740
|
} catch {
|
|
23741
23741
|
v.remove();
|
|
23742
23742
|
}
|
|
23743
|
-
},
|
|
23743
|
+
}, Ce = function(v, sA) {
|
|
23744
23744
|
try {
|
|
23745
23745
|
arrayPush(g.removed, {
|
|
23746
|
-
attribute:
|
|
23747
|
-
from:
|
|
23746
|
+
attribute: sA.getAttributeNode(v),
|
|
23747
|
+
from: sA
|
|
23748
23748
|
});
|
|
23749
23749
|
} catch {
|
|
23750
23750
|
arrayPush(g.removed, {
|
|
23751
23751
|
attribute: null,
|
|
23752
|
-
from:
|
|
23752
|
+
from: sA
|
|
23753
23753
|
});
|
|
23754
23754
|
}
|
|
23755
|
-
if (
|
|
23756
|
-
if (
|
|
23755
|
+
if (sA.removeAttribute(v), v === "is" && !gA[v])
|
|
23756
|
+
if (MA || WA)
|
|
23757
23757
|
try {
|
|
23758
|
-
|
|
23758
|
+
ne(sA);
|
|
23759
23759
|
} catch {
|
|
23760
23760
|
}
|
|
23761
23761
|
else
|
|
23762
23762
|
try {
|
|
23763
|
-
|
|
23763
|
+
sA.setAttribute(v, "");
|
|
23764
23764
|
} catch {
|
|
23765
23765
|
}
|
|
23766
|
-
},
|
|
23767
|
-
let
|
|
23768
|
-
if (
|
|
23766
|
+
}, De = function(v) {
|
|
23767
|
+
let sA = null, iA = null;
|
|
23768
|
+
if (fA)
|
|
23769
23769
|
v = "<remove></remove>" + v;
|
|
23770
23770
|
else {
|
|
23771
|
-
const
|
|
23772
|
-
|
|
23771
|
+
const _A = stringMatch(v, /^[\r\n\t ]+/);
|
|
23772
|
+
iA = _A && _A[0];
|
|
23773
23773
|
}
|
|
23774
|
-
|
|
23775
|
-
const
|
|
23774
|
+
hA === "application/xhtml+xml" && $ === z && (v = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + v + "</body></html>");
|
|
23775
|
+
const mA = J ? J.createHTML(v) : v;
|
|
23776
23776
|
if ($ === z)
|
|
23777
23777
|
try {
|
|
23778
|
-
|
|
23778
|
+
sA = new M().parseFromString(mA, hA);
|
|
23779
23779
|
} catch {
|
|
23780
23780
|
}
|
|
23781
|
-
if (!
|
|
23782
|
-
|
|
23781
|
+
if (!sA || !sA.documentElement) {
|
|
23782
|
+
sA = O.createDocument($, "template", null);
|
|
23783
23783
|
try {
|
|
23784
|
-
|
|
23784
|
+
sA.documentElement.innerHTML = tA ? q : mA;
|
|
23785
23785
|
} catch {
|
|
23786
23786
|
}
|
|
23787
23787
|
}
|
|
23788
|
-
const
|
|
23789
|
-
return v &&
|
|
23790
|
-
},
|
|
23788
|
+
const HA = sA.body || sA.documentElement;
|
|
23789
|
+
return v && iA && HA.insertBefore(B.createTextNode(iA), HA.childNodes[0] || null), $ === z ? aA.call(sA, BA ? "html" : "body")[0] : BA ? sA.documentElement : HA;
|
|
23790
|
+
}, ue = function(v) {
|
|
23791
23791
|
return j.call(
|
|
23792
23792
|
v.ownerDocument || v,
|
|
23793
23793
|
v,
|
|
@@ -23795,122 +23795,122 @@ function createDOMPurify() {
|
|
|
23795
23795
|
m.SHOW_ELEMENT | m.SHOW_COMMENT | m.SHOW_TEXT,
|
|
23796
23796
|
null
|
|
23797
23797
|
);
|
|
23798
|
-
},
|
|
23798
|
+
}, Se = function(v) {
|
|
23799
23799
|
return v instanceof k && (typeof v.nodeName != "string" || typeof v.textContent != "string" || typeof v.removeChild != "function" || !(v.attributes instanceof y) || typeof v.removeAttribute != "function" || typeof v.setAttribute != "function" || typeof v.namespaceURI != "string" || typeof v.insertBefore != "function" || typeof v.hasChildNodes != "function");
|
|
23800
|
-
},
|
|
23800
|
+
}, pe = function(v) {
|
|
23801
23801
|
return typeof h == "function" && v instanceof h;
|
|
23802
|
-
},
|
|
23803
|
-
|
|
23804
|
-
|
|
23802
|
+
}, XA = function(v, sA, iA) {
|
|
23803
|
+
QA[v] && arrayForEach(QA[v], (mA) => {
|
|
23804
|
+
mA.call(g, sA, iA, ie);
|
|
23805
23805
|
});
|
|
23806
|
-
},
|
|
23807
|
-
let
|
|
23808
|
-
if (
|
|
23809
|
-
return
|
|
23810
|
-
const
|
|
23811
|
-
if (
|
|
23812
|
-
tagName:
|
|
23813
|
-
allowedTags:
|
|
23814
|
-
}), v.hasChildNodes() && !
|
|
23815
|
-
return
|
|
23816
|
-
if (!
|
|
23817
|
-
if (!
|
|
23806
|
+
}, de = function(v) {
|
|
23807
|
+
let sA = null;
|
|
23808
|
+
if (XA("beforeSanitizeElements", v, null), Se(v))
|
|
23809
|
+
return ne(v), !0;
|
|
23810
|
+
const iA = SA(v.nodeName);
|
|
23811
|
+
if (XA("uponSanitizeElement", v, {
|
|
23812
|
+
tagName: iA,
|
|
23813
|
+
allowedTags: rA
|
|
23814
|
+
}), v.hasChildNodes() && !pe(v.firstElementChild) && regExpTest(/<[/\w]/g, v.innerHTML) && regExpTest(/<[/\w]/g, v.textContent))
|
|
23815
|
+
return ne(v), !0;
|
|
23816
|
+
if (!rA[iA] || dA[iA]) {
|
|
23817
|
+
if (!dA[iA] && me(iA) && (IA.tagNameCheck instanceof RegExp && regExpTest(IA.tagNameCheck, iA) || IA.tagNameCheck instanceof Function && IA.tagNameCheck(iA)))
|
|
23818
23818
|
return !1;
|
|
23819
|
-
if (
|
|
23820
|
-
const
|
|
23821
|
-
if (
|
|
23822
|
-
const
|
|
23823
|
-
for (let
|
|
23824
|
-
|
|
23819
|
+
if (YA && !OA[iA]) {
|
|
23820
|
+
const mA = U(v) || v.parentNode, HA = Y(v) || v.childNodes;
|
|
23821
|
+
if (HA && mA) {
|
|
23822
|
+
const _A = HA.length;
|
|
23823
|
+
for (let ZA = _A - 1; ZA >= 0; --ZA)
|
|
23824
|
+
mA.insertBefore(x(HA[ZA], !0), H(v));
|
|
23825
23825
|
}
|
|
23826
23826
|
}
|
|
23827
|
-
return
|
|
23827
|
+
return ne(v), !0;
|
|
23828
23828
|
}
|
|
23829
|
-
return v instanceof D && !
|
|
23830
|
-
|
|
23831
|
-
}), v.textContent !==
|
|
23829
|
+
return v instanceof D && !_e(v) || (iA === "noscript" || iA === "noembed" || iA === "noframes") && regExpTest(/<\/no(script|embed|frames)/i, v.innerHTML) ? (ne(v), !0) : (kA && v.nodeType === 3 && (sA = v.textContent, arrayForEach([EA, cA, pA], (mA) => {
|
|
23830
|
+
sA = stringReplace(sA, mA, " ");
|
|
23831
|
+
}), v.textContent !== sA && (arrayPush(g.removed, {
|
|
23832
23832
|
element: v.cloneNode()
|
|
23833
|
-
}), v.textContent =
|
|
23834
|
-
},
|
|
23835
|
-
if (
|
|
23833
|
+
}), v.textContent = sA)), XA("afterSanitizeElements", v, null), !1);
|
|
23834
|
+
}, fe = function(v, sA, iA) {
|
|
23835
|
+
if ($A && (sA === "id" || sA === "name") && (iA in B || iA in Le))
|
|
23836
23836
|
return !1;
|
|
23837
|
-
if (!(
|
|
23838
|
-
if (!
|
|
23837
|
+
if (!(bA && !NA[sA] && regExpTest(oA, sA)) && !(UA && regExpTest(V, sA))) {
|
|
23838
|
+
if (!gA[sA] || NA[sA]) {
|
|
23839
23839
|
if (
|
|
23840
23840
|
// First condition does a very basic check if a) it's basically a valid custom element tagname AND
|
|
23841
23841
|
// b) if the tagName passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
23842
23842
|
// and c) if the attribute name passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.attributeNameCheck
|
|
23843
|
-
!(
|
|
23843
|
+
!(me(v) && (IA.tagNameCheck instanceof RegExp && regExpTest(IA.tagNameCheck, v) || IA.tagNameCheck instanceof Function && IA.tagNameCheck(v)) && (IA.attributeNameCheck instanceof RegExp && regExpTest(IA.attributeNameCheck, sA) || IA.attributeNameCheck instanceof Function && IA.attributeNameCheck(sA)) || // Alternative, second condition checks if it's an `is`-attribute, AND
|
|
23844
23844
|
// the value passes whatever the user has configured for CUSTOM_ELEMENT_HANDLING.tagNameCheck
|
|
23845
|
-
|
|
23845
|
+
sA === "is" && IA.allowCustomizedBuiltInElements && (IA.tagNameCheck instanceof RegExp && regExpTest(IA.tagNameCheck, iA) || IA.tagNameCheck instanceof Function && IA.tagNameCheck(iA)))
|
|
23846
23846
|
)
|
|
23847
23847
|
return !1;
|
|
23848
|
-
} else if (!N[
|
|
23848
|
+
} else if (!N[sA] && !regExpTest(eA, stringReplace(iA, nA, "")) && !((sA === "src" || sA === "xlink:href" || sA === "href") && v !== "script" && stringIndexOf(iA, "data:") === 0 && TA[v]) && !(GA && !regExpTest(AA, stringReplace(iA, nA, ""))) && iA)
|
|
23849
23849
|
return !1;
|
|
23850
23850
|
}
|
|
23851
23851
|
return !0;
|
|
23852
|
-
}, fe = function(v) {
|
|
23853
|
-
return v.indexOf("-") > 0;
|
|
23854
23852
|
}, me = function(v) {
|
|
23855
|
-
|
|
23853
|
+
return v.indexOf("-") > 0;
|
|
23854
|
+
}, Me = function(v) {
|
|
23855
|
+
XA("beforeSanitizeAttributes", v, null);
|
|
23856
23856
|
const {
|
|
23857
|
-
attributes:
|
|
23857
|
+
attributes: sA
|
|
23858
23858
|
} = v;
|
|
23859
|
-
if (!
|
|
23859
|
+
if (!sA)
|
|
23860
23860
|
return;
|
|
23861
|
-
const
|
|
23861
|
+
const iA = {
|
|
23862
23862
|
attrName: "",
|
|
23863
23863
|
attrValue: "",
|
|
23864
23864
|
keepAttr: !0,
|
|
23865
|
-
allowedAttributes:
|
|
23865
|
+
allowedAttributes: gA
|
|
23866
23866
|
};
|
|
23867
|
-
let
|
|
23868
|
-
for (;
|
|
23869
|
-
const
|
|
23870
|
-
name:
|
|
23871
|
-
namespaceURI:
|
|
23872
|
-
value:
|
|
23873
|
-
} =
|
|
23874
|
-
let
|
|
23875
|
-
if (
|
|
23867
|
+
let mA = sA.length;
|
|
23868
|
+
for (; mA--; ) {
|
|
23869
|
+
const HA = sA[mA], {
|
|
23870
|
+
name: _A,
|
|
23871
|
+
namespaceURI: ZA,
|
|
23872
|
+
value: Ae
|
|
23873
|
+
} = HA, JA = SA(_A);
|
|
23874
|
+
let KA = _A === "value" ? Ae : stringTrim(Ae);
|
|
23875
|
+
if (iA.attrName = JA, iA.attrValue = KA, iA.keepAttr = !0, iA.forceKeepAttr = void 0, XA("uponSanitizeAttribute", v, iA), KA = iA.attrValue, iA.forceKeepAttr || (Ce(_A, v), !iA.keepAttr))
|
|
23876
23876
|
continue;
|
|
23877
|
-
if (!
|
|
23878
|
-
|
|
23877
|
+
if (!xA && regExpTest(/\/>/i, KA)) {
|
|
23878
|
+
Ce(_A, v);
|
|
23879
23879
|
continue;
|
|
23880
23880
|
}
|
|
23881
|
-
|
|
23882
|
-
|
|
23881
|
+
kA && arrayForEach([EA, cA, pA], (Ge) => {
|
|
23882
|
+
KA = stringReplace(KA, Ge, " ");
|
|
23883
23883
|
});
|
|
23884
|
-
const
|
|
23885
|
-
if (
|
|
23886
|
-
if (
|
|
23887
|
-
switch (L.getAttributeType(
|
|
23884
|
+
const Ne = SA(v.nodeName);
|
|
23885
|
+
if (fe(Ne, JA, KA)) {
|
|
23886
|
+
if (ee && (JA === "id" || JA === "name") && (Ce(_A, v), KA = oe + KA), J && typeof L == "object" && typeof L.getAttributeType == "function" && !ZA)
|
|
23887
|
+
switch (L.getAttributeType(Ne, JA)) {
|
|
23888
23888
|
case "TrustedHTML": {
|
|
23889
|
-
|
|
23889
|
+
KA = J.createHTML(KA);
|
|
23890
23890
|
break;
|
|
23891
23891
|
}
|
|
23892
23892
|
case "TrustedScriptURL": {
|
|
23893
|
-
|
|
23893
|
+
KA = J.createScriptURL(KA);
|
|
23894
23894
|
break;
|
|
23895
23895
|
}
|
|
23896
23896
|
}
|
|
23897
23897
|
try {
|
|
23898
|
-
|
|
23898
|
+
ZA ? v.setAttributeNS(ZA, _A, KA) : v.setAttribute(_A, KA), arrayPop(g.removed);
|
|
23899
23899
|
} catch {
|
|
23900
23900
|
}
|
|
23901
23901
|
}
|
|
23902
23902
|
}
|
|
23903
|
-
|
|
23904
|
-
},
|
|
23905
|
-
let
|
|
23906
|
-
const
|
|
23907
|
-
for (
|
|
23908
|
-
|
|
23909
|
-
|
|
23903
|
+
XA("afterSanitizeAttributes", v, null);
|
|
23904
|
+
}, be = function v(sA) {
|
|
23905
|
+
let iA = null;
|
|
23906
|
+
const mA = ue(sA);
|
|
23907
|
+
for (XA("beforeSanitizeShadowDOM", sA, null); iA = mA.nextNode(); )
|
|
23908
|
+
XA("uponSanitizeShadowNode", iA, null), !de(iA) && (iA.content instanceof I && v(iA.content), Me(iA));
|
|
23909
|
+
XA("afterSanitizeShadowDOM", sA, null);
|
|
23910
23910
|
};
|
|
23911
23911
|
return g.sanitize = function(v) {
|
|
23912
|
-
let
|
|
23913
|
-
if (
|
|
23912
|
+
let sA = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : {}, iA = null, mA = null, HA = null, _A = null;
|
|
23913
|
+
if (tA = !v, tA && (v = "<!-->"), typeof v != "string" && !pe(v))
|
|
23914
23914
|
if (typeof v.toString == "function") {
|
|
23915
23915
|
if (v = v.toString(), typeof v != "string")
|
|
23916
23916
|
throw typeErrorCreate("dirty is not a string, aborting");
|
|
@@ -23918,58 +23918,58 @@ function createDOMPurify() {
|
|
|
23918
23918
|
throw typeErrorCreate("toString is not a function");
|
|
23919
23919
|
if (!g.isSupported)
|
|
23920
23920
|
return v;
|
|
23921
|
-
if (
|
|
23921
|
+
if (DA || Qe(sA), g.removed = [], typeof v == "string" && (vA = !1), vA) {
|
|
23922
23922
|
if (v.nodeName) {
|
|
23923
|
-
const
|
|
23924
|
-
if (!
|
|
23923
|
+
const JA = SA(v.nodeName);
|
|
23924
|
+
if (!rA[JA] || dA[JA])
|
|
23925
23925
|
throw typeErrorCreate("root node is forbidden and cannot be sanitized in-place");
|
|
23926
23926
|
}
|
|
23927
23927
|
} else if (v instanceof h)
|
|
23928
|
-
|
|
23928
|
+
iA = De("<!---->"), mA = iA.ownerDocument.importNode(v, !0), mA.nodeType === 1 && mA.nodeName === "BODY" || mA.nodeName === "HTML" ? iA = mA : iA.appendChild(mA);
|
|
23929
23929
|
else {
|
|
23930
|
-
if (!
|
|
23930
|
+
if (!MA && !kA && !BA && // eslint-disable-next-line unicorn/prefer-includes
|
|
23931
23931
|
v.indexOf("<") === -1)
|
|
23932
|
-
return J &&
|
|
23933
|
-
if (
|
|
23934
|
-
return
|
|
23935
|
-
}
|
|
23936
|
-
|
|
23937
|
-
const
|
|
23938
|
-
for (;
|
|
23939
|
-
|
|
23940
|
-
if (
|
|
23932
|
+
return J && jA ? J.createHTML(v) : v;
|
|
23933
|
+
if (iA = De(v), !iA)
|
|
23934
|
+
return MA ? null : jA ? q : "";
|
|
23935
|
+
}
|
|
23936
|
+
iA && fA && ne(iA.firstChild);
|
|
23937
|
+
const ZA = ue(vA ? v : iA);
|
|
23938
|
+
for (; HA = ZA.nextNode(); )
|
|
23939
|
+
de(HA) || (HA.content instanceof I && be(HA.content), Me(HA));
|
|
23940
|
+
if (vA)
|
|
23941
23941
|
return v;
|
|
23942
|
-
if (
|
|
23943
|
-
if (
|
|
23944
|
-
for (
|
|
23945
|
-
|
|
23942
|
+
if (MA) {
|
|
23943
|
+
if (WA)
|
|
23944
|
+
for (_A = W.call(iA.ownerDocument); iA.firstChild; )
|
|
23945
|
+
_A.appendChild(iA.firstChild);
|
|
23946
23946
|
else
|
|
23947
|
-
|
|
23948
|
-
return (
|
|
23949
|
-
}
|
|
23950
|
-
let
|
|
23951
|
-
return
|
|
23952
|
-
` +
|
|
23953
|
-
|
|
23954
|
-
}), J &&
|
|
23947
|
+
_A = iA;
|
|
23948
|
+
return (gA.shadowroot || gA.shadowrootmode) && (_A = CA.call(E, _A, !0)), _A;
|
|
23949
|
+
}
|
|
23950
|
+
let Ae = BA ? iA.outerHTML : iA.innerHTML;
|
|
23951
|
+
return BA && rA["!doctype"] && iA.ownerDocument && iA.ownerDocument.doctype && iA.ownerDocument.doctype.name && regExpTest(DOCTYPE_NAME, iA.ownerDocument.doctype.name) && (Ae = "<!DOCTYPE " + iA.ownerDocument.doctype.name + `>
|
|
23952
|
+
` + Ae), kA && arrayForEach([EA, cA, pA], (JA) => {
|
|
23953
|
+
Ae = stringReplace(Ae, JA, " ");
|
|
23954
|
+
}), J && jA ? J.createHTML(Ae) : Ae;
|
|
23955
23955
|
}, g.setConfig = function() {
|
|
23956
23956
|
let v = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
|
|
23957
|
-
|
|
23957
|
+
Qe(v), DA = !0;
|
|
23958
23958
|
}, g.clearConfig = function() {
|
|
23959
|
-
|
|
23960
|
-
}, g.isValidAttribute = function(v,
|
|
23961
|
-
|
|
23962
|
-
const
|
|
23963
|
-
return
|
|
23964
|
-
}, g.addHook = function(v,
|
|
23965
|
-
typeof
|
|
23959
|
+
ie = null, DA = !1;
|
|
23960
|
+
}, g.isValidAttribute = function(v, sA, iA) {
|
|
23961
|
+
ie || Qe({});
|
|
23962
|
+
const mA = SA(v), HA = SA(sA);
|
|
23963
|
+
return fe(mA, HA, iA);
|
|
23964
|
+
}, g.addHook = function(v, sA) {
|
|
23965
|
+
typeof sA == "function" && (QA[v] = QA[v] || [], arrayPush(QA[v], sA));
|
|
23966
23966
|
}, g.removeHook = function(v) {
|
|
23967
|
-
if (
|
|
23968
|
-
return arrayPop(
|
|
23967
|
+
if (QA[v])
|
|
23968
|
+
return arrayPop(QA[v]);
|
|
23969
23969
|
}, g.removeHooks = function(v) {
|
|
23970
|
-
|
|
23970
|
+
QA[v] && (QA[v] = []);
|
|
23971
23971
|
}, g.removeAllHooks = function() {
|
|
23972
|
-
|
|
23972
|
+
QA = {};
|
|
23973
23973
|
}, g;
|
|
23974
23974
|
}
|
|
23975
23975
|
var purify = createDOMPurify();
|
|
@@ -26715,7 +26715,7 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26715
26715
|
}, checkConfig = (A) => {
|
|
26716
26716
|
A && (A.lazyLoadedDiagrams || A.loadExternalDiagramsAtStartup) && issueWarning("LAZY_LOAD_DEPRECATED");
|
|
26717
26717
|
}, id$l = "c4", detector$l = (A) => /^\s*C4Context|C4Container|C4Component|C4Dynamic|C4Deployment/.test(A), loader$m = async () => {
|
|
26718
|
-
const { diagram: A } = await import("./c4Diagram-b947cdbb-BBGJ9ivn-
|
|
26718
|
+
const { diagram: A } = await import("./c4Diagram-b947cdbb-BBGJ9ivn-BA4nSYfd.js");
|
|
26719
26719
|
return { id: id$l, diagram: A };
|
|
26720
26720
|
}, plugin$j = {
|
|
26721
26721
|
id: id$l,
|
|
@@ -26725,7 +26725,7 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26725
26725
|
var B, E;
|
|
26726
26726
|
return ((B = g == null ? void 0 : g.flowchart) == null ? void 0 : B.defaultRenderer) === "dagre-wrapper" || ((E = g == null ? void 0 : g.flowchart) == null ? void 0 : E.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(A);
|
|
26727
26727
|
}, loader$l = async () => {
|
|
26728
|
-
const { diagram: A } = await import("./flowDiagram-d949d7c1-Boa20b_n-
|
|
26728
|
+
const { diagram: A } = await import("./flowDiagram-d949d7c1-Boa20b_n-CJ3aILFD.js");
|
|
26729
26729
|
return { id: id$k, diagram: A };
|
|
26730
26730
|
}, plugin$i = {
|
|
26731
26731
|
id: id$k,
|
|
@@ -26735,70 +26735,70 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26735
26735
|
var B, E, C;
|
|
26736
26736
|
return ((B = g == null ? void 0 : g.flowchart) == null ? void 0 : B.defaultRenderer) === "dagre-d3" || ((E = g == null ? void 0 : g.flowchart) == null ? void 0 : E.defaultRenderer) === "elk" ? !1 : /^\s*graph/.test(A) && ((C = g == null ? void 0 : g.flowchart) == null ? void 0 : C.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*flowchart/.test(A);
|
|
26737
26737
|
}, loader$k = async () => {
|
|
26738
|
-
const { diagram: A } = await import("./flowDiagram-v2-49332944-BJtijxhz-
|
|
26738
|
+
const { diagram: A } = await import("./flowDiagram-v2-49332944-BJtijxhz-Cgd4t08U.js");
|
|
26739
26739
|
return { id: id$j, diagram: A };
|
|
26740
26740
|
}, plugin$h = {
|
|
26741
26741
|
id: id$j,
|
|
26742
26742
|
detector: detector$j,
|
|
26743
26743
|
loader: loader$k
|
|
26744
26744
|
}, flowchartV2 = plugin$h, id$i = "er", detector$i = (A) => /^\s*erDiagram/.test(A), loader$j = async () => {
|
|
26745
|
-
const { diagram: A } = await import("./erDiagram-0ea73325-C3DQ6B1e-
|
|
26745
|
+
const { diagram: A } = await import("./erDiagram-0ea73325-C3DQ6B1e-GwhT3lGQ.js");
|
|
26746
26746
|
return { id: id$i, diagram: A };
|
|
26747
26747
|
}, plugin$g = {
|
|
26748
26748
|
id: id$i,
|
|
26749
26749
|
detector: detector$i,
|
|
26750
26750
|
loader: loader$j
|
|
26751
26751
|
}, er = plugin$g, id$h = "gitGraph", detector$h = (A) => /^\s*gitGraph/.test(A), loader$i = async () => {
|
|
26752
|
-
const { diagram: A } = await import("./gitGraphDiagram-b9d81de9-D1rNIGL0-
|
|
26752
|
+
const { diagram: A } = await import("./gitGraphDiagram-b9d81de9-D1rNIGL0-DDkwKLsk.js");
|
|
26753
26753
|
return { id: id$h, diagram: A };
|
|
26754
26754
|
}, plugin$f = {
|
|
26755
26755
|
id: id$h,
|
|
26756
26756
|
detector: detector$h,
|
|
26757
26757
|
loader: loader$i
|
|
26758
26758
|
}, git = plugin$f, id$g = "gantt", detector$g = (A) => /^\s*gantt/.test(A), loader$h = async () => {
|
|
26759
|
-
const { diagram: A } = await import("./ganttDiagram-5c869e3b-CRDFjzTp-
|
|
26759
|
+
const { diagram: A } = await import("./ganttDiagram-5c869e3b-CRDFjzTp-lNK9bq-O.js");
|
|
26760
26760
|
return { id: id$g, diagram: A };
|
|
26761
26761
|
}, plugin$e = {
|
|
26762
26762
|
id: id$g,
|
|
26763
26763
|
detector: detector$g,
|
|
26764
26764
|
loader: loader$h
|
|
26765
26765
|
}, gantt = plugin$e, id$f = "info", detector$f = (A) => /^\s*info/.test(A), loader$g = async () => {
|
|
26766
|
-
const { diagram: A } = await import("./infoDiagram-db7b18fc-DKsewKnu-
|
|
26766
|
+
const { diagram: A } = await import("./infoDiagram-db7b18fc-DKsewKnu-CWVarnHo.js");
|
|
26767
26767
|
return { id: id$f, diagram: A };
|
|
26768
26768
|
}, info = {
|
|
26769
26769
|
id: id$f,
|
|
26770
26770
|
detector: detector$f,
|
|
26771
26771
|
loader: loader$g
|
|
26772
26772
|
}, id$e = "pie", detector$e = (A) => /^\s*pie/.test(A), loader$f = async () => {
|
|
26773
|
-
const { diagram: A } = await import("./pieDiagram-b0208e96-Cyz2Kcfu-
|
|
26773
|
+
const { diagram: A } = await import("./pieDiagram-b0208e96-Cyz2Kcfu-B1Q8dscS.js");
|
|
26774
26774
|
return { id: id$e, diagram: A };
|
|
26775
26775
|
}, pie = {
|
|
26776
26776
|
id: id$e,
|
|
26777
26777
|
detector: detector$e,
|
|
26778
26778
|
loader: loader$f
|
|
26779
26779
|
}, id$d = "quadrantChart", detector$d = (A) => /^\s*quadrantChart/.test(A), loader$e = async () => {
|
|
26780
|
-
const { diagram: A } = await import("./quadrantDiagram-0332be45-CDMkEQj0-
|
|
26780
|
+
const { diagram: A } = await import("./quadrantDiagram-0332be45-CDMkEQj0-D0ioHd_P.js");
|
|
26781
26781
|
return { id: id$d, diagram: A };
|
|
26782
26782
|
}, plugin$d = {
|
|
26783
26783
|
id: id$d,
|
|
26784
26784
|
detector: detector$d,
|
|
26785
26785
|
loader: loader$e
|
|
26786
26786
|
}, quadrantChart = plugin$d, id$c = "xychart", detector$c = (A) => /^\s*xychart-beta/.test(A), loader$d = async () => {
|
|
26787
|
-
const { diagram: A } = await import("./xychartDiagram-e50adddc-C1fuuOEQ-
|
|
26787
|
+
const { diagram: A } = await import("./xychartDiagram-e50adddc-C1fuuOEQ-DHvZ99O1.js");
|
|
26788
26788
|
return { id: id$c, diagram: A };
|
|
26789
26789
|
}, plugin$c = {
|
|
26790
26790
|
id: id$c,
|
|
26791
26791
|
detector: detector$c,
|
|
26792
26792
|
loader: loader$d
|
|
26793
26793
|
}, xychart = plugin$c, id$b = "requirement", detector$b = (A) => /^\s*requirement(Diagram)?/.test(A), loader$c = async () => {
|
|
26794
|
-
const { diagram: A } = await import("./requirementDiagram-bf7890df-Jk3SQ-Q1-
|
|
26794
|
+
const { diagram: A } = await import("./requirementDiagram-bf7890df-Jk3SQ-Q1-BB9UHuUh.js");
|
|
26795
26795
|
return { id: id$b, diagram: A };
|
|
26796
26796
|
}, plugin$b = {
|
|
26797
26797
|
id: id$b,
|
|
26798
26798
|
detector: detector$b,
|
|
26799
26799
|
loader: loader$c
|
|
26800
26800
|
}, requirement = plugin$b, id$a = "sequence", detector$a = (A) => /^\s*sequenceDiagram/.test(A), loader$b = async () => {
|
|
26801
|
-
const { diagram: A } = await import("./sequenceDiagram-c18d009d-B4IxGCEM-
|
|
26801
|
+
const { diagram: A } = await import("./sequenceDiagram-c18d009d-B4IxGCEM-DgvEmabG.js");
|
|
26802
26802
|
return { id: id$a, diagram: A };
|
|
26803
26803
|
}, plugin$a = {
|
|
26804
26804
|
id: id$a,
|
|
@@ -26808,7 +26808,7 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26808
26808
|
var B;
|
|
26809
26809
|
return ((B = g == null ? void 0 : g.class) == null ? void 0 : B.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*classDiagram/.test(A);
|
|
26810
26810
|
}, loader$a = async () => {
|
|
26811
|
-
const { diagram: A } = await import("./classDiagram-35230388-CRYNduH8-
|
|
26811
|
+
const { diagram: A } = await import("./classDiagram-35230388-CRYNduH8-CLsxllrW.js");
|
|
26812
26812
|
return { id: id$9, diagram: A };
|
|
26813
26813
|
}, plugin$9 = {
|
|
26814
26814
|
id: id$9,
|
|
@@ -26818,7 +26818,7 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26818
26818
|
var B;
|
|
26819
26819
|
return /^\s*classDiagram/.test(A) && ((B = g == null ? void 0 : g.class) == null ? void 0 : B.defaultRenderer) === "dagre-wrapper" ? !0 : /^\s*classDiagram-v2/.test(A);
|
|
26820
26820
|
}, loader$9 = async () => {
|
|
26821
|
-
const { diagram: A } = await import("./classDiagram-v2-412acd34-5HbyJrnL-
|
|
26821
|
+
const { diagram: A } = await import("./classDiagram-v2-412acd34-5HbyJrnL-DB1xO44x.js");
|
|
26822
26822
|
return { id: id$8, diagram: A };
|
|
26823
26823
|
}, plugin$8 = {
|
|
26824
26824
|
id: id$8,
|
|
@@ -26828,7 +26828,7 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26828
26828
|
var B;
|
|
26829
26829
|
return ((B = g == null ? void 0 : g.state) == null ? void 0 : B.defaultRenderer) === "dagre-wrapper" ? !1 : /^\s*stateDiagram/.test(A);
|
|
26830
26830
|
}, loader$8 = async () => {
|
|
26831
|
-
const { diagram: A } = await import("./stateDiagram-43596fc0-0xEMkbt_-
|
|
26831
|
+
const { diagram: A } = await import("./stateDiagram-43596fc0-0xEMkbt_-jFUk_xdU.js");
|
|
26832
26832
|
return { id: id$7, diagram: A };
|
|
26833
26833
|
}, plugin$7 = {
|
|
26834
26834
|
id: id$7,
|
|
@@ -26838,14 +26838,14 @@ const updateCurrentConfig = (A, g) => {
|
|
|
26838
26838
|
var B;
|
|
26839
26839
|
return !!(/^\s*stateDiagram-v2/.test(A) || /^\s*stateDiagram/.test(A) && ((B = g == null ? void 0 : g.state) == null ? void 0 : B.defaultRenderer) === "dagre-wrapper");
|
|
26840
26840
|
}, loader$7 = async () => {
|
|
26841
|
-
const { diagram: A } = await import("./stateDiagram-v2-2ead4f9c-DS4afpcC-
|
|
26841
|
+
const { diagram: A } = await import("./stateDiagram-v2-2ead4f9c-DS4afpcC-jDCqPtGk.js");
|
|
26842
26842
|
return { id: id$6, diagram: A };
|
|
26843
26843
|
}, plugin$6 = {
|
|
26844
26844
|
id: id$6,
|
|
26845
26845
|
detector: detector$6,
|
|
26846
26846
|
loader: loader$7
|
|
26847
26847
|
}, stateV2 = plugin$6, id$5 = "journey", detector$5 = (A) => /^\s*journey/.test(A), loader$6 = async () => {
|
|
26848
|
-
const { diagram: A } = await import("./journeyDiagram-d5636530-ClddNDmR-
|
|
26848
|
+
const { diagram: A } = await import("./journeyDiagram-d5636530-ClddNDmR-ywsNZNTr.js");
|
|
26849
26849
|
return { id: id$5, diagram: A };
|
|
26850
26850
|
}, plugin$5 = {
|
|
26851
26851
|
id: id$5,
|
|
@@ -27016,35 +27016,35 @@ const selectSvgElement = (A) => {
|
|
|
27016
27016
|
/^\s*flowchart|graph/.test(A) && ((B = g == null ? void 0 : g.flowchart) == null ? void 0 : B.defaultRenderer) === "elk")
|
|
27017
27017
|
);
|
|
27018
27018
|
}, loader$5 = async () => {
|
|
27019
|
-
const { diagram: A } = await import("./flowchart-elk-definition-27cc417a-BBD3LS9k-
|
|
27019
|
+
const { diagram: A } = await import("./flowchart-elk-definition-27cc417a-BBD3LS9k-Bb9_HTfE.js");
|
|
27020
27020
|
return { id: id$4, diagram: A };
|
|
27021
27021
|
}, plugin$4 = {
|
|
27022
27022
|
id: id$4,
|
|
27023
27023
|
detector: detector$4,
|
|
27024
27024
|
loader: loader$5
|
|
27025
27025
|
}, flowchartElk = plugin$4, id$3 = "timeline", detector$3 = (A) => /^\s*timeline/.test(A), loader$4 = async () => {
|
|
27026
|
-
const { diagram: A } = await import("./timeline-definition-d977decf-BqZwyTB6-
|
|
27026
|
+
const { diagram: A } = await import("./timeline-definition-d977decf-BqZwyTB6-qFhObMdA.js");
|
|
27027
27027
|
return { id: id$3, diagram: A };
|
|
27028
27028
|
}, plugin$3 = {
|
|
27029
27029
|
id: id$3,
|
|
27030
27030
|
detector: detector$3,
|
|
27031
27031
|
loader: loader$4
|
|
27032
27032
|
}, timeline = plugin$3, id$2 = "mindmap", detector$2 = (A) => /^\s*mindmap/.test(A), loader$3 = async () => {
|
|
27033
|
-
const { diagram: A } = await import("./mindmap-definition-377f8f1f-BwEJ-DVg-
|
|
27033
|
+
const { diagram: A } = await import("./mindmap-definition-377f8f1f-BwEJ-DVg-DeBewnKQ.js");
|
|
27034
27034
|
return { id: id$2, diagram: A };
|
|
27035
27035
|
}, plugin$2 = {
|
|
27036
27036
|
id: id$2,
|
|
27037
27037
|
detector: detector$2,
|
|
27038
27038
|
loader: loader$3
|
|
27039
27039
|
}, mindmap = plugin$2, id$1 = "sankey", detector$1 = (A) => /^\s*sankey-beta/.test(A), loader$2 = async () => {
|
|
27040
|
-
const { diagram: A } = await import("./sankeyDiagram-0acdec17-BJuIUJd_-
|
|
27040
|
+
const { diagram: A } = await import("./sankeyDiagram-0acdec17-BJuIUJd_-Ce7q-NNk.js");
|
|
27041
27041
|
return { id: id$1, diagram: A };
|
|
27042
27042
|
}, plugin$1 = {
|
|
27043
27043
|
id: id$1,
|
|
27044
27044
|
detector: detector$1,
|
|
27045
27045
|
loader: loader$2
|
|
27046
27046
|
}, sankey = plugin$1, id = "block", detector = (A) => /^\s*block-beta/.test(A), loader$1 = async () => {
|
|
27047
|
-
const { diagram: A } = await import("./blockDiagram-6b2b5046-BabM1eIl-
|
|
27047
|
+
const { diagram: A } = await import("./blockDiagram-6b2b5046-BabM1eIl-BiFw3WJ6.js");
|
|
27048
27048
|
return { id, diagram: A };
|
|
27049
27049
|
}, plugin = {
|
|
27050
27050
|
id,
|
|
@@ -28310,15 +28310,15 @@ const removeExistingElements = (A, g, B, E) => {
|
|
|
28310
28310
|
const Y = y.securityLevel === SECURITY_LVL_SANDBOX, U = y.securityLevel === SECURITY_LVL_LOOSE, J = y.fontFamily;
|
|
28311
28311
|
if (B !== void 0) {
|
|
28312
28312
|
if (B && (B.innerHTML = ""), Y) {
|
|
28313
|
-
const
|
|
28314
|
-
H = select(
|
|
28313
|
+
const eA = sandboxedIframe(select(B), M);
|
|
28314
|
+
H = select(eA.nodes()[0].contentDocument.body), H.node().style.margin = 0;
|
|
28315
28315
|
} else
|
|
28316
28316
|
H = select(B);
|
|
28317
28317
|
appendDivSvgG(H, A, F, `font-family: ${J}`, XMLNS_XLINK_STD);
|
|
28318
28318
|
} else {
|
|
28319
28319
|
if (removeExistingElements(document, A, F, M), Y) {
|
|
28320
|
-
const
|
|
28321
|
-
H = select(
|
|
28320
|
+
const eA = sandboxedIframe(select("body"), M);
|
|
28321
|
+
H = select(eA.nodes()[0].contentDocument.body), H.node().style.margin = 0;
|
|
28322
28322
|
} else
|
|
28323
28323
|
H = select("body");
|
|
28324
28324
|
appendDivSvgG(H, A, F);
|
|
@@ -28326,32 +28326,32 @@ const removeExistingElements = (A, g, B, E) => {
|
|
|
28326
28326
|
let q, O;
|
|
28327
28327
|
try {
|
|
28328
28328
|
q = await getDiagramFromText(g, { title: m.title });
|
|
28329
|
-
} catch (
|
|
28330
|
-
q = new Diagram("error"), O =
|
|
28329
|
+
} catch (eA) {
|
|
28330
|
+
q = new Diagram("error"), O = eA;
|
|
28331
28331
|
}
|
|
28332
|
-
const j = H.select(x).node(), W = q.type,
|
|
28333
|
-
|
|
28332
|
+
const j = H.select(x).node(), W = q.type, aA = j.firstChild, CA = aA.firstChild, QA = (C = (E = q.renderer).getClasses) == null ? void 0 : C.call(E, g, q), EA = createUserStyles(y, W, QA, k), cA = document.createElement("style");
|
|
28333
|
+
cA.innerHTML = EA, aA.insertBefore(cA, CA);
|
|
28334
28334
|
try {
|
|
28335
28335
|
await q.renderer.draw(g, A, version, q);
|
|
28336
|
-
} catch (
|
|
28337
|
-
throw errorRenderer.draw(g, A, version),
|
|
28338
|
-
}
|
|
28339
|
-
const
|
|
28340
|
-
addA11yInfo(W,
|
|
28341
|
-
let
|
|
28342
|
-
if (log$1.debug("config.arrowMarkerAbsolute", y.arrowMarkerAbsolute),
|
|
28343
|
-
const
|
|
28344
|
-
|
|
28336
|
+
} catch (eA) {
|
|
28337
|
+
throw errorRenderer.draw(g, A, version), eA;
|
|
28338
|
+
}
|
|
28339
|
+
const pA = H.select(`${x} svg`), oA = (w = (I = q.db).getAccTitle) == null ? void 0 : w.call(I), V = (D = (h = q.db).getAccDescription) == null ? void 0 : D.call(h);
|
|
28340
|
+
addA11yInfo(W, pA, oA, V), H.select(`[id="${A}"]`).selectAll("foreignobject > *").attr("xmlns", XMLNS_XHTML_STD);
|
|
28341
|
+
let AA = H.select(x).node().innerHTML;
|
|
28342
|
+
if (log$1.debug("config.arrowMarkerAbsolute", y.arrowMarkerAbsolute), AA = cleanUpSvgCode(AA, Y, evaluate(y.arrowMarkerAbsolute)), Y) {
|
|
28343
|
+
const eA = H.select(x + " svg").node();
|
|
28344
|
+
AA = putIntoIFrame(AA, eA);
|
|
28345
28345
|
} else
|
|
28346
|
-
U || (
|
|
28346
|
+
U || (AA = purify.sanitize(AA, {
|
|
28347
28347
|
ADD_TAGS: DOMPURIFY_TAGS,
|
|
28348
28348
|
ADD_ATTR: DOMPURIFY_ATTR
|
|
28349
28349
|
}));
|
|
28350
28350
|
if (attachFunctions(), O)
|
|
28351
28351
|
throw O;
|
|
28352
|
-
const
|
|
28353
|
-
return
|
|
28354
|
-
svg:
|
|
28352
|
+
const nA = select(Y ? L : x).node();
|
|
28353
|
+
return nA && "remove" in nA && nA.remove(), {
|
|
28354
|
+
svg: AA,
|
|
28355
28355
|
bindFunctions: q.db.bindFunctions
|
|
28356
28356
|
};
|
|
28357
28357
|
};
|
|
@@ -28617,18 +28617,18 @@ const executeQueue = async () => {
|
|
|
28617
28617
|
},
|
|
28618
28618
|
emits: ["update:modelValue", "update:frontmatter", "save", "cancel", "mode", "fullscreen"],
|
|
28619
28619
|
setup(A, { emit: g }) {
|
|
28620
|
-
useCssVars((
|
|
28621
|
-
cad86c72:
|
|
28622
|
-
"0f1ebfa2":
|
|
28623
|
-
"5aa727dd":
|
|
28624
|
-
"74eca6d0":
|
|
28620
|
+
useCssVars((BA) => ({
|
|
28621
|
+
cad86c72: kA.value,
|
|
28622
|
+
"0f1ebfa2": gA.value,
|
|
28623
|
+
"5aa727dd": BA.$props.fullscreenZIndex,
|
|
28624
|
+
"74eca6d0": xA.value,
|
|
28625
28625
|
"6fe42ba3": unref(TOOLBAR_HEIGHT)
|
|
28626
28626
|
}));
|
|
28627
28627
|
const B = A, E = g, C = ref(null), I = ref(null), { init: w, md: h } = composables.useMarkdownIt(), D = v4(), m = computed(() => `markdown-ui-${D}`), y = computed(() => `markdown-ui-textarea-${D}`), k = computed(() => `scrollable-${D}`), M = computed(() => B.tabSize), L = usePreferredColorScheme(), F = computed(() => B.theme ? B.theme : L.value === "dark" ? L.value : "light"), x = ref(["edit", "split", "preview"].includes(B.mode) && B.editable ? B.mode : "read"), H = ref(!1), Y = ref(!1);
|
|
28628
28628
|
provide(UNIQUE_ID_INJECTION_KEY, D), provide(TEXTAREA_ID_INJECTION_KEY, y), provide(MODE_INJECTION_KEY, x), provide(EDITABLE_INJECTION_KEY, computed(() => B.editable)), provide(FULLSCREEN_INJECTION_KEY, H), provide(THEME_INJECTION_KEY, F), provide(HTML_PREVIEW_INJECTION_KEY, Y);
|
|
28629
28629
|
const { initializeSyncScroll: U, destroySyncScroll: J } = composables.useSyncScroll(k), { debounce: q } = composables.useDebounce();
|
|
28630
|
-
watch(x, async (
|
|
28631
|
-
switch (
|
|
28630
|
+
watch(x, async (BA) => {
|
|
28631
|
+
switch (BA) {
|
|
28632
28632
|
case "edit":
|
|
28633
28633
|
Y.value = !1;
|
|
28634
28634
|
break;
|
|
@@ -28640,77 +28640,77 @@ const executeQueue = async () => {
|
|
|
28640
28640
|
Y.value = !1, H.value = !1;
|
|
28641
28641
|
break;
|
|
28642
28642
|
}
|
|
28643
|
-
E("mode",
|
|
28643
|
+
E("mode", BA), J(), await nextTick(), await V(), U();
|
|
28644
28644
|
});
|
|
28645
|
-
const O = (
|
|
28646
|
-
var
|
|
28647
|
-
const
|
|
28648
|
-
return W.value =
|
|
28649
|
-
}, j = ref(B.modelValue), W = ref(),
|
|
28650
|
-
|
|
28651
|
-
},
|
|
28652
|
-
|
|
28645
|
+
const O = (BA) => {
|
|
28646
|
+
var DA;
|
|
28647
|
+
const fA = {}, MA = (DA = h.value) == null ? void 0 : DA.render(BA, fA);
|
|
28648
|
+
return W.value = fA.frontmatter, MA;
|
|
28649
|
+
}, j = ref(B.modelValue), W = ref(), aA = ref(""), CA = ref(""), { toggleInlineFormatting: QA, insertMarkdownTemplate: EA, insertLink: cA } = composables.useMarkdownActions(C, j), pA = (BA) => {
|
|
28650
|
+
BA === "link" ? cA() : QA(BA), rA();
|
|
28651
|
+
}, oA = (BA) => {
|
|
28652
|
+
EA(BA), rA();
|
|
28653
28653
|
};
|
|
28654
28654
|
watchEffect(() => {
|
|
28655
|
-
var
|
|
28656
|
-
Y.value && (
|
|
28655
|
+
var BA;
|
|
28656
|
+
Y.value && (CA.value = (BA = h.value) == null ? void 0 : BA.render("```html" + NEW_LINE_CHARACTER + formatHtml(aA.value, " ".repeat(M.value)) + NEW_LINE_CHARACTER + "```"));
|
|
28657
28657
|
});
|
|
28658
|
-
const
|
|
28658
|
+
const V = async () => {
|
|
28659
28659
|
if (typeof mermaid < "u" && typeof (mermaid == null ? void 0 : mermaid.run) == "function") {
|
|
28660
|
-
const
|
|
28661
|
-
document.querySelector(
|
|
28662
|
-
querySelector:
|
|
28660
|
+
const BA = `#${m.value} .markdown-content-container .mermaid`;
|
|
28661
|
+
document.querySelector(BA) && await mermaid.run({
|
|
28662
|
+
querySelector: BA,
|
|
28663
28663
|
suppressErrors: !0
|
|
28664
28664
|
});
|
|
28665
28665
|
}
|
|
28666
|
-
},
|
|
28666
|
+
}, AA = () => {
|
|
28667
28667
|
try {
|
|
28668
|
-
const
|
|
28669
|
-
|
|
28668
|
+
const BA = new Blob([j.value], { type: "text/markdown;charset=utf-8" }), DA = URL.createObjectURL(BA), fA = document.createElement("a");
|
|
28669
|
+
fA.href = DA, fA.download = `${B.filename.replace(/ /g, "-").replace(/[^-+.a-zA-Z0-9_]/g, "").replace(/(\.md)+$/g, "")}.md`, fA.dispatchEvent(
|
|
28670
28670
|
new MouseEvent("click", {
|
|
28671
28671
|
bubbles: !0,
|
|
28672
28672
|
cancelable: !0,
|
|
28673
28673
|
view: window
|
|
28674
28674
|
})
|
|
28675
28675
|
), setTimeout(() => {
|
|
28676
|
-
window.URL.revokeObjectURL(
|
|
28676
|
+
window.URL.revokeObjectURL(DA), fA.remove();
|
|
28677
28677
|
}, 100);
|
|
28678
|
-
} catch (
|
|
28679
|
-
console.warn("download",
|
|
28678
|
+
} catch (BA) {
|
|
28679
|
+
console.warn("download", BA);
|
|
28680
28680
|
}
|
|
28681
|
-
},
|
|
28682
|
-
j.value =
|
|
28683
|
-
},
|
|
28684
|
-
|
|
28685
|
-
}, EDITOR_DEBOUNCE_TIMEOUT),
|
|
28686
|
-
const
|
|
28681
|
+
}, nA = (BA, DA = !0) => {
|
|
28682
|
+
j.value = BA.target.value, eA(DA);
|
|
28683
|
+
}, eA = q(async (BA = !0) => {
|
|
28684
|
+
aA.value = O(j.value), await nextTick(), BA && (E("update:modelValue", j.value), E("update:frontmatter", W.value)), await nextTick(), await V();
|
|
28685
|
+
}, EDITOR_DEBOUNCE_TIMEOUT), rA = (BA = !0) => {
|
|
28686
|
+
const DA = {
|
|
28687
28687
|
target: {
|
|
28688
28688
|
value: j.value
|
|
28689
28689
|
}
|
|
28690
28690
|
};
|
|
28691
|
-
|
|
28691
|
+
nA(DA, BA);
|
|
28692
28692
|
};
|
|
28693
|
-
watch(() => B.modelValue, (
|
|
28694
|
-
j.value =
|
|
28693
|
+
watch(() => B.modelValue, (BA) => {
|
|
28694
|
+
j.value = BA, rA(!1);
|
|
28695
28695
|
});
|
|
28696
|
-
const
|
|
28697
|
-
Y.value = !Y.value,
|
|
28698
|
-
},
|
|
28696
|
+
const lA = () => {
|
|
28697
|
+
Y.value = !Y.value, rA();
|
|
28698
|
+
}, gA = computed(() => `${B.fullscreenOffsetTop}px`), wA = () => {
|
|
28699
28699
|
H.value = !H.value;
|
|
28700
28700
|
};
|
|
28701
|
-
watch(H, (
|
|
28702
|
-
E("fullscreen",
|
|
28701
|
+
watch(H, (BA) => {
|
|
28702
|
+
E("fullscreen", BA);
|
|
28703
28703
|
});
|
|
28704
|
-
const
|
|
28705
|
-
x.value =
|
|
28706
|
-
},
|
|
28704
|
+
const IA = useMediaQuery(`(min-width: ${KUI_BREAKPOINT_PHABLET})`), dA = () => {
|
|
28705
|
+
x.value = IA.value ? "split" : "edit";
|
|
28706
|
+
}, NA = () => {
|
|
28707
28707
|
E("cancel"), x.value = "read";
|
|
28708
|
-
},
|
|
28708
|
+
}, UA = () => {
|
|
28709
28709
|
E("save", {
|
|
28710
28710
|
content: j.value,
|
|
28711
28711
|
frontmatter: W.value
|
|
28712
28712
|
}), x.value = "read";
|
|
28713
|
-
},
|
|
28713
|
+
}, bA = () => {
|
|
28714
28714
|
typeof mermaid < "u" && typeof (mermaid == null ? void 0 : mermaid.initialize) == "function" && (mermaid == null || mermaid.initialize({
|
|
28715
28715
|
startOnLoad: !1,
|
|
28716
28716
|
securityLevel: "strict",
|
|
@@ -28719,30 +28719,30 @@ const executeQueue = async () => {
|
|
|
28719
28719
|
theme: F.value === "light" ? "default" : "base"
|
|
28720
28720
|
}));
|
|
28721
28721
|
};
|
|
28722
|
-
watch(F, async (
|
|
28723
|
-
await w(
|
|
28722
|
+
watch(F, async (BA) => {
|
|
28723
|
+
await w(BA), bA(), rA();
|
|
28724
28724
|
});
|
|
28725
|
-
const
|
|
28726
|
-
var
|
|
28725
|
+
const GA = async (BA) => {
|
|
28726
|
+
var DA, fA, MA, WA, jA, $A, ee, oe;
|
|
28727
28727
|
try {
|
|
28728
|
-
if (!((
|
|
28728
|
+
if (!((fA = (DA = BA.target) == null ? void 0 : DA.classList) != null && fA.contains("kong-markdown-code-block-copy")) || !((WA = (MA = BA.target) == null ? void 0 : MA.dataset) != null && WA.copytext))
|
|
28729
28729
|
return;
|
|
28730
|
-
if (
|
|
28731
|
-
const
|
|
28732
|
-
|
|
28730
|
+
if (BA.preventDefault(), (jA = navigator == null ? void 0 : navigator.clipboard) != null && jA.writeText) {
|
|
28731
|
+
const YA = ((ee = ($A = BA.target) == null ? void 0 : $A.dataset) == null ? void 0 : ee.copytext) || "";
|
|
28732
|
+
YA && (await navigator.clipboard.writeText(YA), (oe = BA == null ? void 0 : BA.target) == null || oe.blur());
|
|
28733
28733
|
}
|
|
28734
|
-
} catch (
|
|
28735
|
-
console.warn("Could not copy text to clipboard",
|
|
28734
|
+
} catch (YA) {
|
|
28735
|
+
console.warn("Could not copy text to clipboard", YA);
|
|
28736
28736
|
}
|
|
28737
28737
|
};
|
|
28738
|
-
composables.useKeyboardShortcuts(C, j, M,
|
|
28739
|
-
await w(F.value),
|
|
28738
|
+
composables.useKeyboardShortcuts(C, j, M, rA), onMounted(async () => {
|
|
28739
|
+
await w(F.value), aA.value = O(B.modelValue), await nextTick(), useEventListener(I, "click", GA), bA(), await V(), x.value === "split" && (await nextTick(), U());
|
|
28740
28740
|
}), onUnmounted(() => {
|
|
28741
28741
|
J();
|
|
28742
28742
|
});
|
|
28743
|
-
const
|
|
28744
|
-
return (
|
|
28745
|
-
var
|
|
28743
|
+
const xA = computed(() => `calc(100vh - ${TOOLBAR_HEIGHT} - ${KUI_SPACE_60})`), kA = computed(() => `${B.maxHeight}px`);
|
|
28744
|
+
return (BA, DA) => {
|
|
28745
|
+
var fA;
|
|
28746
28746
|
return openBlock(), createElementBlock("div", {
|
|
28747
28747
|
id: m.value,
|
|
28748
28748
|
ref_key: "markdownComponent",
|
|
@@ -28752,26 +28752,26 @@ const executeQueue = async () => {
|
|
|
28752
28752
|
}, [
|
|
28753
28753
|
A.editable && x.value !== "read" ? (openBlock(), createBlock(MarkdownToolbar, {
|
|
28754
28754
|
key: 0,
|
|
28755
|
-
onChangeMode:
|
|
28756
|
-
onFormatSelection:
|
|
28757
|
-
onInsertTemplate:
|
|
28758
|
-
onToggleFullscreen:
|
|
28759
|
-
onToggleHtmlPreview:
|
|
28755
|
+
onChangeMode: DA[0] || (DA[0] = (MA) => x.value = MA),
|
|
28756
|
+
onFormatSelection: pA,
|
|
28757
|
+
onInsertTemplate: oA,
|
|
28758
|
+
onToggleFullscreen: wA,
|
|
28759
|
+
onToggleHtmlPreview: lA
|
|
28760
28760
|
}, {
|
|
28761
28761
|
"toolbar-right": withCtx(() => [
|
|
28762
|
-
renderSlot(
|
|
28762
|
+
renderSlot(BA.$slots, "toolbar-right", {}, void 0, !0)
|
|
28763
28763
|
]),
|
|
28764
28764
|
"editor-actions": withCtx(() => [
|
|
28765
|
-
renderSlot(
|
|
28766
|
-
cancel:
|
|
28767
|
-
save:
|
|
28765
|
+
renderSlot(BA.$slots, "editor-actions", {
|
|
28766
|
+
cancel: NA,
|
|
28767
|
+
save: UA
|
|
28768
28768
|
}, () => [
|
|
28769
28769
|
A.editable && ["edit", "split", "preview"].includes(x.value) ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
|
|
28770
28770
|
createVNode(ToolbarButton, {
|
|
28771
28771
|
"data-testid": "cancel",
|
|
28772
28772
|
icon: !1,
|
|
28773
28773
|
tabindex: 0,
|
|
28774
|
-
onClick:
|
|
28774
|
+
onClick: NA
|
|
28775
28775
|
}, {
|
|
28776
28776
|
default: withCtx(() => [
|
|
28777
28777
|
createTextVNode(" Cancel ")
|
|
@@ -28783,7 +28783,7 @@ const executeQueue = async () => {
|
|
|
28783
28783
|
"data-testid": "save",
|
|
28784
28784
|
icon: !1,
|
|
28785
28785
|
tabindex: 0,
|
|
28786
|
-
onClick:
|
|
28786
|
+
onClick: UA
|
|
28787
28787
|
}, {
|
|
28788
28788
|
default: withCtx(() => [
|
|
28789
28789
|
createTextVNode(" Save ")
|
|
@@ -28810,7 +28810,7 @@ const executeQueue = async () => {
|
|
|
28810
28810
|
spellcheck: "false",
|
|
28811
28811
|
translate: "no",
|
|
28812
28812
|
value: j.value,
|
|
28813
|
-
onInput:
|
|
28813
|
+
onInput: DA[1] || (DA[1] = (MA) => nA(MA))
|
|
28814
28814
|
}, null, 42, _hoisted_4$3)
|
|
28815
28815
|
])) : createCommentVNode("", !0),
|
|
28816
28816
|
["read", "preview", "split"].includes(x.value) ? (openBlock(), createElementBlock("div", {
|
|
@@ -28820,21 +28820,21 @@ const executeQueue = async () => {
|
|
|
28820
28820
|
}, [
|
|
28821
28821
|
createElementVNode("div", _hoisted_5$2, [
|
|
28822
28822
|
x.value === "read" ? (openBlock(), createElementBlock("div", _hoisted_6$2, [
|
|
28823
|
-
renderSlot(
|
|
28824
|
-
download: (
|
|
28825
|
-
edit: A.editable ?
|
|
28823
|
+
renderSlot(BA.$slots, "content-actions", {
|
|
28824
|
+
download: (fA = j.value) != null && fA.length && A.downloadable ? AA : void 0,
|
|
28825
|
+
edit: A.editable ? dA : void 0
|
|
28826
28826
|
}, () => {
|
|
28827
|
-
var
|
|
28827
|
+
var MA;
|
|
28828
28828
|
return [
|
|
28829
|
-
x.value === "read" && (
|
|
28830
|
-
renderSlot(
|
|
28829
|
+
x.value === "read" && (MA = j.value) != null && MA.length && A.downloadable ? (openBlock(), createElementBlock("div", _hoisted_7$2, [
|
|
28830
|
+
renderSlot(BA.$slots, "download", { download: AA }, () => [
|
|
28831
28831
|
createVNode(ToolbarButton, {
|
|
28832
28832
|
appearance: "primary",
|
|
28833
28833
|
"aria-label": "Download markdown document",
|
|
28834
28834
|
"data-testid": "download",
|
|
28835
28835
|
icon: !1,
|
|
28836
28836
|
tabindex: 0,
|
|
28837
|
-
onClick:
|
|
28837
|
+
onClick: AA
|
|
28838
28838
|
}, {
|
|
28839
28839
|
default: withCtx(() => [
|
|
28840
28840
|
createVNode(unref(j6), {
|
|
@@ -28848,14 +28848,14 @@ const executeQueue = async () => {
|
|
|
28848
28848
|
], !0)
|
|
28849
28849
|
])) : createCommentVNode("", !0),
|
|
28850
28850
|
x.value === "read" && A.editable ? (openBlock(), createElementBlock("div", _hoisted_9$1, [
|
|
28851
|
-
renderSlot(
|
|
28851
|
+
renderSlot(BA.$slots, "edit", { edit: dA }, () => [
|
|
28852
28852
|
createVNode(ToolbarButton, {
|
|
28853
28853
|
appearance: "primary",
|
|
28854
28854
|
"aria-label": "Edit markdown document",
|
|
28855
28855
|
"data-testid": "edit",
|
|
28856
28856
|
icon: !1,
|
|
28857
28857
|
tabindex: 0,
|
|
28858
|
-
onClick:
|
|
28858
|
+
onClick: dA
|
|
28859
28859
|
}, {
|
|
28860
28860
|
default: withCtx(() => [
|
|
28861
28861
|
createVNode(unref(K6), {
|
|
@@ -28873,7 +28873,7 @@ const executeQueue = async () => {
|
|
|
28873
28873
|
])) : createCommentVNode("", !0),
|
|
28874
28874
|
createVNode(MarkdownContent, {
|
|
28875
28875
|
class: normalizeClass({ "html-preview": Y.value }),
|
|
28876
|
-
content: Y.value ?
|
|
28876
|
+
content: Y.value ? CA.value : aA.value
|
|
28877
28877
|
}, null, 8, ["class", "content"])
|
|
28878
28878
|
])
|
|
28879
28879
|
], 2)) : createCommentVNode("", !0)
|
|
@@ -29232,8 +29232,8 @@ const executeQueue = async () => {
|
|
|
29232
29232
|
setup(A, { emit: g }) {
|
|
29233
29233
|
var q;
|
|
29234
29234
|
const B = A, E = g, { i18n: C } = composables$1.useI18n(), I = ref(!0), w = computed(() => {
|
|
29235
|
-
var O, j, W,
|
|
29236
|
-
return ((j = (O = B.selectedDocument) == null ? void 0 : O.document) == null ? void 0 : j.title) || ((
|
|
29235
|
+
var O, j, W, aA, CA;
|
|
29236
|
+
return ((j = (O = B.selectedDocument) == null ? void 0 : O.document) == null ? void 0 : j.title) || ((CA = (aA = (W = B.selectedDocument) == null ? void 0 : W.document) == null ? void 0 : aA.revision) == null ? void 0 : CA.title) || "";
|
|
29237
29237
|
}), h = computed(() => ""), D = ref(!1), m = ref(C.t("documentation.common.unpublished")), y = ref(((q = B.selectedDocument) == null ? void 0 : q.markdown) || ""), k = ref(y.value), M = ref(null), L = (O) => {
|
|
29238
29238
|
typeof O == "function" && (O(), E("download"));
|
|
29239
29239
|
}, F = (O) => {
|
|
@@ -29259,7 +29259,7 @@ const executeQueue = async () => {
|
|
|
29259
29259
|
var j;
|
|
29260
29260
|
isObjectEmpty(O) || (B.hidePublishToggle || Y((j = O.document) == null ? void 0 : j.status), (O.ast || O.markdown) && U());
|
|
29261
29261
|
}, { deep: !0, immediate: !0 }), (O, j) => {
|
|
29262
|
-
const W = resolveComponent("KBadge"),
|
|
29262
|
+
const W = resolveComponent("KBadge"), aA = resolveComponent("KInputSwitch"), CA = resolveComponent("KButton"), QA = resolveComponent("KSkeleton"), EA = resolveComponent("KTooltip"), cA = resolveComponent("KDropdownItem"), pA = resolveComponent("KDropdown");
|
|
29263
29263
|
return openBlock(), createElementBlock("div", _hoisted_1$2, [
|
|
29264
29264
|
createElementVNode("div", _hoisted_2$2, [
|
|
29265
29265
|
createElementVNode("div", _hoisted_3$2, [
|
|
@@ -29296,10 +29296,10 @@ const executeQueue = async () => {
|
|
|
29296
29296
|
"auth-function": () => A.canEdit()
|
|
29297
29297
|
}, {
|
|
29298
29298
|
default: withCtx(() => [
|
|
29299
|
-
!A.hidePublishToggle && !A.card ? (openBlock(), createBlock(
|
|
29299
|
+
!A.hidePublishToggle && !A.card ? (openBlock(), createBlock(aA, {
|
|
29300
29300
|
key: 0,
|
|
29301
29301
|
modelValue: D.value,
|
|
29302
|
-
"onUpdate:modelValue": j[0] || (j[0] = (
|
|
29302
|
+
"onUpdate:modelValue": j[0] || (j[0] = (oA) => D.value = oA),
|
|
29303
29303
|
class: "document-publish-toggle",
|
|
29304
29304
|
"data-testid": "document-publish-toggle",
|
|
29305
29305
|
label: m.value,
|
|
@@ -29313,11 +29313,11 @@ const executeQueue = async () => {
|
|
|
29313
29313
|
"auth-function": () => A.canEdit()
|
|
29314
29314
|
}, {
|
|
29315
29315
|
default: withCtx(() => [
|
|
29316
|
-
createVNode(
|
|
29316
|
+
createVNode(CA, {
|
|
29317
29317
|
appearance: "primary",
|
|
29318
29318
|
"data-testid": "add-new-page-button",
|
|
29319
29319
|
size: "small",
|
|
29320
|
-
onClick: j[1] || (j[1] = (
|
|
29320
|
+
onClick: j[1] || (j[1] = (oA) => E("add"))
|
|
29321
29321
|
}, {
|
|
29322
29322
|
default: withCtx(() => [
|
|
29323
29323
|
createTextVNode(toDisplayString(unref(C).t("documentation.documentation_display.add_new")), 1)
|
|
@@ -29330,10 +29330,10 @@ const executeQueue = async () => {
|
|
|
29330
29330
|
])
|
|
29331
29331
|
]),
|
|
29332
29332
|
I.value ? (openBlock(), createElementBlock("div", _hoisted_11, [
|
|
29333
|
-
A.card ? (openBlock(), createBlock(
|
|
29333
|
+
A.card ? (openBlock(), createBlock(QA, {
|
|
29334
29334
|
key: 1,
|
|
29335
29335
|
type: "card"
|
|
29336
|
-
})) : (openBlock(), createBlock(
|
|
29336
|
+
})) : (openBlock(), createBlock(QA, {
|
|
29337
29337
|
key: 0,
|
|
29338
29338
|
class: "markdown-content-loader"
|
|
29339
29339
|
}))
|
|
@@ -29344,7 +29344,7 @@ const executeQueue = async () => {
|
|
|
29344
29344
|
y.value !== void 0 ? (openBlock(), createBlock(unref(MarkdownUi), {
|
|
29345
29345
|
key: 0,
|
|
29346
29346
|
modelValue: y.value,
|
|
29347
|
-
"onUpdate:modelValue": j[3] || (j[3] = (
|
|
29347
|
+
"onUpdate:modelValue": j[3] || (j[3] = (oA) => y.value = oA),
|
|
29348
29348
|
downloadable: "",
|
|
29349
29349
|
editable: J.value,
|
|
29350
29350
|
filename: w.value,
|
|
@@ -29352,22 +29352,22 @@ const executeQueue = async () => {
|
|
|
29352
29352
|
mode: "read",
|
|
29353
29353
|
theme: "light",
|
|
29354
29354
|
onCancel: H,
|
|
29355
|
-
onMode: j[4] || (j[4] = (
|
|
29356
|
-
onSave: j[5] || (j[5] = (
|
|
29355
|
+
onMode: j[4] || (j[4] = (oA) => F(oA)),
|
|
29356
|
+
onSave: j[5] || (j[5] = (oA) => E("save-markdown", oA.content))
|
|
29357
29357
|
}, createSlots({ _: 2 }, [
|
|
29358
29358
|
J.value || A.selectedDocument.markdown ? {
|
|
29359
29359
|
name: "content-actions",
|
|
29360
|
-
fn: withCtx(({ download:
|
|
29361
|
-
createVNode(
|
|
29360
|
+
fn: withCtx(({ download: oA, edit: V }) => [
|
|
29361
|
+
createVNode(pA, {
|
|
29362
29362
|
class: "content-actions-dropdown",
|
|
29363
29363
|
"kpop-attributes": { placement: "bottomEnd" }
|
|
29364
29364
|
}, {
|
|
29365
29365
|
default: withCtx(() => [
|
|
29366
|
-
createVNode(
|
|
29366
|
+
createVNode(EA, {
|
|
29367
29367
|
text: unref(C).t("documentation.documentation_display.actions_title")
|
|
29368
29368
|
}, {
|
|
29369
29369
|
default: withCtx(() => [
|
|
29370
|
-
createVNode(
|
|
29370
|
+
createVNode(CA, {
|
|
29371
29371
|
appearance: "secondary",
|
|
29372
29372
|
"aria-label": unref(C).t("documentation.documentation_display.actions_title"),
|
|
29373
29373
|
class: "icon-button",
|
|
@@ -29383,31 +29383,31 @@ const executeQueue = async () => {
|
|
|
29383
29383
|
}, 8, ["text"])
|
|
29384
29384
|
]),
|
|
29385
29385
|
items: withCtx(() => [
|
|
29386
|
-
J.value ? (openBlock(), createBlock(
|
|
29386
|
+
J.value ? (openBlock(), createBlock(cA, {
|
|
29387
29387
|
key: 0,
|
|
29388
29388
|
"data-testid": "document-edit-button",
|
|
29389
|
-
onClick:
|
|
29389
|
+
onClick: V
|
|
29390
29390
|
}, {
|
|
29391
29391
|
default: withCtx(() => [
|
|
29392
29392
|
createTextVNode(toDisplayString(unref(C).t("documentation.documentation_display.edit_markdown_button")), 1)
|
|
29393
29393
|
]),
|
|
29394
29394
|
_: 2
|
|
29395
29395
|
}, 1032, ["onClick"])) : createCommentVNode("", !0),
|
|
29396
|
-
J.value ? (openBlock(), createBlock(
|
|
29396
|
+
J.value ? (openBlock(), createBlock(cA, {
|
|
29397
29397
|
key: 1,
|
|
29398
29398
|
"data-testid": "document-settings-button",
|
|
29399
|
-
onClick: j[2] || (j[2] = (
|
|
29399
|
+
onClick: j[2] || (j[2] = (AA) => E("edit"))
|
|
29400
29400
|
}, {
|
|
29401
29401
|
default: withCtx(() => [
|
|
29402
29402
|
createTextVNode(toDisplayString(unref(C).t("documentation.documentation_display.edit_info_button")), 1)
|
|
29403
29403
|
]),
|
|
29404
29404
|
_: 1
|
|
29405
29405
|
})) : createCommentVNode("", !0),
|
|
29406
|
-
A.selectedDocument.markdown ? (openBlock(), createBlock(
|
|
29406
|
+
A.selectedDocument.markdown ? (openBlock(), createBlock(cA, {
|
|
29407
29407
|
key: 2,
|
|
29408
29408
|
"data-testid": "document-download-button",
|
|
29409
29409
|
"has-divider": J.value,
|
|
29410
|
-
onClick: (
|
|
29410
|
+
onClick: (AA) => L(oA)
|
|
29411
29411
|
}, {
|
|
29412
29412
|
default: withCtx(() => [
|
|
29413
29413
|
createTextVNode(toDisplayString(unref(C).t("documentation.documentation_display.download_button")), 1)
|
|
@@ -29535,21 +29535,21 @@ const executeQueue = async () => {
|
|
|
29535
29535
|
var W;
|
|
29536
29536
|
return m.urlSlug !== "" && !((W = m.urlSlug) != null && W.match(y));
|
|
29537
29537
|
}), M = computed(() => {
|
|
29538
|
-
var
|
|
29539
|
-
let W = (
|
|
29540
|
-
var
|
|
29541
|
-
return
|
|
29542
|
-
}).map((
|
|
29543
|
-
label:
|
|
29544
|
-
value:
|
|
29538
|
+
var CA;
|
|
29539
|
+
let W = (CA = B.documents) == null ? void 0 : CA.filter((QA) => {
|
|
29540
|
+
var EA;
|
|
29541
|
+
return QA.record.id !== ((EA = B.record) == null ? void 0 : EA.id) && !QA.record.parent_document_id;
|
|
29542
|
+
}).map((QA) => ({
|
|
29543
|
+
label: QA.record.title,
|
|
29544
|
+
value: QA.record.id,
|
|
29545
29545
|
selected: !1
|
|
29546
29546
|
}));
|
|
29547
29547
|
W || (W = []);
|
|
29548
|
-
const
|
|
29548
|
+
const aA = cloneDeep(W.length);
|
|
29549
29549
|
return W.push({
|
|
29550
29550
|
label: C.t("documentation.form_modal.parent_document_select_option_none"),
|
|
29551
29551
|
value: "none",
|
|
29552
|
-
selected: !
|
|
29552
|
+
selected: !aA
|
|
29553
29553
|
}), W;
|
|
29554
29554
|
}), L = computed(() => !B.editing && !Y.value || !m.pageName || k.value), F = computed(() => B.editing ? C.t("documentation.form_modal.edit_title") : C.t("documentation.form_modal.create_title")), x = computed(() => B.editing ? C.t("documentation.form_modal.replace_file_button_text") : C.t("documentation.form_modal.filename_button_text")), H = computed(() => D.value === "published" ? C.t("documentation.common.published") : C.t("documentation.common.unpublished")), Y = ref(null), U = (W) => {
|
|
29555
29555
|
Y.value = W == null ? void 0 : W[0], m.fileName = w.value, m.pageName = m.pageName ? m.pageName : w.value, m.urlSlug = m.urlSlug ? m.urlSlug : w.value;
|
|
@@ -29560,19 +29560,19 @@ const executeQueue = async () => {
|
|
|
29560
29560
|
}, O = () => {
|
|
29561
29561
|
E("save", Object.assign(m, { status: D.value }), Y);
|
|
29562
29562
|
}, j = () => {
|
|
29563
|
-
var W,
|
|
29563
|
+
var W, aA, CA, QA, EA;
|
|
29564
29564
|
if (Y.value = null, B.editing && ((W = B.record) != null && W.document)) {
|
|
29565
|
-
const
|
|
29566
|
-
m.fileName = ((
|
|
29565
|
+
const cA = cloneDeep(B.record), pA = cA.status || B.record.document.status || h.value;
|
|
29566
|
+
m.fileName = ((aA = cA.document.file) == null ? void 0 : aA.filename) || ((QA = (CA = cA.document.revision) == null ? void 0 : CA.file) == null ? void 0 : QA.filename), m.pageName = cA.document.title || ((EA = cA.document.revision) == null ? void 0 : EA.title), m.urlSlug = cA.document.slug, m.parent = cA.document.parent_document_id, m.status = pA, h.value = pA === "published";
|
|
29567
29567
|
} else
|
|
29568
29568
|
m.fileName = "", m.pageName = "", m.urlSlug = "", m.parent = "", m.status = "";
|
|
29569
29569
|
};
|
|
29570
29570
|
return onMounted(() => {
|
|
29571
29571
|
j();
|
|
29572
|
-
}), (W,
|
|
29573
|
-
const
|
|
29572
|
+
}), (W, aA) => {
|
|
29573
|
+
const CA = resolveComponent("KExternalLink"), QA = resolveComponent("KAlert"), EA = resolveComponent("KFileUpload"), cA = resolveComponent("KInput"), pA = resolveComponent("KLabel"), oA = resolveComponent("KInputSwitch"), V = resolveComponent("KSelect"), AA = resolveComponent("KButton"), nA = resolveComponent("KModal");
|
|
29574
29574
|
return openBlock(), createBlock(Teleport, { to: "#kong-ui-app-layout-teleport-default-slot" }, [
|
|
29575
|
-
createVNode(
|
|
29575
|
+
createVNode(nA, {
|
|
29576
29576
|
class: "edit-document-modal",
|
|
29577
29577
|
"data-testid": "edit-document-modal",
|
|
29578
29578
|
"max-width": "750px",
|
|
@@ -29586,7 +29586,7 @@ const executeQueue = async () => {
|
|
|
29586
29586
|
createElementVNode("div", _hoisted_2$1, [
|
|
29587
29587
|
createTextVNode(toDisplayString(unref(C).t("documentation.form_modal.subtitle")) + " ", 1),
|
|
29588
29588
|
_hoisted_3$1,
|
|
29589
|
-
createVNode(
|
|
29589
|
+
createVNode(CA, {
|
|
29590
29590
|
class: "doc-link",
|
|
29591
29591
|
href: unref(externalLinks).serviceDocumentationDocs
|
|
29592
29592
|
}, {
|
|
@@ -29599,20 +29599,20 @@ const executeQueue = async () => {
|
|
|
29599
29599
|
])
|
|
29600
29600
|
]),
|
|
29601
29601
|
default: withCtx(() => [
|
|
29602
|
-
A.errorMessage ? (openBlock(), createBlock(
|
|
29602
|
+
A.errorMessage ? (openBlock(), createBlock(QA, {
|
|
29603
29603
|
key: 0,
|
|
29604
29604
|
appearance: "danger",
|
|
29605
29605
|
class: "bottom-spacing",
|
|
29606
29606
|
message: A.errorMessage
|
|
29607
29607
|
}, null, 8, ["message"])) : createCommentVNode("", !0),
|
|
29608
|
-
A.editing ? (openBlock(), createBlock(
|
|
29608
|
+
A.editing ? (openBlock(), createBlock(QA, {
|
|
29609
29609
|
key: 1,
|
|
29610
29610
|
appearance: "info",
|
|
29611
29611
|
class: "bottom-spacing",
|
|
29612
29612
|
message: unref(C).t("documentation.form_modal.edit_markdown"),
|
|
29613
29613
|
"show-icon": ""
|
|
29614
29614
|
}, null, 8, ["message"])) : createCommentVNode("", !0),
|
|
29615
|
-
createVNode(
|
|
29615
|
+
createVNode(EA, {
|
|
29616
29616
|
accept: [".md", ".markdown"],
|
|
29617
29617
|
"button-text": x.value,
|
|
29618
29618
|
class: "document-file-upload",
|
|
@@ -29625,9 +29625,9 @@ const executeQueue = async () => {
|
|
|
29625
29625
|
}, null, 8, ["accept", "button-text", "label", "label-attributes", "placeholder"]),
|
|
29626
29626
|
createElementVNode("div", _hoisted_4, [
|
|
29627
29627
|
createElementVNode("div", _hoisted_5, [
|
|
29628
|
-
createVNode(
|
|
29628
|
+
createVNode(cA, {
|
|
29629
29629
|
modelValue: m.pageName,
|
|
29630
|
-
"onUpdate:modelValue":
|
|
29630
|
+
"onUpdate:modelValue": aA[0] || (aA[0] = (eA) => m.pageName = eA),
|
|
29631
29631
|
modelModifiers: { trim: !0 },
|
|
29632
29632
|
"data-testid": "documentation-page-name",
|
|
29633
29633
|
label: unref(C).t("documentation.form_modal.title_label"),
|
|
@@ -29636,9 +29636,9 @@ const executeQueue = async () => {
|
|
|
29636
29636
|
}, null, 8, ["modelValue", "label", "placeholder"])
|
|
29637
29637
|
]),
|
|
29638
29638
|
createElementVNode("div", _hoisted_6, [
|
|
29639
|
-
createVNode(
|
|
29639
|
+
createVNode(cA, {
|
|
29640
29640
|
modelValue: m.urlSlug,
|
|
29641
|
-
"onUpdate:modelValue":
|
|
29641
|
+
"onUpdate:modelValue": aA[1] || (aA[1] = (eA) => m.urlSlug = eA),
|
|
29642
29642
|
modelModifiers: { trim: !0 },
|
|
29643
29643
|
"data-testid": "documentation-url-slug",
|
|
29644
29644
|
"error-message": unref(C).t("documentation.form_modal.slug_error"),
|
|
@@ -29652,23 +29652,23 @@ const executeQueue = async () => {
|
|
|
29652
29652
|
]),
|
|
29653
29653
|
A.hidePublishToggle ? createCommentVNode("", !0) : (openBlock(), createElementBlock("div", _hoisted_7, [
|
|
29654
29654
|
createElementVNode("div", null, [
|
|
29655
|
-
createVNode(
|
|
29655
|
+
createVNode(pA, null, {
|
|
29656
29656
|
default: withCtx(() => [
|
|
29657
29657
|
createTextVNode(toDisplayString(unref(C).t("documentation.form_modal.status_label")), 1)
|
|
29658
29658
|
]),
|
|
29659
29659
|
_: 1
|
|
29660
29660
|
})
|
|
29661
29661
|
]),
|
|
29662
|
-
createVNode(
|
|
29662
|
+
createVNode(oA, {
|
|
29663
29663
|
modelValue: h.value,
|
|
29664
|
-
"onUpdate:modelValue":
|
|
29664
|
+
"onUpdate:modelValue": aA[2] || (aA[2] = (eA) => h.value = eA),
|
|
29665
29665
|
"data-testid": "documentation-status",
|
|
29666
29666
|
label: H.value
|
|
29667
29667
|
}, null, 8, ["modelValue", "label"])
|
|
29668
29668
|
])),
|
|
29669
|
-
createVNode(
|
|
29669
|
+
createVNode(V, {
|
|
29670
29670
|
modelValue: m.parent,
|
|
29671
|
-
"onUpdate:modelValue":
|
|
29671
|
+
"onUpdate:modelValue": aA[3] || (aA[3] = (eA) => m.parent = eA),
|
|
29672
29672
|
class: "document-parent-select",
|
|
29673
29673
|
"data-testid": "documentation-parent",
|
|
29674
29674
|
"enable-filtering": "",
|
|
@@ -29678,13 +29678,13 @@ const executeQueue = async () => {
|
|
|
29678
29678
|
}, null, 8, ["modelValue", "items", "label"])
|
|
29679
29679
|
]),
|
|
29680
29680
|
footer: withCtx(() => [
|
|
29681
|
-
A.editing ? (openBlock(), createBlock(
|
|
29681
|
+
A.editing ? (openBlock(), createBlock(AA, {
|
|
29682
29682
|
key: 0,
|
|
29683
29683
|
appearance: "danger",
|
|
29684
29684
|
class: "edit-documentation-delete-button",
|
|
29685
29685
|
"data-testid": "edit-documentation-delete-button",
|
|
29686
29686
|
disabled: A.actionPending,
|
|
29687
|
-
onClick:
|
|
29687
|
+
onClick: aA[4] || (aA[4] = (eA) => E("delete"))
|
|
29688
29688
|
}, {
|
|
29689
29689
|
default: withCtx(() => [
|
|
29690
29690
|
A.actionPending ? (openBlock(), createBlock(unref(cd), { key: 0 })) : createCommentVNode("", !0),
|
|
@@ -29693,7 +29693,7 @@ const executeQueue = async () => {
|
|
|
29693
29693
|
_: 1
|
|
29694
29694
|
}, 8, ["disabled"])) : createCommentVNode("", !0),
|
|
29695
29695
|
createElementVNode("div", _hoisted_8, [
|
|
29696
|
-
createVNode(
|
|
29696
|
+
createVNode(AA, {
|
|
29697
29697
|
appearance: "tertiary",
|
|
29698
29698
|
class: "edit-documentation-cancel-button",
|
|
29699
29699
|
"data-testid": "edit-documentation-cancel-button",
|
|
@@ -29704,7 +29704,7 @@ const executeQueue = async () => {
|
|
|
29704
29704
|
]),
|
|
29705
29705
|
_: 1
|
|
29706
29706
|
}),
|
|
29707
|
-
createVNode(
|
|
29707
|
+
createVNode(AA, {
|
|
29708
29708
|
appearance: "primary",
|
|
29709
29709
|
"data-testid": "edit-documentation-save-button",
|
|
29710
29710
|
disabled: A.actionPending || L.value,
|