@my-life-buddies/cli 0.24.1 → 0.25.0
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/README.md +5 -1
- package/dist/bin/buddy.js +5 -2
- package/dist/bin/buddy.js.map +2 -2
- package/dist/bin/core.js +4 -2
- package/dist/bin/core.js.map +2 -2
- package/dist/bin/preview.js +535 -26
- package/dist/bin/preview.js.map +4 -4
- package/dist/web/app.css +34 -0
- package/dist/web/app.js +30 -7
- package/dist/web/chat-markdown.js +181 -0
- package/dist/web/diagnostics.js +14 -5
- package/dist/web/index.html +27 -0
- package/dist/web/tool-inventory.js +94 -0
- package/package.json +5 -4
package/dist/web/app.css
CHANGED
|
@@ -403,6 +403,11 @@
|
|
|
403
403
|
.message-row[data-role="user"] .message-content { max-width: 75%; }
|
|
404
404
|
.message-bubble { padding: 2.6506cqw 3.8554cqw; border-radius: 3.8554cqw; background: var(--color-phone-surface); color: var(--color-phone-ink); white-space: pre-wrap; word-break: break-word; font-size: 3.3735cqw; line-height: 1.5; }
|
|
405
405
|
.message-row[data-role="user"] .message-bubble { background: var(--color-phone-ink); color: var(--color-phone-paper); }
|
|
406
|
+
.message-bubble strong { font-weight: 700; }
|
|
407
|
+
.message-bubble em { font-style: italic; }
|
|
408
|
+
.message-bubble s { text-decoration: line-through; }
|
|
409
|
+
.message-bubble code { padding: 0.1em 0.25em; border-radius: 0.25em; background: color-mix(in srgb, currentColor 8%, transparent); font-family: var(--font-mono); font-size: 0.9em; }
|
|
410
|
+
.message-bubble a[href] { color: inherit; text-decoration: underline; text-underline-offset: 0.15em; }
|
|
406
411
|
.message-avatar { width: 7.7108cqw; height: 7.7108cqw; display: grid; flex: none; place-items: center; border-radius: 50%; background: color-mix(in oklch, var(--color-phone-accent) 9%, var(--color-phone-surface)); color: color-mix(in oklch, var(--color-phone-ink) 64%, var(--color-phone-muted)); font-size: 2.4096cqw; font-weight: 700; }
|
|
407
412
|
.replying-indicator { display: inline-flex; align-items: center; gap: 0.9639cqw; min-height: 4.3373cqw; padding: 2.1687cqw 3.3735cqw; border-radius: 3.8554cqw; background: var(--color-phone-surface); }
|
|
408
413
|
.replying-indicator i { width: 1.4458cqw; height: 1.4458cqw; border-radius: 50%; background: color-mix(in oklch, var(--color-phone-ink) 65%, var(--color-phone-paper)); animation: breathe 1.1s var(--ease-in-out) infinite; }
|
|
@@ -722,3 +727,32 @@ body[data-hosted-preview] .pairing-panel { top:80px; }
|
|
|
722
727
|
|
|
723
728
|
body[data-hosted-preview] #disconnect-message { color:var(--color-ink); font-weight:600; margin-bottom:8px; }
|
|
724
729
|
body[data-hosted-preview] #copy-stop-command { margin:8px 0; }
|
|
730
|
+
|
|
731
|
+
/* Project inspection augments the existing workbench; simulator styles stay unchanged. */
|
|
732
|
+
.inventory-read-state { color:var(--color-muted); font-size:11px; white-space:nowrap; }
|
|
733
|
+
#tools-total { color:var(--color-muted); font-size:11px; margin-left:8px; font-weight:400; }
|
|
734
|
+
.inventory-notice { margin:0 0 18px; padding:10px 12px; border:1px solid var(--color-rule); border-radius:6px; color:var(--color-muted); font-size:12px; line-height:1.8; }
|
|
735
|
+
.inventory-tool { border-bottom:1px solid var(--color-rule); }
|
|
736
|
+
.inventory-tool > summary { padding:16px 20px 16px 0; position:relative; cursor:pointer; list-style:none; }
|
|
737
|
+
.inventory-tool > summary::-webkit-details-marker { display:none; }
|
|
738
|
+
.inventory-tool > summary::after { content:""; position:absolute; right:4px; top:23px; width:5px; height:5px; border-right:1px solid var(--color-muted); border-bottom:1px solid var(--color-muted); transform:rotate(-45deg); }
|
|
739
|
+
.inventory-tool[open] > summary::after { transform:rotate(45deg); }
|
|
740
|
+
.inventory-tool-title { display:flex; gap:10px; align-items:baseline; flex-wrap:wrap; }
|
|
741
|
+
.inventory-tool-title strong { font:500 13px var(--font-mono); overflow-wrap:anywhere; }
|
|
742
|
+
.inventory-origin { color:var(--color-muted); font-size:10px; }
|
|
743
|
+
.inventory-tool > summary > p { color:var(--color-muted); font-size:12px; line-height:1.8; margin:7px 0 0; }
|
|
744
|
+
.inventory-tool-body { padding:0 0 18px; }
|
|
745
|
+
.inventory-tool-body h4 { font-size:12px; font-weight:600; margin:0 0 10px; }
|
|
746
|
+
.inventory-parameters { width:100%; table-layout:fixed; border-collapse:collapse; margin-bottom:16px; font-size:11px; line-height:1.8; }
|
|
747
|
+
.inventory-parameters :is(th,td) { text-align:left; vertical-align:top; padding:8px; border-bottom:1px solid var(--color-rule); overflow-wrap:anywhere; }
|
|
748
|
+
.inventory-parameters th { color:var(--color-muted); font-weight:500; }
|
|
749
|
+
.inventory-parameters th:first-child { width:30%; }.inventory-parameters th:nth-child(2) { width:20%; }
|
|
750
|
+
.inventory-model-note { margin:6px 0 0; font-size:11px; color:var(--color-muted); }
|
|
751
|
+
.inventory-unresolved { padding:16px 0; color:var(--color-muted); border-bottom:1px solid var(--color-rule); font-size:12px; line-height:1.8; }
|
|
752
|
+
.inventory-unresolved strong { font-weight:500; }.inventory-unresolved p { margin:6px 0 0; }
|
|
753
|
+
@media (max-width:900px) {
|
|
754
|
+
body[data-hosted-preview] .connection-toolbar { flex-wrap:wrap; }
|
|
755
|
+
body[data-hosted-preview] .connection-project { flex-basis:100%; }
|
|
756
|
+
body[data-hosted-preview] .connection-project strong { max-width:100%; }
|
|
757
|
+
body[data-hosted-preview] .connection-details { margin-left:auto; }
|
|
758
|
+
}
|
package/dist/web/app.js
CHANGED
|
@@ -245,7 +245,8 @@
|
|
|
245
245
|
const note = document.querySelector(".preview-note");
|
|
246
246
|
if (note) note.textContent = buddy ? (buddy.isDev ? "开发预览版 · 仅你可见" : "搭搭 App") : "搭搭 App · DEV";
|
|
247
247
|
elements.environmentRuntime.textContent = "Node.js · Buddy Runtime";
|
|
248
|
-
elements.environmentModel.textContent = state.project.model || "
|
|
248
|
+
if (!toolInventory) elements.environmentModel.textContent = state.project.model || "未读取";
|
|
249
|
+
renderToolInventory();
|
|
249
250
|
}
|
|
250
251
|
|
|
251
252
|
let pairingRevision = -1;
|
|
@@ -254,6 +255,7 @@
|
|
|
254
255
|
function renderDev() {
|
|
255
256
|
const phase = connectionReady ? (devAction === "start" ? "starting" : devAction === "stop" ? "stopping" : state.dev.phase) : "disconnected";
|
|
256
257
|
renderWorkbench();
|
|
258
|
+
renderToolInventory();
|
|
257
259
|
if (!elements.pairingPanel.hidden && pairingRevision !== state.dev.revision) void togglePairing(true);
|
|
258
260
|
elements.connectionState.dataset.phase = phase;
|
|
259
261
|
elements.connectionLabel.textContent = phase === "disconnected" ? "未连接本地工程" : phaseCopy(phase);
|
|
@@ -491,7 +493,7 @@
|
|
|
491
493
|
elements.timelineList.append(node("li", { class: "timeline-empty" }, run ? "这个本地回合暂无可见事件。" : "发一条消息后,执行事件会出现在这里。"));
|
|
492
494
|
return;
|
|
493
495
|
}
|
|
494
|
-
for (const event of [...events].
|
|
496
|
+
for (const event of [...events].sort((a, b) => (Date.parse(b.timestamp) || 0) - (Date.parse(a.timestamp) || 0))) {
|
|
495
497
|
const item = node("li", { class: "timeline-item" });
|
|
496
498
|
item.append(node("time", { class: "timeline-time", dateTime: event.timestamp }, formatTime(event.timestamp)));
|
|
497
499
|
item.append(node("span", { class: "timeline-dot", "aria-hidden": "true" }));
|
|
@@ -514,7 +516,7 @@
|
|
|
514
516
|
elements.contextList.append(node("p", { class: "timeline-empty" }, "当前会话还没有消息。"));
|
|
515
517
|
return;
|
|
516
518
|
}
|
|
517
|
-
for (const message of messages) {
|
|
519
|
+
for (const message of [...messages].reverse().sort((a, b) => (Date.parse(b.createdAt) || 0) - (Date.parse(a.createdAt) || 0))) {
|
|
518
520
|
const row = node("article", { class: "context-row", "data-role": message.role });
|
|
519
521
|
row.append(node("span", { class: "context-role" }, message.role === "user" ? "用户" : message.role === "assistant" ? "搭子" : message.role));
|
|
520
522
|
row.append(node("p", { class: "context-text" }, message.text));
|
|
@@ -534,7 +536,7 @@
|
|
|
534
536
|
elements.protocolLog.append(node("p", { class: "timeline-empty" }, "本机还没有协议事件。"));
|
|
535
537
|
return;
|
|
536
538
|
}
|
|
537
|
-
for (const [index, event] of events.entries()) {
|
|
539
|
+
for (const [index, event] of [...events].sort((a, b) => (Date.parse(b.timestamp) || 0) - (Date.parse(a.timestamp) || 0)).entries()) {
|
|
538
540
|
if (hosted) {
|
|
539
541
|
const key = event.eventId || `${event.timestamp}:${event.type}:${index}`;
|
|
540
542
|
const row = node("details", { class: "protocol-entry" });
|
|
@@ -570,6 +572,9 @@
|
|
|
570
572
|
let messageSignature = "";
|
|
571
573
|
let followMessages = true;
|
|
572
574
|
let liveReply, liveReplyBubble, liveReplyText = "";
|
|
575
|
+
function renderMessageText(bubble, text) {
|
|
576
|
+
window.renderPreviewMarkdown(bubble, text);
|
|
577
|
+
}
|
|
573
578
|
function renderLiveReply() {
|
|
574
579
|
if (!liveReply) return;
|
|
575
580
|
const text = state.simulator.streaming?.runId === state.simulator.activeRun?.runId ? state.simulator.streaming?.text || "" : "";
|
|
@@ -579,9 +584,9 @@
|
|
|
579
584
|
if (!liveReplyBubble) {
|
|
580
585
|
clear(liveReply);
|
|
581
586
|
liveReplyBubble = node("div", { class: "message-bubble", "aria-label": "搭子正在回复" });
|
|
582
|
-
liveReplyBubble.append(document.createTextNode(text));
|
|
583
587
|
liveReply.append(liveReplyBubble);
|
|
584
|
-
}
|
|
588
|
+
}
|
|
589
|
+
renderMessageText(liveReplyBubble, text);
|
|
585
590
|
}
|
|
586
591
|
else {
|
|
587
592
|
clear(liveReply); liveReplyBubble = undefined;
|
|
@@ -618,7 +623,12 @@
|
|
|
618
623
|
}
|
|
619
624
|
const row = node("div", { class: "message-row", "data-role": message.role });
|
|
620
625
|
const wrap = node("div", { class: "message-content" });
|
|
621
|
-
|
|
626
|
+
if (message.widget && widgets) wrap.append(widgets.card(message.widget, message.messageId));
|
|
627
|
+
else {
|
|
628
|
+
const bubble = node("div", { class: "message-bubble" });
|
|
629
|
+
renderMessageText(bubble, message.text);
|
|
630
|
+
wrap.append(bubble);
|
|
631
|
+
}
|
|
622
632
|
if (message.role === "user") row.append(wrap);
|
|
623
633
|
else row.append(messageAvatar("assistant"), wrap);
|
|
624
634
|
elements.chatMessages.append(row);
|
|
@@ -776,6 +786,16 @@
|
|
|
776
786
|
}
|
|
777
787
|
}
|
|
778
788
|
|
|
789
|
+
const toolInventory = window.createPreviewToolInventory?.({ node });
|
|
790
|
+
function renderToolInventory() {
|
|
791
|
+
toolInventory?.update({
|
|
792
|
+
inspection: state.dev.inspection ?? state.project?.inspection,
|
|
793
|
+
fallbackModel: state.project?.model,
|
|
794
|
+
connected: connectionReady,
|
|
795
|
+
buddyId: state.project?.buddyId,
|
|
796
|
+
});
|
|
797
|
+
}
|
|
798
|
+
|
|
779
799
|
async function togglePairing(force) {
|
|
780
800
|
const requestId = ++pairingRequest;
|
|
781
801
|
pairingRevision = state.dev.revision;
|
|
@@ -1067,6 +1087,9 @@
|
|
|
1067
1087
|
const statusTimer = window.setInterval(() => void refreshConnection(), 2000);
|
|
1068
1088
|
const devTimer = window.setInterval(() => void pollHostedDev(), 1200);
|
|
1069
1089
|
window.addEventListener("pagehide", () => { window.clearInterval(statusTimer); window.clearInterval(devTimer); window.clearInterval(state.polling); });
|
|
1090
|
+
} else {
|
|
1091
|
+
const inspectionTimer = window.setInterval(() => void pollHostedDev(), 2000);
|
|
1092
|
+
window.addEventListener("pagehide", () => window.clearInterval(inspectionTimer));
|
|
1070
1093
|
}
|
|
1071
1094
|
|
|
1072
1095
|
elements.resetConversation.addEventListener("click", () => void resetConversation());
|
|
@@ -0,0 +1,181 @@
|
|
|
1
|
+
/*! Generated by scripts/build-preview-web.mjs.
|
|
2
|
+
markdown-it
|
|
3
|
+
Copyright (c) 2014 Vitaly Puzrin, Alex Kocharin.
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person
|
|
6
|
+
obtaining a copy of this software and associated documentation
|
|
7
|
+
files (the "Software"), to deal in the Software without
|
|
8
|
+
restriction, including without limitation the rights to use,
|
|
9
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the
|
|
11
|
+
Software is furnished to do so, subject to the following
|
|
12
|
+
conditions:
|
|
13
|
+
|
|
14
|
+
The above copyright notice and this permission notice shall be
|
|
15
|
+
included in all copies or substantial portions of the Software.
|
|
16
|
+
|
|
17
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
18
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
19
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
20
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
21
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
22
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
23
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
24
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
entities
|
|
28
|
+
Copyright (c) Felix Böhm
|
|
29
|
+
All rights reserved.
|
|
30
|
+
|
|
31
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
32
|
+
|
|
33
|
+
Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
34
|
+
|
|
35
|
+
Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
36
|
+
|
|
37
|
+
THIS IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS,
|
|
38
|
+
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
linkify-it
|
|
42
|
+
Copyright (c) 2015 Vitaly Puzrin.
|
|
43
|
+
|
|
44
|
+
Permission is hereby granted, free of charge, to any person
|
|
45
|
+
obtaining a copy of this software and associated documentation
|
|
46
|
+
files (the "Software"), to deal in the Software without
|
|
47
|
+
restriction, including without limitation the rights to use,
|
|
48
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
49
|
+
copies of the Software, and to permit persons to whom the
|
|
50
|
+
Software is furnished to do so, subject to the following
|
|
51
|
+
conditions:
|
|
52
|
+
|
|
53
|
+
The above copyright notice and this permission notice shall be
|
|
54
|
+
included in all copies or substantial portions of the Software.
|
|
55
|
+
|
|
56
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
57
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
58
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
59
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
60
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
61
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
62
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
63
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
mdurl
|
|
67
|
+
Copyright (c) 2015 Vitaly Puzrin, Alex Kocharin.
|
|
68
|
+
|
|
69
|
+
Permission is hereby granted, free of charge, to any person
|
|
70
|
+
obtaining a copy of this software and associated documentation
|
|
71
|
+
files (the "Software"), to deal in the Software without
|
|
72
|
+
restriction, including without limitation the rights to use,
|
|
73
|
+
copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
74
|
+
copies of the Software, and to permit persons to whom the
|
|
75
|
+
Software is furnished to do so, subject to the following
|
|
76
|
+
conditions:
|
|
77
|
+
|
|
78
|
+
The above copyright notice and this permission notice shall be
|
|
79
|
+
included in all copies or substantial portions of the Software.
|
|
80
|
+
|
|
81
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
82
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
|
|
83
|
+
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
84
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
|
|
85
|
+
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
|
86
|
+
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
87
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
|
88
|
+
OTHER DEALINGS IN THE SOFTWARE.
|
|
89
|
+
|
|
90
|
+
--------------------------------------------------------------------------------
|
|
91
|
+
|
|
92
|
+
.parse() is based on Joyent's node.js `url` code:
|
|
93
|
+
|
|
94
|
+
Copyright Joyent, Inc. and other Node contributors. All rights reserved.
|
|
95
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
96
|
+
of this software and associated documentation files (the "Software"), to
|
|
97
|
+
deal in the Software without restriction, including without limitation the
|
|
98
|
+
rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
|
|
99
|
+
sell copies of the Software, and to permit persons to whom the Software is
|
|
100
|
+
furnished to do so, subject to the following conditions:
|
|
101
|
+
|
|
102
|
+
The above copyright notice and this permission notice shall be included in
|
|
103
|
+
all copies or substantial portions of the Software.
|
|
104
|
+
|
|
105
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
106
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
107
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
108
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
109
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
110
|
+
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
|
|
111
|
+
IN THE SOFTWARE.
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
punycode.js
|
|
115
|
+
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
116
|
+
|
|
117
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
118
|
+
a copy of this software and associated documentation files (the
|
|
119
|
+
"Software"), to deal in the Software without restriction, including
|
|
120
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
121
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
122
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
123
|
+
the following conditions:
|
|
124
|
+
|
|
125
|
+
The above copyright notice and this permission notice shall be
|
|
126
|
+
included in all copies or substantial portions of the Software.
|
|
127
|
+
|
|
128
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
129
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
130
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
131
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
132
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
133
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
134
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
uc.micro
|
|
138
|
+
Copyright Mathias Bynens <https://mathiasbynens.be/>
|
|
139
|
+
|
|
140
|
+
Permission is hereby granted, free of charge, to any person obtaining
|
|
141
|
+
a copy of this software and associated documentation files (the
|
|
142
|
+
"Software"), to deal in the Software without restriction, including
|
|
143
|
+
without limitation the rights to use, copy, modify, merge, publish,
|
|
144
|
+
distribute, sublicense, and/or sell copies of the Software, and to
|
|
145
|
+
permit persons to whom the Software is furnished to do so, subject to
|
|
146
|
+
the following conditions:
|
|
147
|
+
|
|
148
|
+
The above copyright notice and this permission notice shall be
|
|
149
|
+
included in all copies or substantial portions of the Software.
|
|
150
|
+
|
|
151
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
|
152
|
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
|
153
|
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
|
154
|
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
|
|
155
|
+
LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
|
|
156
|
+
OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
|
|
157
|
+
WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
158
|
+
|
|
159
|
+
*/
|
|
160
|
+
"use strict";(()=>{var zt=Object.defineProperty;var ye=(e,t)=>{for(var n in t)zt(e,n,{get:t[n],enumerable:!0})};var he={};ye(he,{decode:()=>X,encode:()=>P,format:()=>W,parse:()=>H});var Be={};function jt(e){let t=Be[e];if(t)return t;t=Be[e]=[];for(let n=0;n<128;n++){let i=String.fromCharCode(n);t.push(i)}for(let n=0;n<e.length;n++){let i=e.charCodeAt(n);t[i]="%"+("0"+i.toString(16).toUpperCase()).slice(-2)}return t}function ne(e,t){typeof t!="string"&&(t=ne.defaultChars);let n=jt(t);return e.replace(/(%[a-f0-9]{2})+/gi,function(i){let r="";for(let s=0,o=i.length;s<o;s+=3){let u=parseInt(i.slice(s+1,s+3),16);if(u<128){r+=n[u];continue}if((u&224)===192&&s+3<o){let c=parseInt(i.slice(s+4,s+6),16);if((c&192)===128){let a=u<<6&1984|c&63;a<128?r+="\uFFFD\uFFFD":r+=String.fromCharCode(a),s+=3;continue}}if((u&240)===224&&s+6<o){let c=parseInt(i.slice(s+4,s+6),16),a=parseInt(i.slice(s+7,s+9),16);if((c&192)===128&&(a&192)===128){let f=u<<12&61440|c<<6&4032|a&63;f<2048||f>=55296&&f<=57343?r+="\uFFFD\uFFFD\uFFFD":r+=String.fromCharCode(f),s+=6;continue}}if((u&248)===240&&s+9<o){let c=parseInt(i.slice(s+4,s+6),16),a=parseInt(i.slice(s+7,s+9),16),f=parseInt(i.slice(s+10,s+12),16);if((c&192)===128&&(a&192)===128&&(f&192)===128){let h=u<<18&1835008|c<<12&258048|a<<6&4032|f&63;h<65536||h>1114111?r+="\uFFFD\uFFFD\uFFFD\uFFFD":(h-=65536,r+=String.fromCharCode(55296+(h>>10),56320+(h&1023))),s+=9;continue}}r+="\uFFFD"}return r})}ne.defaultChars=";/?:@&=+$,#";ne.componentChars="";var X=ne;var Te={};function Lt(e){let t=Te[e];if(t)return t;t=Te[e]=[];for(let n=0;n<128;n++){let i=String.fromCharCode(n);/^[0-9a-z]$/i.test(i)?t.push(i):t.push("%"+("0"+n.toString(16).toUpperCase()).slice(-2))}for(let n=0;n<e.length;n++)t[e.charCodeAt(n)]=e[n];return t}function re(e,t,n){typeof t!="string"&&(n=t,t=re.defaultChars),typeof n>"u"&&(n=!0);let i=Lt(t),r="";for(let s=0,o=e.length;s<o;s++){let u=e.charCodeAt(s);if(n&&u===37&&s+2<o&&/^[0-9a-f]{2}$/i.test(e.slice(s+1,s+3))){r+=e.slice(s,s+3),s+=2;continue}if(u<128){r+=i[u];continue}if(u>=55296&&u<=57343){if(u>=55296&&u<=56319&&s+1<o){let c=e.charCodeAt(s+1);if(c>=56320&&c<=57343){r+=encodeURIComponent(e[s]+e[s+1]),s++;continue}}r+="%EF%BF%BD";continue}r+=encodeURIComponent(e[s])}return r}re.defaultChars=";/?:@&=+$,-_.!~*'()#";re.componentChars="-_.!~*'()";var P=re;function W(e){let t="";return t+=e.protocol||"",t+=e.slashes?"//":"",t+=e.auth?e.auth+"@":"",e.hostname&&e.hostname.indexOf(":")!==-1?t+="["+e.hostname+"]":t+=e.hostname||"",t+=e.port?":"+e.port:"",t+=e.pathname||"",t+=e.search||"",t+=e.hash||"",t}function ie(){this.protocol=null,this.slashes=null,this.auth=null,this.port=null,this.hostname=null,this.hash=null,this.search=null,this.pathname=null}var Jt=/^([a-z0-9.+-]+:)/i,Nt=/:[0-9]*$/,Pt=/^(\/\/?(?!\/)[^\?\s]*)(\?[^\s]*)?$/,Ot=["<",">",'"',"`"," ","\r",`
|
|
161
|
+
`," "],Ut=["{","}","|","\\","^","`"].concat(Ot),qt=["'"].concat(Ut),Ie=["%","/","?",";","#"].concat(qt),Se=["/","?","#"],Zt=255,Me=/^[+a-z0-9A-Z_-]{0,63}$/,Wt=/^([+a-z0-9A-Z_-]{0,63})(.*)$/,ze={javascript:!0,"javascript:":!0},je={http:!0,https:!0,ftp:!0,gopher:!0,file:!0,"http:":!0,"https:":!0,"ftp:":!0,"gopher:":!0,"file:":!0};function $t(e,t){if(e&&e instanceof ie)return e;let n=new ie;return n.parse(e,t),n}ie.prototype.parse=function(e,t){let n,i,r,s=e;if(s=s.trim(),!t&&e.split("#").length===1){let a=Pt.exec(s);if(a)return this.pathname=a[1],a[2]&&(this.search=a[2]),this}let o=Jt.exec(s);if(o&&(o=o[0],n=o.toLowerCase(),this.protocol=o,s=s.substr(o.length)),(t||o||s.match(/^\/\/[^@\/]+@[^@\/]+/))&&(r=s.substr(0,2)==="//",r&&!(o&&ze[o])&&(s=s.substr(2),this.slashes=!0)),!ze[o]&&(r||o&&!je[o])){let a=-1;for(let l=0;l<Se.length;l++)i=s.indexOf(Se[l]),i!==-1&&(a===-1||i<a)&&(a=i);let f,h;a===-1?h=s.lastIndexOf("@"):h=s.lastIndexOf("@",a),h!==-1&&(f=s.slice(0,h),s=s.slice(h+1),this.auth=f),a=-1;for(let l=0;l<Ie.length;l++)i=s.indexOf(Ie[l]),i!==-1&&(a===-1||i<a)&&(a=i);a===-1&&(a=s.length),s[a-1]===":"&&a--;let p=s.slice(0,a);s=s.slice(a),this.parseHost(p),this.hostname=this.hostname||"";let d=this.hostname[0]==="["&&this.hostname[this.hostname.length-1]==="]";if(!d){let l=this.hostname.split(/\./);for(let b=0,_=l.length;b<_;b++){let x=l[b];if(x&&!x.match(Me)){let C="";for(let k=0,m=x.length;k<m;k++)x.charCodeAt(k)>127?C+="x":C+=x[k];if(!C.match(Me)){let k=l.slice(0,b),m=l.slice(b+1),g=x.match(Wt);g&&(k.push(g[1]),m.unshift(g[2])),m.length&&(s=m.join(".")+s),this.hostname=k.join(".");break}}}}this.hostname.length>Zt&&(this.hostname=""),d&&(this.hostname=this.hostname.substr(1,this.hostname.length-2))}let u=s.indexOf("#");u!==-1&&(this.hash=s.substr(u),s=s.slice(0,u));let c=s.indexOf("?");return c!==-1&&(this.search=s.substr(c),s=s.slice(0,c)),s&&(this.pathname=s),je[n]&&this.hostname&&!this.pathname&&(this.pathname=""),this};ie.prototype.parseHost=function(e){let t=Nt.exec(e);t&&(t=t[0],t!==":"&&(this.port=t.substr(1)),e=e.substr(0,e.length-t.length)),e&&(this.hostname=e)};var H=$t;var _e={};ye(_e,{Any:()=>fe,Cc:()=>de,Cf:()=>Xt,P:()=>Y,S:()=>pe,Z:()=>me});var fe=/[\0-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF]/,de=/[\0-\x1F\x7F-\x9F]/,Xt=/[\xAD\u0600-\u0605\u061C\u06DD\u070F\u0890\u0891\u08E2\u180E\u200B-\u200F\u202A-\u202E\u2060-\u2064\u2066-\u206F\uFEFF\uFFF9-\uFFFB]|\uD804[\uDCBD\uDCCD]|\uD80D[\uDC30-\uDC3F]|\uD82F[\uDCA0-\uDCA3]|\uD834[\uDD73-\uDD7A]|\uDB40[\uDC01\uDC20-\uDC7F]/,Y=/[!-#%-\*,-\/:;\?@\[-\]_\{\}\xA1\xA7\xAB\xB6\xB7\xBB\xBF\u037E\u0387\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061D-\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u09FD\u0A76\u0AF0\u0C77\u0C84\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F14\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1360-\u1368\u1400\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B4E\u1B4F\u1B5A-\u1B60\u1B7D-\u1B7F\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CC0-\u1CC7\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u2308-\u230B\u2329\u232A\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30-\u2E4F\u2E52-\u2E5D\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA8FC\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uAAF0\uAAF1\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uFF3F\uFF5B\uFF5D\uFF5F-\uFF65]|\uD800[\uDD00-\uDD02\uDF9F\uDFD0]|\uD801\uDD6F|\uD802[\uDC57\uDD1F\uDD3F\uDE50-\uDE58\uDE7F\uDEF0-\uDEF6\uDF39-\uDF3F\uDF99-\uDF9C]|\uD803[\uDD6E\uDEAD\uDED0\uDF55-\uDF59\uDF86-\uDF89]|\uD804[\uDC47-\uDC4D\uDCBB\uDCBC\uDCBE-\uDCC1\uDD40-\uDD43\uDD74\uDD75\uDDC5-\uDDC8\uDDCD\uDDDB\uDDDD-\uDDDF\uDE38-\uDE3D\uDEA9\uDFD4\uDFD5\uDFD7\uDFD8]|\uD805[\uDC4B-\uDC4F\uDC5A\uDC5B\uDC5D\uDCC6\uDDC1-\uDDD7\uDE41-\uDE43\uDE60-\uDE6C\uDEB9\uDF3C-\uDF3E]|\uD806[\uDC3B\uDD44-\uDD46\uDDE2\uDE3F-\uDE46\uDE9A-\uDE9C\uDE9E-\uDEA2\uDF00-\uDF09\uDFE1]|\uD807[\uDC41-\uDC45\uDC70\uDC71\uDEF7\uDEF8\uDF43-\uDF4F\uDFFF]|\uD809[\uDC70-\uDC74]|\uD80B[\uDFF1\uDFF2]|\uD81A[\uDE6E\uDE6F\uDEF5\uDF37-\uDF3B\uDF44]|\uD81B[\uDD6D-\uDD6F\uDE97-\uDE9A\uDFE2]|\uD82F\uDC9F|\uD836[\uDE87-\uDE8B]|\uD839\uDDFF|\uD83A[\uDD5E\uDD5F]/,pe=/[\$\+<->\^`\|~\xA2-\xA6\xA8\xA9\xAC\xAE-\xB1\xB4\xB8\xD7\xF7\u02C2-\u02C5\u02D2-\u02DF\u02E5-\u02EB\u02ED\u02EF-\u02FF\u0375\u0384\u0385\u03F6\u0482\u058D-\u058F\u0606-\u0608\u060B\u060E\u060F\u06DE\u06E9\u06FD\u06FE\u07F6\u07FE\u07FF\u0888\u09F2\u09F3\u09FA\u09FB\u0AF1\u0B70\u0BF3-\u0BFA\u0C7F\u0D4F\u0D79\u0E3F\u0F01-\u0F03\u0F13\u0F15-\u0F17\u0F1A-\u0F1F\u0F34\u0F36\u0F38\u0FBE-\u0FC5\u0FC7-\u0FCC\u0FCE\u0FCF\u0FD5-\u0FD8\u109E\u109F\u1390-\u1399\u166D\u17DB\u1940\u19DE-\u19FF\u1B61-\u1B6A\u1B74-\u1B7C\u1FBD\u1FBF-\u1FC1\u1FCD-\u1FCF\u1FDD-\u1FDF\u1FED-\u1FEF\u1FFD\u1FFE\u2044\u2052\u207A-\u207C\u208A-\u208C\u20A0-\u20C1\u2100\u2101\u2103-\u2106\u2108\u2109\u2114\u2116-\u2118\u211E-\u2123\u2125\u2127\u2129\u212E\u213A\u213B\u2140-\u2144\u214A-\u214D\u214F\u218A\u218B\u2190-\u2307\u230C-\u2328\u232B-\u2429\u2440-\u244A\u249C-\u24E9\u2500-\u2767\u2794-\u27C4\u27C7-\u27E5\u27F0-\u2982\u2999-\u29D7\u29DC-\u29FB\u29FE-\u2B73\u2B76-\u2BFF\u2CE5-\u2CEA\u2E50\u2E51\u2E80-\u2E99\u2E9B-\u2EF3\u2F00-\u2FD5\u2FF0-\u2FFF\u3004\u3012\u3013\u3020\u3036\u3037\u303E\u303F\u309B\u309C\u3190\u3191\u3196-\u319F\u31C0-\u31E5\u31EF\u3200-\u321E\u322A-\u3247\u3250\u3260-\u327F\u328A-\u32B0\u32C0-\u33FF\u4DC0-\u4DFF\uA490-\uA4C6\uA700-\uA716\uA720\uA721\uA789\uA78A\uA828-\uA82B\uA836-\uA839\uAA77-\uAA79\uAB5B\uAB6A\uAB6B\uFB29\uFBB2-\uFBD2\uFD40-\uFD4F\uFD90\uFD91\uFDC8-\uFDCF\uFDFC-\uFDFF\uFE62\uFE64-\uFE66\uFE69\uFF04\uFF0B\uFF1C-\uFF1E\uFF3E\uFF40\uFF5C\uFF5E\uFFE0-\uFFE6\uFFE8-\uFFEE\uFFFC\uFFFD]|\uD800[\uDD37-\uDD3F\uDD79-\uDD89\uDD8C-\uDD8E\uDD90-\uDD9C\uDDA0\uDDD0-\uDDFC]|\uD802[\uDC77\uDC78\uDEC8]|\uD803[\uDD8E\uDD8F\uDED1-\uDED8]|\uD805\uDF3F|\uD807[\uDFD5-\uDFF1]|\uD81A[\uDF3C-\uDF3F\uDF45]|\uD82F\uDC9C|\uD833[\uDC00-\uDCEF\uDCFA-\uDCFC\uDD00-\uDEB3\uDEBA-\uDED0\uDEE0-\uDEF0\uDF50-\uDFC3]|\uD834[\uDC00-\uDCF5\uDD00-\uDD26\uDD29-\uDD64\uDD6A-\uDD6C\uDD83\uDD84\uDD8C-\uDDA9\uDDAE-\uDDEA\uDE00-\uDE41\uDE45\uDF00-\uDF56]|\uD835[\uDEC1\uDEDB\uDEFB\uDF15\uDF35\uDF4F\uDF6F\uDF89\uDFA9\uDFC3]|\uD836[\uDC00-\uDDFF\uDE37-\uDE3A\uDE6D-\uDE74\uDE76-\uDE83\uDE85\uDE86]|\uD838[\uDD4F\uDEFF]|\uD83B[\uDCAC\uDCB0\uDD2E\uDEF0\uDEF1]|\uD83C[\uDC00-\uDC2B\uDC30-\uDC93\uDCA0-\uDCAE\uDCB1-\uDCBF\uDCC1-\uDCCF\uDCD1-\uDCF5\uDD0D-\uDDAD\uDDE6-\uDE02\uDE10-\uDE3B\uDE40-\uDE48\uDE50\uDE51\uDE60-\uDE65\uDF00-\uDFFF]|\uD83D[\uDC00-\uDED8\uDEDC-\uDEEC\uDEF0-\uDEFC\uDF00-\uDFD9\uDFE0-\uDFEB\uDFF0]|\uD83E[\uDC00-\uDC0B\uDC10-\uDC47\uDC50-\uDC59\uDC60-\uDC87\uDC90-\uDCAD\uDCB0-\uDCBB\uDCC0\uDCC1\uDCD0-\uDCD8\uDD00-\uDE57\uDE60-\uDE6D\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF-\uDEF8\uDF00-\uDF92\uDF94-\uDFEF\uDFFA]/,me=/[ \xA0\u1680\u2000-\u200A\u2028\u2029\u202F\u205F\u3000]/;var Ht=[8364,0,8218,402,8222,8230,8224,8225,710,8240,352,8249,338,0,381,0,0,8216,8217,8220,8221,8226,8211,8212,732,8482,353,8250,339,0,382,376];function Yt(e){return e===0||e>=55296&&e<=57343||e>1114111}function Le(e){return Yt(e)?65533:e>=128&&e<=159&&Ht[e-128]||e}function Je(e){return e-1>>>0<127||e-160>>>0<55136?String.fromCharCode(e):String.fromCodePoint(Le(e))}var j=(()=>{let e=new Uint8Array(127),t=0;for(let n=33;n<=126;n++)n!==34&&n!==36&&n!==92&&(e[n]=t++);return e})();function Ne(e,t,n,i,r,s){let u=e.length,c=s*90,a=0,f=()=>{let v=j[e.charCodeAt(a++)];return v<s?v:v*91-c+j[e.charCodeAt(a++)]},h=n-i,p=n+r,d=new Int32Array(p);d.fill(-1,i,s),d.fill(-1,s+h,p);let l=new Int32Array(p),b=new Int32Array(p);function _(v,y){let A=0,B=y,M=y+v;for(;B<M;){let z=j[e.charCodeAt(a++)];if(z<89)A+=z,d[B++]=A;else if(z===89){let S=j[e.charCodeAt(a++)]+2;for(;S--;)d[B++]=++A}else{let S=j[e.charCodeAt(a++)];A+=89+(S<90?S*91+j[e.charCodeAt(a++)]:j[e.charCodeAt(a++)]*8281+j[e.charCodeAt(a++)]*91+j[e.charCodeAt(a++)]),d[B++]=A}}}_(i,0),_(h,s);let x=new Int32Array(r*2),C=0,k=0;function m(v,y){for(let A=0;A<v;A++){let B=y+A,M=f(),z=f();x[k*2]=M,x[k*2+1]=z,k+=1,l[B]=C;let S=(d[M]<0?b[M]:1)+(d[z]<0?b[z]:1);b[B]=S,C+=S}}m(r-s+i,s+h),m(s-i,i);let g=new Uint16Array(C),D=0;for(let v=0;v<k;v++)for(let y=0;y<2;y++){let A=x[v*2+y],B=d[A];if(B<0){let M=l[A],z=M+b[A];for(;M<z;)g[D++]=g[M++]}else g[D++]=B}let w=new Uint16Array(t),F=0;for(;a<u;){let v=j[e.charCodeAt(a++)];v>=s&&(v=v*91-c+j[e.charCodeAt(a++)]);let y=d[v];if(y<0){let A=l[v],B=A+b[v];for(;A<B;)w[F++]=g[A++]}else w[F++]=y}return w}var Pe=Ne("!}.&u%}'&}*'~!6*)%&,~!J~!J~%L~y<~!R,~~%Lu~~#GD~~#|)1#%}^%}2%+#.##%##%}&%##%'#%##&%#%#'%#&#%#&#'#%%#&#%##%#)%''%&%#%#'%#%%#%%}%%%#%#&(23#%%#&-%0%('1#(##%#'##+%'*.:1}#%#6-+(%'%%#%%%}#L'2351&('%}&/N'(0(/*-%(%%}#'+&T%7.2}#&%&#%#36/5##%&%%#&#%%#))2%%##%&&'0~!#*+&'%1~!%).'3q?&%'1~!.##%6(~!+%%%(Gw'rT~!E#<nA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})(T||(T={}));var I;(function(e){e[e.AMP=38]="AMP",e[e.NUM=35]="NUM",e[e.SEMI=59]="SEMI",e[e.EQUALS=61]="EQUALS",e[e.ZERO=48]="ZERO",e[e.NINE=57]="NINE",e[e.LOWER_A=97]="LOWER_A",e[e.LOWER_X=120]="LOWER_X"})(I||(I={}));var se=32,qe=21,Gt=2097151,ge=2047,Ze=0;function Kt(e){let t=e>>>qe;return t===ge?Ze:t}function We(e){return e-I.ZERO>>>0<=9}function Vt(e){return(e|se)-I.LOWER_A>>>0<=5}function $e(e){return(e|se)-I.LOWER_A>>>0<=25}function Qt(e){return e===I.EQUALS||$e(e)||We(e)}var Oe;(function(e){e[e.EntityStart=0]="EntityStart",e[e.NumericStart=1]="NumericStart",e[e.NumericDecimal=2]="NumericDecimal",e[e.NumericHex=3]="NumericHex",e[e.NamedEntity=4]="NamedEntity"})(Oe||(Oe={}));var ke;(function(e){e[e.Legacy=0]="Legacy",e[e.Strict=1]="Strict",e[e.Attribute=2]="Attribute"})(ke||(ke={}));function en(e,t,n,i){let r=(t&T.BRANCH_LENGTH)>>7,s=t&T.JUMP_TABLE;if(s){if(r===0)return i===s?n:-1;let c=i-s;if(c>>>0>=r)return-1;let a=e[n+c];return a===0?-1:n+r+a-1&65535}if(r===0)return-1;let o=r+1>>1,u=n+o+r;for(let c=0;c<r;c++){let f=e[n+(c>>1)]>>((c&1)<<3)&255;if(f===i){let h=n+o+c;return u+e[h]&65535}if(f>i)return-1}return-1}function Ue(e,t,n){return n===1?String.fromCharCode(e[t]&T.VALUE_MASK):n===2?String.fromCharCode(e[t+1]):String.fromCharCode(e[t+1],e[t+2])}function tn(e,t,n){let i=t+1,r=0,s=i;if(i<n&&(e.charCodeAt(i)|se)===I.LOWER_X)for(i+=1,s=i;i<n;){let u=e.charCodeAt(i);if(We(u))r=r*16+(u-I.ZERO);else if(Vt(u))r=r*16+((u|se)-I.LOWER_A+10);else break;i+=1}else for(;i<n;){let u=e.charCodeAt(i)-I.ZERO;if(u>>>0>9)break;r=r*10+u,i+=1}if(i===s)return 0;i<n&&e.charCodeAt(i)===I.SEMI&&(i+=1),r>1114111&&(r=1114112);let o=i-t;return o>=ge&&(Ze=o,o=ge),o<<qe|r}function nn(e,t,n){let i=Pe,r=e.indexOf("&");if(r<0)return e;let s=e.length,o=0,u="",c=i[0],a=c&T.JUMP_TABLE,f=(c&T.BRANCH_LENGTH)>>7;do{let h=r+1,p=e.charCodeAt(h),d,l;if(p===I.NUM){let b=tn(e,h,s);d=Kt(b),t&&d>0&&e.charCodeAt(h+d-1)!==I.SEMI&&(d=0),l=d===0?"":Je(b&Gt)}else if($e(p)){d=0,l="";let b=p-a,_;if(b>>>0<f){let g=i[1+b];_=g===0?-1:f+g&65535}else _=-1;let x=0,C=0,k=_<0?0:i[_],m=h+1;e:for(;m<s;){for(;(k&(T.VALUE_LENGTH|T.FLAG13))===0&&(k&T.JUMP_TABLE)!==0;){let F=k&T.JUMP_TABLE,v=(k&T.BRANCH_LENGTH)>>7;if(v===0){if(e.charCodeAt(m)!==F)break e;_+=1}else{let y=e.charCodeAt(m)-F;if(y>>>0>=v)break e;let A=i[_+1+y];if(A===0)break e;_=_+v+A&65535}if(k=i[_],m+=1,m>=s)break e}if((k&(T.VALUE_LENGTH|T.FLAG13))===T.FLAG13){let F=(k&T.BRANCH_LENGTH)>>7;if(e.charCodeAt(m)!==(k&T.JUMP_TABLE))break;m+=1;let v=F-1,y=_+1,A=0;for(;A+1<v;A+=2){let B=i[y];if(e.charCodeAt(m)!==(B&255)||(m+=1,e.charCodeAt(m)!==(B>>8&255)))break e;m+=1,y+=1}if(A<v){if(e.charCodeAt(m)!==(i[y]&255))break;m+=1}_+=1+(F>>1),k=i[_];continue}let g=k>>>14,D=e.charCodeAt(m);if(g!==0){if(D===I.SEMI){d=m-h+1,l=g===1?String.fromCharCode(k&T.VALUE_MASK):Ue(i,_,g);break}if(!t&&(k&T.FLAG13)===0&&(d=m-h,x=_,C=g),g===1)break}let w=en(i,k,_+(g||1),D);if(w<0)break;_=w,k=i[_],m+=1}if(l===""){let g=k>>>14;g!==0&&!t&&(k&T.FLAG13)===0&&(d=m-h,x=_,C=g),d>0&&(l=Ue(i,x,C))}}else d=0,l="";d===0||n&&p!==I.NUM&&e.charCodeAt(h+d-1)!==I.SEMI&&h+d<s&&Qt(e.charCodeAt(h+d))?r=h:(o<r&&(u+=e.slice(o,r)),u+=l,r=o=h+d),e.charCodeAt(r)!==I.AMP&&(r=e.indexOf("&",r))}while(r>=0);return u+e.slice(o)}function oe(e){return nn(e,!0,!1)}var Xe;(function(e){e[e.XML=0]="XML",e[e.HTML=1]="HTML"})(Xe||(Xe={}));var He;(function(e){e[e.UTF8=0]="UTF8",e[e.ASCII=1]="ASCII",e[e.Extensive=2]="Extensive",e[e.Attribute=3]="Attribute",e[e.Text=4]="Text"})(He||(He={}));var sn=class{src_Any=fe.source;src_Cc=de.source;src_Z=me.source;src_P=Y.source;src_ZPCc=[this.src_Z,this.src_P,this.src_Cc].join("|");src_ZCc=[this.src_Z,this.src_Cc].join("|");cache={};opts={maxLength:1e4,urlAuth:!1,schema_names:[]};constructor(e={}){this.opts={...this.opts,...e}}set(e={}){return this.opts={...this.opts,...e},this.cache={},this}escapeRE(e){return e.replace(/[.?*+^$[\]\\(){}|-]/g,"\\$&")}nestedPairRE(e,t,n=4){let i=this.escapeRE(e),r=this.escapeRE(t),s=`(?:(?!${this.src_ZCc}|${i}|${r}).)`,o=`${i}${s}{0,1000}${r}`;for(let u=2;u<=n;u++)o=`${i}(?:${s}|${o}){0,1000}${r}`;return o}get_text_separators(){return this.cache.text_separators??=/[><\uff5c]/}get_pseudo_letter(){return this.cache.src_pseudo_letter??=new RegExp(`(?:(?!${this.get_text_separators().source}|${this.src_ZPCc})${this.src_Any})`)}get_ipv4_addr(){return this.cache.src_ip4??=new RegExp("(?:(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])[.]){3}(?:25[0-5]|2[0-4][0-9]|1[0-9]{2}|[1-9][0-9]|[0-9])")}get_ipv6_addr(){let e="[0-9A-Fa-f]{1,4}",t=`(?:(?:${e}:${e})|${this.get_ipv4_addr().source})`;return this.cache.src_ip6_addr??=new RegExp(`(?:(?:${e}:){6}${t}|::(?:${e}:){5}${t}|(?:${e})?::(?:${e}:){4}${t}|(?:(?:${e}:){0,1}${e})?::(?:${e}:){3}${t}|(?:(?:${e}:){0,2}${e})?::(?:${e}:){2}${t}|(?:(?:${e}:){0,3}${e})?::${e}:${t}|(?:(?:${e}:){0,4}${e})?::${t}|(?:(?:${e}:){0,5}${e})?::${e}|(?:(?:${e}:){0,6}${e})?::)`)}get_ipv6_url_host(){return this.cache.src_ip6_host??=new RegExp(`\\[${this.get_ipv6_addr().source}\\]`)}get_ipv6_mail_host(){return this.cache.src_ipv6_mail_host??=new RegExp(`\\[IPv6:${this.get_ipv6_addr().source}\\]`)}get_auth(){return this.cache.src_auth??=new RegExp(`(?:(?:(?!${this.src_ZCc}|[@/\\[\\]()]).){1,50}@)?`)}get_port(){return this.cache.src_port??=new RegExp("(?::(?:6(?:[0-4]\\d{3}|5(?:[0-4]\\d{2}|5(?:[0-2]\\d|3[0-5])))|[1-5]?\\d{1,4}))?")}get_host_terminator(){return this.cache.src_host_terminator??=new RegExp(`(?=$|${this.get_text_separators().source}|${this.src_ZPCc})(?!${this.opts["---"]?"-(?!--)|":"-|"}_|:\\d|\\.-|\\.(?!$|${this.src_ZPCc}))`)}get_path_terminator(){return this.cache.src_path_terminator??=new RegExp(`${this.src_ZPCc}|${this.get_text_separators().source}`)}get_path(){return this.cache.src_path??=new RegExp(`(?:[/?#](?:${this.nestedPairRE("[","]")}|${this.nestedPairRE("(",")")}|${this.nestedPairRE("{","}")}|\\"(?:(?!${this.src_ZCc}|["]).){1,100}\\"|\\'(?:(?!${this.src_ZCc}|[']).){1,100}\\'|\\'(?=${this.get_pseudo_letter().source}|[-])|\\.{2,20}[:]?[a-zA-Z0-9%/&]|\\.(?!${this.src_ZCc}|[.]|$)|`+(this.opts["---"]?"\\-(?!--(?:[^-]|$))(?:-{0,19})|":"\\-{1,20}|")+`,(?!${this.src_ZCc}|$)|;(?!${this.src_ZCc}|$)|\\!{1,20}(?!${this.src_ZCc}|[!]|$)|\\?(?!${this.src_ZCc}|[?]|$)|`+this.get_path_extra().source+`[\\\\/:%@#&=_~*]|(?!${this.get_path_terminator().source}).){1,${this.opts.maxLength}}|\\/)?`)}get_mail_name(){return this.cache.src_mail_name??=new RegExp("[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9](?:[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9]|[.](?=[-!#$%&'*+/=?^_`{|}~a-zA-Z0-9])){0,63}")}get_xn(){return this.cache.src_xn??=new RegExp("xn--[a-z0-9\\-]{1,59}")}get_tld(){if(this.cache.tld)return this.cache.tld;let e=[...new Set(this.opts.tlds||[])].sort().reverse().join("|");return this.cache.tld=new RegExp(`${e||"$#none#$"}|${this.get_xn().source}`),this.cache.tld}get_domain_root(){return this.cache.src_domain_root??=new RegExp("(?:"+this.get_xn().source+`|${this.get_pseudo_letter().source}{1,63})`)}get_domain(){return this.cache.src_domain??=new RegExp("(?:"+this.get_xn().source+`|(?:${this.get_pseudo_letter().source})|(?:${this.get_pseudo_letter().source}(?:-|${this.get_pseudo_letter().source}){0,61}${this.get_pseudo_letter().source}))`)}get_url_host_port(){return this.cache.url_host_port??=new RegExp("(?:"+this.get_ipv6_url_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,10}${this.get_domain().source}))`+this.get_port().source+this.get_host_terminator().source)}get_fuzzy_url_host_port(){return this.cache.fuzzy_url_host_port??=new RegExp("(?:"+(this.opts.fuzzyIP?this.get_ipv4_addr().source+"|":"")+`(?:(?:(?:${this.get_domain().source})\\.){1,10}(?:${this.get_tld().source})))`+this.get_host_terminator().source)}get_mail_host(){return this.cache.src_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})\\.){0,4}${this.get_domain().source}))`+this.get_host_terminator().source)}get_fuzzy_mail_host(){return this.cache.src_fuzzy_mail_host??=new RegExp("(?:"+this.get_ipv6_mail_host().source+`|(?:(?:(?:${this.get_domain().source})[.]){1,4}${this.get_domain_root().source}))`+this.get_host_terminator().source)}get_path_extra(){return this.cache.src_path_extra??=new RegExp("")}get_fuzzy_mail_host_search(){return this.cache.mail_fuzzy_host_search??=new RegExp(`@${this.get_fuzzy_mail_host().source}`,"ig")}get_fuzzy_link_search(){return this.cache.link_fuzzy_search??=new RegExp(`(^|(?![.:/\\-_@])(?:[$+<=>^\`|\uFF5C]|${this.src_ZPCc}))(?:(?![$+<=>^\`|\uFF5C])${this.get_fuzzy_url_host_port().source}${this.get_path().source})`,"ig")}get_http_validator(){return this.cache.http_validator??=new RegExp("\\/\\/"+(this.opts.urlAuth?this.get_auth().source:"")+this.get_url_host_port().source+this.get_path().source,"iy")}get_relative_proto_validator(){return this.cache.relative_proto_validator??=new RegExp((this.opts.urlAuth?this.get_auth().source:"")+`(?:localhost|${this.get_ipv6_url_host().source}|(?:(?:${this.get_domain().source})[.]){1,10}${this.get_domain_root().source})`+this.get_port().source+this.get_host_terminator().source+this.get_path().source,"iy")}get_mail_name_validator(){return this.cache.mail_name_validator??=new RegExp(`(?:^|${this.get_text_separators().source}|"|\\(|${this.src_ZCc})(${this.get_mail_name().source})$`)}get_mailto_validator(){return this.cache.mailto_validator??=new RegExp(`${this.get_mail_name().source}@${this.get_mail_host().source}`,"iy")}get_schema_names(){return this.cache.schema_names??=new RegExp((this.opts.schema_names||[]).map(e=>this.escapeRE(e)).join("|"))}get_schema_search(){return this.cache.schema_search??=new RegExp(`(^|(?!_)(?:[><\uFF5C]|${this.src_ZPCc}))(${this.get_schema_names().source})`,"ig")}get_schema_at_start(){return this.cache.schema_at_start??=new RegExp(`^${this.get_schema_search().source}`,"i")}},Re={validate:(e,t,n)=>{let i=n.re.get_http_validator();i.lastIndex=t;let r=i.exec(e);return r?r[0].length:0},normalize:(e,t)=>t.normalize(e)},on={"http:":Re,"https:":Re,"ftp:":Re,"//":{validate:function(e,t,n){let i=n.re.get_relative_proto_validator();i.lastIndex=t;let r=i.exec(e);return r?t>=3&&e[t-3]===":"||t>=3&&e[t-3]==="/"?0:r[0].length:0},normalize:(e,t)=>t.normalize(e)},"mailto:":{validate:function(e,t,n){let i=n.re.get_mailto_validator();i.lastIndex=t;let r=i.exec(e);return r?r[0].length:0},normalize:(e,t)=>t.normalize(e)}},un="a:cdefgilmnoqrstuwxz|b:abdefghijmnorstvwyz|c:acdfghiklmnoruvwxyz|d:ejkmoz|e:cegrstu|f:ijkmor|g:abdefghilmnpqrstuwy|h:kmnrtu|i:delmnoqrst|j:emop|k:eghimnprwyz|l:abcikrstuvy|m:acdeghklmnopqrstuvwxyz|n:acefgilopruz|o:m|p:aefghklmnrstwy|q:a|r:eosuw|s:abcdeghijklmnortuvxyz|t:cdfghjklmnortvwz|u:agksyz|v:aceginu|w:fs|y:et|z:amw",cn="biz|com|edu|gov|net|org|pro|web|xxx|aero|asia|coop|info|museum|name|shop|\u0440\u0444";function an(){let e=cn.split("|");return un.split("|").forEach(t=>{let n=t.indexOf(":"),i=t.slice(0,n);for(let r of t.slice(n+1))e.push(i+r)}),e}var ln={fuzzyLink:!1,fuzzyEmail:!0,fuzzyIP:!1,"---":!1,tlds:an(),urlAuth:!1,maxLength:1e4},Ye=class{schema;index;lastIndex;raw;text;url;constructor(e,t,n,i){let r=e.slice(n,i);this.schema=t.toLowerCase(),this.index=n,this.lastIndex=i,this.raw=r,this.text=r,this.url=r}},Ge=class{__opts__;__schemas__;re;constructor(e={}){let{rebuilder:t,...n}=e;this.__opts__={...ln,...n},this.__schemas__={...on},this.re=t||new sn,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)})}add(e,t=null){if(!t)delete this.__schemas__[e];else{let n={normalize:(i,r)=>r.normalize(i),...t};this.__schemas__[e]=n}return this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}set(e={}){return this.__opts__={...this.__opts__,...e},this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}test(e){if(!e.length)return!1;let t,n;for(n=this.re.get_schema_search(),n.lastIndex=0;(t=n.exec(e))!==null;)if(this.testSchemaAt(e,t[2],n.lastIndex))return!0;if(this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(n=this.re.get_fuzzy_link_search(),n.lastIndex=0,n.exec(e)!==null))return!0;if(this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&e.indexOf("@")>=0){let i=this.re.get_fuzzy_mail_host_search(),r=this.re.get_mail_name_validator();for(i.lastIndex=0;(t=i.exec(e))!==null;){let s=e.slice(Math.max(0,t.index-65),t.index);if(r.test(s))return!0}}return!1}testSchemaAt(e,t,n){return this.__schemas__[t.toLowerCase()]?this.__schemas__[t.toLowerCase()].validate(e.slice(0,n+this.__opts__.maxLength),n,this):0}match(e){let t=[],n=this.re.get_schema_search(),i,r,s,o,u,c,a=!1,f=!1,h=!1,p=0;if(!e.length)return null;for(n.lastIndex=0,this.__opts__.fuzzyLink&&this.__schemas__["http:"]&&(i=this.re.get_fuzzy_link_search(),i.lastIndex=0),this.__opts__.fuzzyEmail&&this.__schemas__["mailto:"]&&(r=this.re.get_fuzzy_mail_host_search(),r.lastIndex=0,s=this.re.get_mail_name_validator());;){let d=Math.max(p-1,0);if(r&&s&&!h&&(!u||u.index<p))for(r.lastIndex<d&&(r.lastIndex=d);;){let C=r.exec(e);if(!C){h=!0,u=void 0;break}let k=s.exec(e.slice(Math.max(0,C.index-65),C.index));if(k){if(u={schema:"mailto:",index:C.index-k[1].length,lastIndex:C.index+C[0].length},u.index>=p)break;r.lastIndex<d&&(r.lastIndex=d)}}if(i&&!f&&(!o||o.index<p))for(i.lastIndex<d&&(i.lastIndex=d);;){let C=i.exec(e);if(!C){f=!0,o=void 0;break}if(o={schema:"",index:C.index+C[1].length,lastIndex:C.index+C[0].length},o.index>=p)break;i.lastIndex<d&&(i.lastIndex=d)}let l=u;(!l||o&&(o.index<l.index||o.index===l.index&&o.lastIndex>l.lastIndex))&&(l=o);let b;if(!a)for(;;){if(!c){n.lastIndex<d&&(n.lastIndex=d);let m=n.exec(e);if(!m){a=!0;break}c={schema:m[2],index:m.index+m[1].length,lastIndex:m.index+m[0].length}}if(c.index<p){c=void 0;continue}if(l&&c.index>l.index)break;let C=c;c=void 0;let k=this.testSchemaAt(e,C.schema,C.lastIndex);if(k){b={schema:C.schema,index:C.index,lastIndex:C.lastIndex+k};break}}let _=b;if((!_||u&&(u.index<_.index||u.index===_.index&&u.lastIndex>_.lastIndex))&&(_=u),(!_||o&&(o.index<_.index||o.index===_.index&&o.lastIndex>_.lastIndex))&&(_=o),!_)break;_===u?u=void 0:_===o&&(o=void 0);let x=new Ye(e,_.schema,_.index,_.lastIndex);x.schema?this.__schemas__[x.schema].normalize(x,this):this.normalize(x),t.push(x),p=_.lastIndex}return t.length?t:null}matchAtStart(e){if(!e.length)return null;let t=this.re.get_schema_at_start().exec(e);if(!t)return null;let n=this.testSchemaAt(e,t[2],t[0].length);if(!n)return null;let i=new Ye(e,t[2],t.index+t[1].length,t.index+t[0].length+n);return this.__schemas__[i.schema].normalize(i,this),i}tlds(e,t=!1){return e=Array.isArray(e)?e:[e],t?this.__opts__.tlds=this.__opts__.tlds.concat(e):this.__opts__.tlds=e,this.re.set({...this.__opts__,schema_names:Object.keys(this.__schemas__)}),this}normalize(e){e.schema||(e.url=`http://${e.url}`),e.schema==="mailto:"&&!/^mailto:/i.test(e.url)&&(e.url=`mailto:${e.url}`)}};var hn=/^xn--/,fn=/[^\0-\x7F]/,dn=/[\x2E\u3002\uFF0E\uFF61]/g,pn={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},xe=35,L=Math.floor,be=String.fromCharCode;function O(e){throw new RangeError(pn[e])}function mn(e,t){let n=[],i=e.length;for(;i--;)n[i]=t(e[i]);return n}function Ve(e,t){let n=e.split("@"),i="";n.length>1&&(i=n[0]+"@",e=n[1]),e=e.replace(dn,".");let r=e.split("."),s=mn(r,t).join(".");return i+s}function Qe(e){let t=[],n=0,i=e.length;for(;n<i;){let r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<i){let s=e.charCodeAt(n++);(s&64512)==56320?t.push(((r&1023)<<10)+(s&1023)+65536):(t.push(r),n--)}else t.push(r)}return t}var _n=e=>String.fromCodePoint(...e),gn=function(e){return e>=48&&e<58?26+(e-48):e>=65&&e<91?e-65:e>=97&&e<123?e-97:36},Ke=function(e,t){return e+22+75*(e<26)-((t!=0)<<5)},et=function(e,t,n){let i=0;for(e=n?L(e/700):e>>1,e+=L(e/t);e>xe*26>>1;i+=36)e=L(e/xe);return L(i+(xe+1)*e/(e+38))},tt=function(e){let t=[],n=e.length,i=0,r=128,s=72,o=e.lastIndexOf("-");o<0&&(o=0);for(let u=0;u<o;++u)e.charCodeAt(u)>=128&&O("not-basic"),t.push(e.charCodeAt(u));for(let u=o>0?o+1:0;u<n;){let c=i;for(let f=1,h=36;;h+=36){u>=n&&O("invalid-input");let p=gn(e.charCodeAt(u++));p>=36&&O("invalid-input"),p>L((2147483647-i)/f)&&O("overflow"),i+=p*f;let d=h<=s?1:h>=s+26?26:h-s;if(p<d)break;let l=36-d;f>L(2147483647/l)&&O("overflow"),f*=l}let a=t.length+1;s=et(i-c,a,c==0),L(i/a)>2147483647-r&&O("overflow"),r+=L(i/a),i%=a,t.splice(i++,0,r)}return String.fromCodePoint(...t)},nt=function(e){let t=[];e=Qe(e);let n=e.length,i=128,r=0,s=72;for(let c of e)c<128&&t.push(be(c));let o=t.length,u=o;for(o&&t.push("-");u<n;){let c=2147483647;for(let f of e)f>=i&&f<c&&(c=f);let a=u+1;c-i>L((2147483647-r)/a)&&O("overflow"),r+=(c-i)*a,i=c;for(let f of e)if(f<i&&++r>2147483647&&O("overflow"),f===i){let h=r;for(let p=36;;p+=36){let d=p<=s?1:p>=s+26?26:p-s;if(h<d)break;let l=h-d,b=36-d;t.push(be(Ke(d+l%b,0))),h=L(l/b)}t.push(be(Ke(h,0))),s=et(r,a,u===o),r=0,++u}++r,++i}return t.join("")},kn=function(e){return Ve(e,function(t){return hn.test(t)?tt(t.slice(4).toLowerCase()):t})},Rn=function(e){return Ve(e,function(t){return fn.test(t)?"xn--"+nt(t):t})},xn={version:"2.3.1",ucs2:{decode:Qe,encode:_n},decode:tt,encode:nt,toASCII:Rn,toUnicode:kn};var Ce=xn;var rt=Object.defineProperty,mt=(e,t)=>{let n={};for(var i in e)rt(n,i,{get:e[i],enumerable:!0});return t||rt(n,Symbol.toStringTag,{value:"Module"}),n},bn=mt({arrayReplaceAt:()=>Cn,asciiTrim:()=>le,callable:()=>_t,escapeHtml:()=>U,escapeRE:()=>In,fromCodePoint:()=>G,isMdAsciiPunct:()=>Q,isPunctChar:()=>kt,isPunctCharCode:()=>V,isSpace:()=>E,isValidEntityCode:()=>Ee,isWhiteSpace:()=>K,lib:()=>Sn,normalizeReference:()=>ae,unescapeAll:()=>$,unescapeMd:()=>wn});function _t(e){let t=function(...n){return Reflect.construct(e,n,new.target&&new.target!==t?new.target:e)};return Object.defineProperty(t,"name",{value:e.name}),Object.setPrototypeOf(t,e),t.prototype=e.prototype,t}function Cn(e,t,n){return[].concat(e.slice(0,t),n,e.slice(t+1))}function Ee(e){return!(e>=55296&&e<=57343||e>=64976&&e<=65007||(e&65535)===65535||(e&65535)===65534||e>=0&&e<=8||e===11||e>=14&&e<=31||e>=127&&e<=159||e>1114111)}function G(e){if(e>65535){e-=65536;let t=55296+(e>>10),n=56320+(e&1023);return String.fromCharCode(t,n)}return String.fromCharCode(e)}var gt=/\\([!"#$%&'()*+,\-./:;<=>?@[\\\]^_`{|}~])/g,Dn=new RegExp(`${gt.source}|${/&([a-z#][a-z0-9]{1,31});/gi.source}`,"gi"),vn=/^#((?:x[a-f0-9]{1,8}|[0-9]{1,8}))$/i;function An(e,t){if(t.charCodeAt(0)===35&&vn.test(t)){let i=t[1].toLowerCase()==="x"?parseInt(t.slice(2),16):parseInt(t.slice(1),10);return Ee(i)?G(i):e}let n=oe(e);return n!==e?n:e}function wn(e){return e.indexOf("\\")<0?e:e.replace(gt,"$1")}function $(e){return e.indexOf("\\")<0&&e.indexOf("&")<0?e:e.replace(Dn,function(t,n,i){return n||An(t,i)})}var En=/[&<>"]/,Fn=/[&<>"]/g,yn={"&":"&","<":"<",">":">",'"':"""};function Bn(e){return yn[e]}function U(e){return En.test(e)?e.replace(Fn,Bn):e}var Tn=/[.?*+^$[\]\\(){}|-]/g;function In(e){return e.replace(Tn,"\\$&")}function E(e){switch(e){case 9:case 32:return!0}return!1}function K(e){if(e>=8192&&e<=8202)return!0;switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 160:case 5760:case 8239:case 8287:case 12288:return!0}return!1}function kt(e){return Y.test(e)||pe.test(e)}function V(e){return kt(G(e))}function Q(e){switch(e){case 33:case 34:case 35:case 36:case 37:case 38:case 39:case 40:case 41:case 42:case 43:case 44:case 45:case 46:case 47:case 58:case 59:case 60:case 61:case 62:case 63:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 124:case 125:case 126:return!0;default:return!1}}function ae(e){return e=e.trim().replace(/\s+/g," "),e.toLowerCase().toUpperCase()}function it(e){return e===32||e===9||e===10||e===13}function le(e){let t=0;for(;t<e.length&&it(e.charCodeAt(t));t++);let n=e.length-1;for(;n>=t&&it(e.charCodeAt(n));n--);return e.slice(t,n+1)}var Sn={mdurl:he,ucmicro:_e};function Mn(e,t,n){let i,r,s,o,u=e.posMax,c=e.pos;for(e.pos=t+1,i=1;e.pos<u;){if(s=e.src.charCodeAt(e.pos),s===93&&(i--,i===0)){r=!0;break}if(o=e.pos,e.md.inline.skipToken(e),s===91){if(o===e.pos-1)i++;else if(n)return e.pos=c,-1}}let a=-1;return r&&(a=e.pos),e.pos=c,a}function zn(e,t,n){let i,r=t,s={ok:!1,pos:0,str:""};if(e.charCodeAt(r)===60){for(r++;r<n;){if(i=e.charCodeAt(r),i===10||i===60)return s;if(i===62)return s.pos=r+1,s.str=$(e.slice(t+1,r)),s.ok=!0,s;if(i===92&&r+1<n){r+=2;continue}r++}return s}let o=0;for(;r<n&&(i=e.charCodeAt(r),!(i===32||i<32||i===127));){if(i===92&&r+1<n){if(e.charCodeAt(r+1)===32){r++;continue}r+=2;continue}if(i===40&&(o++,o>32))return s;if(i===41){if(o===0)break;o--}r++}return t===r||o!==0||(s.str=$(e.slice(t,r)),s.pos=r,s.ok=!0),s}function jn(e,t,n,i){let r,s=t,o={ok:!1,can_continue:!1,pos:0,str:"",marker:0};if(i)o.str=i.str,o.marker=i.marker;else{if(s>=n)return o;let u=e.charCodeAt(s);if(u!==34&&u!==39&&u!==40)return o;t++,s++,u===40&&(u=41),o.marker=u}for(;s<n;){if(r=e.charCodeAt(s),r===o.marker)return o.pos=s+1,o.str+=$(e.slice(t,s)),o.ok=!0,o;if(r===40&&o.marker===41)return o;r===92&&s+1<n&&s++,s++}return o.can_continue=!0,o.str+=$(e.slice(t,s)),o}var Ln=mt({parseLinkDestination:()=>zn,parseLinkLabel:()=>Mn,parseLinkTitle:()=>jn});function ee(e){"@babel/helpers - typeof";return ee=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(e)}function Jn(e,t){if(ee(e)!="object"||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var i=n.call(e,t||"default");if(ee(i)!="object")return i;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Nn(e){var t=Jn(e,"string");return ee(t)=="symbol"?t:t+""}function R(e,t,n){return(t=Nn(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Z=class{constructor(e,t,n){R(this,"map",null),R(this,"level",0),R(this,"children",null),R(this,"content",""),R(this,"markup",""),R(this,"info",""),R(this,"block",!1),R(this,"hidden",!1),this.type=e,this.tag=t,this.attrs=null,this.nesting=n,this.meta=null}attrIndex(e){if(!this.attrs)return-1;let t=this.attrs;for(let n=0,i=t.length;n<i;n++)if(t[n][0]===e)return n;return-1}attrPush(e){this.attrs?this.attrs.push(e):this.attrs=[e]}attrSet(e,t){let n=this.attrIndex(e),i=[e,t];n<0?this.attrPush(i):this.attrs[n]=i}attrGet(e){let t=this.attrIndex(e),n=null;return t>=0&&(n=this.attrs[t][1]),n}attrJoin(e,t){let n=this.attrIndex(e);n<0?this.attrPush([e,t]):this.attrs[n][1]=`${this.attrs[n][1]} ${t}`}},te=class{constructor(){R(this,"__rules__",[]),R(this,"__cache__",null)}__find__(e){for(let t=0;t<this.__rules__.length;t++)if(this.__rules__[t].name===e)return t;return-1}__compile__(){let e=new Set;this.__rules__.forEach(t=>{t.enabled&&t.alt.forEach(n=>{n&&e.add(n)})}),this.__cache__=Object.create(null),this.__cache__[""]=[],this.__rules__.forEach(t=>{t.enabled&&this.__cache__[""].push(t.fn)}),e.forEach(t=>{this.__cache__[t]=[],this.__rules__.forEach(n=>{n.enabled&&n.alt.indexOf(t)>=0&&this.__cache__[t].push(n.fn)})})}at(e,t,n={}){let i=this.__find__(e);if(i===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__[i].fn=t,this.__rules__[i].alt=n.alt||[],this.__cache__=null}before(e,t,n,i={}){let r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(r,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null}after(e,t,n,i={}){let r=this.__find__(e);if(r===-1)throw new Error(`Parser rule not found: ${e}`);this.__rules__.splice(r+1,0,{name:t,enabled:!0,fn:n,alt:i.alt||[]}),this.__cache__=null}push(e,t,n={}){this.__rules__.push({name:e,enabled:!0,fn:t,alt:n.alt||[]}),this.__cache__=null}enable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(i=>{let r=this.__find__(i);if(r<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${i}`)}this.__rules__[r].enabled=!0,n.push(i)}),this.__cache__=null,n}enableOnly(e,t=!1){Array.isArray(e)||(e=[e]),this.__rules__.forEach(n=>{n.enabled=!1}),this.enable(e,t)}disable(e,t=!1){Array.isArray(e)||(e=[e]);let n=[];return e.forEach(i=>{let r=this.__find__(i);if(r<0){if(t)return;throw new Error(`Rules manager: invalid rule name ${i}`)}this.__rules__[r].enabled=!1,n.push(i)}),this.__cache__=null,n}getRules(e){return this.__cache__||this.__compile__(),this.__cache__[e]||[]}},J={};J.code_inline=function(e,t,n,i,r){let s=e[t];return`<code${r.renderAttrs(s)}>${U(s.content)}</code>`};J.code_block=function(e,t,n,i,r){let s=e[t];return`<pre${r.renderAttrs(s)}><code>${U(e[t].content)}</code></pre>
|
|
162
|
+
`};J.fence=function(e,t,n,i,r){let s=e[t],o=s.info?$(s.info).trim():"",u="",c="";if(o){let f=o.split(/(\s+)/g);u=f[0],c=f.slice(2).join("")}let a;if(n.highlight?a=n.highlight(s.content,u,c)||U(s.content):a=U(s.content),a.indexOf("<pre")===0)return a+`
|
|
163
|
+
`;if(o){let f=s.attrIndex("class"),h=s.attrs?s.attrs.slice():[];f<0?h.push(["class",`${n.langPrefix}${u}`]):(h[f]=[h[f][0],h[f][1]],h[f][1]+=` ${n.langPrefix}${u}`);let p={attrs:h};return`<pre><code${r.renderAttrs(p)}>${a}</code></pre>
|
|
164
|
+
`}return`<pre><code${r.renderAttrs(s)}>${a}</code></pre>
|
|
165
|
+
`};J.image=function(e,t,n,i,r){let s=e[t];return s.attrs[s.attrIndex("alt")][1]=r.renderInlineAsText(s.children,n,i),r.renderToken(e,t,n)};J.hardbreak=function(e,t,n){return n.xhtmlOut?`<br />
|
|
166
|
+
`:`<br>
|
|
167
|
+
`};J.softbreak=function(e,t,n){return n.breaks?n.xhtmlOut?`<br />
|
|
168
|
+
`:`<br>
|
|
169
|
+
`:`
|
|
170
|
+
`};J.text=function(e,t){return U(e[t].content)};J.html_block=function(e,t){return e[t].content};J.html_inline=function(e,t){return e[t].content};var Rt=class{constructor(){R(this,"rules",Object.assign({},J))}renderAttrs(e){let t,n,i;if(!e.attrs)return"";for(i="",t=0,n=e.attrs.length;t<n;t++)i+=` ${U(e.attrs[t][0])}="${U(String(e.attrs[t][1]))}"`;return i}renderToken(e,t,n){let i=e[t],r="";if(i.hidden)return"";let s=t-1;for(;s>=0&&e[s].hidden&&e[s].nesting===0;)s--;i.block&&i.nesting!==-1&&s>=0&&e[s].hidden&&e[s].nesting===-1&&(r+=`
|
|
171
|
+
`),r+=(i.nesting===-1?"</":"<")+i.tag,r+=this.renderAttrs(i),i.nesting===0&&n.xhtmlOut&&(r+=" /");let o=!1;if(i.block&&(o=!0,i.nesting===1)){let u=t+1;for(;u<e.length&&e[u].hidden&&e[u].nesting===0;)u++;if(u<e.length){let c=e[u];(c.type==="inline"||c.hidden||c.nesting===-1&&c.tag===i.tag)&&(o=!1)}}return r+=o?`>
|
|
172
|
+
`:">",r}renderInline(e,t,n){let i="",r=this.rules;for(let s=0,o=e.length;s<o;s++){let u=e[s].type;typeof r[u]<"u"?i+=r[u](e,s,t,n,this):i+=this.renderToken(e,s,t)}return i}renderInlineAsText(e,t,n){let i="";for(let r=0,s=e.length;r<s;r++)switch(e[r].type){case"text":case"code_inline":i+=e[r].content;break;case"image":i+=this.renderInlineAsText(e[r].children,t,n);break;case"html_inline":case"html_block":i+=e[r].content;break;case"softbreak":case"hardbreak":i+=`
|
|
173
|
+
`}return i}render(e,t,n){let i="",r=this.rules;for(let s=0,o=e.length;s<o;s++){let u=e[s].type;u==="inline"?i+=this.renderInline(e[s].children,t,n):typeof r[u]<"u"?i+=r[u](e,s,t,n,this):i+=this.renderToken(e,s,t)}return i}},xt=class{constructor(e,t,n){R(this,"tokens",[]),R(this,"inlineMode",!1),R(this,"Token",Z),this.src=e,this.env=n,this.md=t}},Pn=/\r\n?/g,On=/\0/g;function Un(e){let t;t=e.src.replace(Pn,`
|
|
174
|
+
`),t=t.replace(On,"\uFFFD"),e.src=t}function qn(e){let t;e.inlineMode?(t=new e.Token("inline","",0),t.content=e.src,t.map=[0,1],t.children=[],e.tokens.push(t)):e.md.block.parse(e.src,e.md,e.env,e.tokens)}function Zn(e){let t=e.tokens,n=0;for(let i=0;i<t.length;i++)t[i].type!=="reference_definition"&&(i!==n&&(t[n]=t[i]),n++);t.length!==n&&(t.length=n)}function Wn(e){let t=e.tokens;for(let n=0,i=t.length;n<i;n++){let r=t[n];r.type==="inline"&&e.md.inline.parse(r.content,e.md,e.env,r.children)}}function $n(e){return/^<a[>\s]/i.test(e)}function Xn(e){return/^<\/a\s*>/i.test(e)}function Hn(e){let t=e.tokens;if(e.md.options.linkify)for(let n=0,i=t.length;n<i;n++){if(t[n].type!=="inline"||!e.md.linkify.test(t[n].content))continue;let r=t[n].children,s=[],o=0;for(let u=r.length-1;u>=0;u--){let c=r[u];if(c.type==="link_close"){for(u--;r[u].level!==c.level&&r[u].type!=="link_open";)u--;continue}if(c.type==="html_inline"&&($n(c.content)&&o>0&&o--,Xn(c.content)&&o++),!(o>0)&&c.type==="text"&&e.md.linkify.test(c.content)){let a=c.content,f=e.md.linkify.match(a),h=[],p=c.level,d=0;f.length>0&&f[0].index===0&&u>0&&r[u-1].type==="text_special"&&(f=f.slice(1));for(let l=0;l<f.length;l++){let b=f[l].url,_=e.md.normalizeLink(b);if(!e.md.validateLink(_))continue;let x=f[l].text;f[l].schema?f[l].schema==="mailto:"&&!/^mailto:/i.test(x)?x=e.md.normalizeLinkText(`mailto:${x}`).replace(/^mailto:/,""):x=e.md.normalizeLinkText(x):x=e.md.normalizeLinkText(`http://${x}`).replace(/^http:\/\//,"");let C=f[l].index;if(C>d){let D=new e.Token("text","",0);D.content=a.slice(d,C),D.level=p,h.push(D)}let k=new e.Token("link_open","a",1);k.attrs=[["href",_]],k.level=p++,k.markup="linkify",k.info="auto",h.push(k);let m=new e.Token("text","",0);m.content=x,m.level=p,h.push(m);let g=new e.Token("link_close","a",-1);g.level=--p,g.markup="linkify",g.info="auto",h.push(g),d=f[l].lastIndex}if(d<a.length){let l=new e.Token("text","",0);l.content=a.slice(d),l.level=p,h.push(l)}s.push({index:u,nodes:h})}}if(s.length>0){let u=r.length;for(let h of s)u+=h.nodes.length-1;let c=new Array(u),a=0,f=0;s.reverse();for(let h=0;h<r.length;h++){let p=s[a];if(p?.index===h){for(let d of p.nodes)c[f++]=d;a++}else c[f++]=r[h]}t[n].children=c}}}var bt=/\+-|\.\.|\?\?\?\?|!!!!|,,|--/,Yn=/\((c|tm|r)\)/i,Gn=/\((c|tm|r)\)/gi,Kn={c:"\xA9",r:"\xAE",tm:"\u2122"};function Vn(e,t){return Kn[t.toLowerCase()]}function Qn(e){let t=0;for(let n=e.length-1;n>=0;n--){let i=e[n];i.type==="text"&&!t&&(i.content=i.content.replace(Gn,Vn)),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function er(e){let t=0;for(let n=e.length-1;n>=0;n--){let i=e[n];i.type==="text"&&!t&&bt.test(i.content)&&(i.content=i.content.replace(/\+-/g,"\xB1").replace(/\.{2,}/g,"\u2026").replace(/([?!])…/g,"$1..").replace(/([?!]){4,}/g,"$1$1$1").replace(/,{2,}/g,",").replace(/(^|[^-])---(?=[^-]|$)/gm,"$1\u2014").replace(/(^|\s)--(?=\s|$)/gm,"$1\u2013").replace(/(^|[^-\s])--(?=[^-\s]|$)/gm,"$1\u2013")),i.type==="link_open"&&i.info==="auto"&&t--,i.type==="link_close"&&i.info==="auto"&&t++}}function tr(e){let t;if(e.md.options.typographer)for(t=e.tokens.length-1;t>=0;t--)e.tokens[t].type==="inline"&&(Yn.test(e.tokens[t].content)&&Qn(e.tokens[t].children),bt.test(e.tokens[t].content)&&er(e.tokens[t].children))}var nr=/['"]/,st=/['"]/g,ot="\u2019",rr=1e3;function ut(e,t,n){for(;e.length>n;){let i=e.pop();i.isSingleQuote?t.single=i.prevSameQuoteIdx:t.double=i.prevSameQuoteIdx}}function ue(e,t,n,i){e[t]||(e[t]=[]),e[t].push({pos:n,ch:i})}function ir(e,t){let n="",i=0;t.sort((r,s)=>r.pos-s.pos);for(let r=0;r<t.length;r++){let s=t[r];n+=e.slice(i,s.pos)+s.ch,i=s.pos+1}return n+e.slice(i)}function sr(e,t){let n,i=[],r={single:-1,double:-1},s={};for(let o=0;o<e.length;o++){let u=e[o],c=e[o].level;for(n=i.length-1;n>=0&&!(i[n].level<=c);n--);if(ut(i,r,n+1),u.type!=="text")continue;let a=u.content,f=0,h=a.length;e:for(;f<h;){st.lastIndex=f;let p=st.exec(a);if(!p)break;let d=!0,l=!0;f=p.index+1;let b=p[0]==="'",_=32;if(p.index-1>=0)_=a.charCodeAt(p.index-1);else for(n=o-1;n>=0&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n--)if(e[n].content){_=e[n].content.charCodeAt(e[n].content.length-1);break}let x=32;if(f<h)x=a.charCodeAt(f);else for(n=o+1;n<e.length&&!(e[n].type==="softbreak"||e[n].type==="hardbreak");n++)if(e[n].content){x=e[n].content.charCodeAt(0);break}let C=Q(_)||V(_),k=Q(x)||V(x),m=K(_),g=K(x);if(g?d=!1:k&&(m||C||(d=!1)),m?l=!1:C&&(g||k||(l=!1)),x===34&&p[0]==='"'&&_>=48&&_<=57&&(l=d=!1),d&&l&&(d=C,l=k),!d&&!l){b&&ue(s,o,p.index,ot);continue}if(l&&(n=b?r.single:r.double,n>=0&&i[n].level===c)){let D=i[n],w,F;b?(w=t.md.options.quotes[2],F=t.md.options.quotes[3]):(w=t.md.options.quotes[0],F=t.md.options.quotes[1]),ue(s,o,p.index,F),ue(s,D.tokenIdx,D.contentPos,w),ut(i,r,n);continue e}if(d){if(i.length>=rr)return;i.push({tokenIdx:o,contentPos:p.index,isSingleQuote:b,level:c,prevSameQuoteIdx:b?r.single:r.double}),b?r.single=i.length-1:r.double=i.length-1}else l&&b&&ue(s,o,p.index,ot)}}Object.keys(s).forEach(function(o){let u=Number(o);e[u].content=ir(e[u].content,s[o])})}function or(e){if(e.md.options.typographer)for(let t=e.tokens.length-1;t>=0;t--)e.tokens[t].type!=="inline"||!nr.test(e.tokens[t].content)||sr(e.tokens[t].children,e)}function ur(e){let t,n,i=e.length;for(t=0;t<i;t++)e[t].type==="text_special"&&(e[t].type="text");for(t=n=0;t<i;t++)e[t].type==="text"&&t+1<i&&e[t+1].type==="text"?e[t+1].content=e[t].content+e[t+1].content:(t!==n&&(e[n]=e[t]),n++);t!==n&&(e.length=n)}function cr(e){let t,n,i=e.tokens,r=i.length;for(let s=0;s<r;s++){if(i[s].type!=="inline")continue;let o=i[s].children,u=o.length;for(t=0;t<u;t++)o[t].type==="text_special"&&(o[t].type="text"),o[t].children&&ur(o[t].children);for(t=n=0;t<u;t++)o[t].type==="text"&&t+1<u&&o[t+1].type==="text"?o[t+1].content=o[t].content+o[t+1].content:(t!==n&&(o[n]=o[t]),n++);t!==n&&(o.length=n)}}var De=[["normalize",Un],["block",qn],["strip_references",Zn],["inline",Wn],["linkify",Hn],["replacements",tr],["smartquotes",or],["text_join",cr]],Ct=class{constructor(){R(this,"ruler",new te),R(this,"State",xt);for(let e=0;e<De.length;e++)this.ruler.push(De[e][0],De[e][1])}process(e){let t=this.ruler.getRules("");for(let n=0,i=t.length;n<i;n++)t[n](e)}},Dt=class{constructor(e,t,n,i){R(this,"bMarks",[]),R(this,"eMarks",[]),R(this,"tShift",[]),R(this,"sCount",[]),R(this,"bsCount",[]),R(this,"blkIndent",0),R(this,"line",0),R(this,"lineMax",0),R(this,"tight",!1),R(this,"listIndent",-1),R(this,"parentType","root"),R(this,"level",0),R(this,"Token",Z),this.src=e,this.md=t,this.env=n,this.tokens=i;let r=this.src;for(let s=0,o=0,u=0,c=0,a=r.length,f=!1;o<a;o++){let h=r.charCodeAt(o);if(!f)if(E(h)){u++,h===9?c+=4-c%4:c++;continue}else f=!0;(h===10||o===a-1)&&(h!==10&&o++,this.bMarks.push(s),this.eMarks.push(o),this.tShift.push(u),this.sCount.push(c),this.bsCount.push(0),f=!1,u=0,c=0,s=o+1)}this.bMarks.push(r.length),this.eMarks.push(r.length),this.tShift.push(0),this.sCount.push(0),this.bsCount.push(0),this.lineMax=this.bMarks.length-1}push(e,t,n){let i=new Z(e,t,n);return i.block=!0,n<0&&this.level--,i.level=this.level,n>0&&this.level++,this.tokens.push(i),i}isEmpty(e){return this.bMarks[e]+this.tShift[e]>=this.eMarks[e]}skipEmptyLines(e){for(let t=this.lineMax;e<t&&!(this.bMarks[e]+this.tShift[e]<this.eMarks[e]);e++);return e}skipSpaces(e){for(let t=this.src.length;e<t&&E(this.src.charCodeAt(e));e++);return e}skipSpacesBack(e,t){if(e<=t)return e;for(;e>t;)if(!E(this.src.charCodeAt(--e)))return e+1;return e}skipChars(e,t){for(let n=this.src.length;e<n&&this.src.charCodeAt(e)===t;e++);return e}skipCharsBack(e,t,n){if(e<=n)return e;for(;e>n;)if(t!==this.src.charCodeAt(--e))return e+1;return e}getLines(e,t,n,i){if(e>=t)return"";let r=new Array(t-e);for(let s=0,o=e;o<t;o++,s++){let u=0,c=this.bMarks[o],a=c,f;for(o+1<t||i?f=this.eMarks[o]+1:f=this.eMarks[o];a<f&&u<n;){let h=this.src.charCodeAt(a);if(E(h))h===9?u+=4-(u+this.bsCount[o])%4:u++;else if(a-c<this.tShift[o])u++;else break;a++}u>n?r[s]=new Array(u-n+1).join(" ")+this.src.slice(a,f):r[s]=this.src.slice(a,f)}return r.join("")}},ar=65536;function ve(e,t){let n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t];return e.src.slice(n,i)}function ct(e){let t=[],n=e.length,i=0,r=e.charCodeAt(i),s=!1,o=0,u="";for(;i<n;)r===124&&(s?(u+=e.substring(o,i-1),o=i):(t.push(u+e.substring(o,i)),u="",o=i+1)),s=r===92,i++,r=e.charCodeAt(i);return t.push(u+e.substring(o)),t}function lr(e,t,n,i){if(t+2>n)return!1;let r=t+1;if(e.sCount[r]<e.blkIndent||e.sCount[r]-e.blkIndent>=4)return!1;let s=e.bMarks[r]+e.tShift[r];if(s>=e.eMarks[r])return!1;let o=e.src.charCodeAt(s++);if(o!==124&&o!==45&&o!==58||s>=e.eMarks[r])return!1;let u=e.src.charCodeAt(s++);if(u!==124&&u!==45&&u!==58&&!E(u)||o===45&&E(u))return!1;for(;s<e.eMarks[r];){let m=e.src.charCodeAt(s);if(m!==124&&m!==45&&m!==58&&!E(m))return!1;s++}let c=ve(e,t+1),a=c.split("|"),f=[];for(let m=0;m<a.length;m++){let g=a[m].trim();if(!g){if(m===0||m===a.length-1)continue;return!1}if(!/^:?-+:?$/.test(g))return!1;g.charCodeAt(g.length-1)===58?f.push(g.charCodeAt(0)===58?"center":"right"):g.charCodeAt(0)===58?f.push("left"):f.push("")}if(c=ve(e,t).trim(),c.indexOf("|")===-1||e.sCount[t]-e.blkIndent>=4)return!1;a=ct(c),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop();let h=a.length;if(h===0||h!==f.length)return!1;if(i)return!0;let p=e.parentType;e.parentType="table";let d=e.md.block.ruler.getRules("blockquote"),l=e.push("table_open","table",1),b=[t,0];l.map=b;let _=e.push("thead_open","thead",1);_.map=[t,t+1];let x=e.push("tr_open","tr",1);x.map=[t,t+1];for(let m=0;m<a.length;m++){let g=e.push("th_open","th",1);f[m]&&(g.attrs=[["style",`text-align:${f[m]}`]]);let D=e.push("inline","",0);D.content=a[m].trim(),D.children=[],e.push("th_close","th",-1)}e.push("tr_close","tr",-1),e.push("thead_close","thead",-1);let C,k=0;for(r=t+2;r<n&&!(e.sCount[r]<e.blkIndent);r++){let m=!1;for(let D=0,w=d.length;D<w;D++)if(d[D](e,r,n,!0)){m=!0;break}if(m||(c=ve(e,r).trim(),!c)||e.sCount[r]-e.blkIndent>=4||(a=ct(c),a.length&&a[0]===""&&a.shift(),a.length&&a[a.length-1]===""&&a.pop(),k+=h-a.length,k>ar))break;if(r===t+2){let D=e.push("tbody_open","tbody",1);D.map=C=[t+2,0]}let g=e.push("tr_open","tr",1);g.map=[r,r+1];for(let D=0;D<h;D++){let w=e.push("td_open","td",1);f[D]&&(w.attrs=[["style",`text-align:${f[D]}`]]);let F=e.push("inline","",0);F.content=a[D]?a[D].trim():"",F.children=[],e.push("td_close","td",-1)}e.push("tr_close","tr",-1)}return C&&(e.push("tbody_close","tbody",-1),C[1]=r),e.push("table_close","table",-1),b[1]=r,e.parentType=p,e.line=r,!0}function hr(e,t,n){if(e.sCount[t]-e.blkIndent<4)return!1;let i=t+1,r=i;for(;i<n;){if(e.isEmpty(i)){i++;continue}if(e.sCount[i]-e.blkIndent>=4){i++,r=i;continue}break}e.line=r;let s=e.push("code_block","code",0);return s.content=e.getLines(t,r,4+e.blkIndent,!1)+`
|
|
175
|
+
`,s.map=[t,e.line],!0}function fr(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||r+3>s)return!1;let o=e.src.charCodeAt(r);if(o!==126&&o!==96)return!1;let u=r;r=e.skipChars(r,o);let c=r-u;if(c<3)return!1;let a=e.src.slice(u,r),f=e.src.slice(r,s);if(o===96&&f.indexOf(String.fromCharCode(o))>=0)return!1;if(i)return!0;let h=t,p=!1;for(;h++,!(h>=n||(r=u=e.bMarks[h]+e.tShift[h],s=e.eMarks[h],r<s&&e.sCount[h]<e.blkIndent));)if(e.src.charCodeAt(r)===o&&!(e.sCount[h]-e.blkIndent>=4)&&(r=e.skipChars(r,o),!(r-u<c)&&(r=e.skipSpaces(r),!(r<s)))){p=!0;break}c=e.sCount[t],e.line=h+(p?1:0);let d=e.push("fence","code",0);return d.info=f,d.content=e.getLines(t+1,h,c,!0),d.markup=a,d.map=[t,e.line],!0}function dr(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],o=e.lineMax;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==62)return!1;if(i)return!0;let u=[],c=[],a=[],f=[],h=e.md.block.ruler.getRules("blockquote"),p=e.parentType;e.parentType="blockquote";let d=!1,l;for(l=t;l<n;l++){let k=e.sCount[l]<e.blkIndent;if(r=e.bMarks[l]+e.tShift[l],s=e.eMarks[l],r>=s)break;if(e.src.charCodeAt(r++)===62&&!k){let g=e.sCount[l]+1,D,w;e.src.charCodeAt(r)===32?(r++,g++,w=!1,D=!0):e.src.charCodeAt(r)===9?(D=!0,(e.bsCount[l]+g)%4===3?(r++,g++,w=!1):w=!0):D=!1;let F=g;for(u.push(e.bMarks[l]),e.bMarks[l]=r;r<s;){let v=e.src.charCodeAt(r);if(E(v))v===9?F+=4-(F+e.bsCount[l]+(w?1:0))%4:F++;else break;r++}d=r>=s,c.push(e.bsCount[l]),e.bsCount[l]=e.sCount[l]+1+(D?1:0),a.push(e.sCount[l]),e.sCount[l]=F-g,f.push(e.tShift[l]),e.tShift[l]=r-e.bMarks[l];continue}if(d)break;let m=!1;for(let g=0,D=h.length;g<D;g++)if(h[g](e,l,n,!0)){m=!0;break}if(m){e.lineMax=l,e.blkIndent!==0&&(u.push(e.bMarks[l]),c.push(e.bsCount[l]),f.push(e.tShift[l]),a.push(e.sCount[l]),e.sCount[l]-=e.blkIndent);break}u.push(e.bMarks[l]),c.push(e.bsCount[l]),f.push(e.tShift[l]),a.push(e.sCount[l]),e.sCount[l]=-1}let b=e.blkIndent;e.blkIndent=0;let _=e.push("blockquote_open","blockquote",1);_.markup=">";let x=[t,0];_.map=x,e.md.block.tokenize(e,t,l);let C=e.push("blockquote_close","blockquote",-1);C.markup=">",e.lineMax=o,e.parentType=p,x[1]=e.line;for(let k=0;k<f.length;k++)e.bMarks[k+t]=u[k],e.tShift[k+t]=f[k],e.sCount[k+t]=a[k],e.bsCount[k+t]=c[k];return e.blkIndent=b,!0}function pr(e,t,n,i){let r=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let s=e.bMarks[t]+e.tShift[t],o=e.src.charCodeAt(s++);if(o!==42&&o!==45&&o!==95)return!1;let u=1;for(;s<r;){let a=e.src.charCodeAt(s++);if(a!==o&&!E(a))return!1;a===o&&u++}if(u<3)return!1;if(i)return!0;e.line=t+1;let c=e.push("hr","hr",0);return c.map=[t,e.line],c.markup=Array(u+1).join(String.fromCharCode(o)),!0}function at(e,t){let n=e.eMarks[t],i=e.bMarks[t]+e.tShift[t],r=e.src.charCodeAt(i++);return r!==42&&r!==45&&r!==43||i<n&&!E(e.src.charCodeAt(i))?-1:i}function lt(e,t){let n=e.bMarks[t]+e.tShift[t],i=e.eMarks[t],r=n;if(r+1>=i)return-1;let s=e.src.charCodeAt(r++);if(s<48||s>57)return-1;for(;;){if(r>=i)return-1;if(s=e.src.charCodeAt(r++),s>=48&&s<=57){if(r-n>=10)return-1;continue}if(s===41||s===46)break;return-1}return r<i&&(s=e.src.charCodeAt(r),!E(s))?-1:r}function mr(e,t){let n=e.level+2;for(let i=t+2,r=e.tokens.length-2;i<r;i++)e.tokens[i].level===n&&e.tokens[i].type==="paragraph_open"&&(e.tokens[i+2].hidden=!0,e.tokens[i].hidden=!0,i+=2)}function _r(e,t,n,i){let r,s,o,u,c=t,a=!0;if(e.sCount[c]-e.blkIndent>=4||e.listIndent>=0&&e.sCount[c]-e.listIndent>=4&&e.sCount[c]<e.blkIndent)return!1;let f=!1;i&&e.parentType==="paragraph"&&e.sCount[c]>=e.blkIndent&&(f=!0);let h,p,d;if((d=lt(e,c))>=0){if(h=!0,o=e.bMarks[c]+e.tShift[c],p=Number(e.src.slice(o,d-1)),f&&p!==1)return!1}else if((d=at(e,c))>=0)h=!1;else return!1;if(f&&e.skipSpaces(d)>=e.eMarks[c])return!1;if(i)return!0;let l=e.src.charCodeAt(d-1),b=e.tokens.length;h?(u=e.push("ordered_list_open","ol",1),p!==1&&(u.attrs=[["start",p]])):u=e.push("bullet_list_open","ul",1);let _=[c,0];u.map=_,u.markup=String.fromCharCode(l);let x=!1,C=e.md.block.ruler.getRules("list"),k=e.parentType;for(e.parentType="list";c<n;){s=d,r=e.eMarks[c];let m=e.sCount[c]+d-(e.bMarks[c]+e.tShift[c]),g=m;for(;s<r;){let S=e.src.charCodeAt(s);if(S===9)g+=4-(g+e.bsCount[c])%4;else if(S===32)g++;else break;s++}let D=s,w;D>=r?w=1:w=g-m,w>4&&(w=1);let F=m+w;u=e.push("list_item_open","li",1),u.markup=String.fromCharCode(l);let v=[c,0];u.map=v,h&&(u.info=e.src.slice(o,d-1));let y=e.tight,A=e.tShift[c],B=e.sCount[c],M=e.listIndent;if(e.listIndent=e.blkIndent,e.blkIndent=F,e.tight=!0,e.tShift[c]=D-e.bMarks[c],e.sCount[c]=g,D>=r&&e.isEmpty(c+1)?e.line=Math.min(e.line+2,n):e.md.block.tokenize(e,c,n),(!e.tight||x)&&(a=!1),x=e.line-c>1&&e.isEmpty(e.line-1),e.blkIndent=e.listIndent,e.listIndent=M,e.tShift[c]=A,e.sCount[c]=B,e.tight=y,u=e.push("list_item_close","li",-1),u.markup=String.fromCharCode(l),c=e.line,v[1]=c,c>=n||e.sCount[c]<e.blkIndent||e.sCount[c]-e.blkIndent>=4)break;let z=!1;for(let S=0,Mt=C.length;S<Mt;S++)if(C[S](e,c,n,!0)){z=!0;break}if(z)break;if(h){if(d=lt(e,c),d<0)break;o=e.bMarks[c]+e.tShift[c]}else if(d=at(e,c),d<0)break;if(l!==e.src.charCodeAt(d-1))break}return h?u=e.push("ordered_list_close","ol",-1):u=e.push("bullet_list_close","ul",-1),u.markup=String.fromCharCode(l),_[1]=c,e.line=c,e.parentType=k,a&&mr(e,b),!0}function gr(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t],o=t+1;if(e.sCount[t]-e.blkIndent>=4||e.src.charCodeAt(r)!==91)return!1;function u(m){let g=e.lineMax;if(m>=g||e.isEmpty(m))return null;let D=!1;if(e.sCount[m]-e.blkIndent>3&&(D=!0),e.sCount[m]<0&&(D=!0),!D){let v=e.md.block.ruler.getRules("reference"),y=e.parentType;e.parentType="reference";let A=!1;for(let B=0,M=v.length;B<M;B++)if(v[B](e,m,g,!0)){A=!0;break}if(e.parentType=y,A)return null}let w=e.bMarks[m]+e.tShift[m],F=e.eMarks[m];return e.src.slice(w,F+1)}let c=e.src.slice(r,s+1);s=c.length;let a=-1;for(r=1;r<s;r++){let m=c.charCodeAt(r);if(m===91)return!1;if(m===93){a=r;break}else if(m===10){let g=u(o);g!==null&&(c+=g,s=c.length,o++)}else if(m===92&&(r++,r<s&&c.charCodeAt(r)===10)){let g=u(o);g!==null&&(c+=g,s=c.length,o++)}}if(a<0||c.charCodeAt(a+1)!==58)return!1;for(r=a+2;r<s;r++){let m=c.charCodeAt(r);if(m===10){let g=u(o);g!==null&&(c+=g,s=c.length,o++)}else if(!E(m))break}let f=e.md.helpers.parseLinkDestination(c,r,s);if(!f.ok)return!1;let h=e.md.normalizeLink(f.str);if(!e.md.validateLink(h))return!1;r=f.pos;let p=r,d=o,l=r;for(;r<s;r++){let m=c.charCodeAt(r);if(m===10){let g=u(o);g!==null&&(c+=g,s=c.length,o++)}else if(!E(m))break}let b=e.md.helpers.parseLinkTitle(c,r,s);for(;b.can_continue;){let m=u(o);if(m===null)break;c+=m,r=s,s=c.length,o++,b=e.md.helpers.parseLinkTitle(c,r,s,b)}let _;for(r<s&&l!==r&&b.ok?(_=b.str,r=b.pos):(_="",r=p,o=d);r<s&&E(c.charCodeAt(r));)r++;if(r<s&&c.charCodeAt(r)!==10&&_)for(_="",r=p,o=d;r<s&&E(c.charCodeAt(r));)r++;if(r<s&&c.charCodeAt(r)!==10)return!1;let x=ae(c.slice(1,a));if(!x)return!1;if(i)return!0;typeof e.env.references>"u"&&(e.env.references={}),typeof e.env.references[x]>"u"&&(e.env.references[x]={title:_,href:h});let C=e.push("reference_definition","",0);C.map=[t,o],C.hidden=!0;let k=Object.create(null);return k.label=x,C.meta=k,e.line=o,!0}var kr=["address","article","aside","base","basefont","blockquote","body","caption","center","col","colgroup","dd","details","dialog","dir","div","dl","dt","fieldset","figcaption","figure","footer","form","frame","frameset","h1","h2","h3","h4","h5","h6","head","header","hr","html","iframe","legend","li","link","main","menu","menuitem","nav","noframes","ol","optgroup","option","p","param","search","section","summary","table","tbody","td","tfoot","th","thead","title","tr","track","ul"],vt=`<[A-Za-z][A-Za-z0-9\\-]*(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*\\/?>`,At="<\\/[A-Za-z][A-Za-z0-9\\-]*\\s*>",Rr=new RegExp(`^(?:${vt}|${At}|<!---?>|<!--(?:[^-]|-[^-]|--[^>])*-->|<[?][\\s\\S]*?[?]>|<![A-Za-z][^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`),xr=new RegExp(`^(?:${vt}|${At})`),q=[[/^<(script|pre|style|textarea)(?=(\s|>|$))/i,/<\/(script|pre|style|textarea)>/i,!0],[/^<!--/,/-->/,!0],[/^<\?/,/\?>/,!0],[/^<![A-Za-z]/,/>/,!0],[/^<!\[CDATA\[/,/\]\]>/,!0],[new RegExp(`^</?(${kr.join("|")})(?=(\\s|/?>|$))`,"i"),/^$/,!0],[new RegExp(`${xr.source}\\s*$`),/^$/,!1]];function br(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4||!e.md.options.html||e.src.charCodeAt(r)!==60)return!1;let o=e.src.slice(r,s),u=0;for(;u<q.length&&!q[u][0].test(o);u++);if(u===q.length)return!1;if(i)return q[u][2];let c=t+1,a=q[u][1].test("");if(!q[u][1].test(o)){for(;c<n&&!(e.sCount[c]<e.blkIndent&&(a||!e.isEmpty(c)));c++)if(r=e.bMarks[c]+e.tShift[c],s=e.eMarks[c],o=e.src.slice(r,s),q[u][1].test(o)){o.length!==0&&c++;break}}e.line=c;let f=e.push("html_block","",0);return f.map=[t,c],f.content=e.getLines(t,c,e.blkIndent,!0),!0}function Cr(e,t,n,i){let r=e.bMarks[t]+e.tShift[t],s=e.eMarks[t];if(e.sCount[t]-e.blkIndent>=4)return!1;let o=e.src.charCodeAt(r);if(o!==35||r>=s)return!1;let u=1;for(o=e.src.charCodeAt(++r);o===35&&r<s&&u<=6;)u++,o=e.src.charCodeAt(++r);if(u>6||r<s&&!E(o))return!1;if(i)return!0;s=e.skipSpacesBack(s,r);let c=e.skipCharsBack(s,35,r);c>r&&E(e.src.charCodeAt(c-1))&&(s=c),e.line=t+1;let a=e.push("heading_open",`h${u}`,1);a.markup="########".slice(0,u),a.map=[t,e.line];let f=e.push("inline","",0);f.content=le(e.src.slice(r,s)),f.map=[t,e.line],f.children=[];let h=e.push("heading_close",`h${u}`,-1);return h.markup="########".slice(0,u),!0}function Dr(e,t,n){let i=e.md.block.ruler.getRules("paragraph");if(e.sCount[t]-e.blkIndent>=4)return!1;let r=e.parentType;e.parentType="paragraph";let s=0,o,u=t+1;for(;u<n&&!e.isEmpty(u);u++){if(e.sCount[u]-e.blkIndent>3)continue;if(e.sCount[u]>=e.blkIndent){let d=e.bMarks[u]+e.tShift[u],l=e.eMarks[u];if(d<l&&(o=e.src.charCodeAt(d),(o===45||o===61)&&(d=e.skipChars(d,o),d=e.skipSpaces(d),d>=l))){s=o===61?1:2;break}}if(e.sCount[u]<0)continue;let p=!1;for(let d=0,l=i.length;d<l;d++)if(i[d](e,u,n,!0)){p=!0;break}if(p)break}if(!s)return e.parentType=r,!1;let c=le(e.getLines(t,u,e.blkIndent,!1));e.line=u+1;let a=e.push("heading_open",`h${s}`,1);a.markup=String.fromCharCode(o),a.map=[t,e.line];let f=e.push("inline","",0);f.content=c,f.map=[t,e.line-1],f.children=[];let h=e.push("heading_close",`h${s}`,-1);return h.markup=String.fromCharCode(o),e.parentType=r,!0}function vr(e,t,n){let i=e.md.block.ruler.getRules("paragraph"),r=e.parentType,s=t+1;for(e.parentType="paragraph";s<n&&!e.isEmpty(s);s++){if(e.sCount[s]-e.blkIndent>3||e.sCount[s]<0)continue;let a=!1;for(let f=0,h=i.length;f<h;f++)if(i[f](e,s,n,!0)){a=!0;break}if(a)break}let o=le(e.getLines(t,s,e.blkIndent,!1));e.line=s;let u=e.push("paragraph_open","p",1);u.map=[t,e.line];let c=e.push("inline","",0);return c.content=o,c.map=[t,e.line],c.children=[],e.push("paragraph_close","p",-1),e.parentType=r,!0}var ce=[["table",lr,["paragraph","reference"]],["code",hr],["fence",fr,["paragraph","reference","blockquote","list"]],["blockquote",dr,["paragraph","reference","blockquote","list"]],["hr",pr,["paragraph","reference","blockquote","list"]],["list",_r,["paragraph","reference","blockquote"]],["reference",gr],["html_block",br,["paragraph","reference","blockquote"]],["heading",Cr,["paragraph","reference","blockquote"]],["lheading",Dr],["paragraph",vr]],wt=class{constructor(){R(this,"ruler",new te),R(this,"State",Dt);for(let e=0;e<ce.length;e++)this.ruler.push(ce[e][0],ce[e][1],{alt:(ce[e][2]||[]).slice()})}tokenize(e,t,n){let i=this.ruler.getRules(""),r=i.length,s=e.md.options.maxNesting,o=t,u=!1;for(;o<n&&(e.line=o=e.skipEmptyLines(o),!(o>=n||e.sCount[o]<e.blkIndent));){if(e.level>=s){e.line=n;break}let c=e.line,a=!1;for(let f=0;f<r;f++)if(a=i[f](e,o,n,!1),a){if(c>=e.line)throw new Error("block rule didn't increment state.line");break}if(!a)throw new Error("none of the block rules matched");e.tight=!u,e.isEmpty(e.line-1)&&(u=!0),o=e.line,o<n&&e.isEmpty(o)&&(u=!0,o++,e.line=o)}}parse(e,t,n,i){if(!e)return;let r=new this.State(e,t,n,i);this.tokenize(r,r.line,r.lineMax)}},Et=class{constructor(e,t,n,i){R(this,"pos",0),R(this,"level",0),R(this,"pending",""),R(this,"pendingLevel",0),R(this,"cache",{}),R(this,"backticks",{}),R(this,"backticksScanned",!1),R(this,"linkLevel",0),R(this,"delimiters",[]),R(this,"_prev_delimiters",[]),R(this,"Token",Z),this.src=e,this.env=n,this.md=t,this.tokens=i,this.tokens_meta=Array(i.length),this.posMax=this.src.length}pushPending(){let e=new Z("text","",0);return e.content=this.pending,e.level=this.pendingLevel,this.tokens.push(e),this.pending="",e}push(e,t,n){this.pending&&this.pushPending();let i=new Z(e,t,n),r;return n<0&&(this.level--,this.delimiters=this._prev_delimiters.pop()),i.level=this.level,n>0&&(this.level++,this._prev_delimiters.push(this.delimiters),this.delimiters=[],r={delimiters:this.delimiters}),this.pendingLevel=this.level,this.tokens.push(i),this.tokens_meta.push(r),i}scanDelims(e,t){let n=this.posMax,i=this.src.charCodeAt(e),r;if(e===0)r=32;else if(e===1)r=this.src.charCodeAt(0),(r&63488)===55296&&(r=65533);else if(r=this.src.charCodeAt(e-1),(r&64512)===56320){let l=this.src.charCodeAt(e-2);r=(l&64512)===55296?65536+(l-55296<<10)+(r-56320):65533}else(r&64512)===55296&&(r=65533);let s=e;for(;s<n&&this.src.charCodeAt(s)===i;)s++;let o=s-e,u=s<n?this.src.charCodeAt(s):32;if((u&64512)===55296){let l=this.src.charCodeAt(s+1);u=(l&64512)===56320?65536+(u-55296<<10)+(l-56320):65533}else(u&64512)===56320&&(u=65533);let c=Q(r)||V(r),a=Q(u)||V(u),f=K(r),h=K(u),p=!h&&(!a||f||c),d=!f&&(!c||h||a);return{can_open:p&&(t||!d||c),can_close:d&&(t||!p||a),length:o}}};function Ar(e){switch(e){case 10:case 33:case 35:case 36:case 37:case 38:case 42:case 43:case 45:case 58:case 60:case 61:case 62:case 64:case 91:case 92:case 93:case 94:case 95:case 96:case 123:case 125:case 126:return!0;default:return!1}}function wr(e,t){let n=e.pos;for(;n<e.posMax&&!Ar(e.src.charCodeAt(n));)n++;return n===e.pos?!1:(t||(e.pending+=e.src.slice(e.pos,n)),e.pos=n,!0)}function Er(e){return e>=65&&e<=90||e>=97&&e<=122}function Fr(e){return e>=65&&e<=90||e>=97&&e<=122||e>=48&&e<=57||e===43||e===45||e===46}function yr(e,t){if(!e.md.options.linkify||e.linkLevel>0)return!1;let n=e.pos,i=e.posMax;if(n+3>i||e.src.charCodeAt(n)!==58||e.src.charCodeAt(n+1)!==47||e.src.charCodeAt(n+2)!==47)return!1;let r=n-Math.min(10,e.pending.length,n),s=n;for(;s>r&&Fr(e.src.charCodeAt(s-1));)s--;if(s===n||!Er(e.src.charCodeAt(s)))return!1;let o=n-s,u=e.md.linkify.matchAtStart(e.src.slice(s));if(!u)return!1;let c=u.url;if(c.length<=o)return!1;let a=c.length;for(;a>0&&c.charCodeAt(a-1)===42;)a--;a!==c.length&&(c=c.slice(0,a));let f=e.md.normalizeLink(c);if(!e.md.validateLink(f))return!1;if(!t){e.pending=e.pending.slice(0,-o);let h=e.push("link_open","a",1);h.attrs=[["href",f]],h.markup="linkify",h.info="auto";let p=e.push("text","",0);p.content=e.md.normalizeLinkText(c);let d=e.push("link_close","a",-1);d.markup="linkify",d.info="auto"}return e.pos+=c.length-o,!0}function Br(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==10)return!1;let i=e.pending.length-1,r=e.posMax;if(!t)if(i>=0&&e.pending.charCodeAt(i)===32)if(i>=1&&e.pending.charCodeAt(i-1)===32){let s=i-1;for(;s>=1&&e.pending.charCodeAt(s-1)===32;)s--;e.pending=e.pending.slice(0,s),e.push("hardbreak","br",0)}else e.pending=e.pending.slice(0,-1),e.push("softbreak","br",0);else e.push("softbreak","br",0);for(n++;n<r&&E(e.src.charCodeAt(n));)n++;return e.pos=n,!0}var Fe=[];for(let e=0;e<256;e++)Fe.push(0);"\\!\"#$%&'()*+,./:;<=>?@[]^_`{|}~-".split("").forEach(function(e){Fe[e.charCodeAt(0)]=1});function Tr(e,t){let n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==92||(n++,n>=i))return!1;let r=e.src.charCodeAt(n);if(r===10){for(t||e.push("hardbreak","br",0),n++;n<i&&(r=e.src.charCodeAt(n),!!E(r));)n++;return e.pos=n,!0}if(r===32){if(!t){let u=e.push("text_special","",0);u.content="\\",u.markup="\\",u.info="escape"}return e.pos=n,!0}let s=e.src[n];if(r>=55296&&r<=56319&&n+1<i){let u=e.src.charCodeAt(n+1);u>=56320&&u<=57343&&(s+=e.src[n+1],n++)}let o="\\"+s;if(!t){let u=e.push("text_special","",0);r<256&&Fe[r]!==0?u.content=s:u.content=o,u.markup=o,u.info="escape"}return e.pos=n+1,!0}function Ir(e){let t={},n=0;for(;(n=e.indexOf("`",n))!==-1;){let i=n;for(;e.charCodeAt(++n)===96;);t[n-i]=i}return t}function Sr(e,t){var n;let i=e.pos;if(e.src.charCodeAt(i)!==96)return!1;let r=e.posMax,s=i+1;for(;s<r&&e.src.charCodeAt(s)===96;)s++;let o=e.src.slice(i,s),u=o.length;if(e.backticksScanned||(e.backticks=Ir(e.src),e.backticksScanned=!0),((n=e.backticks[u])!==null&&n!==void 0?n:-1)>=s){let c=s,a;for(;(a=e.src.indexOf("`",c))!==-1&&a<r;){for(c=a+1;e.src.charCodeAt(c)===96;)c++;if(c>r)break;if(c-a===u){if(!t){let f=e.push("code_inline","code",0);f.markup=o;let h=e.src.slice(s,a).replace(/\n/g," ");h.startsWith(" ")&&h.endsWith(" ")&&/[^ ]/.test(h)&&(h=h.slice(1,-1)),f.content=h}return e.pos=c,!0}}}return t||(e.pending+=o),e.pos=s,!0}function Mr(e,t){let n=e.pos,i=e.src.charCodeAt(n);if(t||i!==126)return!1;let r=e.scanDelims(e.pos,!0),s=r.length,o=String.fromCharCode(i);if(s<2)return!1;let u;s%2&&(u=e.push("text","",0),u.content=o,s--);for(let c=0;c<s;c+=2)u=e.push("text","",0),u.content=o+o,e.delimiters.push({marker:i,length:0,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close});return e.pos+=r.length,!0}function ht(e,t){let n,i=[],r=t.length;for(let s=0;s<r;s++){let o=t[s];if(o.marker!==126||o.end===-1)continue;let u=t[o.end];n=e.tokens[o.token],n.type="s_open",n.tag="s",n.nesting=1,n.markup="~~",n.content="",n=e.tokens[u.token],n.type="s_close",n.tag="s",n.nesting=-1,n.markup="~~",n.content="",e.tokens[u.token-1].type==="text"&&e.tokens[u.token-1].content==="~"&&i.push(u.token-1)}for(;i.length;){let s=i.pop(),o=s+1;for(;o<e.tokens.length&&e.tokens[o].type==="s_close";)o++;o--,s!==o&&(n=e.tokens[o],e.tokens[o]=e.tokens[s],e.tokens[s]=n)}}function zr(e){let t=e.tokens_meta,n=e.tokens_meta.length;ht(e,e.delimiters);for(let r=0;r<n;r++){var i;let s=(i=t[r])===null||i===void 0?void 0:i.delimiters;s&&ht(e,s)}}var Ft={tokenize:Mr,postProcess:zr};function jr(e,t){let n=e.pos,i=e.src.charCodeAt(n);if(t||i!==95&&i!==42)return!1;let r=e.scanDelims(e.pos,i===42);for(let s=0;s<r.length;s++){let o=e.push("text","",0);o.content=String.fromCharCode(i),e.delimiters.push({marker:i,length:r.length,token:e.tokens.length-1,end:-1,open:r.can_open,close:r.can_close})}return e.pos+=r.length,!0}function ft(e,t){let n=t.length;for(let i=n-1;i>=0;i--){let r=t[i];if(r.marker!==95&&r.marker!==42||r.end===-1)continue;let s=t[r.end],o=i>0&&t[i-1].end===r.end+1&&t[i-1].marker===r.marker&&t[i-1].token===r.token-1&&t[r.end+1].token===s.token+1,u=String.fromCharCode(r.marker),c=e.tokens[r.token];c.type=o?"strong_open":"em_open",c.tag=o?"strong":"em",c.nesting=1,c.markup=o?u+u:u,c.content="";let a=e.tokens[s.token];a.type=o?"strong_close":"em_close",a.tag=o?"strong":"em",a.nesting=-1,a.markup=o?u+u:u,a.content="",o&&(e.tokens[t[i-1].token].content="",e.tokens[t[r.end+1].token].content="",i--)}}function Lr(e){let t=e.tokens_meta,n=e.tokens_meta.length;ft(e,e.delimiters);for(let r=0;r<n;r++){var i;let s=(i=t[r])===null||i===void 0?void 0:i.delimiters;s&&ft(e,s)}}var yt={tokenize:jr,postProcess:Lr};function Jr(e,t){let n,i,r,s,o="",u="",c=e.pos,a=!0;if(e.src.charCodeAt(e.pos)!==91)return!1;let f=e.pos,h=e.posMax,p=e.pos+1,d=e.md.helpers.parseLinkLabel(e,e.pos,!0);if(d<0)return!1;let l=d+1;if(l<h&&e.src.charCodeAt(l)===40){for(a=!1,l++;l<h&&(n=e.src.charCodeAt(l),!(!E(n)&&n!==10));l++);if(l>=h)return!1;if(c=l,r=e.md.helpers.parseLinkDestination(e.src,l,e.posMax),r.ok){for(o=e.md.normalizeLink(r.str),e.md.validateLink(o)?l=r.pos:o="",c=l;l<h&&(n=e.src.charCodeAt(l),!(!E(n)&&n!==10));l++);if(r=e.md.helpers.parseLinkTitle(e.src,l,e.posMax),l<h&&c!==l&&r.ok)for(u=r.str,l=r.pos;l<h&&(n=e.src.charCodeAt(l),!(!E(n)&&n!==10));l++);}(l>=h||e.src.charCodeAt(l)!==41)&&(a=!0),l++}if(a){if(typeof e.env.references>"u")return!1;if(l<h&&e.src.charCodeAt(l)===91?(c=l+1,l=e.md.helpers.parseLinkLabel(e,l),l>=0?i=e.src.slice(c,l++):l=d+1):l=d+1,i||(i=e.src.slice(p,d)),i=ae(i),s=e.env.references[i],!s)return e.pos=f,!1;o=s.href,u=s.title}if(!t){e.pos=p,e.posMax=d;let b=e.push("link_open","a",1),_=[["href",o]];if(b.attrs=_,u&&_.push(["title",u]),i){let x=Object.create(null);x.label=i,b.meta=x}e.linkLevel++,e.md.inline.tokenize(e),e.linkLevel--,e.push("link_close","a",-1)}return e.pos=l,e.posMax=h,!0}function Nr(e,t){let n,i,r,s,o,u,c,a,f="",h=e.pos,p=e.posMax;if(e.src.charCodeAt(e.pos)!==33||e.src.charCodeAt(e.pos+1)!==91)return!1;let d=e.pos+2,l=e.md.helpers.parseLinkLabel(e,e.pos+1,!1);if(l<0)return!1;if(s=l+1,s<p&&e.src.charCodeAt(s)===40){for(s++;s<p&&(n=e.src.charCodeAt(s),!(!E(n)&&n!==10));s++);if(s>=p)return!1;for(a=s,u=e.md.helpers.parseLinkDestination(e.src,s,e.posMax),u.ok&&(f=e.md.normalizeLink(u.str),e.md.validateLink(f)?s=u.pos:f=""),a=s;s<p&&(n=e.src.charCodeAt(s),!(!E(n)&&n!==10));s++);if(u=e.md.helpers.parseLinkTitle(e.src,s,e.posMax),s<p&&a!==s&&u.ok)for(c=u.str,s=u.pos;s<p&&(n=e.src.charCodeAt(s),!(!E(n)&&n!==10));s++);else c="";if(s>=p||e.src.charCodeAt(s)!==41)return e.pos=h,!1;s++}else{if(typeof e.env.references>"u")return!1;if(s<p&&e.src.charCodeAt(s)===91?(a=s+1,s=e.md.helpers.parseLinkLabel(e,s),s>=0?r=e.src.slice(a,s++):s=l+1):s=l+1,r||(r=e.src.slice(d,l)),r=ae(r),o=e.env.references[r],!o)return e.pos=h,!1;f=o.href,c=o.title}if(!t){i=e.src.slice(d,l);let b=[];e.md.inline.parse(i,e.md,e.env,b);let _=e.push("image","img",0),x=[["src",f],["alt",""]];if(_.attrs=x,_.children=b,_.content=i,c&&x.push(["title",c]),r){let C=Object.create(null);C.label=r,_.meta=C}}return e.pos=s,e.posMax=p,!0}var Pr=/^([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)$/,Or=/^([a-zA-Z][a-zA-Z0-9+.-]{1,31}):([^<>\x00-\x20]*)$/;function Ur(e,t){let n=e.pos;if(e.src.charCodeAt(n)!==60)return!1;let i=e.pos,r=e.posMax;for(;;){if(++n>=r)return!1;let o=e.src.charCodeAt(n);if(o===60)return!1;if(o===62)break}let s=e.src.slice(i+1,n);if(Or.test(s)){let o=e.md.normalizeLink(s);if(!e.md.validateLink(o))return!1;if(!t){let u=e.push("link_open","a",1);u.attrs=[["href",o]],u.markup="autolink",u.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(s);let a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=s.length+2,!0}if(Pr.test(s)){let o=e.md.normalizeLink(`mailto:${s}`);if(!e.md.validateLink(o))return!1;if(!t){let u=e.push("link_open","a",1);u.attrs=[["href",o]],u.markup="autolink",u.info="auto";let c=e.push("text","",0);c.content=e.md.normalizeLinkText(s);let a=e.push("link_close","a",-1);a.markup="autolink",a.info="auto"}return e.pos+=s.length+2,!0}return!1}function qr(e){return/^<a[>\s]/i.test(e)}function Zr(e){return/^<\/a\s*>/i.test(e)}function Wr(e){let t=e|32;return t>=97&&t<=122}function $r(e,t){if(!e.md.options.html)return!1;let n=e.posMax,i=e.pos;if(e.src.charCodeAt(i)!==60||i+2>=n)return!1;let r=e.src.charCodeAt(i+1);if(r!==33&&r!==63&&r!==47&&!Wr(r))return!1;let s=e.src.slice(i).match(Rr);if(!s)return!1;if(!t){let o=e.push("html_inline","",0);o.content=s[0],qr(o.content)&&e.linkLevel++,Zr(o.content)&&e.linkLevel--}return e.pos+=s[0].length,!0}var Xr=/^&#((?:x[a-f0-9]{1,6}|[0-9]{1,7}));/i,Hr=/^&([a-z][a-z0-9]{1,31});/i;function Yr(e,t){let n=e.pos,i=e.posMax;if(e.src.charCodeAt(n)!==38||n+1>=i)return!1;if(e.src.charCodeAt(n+1)===35){let r=e.src.slice(n).match(Xr);if(r){if(!t){let s=r[1][0].toLowerCase()==="x"?parseInt(r[1].slice(1),16):parseInt(r[1],10),o=e.push("text_special","",0);o.content=Ee(s)?G(s):G(65533),o.markup=r[0],o.info="entity"}return e.pos+=r[0].length,!0}}else{let r=e.src.slice(n).match(Hr);if(r){let s=oe(r[0]);if(s!==r[0]){if(!t){let o=e.push("text_special","",0);o.content=s,o.markup=r[0],o.info="entity"}return e.pos+=r[0].length,!0}}}return!1}function dt(e){let t={},n=e.length;if(!n)return;let i=0,r=-2,s=[];for(let o=0;o<n;o++){let u=e[o];if(s.push(0),(e[i].marker!==u.marker||r!==u.token-1)&&(i=o),r=u.token,u.length=u.length||0,!u.close)continue;t.hasOwnProperty(u.marker)||(t[u.marker]=[-1,-1,-1,-1,-1,-1]);let c=t[u.marker][(u.open?3:0)+u.length%3],a=i-s[i]-1,f=a;for(;a>c;a-=s[a]+1){let h=e[a];if(h.marker===u.marker&&h.open&&h.end<0){let p=!1;if((h.close||u.open)&&(h.length+u.length)%3===0&&(h.length%3!==0||u.length%3!==0)&&(p=!0),!p){let d=a>0&&!e[a-1].open?s[a-1]+1:0;s[o]=o-a+d,s[a]=d,u.open=!1,h.end=o,h.close=!1,f=-1,r=-2;break}}}f!==-1&&(t[u.marker][(u.open?3:0)+(u.length||0)%3]=f)}}function Gr(e){let t=e.tokens_meta,n=e.tokens_meta.length;dt(e.delimiters);for(let r=0;r<n;r++){var i;let s=(i=t[r])===null||i===void 0?void 0:i.delimiters;s&&dt(s)}}function Kr(e){let t,n,i=0,r=e.tokens,s=e.tokens.length;for(t=n=0;t<s;t++)r[t].nesting<0&&i--,r[t].level=i,r[t].nesting>0&&i++,r[t].type==="text"&&t+1<s&&r[t+1].type==="text"?r[t+1].content=r[t].content+r[t+1].content:(t!==n&&(r[n]=r[t]),n++);t!==n&&(r.length=n)}var Ae=[["text",wr],["linkify",yr],["newline",Br],["escape",Tr],["backticks",Sr],["strikethrough",Ft.tokenize],["emphasis",yt.tokenize],["link",Jr],["image",Nr],["autolink",Ur],["html_inline",$r],["entity",Yr]],we=[["balance_pairs",Gr],["strikethrough",Ft.postProcess],["emphasis",yt.postProcess],["fragments_join",Kr]],Bt=class{constructor(){R(this,"ruler",new te),R(this,"ruler2",new te),R(this,"State",Et);for(let e=0;e<Ae.length;e++)this.ruler.push(Ae[e][0],Ae[e][1]);for(let e=0;e<we.length;e++)this.ruler2.push(we[e][0],we[e][1])}skipToken(e){let t=e.pos,n=this.ruler.getRules(""),i=n.length,r=e.md.options.maxNesting,s=e.cache;if(typeof s[t]<"u"){e.pos=s[t];return}let o=!1;if(e.level<r){for(let u=0;u<i;u++)if(e.level++,o=n[u](e,!0),e.level--,o){if(t>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}else e.pos=e.posMax;o||e.pos++,s[t]=e.pos}tokenize(e){let t=this.ruler.getRules(""),n=t.length,i=e.posMax,r=e.md.options.maxNesting;for(;e.pos<i;){let s=e.pos,o=!1;if(e.level<r){for(let u=0;u<n;u++)if(o=t[u](e,!1),o){if(s>=e.pos)throw new Error("inline rule didn't increment state.pos");break}}if(o){if(e.pos>=i)break;continue}e.pending+=e.src[e.pos++]}e.pending&&e.pushPending()}parse(e,t,n,i){let r=new this.State(e,t,n,i);this.tokenize(r);let s=this.ruler2.getRules(""),o=s.length;for(let u=0;u<o;u++)s[u](r)}},Vr={default:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:100},components:{core:{},block:{},inline:{}}},zero:{options:{html:!1,xhtmlOut:!1,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["paragraph"]},inline:{rules:["text"],rules2:["balance_pairs","fragments_join"]}}},commonmark:{options:{html:!0,xhtmlOut:!0,breaks:!1,langPrefix:"language-",linkify:!1,typographer:!1,quotes:"\u201C\u201D\u2018\u2019",highlight:null,maxNesting:20},components:{core:{rules:["normalize","block","strip_references","inline","text_join"]},block:{rules:["blockquote","code","fence","heading","hr","html_block","lheading","list","reference","paragraph"]},inline:{rules:["autolink","backticks","emphasis","entity","escape","html_inline","image","link","newline","text"],rules2:["balance_pairs","emphasis","fragments_join"]}}}},Qr=/^(vbscript|javascript|file|data):/,ei=/^data:image\/(gif|png|jpeg|webp);/,pt=["http:","https:","mailto:"],N=class{validateLink(e){let t=e.trim().toLowerCase();return Qr.test(t)?ei.test(t):!0}normalizeLink(e){let t=H(e,!0);if(t.hostname&&(!t.protocol||pt.indexOf(t.protocol)>=0))try{t.hostname=Ce.toASCII(t.hostname)}catch{}return t.auth&&(t.auth=P(t.auth)),t.hostname&&(t.hostname=P(t.hostname)),t.pathname&&(t.pathname=P(t.pathname)),t.search&&(t.search=P(t.search)),t.hash&&(t.hash=P(t.hash)),W(t)}normalizeLinkText(e){let t=H(e,!0);if(t.hostname&&(!t.protocol||pt.indexOf(t.protocol)>=0))try{t.hostname=Ce.toUnicode(t.hostname)}catch{}return X(W(t),X.defaultChars+"%")}constructor(...e){R(this,"inline",new Bt),R(this,"block",new wt),R(this,"core",new Ct),R(this,"renderer",new Rt),R(this,"linkify",new Ge),R(this,"utils",bn),R(this,"helpers",Object.assign({},Ln));let[t,n]=e;typeof t=="string"?(this.configure(t),n&&this.set(n)):(this.configure("default"),this.set(t||{}))}set(e){return Object.assign(this.options,e),this}configure(e){let t;if(typeof e=="string"){let r=e;if(t=Vr[r],!t)throw new Error(`Wrong 'markdown-it' preset "${r}", check name`)}else t=e;if(!t)throw new Error("Wrong `markdown-it` preset, can't be empty");t.options&&(this.options={...t.options});let n=t.components;if(n){var i;["core","block","inline"].forEach(s=>{var o;let u=(o=n[s])===null||o===void 0?void 0:o.rules;u&&this[s].ruler.enableOnly(u)});let r=(i=n.inline)===null||i===void 0?void 0:i.rules2;r&&this.inline.ruler2.enableOnly(r)}return this}enable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(r=>{n=n.concat(this[r].ruler.enable(e,!0))}),n=n.concat(this.inline.ruler2.enable(e,!0));let i=e.filter(r=>n.indexOf(r)<0);if(i.length&&!t)throw new Error(`MarkdownIt. Failed to enable unknown rule(s): ${i}`);return this}disable(e,t=!1){let n=[];Array.isArray(e)||(e=[e]),["core","block","inline"].forEach(r=>{n=n.concat(this[r].ruler.disable(e,!0))}),n=n.concat(this.inline.ruler2.disable(e,!0));let i=e.filter(r=>n.indexOf(r)<0);if(i.length&&!t)throw new Error(`MarkdownIt. Failed to disable unknown rule(s): ${i}`);return this}use(e,...t){return e.apply(e,[this,...t]),this}parse(e,t){if(typeof e!="string")throw new Error("Input data should be a String");let n=new this.core.State(e,this,t);return this.core.process(n),n.tokens}render(e,t={}){return this.renderer.render(this.parse(e,t),this.options,t)}parseInline(e,t){let n=new this.core.State(e,this,t);return n.inlineMode=!0,this.core.process(n),n.tokens}renderInline(e,t={}){return this.renderer.render(this.parseInline(e,t),this.options,t)}};R(N,"Token",Z);R(N,"Ruler",te);R(N,"Renderer",Rt);R(N,"ParserCore",Ct);R(N,"StateCore",xt);R(N,"ParserBlock",wt);R(N,"StateBlock",Dt);R(N,"ParserInline",Bt);R(N,"StateInline",Et);var Tt=_t(N);var It=new Tt({html:!1,linkify:!1,typographer:!1}),St=new Set(["strong","em","s","a"]);function ti(e,t){let n=String(t??""),i=e.ownerDocument,r=It.parseInline(n,{})[0]?.children??[];if(r.every(u=>u.type==="text")){let u=r.map(c=>c.content).join("");e.childNodes.length===1&&e.firstChild.nodeType===3?e.firstChild.data=u:e.replaceChildren(i.createTextNode(u));return}let s=i.createDocumentFragment(),o=[s];for(let u of r){let c=o.at(-1);if(u.nesting===1&&St.has(u.tag)){let a=i.createElement(u.tag);if(u.tag==="a"){let f=u.attrGet("href")??"";/^(https?:|mailto:)/i.test(f)&&It.validateLink(f)&&(a.setAttribute("href",f),a.setAttribute("target","_blank"),a.setAttribute("rel","noopener noreferrer"))}c.append(a),o.push(a)}else if(u.nesting===-1&&St.has(u.tag))o.pop();else if(u.type==="code_inline"){let a=i.createElement("code");a.textContent=u.content,c.append(a)}else u.type==="softbreak"||u.type==="hardbreak"?c.append(i.createTextNode(`
|
|
176
|
+
`)):c.append(i.createTextNode(u.content))}e.replaceChildren(s)}typeof window<"u"&&(window.renderPreviewMarkdown=ti);})();
|
|
177
|
+
/*! Bundled license information:
|
|
178
|
+
|
|
179
|
+
markdown-it/dist/markdown-it.mjs:
|
|
180
|
+
(*! markdown-it 15.0.2 https://github.com/markdown-it/markdown-it @license MIT *)
|
|
181
|
+
*/
|